`, and ``.\n@font-family-monospace: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n@font-family-base: @font-family-sans-serif;\n\n@font-size-base: 14px;\n@font-size-large: ceil((@font-size-base * 1.25)); // ~18px\n@font-size-small: ceil((@font-size-base * 0.85)); // ~12px\n\n@font-size-h1: floor((@font-size-base * 2.6)); // ~36px\n@font-size-h2: floor((@font-size-base * 2.15)); // ~30px\n@font-size-h3: ceil((@font-size-base * 1.7)); // ~24px\n@font-size-h4: ceil((@font-size-base * 1.25)); // ~18px\n@font-size-h5: @font-size-base;\n@font-size-h6: ceil((@font-size-base * 0.85)); // ~12px\n\n//** Unit-less `line-height` for use in components like buttons.\n@line-height-base: 1.428571429; // 20/14\n//** Computed \"line-height\" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.\n@line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px\n\n//** By default, this inherits from the ``.\n@headings-font-family: inherit;\n@headings-font-weight: 500;\n@headings-line-height: 1.1;\n@headings-color: inherit;\n\n\n//-- Iconography\n//\n//## Specify custom locations of the include Glyphicons icon font. Useful for those including Bootstrap via Bower.\n\n@icon-font-path: \"../fonts/\";\n@icon-font-name: \"glyphicons-halflings-regular\";\n@icon-font-svg-id: \"glyphicons_halflingsregular\";\n\n//== Components\n//\n//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).\n\n@padding-base-vertical: 6px;\n@padding-base-horizontal: 12px;\n\n@padding-large-vertical: 10px;\n@padding-large-horizontal: 16px;\n\n@padding-small-vertical: 5px;\n@padding-small-horizontal: 10px;\n\n@padding-xs-vertical: 1px;\n@padding-xs-horizontal: 5px;\n\n@line-height-large: 1.33;\n@line-height-small: 1.5;\n\n@border-radius-base: 4px;\n@border-radius-large: 6px;\n@border-radius-small: 3px;\n\n//** Global color for active items (e.g., navs or dropdowns).\n@component-active-color: #fff;\n//** Global background color for active items (e.g., navs or dropdowns).\n@component-active-bg: @brand-primary;\n\n//** Width of the `border` for generating carets that indicator dropdowns.\n@caret-width-base: 4px;\n//** Carets increase slightly in size for larger components.\n@caret-width-large: 5px;\n\n\n//== Tables\n//\n//## Customizes the `.table` component with basic values, each used across all table variations.\n\n//** Padding for ``s and ` `s.\n@table-cell-padding: 8px;\n//** Padding for cells in `.table-condensed`.\n@table-condensed-cell-padding: 5px;\n\n//** Default background color used for all tables.\n@table-bg: transparent;\n//** Background color used for `.table-striped`.\n@table-bg-accent: #f9f9f9;\n//** Background color used for `.table-hover`.\n@table-bg-hover: #f5f5f5;\n@table-bg-active: @table-bg-hover;\n\n//** Border color for table and cell borders.\n@table-border-color: #ddd;\n\n\n//== Buttons\n//\n//## For each of Bootstrap's buttons, define text, background and border color.\n\n@btn-font-weight: normal;\n\n@btn-default-color: #333;\n@btn-default-bg: #fff;\n@btn-default-border: #ccc;\n\n@btn-primary-color: #fff;\n@btn-primary-bg: @brand-primary;\n@btn-primary-border: darken(@btn-primary-bg, 5%);\n\n@btn-success-color: #fff;\n@btn-success-bg: @brand-success;\n@btn-success-border: darken(@btn-success-bg, 5%);\n\n@btn-info-color: #fff;\n@btn-info-bg: @brand-info;\n@btn-info-border: darken(@btn-info-bg, 5%);\n\n@btn-warning-color: #fff;\n@btn-warning-bg: @brand-warning;\n@btn-warning-border: darken(@btn-warning-bg, 5%);\n\n@btn-danger-color: #fff;\n@btn-danger-bg: @brand-danger;\n@btn-danger-border: darken(@btn-danger-bg, 5%);\n\n@btn-link-disabled-color: @gray-light;\n\n\n//== Forms\n//\n//##\n\n//** ` ` background color\n@input-bg: #fff;\n//** ` ` background color\n@input-bg-disabled: @gray-lighter;\n\n//** Text color for ` `s\n@input-color: @gray;\n//** ` ` border color\n@input-border: #ccc;\n//** ` ` border radius\n@input-border-radius: @border-radius-base;\n//** Border color for inputs on focus\n@input-border-focus: #66afe9;\n\n//** Placeholder text color\n@input-color-placeholder: @gray-light;\n\n//** Default `.form-control` height\n@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);\n//** Large `.form-control` height\n@input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);\n//** Small `.form-control` height\n@input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);\n\n@legend-color: @gray-dark;\n@legend-border-color: #e5e5e5;\n\n//** Background color for textual input addons\n@input-group-addon-bg: @gray-lighter;\n//** Border color for textual input addons\n@input-group-addon-border-color: @input-border;\n\n\n//== Dropdowns\n//\n//## Dropdown menu container and contents.\n\n//** Background for the dropdown menu.\n@dropdown-bg: #fff;\n//** Dropdown menu `border-color`.\n@dropdown-border: rgba(0,0,0,.15);\n//** Dropdown menu `border-color` **for IE8**.\n@dropdown-fallback-border: #ccc;\n//** Divider color for between dropdown items.\n@dropdown-divider-bg: #e5e5e5;\n\n//** Dropdown link text color.\n@dropdown-link-color: @gray-dark;\n//** Hover color for dropdown links.\n@dropdown-link-hover-color: darken(@gray-dark, 5%);\n//** Hover background for dropdown links.\n@dropdown-link-hover-bg: #f5f5f5;\n\n//** Active dropdown menu item text color.\n@dropdown-link-active-color: @component-active-color;\n//** Active dropdown menu item background color.\n@dropdown-link-active-bg: @component-active-bg;\n\n//** Disabled dropdown menu item background color.\n@dropdown-link-disabled-color: @gray-light;\n\n//** Text color for headers within dropdown menus.\n@dropdown-header-color: @gray-light;\n\n// Note: Deprecated @dropdown-caret-color as of v3.1.0\n@dropdown-caret-color: #000;\n\n\n//-- Z-index master list\n//\n// Warning: Avoid customizing these values. They're used for a bird's eye view\n// of components dependent on the z-axis and are designed to all work together.\n//\n// Note: These variables are not generated into the Customizer.\n\n@zindex-navbar: 1000;\n@zindex-dropdown: 1000;\n@zindex-popover: 1010;\n@zindex-tooltip: 1030;\n@zindex-navbar-fixed: 1030;\n@zindex-modal-background: 1040;\n@zindex-modal: 1050;\n\n\n//== Media queries breakpoints\n//\n//## Define the breakpoints at which your layout will change, adapting to different screen sizes.\n\n// Extra small screen / phone\n// Note: Deprecated @screen-xs and @screen-phone as of v3.0.1\n@screen-xs: 480px;\n@screen-xs-min: @screen-xs;\n@screen-phone: @screen-xs-min;\n\n// Small screen / tablet\n// Note: Deprecated @screen-sm and @screen-tablet as of v3.0.1\n@screen-sm: 768px;\n@screen-sm-min: @screen-sm;\n@screen-tablet: @screen-sm-min;\n\n// Medium screen / desktop\n// Note: Deprecated @screen-md and @screen-desktop as of v3.0.1\n@screen-md: 992px;\n@screen-md-min: @screen-md;\n@screen-desktop: @screen-md-min;\n\n// Large screen / wide desktop\n// Note: Deprecated @screen-lg and @screen-lg-desktop as of v3.0.1\n@screen-lg: 1200px;\n@screen-lg-min: @screen-lg;\n@screen-lg-desktop: @screen-lg-min;\n\n// So media queries don't overlap when required, provide a maximum\n@screen-xs-max: (@screen-sm-min - 1);\n@screen-sm-max: (@screen-md-min - 1);\n@screen-md-max: (@screen-lg-min - 1);\n\n\n//== Grid system\n//\n//## Define your custom responsive grid.\n\n//** Number of columns in the grid.\n@grid-columns: 12;\n//** Padding between columns. Gets divided in half for the left and right.\n@grid-gutter-width: 30px;\n// Navbar collapse\n//** Point at which the navbar becomes uncollapsed.\n@grid-float-breakpoint: @screen-sm-min;\n//** Point at which the navbar begins collapsing.\n@grid-float-breakpoint-max: (@grid-float-breakpoint - 1);\n\n\n//== Container sizes\n//\n//## Define the maximum width of `.container` for different screen sizes.\n\n// Small screen / tablet\n@container-tablet: ((720px + @grid-gutter-width));\n//** For `@screen-sm-min` and up.\n@container-sm: @container-tablet;\n\n// Medium screen / desktop\n@container-desktop: ((940px + @grid-gutter-width));\n//** For `@screen-md-min` and up.\n@container-md: @container-desktop;\n\n// Large screen / wide desktop\n@container-large-desktop: ((1140px + @grid-gutter-width));\n//** For `@screen-lg-min` and up.\n@container-lg: @container-large-desktop;\n\n\n//== Navbar\n//\n//##\n\n// Basics of a navbar\n@navbar-height: 50px;\n@navbar-margin-bottom: @line-height-computed;\n@navbar-border-radius: @border-radius-base;\n@navbar-padding-horizontal: floor((@grid-gutter-width / 2));\n@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);\n@navbar-collapse-max-height: 340px;\n\n@navbar-default-color: #777;\n@navbar-default-bg: #f8f8f8;\n@navbar-default-border: darken(@navbar-default-bg, 6.5%);\n\n// Navbar links\n@navbar-default-link-color: #777;\n@navbar-default-link-hover-color: #333;\n@navbar-default-link-hover-bg: transparent;\n@navbar-default-link-active-color: #555;\n@navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%);\n@navbar-default-link-disabled-color: #ccc;\n@navbar-default-link-disabled-bg: transparent;\n\n// Navbar brand label\n@navbar-default-brand-color: @navbar-default-link-color;\n@navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);\n@navbar-default-brand-hover-bg: transparent;\n\n// Navbar toggle\n@navbar-default-toggle-hover-bg: #ddd;\n@navbar-default-toggle-icon-bar-bg: #888;\n@navbar-default-toggle-border-color: #ddd;\n\n\n// Inverted navbar\n// Reset inverted navbar basics\n@navbar-inverse-color: @gray-light;\n@navbar-inverse-bg: #222;\n@navbar-inverse-border: darken(@navbar-inverse-bg, 10%);\n\n// Inverted navbar links\n@navbar-inverse-link-color: @gray-light;\n@navbar-inverse-link-hover-color: #fff;\n@navbar-inverse-link-hover-bg: transparent;\n@navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;\n@navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%);\n@navbar-inverse-link-disabled-color: #444;\n@navbar-inverse-link-disabled-bg: transparent;\n\n// Inverted navbar brand label\n@navbar-inverse-brand-color: @navbar-inverse-link-color;\n@navbar-inverse-brand-hover-color: #fff;\n@navbar-inverse-brand-hover-bg: transparent;\n\n// Inverted navbar toggle\n@navbar-inverse-toggle-hover-bg: #333;\n@navbar-inverse-toggle-icon-bar-bg: #fff;\n@navbar-inverse-toggle-border-color: #333;\n\n\n//== Navs\n//\n//##\n\n//=== Shared nav styles\n@nav-link-padding: 10px 15px;\n@nav-link-hover-bg: @gray-lighter;\n\n@nav-disabled-link-color: @gray-light;\n@nav-disabled-link-hover-color: @gray-light;\n\n@nav-open-link-hover-color: #fff;\n\n//== Tabs\n@nav-tabs-border-color: #ddd;\n\n@nav-tabs-link-hover-border-color: @gray-lighter;\n\n@nav-tabs-active-link-hover-bg: @body-bg;\n@nav-tabs-active-link-hover-color: @gray;\n@nav-tabs-active-link-hover-border-color: #ddd;\n\n@nav-tabs-justified-link-border-color: #ddd;\n@nav-tabs-justified-active-link-border-color: @body-bg;\n\n//== Pills\n@nav-pills-border-radius: @border-radius-base;\n@nav-pills-active-link-hover-bg: @component-active-bg;\n@nav-pills-active-link-hover-color: @component-active-color;\n\n\n//== Pagination\n//\n//##\n\n@pagination-color: @link-color;\n@pagination-bg: #fff;\n@pagination-border: #ddd;\n\n@pagination-hover-color: @link-hover-color;\n@pagination-hover-bg: @gray-lighter;\n@pagination-hover-border: #ddd;\n\n@pagination-active-color: #fff;\n@pagination-active-bg: @brand-primary;\n@pagination-active-border: @brand-primary;\n\n@pagination-disabled-color: @gray-light;\n@pagination-disabled-bg: #fff;\n@pagination-disabled-border: #ddd;\n\n\n//== Pager\n//\n//##\n\n@pager-bg: @pagination-bg;\n@pager-border: @pagination-border;\n@pager-border-radius: 15px;\n\n@pager-hover-bg: @pagination-hover-bg;\n\n@pager-active-bg: @pagination-active-bg;\n@pager-active-color: @pagination-active-color;\n\n@pager-disabled-color: @pagination-disabled-color;\n\n\n//== Jumbotron\n//\n//##\n\n@jumbotron-padding: 30px;\n@jumbotron-color: inherit;\n@jumbotron-bg: @gray-lighter;\n@jumbotron-heading-color: inherit;\n@jumbotron-font-size: ceil((@font-size-base * 1.5));\n\n\n//== Form states and alerts\n//\n//## Define colors for form feedback states and, by default, alerts.\n\n@state-success-text: #3c763d;\n@state-success-bg: #dff0d8;\n@state-success-border: darken(spin(@state-success-bg, -10), 5%);\n\n@state-info-text: #31708f;\n@state-info-bg: #d9edf7;\n@state-info-border: darken(spin(@state-info-bg, -10), 7%);\n\n@state-warning-text: #8a6d3b;\n@state-warning-bg: #fcf8e3;\n@state-warning-border: darken(spin(@state-warning-bg, -10), 5%);\n\n@state-danger-text: #a94442;\n@state-danger-bg: #f2dede;\n@state-danger-border: darken(spin(@state-danger-bg, -10), 5%);\n\n\n//== Tooltips\n//\n//##\n\n//** Tooltip max width\n@tooltip-max-width: 200px;\n//** Tooltip text color\n@tooltip-color: #fff;\n//** Tooltip background color\n@tooltip-bg: #000;\n@tooltip-opacity: .9;\n\n//** Tooltip arrow width\n@tooltip-arrow-width: 5px;\n//** Tooltip arrow color\n@tooltip-arrow-color: @tooltip-bg;\n\n\n//== Popovers\n//\n//##\n\n//** Popover body background color\n@popover-bg: #fff;\n//** Popover maximum width\n@popover-max-width: 276px;\n//** Popover border color\n@popover-border-color: rgba(0,0,0,.2);\n//** Popover fallback border color\n@popover-fallback-border-color: #ccc;\n\n//** Popover title background color\n@popover-title-bg: darken(@popover-bg, 3%);\n\n//** Popover arrow width\n@popover-arrow-width: 10px;\n//** Popover arrow color\n@popover-arrow-color: #fff;\n\n//** Popover outer arrow width\n@popover-arrow-outer-width: (@popover-arrow-width + 1);\n//** Popover outer arrow color\n@popover-arrow-outer-color: fadein(@popover-border-color, 5%);\n//** Popover outer arrow fallback color\n@popover-arrow-outer-fallback-color: darken(@popover-fallback-border-color, 20%);\n\n\n//== Labels\n//\n//##\n\n//** Default label background color\n@label-default-bg: @gray-light;\n//** Primary label background color\n@label-primary-bg: @brand-primary;\n//** Success label background color\n@label-success-bg: @brand-success;\n//** Info label background color\n@label-info-bg: @brand-info;\n//** Warning label background color\n@label-warning-bg: @brand-warning;\n//** Danger label background color\n@label-danger-bg: @brand-danger;\n\n//** Default label text color\n@label-color: #fff;\n//** Default text color of a linked label\n@label-link-hover-color: #fff;\n\n\n//== Modals\n//\n//##\n\n//** Padding applied to the modal body\n@modal-inner-padding: 20px;\n\n//** Padding applied to the modal title\n@modal-title-padding: 15px;\n//** Modal title line-height\n@modal-title-line-height: @line-height-base;\n\n//** Background color of modal content area\n@modal-content-bg: #fff;\n//** Modal content border color\n@modal-content-border-color: rgba(0,0,0,.2);\n//** Modal content border color **for IE8**\n@modal-content-fallback-border-color: #999;\n\n//** Modal backdrop background color\n@modal-backdrop-bg: #000;\n//** Modal backdrop opacity\n@modal-backdrop-opacity: .5;\n//** Modal header border color\n@modal-header-border-color: #e5e5e5;\n//** Modal footer border color\n@modal-footer-border-color: @modal-header-border-color;\n\n@modal-lg: 900px;\n@modal-md: 600px;\n@modal-sm: 300px;\n\n\n//== Alerts\n//\n//## Define alert colors, border radius, and padding.\n\n@alert-padding: 15px;\n@alert-border-radius: @border-radius-base;\n@alert-link-font-weight: bold;\n\n@alert-success-bg: @state-success-bg;\n@alert-success-text: @state-success-text;\n@alert-success-border: @state-success-border;\n\n@alert-info-bg: @state-info-bg;\n@alert-info-text: @state-info-text;\n@alert-info-border: @state-info-border;\n\n@alert-warning-bg: @state-warning-bg;\n@alert-warning-text: @state-warning-text;\n@alert-warning-border: @state-warning-border;\n\n@alert-danger-bg: @state-danger-bg;\n@alert-danger-text: @state-danger-text;\n@alert-danger-border: @state-danger-border;\n\n\n//== Progress bars\n//\n//##\n\n//** Background color of the whole progress component\n@progress-bg: #f5f5f5;\n//** Progress bar text color\n@progress-bar-color: #fff;\n\n//** Default progress bar color\n@progress-bar-bg: @brand-primary;\n//** Success progress bar color\n@progress-bar-success-bg: @brand-success;\n//** Warning progress bar color\n@progress-bar-warning-bg: @brand-warning;\n//** Danger progress bar color\n@progress-bar-danger-bg: @brand-danger;\n//** Info progress bar color\n@progress-bar-info-bg: @brand-info;\n\n\n//== List group\n//\n//##\n\n//** Background color on `.list-group-item`\n@list-group-bg: #fff;\n//** `.list-group-item` border color\n@list-group-border: #ddd;\n//** List group border radius\n@list-group-border-radius: @border-radius-base;\n\n//** Background color of single list elements on hover\n@list-group-hover-bg: #f5f5f5;\n//** Text color of active list elements\n@list-group-active-color: @component-active-color;\n//** Background color of active list elements\n@list-group-active-bg: @component-active-bg;\n//** Border color of active list elements\n@list-group-active-border: @list-group-active-bg;\n@list-group-active-text-color: lighten(@list-group-active-bg, 40%);\n\n@list-group-link-color: #555;\n@list-group-link-heading-color: #333;\n\n\n//== Panels\n//\n//##\n\n@panel-bg: #fff;\n@panel-body-padding: 15px;\n@panel-border-radius: @border-radius-base;\n\n//** Border color for elements within panels\n@panel-inner-border: #ddd;\n@panel-footer-bg: #f5f5f5;\n\n@panel-default-text: @gray-dark;\n@panel-default-border: #ddd;\n@panel-default-heading-bg: #f5f5f5;\n\n@panel-primary-text: #fff;\n@panel-primary-border: @brand-primary;\n@panel-primary-heading-bg: @brand-primary;\n\n@panel-success-text: @state-success-text;\n@panel-success-border: @state-success-border;\n@panel-success-heading-bg: @state-success-bg;\n\n@panel-info-text: @state-info-text;\n@panel-info-border: @state-info-border;\n@panel-info-heading-bg: @state-info-bg;\n\n@panel-warning-text: @state-warning-text;\n@panel-warning-border: @state-warning-border;\n@panel-warning-heading-bg: @state-warning-bg;\n\n@panel-danger-text: @state-danger-text;\n@panel-danger-border: @state-danger-border;\n@panel-danger-heading-bg: @state-danger-bg;\n\n\n//== Thumbnails\n//\n//##\n\n//** Padding around the thumbnail image\n@thumbnail-padding: 4px;\n//** Thumbnail background color\n@thumbnail-bg: @body-bg;\n//** Thumbnail border color\n@thumbnail-border: #ddd;\n//** Thumbnail border radius\n@thumbnail-border-radius: @border-radius-base;\n\n//** Custom text color for thumbnail captions\n@thumbnail-caption-color: @text-color;\n//** Padding around the thumbnail caption\n@thumbnail-caption-padding: 9px;\n\n\n//== Wells\n//\n//##\n\n@well-bg: #f5f5f5;\n@well-border: darken(@well-bg, 7%);\n\n\n//== Badges\n//\n//##\n\n@badge-color: #fff;\n//** Linked badge text color on hover\n@badge-link-hover-color: #fff;\n@badge-bg: @gray-light;\n\n//** Badge text color in active nav link\n@badge-active-color: @link-color;\n//** Badge background color in active nav link\n@badge-active-bg: #fff;\n\n@badge-font-weight: bold;\n@badge-line-height: 1;\n@badge-border-radius: 10px;\n\n\n//== Breadcrumbs\n//\n//##\n\n@breadcrumb-padding-vertical: 8px;\n@breadcrumb-padding-horizontal: 15px;\n//** Breadcrumb background color\n@breadcrumb-bg: #f5f5f5;\n//** Breadcrumb text color\n@breadcrumb-color: #ccc;\n//** Text color of current page in the breadcrumb\n@breadcrumb-active-color: @gray-light;\n//** Textual separator for between breadcrumb elements\n@breadcrumb-separator: \"/\";\n\n\n//== Carousel\n//\n//##\n\n@carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);\n\n@carousel-control-color: #fff;\n@carousel-control-width: 15%;\n@carousel-control-opacity: .5;\n@carousel-control-font-size: 20px;\n\n@carousel-indicator-active-bg: #fff;\n@carousel-indicator-border-color: #fff;\n\n@carousel-caption-color: #fff;\n\n\n//== Close\n//\n//##\n\n@close-font-weight: bold;\n@close-color: #000;\n@close-text-shadow: 0 1px 0 #fff;\n\n\n//== Code\n//\n//##\n\n@code-color: #c7254e;\n@code-bg: #f9f2f4;\n\n@kbd-color: #fff;\n@kbd-bg: #333;\n\n@pre-bg: #f5f5f5;\n@pre-color: @gray-dark;\n@pre-border-color: #ccc;\n@pre-scrollable-max-height: 340px;\n\n\n//== Type\n//\n//##\n\n//** Text muted color\n@text-muted: @gray-light;\n//** Abbreviations and acronyms border color\n@abbr-border-color: @gray-light;\n//** Headings small color\n@headings-small-color: @gray-light;\n//** Blockquote small color\n@blockquote-small-color: @gray-light;\n//** Blockquote font size\n@blockquote-font-size: (@font-size-base * 1.25);\n//** Blockquote border color\n@blockquote-border-color: @gray-lighter;\n//** Page header border color\n@page-header-border-color: @gray-lighter;\n\n\n//== Miscellaneous\n//\n//##\n\n//** Horizontal line color.\n@hr-border: @gray-lighter;\n\n//** Horizontal offset for forms and lists.\n@component-offset-horizontal: 180px;\n","//\n// Thumbnails\n// --------------------------------------------------\n\n\n// Mixin and adjust the regular image class\n.thumbnail {\n display: block;\n padding: @thumbnail-padding;\n margin-bottom: @line-height-computed;\n line-height: @line-height-base;\n background-color: @thumbnail-bg;\n border: 1px solid @thumbnail-border;\n border-radius: @thumbnail-border-radius;\n .transition(all .2s ease-in-out);\n\n > img,\n a > img {\n &:extend(.img-responsive);\n margin-left: auto;\n margin-right: auto;\n }\n\n // Add a hover state for linked versions only\n a&:hover,\n a&:focus,\n a&.active {\n border-color: @link-color;\n }\n\n // Image captions\n .caption {\n padding: @thumbnail-caption-padding;\n color: @thumbnail-caption-color;\n }\n}\n","//\n// Carousel\n// --------------------------------------------------\n\n\n// Wrapper for the slide container and indicators\n.carousel {\n position: relative;\n}\n\n.carousel-inner {\n position: relative;\n overflow: hidden;\n width: 100%;\n\n > .item {\n display: none;\n position: relative;\n .transition(.6s ease-in-out left);\n\n // Account for jankitude on images\n > img,\n > a > img {\n &:extend(.img-responsive);\n line-height: 1;\n }\n }\n\n > .active,\n > .next,\n > .prev { display: block; }\n\n > .active {\n left: 0;\n }\n\n > .next,\n > .prev {\n position: absolute;\n top: 0;\n width: 100%;\n }\n\n > .next {\n left: 100%;\n }\n > .prev {\n left: -100%;\n }\n > .next.left,\n > .prev.right {\n left: 0;\n }\n\n > .active.left {\n left: -100%;\n }\n > .active.right {\n left: 100%;\n }\n\n}\n\n// Left/right controls for nav\n// ---------------------------\n\n.carousel-control {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n width: @carousel-control-width;\n .opacity(@carousel-control-opacity);\n font-size: @carousel-control-font-size;\n color: @carousel-control-color;\n text-align: center;\n text-shadow: @carousel-text-shadow;\n // We can't have this transition here because WebKit cancels the carousel\n // animation if you trip this while in the middle of another animation.\n\n // Set gradients for backgrounds\n &.left {\n #gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001));\n }\n &.right {\n left: auto;\n right: 0;\n #gradient > .horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5));\n }\n\n // Hover/focus state\n &:hover,\n &:focus {\n outline: none;\n color: @carousel-control-color;\n text-decoration: none;\n .opacity(.9);\n }\n\n // Toggles\n .icon-prev,\n .icon-next,\n .glyphicon-chevron-left,\n .glyphicon-chevron-right {\n position: absolute;\n top: 50%;\n z-index: 5;\n display: inline-block;\n }\n .icon-prev,\n .glyphicon-chevron-left {\n left: 50%;\n }\n .icon-next,\n .glyphicon-chevron-right {\n right: 50%;\n }\n .icon-prev,\n .icon-next {\n width: 20px;\n height: 20px;\n margin-top: -10px;\n margin-left: -10px;\n font-family: serif;\n }\n\n .icon-prev {\n &:before {\n content: '\\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)\n }\n }\n .icon-next {\n &:before {\n content: '\\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)\n }\n }\n}\n\n// Optional indicator pips\n//\n// Add an unordered list with the following class and add a list item for each\n// slide your carousel holds.\n\n.carousel-indicators {\n position: absolute;\n bottom: 10px;\n left: 50%;\n z-index: 15;\n width: 60%;\n margin-left: -30%;\n padding-left: 0;\n list-style: none;\n text-align: center;\n\n li {\n display: inline-block;\n width: 10px;\n height: 10px;\n margin: 1px;\n text-indent: -999px;\n border: 1px solid @carousel-indicator-border-color;\n border-radius: 10px;\n cursor: pointer;\n\n // IE8-9 hack for event handling\n //\n // Internet Explorer 8-9 does not support clicks on elements without a set\n // `background-color`. We cannot use `filter` since that's not viewed as a\n // background color by the browser. Thus, a hack is needed.\n //\n // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we\n // set alpha transparency for the best results possible.\n background-color: #000 \\9; // IE8\n background-color: rgba(0,0,0,0); // IE9\n }\n .active {\n margin: 0;\n width: 12px;\n height: 12px;\n background-color: @carousel-indicator-active-bg;\n }\n}\n\n// Optional captions\n// -----------------------------\n// Hidden by default for smaller viewports\n.carousel-caption {\n position: absolute;\n left: 15%;\n right: 15%;\n bottom: 20px;\n z-index: 10;\n padding-top: 20px;\n padding-bottom: 20px;\n color: @carousel-caption-color;\n text-align: center;\n text-shadow: @carousel-text-shadow;\n & .btn {\n text-shadow: none; // No shadow for button elements in carousel-caption\n }\n}\n\n\n// Scale up controls for tablets and up\n@media screen and (min-width: @screen-sm-min) {\n\n // Scale up the controls a smidge\n .carousel-control {\n .glyphicon-chevron-left,\n .glyphicon-chevron-right,\n .icon-prev,\n .icon-next {\n width: 30px;\n height: 30px;\n margin-top: -15px;\n margin-left: -15px;\n font-size: 30px;\n }\n }\n\n // Show and left align the captions\n .carousel-caption {\n left: 20%;\n right: 20%;\n padding-bottom: 30px;\n }\n\n // Move up the indicators\n .carousel-indicators {\n bottom: 20px;\n }\n}\n","//\n// Typography\n// --------------------------------------------------\n\n\n// Headings\n// -------------------------\n\nh1, h2, h3, h4, h5, h6,\n.h1, .h2, .h3, .h4, .h5, .h6 {\n font-family: @headings-font-family;\n font-weight: @headings-font-weight;\n line-height: @headings-line-height;\n color: @headings-color;\n\n small,\n .small {\n font-weight: normal;\n line-height: 1;\n color: @headings-small-color;\n }\n}\n\nh1, .h1,\nh2, .h2,\nh3, .h3 {\n margin-top: @line-height-computed;\n margin-bottom: (@line-height-computed / 2);\n\n small,\n .small {\n font-size: 65%;\n }\n}\nh4, .h4,\nh5, .h5,\nh6, .h6 {\n margin-top: (@line-height-computed / 2);\n margin-bottom: (@line-height-computed / 2);\n\n small,\n .small {\n font-size: 75%;\n }\n}\n\nh1, .h1 { font-size: @font-size-h1; }\nh2, .h2 { font-size: @font-size-h2; }\nh3, .h3 { font-size: @font-size-h3; }\nh4, .h4 { font-size: @font-size-h4; }\nh5, .h5 { font-size: @font-size-h5; }\nh6, .h6 { font-size: @font-size-h6; }\n\n\n// Body text\n// -------------------------\n\np {\n margin: 0 0 (@line-height-computed / 2);\n}\n\n.lead {\n margin-bottom: @line-height-computed;\n font-size: floor((@font-size-base * 1.15));\n font-weight: 200;\n line-height: 1.4;\n\n @media (min-width: @screen-sm-min) {\n font-size: (@font-size-base * 1.5);\n }\n}\n\n\n// Emphasis & misc\n// -------------------------\n\n// Ex: 14px base font * 85% = about 12px\nsmall,\n.small { font-size: 85%; }\n\n// Undo browser default styling\ncite { font-style: normal; }\n\n// Alignment\n.text-left { text-align: left; }\n.text-right { text-align: right; }\n.text-center { text-align: center; }\n.text-justify { text-align: justify; }\n\n// Contextual colors\n.text-muted {\n color: @text-muted;\n}\n.text-primary {\n .text-emphasis-variant(@brand-primary);\n}\n.text-success {\n .text-emphasis-variant(@state-success-text);\n}\n.text-info {\n .text-emphasis-variant(@state-info-text);\n}\n.text-warning {\n .text-emphasis-variant(@state-warning-text);\n}\n.text-danger {\n .text-emphasis-variant(@state-danger-text);\n}\n\n// Contextual backgrounds\n// For now we'll leave these alongside the text classes until v4 when we can\n// safely shift things around (per SemVer rules).\n.bg-primary {\n // Given the contrast here, this is the only class to have its color inverted\n // automatically.\n color: #fff;\n .bg-variant(@brand-primary);\n}\n.bg-success {\n .bg-variant(@state-success-bg);\n}\n.bg-info {\n .bg-variant(@state-info-bg);\n}\n.bg-warning {\n .bg-variant(@state-warning-bg);\n}\n.bg-danger {\n .bg-variant(@state-danger-bg);\n}\n\n\n// Page header\n// -------------------------\n\n.page-header {\n padding-bottom: ((@line-height-computed / 2) - 1);\n margin: (@line-height-computed * 2) 0 @line-height-computed;\n border-bottom: 1px solid @page-header-border-color;\n}\n\n\n// Lists\n// --------------------------------------------------\n\n// Unordered and Ordered lists\nul,\nol {\n margin-top: 0;\n margin-bottom: (@line-height-computed / 2);\n ul,\n ol {\n margin-bottom: 0;\n }\n}\n\n// List options\n\n// Unstyled keeps list items block level, just removes default browser padding and list-style\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n\n// Inline turns list items into inline-block\n.list-inline {\n .list-unstyled();\n margin-left: -5px;\n\n > li {\n display: inline-block;\n padding-left: 5px;\n padding-right: 5px;\n }\n}\n\n// Description Lists\ndl {\n margin-top: 0; // Remove browser default\n margin-bottom: @line-height-computed;\n}\ndt,\ndd {\n line-height: @line-height-base;\n}\ndt {\n font-weight: bold;\n}\ndd {\n margin-left: 0; // Undo browser default\n}\n\n// Horizontal description lists\n//\n// Defaults to being stacked without any of the below styles applied, until the\n// grid breakpoint is reached (default of ~768px).\n\n@media (min-width: @grid-float-breakpoint) {\n .dl-horizontal {\n dt {\n float: left;\n width: (@component-offset-horizontal - 20);\n clear: left;\n text-align: right;\n .text-overflow();\n }\n dd {\n margin-left: @component-offset-horizontal;\n &:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present\n }\n }\n}\n\n// MISC\n// ----\n\n// Abbreviations and acronyms\nabbr[title],\n// Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257\nabbr[data-original-title] {\n cursor: help;\n border-bottom: 1px dotted @abbr-border-color;\n}\n.initialism {\n font-size: 90%;\n text-transform: uppercase;\n}\n\n// Blockquotes\nblockquote {\n padding: (@line-height-computed / 2) @line-height-computed;\n margin: 0 0 @line-height-computed;\n font-size: @blockquote-font-size;\n border-left: 5px solid @blockquote-border-color;\n\n p,\n ul,\n ol {\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n // Note: Deprecated small and .small as of v3.1.0\n // Context: https://github.com/twbs/bootstrap/issues/11660\n footer,\n small,\n .small {\n display: block;\n font-size: 80%; // back to default font-size\n line-height: @line-height-base;\n color: @blockquote-small-color;\n\n &:before {\n content: '\\2014 \\00A0'; // em dash, nbsp\n }\n }\n}\n\n// Opposite alignment of blockquote\n//\n// Heads up: `blockquote.pull-right` has been deprecated as of v3.1.0.\n.blockquote-reverse,\nblockquote.pull-right {\n padding-right: 15px;\n padding-left: 0;\n border-right: 5px solid @blockquote-border-color;\n border-left: 0;\n text-align: right;\n\n // Account for citation\n footer,\n small,\n .small {\n &:before { content: ''; }\n &:after {\n content: '\\00A0 \\2014'; // nbsp, em dash\n }\n }\n}\n\n// Quotes\nblockquote:before,\nblockquote:after {\n content: \"\";\n}\n\n// Addresses\naddress {\n margin-bottom: @line-height-computed;\n font-style: normal;\n line-height: @line-height-base;\n}\n","//\n// Code (inline and block)\n// --------------------------------------------------\n\n\n// Inline and block code styles\ncode,\nkbd,\npre,\nsamp {\n font-family: @font-family-monospace;\n}\n\n// Inline code\ncode {\n padding: 2px 4px;\n font-size: 90%;\n color: @code-color;\n background-color: @code-bg;\n white-space: nowrap;\n border-radius: @border-radius-base;\n}\n\n// User input typically entered via keyboard\nkbd {\n padding: 2px 4px;\n font-size: 90%;\n color: @kbd-color;\n background-color: @kbd-bg;\n border-radius: @border-radius-small;\n box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);\n}\n\n// Blocks of code\npre {\n display: block;\n padding: ((@line-height-computed - 1) / 2);\n margin: 0 0 (@line-height-computed / 2);\n font-size: (@font-size-base - 1); // 14px to 13px\n line-height: @line-height-base;\n word-break: break-all;\n word-wrap: break-word;\n color: @pre-color;\n background-color: @pre-bg;\n border: 1px solid @pre-border-color;\n border-radius: @border-radius-base;\n\n // Account for some code outputs that place code tags in pre tags\n code {\n padding: 0;\n font-size: inherit;\n color: inherit;\n white-space: pre-wrap;\n background-color: transparent;\n border-radius: 0;\n }\n}\n\n// Enable scrollable blocks of code\n.pre-scrollable {\n max-height: @pre-scrollable-max-height;\n overflow-y: scroll;\n}\n","//\n// Grid system\n// --------------------------------------------------\n\n\n// Container widths\n//\n// Set the container width, and override it for fixed navbars in media queries.\n\n.container {\n .container-fixed();\n\n @media (min-width: @screen-sm-min) {\n width: @container-sm;\n }\n @media (min-width: @screen-md-min) {\n width: @container-md;\n }\n @media (min-width: @screen-lg-min) {\n width: @container-lg;\n }\n}\n\n\n// Fluid container\n//\n// Utilizes the mixin meant for fixed width containers, but without any defined\n// width for fluid, full width layouts.\n\n.container-fluid {\n .container-fixed();\n}\n\n\n// Row\n//\n// Rows contain and clear the floats of your columns.\n\n.row {\n .make-row();\n}\n\n\n// Columns\n//\n// Common styles for small and large grid columns\n\n.make-grid-columns();\n\n\n// Extra small grid\n//\n// Columns, offsets, pushes, and pulls for extra small devices like\n// smartphones.\n\n.make-grid(xs);\n\n\n// Small grid\n//\n// Columns, offsets, pushes, and pulls for the small device range, from phones\n// to tablets.\n\n@media (min-width: @screen-sm-min) {\n .make-grid(sm);\n}\n\n\n// Medium grid\n//\n// Columns, offsets, pushes, and pulls for the desktop device range.\n\n@media (min-width: @screen-md-min) {\n .make-grid(md);\n}\n\n\n// Large grid\n//\n// Columns, offsets, pushes, and pulls for the large desktop device range.\n\n@media (min-width: @screen-lg-min) {\n .make-grid(lg);\n}\n","//\n// Tables\n// --------------------------------------------------\n\n\ntable {\n max-width: 100%;\n background-color: @table-bg;\n}\nth {\n text-align: left;\n}\n\n\n// Baseline styles\n\n.table {\n width: 100%;\n margin-bottom: @line-height-computed;\n // Cells\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n padding: @table-cell-padding;\n line-height: @line-height-base;\n vertical-align: top;\n border-top: 1px solid @table-border-color;\n }\n }\n }\n // Bottom align for column headings\n > thead > tr > th {\n vertical-align: bottom;\n border-bottom: 2px solid @table-border-color;\n }\n // Remove top border from thead by default\n > caption + thead,\n > colgroup + thead,\n > thead:first-child {\n > tr:first-child {\n > th,\n > td {\n border-top: 0;\n }\n }\n }\n // Account for multiple tbody instances\n > tbody + tbody {\n border-top: 2px solid @table-border-color;\n }\n\n // Nesting\n .table {\n background-color: @body-bg;\n }\n}\n\n\n// Condensed table w/ half padding\n\n.table-condensed {\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n padding: @table-condensed-cell-padding;\n }\n }\n }\n}\n\n\n// Bordered version\n//\n// Add borders all around the table and between all the columns.\n\n.table-bordered {\n border: 1px solid @table-border-color;\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n border: 1px solid @table-border-color;\n }\n }\n }\n > thead > tr {\n > th,\n > td {\n border-bottom-width: 2px;\n }\n }\n}\n\n\n// Zebra-striping\n//\n// Default zebra-stripe styles (alternating gray and transparent backgrounds)\n\n.table-striped {\n > tbody > tr:nth-child(odd) {\n > td,\n > th {\n background-color: @table-bg-accent;\n }\n }\n}\n\n\n// Hover effect\n//\n// Placed here since it has to come after the potential zebra striping\n\n.table-hover {\n > tbody > tr:hover {\n > td,\n > th {\n background-color: @table-bg-hover;\n }\n }\n}\n\n\n// Table cell sizing\n//\n// Reset default table behavior\n\ntable col[class*=\"col-\"] {\n position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)\n float: none;\n display: table-column;\n}\ntable {\n td,\n th {\n &[class*=\"col-\"] {\n position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)\n float: none;\n display: table-cell;\n }\n }\n}\n\n\n// Table backgrounds\n//\n// Exact selectors below required to override `.table-striped` and prevent\n// inheritance to nested tables.\n\n// Generate the contextual variants\n.table-row-variant(active; @table-bg-active);\n.table-row-variant(success; @state-success-bg);\n.table-row-variant(info; @state-info-bg);\n.table-row-variant(warning; @state-warning-bg);\n.table-row-variant(danger; @state-danger-bg);\n\n\n// Responsive tables\n//\n// Wrap your tables in `.table-responsive` and we'll make them mobile friendly\n// by enabling horizontal scrolling. Only applies <768px. Everything above that\n// will display normally.\n\n@media (max-width: @screen-xs-max) {\n .table-responsive {\n width: 100%;\n margin-bottom: (@line-height-computed * 0.75);\n overflow-y: hidden;\n overflow-x: scroll;\n -ms-overflow-style: -ms-autohiding-scrollbar;\n border: 1px solid @table-border-color;\n -webkit-overflow-scrolling: touch;\n\n // Tighten up spacing\n > .table {\n margin-bottom: 0;\n\n // Ensure the content doesn't wrap\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th,\n > td {\n white-space: nowrap;\n }\n }\n }\n }\n\n // Special overrides for the bordered tables\n > .table-bordered {\n border: 0;\n\n // Nuke the appropriate borders so that the parent can handle them\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th:first-child,\n > td:first-child {\n border-left: 0;\n }\n > th:last-child,\n > td:last-child {\n border-right: 0;\n }\n }\n }\n\n // Only nuke the last row's bottom-border in `tbody` and `tfoot` since\n // chances are there will be only one `tr` in a `thead` and that would\n // remove the border altogether.\n > tbody,\n > tfoot {\n > tr:last-child {\n > th,\n > td {\n border-bottom: 0;\n }\n }\n }\n\n }\n }\n}\n","//\n// Forms\n// --------------------------------------------------\n\n\n// Normalize non-controls\n//\n// Restyle and baseline non-control form elements.\n\nfieldset {\n padding: 0;\n margin: 0;\n border: 0;\n // Chrome and Firefox set a `min-width: -webkit-min-content;` on fieldsets,\n // so we reset that to ensure it behaves more like a standard block element.\n // See https://github.com/twbs/bootstrap/issues/12359.\n min-width: 0;\n}\n\nlegend {\n display: block;\n width: 100%;\n padding: 0;\n margin-bottom: @line-height-computed;\n font-size: (@font-size-base * 1.5);\n line-height: inherit;\n color: @legend-color;\n border: 0;\n border-bottom: 1px solid @legend-border-color;\n}\n\nlabel {\n display: inline-block;\n margin-bottom: 5px;\n font-weight: bold;\n}\n\n\n// Normalize form controls\n//\n// While most of our form styles require extra classes, some basic normalization\n// is required to ensure optimum display with or without those classes to better\n// address browser inconsistencies.\n\n// Override content-box in Normalize (* isn't specific enough)\ninput[type=\"search\"] {\n .box-sizing(border-box);\n}\n\n// Position radios and checkboxes better\ninput[type=\"radio\"],\ninput[type=\"checkbox\"] {\n margin: 4px 0 0;\n margin-top: 1px \\9; /* IE8-9 */\n line-height: normal;\n}\n\n// Set the height of file controls to match text inputs\ninput[type=\"file\"] {\n display: block;\n}\n\n// Make range inputs behave like textual form controls\ninput[type=\"range\"] {\n display: block;\n width: 100%;\n}\n\n// Make multiple select elements height not fixed\nselect[multiple],\nselect[size] {\n height: auto;\n}\n\n// Focus for file, radio, and checkbox\ninput[type=\"file\"]:focus,\ninput[type=\"radio\"]:focus,\ninput[type=\"checkbox\"]:focus {\n .tab-focus();\n}\n\n// Adjust output element\noutput {\n display: block;\n padding-top: (@padding-base-vertical + 1);\n font-size: @font-size-base;\n line-height: @line-height-base;\n color: @input-color;\n}\n\n\n// Common form controls\n//\n// Shared size and type resets for form controls. Apply `.form-control` to any\n// of the following form controls:\n//\n// select\n// textarea\n// input[type=\"text\"]\n// input[type=\"password\"]\n// input[type=\"datetime\"]\n// input[type=\"datetime-local\"]\n// input[type=\"date\"]\n// input[type=\"month\"]\n// input[type=\"time\"]\n// input[type=\"week\"]\n// input[type=\"number\"]\n// input[type=\"email\"]\n// input[type=\"url\"]\n// input[type=\"search\"]\n// input[type=\"tel\"]\n// input[type=\"color\"]\n\n.form-control {\n display: block;\n width: 100%;\n height: @input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)\n padding: @padding-base-vertical @padding-base-horizontal;\n font-size: @font-size-base;\n line-height: @line-height-base;\n color: @input-color;\n background-color: @input-bg;\n background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\n border: 1px solid @input-border;\n border-radius: @input-border-radius;\n .box-shadow(inset 0 1px 1px rgba(0,0,0,.075));\n .transition(~\"border-color ease-in-out .15s, box-shadow ease-in-out .15s\");\n\n // Customize the `:focus` state to imitate native WebKit styles.\n .form-control-focus();\n\n // Placeholder\n .placeholder();\n\n // Disabled and read-only inputs\n //\n // HTML5 says that controls under a fieldset > legend:first-child won't be\n // disabled if the fieldset is disabled. Due to implementation difficulty, we\n // don't honor that edge case; we style them as disabled anyway.\n &[disabled],\n &[readonly],\n fieldset[disabled] & {\n cursor: not-allowed;\n background-color: @input-bg-disabled;\n opacity: 1; // iOS fix for unreadable disabled content\n }\n\n // Reset height for `textarea`s\n textarea& {\n height: auto;\n }\n}\n\n\n// Search inputs in iOS\n//\n// This overrides the extra rounded corners on search inputs in iOS so that our\n// `.form-control` class can properly style them. Note that this cannot simply\n// be added to `.form-control` as it's not specific enough. For details, see\n// https://github.com/twbs/bootstrap/issues/11586.\n\ninput[type=\"search\"] {\n -webkit-appearance: none;\n}\n\n\n// Special styles for iOS date input\n//\n// In Mobile Safari, date inputs require a pixel line-height that matches the\n// given height of the input.\n\ninput[type=\"date\"] {\n line-height: @input-height-base;\n}\n\n\n// Form groups\n//\n// Designed to help with the organization and spacing of vertical forms. For\n// horizontal forms, use the predefined grid classes.\n\n.form-group {\n margin-bottom: 15px;\n}\n\n\n// Checkboxes and radios\n//\n// Indent the labels to position radios/checkboxes as hanging controls.\n\n.radio,\n.checkbox {\n display: block;\n min-height: @line-height-computed; // clear the floating input if there is no label text\n margin-top: 10px;\n margin-bottom: 10px;\n padding-left: 20px;\n label {\n display: inline;\n font-weight: normal;\n cursor: pointer;\n }\n}\n.radio input[type=\"radio\"],\n.radio-inline input[type=\"radio\"],\n.checkbox input[type=\"checkbox\"],\n.checkbox-inline input[type=\"checkbox\"] {\n float: left;\n margin-left: -20px;\n}\n.radio + .radio,\n.checkbox + .checkbox {\n margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing\n}\n\n// Radios and checkboxes on same line\n.radio-inline,\n.checkbox-inline {\n display: inline-block;\n padding-left: 20px;\n margin-bottom: 0;\n vertical-align: middle;\n font-weight: normal;\n cursor: pointer;\n}\n.radio-inline + .radio-inline,\n.checkbox-inline + .checkbox-inline {\n margin-top: 0;\n margin-left: 10px; // space out consecutive inline controls\n}\n\n// Apply same disabled cursor tweak as for inputs\n//\n// Note: Neither radios nor checkboxes can be readonly.\ninput[type=\"radio\"],\ninput[type=\"checkbox\"],\n.radio,\n.radio-inline,\n.checkbox,\n.checkbox-inline {\n &[disabled],\n fieldset[disabled] & {\n cursor: not-allowed;\n }\n}\n\n\n// Form control sizing\n//\n// Build on `.form-control` with modifier classes to decrease or increase the\n// height and font-size of form controls.\n\n.input-sm {\n .input-size(@input-height-small; @padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);\n}\n\n.input-lg {\n .input-size(@input-height-large; @padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);\n}\n\n\n// Form control feedback states\n//\n// Apply contextual and semantic states to individual form controls.\n\n.has-feedback {\n // Enable absolute positioning\n position: relative;\n\n // Ensure icons don't overlap text\n .form-control {\n padding-right: (@input-height-base * 1.25);\n }\n\n // Feedback icon (requires .glyphicon classes)\n .form-control-feedback {\n position: absolute;\n top: (@line-height-computed + 5); // Height of the `label` and its margin\n right: 0;\n display: block;\n width: @input-height-base;\n height: @input-height-base;\n line-height: @input-height-base;\n text-align: center;\n }\n}\n\n// Feedback states\n.has-success {\n .form-control-validation(@state-success-text; @state-success-text; @state-success-bg);\n}\n.has-warning {\n .form-control-validation(@state-warning-text; @state-warning-text; @state-warning-bg);\n}\n.has-error {\n .form-control-validation(@state-danger-text; @state-danger-text; @state-danger-bg);\n}\n\n\n// Static form control text\n//\n// Apply class to a `p` element to make any string of text align with labels in\n// a horizontal form layout.\n\n.form-control-static {\n margin-bottom: 0; // Remove default margin from `p`\n}\n\n\n// Help text\n//\n// Apply to any element you wish to create light text for placement immediately\n// below a form control. Use for general help, formatting, or instructional text.\n\n.help-block {\n display: block; // account for any element using help-block\n margin-top: 5px;\n margin-bottom: 10px;\n color: lighten(@text-color, 25%); // lighten the text some for contrast\n}\n\n\n\n// Inline forms\n//\n// Make forms appear inline(-block) by adding the `.form-inline` class. Inline\n// forms begin stacked on extra small (mobile) devices and then go inline when\n// viewports reach <768px.\n//\n// Requires wrapping inputs and labels with `.form-group` for proper display of\n// default HTML form controls and our custom form controls (e.g., input groups).\n//\n// Heads up! This is mixin-ed into `.navbar-form` in navbars.less.\n\n.form-inline {\n\n // Kick in the inline\n @media (min-width: @screen-sm-min) {\n // Inline-block all the things for \"inline\"\n .form-group {\n display: inline-block;\n margin-bottom: 0;\n vertical-align: middle;\n }\n\n // In navbar-form, allow folks to *not* use `.form-group`\n .form-control {\n display: inline-block;\n width: auto; // Prevent labels from stacking above inputs in `.form-group`\n vertical-align: middle;\n }\n // Input groups need that 100% width though\n .input-group > .form-control {\n width: 100%;\n }\n\n .control-label {\n margin-bottom: 0;\n vertical-align: middle;\n }\n\n // Remove default margin on radios/checkboxes that were used for stacking, and\n // then undo the floating of radios and checkboxes to match (which also avoids\n // a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).\n .radio,\n .checkbox {\n display: inline-block;\n margin-top: 0;\n margin-bottom: 0;\n padding-left: 0;\n vertical-align: middle;\n }\n .radio input[type=\"radio\"],\n .checkbox input[type=\"checkbox\"] {\n float: none;\n margin-left: 0;\n }\n\n // Validation states\n //\n // Reposition the icon because it's now within a grid column and columns have\n // `position: relative;` on them. Also accounts for the grid gutter padding.\n .has-feedback .form-control-feedback {\n top: 0;\n }\n }\n}\n\n\n// Horizontal forms\n//\n// Horizontal forms are built on grid classes and allow you to create forms with\n// labels on the left and inputs on the right.\n\n.form-horizontal {\n\n // Consistent vertical alignment of labels, radios, and checkboxes\n .control-label,\n .radio,\n .checkbox,\n .radio-inline,\n .checkbox-inline {\n margin-top: 0;\n margin-bottom: 0;\n padding-top: (@padding-base-vertical + 1); // Default padding plus a border\n }\n // Account for padding we're adding to ensure the alignment and of help text\n // and other content below items\n .radio,\n .checkbox {\n min-height: (@line-height-computed + (@padding-base-vertical + 1));\n }\n\n // Make form groups behave like rows\n .form-group {\n .make-row();\n }\n\n .form-control-static {\n padding-top: (@padding-base-vertical + 1);\n }\n\n // Only right align form labels here when the columns stop stacking\n @media (min-width: @screen-sm-min) {\n .control-label {\n text-align: right;\n }\n }\n\n // Validation states\n //\n // Reposition the icon because it's now within a grid column and columns have\n // `position: relative;` on them. Also accounts for the grid gutter padding.\n .has-feedback .form-control-feedback {\n top: 0;\n right: (@grid-gutter-width / 2);\n }\n}\n","//\n// Buttons\n// --------------------------------------------------\n\n\n// Base styles\n// --------------------------------------------------\n\n.btn {\n display: inline-block;\n margin-bottom: 0; // For input.btn\n font-weight: @btn-font-weight;\n text-align: center;\n vertical-align: middle;\n cursor: pointer;\n background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\n border: 1px solid transparent;\n white-space: nowrap;\n .button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);\n .user-select(none);\n\n &,\n &:active,\n &.active {\n &:focus {\n .tab-focus();\n }\n }\n\n &:hover,\n &:focus {\n color: @btn-default-color;\n text-decoration: none;\n }\n\n &:active,\n &.active {\n outline: 0;\n background-image: none;\n .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));\n }\n\n &.disabled,\n &[disabled],\n fieldset[disabled] & {\n cursor: not-allowed;\n pointer-events: none; // Future-proof disabling of clicks\n .opacity(.65);\n .box-shadow(none);\n }\n}\n\n\n// Alternate buttons\n// --------------------------------------------------\n\n.btn-default {\n .button-variant(@btn-default-color; @btn-default-bg; @btn-default-border);\n}\n.btn-primary {\n .button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-border);\n}\n// Success appears as green\n.btn-success {\n .button-variant(@btn-success-color; @btn-success-bg; @btn-success-border);\n}\n// Info appears as blue-green\n.btn-info {\n .button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);\n}\n// Warning appears as orange\n.btn-warning {\n .button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);\n}\n// Danger and error appear as red\n.btn-danger {\n .button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);\n}\n\n\n// Link buttons\n// -------------------------\n\n// Make a button look and behave like a link\n.btn-link {\n color: @link-color;\n font-weight: normal;\n cursor: pointer;\n border-radius: 0;\n\n &,\n &:active,\n &[disabled],\n fieldset[disabled] & {\n background-color: transparent;\n .box-shadow(none);\n }\n &,\n &:hover,\n &:focus,\n &:active {\n border-color: transparent;\n }\n &:hover,\n &:focus {\n color: @link-hover-color;\n text-decoration: underline;\n background-color: transparent;\n }\n &[disabled],\n fieldset[disabled] & {\n &:hover,\n &:focus {\n color: @btn-link-disabled-color;\n text-decoration: none;\n }\n }\n}\n\n\n// Button Sizes\n// --------------------------------------------------\n\n.btn-lg {\n // line-height: ensure even-numbered height of button next to large input\n .button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);\n}\n.btn-sm {\n // line-height: ensure proper height of button next to small input\n .button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);\n}\n.btn-xs {\n .button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @border-radius-small);\n}\n\n\n// Block button\n// --------------------------------------------------\n\n.btn-block {\n display: block;\n width: 100%;\n padding-left: 0;\n padding-right: 0;\n}\n\n// Vertically space out multiple block buttons\n.btn-block + .btn-block {\n margin-top: 5px;\n}\n\n// Specificity overrides\ninput[type=\"submit\"],\ninput[type=\"reset\"],\ninput[type=\"button\"] {\n &.btn-block {\n width: 100%;\n }\n}\n","//\n// Button groups\n// --------------------------------------------------\n\n// Make the div behave like a button\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-block;\n vertical-align: middle; // match .btn alignment given font-size hack above\n > .btn {\n position: relative;\n float: left;\n // Bring the \"active\" button to the front\n &:hover,\n &:focus,\n &:active,\n &.active {\n z-index: 2;\n }\n &:focus {\n // Remove focus outline when dropdown JS adds it after closing the menu\n outline: none;\n }\n }\n}\n\n// Prevent double borders when buttons are next to each other\n.btn-group {\n .btn + .btn,\n .btn + .btn-group,\n .btn-group + .btn,\n .btn-group + .btn-group {\n margin-left: -1px;\n }\n}\n\n// Optional: Group multiple button groups together for a toolbar\n.btn-toolbar {\n margin-left: -5px; // Offset the first child's margin\n &:extend(.clearfix all);\n\n .btn-group,\n .input-group {\n float: left;\n }\n > .btn,\n > .btn-group,\n > .input-group {\n margin-left: 5px;\n }\n}\n\n.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {\n border-radius: 0;\n}\n\n// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match\n.btn-group > .btn:first-child {\n margin-left: 0;\n &:not(:last-child):not(.dropdown-toggle) {\n .border-right-radius(0);\n }\n}\n// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it\n.btn-group > .btn:last-child:not(:first-child),\n.btn-group > .dropdown-toggle:not(:first-child) {\n .border-left-radius(0);\n}\n\n// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)\n.btn-group > .btn-group {\n float: left;\n}\n.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group > .btn-group:first-child {\n > .btn:last-child,\n > .dropdown-toggle {\n .border-right-radius(0);\n }\n}\n.btn-group > .btn-group:last-child > .btn:first-child {\n .border-left-radius(0);\n}\n\n// On active and open, don't show outline\n.btn-group .dropdown-toggle:active,\n.btn-group.open .dropdown-toggle {\n outline: 0;\n}\n\n\n// Sizing\n//\n// Remix the default button sizing classes into new ones for easier manipulation.\n\n.btn-group-xs > .btn { &:extend(.btn-xs); }\n.btn-group-sm > .btn { &:extend(.btn-sm); }\n.btn-group-lg > .btn { &:extend(.btn-lg); }\n\n\n// Split button dropdowns\n// ----------------------\n\n// Give the line between buttons some depth\n.btn-group > .btn + .dropdown-toggle {\n padding-left: 8px;\n padding-right: 8px;\n}\n.btn-group > .btn-lg + .dropdown-toggle {\n padding-left: 12px;\n padding-right: 12px;\n}\n\n// The clickable button for toggling the menu\n// Remove the gradient and set the same inset shadow as the :active state\n.btn-group.open .dropdown-toggle {\n .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));\n\n // Show no shadow for `.btn-link` since it has no other button styles.\n &.btn-link {\n .box-shadow(none);\n }\n}\n\n\n// Reposition the caret\n.btn .caret {\n margin-left: 0;\n}\n// Carets in other button sizes\n.btn-lg .caret {\n border-width: @caret-width-large @caret-width-large 0;\n border-bottom-width: 0;\n}\n// Upside down carets for .dropup\n.dropup .btn-lg .caret {\n border-width: 0 @caret-width-large @caret-width-large;\n}\n\n\n// Vertical button groups\n// ----------------------\n\n.btn-group-vertical {\n > .btn,\n > .btn-group,\n > .btn-group > .btn {\n display: block;\n float: none;\n width: 100%;\n max-width: 100%;\n }\n\n // Clear floats so dropdown menus can be properly placed\n > .btn-group {\n &:extend(.clearfix all);\n > .btn {\n float: none;\n }\n }\n\n > .btn + .btn,\n > .btn + .btn-group,\n > .btn-group + .btn,\n > .btn-group + .btn-group {\n margin-top: -1px;\n margin-left: 0;\n }\n}\n\n.btn-group-vertical > .btn {\n &:not(:first-child):not(:last-child) {\n border-radius: 0;\n }\n &:first-child:not(:last-child) {\n border-top-right-radius: @border-radius-base;\n .border-bottom-radius(0);\n }\n &:last-child:not(:first-child) {\n border-bottom-left-radius: @border-radius-base;\n .border-top-radius(0);\n }\n}\n.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {\n border-radius: 0;\n}\n.btn-group-vertical > .btn-group:first-child:not(:last-child) {\n > .btn:last-child,\n > .dropdown-toggle {\n .border-bottom-radius(0);\n }\n}\n.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {\n .border-top-radius(0);\n}\n\n\n\n// Justified button groups\n// ----------------------\n\n.btn-group-justified {\n display: table;\n width: 100%;\n table-layout: fixed;\n border-collapse: separate;\n > .btn,\n > .btn-group {\n float: none;\n display: table-cell;\n width: 1%;\n }\n > .btn-group .btn {\n width: 100%;\n }\n}\n\n\n// Checkbox and radio options\n[data-toggle=\"buttons\"] > .btn > input[type=\"radio\"],\n[data-toggle=\"buttons\"] > .btn > input[type=\"checkbox\"] {\n display: none;\n}\n","//\n// Component animations\n// --------------------------------------------------\n\n// Heads up!\n//\n// We don't use the `.opacity()` mixin here since it causes a bug with text\n// fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552.\n\n.fade {\n opacity: 0;\n .transition(opacity .15s linear);\n &.in {\n opacity: 1;\n }\n}\n\n.collapse {\n display: none;\n &.in {\n display: block;\n }\n}\n.collapsing {\n position: relative;\n height: 0;\n overflow: hidden;\n .transition(height .35s ease);\n}\n","//\n// Glyphicons for Bootstrap\n//\n// Since icons are fonts, they can be placed anywhere text is placed and are\n// thus automatically sized to match the surrounding child. To use, create an\n// inline element with the appropriate classes, like so:\n//\n// Star \n\n// Import the fonts\n@font-face {\n font-family: 'Glyphicons Halflings';\n src: ~\"url('@{icon-font-path}@{icon-font-name}.eot')\";\n src: ~\"url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype')\",\n ~\"url('@{icon-font-path}@{icon-font-name}.woff') format('woff')\",\n ~\"url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype')\",\n ~\"url('@{icon-font-path}@{icon-font-name}.svg#@{icon-font-svg-id}') format('svg')\";\n}\n\n// Catchall baseclass\n.glyphicon {\n position: relative;\n top: 1px;\n display: inline-block;\n font-family: 'Glyphicons Halflings';\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n// Individual icons\n.glyphicon-asterisk { &:before { content: \"\\2a\"; } }\n.glyphicon-plus { &:before { content: \"\\2b\"; } }\n.glyphicon-euro { &:before { content: \"\\20ac\"; } }\n.glyphicon-minus { &:before { content: \"\\2212\"; } }\n.glyphicon-cloud { &:before { content: \"\\2601\"; } }\n.glyphicon-envelope { &:before { content: \"\\2709\"; } }\n.glyphicon-pencil { &:before { content: \"\\270f\"; } }\n.glyphicon-glass { &:before { content: \"\\e001\"; } }\n.glyphicon-music { &:before { content: \"\\e002\"; } }\n.glyphicon-search { &:before { content: \"\\e003\"; } }\n.glyphicon-heart { &:before { content: \"\\e005\"; } }\n.glyphicon-star { &:before { content: \"\\e006\"; } }\n.glyphicon-star-empty { &:before { content: \"\\e007\"; } }\n.glyphicon-user { &:before { content: \"\\e008\"; } }\n.glyphicon-film { &:before { content: \"\\e009\"; } }\n.glyphicon-th-large { &:before { content: \"\\e010\"; } }\n.glyphicon-th { &:before { content: \"\\e011\"; } }\n.glyphicon-th-list { &:before { content: \"\\e012\"; } }\n.glyphicon-ok { &:before { content: \"\\e013\"; } }\n.glyphicon-remove { &:before { content: \"\\e014\"; } }\n.glyphicon-zoom-in { &:before { content: \"\\e015\"; } }\n.glyphicon-zoom-out { &:before { content: \"\\e016\"; } }\n.glyphicon-off { &:before { content: \"\\e017\"; } }\n.glyphicon-signal { &:before { content: \"\\e018\"; } }\n.glyphicon-cog { &:before { content: \"\\e019\"; } }\n.glyphicon-trash { &:before { content: \"\\e020\"; } }\n.glyphicon-home { &:before { content: \"\\e021\"; } }\n.glyphicon-file { &:before { content: \"\\e022\"; } }\n.glyphicon-time { &:before { content: \"\\e023\"; } }\n.glyphicon-road { &:before { content: \"\\e024\"; } }\n.glyphicon-download-alt { &:before { content: \"\\e025\"; } }\n.glyphicon-download { &:before { content: \"\\e026\"; } }\n.glyphicon-upload { &:before { content: \"\\e027\"; } }\n.glyphicon-inbox { &:before { content: \"\\e028\"; } }\n.glyphicon-play-circle { &:before { content: \"\\e029\"; } }\n.glyphicon-repeat { &:before { content: \"\\e030\"; } }\n.glyphicon-refresh { &:before { content: \"\\e031\"; } }\n.glyphicon-list-alt { &:before { content: \"\\e032\"; } }\n.glyphicon-lock { &:before { content: \"\\e033\"; } }\n.glyphicon-flag { &:before { content: \"\\e034\"; } }\n.glyphicon-headphones { &:before { content: \"\\e035\"; } }\n.glyphicon-volume-off { &:before { content: \"\\e036\"; } }\n.glyphicon-volume-down { &:before { content: \"\\e037\"; } }\n.glyphicon-volume-up { &:before { content: \"\\e038\"; } }\n.glyphicon-qrcode { &:before { content: \"\\e039\"; } }\n.glyphicon-barcode { &:before { content: \"\\e040\"; } }\n.glyphicon-tag { &:before { content: \"\\e041\"; } }\n.glyphicon-tags { &:before { content: \"\\e042\"; } }\n.glyphicon-book { &:before { content: \"\\e043\"; } }\n.glyphicon-bookmark { &:before { content: \"\\e044\"; } }\n.glyphicon-print { &:before { content: \"\\e045\"; } }\n.glyphicon-camera { &:before { content: \"\\e046\"; } }\n.glyphicon-font { &:before { content: \"\\e047\"; } }\n.glyphicon-bold { &:before { content: \"\\e048\"; } }\n.glyphicon-italic { &:before { content: \"\\e049\"; } }\n.glyphicon-text-height { &:before { content: \"\\e050\"; } }\n.glyphicon-text-width { &:before { content: \"\\e051\"; } }\n.glyphicon-align-left { &:before { content: \"\\e052\"; } }\n.glyphicon-align-center { &:before { content: \"\\e053\"; } }\n.glyphicon-align-right { &:before { content: \"\\e054\"; } }\n.glyphicon-align-justify { &:before { content: \"\\e055\"; } }\n.glyphicon-list { &:before { content: \"\\e056\"; } }\n.glyphicon-indent-left { &:before { content: \"\\e057\"; } }\n.glyphicon-indent-right { &:before { content: \"\\e058\"; } }\n.glyphicon-facetime-video { &:before { content: \"\\e059\"; } }\n.glyphicon-picture { &:before { content: \"\\e060\"; } }\n.glyphicon-map-marker { &:before { content: \"\\e062\"; } }\n.glyphicon-adjust { &:before { content: \"\\e063\"; } }\n.glyphicon-tint { &:before { content: \"\\e064\"; } }\n.glyphicon-edit { &:before { content: \"\\e065\"; } }\n.glyphicon-share { &:before { content: \"\\e066\"; } }\n.glyphicon-check { &:before { content: \"\\e067\"; } }\n.glyphicon-move { &:before { content: \"\\e068\"; } }\n.glyphicon-step-backward { &:before { content: \"\\e069\"; } }\n.glyphicon-fast-backward { &:before { content: \"\\e070\"; } }\n.glyphicon-backward { &:before { content: \"\\e071\"; } }\n.glyphicon-play { &:before { content: \"\\e072\"; } }\n.glyphicon-pause { &:before { content: \"\\e073\"; } }\n.glyphicon-stop { &:before { content: \"\\e074\"; } }\n.glyphicon-forward { &:before { content: \"\\e075\"; } }\n.glyphicon-fast-forward { &:before { content: \"\\e076\"; } }\n.glyphicon-step-forward { &:before { content: \"\\e077\"; } }\n.glyphicon-eject { &:before { content: \"\\e078\"; } }\n.glyphicon-chevron-left { &:before { content: \"\\e079\"; } }\n.glyphicon-chevron-right { &:before { content: \"\\e080\"; } }\n.glyphicon-plus-sign { &:before { content: \"\\e081\"; } }\n.glyphicon-minus-sign { &:before { content: \"\\e082\"; } }\n.glyphicon-remove-sign { &:before { content: \"\\e083\"; } }\n.glyphicon-ok-sign { &:before { content: \"\\e084\"; } }\n.glyphicon-question-sign { &:before { content: \"\\e085\"; } }\n.glyphicon-info-sign { &:before { content: \"\\e086\"; } }\n.glyphicon-screenshot { &:before { content: \"\\e087\"; } }\n.glyphicon-remove-circle { &:before { content: \"\\e088\"; } }\n.glyphicon-ok-circle { &:before { content: \"\\e089\"; } }\n.glyphicon-ban-circle { &:before { content: \"\\e090\"; } }\n.glyphicon-arrow-left { &:before { content: \"\\e091\"; } }\n.glyphicon-arrow-right { &:before { content: \"\\e092\"; } }\n.glyphicon-arrow-up { &:before { content: \"\\e093\"; } }\n.glyphicon-arrow-down { &:before { content: \"\\e094\"; } }\n.glyphicon-share-alt { &:before { content: \"\\e095\"; } }\n.glyphicon-resize-full { &:before { content: \"\\e096\"; } }\n.glyphicon-resize-small { &:before { content: \"\\e097\"; } }\n.glyphicon-exclamation-sign { &:before { content: \"\\e101\"; } }\n.glyphicon-gift { &:before { content: \"\\e102\"; } }\n.glyphicon-leaf { &:before { content: \"\\e103\"; } }\n.glyphicon-fire { &:before { content: \"\\e104\"; } }\n.glyphicon-eye-open { &:before { content: \"\\e105\"; } }\n.glyphicon-eye-close { &:before { content: \"\\e106\"; } }\n.glyphicon-warning-sign { &:before { content: \"\\e107\"; } }\n.glyphicon-plane { &:before { content: \"\\e108\"; } }\n.glyphicon-calendar { &:before { content: \"\\e109\"; } }\n.glyphicon-random { &:before { content: \"\\e110\"; } }\n.glyphicon-comment { &:before { content: \"\\e111\"; } }\n.glyphicon-magnet { &:before { content: \"\\e112\"; } }\n.glyphicon-chevron-up { &:before { content: \"\\e113\"; } }\n.glyphicon-chevron-down { &:before { content: \"\\e114\"; } }\n.glyphicon-retweet { &:before { content: \"\\e115\"; } }\n.glyphicon-shopping-cart { &:before { content: \"\\e116\"; } }\n.glyphicon-folder-close { &:before { content: \"\\e117\"; } }\n.glyphicon-folder-open { &:before { content: \"\\e118\"; } }\n.glyphicon-resize-vertical { &:before { content: \"\\e119\"; } }\n.glyphicon-resize-horizontal { &:before { content: \"\\e120\"; } }\n.glyphicon-hdd { &:before { content: \"\\e121\"; } }\n.glyphicon-bullhorn { &:before { content: \"\\e122\"; } }\n.glyphicon-bell { &:before { content: \"\\e123\"; } }\n.glyphicon-certificate { &:before { content: \"\\e124\"; } }\n.glyphicon-thumbs-up { &:before { content: \"\\e125\"; } }\n.glyphicon-thumbs-down { &:before { content: \"\\e126\"; } }\n.glyphicon-hand-right { &:before { content: \"\\e127\"; } }\n.glyphicon-hand-left { &:before { content: \"\\e128\"; } }\n.glyphicon-hand-up { &:before { content: \"\\e129\"; } }\n.glyphicon-hand-down { &:before { content: \"\\e130\"; } }\n.glyphicon-circle-arrow-right { &:before { content: \"\\e131\"; } }\n.glyphicon-circle-arrow-left { &:before { content: \"\\e132\"; } }\n.glyphicon-circle-arrow-up { &:before { content: \"\\e133\"; } }\n.glyphicon-circle-arrow-down { &:before { content: \"\\e134\"; } }\n.glyphicon-globe { &:before { content: \"\\e135\"; } }\n.glyphicon-wrench { &:before { content: \"\\e136\"; } }\n.glyphicon-tasks { &:before { content: \"\\e137\"; } }\n.glyphicon-filter { &:before { content: \"\\e138\"; } }\n.glyphicon-briefcase { &:before { content: \"\\e139\"; } }\n.glyphicon-fullscreen { &:before { content: \"\\e140\"; } }\n.glyphicon-dashboard { &:before { content: \"\\e141\"; } }\n.glyphicon-paperclip { &:before { content: \"\\e142\"; } }\n.glyphicon-heart-empty { &:before { content: \"\\e143\"; } }\n.glyphicon-link { &:before { content: \"\\e144\"; } }\n.glyphicon-phone { &:before { content: \"\\e145\"; } }\n.glyphicon-pushpin { &:before { content: \"\\e146\"; } }\n.glyphicon-usd { &:before { content: \"\\e148\"; } }\n.glyphicon-gbp { &:before { content: \"\\e149\"; } }\n.glyphicon-sort { &:before { content: \"\\e150\"; } }\n.glyphicon-sort-by-alphabet { &:before { content: \"\\e151\"; } }\n.glyphicon-sort-by-alphabet-alt { &:before { content: \"\\e152\"; } }\n.glyphicon-sort-by-order { &:before { content: \"\\e153\"; } }\n.glyphicon-sort-by-order-alt { &:before { content: \"\\e154\"; } }\n.glyphicon-sort-by-attributes { &:before { content: \"\\e155\"; } }\n.glyphicon-sort-by-attributes-alt { &:before { content: \"\\e156\"; } }\n.glyphicon-unchecked { &:before { content: \"\\e157\"; } }\n.glyphicon-expand { &:before { content: \"\\e158\"; } }\n.glyphicon-collapse-down { &:before { content: \"\\e159\"; } }\n.glyphicon-collapse-up { &:before { content: \"\\e160\"; } }\n.glyphicon-log-in { &:before { content: \"\\e161\"; } }\n.glyphicon-flash { &:before { content: \"\\e162\"; } }\n.glyphicon-log-out { &:before { content: \"\\e163\"; } }\n.glyphicon-new-window { &:before { content: \"\\e164\"; } }\n.glyphicon-record { &:before { content: \"\\e165\"; } }\n.glyphicon-save { &:before { content: \"\\e166\"; } }\n.glyphicon-open { &:before { content: \"\\e167\"; } }\n.glyphicon-saved { &:before { content: \"\\e168\"; } }\n.glyphicon-import { &:before { content: \"\\e169\"; } }\n.glyphicon-export { &:before { content: \"\\e170\"; } }\n.glyphicon-send { &:before { content: \"\\e171\"; } }\n.glyphicon-floppy-disk { &:before { content: \"\\e172\"; } }\n.glyphicon-floppy-saved { &:before { content: \"\\e173\"; } }\n.glyphicon-floppy-remove { &:before { content: \"\\e174\"; } }\n.glyphicon-floppy-save { &:before { content: \"\\e175\"; } }\n.glyphicon-floppy-open { &:before { content: \"\\e176\"; } }\n.glyphicon-credit-card { &:before { content: \"\\e177\"; } }\n.glyphicon-transfer { &:before { content: \"\\e178\"; } }\n.glyphicon-cutlery { &:before { content: \"\\e179\"; } }\n.glyphicon-header { &:before { content: \"\\e180\"; } }\n.glyphicon-compressed { &:before { content: \"\\e181\"; } }\n.glyphicon-earphone { &:before { content: \"\\e182\"; } }\n.glyphicon-phone-alt { &:before { content: \"\\e183\"; } }\n.glyphicon-tower { &:before { content: \"\\e184\"; } }\n.glyphicon-stats { &:before { content: \"\\e185\"; } }\n.glyphicon-sd-video { &:before { content: \"\\e186\"; } }\n.glyphicon-hd-video { &:before { content: \"\\e187\"; } }\n.glyphicon-subtitles { &:before { content: \"\\e188\"; } }\n.glyphicon-sound-stereo { &:before { content: \"\\e189\"; } }\n.glyphicon-sound-dolby { &:before { content: \"\\e190\"; } }\n.glyphicon-sound-5-1 { &:before { content: \"\\e191\"; } }\n.glyphicon-sound-6-1 { &:before { content: \"\\e192\"; } }\n.glyphicon-sound-7-1 { &:before { content: \"\\e193\"; } }\n.glyphicon-copyright-mark { &:before { content: \"\\e194\"; } }\n.glyphicon-registration-mark { &:before { content: \"\\e195\"; } }\n.glyphicon-cloud-download { &:before { content: \"\\e197\"; } }\n.glyphicon-cloud-upload { &:before { content: \"\\e198\"; } }\n.glyphicon-tree-conifer { &:before { content: \"\\e199\"; } }\n.glyphicon-tree-deciduous { &:before { content: \"\\e200\"; } }\n","//\n// Dropdown menus\n// --------------------------------------------------\n\n\n// Dropdown arrow/caret\n.caret {\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 2px;\n vertical-align: middle;\n border-top: @caret-width-base solid;\n border-right: @caret-width-base solid transparent;\n border-left: @caret-width-base solid transparent;\n}\n\n// The dropdown wrapper (div)\n.dropdown {\n position: relative;\n}\n\n// Prevent the focus on the dropdown toggle when closing dropdowns\n.dropdown-toggle:focus {\n outline: 0;\n}\n\n// The dropdown menu (ul)\n.dropdown-menu {\n position: absolute;\n top: 100%;\n left: 0;\n z-index: @zindex-dropdown;\n display: none; // none by default, but block on \"open\" of the menu\n float: left;\n min-width: 160px;\n padding: 5px 0;\n margin: 2px 0 0; // override default ul\n list-style: none;\n font-size: @font-size-base;\n background-color: @dropdown-bg;\n border: 1px solid @dropdown-fallback-border; // IE8 fallback\n border: 1px solid @dropdown-border;\n border-radius: @border-radius-base;\n .box-shadow(0 6px 12px rgba(0,0,0,.175));\n background-clip: padding-box;\n\n // Aligns the dropdown menu to right\n //\n // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]`\n &.pull-right {\n right: 0;\n left: auto;\n }\n\n // Dividers (basically an hr) within the dropdown\n .divider {\n .nav-divider(@dropdown-divider-bg);\n }\n\n // Links within the dropdown menu\n > li > a {\n display: block;\n padding: 3px 20px;\n clear: both;\n font-weight: normal;\n line-height: @line-height-base;\n color: @dropdown-link-color;\n white-space: nowrap; // prevent links from randomly breaking onto new lines\n }\n}\n\n// Hover/Focus state\n.dropdown-menu > li > a {\n &:hover,\n &:focus {\n text-decoration: none;\n color: @dropdown-link-hover-color;\n background-color: @dropdown-link-hover-bg;\n }\n}\n\n// Active state\n.dropdown-menu > .active > a {\n &,\n &:hover,\n &:focus {\n color: @dropdown-link-active-color;\n text-decoration: none;\n outline: 0;\n background-color: @dropdown-link-active-bg;\n }\n}\n\n// Disabled state\n//\n// Gray out text and ensure the hover/focus state remains gray\n\n.dropdown-menu > .disabled > a {\n &,\n &:hover,\n &:focus {\n color: @dropdown-link-disabled-color;\n }\n}\n// Nuke hover/focus effects\n.dropdown-menu > .disabled > a {\n &:hover,\n &:focus {\n text-decoration: none;\n background-color: transparent;\n background-image: none; // Remove CSS gradient\n .reset-filter();\n cursor: not-allowed;\n }\n}\n\n// Open state for the dropdown\n.open {\n // Show the menu\n > .dropdown-menu {\n display: block;\n }\n\n // Remove the outline when :focus is triggered\n > a {\n outline: 0;\n }\n}\n\n// Menu positioning\n//\n// Add extra class to `.dropdown-menu` to flip the alignment of the dropdown\n// menu with the parent.\n.dropdown-menu-right {\n left: auto; // Reset the default from `.dropdown-menu`\n right: 0;\n}\n// With v3, we enabled auto-flipping if you have a dropdown within a right\n// aligned nav component. To enable the undoing of that, we provide an override\n// to restore the default dropdown menu alignment.\n//\n// This is only for left-aligning a dropdown menu within a `.navbar-right` or\n// `.pull-right` nav component.\n.dropdown-menu-left {\n left: 0;\n right: auto;\n}\n\n// Dropdown section headers\n.dropdown-header {\n display: block;\n padding: 3px 20px;\n font-size: @font-size-small;\n line-height: @line-height-base;\n color: @dropdown-header-color;\n}\n\n// Backdrop to catch body clicks on mobile, etc.\n.dropdown-backdrop {\n position: fixed;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n z-index: (@zindex-dropdown - 10);\n}\n\n// Right aligned dropdowns\n.pull-right > .dropdown-menu {\n right: 0;\n left: auto;\n}\n\n// Allow for dropdowns to go bottom up (aka, dropup-menu)\n//\n// Just add .dropup after the standard .dropdown class and you're set, bro.\n// TODO: abstract this so that the navbar fixed styles are not placed here?\n\n.dropup,\n.navbar-fixed-bottom .dropdown {\n // Reverse the caret\n .caret {\n border-top: 0;\n border-bottom: @caret-width-base solid;\n content: \"\";\n }\n // Different positioning for bottom up menu\n .dropdown-menu {\n top: auto;\n bottom: 100%;\n margin-bottom: 1px;\n }\n}\n\n\n// Component alignment\n//\n// Reiterate per navbar.less and the modified component alignment there.\n\n@media (min-width: @grid-float-breakpoint) {\n .navbar-right {\n .dropdown-menu {\n .dropdown-menu-right();\n }\n // Necessary for overrides of the default right aligned menu.\n // Will remove come v4 in all likelihood.\n .dropdown-menu-left {\n .dropdown-menu-left();\n }\n }\n}\n\n","//\n// Input groups\n// --------------------------------------------------\n\n// Base styles\n// -------------------------\n.input-group {\n position: relative; // For dropdowns\n display: table;\n border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table\n\n // Undo padding and float of grid classes\n &[class*=\"col-\"] {\n float: none;\n padding-left: 0;\n padding-right: 0;\n }\n\n .form-control {\n // Ensure that the input is always above the *appended* addon button for\n // proper border colors.\n position: relative;\n z-index: 2;\n\n // IE9 fubars the placeholder attribute in text inputs and the arrows on\n // select elements in input groups. To fix it, we float the input. Details:\n // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855\n float: left;\n\n width: 100%;\n margin-bottom: 0;\n }\n}\n\n// Sizing options\n//\n// Remix the default form control sizing classes into new ones for easier\n// manipulation.\n\n.input-group-lg > .form-control,\n.input-group-lg > .input-group-addon,\n.input-group-lg > .input-group-btn > .btn { .input-lg(); }\n.input-group-sm > .form-control,\n.input-group-sm > .input-group-addon,\n.input-group-sm > .input-group-btn > .btn { .input-sm(); }\n\n\n// Display as table-cell\n// -------------------------\n.input-group-addon,\n.input-group-btn,\n.input-group .form-control {\n display: table-cell;\n\n &:not(:first-child):not(:last-child) {\n border-radius: 0;\n }\n}\n// Addon and addon wrapper for buttons\n.input-group-addon,\n.input-group-btn {\n width: 1%;\n white-space: nowrap;\n vertical-align: middle; // Match the inputs\n}\n\n// Text input groups\n// -------------------------\n.input-group-addon {\n padding: @padding-base-vertical @padding-base-horizontal;\n font-size: @font-size-base;\n font-weight: normal;\n line-height: 1;\n color: @input-color;\n text-align: center;\n background-color: @input-group-addon-bg;\n border: 1px solid @input-group-addon-border-color;\n border-radius: @border-radius-base;\n\n // Sizing\n &.input-sm {\n padding: @padding-small-vertical @padding-small-horizontal;\n font-size: @font-size-small;\n border-radius: @border-radius-small;\n }\n &.input-lg {\n padding: @padding-large-vertical @padding-large-horizontal;\n font-size: @font-size-large;\n border-radius: @border-radius-large;\n }\n\n // Nuke default margins from checkboxes and radios to vertically center within.\n input[type=\"radio\"],\n input[type=\"checkbox\"] {\n margin-top: 0;\n }\n}\n\n// Reset rounded corners\n.input-group .form-control:first-child,\n.input-group-addon:first-child,\n.input-group-btn:first-child > .btn,\n.input-group-btn:first-child > .btn-group > .btn,\n.input-group-btn:first-child > .dropdown-toggle,\n.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),\n.input-group-btn:last-child > .btn-group:not(:last-child) > .btn {\n .border-right-radius(0);\n}\n.input-group-addon:first-child {\n border-right: 0;\n}\n.input-group .form-control:last-child,\n.input-group-addon:last-child,\n.input-group-btn:last-child > .btn,\n.input-group-btn:last-child > .btn-group > .btn,\n.input-group-btn:last-child > .dropdown-toggle,\n.input-group-btn:first-child > .btn:not(:first-child),\n.input-group-btn:first-child > .btn-group:not(:first-child) > .btn {\n .border-left-radius(0);\n}\n.input-group-addon:last-child {\n border-left: 0;\n}\n\n// Button input groups\n// -------------------------\n.input-group-btn {\n position: relative;\n // Jankily prevent input button groups from wrapping with `white-space` and\n // `font-size` in combination with `inline-block` on buttons.\n font-size: 0;\n white-space: nowrap;\n\n // Negative margin for spacing, position for bringing hovered/focused/actived\n // element above the siblings.\n > .btn {\n position: relative;\n + .btn {\n margin-left: -1px;\n }\n // Bring the \"active\" button to the front\n &:hover,\n &:focus,\n &:active {\n z-index: 2;\n }\n }\n\n // Negative margin to only have a 1px border between the two\n &:first-child {\n > .btn,\n > .btn-group {\n margin-right: -1px;\n }\n }\n &:last-child {\n > .btn,\n > .btn-group {\n margin-left: -1px;\n }\n }\n}\n","//\n// Navs\n// --------------------------------------------------\n\n\n// Base class\n// --------------------------------------------------\n\n.nav {\n margin-bottom: 0;\n padding-left: 0; // Override default ul/ol\n list-style: none;\n &:extend(.clearfix all);\n\n > li {\n position: relative;\n display: block;\n\n > a {\n position: relative;\n display: block;\n padding: @nav-link-padding;\n &:hover,\n &:focus {\n text-decoration: none;\n background-color: @nav-link-hover-bg;\n }\n }\n\n // Disabled state sets text to gray and nukes hover/tab effects\n &.disabled > a {\n color: @nav-disabled-link-color;\n\n &:hover,\n &:focus {\n color: @nav-disabled-link-hover-color;\n text-decoration: none;\n background-color: transparent;\n cursor: not-allowed;\n }\n }\n }\n\n // Open dropdowns\n .open > a {\n &,\n &:hover,\n &:focus {\n background-color: @nav-link-hover-bg;\n border-color: @link-color;\n }\n }\n\n // Nav dividers (deprecated with v3.0.1)\n //\n // This should have been removed in v3 with the dropping of `.nav-list`, but\n // we missed it. We don't currently support this anywhere, but in the interest\n // of maintaining backward compatibility in case you use it, it's deprecated.\n .nav-divider {\n .nav-divider();\n }\n\n // Prevent IE8 from misplacing imgs\n //\n // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989\n > li > a > img {\n max-width: none;\n }\n}\n\n\n// Tabs\n// -------------------------\n\n// Give the tabs something to sit on\n.nav-tabs {\n border-bottom: 1px solid @nav-tabs-border-color;\n > li {\n float: left;\n // Make the list-items overlay the bottom border\n margin-bottom: -1px;\n\n // Actual tabs (as links)\n > a {\n margin-right: 2px;\n line-height: @line-height-base;\n border: 1px solid transparent;\n border-radius: @border-radius-base @border-radius-base 0 0;\n &:hover {\n border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;\n }\n }\n\n // Active state, and its :hover to override normal :hover\n &.active > a {\n &,\n &:hover,\n &:focus {\n color: @nav-tabs-active-link-hover-color;\n background-color: @nav-tabs-active-link-hover-bg;\n border: 1px solid @nav-tabs-active-link-hover-border-color;\n border-bottom-color: transparent;\n cursor: default;\n }\n }\n }\n // pulling this in mainly for less shorthand\n &.nav-justified {\n .nav-justified();\n .nav-tabs-justified();\n }\n}\n\n\n// Pills\n// -------------------------\n.nav-pills {\n > li {\n float: left;\n\n // Links rendered as pills\n > a {\n border-radius: @nav-pills-border-radius;\n }\n + li {\n margin-left: 2px;\n }\n\n // Active state\n &.active > a {\n &,\n &:hover,\n &:focus {\n color: @nav-pills-active-link-hover-color;\n background-color: @nav-pills-active-link-hover-bg;\n }\n }\n }\n}\n\n\n// Stacked pills\n.nav-stacked {\n > li {\n float: none;\n + li {\n margin-top: 2px;\n margin-left: 0; // no need for this gap between nav items\n }\n }\n}\n\n\n// Nav variations\n// --------------------------------------------------\n\n// Justified nav links\n// -------------------------\n\n.nav-justified {\n width: 100%;\n\n > li {\n float: none;\n > a {\n text-align: center;\n margin-bottom: 5px;\n }\n }\n\n > .dropdown .dropdown-menu {\n top: auto;\n left: auto;\n }\n\n @media (min-width: @screen-sm-min) {\n > li {\n display: table-cell;\n width: 1%;\n > a {\n margin-bottom: 0;\n }\n }\n }\n}\n\n// Move borders to anchors instead of bottom of list\n//\n// Mixin for adding on top the shared `.nav-justified` styles for our tabs\n.nav-tabs-justified {\n border-bottom: 0;\n\n > li > a {\n // Override margin from .nav-tabs\n margin-right: 0;\n border-radius: @border-radius-base;\n }\n\n > .active > a,\n > .active > a:hover,\n > .active > a:focus {\n border: 1px solid @nav-tabs-justified-link-border-color;\n }\n\n @media (min-width: @screen-sm-min) {\n > li > a {\n border-bottom: 1px solid @nav-tabs-justified-link-border-color;\n border-radius: @border-radius-base @border-radius-base 0 0;\n }\n > .active > a,\n > .active > a:hover,\n > .active > a:focus {\n border-bottom-color: @nav-tabs-justified-active-link-border-color;\n }\n }\n}\n\n\n// Tabbable tabs\n// -------------------------\n\n// Hide tabbable panes to start, show them when `.active`\n.tab-content {\n > .tab-pane {\n display: none;\n }\n > .active {\n display: block;\n }\n}\n\n\n// Dropdowns\n// -------------------------\n\n// Specific dropdowns\n.nav-tabs .dropdown-menu {\n // make dropdown border overlap tab border\n margin-top: -1px;\n // Remove the top rounded corners here since there is a hard edge above the menu\n .border-top-radius(0);\n}\n","//\n// Navbars\n// --------------------------------------------------\n\n\n// Wrapper and base class\n//\n// Provide a static navbar from which we expand to create full-width, fixed, and\n// other navbar variations.\n\n.navbar {\n position: relative;\n min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)\n margin-bottom: @navbar-margin-bottom;\n border: 1px solid transparent;\n\n // Prevent floats from breaking the navbar\n &:extend(.clearfix all);\n\n @media (min-width: @grid-float-breakpoint) {\n border-radius: @navbar-border-radius;\n }\n}\n\n\n// Navbar heading\n//\n// Groups `.navbar-brand` and `.navbar-toggle` into a single component for easy\n// styling of responsive aspects.\n\n.navbar-header {\n &:extend(.clearfix all);\n\n @media (min-width: @grid-float-breakpoint) {\n float: left;\n }\n}\n\n\n// Navbar collapse (body)\n//\n// Group your navbar content into this for easy collapsing and expanding across\n// various device sizes. By default, this content is collapsed when <768px, but\n// will expand past that for a horizontal display.\n//\n// To start (on mobile devices) the navbar links, forms, and buttons are stacked\n// vertically and include a `max-height` to overflow in case you have too much\n// content for the user's viewport.\n\n.navbar-collapse {\n max-height: @navbar-collapse-max-height;\n overflow-x: visible;\n padding-right: @navbar-padding-horizontal;\n padding-left: @navbar-padding-horizontal;\n border-top: 1px solid transparent;\n box-shadow: inset 0 1px 0 rgba(255,255,255,.1);\n &:extend(.clearfix all);\n -webkit-overflow-scrolling: touch;\n\n &.in {\n overflow-y: auto;\n }\n\n @media (min-width: @grid-float-breakpoint) {\n width: auto;\n border-top: 0;\n box-shadow: none;\n\n &.collapse {\n display: block !important;\n height: auto !important;\n padding-bottom: 0; // Override default setting\n overflow: visible !important;\n }\n\n &.in {\n overflow-y: visible;\n }\n\n // Undo the collapse side padding for navbars with containers to ensure\n // alignment of right-aligned contents.\n .navbar-fixed-top &,\n .navbar-static-top &,\n .navbar-fixed-bottom & {\n padding-left: 0;\n padding-right: 0;\n }\n }\n}\n\n\n// Both navbar header and collapse\n//\n// When a container is present, change the behavior of the header and collapse.\n\n.container,\n.container-fluid {\n > .navbar-header,\n > .navbar-collapse {\n margin-right: -@navbar-padding-horizontal;\n margin-left: -@navbar-padding-horizontal;\n\n @media (min-width: @grid-float-breakpoint) {\n margin-right: 0;\n margin-left: 0;\n }\n }\n}\n\n\n//\n// Navbar alignment options\n//\n// Display the navbar across the entirety of the page or fixed it to the top or\n// bottom of the page.\n\n// Static top (unfixed, but 100% wide) navbar\n.navbar-static-top {\n z-index: @zindex-navbar;\n border-width: 0 0 1px;\n\n @media (min-width: @grid-float-breakpoint) {\n border-radius: 0;\n }\n}\n\n// Fix the top/bottom navbars when screen real estate supports it\n.navbar-fixed-top,\n.navbar-fixed-bottom {\n position: fixed;\n right: 0;\n left: 0;\n z-index: @zindex-navbar-fixed;\n\n // Undo the rounded corners\n @media (min-width: @grid-float-breakpoint) {\n border-radius: 0;\n }\n}\n.navbar-fixed-top {\n top: 0;\n border-width: 0 0 1px;\n}\n.navbar-fixed-bottom {\n bottom: 0;\n margin-bottom: 0; // override .navbar defaults\n border-width: 1px 0 0;\n}\n\n\n// Brand/project name\n\n.navbar-brand {\n float: left;\n padding: @navbar-padding-vertical @navbar-padding-horizontal;\n font-size: @font-size-large;\n line-height: @line-height-computed;\n height: @navbar-height;\n\n &:hover,\n &:focus {\n text-decoration: none;\n }\n\n @media (min-width: @grid-float-breakpoint) {\n .navbar > .container &,\n .navbar > .container-fluid & {\n margin-left: -@navbar-padding-horizontal;\n }\n }\n}\n\n\n// Navbar toggle\n//\n// Custom button for toggling the `.navbar-collapse`, powered by the collapse\n// JavaScript plugin.\n\n.navbar-toggle {\n position: relative;\n float: right;\n margin-right: @navbar-padding-horizontal;\n padding: 9px 10px;\n .navbar-vertical-align(34px);\n background-color: transparent;\n background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214\n border: 1px solid transparent;\n border-radius: @border-radius-base;\n\n // We remove the `outline` here, but later compensate by attaching `:hover`\n // styles to `:focus`.\n &:focus {\n outline: none;\n }\n\n // Bars\n .icon-bar {\n display: block;\n width: 22px;\n height: 2px;\n border-radius: 1px;\n }\n .icon-bar + .icon-bar {\n margin-top: 4px;\n }\n\n @media (min-width: @grid-float-breakpoint) {\n display: none;\n }\n}\n\n\n// Navbar nav links\n//\n// Builds on top of the `.nav` components with its own modifier class to make\n// the nav the full height of the horizontal nav (above 768px).\n\n.navbar-nav {\n margin: (@navbar-padding-vertical / 2) -@navbar-padding-horizontal;\n\n > li > a {\n padding-top: 10px;\n padding-bottom: 10px;\n line-height: @line-height-computed;\n }\n\n @media (max-width: @grid-float-breakpoint-max) {\n // Dropdowns get custom display when collapsed\n .open .dropdown-menu {\n position: static;\n float: none;\n width: auto;\n margin-top: 0;\n background-color: transparent;\n border: 0;\n box-shadow: none;\n > li > a,\n .dropdown-header {\n padding: 5px 15px 5px 25px;\n }\n > li > a {\n line-height: @line-height-computed;\n &:hover,\n &:focus {\n background-image: none;\n }\n }\n }\n }\n\n // Uncollapse the nav\n @media (min-width: @grid-float-breakpoint) {\n float: left;\n margin: 0;\n\n > li {\n float: left;\n > a {\n padding-top: @navbar-padding-vertical;\n padding-bottom: @navbar-padding-vertical;\n }\n }\n\n &.navbar-right:last-child {\n margin-right: -@navbar-padding-horizontal;\n }\n }\n}\n\n\n// Component alignment\n//\n// Repurpose the pull utilities as their own navbar utilities to avoid specificity\n// issues with parents and chaining. Only do this when the navbar is uncollapsed\n// though so that navbar contents properly stack and align in mobile.\n\n@media (min-width: @grid-float-breakpoint) {\n .navbar-left { .pull-left(); }\n .navbar-right { .pull-right(); }\n}\n\n\n// Navbar form\n//\n// Extension of the `.form-inline` with some extra flavor for optimum display in\n// our navbars.\n\n.navbar-form {\n margin-left: -@navbar-padding-horizontal;\n margin-right: -@navbar-padding-horizontal;\n padding: 10px @navbar-padding-horizontal;\n border-top: 1px solid transparent;\n border-bottom: 1px solid transparent;\n @shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);\n .box-shadow(@shadow);\n\n // Mixin behavior for optimum display\n .form-inline();\n\n .form-group {\n @media (max-width: @grid-float-breakpoint-max) {\n margin-bottom: 5px;\n }\n }\n\n // Vertically center in expanded, horizontal navbar\n .navbar-vertical-align(@input-height-base);\n\n // Undo 100% width for pull classes\n @media (min-width: @grid-float-breakpoint) {\n width: auto;\n border: 0;\n margin-left: 0;\n margin-right: 0;\n padding-top: 0;\n padding-bottom: 0;\n .box-shadow(none);\n\n // Outdent the form if last child to line up with content down the page\n &.navbar-right:last-child {\n margin-right: -@navbar-padding-horizontal;\n }\n }\n}\n\n\n// Dropdown menus\n\n// Menu position and menu carets\n.navbar-nav > li > .dropdown-menu {\n margin-top: 0;\n .border-top-radius(0);\n}\n// Menu position and menu caret support for dropups via extra dropup class\n.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu {\n .border-bottom-radius(0);\n}\n\n\n// Buttons in navbars\n//\n// Vertically center a button within a navbar (when *not* in a form).\n\n.navbar-btn {\n .navbar-vertical-align(@input-height-base);\n\n &.btn-sm {\n .navbar-vertical-align(@input-height-small);\n }\n &.btn-xs {\n .navbar-vertical-align(22);\n }\n}\n\n\n// Text in navbars\n//\n// Add a class to make any element properly align itself vertically within the navbars.\n\n.navbar-text {\n .navbar-vertical-align(@line-height-computed);\n\n @media (min-width: @grid-float-breakpoint) {\n float: left;\n margin-left: @navbar-padding-horizontal;\n margin-right: @navbar-padding-horizontal;\n\n // Outdent the form if last child to line up with content down the page\n &.navbar-right:last-child {\n margin-right: 0;\n }\n }\n}\n\n// Alternate navbars\n// --------------------------------------------------\n\n// Default navbar\n.navbar-default {\n background-color: @navbar-default-bg;\n border-color: @navbar-default-border;\n\n .navbar-brand {\n color: @navbar-default-brand-color;\n &:hover,\n &:focus {\n color: @navbar-default-brand-hover-color;\n background-color: @navbar-default-brand-hover-bg;\n }\n }\n\n .navbar-text {\n color: @navbar-default-color;\n }\n\n .navbar-nav {\n > li > a {\n color: @navbar-default-link-color;\n\n &:hover,\n &:focus {\n color: @navbar-default-link-hover-color;\n background-color: @navbar-default-link-hover-bg;\n }\n }\n > .active > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-default-link-active-color;\n background-color: @navbar-default-link-active-bg;\n }\n }\n > .disabled > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-default-link-disabled-color;\n background-color: @navbar-default-link-disabled-bg;\n }\n }\n }\n\n .navbar-toggle {\n border-color: @navbar-default-toggle-border-color;\n &:hover,\n &:focus {\n background-color: @navbar-default-toggle-hover-bg;\n }\n .icon-bar {\n background-color: @navbar-default-toggle-icon-bar-bg;\n }\n }\n\n .navbar-collapse,\n .navbar-form {\n border-color: @navbar-default-border;\n }\n\n // Dropdown menu items\n .navbar-nav {\n // Remove background color from open dropdown\n > .open > a {\n &,\n &:hover,\n &:focus {\n background-color: @navbar-default-link-active-bg;\n color: @navbar-default-link-active-color;\n }\n }\n\n @media (max-width: @grid-float-breakpoint-max) {\n // Dropdowns get custom display when collapsed\n .open .dropdown-menu {\n > li > a {\n color: @navbar-default-link-color;\n &:hover,\n &:focus {\n color: @navbar-default-link-hover-color;\n background-color: @navbar-default-link-hover-bg;\n }\n }\n > .active > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-default-link-active-color;\n background-color: @navbar-default-link-active-bg;\n }\n }\n > .disabled > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-default-link-disabled-color;\n background-color: @navbar-default-link-disabled-bg;\n }\n }\n }\n }\n }\n\n\n // Links in navbars\n //\n // Add a class to ensure links outside the navbar nav are colored correctly.\n\n .navbar-link {\n color: @navbar-default-link-color;\n &:hover {\n color: @navbar-default-link-hover-color;\n }\n }\n\n}\n\n// Inverse navbar\n\n.navbar-inverse {\n background-color: @navbar-inverse-bg;\n border-color: @navbar-inverse-border;\n\n .navbar-brand {\n color: @navbar-inverse-brand-color;\n &:hover,\n &:focus {\n color: @navbar-inverse-brand-hover-color;\n background-color: @navbar-inverse-brand-hover-bg;\n }\n }\n\n .navbar-text {\n color: @navbar-inverse-color;\n }\n\n .navbar-nav {\n > li > a {\n color: @navbar-inverse-link-color;\n\n &:hover,\n &:focus {\n color: @navbar-inverse-link-hover-color;\n background-color: @navbar-inverse-link-hover-bg;\n }\n }\n > .active > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-inverse-link-active-color;\n background-color: @navbar-inverse-link-active-bg;\n }\n }\n > .disabled > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-inverse-link-disabled-color;\n background-color: @navbar-inverse-link-disabled-bg;\n }\n }\n }\n\n // Darken the responsive nav toggle\n .navbar-toggle {\n border-color: @navbar-inverse-toggle-border-color;\n &:hover,\n &:focus {\n background-color: @navbar-inverse-toggle-hover-bg;\n }\n .icon-bar {\n background-color: @navbar-inverse-toggle-icon-bar-bg;\n }\n }\n\n .navbar-collapse,\n .navbar-form {\n border-color: darken(@navbar-inverse-bg, 7%);\n }\n\n // Dropdowns\n .navbar-nav {\n > .open > a {\n &,\n &:hover,\n &:focus {\n background-color: @navbar-inverse-link-active-bg;\n color: @navbar-inverse-link-active-color;\n }\n }\n\n @media (max-width: @grid-float-breakpoint-max) {\n // Dropdowns get custom display\n .open .dropdown-menu {\n > .dropdown-header {\n border-color: @navbar-inverse-border;\n }\n .divider {\n background-color: @navbar-inverse-border;\n }\n > li > a {\n color: @navbar-inverse-link-color;\n &:hover,\n &:focus {\n color: @navbar-inverse-link-hover-color;\n background-color: @navbar-inverse-link-hover-bg;\n }\n }\n > .active > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-inverse-link-active-color;\n background-color: @navbar-inverse-link-active-bg;\n }\n }\n > .disabled > a {\n &,\n &:hover,\n &:focus {\n color: @navbar-inverse-link-disabled-color;\n background-color: @navbar-inverse-link-disabled-bg;\n }\n }\n }\n }\n }\n\n .navbar-link {\n color: @navbar-inverse-link-color;\n &:hover {\n color: @navbar-inverse-link-hover-color;\n }\n }\n\n}\n","//\n// Utility classes\n// --------------------------------------------------\n\n\n// Floats\n// -------------------------\n\n.clearfix {\n .clearfix();\n}\n.center-block {\n .center-block();\n}\n.pull-right {\n float: right !important;\n}\n.pull-left {\n float: left !important;\n}\n\n\n// Toggling content\n// -------------------------\n\n// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1\n.hide {\n display: none !important;\n}\n.show {\n display: block !important;\n}\n.invisible {\n visibility: hidden;\n}\n.text-hide {\n .text-hide();\n}\n\n\n// Hide from screenreaders and browsers\n//\n// Credit: HTML5 Boilerplate\n\n.hidden {\n display: none !important;\n visibility: hidden !important;\n}\n\n\n// For Affix plugin\n// -------------------------\n\n.affix {\n position: fixed;\n}\n","//\n// Breadcrumbs\n// --------------------------------------------------\n\n\n.breadcrumb {\n padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal;\n margin-bottom: @line-height-computed;\n list-style: none;\n background-color: @breadcrumb-bg;\n border-radius: @border-radius-base;\n\n > li {\n display: inline-block;\n\n + li:before {\n content: \"@{breadcrumb-separator}\\00a0\"; // Unicode space added since inline-block means non-collapsing white-space\n padding: 0 5px;\n color: @breadcrumb-color;\n }\n }\n\n > .active {\n color: @breadcrumb-active-color;\n }\n}\n","//\n// Pagination (multiple pages)\n// --------------------------------------------------\n.pagination {\n display: inline-block;\n padding-left: 0;\n margin: @line-height-computed 0;\n border-radius: @border-radius-base;\n\n > li {\n display: inline; // Remove list-style and block-level defaults\n > a,\n > span {\n position: relative;\n float: left; // Collapse white-space\n padding: @padding-base-vertical @padding-base-horizontal;\n line-height: @line-height-base;\n text-decoration: none;\n color: @pagination-color;\n background-color: @pagination-bg;\n border: 1px solid @pagination-border;\n margin-left: -1px;\n }\n &:first-child {\n > a,\n > span {\n margin-left: 0;\n .border-left-radius(@border-radius-base);\n }\n }\n &:last-child {\n > a,\n > span {\n .border-right-radius(@border-radius-base);\n }\n }\n }\n\n > li > a,\n > li > span {\n &:hover,\n &:focus {\n color: @pagination-hover-color;\n background-color: @pagination-hover-bg;\n border-color: @pagination-hover-border;\n }\n }\n\n > .active > a,\n > .active > span {\n &,\n &:hover,\n &:focus {\n z-index: 2;\n color: @pagination-active-color;\n background-color: @pagination-active-bg;\n border-color: @pagination-active-border;\n cursor: default;\n }\n }\n\n > .disabled {\n > span,\n > span:hover,\n > span:focus,\n > a,\n > a:hover,\n > a:focus {\n color: @pagination-disabled-color;\n background-color: @pagination-disabled-bg;\n border-color: @pagination-disabled-border;\n cursor: not-allowed;\n }\n }\n}\n\n// Sizing\n// --------------------------------------------------\n\n// Large\n.pagination-lg {\n .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large);\n}\n\n// Small\n.pagination-sm {\n .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);\n}\n","//\n// Pager pagination\n// --------------------------------------------------\n\n\n.pager {\n padding-left: 0;\n margin: @line-height-computed 0;\n list-style: none;\n text-align: center;\n &:extend(.clearfix all);\n li {\n display: inline;\n > a,\n > span {\n display: inline-block;\n padding: 5px 14px;\n background-color: @pager-bg;\n border: 1px solid @pager-border;\n border-radius: @pager-border-radius;\n }\n\n > a:hover,\n > a:focus {\n text-decoration: none;\n background-color: @pager-hover-bg;\n }\n }\n\n .next {\n > a,\n > span {\n float: right;\n }\n }\n\n .previous {\n > a,\n > span {\n float: left;\n }\n }\n\n .disabled {\n > a,\n > a:hover,\n > a:focus,\n > span {\n color: @pager-disabled-color;\n background-color: @pager-bg;\n cursor: not-allowed;\n }\n }\n\n}\n","//\n// Labels\n// --------------------------------------------------\n\n.label {\n display: inline;\n padding: .2em .6em .3em;\n font-size: 75%;\n font-weight: bold;\n line-height: 1;\n color: @label-color;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: .25em;\n\n // Add hover effects, but only for links\n &[href] {\n &:hover,\n &:focus {\n color: @label-link-hover-color;\n text-decoration: none;\n cursor: pointer;\n }\n }\n\n // Empty labels collapse automatically (not available in IE8)\n &:empty {\n display: none;\n }\n\n // Quick fix for labels in buttons\n .btn & {\n position: relative;\n top: -1px;\n }\n}\n\n// Colors\n// Contextual variations (linked labels get darker on :hover)\n\n.label-default {\n .label-variant(@label-default-bg);\n}\n\n.label-primary {\n .label-variant(@label-primary-bg);\n}\n\n.label-success {\n .label-variant(@label-success-bg);\n}\n\n.label-info {\n .label-variant(@label-info-bg);\n}\n\n.label-warning {\n .label-variant(@label-warning-bg);\n}\n\n.label-danger {\n .label-variant(@label-danger-bg);\n}\n","//\n// Badges\n// --------------------------------------------------\n\n\n// Base classes\n.badge {\n display: inline-block;\n min-width: 10px;\n padding: 3px 7px;\n font-size: @font-size-small;\n font-weight: @badge-font-weight;\n color: @badge-color;\n line-height: @badge-line-height;\n vertical-align: baseline;\n white-space: nowrap;\n text-align: center;\n background-color: @badge-bg;\n border-radius: @badge-border-radius;\n\n // Empty badges collapse automatically (not available in IE8)\n &:empty {\n display: none;\n }\n\n // Quick fix for badges in buttons\n .btn & {\n position: relative;\n top: -1px;\n }\n .btn-xs & {\n top: 0;\n padding: 1px 5px;\n }\n}\n\n// Hover state, but only for links\na.badge {\n &:hover,\n &:focus {\n color: @badge-link-hover-color;\n text-decoration: none;\n cursor: pointer;\n }\n}\n\n// Account for counters in navs\na.list-group-item.active > .badge,\n.nav-pills > .active > a > .badge {\n color: @badge-active-color;\n background-color: @badge-active-bg;\n}\n.nav-pills > li > a > .badge {\n margin-left: 3px;\n}\n","//\n// Jumbotron\n// --------------------------------------------------\n\n\n.jumbotron {\n padding: @jumbotron-padding;\n margin-bottom: @jumbotron-padding;\n color: @jumbotron-color;\n background-color: @jumbotron-bg;\n\n h1,\n .h1 {\n color: @jumbotron-heading-color;\n }\n p {\n margin-bottom: (@jumbotron-padding / 2);\n font-size: @jumbotron-font-size;\n font-weight: 200;\n }\n\n .container & {\n border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container\n }\n\n .container {\n max-width: 100%;\n }\n\n @media screen and (min-width: @screen-sm-min) {\n padding-top: (@jumbotron-padding * 1.6);\n padding-bottom: (@jumbotron-padding * 1.6);\n\n .container & {\n padding-left: (@jumbotron-padding * 2);\n padding-right: (@jumbotron-padding * 2);\n }\n\n h1,\n .h1 {\n font-size: (@font-size-base * 4.5);\n }\n }\n}\n","//\n// Alerts\n// --------------------------------------------------\n\n\n// Base styles\n// -------------------------\n\n.alert {\n padding: @alert-padding;\n margin-bottom: @line-height-computed;\n border: 1px solid transparent;\n border-radius: @alert-border-radius;\n\n // Headings for larger alerts\n h4 {\n margin-top: 0;\n // Specified for the h4 to prevent conflicts of changing @headings-color\n color: inherit;\n }\n // Provide class for links that match alerts\n .alert-link {\n font-weight: @alert-link-font-weight;\n }\n\n // Improve alignment and spacing of inner content\n > p,\n > ul {\n margin-bottom: 0;\n }\n > p + p {\n margin-top: 5px;\n }\n}\n\n// Dismissable alerts\n//\n// Expand the right padding and account for the close button's positioning.\n\n.alert-dismissable {\n padding-right: (@alert-padding + 20);\n\n // Adjust close link position\n .close {\n position: relative;\n top: -2px;\n right: -21px;\n color: inherit;\n }\n}\n\n// Alternate styles\n//\n// Generate contextual modifier classes for colorizing the alert.\n\n.alert-success {\n .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);\n}\n.alert-info {\n .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);\n}\n.alert-warning {\n .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);\n}\n.alert-danger {\n .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);\n}\n","//\n// Progress bars\n// --------------------------------------------------\n\n\n// Bar animations\n// -------------------------\n\n// WebKit\n@-webkit-keyframes progress-bar-stripes {\n from { background-position: 40px 0; }\n to { background-position: 0 0; }\n}\n\n// Spec and IE10+\n@keyframes progress-bar-stripes {\n from { background-position: 40px 0; }\n to { background-position: 0 0; }\n}\n\n\n\n// Bar itself\n// -------------------------\n\n// Outer container\n.progress {\n overflow: hidden;\n height: @line-height-computed;\n margin-bottom: @line-height-computed;\n background-color: @progress-bg;\n border-radius: @border-radius-base;\n .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));\n}\n\n// Bar of progress\n.progress-bar {\n float: left;\n width: 0%;\n height: 100%;\n font-size: @font-size-small;\n line-height: @line-height-computed;\n color: @progress-bar-color;\n text-align: center;\n background-color: @progress-bar-bg;\n .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));\n .transition(width .6s ease);\n}\n\n// Striped bars\n.progress-striped .progress-bar {\n #gradient > .striped();\n background-size: 40px 40px;\n}\n\n// Call animation for the active one\n.progress.active .progress-bar {\n .animation(progress-bar-stripes 2s linear infinite);\n}\n\n\n\n// Variations\n// -------------------------\n\n.progress-bar-success {\n .progress-bar-variant(@progress-bar-success-bg);\n}\n\n.progress-bar-info {\n .progress-bar-variant(@progress-bar-info-bg);\n}\n\n.progress-bar-warning {\n .progress-bar-variant(@progress-bar-warning-bg);\n}\n\n.progress-bar-danger {\n .progress-bar-variant(@progress-bar-danger-bg);\n}\n","// Media objects\n// Source: http://stubbornella.org/content/?p=497\n// --------------------------------------------------\n\n\n// Common styles\n// -------------------------\n\n// Clear the floats\n.media,\n.media-body {\n overflow: hidden;\n zoom: 1;\n}\n\n// Proper spacing between instances of .media\n.media,\n.media .media {\n margin-top: 15px;\n}\n.media:first-child {\n margin-top: 0;\n}\n\n// For images and videos, set to block\n.media-object {\n display: block;\n}\n\n// Reset margins on headings for tighter default spacing\n.media-heading {\n margin: 0 0 5px;\n}\n\n\n// Media image alignment\n// -------------------------\n\n.media {\n > .pull-left {\n margin-right: 10px;\n }\n > .pull-right {\n margin-left: 10px;\n }\n}\n\n\n// Media list variation\n// -------------------------\n\n// Undo default ul/ol styles\n.media-list {\n padding-left: 0;\n list-style: none;\n}\n","//\n// List groups\n// --------------------------------------------------\n\n\n// Base class\n//\n// Easily usable on , , or .\n\n.list-group {\n // No need to set list-style: none; since .list-group-item is block level\n margin-bottom: 20px;\n padding-left: 0; // reset padding because ul and ol\n}\n\n\n// Individual list items\n//\n// Use on `li`s or `div`s within the `.list-group` parent.\n\n.list-group-item {\n position: relative;\n display: block;\n padding: 10px 15px;\n // Place the border on the list items and negative margin up for better styling\n margin-bottom: -1px;\n background-color: @list-group-bg;\n border: 1px solid @list-group-border;\n\n // Round the first and last items\n &:first-child {\n .border-top-radius(@list-group-border-radius);\n }\n &:last-child {\n margin-bottom: 0;\n .border-bottom-radius(@list-group-border-radius);\n }\n\n // Align badges within list items\n > .badge {\n float: right;\n }\n > .badge + .badge {\n margin-right: 5px;\n }\n}\n\n\n// Linked list items\n//\n// Use anchor elements instead of `li`s or `div`s to create linked list items.\n// Includes an extra `.active` modifier class for showing selected items.\n\na.list-group-item {\n color: @list-group-link-color;\n\n .list-group-item-heading {\n color: @list-group-link-heading-color;\n }\n\n // Hover state\n &:hover,\n &:focus {\n text-decoration: none;\n background-color: @list-group-hover-bg;\n }\n\n // Active class on item itself, not parent\n &.active,\n &.active:hover,\n &.active:focus {\n z-index: 2; // Place active items above their siblings for proper border styling\n color: @list-group-active-color;\n background-color: @list-group-active-bg;\n border-color: @list-group-active-border;\n\n // Force color to inherit for custom content\n .list-group-item-heading {\n color: inherit;\n }\n .list-group-item-text {\n color: @list-group-active-text-color;\n }\n }\n}\n\n\n// Contextual variants\n//\n// Add modifier classes to change text and background color on individual items.\n// Organizationally, this must come after the `:hover` states.\n\n.list-group-item-variant(success; @state-success-bg; @state-success-text);\n.list-group-item-variant(info; @state-info-bg; @state-info-text);\n.list-group-item-variant(warning; @state-warning-bg; @state-warning-text);\n.list-group-item-variant(danger; @state-danger-bg; @state-danger-text);\n\n\n// Custom content options\n//\n// Extra classes for creating well-formatted content within `.list-group-item`s.\n\n.list-group-item-heading {\n margin-top: 0;\n margin-bottom: 5px;\n}\n.list-group-item-text {\n margin-bottom: 0;\n line-height: 1.3;\n}\n","//\n// Panels\n// --------------------------------------------------\n\n\n// Base class\n.panel {\n margin-bottom: @line-height-computed;\n background-color: @panel-bg;\n border: 1px solid transparent;\n border-radius: @panel-border-radius;\n .box-shadow(0 1px 1px rgba(0,0,0,.05));\n}\n\n// Panel contents\n.panel-body {\n padding: @panel-body-padding;\n &:extend(.clearfix all);\n}\n\n// Optional heading\n.panel-heading {\n padding: 10px 15px;\n border-bottom: 1px solid transparent;\n .border-top-radius((@panel-border-radius - 1));\n\n > .dropdown .dropdown-toggle {\n color: inherit;\n }\n}\n\n// Within heading, strip any `h*` tag of its default margins for spacing.\n.panel-title {\n margin-top: 0;\n margin-bottom: 0;\n font-size: ceil((@font-size-base * 1.125));\n color: inherit;\n\n > a {\n color: inherit;\n }\n}\n\n// Optional footer (stays gray in every modifier class)\n.panel-footer {\n padding: 10px 15px;\n background-color: @panel-footer-bg;\n border-top: 1px solid @panel-inner-border;\n .border-bottom-radius((@panel-border-radius - 1));\n}\n\n\n// List groups in panels\n//\n// By default, space out list group content from panel headings to account for\n// any kind of custom content between the two.\n\n.panel {\n > .list-group {\n margin-bottom: 0;\n\n .list-group-item {\n border-width: 1px 0;\n border-radius: 0;\n }\n\n // Add border top radius for first one\n &:first-child {\n .list-group-item:first-child {\n border-top: 0;\n .border-top-radius((@panel-border-radius - 1));\n }\n }\n // Add border bottom radius for last one\n &:last-child {\n .list-group-item:last-child {\n border-bottom: 0;\n .border-bottom-radius((@panel-border-radius - 1));\n }\n }\n }\n}\n// Collapse space between when there's no additional content.\n.panel-heading + .list-group {\n .list-group-item:first-child {\n border-top-width: 0;\n }\n}\n\n\n// Tables in panels\n//\n// Place a non-bordered `.table` within a panel (not within a `.panel-body`) and\n// watch it go full width.\n\n.panel {\n > .table,\n > .table-responsive > .table {\n margin-bottom: 0;\n }\n // Add border top radius for first one\n > .table:first-child,\n > .table-responsive:first-child > .table:first-child {\n .border-top-radius((@panel-border-radius - 1));\n\n > thead:first-child,\n > tbody:first-child {\n > tr:first-child {\n td:first-child,\n th:first-child {\n border-top-left-radius: (@panel-border-radius - 1);\n }\n td:last-child,\n th:last-child {\n border-top-right-radius: (@panel-border-radius - 1);\n }\n }\n }\n }\n // Add border bottom radius for last one\n > .table:last-child,\n > .table-responsive:last-child > .table:last-child {\n .border-bottom-radius((@panel-border-radius - 1));\n\n > tbody:last-child,\n > tfoot:last-child {\n > tr:last-child {\n td:first-child,\n th:first-child {\n border-bottom-left-radius: (@panel-border-radius - 1);\n }\n td:last-child,\n th:last-child {\n border-bottom-right-radius: (@panel-border-radius - 1);\n }\n }\n }\n }\n > .panel-body + .table,\n > .panel-body + .table-responsive {\n border-top: 1px solid @table-border-color;\n }\n > .table > tbody:first-child > tr:first-child th,\n > .table > tbody:first-child > tr:first-child td {\n border-top: 0;\n }\n > .table-bordered,\n > .table-responsive > .table-bordered {\n border: 0;\n > thead,\n > tbody,\n > tfoot {\n > tr {\n > th:first-child,\n > td:first-child {\n border-left: 0;\n }\n > th:last-child,\n > td:last-child {\n border-right: 0;\n }\n }\n }\n > thead,\n > tbody {\n > tr:first-child {\n > td,\n > th {\n border-bottom: 0;\n }\n }\n }\n > tbody,\n > tfoot {\n > tr:last-child {\n > td,\n > th {\n border-bottom: 0;\n }\n }\n }\n }\n > .table-responsive {\n border: 0;\n margin-bottom: 0;\n }\n}\n\n\n// Collapsable panels (aka, accordion)\n//\n// Wrap a series of panels in `.panel-group` to turn them into an accordion with\n// the help of our collapse JavaScript plugin.\n\n.panel-group {\n margin-bottom: @line-height-computed;\n\n // Tighten up margin so it's only between panels\n .panel {\n margin-bottom: 0;\n border-radius: @panel-border-radius;\n overflow: hidden; // crop contents when collapsed\n + .panel {\n margin-top: 5px;\n }\n }\n\n .panel-heading {\n border-bottom: 0;\n + .panel-collapse .panel-body {\n border-top: 1px solid @panel-inner-border;\n }\n }\n .panel-footer {\n border-top: 0;\n + .panel-collapse .panel-body {\n border-bottom: 1px solid @panel-inner-border;\n }\n }\n}\n\n\n// Contextual variations\n.panel-default {\n .panel-variant(@panel-default-border; @panel-default-text; @panel-default-heading-bg; @panel-default-border);\n}\n.panel-primary {\n .panel-variant(@panel-primary-border; @panel-primary-text; @panel-primary-heading-bg; @panel-primary-border);\n}\n.panel-success {\n .panel-variant(@panel-success-border; @panel-success-text; @panel-success-heading-bg; @panel-success-border);\n}\n.panel-info {\n .panel-variant(@panel-info-border; @panel-info-text; @panel-info-heading-bg; @panel-info-border);\n}\n.panel-warning {\n .panel-variant(@panel-warning-border; @panel-warning-text; @panel-warning-heading-bg; @panel-warning-border);\n}\n.panel-danger {\n .panel-variant(@panel-danger-border; @panel-danger-text; @panel-danger-heading-bg; @panel-danger-border);\n}\n","//\n// Wells\n// --------------------------------------------------\n\n\n// Base class\n.well {\n min-height: 20px;\n padding: 19px;\n margin-bottom: 20px;\n background-color: @well-bg;\n border: 1px solid @well-border;\n border-radius: @border-radius-base;\n .box-shadow(inset 0 1px 1px rgba(0,0,0,.05));\n blockquote {\n border-color: #ddd;\n border-color: rgba(0,0,0,.15);\n }\n}\n\n// Sizes\n.well-lg {\n padding: 24px;\n border-radius: @border-radius-large;\n}\n.well-sm {\n padding: 9px;\n border-radius: @border-radius-small;\n}\n","//\n// Close icons\n// --------------------------------------------------\n\n\n.close {\n float: right;\n font-size: (@font-size-base * 1.5);\n font-weight: @close-font-weight;\n line-height: 1;\n color: @close-color;\n text-shadow: @close-text-shadow;\n .opacity(.2);\n\n &:hover,\n &:focus {\n color: @close-color;\n text-decoration: none;\n cursor: pointer;\n .opacity(.5);\n }\n\n // Additional properties for button version\n // iOS requires the button element instead of an anchor tag.\n // If you want the anchor version, it requires `href=\"#\"`.\n button& {\n padding: 0;\n cursor: pointer;\n background: transparent;\n border: 0;\n -webkit-appearance: none;\n }\n}\n","//\n// Modals\n// --------------------------------------------------\n\n// .modal-open - body class for killing the scroll\n// .modal - container to scroll within\n// .modal-dialog - positioning shell for the actual modal\n// .modal-content - actual modal w/ bg and corners and shit\n\n// Kill the scroll on the body\n.modal-open {\n overflow: hidden;\n}\n\n// Container that the modal scrolls within\n.modal {\n display: none;\n overflow: auto;\n overflow-y: scroll;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: @zindex-modal;\n -webkit-overflow-scrolling: touch;\n\n // Prevent Chrome on Windows from adding a focus outline. For details, see\n // https://github.com/twbs/bootstrap/pull/10951.\n outline: 0;\n\n // When fading in the modal, animate it to slide down\n &.fade .modal-dialog {\n .translate(0, -25%);\n .transition-transform(~\"0.3s ease-out\");\n }\n &.in .modal-dialog { .translate(0, 0)}\n}\n\n// Shell div to position the modal with bottom padding\n.modal-dialog {\n position: relative;\n width: auto;\n margin: 10px;\n}\n\n// Actual modal\n.modal-content {\n position: relative;\n background-color: @modal-content-bg;\n border: 1px solid @modal-content-fallback-border-color; //old browsers fallback (ie8 etc)\n border: 1px solid @modal-content-border-color;\n border-radius: @border-radius-large;\n .box-shadow(0 3px 9px rgba(0,0,0,.5));\n background-clip: padding-box;\n // Remove focus outline from opened modal\n outline: none;\n}\n\n// Modal background\n.modal-backdrop {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: @zindex-modal-background;\n background-color: @modal-backdrop-bg;\n // Fade for backdrop\n &.fade { .opacity(0); }\n &.in { .opacity(@modal-backdrop-opacity); }\n}\n\n// Modal header\n// Top section of the modal w/ title and dismiss\n.modal-header {\n padding: @modal-title-padding;\n border-bottom: 1px solid @modal-header-border-color;\n min-height: (@modal-title-padding + @modal-title-line-height);\n}\n// Close icon\n.modal-header .close {\n margin-top: -2px;\n}\n\n// Title text within header\n.modal-title {\n margin: 0;\n line-height: @modal-title-line-height;\n}\n\n// Modal body\n// Where all modal content resides (sibling of .modal-header and .modal-footer)\n.modal-body {\n position: relative;\n padding: @modal-inner-padding;\n}\n\n// Footer (for actions)\n.modal-footer {\n margin-top: 15px;\n padding: (@modal-inner-padding - 1) @modal-inner-padding @modal-inner-padding;\n text-align: right; // right align buttons\n border-top: 1px solid @modal-footer-border-color;\n &:extend(.clearfix all); // clear it in case folks use .pull-* classes on buttons\n\n // Properly space out buttons\n .btn + .btn {\n margin-left: 5px;\n margin-bottom: 0; // account for input[type=\"submit\"] which gets the bottom margin like all other inputs\n }\n // but override that for button groups\n .btn-group .btn + .btn {\n margin-left: -1px;\n }\n // and override it for block buttons as well\n .btn-block + .btn-block {\n margin-left: 0;\n }\n}\n\n// Scale up the modal\n@media (min-width: @screen-sm-min) {\n // Automatically set modal's width for larger viewports\n .modal-dialog {\n width: @modal-md;\n margin: 30px auto;\n }\n .modal-content {\n .box-shadow(0 5px 15px rgba(0,0,0,.5));\n }\n\n // Modal sizes\n .modal-sm { width: @modal-sm; }\n}\n\n@media (min-width: @screen-md-min) {\n .modal-lg { width: @modal-lg; }\n}\n","//\n// Tooltips\n// --------------------------------------------------\n\n\n// Base class\n.tooltip {\n position: absolute;\n z-index: @zindex-tooltip;\n display: block;\n visibility: visible;\n font-size: @font-size-small;\n line-height: 1.4;\n .opacity(0);\n\n &.in { .opacity(@tooltip-opacity); }\n &.top { margin-top: -3px; padding: @tooltip-arrow-width 0; }\n &.right { margin-left: 3px; padding: 0 @tooltip-arrow-width; }\n &.bottom { margin-top: 3px; padding: @tooltip-arrow-width 0; }\n &.left { margin-left: -3px; padding: 0 @tooltip-arrow-width; }\n}\n\n// Wrapper for the tooltip content\n.tooltip-inner {\n max-width: @tooltip-max-width;\n padding: 3px 8px;\n color: @tooltip-color;\n text-align: center;\n text-decoration: none;\n background-color: @tooltip-bg;\n border-radius: @border-radius-base;\n}\n\n// Arrows\n.tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n}\n.tooltip {\n &.top .tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -@tooltip-arrow-width;\n border-width: @tooltip-arrow-width @tooltip-arrow-width 0;\n border-top-color: @tooltip-arrow-color;\n }\n &.top-left .tooltip-arrow {\n bottom: 0;\n left: @tooltip-arrow-width;\n border-width: @tooltip-arrow-width @tooltip-arrow-width 0;\n border-top-color: @tooltip-arrow-color;\n }\n &.top-right .tooltip-arrow {\n bottom: 0;\n right: @tooltip-arrow-width;\n border-width: @tooltip-arrow-width @tooltip-arrow-width 0;\n border-top-color: @tooltip-arrow-color;\n }\n &.right .tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -@tooltip-arrow-width;\n border-width: @tooltip-arrow-width @tooltip-arrow-width @tooltip-arrow-width 0;\n border-right-color: @tooltip-arrow-color;\n }\n &.left .tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -@tooltip-arrow-width;\n border-width: @tooltip-arrow-width 0 @tooltip-arrow-width @tooltip-arrow-width;\n border-left-color: @tooltip-arrow-color;\n }\n &.bottom .tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -@tooltip-arrow-width;\n border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;\n border-bottom-color: @tooltip-arrow-color;\n }\n &.bottom-left .tooltip-arrow {\n top: 0;\n left: @tooltip-arrow-width;\n border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;\n border-bottom-color: @tooltip-arrow-color;\n }\n &.bottom-right .tooltip-arrow {\n top: 0;\n right: @tooltip-arrow-width;\n border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;\n border-bottom-color: @tooltip-arrow-color;\n }\n}\n","//\n// Popovers\n// --------------------------------------------------\n\n\n.popover {\n position: absolute;\n top: 0;\n left: 0;\n z-index: @zindex-popover;\n display: none;\n max-width: @popover-max-width;\n padding: 1px;\n text-align: left; // Reset given new insertion method\n background-color: @popover-bg;\n background-clip: padding-box;\n border: 1px solid @popover-fallback-border-color;\n border: 1px solid @popover-border-color;\n border-radius: @border-radius-large;\n .box-shadow(0 5px 10px rgba(0,0,0,.2));\n\n // Overrides for proper insertion\n white-space: normal;\n\n // Offset the popover to account for the popover arrow\n &.top { margin-top: -@popover-arrow-width; }\n &.right { margin-left: @popover-arrow-width; }\n &.bottom { margin-top: @popover-arrow-width; }\n &.left { margin-left: -@popover-arrow-width; }\n}\n\n.popover-title {\n margin: 0; // reset heading margin\n padding: 8px 14px;\n font-size: @font-size-base;\n font-weight: normal;\n line-height: 18px;\n background-color: @popover-title-bg;\n border-bottom: 1px solid darken(@popover-title-bg, 5%);\n border-radius: 5px 5px 0 0;\n}\n\n.popover-content {\n padding: 9px 14px;\n}\n\n// Arrows\n//\n// .arrow is outer, .arrow:after is inner\n\n.popover > .arrow {\n &,\n &:after {\n position: absolute;\n display: block;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n }\n}\n.popover > .arrow {\n border-width: @popover-arrow-outer-width;\n}\n.popover > .arrow:after {\n border-width: @popover-arrow-width;\n content: \"\";\n}\n\n.popover {\n &.top > .arrow {\n left: 50%;\n margin-left: -@popover-arrow-outer-width;\n border-bottom-width: 0;\n border-top-color: @popover-arrow-outer-fallback-color; // IE8 fallback\n border-top-color: @popover-arrow-outer-color;\n bottom: -@popover-arrow-outer-width;\n &:after {\n content: \" \";\n bottom: 1px;\n margin-left: -@popover-arrow-width;\n border-bottom-width: 0;\n border-top-color: @popover-arrow-color;\n }\n }\n &.right > .arrow {\n top: 50%;\n left: -@popover-arrow-outer-width;\n margin-top: -@popover-arrow-outer-width;\n border-left-width: 0;\n border-right-color: @popover-arrow-outer-fallback-color; // IE8 fallback\n border-right-color: @popover-arrow-outer-color;\n &:after {\n content: \" \";\n left: 1px;\n bottom: -@popover-arrow-width;\n border-left-width: 0;\n border-right-color: @popover-arrow-color;\n }\n }\n &.bottom > .arrow {\n left: 50%;\n margin-left: -@popover-arrow-outer-width;\n border-top-width: 0;\n border-bottom-color: @popover-arrow-outer-fallback-color; // IE8 fallback\n border-bottom-color: @popover-arrow-outer-color;\n top: -@popover-arrow-outer-width;\n &:after {\n content: \" \";\n top: 1px;\n margin-left: -@popover-arrow-width;\n border-top-width: 0;\n border-bottom-color: @popover-arrow-color;\n }\n }\n\n &.left > .arrow {\n top: 50%;\n right: -@popover-arrow-outer-width;\n margin-top: -@popover-arrow-outer-width;\n border-right-width: 0;\n border-left-color: @popover-arrow-outer-fallback-color; // IE8 fallback\n border-left-color: @popover-arrow-outer-color;\n &:after {\n content: \" \";\n right: 1px;\n border-right-width: 0;\n border-left-color: @popover-arrow-color;\n bottom: -@popover-arrow-width;\n }\n }\n\n}\n","//\n// Responsive: Utility classes\n// --------------------------------------------------\n\n\n// IE10 in Windows (Phone) 8\n//\n// Support for responsive views via media queries is kind of borked in IE10, for\n// Surface/desktop in split view and for Windows Phone 8. This particular fix\n// must be accompanied by a snippet of JavaScript to sniff the user agent and\n// apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at\n// our Getting Started page for more information on this bug.\n//\n// For more information, see the following:\n//\n// Issue: https://github.com/twbs/bootstrap/issues/10497\n// Docs: http://getbootstrap.com/getting-started/#browsers\n// Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/\n\n@-ms-viewport {\n width: device-width;\n}\n\n\n// Visibility utilities\n.visible-xs,\n.visible-sm,\n.visible-md,\n.visible-lg {\n .responsive-invisibility();\n}\n\n.visible-xs {\n @media (max-width: @screen-xs-max) {\n .responsive-visibility();\n }\n}\n.visible-sm {\n @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\n .responsive-visibility();\n }\n}\n.visible-md {\n @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n .responsive-visibility();\n }\n}\n.visible-lg {\n @media (min-width: @screen-lg-min) {\n .responsive-visibility();\n }\n}\n\n.hidden-xs {\n @media (max-width: @screen-xs-max) {\n .responsive-invisibility();\n }\n}\n.hidden-sm {\n @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {\n .responsive-invisibility();\n }\n}\n.hidden-md {\n @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {\n .responsive-invisibility();\n }\n}\n.hidden-lg {\n @media (min-width: @screen-lg-min) {\n .responsive-invisibility();\n }\n}\n\n\n// Print utilities\n//\n// Media queries are placed on the inside to be mixin-friendly.\n\n.visible-print {\n .responsive-invisibility();\n\n @media print {\n .responsive-visibility();\n }\n}\n\n.hidden-print {\n @media print {\n .responsive-invisibility();\n }\n}\n"]}
\ No newline at end of file
diff --git a/1.2.19/docs/components/bootstrap-3.1.1/css/bootstrap.min.css b/1.2.19/docs/components/bootstrap-3.1.1/css/bootstrap.min.css
new file mode 100644
index 0000000000..679272d258
--- /dev/null
+++ b/1.2.19/docs/components/bootstrap-3.1.1/css/bootstrap.min.css
@@ -0,0 +1,7 @@
+/*!
+ * Bootstrap v3.1.1 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+
+/*! normalize.css v3.0.0 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}@media print{*{text-shadow:none!important;color:#000!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:before,:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive,.thumbnail>img,.thumbnail a>img,.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:400;line-height:1;color:#999}h1,.h1,h2,.h2,h3,.h3{margin-top:20px;margin-bottom:10px}h1 small,.h1 small,h2 small,.h2 small,h3 small,.h3 small,h1 .small,.h1 .small,h2 .small,.h2 .small,h3 .small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:10px;margin-bottom:10px}h4 small,.h4 small,h5 small,.h5 small,h6 small,.h6 small,h4 .small,.h4 .small,h5 .small,.h5 .small,h6 .small,.h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}cite{font-style:normal}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-muted{color:#999}.text-primary{color:#428bca}a.text-primary:hover{color:#3071a9}.text-success{color:#3c763d}a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#428bca}a.bg-primary:hover{background-color:#3071a9}.bg-success{background-color:#dff0d8}a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none;margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.42857143;color:#999}blockquote footer:before,blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0;text-align:right}.blockquote-reverse footer:before,blockquote.pull-right footer:before,.blockquote-reverse small:before,blockquote.pull-right small:before,.blockquote-reverse .small:before,blockquote.pull-right .small:before{content:''}.blockquote-reverse footer:after,blockquote.pull-right footer:after,.blockquote-reverse small:after,blockquote.pull-right small:after,.blockquote-reverse .small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}blockquote:before,blockquote:after{content:""}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;white-space:nowrap;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;color:#333;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.row{margin-left:-15px;margin-right:-15px}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:0}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:0}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*=col-]{position:static;float:none;display:table-column}table td[class*=col-],table th[class*=col-]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>tbody>tr>td.active,.table>tfoot>tr>td.active,.table>thead>tr>th.active,.table>tbody>tr>th.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>tbody>tr.active>td,.table>tfoot>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr.active>th,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>tbody>tr>td.success,.table>tfoot>tr>td.success,.table>thead>tr>th.success,.table>tbody>tr>th.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>tbody>tr.success>td,.table>tfoot>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr.success>th,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>tbody>tr>td.info,.table>tfoot>tr>td.info,.table>thead>tr>th.info,.table>tbody>tr>th.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>tbody>tr.info>td,.table>tfoot>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr.info>th,.table>tfoot>tr.info>th{background-color:#d9edf7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.table>thead>tr>td.warning,.table>tbody>tr>td.warning,.table>tfoot>tr>td.warning,.table>thead>tr>th.warning,.table>tbody>tr>th.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>tbody>tr.warning>td,.table>tfoot>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr.warning>th,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.table>thead>tr>td.danger,.table>tbody>tr>td.danger,.table>tfoot>tr>td.danger,.table>thead>tr>th.danger,.table>tbody>tr>th.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>tbody>tr.danger>td,.table>tfoot>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr.danger>th,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}@media (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=radio],input[type=checkbox]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=radio]:focus,input[type=checkbox]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee;opacity:1}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}input[type=date]{line-height:34px}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:20px;margin-top:10px;margin-bottom:10px;padding-left:20px}.radio label,.checkbox label{display:inline;font-weight:400;cursor:pointer}.radio input[type=radio],.radio-inline input[type=radio],.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type=radio][disabled],input[type=checkbox][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type=radio],fieldset[disabled] input[type=checkbox],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm,select[multiple].input-sm{height:auto}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:46px;line-height:46px}textarea.input-lg,select[multiple].input-lg{height:auto}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.has-feedback .form-control-feedback{position:absolute;top:25px;right:0;display:block;width:34px;height:34px;line-height:34px;text-align:center}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.has-success .form-control-feedback{color:#3c763d}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.has-error .form-control-feedback{color:#a94442}.form-control-static{margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;padding-left:0;vertical-align:middle}.form-inline .radio input[type=radio],.form-inline .checkbox input[type=checkbox]{float:none;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.form-horizontal .form-control-static{padding-top:7px}@media (min-width:768px){.form-horizontal .control-label{text-align:right}}.form-horizontal .has-feedback .form-control-feedback{top:0;right:15px}.btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,.btn:active:focus,.btn.active:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;pointer-events:none;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-primary .badge{color:#428bca;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{color:#428bca;font-weight:400;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg,.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm,.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs,.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%;padding-left:0;padding-right:0}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#262626;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;outline:0;background-color:#428bca}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#999}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media (min-width:768px){.navbar-right .dropdown-menu{left:auto;right:0}.navbar-right .dropdown-menu-left{left:0;right:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-bottom-left-radius:4px;border-top-right-radius:0;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn{width:100%}[data-toggle=buttons]>.btn>input[type=radio],[data-toggle=buttons]>.btn>input[type=checkbox]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn,select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn,select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=radio],.input-group-addon input[type=checkbox]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:hover,.input-group-btn>.btn:focus,.input-group-btn>.btn:active{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{max-height:340px;overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-left:0;padding-right:0}}.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container>.navbar-header,.container-fluid>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px;height:50px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{margin-left:-15px;margin-right:-15px;padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);margin-top:8px;margin-bottom:8px}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;margin-top:0;margin-bottom:0;padding-left:0;vertical-align:middle}.navbar-form .radio input[type=radio],.navbar-form .checkbox input[type=checkbox]{float:none;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media (min-width:768px){.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-left:15px;margin-right:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{background-color:#e7e7e7;color:#555}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{background-color:#080808;color:#fff}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\00a0";padding:0 5px;color:#ccc}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;line-height:1.42857143;text-decoration:none;color:#428bca;background-color:#fff;border:1px solid #ddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{color:#2a6496;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca;cursor:default}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;background-color:#fff;border-color:#ddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:6px;border-top-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pager{padding-left:0;margin:20px 0;list-style:none;text-align:center}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;background-color:#fff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:gray}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;color:#fff;line-height:1;vertical-align:baseline;white-space:nowrap;text-align:center;background-color:#999;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge{top:0;padding:1px 5px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron h1,.jumbotron .h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.container .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-left:60px;padding-right:60px}.jumbotron h1,.jumbotron .h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img,.thumbnail a>img{margin-left:auto;margin-right:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#428bca}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#f5f5f5}a.list-group-item.active,a.list-group-item.active:hover,a.list-group-item.active:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}a.list-group-item.active .list-group-item-heading,a.list-group-item.active:hover .list-group-item-heading,a.list-group-item.active:focus .list-group-item-heading{color:inherit}a.list-group-item.active .list-group-item-text,a.list-group-item.active:hover .list-group-item-text,a.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,a.list-group-item-success:focus{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:hover,a.list-group-item-success.active:focus{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,a.list-group-item-info:focus{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:hover,a.list-group-item-info.active:focus{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,a.list-group-item-warning:focus{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,a.list-group-item-danger:focus{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-right-radius:3px;border-top-left-radius:3px}.panel>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.table:first-child,.panel>.table-responsive:first-child>.table:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px;overflow:hidden}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{display:none;overflow:auto;overflow-y:scroll;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5;min-height:16.42857143px}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:20px}.modal-footer{margin-top:15px;padding:19px 20px 20px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1030;display:block;visibility:visible;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;right:5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);white-space:normal}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:14px;font-weight:400;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,.25);bottom:-11px}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:rgba(0,0,0,.25)}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#fff}.popover.bottom>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);top:-11px}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#fff;bottom:-10px}.carousel{position:relative}.carousel-inner{position:relative;overflow:hidden;width:100%}.carousel-inner>.item{display:none;position:relative;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;left:0;bottom:0;width:15%;opacity:.5;filter:alpha(opacity=50);font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.5) 0),color-stop(rgba(0,0,0,.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1)}.carousel-control.right{left:auto;right:0;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,.0001) 0),color-stop(rgba(0,0,0,.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1)}.carousel-control:hover,.carousel-control:focus{outline:0;color:#fff;text-decoration:none;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;margin-left:-30%;padding-left:0;list-style:none;text-align:center}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;border:1px solid #fff;border-radius:10px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0)}.carousel-indicators .active{margin:0;width:12px;height:12px;background-color:#fff}.carousel-caption{position:absolute;left:15%;right:15%;bottom:20px;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{left:20%;right:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.row:before,.row:after,.form-horizontal .form-group:before,.form-horizontal .form-group:after,.btn-toolbar:before,.btn-toolbar:after,.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after,.nav:before,.nav:after,.navbar:before,.navbar:after,.navbar-header:before,.navbar-header:after,.navbar-collapse:before,.navbar-collapse:after,.pager:before,.pager:after,.panel-body:before,.panel-body:after,.modal-footer:before,.modal-footer:after{content:" ";display:table}.clearfix:after,.container:after,.container-fluid:after,.row:after,.form-horizontal .form-group:after,.btn-toolbar:after,.btn-group-vertical>.btn-group:after,.nav:after,.navbar:after,.navbar-header:after,.navbar-collapse:after,.pager:after,.panel-body:after,.modal-footer:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,.visible-sm,.visible-md,.visible-lg{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}}@media print{.hidden-print{display:none!important}}
\ No newline at end of file
diff --git a/1.2.19/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.eot b/1.2.19/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.eot
new file mode 100644
index 0000000000..4a4ca865d6
Binary files /dev/null and b/1.2.19/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.eot differ
diff --git a/1.2.19/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.svg b/1.2.19/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.svg
new file mode 100644
index 0000000000..e3e2dc739d
--- /dev/null
+++ b/1.2.19/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.svg
@@ -0,0 +1,229 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.ttf b/1.2.19/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.ttf
new file mode 100644
index 0000000000..67fa00bf83
Binary files /dev/null and b/1.2.19/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.ttf differ
diff --git a/1.2.19/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.woff b/1.2.19/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.woff
new file mode 100644
index 0000000000..8c54182aa5
Binary files /dev/null and b/1.2.19/docs/components/bootstrap-3.1.1/fonts/glyphicons-halflings-regular.woff differ
diff --git a/1.2.19/docs/components/bootstrap-3.1.1/js/bootstrap.js b/1.2.19/docs/components/bootstrap-3.1.1/js/bootstrap.js
new file mode 100644
index 0000000000..8ae571b6da
--- /dev/null
+++ b/1.2.19/docs/components/bootstrap-3.1.1/js/bootstrap.js
@@ -0,0 +1,1951 @@
+/*!
+ * Bootstrap v3.1.1 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+
+if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') }
+
+/* ========================================================================
+ * Bootstrap: transition.js v3.1.1
+ * http://getbootstrap.com/javascript/#transitions
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
+ // ============================================================
+
+ function transitionEnd() {
+ var el = document.createElement('bootstrap')
+
+ var transEndEventNames = {
+ 'WebkitTransition' : 'webkitTransitionEnd',
+ 'MozTransition' : 'transitionend',
+ 'OTransition' : 'oTransitionEnd otransitionend',
+ 'transition' : 'transitionend'
+ }
+
+ for (var name in transEndEventNames) {
+ if (el.style[name] !== undefined) {
+ return { end: transEndEventNames[name] }
+ }
+ }
+
+ return false // explicit for ie8 ( ._.)
+ }
+
+ // http://blog.alexmaccaw.com/css-transitions
+ $.fn.emulateTransitionEnd = function (duration) {
+ var called = false, $el = this
+ $(this).one($.support.transition.end, function () { called = true })
+ var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
+ setTimeout(callback, duration)
+ return this
+ }
+
+ $(function () {
+ $.support.transition = transitionEnd()
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: alert.js v3.1.1
+ * http://getbootstrap.com/javascript/#alerts
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // ALERT CLASS DEFINITION
+ // ======================
+
+ var dismiss = '[data-dismiss="alert"]'
+ var Alert = function (el) {
+ $(el).on('click', dismiss, this.close)
+ }
+
+ Alert.prototype.close = function (e) {
+ var $this = $(this)
+ var selector = $this.attr('data-target')
+
+ if (!selector) {
+ selector = $this.attr('href')
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
+ }
+
+ var $parent = $(selector)
+
+ if (e) e.preventDefault()
+
+ if (!$parent.length) {
+ $parent = $this.hasClass('alert') ? $this : $this.parent()
+ }
+
+ $parent.trigger(e = $.Event('close.bs.alert'))
+
+ if (e.isDefaultPrevented()) return
+
+ $parent.removeClass('in')
+
+ function removeElement() {
+ $parent.trigger('closed.bs.alert').remove()
+ }
+
+ $.support.transition && $parent.hasClass('fade') ?
+ $parent
+ .one($.support.transition.end, removeElement)
+ .emulateTransitionEnd(150) :
+ removeElement()
+ }
+
+
+ // ALERT PLUGIN DEFINITION
+ // =======================
+
+ var old = $.fn.alert
+
+ $.fn.alert = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.alert')
+
+ if (!data) $this.data('bs.alert', (data = new Alert(this)))
+ if (typeof option == 'string') data[option].call($this)
+ })
+ }
+
+ $.fn.alert.Constructor = Alert
+
+
+ // ALERT NO CONFLICT
+ // =================
+
+ $.fn.alert.noConflict = function () {
+ $.fn.alert = old
+ return this
+ }
+
+
+ // ALERT DATA-API
+ // ==============
+
+ $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: button.js v3.1.1
+ * http://getbootstrap.com/javascript/#buttons
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // BUTTON PUBLIC CLASS DEFINITION
+ // ==============================
+
+ var Button = function (element, options) {
+ this.$element = $(element)
+ this.options = $.extend({}, Button.DEFAULTS, options)
+ this.isLoading = false
+ }
+
+ Button.DEFAULTS = {
+ loadingText: 'loading...'
+ }
+
+ Button.prototype.setState = function (state) {
+ var d = 'disabled'
+ var $el = this.$element
+ var val = $el.is('input') ? 'val' : 'html'
+ var data = $el.data()
+
+ state = state + 'Text'
+
+ if (!data.resetText) $el.data('resetText', $el[val]())
+
+ $el[val](data[state] || this.options[state])
+
+ // push to event loop to allow forms to submit
+ setTimeout($.proxy(function () {
+ if (state == 'loadingText') {
+ this.isLoading = true
+ $el.addClass(d).attr(d, d)
+ } else if (this.isLoading) {
+ this.isLoading = false
+ $el.removeClass(d).removeAttr(d)
+ }
+ }, this), 0)
+ }
+
+ Button.prototype.toggle = function () {
+ var changed = true
+ var $parent = this.$element.closest('[data-toggle="buttons"]')
+
+ if ($parent.length) {
+ var $input = this.$element.find('input')
+ if ($input.prop('type') == 'radio') {
+ if ($input.prop('checked') && this.$element.hasClass('active')) changed = false
+ else $parent.find('.active').removeClass('active')
+ }
+ if (changed) $input.prop('checked', !this.$element.hasClass('active')).trigger('change')
+ }
+
+ if (changed) this.$element.toggleClass('active')
+ }
+
+
+ // BUTTON PLUGIN DEFINITION
+ // ========================
+
+ var old = $.fn.button
+
+ $.fn.button = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.button')
+ var options = typeof option == 'object' && option
+
+ if (!data) $this.data('bs.button', (data = new Button(this, options)))
+
+ if (option == 'toggle') data.toggle()
+ else if (option) data.setState(option)
+ })
+ }
+
+ $.fn.button.Constructor = Button
+
+
+ // BUTTON NO CONFLICT
+ // ==================
+
+ $.fn.button.noConflict = function () {
+ $.fn.button = old
+ return this
+ }
+
+
+ // BUTTON DATA-API
+ // ===============
+
+ $(document).on('click.bs.button.data-api', '[data-toggle^=button]', function (e) {
+ var $btn = $(e.target)
+ if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
+ $btn.button('toggle')
+ e.preventDefault()
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: carousel.js v3.1.1
+ * http://getbootstrap.com/javascript/#carousel
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // CAROUSEL CLASS DEFINITION
+ // =========================
+
+ var Carousel = function (element, options) {
+ this.$element = $(element)
+ this.$indicators = this.$element.find('.carousel-indicators')
+ this.options = options
+ this.paused =
+ this.sliding =
+ this.interval =
+ this.$active =
+ this.$items = null
+
+ this.options.pause == 'hover' && this.$element
+ .on('mouseenter', $.proxy(this.pause, this))
+ .on('mouseleave', $.proxy(this.cycle, this))
+ }
+
+ Carousel.DEFAULTS = {
+ interval: 5000,
+ pause: 'hover',
+ wrap: true
+ }
+
+ Carousel.prototype.cycle = function (e) {
+ e || (this.paused = false)
+
+ this.interval && clearInterval(this.interval)
+
+ this.options.interval
+ && !this.paused
+ && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
+
+ return this
+ }
+
+ Carousel.prototype.getActiveIndex = function () {
+ this.$active = this.$element.find('.item.active')
+ this.$items = this.$active.parent().children()
+
+ return this.$items.index(this.$active)
+ }
+
+ Carousel.prototype.to = function (pos) {
+ var that = this
+ var activeIndex = this.getActiveIndex()
+
+ if (pos > (this.$items.length - 1) || pos < 0) return
+
+ if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) })
+ if (activeIndex == pos) return this.pause().cycle()
+
+ return this.slide(pos > activeIndex ? 'next' : 'prev', $(this.$items[pos]))
+ }
+
+ Carousel.prototype.pause = function (e) {
+ e || (this.paused = true)
+
+ if (this.$element.find('.next, .prev').length && $.support.transition) {
+ this.$element.trigger($.support.transition.end)
+ this.cycle(true)
+ }
+
+ this.interval = clearInterval(this.interval)
+
+ return this
+ }
+
+ Carousel.prototype.next = function () {
+ if (this.sliding) return
+ return this.slide('next')
+ }
+
+ Carousel.prototype.prev = function () {
+ if (this.sliding) return
+ return this.slide('prev')
+ }
+
+ Carousel.prototype.slide = function (type, next) {
+ var $active = this.$element.find('.item.active')
+ var $next = next || $active[type]()
+ var isCycling = this.interval
+ var direction = type == 'next' ? 'left' : 'right'
+ var fallback = type == 'next' ? 'first' : 'last'
+ var that = this
+
+ if (!$next.length) {
+ if (!this.options.wrap) return
+ $next = this.$element.find('.item')[fallback]()
+ }
+
+ if ($next.hasClass('active')) return this.sliding = false
+
+ var e = $.Event('slide.bs.carousel', { relatedTarget: $next[0], direction: direction })
+ this.$element.trigger(e)
+ if (e.isDefaultPrevented()) return
+
+ this.sliding = true
+
+ isCycling && this.pause()
+
+ if (this.$indicators.length) {
+ this.$indicators.find('.active').removeClass('active')
+ this.$element.one('slid.bs.carousel', function () {
+ var $nextIndicator = $(that.$indicators.children()[that.getActiveIndex()])
+ $nextIndicator && $nextIndicator.addClass('active')
+ })
+ }
+
+ if ($.support.transition && this.$element.hasClass('slide')) {
+ $next.addClass(type)
+ $next[0].offsetWidth // force reflow
+ $active.addClass(direction)
+ $next.addClass(direction)
+ $active
+ .one($.support.transition.end, function () {
+ $next.removeClass([type, direction].join(' ')).addClass('active')
+ $active.removeClass(['active', direction].join(' '))
+ that.sliding = false
+ setTimeout(function () { that.$element.trigger('slid.bs.carousel') }, 0)
+ })
+ .emulateTransitionEnd($active.css('transition-duration').slice(0, -1) * 1000)
+ } else {
+ $active.removeClass('active')
+ $next.addClass('active')
+ this.sliding = false
+ this.$element.trigger('slid.bs.carousel')
+ }
+
+ isCycling && this.cycle()
+
+ return this
+ }
+
+
+ // CAROUSEL PLUGIN DEFINITION
+ // ==========================
+
+ var old = $.fn.carousel
+
+ $.fn.carousel = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.carousel')
+ var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
+ var action = typeof option == 'string' ? option : options.slide
+
+ if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
+ if (typeof option == 'number') data.to(option)
+ else if (action) data[action]()
+ else if (options.interval) data.pause().cycle()
+ })
+ }
+
+ $.fn.carousel.Constructor = Carousel
+
+
+ // CAROUSEL NO CONFLICT
+ // ====================
+
+ $.fn.carousel.noConflict = function () {
+ $.fn.carousel = old
+ return this
+ }
+
+
+ // CAROUSEL DATA-API
+ // =================
+
+ $(document).on('click.bs.carousel.data-api', '[data-slide], [data-slide-to]', function (e) {
+ var $this = $(this), href
+ var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
+ var options = $.extend({}, $target.data(), $this.data())
+ var slideIndex = $this.attr('data-slide-to')
+ if (slideIndex) options.interval = false
+
+ $target.carousel(options)
+
+ if (slideIndex = $this.attr('data-slide-to')) {
+ $target.data('bs.carousel').to(slideIndex)
+ }
+
+ e.preventDefault()
+ })
+
+ $(window).on('load', function () {
+ $('[data-ride="carousel"]').each(function () {
+ var $carousel = $(this)
+ $carousel.carousel($carousel.data())
+ })
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: collapse.js v3.1.1
+ * http://getbootstrap.com/javascript/#collapse
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // COLLAPSE PUBLIC CLASS DEFINITION
+ // ================================
+
+ var Collapse = function (element, options) {
+ this.$element = $(element)
+ this.options = $.extend({}, Collapse.DEFAULTS, options)
+ this.transitioning = null
+
+ if (this.options.parent) this.$parent = $(this.options.parent)
+ if (this.options.toggle) this.toggle()
+ }
+
+ Collapse.DEFAULTS = {
+ toggle: true
+ }
+
+ Collapse.prototype.dimension = function () {
+ var hasWidth = this.$element.hasClass('width')
+ return hasWidth ? 'width' : 'height'
+ }
+
+ Collapse.prototype.show = function () {
+ if (this.transitioning || this.$element.hasClass('in')) return
+
+ var startEvent = $.Event('show.bs.collapse')
+ this.$element.trigger(startEvent)
+ if (startEvent.isDefaultPrevented()) return
+
+ var actives = this.$parent && this.$parent.find('> .panel > .in')
+
+ if (actives && actives.length) {
+ var hasData = actives.data('bs.collapse')
+ if (hasData && hasData.transitioning) return
+ actives.collapse('hide')
+ hasData || actives.data('bs.collapse', null)
+ }
+
+ var dimension = this.dimension()
+
+ this.$element
+ .removeClass('collapse')
+ .addClass('collapsing')
+ [dimension](0)
+
+ this.transitioning = 1
+
+ var complete = function () {
+ this.$element
+ .removeClass('collapsing')
+ .addClass('collapse in')
+ [dimension]('auto')
+ this.transitioning = 0
+ this.$element.trigger('shown.bs.collapse')
+ }
+
+ if (!$.support.transition) return complete.call(this)
+
+ var scrollSize = $.camelCase(['scroll', dimension].join('-'))
+
+ this.$element
+ .one($.support.transition.end, $.proxy(complete, this))
+ .emulateTransitionEnd(350)
+ [dimension](this.$element[0][scrollSize])
+ }
+
+ Collapse.prototype.hide = function () {
+ if (this.transitioning || !this.$element.hasClass('in')) return
+
+ var startEvent = $.Event('hide.bs.collapse')
+ this.$element.trigger(startEvent)
+ if (startEvent.isDefaultPrevented()) return
+
+ var dimension = this.dimension()
+
+ this.$element
+ [dimension](this.$element[dimension]())
+ [0].offsetHeight
+
+ this.$element
+ .addClass('collapsing')
+ .removeClass('collapse')
+ .removeClass('in')
+
+ this.transitioning = 1
+
+ var complete = function () {
+ this.transitioning = 0
+ this.$element
+ .trigger('hidden.bs.collapse')
+ .removeClass('collapsing')
+ .addClass('collapse')
+ }
+
+ if (!$.support.transition) return complete.call(this)
+
+ this.$element
+ [dimension](0)
+ .one($.support.transition.end, $.proxy(complete, this))
+ .emulateTransitionEnd(350)
+ }
+
+ Collapse.prototype.toggle = function () {
+ this[this.$element.hasClass('in') ? 'hide' : 'show']()
+ }
+
+
+ // COLLAPSE PLUGIN DEFINITION
+ // ==========================
+
+ var old = $.fn.collapse
+
+ $.fn.collapse = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.collapse')
+ var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
+
+ if (!data && options.toggle && option == 'show') option = !option
+ if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.collapse.Constructor = Collapse
+
+
+ // COLLAPSE NO CONFLICT
+ // ====================
+
+ $.fn.collapse.noConflict = function () {
+ $.fn.collapse = old
+ return this
+ }
+
+
+ // COLLAPSE DATA-API
+ // =================
+
+ $(document).on('click.bs.collapse.data-api', '[data-toggle=collapse]', function (e) {
+ var $this = $(this), href
+ var target = $this.attr('data-target')
+ || e.preventDefault()
+ || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') //strip for ie7
+ var $target = $(target)
+ var data = $target.data('bs.collapse')
+ var option = data ? 'toggle' : $this.data()
+ var parent = $this.attr('data-parent')
+ var $parent = parent && $(parent)
+
+ if (!data || !data.transitioning) {
+ if ($parent) $parent.find('[data-toggle=collapse][data-parent="' + parent + '"]').not($this).addClass('collapsed')
+ $this[$target.hasClass('in') ? 'addClass' : 'removeClass']('collapsed')
+ }
+
+ $target.collapse(option)
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: dropdown.js v3.1.1
+ * http://getbootstrap.com/javascript/#dropdowns
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // DROPDOWN CLASS DEFINITION
+ // =========================
+
+ var backdrop = '.dropdown-backdrop'
+ var toggle = '[data-toggle=dropdown]'
+ var Dropdown = function (element) {
+ $(element).on('click.bs.dropdown', this.toggle)
+ }
+
+ Dropdown.prototype.toggle = function (e) {
+ var $this = $(this)
+
+ if ($this.is('.disabled, :disabled')) return
+
+ var $parent = getParent($this)
+ var isActive = $parent.hasClass('open')
+
+ clearMenus()
+
+ if (!isActive) {
+ if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
+ // if mobile we use a backdrop because click events don't delegate
+ $('
').insertAfter($(this)).on('click', clearMenus)
+ }
+
+ var relatedTarget = { relatedTarget: this }
+ $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))
+
+ if (e.isDefaultPrevented()) return
+
+ $parent
+ .toggleClass('open')
+ .trigger('shown.bs.dropdown', relatedTarget)
+
+ $this.focus()
+ }
+
+ return false
+ }
+
+ Dropdown.prototype.keydown = function (e) {
+ if (!/(38|40|27)/.test(e.keyCode)) return
+
+ var $this = $(this)
+
+ e.preventDefault()
+ e.stopPropagation()
+
+ if ($this.is('.disabled, :disabled')) return
+
+ var $parent = getParent($this)
+ var isActive = $parent.hasClass('open')
+
+ if (!isActive || (isActive && e.keyCode == 27)) {
+ if (e.which == 27) $parent.find(toggle).focus()
+ return $this.click()
+ }
+
+ var desc = ' li:not(.divider):visible a'
+ var $items = $parent.find('[role=menu]' + desc + ', [role=listbox]' + desc)
+
+ if (!$items.length) return
+
+ var index = $items.index($items.filter(':focus'))
+
+ if (e.keyCode == 38 && index > 0) index-- // up
+ if (e.keyCode == 40 && index < $items.length - 1) index++ // down
+ if (!~index) index = 0
+
+ $items.eq(index).focus()
+ }
+
+ function clearMenus(e) {
+ $(backdrop).remove()
+ $(toggle).each(function () {
+ var $parent = getParent($(this))
+ var relatedTarget = { relatedTarget: this }
+ if (!$parent.hasClass('open')) return
+ $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))
+ if (e.isDefaultPrevented()) return
+ $parent.removeClass('open').trigger('hidden.bs.dropdown', relatedTarget)
+ })
+ }
+
+ function getParent($this) {
+ var selector = $this.attr('data-target')
+
+ if (!selector) {
+ selector = $this.attr('href')
+ selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
+ }
+
+ var $parent = selector && $(selector)
+
+ return $parent && $parent.length ? $parent : $this.parent()
+ }
+
+
+ // DROPDOWN PLUGIN DEFINITION
+ // ==========================
+
+ var old = $.fn.dropdown
+
+ $.fn.dropdown = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.dropdown')
+
+ if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
+ if (typeof option == 'string') data[option].call($this)
+ })
+ }
+
+ $.fn.dropdown.Constructor = Dropdown
+
+
+ // DROPDOWN NO CONFLICT
+ // ====================
+
+ $.fn.dropdown.noConflict = function () {
+ $.fn.dropdown = old
+ return this
+ }
+
+
+ // APPLY TO STANDARD DROPDOWN ELEMENTS
+ // ===================================
+
+ $(document)
+ .on('click.bs.dropdown.data-api', clearMenus)
+ .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
+ .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
+ .on('keydown.bs.dropdown.data-api', toggle + ', [role=menu], [role=listbox]', Dropdown.prototype.keydown)
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: modal.js v3.1.1
+ * http://getbootstrap.com/javascript/#modals
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // MODAL CLASS DEFINITION
+ // ======================
+
+ var Modal = function (element, options) {
+ this.options = options
+ this.$element = $(element)
+ this.$backdrop =
+ this.isShown = null
+
+ if (this.options.remote) {
+ this.$element
+ .find('.modal-content')
+ .load(this.options.remote, $.proxy(function () {
+ this.$element.trigger('loaded.bs.modal')
+ }, this))
+ }
+ }
+
+ Modal.DEFAULTS = {
+ backdrop: true,
+ keyboard: true,
+ show: true
+ }
+
+ Modal.prototype.toggle = function (_relatedTarget) {
+ return this[!this.isShown ? 'show' : 'hide'](_relatedTarget)
+ }
+
+ Modal.prototype.show = function (_relatedTarget) {
+ var that = this
+ var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
+
+ this.$element.trigger(e)
+
+ if (this.isShown || e.isDefaultPrevented()) return
+
+ this.isShown = true
+
+ this.escape()
+
+ this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
+
+ this.backdrop(function () {
+ var transition = $.support.transition && that.$element.hasClass('fade')
+
+ if (!that.$element.parent().length) {
+ that.$element.appendTo(document.body) // don't move modals dom position
+ }
+
+ that.$element
+ .show()
+ .scrollTop(0)
+
+ if (transition) {
+ that.$element[0].offsetWidth // force reflow
+ }
+
+ that.$element
+ .addClass('in')
+ .attr('aria-hidden', false)
+
+ that.enforceFocus()
+
+ var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
+
+ transition ?
+ that.$element.find('.modal-dialog') // wait for modal to slide in
+ .one($.support.transition.end, function () {
+ that.$element.focus().trigger(e)
+ })
+ .emulateTransitionEnd(300) :
+ that.$element.focus().trigger(e)
+ })
+ }
+
+ Modal.prototype.hide = function (e) {
+ if (e) e.preventDefault()
+
+ e = $.Event('hide.bs.modal')
+
+ this.$element.trigger(e)
+
+ if (!this.isShown || e.isDefaultPrevented()) return
+
+ this.isShown = false
+
+ this.escape()
+
+ $(document).off('focusin.bs.modal')
+
+ this.$element
+ .removeClass('in')
+ .attr('aria-hidden', true)
+ .off('click.dismiss.bs.modal')
+
+ $.support.transition && this.$element.hasClass('fade') ?
+ this.$element
+ .one($.support.transition.end, $.proxy(this.hideModal, this))
+ .emulateTransitionEnd(300) :
+ this.hideModal()
+ }
+
+ Modal.prototype.enforceFocus = function () {
+ $(document)
+ .off('focusin.bs.modal') // guard against infinite focus loop
+ .on('focusin.bs.modal', $.proxy(function (e) {
+ if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
+ this.$element.focus()
+ }
+ }, this))
+ }
+
+ Modal.prototype.escape = function () {
+ if (this.isShown && this.options.keyboard) {
+ this.$element.on('keyup.dismiss.bs.modal', $.proxy(function (e) {
+ e.which == 27 && this.hide()
+ }, this))
+ } else if (!this.isShown) {
+ this.$element.off('keyup.dismiss.bs.modal')
+ }
+ }
+
+ Modal.prototype.hideModal = function () {
+ var that = this
+ this.$element.hide()
+ this.backdrop(function () {
+ that.removeBackdrop()
+ that.$element.trigger('hidden.bs.modal')
+ })
+ }
+
+ Modal.prototype.removeBackdrop = function () {
+ this.$backdrop && this.$backdrop.remove()
+ this.$backdrop = null
+ }
+
+ Modal.prototype.backdrop = function (callback) {
+ var animate = this.$element.hasClass('fade') ? 'fade' : ''
+
+ if (this.isShown && this.options.backdrop) {
+ var doAnimate = $.support.transition && animate
+
+ this.$backdrop = $('
')
+ .appendTo(document.body)
+
+ this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {
+ if (e.target !== e.currentTarget) return
+ this.options.backdrop == 'static'
+ ? this.$element[0].focus.call(this.$element[0])
+ : this.hide.call(this)
+ }, this))
+
+ if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
+
+ this.$backdrop.addClass('in')
+
+ if (!callback) return
+
+ doAnimate ?
+ this.$backdrop
+ .one($.support.transition.end, callback)
+ .emulateTransitionEnd(150) :
+ callback()
+
+ } else if (!this.isShown && this.$backdrop) {
+ this.$backdrop.removeClass('in')
+
+ $.support.transition && this.$element.hasClass('fade') ?
+ this.$backdrop
+ .one($.support.transition.end, callback)
+ .emulateTransitionEnd(150) :
+ callback()
+
+ } else if (callback) {
+ callback()
+ }
+ }
+
+
+ // MODAL PLUGIN DEFINITION
+ // =======================
+
+ var old = $.fn.modal
+
+ $.fn.modal = function (option, _relatedTarget) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.modal')
+ var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
+
+ if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
+ if (typeof option == 'string') data[option](_relatedTarget)
+ else if (options.show) data.show(_relatedTarget)
+ })
+ }
+
+ $.fn.modal.Constructor = Modal
+
+
+ // MODAL NO CONFLICT
+ // =================
+
+ $.fn.modal.noConflict = function () {
+ $.fn.modal = old
+ return this
+ }
+
+
+ // MODAL DATA-API
+ // ==============
+
+ $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
+ var $this = $(this)
+ var href = $this.attr('href')
+ var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) //strip for ie7
+ var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
+
+ if ($this.is('a')) e.preventDefault()
+
+ $target
+ .modal(option, this)
+ .one('hide', function () {
+ $this.is(':visible') && $this.focus()
+ })
+ })
+
+ $(document)
+ .on('show.bs.modal', '.modal', function () { $(document.body).addClass('modal-open') })
+ .on('hidden.bs.modal', '.modal', function () { $(document.body).removeClass('modal-open') })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: tooltip.js v3.1.1
+ * http://getbootstrap.com/javascript/#tooltip
+ * Inspired by the original jQuery.tipsy by Jason Frame
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // TOOLTIP PUBLIC CLASS DEFINITION
+ // ===============================
+
+ var Tooltip = function (element, options) {
+ this.type =
+ this.options =
+ this.enabled =
+ this.timeout =
+ this.hoverState =
+ this.$element = null
+
+ this.init('tooltip', element, options)
+ }
+
+ Tooltip.DEFAULTS = {
+ animation: true,
+ placement: 'top',
+ selector: false,
+ template: '
',
+ trigger: 'hover focus',
+ title: '',
+ delay: 0,
+ html: false,
+ container: false
+ }
+
+ Tooltip.prototype.init = function (type, element, options) {
+ this.enabled = true
+ this.type = type
+ this.$element = $(element)
+ this.options = this.getOptions(options)
+
+ var triggers = this.options.trigger.split(' ')
+
+ for (var i = triggers.length; i--;) {
+ var trigger = triggers[i]
+
+ if (trigger == 'click') {
+ this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
+ } else if (trigger != 'manual') {
+ var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'
+ var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
+
+ this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
+ this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
+ }
+ }
+
+ this.options.selector ?
+ (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
+ this.fixTitle()
+ }
+
+ Tooltip.prototype.getDefaults = function () {
+ return Tooltip.DEFAULTS
+ }
+
+ Tooltip.prototype.getOptions = function (options) {
+ options = $.extend({}, this.getDefaults(), this.$element.data(), options)
+
+ if (options.delay && typeof options.delay == 'number') {
+ options.delay = {
+ show: options.delay,
+ hide: options.delay
+ }
+ }
+
+ return options
+ }
+
+ Tooltip.prototype.getDelegateOptions = function () {
+ var options = {}
+ var defaults = this.getDefaults()
+
+ this._options && $.each(this._options, function (key, value) {
+ if (defaults[key] != value) options[key] = value
+ })
+
+ return options
+ }
+
+ Tooltip.prototype.enter = function (obj) {
+ var self = obj instanceof this.constructor ?
+ obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
+
+ clearTimeout(self.timeout)
+
+ self.hoverState = 'in'
+
+ if (!self.options.delay || !self.options.delay.show) return self.show()
+
+ self.timeout = setTimeout(function () {
+ if (self.hoverState == 'in') self.show()
+ }, self.options.delay.show)
+ }
+
+ Tooltip.prototype.leave = function (obj) {
+ var self = obj instanceof this.constructor ?
+ obj : $(obj.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type)
+
+ clearTimeout(self.timeout)
+
+ self.hoverState = 'out'
+
+ if (!self.options.delay || !self.options.delay.hide) return self.hide()
+
+ self.timeout = setTimeout(function () {
+ if (self.hoverState == 'out') self.hide()
+ }, self.options.delay.hide)
+ }
+
+ Tooltip.prototype.show = function () {
+ var e = $.Event('show.bs.' + this.type)
+
+ if (this.hasContent() && this.enabled) {
+ this.$element.trigger(e)
+
+ if (e.isDefaultPrevented()) return
+ var that = this;
+
+ var $tip = this.tip()
+
+ this.setContent()
+
+ if (this.options.animation) $tip.addClass('fade')
+
+ var placement = typeof this.options.placement == 'function' ?
+ this.options.placement.call(this, $tip[0], this.$element[0]) :
+ this.options.placement
+
+ var autoToken = /\s?auto?\s?/i
+ var autoPlace = autoToken.test(placement)
+ if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
+
+ $tip
+ .detach()
+ .css({ top: 0, left: 0, display: 'block' })
+ .addClass(placement)
+
+ this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
+
+ var pos = this.getPosition()
+ var actualWidth = $tip[0].offsetWidth
+ var actualHeight = $tip[0].offsetHeight
+
+ if (autoPlace) {
+ var $parent = this.$element.parent()
+
+ var orgPlacement = placement
+ var docScroll = document.documentElement.scrollTop || document.body.scrollTop
+ var parentWidth = this.options.container == 'body' ? window.innerWidth : $parent.outerWidth()
+ var parentHeight = this.options.container == 'body' ? window.innerHeight : $parent.outerHeight()
+ var parentLeft = this.options.container == 'body' ? 0 : $parent.offset().left
+
+ placement = placement == 'bottom' && pos.top + pos.height + actualHeight - docScroll > parentHeight ? 'top' :
+ placement == 'top' && pos.top - docScroll - actualHeight < 0 ? 'bottom' :
+ placement == 'right' && pos.right + actualWidth > parentWidth ? 'left' :
+ placement == 'left' && pos.left - actualWidth < parentLeft ? 'right' :
+ placement
+
+ $tip
+ .removeClass(orgPlacement)
+ .addClass(placement)
+ }
+
+ var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
+
+ this.applyPlacement(calculatedOffset, placement)
+ this.hoverState = null
+
+ var complete = function() {
+ that.$element.trigger('shown.bs.' + that.type)
+ }
+
+ $.support.transition && this.$tip.hasClass('fade') ?
+ $tip
+ .one($.support.transition.end, complete)
+ .emulateTransitionEnd(150) :
+ complete()
+ }
+ }
+
+ Tooltip.prototype.applyPlacement = function (offset, placement) {
+ var replace
+ var $tip = this.tip()
+ var width = $tip[0].offsetWidth
+ var height = $tip[0].offsetHeight
+
+ // manually read margins because getBoundingClientRect includes difference
+ var marginTop = parseInt($tip.css('margin-top'), 10)
+ var marginLeft = parseInt($tip.css('margin-left'), 10)
+
+ // we must check for NaN for ie 8/9
+ if (isNaN(marginTop)) marginTop = 0
+ if (isNaN(marginLeft)) marginLeft = 0
+
+ offset.top = offset.top + marginTop
+ offset.left = offset.left + marginLeft
+
+ // $.fn.offset doesn't round pixel values
+ // so we use setOffset directly with our own function B-0
+ $.offset.setOffset($tip[0], $.extend({
+ using: function (props) {
+ $tip.css({
+ top: Math.round(props.top),
+ left: Math.round(props.left)
+ })
+ }
+ }, offset), 0)
+
+ $tip.addClass('in')
+
+ // check to see if placing tip in new offset caused the tip to resize itself
+ var actualWidth = $tip[0].offsetWidth
+ var actualHeight = $tip[0].offsetHeight
+
+ if (placement == 'top' && actualHeight != height) {
+ replace = true
+ offset.top = offset.top + height - actualHeight
+ }
+
+ if (/bottom|top/.test(placement)) {
+ var delta = 0
+
+ if (offset.left < 0) {
+ delta = offset.left * -2
+ offset.left = 0
+
+ $tip.offset(offset)
+
+ actualWidth = $tip[0].offsetWidth
+ actualHeight = $tip[0].offsetHeight
+ }
+
+ this.replaceArrow(delta - width + actualWidth, actualWidth, 'left')
+ } else {
+ this.replaceArrow(actualHeight - height, actualHeight, 'top')
+ }
+
+ if (replace) $tip.offset(offset)
+ }
+
+ Tooltip.prototype.replaceArrow = function (delta, dimension, position) {
+ this.arrow().css(position, delta ? (50 * (1 - delta / dimension) + '%') : '')
+ }
+
+ Tooltip.prototype.setContent = function () {
+ var $tip = this.tip()
+ var title = this.getTitle()
+
+ $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
+ $tip.removeClass('fade in top bottom left right')
+ }
+
+ Tooltip.prototype.hide = function () {
+ var that = this
+ var $tip = this.tip()
+ var e = $.Event('hide.bs.' + this.type)
+
+ function complete() {
+ if (that.hoverState != 'in') $tip.detach()
+ that.$element.trigger('hidden.bs.' + that.type)
+ }
+
+ this.$element.trigger(e)
+
+ if (e.isDefaultPrevented()) return
+
+ $tip.removeClass('in')
+
+ $.support.transition && this.$tip.hasClass('fade') ?
+ $tip
+ .one($.support.transition.end, complete)
+ .emulateTransitionEnd(150) :
+ complete()
+
+ this.hoverState = null
+
+ return this
+ }
+
+ Tooltip.prototype.fixTitle = function () {
+ var $e = this.$element
+ if ($e.attr('title') || typeof($e.attr('data-original-title')) != 'string') {
+ $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
+ }
+ }
+
+ Tooltip.prototype.hasContent = function () {
+ return this.getTitle()
+ }
+
+ Tooltip.prototype.getPosition = function () {
+ var el = this.$element[0]
+ return $.extend({}, (typeof el.getBoundingClientRect == 'function') ? el.getBoundingClientRect() : {
+ width: el.offsetWidth,
+ height: el.offsetHeight
+ }, this.$element.offset())
+ }
+
+ Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
+ return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
+ placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
+ placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
+ /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
+ }
+
+ Tooltip.prototype.getTitle = function () {
+ var title
+ var $e = this.$element
+ var o = this.options
+
+ title = $e.attr('data-original-title')
+ || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
+
+ return title
+ }
+
+ Tooltip.prototype.tip = function () {
+ return this.$tip = this.$tip || $(this.options.template)
+ }
+
+ Tooltip.prototype.arrow = function () {
+ return this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')
+ }
+
+ Tooltip.prototype.validate = function () {
+ if (!this.$element[0].parentNode) {
+ this.hide()
+ this.$element = null
+ this.options = null
+ }
+ }
+
+ Tooltip.prototype.enable = function () {
+ this.enabled = true
+ }
+
+ Tooltip.prototype.disable = function () {
+ this.enabled = false
+ }
+
+ Tooltip.prototype.toggleEnabled = function () {
+ this.enabled = !this.enabled
+ }
+
+ Tooltip.prototype.toggle = function (e) {
+ var self = e ? $(e.currentTarget)[this.type](this.getDelegateOptions()).data('bs.' + this.type) : this
+ self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
+ }
+
+ Tooltip.prototype.destroy = function () {
+ clearTimeout(this.timeout)
+ this.hide().$element.off('.' + this.type).removeData('bs.' + this.type)
+ }
+
+
+ // TOOLTIP PLUGIN DEFINITION
+ // =========================
+
+ var old = $.fn.tooltip
+
+ $.fn.tooltip = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.tooltip')
+ var options = typeof option == 'object' && option
+
+ if (!data && option == 'destroy') return
+ if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.tooltip.Constructor = Tooltip
+
+
+ // TOOLTIP NO CONFLICT
+ // ===================
+
+ $.fn.tooltip.noConflict = function () {
+ $.fn.tooltip = old
+ return this
+ }
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: popover.js v3.1.1
+ * http://getbootstrap.com/javascript/#popovers
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // POPOVER PUBLIC CLASS DEFINITION
+ // ===============================
+
+ var Popover = function (element, options) {
+ this.init('popover', element, options)
+ }
+
+ if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
+
+ Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
+ placement: 'right',
+ trigger: 'click',
+ content: '',
+ template: '
'
+ })
+
+
+ // NOTE: POPOVER EXTENDS tooltip.js
+ // ================================
+
+ Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
+
+ Popover.prototype.constructor = Popover
+
+ Popover.prototype.getDefaults = function () {
+ return Popover.DEFAULTS
+ }
+
+ Popover.prototype.setContent = function () {
+ var $tip = this.tip()
+ var title = this.getTitle()
+ var content = this.getContent()
+
+ $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
+ $tip.find('.popover-content')[ // we use append for html objects to maintain js events
+ this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
+ ](content)
+
+ $tip.removeClass('fade top bottom left right in')
+
+ // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
+ // this manually by checking the contents.
+ if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
+ }
+
+ Popover.prototype.hasContent = function () {
+ return this.getTitle() || this.getContent()
+ }
+
+ Popover.prototype.getContent = function () {
+ var $e = this.$element
+ var o = this.options
+
+ return $e.attr('data-content')
+ || (typeof o.content == 'function' ?
+ o.content.call($e[0]) :
+ o.content)
+ }
+
+ Popover.prototype.arrow = function () {
+ return this.$arrow = this.$arrow || this.tip().find('.arrow')
+ }
+
+ Popover.prototype.tip = function () {
+ if (!this.$tip) this.$tip = $(this.options.template)
+ return this.$tip
+ }
+
+
+ // POPOVER PLUGIN DEFINITION
+ // =========================
+
+ var old = $.fn.popover
+
+ $.fn.popover = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.popover')
+ var options = typeof option == 'object' && option
+
+ if (!data && option == 'destroy') return
+ if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.popover.Constructor = Popover
+
+
+ // POPOVER NO CONFLICT
+ // ===================
+
+ $.fn.popover.noConflict = function () {
+ $.fn.popover = old
+ return this
+ }
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: scrollspy.js v3.1.1
+ * http://getbootstrap.com/javascript/#scrollspy
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // SCROLLSPY CLASS DEFINITION
+ // ==========================
+
+ function ScrollSpy(element, options) {
+ var href
+ var process = $.proxy(this.process, this)
+
+ this.$element = $(element).is('body') ? $(window) : $(element)
+ this.$body = $('body')
+ this.$scrollElement = this.$element.on('scroll.bs.scroll-spy.data-api', process)
+ this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
+ this.selector = (this.options.target
+ || ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
+ || '') + ' .nav li > a'
+ this.offsets = $([])
+ this.targets = $([])
+ this.activeTarget = null
+
+ this.refresh()
+ this.process()
+ }
+
+ ScrollSpy.DEFAULTS = {
+ offset: 10
+ }
+
+ ScrollSpy.prototype.refresh = function () {
+ var offsetMethod = this.$element[0] == window ? 'offset' : 'position'
+
+ this.offsets = $([])
+ this.targets = $([])
+
+ var self = this
+ var $targets = this.$body
+ .find(this.selector)
+ .map(function () {
+ var $el = $(this)
+ var href = $el.data('target') || $el.attr('href')
+ var $href = /^#./.test(href) && $(href)
+
+ return ($href
+ && $href.length
+ && $href.is(':visible')
+ && [[ $href[offsetMethod]().top + (!$.isWindow(self.$scrollElement.get(0)) && self.$scrollElement.scrollTop()), href ]]) || null
+ })
+ .sort(function (a, b) { return a[0] - b[0] })
+ .each(function () {
+ self.offsets.push(this[0])
+ self.targets.push(this[1])
+ })
+ }
+
+ ScrollSpy.prototype.process = function () {
+ var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
+ var scrollHeight = this.$scrollElement[0].scrollHeight || this.$body[0].scrollHeight
+ var maxScroll = scrollHeight - this.$scrollElement.height()
+ var offsets = this.offsets
+ var targets = this.targets
+ var activeTarget = this.activeTarget
+ var i
+
+ if (scrollTop >= maxScroll) {
+ return activeTarget != (i = targets.last()[0]) && this.activate(i)
+ }
+
+ if (activeTarget && scrollTop <= offsets[0]) {
+ return activeTarget != (i = targets[0]) && this.activate(i)
+ }
+
+ for (i = offsets.length; i--;) {
+ activeTarget != targets[i]
+ && scrollTop >= offsets[i]
+ && (!offsets[i + 1] || scrollTop <= offsets[i + 1])
+ && this.activate( targets[i] )
+ }
+ }
+
+ ScrollSpy.prototype.activate = function (target) {
+ this.activeTarget = target
+
+ $(this.selector)
+ .parentsUntil(this.options.target, '.active')
+ .removeClass('active')
+
+ var selector = this.selector +
+ '[data-target="' + target + '"],' +
+ this.selector + '[href="' + target + '"]'
+
+ var active = $(selector)
+ .parents('li')
+ .addClass('active')
+
+ if (active.parent('.dropdown-menu').length) {
+ active = active
+ .closest('li.dropdown')
+ .addClass('active')
+ }
+
+ active.trigger('activate.bs.scrollspy')
+ }
+
+
+ // SCROLLSPY PLUGIN DEFINITION
+ // ===========================
+
+ var old = $.fn.scrollspy
+
+ $.fn.scrollspy = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.scrollspy')
+ var options = typeof option == 'object' && option
+
+ if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.scrollspy.Constructor = ScrollSpy
+
+
+ // SCROLLSPY NO CONFLICT
+ // =====================
+
+ $.fn.scrollspy.noConflict = function () {
+ $.fn.scrollspy = old
+ return this
+ }
+
+
+ // SCROLLSPY DATA-API
+ // ==================
+
+ $(window).on('load', function () {
+ $('[data-spy="scroll"]').each(function () {
+ var $spy = $(this)
+ $spy.scrollspy($spy.data())
+ })
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: tab.js v3.1.1
+ * http://getbootstrap.com/javascript/#tabs
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // TAB CLASS DEFINITION
+ // ====================
+
+ var Tab = function (element) {
+ this.element = $(element)
+ }
+
+ Tab.prototype.show = function () {
+ var $this = this.element
+ var $ul = $this.closest('ul:not(.dropdown-menu)')
+ var selector = $this.data('target')
+
+ if (!selector) {
+ selector = $this.attr('href')
+ selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
+ }
+
+ if ($this.parent('li').hasClass('active')) return
+
+ var previous = $ul.find('.active:last a')[0]
+ var e = $.Event('show.bs.tab', {
+ relatedTarget: previous
+ })
+
+ $this.trigger(e)
+
+ if (e.isDefaultPrevented()) return
+
+ var $target = $(selector)
+
+ this.activate($this.parent('li'), $ul)
+ this.activate($target, $target.parent(), function () {
+ $this.trigger({
+ type: 'shown.bs.tab',
+ relatedTarget: previous
+ })
+ })
+ }
+
+ Tab.prototype.activate = function (element, container, callback) {
+ var $active = container.find('> .active')
+ var transition = callback
+ && $.support.transition
+ && $active.hasClass('fade')
+
+ function next() {
+ $active
+ .removeClass('active')
+ .find('> .dropdown-menu > .active')
+ .removeClass('active')
+
+ element.addClass('active')
+
+ if (transition) {
+ element[0].offsetWidth // reflow for transition
+ element.addClass('in')
+ } else {
+ element.removeClass('fade')
+ }
+
+ if (element.parent('.dropdown-menu')) {
+ element.closest('li.dropdown').addClass('active')
+ }
+
+ callback && callback()
+ }
+
+ transition ?
+ $active
+ .one($.support.transition.end, next)
+ .emulateTransitionEnd(150) :
+ next()
+
+ $active.removeClass('in')
+ }
+
+
+ // TAB PLUGIN DEFINITION
+ // =====================
+
+ var old = $.fn.tab
+
+ $.fn.tab = function ( option ) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.tab')
+
+ if (!data) $this.data('bs.tab', (data = new Tab(this)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.tab.Constructor = Tab
+
+
+ // TAB NO CONFLICT
+ // ===============
+
+ $.fn.tab.noConflict = function () {
+ $.fn.tab = old
+ return this
+ }
+
+
+ // TAB DATA-API
+ // ============
+
+ $(document).on('click.bs.tab.data-api', '[data-toggle="tab"], [data-toggle="pill"]', function (e) {
+ e.preventDefault()
+ $(this).tab('show')
+ })
+
+}(jQuery);
+
+/* ========================================================================
+ * Bootstrap: affix.js v3.1.1
+ * http://getbootstrap.com/javascript/#affix
+ * ========================================================================
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ * ======================================================================== */
+
+
++function ($) {
+ 'use strict';
+
+ // AFFIX CLASS DEFINITION
+ // ======================
+
+ var Affix = function (element, options) {
+ this.options = $.extend({}, Affix.DEFAULTS, options)
+ this.$window = $(window)
+ .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
+ .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
+
+ this.$element = $(element)
+ this.affixed =
+ this.unpin =
+ this.pinnedOffset = null
+
+ this.checkPosition()
+ }
+
+ Affix.RESET = 'affix affix-top affix-bottom'
+
+ Affix.DEFAULTS = {
+ offset: 0
+ }
+
+ Affix.prototype.getPinnedOffset = function () {
+ if (this.pinnedOffset) return this.pinnedOffset
+ this.$element.removeClass(Affix.RESET).addClass('affix')
+ var scrollTop = this.$window.scrollTop()
+ var position = this.$element.offset()
+ return (this.pinnedOffset = position.top - scrollTop)
+ }
+
+ Affix.prototype.checkPositionWithEventLoop = function () {
+ setTimeout($.proxy(this.checkPosition, this), 1)
+ }
+
+ Affix.prototype.checkPosition = function () {
+ if (!this.$element.is(':visible')) return
+
+ var scrollHeight = $(document).height()
+ var scrollTop = this.$window.scrollTop()
+ var position = this.$element.offset()
+ var offset = this.options.offset
+ var offsetTop = offset.top
+ var offsetBottom = offset.bottom
+
+ if (this.affixed == 'top') position.top += scrollTop
+
+ if (typeof offset != 'object') offsetBottom = offsetTop = offset
+ if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)
+ if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)
+
+ var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false :
+ offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :
+ offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
+
+ if (this.affixed === affix) return
+ if (this.unpin) this.$element.css('top', '')
+
+ var affixType = 'affix' + (affix ? '-' + affix : '')
+ var e = $.Event(affixType + '.bs.affix')
+
+ this.$element.trigger(e)
+
+ if (e.isDefaultPrevented()) return
+
+ this.affixed = affix
+ this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null
+
+ this.$element
+ .removeClass(Affix.RESET)
+ .addClass(affixType)
+ .trigger($.Event(affixType.replace('affix', 'affixed')))
+
+ if (affix == 'bottom') {
+ this.$element.offset({ top: scrollHeight - offsetBottom - this.$element.height() })
+ }
+ }
+
+
+ // AFFIX PLUGIN DEFINITION
+ // =======================
+
+ var old = $.fn.affix
+
+ $.fn.affix = function (option) {
+ return this.each(function () {
+ var $this = $(this)
+ var data = $this.data('bs.affix')
+ var options = typeof option == 'object' && option
+
+ if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
+ if (typeof option == 'string') data[option]()
+ })
+ }
+
+ $.fn.affix.Constructor = Affix
+
+
+ // AFFIX NO CONFLICT
+ // =================
+
+ $.fn.affix.noConflict = function () {
+ $.fn.affix = old
+ return this
+ }
+
+
+ // AFFIX DATA-API
+ // ==============
+
+ $(window).on('load', function () {
+ $('[data-spy="affix"]').each(function () {
+ var $spy = $(this)
+ var data = $spy.data()
+
+ data.offset = data.offset || {}
+
+ if (data.offsetBottom) data.offset.bottom = data.offsetBottom
+ if (data.offsetTop) data.offset.top = data.offsetTop
+
+ $spy.affix(data)
+ })
+ })
+
+}(jQuery);
diff --git a/1.2.19/docs/components/bootstrap-3.1.1/js/bootstrap.min.js b/1.2.19/docs/components/bootstrap-3.1.1/js/bootstrap.min.js
new file mode 100644
index 0000000000..b04a0e82ff
--- /dev/null
+++ b/1.2.19/docs/components/bootstrap-3.1.1/js/bootstrap.min.js
@@ -0,0 +1,6 @@
+/*!
+ * Bootstrap v3.1.1 (http://getbootstrap.com)
+ * Copyright 2011-2014 Twitter, Inc.
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
+ */
+if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.isLoading=!1};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",f.resetText||d.data("resetText",d[e]()),d[e](f[b]||this.options[b]),setTimeout(a.proxy(function(){"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},b.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}a&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}if(e.hasClass("active"))return this.sliding=!1;var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});return this.$element.trigger(j),j.isDefaultPrevented()?void 0:(this.sliding=!0,f&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")?(e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(1e3*d.css("transition-duration").slice(0,-1))):(d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")),f&&this.cycle(),this)};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("collapse in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?void this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);!e&&f.toggle&&"show"==c&&(c=!c),e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(b){a(d).remove(),a(e).each(function(){var d=c(a(this)),e={relatedTarget:this};d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown",e)),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown",e))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('
').insertAfter(a(this)).on("click",b);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;f.toggleClass("open").trigger("shown.bs.dropdown",h),e.focus()}return!1}},f.prototype.keydown=function(b){if(/(38|40|27)/.test(b.keyCode)){var d=a(this);if(b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled")){var f=c(d),g=f.hasClass("open");if(!g||g&&27==b.keyCode)return 27==b.which&&f.find(e).focus(),d.click();var h=" li:not(.divider):visible a",i=f.find("[role=menu]"+h+", [role=listbox]"+h);if(i.length){var j=i.index(i.filter(":focus"));38==b.keyCode&&j>0&&j--,40==b.keyCode&&j
').appendTo(document.body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus.call(this.$element[0]):this.hide.call(this))},this)),d&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;d?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,b).emulateTransitionEnd(150):b()):b&&b()};var c=a.fn.modal;a.fn.modal=function(c,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},b.DEFAULTS,e.data(),"object"==typeof c&&c);f||e.data("bs.modal",f=new b(this,g)),"string"==typeof c?f[c](d):g.show&&f.show(d)})},a.fn.modal.Constructor=b,a.fn.modal.noConflict=function(){return a.fn.modal=c,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(b){var c=a(this),d=c.attr("href"),e=a(c.attr("data-target")||d&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(d)&&d},e.data(),c.data());c.is("a")&&b.preventDefault(),e.modal(f,this).one("hide",function(){c.is(":visible")&&c.focus()})}),a(document).on("show.bs.modal",".modal",function(){a(document.body).addClass("modal-open")}).on("hidden.bs.modal",".modal",function(){a(document.body).removeClass("modal-open")})}(jQuery),+function(a){"use strict";var b=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};b.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},b.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d);for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},b.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},b.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show()},b.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},b.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){if(this.$element.trigger(b),b.isDefaultPrevented())return;var c=this,d=this.tip();this.setContent(),this.options.animation&&d.addClass("fade");var e="function"==typeof this.options.placement?this.options.placement.call(this,d[0],this.$element[0]):this.options.placement,f=/\s?auto?\s?/i,g=f.test(e);g&&(e=e.replace(f,"")||"top"),d.detach().css({top:0,left:0,display:"block"}).addClass(e),this.options.container?d.appendTo(this.options.container):d.insertAfter(this.$element);var h=this.getPosition(),i=d[0].offsetWidth,j=d[0].offsetHeight;if(g){var k=this.$element.parent(),l=e,m=document.documentElement.scrollTop||document.body.scrollTop,n="body"==this.options.container?window.innerWidth:k.outerWidth(),o="body"==this.options.container?window.innerHeight:k.outerHeight(),p="body"==this.options.container?0:k.offset().left;e="bottom"==e&&h.top+h.height+j-m>o?"top":"top"==e&&h.top-m-j<0?"bottom":"right"==e&&h.right+i>n?"left":"left"==e&&h.left-i
'}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;(e||"destroy"!=c)&&(e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]())})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(a(c).is("body")?window:c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);{var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})}},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);if(g&&b<=e[0])return g!=(a=f[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parentsUntil(this.options.target,".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=this.pinnedOffset=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(b.RESET).addClass("affix");var a=this.$window.scrollTop(),c=this.$element.offset();return this.pinnedOffset=c.top-a},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"top"==this.affixed&&(e.top+=d),"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top(this.$element)),"function"==typeof h&&(h=f.bottom(this.$element));var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;if(this.affixed!==i){this.unpin&&this.$element.css("top","");var j="affix"+(i?"-"+i:""),k=a.Event(j+".bs.affix");this.$element.trigger(k),k.isDefaultPrevented()||(this.affixed=i,this.unpin="bottom"==i?this.getPinnedOffset():null,this.$element.removeClass(b.RESET).addClass(j).trigger(a.Event(j.replace("affix","affixed"))),"bottom"==i&&this.$element.offset({top:c-h-this.$element.height()}))}}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery);
\ No newline at end of file
diff --git a/1.2.19/docs/components/google-code-prettify-1.0.1/CHANGES.html b/1.2.19/docs/components/google-code-prettify-1.0.1/CHANGES.html
new file mode 100644
index 0000000000..9da9fa6342
--- /dev/null
+++ b/1.2.19/docs/components/google-code-prettify-1.0.1/CHANGES.html
@@ -0,0 +1,155 @@
+
+
+
+ Change Log
+
+
+ README
+
+ Known Issues
+
+ Perl formatting is really crappy. Partly because the author is lazy and
+ partly because Perl is
+ hard to parse.
+ On some browsers, <code>
elements with newlines in the text
+ which use CSS to specify white-space:pre
will have the newlines
+ improperly stripped if the element is not attached to the document at the time
+ the stripping is done. Also, on IE 6, all newlines will be stripped from
+ <code>
elements because of the way IE6 produces
+ innerHTML
. Workaround: use <pre>
for code with
+ newlines.
+
+
+ Change Log
+ 29 March 2007
+
+ Added tests for PHP support
+ to address
+ issue 3 .
+ Fixed
+ bug : prettyPrintOne
was not halting. This was not
+ reachable through the normal entry point.
+ Fixed
+ bug : recursing into a script block or PHP tag that was not properly
+ closed would not silently drop the content.
+ (test )
+ Fixed
+ bug : was eating tabs
+ (test )
+ Fixed entity handling so that the caveat
+
+ Caveats: please properly escape less-thans. x<y
+ instead of x<y , and use " instead of
+ " for string delimiters.
+
+ is no longer applicable.
+ Added noisefree's C#
+ patch
+ Added a distribution that has comments and
+ whitespace removed to reduce download size from 45.5kB to 12.8kB.
+
+ 4 Jul 2008
+
+ Added language specific formatters that are triggered by the presence
+ of a lang-<language-file-extension>
+ Fixed bug : python handling of '''string'''
+ Fixed bug: /
in regex [charsets] should not end regex
+
+ 5 Jul 2008
+
+ Defined language extensions for Lisp and Lua
+
+ 14 Jul 2008
+
+ Language handlers for F#, OCAML, SQL
+ Support for nocode
spans to allow embedding of line
+ numbers and code annotations which should not be styled or otherwise
+ affect the tokenization of prettified code.
+ See the issue 22
+ testcase .
+
+ 6 Jan 2009
+
+ Language handlers for Visual Basic, Haskell, CSS, and WikiText
+ Added .mxml extension to the markup style handler for
+ Flex MXML files . See
+ issue 37 .
+ Added .m extension to the C style handler so that Objective
+ C source files properly highlight. See
+ issue 58 .
+ Changed HTML lexer to use the same embedded source mechanism as the
+ wiki language handler, and changed to use the registered
+ CSS handler for STYLE element content.
+
+ 21 May 2009
+
+ Rewrote to improve performance on large files.
+ See benchmarks .
+ Fixed bugs with highlighting of Haskell line comments, Lisp
+ number literals, Lua strings, C preprocessor directives,
+ newlines in Wiki code on Windows, and newlines in IE6.
+
+ 14 August 2009
+
+ Fixed prettifying of <code>
blocks with embedded newlines.
+
+ 3 October 2009
+
+ Fixed prettifying of XML/HTML tags that contain uppercase letters.
+
+ 19 July 2010
+
+ Added support for line numbers. Bug
+ 22
+ Added YAML support. Bug
+ 123
+ Added VHDL support courtesy Le Poussin.
+ IE performance improvements. Bug
+ 102 courtesy jacobly.
+ A variety of markup formatting fixes courtesy smain and thezbyg.
+ Fixed copy and paste in IE[678].
+ Changed output to use  
instead of
+
so that the output works when embedded in XML.
+ Bug
+ 108 .
+
+ 7 September 2010
+
+ Added support for coffeescript courtesy Cezary Bartoszuk.
+
+ 4 March 2011
+
+ Added a themes
+ gallery to showcase contributed styles.
+ Added support for XQuery courtesy Patrick Wied, Nemerle
+ courtesy Zimin A.V., and Latex support courtesy Martin S.
+
+ 29 March 2011
+
+ Fixed IE newline issues, and copying/pasting of prettified
+ source code from IE. This required significant internal changes
+ but involves no API changes.
+ Caveat: prettyPrintOne
injects the HTML
+ passed to it into a <pre>
element.
+ If the HTML comes from a trusted source, this may allow XSS.
+ Do not do this. This should not be a problem for existing apps
+ since the standard usage is to rewrite the HTML and then inject
+ it, so anyone doing that with untrusted HTML already has an XSS
+ vulnerability. If you sanitize and prettify HTML from an
+ untrusted source, sanitize first.
+
+
+
diff --git a/1.2.19/docs/components/google-code-prettify-1.0.1/COPYING b/1.2.19/docs/components/google-code-prettify-1.0.1/COPYING
new file mode 100644
index 0000000000..b7f86df200
--- /dev/null
+++ b/1.2.19/docs/components/google-code-prettify-1.0.1/COPYING
@@ -0,0 +1,191 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ Copyright 2011 Mike Samuel et al
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/1.2.19/docs/components/google-code-prettify-1.0.1/README-zh-Hans.html b/1.2.19/docs/components/google-code-prettify-1.0.1/README-zh-Hans.html
new file mode 100644
index 0000000000..69bf7aedb9
--- /dev/null
+++ b/1.2.19/docs/components/google-code-prettify-1.0.1/README-zh-Hans.html
@@ -0,0 +1,143 @@
+
+
+
+
+
+ Javascript code prettifier
+
+
+
+
+
+
+
+
+
+ Javascript code prettifier
+ Javascript 代码美容师
+ 安装使用
+
+ 下载 文件
+ 在你的文件中包含这儿的脚本和样式表(你要保证这儿的 css 和 js 文件按在你的服务器上, 并且调整在 script 和 link 标签中的路径)
+
+<link href="prettify.css" type="text/css" rel="stylesheet" />
+<script type="text/javascript" src="prettify.js"></script>
+ 添加onload="prettyPrint()"
到你的文件的 body 标签中.
+ 修改样式表,使用你自己喜欢的颜色.
+
+
+ 使用方法
+ 在
+ <pre class="prettyprint">...</pre> 或 <code class="prettyprint">...</code>
+ 中间放上代码片段,它就会自动被美化了.
+
+
+
+ The original
+ Prettier
+
+ class Voila {
+public:
+ // Voila
+ static const string VOILA = "Voila";
+
+ // will not interfere with embedded tags .
+}
+
+ class Voila {
+public:
+ // Voila
+ static const string VOILA = "Voila";
+
+ // will not interfere with embedded tags .
+}
+
+
+
+ 常见问题
+ 它是为什么语言工作的?
+ prettify.js中的注释是权威的,但是它的语法分析程序可以在很多语言中使用 ,包括 C ,
+ Java, Python, Bash, SQL, HTML, XML, CSS, Javascript, 和 Makefiles.
+ 它在 Ruby, PHP, VB, 和 Awk 中还算可以,而且也可以在 Perl 和 Ruby的合适子集中起作用,但是, 因为注释的约定,它对
+ Smalltalk, 或 CAML类似的语言起作用.
+
+
+ LISP系列的语言可以使用一个拓展lang-lisp.js
.
对于 CSS
,
+ Haskell
,
+ Lua
,
+ OCAML, SML, F#
,
+ Visual Basic
,
+ SQL
,
+ Protocol Buffers
, 和
+ WikiText
..也是类似的
如果你想给你喜欢的语言写个拓展版本, 请参阅src/lang-lisp.js ,并写一个包括你的语言的拓展的 发布 和一个测试用例.
+
+ 如何指定我的代码在哪种语言里?
+ 你不需要指定语言环境,因为 prettyprint()
+ 会对此进行猜测. 你可以使用 prettyprint
这个类通过指定语言的拓展名来指定语言,就像这样:
+ <pre class="prettyprint lang-html ">
+ The lang-* class specifies the language file extensions.
+ File extensions supported by default include
+ "bsh", "c", "cc", "cpp", "cs", "csh", "cyc", "cv", "htm", "html",
+ "java", "js", "m", "mxml", "perl", "pl", "pm", "py", "rb", "sh",
+ "xhtml", "xml", "xsl".
+</pre>
+
+ 它在混淆代码例子上不起作用吗?
+ 是的. 美化混淆代码就像给小猪涂口红,也就是不在这个工具的范围内.
+
+ 它可以在那些浏览器上工作?
+ 这个工具已经在 IE 6, Firefox 1.5 & 2, 和 Safari 2.0.4 上测试通过. 打开 测试页面 ,看看它能不能在你的浏览器上起作用.
+
+ 有什么改变?
+ 查看 变化日志
+
+ 为什么Prettyprinting 对WordPress中的字符串没用?
+ 很显然,wordpress 在 "smart quoting" 时会改变关闭符号.
+ 这使得关闭符号跟开始符号不配套.
+
这和复制粘贴代码一样,破坏了美化作用. 去
+ WordPress's help center 查看更多关于如何关闭插入代码段时的"smart quoting"的信息.
+
+ 如何在我的代码中加入行号? (Out of date -- see English version )
+ 你可以使用 nocode
类来标记 span 标记不是代码.
+
<pre class=prettyprint>
+<span class="nocode ">1:</span> /* This is line 1 of my code
+<span class="nocode ">2:</span> * and here's line 2 */
+<span class="nocode ">3:</span> print("I'm line number 3");
+</pre> 得到
+
+1: /* This is line 1 of my code
+2: * and here's line 2 */
+3: print("I'm line number 3");
+
+
+ 查看一个更完整的例子: issue22
+ testcase .
+
+ 我得到了这样一条错误信息 "a is not a function" 或 "opt_whenDone is not a function"
+ 如果你通过事件句柄条用 prettyPrint
, 把它隐藏到一个函数中.
不要这么写
+
+ addEventListener('load', prettyPrint, false);
+ 而要这么写
+
+ addEventListener('load', function (event) { prettyPrint() }, false);
+ 这样的话,浏览器就不会把时间对象传递给 prettyPrint
,事件对象会让它困惑的.
+
+
+
+
+
+
diff --git a/1.2.19/docs/components/google-code-prettify-1.0.1/README.html b/1.2.19/docs/components/google-code-prettify-1.0.1/README.html
new file mode 100644
index 0000000000..967d61318b
--- /dev/null
+++ b/1.2.19/docs/components/google-code-prettify-1.0.1/README.html
@@ -0,0 +1,233 @@
+
+
+
+
+ Javascript code prettifier
+
+
+
+
+
+
+
+
+
+ Languages : CH
+ Javascript code prettifier
+
+ Setup
+
+ Download a distribution
+ Include the script and stylesheets in your document
+ (you will need to make sure the css and js file are on your server, and
+ adjust the paths in the script and link tag)
+
+<link href="prettify.css" type="text/css" rel="stylesheet" />
+<script type="text/javascript" src="prettify.js"></script>
+ Add onload="prettyPrint()"
to your
+ document's body tag.
+ Modify the stylesheet to get the coloring you prefer
+
+
+ Usage
+ Put code snippets in
+ <pre class="prettyprint">...</pre>
+ or <code class="prettyprint">...</code>
+ and it will automatically be pretty printed.
+
+
+
+ The original
+ Prettier
+
+ class Voila {
+public:
+ // Voila
+ static const string VOILA = "Voila";
+
+ // will not interfere with embedded tags .
+}
+
+ class Voila {
+public:
+ // Voila
+ static const string VOILA = "Voila";
+
+ // will not interfere with embedded tags .
+}
+
+
+ FAQ
+ For which languages does it work?
+ The comments in prettify.js are authoritative but the lexer
+ should work on a number of languages including C and friends,
+ Java, Python, Bash, SQL, HTML, XML, CSS, Javascript, and Makefiles.
+ It works passably on Ruby, PHP, VB, and Awk and a decent subset of Perl
+ and Ruby, but, because of commenting conventions, doesn't work on
+ Smalltalk, or CAML-like languages.
+
+ LISPy languages are supported via an extension:
+ lang-lisp.js
.
+ And similarly for
+ Clojure
,
+ CSS
,
+ Go
,
+ Haskell
,
+ Lua
,
+ OCAML, SML, F#
,
+ Nemerle
,
+ Protocol Buffers
,
+ Scala
,
+ SQL
,
+ TeX, LaTeX
,
+ VHDL
,
+ Visual Basic
,
+ WikiText
,
+ XQuery
, and
+ YAML
.
+
+
If you'd like to add an extension for your favorite language, please
+ look at src/lang-lisp.js and file an
+ issue including your language extension, and a testcase.
+
+ How do I specify the language of my code?
+ You don't need to specify the language since prettyprint()
+ will guess. You can specify a language by specifying the language extension
+ along with the prettyprint
class like so:
+ <pre class="prettyprint lang-html ">
+ The lang-* class specifies the language file extensions.
+ File extensions supported by default include
+ "bsh", "c", "cc", "cpp", "cs", "csh", "cyc", "cv", "htm", "html",
+ "java", "js", "m", "mxml", "perl", "pl", "pm", "py", "rb", "sh",
+ "xhtml", "xml", "xsl".
+</pre>
+
+ You may also use the
+ HTML 5 convention of embedding a code element inside the
+ PRE
and using language-java
style classes.
+ E.g.
...
+
+ It doesn't work on <obfuscated code sample> ?
+ Yes. Prettifying obfuscated code is like putting lipstick on a pig
+ — i.e. outside the scope of this tool.
+
+ Which browsers does it work with?
+ It's been tested with IE 6, Firefox 1.5 & 2, and Safari 2.0.4.
+ Look at the test page to see if it
+ works in your browser.
+
+ What's changed?
+ See the change log
+
+ Why doesn't Prettyprinting of strings work on WordPress?
+ Apparently wordpress does "smart quoting" which changes close quotes.
+ This causes end quotes to not match up with open quotes.
+
This breaks prettifying as well as copying and pasting of code samples.
+ See
+ WordPress's help center for info on how to stop smart quoting of code
+ snippets.
+
+ How do I put line numbers in my code?
+ You can use the linenums
class to turn on line
+ numbering. If your code doesn't start at line number 1, you can
+ add a colon and a line number to the end of that class as in
+ linenums:52
.
+
+
For example
+
<pre class="prettyprint linenums:4 "
+>// This is line 4.
+foo();
+bar();
+baz();
+boo();
+far();
+faz();
+<pre>
+ produces
+// This is line 4.
+foo();
+bar();
+baz();
+boo();
+far();
+faz();
+
+
+ How do I prevent a portion of markup from being marked as code?
+ You can use the nocode
class to identify a span of markup
+ that is not code.
+
<pre class=prettyprint>
+int x = foo(); /* This is a comment <span class="nocode">This is not code</span>
+ Continuation of comment */
+int y = bar();
+</pre>
+produces
+
+int x = foo(); /* This is a comment This is not code
+ Continuation of comment */
+int y = bar();
+
+
+ For a more complete example see the issue22
+ testcase .
+
+ I get an error message "a is not a function" or "opt_whenDone is not a function"
+ If you are calling prettyPrint
via an event handler, wrap it in a function.
+ Instead of doing
+
+ addEventListener('load', prettyPrint, false);
+
+ wrap it in a closure like
+
+ addEventListener('load', function (event) { prettyPrint() }, false);
+
+ so that the browser does not pass an event object to prettyPrint
which
+ will confuse it.
+
+ How can I customize the colors and styles of my code?
+
+ Prettify adds <span>
with class
es describing
+ the kind of code. You can create CSS styles to matches these
+ classes.
+ See the
+
+ theme gallery for examples.
+
+
+
+
+
+
+
diff --git a/1.2.19/docs/components/google-code-prettify-1.0.1/README.md b/1.2.19/docs/components/google-code-prettify-1.0.1/README.md
new file mode 100644
index 0000000000..51e0fac4e3
--- /dev/null
+++ b/1.2.19/docs/components/google-code-prettify-1.0.1/README.md
@@ -0,0 +1,54 @@
+# Google Code Prettify
+
+Direct port of svn into git from http://google-code-prettify.googlecode.com/svn/trunk/
+
+## Install
+
+via [Bower](http://twitter.github.com/bower/)
+
+ bower install google-code-prettify
+
+or [Yeoman](http://yeoman.io/)
+
+ yeoman install google-code-prettify
+
+
+## Usage
+
+The prettify script is AMD compatible and can be used modularly. Here is an example of it in an AMD module:
+
+```javascript
+define(['jquery', 'prettify'], function($, prettify){
+ var code = null;
+ $('pre').addClass('prettyprint').each(function(idx, el){
+ code = el.firstChild;
+ code.innerHTML = prettify.prettyPrintOne(code.innerHTML);
+ })
+ );
+});
+```
+
+This version of google-code-prettify defines an anonymous module, which is more flexible. To allow your AMD loader to find google-code-prettify with a more convenient name, map a path to it as follows:
+
+```js
+// using RequireJS
+require.config({
+ prettify: 'bower_components/google-code-prettify/prettify'
+});
+
+// using curl.js
+curl.config({
+ prettify: 'bower_components/google-code-prettify/prettify'
+});
+```
+
+Or it may just be used in a global context like the following:
+
+```javascript
+(function(){
+ $('pre').addClass('prettyprint');
+ prettyPrint();
+})();
+```
+
+More information can be found in the original [README.html](http://google-code-prettify.googlecode.com/svn/trunk/README.html)
\ No newline at end of file
diff --git a/1.2.19/docs/components/google-code-prettify-1.0.1/bower.json b/1.2.19/docs/components/google-code-prettify-1.0.1/bower.json
new file mode 100644
index 0000000000..21ebaa0d62
--- /dev/null
+++ b/1.2.19/docs/components/google-code-prettify-1.0.1/bower.json
@@ -0,0 +1,13 @@
+{
+ "name": "google-code-prettify",
+ "version": "1.0.1",
+ "main": "./src/prettify.js",
+ "dependencies": {},
+ "ignore": [
+ "closure-compiler",
+ "js-modules",
+ "tests",
+ "yui-compressor",
+ "Makefile"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/components/google-code-prettify-1.0.1/src/lang-apollo.js b/1.2.19/docs/components/google-code-prettify-1.0.1/src/lang-apollo.js
new file mode 100644
index 0000000000..9fa1d24c64
--- /dev/null
+++ b/1.2.19/docs/components/google-code-prettify-1.0.1/src/lang-apollo.js
@@ -0,0 +1,51 @@
+// Copyright (C) 2009 Onno Hommes.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+
+/**
+ * @fileoverview
+ * Registers a language handler for the AGC/AEA Assembly Language as described
+ * at http://virtualagc.googlecode.com
+ *
+ * This file could be used by goodle code to allow syntax highlight for
+ * Virtual AGC SVN repository or if you don't want to commonize
+ * the header for the agc/aea html assembly listing.
+ *
+ * @author ohommes@alumni.cmu.edu
+ */
+
+PR['registerLangHandler'](
+ PR['createSimpleLexer'](
+ [
+ // A line comment that starts with ;
+ [PR['PR_COMMENT'], /^#[^\r\n]*/, null, '#'],
+ // Whitespace
+ [PR['PR_PLAIN'], /^[\t\n\r \xA0]+/, null, '\t\n\r \xA0'],
+ // A double quoted, possibly multi-line, string.
+ [PR['PR_STRING'], /^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/, null, '"']
+ ],
+ [
+ [PR['PR_KEYWORD'], /^(?:ADS|AD|AUG|BZF|BZMF|CAE|CAF|CA|CCS|COM|CS|DAS|DCA|DCOM|DCS|DDOUBL|DIM|DOUBLE|DTCB|DTCF|DV|DXCH|EDRUPT|EXTEND|INCR|INDEX|NDX|INHINT|LXCH|MASK|MSK|MP|MSU|NOOP|OVSK|QXCH|RAND|READ|RELINT|RESUME|RETURN|ROR|RXOR|SQUARE|SU|TCR|TCAA|OVSK|TCF|TC|TS|WAND|WOR|WRITE|XCH|XLQ|XXALQ|ZL|ZQ|ADD|ADZ|SUB|SUZ|MPY|MPR|MPZ|DVP|COM|ABS|CLA|CLZ|LDQ|STO|STQ|ALS|LLS|LRS|TRA|TSQ|TMI|TOV|AXT|TIX|DLY|INP|OUT)\s/,null],
+ [PR['PR_TYPE'], /^(?:-?GENADR|=MINUS|2BCADR|VN|BOF|MM|-?2CADR|-?[1-6]DNADR|ADRES|BBCON|[SE]?BANK\=?|BLOCK|BNKSUM|E?CADR|COUNT\*?|2?DEC\*?|-?DNCHAN|-?DNPTR|EQUALS|ERASE|MEMORY|2?OCT|REMADR|SETLOC|SUBRO|ORG|BSS|BES|SYN|EQU|DEFINE|END)\s/,null],
+ // A single quote possibly followed by a word that optionally ends with
+ // = ! or ?.
+ [PR['PR_LITERAL'],
+ /^\'(?:-*(?:\w|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?)?/],
+ // Any word including labels that optionally ends with = ! or ?.
+ [PR['PR_PLAIN'],
+ /^-*(?:[!-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?/i],
+ // A printable non-space non-special character
+ [PR['PR_PUNCTUATION'], /^[^\w\t\n\r \xA0()\"\\\';]+/]
+ ]),
+ ['apollo', 'agc', 'aea']);
diff --git a/1.2.19/docs/components/google-code-prettify-1.0.1/src/lang-clj.js b/1.2.19/docs/components/google-code-prettify-1.0.1/src/lang-clj.js
new file mode 100644
index 0000000000..0758335f36
--- /dev/null
+++ b/1.2.19/docs/components/google-code-prettify-1.0.1/src/lang-clj.js
@@ -0,0 +1,64 @@
+/**
+ * @license Copyright (C) 2011 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * @fileoverview
+ * Registers a language handler for Clojure.
+ *
+ *
+ * To use, include prettify.js and this file in your HTML page.
+ * Then put your code in an HTML tag like
+ *
(my lisp code)
+ * The lang-cl class identifies the language as common lisp.
+ * This file supports the following language extensions:
+ * lang-clj - Clojure
+ *
+ *
+ * I used lang-lisp.js as the basis for this adding the clojure specific
+ * keywords and syntax.
+ *
+ * "Name" = 'Clojure'
+ * "Author" = 'Rich Hickey'
+ * "Version" = '1.2'
+ * "About" = 'Clojure is a lisp for the jvm with concurrency primitives and a richer set of types.'
+ *
+ *
+ * I used Clojure.org Reference as
+ * the basis for the reserved word list.
+ *
+ *
+ * @author jwall@google.com
+ */
+
+PR['registerLangHandler'](
+ PR['createSimpleLexer'](
+ [
+ // clojure has more paren types than minimal lisp.
+ ['opn', /^[\(\{\[]+/, null, '([{'],
+ ['clo', /^[\)\}\]]+/, null, ')]}'],
+ // A line comment that starts with ;
+ [PR['PR_COMMENT'], /^;[^\r\n]*/, null, ';'],
+ // Whitespace
+ [PR['PR_PLAIN'], /^[\t\n\r \xA0]+/, null, '\t\n\r \xA0'],
+ // A double quoted, possibly multi-line, string.
+ [PR['PR_STRING'], /^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/, null, '"']
+ ],
+ [
+ // clojure has a much larger set of keywords
+ [PR['PR_KEYWORD'], /^(?:def|if|do|let|quote|var|fn|loop|recur|throw|try|monitor-enter|monitor-exit|defmacro|defn|defn-|macroexpand|macroexpand-1|for|doseq|dosync|dotimes|and|or|when|not|assert|doto|proxy|defstruct|first|rest|cons|defprotocol|deftype|defrecord|reify|defmulti|defmethod|meta|with-meta|ns|in-ns|create-ns|import|intern|refer|alias|namespace|resolve|ref|deref|refset|new|set!|memfn|to-array|into-array|aset|gen-class|reduce|map|filter|find|nil?|empty?|hash-map|hash-set|vec|vector|seq|flatten|reverse|assoc|dissoc|list|list?|disj|get|union|difference|intersection|extend|extend-type|extend-protocol|prn)\b/, null],
+ [PR['PR_TYPE'], /^:[0-9a-zA-Z\-]+/]
+ ]),
+ ['clj']);
diff --git a/1.2.19/docs/components/google-code-prettify-1.0.1/src/lang-css.js b/1.2.19/docs/components/google-code-prettify-1.0.1/src/lang-css.js
new file mode 100644
index 0000000000..9e658dd57e
--- /dev/null
+++ b/1.2.19/docs/components/google-code-prettify-1.0.1/src/lang-css.js
@@ -0,0 +1,159 @@
+// Copyright (C) 2009 Google Inc.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+
+
+/**
+ * @fileoverview
+ * Registers a language handler for CSS.
+ *
+ *
+ * To use, include prettify.js and this file in your HTML page.
+ * Then put your code in an HTML tag like
+ *
+ *
+ *
+ * http://www.w3.org/TR/CSS21/grammar.html Section G2 defines the lexical
+ * grammar. This scheme does not recognize keywords containing escapes.
+ *
+ * @author mikesamuel@gmail.com
+ */
+
+// This file is a call to a function defined in prettify.js which defines a
+// lexical scanner for CSS and maps tokens to styles.
+
+// The call to PR['registerLangHandler'] is quoted so that Closure Compiler
+// will not rename the call so that this language extensions can be
+// compiled/minified separately from one another. Other symbols defined in
+// prettify.js are similarly quoted.
+
+// The call is structured thus:
+// PR['registerLangHandler'](
+// PR['createSimpleLexer'](
+// shortcutPatterns,
+// fallThroughPatterns),
+// [languageId0, ..., languageIdN])
+
+// Langugage IDs
+// =============
+// The language IDs are typically the file extensions of source files for
+// that language so that users can syntax highlight arbitrary files based
+// on just the extension. This is heuristic, but works pretty well in
+// practice.
+
+// Patterns
+// ========
+// Lexers are typically implemented as a set of regular expressions.
+// The SimpleLexer function takes regular expressions, styles, and some
+// pragma-info and produces a lexer. A token description looks like
+// [STYLE_NAME, /regular-expression/, pragmas]
+
+// Initially, simple lexer's inner loop looked like:
+
+// while sourceCode is not empty:
+// try each regular expression in order until one matches
+// remove the matched portion from sourceCode
+
+// This was really slow for large files because some JS interpreters
+// do a buffer copy on the matched portion which is O(n*n)
+
+// The current loop now looks like
+
+// 1. use js-modules/combinePrefixPatterns.js to
+// combine all regular expressions into one
+// 2. use a single global regular expresion match to extract all tokens
+// 3. for each token try regular expressions in order until one matches it
+// and classify it using the associated style
+
+// This is a lot more efficient but it does mean that lookahead and lookbehind
+// can't be used across boundaries to classify tokens.
+
+// Sometimes we need lookahead and lookbehind and sometimes we want to handle
+// embedded language -- JavaScript or CSS embedded in HTML, or inline assembly
+// in C.
+
+// If a particular pattern has a numbered group, and its style pattern starts
+// with "lang-" as in
+// ['lang-js', /}
+ * define style rules. See the example page for examples.
+ * mark the {@code } and {@code } tags in your source with
+ * {@code class=prettyprint.}
+ * You can also use the (html deprecated) {@code } tag, but the pretty
+ * printer needs to do more substantial DOM manipulations to support that, so
+ * some css styles may not be preserved.
+ *
+ * That's it. I wanted to keep the API as simple as possible, so there's no
+ * need to specify which language the code is in, but if you wish, you can add
+ * another class to the {@code } or {@code } element to specify the
+ * language, as in {@code }. Any class that
+ * starts with "lang-" followed by a file extension, specifies the file type.
+ * See the "lang-*.js" files in this directory for code that implements
+ * per-language file handlers.
+ *
+ * Change log:
+ * cbeust, 2006/08/22
+ *
+ * Java annotations (start with "@") are now captured as literals ("lit")
+ *
+ * @requires console
+ */
+
+// JSLint declarations
+/*global console, document, navigator, setTimeout, window, define */
+
+/**
+ * Split {@code prettyPrint} into multiple timeouts so as not to interfere with
+ * UI events.
+ * If set to {@code false}, {@code prettyPrint()} is synchronous.
+ */
+window['PR_SHOULD_USE_CONTINUATION'] = true;
+
+/**
+ * Find all the {@code } and {@code } tags in the DOM with
+ * {@code class=prettyprint} and prettify them.
+ *
+ * @param {Function?} opt_whenDone if specified, called when the last entry
+ * has been finished.
+ */
+var prettyPrintOne;
+/**
+ * Pretty print a chunk of code.
+ *
+ * @param {string} sourceCodeHtml code as html
+ * @return {string} code as html, but prettier
+ */
+var prettyPrint;
+
+
+(function () {
+ var win = window;
+ // Keyword lists for various languages.
+ // We use things that coerce to strings to make them compact when minified
+ // and to defeat aggressive optimizers that fold large string constants.
+ var FLOW_CONTROL_KEYWORDS = ["break,continue,do,else,for,if,return,while"];
+ var C_KEYWORDS = [FLOW_CONTROL_KEYWORDS,"auto,case,char,const,default," +
+ "double,enum,extern,float,goto,int,long,register,short,signed,sizeof," +
+ "static,struct,switch,typedef,union,unsigned,void,volatile"];
+ var COMMON_KEYWORDS = [C_KEYWORDS,"catch,class,delete,false,import," +
+ "new,operator,private,protected,public,this,throw,true,try,typeof"];
+ var CPP_KEYWORDS = [COMMON_KEYWORDS,"alignof,align_union,asm,axiom,bool," +
+ "concept,concept_map,const_cast,constexpr,decltype," +
+ "dynamic_cast,explicit,export,friend,inline,late_check," +
+ "mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast," +
+ "template,typeid,typename,using,virtual,where"];
+ var JAVA_KEYWORDS = [COMMON_KEYWORDS,
+ "abstract,boolean,byte,extends,final,finally,implements,import," +
+ "instanceof,null,native,package,strictfp,super,synchronized,throws," +
+ "transient"];
+ var CSHARP_KEYWORDS = [JAVA_KEYWORDS,
+ "as,base,by,checked,decimal,delegate,descending,dynamic,event," +
+ "fixed,foreach,from,group,implicit,in,interface,internal,into,is,let," +
+ "lock,object,out,override,orderby,params,partial,readonly,ref,sbyte," +
+ "sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort," +
+ "var,virtual,where"];
+ var COFFEE_KEYWORDS = "all,and,by,catch,class,else,extends,false,finally," +
+ "for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then," +
+ "throw,true,try,unless,until,when,while,yes";
+ var JSCRIPT_KEYWORDS = [COMMON_KEYWORDS,
+ "debugger,eval,export,function,get,null,set,undefined,var,with," +
+ "Infinity,NaN"];
+ var PERL_KEYWORDS = "caller,delete,die,do,dump,elsif,eval,exit,foreach,for," +
+ "goto,if,import,last,local,my,next,no,our,print,package,redo,require," +
+ "sub,undef,unless,until,use,wantarray,while,BEGIN,END";
+ var PYTHON_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "and,as,assert,class,def,del," +
+ "elif,except,exec,finally,from,global,import,in,is,lambda," +
+ "nonlocal,not,or,pass,print,raise,try,with,yield," +
+ "False,True,None"];
+ var RUBY_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "alias,and,begin,case,class," +
+ "def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo," +
+ "rescue,retry,self,super,then,true,undef,unless,until,when,yield," +
+ "BEGIN,END"];
+ var SH_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "case,done,elif,esac,eval,fi," +
+ "function,in,local,set,then,until"];
+ var ALL_KEYWORDS = [
+ CPP_KEYWORDS, CSHARP_KEYWORDS, JSCRIPT_KEYWORDS, PERL_KEYWORDS +
+ PYTHON_KEYWORDS, RUBY_KEYWORDS, SH_KEYWORDS];
+ var C_TYPES = /^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;
+
+ // token style names. correspond to css classes
+ /**
+ * token style for a string literal
+ * @const
+ */
+ var PR_STRING = 'str';
+ /**
+ * token style for a keyword
+ * @const
+ */
+ var PR_KEYWORD = 'kwd';
+ /**
+ * token style for a comment
+ * @const
+ */
+ var PR_COMMENT = 'com';
+ /**
+ * token style for a type
+ * @const
+ */
+ var PR_TYPE = 'typ';
+ /**
+ * token style for a literal value. e.g. 1, null, true.
+ * @const
+ */
+ var PR_LITERAL = 'lit';
+ /**
+ * token style for a punctuation string.
+ * @const
+ */
+ var PR_PUNCTUATION = 'pun';
+ /**
+ * token style for plain text.
+ * @const
+ */
+ var PR_PLAIN = 'pln';
+
+ /**
+ * token style for an sgml tag.
+ * @const
+ */
+ var PR_TAG = 'tag';
+ /**
+ * token style for a markup declaration such as a DOCTYPE.
+ * @const
+ */
+ var PR_DECLARATION = 'dec';
+ /**
+ * token style for embedded source.
+ * @const
+ */
+ var PR_SOURCE = 'src';
+ /**
+ * token style for an sgml attribute name.
+ * @const
+ */
+ var PR_ATTRIB_NAME = 'atn';
+ /**
+ * token style for an sgml attribute value.
+ * @const
+ */
+ var PR_ATTRIB_VALUE = 'atv';
+
+ /**
+ * A class that indicates a section of markup that is not code, e.g. to allow
+ * embedding of line numbers within code listings.
+ * @const
+ */
+ var PR_NOCODE = 'nocode';
+
+
+
+/**
+ * A set of tokens that can precede a regular expression literal in
+ * javascript
+ * http://web.archive.org/web/20070717142515/http://www.mozilla.org/js/language/js20/rationale/syntax.html
+ * has the full list, but I've removed ones that might be problematic when
+ * seen in languages that don't support regular expression literals.
+ *
+ * Specifically, I've removed any keywords that can't precede a regexp
+ * literal in a syntactically legal javascript program, and I've removed the
+ * "in" keyword since it's not a keyword in many languages, and might be used
+ * as a count of inches.
+ *
+ *
The link above does not accurately describe EcmaScript rules since
+ * it fails to distinguish between (a=++/b/i) and (a++/b/i) but it works
+ * very well in practice.
+ *
+ * @private
+ * @const
+ */
+var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*';
+
+// CAVEAT: this does not properly handle the case where a regular
+// expression immediately follows another since a regular expression may
+// have flags for case-sensitivity and the like. Having regexp tokens
+// adjacent is not valid in any language I'm aware of, so I'm punting.
+// TODO: maybe style special characters inside a regexp as punctuation.
+
+
+ /**
+ * Given a group of {@link RegExp}s, returns a {@code RegExp} that globally
+ * matches the union of the sets of strings matched by the input RegExp.
+ * Since it matches globally, if the input strings have a start-of-input
+ * anchor (/^.../), it is ignored for the purposes of unioning.
+ * @param {Array.} regexs non multiline, non-global regexs.
+ * @return {RegExp} a global regex.
+ */
+ function combinePrefixPatterns(regexs) {
+ var capturedGroupIndex = 0;
+
+ var needToFoldCase = false;
+ var ignoreCase = false;
+ for (var i = 0, n = regexs.length; i < n; ++i) {
+ var regex = regexs[i];
+ if (regex.ignoreCase) {
+ ignoreCase = true;
+ } else if (/[a-z]/i.test(regex.source.replace(
+ /\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi, ''))) {
+ needToFoldCase = true;
+ ignoreCase = false;
+ break;
+ }
+ }
+
+ var escapeCharToCodeUnit = {
+ 'b': 8,
+ 't': 9,
+ 'n': 0xa,
+ 'v': 0xb,
+ 'f': 0xc,
+ 'r': 0xd
+ };
+
+ function decodeEscape(charsetPart) {
+ var cc0 = charsetPart.charCodeAt(0);
+ if (cc0 !== 92 /* \\ */) {
+ return cc0;
+ }
+ var c1 = charsetPart.charAt(1);
+ cc0 = escapeCharToCodeUnit[c1];
+ if (cc0) {
+ return cc0;
+ } else if ('0' <= c1 && c1 <= '7') {
+ return parseInt(charsetPart.substring(1), 8);
+ } else if (c1 === 'u' || c1 === 'x') {
+ return parseInt(charsetPart.substring(2), 16);
+ } else {
+ return charsetPart.charCodeAt(1);
+ }
+ }
+
+ function encodeEscape(charCode) {
+ if (charCode < 0x20) {
+ return (charCode < 0x10 ? '\\x0' : '\\x') + charCode.toString(16);
+ }
+ var ch = String.fromCharCode(charCode);
+ return (ch === '\\' || ch === '-' || ch === ']' || ch === '^')
+ ? "\\" + ch : ch;
+ }
+
+ function caseFoldCharset(charSet) {
+ var charsetParts = charSet.substring(1, charSet.length - 1).match(
+ new RegExp(
+ '\\\\u[0-9A-Fa-f]{4}'
+ + '|\\\\x[0-9A-Fa-f]{2}'
+ + '|\\\\[0-3][0-7]{0,2}'
+ + '|\\\\[0-7]{1,2}'
+ + '|\\\\[\\s\\S]'
+ + '|-'
+ + '|[^-\\\\]',
+ 'g'));
+ var ranges = [];
+ var inverse = charsetParts[0] === '^';
+
+ var out = ['['];
+ if (inverse) { out.push('^'); }
+
+ for (var i = inverse ? 1 : 0, n = charsetParts.length; i < n; ++i) {
+ var p = charsetParts[i];
+ if (/\\[bdsw]/i.test(p)) { // Don't muck with named groups.
+ out.push(p);
+ } else {
+ var start = decodeEscape(p);
+ var end;
+ if (i + 2 < n && '-' === charsetParts[i + 1]) {
+ end = decodeEscape(charsetParts[i + 2]);
+ i += 2;
+ } else {
+ end = start;
+ }
+ ranges.push([start, end]);
+ // If the range might intersect letters, then expand it.
+ // This case handling is too simplistic.
+ // It does not deal with non-latin case folding.
+ // It works for latin source code identifiers though.
+ if (!(end < 65 || start > 122)) {
+ if (!(end < 65 || start > 90)) {
+ ranges.push([Math.max(65, start) | 32, Math.min(end, 90) | 32]);
+ }
+ if (!(end < 97 || start > 122)) {
+ ranges.push([Math.max(97, start) & ~32, Math.min(end, 122) & ~32]);
+ }
+ }
+ }
+ }
+
+ // [[1, 10], [3, 4], [8, 12], [14, 14], [16, 16], [17, 17]]
+ // -> [[1, 12], [14, 14], [16, 17]]
+ ranges.sort(function (a, b) { return (a[0] - b[0]) || (b[1] - a[1]); });
+ var consolidatedRanges = [];
+ var lastRange = [];
+ for (var i = 0; i < ranges.length; ++i) {
+ var range = ranges[i];
+ if (range[0] <= lastRange[1] + 1) {
+ lastRange[1] = Math.max(lastRange[1], range[1]);
+ } else {
+ consolidatedRanges.push(lastRange = range);
+ }
+ }
+
+ for (var i = 0; i < consolidatedRanges.length; ++i) {
+ var range = consolidatedRanges[i];
+ out.push(encodeEscape(range[0]));
+ if (range[1] > range[0]) {
+ if (range[1] + 1 > range[0]) { out.push('-'); }
+ out.push(encodeEscape(range[1]));
+ }
+ }
+ out.push(']');
+ return out.join('');
+ }
+
+ function allowAnywhereFoldCaseAndRenumberGroups(regex) {
+ // Split into character sets, escape sequences, punctuation strings
+ // like ('(', '(?:', ')', '^'), and runs of characters that do not
+ // include any of the above.
+ var parts = regex.source.match(
+ new RegExp(
+ '(?:'
+ + '\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]' // a character set
+ + '|\\\\u[A-Fa-f0-9]{4}' // a unicode escape
+ + '|\\\\x[A-Fa-f0-9]{2}' // a hex escape
+ + '|\\\\[0-9]+' // a back-reference or octal escape
+ + '|\\\\[^ux0-9]' // other escape sequence
+ + '|\\(\\?[:!=]' // start of a non-capturing group
+ + '|[\\(\\)\\^]' // start/end of a group, or line start
+ + '|[^\\x5B\\x5C\\(\\)\\^]+' // run of other characters
+ + ')',
+ 'g'));
+ var n = parts.length;
+
+ // Maps captured group numbers to the number they will occupy in
+ // the output or to -1 if that has not been determined, or to
+ // undefined if they need not be capturing in the output.
+ var capturedGroups = [];
+
+ // Walk over and identify back references to build the capturedGroups
+ // mapping.
+ for (var i = 0, groupIndex = 0; i < n; ++i) {
+ var p = parts[i];
+ if (p === '(') {
+ // groups are 1-indexed, so max group index is count of '('
+ ++groupIndex;
+ } else if ('\\' === p.charAt(0)) {
+ var decimalValue = +p.substring(1);
+ if (decimalValue) {
+ if (decimalValue <= groupIndex) {
+ capturedGroups[decimalValue] = -1;
+ } else {
+ // Replace with an unambiguous escape sequence so that
+ // an octal escape sequence does not turn into a backreference
+ // to a capturing group from an earlier regex.
+ parts[i] = encodeEscape(decimalValue);
+ }
+ }
+ }
+ }
+
+ // Renumber groups and reduce capturing groups to non-capturing groups
+ // where possible.
+ for (var i = 1; i < capturedGroups.length; ++i) {
+ if (-1 === capturedGroups[i]) {
+ capturedGroups[i] = ++capturedGroupIndex;
+ }
+ }
+ for (var i = 0, groupIndex = 0; i < n; ++i) {
+ var p = parts[i];
+ if (p === '(') {
+ ++groupIndex;
+ if (!capturedGroups[groupIndex]) {
+ parts[i] = '(?:';
+ }
+ } else if ('\\' === p.charAt(0)) {
+ var decimalValue = +p.substring(1);
+ if (decimalValue && decimalValue <= groupIndex) {
+ parts[i] = '\\' + capturedGroups[decimalValue];
+ }
+ }
+ }
+
+ // Remove any prefix anchors so that the output will match anywhere.
+ // ^^ really does mean an anchored match though.
+ for (var i = 0; i < n; ++i) {
+ if ('^' === parts[i] && '^' !== parts[i + 1]) { parts[i] = ''; }
+ }
+
+ // Expand letters to groups to handle mixing of case-sensitive and
+ // case-insensitive patterns if necessary.
+ if (regex.ignoreCase && needToFoldCase) {
+ for (var i = 0; i < n; ++i) {
+ var p = parts[i];
+ var ch0 = p.charAt(0);
+ if (p.length >= 2 && ch0 === '[') {
+ parts[i] = caseFoldCharset(p);
+ } else if (ch0 !== '\\') {
+ // TODO: handle letters in numeric escapes.
+ parts[i] = p.replace(
+ /[a-zA-Z]/g,
+ function (ch) {
+ var cc = ch.charCodeAt(0);
+ return '[' + String.fromCharCode(cc & ~32, cc | 32) + ']';
+ });
+ }
+ }
+ }
+
+ return parts.join('');
+ }
+
+ var rewritten = [];
+ for (var i = 0, n = regexs.length; i < n; ++i) {
+ var regex = regexs[i];
+ if (regex.global || regex.multiline) { throw new Error('' + regex); }
+ rewritten.push(
+ '(?:' + allowAnywhereFoldCaseAndRenumberGroups(regex) + ')');
+ }
+
+ return new RegExp(rewritten.join('|'), ignoreCase ? 'gi' : 'g');
+ }
+
+
+ /**
+ * Split markup into a string of source code and an array mapping ranges in
+ * that string to the text nodes in which they appear.
+ *
+ *
+ * The HTML DOM structure:
+ *
+ * (Element "p"
+ * (Element "b"
+ * (Text "print ")) ; #1
+ * (Text "'Hello '") ; #2
+ * (Element "br") ; #3
+ * (Text " + 'World';")) ; #4
+ *
+ *
+ * corresponds to the HTML
+ * {@code
print 'Hello ' + 'World';
}.
+ *
+ *
+ * It will produce the output:
+ *
+ * {
+ * sourceCode: "print 'Hello '\n + 'World';",
+ * // 1 2
+ * // 012345678901234 5678901234567
+ * spans: [0, #1, 6, #2, 14, #3, 15, #4]
+ * }
+ *
+ *
+ * where #1 is a reference to the {@code "print "} text node above, and so
+ * on for the other text nodes.
+ *
+ *
+ *
+ * The {@code} spans array is an array of pairs. Even elements are the start
+ * indices of substrings, and odd elements are the text nodes (or BR elements)
+ * that contain the text for those substrings.
+ * Substrings continue until the next index or the end of the source.
+ *
+ *
+ * @param {Node} node an HTML DOM subtree containing source-code.
+ * @param {boolean} isPreformatted true if white-space in text nodes should
+ * be considered significant.
+ * @return {Object} source code and the text nodes in which they occur.
+ */
+ function extractSourceSpans(node, isPreformatted) {
+ var nocode = /(?:^|\s)nocode(?:\s|$)/;
+
+ var chunks = [];
+ var length = 0;
+ var spans = [];
+ var k = 0;
+
+ function walk(node) {
+ switch (node.nodeType) {
+ case 1: // Element
+ if (nocode.test(node.className)) { return; }
+ for (var child = node.firstChild; child; child = child.nextSibling) {
+ walk(child);
+ }
+ var nodeName = node.nodeName.toLowerCase();
+ if ('br' === nodeName || 'li' === nodeName) {
+ chunks[k] = '\n';
+ spans[k << 1] = length++;
+ spans[(k++ << 1) | 1] = node;
+ }
+ break;
+ case 3: case 4: // Text
+ var text = node.nodeValue;
+ if (text.length) {
+ if (!isPreformatted) {
+ text = text.replace(/[ \t\r\n]+/g, ' ');
+ } else {
+ text = text.replace(/\r\n?/g, '\n'); // Normalize newlines.
+ }
+ // TODO: handle tabs here?
+ chunks[k] = text;
+ spans[k << 1] = length;
+ length += text.length;
+ spans[(k++ << 1) | 1] = node;
+ }
+ break;
+ }
+ }
+
+ walk(node);
+
+ return {
+ sourceCode: chunks.join('').replace(/\n$/, ''),
+ spans: spans
+ };
+ }
+
+
+ /**
+ * Apply the given language handler to sourceCode and add the resulting
+ * decorations to out.
+ * @param {number} basePos the index of sourceCode within the chunk of source
+ * whose decorations are already present on out.
+ */
+ function appendDecorations(basePos, sourceCode, langHandler, out) {
+ if (!sourceCode) { return; }
+ var job = {
+ sourceCode: sourceCode,
+ basePos: basePos
+ };
+ langHandler(job);
+ out.push.apply(out, job.decorations);
+ }
+
+ var notWs = /\S/;
+
+ /**
+ * Given an element, if it contains only one child element and any text nodes
+ * it contains contain only space characters, return the sole child element.
+ * Otherwise returns undefined.
+ *
+ * This is meant to return the CODE element in {@code
} when
+ * there is a single child element that contains all the non-space textual
+ * content, but not to return anything where there are multiple child elements
+ * as in {@code ...
...
} or when there
+ * is textual content.
+ */
+ function childContentWrapper(element) {
+ var wrapper = undefined;
+ for (var c = element.firstChild; c; c = c.nextSibling) {
+ var type = c.nodeType;
+ wrapper = (type === 1) // Element Node
+ ? (wrapper ? element : c)
+ : (type === 3) // Text Node
+ ? (notWs.test(c.nodeValue) ? element : wrapper)
+ : wrapper;
+ }
+ return wrapper === element ? undefined : wrapper;
+ }
+
+ /** Given triples of [style, pattern, context] returns a lexing function,
+ * The lexing function interprets the patterns to find token boundaries and
+ * returns a decoration list of the form
+ * [index_0, style_0, index_1, style_1, ..., index_n, style_n]
+ * where index_n is an index into the sourceCode, and style_n is a style
+ * constant like PR_PLAIN. index_n-1 <= index_n, and style_n-1 applies to
+ * all characters in sourceCode[index_n-1:index_n].
+ *
+ * The stylePatterns is a list whose elements have the form
+ * [style : string, pattern : RegExp, DEPRECATED, shortcut : string].
+ *
+ * Style is a style constant like PR_PLAIN, or can be a string of the
+ * form 'lang-FOO', where FOO is a language extension describing the
+ * language of the portion of the token in $1 after pattern executes.
+ * E.g., if style is 'lang-lisp', and group 1 contains the text
+ * '(hello (world))', then that portion of the token will be passed to the
+ * registered lisp handler for formatting.
+ * The text before and after group 1 will be restyled using this decorator
+ * so decorators should take care that this doesn't result in infinite
+ * recursion. For example, the HTML lexer rule for SCRIPT elements looks
+ * something like ['lang-js', /<[s]cript>(.+?)<\/script>/]. This may match
+ * '
+
+
+
+
+
+
+
+
+<script type="text/javascript">
+// Say hello world until the user starts questioning
+// the meaningfulness of their existence.
+function helloWorld(world) {
+ for (var i = 42; --i >= 0;) {
+ alert('Hello ' + String(world));
+ }
+}
+</script>
+<style>
+p { color: pink }
+b { color: blue }
+u { color: "umber" }
+</style>
+
+
+
diff --git a/1.2.19/docs/components/google-code-prettify-1.0.1/styles/desert.css b/1.2.19/docs/components/google-code-prettify-1.0.1/styles/desert.css
new file mode 100644
index 0000000000..3db27cf79e
--- /dev/null
+++ b/1.2.19/docs/components/google-code-prettify-1.0.1/styles/desert.css
@@ -0,0 +1,35 @@
+/* desert scheme ported from vim to google prettify */
+pre.prettyprint { display: block; background-color: #333 }
+pre .nocode { background-color: none; color: #000 }
+pre .str { color: #ffa0a0 } /* string - pink */
+pre .kwd { color: #f0e68c; font-weight: bold }
+pre .com { color: #87ceeb } /* comment - skyblue */
+pre .typ { color: #98fb98 } /* type - lightgreen */
+pre .lit { color: #cd5c5c } /* literal - darkred */
+pre .pun { color: #fff } /* punctuation */
+pre .pln { color: #fff } /* plaintext */
+pre .tag { color: #f0e68c; font-weight: bold } /* html/xml tag - lightyellow */
+pre .atn { color: #bdb76b; font-weight: bold } /* attribute name - khaki */
+pre .atv { color: #ffa0a0 } /* attribute value - pink */
+pre .dec { color: #98fb98 } /* decimal - lightgreen */
+
+/* Specify class=linenums on a pre to get line numbering */
+ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE } /* IE indents via margin-left */
+li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
+/* Alternate shading for lines */
+li.L1,li.L3,li.L5,li.L7,li.L9 { }
+
+@media print {
+ pre.prettyprint { background-color: none }
+ pre .str, code .str { color: #060 }
+ pre .kwd, code .kwd { color: #006; font-weight: bold }
+ pre .com, code .com { color: #600; font-style: italic }
+ pre .typ, code .typ { color: #404; font-weight: bold }
+ pre .lit, code .lit { color: #044 }
+ pre .pun, code .pun { color: #440 }
+ pre .pln, code .pln { color: #000 }
+ pre .tag, code .tag { color: #006; font-weight: bold }
+ pre .atn, code .atn { color: #404 }
+ pre .atv, code .atv { color: #060 }
+}
+
diff --git a/1.2.19/docs/components/google-code-prettify-1.0.1/styles/index.html b/1.2.19/docs/components/google-code-prettify-1.0.1/styles/index.html
new file mode 100644
index 0000000000..f00a0348ac
--- /dev/null
+++ b/1.2.19/docs/components/google-code-prettify-1.0.1/styles/index.html
@@ -0,0 +1,88 @@
+
+
+Prettify Themes Gallery
+
+
+
+
+
+This page requires JavaScript
+
+
+
+Click on a theme name for a link to the file in revision control.
+Print preview this page to see how the themes work on the printed page.
+
+
+
+
diff --git a/1.2.19/docs/components/google-code-prettify-1.0.1/styles/sons-of-obsidian.css b/1.2.19/docs/components/google-code-prettify-1.0.1/styles/sons-of-obsidian.css
new file mode 100644
index 0000000000..7d24f3b470
--- /dev/null
+++ b/1.2.19/docs/components/google-code-prettify-1.0.1/styles/sons-of-obsidian.css
@@ -0,0 +1,118 @@
+/*
+ * Derived from einaros's Sons of Obsidian theme at
+ * http://studiostyl.es/schemes/son-of-obsidian by
+ * Alex Ford of CodeTunnel:
+ * http://CodeTunnel.com/blog/post/71/google-code-prettify-obsidian-theme
+ */
+
+.str
+{
+ color: #EC7600;
+}
+.kwd
+{
+ color: #93C763;
+}
+.com
+{
+ color: #66747B;
+}
+.typ
+{
+ color: #678CB1;
+}
+.lit
+{
+ color: #FACD22;
+}
+.pun
+{
+ color: #F1F2F3;
+}
+.pln
+{
+ color: #F1F2F3;
+}
+.tag
+{
+ color: #8AC763;
+}
+.atn
+{
+ color: #E0E2E4;
+}
+.atv
+{
+ color: #EC7600;
+}
+.dec
+{
+ color: purple;
+}
+pre.prettyprint
+{
+ border: 0px solid #888;
+}
+ol.linenums
+{
+ margin-top: 0;
+ margin-bottom: 0;
+}
+.prettyprint {
+ background: #000;
+}
+li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9
+{
+ color: #555;
+ list-style-type: decimal;
+}
+li.L1, li.L3, li.L5, li.L7, li.L9 {
+ background: #111;
+}
+@media print
+{
+ .str
+ {
+ color: #060;
+ }
+ .kwd
+ {
+ color: #006;
+ font-weight: bold;
+ }
+ .com
+ {
+ color: #600;
+ font-style: italic;
+ }
+ .typ
+ {
+ color: #404;
+ font-weight: bold;
+ }
+ .lit
+ {
+ color: #044;
+ }
+ .pun
+ {
+ color: #440;
+ }
+ .pln
+ {
+ color: #000;
+ }
+ .tag
+ {
+ color: #006;
+ font-weight: bold;
+ }
+ .atn
+ {
+ color: #404;
+ }
+ .atv
+ {
+ color: #060;
+ }
+}
diff --git a/1.2.19/docs/components/google-code-prettify-1.0.1/styles/sunburst.css b/1.2.19/docs/components/google-code-prettify-1.0.1/styles/sunburst.css
new file mode 100644
index 0000000000..011d33e2c8
--- /dev/null
+++ b/1.2.19/docs/components/google-code-prettify-1.0.1/styles/sunburst.css
@@ -0,0 +1,51 @@
+/* Pretty printing styles. Used with prettify.js. */
+/* Vim sunburst theme by David Leibovic */
+
+pre .str, code .str { color: #65B042; } /* string - green */
+pre .kwd, code .kwd { color: #E28964; } /* keyword - dark pink */
+pre .com, code .com { color: #AEAEAE; font-style: italic; } /* comment - gray */
+pre .typ, code .typ { color: #89bdff; } /* type - light blue */
+pre .lit, code .lit { color: #3387CC; } /* literal - blue */
+pre .pun, code .pun { color: #fff; } /* punctuation - white */
+pre .pln, code .pln { color: #fff; } /* plaintext - white */
+pre .tag, code .tag { color: #89bdff; } /* html/xml tag - light blue */
+pre .atn, code .atn { color: #bdb76b; } /* html/xml attribute name - khaki */
+pre .atv, code .atv { color: #65B042; } /* html/xml attribute value - green */
+pre .dec, code .dec { color: #3387CC; } /* decimal - blue */
+
+pre.prettyprint, code.prettyprint {
+ background-color: #000;
+ -moz-border-radius: 8px;
+ -webkit-border-radius: 8px;
+ -o-border-radius: 8px;
+ -ms-border-radius: 8px;
+ -khtml-border-radius: 8px;
+ border-radius: 8px;
+}
+
+pre.prettyprint {
+ width: 95%;
+ margin: 1em auto;
+ padding: 1em;
+ white-space: pre-wrap;
+}
+
+
+/* Specify class=linenums on a pre to get line numbering */
+ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE; } /* IE indents via margin-left */
+li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
+/* Alternate shading for lines */
+li.L1,li.L3,li.L5,li.L7,li.L9 { }
+
+@media print {
+ pre .str, code .str { color: #060; }
+ pre .kwd, code .kwd { color: #006; font-weight: bold; }
+ pre .com, code .com { color: #600; font-style: italic; }
+ pre .typ, code .typ { color: #404; font-weight: bold; }
+ pre .lit, code .lit { color: #044; }
+ pre .pun, code .pun { color: #440; }
+ pre .pln, code .pln { color: #000; }
+ pre .tag, code .tag { color: #006; font-weight: bold; }
+ pre .atn, code .atn { color: #404; }
+ pre .atv, code .atv { color: #060; }
+}
diff --git a/1.2.19/docs/components/jquery-1.10.2/jquery.js b/1.2.19/docs/components/jquery-1.10.2/jquery.js
new file mode 100644
index 0000000000..c5c648255c
--- /dev/null
+++ b/1.2.19/docs/components/jquery-1.10.2/jquery.js
@@ -0,0 +1,9789 @@
+/*!
+ * jQuery JavaScript Library v1.10.2
+ * http://jquery.com/
+ *
+ * Includes Sizzle.js
+ * http://sizzlejs.com/
+ *
+ * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
+ * Released under the MIT license
+ * http://jquery.org/license
+ *
+ * Date: 2013-07-03T13:48Z
+ */
+(function( window, undefined ) {
+
+// Can't do this because several apps including ASP.NET trace
+// the stack via arguments.caller.callee and Firefox dies if
+// you try to trace through "use strict" call chains. (#13335)
+// Support: Firefox 18+
+//"use strict";
+var
+ // The deferred used on DOM ready
+ readyList,
+
+ // A central reference to the root jQuery(document)
+ rootjQuery,
+
+ // Support: IE<10
+ // For `typeof xmlNode.method` instead of `xmlNode.method !== undefined`
+ core_strundefined = typeof undefined,
+
+ // Use the correct document accordingly with window argument (sandbox)
+ location = window.location,
+ document = window.document,
+ docElem = document.documentElement,
+
+ // Map over jQuery in case of overwrite
+ _jQuery = window.jQuery,
+
+ // Map over the $ in case of overwrite
+ _$ = window.$,
+
+ // [[Class]] -> type pairs
+ class2type = {},
+
+ // List of deleted data cache ids, so we can reuse them
+ core_deletedIds = [],
+
+ core_version = "1.10.2",
+
+ // Save a reference to some core methods
+ core_concat = core_deletedIds.concat,
+ core_push = core_deletedIds.push,
+ core_slice = core_deletedIds.slice,
+ core_indexOf = core_deletedIds.indexOf,
+ core_toString = class2type.toString,
+ core_hasOwn = class2type.hasOwnProperty,
+ core_trim = core_version.trim,
+
+ // Define a local copy of jQuery
+ jQuery = function( selector, context ) {
+ // The jQuery object is actually just the init constructor 'enhanced'
+ return new jQuery.fn.init( selector, context, rootjQuery );
+ },
+
+ // Used for matching numbers
+ core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
+
+ // Used for splitting on whitespace
+ core_rnotwhite = /\S+/g,
+
+ // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE)
+ rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
+
+ // A simple way to check for HTML strings
+ // Prioritize #id over to avoid XSS via location.hash (#9521)
+ // Strict HTML recognition (#11290: must start with <)
+ rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
+
+ // Match a standalone tag
+ rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
+
+ // JSON RegExp
+ rvalidchars = /^[\],:{}\s]*$/,
+ rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g,
+ rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,
+ rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,
+
+ // Matches dashed string for camelizing
+ rmsPrefix = /^-ms-/,
+ rdashAlpha = /-([\da-z])/gi,
+
+ // Used by jQuery.camelCase as callback to replace()
+ fcamelCase = function( all, letter ) {
+ return letter.toUpperCase();
+ },
+
+ // The ready event handler
+ completed = function( event ) {
+
+ // readyState === "complete" is good enough for us to call the dom ready in oldIE
+ if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) {
+ detach();
+ jQuery.ready();
+ }
+ },
+ // Clean-up method for dom ready events
+ detach = function() {
+ if ( document.addEventListener ) {
+ document.removeEventListener( "DOMContentLoaded", completed, false );
+ window.removeEventListener( "load", completed, false );
+
+ } else {
+ document.detachEvent( "onreadystatechange", completed );
+ window.detachEvent( "onload", completed );
+ }
+ };
+
+jQuery.fn = jQuery.prototype = {
+ // The current version of jQuery being used
+ jquery: core_version,
+
+ constructor: jQuery,
+ init: function( selector, context, rootjQuery ) {
+ var match, elem;
+
+ // HANDLE: $(""), $(null), $(undefined), $(false)
+ if ( !selector ) {
+ return this;
+ }
+
+ // Handle HTML strings
+ if ( typeof selector === "string" ) {
+ if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) {
+ // Assume that strings that start and end with <> are HTML and skip the regex check
+ match = [ null, selector, null ];
+
+ } else {
+ match = rquickExpr.exec( selector );
+ }
+
+ // Match html or make sure no context is specified for #id
+ if ( match && (match[1] || !context) ) {
+
+ // HANDLE: $(html) -> $(array)
+ if ( match[1] ) {
+ context = context instanceof jQuery ? context[0] : context;
+
+ // scripts is true for back-compat
+ jQuery.merge( this, jQuery.parseHTML(
+ match[1],
+ context && context.nodeType ? context.ownerDocument || context : document,
+ true
+ ) );
+
+ // HANDLE: $(html, props)
+ if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) {
+ for ( match in context ) {
+ // Properties of context are called as methods if possible
+ if ( jQuery.isFunction( this[ match ] ) ) {
+ this[ match ]( context[ match ] );
+
+ // ...and otherwise set as attributes
+ } else {
+ this.attr( match, context[ match ] );
+ }
+ }
+ }
+
+ return this;
+
+ // HANDLE: $(#id)
+ } else {
+ elem = document.getElementById( match[2] );
+
+ // Check parentNode to catch when Blackberry 4.6 returns
+ // nodes that are no longer in the document #6963
+ if ( elem && elem.parentNode ) {
+ // Handle the case where IE and Opera return items
+ // by name instead of ID
+ if ( elem.id !== match[2] ) {
+ return rootjQuery.find( selector );
+ }
+
+ // Otherwise, we inject the element directly into the jQuery object
+ this.length = 1;
+ this[0] = elem;
+ }
+
+ this.context = document;
+ this.selector = selector;
+ return this;
+ }
+
+ // HANDLE: $(expr, $(...))
+ } else if ( !context || context.jquery ) {
+ return ( context || rootjQuery ).find( selector );
+
+ // HANDLE: $(expr, context)
+ // (which is just equivalent to: $(context).find(expr)
+ } else {
+ return this.constructor( context ).find( selector );
+ }
+
+ // HANDLE: $(DOMElement)
+ } else if ( selector.nodeType ) {
+ this.context = this[0] = selector;
+ this.length = 1;
+ return this;
+
+ // HANDLE: $(function)
+ // Shortcut for document ready
+ } else if ( jQuery.isFunction( selector ) ) {
+ return rootjQuery.ready( selector );
+ }
+
+ if ( selector.selector !== undefined ) {
+ this.selector = selector.selector;
+ this.context = selector.context;
+ }
+
+ return jQuery.makeArray( selector, this );
+ },
+
+ // Start with an empty selector
+ selector: "",
+
+ // The default length of a jQuery object is 0
+ length: 0,
+
+ toArray: function() {
+ return core_slice.call( this );
+ },
+
+ // Get the Nth element in the matched element set OR
+ // Get the whole matched element set as a clean array
+ get: function( num ) {
+ return num == null ?
+
+ // Return a 'clean' array
+ this.toArray() :
+
+ // Return just the object
+ ( num < 0 ? this[ this.length + num ] : this[ num ] );
+ },
+
+ // Take an array of elements and push it onto the stack
+ // (returning the new matched element set)
+ pushStack: function( elems ) {
+
+ // Build a new jQuery matched element set
+ var ret = jQuery.merge( this.constructor(), elems );
+
+ // Add the old object onto the stack (as a reference)
+ ret.prevObject = this;
+ ret.context = this.context;
+
+ // Return the newly-formed element set
+ return ret;
+ },
+
+ // Execute a callback for every element in the matched set.
+ // (You can seed the arguments with an array of args, but this is
+ // only used internally.)
+ each: function( callback, args ) {
+ return jQuery.each( this, callback, args );
+ },
+
+ ready: function( fn ) {
+ // Add the callback
+ jQuery.ready.promise().done( fn );
+
+ return this;
+ },
+
+ slice: function() {
+ return this.pushStack( core_slice.apply( this, arguments ) );
+ },
+
+ first: function() {
+ return this.eq( 0 );
+ },
+
+ last: function() {
+ return this.eq( -1 );
+ },
+
+ eq: function( i ) {
+ var len = this.length,
+ j = +i + ( i < 0 ? len : 0 );
+ return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] );
+ },
+
+ map: function( callback ) {
+ return this.pushStack( jQuery.map(this, function( elem, i ) {
+ return callback.call( elem, i, elem );
+ }));
+ },
+
+ end: function() {
+ return this.prevObject || this.constructor(null);
+ },
+
+ // For internal use only.
+ // Behaves like an Array's method, not like a jQuery method.
+ push: core_push,
+ sort: [].sort,
+ splice: [].splice
+};
+
+// Give the init function the jQuery prototype for later instantiation
+jQuery.fn.init.prototype = jQuery.fn;
+
+jQuery.extend = jQuery.fn.extend = function() {
+ var src, copyIsArray, copy, name, options, clone,
+ target = arguments[0] || {},
+ i = 1,
+ length = arguments.length,
+ deep = false;
+
+ // Handle a deep copy situation
+ if ( typeof target === "boolean" ) {
+ deep = target;
+ target = arguments[1] || {};
+ // skip the boolean and the target
+ i = 2;
+ }
+
+ // Handle case when target is a string or something (possible in deep copy)
+ if ( typeof target !== "object" && !jQuery.isFunction(target) ) {
+ target = {};
+ }
+
+ // extend jQuery itself if only one argument is passed
+ if ( length === i ) {
+ target = this;
+ --i;
+ }
+
+ for ( ; i < length; i++ ) {
+ // Only deal with non-null/undefined values
+ if ( (options = arguments[ i ]) != null ) {
+ // Extend the base object
+ for ( name in options ) {
+ src = target[ name ];
+ copy = options[ name ];
+
+ // Prevent never-ending loop
+ if ( target === copy ) {
+ continue;
+ }
+
+ // Recurse if we're merging plain objects or arrays
+ if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) {
+ if ( copyIsArray ) {
+ copyIsArray = false;
+ clone = src && jQuery.isArray(src) ? src : [];
+
+ } else {
+ clone = src && jQuery.isPlainObject(src) ? src : {};
+ }
+
+ // Never move original objects, clone them
+ target[ name ] = jQuery.extend( deep, clone, copy );
+
+ // Don't bring in undefined values
+ } else if ( copy !== undefined ) {
+ target[ name ] = copy;
+ }
+ }
+ }
+ }
+
+ // Return the modified object
+ return target;
+};
+
+jQuery.extend({
+ // Unique for each copy of jQuery on the page
+ // Non-digits removed to match rinlinejQuery
+ expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ),
+
+ noConflict: function( deep ) {
+ if ( window.$ === jQuery ) {
+ window.$ = _$;
+ }
+
+ if ( deep && window.jQuery === jQuery ) {
+ window.jQuery = _jQuery;
+ }
+
+ return jQuery;
+ },
+
+ // Is the DOM ready to be used? Set to true once it occurs.
+ isReady: false,
+
+ // A counter to track how many items to wait for before
+ // the ready event fires. See #6781
+ readyWait: 1,
+
+ // Hold (or release) the ready event
+ holdReady: function( hold ) {
+ if ( hold ) {
+ jQuery.readyWait++;
+ } else {
+ jQuery.ready( true );
+ }
+ },
+
+ // Handle when the DOM is ready
+ ready: function( wait ) {
+
+ // Abort if there are pending holds or we're already ready
+ if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {
+ return;
+ }
+
+ // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
+ if ( !document.body ) {
+ return setTimeout( jQuery.ready );
+ }
+
+ // Remember that the DOM is ready
+ jQuery.isReady = true;
+
+ // If a normal DOM Ready event fired, decrement, and wait if need be
+ if ( wait !== true && --jQuery.readyWait > 0 ) {
+ return;
+ }
+
+ // If there are functions bound, to execute
+ readyList.resolveWith( document, [ jQuery ] );
+
+ // Trigger any bound ready events
+ if ( jQuery.fn.trigger ) {
+ jQuery( document ).trigger("ready").off("ready");
+ }
+ },
+
+ // See test/unit/core.js for details concerning isFunction.
+ // Since version 1.3, DOM methods and functions like alert
+ // aren't supported. They return false on IE (#2968).
+ isFunction: function( obj ) {
+ return jQuery.type(obj) === "function";
+ },
+
+ isArray: Array.isArray || function( obj ) {
+ return jQuery.type(obj) === "array";
+ },
+
+ isWindow: function( obj ) {
+ /* jshint eqeqeq: false */
+ return obj != null && obj == obj.window;
+ },
+
+ isNumeric: function( obj ) {
+ return !isNaN( parseFloat(obj) ) && isFinite( obj );
+ },
+
+ type: function( obj ) {
+ if ( obj == null ) {
+ return String( obj );
+ }
+ return typeof obj === "object" || typeof obj === "function" ?
+ class2type[ core_toString.call(obj) ] || "object" :
+ typeof obj;
+ },
+
+ isPlainObject: function( obj ) {
+ var key;
+
+ // Must be an Object.
+ // Because of IE, we also have to check the presence of the constructor property.
+ // Make sure that DOM nodes and window objects don't pass through, as well
+ if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {
+ return false;
+ }
+
+ try {
+ // Not own constructor property must be Object
+ if ( obj.constructor &&
+ !core_hasOwn.call(obj, "constructor") &&
+ !core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) {
+ return false;
+ }
+ } catch ( e ) {
+ // IE8,9 Will throw exceptions on certain host objects #9897
+ return false;
+ }
+
+ // Support: IE<9
+ // Handle iteration over inherited properties before own properties.
+ if ( jQuery.support.ownLast ) {
+ for ( key in obj ) {
+ return core_hasOwn.call( obj, key );
+ }
+ }
+
+ // Own properties are enumerated firstly, so to speed up,
+ // if last one is own, then all properties are own.
+ for ( key in obj ) {}
+
+ return key === undefined || core_hasOwn.call( obj, key );
+ },
+
+ isEmptyObject: function( obj ) {
+ var name;
+ for ( name in obj ) {
+ return false;
+ }
+ return true;
+ },
+
+ error: function( msg ) {
+ throw new Error( msg );
+ },
+
+ // data: string of html
+ // context (optional): If specified, the fragment will be created in this context, defaults to document
+ // keepScripts (optional): If true, will include scripts passed in the html string
+ parseHTML: function( data, context, keepScripts ) {
+ if ( !data || typeof data !== "string" ) {
+ return null;
+ }
+ if ( typeof context === "boolean" ) {
+ keepScripts = context;
+ context = false;
+ }
+ context = context || document;
+
+ var parsed = rsingleTag.exec( data ),
+ scripts = !keepScripts && [];
+
+ // Single tag
+ if ( parsed ) {
+ return [ context.createElement( parsed[1] ) ];
+ }
+
+ parsed = jQuery.buildFragment( [ data ], context, scripts );
+ if ( scripts ) {
+ jQuery( scripts ).remove();
+ }
+ return jQuery.merge( [], parsed.childNodes );
+ },
+
+ parseJSON: function( data ) {
+ // Attempt to parse using the native JSON parser first
+ if ( window.JSON && window.JSON.parse ) {
+ return window.JSON.parse( data );
+ }
+
+ if ( data === null ) {
+ return data;
+ }
+
+ if ( typeof data === "string" ) {
+
+ // Make sure leading/trailing whitespace is removed (IE can't handle it)
+ data = jQuery.trim( data );
+
+ if ( data ) {
+ // Make sure the incoming data is actual JSON
+ // Logic borrowed from http://json.org/json2.js
+ if ( rvalidchars.test( data.replace( rvalidescape, "@" )
+ .replace( rvalidtokens, "]" )
+ .replace( rvalidbraces, "")) ) {
+
+ return ( new Function( "return " + data ) )();
+ }
+ }
+ }
+
+ jQuery.error( "Invalid JSON: " + data );
+ },
+
+ // Cross-browser xml parsing
+ parseXML: function( data ) {
+ var xml, tmp;
+ if ( !data || typeof data !== "string" ) {
+ return null;
+ }
+ try {
+ if ( window.DOMParser ) { // Standard
+ tmp = new DOMParser();
+ xml = tmp.parseFromString( data , "text/xml" );
+ } else { // IE
+ xml = new ActiveXObject( "Microsoft.XMLDOM" );
+ xml.async = "false";
+ xml.loadXML( data );
+ }
+ } catch( e ) {
+ xml = undefined;
+ }
+ if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) {
+ jQuery.error( "Invalid XML: " + data );
+ }
+ return xml;
+ },
+
+ noop: function() {},
+
+ // Evaluates a script in a global context
+ // Workarounds based on findings by Jim Driscoll
+ // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context
+ globalEval: function( data ) {
+ if ( data && jQuery.trim( data ) ) {
+ // We use execScript on Internet Explorer
+ // We use an anonymous function so that context is window
+ // rather than jQuery in Firefox
+ ( window.execScript || function( data ) {
+ window[ "eval" ].call( window, data );
+ } )( data );
+ }
+ },
+
+ // Convert dashed to camelCase; used by the css and data modules
+ // Microsoft forgot to hump their vendor prefix (#9572)
+ camelCase: function( string ) {
+ return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
+ },
+
+ nodeName: function( elem, name ) {
+ return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
+ },
+
+ // args is for internal usage only
+ each: function( obj, callback, args ) {
+ var value,
+ i = 0,
+ length = obj.length,
+ isArray = isArraylike( obj );
+
+ if ( args ) {
+ if ( isArray ) {
+ for ( ; i < length; i++ ) {
+ value = callback.apply( obj[ i ], args );
+
+ if ( value === false ) {
+ break;
+ }
+ }
+ } else {
+ for ( i in obj ) {
+ value = callback.apply( obj[ i ], args );
+
+ if ( value === false ) {
+ break;
+ }
+ }
+ }
+
+ // A special, fast, case for the most common use of each
+ } else {
+ if ( isArray ) {
+ for ( ; i < length; i++ ) {
+ value = callback.call( obj[ i ], i, obj[ i ] );
+
+ if ( value === false ) {
+ break;
+ }
+ }
+ } else {
+ for ( i in obj ) {
+ value = callback.call( obj[ i ], i, obj[ i ] );
+
+ if ( value === false ) {
+ break;
+ }
+ }
+ }
+ }
+
+ return obj;
+ },
+
+ // Use native String.trim function wherever possible
+ trim: core_trim && !core_trim.call("\uFEFF\xA0") ?
+ function( text ) {
+ return text == null ?
+ "" :
+ core_trim.call( text );
+ } :
+
+ // Otherwise use our own trimming functionality
+ function( text ) {
+ return text == null ?
+ "" :
+ ( text + "" ).replace( rtrim, "" );
+ },
+
+ // results is for internal usage only
+ makeArray: function( arr, results ) {
+ var ret = results || [];
+
+ if ( arr != null ) {
+ if ( isArraylike( Object(arr) ) ) {
+ jQuery.merge( ret,
+ typeof arr === "string" ?
+ [ arr ] : arr
+ );
+ } else {
+ core_push.call( ret, arr );
+ }
+ }
+
+ return ret;
+ },
+
+ inArray: function( elem, arr, i ) {
+ var len;
+
+ if ( arr ) {
+ if ( core_indexOf ) {
+ return core_indexOf.call( arr, elem, i );
+ }
+
+ len = arr.length;
+ i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0;
+
+ for ( ; i < len; i++ ) {
+ // Skip accessing in sparse arrays
+ if ( i in arr && arr[ i ] === elem ) {
+ return i;
+ }
+ }
+ }
+
+ return -1;
+ },
+
+ merge: function( first, second ) {
+ var l = second.length,
+ i = first.length,
+ j = 0;
+
+ if ( typeof l === "number" ) {
+ for ( ; j < l; j++ ) {
+ first[ i++ ] = second[ j ];
+ }
+ } else {
+ while ( second[j] !== undefined ) {
+ first[ i++ ] = second[ j++ ];
+ }
+ }
+
+ first.length = i;
+
+ return first;
+ },
+
+ grep: function( elems, callback, inv ) {
+ var retVal,
+ ret = [],
+ i = 0,
+ length = elems.length;
+ inv = !!inv;
+
+ // Go through the array, only saving the items
+ // that pass the validator function
+ for ( ; i < length; i++ ) {
+ retVal = !!callback( elems[ i ], i );
+ if ( inv !== retVal ) {
+ ret.push( elems[ i ] );
+ }
+ }
+
+ return ret;
+ },
+
+ // arg is for internal usage only
+ map: function( elems, callback, arg ) {
+ var value,
+ i = 0,
+ length = elems.length,
+ isArray = isArraylike( elems ),
+ ret = [];
+
+ // Go through the array, translating each of the items to their
+ if ( isArray ) {
+ for ( ; i < length; i++ ) {
+ value = callback( elems[ i ], i, arg );
+
+ if ( value != null ) {
+ ret[ ret.length ] = value;
+ }
+ }
+
+ // Go through every key on the object,
+ } else {
+ for ( i in elems ) {
+ value = callback( elems[ i ], i, arg );
+
+ if ( value != null ) {
+ ret[ ret.length ] = value;
+ }
+ }
+ }
+
+ // Flatten any nested arrays
+ return core_concat.apply( [], ret );
+ },
+
+ // A global GUID counter for objects
+ guid: 1,
+
+ // Bind a function to a context, optionally partially applying any
+ // arguments.
+ proxy: function( fn, context ) {
+ var args, proxy, tmp;
+
+ if ( typeof context === "string" ) {
+ tmp = fn[ context ];
+ context = fn;
+ fn = tmp;
+ }
+
+ // Quick check to determine if target is callable, in the spec
+ // this throws a TypeError, but we will just return undefined.
+ if ( !jQuery.isFunction( fn ) ) {
+ return undefined;
+ }
+
+ // Simulated bind
+ args = core_slice.call( arguments, 2 );
+ proxy = function() {
+ return fn.apply( context || this, args.concat( core_slice.call( arguments ) ) );
+ };
+
+ // Set the guid of unique handler to the same of original handler, so it can be removed
+ proxy.guid = fn.guid = fn.guid || jQuery.guid++;
+
+ return proxy;
+ },
+
+ // Multifunctional method to get and set values of a collection
+ // The value/s can optionally be executed if it's a function
+ access: function( elems, fn, key, value, chainable, emptyGet, raw ) {
+ var i = 0,
+ length = elems.length,
+ bulk = key == null;
+
+ // Sets many values
+ if ( jQuery.type( key ) === "object" ) {
+ chainable = true;
+ for ( i in key ) {
+ jQuery.access( elems, fn, i, key[i], true, emptyGet, raw );
+ }
+
+ // Sets one value
+ } else if ( value !== undefined ) {
+ chainable = true;
+
+ if ( !jQuery.isFunction( value ) ) {
+ raw = true;
+ }
+
+ if ( bulk ) {
+ // Bulk operations run against the entire set
+ if ( raw ) {
+ fn.call( elems, value );
+ fn = null;
+
+ // ...except when executing function values
+ } else {
+ bulk = fn;
+ fn = function( elem, key, value ) {
+ return bulk.call( jQuery( elem ), value );
+ };
+ }
+ }
+
+ if ( fn ) {
+ for ( ; i < length; i++ ) {
+ fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) );
+ }
+ }
+ }
+
+ return chainable ?
+ elems :
+
+ // Gets
+ bulk ?
+ fn.call( elems ) :
+ length ? fn( elems[0], key ) : emptyGet;
+ },
+
+ now: function() {
+ return ( new Date() ).getTime();
+ },
+
+ // A method for quickly swapping in/out CSS properties to get correct calculations.
+ // Note: this method belongs to the css module but it's needed here for the support module.
+ // If support gets modularized, this method should be moved back to the css module.
+ swap: function( elem, options, callback, args ) {
+ var ret, name,
+ old = {};
+
+ // Remember the old values, and insert the new ones
+ for ( name in options ) {
+ old[ name ] = elem.style[ name ];
+ elem.style[ name ] = options[ name ];
+ }
+
+ ret = callback.apply( elem, args || [] );
+
+ // Revert the old values
+ for ( name in options ) {
+ elem.style[ name ] = old[ name ];
+ }
+
+ return ret;
+ }
+});
+
+jQuery.ready.promise = function( obj ) {
+ if ( !readyList ) {
+
+ readyList = jQuery.Deferred();
+
+ // Catch cases where $(document).ready() is called after the browser event has already occurred.
+ // we once tried to use readyState "interactive" here, but it caused issues like the one
+ // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15
+ if ( document.readyState === "complete" ) {
+ // Handle it asynchronously to allow scripts the opportunity to delay ready
+ setTimeout( jQuery.ready );
+
+ // Standards-based browsers support DOMContentLoaded
+ } else if ( document.addEventListener ) {
+ // Use the handy event callback
+ document.addEventListener( "DOMContentLoaded", completed, false );
+
+ // A fallback to window.onload, that will always work
+ window.addEventListener( "load", completed, false );
+
+ // If IE event model is used
+ } else {
+ // Ensure firing before onload, maybe late but safe also for iframes
+ document.attachEvent( "onreadystatechange", completed );
+
+ // A fallback to window.onload, that will always work
+ window.attachEvent( "onload", completed );
+
+ // If IE and not a frame
+ // continually check to see if the document is ready
+ var top = false;
+
+ try {
+ top = window.frameElement == null && document.documentElement;
+ } catch(e) {}
+
+ if ( top && top.doScroll ) {
+ (function doScrollCheck() {
+ if ( !jQuery.isReady ) {
+
+ try {
+ // Use the trick by Diego Perini
+ // http://javascript.nwbox.com/IEContentLoaded/
+ top.doScroll("left");
+ } catch(e) {
+ return setTimeout( doScrollCheck, 50 );
+ }
+
+ // detach all dom ready events
+ detach();
+
+ // and execute any waiting functions
+ jQuery.ready();
+ }
+ })();
+ }
+ }
+ }
+ return readyList.promise( obj );
+};
+
+// Populate the class2type map
+jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) {
+ class2type[ "[object " + name + "]" ] = name.toLowerCase();
+});
+
+function isArraylike( obj ) {
+ var length = obj.length,
+ type = jQuery.type( obj );
+
+ if ( jQuery.isWindow( obj ) ) {
+ return false;
+ }
+
+ if ( obj.nodeType === 1 && length ) {
+ return true;
+ }
+
+ return type === "array" || type !== "function" &&
+ ( length === 0 ||
+ typeof length === "number" && length > 0 && ( length - 1 ) in obj );
+}
+
+// All jQuery objects should point back to these
+rootjQuery = jQuery(document);
+/*!
+ * Sizzle CSS Selector Engine v1.10.2
+ * http://sizzlejs.com/
+ *
+ * Copyright 2013 jQuery Foundation, Inc. and other contributors
+ * Released under the MIT license
+ * http://jquery.org/license
+ *
+ * Date: 2013-07-03
+ */
+(function( window, undefined ) {
+
+var i,
+ support,
+ cachedruns,
+ Expr,
+ getText,
+ isXML,
+ compile,
+ outermostContext,
+ sortInput,
+
+ // Local document vars
+ setDocument,
+ document,
+ docElem,
+ documentIsHTML,
+ rbuggyQSA,
+ rbuggyMatches,
+ matches,
+ contains,
+
+ // Instance-specific data
+ expando = "sizzle" + -(new Date()),
+ preferredDoc = window.document,
+ dirruns = 0,
+ done = 0,
+ classCache = createCache(),
+ tokenCache = createCache(),
+ compilerCache = createCache(),
+ hasDuplicate = false,
+ sortOrder = function( a, b ) {
+ if ( a === b ) {
+ hasDuplicate = true;
+ return 0;
+ }
+ return 0;
+ },
+
+ // General-purpose constants
+ strundefined = typeof undefined,
+ MAX_NEGATIVE = 1 << 31,
+
+ // Instance methods
+ hasOwn = ({}).hasOwnProperty,
+ arr = [],
+ pop = arr.pop,
+ push_native = arr.push,
+ push = arr.push,
+ slice = arr.slice,
+ // Use a stripped-down indexOf if we can't use a native one
+ indexOf = arr.indexOf || function( elem ) {
+ var i = 0,
+ len = this.length;
+ for ( ; i < len; i++ ) {
+ if ( this[i] === elem ) {
+ return i;
+ }
+ }
+ return -1;
+ },
+
+ booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
+
+ // Regular expressions
+
+ // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace
+ whitespace = "[\\x20\\t\\r\\n\\f]",
+ // http://www.w3.org/TR/css3-syntax/#characters
+ characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
+
+ // Loosely modeled on CSS identifier characters
+ // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors
+ // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
+ identifier = characterEncoding.replace( "w", "w#" ),
+
+ // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors
+ attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace +
+ "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]",
+
+ // Prefer arguments quoted,
+ // then not containing pseudos/brackets,
+ // then attribute selectors/non-parenthetical expressions,
+ // then anything else
+ // These preferences are here to reduce the number of selectors
+ // needing tokenize in the PSEUDO preFilter
+ pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)",
+
+ // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter
+ rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ),
+
+ rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ),
+ rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ),
+
+ rsibling = new RegExp( whitespace + "*[+~]" ),
+ rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*)" + whitespace + "*\\]", "g" ),
+
+ rpseudo = new RegExp( pseudos ),
+ ridentifier = new RegExp( "^" + identifier + "$" ),
+
+ matchExpr = {
+ "ID": new RegExp( "^#(" + characterEncoding + ")" ),
+ "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ),
+ "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ),
+ "ATTR": new RegExp( "^" + attributes ),
+ "PSEUDO": new RegExp( "^" + pseudos ),
+ "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace +
+ "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace +
+ "*(\\d+)|))" + whitespace + "*\\)|)", "i" ),
+ "bool": new RegExp( "^(?:" + booleans + ")$", "i" ),
+ // For use in libraries implementing .is()
+ // We use this for POS matching in `select`
+ "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +
+ whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" )
+ },
+
+ rnative = /^[^{]+\{\s*\[native \w/,
+
+ // Easily-parseable/retrievable ID or TAG or CLASS selectors
+ rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
+
+ rinputs = /^(?:input|select|textarea|button)$/i,
+ rheader = /^h\d$/i,
+
+ rescape = /'|\\/g,
+
+ // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
+ runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ),
+ funescape = function( _, escaped, escapedWhitespace ) {
+ var high = "0x" + escaped - 0x10000;
+ // NaN means non-codepoint
+ // Support: Firefox
+ // Workaround erroneous numeric interpretation of +"0x"
+ return high !== high || escapedWhitespace ?
+ escaped :
+ // BMP codepoint
+ high < 0 ?
+ String.fromCharCode( high + 0x10000 ) :
+ // Supplemental Plane codepoint (surrogate pair)
+ String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );
+ };
+
+// Optimize for push.apply( _, NodeList )
+try {
+ push.apply(
+ (arr = slice.call( preferredDoc.childNodes )),
+ preferredDoc.childNodes
+ );
+ // Support: Android<4.0
+ // Detect silently failing push.apply
+ arr[ preferredDoc.childNodes.length ].nodeType;
+} catch ( e ) {
+ push = { apply: arr.length ?
+
+ // Leverage slice if possible
+ function( target, els ) {
+ push_native.apply( target, slice.call(els) );
+ } :
+
+ // Support: IE<9
+ // Otherwise append directly
+ function( target, els ) {
+ var j = target.length,
+ i = 0;
+ // Can't trust NodeList.length
+ while ( (target[j++] = els[i++]) ) {}
+ target.length = j - 1;
+ }
+ };
+}
+
+function Sizzle( selector, context, results, seed ) {
+ var match, elem, m, nodeType,
+ // QSA vars
+ i, groups, old, nid, newContext, newSelector;
+
+ if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) {
+ setDocument( context );
+ }
+
+ context = context || document;
+ results = results || [];
+
+ if ( !selector || typeof selector !== "string" ) {
+ return results;
+ }
+
+ if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) {
+ return [];
+ }
+
+ if ( documentIsHTML && !seed ) {
+
+ // Shortcuts
+ if ( (match = rquickExpr.exec( selector )) ) {
+ // Speed-up: Sizzle("#ID")
+ if ( (m = match[1]) ) {
+ if ( nodeType === 9 ) {
+ elem = context.getElementById( m );
+ // Check parentNode to catch when Blackberry 4.6 returns
+ // nodes that are no longer in the document #6963
+ if ( elem && elem.parentNode ) {
+ // Handle the case where IE, Opera, and Webkit return items
+ // by name instead of ID
+ if ( elem.id === m ) {
+ results.push( elem );
+ return results;
+ }
+ } else {
+ return results;
+ }
+ } else {
+ // Context is not a document
+ if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) &&
+ contains( context, elem ) && elem.id === m ) {
+ results.push( elem );
+ return results;
+ }
+ }
+
+ // Speed-up: Sizzle("TAG")
+ } else if ( match[2] ) {
+ push.apply( results, context.getElementsByTagName( selector ) );
+ return results;
+
+ // Speed-up: Sizzle(".CLASS")
+ } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) {
+ push.apply( results, context.getElementsByClassName( m ) );
+ return results;
+ }
+ }
+
+ // QSA path
+ if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) {
+ nid = old = expando;
+ newContext = context;
+ newSelector = nodeType === 9 && selector;
+
+ // qSA works strangely on Element-rooted queries
+ // We can work around this by specifying an extra ID on the root
+ // and working up from there (Thanks to Andrew Dupont for the technique)
+ // IE 8 doesn't work on object elements
+ if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) {
+ groups = tokenize( selector );
+
+ if ( (old = context.getAttribute("id")) ) {
+ nid = old.replace( rescape, "\\$&" );
+ } else {
+ context.setAttribute( "id", nid );
+ }
+ nid = "[id='" + nid + "'] ";
+
+ i = groups.length;
+ while ( i-- ) {
+ groups[i] = nid + toSelector( groups[i] );
+ }
+ newContext = rsibling.test( selector ) && context.parentNode || context;
+ newSelector = groups.join(",");
+ }
+
+ if ( newSelector ) {
+ try {
+ push.apply( results,
+ newContext.querySelectorAll( newSelector )
+ );
+ return results;
+ } catch(qsaError) {
+ } finally {
+ if ( !old ) {
+ context.removeAttribute("id");
+ }
+ }
+ }
+ }
+ }
+
+ // All others
+ return select( selector.replace( rtrim, "$1" ), context, results, seed );
+}
+
+/**
+ * Create key-value caches of limited size
+ * @returns {Function(string, Object)} Returns the Object data after storing it on itself with
+ * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)
+ * deleting the oldest entry
+ */
+function createCache() {
+ var keys = [];
+
+ function cache( key, value ) {
+ // Use (key + " ") to avoid collision with native prototype properties (see Issue #157)
+ if ( keys.push( key += " " ) > Expr.cacheLength ) {
+ // Only keep the most recent entries
+ delete cache[ keys.shift() ];
+ }
+ return (cache[ key ] = value);
+ }
+ return cache;
+}
+
+/**
+ * Mark a function for special use by Sizzle
+ * @param {Function} fn The function to mark
+ */
+function markFunction( fn ) {
+ fn[ expando ] = true;
+ return fn;
+}
+
+/**
+ * Support testing using an element
+ * @param {Function} fn Passed the created div and expects a boolean result
+ */
+function assert( fn ) {
+ var div = document.createElement("div");
+
+ try {
+ return !!fn( div );
+ } catch (e) {
+ return false;
+ } finally {
+ // Remove from its parent by default
+ if ( div.parentNode ) {
+ div.parentNode.removeChild( div );
+ }
+ // release memory in IE
+ div = null;
+ }
+}
+
+/**
+ * Adds the same handler for all of the specified attrs
+ * @param {String} attrs Pipe-separated list of attributes
+ * @param {Function} handler The method that will be applied
+ */
+function addHandle( attrs, handler ) {
+ var arr = attrs.split("|"),
+ i = attrs.length;
+
+ while ( i-- ) {
+ Expr.attrHandle[ arr[i] ] = handler;
+ }
+}
+
+/**
+ * Checks document order of two siblings
+ * @param {Element} a
+ * @param {Element} b
+ * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b
+ */
+function siblingCheck( a, b ) {
+ var cur = b && a,
+ diff = cur && a.nodeType === 1 && b.nodeType === 1 &&
+ ( ~b.sourceIndex || MAX_NEGATIVE ) -
+ ( ~a.sourceIndex || MAX_NEGATIVE );
+
+ // Use IE sourceIndex if available on both nodes
+ if ( diff ) {
+ return diff;
+ }
+
+ // Check if b follows a
+ if ( cur ) {
+ while ( (cur = cur.nextSibling) ) {
+ if ( cur === b ) {
+ return -1;
+ }
+ }
+ }
+
+ return a ? 1 : -1;
+}
+
+/**
+ * Returns a function to use in pseudos for input types
+ * @param {String} type
+ */
+function createInputPseudo( type ) {
+ return function( elem ) {
+ var name = elem.nodeName.toLowerCase();
+ return name === "input" && elem.type === type;
+ };
+}
+
+/**
+ * Returns a function to use in pseudos for buttons
+ * @param {String} type
+ */
+function createButtonPseudo( type ) {
+ return function( elem ) {
+ var name = elem.nodeName.toLowerCase();
+ return (name === "input" || name === "button") && elem.type === type;
+ };
+}
+
+/**
+ * Returns a function to use in pseudos for positionals
+ * @param {Function} fn
+ */
+function createPositionalPseudo( fn ) {
+ return markFunction(function( argument ) {
+ argument = +argument;
+ return markFunction(function( seed, matches ) {
+ var j,
+ matchIndexes = fn( [], seed.length, argument ),
+ i = matchIndexes.length;
+
+ // Match elements found at the specified indexes
+ while ( i-- ) {
+ if ( seed[ (j = matchIndexes[i]) ] ) {
+ seed[j] = !(matches[j] = seed[j]);
+ }
+ }
+ });
+ });
+}
+
+/**
+ * Detect xml
+ * @param {Element|Object} elem An element or a document
+ */
+isXML = Sizzle.isXML = function( elem ) {
+ // documentElement is verified for cases where it doesn't yet exist
+ // (such as loading iframes in IE - #4833)
+ var documentElement = elem && (elem.ownerDocument || elem).documentElement;
+ return documentElement ? documentElement.nodeName !== "HTML" : false;
+};
+
+// Expose support vars for convenience
+support = Sizzle.support = {};
+
+/**
+ * Sets document-related variables once based on the current document
+ * @param {Element|Object} [doc] An element or document object to use to set the document
+ * @returns {Object} Returns the current document
+ */
+setDocument = Sizzle.setDocument = function( node ) {
+ var doc = node ? node.ownerDocument || node : preferredDoc,
+ parent = doc.defaultView;
+
+ // If no document and documentElement is available, return
+ if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {
+ return document;
+ }
+
+ // Set our document
+ document = doc;
+ docElem = doc.documentElement;
+
+ // Support tests
+ documentIsHTML = !isXML( doc );
+
+ // Support: IE>8
+ // If iframe document is assigned to "document" variable and if iframe has been reloaded,
+ // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936
+ // IE6-8 do not support the defaultView property so parent will be undefined
+ if ( parent && parent.attachEvent && parent !== parent.top ) {
+ parent.attachEvent( "onbeforeunload", function() {
+ setDocument();
+ });
+ }
+
+ /* Attributes
+ ---------------------------------------------------------------------- */
+
+ // Support: IE<8
+ // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans)
+ support.attributes = assert(function( div ) {
+ div.className = "i";
+ return !div.getAttribute("className");
+ });
+
+ /* getElement(s)By*
+ ---------------------------------------------------------------------- */
+
+ // Check if getElementsByTagName("*") returns only elements
+ support.getElementsByTagName = assert(function( div ) {
+ div.appendChild( doc.createComment("") );
+ return !div.getElementsByTagName("*").length;
+ });
+
+ // Check if getElementsByClassName can be trusted
+ support.getElementsByClassName = assert(function( div ) {
+ div.innerHTML = "
";
+
+ // Support: Safari<4
+ // Catch class over-caching
+ div.firstChild.className = "i";
+ // Support: Opera<10
+ // Catch gEBCN failure to find non-leading classes
+ return div.getElementsByClassName("i").length === 2;
+ });
+
+ // Support: IE<10
+ // Check if getElementById returns elements by name
+ // The broken getElementById methods don't pick up programatically-set names,
+ // so use a roundabout getElementsByName test
+ support.getById = assert(function( div ) {
+ docElem.appendChild( div ).id = expando;
+ return !doc.getElementsByName || !doc.getElementsByName( expando ).length;
+ });
+
+ // ID find and filter
+ if ( support.getById ) {
+ Expr.find["ID"] = function( id, context ) {
+ if ( typeof context.getElementById !== strundefined && documentIsHTML ) {
+ var m = context.getElementById( id );
+ // Check parentNode to catch when Blackberry 4.6 returns
+ // nodes that are no longer in the document #6963
+ return m && m.parentNode ? [m] : [];
+ }
+ };
+ Expr.filter["ID"] = function( id ) {
+ var attrId = id.replace( runescape, funescape );
+ return function( elem ) {
+ return elem.getAttribute("id") === attrId;
+ };
+ };
+ } else {
+ // Support: IE6/7
+ // getElementById is not reliable as a find shortcut
+ delete Expr.find["ID"];
+
+ Expr.filter["ID"] = function( id ) {
+ var attrId = id.replace( runescape, funescape );
+ return function( elem ) {
+ var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id");
+ return node && node.value === attrId;
+ };
+ };
+ }
+
+ // Tag
+ Expr.find["TAG"] = support.getElementsByTagName ?
+ function( tag, context ) {
+ if ( typeof context.getElementsByTagName !== strundefined ) {
+ return context.getElementsByTagName( tag );
+ }
+ } :
+ function( tag, context ) {
+ var elem,
+ tmp = [],
+ i = 0,
+ results = context.getElementsByTagName( tag );
+
+ // Filter out possible comments
+ if ( tag === "*" ) {
+ while ( (elem = results[i++]) ) {
+ if ( elem.nodeType === 1 ) {
+ tmp.push( elem );
+ }
+ }
+
+ return tmp;
+ }
+ return results;
+ };
+
+ // Class
+ Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) {
+ if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) {
+ return context.getElementsByClassName( className );
+ }
+ };
+
+ /* QSA/matchesSelector
+ ---------------------------------------------------------------------- */
+
+ // QSA and matchesSelector support
+
+ // matchesSelector(:active) reports false when true (IE9/Opera 11.5)
+ rbuggyMatches = [];
+
+ // qSa(:focus) reports false when true (Chrome 21)
+ // We allow this because of a bug in IE8/9 that throws an error
+ // whenever `document.activeElement` is accessed on an iframe
+ // So, we allow :focus to pass through QSA all the time to avoid the IE error
+ // See http://bugs.jquery.com/ticket/13378
+ rbuggyQSA = [];
+
+ if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) {
+ // Build QSA regex
+ // Regex strategy adopted from Diego Perini
+ assert(function( div ) {
+ // Select is set to empty string on purpose
+ // This is to test IE's treatment of not explicitly
+ // setting a boolean content attribute,
+ // since its presence should be enough
+ // http://bugs.jquery.com/ticket/12359
+ div.innerHTML = " ";
+
+ // Support: IE8
+ // Boolean attributes and "value" are not treated correctly
+ if ( !div.querySelectorAll("[selected]").length ) {
+ rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" );
+ }
+
+ // Webkit/Opera - :checked should return selected option elements
+ // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
+ // IE8 throws error here and will not see later tests
+ if ( !div.querySelectorAll(":checked").length ) {
+ rbuggyQSA.push(":checked");
+ }
+ });
+
+ assert(function( div ) {
+
+ // Support: Opera 10-12/IE8
+ // ^= $= *= and empty values
+ // Should not select anything
+ // Support: Windows 8 Native Apps
+ // The type attribute is restricted during .innerHTML assignment
+ var input = doc.createElement("input");
+ input.setAttribute( "type", "hidden" );
+ div.appendChild( input ).setAttribute( "t", "" );
+
+ if ( div.querySelectorAll("[t^='']").length ) {
+ rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" );
+ }
+
+ // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)
+ // IE8 throws error here and will not see later tests
+ if ( !div.querySelectorAll(":enabled").length ) {
+ rbuggyQSA.push( ":enabled", ":disabled" );
+ }
+
+ // Opera 10-11 does not throw on post-comma invalid pseudos
+ div.querySelectorAll("*,:x");
+ rbuggyQSA.push(",.*:");
+ });
+ }
+
+ if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector ||
+ docElem.mozMatchesSelector ||
+ docElem.oMatchesSelector ||
+ docElem.msMatchesSelector) )) ) {
+
+ assert(function( div ) {
+ // Check to see if it's possible to do matchesSelector
+ // on a disconnected node (IE 9)
+ support.disconnectedMatch = matches.call( div, "div" );
+
+ // This should fail with an exception
+ // Gecko does not error, returns false instead
+ matches.call( div, "[s!='']:x" );
+ rbuggyMatches.push( "!=", pseudos );
+ });
+ }
+
+ rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") );
+ rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") );
+
+ /* Contains
+ ---------------------------------------------------------------------- */
+
+ // Element contains another
+ // Purposefully does not implement inclusive descendent
+ // As in, an element does not contain itself
+ contains = rnative.test( docElem.contains ) || docElem.compareDocumentPosition ?
+ function( a, b ) {
+ var adown = a.nodeType === 9 ? a.documentElement : a,
+ bup = b && b.parentNode;
+ return a === bup || !!( bup && bup.nodeType === 1 && (
+ adown.contains ?
+ adown.contains( bup ) :
+ a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16
+ ));
+ } :
+ function( a, b ) {
+ if ( b ) {
+ while ( (b = b.parentNode) ) {
+ if ( b === a ) {
+ return true;
+ }
+ }
+ }
+ return false;
+ };
+
+ /* Sorting
+ ---------------------------------------------------------------------- */
+
+ // Document order sorting
+ sortOrder = docElem.compareDocumentPosition ?
+ function( a, b ) {
+
+ // Flag for duplicate removal
+ if ( a === b ) {
+ hasDuplicate = true;
+ return 0;
+ }
+
+ var compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition( b );
+
+ if ( compare ) {
+ // Disconnected nodes
+ if ( compare & 1 ||
+ (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {
+
+ // Choose the first element that is related to our preferred document
+ if ( a === doc || contains(preferredDoc, a) ) {
+ return -1;
+ }
+ if ( b === doc || contains(preferredDoc, b) ) {
+ return 1;
+ }
+
+ // Maintain original order
+ return sortInput ?
+ ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :
+ 0;
+ }
+
+ return compare & 4 ? -1 : 1;
+ }
+
+ // Not directly comparable, sort on existence of method
+ return a.compareDocumentPosition ? -1 : 1;
+ } :
+ function( a, b ) {
+ var cur,
+ i = 0,
+ aup = a.parentNode,
+ bup = b.parentNode,
+ ap = [ a ],
+ bp = [ b ];
+
+ // Exit early if the nodes are identical
+ if ( a === b ) {
+ hasDuplicate = true;
+ return 0;
+
+ // Parentless nodes are either documents or disconnected
+ } else if ( !aup || !bup ) {
+ return a === doc ? -1 :
+ b === doc ? 1 :
+ aup ? -1 :
+ bup ? 1 :
+ sortInput ?
+ ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :
+ 0;
+
+ // If the nodes are siblings, we can do a quick check
+ } else if ( aup === bup ) {
+ return siblingCheck( a, b );
+ }
+
+ // Otherwise we need full lists of their ancestors for comparison
+ cur = a;
+ while ( (cur = cur.parentNode) ) {
+ ap.unshift( cur );
+ }
+ cur = b;
+ while ( (cur = cur.parentNode) ) {
+ bp.unshift( cur );
+ }
+
+ // Walk down the tree looking for a discrepancy
+ while ( ap[i] === bp[i] ) {
+ i++;
+ }
+
+ return i ?
+ // Do a sibling check if the nodes have a common ancestor
+ siblingCheck( ap[i], bp[i] ) :
+
+ // Otherwise nodes in our document sort first
+ ap[i] === preferredDoc ? -1 :
+ bp[i] === preferredDoc ? 1 :
+ 0;
+ };
+
+ return doc;
+};
+
+Sizzle.matches = function( expr, elements ) {
+ return Sizzle( expr, null, null, elements );
+};
+
+Sizzle.matchesSelector = function( elem, expr ) {
+ // Set document vars if needed
+ if ( ( elem.ownerDocument || elem ) !== document ) {
+ setDocument( elem );
+ }
+
+ // Make sure that attribute selectors are quoted
+ expr = expr.replace( rattributeQuotes, "='$1']" );
+
+ if ( support.matchesSelector && documentIsHTML &&
+ ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
+ ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {
+
+ try {
+ var ret = matches.call( elem, expr );
+
+ // IE 9's matchesSelector returns false on disconnected nodes
+ if ( ret || support.disconnectedMatch ||
+ // As well, disconnected nodes are said to be in a document
+ // fragment in IE 9
+ elem.document && elem.document.nodeType !== 11 ) {
+ return ret;
+ }
+ } catch(e) {}
+ }
+
+ return Sizzle( expr, document, null, [elem] ).length > 0;
+};
+
+Sizzle.contains = function( context, elem ) {
+ // Set document vars if needed
+ if ( ( context.ownerDocument || context ) !== document ) {
+ setDocument( context );
+ }
+ return contains( context, elem );
+};
+
+Sizzle.attr = function( elem, name ) {
+ // Set document vars if needed
+ if ( ( elem.ownerDocument || elem ) !== document ) {
+ setDocument( elem );
+ }
+
+ var fn = Expr.attrHandle[ name.toLowerCase() ],
+ // Don't get fooled by Object.prototype properties (jQuery #13807)
+ val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?
+ fn( elem, name, !documentIsHTML ) :
+ undefined;
+
+ return val === undefined ?
+ support.attributes || !documentIsHTML ?
+ elem.getAttribute( name ) :
+ (val = elem.getAttributeNode(name)) && val.specified ?
+ val.value :
+ null :
+ val;
+};
+
+Sizzle.error = function( msg ) {
+ throw new Error( "Syntax error, unrecognized expression: " + msg );
+};
+
+/**
+ * Document sorting and removing duplicates
+ * @param {ArrayLike} results
+ */
+Sizzle.uniqueSort = function( results ) {
+ var elem,
+ duplicates = [],
+ j = 0,
+ i = 0;
+
+ // Unless we *know* we can detect duplicates, assume their presence
+ hasDuplicate = !support.detectDuplicates;
+ sortInput = !support.sortStable && results.slice( 0 );
+ results.sort( sortOrder );
+
+ if ( hasDuplicate ) {
+ while ( (elem = results[i++]) ) {
+ if ( elem === results[ i ] ) {
+ j = duplicates.push( i );
+ }
+ }
+ while ( j-- ) {
+ results.splice( duplicates[ j ], 1 );
+ }
+ }
+
+ return results;
+};
+
+/**
+ * Utility function for retrieving the text value of an array of DOM nodes
+ * @param {Array|Element} elem
+ */
+getText = Sizzle.getText = function( elem ) {
+ var node,
+ ret = "",
+ i = 0,
+ nodeType = elem.nodeType;
+
+ if ( !nodeType ) {
+ // If no nodeType, this is expected to be an array
+ for ( ; (node = elem[i]); i++ ) {
+ // Do not traverse comment nodes
+ ret += getText( node );
+ }
+ } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {
+ // Use textContent for elements
+ // innerText usage removed for consistency of new lines (see #11153)
+ if ( typeof elem.textContent === "string" ) {
+ return elem.textContent;
+ } else {
+ // Traverse its children
+ for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
+ ret += getText( elem );
+ }
+ }
+ } else if ( nodeType === 3 || nodeType === 4 ) {
+ return elem.nodeValue;
+ }
+ // Do not include comment or processing instruction nodes
+
+ return ret;
+};
+
+Expr = Sizzle.selectors = {
+
+ // Can be adjusted by the user
+ cacheLength: 50,
+
+ createPseudo: markFunction,
+
+ match: matchExpr,
+
+ attrHandle: {},
+
+ find: {},
+
+ relative: {
+ ">": { dir: "parentNode", first: true },
+ " ": { dir: "parentNode" },
+ "+": { dir: "previousSibling", first: true },
+ "~": { dir: "previousSibling" }
+ },
+
+ preFilter: {
+ "ATTR": function( match ) {
+ match[1] = match[1].replace( runescape, funescape );
+
+ // Move the given value to match[3] whether quoted or unquoted
+ match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape );
+
+ if ( match[2] === "~=" ) {
+ match[3] = " " + match[3] + " ";
+ }
+
+ return match.slice( 0, 4 );
+ },
+
+ "CHILD": function( match ) {
+ /* matches from matchExpr["CHILD"]
+ 1 type (only|nth|...)
+ 2 what (child|of-type)
+ 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)
+ 4 xn-component of xn+y argument ([+-]?\d*n|)
+ 5 sign of xn-component
+ 6 x of xn-component
+ 7 sign of y-component
+ 8 y of y-component
+ */
+ match[1] = match[1].toLowerCase();
+
+ if ( match[1].slice( 0, 3 ) === "nth" ) {
+ // nth-* requires argument
+ if ( !match[3] ) {
+ Sizzle.error( match[0] );
+ }
+
+ // numeric x and y parameters for Expr.filter.CHILD
+ // remember that false/true cast respectively to 0/1
+ match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) );
+ match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" );
+
+ // other types prohibit arguments
+ } else if ( match[3] ) {
+ Sizzle.error( match[0] );
+ }
+
+ return match;
+ },
+
+ "PSEUDO": function( match ) {
+ var excess,
+ unquoted = !match[5] && match[2];
+
+ if ( matchExpr["CHILD"].test( match[0] ) ) {
+ return null;
+ }
+
+ // Accept quoted arguments as-is
+ if ( match[3] && match[4] !== undefined ) {
+ match[2] = match[4];
+
+ // Strip excess characters from unquoted arguments
+ } else if ( unquoted && rpseudo.test( unquoted ) &&
+ // Get excess from tokenize (recursively)
+ (excess = tokenize( unquoted, true )) &&
+ // advance to the next closing parenthesis
+ (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) {
+
+ // excess is a negative index
+ match[0] = match[0].slice( 0, excess );
+ match[2] = unquoted.slice( 0, excess );
+ }
+
+ // Return only captures needed by the pseudo filter method (type and argument)
+ return match.slice( 0, 3 );
+ }
+ },
+
+ filter: {
+
+ "TAG": function( nodeNameSelector ) {
+ var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();
+ return nodeNameSelector === "*" ?
+ function() { return true; } :
+ function( elem ) {
+ return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;
+ };
+ },
+
+ "CLASS": function( className ) {
+ var pattern = classCache[ className + " " ];
+
+ return pattern ||
+ (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) &&
+ classCache( className, function( elem ) {
+ return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" );
+ });
+ },
+
+ "ATTR": function( name, operator, check ) {
+ return function( elem ) {
+ var result = Sizzle.attr( elem, name );
+
+ if ( result == null ) {
+ return operator === "!=";
+ }
+ if ( !operator ) {
+ return true;
+ }
+
+ result += "";
+
+ return operator === "=" ? result === check :
+ operator === "!=" ? result !== check :
+ operator === "^=" ? check && result.indexOf( check ) === 0 :
+ operator === "*=" ? check && result.indexOf( check ) > -1 :
+ operator === "$=" ? check && result.slice( -check.length ) === check :
+ operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 :
+ operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" :
+ false;
+ };
+ },
+
+ "CHILD": function( type, what, argument, first, last ) {
+ var simple = type.slice( 0, 3 ) !== "nth",
+ forward = type.slice( -4 ) !== "last",
+ ofType = what === "of-type";
+
+ return first === 1 && last === 0 ?
+
+ // Shortcut for :nth-*(n)
+ function( elem ) {
+ return !!elem.parentNode;
+ } :
+
+ function( elem, context, xml ) {
+ var cache, outerCache, node, diff, nodeIndex, start,
+ dir = simple !== forward ? "nextSibling" : "previousSibling",
+ parent = elem.parentNode,
+ name = ofType && elem.nodeName.toLowerCase(),
+ useCache = !xml && !ofType;
+
+ if ( parent ) {
+
+ // :(first|last|only)-(child|of-type)
+ if ( simple ) {
+ while ( dir ) {
+ node = elem;
+ while ( (node = node[ dir ]) ) {
+ if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) {
+ return false;
+ }
+ }
+ // Reverse direction for :only-* (if we haven't yet done so)
+ start = dir = type === "only" && !start && "nextSibling";
+ }
+ return true;
+ }
+
+ start = [ forward ? parent.firstChild : parent.lastChild ];
+
+ // non-xml :nth-child(...) stores cache data on `parent`
+ if ( forward && useCache ) {
+ // Seek `elem` from a previously-cached index
+ outerCache = parent[ expando ] || (parent[ expando ] = {});
+ cache = outerCache[ type ] || [];
+ nodeIndex = cache[0] === dirruns && cache[1];
+ diff = cache[0] === dirruns && cache[2];
+ node = nodeIndex && parent.childNodes[ nodeIndex ];
+
+ while ( (node = ++nodeIndex && node && node[ dir ] ||
+
+ // Fallback to seeking `elem` from the start
+ (diff = nodeIndex = 0) || start.pop()) ) {
+
+ // When found, cache indexes on `parent` and break
+ if ( node.nodeType === 1 && ++diff && node === elem ) {
+ outerCache[ type ] = [ dirruns, nodeIndex, diff ];
+ break;
+ }
+ }
+
+ // Use previously-cached element index if available
+ } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) {
+ diff = cache[1];
+
+ // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)
+ } else {
+ // Use the same loop as above to seek `elem` from the start
+ while ( (node = ++nodeIndex && node && node[ dir ] ||
+ (diff = nodeIndex = 0) || start.pop()) ) {
+
+ if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) {
+ // Cache the index of each encountered element
+ if ( useCache ) {
+ (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ];
+ }
+
+ if ( node === elem ) {
+ break;
+ }
+ }
+ }
+ }
+
+ // Incorporate the offset, then check against cycle size
+ diff -= last;
+ return diff === first || ( diff % first === 0 && diff / first >= 0 );
+ }
+ };
+ },
+
+ "PSEUDO": function( pseudo, argument ) {
+ // pseudo-class names are case-insensitive
+ // http://www.w3.org/TR/selectors/#pseudo-classes
+ // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
+ // Remember that setFilters inherits from pseudos
+ var args,
+ fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||
+ Sizzle.error( "unsupported pseudo: " + pseudo );
+
+ // The user may use createPseudo to indicate that
+ // arguments are needed to create the filter function
+ // just as Sizzle does
+ if ( fn[ expando ] ) {
+ return fn( argument );
+ }
+
+ // But maintain support for old signatures
+ if ( fn.length > 1 ) {
+ args = [ pseudo, pseudo, "", argument ];
+ return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?
+ markFunction(function( seed, matches ) {
+ var idx,
+ matched = fn( seed, argument ),
+ i = matched.length;
+ while ( i-- ) {
+ idx = indexOf.call( seed, matched[i] );
+ seed[ idx ] = !( matches[ idx ] = matched[i] );
+ }
+ }) :
+ function( elem ) {
+ return fn( elem, 0, args );
+ };
+ }
+
+ return fn;
+ }
+ },
+
+ pseudos: {
+ // Potentially complex pseudos
+ "not": markFunction(function( selector ) {
+ // Trim the selector passed to compile
+ // to avoid treating leading and trailing
+ // spaces as combinators
+ var input = [],
+ results = [],
+ matcher = compile( selector.replace( rtrim, "$1" ) );
+
+ return matcher[ expando ] ?
+ markFunction(function( seed, matches, context, xml ) {
+ var elem,
+ unmatched = matcher( seed, null, xml, [] ),
+ i = seed.length;
+
+ // Match elements unmatched by `matcher`
+ while ( i-- ) {
+ if ( (elem = unmatched[i]) ) {
+ seed[i] = !(matches[i] = elem);
+ }
+ }
+ }) :
+ function( elem, context, xml ) {
+ input[0] = elem;
+ matcher( input, null, xml, results );
+ return !results.pop();
+ };
+ }),
+
+ "has": markFunction(function( selector ) {
+ return function( elem ) {
+ return Sizzle( selector, elem ).length > 0;
+ };
+ }),
+
+ "contains": markFunction(function( text ) {
+ return function( elem ) {
+ return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1;
+ };
+ }),
+
+ // "Whether an element is represented by a :lang() selector
+ // is based solely on the element's language value
+ // being equal to the identifier C,
+ // or beginning with the identifier C immediately followed by "-".
+ // The matching of C against the element's language value is performed case-insensitively.
+ // The identifier C does not have to be a valid language name."
+ // http://www.w3.org/TR/selectors/#lang-pseudo
+ "lang": markFunction( function( lang ) {
+ // lang value must be a valid identifier
+ if ( !ridentifier.test(lang || "") ) {
+ Sizzle.error( "unsupported lang: " + lang );
+ }
+ lang = lang.replace( runescape, funescape ).toLowerCase();
+ return function( elem ) {
+ var elemLang;
+ do {
+ if ( (elemLang = documentIsHTML ?
+ elem.lang :
+ elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) {
+
+ elemLang = elemLang.toLowerCase();
+ return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0;
+ }
+ } while ( (elem = elem.parentNode) && elem.nodeType === 1 );
+ return false;
+ };
+ }),
+
+ // Miscellaneous
+ "target": function( elem ) {
+ var hash = window.location && window.location.hash;
+ return hash && hash.slice( 1 ) === elem.id;
+ },
+
+ "root": function( elem ) {
+ return elem === docElem;
+ },
+
+ "focus": function( elem ) {
+ return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);
+ },
+
+ // Boolean properties
+ "enabled": function( elem ) {
+ return elem.disabled === false;
+ },
+
+ "disabled": function( elem ) {
+ return elem.disabled === true;
+ },
+
+ "checked": function( elem ) {
+ // In CSS3, :checked should return both checked and selected elements
+ // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
+ var nodeName = elem.nodeName.toLowerCase();
+ return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected);
+ },
+
+ "selected": function( elem ) {
+ // Accessing this property makes selected-by-default
+ // options in Safari work properly
+ if ( elem.parentNode ) {
+ elem.parentNode.selectedIndex;
+ }
+
+ return elem.selected === true;
+ },
+
+ // Contents
+ "empty": function( elem ) {
+ // http://www.w3.org/TR/selectors/#empty-pseudo
+ // :empty is only affected by element nodes and content nodes(including text(3), cdata(4)),
+ // not comment, processing instructions, or others
+ // Thanks to Diego Perini for the nodeName shortcut
+ // Greater than "@" means alpha characters (specifically not starting with "#" or "?")
+ for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
+ if ( elem.nodeName > "@" || elem.nodeType === 3 || elem.nodeType === 4 ) {
+ return false;
+ }
+ }
+ return true;
+ },
+
+ "parent": function( elem ) {
+ return !Expr.pseudos["empty"]( elem );
+ },
+
+ // Element/input types
+ "header": function( elem ) {
+ return rheader.test( elem.nodeName );
+ },
+
+ "input": function( elem ) {
+ return rinputs.test( elem.nodeName );
+ },
+
+ "button": function( elem ) {
+ var name = elem.nodeName.toLowerCase();
+ return name === "input" && elem.type === "button" || name === "button";
+ },
+
+ "text": function( elem ) {
+ var attr;
+ // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc)
+ // use getAttribute instead to test this case
+ return elem.nodeName.toLowerCase() === "input" &&
+ elem.type === "text" &&
+ ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === elem.type );
+ },
+
+ // Position-in-collection
+ "first": createPositionalPseudo(function() {
+ return [ 0 ];
+ }),
+
+ "last": createPositionalPseudo(function( matchIndexes, length ) {
+ return [ length - 1 ];
+ }),
+
+ "eq": createPositionalPseudo(function( matchIndexes, length, argument ) {
+ return [ argument < 0 ? argument + length : argument ];
+ }),
+
+ "even": createPositionalPseudo(function( matchIndexes, length ) {
+ var i = 0;
+ for ( ; i < length; i += 2 ) {
+ matchIndexes.push( i );
+ }
+ return matchIndexes;
+ }),
+
+ "odd": createPositionalPseudo(function( matchIndexes, length ) {
+ var i = 1;
+ for ( ; i < length; i += 2 ) {
+ matchIndexes.push( i );
+ }
+ return matchIndexes;
+ }),
+
+ "lt": createPositionalPseudo(function( matchIndexes, length, argument ) {
+ var i = argument < 0 ? argument + length : argument;
+ for ( ; --i >= 0; ) {
+ matchIndexes.push( i );
+ }
+ return matchIndexes;
+ }),
+
+ "gt": createPositionalPseudo(function( matchIndexes, length, argument ) {
+ var i = argument < 0 ? argument + length : argument;
+ for ( ; ++i < length; ) {
+ matchIndexes.push( i );
+ }
+ return matchIndexes;
+ })
+ }
+};
+
+Expr.pseudos["nth"] = Expr.pseudos["eq"];
+
+// Add button/input type pseudos
+for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {
+ Expr.pseudos[ i ] = createInputPseudo( i );
+}
+for ( i in { submit: true, reset: true } ) {
+ Expr.pseudos[ i ] = createButtonPseudo( i );
+}
+
+// Easy API for creating new setFilters
+function setFilters() {}
+setFilters.prototype = Expr.filters = Expr.pseudos;
+Expr.setFilters = new setFilters();
+
+function tokenize( selector, parseOnly ) {
+ var matched, match, tokens, type,
+ soFar, groups, preFilters,
+ cached = tokenCache[ selector + " " ];
+
+ if ( cached ) {
+ return parseOnly ? 0 : cached.slice( 0 );
+ }
+
+ soFar = selector;
+ groups = [];
+ preFilters = Expr.preFilter;
+
+ while ( soFar ) {
+
+ // Comma and first run
+ if ( !matched || (match = rcomma.exec( soFar )) ) {
+ if ( match ) {
+ // Don't consume trailing commas as valid
+ soFar = soFar.slice( match[0].length ) || soFar;
+ }
+ groups.push( tokens = [] );
+ }
+
+ matched = false;
+
+ // Combinators
+ if ( (match = rcombinators.exec( soFar )) ) {
+ matched = match.shift();
+ tokens.push({
+ value: matched,
+ // Cast descendant combinators to space
+ type: match[0].replace( rtrim, " " )
+ });
+ soFar = soFar.slice( matched.length );
+ }
+
+ // Filters
+ for ( type in Expr.filter ) {
+ if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||
+ (match = preFilters[ type ]( match ))) ) {
+ matched = match.shift();
+ tokens.push({
+ value: matched,
+ type: type,
+ matches: match
+ });
+ soFar = soFar.slice( matched.length );
+ }
+ }
+
+ if ( !matched ) {
+ break;
+ }
+ }
+
+ // Return the length of the invalid excess
+ // if we're just parsing
+ // Otherwise, throw an error or return tokens
+ return parseOnly ?
+ soFar.length :
+ soFar ?
+ Sizzle.error( selector ) :
+ // Cache the tokens
+ tokenCache( selector, groups ).slice( 0 );
+}
+
+function toSelector( tokens ) {
+ var i = 0,
+ len = tokens.length,
+ selector = "";
+ for ( ; i < len; i++ ) {
+ selector += tokens[i].value;
+ }
+ return selector;
+}
+
+function addCombinator( matcher, combinator, base ) {
+ var dir = combinator.dir,
+ checkNonElements = base && dir === "parentNode",
+ doneName = done++;
+
+ return combinator.first ?
+ // Check against closest ancestor/preceding element
+ function( elem, context, xml ) {
+ while ( (elem = elem[ dir ]) ) {
+ if ( elem.nodeType === 1 || checkNonElements ) {
+ return matcher( elem, context, xml );
+ }
+ }
+ } :
+
+ // Check against all ancestor/preceding elements
+ function( elem, context, xml ) {
+ var data, cache, outerCache,
+ dirkey = dirruns + " " + doneName;
+
+ // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching
+ if ( xml ) {
+ while ( (elem = elem[ dir ]) ) {
+ if ( elem.nodeType === 1 || checkNonElements ) {
+ if ( matcher( elem, context, xml ) ) {
+ return true;
+ }
+ }
+ }
+ } else {
+ while ( (elem = elem[ dir ]) ) {
+ if ( elem.nodeType === 1 || checkNonElements ) {
+ outerCache = elem[ expando ] || (elem[ expando ] = {});
+ if ( (cache = outerCache[ dir ]) && cache[0] === dirkey ) {
+ if ( (data = cache[1]) === true || data === cachedruns ) {
+ return data === true;
+ }
+ } else {
+ cache = outerCache[ dir ] = [ dirkey ];
+ cache[1] = matcher( elem, context, xml ) || cachedruns;
+ if ( cache[1] === true ) {
+ return true;
+ }
+ }
+ }
+ }
+ }
+ };
+}
+
+function elementMatcher( matchers ) {
+ return matchers.length > 1 ?
+ function( elem, context, xml ) {
+ var i = matchers.length;
+ while ( i-- ) {
+ if ( !matchers[i]( elem, context, xml ) ) {
+ return false;
+ }
+ }
+ return true;
+ } :
+ matchers[0];
+}
+
+function condense( unmatched, map, filter, context, xml ) {
+ var elem,
+ newUnmatched = [],
+ i = 0,
+ len = unmatched.length,
+ mapped = map != null;
+
+ for ( ; i < len; i++ ) {
+ if ( (elem = unmatched[i]) ) {
+ if ( !filter || filter( elem, context, xml ) ) {
+ newUnmatched.push( elem );
+ if ( mapped ) {
+ map.push( i );
+ }
+ }
+ }
+ }
+
+ return newUnmatched;
+}
+
+function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
+ if ( postFilter && !postFilter[ expando ] ) {
+ postFilter = setMatcher( postFilter );
+ }
+ if ( postFinder && !postFinder[ expando ] ) {
+ postFinder = setMatcher( postFinder, postSelector );
+ }
+ return markFunction(function( seed, results, context, xml ) {
+ var temp, i, elem,
+ preMap = [],
+ postMap = [],
+ preexisting = results.length,
+
+ // Get initial elements from seed or context
+ elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ),
+
+ // Prefilter to get matcher input, preserving a map for seed-results synchronization
+ matcherIn = preFilter && ( seed || !selector ) ?
+ condense( elems, preMap, preFilter, context, xml ) :
+ elems,
+
+ matcherOut = matcher ?
+ // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
+ postFinder || ( seed ? preFilter : preexisting || postFilter ) ?
+
+ // ...intermediate processing is necessary
+ [] :
+
+ // ...otherwise use results directly
+ results :
+ matcherIn;
+
+ // Find primary matches
+ if ( matcher ) {
+ matcher( matcherIn, matcherOut, context, xml );
+ }
+
+ // Apply postFilter
+ if ( postFilter ) {
+ temp = condense( matcherOut, postMap );
+ postFilter( temp, [], context, xml );
+
+ // Un-match failing elements by moving them back to matcherIn
+ i = temp.length;
+ while ( i-- ) {
+ if ( (elem = temp[i]) ) {
+ matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem);
+ }
+ }
+ }
+
+ if ( seed ) {
+ if ( postFinder || preFilter ) {
+ if ( postFinder ) {
+ // Get the final matcherOut by condensing this intermediate into postFinder contexts
+ temp = [];
+ i = matcherOut.length;
+ while ( i-- ) {
+ if ( (elem = matcherOut[i]) ) {
+ // Restore matcherIn since elem is not yet a final match
+ temp.push( (matcherIn[i] = elem) );
+ }
+ }
+ postFinder( null, (matcherOut = []), temp, xml );
+ }
+
+ // Move matched elements from seed to results to keep them synchronized
+ i = matcherOut.length;
+ while ( i-- ) {
+ if ( (elem = matcherOut[i]) &&
+ (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) {
+
+ seed[temp] = !(results[temp] = elem);
+ }
+ }
+ }
+
+ // Add elements to results, through postFinder if defined
+ } else {
+ matcherOut = condense(
+ matcherOut === results ?
+ matcherOut.splice( preexisting, matcherOut.length ) :
+ matcherOut
+ );
+ if ( postFinder ) {
+ postFinder( null, results, matcherOut, xml );
+ } else {
+ push.apply( results, matcherOut );
+ }
+ }
+ });
+}
+
+function matcherFromTokens( tokens ) {
+ var checkContext, matcher, j,
+ len = tokens.length,
+ leadingRelative = Expr.relative[ tokens[0].type ],
+ implicitRelative = leadingRelative || Expr.relative[" "],
+ i = leadingRelative ? 1 : 0,
+
+ // The foundational matcher ensures that elements are reachable from top-level context(s)
+ matchContext = addCombinator( function( elem ) {
+ return elem === checkContext;
+ }, implicitRelative, true ),
+ matchAnyContext = addCombinator( function( elem ) {
+ return indexOf.call( checkContext, elem ) > -1;
+ }, implicitRelative, true ),
+ matchers = [ function( elem, context, xml ) {
+ return ( !leadingRelative && ( xml || context !== outermostContext ) ) || (
+ (checkContext = context).nodeType ?
+ matchContext( elem, context, xml ) :
+ matchAnyContext( elem, context, xml ) );
+ } ];
+
+ for ( ; i < len; i++ ) {
+ if ( (matcher = Expr.relative[ tokens[i].type ]) ) {
+ matchers = [ addCombinator(elementMatcher( matchers ), matcher) ];
+ } else {
+ matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches );
+
+ // Return special upon seeing a positional matcher
+ if ( matcher[ expando ] ) {
+ // Find the next relative operator (if any) for proper handling
+ j = ++i;
+ for ( ; j < len; j++ ) {
+ if ( Expr.relative[ tokens[j].type ] ) {
+ break;
+ }
+ }
+ return setMatcher(
+ i > 1 && elementMatcher( matchers ),
+ i > 1 && toSelector(
+ // If the preceding token was a descendant combinator, insert an implicit any-element `*`
+ tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" })
+ ).replace( rtrim, "$1" ),
+ matcher,
+ i < j && matcherFromTokens( tokens.slice( i, j ) ),
+ j < len && matcherFromTokens( (tokens = tokens.slice( j )) ),
+ j < len && toSelector( tokens )
+ );
+ }
+ matchers.push( matcher );
+ }
+ }
+
+ return elementMatcher( matchers );
+}
+
+function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
+ // A counter to specify which element is currently being matched
+ var matcherCachedRuns = 0,
+ bySet = setMatchers.length > 0,
+ byElement = elementMatchers.length > 0,
+ superMatcher = function( seed, context, xml, results, expandContext ) {
+ var elem, j, matcher,
+ setMatched = [],
+ matchedCount = 0,
+ i = "0",
+ unmatched = seed && [],
+ outermost = expandContext != null,
+ contextBackup = outermostContext,
+ // We must always have either seed elements or context
+ elems = seed || byElement && Expr.find["TAG"]( "*", expandContext && context.parentNode || context ),
+ // Use integer dirruns iff this is the outermost matcher
+ dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1);
+
+ if ( outermost ) {
+ outermostContext = context !== document && context;
+ cachedruns = matcherCachedRuns;
+ }
+
+ // Add elements passing elementMatchers directly to results
+ // Keep `i` a string if there are no elements so `matchedCount` will be "00" below
+ for ( ; (elem = elems[i]) != null; i++ ) {
+ if ( byElement && elem ) {
+ j = 0;
+ while ( (matcher = elementMatchers[j++]) ) {
+ if ( matcher( elem, context, xml ) ) {
+ results.push( elem );
+ break;
+ }
+ }
+ if ( outermost ) {
+ dirruns = dirrunsUnique;
+ cachedruns = ++matcherCachedRuns;
+ }
+ }
+
+ // Track unmatched elements for set filters
+ if ( bySet ) {
+ // They will have gone through all possible matchers
+ if ( (elem = !matcher && elem) ) {
+ matchedCount--;
+ }
+
+ // Lengthen the array for every element, matched or not
+ if ( seed ) {
+ unmatched.push( elem );
+ }
+ }
+ }
+
+ // Apply set filters to unmatched elements
+ matchedCount += i;
+ if ( bySet && i !== matchedCount ) {
+ j = 0;
+ while ( (matcher = setMatchers[j++]) ) {
+ matcher( unmatched, setMatched, context, xml );
+ }
+
+ if ( seed ) {
+ // Reintegrate element matches to eliminate the need for sorting
+ if ( matchedCount > 0 ) {
+ while ( i-- ) {
+ if ( !(unmatched[i] || setMatched[i]) ) {
+ setMatched[i] = pop.call( results );
+ }
+ }
+ }
+
+ // Discard index placeholder values to get only actual matches
+ setMatched = condense( setMatched );
+ }
+
+ // Add matches to results
+ push.apply( results, setMatched );
+
+ // Seedless set matches succeeding multiple successful matchers stipulate sorting
+ if ( outermost && !seed && setMatched.length > 0 &&
+ ( matchedCount + setMatchers.length ) > 1 ) {
+
+ Sizzle.uniqueSort( results );
+ }
+ }
+
+ // Override manipulation of globals by nested matchers
+ if ( outermost ) {
+ dirruns = dirrunsUnique;
+ outermostContext = contextBackup;
+ }
+
+ return unmatched;
+ };
+
+ return bySet ?
+ markFunction( superMatcher ) :
+ superMatcher;
+}
+
+compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) {
+ var i,
+ setMatchers = [],
+ elementMatchers = [],
+ cached = compilerCache[ selector + " " ];
+
+ if ( !cached ) {
+ // Generate a function of recursive functions that can be used to check each element
+ if ( !group ) {
+ group = tokenize( selector );
+ }
+ i = group.length;
+ while ( i-- ) {
+ cached = matcherFromTokens( group[i] );
+ if ( cached[ expando ] ) {
+ setMatchers.push( cached );
+ } else {
+ elementMatchers.push( cached );
+ }
+ }
+
+ // Cache the compiled function
+ cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) );
+ }
+ return cached;
+};
+
+function multipleContexts( selector, contexts, results ) {
+ var i = 0,
+ len = contexts.length;
+ for ( ; i < len; i++ ) {
+ Sizzle( selector, contexts[i], results );
+ }
+ return results;
+}
+
+function select( selector, context, results, seed ) {
+ var i, tokens, token, type, find,
+ match = tokenize( selector );
+
+ if ( !seed ) {
+ // Try to minimize operations if there is only one group
+ if ( match.length === 1 ) {
+
+ // Take a shortcut and set the context if the root selector is an ID
+ tokens = match[0] = match[0].slice( 0 );
+ if ( tokens.length > 2 && (token = tokens[0]).type === "ID" &&
+ support.getById && context.nodeType === 9 && documentIsHTML &&
+ Expr.relative[ tokens[1].type ] ) {
+
+ context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];
+ if ( !context ) {
+ return results;
+ }
+ selector = selector.slice( tokens.shift().value.length );
+ }
+
+ // Fetch a seed set for right-to-left matching
+ i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length;
+ while ( i-- ) {
+ token = tokens[i];
+
+ // Abort if we hit a combinator
+ if ( Expr.relative[ (type = token.type) ] ) {
+ break;
+ }
+ if ( (find = Expr.find[ type ]) ) {
+ // Search, expanding context for leading sibling combinators
+ if ( (seed = find(
+ token.matches[0].replace( runescape, funescape ),
+ rsibling.test( tokens[0].type ) && context.parentNode || context
+ )) ) {
+
+ // If seed is empty or no tokens remain, we can return early
+ tokens.splice( i, 1 );
+ selector = seed.length && toSelector( tokens );
+ if ( !selector ) {
+ push.apply( results, seed );
+ return results;
+ }
+
+ break;
+ }
+ }
+ }
+ }
+ }
+
+ // Compile and execute a filtering function
+ // Provide `match` to avoid retokenization if we modified the selector above
+ compile( selector, match )(
+ seed,
+ context,
+ !documentIsHTML,
+ results,
+ rsibling.test( selector )
+ );
+ return results;
+}
+
+// One-time assignments
+
+// Sort stability
+support.sortStable = expando.split("").sort( sortOrder ).join("") === expando;
+
+// Support: Chrome<14
+// Always assume duplicates if they aren't passed to the comparison function
+support.detectDuplicates = hasDuplicate;
+
+// Initialize against the default document
+setDocument();
+
+// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)
+// Detached nodes confoundingly follow *each other*
+support.sortDetached = assert(function( div1 ) {
+ // Should return 1, but returns 4 (following)
+ return div1.compareDocumentPosition( document.createElement("div") ) & 1;
+});
+
+// Support: IE<8
+// Prevent attribute/property "interpolation"
+// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
+if ( !assert(function( div ) {
+ div.innerHTML = " ";
+ return div.firstChild.getAttribute("href") === "#" ;
+}) ) {
+ addHandle( "type|href|height|width", function( elem, name, isXML ) {
+ if ( !isXML ) {
+ return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 );
+ }
+ });
+}
+
+// Support: IE<9
+// Use defaultValue in place of getAttribute("value")
+if ( !support.attributes || !assert(function( div ) {
+ div.innerHTML = " ";
+ div.firstChild.setAttribute( "value", "" );
+ return div.firstChild.getAttribute( "value" ) === "";
+}) ) {
+ addHandle( "value", function( elem, name, isXML ) {
+ if ( !isXML && elem.nodeName.toLowerCase() === "input" ) {
+ return elem.defaultValue;
+ }
+ });
+}
+
+// Support: IE<9
+// Use getAttributeNode to fetch booleans when getAttribute lies
+if ( !assert(function( div ) {
+ return div.getAttribute("disabled") == null;
+}) ) {
+ addHandle( booleans, function( elem, name, isXML ) {
+ var val;
+ if ( !isXML ) {
+ return (val = elem.getAttributeNode( name )) && val.specified ?
+ val.value :
+ elem[ name ] === true ? name.toLowerCase() : null;
+ }
+ });
+}
+
+jQuery.find = Sizzle;
+jQuery.expr = Sizzle.selectors;
+jQuery.expr[":"] = jQuery.expr.pseudos;
+jQuery.unique = Sizzle.uniqueSort;
+jQuery.text = Sizzle.getText;
+jQuery.isXMLDoc = Sizzle.isXML;
+jQuery.contains = Sizzle.contains;
+
+
+})( window );
+// String to Object options format cache
+var optionsCache = {};
+
+// Convert String-formatted options into Object-formatted ones and store in cache
+function createOptions( options ) {
+ var object = optionsCache[ options ] = {};
+ jQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) {
+ object[ flag ] = true;
+ });
+ return object;
+}
+
+/*
+ * Create a callback list using the following parameters:
+ *
+ * options: an optional list of space-separated options that will change how
+ * the callback list behaves or a more traditional option object
+ *
+ * By default a callback list will act like an event callback list and can be
+ * "fired" multiple times.
+ *
+ * Possible options:
+ *
+ * once: will ensure the callback list can only be fired once (like a Deferred)
+ *
+ * memory: will keep track of previous values and will call any callback added
+ * after the list has been fired right away with the latest "memorized"
+ * values (like a Deferred)
+ *
+ * unique: will ensure a callback can only be added once (no duplicate in the list)
+ *
+ * stopOnFalse: interrupt callings when a callback returns false
+ *
+ */
+jQuery.Callbacks = function( options ) {
+
+ // Convert options from String-formatted to Object-formatted if needed
+ // (we check in cache first)
+ options = typeof options === "string" ?
+ ( optionsCache[ options ] || createOptions( options ) ) :
+ jQuery.extend( {}, options );
+
+ var // Flag to know if list is currently firing
+ firing,
+ // Last fire value (for non-forgettable lists)
+ memory,
+ // Flag to know if list was already fired
+ fired,
+ // End of the loop when firing
+ firingLength,
+ // Index of currently firing callback (modified by remove if needed)
+ firingIndex,
+ // First callback to fire (used internally by add and fireWith)
+ firingStart,
+ // Actual callback list
+ list = [],
+ // Stack of fire calls for repeatable lists
+ stack = !options.once && [],
+ // Fire callbacks
+ fire = function( data ) {
+ memory = options.memory && data;
+ fired = true;
+ firingIndex = firingStart || 0;
+ firingStart = 0;
+ firingLength = list.length;
+ firing = true;
+ for ( ; list && firingIndex < firingLength; firingIndex++ ) {
+ if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) {
+ memory = false; // To prevent further calls using add
+ break;
+ }
+ }
+ firing = false;
+ if ( list ) {
+ if ( stack ) {
+ if ( stack.length ) {
+ fire( stack.shift() );
+ }
+ } else if ( memory ) {
+ list = [];
+ } else {
+ self.disable();
+ }
+ }
+ },
+ // Actual Callbacks object
+ self = {
+ // Add a callback or a collection of callbacks to the list
+ add: function() {
+ if ( list ) {
+ // First, we save the current length
+ var start = list.length;
+ (function add( args ) {
+ jQuery.each( args, function( _, arg ) {
+ var type = jQuery.type( arg );
+ if ( type === "function" ) {
+ if ( !options.unique || !self.has( arg ) ) {
+ list.push( arg );
+ }
+ } else if ( arg && arg.length && type !== "string" ) {
+ // Inspect recursively
+ add( arg );
+ }
+ });
+ })( arguments );
+ // Do we need to add the callbacks to the
+ // current firing batch?
+ if ( firing ) {
+ firingLength = list.length;
+ // With memory, if we're not firing then
+ // we should call right away
+ } else if ( memory ) {
+ firingStart = start;
+ fire( memory );
+ }
+ }
+ return this;
+ },
+ // Remove a callback from the list
+ remove: function() {
+ if ( list ) {
+ jQuery.each( arguments, function( _, arg ) {
+ var index;
+ while( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {
+ list.splice( index, 1 );
+ // Handle firing indexes
+ if ( firing ) {
+ if ( index <= firingLength ) {
+ firingLength--;
+ }
+ if ( index <= firingIndex ) {
+ firingIndex--;
+ }
+ }
+ }
+ });
+ }
+ return this;
+ },
+ // Check if a given callback is in the list.
+ // If no argument is given, return whether or not list has callbacks attached.
+ has: function( fn ) {
+ return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length );
+ },
+ // Remove all callbacks from the list
+ empty: function() {
+ list = [];
+ firingLength = 0;
+ return this;
+ },
+ // Have the list do nothing anymore
+ disable: function() {
+ list = stack = memory = undefined;
+ return this;
+ },
+ // Is it disabled?
+ disabled: function() {
+ return !list;
+ },
+ // Lock the list in its current state
+ lock: function() {
+ stack = undefined;
+ if ( !memory ) {
+ self.disable();
+ }
+ return this;
+ },
+ // Is it locked?
+ locked: function() {
+ return !stack;
+ },
+ // Call all callbacks with the given context and arguments
+ fireWith: function( context, args ) {
+ if ( list && ( !fired || stack ) ) {
+ args = args || [];
+ args = [ context, args.slice ? args.slice() : args ];
+ if ( firing ) {
+ stack.push( args );
+ } else {
+ fire( args );
+ }
+ }
+ return this;
+ },
+ // Call all the callbacks with the given arguments
+ fire: function() {
+ self.fireWith( this, arguments );
+ return this;
+ },
+ // To know if the callbacks have already been called at least once
+ fired: function() {
+ return !!fired;
+ }
+ };
+
+ return self;
+};
+jQuery.extend({
+
+ Deferred: function( func ) {
+ var tuples = [
+ // action, add listener, listener list, final state
+ [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ],
+ [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ],
+ [ "notify", "progress", jQuery.Callbacks("memory") ]
+ ],
+ state = "pending",
+ promise = {
+ state: function() {
+ return state;
+ },
+ always: function() {
+ deferred.done( arguments ).fail( arguments );
+ return this;
+ },
+ then: function( /* fnDone, fnFail, fnProgress */ ) {
+ var fns = arguments;
+ return jQuery.Deferred(function( newDefer ) {
+ jQuery.each( tuples, function( i, tuple ) {
+ var action = tuple[ 0 ],
+ fn = jQuery.isFunction( fns[ i ] ) && fns[ i ];
+ // deferred[ done | fail | progress ] for forwarding actions to newDefer
+ deferred[ tuple[1] ](function() {
+ var returned = fn && fn.apply( this, arguments );
+ if ( returned && jQuery.isFunction( returned.promise ) ) {
+ returned.promise()
+ .done( newDefer.resolve )
+ .fail( newDefer.reject )
+ .progress( newDefer.notify );
+ } else {
+ newDefer[ action + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments );
+ }
+ });
+ });
+ fns = null;
+ }).promise();
+ },
+ // Get a promise for this deferred
+ // If obj is provided, the promise aspect is added to the object
+ promise: function( obj ) {
+ return obj != null ? jQuery.extend( obj, promise ) : promise;
+ }
+ },
+ deferred = {};
+
+ // Keep pipe for back-compat
+ promise.pipe = promise.then;
+
+ // Add list-specific methods
+ jQuery.each( tuples, function( i, tuple ) {
+ var list = tuple[ 2 ],
+ stateString = tuple[ 3 ];
+
+ // promise[ done | fail | progress ] = list.add
+ promise[ tuple[1] ] = list.add;
+
+ // Handle state
+ if ( stateString ) {
+ list.add(function() {
+ // state = [ resolved | rejected ]
+ state = stateString;
+
+ // [ reject_list | resolve_list ].disable; progress_list.lock
+ }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock );
+ }
+
+ // deferred[ resolve | reject | notify ]
+ deferred[ tuple[0] ] = function() {
+ deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments );
+ return this;
+ };
+ deferred[ tuple[0] + "With" ] = list.fireWith;
+ });
+
+ // Make the deferred a promise
+ promise.promise( deferred );
+
+ // Call given func if any
+ if ( func ) {
+ func.call( deferred, deferred );
+ }
+
+ // All done!
+ return deferred;
+ },
+
+ // Deferred helper
+ when: function( subordinate /* , ..., subordinateN */ ) {
+ var i = 0,
+ resolveValues = core_slice.call( arguments ),
+ length = resolveValues.length,
+
+ // the count of uncompleted subordinates
+ remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0,
+
+ // the master Deferred. If resolveValues consist of only a single Deferred, just use that.
+ deferred = remaining === 1 ? subordinate : jQuery.Deferred(),
+
+ // Update function for both resolve and progress values
+ updateFunc = function( i, contexts, values ) {
+ return function( value ) {
+ contexts[ i ] = this;
+ values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value;
+ if( values === progressValues ) {
+ deferred.notifyWith( contexts, values );
+ } else if ( !( --remaining ) ) {
+ deferred.resolveWith( contexts, values );
+ }
+ };
+ },
+
+ progressValues, progressContexts, resolveContexts;
+
+ // add listeners to Deferred subordinates; treat others as resolved
+ if ( length > 1 ) {
+ progressValues = new Array( length );
+ progressContexts = new Array( length );
+ resolveContexts = new Array( length );
+ for ( ; i < length; i++ ) {
+ if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) {
+ resolveValues[ i ].promise()
+ .done( updateFunc( i, resolveContexts, resolveValues ) )
+ .fail( deferred.reject )
+ .progress( updateFunc( i, progressContexts, progressValues ) );
+ } else {
+ --remaining;
+ }
+ }
+ }
+
+ // if we're not waiting on anything, resolve the master
+ if ( !remaining ) {
+ deferred.resolveWith( resolveContexts, resolveValues );
+ }
+
+ return deferred.promise();
+ }
+});
+jQuery.support = (function( support ) {
+
+ var all, a, input, select, fragment, opt, eventName, isSupported, i,
+ div = document.createElement("div");
+
+ // Setup
+ div.setAttribute( "className", "t" );
+ div.innerHTML = " a ";
+
+ // Finish early in limited (non-browser) environments
+ all = div.getElementsByTagName("*") || [];
+ a = div.getElementsByTagName("a")[ 0 ];
+ if ( !a || !a.style || !all.length ) {
+ return support;
+ }
+
+ // First batch of tests
+ select = document.createElement("select");
+ opt = select.appendChild( document.createElement("option") );
+ input = div.getElementsByTagName("input")[ 0 ];
+
+ a.style.cssText = "top:1px;float:left;opacity:.5";
+
+ // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7)
+ support.getSetAttribute = div.className !== "t";
+
+ // IE strips leading whitespace when .innerHTML is used
+ support.leadingWhitespace = div.firstChild.nodeType === 3;
+
+ // Make sure that tbody elements aren't automatically inserted
+ // IE will insert them into empty tables
+ support.tbody = !div.getElementsByTagName("tbody").length;
+
+ // Make sure that link elements get serialized correctly by innerHTML
+ // This requires a wrapper element in IE
+ support.htmlSerialize = !!div.getElementsByTagName("link").length;
+
+ // Get the style information from getAttribute
+ // (IE uses .cssText instead)
+ support.style = /top/.test( a.getAttribute("style") );
+
+ // Make sure that URLs aren't manipulated
+ // (IE normalizes it by default)
+ support.hrefNormalized = a.getAttribute("href") === "/a";
+
+ // Make sure that element opacity exists
+ // (IE uses filter instead)
+ // Use a regex to work around a WebKit issue. See #5145
+ support.opacity = /^0.5/.test( a.style.opacity );
+
+ // Verify style float existence
+ // (IE uses styleFloat instead of cssFloat)
+ support.cssFloat = !!a.style.cssFloat;
+
+ // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere)
+ support.checkOn = !!input.value;
+
+ // Make sure that a selected-by-default option has a working selected property.
+ // (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
+ support.optSelected = opt.selected;
+
+ // Tests for enctype support on a form (#6743)
+ support.enctype = !!document.createElement("form").enctype;
+
+ // Makes sure cloning an html5 element does not cause problems
+ // Where outerHTML is undefined, this still works
+ support.html5Clone = document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav>";
+
+ // Will be defined later
+ support.inlineBlockNeedsLayout = false;
+ support.shrinkWrapBlocks = false;
+ support.pixelPosition = false;
+ support.deleteExpando = true;
+ support.noCloneEvent = true;
+ support.reliableMarginRight = true;
+ support.boxSizingReliable = true;
+
+ // Make sure checked status is properly cloned
+ input.checked = true;
+ support.noCloneChecked = input.cloneNode( true ).checked;
+
+ // Make sure that the options inside disabled selects aren't marked as disabled
+ // (WebKit marks them as disabled)
+ select.disabled = true;
+ support.optDisabled = !opt.disabled;
+
+ // Support: IE<9
+ try {
+ delete div.test;
+ } catch( e ) {
+ support.deleteExpando = false;
+ }
+
+ // Check if we can trust getAttribute("value")
+ input = document.createElement("input");
+ input.setAttribute( "value", "" );
+ support.input = input.getAttribute( "value" ) === "";
+
+ // Check if an input maintains its value after becoming a radio
+ input.value = "t";
+ input.setAttribute( "type", "radio" );
+ support.radioValue = input.value === "t";
+
+ // #11217 - WebKit loses check when the name is after the checked attribute
+ input.setAttribute( "checked", "t" );
+ input.setAttribute( "name", "t" );
+
+ fragment = document.createDocumentFragment();
+ fragment.appendChild( input );
+
+ // Check if a disconnected checkbox will retain its checked
+ // value of true after appended to the DOM (IE6/7)
+ support.appendChecked = input.checked;
+
+ // WebKit doesn't clone checked state correctly in fragments
+ support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked;
+
+ // Support: IE<9
+ // Opera does not clone events (and typeof div.attachEvent === undefined).
+ // IE9-10 clones events bound via attachEvent, but they don't trigger with .click()
+ if ( div.attachEvent ) {
+ div.attachEvent( "onclick", function() {
+ support.noCloneEvent = false;
+ });
+
+ div.cloneNode( true ).click();
+ }
+
+ // Support: IE<9 (lack submit/change bubble), Firefox 17+ (lack focusin event)
+ // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP)
+ for ( i in { submit: true, change: true, focusin: true }) {
+ div.setAttribute( eventName = "on" + i, "t" );
+
+ support[ i + "Bubbles" ] = eventName in window || div.attributes[ eventName ].expando === false;
+ }
+
+ div.style.backgroundClip = "content-box";
+ div.cloneNode( true ).style.backgroundClip = "";
+ support.clearCloneStyle = div.style.backgroundClip === "content-box";
+
+ // Support: IE<9
+ // Iteration over object's inherited properties before its own.
+ for ( i in jQuery( support ) ) {
+ break;
+ }
+ support.ownLast = i !== "0";
+
+ // Run tests that need a body at doc ready
+ jQuery(function() {
+ var container, marginDiv, tds,
+ divReset = "padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",
+ body = document.getElementsByTagName("body")[0];
+
+ if ( !body ) {
+ // Return for frameset docs that don't have a body
+ return;
+ }
+
+ container = document.createElement("div");
+ container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px";
+
+ body.appendChild( container ).appendChild( div );
+
+ // Support: IE8
+ // Check if table cells still have offsetWidth/Height when they are set
+ // to display:none and there are still other visible table cells in a
+ // table row; if so, offsetWidth/Height are not reliable for use when
+ // determining if an element has been hidden directly using
+ // display:none (it is still safe to use offsets if a parent element is
+ // hidden; don safety goggles and see bug #4512 for more information).
+ div.innerHTML = "";
+ tds = div.getElementsByTagName("td");
+ tds[ 0 ].style.cssText = "padding:0;margin:0;border:0;display:none";
+ isSupported = ( tds[ 0 ].offsetHeight === 0 );
+
+ tds[ 0 ].style.display = "";
+ tds[ 1 ].style.display = "none";
+
+ // Support: IE8
+ // Check if empty table cells still have offsetWidth/Height
+ support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 );
+
+ // Check box-sizing and margin behavior.
+ div.innerHTML = "";
+ div.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";
+
+ // Workaround failing boxSizing test due to offsetWidth returning wrong value
+ // with some non-1 values of body zoom, ticket #13543
+ jQuery.swap( body, body.style.zoom != null ? { zoom: 1 } : {}, function() {
+ support.boxSizing = div.offsetWidth === 4;
+ });
+
+ // Use window.getComputedStyle because jsdom on node.js will break without it.
+ if ( window.getComputedStyle ) {
+ support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%";
+ support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px";
+
+ // Check if div with explicit width and no margin-right incorrectly
+ // gets computed margin-right based on width of container. (#3333)
+ // Fails in WebKit before Feb 2011 nightlies
+ // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
+ marginDiv = div.appendChild( document.createElement("div") );
+ marginDiv.style.cssText = div.style.cssText = divReset;
+ marginDiv.style.marginRight = marginDiv.style.width = "0";
+ div.style.width = "1px";
+
+ support.reliableMarginRight =
+ !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight );
+ }
+
+ if ( typeof div.style.zoom !== core_strundefined ) {
+ // Support: IE<8
+ // Check if natively block-level elements act like inline-block
+ // elements when setting their display to 'inline' and giving
+ // them layout
+ div.innerHTML = "";
+ div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1";
+ support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 );
+
+ // Support: IE6
+ // Check if elements with layout shrink-wrap their children
+ div.style.display = "block";
+ div.innerHTML = "
";
+ div.firstChild.style.width = "5px";
+ support.shrinkWrapBlocks = ( div.offsetWidth !== 3 );
+
+ if ( support.inlineBlockNeedsLayout ) {
+ // Prevent IE 6 from affecting layout for positioned elements #11048
+ // Prevent IE from shrinking the body in IE 7 mode #12869
+ // Support: IE<8
+ body.style.zoom = 1;
+ }
+ }
+
+ body.removeChild( container );
+
+ // Null elements to avoid leaks in IE
+ container = div = tds = marginDiv = null;
+ });
+
+ // Null elements to avoid leaks in IE
+ all = select = fragment = opt = a = input = null;
+
+ return support;
+})({});
+
+var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/,
+ rmultiDash = /([A-Z])/g;
+
+function internalData( elem, name, data, pvt /* Internal Use Only */ ){
+ if ( !jQuery.acceptData( elem ) ) {
+ return;
+ }
+
+ var ret, thisCache,
+ internalKey = jQuery.expando,
+
+ // We have to handle DOM nodes and JS objects differently because IE6-7
+ // can't GC object references properly across the DOM-JS boundary
+ isNode = elem.nodeType,
+
+ // Only DOM nodes need the global jQuery cache; JS object data is
+ // attached directly to the object so GC can occur automatically
+ cache = isNode ? jQuery.cache : elem,
+
+ // Only defining an ID for JS objects if its cache already exists allows
+ // the code to shortcut on the same path as a DOM node with no cache
+ id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey;
+
+ // Avoid doing any more work than we need to when trying to get data on an
+ // object that has no data at all
+ if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) {
+ return;
+ }
+
+ if ( !id ) {
+ // Only DOM nodes need a new unique ID for each element since their data
+ // ends up in the global cache
+ if ( isNode ) {
+ id = elem[ internalKey ] = core_deletedIds.pop() || jQuery.guid++;
+ } else {
+ id = internalKey;
+ }
+ }
+
+ if ( !cache[ id ] ) {
+ // Avoid exposing jQuery metadata on plain JS objects when the object
+ // is serialized using JSON.stringify
+ cache[ id ] = isNode ? {} : { toJSON: jQuery.noop };
+ }
+
+ // An object can be passed to jQuery.data instead of a key/value pair; this gets
+ // shallow copied over onto the existing cache
+ if ( typeof name === "object" || typeof name === "function" ) {
+ if ( pvt ) {
+ cache[ id ] = jQuery.extend( cache[ id ], name );
+ } else {
+ cache[ id ].data = jQuery.extend( cache[ id ].data, name );
+ }
+ }
+
+ thisCache = cache[ id ];
+
+ // jQuery data() is stored in a separate object inside the object's internal data
+ // cache in order to avoid key collisions between internal data and user-defined
+ // data.
+ if ( !pvt ) {
+ if ( !thisCache.data ) {
+ thisCache.data = {};
+ }
+
+ thisCache = thisCache.data;
+ }
+
+ if ( data !== undefined ) {
+ thisCache[ jQuery.camelCase( name ) ] = data;
+ }
+
+ // Check for both converted-to-camel and non-converted data property names
+ // If a data property was specified
+ if ( typeof name === "string" ) {
+
+ // First Try to find as-is property data
+ ret = thisCache[ name ];
+
+ // Test for null|undefined property data
+ if ( ret == null ) {
+
+ // Try to find the camelCased property
+ ret = thisCache[ jQuery.camelCase( name ) ];
+ }
+ } else {
+ ret = thisCache;
+ }
+
+ return ret;
+}
+
+function internalRemoveData( elem, name, pvt ) {
+ if ( !jQuery.acceptData( elem ) ) {
+ return;
+ }
+
+ var thisCache, i,
+ isNode = elem.nodeType,
+
+ // See jQuery.data for more information
+ cache = isNode ? jQuery.cache : elem,
+ id = isNode ? elem[ jQuery.expando ] : jQuery.expando;
+
+ // If there is already no cache entry for this object, there is no
+ // purpose in continuing
+ if ( !cache[ id ] ) {
+ return;
+ }
+
+ if ( name ) {
+
+ thisCache = pvt ? cache[ id ] : cache[ id ].data;
+
+ if ( thisCache ) {
+
+ // Support array or space separated string names for data keys
+ if ( !jQuery.isArray( name ) ) {
+
+ // try the string as a key before any manipulation
+ if ( name in thisCache ) {
+ name = [ name ];
+ } else {
+
+ // split the camel cased version by spaces unless a key with the spaces exists
+ name = jQuery.camelCase( name );
+ if ( name in thisCache ) {
+ name = [ name ];
+ } else {
+ name = name.split(" ");
+ }
+ }
+ } else {
+ // If "name" is an array of keys...
+ // When data is initially created, via ("key", "val") signature,
+ // keys will be converted to camelCase.
+ // Since there is no way to tell _how_ a key was added, remove
+ // both plain key and camelCase key. #12786
+ // This will only penalize the array argument path.
+ name = name.concat( jQuery.map( name, jQuery.camelCase ) );
+ }
+
+ i = name.length;
+ while ( i-- ) {
+ delete thisCache[ name[i] ];
+ }
+
+ // If there is no data left in the cache, we want to continue
+ // and let the cache object itself get destroyed
+ if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) {
+ return;
+ }
+ }
+ }
+
+ // See jQuery.data for more information
+ if ( !pvt ) {
+ delete cache[ id ].data;
+
+ // Don't destroy the parent cache unless the internal data object
+ // had been the only thing left in it
+ if ( !isEmptyDataObject( cache[ id ] ) ) {
+ return;
+ }
+ }
+
+ // Destroy the cache
+ if ( isNode ) {
+ jQuery.cleanData( [ elem ], true );
+
+ // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080)
+ /* jshint eqeqeq: false */
+ } else if ( jQuery.support.deleteExpando || cache != cache.window ) {
+ /* jshint eqeqeq: true */
+ delete cache[ id ];
+
+ // When all else fails, null
+ } else {
+ cache[ id ] = null;
+ }
+}
+
+jQuery.extend({
+ cache: {},
+
+ // The following elements throw uncatchable exceptions if you
+ // attempt to add expando properties to them.
+ noData: {
+ "applet": true,
+ "embed": true,
+ // Ban all objects except for Flash (which handle expandos)
+ "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
+ },
+
+ hasData: function( elem ) {
+ elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ];
+ return !!elem && !isEmptyDataObject( elem );
+ },
+
+ data: function( elem, name, data ) {
+ return internalData( elem, name, data );
+ },
+
+ removeData: function( elem, name ) {
+ return internalRemoveData( elem, name );
+ },
+
+ // For internal use only.
+ _data: function( elem, name, data ) {
+ return internalData( elem, name, data, true );
+ },
+
+ _removeData: function( elem, name ) {
+ return internalRemoveData( elem, name, true );
+ },
+
+ // A method for determining if a DOM node can handle the data expando
+ acceptData: function( elem ) {
+ // Do not set data on non-element because it will not be cleared (#8335).
+ if ( elem.nodeType && elem.nodeType !== 1 && elem.nodeType !== 9 ) {
+ return false;
+ }
+
+ var noData = elem.nodeName && jQuery.noData[ elem.nodeName.toLowerCase() ];
+
+ // nodes accept data unless otherwise specified; rejection can be conditional
+ return !noData || noData !== true && elem.getAttribute("classid") === noData;
+ }
+});
+
+jQuery.fn.extend({
+ data: function( key, value ) {
+ var attrs, name,
+ data = null,
+ i = 0,
+ elem = this[0];
+
+ // Special expections of .data basically thwart jQuery.access,
+ // so implement the relevant behavior ourselves
+
+ // Gets all values
+ if ( key === undefined ) {
+ if ( this.length ) {
+ data = jQuery.data( elem );
+
+ if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) {
+ attrs = elem.attributes;
+ for ( ; i < attrs.length; i++ ) {
+ name = attrs[i].name;
+
+ if ( name.indexOf("data-") === 0 ) {
+ name = jQuery.camelCase( name.slice(5) );
+
+ dataAttr( elem, name, data[ name ] );
+ }
+ }
+ jQuery._data( elem, "parsedAttrs", true );
+ }
+ }
+
+ return data;
+ }
+
+ // Sets multiple values
+ if ( typeof key === "object" ) {
+ return this.each(function() {
+ jQuery.data( this, key );
+ });
+ }
+
+ return arguments.length > 1 ?
+
+ // Sets one value
+ this.each(function() {
+ jQuery.data( this, key, value );
+ }) :
+
+ // Gets one value
+ // Try to fetch any internally stored data first
+ elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : null;
+ },
+
+ removeData: function( key ) {
+ return this.each(function() {
+ jQuery.removeData( this, key );
+ });
+ }
+});
+
+function dataAttr( elem, key, data ) {
+ // If nothing was found internally, try to fetch any
+ // data from the HTML5 data-* attribute
+ if ( data === undefined && elem.nodeType === 1 ) {
+
+ var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase();
+
+ data = elem.getAttribute( name );
+
+ if ( typeof data === "string" ) {
+ try {
+ data = data === "true" ? true :
+ data === "false" ? false :
+ data === "null" ? null :
+ // Only convert to a number if it doesn't change the string
+ +data + "" === data ? +data :
+ rbrace.test( data ) ? jQuery.parseJSON( data ) :
+ data;
+ } catch( e ) {}
+
+ // Make sure we set the data so it isn't changed later
+ jQuery.data( elem, key, data );
+
+ } else {
+ data = undefined;
+ }
+ }
+
+ return data;
+}
+
+// checks a cache object for emptiness
+function isEmptyDataObject( obj ) {
+ var name;
+ for ( name in obj ) {
+
+ // if the public data object is empty, the private is still empty
+ if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) {
+ continue;
+ }
+ if ( name !== "toJSON" ) {
+ return false;
+ }
+ }
+
+ return true;
+}
+jQuery.extend({
+ queue: function( elem, type, data ) {
+ var queue;
+
+ if ( elem ) {
+ type = ( type || "fx" ) + "queue";
+ queue = jQuery._data( elem, type );
+
+ // Speed up dequeue by getting out quickly if this is just a lookup
+ if ( data ) {
+ if ( !queue || jQuery.isArray(data) ) {
+ queue = jQuery._data( elem, type, jQuery.makeArray(data) );
+ } else {
+ queue.push( data );
+ }
+ }
+ return queue || [];
+ }
+ },
+
+ dequeue: function( elem, type ) {
+ type = type || "fx";
+
+ var queue = jQuery.queue( elem, type ),
+ startLength = queue.length,
+ fn = queue.shift(),
+ hooks = jQuery._queueHooks( elem, type ),
+ next = function() {
+ jQuery.dequeue( elem, type );
+ };
+
+ // If the fx queue is dequeued, always remove the progress sentinel
+ if ( fn === "inprogress" ) {
+ fn = queue.shift();
+ startLength--;
+ }
+
+ if ( fn ) {
+
+ // Add a progress sentinel to prevent the fx queue from being
+ // automatically dequeued
+ if ( type === "fx" ) {
+ queue.unshift( "inprogress" );
+ }
+
+ // clear up the last queue stop function
+ delete hooks.stop;
+ fn.call( elem, next, hooks );
+ }
+
+ if ( !startLength && hooks ) {
+ hooks.empty.fire();
+ }
+ },
+
+ // not intended for public consumption - generates a queueHooks object, or returns the current one
+ _queueHooks: function( elem, type ) {
+ var key = type + "queueHooks";
+ return jQuery._data( elem, key ) || jQuery._data( elem, key, {
+ empty: jQuery.Callbacks("once memory").add(function() {
+ jQuery._removeData( elem, type + "queue" );
+ jQuery._removeData( elem, key );
+ })
+ });
+ }
+});
+
+jQuery.fn.extend({
+ queue: function( type, data ) {
+ var setter = 2;
+
+ if ( typeof type !== "string" ) {
+ data = type;
+ type = "fx";
+ setter--;
+ }
+
+ if ( arguments.length < setter ) {
+ return jQuery.queue( this[0], type );
+ }
+
+ return data === undefined ?
+ this :
+ this.each(function() {
+ var queue = jQuery.queue( this, type, data );
+
+ // ensure a hooks for this queue
+ jQuery._queueHooks( this, type );
+
+ if ( type === "fx" && queue[0] !== "inprogress" ) {
+ jQuery.dequeue( this, type );
+ }
+ });
+ },
+ dequeue: function( type ) {
+ return this.each(function() {
+ jQuery.dequeue( this, type );
+ });
+ },
+ // Based off of the plugin by Clint Helfers, with permission.
+ // http://blindsignals.com/index.php/2009/07/jquery-delay/
+ delay: function( time, type ) {
+ time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
+ type = type || "fx";
+
+ return this.queue( type, function( next, hooks ) {
+ var timeout = setTimeout( next, time );
+ hooks.stop = function() {
+ clearTimeout( timeout );
+ };
+ });
+ },
+ clearQueue: function( type ) {
+ return this.queue( type || "fx", [] );
+ },
+ // Get a promise resolved when queues of a certain type
+ // are emptied (fx is the type by default)
+ promise: function( type, obj ) {
+ var tmp,
+ count = 1,
+ defer = jQuery.Deferred(),
+ elements = this,
+ i = this.length,
+ resolve = function() {
+ if ( !( --count ) ) {
+ defer.resolveWith( elements, [ elements ] );
+ }
+ };
+
+ if ( typeof type !== "string" ) {
+ obj = type;
+ type = undefined;
+ }
+ type = type || "fx";
+
+ while( i-- ) {
+ tmp = jQuery._data( elements[ i ], type + "queueHooks" );
+ if ( tmp && tmp.empty ) {
+ count++;
+ tmp.empty.add( resolve );
+ }
+ }
+ resolve();
+ return defer.promise( obj );
+ }
+});
+var nodeHook, boolHook,
+ rclass = /[\t\r\n\f]/g,
+ rreturn = /\r/g,
+ rfocusable = /^(?:input|select|textarea|button|object)$/i,
+ rclickable = /^(?:a|area)$/i,
+ ruseDefault = /^(?:checked|selected)$/i,
+ getSetAttribute = jQuery.support.getSetAttribute,
+ getSetInput = jQuery.support.input;
+
+jQuery.fn.extend({
+ attr: function( name, value ) {
+ return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 );
+ },
+
+ removeAttr: function( name ) {
+ return this.each(function() {
+ jQuery.removeAttr( this, name );
+ });
+ },
+
+ prop: function( name, value ) {
+ return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 );
+ },
+
+ removeProp: function( name ) {
+ name = jQuery.propFix[ name ] || name;
+ return this.each(function() {
+ // try/catch handles cases where IE balks (such as removing a property on window)
+ try {
+ this[ name ] = undefined;
+ delete this[ name ];
+ } catch( e ) {}
+ });
+ },
+
+ addClass: function( value ) {
+ var classes, elem, cur, clazz, j,
+ i = 0,
+ len = this.length,
+ proceed = typeof value === "string" && value;
+
+ if ( jQuery.isFunction( value ) ) {
+ return this.each(function( j ) {
+ jQuery( this ).addClass( value.call( this, j, this.className ) );
+ });
+ }
+
+ if ( proceed ) {
+ // The disjunction here is for better compressibility (see removeClass)
+ classes = ( value || "" ).match( core_rnotwhite ) || [];
+
+ for ( ; i < len; i++ ) {
+ elem = this[ i ];
+ cur = elem.nodeType === 1 && ( elem.className ?
+ ( " " + elem.className + " " ).replace( rclass, " " ) :
+ " "
+ );
+
+ if ( cur ) {
+ j = 0;
+ while ( (clazz = classes[j++]) ) {
+ if ( cur.indexOf( " " + clazz + " " ) < 0 ) {
+ cur += clazz + " ";
+ }
+ }
+ elem.className = jQuery.trim( cur );
+
+ }
+ }
+ }
+
+ return this;
+ },
+
+ removeClass: function( value ) {
+ var classes, elem, cur, clazz, j,
+ i = 0,
+ len = this.length,
+ proceed = arguments.length === 0 || typeof value === "string" && value;
+
+ if ( jQuery.isFunction( value ) ) {
+ return this.each(function( j ) {
+ jQuery( this ).removeClass( value.call( this, j, this.className ) );
+ });
+ }
+ if ( proceed ) {
+ classes = ( value || "" ).match( core_rnotwhite ) || [];
+
+ for ( ; i < len; i++ ) {
+ elem = this[ i ];
+ // This expression is here for better compressibility (see addClass)
+ cur = elem.nodeType === 1 && ( elem.className ?
+ ( " " + elem.className + " " ).replace( rclass, " " ) :
+ ""
+ );
+
+ if ( cur ) {
+ j = 0;
+ while ( (clazz = classes[j++]) ) {
+ // Remove *all* instances
+ while ( cur.indexOf( " " + clazz + " " ) >= 0 ) {
+ cur = cur.replace( " " + clazz + " ", " " );
+ }
+ }
+ elem.className = value ? jQuery.trim( cur ) : "";
+ }
+ }
+ }
+
+ return this;
+ },
+
+ toggleClass: function( value, stateVal ) {
+ var type = typeof value;
+
+ if ( typeof stateVal === "boolean" && type === "string" ) {
+ return stateVal ? this.addClass( value ) : this.removeClass( value );
+ }
+
+ if ( jQuery.isFunction( value ) ) {
+ return this.each(function( i ) {
+ jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal );
+ });
+ }
+
+ return this.each(function() {
+ if ( type === "string" ) {
+ // toggle individual class names
+ var className,
+ i = 0,
+ self = jQuery( this ),
+ classNames = value.match( core_rnotwhite ) || [];
+
+ while ( (className = classNames[ i++ ]) ) {
+ // check each className given, space separated list
+ if ( self.hasClass( className ) ) {
+ self.removeClass( className );
+ } else {
+ self.addClass( className );
+ }
+ }
+
+ // Toggle whole class name
+ } else if ( type === core_strundefined || type === "boolean" ) {
+ if ( this.className ) {
+ // store className if set
+ jQuery._data( this, "__className__", this.className );
+ }
+
+ // If the element has a class name or if we're passed "false",
+ // then remove the whole classname (if there was one, the above saved it).
+ // Otherwise bring back whatever was previously saved (if anything),
+ // falling back to the empty string if nothing was stored.
+ this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || "";
+ }
+ });
+ },
+
+ hasClass: function( selector ) {
+ var className = " " + selector + " ",
+ i = 0,
+ l = this.length;
+ for ( ; i < l; i++ ) {
+ if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) {
+ return true;
+ }
+ }
+
+ return false;
+ },
+
+ val: function( value ) {
+ var ret, hooks, isFunction,
+ elem = this[0];
+
+ if ( !arguments.length ) {
+ if ( elem ) {
+ hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ];
+
+ if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) {
+ return ret;
+ }
+
+ ret = elem.value;
+
+ return typeof ret === "string" ?
+ // handle most common string cases
+ ret.replace(rreturn, "") :
+ // handle cases where value is null/undef or number
+ ret == null ? "" : ret;
+ }
+
+ return;
+ }
+
+ isFunction = jQuery.isFunction( value );
+
+ return this.each(function( i ) {
+ var val;
+
+ if ( this.nodeType !== 1 ) {
+ return;
+ }
+
+ if ( isFunction ) {
+ val = value.call( this, i, jQuery( this ).val() );
+ } else {
+ val = value;
+ }
+
+ // Treat null/undefined as ""; convert numbers to string
+ if ( val == null ) {
+ val = "";
+ } else if ( typeof val === "number" ) {
+ val += "";
+ } else if ( jQuery.isArray( val ) ) {
+ val = jQuery.map(val, function ( value ) {
+ return value == null ? "" : value + "";
+ });
+ }
+
+ hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];
+
+ // If set returns undefined, fall back to normal setting
+ if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) {
+ this.value = val;
+ }
+ });
+ }
+});
+
+jQuery.extend({
+ valHooks: {
+ option: {
+ get: function( elem ) {
+ // Use proper attribute retrieval(#6932, #12072)
+ var val = jQuery.find.attr( elem, "value" );
+ return val != null ?
+ val :
+ elem.text;
+ }
+ },
+ select: {
+ get: function( elem ) {
+ var value, option,
+ options = elem.options,
+ index = elem.selectedIndex,
+ one = elem.type === "select-one" || index < 0,
+ values = one ? null : [],
+ max = one ? index + 1 : options.length,
+ i = index < 0 ?
+ max :
+ one ? index : 0;
+
+ // Loop through all the selected options
+ for ( ; i < max; i++ ) {
+ option = options[ i ];
+
+ // oldIE doesn't update selected after form reset (#2551)
+ if ( ( option.selected || i === index ) &&
+ // Don't return options that are disabled or in a disabled optgroup
+ ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) &&
+ ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) {
+
+ // Get the specific value for the option
+ value = jQuery( option ).val();
+
+ // We don't need an array for one selects
+ if ( one ) {
+ return value;
+ }
+
+ // Multi-Selects return an array
+ values.push( value );
+ }
+ }
+
+ return values;
+ },
+
+ set: function( elem, value ) {
+ var optionSet, option,
+ options = elem.options,
+ values = jQuery.makeArray( value ),
+ i = options.length;
+
+ while ( i-- ) {
+ option = options[ i ];
+ if ( (option.selected = jQuery.inArray( jQuery(option).val(), values ) >= 0) ) {
+ optionSet = true;
+ }
+ }
+
+ // force browsers to behave consistently when non-matching value is set
+ if ( !optionSet ) {
+ elem.selectedIndex = -1;
+ }
+ return values;
+ }
+ }
+ },
+
+ attr: function( elem, name, value ) {
+ var hooks, ret,
+ nType = elem.nodeType;
+
+ // don't get/set attributes on text, comment and attribute nodes
+ if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {
+ return;
+ }
+
+ // Fallback to prop when attributes are not supported
+ if ( typeof elem.getAttribute === core_strundefined ) {
+ return jQuery.prop( elem, name, value );
+ }
+
+ // All attributes are lowercase
+ // Grab necessary hook if one is defined
+ if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {
+ name = name.toLowerCase();
+ hooks = jQuery.attrHooks[ name ] ||
+ ( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook );
+ }
+
+ if ( value !== undefined ) {
+
+ if ( value === null ) {
+ jQuery.removeAttr( elem, name );
+
+ } else if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) {
+ return ret;
+
+ } else {
+ elem.setAttribute( name, value + "" );
+ return value;
+ }
+
+ } else if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) {
+ return ret;
+
+ } else {
+ ret = jQuery.find.attr( elem, name );
+
+ // Non-existent attributes return null, we normalize to undefined
+ return ret == null ?
+ undefined :
+ ret;
+ }
+ },
+
+ removeAttr: function( elem, value ) {
+ var name, propName,
+ i = 0,
+ attrNames = value && value.match( core_rnotwhite );
+
+ if ( attrNames && elem.nodeType === 1 ) {
+ while ( (name = attrNames[i++]) ) {
+ propName = jQuery.propFix[ name ] || name;
+
+ // Boolean attributes get special treatment (#10870)
+ if ( jQuery.expr.match.bool.test( name ) ) {
+ // Set corresponding property to false
+ if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) {
+ elem[ propName ] = false;
+ // Support: IE<9
+ // Also clear defaultChecked/defaultSelected (if appropriate)
+ } else {
+ elem[ jQuery.camelCase( "default-" + name ) ] =
+ elem[ propName ] = false;
+ }
+
+ // See #9699 for explanation of this approach (setting first, then removal)
+ } else {
+ jQuery.attr( elem, name, "" );
+ }
+
+ elem.removeAttribute( getSetAttribute ? name : propName );
+ }
+ }
+ },
+
+ attrHooks: {
+ type: {
+ set: function( elem, value ) {
+ if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) {
+ // Setting the type on a radio button after the value resets the value in IE6-9
+ // Reset value to default in case type is set after value during creation
+ var val = elem.value;
+ elem.setAttribute( "type", value );
+ if ( val ) {
+ elem.value = val;
+ }
+ return value;
+ }
+ }
+ }
+ },
+
+ propFix: {
+ "for": "htmlFor",
+ "class": "className"
+ },
+
+ prop: function( elem, name, value ) {
+ var ret, hooks, notxml,
+ nType = elem.nodeType;
+
+ // don't get/set properties on text, comment and attribute nodes
+ if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {
+ return;
+ }
+
+ notxml = nType !== 1 || !jQuery.isXMLDoc( elem );
+
+ if ( notxml ) {
+ // Fix name and attach hooks
+ name = jQuery.propFix[ name ] || name;
+ hooks = jQuery.propHooks[ name ];
+ }
+
+ if ( value !== undefined ) {
+ return hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ?
+ ret :
+ ( elem[ name ] = value );
+
+ } else {
+ return hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ?
+ ret :
+ elem[ name ];
+ }
+ },
+
+ propHooks: {
+ tabIndex: {
+ get: function( elem ) {
+ // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set
+ // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
+ // Use proper attribute retrieval(#12072)
+ var tabindex = jQuery.find.attr( elem, "tabindex" );
+
+ return tabindex ?
+ parseInt( tabindex, 10 ) :
+ rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ?
+ 0 :
+ -1;
+ }
+ }
+ }
+});
+
+// Hooks for boolean attributes
+boolHook = {
+ set: function( elem, value, name ) {
+ if ( value === false ) {
+ // Remove boolean attributes when set to false
+ jQuery.removeAttr( elem, name );
+ } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) {
+ // IE<8 needs the *property* name
+ elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name );
+
+ // Use defaultChecked and defaultSelected for oldIE
+ } else {
+ elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true;
+ }
+
+ return name;
+ }
+};
+jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) {
+ var getter = jQuery.expr.attrHandle[ name ] || jQuery.find.attr;
+
+ jQuery.expr.attrHandle[ name ] = getSetInput && getSetAttribute || !ruseDefault.test( name ) ?
+ function( elem, name, isXML ) {
+ var fn = jQuery.expr.attrHandle[ name ],
+ ret = isXML ?
+ undefined :
+ /* jshint eqeqeq: false */
+ (jQuery.expr.attrHandle[ name ] = undefined) !=
+ getter( elem, name, isXML ) ?
+
+ name.toLowerCase() :
+ null;
+ jQuery.expr.attrHandle[ name ] = fn;
+ return ret;
+ } :
+ function( elem, name, isXML ) {
+ return isXML ?
+ undefined :
+ elem[ jQuery.camelCase( "default-" + name ) ] ?
+ name.toLowerCase() :
+ null;
+ };
+});
+
+// fix oldIE attroperties
+if ( !getSetInput || !getSetAttribute ) {
+ jQuery.attrHooks.value = {
+ set: function( elem, value, name ) {
+ if ( jQuery.nodeName( elem, "input" ) ) {
+ // Does not return so that setAttribute is also used
+ elem.defaultValue = value;
+ } else {
+ // Use nodeHook if defined (#1954); otherwise setAttribute is fine
+ return nodeHook && nodeHook.set( elem, value, name );
+ }
+ }
+ };
+}
+
+// IE6/7 do not support getting/setting some attributes with get/setAttribute
+if ( !getSetAttribute ) {
+
+ // Use this for any attribute in IE6/7
+ // This fixes almost every IE6/7 issue
+ nodeHook = {
+ set: function( elem, value, name ) {
+ // Set the existing or create a new attribute node
+ var ret = elem.getAttributeNode( name );
+ if ( !ret ) {
+ elem.setAttributeNode(
+ (ret = elem.ownerDocument.createAttribute( name ))
+ );
+ }
+
+ ret.value = value += "";
+
+ // Break association with cloned elements by also using setAttribute (#9646)
+ return name === "value" || value === elem.getAttribute( name ) ?
+ value :
+ undefined;
+ }
+ };
+ jQuery.expr.attrHandle.id = jQuery.expr.attrHandle.name = jQuery.expr.attrHandle.coords =
+ // Some attributes are constructed with empty-string values when not defined
+ function( elem, name, isXML ) {
+ var ret;
+ return isXML ?
+ undefined :
+ (ret = elem.getAttributeNode( name )) && ret.value !== "" ?
+ ret.value :
+ null;
+ };
+ jQuery.valHooks.button = {
+ get: function( elem, name ) {
+ var ret = elem.getAttributeNode( name );
+ return ret && ret.specified ?
+ ret.value :
+ undefined;
+ },
+ set: nodeHook.set
+ };
+
+ // Set contenteditable to false on removals(#10429)
+ // Setting to empty string throws an error as an invalid value
+ jQuery.attrHooks.contenteditable = {
+ set: function( elem, value, name ) {
+ nodeHook.set( elem, value === "" ? false : value, name );
+ }
+ };
+
+ // Set width and height to auto instead of 0 on empty string( Bug #8150 )
+ // This is for removals
+ jQuery.each([ "width", "height" ], function( i, name ) {
+ jQuery.attrHooks[ name ] = {
+ set: function( elem, value ) {
+ if ( value === "" ) {
+ elem.setAttribute( name, "auto" );
+ return value;
+ }
+ }
+ };
+ });
+}
+
+
+// Some attributes require a special call on IE
+// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
+if ( !jQuery.support.hrefNormalized ) {
+ // href/src property should get the full normalized URL (#10299/#12915)
+ jQuery.each([ "href", "src" ], function( i, name ) {
+ jQuery.propHooks[ name ] = {
+ get: function( elem ) {
+ return elem.getAttribute( name, 4 );
+ }
+ };
+ });
+}
+
+if ( !jQuery.support.style ) {
+ jQuery.attrHooks.style = {
+ get: function( elem ) {
+ // Return undefined in the case of empty string
+ // Note: IE uppercases css property names, but if we were to .toLowerCase()
+ // .cssText, that would destroy case senstitivity in URL's, like in "background"
+ return elem.style.cssText || undefined;
+ },
+ set: function( elem, value ) {
+ return ( elem.style.cssText = value + "" );
+ }
+ };
+}
+
+// Safari mis-reports the default selected property of an option
+// Accessing the parent's selectedIndex property fixes it
+if ( !jQuery.support.optSelected ) {
+ jQuery.propHooks.selected = {
+ get: function( elem ) {
+ var parent = elem.parentNode;
+
+ if ( parent ) {
+ parent.selectedIndex;
+
+ // Make sure that it also works with optgroups, see #5701
+ if ( parent.parentNode ) {
+ parent.parentNode.selectedIndex;
+ }
+ }
+ return null;
+ }
+ };
+}
+
+jQuery.each([
+ "tabIndex",
+ "readOnly",
+ "maxLength",
+ "cellSpacing",
+ "cellPadding",
+ "rowSpan",
+ "colSpan",
+ "useMap",
+ "frameBorder",
+ "contentEditable"
+], function() {
+ jQuery.propFix[ this.toLowerCase() ] = this;
+});
+
+// IE6/7 call enctype encoding
+if ( !jQuery.support.enctype ) {
+ jQuery.propFix.enctype = "encoding";
+}
+
+// Radios and checkboxes getter/setter
+jQuery.each([ "radio", "checkbox" ], function() {
+ jQuery.valHooks[ this ] = {
+ set: function( elem, value ) {
+ if ( jQuery.isArray( value ) ) {
+ return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 );
+ }
+ }
+ };
+ if ( !jQuery.support.checkOn ) {
+ jQuery.valHooks[ this ].get = function( elem ) {
+ // Support: Webkit
+ // "" is returned instead of "on" if a value isn't specified
+ return elem.getAttribute("value") === null ? "on" : elem.value;
+ };
+ }
+});
+var rformElems = /^(?:input|select|textarea)$/i,
+ rkeyEvent = /^key/,
+ rmouseEvent = /^(?:mouse|contextmenu)|click/,
+ rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,
+ rtypenamespace = /^([^.]*)(?:\.(.+)|)$/;
+
+function returnTrue() {
+ return true;
+}
+
+function returnFalse() {
+ return false;
+}
+
+function safeActiveElement() {
+ try {
+ return document.activeElement;
+ } catch ( err ) { }
+}
+
+/*
+ * Helper functions for managing events -- not part of the public interface.
+ * Props to Dean Edwards' addEvent library for many of the ideas.
+ */
+jQuery.event = {
+
+ global: {},
+
+ add: function( elem, types, handler, data, selector ) {
+ var tmp, events, t, handleObjIn,
+ special, eventHandle, handleObj,
+ handlers, type, namespaces, origType,
+ elemData = jQuery._data( elem );
+
+ // Don't attach events to noData or text/comment nodes (but allow plain objects)
+ if ( !elemData ) {
+ return;
+ }
+
+ // Caller can pass in an object of custom data in lieu of the handler
+ if ( handler.handler ) {
+ handleObjIn = handler;
+ handler = handleObjIn.handler;
+ selector = handleObjIn.selector;
+ }
+
+ // Make sure that the handler has a unique ID, used to find/remove it later
+ if ( !handler.guid ) {
+ handler.guid = jQuery.guid++;
+ }
+
+ // Init the element's event structure and main handler, if this is the first
+ if ( !(events = elemData.events) ) {
+ events = elemData.events = {};
+ }
+ if ( !(eventHandle = elemData.handle) ) {
+ eventHandle = elemData.handle = function( e ) {
+ // Discard the second event of a jQuery.event.trigger() and
+ // when an event is called after a page has unloaded
+ return typeof jQuery !== core_strundefined && (!e || jQuery.event.triggered !== e.type) ?
+ jQuery.event.dispatch.apply( eventHandle.elem, arguments ) :
+ undefined;
+ };
+ // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events
+ eventHandle.elem = elem;
+ }
+
+ // Handle multiple events separated by a space
+ types = ( types || "" ).match( core_rnotwhite ) || [""];
+ t = types.length;
+ while ( t-- ) {
+ tmp = rtypenamespace.exec( types[t] ) || [];
+ type = origType = tmp[1];
+ namespaces = ( tmp[2] || "" ).split( "." ).sort();
+
+ // There *must* be a type, no attaching namespace-only handlers
+ if ( !type ) {
+ continue;
+ }
+
+ // If event changes its type, use the special event handlers for the changed type
+ special = jQuery.event.special[ type ] || {};
+
+ // If selector defined, determine special event api type, otherwise given type
+ type = ( selector ? special.delegateType : special.bindType ) || type;
+
+ // Update special based on newly reset type
+ special = jQuery.event.special[ type ] || {};
+
+ // handleObj is passed to all event handlers
+ handleObj = jQuery.extend({
+ type: type,
+ origType: origType,
+ data: data,
+ handler: handler,
+ guid: handler.guid,
+ selector: selector,
+ needsContext: selector && jQuery.expr.match.needsContext.test( selector ),
+ namespace: namespaces.join(".")
+ }, handleObjIn );
+
+ // Init the event handler queue if we're the first
+ if ( !(handlers = events[ type ]) ) {
+ handlers = events[ type ] = [];
+ handlers.delegateCount = 0;
+
+ // Only use addEventListener/attachEvent if the special events handler returns false
+ if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {
+ // Bind the global event handler to the element
+ if ( elem.addEventListener ) {
+ elem.addEventListener( type, eventHandle, false );
+
+ } else if ( elem.attachEvent ) {
+ elem.attachEvent( "on" + type, eventHandle );
+ }
+ }
+ }
+
+ if ( special.add ) {
+ special.add.call( elem, handleObj );
+
+ if ( !handleObj.handler.guid ) {
+ handleObj.handler.guid = handler.guid;
+ }
+ }
+
+ // Add to the element's handler list, delegates in front
+ if ( selector ) {
+ handlers.splice( handlers.delegateCount++, 0, handleObj );
+ } else {
+ handlers.push( handleObj );
+ }
+
+ // Keep track of which events have ever been used, for event optimization
+ jQuery.event.global[ type ] = true;
+ }
+
+ // Nullify elem to prevent memory leaks in IE
+ elem = null;
+ },
+
+ // Detach an event or set of events from an element
+ remove: function( elem, types, handler, selector, mappedTypes ) {
+ var j, handleObj, tmp,
+ origCount, t, events,
+ special, handlers, type,
+ namespaces, origType,
+ elemData = jQuery.hasData( elem ) && jQuery._data( elem );
+
+ if ( !elemData || !(events = elemData.events) ) {
+ return;
+ }
+
+ // Once for each type.namespace in types; type may be omitted
+ types = ( types || "" ).match( core_rnotwhite ) || [""];
+ t = types.length;
+ while ( t-- ) {
+ tmp = rtypenamespace.exec( types[t] ) || [];
+ type = origType = tmp[1];
+ namespaces = ( tmp[2] || "" ).split( "." ).sort();
+
+ // Unbind all events (on this namespace, if provided) for the element
+ if ( !type ) {
+ for ( type in events ) {
+ jQuery.event.remove( elem, type + types[ t ], handler, selector, true );
+ }
+ continue;
+ }
+
+ special = jQuery.event.special[ type ] || {};
+ type = ( selector ? special.delegateType : special.bindType ) || type;
+ handlers = events[ type ] || [];
+ tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" );
+
+ // Remove matching events
+ origCount = j = handlers.length;
+ while ( j-- ) {
+ handleObj = handlers[ j ];
+
+ if ( ( mappedTypes || origType === handleObj.origType ) &&
+ ( !handler || handler.guid === handleObj.guid ) &&
+ ( !tmp || tmp.test( handleObj.namespace ) ) &&
+ ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
+ handlers.splice( j, 1 );
+
+ if ( handleObj.selector ) {
+ handlers.delegateCount--;
+ }
+ if ( special.remove ) {
+ special.remove.call( elem, handleObj );
+ }
+ }
+ }
+
+ // Remove generic event handler if we removed something and no more handlers exist
+ // (avoids potential for endless recursion during removal of special event handlers)
+ if ( origCount && !handlers.length ) {
+ if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) {
+ jQuery.removeEvent( elem, type, elemData.handle );
+ }
+
+ delete events[ type ];
+ }
+ }
+
+ // Remove the expando if it's no longer used
+ if ( jQuery.isEmptyObject( events ) ) {
+ delete elemData.handle;
+
+ // removeData also checks for emptiness and clears the expando if empty
+ // so use it instead of delete
+ jQuery._removeData( elem, "events" );
+ }
+ },
+
+ trigger: function( event, data, elem, onlyHandlers ) {
+ var handle, ontype, cur,
+ bubbleType, special, tmp, i,
+ eventPath = [ elem || document ],
+ type = core_hasOwn.call( event, "type" ) ? event.type : event,
+ namespaces = core_hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : [];
+
+ cur = tmp = elem = elem || document;
+
+ // Don't do events on text and comment nodes
+ if ( elem.nodeType === 3 || elem.nodeType === 8 ) {
+ return;
+ }
+
+ // focus/blur morphs to focusin/out; ensure we're not firing them right now
+ if ( rfocusMorph.test( type + jQuery.event.triggered ) ) {
+ return;
+ }
+
+ if ( type.indexOf(".") >= 0 ) {
+ // Namespaced trigger; create a regexp to match event type in handle()
+ namespaces = type.split(".");
+ type = namespaces.shift();
+ namespaces.sort();
+ }
+ ontype = type.indexOf(":") < 0 && "on" + type;
+
+ // Caller can pass in a jQuery.Event object, Object, or just an event type string
+ event = event[ jQuery.expando ] ?
+ event :
+ new jQuery.Event( type, typeof event === "object" && event );
+
+ // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)
+ event.isTrigger = onlyHandlers ? 2 : 3;
+ event.namespace = namespaces.join(".");
+ event.namespace_re = event.namespace ?
+ new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) :
+ null;
+
+ // Clean up the event in case it is being reused
+ event.result = undefined;
+ if ( !event.target ) {
+ event.target = elem;
+ }
+
+ // Clone any incoming data and prepend the event, creating the handler arg list
+ data = data == null ?
+ [ event ] :
+ jQuery.makeArray( data, [ event ] );
+
+ // Allow special events to draw outside the lines
+ special = jQuery.event.special[ type ] || {};
+ if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {
+ return;
+ }
+
+ // Determine event propagation path in advance, per W3C events spec (#9951)
+ // Bubble up to document, then to window; watch for a global ownerDocument var (#9724)
+ if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) {
+
+ bubbleType = special.delegateType || type;
+ if ( !rfocusMorph.test( bubbleType + type ) ) {
+ cur = cur.parentNode;
+ }
+ for ( ; cur; cur = cur.parentNode ) {
+ eventPath.push( cur );
+ tmp = cur;
+ }
+
+ // Only add window if we got to document (e.g., not plain obj or detached DOM)
+ if ( tmp === (elem.ownerDocument || document) ) {
+ eventPath.push( tmp.defaultView || tmp.parentWindow || window );
+ }
+ }
+
+ // Fire handlers on the event path
+ i = 0;
+ while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) {
+
+ event.type = i > 1 ?
+ bubbleType :
+ special.bindType || type;
+
+ // jQuery handler
+ handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" );
+ if ( handle ) {
+ handle.apply( cur, data );
+ }
+
+ // Native handler
+ handle = ontype && cur[ ontype ];
+ if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) {
+ event.preventDefault();
+ }
+ }
+ event.type = type;
+
+ // If nobody prevented the default action, do it now
+ if ( !onlyHandlers && !event.isDefaultPrevented() ) {
+
+ if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) &&
+ jQuery.acceptData( elem ) ) {
+
+ // Call a native DOM method on the target with the same name name as the event.
+ // Can't use an .isFunction() check here because IE6/7 fails that test.
+ // Don't do default actions on window, that's where global variables be (#6170)
+ if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) {
+
+ // Don't re-trigger an onFOO event when we call its FOO() method
+ tmp = elem[ ontype ];
+
+ if ( tmp ) {
+ elem[ ontype ] = null;
+ }
+
+ // Prevent re-triggering of the same event, since we already bubbled it above
+ jQuery.event.triggered = type;
+ try {
+ elem[ type ]();
+ } catch ( e ) {
+ // IE<9 dies on focus/blur to hidden element (#1486,#12518)
+ // only reproducible on winXP IE8 native, not IE9 in IE8 mode
+ }
+ jQuery.event.triggered = undefined;
+
+ if ( tmp ) {
+ elem[ ontype ] = tmp;
+ }
+ }
+ }
+ }
+
+ return event.result;
+ },
+
+ dispatch: function( event ) {
+
+ // Make a writable jQuery.Event from the native event object
+ event = jQuery.event.fix( event );
+
+ var i, ret, handleObj, matched, j,
+ handlerQueue = [],
+ args = core_slice.call( arguments ),
+ handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [],
+ special = jQuery.event.special[ event.type ] || {};
+
+ // Use the fix-ed jQuery.Event rather than the (read-only) native event
+ args[0] = event;
+ event.delegateTarget = this;
+
+ // Call the preDispatch hook for the mapped type, and let it bail if desired
+ if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {
+ return;
+ }
+
+ // Determine handlers
+ handlerQueue = jQuery.event.handlers.call( this, event, handlers );
+
+ // Run delegates first; they may want to stop propagation beneath us
+ i = 0;
+ while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) {
+ event.currentTarget = matched.elem;
+
+ j = 0;
+ while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) {
+
+ // Triggered event must either 1) have no namespace, or
+ // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace).
+ if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) {
+
+ event.handleObj = handleObj;
+ event.data = handleObj.data;
+
+ ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler )
+ .apply( matched.elem, args );
+
+ if ( ret !== undefined ) {
+ if ( (event.result = ret) === false ) {
+ event.preventDefault();
+ event.stopPropagation();
+ }
+ }
+ }
+ }
+ }
+
+ // Call the postDispatch hook for the mapped type
+ if ( special.postDispatch ) {
+ special.postDispatch.call( this, event );
+ }
+
+ return event.result;
+ },
+
+ handlers: function( event, handlers ) {
+ var sel, handleObj, matches, i,
+ handlerQueue = [],
+ delegateCount = handlers.delegateCount,
+ cur = event.target;
+
+ // Find delegate handlers
+ // Black-hole SVG instance trees (#13180)
+ // Avoid non-left-click bubbling in Firefox (#3861)
+ if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) {
+
+ /* jshint eqeqeq: false */
+ for ( ; cur != this; cur = cur.parentNode || this ) {
+ /* jshint eqeqeq: true */
+
+ // Don't check non-elements (#13208)
+ // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
+ if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) {
+ matches = [];
+ for ( i = 0; i < delegateCount; i++ ) {
+ handleObj = handlers[ i ];
+
+ // Don't conflict with Object.prototype properties (#13203)
+ sel = handleObj.selector + " ";
+
+ if ( matches[ sel ] === undefined ) {
+ matches[ sel ] = handleObj.needsContext ?
+ jQuery( sel, this ).index( cur ) >= 0 :
+ jQuery.find( sel, this, null, [ cur ] ).length;
+ }
+ if ( matches[ sel ] ) {
+ matches.push( handleObj );
+ }
+ }
+ if ( matches.length ) {
+ handlerQueue.push({ elem: cur, handlers: matches });
+ }
+ }
+ }
+ }
+
+ // Add the remaining (directly-bound) handlers
+ if ( delegateCount < handlers.length ) {
+ handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) });
+ }
+
+ return handlerQueue;
+ },
+
+ fix: function( event ) {
+ if ( event[ jQuery.expando ] ) {
+ return event;
+ }
+
+ // Create a writable copy of the event object and normalize some properties
+ var i, prop, copy,
+ type = event.type,
+ originalEvent = event,
+ fixHook = this.fixHooks[ type ];
+
+ if ( !fixHook ) {
+ this.fixHooks[ type ] = fixHook =
+ rmouseEvent.test( type ) ? this.mouseHooks :
+ rkeyEvent.test( type ) ? this.keyHooks :
+ {};
+ }
+ copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props;
+
+ event = new jQuery.Event( originalEvent );
+
+ i = copy.length;
+ while ( i-- ) {
+ prop = copy[ i ];
+ event[ prop ] = originalEvent[ prop ];
+ }
+
+ // Support: IE<9
+ // Fix target property (#1925)
+ if ( !event.target ) {
+ event.target = originalEvent.srcElement || document;
+ }
+
+ // Support: Chrome 23+, Safari?
+ // Target should not be a text node (#504, #13143)
+ if ( event.target.nodeType === 3 ) {
+ event.target = event.target.parentNode;
+ }
+
+ // Support: IE<9
+ // For mouse/key events, metaKey==false if it's undefined (#3368, #11328)
+ event.metaKey = !!event.metaKey;
+
+ return fixHook.filter ? fixHook.filter( event, originalEvent ) : event;
+ },
+
+ // Includes some event props shared by KeyEvent and MouseEvent
+ props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
+
+ fixHooks: {},
+
+ keyHooks: {
+ props: "char charCode key keyCode".split(" "),
+ filter: function( event, original ) {
+
+ // Add which for key events
+ if ( event.which == null ) {
+ event.which = original.charCode != null ? original.charCode : original.keyCode;
+ }
+
+ return event;
+ }
+ },
+
+ mouseHooks: {
+ props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
+ filter: function( event, original ) {
+ var body, eventDoc, doc,
+ button = original.button,
+ fromElement = original.fromElement;
+
+ // Calculate pageX/Y if missing and clientX/Y available
+ if ( event.pageX == null && original.clientX != null ) {
+ eventDoc = event.target.ownerDocument || document;
+ doc = eventDoc.documentElement;
+ body = eventDoc.body;
+
+ event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 );
+ event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 );
+ }
+
+ // Add relatedTarget, if necessary
+ if ( !event.relatedTarget && fromElement ) {
+ event.relatedTarget = fromElement === event.target ? original.toElement : fromElement;
+ }
+
+ // Add which for click: 1 === left; 2 === middle; 3 === right
+ // Note: button is not normalized, so don't use it
+ if ( !event.which && button !== undefined ) {
+ event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );
+ }
+
+ return event;
+ }
+ },
+
+ special: {
+ load: {
+ // Prevent triggered image.load events from bubbling to window.load
+ noBubble: true
+ },
+ focus: {
+ // Fire native event if possible so blur/focus sequence is correct
+ trigger: function() {
+ if ( this !== safeActiveElement() && this.focus ) {
+ try {
+ this.focus();
+ return false;
+ } catch ( e ) {
+ // Support: IE<9
+ // If we error on focus to hidden element (#1486, #12518),
+ // let .trigger() run the handlers
+ }
+ }
+ },
+ delegateType: "focusin"
+ },
+ blur: {
+ trigger: function() {
+ if ( this === safeActiveElement() && this.blur ) {
+ this.blur();
+ return false;
+ }
+ },
+ delegateType: "focusout"
+ },
+ click: {
+ // For checkbox, fire native event so checked state will be right
+ trigger: function() {
+ if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) {
+ this.click();
+ return false;
+ }
+ },
+
+ // For cross-browser consistency, don't fire native .click() on links
+ _default: function( event ) {
+ return jQuery.nodeName( event.target, "a" );
+ }
+ },
+
+ beforeunload: {
+ postDispatch: function( event ) {
+
+ // Even when returnValue equals to undefined Firefox will still show alert
+ if ( event.result !== undefined ) {
+ event.originalEvent.returnValue = event.result;
+ }
+ }
+ }
+ },
+
+ simulate: function( type, elem, event, bubble ) {
+ // Piggyback on a donor event to simulate a different one.
+ // Fake originalEvent to avoid donor's stopPropagation, but if the
+ // simulated event prevents default then we do the same on the donor.
+ var e = jQuery.extend(
+ new jQuery.Event(),
+ event,
+ {
+ type: type,
+ isSimulated: true,
+ originalEvent: {}
+ }
+ );
+ if ( bubble ) {
+ jQuery.event.trigger( e, null, elem );
+ } else {
+ jQuery.event.dispatch.call( elem, e );
+ }
+ if ( e.isDefaultPrevented() ) {
+ event.preventDefault();
+ }
+ }
+};
+
+jQuery.removeEvent = document.removeEventListener ?
+ function( elem, type, handle ) {
+ if ( elem.removeEventListener ) {
+ elem.removeEventListener( type, handle, false );
+ }
+ } :
+ function( elem, type, handle ) {
+ var name = "on" + type;
+
+ if ( elem.detachEvent ) {
+
+ // #8545, #7054, preventing memory leaks for custom events in IE6-8
+ // detachEvent needed property on element, by name of that event, to properly expose it to GC
+ if ( typeof elem[ name ] === core_strundefined ) {
+ elem[ name ] = null;
+ }
+
+ elem.detachEvent( name, handle );
+ }
+ };
+
+jQuery.Event = function( src, props ) {
+ // Allow instantiation without the 'new' keyword
+ if ( !(this instanceof jQuery.Event) ) {
+ return new jQuery.Event( src, props );
+ }
+
+ // Event object
+ if ( src && src.type ) {
+ this.originalEvent = src;
+ this.type = src.type;
+
+ // Events bubbling up the document may have been marked as prevented
+ // by a handler lower down the tree; reflect the correct value.
+ this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false ||
+ src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse;
+
+ // Event type
+ } else {
+ this.type = src;
+ }
+
+ // Put explicitly provided properties onto the event object
+ if ( props ) {
+ jQuery.extend( this, props );
+ }
+
+ // Create a timestamp if incoming event doesn't have one
+ this.timeStamp = src && src.timeStamp || jQuery.now();
+
+ // Mark it as fixed
+ this[ jQuery.expando ] = true;
+};
+
+// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
+// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
+jQuery.Event.prototype = {
+ isDefaultPrevented: returnFalse,
+ isPropagationStopped: returnFalse,
+ isImmediatePropagationStopped: returnFalse,
+
+ preventDefault: function() {
+ var e = this.originalEvent;
+
+ this.isDefaultPrevented = returnTrue;
+ if ( !e ) {
+ return;
+ }
+
+ // If preventDefault exists, run it on the original event
+ if ( e.preventDefault ) {
+ e.preventDefault();
+
+ // Support: IE
+ // Otherwise set the returnValue property of the original event to false
+ } else {
+ e.returnValue = false;
+ }
+ },
+ stopPropagation: function() {
+ var e = this.originalEvent;
+
+ this.isPropagationStopped = returnTrue;
+ if ( !e ) {
+ return;
+ }
+ // If stopPropagation exists, run it on the original event
+ if ( e.stopPropagation ) {
+ e.stopPropagation();
+ }
+
+ // Support: IE
+ // Set the cancelBubble property of the original event to true
+ e.cancelBubble = true;
+ },
+ stopImmediatePropagation: function() {
+ this.isImmediatePropagationStopped = returnTrue;
+ this.stopPropagation();
+ }
+};
+
+// Create mouseenter/leave events using mouseover/out and event-time checks
+jQuery.each({
+ mouseenter: "mouseover",
+ mouseleave: "mouseout"
+}, function( orig, fix ) {
+ jQuery.event.special[ orig ] = {
+ delegateType: fix,
+ bindType: fix,
+
+ handle: function( event ) {
+ var ret,
+ target = this,
+ related = event.relatedTarget,
+ handleObj = event.handleObj;
+
+ // For mousenter/leave call the handler if related is outside the target.
+ // NB: No relatedTarget if the mouse left/entered the browser window
+ if ( !related || (related !== target && !jQuery.contains( target, related )) ) {
+ event.type = handleObj.origType;
+ ret = handleObj.handler.apply( this, arguments );
+ event.type = fix;
+ }
+ return ret;
+ }
+ };
+});
+
+// IE submit delegation
+if ( !jQuery.support.submitBubbles ) {
+
+ jQuery.event.special.submit = {
+ setup: function() {
+ // Only need this for delegated form submit events
+ if ( jQuery.nodeName( this, "form" ) ) {
+ return false;
+ }
+
+ // Lazy-add a submit handler when a descendant form may potentially be submitted
+ jQuery.event.add( this, "click._submit keypress._submit", function( e ) {
+ // Node name check avoids a VML-related crash in IE (#9807)
+ var elem = e.target,
+ form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined;
+ if ( form && !jQuery._data( form, "submitBubbles" ) ) {
+ jQuery.event.add( form, "submit._submit", function( event ) {
+ event._submit_bubble = true;
+ });
+ jQuery._data( form, "submitBubbles", true );
+ }
+ });
+ // return undefined since we don't need an event listener
+ },
+
+ postDispatch: function( event ) {
+ // If form was submitted by the user, bubble the event up the tree
+ if ( event._submit_bubble ) {
+ delete event._submit_bubble;
+ if ( this.parentNode && !event.isTrigger ) {
+ jQuery.event.simulate( "submit", this.parentNode, event, true );
+ }
+ }
+ },
+
+ teardown: function() {
+ // Only need this for delegated form submit events
+ if ( jQuery.nodeName( this, "form" ) ) {
+ return false;
+ }
+
+ // Remove delegated handlers; cleanData eventually reaps submit handlers attached above
+ jQuery.event.remove( this, "._submit" );
+ }
+ };
+}
+
+// IE change delegation and checkbox/radio fix
+if ( !jQuery.support.changeBubbles ) {
+
+ jQuery.event.special.change = {
+
+ setup: function() {
+
+ if ( rformElems.test( this.nodeName ) ) {
+ // IE doesn't fire change on a check/radio until blur; trigger it on click
+ // after a propertychange. Eat the blur-change in special.change.handle.
+ // This still fires onchange a second time for check/radio after blur.
+ if ( this.type === "checkbox" || this.type === "radio" ) {
+ jQuery.event.add( this, "propertychange._change", function( event ) {
+ if ( event.originalEvent.propertyName === "checked" ) {
+ this._just_changed = true;
+ }
+ });
+ jQuery.event.add( this, "click._change", function( event ) {
+ if ( this._just_changed && !event.isTrigger ) {
+ this._just_changed = false;
+ }
+ // Allow triggered, simulated change events (#11500)
+ jQuery.event.simulate( "change", this, event, true );
+ });
+ }
+ return false;
+ }
+ // Delegated event; lazy-add a change handler on descendant inputs
+ jQuery.event.add( this, "beforeactivate._change", function( e ) {
+ var elem = e.target;
+
+ if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) {
+ jQuery.event.add( elem, "change._change", function( event ) {
+ if ( this.parentNode && !event.isSimulated && !event.isTrigger ) {
+ jQuery.event.simulate( "change", this.parentNode, event, true );
+ }
+ });
+ jQuery._data( elem, "changeBubbles", true );
+ }
+ });
+ },
+
+ handle: function( event ) {
+ var elem = event.target;
+
+ // Swallow native change events from checkbox/radio, we already triggered them above
+ if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) {
+ return event.handleObj.handler.apply( this, arguments );
+ }
+ },
+
+ teardown: function() {
+ jQuery.event.remove( this, "._change" );
+
+ return !rformElems.test( this.nodeName );
+ }
+ };
+}
+
+// Create "bubbling" focus and blur events
+if ( !jQuery.support.focusinBubbles ) {
+ jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) {
+
+ // Attach a single capturing handler while someone wants focusin/focusout
+ var attaches = 0,
+ handler = function( event ) {
+ jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true );
+ };
+
+ jQuery.event.special[ fix ] = {
+ setup: function() {
+ if ( attaches++ === 0 ) {
+ document.addEventListener( orig, handler, true );
+ }
+ },
+ teardown: function() {
+ if ( --attaches === 0 ) {
+ document.removeEventListener( orig, handler, true );
+ }
+ }
+ };
+ });
+}
+
+jQuery.fn.extend({
+
+ on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
+ var type, origFn;
+
+ // Types can be a map of types/handlers
+ if ( typeof types === "object" ) {
+ // ( types-Object, selector, data )
+ if ( typeof selector !== "string" ) {
+ // ( types-Object, data )
+ data = data || selector;
+ selector = undefined;
+ }
+ for ( type in types ) {
+ this.on( type, selector, data, types[ type ], one );
+ }
+ return this;
+ }
+
+ if ( data == null && fn == null ) {
+ // ( types, fn )
+ fn = selector;
+ data = selector = undefined;
+ } else if ( fn == null ) {
+ if ( typeof selector === "string" ) {
+ // ( types, selector, fn )
+ fn = data;
+ data = undefined;
+ } else {
+ // ( types, data, fn )
+ fn = data;
+ data = selector;
+ selector = undefined;
+ }
+ }
+ if ( fn === false ) {
+ fn = returnFalse;
+ } else if ( !fn ) {
+ return this;
+ }
+
+ if ( one === 1 ) {
+ origFn = fn;
+ fn = function( event ) {
+ // Can use an empty set, since event contains the info
+ jQuery().off( event );
+ return origFn.apply( this, arguments );
+ };
+ // Use same guid so caller can remove using origFn
+ fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );
+ }
+ return this.each( function() {
+ jQuery.event.add( this, types, fn, data, selector );
+ });
+ },
+ one: function( types, selector, data, fn ) {
+ return this.on( types, selector, data, fn, 1 );
+ },
+ off: function( types, selector, fn ) {
+ var handleObj, type;
+ if ( types && types.preventDefault && types.handleObj ) {
+ // ( event ) dispatched jQuery.Event
+ handleObj = types.handleObj;
+ jQuery( types.delegateTarget ).off(
+ handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType,
+ handleObj.selector,
+ handleObj.handler
+ );
+ return this;
+ }
+ if ( typeof types === "object" ) {
+ // ( types-object [, selector] )
+ for ( type in types ) {
+ this.off( type, selector, types[ type ] );
+ }
+ return this;
+ }
+ if ( selector === false || typeof selector === "function" ) {
+ // ( types [, fn] )
+ fn = selector;
+ selector = undefined;
+ }
+ if ( fn === false ) {
+ fn = returnFalse;
+ }
+ return this.each(function() {
+ jQuery.event.remove( this, types, fn, selector );
+ });
+ },
+
+ trigger: function( type, data ) {
+ return this.each(function() {
+ jQuery.event.trigger( type, data, this );
+ });
+ },
+ triggerHandler: function( type, data ) {
+ var elem = this[0];
+ if ( elem ) {
+ return jQuery.event.trigger( type, data, elem, true );
+ }
+ }
+});
+var isSimple = /^.[^:#\[\.,]*$/,
+ rparentsprev = /^(?:parents|prev(?:Until|All))/,
+ rneedsContext = jQuery.expr.match.needsContext,
+ // methods guaranteed to produce a unique set when starting from a unique set
+ guaranteedUnique = {
+ children: true,
+ contents: true,
+ next: true,
+ prev: true
+ };
+
+jQuery.fn.extend({
+ find: function( selector ) {
+ var i,
+ ret = [],
+ self = this,
+ len = self.length;
+
+ if ( typeof selector !== "string" ) {
+ return this.pushStack( jQuery( selector ).filter(function() {
+ for ( i = 0; i < len; i++ ) {
+ if ( jQuery.contains( self[ i ], this ) ) {
+ return true;
+ }
+ }
+ }) );
+ }
+
+ for ( i = 0; i < len; i++ ) {
+ jQuery.find( selector, self[ i ], ret );
+ }
+
+ // Needed because $( selector, context ) becomes $( context ).find( selector )
+ ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret );
+ ret.selector = this.selector ? this.selector + " " + selector : selector;
+ return ret;
+ },
+
+ has: function( target ) {
+ var i,
+ targets = jQuery( target, this ),
+ len = targets.length;
+
+ return this.filter(function() {
+ for ( i = 0; i < len; i++ ) {
+ if ( jQuery.contains( this, targets[i] ) ) {
+ return true;
+ }
+ }
+ });
+ },
+
+ not: function( selector ) {
+ return this.pushStack( winnow(this, selector || [], true) );
+ },
+
+ filter: function( selector ) {
+ return this.pushStack( winnow(this, selector || [], false) );
+ },
+
+ is: function( selector ) {
+ return !!winnow(
+ this,
+
+ // If this is a positional/relative selector, check membership in the returned set
+ // so $("p:first").is("p:last") won't return true for a doc with two "p".
+ typeof selector === "string" && rneedsContext.test( selector ) ?
+ jQuery( selector ) :
+ selector || [],
+ false
+ ).length;
+ },
+
+ closest: function( selectors, context ) {
+ var cur,
+ i = 0,
+ l = this.length,
+ ret = [],
+ pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ?
+ jQuery( selectors, context || this.context ) :
+ 0;
+
+ for ( ; i < l; i++ ) {
+ for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) {
+ // Always skip document fragments
+ if ( cur.nodeType < 11 && (pos ?
+ pos.index(cur) > -1 :
+
+ // Don't pass non-elements to Sizzle
+ cur.nodeType === 1 &&
+ jQuery.find.matchesSelector(cur, selectors)) ) {
+
+ cur = ret.push( cur );
+ break;
+ }
+ }
+ }
+
+ return this.pushStack( ret.length > 1 ? jQuery.unique( ret ) : ret );
+ },
+
+ // Determine the position of an element within
+ // the matched set of elements
+ index: function( elem ) {
+
+ // No argument, return index in parent
+ if ( !elem ) {
+ return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1;
+ }
+
+ // index in selector
+ if ( typeof elem === "string" ) {
+ return jQuery.inArray( this[0], jQuery( elem ) );
+ }
+
+ // Locate the position of the desired element
+ return jQuery.inArray(
+ // If it receives a jQuery object, the first element is used
+ elem.jquery ? elem[0] : elem, this );
+ },
+
+ add: function( selector, context ) {
+ var set = typeof selector === "string" ?
+ jQuery( selector, context ) :
+ jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ),
+ all = jQuery.merge( this.get(), set );
+
+ return this.pushStack( jQuery.unique(all) );
+ },
+
+ addBack: function( selector ) {
+ return this.add( selector == null ?
+ this.prevObject : this.prevObject.filter(selector)
+ );
+ }
+});
+
+function sibling( cur, dir ) {
+ do {
+ cur = cur[ dir ];
+ } while ( cur && cur.nodeType !== 1 );
+
+ return cur;
+}
+
+jQuery.each({
+ parent: function( elem ) {
+ var parent = elem.parentNode;
+ return parent && parent.nodeType !== 11 ? parent : null;
+ },
+ parents: function( elem ) {
+ return jQuery.dir( elem, "parentNode" );
+ },
+ parentsUntil: function( elem, i, until ) {
+ return jQuery.dir( elem, "parentNode", until );
+ },
+ next: function( elem ) {
+ return sibling( elem, "nextSibling" );
+ },
+ prev: function( elem ) {
+ return sibling( elem, "previousSibling" );
+ },
+ nextAll: function( elem ) {
+ return jQuery.dir( elem, "nextSibling" );
+ },
+ prevAll: function( elem ) {
+ return jQuery.dir( elem, "previousSibling" );
+ },
+ nextUntil: function( elem, i, until ) {
+ return jQuery.dir( elem, "nextSibling", until );
+ },
+ prevUntil: function( elem, i, until ) {
+ return jQuery.dir( elem, "previousSibling", until );
+ },
+ siblings: function( elem ) {
+ return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem );
+ },
+ children: function( elem ) {
+ return jQuery.sibling( elem.firstChild );
+ },
+ contents: function( elem ) {
+ return jQuery.nodeName( elem, "iframe" ) ?
+ elem.contentDocument || elem.contentWindow.document :
+ jQuery.merge( [], elem.childNodes );
+ }
+}, function( name, fn ) {
+ jQuery.fn[ name ] = function( until, selector ) {
+ var ret = jQuery.map( this, fn, until );
+
+ if ( name.slice( -5 ) !== "Until" ) {
+ selector = until;
+ }
+
+ if ( selector && typeof selector === "string" ) {
+ ret = jQuery.filter( selector, ret );
+ }
+
+ if ( this.length > 1 ) {
+ // Remove duplicates
+ if ( !guaranteedUnique[ name ] ) {
+ ret = jQuery.unique( ret );
+ }
+
+ // Reverse order for parents* and prev-derivatives
+ if ( rparentsprev.test( name ) ) {
+ ret = ret.reverse();
+ }
+ }
+
+ return this.pushStack( ret );
+ };
+});
+
+jQuery.extend({
+ filter: function( expr, elems, not ) {
+ var elem = elems[ 0 ];
+
+ if ( not ) {
+ expr = ":not(" + expr + ")";
+ }
+
+ return elems.length === 1 && elem.nodeType === 1 ?
+ jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] :
+ jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {
+ return elem.nodeType === 1;
+ }));
+ },
+
+ dir: function( elem, dir, until ) {
+ var matched = [],
+ cur = elem[ dir ];
+
+ while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) {
+ if ( cur.nodeType === 1 ) {
+ matched.push( cur );
+ }
+ cur = cur[dir];
+ }
+ return matched;
+ },
+
+ sibling: function( n, elem ) {
+ var r = [];
+
+ for ( ; n; n = n.nextSibling ) {
+ if ( n.nodeType === 1 && n !== elem ) {
+ r.push( n );
+ }
+ }
+
+ return r;
+ }
+});
+
+// Implement the identical functionality for filter and not
+function winnow( elements, qualifier, not ) {
+ if ( jQuery.isFunction( qualifier ) ) {
+ return jQuery.grep( elements, function( elem, i ) {
+ /* jshint -W018 */
+ return !!qualifier.call( elem, i, elem ) !== not;
+ });
+
+ }
+
+ if ( qualifier.nodeType ) {
+ return jQuery.grep( elements, function( elem ) {
+ return ( elem === qualifier ) !== not;
+ });
+
+ }
+
+ if ( typeof qualifier === "string" ) {
+ if ( isSimple.test( qualifier ) ) {
+ return jQuery.filter( qualifier, elements, not );
+ }
+
+ qualifier = jQuery.filter( qualifier, elements );
+ }
+
+ return jQuery.grep( elements, function( elem ) {
+ return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not;
+ });
+}
+function createSafeFragment( document ) {
+ var list = nodeNames.split( "|" ),
+ safeFrag = document.createDocumentFragment();
+
+ if ( safeFrag.createElement ) {
+ while ( list.length ) {
+ safeFrag.createElement(
+ list.pop()
+ );
+ }
+ }
+ return safeFrag;
+}
+
+var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" +
+ "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
+ rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g,
+ rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"),
+ rleadingWhitespace = /^\s+/,
+ rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
+ rtagName = /<([\w:]+)/,
+ rtbody = /\s*$/g,
+
+ // We have to close these tags to support XHTML (#13200)
+ wrapMap = {
+ option: [ 1, "", " " ],
+ legend: [ 1, "", " " ],
+ area: [ 1, "", " " ],
+ param: [ 1, "", " " ],
+ thead: [ 1, "" ],
+ tr: [ 2, "" ],
+ col: [ 2, "" ],
+ td: [ 3, "" ],
+
+ // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags,
+ // unless wrapped in a div with non-breaking characters in front of it.
+ _default: jQuery.support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X", "
" ]
+ },
+ safeFragment = createSafeFragment( document ),
+ fragmentDiv = safeFragment.appendChild( document.createElement("div") );
+
+wrapMap.optgroup = wrapMap.option;
+wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
+wrapMap.th = wrapMap.td;
+
+jQuery.fn.extend({
+ text: function( value ) {
+ return jQuery.access( this, function( value ) {
+ return value === undefined ?
+ jQuery.text( this ) :
+ this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) );
+ }, null, value, arguments.length );
+ },
+
+ append: function() {
+ return this.domManip( arguments, function( elem ) {
+ if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {
+ var target = manipulationTarget( this, elem );
+ target.appendChild( elem );
+ }
+ });
+ },
+
+ prepend: function() {
+ return this.domManip( arguments, function( elem ) {
+ if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {
+ var target = manipulationTarget( this, elem );
+ target.insertBefore( elem, target.firstChild );
+ }
+ });
+ },
+
+ before: function() {
+ return this.domManip( arguments, function( elem ) {
+ if ( this.parentNode ) {
+ this.parentNode.insertBefore( elem, this );
+ }
+ });
+ },
+
+ after: function() {
+ return this.domManip( arguments, function( elem ) {
+ if ( this.parentNode ) {
+ this.parentNode.insertBefore( elem, this.nextSibling );
+ }
+ });
+ },
+
+ // keepData is for internal use only--do not document
+ remove: function( selector, keepData ) {
+ var elem,
+ elems = selector ? jQuery.filter( selector, this ) : this,
+ i = 0;
+
+ for ( ; (elem = elems[i]) != null; i++ ) {
+
+ if ( !keepData && elem.nodeType === 1 ) {
+ jQuery.cleanData( getAll( elem ) );
+ }
+
+ if ( elem.parentNode ) {
+ if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) {
+ setGlobalEval( getAll( elem, "script" ) );
+ }
+ elem.parentNode.removeChild( elem );
+ }
+ }
+
+ return this;
+ },
+
+ empty: function() {
+ var elem,
+ i = 0;
+
+ for ( ; (elem = this[i]) != null; i++ ) {
+ // Remove element nodes and prevent memory leaks
+ if ( elem.nodeType === 1 ) {
+ jQuery.cleanData( getAll( elem, false ) );
+ }
+
+ // Remove any remaining nodes
+ while ( elem.firstChild ) {
+ elem.removeChild( elem.firstChild );
+ }
+
+ // If this is a select, ensure that it displays empty (#12336)
+ // Support: IE<9
+ if ( elem.options && jQuery.nodeName( elem, "select" ) ) {
+ elem.options.length = 0;
+ }
+ }
+
+ return this;
+ },
+
+ clone: function( dataAndEvents, deepDataAndEvents ) {
+ dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
+ deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
+
+ return this.map( function () {
+ return jQuery.clone( this, dataAndEvents, deepDataAndEvents );
+ });
+ },
+
+ html: function( value ) {
+ return jQuery.access( this, function( value ) {
+ var elem = this[0] || {},
+ i = 0,
+ l = this.length;
+
+ if ( value === undefined ) {
+ return elem.nodeType === 1 ?
+ elem.innerHTML.replace( rinlinejQuery, "" ) :
+ undefined;
+ }
+
+ // See if we can take a shortcut and just use innerHTML
+ if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
+ ( jQuery.support.htmlSerialize || !rnoshimcache.test( value ) ) &&
+ ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) &&
+ !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) {
+
+ value = value.replace( rxhtmlTag, "<$1>$2>" );
+
+ try {
+ for (; i < l; i++ ) {
+ // Remove element nodes and prevent memory leaks
+ elem = this[i] || {};
+ if ( elem.nodeType === 1 ) {
+ jQuery.cleanData( getAll( elem, false ) );
+ elem.innerHTML = value;
+ }
+ }
+
+ elem = 0;
+
+ // If using innerHTML throws an exception, use the fallback method
+ } catch(e) {}
+ }
+
+ if ( elem ) {
+ this.empty().append( value );
+ }
+ }, null, value, arguments.length );
+ },
+
+ replaceWith: function() {
+ var
+ // Snapshot the DOM in case .domManip sweeps something relevant into its fragment
+ args = jQuery.map( this, function( elem ) {
+ return [ elem.nextSibling, elem.parentNode ];
+ }),
+ i = 0;
+
+ // Make the changes, replacing each context element with the new content
+ this.domManip( arguments, function( elem ) {
+ var next = args[ i++ ],
+ parent = args[ i++ ];
+
+ if ( parent ) {
+ // Don't use the snapshot next if it has moved (#13810)
+ if ( next && next.parentNode !== parent ) {
+ next = this.nextSibling;
+ }
+ jQuery( this ).remove();
+ parent.insertBefore( elem, next );
+ }
+ // Allow new content to include elements from the context set
+ }, true );
+
+ // Force removal if there was no new content (e.g., from empty arguments)
+ return i ? this : this.remove();
+ },
+
+ detach: function( selector ) {
+ return this.remove( selector, true );
+ },
+
+ domManip: function( args, callback, allowIntersection ) {
+
+ // Flatten any nested arrays
+ args = core_concat.apply( [], args );
+
+ var first, node, hasScripts,
+ scripts, doc, fragment,
+ i = 0,
+ l = this.length,
+ set = this,
+ iNoClone = l - 1,
+ value = args[0],
+ isFunction = jQuery.isFunction( value );
+
+ // We can't cloneNode fragments that contain checked, in WebKit
+ if ( isFunction || !( l <= 1 || typeof value !== "string" || jQuery.support.checkClone || !rchecked.test( value ) ) ) {
+ return this.each(function( index ) {
+ var self = set.eq( index );
+ if ( isFunction ) {
+ args[0] = value.call( this, index, self.html() );
+ }
+ self.domManip( args, callback, allowIntersection );
+ });
+ }
+
+ if ( l ) {
+ fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, !allowIntersection && this );
+ first = fragment.firstChild;
+
+ if ( fragment.childNodes.length === 1 ) {
+ fragment = first;
+ }
+
+ if ( first ) {
+ scripts = jQuery.map( getAll( fragment, "script" ), disableScript );
+ hasScripts = scripts.length;
+
+ // Use the original fragment for the last item instead of the first because it can end up
+ // being emptied incorrectly in certain situations (#8070).
+ for ( ; i < l; i++ ) {
+ node = fragment;
+
+ if ( i !== iNoClone ) {
+ node = jQuery.clone( node, true, true );
+
+ // Keep references to cloned scripts for later restoration
+ if ( hasScripts ) {
+ jQuery.merge( scripts, getAll( node, "script" ) );
+ }
+ }
+
+ callback.call( this[i], node, i );
+ }
+
+ if ( hasScripts ) {
+ doc = scripts[ scripts.length - 1 ].ownerDocument;
+
+ // Reenable scripts
+ jQuery.map( scripts, restoreScript );
+
+ // Evaluate executable scripts on first document insertion
+ for ( i = 0; i < hasScripts; i++ ) {
+ node = scripts[ i ];
+ if ( rscriptType.test( node.type || "" ) &&
+ !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) {
+
+ if ( node.src ) {
+ // Hope ajax is available...
+ jQuery._evalUrl( node.src );
+ } else {
+ jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) );
+ }
+ }
+ }
+ }
+
+ // Fix #11809: Avoid leaking memory
+ fragment = first = null;
+ }
+ }
+
+ return this;
+ }
+});
+
+// Support: IE<8
+// Manipulating tables requires a tbody
+function manipulationTarget( elem, content ) {
+ return jQuery.nodeName( elem, "table" ) &&
+ jQuery.nodeName( content.nodeType === 1 ? content : content.firstChild, "tr" ) ?
+
+ elem.getElementsByTagName("tbody")[0] ||
+ elem.appendChild( elem.ownerDocument.createElement("tbody") ) :
+ elem;
+}
+
+// Replace/restore the type attribute of script elements for safe DOM manipulation
+function disableScript( elem ) {
+ elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type;
+ return elem;
+}
+function restoreScript( elem ) {
+ var match = rscriptTypeMasked.exec( elem.type );
+ if ( match ) {
+ elem.type = match[1];
+ } else {
+ elem.removeAttribute("type");
+ }
+ return elem;
+}
+
+// Mark scripts as having already been evaluated
+function setGlobalEval( elems, refElements ) {
+ var elem,
+ i = 0;
+ for ( ; (elem = elems[i]) != null; i++ ) {
+ jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) );
+ }
+}
+
+function cloneCopyEvent( src, dest ) {
+
+ if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) {
+ return;
+ }
+
+ var type, i, l,
+ oldData = jQuery._data( src ),
+ curData = jQuery._data( dest, oldData ),
+ events = oldData.events;
+
+ if ( events ) {
+ delete curData.handle;
+ curData.events = {};
+
+ for ( type in events ) {
+ for ( i = 0, l = events[ type ].length; i < l; i++ ) {
+ jQuery.event.add( dest, type, events[ type ][ i ] );
+ }
+ }
+ }
+
+ // make the cloned public data object a copy from the original
+ if ( curData.data ) {
+ curData.data = jQuery.extend( {}, curData.data );
+ }
+}
+
+function fixCloneNodeIssues( src, dest ) {
+ var nodeName, e, data;
+
+ // We do not need to do anything for non-Elements
+ if ( dest.nodeType !== 1 ) {
+ return;
+ }
+
+ nodeName = dest.nodeName.toLowerCase();
+
+ // IE6-8 copies events bound via attachEvent when using cloneNode.
+ if ( !jQuery.support.noCloneEvent && dest[ jQuery.expando ] ) {
+ data = jQuery._data( dest );
+
+ for ( e in data.events ) {
+ jQuery.removeEvent( dest, e, data.handle );
+ }
+
+ // Event data gets referenced instead of copied if the expando gets copied too
+ dest.removeAttribute( jQuery.expando );
+ }
+
+ // IE blanks contents when cloning scripts, and tries to evaluate newly-set text
+ if ( nodeName === "script" && dest.text !== src.text ) {
+ disableScript( dest ).text = src.text;
+ restoreScript( dest );
+
+ // IE6-10 improperly clones children of object elements using classid.
+ // IE10 throws NoModificationAllowedError if parent is null, #12132.
+ } else if ( nodeName === "object" ) {
+ if ( dest.parentNode ) {
+ dest.outerHTML = src.outerHTML;
+ }
+
+ // This path appears unavoidable for IE9. When cloning an object
+ // element in IE9, the outerHTML strategy above is not sufficient.
+ // If the src has innerHTML and the destination does not,
+ // copy the src.innerHTML into the dest.innerHTML. #10324
+ if ( jQuery.support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) {
+ dest.innerHTML = src.innerHTML;
+ }
+
+ } else if ( nodeName === "input" && manipulation_rcheckableType.test( src.type ) ) {
+ // IE6-8 fails to persist the checked state of a cloned checkbox
+ // or radio button. Worse, IE6-7 fail to give the cloned element
+ // a checked appearance if the defaultChecked value isn't also set
+
+ dest.defaultChecked = dest.checked = src.checked;
+
+ // IE6-7 get confused and end up setting the value of a cloned
+ // checkbox/radio button to an empty string instead of "on"
+ if ( dest.value !== src.value ) {
+ dest.value = src.value;
+ }
+
+ // IE6-8 fails to return the selected option to the default selected
+ // state when cloning options
+ } else if ( nodeName === "option" ) {
+ dest.defaultSelected = dest.selected = src.defaultSelected;
+
+ // IE6-8 fails to set the defaultValue to the correct value when
+ // cloning other types of input fields
+ } else if ( nodeName === "input" || nodeName === "textarea" ) {
+ dest.defaultValue = src.defaultValue;
+ }
+}
+
+jQuery.each({
+ appendTo: "append",
+ prependTo: "prepend",
+ insertBefore: "before",
+ insertAfter: "after",
+ replaceAll: "replaceWith"
+}, function( name, original ) {
+ jQuery.fn[ name ] = function( selector ) {
+ var elems,
+ i = 0,
+ ret = [],
+ insert = jQuery( selector ),
+ last = insert.length - 1;
+
+ for ( ; i <= last; i++ ) {
+ elems = i === last ? this : this.clone(true);
+ jQuery( insert[i] )[ original ]( elems );
+
+ // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get()
+ core_push.apply( ret, elems.get() );
+ }
+
+ return this.pushStack( ret );
+ };
+});
+
+function getAll( context, tag ) {
+ var elems, elem,
+ i = 0,
+ found = typeof context.getElementsByTagName !== core_strundefined ? context.getElementsByTagName( tag || "*" ) :
+ typeof context.querySelectorAll !== core_strundefined ? context.querySelectorAll( tag || "*" ) :
+ undefined;
+
+ if ( !found ) {
+ for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) {
+ if ( !tag || jQuery.nodeName( elem, tag ) ) {
+ found.push( elem );
+ } else {
+ jQuery.merge( found, getAll( elem, tag ) );
+ }
+ }
+ }
+
+ return tag === undefined || tag && jQuery.nodeName( context, tag ) ?
+ jQuery.merge( [ context ], found ) :
+ found;
+}
+
+// Used in buildFragment, fixes the defaultChecked property
+function fixDefaultChecked( elem ) {
+ if ( manipulation_rcheckableType.test( elem.type ) ) {
+ elem.defaultChecked = elem.checked;
+ }
+}
+
+jQuery.extend({
+ clone: function( elem, dataAndEvents, deepDataAndEvents ) {
+ var destElements, node, clone, i, srcElements,
+ inPage = jQuery.contains( elem.ownerDocument, elem );
+
+ if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) {
+ clone = elem.cloneNode( true );
+
+ // IE<=8 does not properly clone detached, unknown element nodes
+ } else {
+ fragmentDiv.innerHTML = elem.outerHTML;
+ fragmentDiv.removeChild( clone = fragmentDiv.firstChild );
+ }
+
+ if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) &&
+ (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) {
+
+ // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2
+ destElements = getAll( clone );
+ srcElements = getAll( elem );
+
+ // Fix all IE cloning issues
+ for ( i = 0; (node = srcElements[i]) != null; ++i ) {
+ // Ensure that the destination node is not null; Fixes #9587
+ if ( destElements[i] ) {
+ fixCloneNodeIssues( node, destElements[i] );
+ }
+ }
+ }
+
+ // Copy the events from the original to the clone
+ if ( dataAndEvents ) {
+ if ( deepDataAndEvents ) {
+ srcElements = srcElements || getAll( elem );
+ destElements = destElements || getAll( clone );
+
+ for ( i = 0; (node = srcElements[i]) != null; i++ ) {
+ cloneCopyEvent( node, destElements[i] );
+ }
+ } else {
+ cloneCopyEvent( elem, clone );
+ }
+ }
+
+ // Preserve script evaluation history
+ destElements = getAll( clone, "script" );
+ if ( destElements.length > 0 ) {
+ setGlobalEval( destElements, !inPage && getAll( elem, "script" ) );
+ }
+
+ destElements = srcElements = node = null;
+
+ // Return the cloned set
+ return clone;
+ },
+
+ buildFragment: function( elems, context, scripts, selection ) {
+ var j, elem, contains,
+ tmp, tag, tbody, wrap,
+ l = elems.length,
+
+ // Ensure a safe fragment
+ safe = createSafeFragment( context ),
+
+ nodes = [],
+ i = 0;
+
+ for ( ; i < l; i++ ) {
+ elem = elems[ i ];
+
+ if ( elem || elem === 0 ) {
+
+ // Add nodes directly
+ if ( jQuery.type( elem ) === "object" ) {
+ jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );
+
+ // Convert non-html into a text node
+ } else if ( !rhtml.test( elem ) ) {
+ nodes.push( context.createTextNode( elem ) );
+
+ // Convert html into DOM nodes
+ } else {
+ tmp = tmp || safe.appendChild( context.createElement("div") );
+
+ // Deserialize a standard representation
+ tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase();
+ wrap = wrapMap[ tag ] || wrapMap._default;
+
+ tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>$2>" ) + wrap[2];
+
+ // Descend through wrappers to the right content
+ j = wrap[0];
+ while ( j-- ) {
+ tmp = tmp.lastChild;
+ }
+
+ // Manually add leading whitespace removed by IE
+ if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) {
+ nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) );
+ }
+
+ // Remove IE's autoinserted from table fragments
+ if ( !jQuery.support.tbody ) {
+
+ // String was a , *may* have spurious
+ elem = tag === "table" && !rtbody.test( elem ) ?
+ tmp.firstChild :
+
+ // String was a bare or
+ wrap[1] === "" && !rtbody.test( elem ) ?
+ tmp :
+ 0;
+
+ j = elem && elem.childNodes.length;
+ while ( j-- ) {
+ if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) {
+ elem.removeChild( tbody );
+ }
+ }
+ }
+
+ jQuery.merge( nodes, tmp.childNodes );
+
+ // Fix #12392 for WebKit and IE > 9
+ tmp.textContent = "";
+
+ // Fix #12392 for oldIE
+ while ( tmp.firstChild ) {
+ tmp.removeChild( tmp.firstChild );
+ }
+
+ // Remember the top-level container for proper cleanup
+ tmp = safe.lastChild;
+ }
+ }
+ }
+
+ // Fix #11356: Clear elements from fragment
+ if ( tmp ) {
+ safe.removeChild( tmp );
+ }
+
+ // Reset defaultChecked for any radios and checkboxes
+ // about to be appended to the DOM in IE 6/7 (#8060)
+ if ( !jQuery.support.appendChecked ) {
+ jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked );
+ }
+
+ i = 0;
+ while ( (elem = nodes[ i++ ]) ) {
+
+ // #4087 - If origin and destination elements are the same, and this is
+ // that element, do not do anything
+ if ( selection && jQuery.inArray( elem, selection ) !== -1 ) {
+ continue;
+ }
+
+ contains = jQuery.contains( elem.ownerDocument, elem );
+
+ // Append to fragment
+ tmp = getAll( safe.appendChild( elem ), "script" );
+
+ // Preserve script evaluation history
+ if ( contains ) {
+ setGlobalEval( tmp );
+ }
+
+ // Capture executables
+ if ( scripts ) {
+ j = 0;
+ while ( (elem = tmp[ j++ ]) ) {
+ if ( rscriptType.test( elem.type || "" ) ) {
+ scripts.push( elem );
+ }
+ }
+ }
+ }
+
+ tmp = null;
+
+ return safe;
+ },
+
+ cleanData: function( elems, /* internal */ acceptData ) {
+ var elem, type, id, data,
+ i = 0,
+ internalKey = jQuery.expando,
+ cache = jQuery.cache,
+ deleteExpando = jQuery.support.deleteExpando,
+ special = jQuery.event.special;
+
+ for ( ; (elem = elems[i]) != null; i++ ) {
+
+ if ( acceptData || jQuery.acceptData( elem ) ) {
+
+ id = elem[ internalKey ];
+ data = id && cache[ id ];
+
+ if ( data ) {
+ if ( data.events ) {
+ for ( type in data.events ) {
+ if ( special[ type ] ) {
+ jQuery.event.remove( elem, type );
+
+ // This is a shortcut to avoid jQuery.event.remove's overhead
+ } else {
+ jQuery.removeEvent( elem, type, data.handle );
+ }
+ }
+ }
+
+ // Remove cache only if it was not already removed by jQuery.event.remove
+ if ( cache[ id ] ) {
+
+ delete cache[ id ];
+
+ // IE does not allow us to delete expando properties from nodes,
+ // nor does it have a removeAttribute function on Document nodes;
+ // we must handle all of these cases
+ if ( deleteExpando ) {
+ delete elem[ internalKey ];
+
+ } else if ( typeof elem.removeAttribute !== core_strundefined ) {
+ elem.removeAttribute( internalKey );
+
+ } else {
+ elem[ internalKey ] = null;
+ }
+
+ core_deletedIds.push( id );
+ }
+ }
+ }
+ }
+ },
+
+ _evalUrl: function( url ) {
+ return jQuery.ajax({
+ url: url,
+ type: "GET",
+ dataType: "script",
+ async: false,
+ global: false,
+ "throws": true
+ });
+ }
+});
+jQuery.fn.extend({
+ wrapAll: function( html ) {
+ if ( jQuery.isFunction( html ) ) {
+ return this.each(function(i) {
+ jQuery(this).wrapAll( html.call(this, i) );
+ });
+ }
+
+ if ( this[0] ) {
+ // The elements to wrap the target around
+ var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true);
+
+ if ( this[0].parentNode ) {
+ wrap.insertBefore( this[0] );
+ }
+
+ wrap.map(function() {
+ var elem = this;
+
+ while ( elem.firstChild && elem.firstChild.nodeType === 1 ) {
+ elem = elem.firstChild;
+ }
+
+ return elem;
+ }).append( this );
+ }
+
+ return this;
+ },
+
+ wrapInner: function( html ) {
+ if ( jQuery.isFunction( html ) ) {
+ return this.each(function(i) {
+ jQuery(this).wrapInner( html.call(this, i) );
+ });
+ }
+
+ return this.each(function() {
+ var self = jQuery( this ),
+ contents = self.contents();
+
+ if ( contents.length ) {
+ contents.wrapAll( html );
+
+ } else {
+ self.append( html );
+ }
+ });
+ },
+
+ wrap: function( html ) {
+ var isFunction = jQuery.isFunction( html );
+
+ return this.each(function(i) {
+ jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html );
+ });
+ },
+
+ unwrap: function() {
+ return this.parent().each(function() {
+ if ( !jQuery.nodeName( this, "body" ) ) {
+ jQuery( this ).replaceWith( this.childNodes );
+ }
+ }).end();
+ }
+});
+var iframe, getStyles, curCSS,
+ ralpha = /alpha\([^)]*\)/i,
+ ropacity = /opacity\s*=\s*([^)]*)/,
+ rposition = /^(top|right|bottom|left)$/,
+ // swappable if display is none or starts with table except "table", "table-cell", or "table-caption"
+ // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display
+ rdisplayswap = /^(none|table(?!-c[ea]).+)/,
+ rmargin = /^margin/,
+ rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ),
+ rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ),
+ rrelNum = new RegExp( "^([+-])=(" + core_pnum + ")", "i" ),
+ elemdisplay = { BODY: "block" },
+
+ cssShow = { position: "absolute", visibility: "hidden", display: "block" },
+ cssNormalTransform = {
+ letterSpacing: 0,
+ fontWeight: 400
+ },
+
+ cssExpand = [ "Top", "Right", "Bottom", "Left" ],
+ cssPrefixes = [ "Webkit", "O", "Moz", "ms" ];
+
+// return a css property mapped to a potentially vendor prefixed property
+function vendorPropName( style, name ) {
+
+ // shortcut for names that are not vendor prefixed
+ if ( name in style ) {
+ return name;
+ }
+
+ // check for vendor prefixed names
+ var capName = name.charAt(0).toUpperCase() + name.slice(1),
+ origName = name,
+ i = cssPrefixes.length;
+
+ while ( i-- ) {
+ name = cssPrefixes[ i ] + capName;
+ if ( name in style ) {
+ return name;
+ }
+ }
+
+ return origName;
+}
+
+function isHidden( elem, el ) {
+ // isHidden might be called from jQuery#filter function;
+ // in that case, element will be second argument
+ elem = el || elem;
+ return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem );
+}
+
+function showHide( elements, show ) {
+ var display, elem, hidden,
+ values = [],
+ index = 0,
+ length = elements.length;
+
+ for ( ; index < length; index++ ) {
+ elem = elements[ index ];
+ if ( !elem.style ) {
+ continue;
+ }
+
+ values[ index ] = jQuery._data( elem, "olddisplay" );
+ display = elem.style.display;
+ if ( show ) {
+ // Reset the inline display of this element to learn if it is
+ // being hidden by cascaded rules or not
+ if ( !values[ index ] && display === "none" ) {
+ elem.style.display = "";
+ }
+
+ // Set elements which have been overridden with display: none
+ // in a stylesheet to whatever the default browser style is
+ // for such an element
+ if ( elem.style.display === "" && isHidden( elem ) ) {
+ values[ index ] = jQuery._data( elem, "olddisplay", css_defaultDisplay(elem.nodeName) );
+ }
+ } else {
+
+ if ( !values[ index ] ) {
+ hidden = isHidden( elem );
+
+ if ( display && display !== "none" || !hidden ) {
+ jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) );
+ }
+ }
+ }
+ }
+
+ // Set the display of most of the elements in a second loop
+ // to avoid the constant reflow
+ for ( index = 0; index < length; index++ ) {
+ elem = elements[ index ];
+ if ( !elem.style ) {
+ continue;
+ }
+ if ( !show || elem.style.display === "none" || elem.style.display === "" ) {
+ elem.style.display = show ? values[ index ] || "" : "none";
+ }
+ }
+
+ return elements;
+}
+
+jQuery.fn.extend({
+ css: function( name, value ) {
+ return jQuery.access( this, function( elem, name, value ) {
+ var len, styles,
+ map = {},
+ i = 0;
+
+ if ( jQuery.isArray( name ) ) {
+ styles = getStyles( elem );
+ len = name.length;
+
+ for ( ; i < len; i++ ) {
+ map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );
+ }
+
+ return map;
+ }
+
+ return value !== undefined ?
+ jQuery.style( elem, name, value ) :
+ jQuery.css( elem, name );
+ }, name, value, arguments.length > 1 );
+ },
+ show: function() {
+ return showHide( this, true );
+ },
+ hide: function() {
+ return showHide( this );
+ },
+ toggle: function( state ) {
+ if ( typeof state === "boolean" ) {
+ return state ? this.show() : this.hide();
+ }
+
+ return this.each(function() {
+ if ( isHidden( this ) ) {
+ jQuery( this ).show();
+ } else {
+ jQuery( this ).hide();
+ }
+ });
+ }
+});
+
+jQuery.extend({
+ // Add in style property hooks for overriding the default
+ // behavior of getting and setting a style property
+ cssHooks: {
+ opacity: {
+ get: function( elem, computed ) {
+ if ( computed ) {
+ // We should always get a number back from opacity
+ var ret = curCSS( elem, "opacity" );
+ return ret === "" ? "1" : ret;
+ }
+ }
+ }
+ },
+
+ // Don't automatically add "px" to these possibly-unitless properties
+ cssNumber: {
+ "columnCount": true,
+ "fillOpacity": true,
+ "fontWeight": true,
+ "lineHeight": true,
+ "opacity": true,
+ "order": true,
+ "orphans": true,
+ "widows": true,
+ "zIndex": true,
+ "zoom": true
+ },
+
+ // Add in properties whose names you wish to fix before
+ // setting or getting the value
+ cssProps: {
+ // normalize float css property
+ "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat"
+ },
+
+ // Get and set the style property on a DOM Node
+ style: function( elem, name, value, extra ) {
+ // Don't set styles on text and comment nodes
+ if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
+ return;
+ }
+
+ // Make sure that we're working with the right name
+ var ret, type, hooks,
+ origName = jQuery.camelCase( name ),
+ style = elem.style;
+
+ name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) );
+
+ // gets hook for the prefixed version
+ // followed by the unprefixed version
+ hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
+
+ // Check if we're setting a value
+ if ( value !== undefined ) {
+ type = typeof value;
+
+ // convert relative number strings (+= or -=) to relative numbers. #7345
+ if ( type === "string" && (ret = rrelNum.exec( value )) ) {
+ value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) );
+ // Fixes bug #9237
+ type = "number";
+ }
+
+ // Make sure that NaN and null values aren't set. See: #7116
+ if ( value == null || type === "number" && isNaN( value ) ) {
+ return;
+ }
+
+ // If a number was passed in, add 'px' to the (except for certain CSS properties)
+ if ( type === "number" && !jQuery.cssNumber[ origName ] ) {
+ value += "px";
+ }
+
+ // Fixes #8908, it can be done more correctly by specifing setters in cssHooks,
+ // but it would mean to define eight (for every problematic property) identical functions
+ if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) {
+ style[ name ] = "inherit";
+ }
+
+ // If a hook was provided, use that value, otherwise just set the specified value
+ if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) {
+
+ // Wrapped to prevent IE from throwing errors when 'invalid' values are provided
+ // Fixes bug #5509
+ try {
+ style[ name ] = value;
+ } catch(e) {}
+ }
+
+ } else {
+ // If a hook was provided get the non-computed value from there
+ if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) {
+ return ret;
+ }
+
+ // Otherwise just get the value from the style object
+ return style[ name ];
+ }
+ },
+
+ css: function( elem, name, extra, styles ) {
+ var num, val, hooks,
+ origName = jQuery.camelCase( name );
+
+ // Make sure that we're working with the right name
+ name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) );
+
+ // gets hook for the prefixed version
+ // followed by the unprefixed version
+ hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
+
+ // If a hook was provided get the computed value from there
+ if ( hooks && "get" in hooks ) {
+ val = hooks.get( elem, true, extra );
+ }
+
+ // Otherwise, if a way to get the computed value exists, use that
+ if ( val === undefined ) {
+ val = curCSS( elem, name, styles );
+ }
+
+ //convert "normal" to computed value
+ if ( val === "normal" && name in cssNormalTransform ) {
+ val = cssNormalTransform[ name ];
+ }
+
+ // Return, converting to number if forced or a qualifier was provided and val looks numeric
+ if ( extra === "" || extra ) {
+ num = parseFloat( val );
+ return extra === true || jQuery.isNumeric( num ) ? num || 0 : val;
+ }
+ return val;
+ }
+});
+
+// NOTE: we've included the "window" in window.getComputedStyle
+// because jsdom on node.js will break without it.
+if ( window.getComputedStyle ) {
+ getStyles = function( elem ) {
+ return window.getComputedStyle( elem, null );
+ };
+
+ curCSS = function( elem, name, _computed ) {
+ var width, minWidth, maxWidth,
+ computed = _computed || getStyles( elem ),
+
+ // getPropertyValue is only needed for .css('filter') in IE9, see #12537
+ ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined,
+ style = elem.style;
+
+ if ( computed ) {
+
+ if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) {
+ ret = jQuery.style( elem, name );
+ }
+
+ // A tribute to the "awesome hack by Dean Edwards"
+ // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right
+ // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels
+ // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values
+ if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) {
+
+ // Remember the original values
+ width = style.width;
+ minWidth = style.minWidth;
+ maxWidth = style.maxWidth;
+
+ // Put in the new values to get a computed value out
+ style.minWidth = style.maxWidth = style.width = ret;
+ ret = computed.width;
+
+ // Revert the changed values
+ style.width = width;
+ style.minWidth = minWidth;
+ style.maxWidth = maxWidth;
+ }
+ }
+
+ return ret;
+ };
+} else if ( document.documentElement.currentStyle ) {
+ getStyles = function( elem ) {
+ return elem.currentStyle;
+ };
+
+ curCSS = function( elem, name, _computed ) {
+ var left, rs, rsLeft,
+ computed = _computed || getStyles( elem ),
+ ret = computed ? computed[ name ] : undefined,
+ style = elem.style;
+
+ // Avoid setting ret to empty string here
+ // so we don't default to auto
+ if ( ret == null && style && style[ name ] ) {
+ ret = style[ name ];
+ }
+
+ // From the awesome hack by Dean Edwards
+ // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
+
+ // If we're not dealing with a regular pixel number
+ // but a number that has a weird ending, we need to convert it to pixels
+ // but not position css attributes, as those are proportional to the parent element instead
+ // and we can't measure the parent instead because it might trigger a "stacking dolls" problem
+ if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) {
+
+ // Remember the original values
+ left = style.left;
+ rs = elem.runtimeStyle;
+ rsLeft = rs && rs.left;
+
+ // Put in the new values to get a computed value out
+ if ( rsLeft ) {
+ rs.left = elem.currentStyle.left;
+ }
+ style.left = name === "fontSize" ? "1em" : ret;
+ ret = style.pixelLeft + "px";
+
+ // Revert the changed values
+ style.left = left;
+ if ( rsLeft ) {
+ rs.left = rsLeft;
+ }
+ }
+
+ return ret === "" ? "auto" : ret;
+ };
+}
+
+function setPositiveNumber( elem, value, subtract ) {
+ var matches = rnumsplit.exec( value );
+ return matches ?
+ // Guard against undefined "subtract", e.g., when used as in cssHooks
+ Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) :
+ value;
+}
+
+function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
+ var i = extra === ( isBorderBox ? "border" : "content" ) ?
+ // If we already have the right measurement, avoid augmentation
+ 4 :
+ // Otherwise initialize for horizontal or vertical properties
+ name === "width" ? 1 : 0,
+
+ val = 0;
+
+ for ( ; i < 4; i += 2 ) {
+ // both box models exclude margin, so add it if we want it
+ if ( extra === "margin" ) {
+ val += jQuery.css( elem, extra + cssExpand[ i ], true, styles );
+ }
+
+ if ( isBorderBox ) {
+ // border-box includes padding, so remove it if we want content
+ if ( extra === "content" ) {
+ val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );
+ }
+
+ // at this point, extra isn't border nor margin, so remove border
+ if ( extra !== "margin" ) {
+ val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
+ }
+ } else {
+ // at this point, extra isn't content, so add padding
+ val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );
+
+ // at this point, extra isn't content nor padding, so add border
+ if ( extra !== "padding" ) {
+ val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
+ }
+ }
+ }
+
+ return val;
+}
+
+function getWidthOrHeight( elem, name, extra ) {
+
+ // Start with offset property, which is equivalent to the border-box value
+ var valueIsBorderBox = true,
+ val = name === "width" ? elem.offsetWidth : elem.offsetHeight,
+ styles = getStyles( elem ),
+ isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box";
+
+ // some non-html elements return undefined for offsetWidth, so check for null/undefined
+ // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285
+ // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668
+ if ( val <= 0 || val == null ) {
+ // Fall back to computed then uncomputed css if necessary
+ val = curCSS( elem, name, styles );
+ if ( val < 0 || val == null ) {
+ val = elem.style[ name ];
+ }
+
+ // Computed unit is not pixels. Stop here and return.
+ if ( rnumnonpx.test(val) ) {
+ return val;
+ }
+
+ // we need the check for style in case a browser which returns unreliable values
+ // for getComputedStyle silently falls back to the reliable elem.style
+ valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] );
+
+ // Normalize "", auto, and prepare for extra
+ val = parseFloat( val ) || 0;
+ }
+
+ // use the active box-sizing model to add/subtract irrelevant styles
+ return ( val +
+ augmentWidthOrHeight(
+ elem,
+ name,
+ extra || ( isBorderBox ? "border" : "content" ),
+ valueIsBorderBox,
+ styles
+ )
+ ) + "px";
+}
+
+// Try to determine the default display value of an element
+function css_defaultDisplay( nodeName ) {
+ var doc = document,
+ display = elemdisplay[ nodeName ];
+
+ if ( !display ) {
+ display = actualDisplay( nodeName, doc );
+
+ // If the simple way fails, read from inside an iframe
+ if ( display === "none" || !display ) {
+ // Use the already-created iframe if possible
+ iframe = ( iframe ||
+ jQuery("")
+ .css( "cssText", "display:block !important" )
+ ).appendTo( doc.documentElement );
+
+ // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse
+ doc = ( iframe[0].contentWindow || iframe[0].contentDocument ).document;
+ doc.write("");
+ doc.close();
+
+ display = actualDisplay( nodeName, doc );
+ iframe.detach();
+ }
+
+ // Store the correct default display
+ elemdisplay[ nodeName ] = display;
+ }
+
+ return display;
+}
+
+// Called ONLY from within css_defaultDisplay
+function actualDisplay( name, doc ) {
+ var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ),
+ display = jQuery.css( elem[0], "display" );
+ elem.remove();
+ return display;
+}
+
+jQuery.each([ "height", "width" ], function( i, name ) {
+ jQuery.cssHooks[ name ] = {
+ get: function( elem, computed, extra ) {
+ if ( computed ) {
+ // certain elements can have dimension info if we invisibly show them
+ // however, it must have a current display style that would benefit from this
+ return elem.offsetWidth === 0 && rdisplayswap.test( jQuery.css( elem, "display" ) ) ?
+ jQuery.swap( elem, cssShow, function() {
+ return getWidthOrHeight( elem, name, extra );
+ }) :
+ getWidthOrHeight( elem, name, extra );
+ }
+ },
+
+ set: function( elem, value, extra ) {
+ var styles = extra && getStyles( elem );
+ return setPositiveNumber( elem, value, extra ?
+ augmentWidthOrHeight(
+ elem,
+ name,
+ extra,
+ jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box",
+ styles
+ ) : 0
+ );
+ }
+ };
+});
+
+if ( !jQuery.support.opacity ) {
+ jQuery.cssHooks.opacity = {
+ get: function( elem, computed ) {
+ // IE uses filters for opacity
+ return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ?
+ ( 0.01 * parseFloat( RegExp.$1 ) ) + "" :
+ computed ? "1" : "";
+ },
+
+ set: function( elem, value ) {
+ var style = elem.style,
+ currentStyle = elem.currentStyle,
+ opacity = jQuery.isNumeric( value ) ? "alpha(opacity=" + value * 100 + ")" : "",
+ filter = currentStyle && currentStyle.filter || style.filter || "";
+
+ // IE has trouble with opacity if it does not have layout
+ // Force it by setting the zoom level
+ style.zoom = 1;
+
+ // if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652
+ // if value === "", then remove inline opacity #12685
+ if ( ( value >= 1 || value === "" ) &&
+ jQuery.trim( filter.replace( ralpha, "" ) ) === "" &&
+ style.removeAttribute ) {
+
+ // Setting style.filter to null, "" & " " still leave "filter:" in the cssText
+ // if "filter:" is present at all, clearType is disabled, we want to avoid this
+ // style.removeAttribute is IE Only, but so apparently is this code path...
+ style.removeAttribute( "filter" );
+
+ // if there is no filter style applied in a css rule or unset inline opacity, we are done
+ if ( value === "" || currentStyle && !currentStyle.filter ) {
+ return;
+ }
+ }
+
+ // otherwise, set new filter values
+ style.filter = ralpha.test( filter ) ?
+ filter.replace( ralpha, opacity ) :
+ filter + " " + opacity;
+ }
+ };
+}
+
+// These hooks cannot be added until DOM ready because the support test
+// for it is not run until after DOM ready
+jQuery(function() {
+ if ( !jQuery.support.reliableMarginRight ) {
+ jQuery.cssHooks.marginRight = {
+ get: function( elem, computed ) {
+ if ( computed ) {
+ // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
+ // Work around by temporarily setting element display to inline-block
+ return jQuery.swap( elem, { "display": "inline-block" },
+ curCSS, [ elem, "marginRight" ] );
+ }
+ }
+ };
+ }
+
+ // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084
+ // getComputedStyle returns percent when specified for top/left/bottom/right
+ // rather than make the css module depend on the offset module, we just check for it here
+ if ( !jQuery.support.pixelPosition && jQuery.fn.position ) {
+ jQuery.each( [ "top", "left" ], function( i, prop ) {
+ jQuery.cssHooks[ prop ] = {
+ get: function( elem, computed ) {
+ if ( computed ) {
+ computed = curCSS( elem, prop );
+ // if curCSS returns percentage, fallback to offset
+ return rnumnonpx.test( computed ) ?
+ jQuery( elem ).position()[ prop ] + "px" :
+ computed;
+ }
+ }
+ };
+ });
+ }
+
+});
+
+if ( jQuery.expr && jQuery.expr.filters ) {
+ jQuery.expr.filters.hidden = function( elem ) {
+ // Support: Opera <= 12.12
+ // Opera reports offsetWidths and offsetHeights less than zero on some elements
+ return elem.offsetWidth <= 0 && elem.offsetHeight <= 0 ||
+ (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || jQuery.css( elem, "display" )) === "none");
+ };
+
+ jQuery.expr.filters.visible = function( elem ) {
+ return !jQuery.expr.filters.hidden( elem );
+ };
+}
+
+// These hooks are used by animate to expand properties
+jQuery.each({
+ margin: "",
+ padding: "",
+ border: "Width"
+}, function( prefix, suffix ) {
+ jQuery.cssHooks[ prefix + suffix ] = {
+ expand: function( value ) {
+ var i = 0,
+ expanded = {},
+
+ // assumes a single number if not a string
+ parts = typeof value === "string" ? value.split(" ") : [ value ];
+
+ for ( ; i < 4; i++ ) {
+ expanded[ prefix + cssExpand[ i ] + suffix ] =
+ parts[ i ] || parts[ i - 2 ] || parts[ 0 ];
+ }
+
+ return expanded;
+ }
+ };
+
+ if ( !rmargin.test( prefix ) ) {
+ jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;
+ }
+});
+var r20 = /%20/g,
+ rbracket = /\[\]$/,
+ rCRLF = /\r?\n/g,
+ rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,
+ rsubmittable = /^(?:input|select|textarea|keygen)/i;
+
+jQuery.fn.extend({
+ serialize: function() {
+ return jQuery.param( this.serializeArray() );
+ },
+ serializeArray: function() {
+ return this.map(function(){
+ // Can add propHook for "elements" to filter or add form elements
+ var elements = jQuery.prop( this, "elements" );
+ return elements ? jQuery.makeArray( elements ) : this;
+ })
+ .filter(function(){
+ var type = this.type;
+ // Use .is(":disabled") so that fieldset[disabled] works
+ return this.name && !jQuery( this ).is( ":disabled" ) &&
+ rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&
+ ( this.checked || !manipulation_rcheckableType.test( type ) );
+ })
+ .map(function( i, elem ){
+ var val = jQuery( this ).val();
+
+ return val == null ?
+ null :
+ jQuery.isArray( val ) ?
+ jQuery.map( val, function( val ){
+ return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
+ }) :
+ { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
+ }).get();
+ }
+});
+
+//Serialize an array of form elements or a set of
+//key/values into a query string
+jQuery.param = function( a, traditional ) {
+ var prefix,
+ s = [],
+ add = function( key, value ) {
+ // If value is a function, invoke it and return its value
+ value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value );
+ s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );
+ };
+
+ // Set traditional to true for jQuery <= 1.3.2 behavior.
+ if ( traditional === undefined ) {
+ traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;
+ }
+
+ // If an array was passed in, assume that it is an array of form elements.
+ if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {
+ // Serialize the form elements
+ jQuery.each( a, function() {
+ add( this.name, this.value );
+ });
+
+ } else {
+ // If traditional, encode the "old" way (the way 1.3.2 or older
+ // did it), otherwise encode params recursively.
+ for ( prefix in a ) {
+ buildParams( prefix, a[ prefix ], traditional, add );
+ }
+ }
+
+ // Return the resulting serialization
+ return s.join( "&" ).replace( r20, "+" );
+};
+
+function buildParams( prefix, obj, traditional, add ) {
+ var name;
+
+ if ( jQuery.isArray( obj ) ) {
+ // Serialize array item.
+ jQuery.each( obj, function( i, v ) {
+ if ( traditional || rbracket.test( prefix ) ) {
+ // Treat each array item as a scalar.
+ add( prefix, v );
+
+ } else {
+ // Item is non-scalar (array or object), encode its numeric index.
+ buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add );
+ }
+ });
+
+ } else if ( !traditional && jQuery.type( obj ) === "object" ) {
+ // Serialize object item.
+ for ( name in obj ) {
+ buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add );
+ }
+
+ } else {
+ // Serialize scalar item.
+ add( prefix, obj );
+ }
+}
+jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " +
+ "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
+ "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) {
+
+ // Handle event binding
+ jQuery.fn[ name ] = function( data, fn ) {
+ return arguments.length > 0 ?
+ this.on( name, null, data, fn ) :
+ this.trigger( name );
+ };
+});
+
+jQuery.fn.extend({
+ hover: function( fnOver, fnOut ) {
+ return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );
+ },
+
+ bind: function( types, data, fn ) {
+ return this.on( types, null, data, fn );
+ },
+ unbind: function( types, fn ) {
+ return this.off( types, null, fn );
+ },
+
+ delegate: function( selector, types, data, fn ) {
+ return this.on( types, selector, data, fn );
+ },
+ undelegate: function( selector, types, fn ) {
+ // ( namespace ) or ( selector, types [, fn] )
+ return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn );
+ }
+});
+var
+ // Document location
+ ajaxLocParts,
+ ajaxLocation,
+ ajax_nonce = jQuery.now(),
+
+ ajax_rquery = /\?/,
+ rhash = /#.*$/,
+ rts = /([?&])_=[^&]*/,
+ rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL
+ // #7653, #8125, #8152: local protocol detection
+ rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
+ rnoContent = /^(?:GET|HEAD)$/,
+ rprotocol = /^\/\//,
+ rurl = /^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,
+
+ // Keep a copy of the old load method
+ _load = jQuery.fn.load,
+
+ /* Prefilters
+ * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
+ * 2) These are called:
+ * - BEFORE asking for a transport
+ * - AFTER param serialization (s.data is a string if s.processData is true)
+ * 3) key is the dataType
+ * 4) the catchall symbol "*" can be used
+ * 5) execution will start with transport dataType and THEN continue down to "*" if needed
+ */
+ prefilters = {},
+
+ /* Transports bindings
+ * 1) key is the dataType
+ * 2) the catchall symbol "*" can be used
+ * 3) selection will start with transport dataType and THEN go to "*" if needed
+ */
+ transports = {},
+
+ // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
+ allTypes = "*/".concat("*");
+
+// #8138, IE may throw an exception when accessing
+// a field from window.location if document.domain has been set
+try {
+ ajaxLocation = location.href;
+} catch( e ) {
+ // Use the href attribute of an A element
+ // since IE will modify it given document.location
+ ajaxLocation = document.createElement( "a" );
+ ajaxLocation.href = "";
+ ajaxLocation = ajaxLocation.href;
+}
+
+// Segment location into parts
+ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || [];
+
+// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
+function addToPrefiltersOrTransports( structure ) {
+
+ // dataTypeExpression is optional and defaults to "*"
+ return function( dataTypeExpression, func ) {
+
+ if ( typeof dataTypeExpression !== "string" ) {
+ func = dataTypeExpression;
+ dataTypeExpression = "*";
+ }
+
+ var dataType,
+ i = 0,
+ dataTypes = dataTypeExpression.toLowerCase().match( core_rnotwhite ) || [];
+
+ if ( jQuery.isFunction( func ) ) {
+ // For each dataType in the dataTypeExpression
+ while ( (dataType = dataTypes[i++]) ) {
+ // Prepend if requested
+ if ( dataType[0] === "+" ) {
+ dataType = dataType.slice( 1 ) || "*";
+ (structure[ dataType ] = structure[ dataType ] || []).unshift( func );
+
+ // Otherwise append
+ } else {
+ (structure[ dataType ] = structure[ dataType ] || []).push( func );
+ }
+ }
+ }
+ };
+}
+
+// Base inspection function for prefilters and transports
+function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {
+
+ var inspected = {},
+ seekingTransport = ( structure === transports );
+
+ function inspect( dataType ) {
+ var selected;
+ inspected[ dataType ] = true;
+ jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {
+ var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );
+ if( typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) {
+ options.dataTypes.unshift( dataTypeOrTransport );
+ inspect( dataTypeOrTransport );
+ return false;
+ } else if ( seekingTransport ) {
+ return !( selected = dataTypeOrTransport );
+ }
+ });
+ return selected;
+ }
+
+ return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" );
+}
+
+// A special extend for ajax options
+// that takes "flat" options (not to be deep extended)
+// Fixes #9887
+function ajaxExtend( target, src ) {
+ var deep, key,
+ flatOptions = jQuery.ajaxSettings.flatOptions || {};
+
+ for ( key in src ) {
+ if ( src[ key ] !== undefined ) {
+ ( flatOptions[ key ] ? target : ( deep || (deep = {}) ) )[ key ] = src[ key ];
+ }
+ }
+ if ( deep ) {
+ jQuery.extend( true, target, deep );
+ }
+
+ return target;
+}
+
+jQuery.fn.load = function( url, params, callback ) {
+ if ( typeof url !== "string" && _load ) {
+ return _load.apply( this, arguments );
+ }
+
+ var selector, response, type,
+ self = this,
+ off = url.indexOf(" ");
+
+ if ( off >= 0 ) {
+ selector = url.slice( off, url.length );
+ url = url.slice( 0, off );
+ }
+
+ // If it's a function
+ if ( jQuery.isFunction( params ) ) {
+
+ // We assume that it's the callback
+ callback = params;
+ params = undefined;
+
+ // Otherwise, build a param string
+ } else if ( params && typeof params === "object" ) {
+ type = "POST";
+ }
+
+ // If we have elements to modify, make the request
+ if ( self.length > 0 ) {
+ jQuery.ajax({
+ url: url,
+
+ // if "type" variable is undefined, then "GET" method will be used
+ type: type,
+ dataType: "html",
+ data: params
+ }).done(function( responseText ) {
+
+ // Save response for use in complete callback
+ response = arguments;
+
+ self.html( selector ?
+
+ // If a selector was specified, locate the right elements in a dummy div
+ // Exclude scripts to avoid IE 'Permission Denied' errors
+ jQuery("").append( jQuery.parseHTML( responseText ) ).find( selector ) :
+
+ // Otherwise use the full result
+ responseText );
+
+ }).complete( callback && function( jqXHR, status ) {
+ self.each( callback, response || [ jqXHR.responseText, status, jqXHR ] );
+ });
+ }
+
+ return this;
+};
+
+// Attach a bunch of functions for handling common AJAX events
+jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ){
+ jQuery.fn[ type ] = function( fn ){
+ return this.on( type, fn );
+ };
+});
+
+jQuery.extend({
+
+ // Counter for holding the number of active queries
+ active: 0,
+
+ // Last-Modified header cache for next request
+ lastModified: {},
+ etag: {},
+
+ ajaxSettings: {
+ url: ajaxLocation,
+ type: "GET",
+ isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),
+ global: true,
+ processData: true,
+ async: true,
+ contentType: "application/x-www-form-urlencoded; charset=UTF-8",
+ /*
+ timeout: 0,
+ data: null,
+ dataType: null,
+ username: null,
+ password: null,
+ cache: null,
+ throws: false,
+ traditional: false,
+ headers: {},
+ */
+
+ accepts: {
+ "*": allTypes,
+ text: "text/plain",
+ html: "text/html",
+ xml: "application/xml, text/xml",
+ json: "application/json, text/javascript"
+ },
+
+ contents: {
+ xml: /xml/,
+ html: /html/,
+ json: /json/
+ },
+
+ responseFields: {
+ xml: "responseXML",
+ text: "responseText",
+ json: "responseJSON"
+ },
+
+ // Data converters
+ // Keys separate source (or catchall "*") and destination types with a single space
+ converters: {
+
+ // Convert anything to text
+ "* text": String,
+
+ // Text to html (true = no transformation)
+ "text html": true,
+
+ // Evaluate text as a json expression
+ "text json": jQuery.parseJSON,
+
+ // Parse text as xml
+ "text xml": jQuery.parseXML
+ },
+
+ // For options that shouldn't be deep extended:
+ // you can add your own custom options here if
+ // and when you create one that shouldn't be
+ // deep extended (see ajaxExtend)
+ flatOptions: {
+ url: true,
+ context: true
+ }
+ },
+
+ // Creates a full fledged settings object into target
+ // with both ajaxSettings and settings fields.
+ // If target is omitted, writes into ajaxSettings.
+ ajaxSetup: function( target, settings ) {
+ return settings ?
+
+ // Building a settings object
+ ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :
+
+ // Extending ajaxSettings
+ ajaxExtend( jQuery.ajaxSettings, target );
+ },
+
+ ajaxPrefilter: addToPrefiltersOrTransports( prefilters ),
+ ajaxTransport: addToPrefiltersOrTransports( transports ),
+
+ // Main method
+ ajax: function( url, options ) {
+
+ // If url is an object, simulate pre-1.5 signature
+ if ( typeof url === "object" ) {
+ options = url;
+ url = undefined;
+ }
+
+ // Force options to be an object
+ options = options || {};
+
+ var // Cross-domain detection vars
+ parts,
+ // Loop variable
+ i,
+ // URL without anti-cache param
+ cacheURL,
+ // Response headers as string
+ responseHeadersString,
+ // timeout handle
+ timeoutTimer,
+
+ // To know if global events are to be dispatched
+ fireGlobals,
+
+ transport,
+ // Response headers
+ responseHeaders,
+ // Create the final options object
+ s = jQuery.ajaxSetup( {}, options ),
+ // Callbacks context
+ callbackContext = s.context || s,
+ // Context for global events is callbackContext if it is a DOM node or jQuery collection
+ globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ?
+ jQuery( callbackContext ) :
+ jQuery.event,
+ // Deferreds
+ deferred = jQuery.Deferred(),
+ completeDeferred = jQuery.Callbacks("once memory"),
+ // Status-dependent callbacks
+ statusCode = s.statusCode || {},
+ // Headers (they are sent all at once)
+ requestHeaders = {},
+ requestHeadersNames = {},
+ // The jqXHR state
+ state = 0,
+ // Default abort message
+ strAbort = "canceled",
+ // Fake xhr
+ jqXHR = {
+ readyState: 0,
+
+ // Builds headers hashtable if needed
+ getResponseHeader: function( key ) {
+ var match;
+ if ( state === 2 ) {
+ if ( !responseHeaders ) {
+ responseHeaders = {};
+ while ( (match = rheaders.exec( responseHeadersString )) ) {
+ responseHeaders[ match[1].toLowerCase() ] = match[ 2 ];
+ }
+ }
+ match = responseHeaders[ key.toLowerCase() ];
+ }
+ return match == null ? null : match;
+ },
+
+ // Raw string
+ getAllResponseHeaders: function() {
+ return state === 2 ? responseHeadersString : null;
+ },
+
+ // Caches the header
+ setRequestHeader: function( name, value ) {
+ var lname = name.toLowerCase();
+ if ( !state ) {
+ name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name;
+ requestHeaders[ name ] = value;
+ }
+ return this;
+ },
+
+ // Overrides response content-type header
+ overrideMimeType: function( type ) {
+ if ( !state ) {
+ s.mimeType = type;
+ }
+ return this;
+ },
+
+ // Status-dependent callbacks
+ statusCode: function( map ) {
+ var code;
+ if ( map ) {
+ if ( state < 2 ) {
+ for ( code in map ) {
+ // Lazy-add the new callback in a way that preserves old ones
+ statusCode[ code ] = [ statusCode[ code ], map[ code ] ];
+ }
+ } else {
+ // Execute the appropriate callbacks
+ jqXHR.always( map[ jqXHR.status ] );
+ }
+ }
+ return this;
+ },
+
+ // Cancel the request
+ abort: function( statusText ) {
+ var finalText = statusText || strAbort;
+ if ( transport ) {
+ transport.abort( finalText );
+ }
+ done( 0, finalText );
+ return this;
+ }
+ };
+
+ // Attach deferreds
+ deferred.promise( jqXHR ).complete = completeDeferred.add;
+ jqXHR.success = jqXHR.done;
+ jqXHR.error = jqXHR.fail;
+
+ // Remove hash character (#7531: and string promotion)
+ // Add protocol if not provided (#5866: IE7 issue with protocol-less urls)
+ // Handle falsy url in the settings object (#10093: consistency with old signature)
+ // We also use the url parameter if available
+ s.url = ( ( url || s.url || ajaxLocation ) + "" ).replace( rhash, "" ).replace( rprotocol, ajaxLocParts[ 1 ] + "//" );
+
+ // Alias method option to type as per ticket #12004
+ s.type = options.method || options.type || s.method || s.type;
+
+ // Extract dataTypes list
+ s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().match( core_rnotwhite ) || [""];
+
+ // A cross-domain request is in order when we have a protocol:host:port mismatch
+ if ( s.crossDomain == null ) {
+ parts = rurl.exec( s.url.toLowerCase() );
+ s.crossDomain = !!( parts &&
+ ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||
+ ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !==
+ ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? "80" : "443" ) ) )
+ );
+ }
+
+ // Convert data if not already a string
+ if ( s.data && s.processData && typeof s.data !== "string" ) {
+ s.data = jQuery.param( s.data, s.traditional );
+ }
+
+ // Apply prefilters
+ inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );
+
+ // If request was aborted inside a prefilter, stop there
+ if ( state === 2 ) {
+ return jqXHR;
+ }
+
+ // We can fire global events as of now if asked to
+ fireGlobals = s.global;
+
+ // Watch for a new set of requests
+ if ( fireGlobals && jQuery.active++ === 0 ) {
+ jQuery.event.trigger("ajaxStart");
+ }
+
+ // Uppercase the type
+ s.type = s.type.toUpperCase();
+
+ // Determine if request has content
+ s.hasContent = !rnoContent.test( s.type );
+
+ // Save the URL in case we're toying with the If-Modified-Since
+ // and/or If-None-Match header later on
+ cacheURL = s.url;
+
+ // More options handling for requests with no content
+ if ( !s.hasContent ) {
+
+ // If data is available, append data to url
+ if ( s.data ) {
+ cacheURL = ( s.url += ( ajax_rquery.test( cacheURL ) ? "&" : "?" ) + s.data );
+ // #9682: remove data so that it's not used in an eventual retry
+ delete s.data;
+ }
+
+ // Add anti-cache in url if needed
+ if ( s.cache === false ) {
+ s.url = rts.test( cacheURL ) ?
+
+ // If there is already a '_' parameter, set its value
+ cacheURL.replace( rts, "$1_=" + ajax_nonce++ ) :
+
+ // Otherwise add one to the end
+ cacheURL + ( ajax_rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ajax_nonce++;
+ }
+ }
+
+ // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
+ if ( s.ifModified ) {
+ if ( jQuery.lastModified[ cacheURL ] ) {
+ jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] );
+ }
+ if ( jQuery.etag[ cacheURL ] ) {
+ jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] );
+ }
+ }
+
+ // Set the correct header, if data is being sent
+ if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {
+ jqXHR.setRequestHeader( "Content-Type", s.contentType );
+ }
+
+ // Set the Accepts header for the server, depending on the dataType
+ jqXHR.setRequestHeader(
+ "Accept",
+ s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ?
+ s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
+ s.accepts[ "*" ]
+ );
+
+ // Check for headers option
+ for ( i in s.headers ) {
+ jqXHR.setRequestHeader( i, s.headers[ i ] );
+ }
+
+ // Allow custom headers/mimetypes and early abort
+ if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) {
+ // Abort if not done already and return
+ return jqXHR.abort();
+ }
+
+ // aborting is no longer a cancellation
+ strAbort = "abort";
+
+ // Install callbacks on deferreds
+ for ( i in { success: 1, error: 1, complete: 1 } ) {
+ jqXHR[ i ]( s[ i ] );
+ }
+
+ // Get transport
+ transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );
+
+ // If no transport, we auto-abort
+ if ( !transport ) {
+ done( -1, "No Transport" );
+ } else {
+ jqXHR.readyState = 1;
+
+ // Send global event
+ if ( fireGlobals ) {
+ globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );
+ }
+ // Timeout
+ if ( s.async && s.timeout > 0 ) {
+ timeoutTimer = setTimeout(function() {
+ jqXHR.abort("timeout");
+ }, s.timeout );
+ }
+
+ try {
+ state = 1;
+ transport.send( requestHeaders, done );
+ } catch ( e ) {
+ // Propagate exception as error if not done
+ if ( state < 2 ) {
+ done( -1, e );
+ // Simply rethrow otherwise
+ } else {
+ throw e;
+ }
+ }
+ }
+
+ // Callback for when everything is done
+ function done( status, nativeStatusText, responses, headers ) {
+ var isSuccess, success, error, response, modified,
+ statusText = nativeStatusText;
+
+ // Called once
+ if ( state === 2 ) {
+ return;
+ }
+
+ // State is "done" now
+ state = 2;
+
+ // Clear timeout if it exists
+ if ( timeoutTimer ) {
+ clearTimeout( timeoutTimer );
+ }
+
+ // Dereference transport for early garbage collection
+ // (no matter how long the jqXHR object will be used)
+ transport = undefined;
+
+ // Cache response headers
+ responseHeadersString = headers || "";
+
+ // Set readyState
+ jqXHR.readyState = status > 0 ? 4 : 0;
+
+ // Determine if successful
+ isSuccess = status >= 200 && status < 300 || status === 304;
+
+ // Get response data
+ if ( responses ) {
+ response = ajaxHandleResponses( s, jqXHR, responses );
+ }
+
+ // Convert no matter what (that way responseXXX fields are always set)
+ response = ajaxConvert( s, response, jqXHR, isSuccess );
+
+ // If successful, handle type chaining
+ if ( isSuccess ) {
+
+ // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
+ if ( s.ifModified ) {
+ modified = jqXHR.getResponseHeader("Last-Modified");
+ if ( modified ) {
+ jQuery.lastModified[ cacheURL ] = modified;
+ }
+ modified = jqXHR.getResponseHeader("etag");
+ if ( modified ) {
+ jQuery.etag[ cacheURL ] = modified;
+ }
+ }
+
+ // if no content
+ if ( status === 204 || s.type === "HEAD" ) {
+ statusText = "nocontent";
+
+ // if not modified
+ } else if ( status === 304 ) {
+ statusText = "notmodified";
+
+ // If we have data, let's convert it
+ } else {
+ statusText = response.state;
+ success = response.data;
+ error = response.error;
+ isSuccess = !error;
+ }
+ } else {
+ // We extract error from statusText
+ // then normalize statusText and status for non-aborts
+ error = statusText;
+ if ( status || !statusText ) {
+ statusText = "error";
+ if ( status < 0 ) {
+ status = 0;
+ }
+ }
+ }
+
+ // Set data for the fake xhr object
+ jqXHR.status = status;
+ jqXHR.statusText = ( nativeStatusText || statusText ) + "";
+
+ // Success/Error
+ if ( isSuccess ) {
+ deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );
+ } else {
+ deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );
+ }
+
+ // Status-dependent callbacks
+ jqXHR.statusCode( statusCode );
+ statusCode = undefined;
+
+ if ( fireGlobals ) {
+ globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError",
+ [ jqXHR, s, isSuccess ? success : error ] );
+ }
+
+ // Complete
+ completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );
+
+ if ( fireGlobals ) {
+ globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] );
+ // Handle the global AJAX counter
+ if ( !( --jQuery.active ) ) {
+ jQuery.event.trigger("ajaxStop");
+ }
+ }
+ }
+
+ return jqXHR;
+ },
+
+ getJSON: function( url, data, callback ) {
+ return jQuery.get( url, data, callback, "json" );
+ },
+
+ getScript: function( url, callback ) {
+ return jQuery.get( url, undefined, callback, "script" );
+ }
+});
+
+jQuery.each( [ "get", "post" ], function( i, method ) {
+ jQuery[ method ] = function( url, data, callback, type ) {
+ // shift arguments if data argument was omitted
+ if ( jQuery.isFunction( data ) ) {
+ type = type || callback;
+ callback = data;
+ data = undefined;
+ }
+
+ return jQuery.ajax({
+ url: url,
+ type: method,
+ dataType: type,
+ data: data,
+ success: callback
+ });
+ };
+});
+
+/* Handles responses to an ajax request:
+ * - finds the right dataType (mediates between content-type and expected dataType)
+ * - returns the corresponding response
+ */
+function ajaxHandleResponses( s, jqXHR, responses ) {
+ var firstDataType, ct, finalDataType, type,
+ contents = s.contents,
+ dataTypes = s.dataTypes;
+
+ // Remove auto dataType and get content-type in the process
+ while( dataTypes[ 0 ] === "*" ) {
+ dataTypes.shift();
+ if ( ct === undefined ) {
+ ct = s.mimeType || jqXHR.getResponseHeader("Content-Type");
+ }
+ }
+
+ // Check if we're dealing with a known content-type
+ if ( ct ) {
+ for ( type in contents ) {
+ if ( contents[ type ] && contents[ type ].test( ct ) ) {
+ dataTypes.unshift( type );
+ break;
+ }
+ }
+ }
+
+ // Check to see if we have a response for the expected dataType
+ if ( dataTypes[ 0 ] in responses ) {
+ finalDataType = dataTypes[ 0 ];
+ } else {
+ // Try convertible dataTypes
+ for ( type in responses ) {
+ if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[0] ] ) {
+ finalDataType = type;
+ break;
+ }
+ if ( !firstDataType ) {
+ firstDataType = type;
+ }
+ }
+ // Or just use first one
+ finalDataType = finalDataType || firstDataType;
+ }
+
+ // If we found a dataType
+ // We add the dataType to the list if needed
+ // and return the corresponding response
+ if ( finalDataType ) {
+ if ( finalDataType !== dataTypes[ 0 ] ) {
+ dataTypes.unshift( finalDataType );
+ }
+ return responses[ finalDataType ];
+ }
+}
+
+/* Chain conversions given the request and the original response
+ * Also sets the responseXXX fields on the jqXHR instance
+ */
+function ajaxConvert( s, response, jqXHR, isSuccess ) {
+ var conv2, current, conv, tmp, prev,
+ converters = {},
+ // Work with a copy of dataTypes in case we need to modify it for conversion
+ dataTypes = s.dataTypes.slice();
+
+ // Create converters map with lowercased keys
+ if ( dataTypes[ 1 ] ) {
+ for ( conv in s.converters ) {
+ converters[ conv.toLowerCase() ] = s.converters[ conv ];
+ }
+ }
+
+ current = dataTypes.shift();
+
+ // Convert to each sequential dataType
+ while ( current ) {
+
+ if ( s.responseFields[ current ] ) {
+ jqXHR[ s.responseFields[ current ] ] = response;
+ }
+
+ // Apply the dataFilter if provided
+ if ( !prev && isSuccess && s.dataFilter ) {
+ response = s.dataFilter( response, s.dataType );
+ }
+
+ prev = current;
+ current = dataTypes.shift();
+
+ if ( current ) {
+
+ // There's only work to do if current dataType is non-auto
+ if ( current === "*" ) {
+
+ current = prev;
+
+ // Convert response if prev dataType is non-auto and differs from current
+ } else if ( prev !== "*" && prev !== current ) {
+
+ // Seek a direct converter
+ conv = converters[ prev + " " + current ] || converters[ "* " + current ];
+
+ // If none found, seek a pair
+ if ( !conv ) {
+ for ( conv2 in converters ) {
+
+ // If conv2 outputs current
+ tmp = conv2.split( " " );
+ if ( tmp[ 1 ] === current ) {
+
+ // If prev can be converted to accepted input
+ conv = converters[ prev + " " + tmp[ 0 ] ] ||
+ converters[ "* " + tmp[ 0 ] ];
+ if ( conv ) {
+ // Condense equivalence converters
+ if ( conv === true ) {
+ conv = converters[ conv2 ];
+
+ // Otherwise, insert the intermediate dataType
+ } else if ( converters[ conv2 ] !== true ) {
+ current = tmp[ 0 ];
+ dataTypes.unshift( tmp[ 1 ] );
+ }
+ break;
+ }
+ }
+ }
+ }
+
+ // Apply converter (if not an equivalence)
+ if ( conv !== true ) {
+
+ // Unless errors are allowed to bubble, catch and return them
+ if ( conv && s[ "throws" ] ) {
+ response = conv( response );
+ } else {
+ try {
+ response = conv( response );
+ } catch ( e ) {
+ return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current };
+ }
+ }
+ }
+ }
+ }
+ }
+
+ return { state: "success", data: response };
+}
+// Install script dataType
+jQuery.ajaxSetup({
+ accepts: {
+ script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
+ },
+ contents: {
+ script: /(?:java|ecma)script/
+ },
+ converters: {
+ "text script": function( text ) {
+ jQuery.globalEval( text );
+ return text;
+ }
+ }
+});
+
+// Handle cache's special case and global
+jQuery.ajaxPrefilter( "script", function( s ) {
+ if ( s.cache === undefined ) {
+ s.cache = false;
+ }
+ if ( s.crossDomain ) {
+ s.type = "GET";
+ s.global = false;
+ }
+});
+
+// Bind script tag hack transport
+jQuery.ajaxTransport( "script", function(s) {
+
+ // This transport only deals with cross domain requests
+ if ( s.crossDomain ) {
+
+ var script,
+ head = document.head || jQuery("head")[0] || document.documentElement;
+
+ return {
+
+ send: function( _, callback ) {
+
+ script = document.createElement("script");
+
+ script.async = true;
+
+ if ( s.scriptCharset ) {
+ script.charset = s.scriptCharset;
+ }
+
+ script.src = s.url;
+
+ // Attach handlers for all browsers
+ script.onload = script.onreadystatechange = function( _, isAbort ) {
+
+ if ( isAbort || !script.readyState || /loaded|complete/.test( script.readyState ) ) {
+
+ // Handle memory leak in IE
+ script.onload = script.onreadystatechange = null;
+
+ // Remove the script
+ if ( script.parentNode ) {
+ script.parentNode.removeChild( script );
+ }
+
+ // Dereference the script
+ script = null;
+
+ // Callback if not abort
+ if ( !isAbort ) {
+ callback( 200, "success" );
+ }
+ }
+ };
+
+ // Circumvent IE6 bugs with base elements (#2709 and #4378) by prepending
+ // Use native DOM manipulation to avoid our domManip AJAX trickery
+ head.insertBefore( script, head.firstChild );
+ },
+
+ abort: function() {
+ if ( script ) {
+ script.onload( undefined, true );
+ }
+ }
+ };
+ }
+});
+var oldCallbacks = [],
+ rjsonp = /(=)\?(?=&|$)|\?\?/;
+
+// Default jsonp settings
+jQuery.ajaxSetup({
+ jsonp: "callback",
+ jsonpCallback: function() {
+ var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( ajax_nonce++ ) );
+ this[ callback ] = true;
+ return callback;
+ }
+});
+
+// Detect, normalize options and install callbacks for jsonp requests
+jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
+
+ var callbackName, overwritten, responseContainer,
+ jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?
+ "url" :
+ typeof s.data === "string" && !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && rjsonp.test( s.data ) && "data"
+ );
+
+ // Handle iff the expected data type is "jsonp" or we have a parameter to set
+ if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) {
+
+ // Get callback name, remembering preexisting value associated with it
+ callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ?
+ s.jsonpCallback() :
+ s.jsonpCallback;
+
+ // Insert callback into url or form data
+ if ( jsonProp ) {
+ s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName );
+ } else if ( s.jsonp !== false ) {
+ s.url += ( ajax_rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName;
+ }
+
+ // Use data converter to retrieve json after script execution
+ s.converters["script json"] = function() {
+ if ( !responseContainer ) {
+ jQuery.error( callbackName + " was not called" );
+ }
+ return responseContainer[ 0 ];
+ };
+
+ // force json dataType
+ s.dataTypes[ 0 ] = "json";
+
+ // Install callback
+ overwritten = window[ callbackName ];
+ window[ callbackName ] = function() {
+ responseContainer = arguments;
+ };
+
+ // Clean-up function (fires after converters)
+ jqXHR.always(function() {
+ // Restore preexisting value
+ window[ callbackName ] = overwritten;
+
+ // Save back as free
+ if ( s[ callbackName ] ) {
+ // make sure that re-using the options doesn't screw things around
+ s.jsonpCallback = originalSettings.jsonpCallback;
+
+ // save the callback name for future use
+ oldCallbacks.push( callbackName );
+ }
+
+ // Call if it was a function and we have a response
+ if ( responseContainer && jQuery.isFunction( overwritten ) ) {
+ overwritten( responseContainer[ 0 ] );
+ }
+
+ responseContainer = overwritten = undefined;
+ });
+
+ // Delegate to script
+ return "script";
+ }
+});
+var xhrCallbacks, xhrSupported,
+ xhrId = 0,
+ // #5280: Internet Explorer will keep connections alive if we don't abort on unload
+ xhrOnUnloadAbort = window.ActiveXObject && function() {
+ // Abort all pending requests
+ var key;
+ for ( key in xhrCallbacks ) {
+ xhrCallbacks[ key ]( undefined, true );
+ }
+ };
+
+// Functions to create xhrs
+function createStandardXHR() {
+ try {
+ return new window.XMLHttpRequest();
+ } catch( e ) {}
+}
+
+function createActiveXHR() {
+ try {
+ return new window.ActiveXObject("Microsoft.XMLHTTP");
+ } catch( e ) {}
+}
+
+// Create the request object
+// (This is still attached to ajaxSettings for backward compatibility)
+jQuery.ajaxSettings.xhr = window.ActiveXObject ?
+ /* Microsoft failed to properly
+ * implement the XMLHttpRequest in IE7 (can't request local files),
+ * so we use the ActiveXObject when it is available
+ * Additionally XMLHttpRequest can be disabled in IE7/IE8 so
+ * we need a fallback.
+ */
+ function() {
+ return !this.isLocal && createStandardXHR() || createActiveXHR();
+ } :
+ // For all other browsers, use the standard XMLHttpRequest object
+ createStandardXHR;
+
+// Determine support properties
+xhrSupported = jQuery.ajaxSettings.xhr();
+jQuery.support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported );
+xhrSupported = jQuery.support.ajax = !!xhrSupported;
+
+// Create transport if the browser can provide an xhr
+if ( xhrSupported ) {
+
+ jQuery.ajaxTransport(function( s ) {
+ // Cross domain only allowed if supported through XMLHttpRequest
+ if ( !s.crossDomain || jQuery.support.cors ) {
+
+ var callback;
+
+ return {
+ send: function( headers, complete ) {
+
+ // Get a new xhr
+ var handle, i,
+ xhr = s.xhr();
+
+ // Open the socket
+ // Passing null username, generates a login popup on Opera (#2865)
+ if ( s.username ) {
+ xhr.open( s.type, s.url, s.async, s.username, s.password );
+ } else {
+ xhr.open( s.type, s.url, s.async );
+ }
+
+ // Apply custom fields if provided
+ if ( s.xhrFields ) {
+ for ( i in s.xhrFields ) {
+ xhr[ i ] = s.xhrFields[ i ];
+ }
+ }
+
+ // Override mime type if needed
+ if ( s.mimeType && xhr.overrideMimeType ) {
+ xhr.overrideMimeType( s.mimeType );
+ }
+
+ // X-Requested-With header
+ // For cross-domain requests, seeing as conditions for a preflight are
+ // akin to a jigsaw puzzle, we simply never set it to be sure.
+ // (it can always be set on a per-request basis or even using ajaxSetup)
+ // For same-domain requests, won't change header if already provided.
+ if ( !s.crossDomain && !headers["X-Requested-With"] ) {
+ headers["X-Requested-With"] = "XMLHttpRequest";
+ }
+
+ // Need an extra try/catch for cross domain requests in Firefox 3
+ try {
+ for ( i in headers ) {
+ xhr.setRequestHeader( i, headers[ i ] );
+ }
+ } catch( err ) {}
+
+ // Do send the request
+ // This may raise an exception which is actually
+ // handled in jQuery.ajax (so no try/catch here)
+ xhr.send( ( s.hasContent && s.data ) || null );
+
+ // Listener
+ callback = function( _, isAbort ) {
+ var status, responseHeaders, statusText, responses;
+
+ // Firefox throws exceptions when accessing properties
+ // of an xhr when a network error occurred
+ // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE)
+ try {
+
+ // Was never called and is aborted or complete
+ if ( callback && ( isAbort || xhr.readyState === 4 ) ) {
+
+ // Only called once
+ callback = undefined;
+
+ // Do not keep as active anymore
+ if ( handle ) {
+ xhr.onreadystatechange = jQuery.noop;
+ if ( xhrOnUnloadAbort ) {
+ delete xhrCallbacks[ handle ];
+ }
+ }
+
+ // If it's an abort
+ if ( isAbort ) {
+ // Abort it manually if needed
+ if ( xhr.readyState !== 4 ) {
+ xhr.abort();
+ }
+ } else {
+ responses = {};
+ status = xhr.status;
+ responseHeaders = xhr.getAllResponseHeaders();
+
+ // When requesting binary data, IE6-9 will throw an exception
+ // on any attempt to access responseText (#11426)
+ if ( typeof xhr.responseText === "string" ) {
+ responses.text = xhr.responseText;
+ }
+
+ // Firefox throws an exception when accessing
+ // statusText for faulty cross-domain requests
+ try {
+ statusText = xhr.statusText;
+ } catch( e ) {
+ // We normalize with Webkit giving an empty statusText
+ statusText = "";
+ }
+
+ // Filter status for non standard behaviors
+
+ // If the request is local and we have data: assume a success
+ // (success with no data won't get notified, that's the best we
+ // can do given current implementations)
+ if ( !status && s.isLocal && !s.crossDomain ) {
+ status = responses.text ? 200 : 404;
+ // IE - #1450: sometimes returns 1223 when it should be 204
+ } else if ( status === 1223 ) {
+ status = 204;
+ }
+ }
+ }
+ } catch( firefoxAccessException ) {
+ if ( !isAbort ) {
+ complete( -1, firefoxAccessException );
+ }
+ }
+
+ // Call complete if needed
+ if ( responses ) {
+ complete( status, statusText, responses, responseHeaders );
+ }
+ };
+
+ if ( !s.async ) {
+ // if we're in sync mode we fire the callback
+ callback();
+ } else if ( xhr.readyState === 4 ) {
+ // (IE6 & IE7) if it's in cache and has been
+ // retrieved directly we need to fire the callback
+ setTimeout( callback );
+ } else {
+ handle = ++xhrId;
+ if ( xhrOnUnloadAbort ) {
+ // Create the active xhrs callbacks list if needed
+ // and attach the unload handler
+ if ( !xhrCallbacks ) {
+ xhrCallbacks = {};
+ jQuery( window ).unload( xhrOnUnloadAbort );
+ }
+ // Add to list of active xhrs callbacks
+ xhrCallbacks[ handle ] = callback;
+ }
+ xhr.onreadystatechange = callback;
+ }
+ },
+
+ abort: function() {
+ if ( callback ) {
+ callback( undefined, true );
+ }
+ }
+ };
+ }
+ });
+}
+var fxNow, timerId,
+ rfxtypes = /^(?:toggle|show|hide)$/,
+ rfxnum = new RegExp( "^(?:([+-])=|)(" + core_pnum + ")([a-z%]*)$", "i" ),
+ rrun = /queueHooks$/,
+ animationPrefilters = [ defaultPrefilter ],
+ tweeners = {
+ "*": [function( prop, value ) {
+ var tween = this.createTween( prop, value ),
+ target = tween.cur(),
+ parts = rfxnum.exec( value ),
+ unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
+
+ // Starting value computation is required for potential unit mismatches
+ start = ( jQuery.cssNumber[ prop ] || unit !== "px" && +target ) &&
+ rfxnum.exec( jQuery.css( tween.elem, prop ) ),
+ scale = 1,
+ maxIterations = 20;
+
+ if ( start && start[ 3 ] !== unit ) {
+ // Trust units reported by jQuery.css
+ unit = unit || start[ 3 ];
+
+ // Make sure we update the tween properties later on
+ parts = parts || [];
+
+ // Iteratively approximate from a nonzero starting point
+ start = +target || 1;
+
+ do {
+ // If previous iteration zeroed out, double until we get *something*
+ // Use a string for doubling factor so we don't accidentally see scale as unchanged below
+ scale = scale || ".5";
+
+ // Adjust and apply
+ start = start / scale;
+ jQuery.style( tween.elem, prop, start + unit );
+
+ // Update scale, tolerating zero or NaN from tween.cur()
+ // And breaking the loop if scale is unchanged or perfect, or if we've just had enough
+ } while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations );
+ }
+
+ // Update tween properties
+ if ( parts ) {
+ start = tween.start = +start || +target || 0;
+ tween.unit = unit;
+ // If a +=/-= token was provided, we're doing a relative animation
+ tween.end = parts[ 1 ] ?
+ start + ( parts[ 1 ] + 1 ) * parts[ 2 ] :
+ +parts[ 2 ];
+ }
+
+ return tween;
+ }]
+ };
+
+// Animations created synchronously will run synchronously
+function createFxNow() {
+ setTimeout(function() {
+ fxNow = undefined;
+ });
+ return ( fxNow = jQuery.now() );
+}
+
+function createTween( value, prop, animation ) {
+ var tween,
+ collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ),
+ index = 0,
+ length = collection.length;
+ for ( ; index < length; index++ ) {
+ if ( (tween = collection[ index ].call( animation, prop, value )) ) {
+
+ // we're done with this property
+ return tween;
+ }
+ }
+}
+
+function Animation( elem, properties, options ) {
+ var result,
+ stopped,
+ index = 0,
+ length = animationPrefilters.length,
+ deferred = jQuery.Deferred().always( function() {
+ // don't match elem in the :animated selector
+ delete tick.elem;
+ }),
+ tick = function() {
+ if ( stopped ) {
+ return false;
+ }
+ var currentTime = fxNow || createFxNow(),
+ remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),
+ // archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497)
+ temp = remaining / animation.duration || 0,
+ percent = 1 - temp,
+ index = 0,
+ length = animation.tweens.length;
+
+ for ( ; index < length ; index++ ) {
+ animation.tweens[ index ].run( percent );
+ }
+
+ deferred.notifyWith( elem, [ animation, percent, remaining ]);
+
+ if ( percent < 1 && length ) {
+ return remaining;
+ } else {
+ deferred.resolveWith( elem, [ animation ] );
+ return false;
+ }
+ },
+ animation = deferred.promise({
+ elem: elem,
+ props: jQuery.extend( {}, properties ),
+ opts: jQuery.extend( true, { specialEasing: {} }, options ),
+ originalProperties: properties,
+ originalOptions: options,
+ startTime: fxNow || createFxNow(),
+ duration: options.duration,
+ tweens: [],
+ createTween: function( prop, end ) {
+ var tween = jQuery.Tween( elem, animation.opts, prop, end,
+ animation.opts.specialEasing[ prop ] || animation.opts.easing );
+ animation.tweens.push( tween );
+ return tween;
+ },
+ stop: function( gotoEnd ) {
+ var index = 0,
+ // if we are going to the end, we want to run all the tweens
+ // otherwise we skip this part
+ length = gotoEnd ? animation.tweens.length : 0;
+ if ( stopped ) {
+ return this;
+ }
+ stopped = true;
+ for ( ; index < length ; index++ ) {
+ animation.tweens[ index ].run( 1 );
+ }
+
+ // resolve when we played the last frame
+ // otherwise, reject
+ if ( gotoEnd ) {
+ deferred.resolveWith( elem, [ animation, gotoEnd ] );
+ } else {
+ deferred.rejectWith( elem, [ animation, gotoEnd ] );
+ }
+ return this;
+ }
+ }),
+ props = animation.props;
+
+ propFilter( props, animation.opts.specialEasing );
+
+ for ( ; index < length ; index++ ) {
+ result = animationPrefilters[ index ].call( animation, elem, props, animation.opts );
+ if ( result ) {
+ return result;
+ }
+ }
+
+ jQuery.map( props, createTween, animation );
+
+ if ( jQuery.isFunction( animation.opts.start ) ) {
+ animation.opts.start.call( elem, animation );
+ }
+
+ jQuery.fx.timer(
+ jQuery.extend( tick, {
+ elem: elem,
+ anim: animation,
+ queue: animation.opts.queue
+ })
+ );
+
+ // attach callbacks from options
+ return animation.progress( animation.opts.progress )
+ .done( animation.opts.done, animation.opts.complete )
+ .fail( animation.opts.fail )
+ .always( animation.opts.always );
+}
+
+function propFilter( props, specialEasing ) {
+ var index, name, easing, value, hooks;
+
+ // camelCase, specialEasing and expand cssHook pass
+ for ( index in props ) {
+ name = jQuery.camelCase( index );
+ easing = specialEasing[ name ];
+ value = props[ index ];
+ if ( jQuery.isArray( value ) ) {
+ easing = value[ 1 ];
+ value = props[ index ] = value[ 0 ];
+ }
+
+ if ( index !== name ) {
+ props[ name ] = value;
+ delete props[ index ];
+ }
+
+ hooks = jQuery.cssHooks[ name ];
+ if ( hooks && "expand" in hooks ) {
+ value = hooks.expand( value );
+ delete props[ name ];
+
+ // not quite $.extend, this wont overwrite keys already present.
+ // also - reusing 'index' from above because we have the correct "name"
+ for ( index in value ) {
+ if ( !( index in props ) ) {
+ props[ index ] = value[ index ];
+ specialEasing[ index ] = easing;
+ }
+ }
+ } else {
+ specialEasing[ name ] = easing;
+ }
+ }
+}
+
+jQuery.Animation = jQuery.extend( Animation, {
+
+ tweener: function( props, callback ) {
+ if ( jQuery.isFunction( props ) ) {
+ callback = props;
+ props = [ "*" ];
+ } else {
+ props = props.split(" ");
+ }
+
+ var prop,
+ index = 0,
+ length = props.length;
+
+ for ( ; index < length ; index++ ) {
+ prop = props[ index ];
+ tweeners[ prop ] = tweeners[ prop ] || [];
+ tweeners[ prop ].unshift( callback );
+ }
+ },
+
+ prefilter: function( callback, prepend ) {
+ if ( prepend ) {
+ animationPrefilters.unshift( callback );
+ } else {
+ animationPrefilters.push( callback );
+ }
+ }
+});
+
+function defaultPrefilter( elem, props, opts ) {
+ /* jshint validthis: true */
+ var prop, value, toggle, tween, hooks, oldfire,
+ anim = this,
+ orig = {},
+ style = elem.style,
+ hidden = elem.nodeType && isHidden( elem ),
+ dataShow = jQuery._data( elem, "fxshow" );
+
+ // handle queue: false promises
+ if ( !opts.queue ) {
+ hooks = jQuery._queueHooks( elem, "fx" );
+ if ( hooks.unqueued == null ) {
+ hooks.unqueued = 0;
+ oldfire = hooks.empty.fire;
+ hooks.empty.fire = function() {
+ if ( !hooks.unqueued ) {
+ oldfire();
+ }
+ };
+ }
+ hooks.unqueued++;
+
+ anim.always(function() {
+ // doing this makes sure that the complete handler will be called
+ // before this completes
+ anim.always(function() {
+ hooks.unqueued--;
+ if ( !jQuery.queue( elem, "fx" ).length ) {
+ hooks.empty.fire();
+ }
+ });
+ });
+ }
+
+ // height/width overflow pass
+ if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) {
+ // Make sure that nothing sneaks out
+ // Record all 3 overflow attributes because IE does not
+ // change the overflow attribute when overflowX and
+ // overflowY are set to the same value
+ opts.overflow = [ style.overflow, style.overflowX, style.overflowY ];
+
+ // Set display property to inline-block for height/width
+ // animations on inline elements that are having width/height animated
+ if ( jQuery.css( elem, "display" ) === "inline" &&
+ jQuery.css( elem, "float" ) === "none" ) {
+
+ // inline-level elements accept inline-block;
+ // block-level elements need to be inline with layout
+ if ( !jQuery.support.inlineBlockNeedsLayout || css_defaultDisplay( elem.nodeName ) === "inline" ) {
+ style.display = "inline-block";
+
+ } else {
+ style.zoom = 1;
+ }
+ }
+ }
+
+ if ( opts.overflow ) {
+ style.overflow = "hidden";
+ if ( !jQuery.support.shrinkWrapBlocks ) {
+ anim.always(function() {
+ style.overflow = opts.overflow[ 0 ];
+ style.overflowX = opts.overflow[ 1 ];
+ style.overflowY = opts.overflow[ 2 ];
+ });
+ }
+ }
+
+
+ // show/hide pass
+ for ( prop in props ) {
+ value = props[ prop ];
+ if ( rfxtypes.exec( value ) ) {
+ delete props[ prop ];
+ toggle = toggle || value === "toggle";
+ if ( value === ( hidden ? "hide" : "show" ) ) {
+ continue;
+ }
+ orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );
+ }
+ }
+
+ if ( !jQuery.isEmptyObject( orig ) ) {
+ if ( dataShow ) {
+ if ( "hidden" in dataShow ) {
+ hidden = dataShow.hidden;
+ }
+ } else {
+ dataShow = jQuery._data( elem, "fxshow", {} );
+ }
+
+ // store state if its toggle - enables .stop().toggle() to "reverse"
+ if ( toggle ) {
+ dataShow.hidden = !hidden;
+ }
+ if ( hidden ) {
+ jQuery( elem ).show();
+ } else {
+ anim.done(function() {
+ jQuery( elem ).hide();
+ });
+ }
+ anim.done(function() {
+ var prop;
+ jQuery._removeData( elem, "fxshow" );
+ for ( prop in orig ) {
+ jQuery.style( elem, prop, orig[ prop ] );
+ }
+ });
+ for ( prop in orig ) {
+ tween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );
+
+ if ( !( prop in dataShow ) ) {
+ dataShow[ prop ] = tween.start;
+ if ( hidden ) {
+ tween.end = tween.start;
+ tween.start = prop === "width" || prop === "height" ? 1 : 0;
+ }
+ }
+ }
+ }
+}
+
+function Tween( elem, options, prop, end, easing ) {
+ return new Tween.prototype.init( elem, options, prop, end, easing );
+}
+jQuery.Tween = Tween;
+
+Tween.prototype = {
+ constructor: Tween,
+ init: function( elem, options, prop, end, easing, unit ) {
+ this.elem = elem;
+ this.prop = prop;
+ this.easing = easing || "swing";
+ this.options = options;
+ this.start = this.now = this.cur();
+ this.end = end;
+ this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" );
+ },
+ cur: function() {
+ var hooks = Tween.propHooks[ this.prop ];
+
+ return hooks && hooks.get ?
+ hooks.get( this ) :
+ Tween.propHooks._default.get( this );
+ },
+ run: function( percent ) {
+ var eased,
+ hooks = Tween.propHooks[ this.prop ];
+
+ if ( this.options.duration ) {
+ this.pos = eased = jQuery.easing[ this.easing ](
+ percent, this.options.duration * percent, 0, 1, this.options.duration
+ );
+ } else {
+ this.pos = eased = percent;
+ }
+ this.now = ( this.end - this.start ) * eased + this.start;
+
+ if ( this.options.step ) {
+ this.options.step.call( this.elem, this.now, this );
+ }
+
+ if ( hooks && hooks.set ) {
+ hooks.set( this );
+ } else {
+ Tween.propHooks._default.set( this );
+ }
+ return this;
+ }
+};
+
+Tween.prototype.init.prototype = Tween.prototype;
+
+Tween.propHooks = {
+ _default: {
+ get: function( tween ) {
+ var result;
+
+ if ( tween.elem[ tween.prop ] != null &&
+ (!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) {
+ return tween.elem[ tween.prop ];
+ }
+
+ // passing an empty string as a 3rd parameter to .css will automatically
+ // attempt a parseFloat and fallback to a string if the parse fails
+ // so, simple values such as "10px" are parsed to Float.
+ // complex values such as "rotate(1rad)" are returned as is.
+ result = jQuery.css( tween.elem, tween.prop, "" );
+ // Empty strings, null, undefined and "auto" are converted to 0.
+ return !result || result === "auto" ? 0 : result;
+ },
+ set: function( tween ) {
+ // use step hook for back compat - use cssHook if its there - use .style if its
+ // available and use plain properties where available
+ if ( jQuery.fx.step[ tween.prop ] ) {
+ jQuery.fx.step[ tween.prop ]( tween );
+ } else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) {
+ jQuery.style( tween.elem, tween.prop, tween.now + tween.unit );
+ } else {
+ tween.elem[ tween.prop ] = tween.now;
+ }
+ }
+ }
+};
+
+// Support: IE <=9
+// Panic based approach to setting things on disconnected nodes
+
+Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {
+ set: function( tween ) {
+ if ( tween.elem.nodeType && tween.elem.parentNode ) {
+ tween.elem[ tween.prop ] = tween.now;
+ }
+ }
+};
+
+jQuery.each([ "toggle", "show", "hide" ], function( i, name ) {
+ var cssFn = jQuery.fn[ name ];
+ jQuery.fn[ name ] = function( speed, easing, callback ) {
+ return speed == null || typeof speed === "boolean" ?
+ cssFn.apply( this, arguments ) :
+ this.animate( genFx( name, true ), speed, easing, callback );
+ };
+});
+
+jQuery.fn.extend({
+ fadeTo: function( speed, to, easing, callback ) {
+
+ // show any hidden elements after setting opacity to 0
+ return this.filter( isHidden ).css( "opacity", 0 ).show()
+
+ // animate to the value specified
+ .end().animate({ opacity: to }, speed, easing, callback );
+ },
+ animate: function( prop, speed, easing, callback ) {
+ var empty = jQuery.isEmptyObject( prop ),
+ optall = jQuery.speed( speed, easing, callback ),
+ doAnimation = function() {
+ // Operate on a copy of prop so per-property easing won't be lost
+ var anim = Animation( this, jQuery.extend( {}, prop ), optall );
+
+ // Empty animations, or finishing resolves immediately
+ if ( empty || jQuery._data( this, "finish" ) ) {
+ anim.stop( true );
+ }
+ };
+ doAnimation.finish = doAnimation;
+
+ return empty || optall.queue === false ?
+ this.each( doAnimation ) :
+ this.queue( optall.queue, doAnimation );
+ },
+ stop: function( type, clearQueue, gotoEnd ) {
+ var stopQueue = function( hooks ) {
+ var stop = hooks.stop;
+ delete hooks.stop;
+ stop( gotoEnd );
+ };
+
+ if ( typeof type !== "string" ) {
+ gotoEnd = clearQueue;
+ clearQueue = type;
+ type = undefined;
+ }
+ if ( clearQueue && type !== false ) {
+ this.queue( type || "fx", [] );
+ }
+
+ return this.each(function() {
+ var dequeue = true,
+ index = type != null && type + "queueHooks",
+ timers = jQuery.timers,
+ data = jQuery._data( this );
+
+ if ( index ) {
+ if ( data[ index ] && data[ index ].stop ) {
+ stopQueue( data[ index ] );
+ }
+ } else {
+ for ( index in data ) {
+ if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {
+ stopQueue( data[ index ] );
+ }
+ }
+ }
+
+ for ( index = timers.length; index--; ) {
+ if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) {
+ timers[ index ].anim.stop( gotoEnd );
+ dequeue = false;
+ timers.splice( index, 1 );
+ }
+ }
+
+ // start the next in the queue if the last step wasn't forced
+ // timers currently will call their complete callbacks, which will dequeue
+ // but only if they were gotoEnd
+ if ( dequeue || !gotoEnd ) {
+ jQuery.dequeue( this, type );
+ }
+ });
+ },
+ finish: function( type ) {
+ if ( type !== false ) {
+ type = type || "fx";
+ }
+ return this.each(function() {
+ var index,
+ data = jQuery._data( this ),
+ queue = data[ type + "queue" ],
+ hooks = data[ type + "queueHooks" ],
+ timers = jQuery.timers,
+ length = queue ? queue.length : 0;
+
+ // enable finishing flag on private data
+ data.finish = true;
+
+ // empty the queue first
+ jQuery.queue( this, type, [] );
+
+ if ( hooks && hooks.stop ) {
+ hooks.stop.call( this, true );
+ }
+
+ // look for any active animations, and finish them
+ for ( index = timers.length; index--; ) {
+ if ( timers[ index ].elem === this && timers[ index ].queue === type ) {
+ timers[ index ].anim.stop( true );
+ timers.splice( index, 1 );
+ }
+ }
+
+ // look for any animations in the old queue and finish them
+ for ( index = 0; index < length; index++ ) {
+ if ( queue[ index ] && queue[ index ].finish ) {
+ queue[ index ].finish.call( this );
+ }
+ }
+
+ // turn off finishing flag
+ delete data.finish;
+ });
+ }
+});
+
+// Generate parameters to create a standard animation
+function genFx( type, includeWidth ) {
+ var which,
+ attrs = { height: type },
+ i = 0;
+
+ // if we include width, step value is 1 to do all cssExpand values,
+ // if we don't include width, step value is 2 to skip over Left and Right
+ includeWidth = includeWidth? 1 : 0;
+ for( ; i < 4 ; i += 2 - includeWidth ) {
+ which = cssExpand[ i ];
+ attrs[ "margin" + which ] = attrs[ "padding" + which ] = type;
+ }
+
+ if ( includeWidth ) {
+ attrs.opacity = attrs.width = type;
+ }
+
+ return attrs;
+}
+
+// Generate shortcuts for custom animations
+jQuery.each({
+ slideDown: genFx("show"),
+ slideUp: genFx("hide"),
+ slideToggle: genFx("toggle"),
+ fadeIn: { opacity: "show" },
+ fadeOut: { opacity: "hide" },
+ fadeToggle: { opacity: "toggle" }
+}, function( name, props ) {
+ jQuery.fn[ name ] = function( speed, easing, callback ) {
+ return this.animate( props, speed, easing, callback );
+ };
+});
+
+jQuery.speed = function( speed, easing, fn ) {
+ var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
+ complete: fn || !fn && easing ||
+ jQuery.isFunction( speed ) && speed,
+ duration: speed,
+ easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing
+ };
+
+ opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
+ opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;
+
+ // normalize opt.queue - true/undefined/null -> "fx"
+ if ( opt.queue == null || opt.queue === true ) {
+ opt.queue = "fx";
+ }
+
+ // Queueing
+ opt.old = opt.complete;
+
+ opt.complete = function() {
+ if ( jQuery.isFunction( opt.old ) ) {
+ opt.old.call( this );
+ }
+
+ if ( opt.queue ) {
+ jQuery.dequeue( this, opt.queue );
+ }
+ };
+
+ return opt;
+};
+
+jQuery.easing = {
+ linear: function( p ) {
+ return p;
+ },
+ swing: function( p ) {
+ return 0.5 - Math.cos( p*Math.PI ) / 2;
+ }
+};
+
+jQuery.timers = [];
+jQuery.fx = Tween.prototype.init;
+jQuery.fx.tick = function() {
+ var timer,
+ timers = jQuery.timers,
+ i = 0;
+
+ fxNow = jQuery.now();
+
+ for ( ; i < timers.length; i++ ) {
+ timer = timers[ i ];
+ // Checks the timer has not already been removed
+ if ( !timer() && timers[ i ] === timer ) {
+ timers.splice( i--, 1 );
+ }
+ }
+
+ if ( !timers.length ) {
+ jQuery.fx.stop();
+ }
+ fxNow = undefined;
+};
+
+jQuery.fx.timer = function( timer ) {
+ if ( timer() && jQuery.timers.push( timer ) ) {
+ jQuery.fx.start();
+ }
+};
+
+jQuery.fx.interval = 13;
+
+jQuery.fx.start = function() {
+ if ( !timerId ) {
+ timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval );
+ }
+};
+
+jQuery.fx.stop = function() {
+ clearInterval( timerId );
+ timerId = null;
+};
+
+jQuery.fx.speeds = {
+ slow: 600,
+ fast: 200,
+ // Default speed
+ _default: 400
+};
+
+// Back Compat <1.8 extension point
+jQuery.fx.step = {};
+
+if ( jQuery.expr && jQuery.expr.filters ) {
+ jQuery.expr.filters.animated = function( elem ) {
+ return jQuery.grep(jQuery.timers, function( fn ) {
+ return elem === fn.elem;
+ }).length;
+ };
+}
+jQuery.fn.offset = function( options ) {
+ if ( arguments.length ) {
+ return options === undefined ?
+ this :
+ this.each(function( i ) {
+ jQuery.offset.setOffset( this, options, i );
+ });
+ }
+
+ var docElem, win,
+ box = { top: 0, left: 0 },
+ elem = this[ 0 ],
+ doc = elem && elem.ownerDocument;
+
+ if ( !doc ) {
+ return;
+ }
+
+ docElem = doc.documentElement;
+
+ // Make sure it's not a disconnected DOM node
+ if ( !jQuery.contains( docElem, elem ) ) {
+ return box;
+ }
+
+ // If we don't have gBCR, just use 0,0 rather than error
+ // BlackBerry 5, iOS 3 (original iPhone)
+ if ( typeof elem.getBoundingClientRect !== core_strundefined ) {
+ box = elem.getBoundingClientRect();
+ }
+ win = getWindow( doc );
+ return {
+ top: box.top + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ),
+ left: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 )
+ };
+};
+
+jQuery.offset = {
+
+ setOffset: function( elem, options, i ) {
+ var position = jQuery.css( elem, "position" );
+
+ // set position first, in-case top/left are set even on static elem
+ if ( position === "static" ) {
+ elem.style.position = "relative";
+ }
+
+ var curElem = jQuery( elem ),
+ curOffset = curElem.offset(),
+ curCSSTop = jQuery.css( elem, "top" ),
+ curCSSLeft = jQuery.css( elem, "left" ),
+ calculatePosition = ( position === "absolute" || position === "fixed" ) && jQuery.inArray("auto", [curCSSTop, curCSSLeft]) > -1,
+ props = {}, curPosition = {}, curTop, curLeft;
+
+ // need to be able to calculate position if either top or left is auto and position is either absolute or fixed
+ if ( calculatePosition ) {
+ curPosition = curElem.position();
+ curTop = curPosition.top;
+ curLeft = curPosition.left;
+ } else {
+ curTop = parseFloat( curCSSTop ) || 0;
+ curLeft = parseFloat( curCSSLeft ) || 0;
+ }
+
+ if ( jQuery.isFunction( options ) ) {
+ options = options.call( elem, i, curOffset );
+ }
+
+ if ( options.top != null ) {
+ props.top = ( options.top - curOffset.top ) + curTop;
+ }
+ if ( options.left != null ) {
+ props.left = ( options.left - curOffset.left ) + curLeft;
+ }
+
+ if ( "using" in options ) {
+ options.using.call( elem, props );
+ } else {
+ curElem.css( props );
+ }
+ }
+};
+
+
+jQuery.fn.extend({
+
+ position: function() {
+ if ( !this[ 0 ] ) {
+ return;
+ }
+
+ var offsetParent, offset,
+ parentOffset = { top: 0, left: 0 },
+ elem = this[ 0 ];
+
+ // fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is it's only offset parent
+ if ( jQuery.css( elem, "position" ) === "fixed" ) {
+ // we assume that getBoundingClientRect is available when computed position is fixed
+ offset = elem.getBoundingClientRect();
+ } else {
+ // Get *real* offsetParent
+ offsetParent = this.offsetParent();
+
+ // Get correct offsets
+ offset = this.offset();
+ if ( !jQuery.nodeName( offsetParent[ 0 ], "html" ) ) {
+ parentOffset = offsetParent.offset();
+ }
+
+ // Add offsetParent borders
+ parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true );
+ parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true );
+ }
+
+ // Subtract parent offsets and element margins
+ // note: when an element has margin: auto the offsetLeft and marginLeft
+ // are the same in Safari causing offset.left to incorrectly be 0
+ return {
+ top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ),
+ left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true)
+ };
+ },
+
+ offsetParent: function() {
+ return this.map(function() {
+ var offsetParent = this.offsetParent || docElem;
+ while ( offsetParent && ( !jQuery.nodeName( offsetParent, "html" ) && jQuery.css( offsetParent, "position") === "static" ) ) {
+ offsetParent = offsetParent.offsetParent;
+ }
+ return offsetParent || docElem;
+ });
+ }
+});
+
+
+// Create scrollLeft and scrollTop methods
+jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( method, prop ) {
+ var top = /Y/.test( prop );
+
+ jQuery.fn[ method ] = function( val ) {
+ return jQuery.access( this, function( elem, method, val ) {
+ var win = getWindow( elem );
+
+ if ( val === undefined ) {
+ return win ? (prop in win) ? win[ prop ] :
+ win.document.documentElement[ method ] :
+ elem[ method ];
+ }
+
+ if ( win ) {
+ win.scrollTo(
+ !top ? val : jQuery( win ).scrollLeft(),
+ top ? val : jQuery( win ).scrollTop()
+ );
+
+ } else {
+ elem[ method ] = val;
+ }
+ }, method, val, arguments.length, null );
+ };
+});
+
+function getWindow( elem ) {
+ return jQuery.isWindow( elem ) ?
+ elem :
+ elem.nodeType === 9 ?
+ elem.defaultView || elem.parentWindow :
+ false;
+}
+// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
+jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
+ jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) {
+ // margin is only for outerHeight, outerWidth
+ jQuery.fn[ funcName ] = function( margin, value ) {
+ var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ),
+ extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" );
+
+ return jQuery.access( this, function( elem, type, value ) {
+ var doc;
+
+ if ( jQuery.isWindow( elem ) ) {
+ // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there
+ // isn't a whole lot we can do. See pull request at this URL for discussion:
+ // https://github.com/jquery/jquery/pull/764
+ return elem.document.documentElement[ "client" + name ];
+ }
+
+ // Get document width or height
+ if ( elem.nodeType === 9 ) {
+ doc = elem.documentElement;
+
+ // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], whichever is greatest
+ // unfortunately, this causes bug #3838 in IE6/8 only, but there is currently no good, small way to fix it.
+ return Math.max(
+ elem.body[ "scroll" + name ], doc[ "scroll" + name ],
+ elem.body[ "offset" + name ], doc[ "offset" + name ],
+ doc[ "client" + name ]
+ );
+ }
+
+ return value === undefined ?
+ // Get width or height on the element, requesting but not forcing parseFloat
+ jQuery.css( elem, type, extra ) :
+
+ // Set width or height on the element
+ jQuery.style( elem, type, value, extra );
+ }, type, chainable ? margin : undefined, chainable, null );
+ };
+ });
+});
+// Limit scope pollution from any deprecated API
+// (function() {
+
+// The number of elements contained in the matched element set
+jQuery.fn.size = function() {
+ return this.length;
+};
+
+jQuery.fn.andSelf = jQuery.fn.addBack;
+
+// })();
+if ( typeof module === "object" && module && typeof module.exports === "object" ) {
+ // Expose jQuery as module.exports in loaders that implement the Node
+ // module pattern (including browserify). Do not create the global, since
+ // the user will be storing it themselves locally, and globals are frowned
+ // upon in the Node module world.
+ module.exports = jQuery;
+} else {
+ // Otherwise expose jQuery to the global object as usual
+ window.jQuery = window.$ = jQuery;
+
+ // Register as a named AMD module, since jQuery can be concatenated with other
+ // files that may use define, but not via a proper concatenation script that
+ // understands anonymous AMD modules. A named AMD is safest and most robust
+ // way to register. Lowercase jquery is used because AMD module names are
+ // derived from file names, and jQuery is normally delivered in a lowercase
+ // file name. Do this after creating the global so that if an AMD module wants
+ // to call noConflict to hide this version of jQuery, it will work.
+ if ( typeof define === "function" && define.amd ) {
+ define( "jquery", [], function () { return jQuery; } );
+ }
+}
+
+})( window );
diff --git a/1.2.19/docs/components/jquery-1.10.2/jquery.min.js b/1.2.19/docs/components/jquery-1.10.2/jquery.min.js
new file mode 100644
index 0000000000..29b3a2c7b4
--- /dev/null
+++ b/1.2.19/docs/components/jquery-1.10.2/jquery.min.js
@@ -0,0 +1,6 @@
+/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
+//@ sourceMappingURL=jquery.min.map
+*/
+(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split("|"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML="
",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML="
",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ut(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=K.test(d.contains)||d.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||at.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?lt(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split("").sort(A).join("")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ut(function(e){return e.innerHTML="
","#"===e.firstChild.getAttribute("href")})||ct("type|href|height|width",function(e,n,r){return r?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML="
",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ct("value",function(e,n,r){return r||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML="
a ",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="
",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="
",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t
+}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/
\s*$/g,At={option:[1,""," "],legend:[1,""," "],area:[1,""," "],param:[1,""," "],thead:[1,""],tr:[2,""],col:[2,""],td:[3,""],_default:x.support.htmlSerialize?[0,"",""]:[1,"X","
"]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1>$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1>$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?""!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle);
+u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x("").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write(""),t.close(),n=un(e,t),Pt.detach()),Gt[e]=n),n}function un(e,t){var n=x(t.createElement(e)).appendTo(t.body),r=x.css(n[0],"display");return n.remove(),r}x.each(["height","width"],function(e,n){x.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(x.css(e,"display"))?x.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,i),i):0)}}}),x.support.opacity||(x.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=x.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===x.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,n){return n?x.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!x.support.pixelPosition&&x.fn.position&&x.each(["top","left"],function(e,n){x.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?x(e).position()[n]+"px":r):t}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!x.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||x.css(e,"display"))},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(x.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Ct.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),x.param=function(e,n){var r,i=[],o=function(e,t){t=x.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(x.isArray(t))x.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==x.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}x.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var mn,yn,vn=x.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Cn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=x.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=o.href}catch(Ln){yn=a.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(T)||[];if(x.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(l){var u;return o[l]=!0,x.each(e[l]||[],function(e,l){var c=l(n,r,i);return"string"!=typeof c||a||o[c]?a?!(u=c):t:(n.dataTypes.unshift(c),s(c),!1)}),u}return s(n.dataTypes[0])||!o["*"]&&s("*")}function _n(e,n){var r,i,o=x.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&x.extend(!0,e,r),e}x.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),x.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&x.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?x("").append(x.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Cn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?_n(_n(e,x.ajaxSettings),t):_n(x.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,l,u,c,p=x.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?x(f):x.event,h=x.Deferred(),g=x.Callbacks("once memory"),m=p.statusCode||{},y={},v={},b=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return u&&u.abort(t),k(0,t),this}};if(h.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=x.trim(p.dataType||"*").toLowerCase().match(T)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(mn[3]||("http:"===mn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),qn(An,p,n,C),2===b)return C;l=p.global,l&&0===x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(x.lastModified[o]&&C.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&C.setRequestHeader("If-None-Match",x.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)C.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,C,p)===!1||2===b))return C.abort();w="abort";for(i in{success:1,error:1,complete:1})C[i](p[i]);if(u=qn(jn,p,n,C)){C.readyState=1,l&&d.trigger("ajaxSend",[C,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){C.abort("timeout")},p.timeout));try{b=1,u.send(y,k)}catch(N){if(!(2>b))throw N;k(-1,N)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,N=n;2!==b&&(b=2,s&&clearTimeout(s),u=t,a=i||"",C.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&(w=Mn(p,C,r)),w=On(p,w,C,c),c?(p.ifModified&&(T=C.getResponseHeader("Last-Modified"),T&&(x.lastModified[o]=T),T=C.getResponseHeader("etag"),T&&(x.etag[o]=T)),204===e||"HEAD"===p.type?N="nocontent":304===e?N="notmodified":(N=w.state,y=w.data,v=w.error,c=!v)):(v=N,(e||!N)&&(N="error",0>e&&(e=0))),C.status=e,C.statusText=(n||N)+"",c?h.resolveWith(f,[y,N,C]):h.rejectWith(f,[C,N,v]),C.statusCode(m),m=t,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[C,p,c?y:v]),g.fireWith(f,[C,N]),l&&(d.trigger("ajaxComplete",[C,p]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,n){return x.get(e,t,n,"script")}}),x.each(["get","post"],function(e,n){x[n]=function(e,r,i,o){return x.isFunction(r)&&(o=o||i,i=r,r=t),x.ajax({url:e,type:n,dataType:o,data:r,success:i})}});function Mn(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in r)a=u[0];else{for(s in r){if(!u[0]||e.converters[s+" "+u[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==u[0]&&u.unshift(a),r[a]):t}function On(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[i]:u[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(p){return{state:"parsererror",error:a?p:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),x.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=a.head||x("head")[0]||a.documentElement;return{send:function(t,i){n=a.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Fn=[],Bn=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Fn.pop()||x.expando+"_"+vn++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=x.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||x.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Fn.push(o)),s&&x.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}x.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=x.ajaxSettings.xhr(),x.support.cors=!!Rn&&"withCredentials"in Rn,Rn=x.support.ajax=!!Rn,Rn&&x.ajaxTransport(function(n){if(!n.crossDomain||x.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=x.noop,$n&&delete Pn[a]),i)4!==l.readyState&&l.abort();else{p={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(p.text=l.responseText);try{c=l.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,u)},n.async?4===l.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},x(e).unload($n)),Pn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+w+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Yn.exec(t),o=i&&i[3]||(x.cssNumber[e]?"":"px"),a=(x.cssNumber[e]||"px"!==o&&+r)&&Yn.exec(x.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,x.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=x.now()}function Zn(e,t,n){var r,i=(Qn[t]||[]).concat(Qn["*"]),o=0,a=i.length;for(;a>o;o++)if(r=i[o].call(n,t,e))return r}function er(e,t,n){var r,i,o=0,a=Gn.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;for(;l>a;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(tr(c,u.opts.specialEasing);a>o;o++)if(r=Gn[o].call(u,e,c,u.opts))return r;return x.map(c,Zn,u),x.isFunction(u.opts.start)&&u.opts.start.call(e,u),x.fx.timer(x.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function tr(e,t){var n,r,i,o,a;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=x.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(er,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,l,u=this,c={},p=e.style,f=e.nodeType&&nn(e),d=x._data(e,"fxshow");n.queue||(s=x._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(x.support.inlineBlockNeedsLayout&&"inline"!==ln(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",x.support.shrinkWrapBlocks||u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Vn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show"))continue;c[r]=d&&d[r]||x.style(e,r)}if(!x.isEmptyObject(c)){d?"hidden"in d&&(f=d.hidden):d=x._data(e,"fxshow",{}),o&&(d.hidden=!f),f?x(e).show():u.done(function(){x(e).hide()}),u.done(function(){var t;x._removeData(e,"fxshow");for(t in c)x.style(e,t,c[t])});for(r in c)a=Zn(f?d[r]:0,r,u),r in d||(d[r]=a.start,f&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}x.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=er(this,x.extend({},e),o);(i||x._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=x.timers,a=x._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=x._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}x.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return r.duration=x.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){x.isFunction(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=rr.prototype.init,x.fx.tick=function(){var e,n=x.timers,r=0;for(Xn=x.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||x.fx.stop(),Xn=t},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){Un||(Un=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(Un),Un=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){x.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,x.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},x.offset={setOffset:function(e,t,n){var r=x.css(e,"position");"static"===r&&(e.style.position="relative");var i=x(e),o=i.offset(),a=x.css(e,"top"),s=x.css(e,"left"),l=("absolute"===r||"fixed"===r)&&x.inArray("auto",[a,s])>-1,u={},c={},p,f;l?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),x.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(u.top=t.top-o.top+p),null!=t.left&&(u.left=t.left-o.left+f),"using"in t?t.using.call(e,u):i.css(u)}},x.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===x.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(n=e.offset()),n.top+=x.css(e[0],"borderTopWidth",!0),n.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-x.css(r,"marginTop",!0),left:t.left-n.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||s;while(e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position"))e=e.offsetParent;return e||s})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);x.fn[e]=function(i){return x.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?x(a).scrollLeft():o,r?o:x(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return x.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}x.each({Height:"height",Width:"width"},function(e,n){x.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){x.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return x.access(this,function(n,r,i){var o;return x.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?x.css(n,r,s):x.style(n,r,i,s)},n,a?i:t,a,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=x:(e.jQuery=e.$=x,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}))})(window);
diff --git a/1.2.19/docs/components/jquery-1.10.2/jquery.min.map b/1.2.19/docs/components/jquery-1.10.2/jquery.min.map
new file mode 100644
index 0000000000..2dd27a6b41
--- /dev/null
+++ b/1.2.19/docs/components/jquery-1.10.2/jquery.min.map
@@ -0,0 +1 @@
+{"version":3,"file":"jquery-1.10.2.min.js","sources":["jquery-1.10.2.js"],"names":["window","undefined","readyList","rootjQuery","core_strundefined","location","document","docElem","documentElement","_jQuery","jQuery","_$","$","class2type","core_deletedIds","core_version","core_concat","concat","core_push","push","core_slice","slice","core_indexOf","indexOf","core_toString","toString","core_hasOwn","hasOwnProperty","core_trim","trim","selector","context","fn","init","core_pnum","source","core_rnotwhite","rtrim","rquickExpr","rsingleTag","rvalidchars","rvalidbraces","rvalidescape","rvalidtokens","rmsPrefix","rdashAlpha","fcamelCase","all","letter","toUpperCase","completed","event","addEventListener","type","readyState","detach","ready","removeEventListener","detachEvent","prototype","jquery","constructor","match","elem","this","charAt","length","exec","find","merge","parseHTML","nodeType","ownerDocument","test","isPlainObject","isFunction","attr","getElementById","parentNode","id","makeArray","toArray","call","get","num","pushStack","elems","ret","prevObject","each","callback","args","promise","done","apply","arguments","first","eq","last","i","len","j","map","end","sort","splice","extend","src","copyIsArray","copy","name","options","clone","target","deep","isArray","expando","Math","random","replace","noConflict","isReady","readyWait","holdReady","hold","wait","body","setTimeout","resolveWith","trigger","off","obj","Array","isWindow","isNumeric","isNaN","parseFloat","isFinite","String","key","e","support","ownLast","isEmptyObject","error","msg","Error","data","keepScripts","parsed","scripts","createElement","buildFragment","remove","childNodes","parseJSON","JSON","parse","Function","parseXML","xml","tmp","DOMParser","parseFromString","ActiveXObject","async","loadXML","getElementsByTagName","noop","globalEval","execScript","camelCase","string","nodeName","toLowerCase","value","isArraylike","text","arr","results","Object","inArray","max","second","l","grep","inv","retVal","arg","guid","proxy","access","chainable","emptyGet","raw","bulk","now","Date","getTime","swap","old","style","Deferred","attachEvent","top","frameElement","doScroll","doScrollCheck","split","cachedruns","Expr","getText","isXML","compile","outermostContext","sortInput","setDocument","documentIsHTML","rbuggyQSA","rbuggyMatches","matches","contains","preferredDoc","dirruns","classCache","createCache","tokenCache","compilerCache","hasDuplicate","sortOrder","a","b","strundefined","MAX_NEGATIVE","hasOwn","pop","push_native","booleans","whitespace","characterEncoding","identifier","attributes","pseudos","RegExp","rcomma","rcombinators","rsibling","rattributeQuotes","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","bool","needsContext","rnative","rinputs","rheader","rescape","runescape","funescape","_","escaped","escapedWhitespace","high","fromCharCode","els","Sizzle","seed","m","groups","nid","newContext","newSelector","getElementsByClassName","qsa","tokenize","getAttribute","setAttribute","toSelector","join","querySelectorAll","qsaError","removeAttribute","select","keys","cache","cacheLength","shift","markFunction","assert","div","removeChild","addHandle","attrs","handler","attrHandle","siblingCheck","cur","diff","sourceIndex","nextSibling","createInputPseudo","createButtonPseudo","createPositionalPseudo","argument","matchIndexes","node","doc","parent","defaultView","className","appendChild","createComment","innerHTML","firstChild","getById","getElementsByName","filter","attrId","getAttributeNode","tag","input","matchesSelector","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","msMatchesSelector","disconnectedMatch","compareDocumentPosition","adown","bup","compare","sortDetached","aup","ap","bp","unshift","expr","elements","val","specified","uniqueSort","duplicates","detectDuplicates","sortStable","textContent","nodeValue","selectors","createPseudo","relative",">","dir"," ","+","~","preFilter","excess","unquoted","nodeNameSelector","pattern","operator","check","result","what","simple","forward","ofType","outerCache","nodeIndex","start","useCache","lastChild","pseudo","setFilters","idx","matched","not","matcher","unmatched","has","innerText","lang","elemLang","hash","root","focus","activeElement","hasFocus","href","tabIndex","enabled","disabled","checked","selected","selectedIndex","empty","header","button","even","odd","lt","gt","radio","checkbox","file","password","image","submit","reset","filters","parseOnly","tokens","soFar","preFilters","cached","addCombinator","combinator","base","checkNonElements","doneName","dirkey","elementMatcher","matchers","condense","newUnmatched","mapped","setMatcher","postFilter","postFinder","postSelector","temp","preMap","postMap","preexisting","multipleContexts","matcherIn","matcherOut","matcherFromTokens","checkContext","leadingRelative","implicitRelative","matchContext","matchAnyContext","matcherFromGroupMatchers","elementMatchers","setMatchers","matcherCachedRuns","bySet","byElement","superMatcher","expandContext","setMatched","matchedCount","outermost","contextBackup","dirrunsUnique","group","contexts","token","div1","defaultValue","unique","isXMLDoc","optionsCache","createOptions","object","flag","Callbacks","firing","memory","fired","firingLength","firingIndex","firingStart","list","stack","once","fire","stopOnFalse","self","disable","add","index","lock","locked","fireWith","func","tuples","state","always","deferred","fail","then","fns","newDefer","tuple","action","returned","resolve","reject","progress","notify","pipe","stateString","when","subordinate","resolveValues","remaining","updateFunc","values","progressValues","notifyWith","progressContexts","resolveContexts","fragment","opt","eventName","isSupported","cssText","getSetAttribute","leadingWhitespace","tbody","htmlSerialize","hrefNormalized","opacity","cssFloat","checkOn","optSelected","enctype","html5Clone","cloneNode","outerHTML","inlineBlockNeedsLayout","shrinkWrapBlocks","pixelPosition","deleteExpando","noCloneEvent","reliableMarginRight","boxSizingReliable","noCloneChecked","optDisabled","radioValue","createDocumentFragment","appendChecked","checkClone","click","change","focusin","backgroundClip","clearCloneStyle","container","marginDiv","tds","divReset","offsetHeight","display","reliableHiddenOffsets","zoom","boxSizing","offsetWidth","getComputedStyle","width","marginRight","rbrace","rmultiDash","internalData","pvt","acceptData","thisCache","internalKey","isNode","toJSON","internalRemoveData","isEmptyDataObject","cleanData","noData","applet","embed","hasData","removeData","_data","_removeData","dataAttr","queue","dequeue","startLength","hooks","_queueHooks","next","stop","setter","delay","time","fx","speeds","timeout","clearTimeout","clearQueue","count","defer","nodeHook","boolHook","rclass","rreturn","rfocusable","rclickable","ruseDefault","getSetInput","removeAttr","prop","removeProp","propFix","addClass","classes","clazz","proceed","removeClass","toggleClass","stateVal","classNames","hasClass","valHooks","set","option","one","optionSet","nType","attrHooks","propName","attrNames","for","class","notxml","propHooks","tabindex","parseInt","getter","setAttributeNode","createAttribute","coords","contenteditable","rformElems","rkeyEvent","rmouseEvent","rfocusMorph","rtypenamespace","returnTrue","returnFalse","safeActiveElement","err","global","types","events","t","handleObjIn","special","eventHandle","handleObj","handlers","namespaces","origType","elemData","handle","triggered","dispatch","delegateType","bindType","namespace","delegateCount","setup","mappedTypes","origCount","teardown","removeEvent","onlyHandlers","ontype","bubbleType","eventPath","Event","isTrigger","namespace_re","noBubble","parentWindow","isPropagationStopped","preventDefault","isDefaultPrevented","_default","fix","handlerQueue","delegateTarget","preDispatch","currentTarget","isImmediatePropagationStopped","stopPropagation","postDispatch","sel","originalEvent","fixHook","fixHooks","mouseHooks","keyHooks","props","srcElement","metaKey","original","which","charCode","keyCode","eventDoc","fromElement","pageX","clientX","scrollLeft","clientLeft","pageY","clientY","scrollTop","clientTop","relatedTarget","toElement","load","blur","beforeunload","returnValue","simulate","bubble","isSimulated","defaultPrevented","getPreventDefault","timeStamp","cancelBubble","stopImmediatePropagation","mouseenter","mouseleave","orig","related","submitBubbles","form","_submit_bubble","changeBubbles","propertyName","_just_changed","focusinBubbles","attaches","on","origFn","triggerHandler","isSimple","rparentsprev","rneedsContext","guaranteedUnique","children","contents","prev","targets","winnow","is","closest","pos","prevAll","addBack","sibling","parents","parentsUntil","until","nextAll","nextUntil","prevUntil","siblings","contentDocument","contentWindow","reverse","n","r","qualifier","createSafeFragment","nodeNames","safeFrag","rinlinejQuery","rnoshimcache","rleadingWhitespace","rxhtmlTag","rtagName","rtbody","rhtml","rnoInnerhtml","manipulation_rcheckableType","rchecked","rscriptType","rscriptTypeMasked","rcleanScript","wrapMap","legend","area","param","thead","tr","col","td","safeFragment","fragmentDiv","optgroup","tfoot","colgroup","caption","th","append","createTextNode","domManip","manipulationTarget","prepend","insertBefore","before","after","keepData","getAll","setGlobalEval","dataAndEvents","deepDataAndEvents","html","replaceWith","allowIntersection","hasScripts","iNoClone","disableScript","restoreScript","_evalUrl","content","refElements","cloneCopyEvent","dest","oldData","curData","fixCloneNodeIssues","defaultChecked","defaultSelected","appendTo","prependTo","insertAfter","replaceAll","insert","found","fixDefaultChecked","destElements","srcElements","inPage","selection","wrap","safe","nodes","url","ajax","dataType","throws","wrapAll","wrapInner","unwrap","iframe","getStyles","curCSS","ralpha","ropacity","rposition","rdisplayswap","rmargin","rnumsplit","rnumnonpx","rrelNum","elemdisplay","BODY","cssShow","position","visibility","cssNormalTransform","letterSpacing","fontWeight","cssExpand","cssPrefixes","vendorPropName","capName","origName","isHidden","el","css","showHide","show","hidden","css_defaultDisplay","styles","hide","toggle","cssHooks","computed","cssNumber","columnCount","fillOpacity","lineHeight","order","orphans","widows","zIndex","cssProps","float","extra","_computed","minWidth","maxWidth","getPropertyValue","currentStyle","left","rs","rsLeft","runtimeStyle","pixelLeft","setPositiveNumber","subtract","augmentWidthOrHeight","isBorderBox","getWidthOrHeight","valueIsBorderBox","actualDisplay","write","close","$1","visible","margin","padding","border","prefix","suffix","expand","expanded","parts","r20","rbracket","rCRLF","rsubmitterTypes","rsubmittable","serialize","serializeArray","traditional","s","encodeURIComponent","ajaxSettings","buildParams","v","hover","fnOver","fnOut","bind","unbind","delegate","undelegate","ajaxLocParts","ajaxLocation","ajax_nonce","ajax_rquery","rhash","rts","rheaders","rlocalProtocol","rnoContent","rprotocol","rurl","_load","prefilters","transports","allTypes","addToPrefiltersOrTransports","structure","dataTypeExpression","dataTypes","inspectPrefiltersOrTransports","originalOptions","jqXHR","inspected","seekingTransport","inspect","prefilterOrFactory","dataTypeOrTransport","ajaxExtend","flatOptions","params","response","responseText","complete","status","active","lastModified","etag","isLocal","processData","contentType","accepts","*","json","responseFields","converters","* text","text html","text json","text xml","ajaxSetup","settings","ajaxPrefilter","ajaxTransport","cacheURL","responseHeadersString","timeoutTimer","fireGlobals","transport","responseHeaders","callbackContext","globalEventContext","completeDeferred","statusCode","requestHeaders","requestHeadersNames","strAbort","getResponseHeader","getAllResponseHeaders","setRequestHeader","lname","overrideMimeType","mimeType","code","abort","statusText","finalText","success","method","crossDomain","hasContent","ifModified","headers","beforeSend","send","nativeStatusText","responses","isSuccess","modified","ajaxHandleResponses","ajaxConvert","rejectWith","getJSON","getScript","firstDataType","ct","finalDataType","conv2","current","conv","dataFilter","script","text script","head","scriptCharset","charset","onload","onreadystatechange","isAbort","oldCallbacks","rjsonp","jsonp","jsonpCallback","originalSettings","callbackName","overwritten","responseContainer","jsonProp","xhrCallbacks","xhrSupported","xhrId","xhrOnUnloadAbort","createStandardXHR","XMLHttpRequest","createActiveXHR","xhr","cors","username","open","xhrFields","firefoxAccessException","unload","fxNow","timerId","rfxtypes","rfxnum","rrun","animationPrefilters","defaultPrefilter","tweeners","tween","createTween","unit","scale","maxIterations","createFxNow","animation","collection","Animation","properties","stopped","tick","currentTime","startTime","duration","percent","tweens","run","opts","specialEasing","originalProperties","Tween","easing","gotoEnd","propFilter","timer","anim","tweener","prefilter","oldfire","dataShow","unqueued","overflow","overflowX","overflowY","eased","step","cssFn","speed","animate","genFx","fadeTo","to","optall","doAnimation","finish","stopQueue","timers","includeWidth","height","slideDown","slideUp","slideToggle","fadeIn","fadeOut","fadeToggle","linear","p","swing","cos","PI","interval","setInterval","clearInterval","slow","fast","animated","offset","setOffset","win","box","getBoundingClientRect","getWindow","pageYOffset","pageXOffset","curElem","curOffset","curCSSTop","curCSSLeft","calculatePosition","curPosition","curTop","curLeft","using","offsetParent","parentOffset","scrollTo","Height","Width","defaultExtra","funcName","size","andSelf","module","exports","define","amd"],"mappings":";;;CAaA,SAAWA,EAAQC,GAOnB,GAECC,GAGAC,EAIAC,QAA2BH,GAG3BI,EAAWL,EAAOK,SAClBC,EAAWN,EAAOM,SAClBC,EAAUD,EAASE,gBAGnBC,EAAUT,EAAOU,OAGjBC,EAAKX,EAAOY,EAGZC,KAGAC,KAEAC,EAAe,SAGfC,EAAcF,EAAgBG,OAC9BC,EAAYJ,EAAgBK,KAC5BC,EAAaN,EAAgBO,MAC7BC,EAAeR,EAAgBS,QAC/BC,EAAgBX,EAAWY,SAC3BC,EAAcb,EAAWc,eACzBC,EAAYb,EAAac,KAGzBnB,EAAS,SAAUoB,EAAUC,GAE5B,MAAO,IAAIrB,GAAOsB,GAAGC,KAAMH,EAAUC,EAAS5B,IAI/C+B,EAAY,sCAAsCC,OAGlDC,EAAiB,OAGjBC,EAAQ,qCAKRC,EAAa,sCAGbC,EAAa,6BAGbC,EAAc,gBACdC,EAAe,uBACfC,EAAe,qCACf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jG,UAAU7B,SAAYgmC,GAAkC,iBAAXhQ,IAC5DtB,EAAQsR,IAAkBhQ,KAAW,GAAQnvB,KAAU,EAAO,SAAW,SAE1E,OAAOrK,GAAOqL,OAAQ/H,KAAM,SAAUD,EAAMV,EAAM0H,GACjD,GAAIyI,EAEJ,OAAK9S,GAAO2H,SAAUtE,GAIdA,EAAKzD,SAASE,gBAAiB,SAAWsG,GAI3B,IAAlB/C,EAAKQ,UACTiP,EAAMzP,EAAKvD,gBAIJ6G,KAAKiE,IACXvH,EAAK+D,KAAM,SAAWhB,GAAQ0M,EAAK,SAAW1M,GAC9C/C,EAAK+D,KAAM,SAAWhB,GAAQ0M,EAAK,SAAW1M,GAC9C0M,EAAK,SAAW1M,KAIXiE,IAAU9K,EAEhBS,EAAO82B,IAAKzzB,EAAMV,EAAMu1B,GAGxBl4B,EAAO+L,MAAO1I,EAAMV,EAAM0H,EAAO6tB,IAChCv1B,EAAM2I,EAAYkuB,EAASj6B,EAAW+L,EAAW,WAQvDtL,EAAOsB,GAAGooC,KAAO,WAChB,MAAOpmC,MAAKE,QAGbxD,EAAOsB,GAAGqoC,QAAU3pC,EAAOsB,GAAG6tB,QAGP,gBAAXya,SAAuBA,QAAoC,gBAAnBA,QAAOC,QAK1DD,OAAOC,QAAU7pC,GAGjBV,EAAOU,OAASV,EAAOY,EAAIF,EASJ,kBAAX8pC,SAAyBA,OAAOC,KAC3CD,OAAQ,YAAc,WAAc,MAAO9pC,QAIzCV"}
diff --git a/1.2.19/docs/components/lunr.js-0.4.2/lunr.js b/1.2.19/docs/components/lunr.js-0.4.2/lunr.js
new file mode 100644
index 0000000000..b7f9a3d1ce
--- /dev/null
+++ b/1.2.19/docs/components/lunr.js-0.4.2/lunr.js
@@ -0,0 +1,1756 @@
+/**
+ * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 0.4.3
+ * Copyright (C) 2013 Oliver Nightingale
+ * MIT Licensed
+ * @license
+ */
+
+/**
+ * Convenience function for instantiating a new lunr index and configuring it
+ * with the default pipeline functions and the passed config function.
+ *
+ * When using this convenience function a new index will be created with the
+ * following functions already in the pipeline:
+ *
+ * lunr.StopWordFilter - filters out any stop words before they enter the
+ * index
+ *
+ * lunr.stemmer - stems the tokens before entering the index.
+ *
+ * Example:
+ *
+ * var idx = lunr(function () {
+ * this.field('title', 10)
+ * this.field('tags', 100)
+ * this.field('body')
+ *
+ * this.ref('cid')
+ *
+ * this.pipeline.add(function () {
+ * // some custom pipeline function
+ * })
+ *
+ * })
+ *
+ * @param {Function} config A function that will be called with the new instance
+ * of the lunr.Index as both its context and first parameter. It can be used to
+ * customize the instance of new lunr.Index.
+ * @namespace
+ * @module
+ * @returns {lunr.Index}
+ *
+ */
+var lunr = function (config) {
+ var idx = new lunr.Index
+
+ idx.pipeline.add(lunr.stopWordFilter, lunr.stemmer)
+
+ if (config) config.call(idx, idx)
+
+ return idx
+}
+
+lunr.version = "0.4.3"
+
+if (typeof module !== 'undefined') {
+ module.exports = lunr
+}
+/*!
+ * lunr.utils
+ * Copyright (C) 2013 Oliver Nightingale
+ */
+
+/**
+ * A namespace containing utils for the rest of the lunr library
+ */
+lunr.utils = {}
+
+/**
+ * Print a warning message to the console.
+ *
+ * @param {String} message The message to be printed.
+ * @memberOf Utils
+ */
+lunr.utils.warn = (function (global) {
+ return function (message) {
+ if (global.console && console.warn) {
+ console.warn(message)
+ }
+ }
+})(this)
+
+/**
+ * Returns a zero filled array of the length specified.
+ *
+ * @param {Number} length The number of zeros required.
+ * @returns {Array}
+ * @memberOf Utils
+ */
+lunr.utils.zeroFillArray = (function () {
+ var zeros = [0]
+
+ return function (length) {
+ while (zeros.length < length) {
+ zeros = zeros.concat(zeros)
+ }
+
+ return zeros.slice(0, length)
+ }
+})()
+/*!
+ * lunr.EventEmitter
+ * Copyright (C) 2013 Oliver Nightingale
+ */
+
+/**
+ * lunr.EventEmitter is an event emitter for lunr. It manages adding and removing event handlers and triggering events and their handlers.
+ *
+ * @constructor
+ */
+lunr.EventEmitter = function () {
+ this.events = {}
+}
+
+/**
+ * Binds a handler function to a specific event(s).
+ *
+ * Can bind a single function to many different events in one call.
+ *
+ * @param {String} [eventName] The name(s) of events to bind this function to.
+ * @param {Function} handler The function to call when an event is fired.
+ * @memberOf EventEmitter
+ */
+lunr.EventEmitter.prototype.addListener = function () {
+ var args = Array.prototype.slice.call(arguments),
+ fn = args.pop(),
+ names = args
+
+ if (typeof fn !== "function") throw new TypeError ("last argument must be a function")
+
+ names.forEach(function (name) {
+ if (!this.hasHandler(name)) this.events[name] = []
+ this.events[name].push(fn)
+ }, this)
+}
+
+/**
+ * Removes a handler function from a specific event.
+ *
+ * @param {String} eventName The name of the event to remove this function from.
+ * @param {Function} handler The function to remove from an event.
+ * @memberOf EventEmitter
+ */
+lunr.EventEmitter.prototype.removeListener = function (name, fn) {
+ if (!this.hasHandler(name)) return
+
+ var fnIndex = this.events[name].indexOf(fn)
+ this.events[name].splice(fnIndex, 1)
+
+ if (!this.events[name].length) delete this.events[name]
+}
+
+/**
+ * Calls all functions bound to the given event.
+ *
+ * Additional data can be passed to the event handler as arguments to `emit`
+ * after the event name.
+ *
+ * @param {String} eventName The name of the event to emit.
+ * @memberOf EventEmitter
+ */
+lunr.EventEmitter.prototype.emit = function (name) {
+ if (!this.hasHandler(name)) return
+
+ var args = Array.prototype.slice.call(arguments, 1)
+
+ this.events[name].forEach(function (fn) {
+ fn.apply(undefined, args)
+ })
+}
+
+/**
+ * Checks whether a handler has ever been stored against an event.
+ *
+ * @param {String} eventName The name of the event to check.
+ * @private
+ * @memberOf EventEmitter
+ */
+lunr.EventEmitter.prototype.hasHandler = function (name) {
+ return name in this.events
+}
+
+/*!
+ * lunr.tokenizer
+ * Copyright (C) 2013 Oliver Nightingale
+ */
+
+/**
+ * A function for splitting a string into tokens ready to be inserted into
+ * the search index.
+ *
+ * @module
+ * @param {String} obj The string to convert into tokens
+ * @returns {Array}
+ */
+lunr.tokenizer = function (obj) {
+ if (!arguments.length || obj == null || obj == undefined) return []
+ if (Array.isArray(obj)) return obj.map(function (t) { return t.toLowerCase() })
+
+ var str = obj.toString().replace(/^\s+/, '')
+
+ for (var i = str.length - 1; i >= 0; i--) {
+ if (/\S/.test(str.charAt(i))) {
+ str = str.substring(0, i + 1)
+ break
+ }
+ }
+
+ return str
+ .split(/\s+/)
+ .map(function (token) {
+ return token.replace(/^\W+/, '').replace(/\W+$/, '').toLowerCase()
+ })
+}
+/*!
+ * lunr.Pipeline
+ * Copyright (C) 2013 Oliver Nightingale
+ */
+
+/**
+ * lunr.Pipelines maintain an ordered list of functions to be applied to all
+ * tokens in documents entering the search index and queries being ran against
+ * the index.
+ *
+ * An instance of lunr.Index created with the lunr shortcut will contain a
+ * pipeline with a stop word filter and an English language stemmer. Extra
+ * functions can be added before or after either of these functions or these
+ * default functions can be removed.
+ *
+ * When run the pipeline will call each function in turn, passing a token, the
+ * index of that token in the original list of all tokens and finally a list of
+ * all the original tokens.
+ *
+ * The output of functions in the pipeline will be passed to the next function
+ * in the pipeline. To exclude a token from entering the index the function
+ * should return undefined, the rest of the pipeline will not be called with
+ * this token.
+ *
+ * For serialisation of pipelines to work, all functions used in an instance of
+ * a pipeline should be registered with lunr.Pipeline. Registered functions can
+ * then be loaded. If trying to load a serialised pipeline that uses functions
+ * that are not registered an error will be thrown.
+ *
+ * If not planning on serialising the pipeline then registering pipeline functions
+ * is not necessary.
+ *
+ * @constructor
+ */
+lunr.Pipeline = function () {
+ this._stack = []
+}
+
+lunr.Pipeline.registeredFunctions = {}
+
+/**
+ * Register a function with the pipeline.
+ *
+ * Functions that are used in the pipeline should be registered if the pipeline
+ * needs to be serialised, or a serialised pipeline needs to be loaded.
+ *
+ * Registering a function does not add it to a pipeline, functions must still be
+ * added to instances of the pipeline for them to be used when running a pipeline.
+ *
+ * @param {Function} fn The function to check for.
+ * @param {String} label The label to register this function with
+ * @memberOf Pipeline
+ */
+lunr.Pipeline.registerFunction = function (fn, label) {
+ if (label in this.registeredFunctions) {
+ lunr.utils.warn('Overwriting existing registered function: ' + label)
+ }
+
+ fn.label = label
+ lunr.Pipeline.registeredFunctions[fn.label] = fn
+}
+
+/**
+ * Warns if the function is not registered as a Pipeline function.
+ *
+ * @param {Function} fn The function to check for.
+ * @private
+ * @memberOf Pipeline
+ */
+lunr.Pipeline.warnIfFunctionNotRegistered = function (fn) {
+ var isRegistered = fn.label && (fn.label in this.registeredFunctions)
+
+ if (!isRegistered) {
+ lunr.utils.warn('Function is not registered with pipeline. This may cause problems when serialising the index.\n', fn)
+ }
+}
+
+/**
+ * Loads a previously serialised pipeline.
+ *
+ * All functions to be loaded must already be registered with lunr.Pipeline.
+ * If any function from the serialised data has not been registered then an
+ * error will be thrown.
+ *
+ * @param {Object} serialised The serialised pipeline to load.
+ * @returns {lunr.Pipeline}
+ * @memberOf Pipeline
+ */
+lunr.Pipeline.load = function (serialised) {
+ var pipeline = new lunr.Pipeline
+
+ serialised.forEach(function (fnName) {
+ var fn = lunr.Pipeline.registeredFunctions[fnName]
+
+ if (fn) {
+ pipeline.add(fn)
+ } else {
+ throw new Error ('Cannot load un-registered function: ' + fnName)
+ }
+ })
+
+ return pipeline
+}
+
+/**
+ * Adds new functions to the end of the pipeline.
+ *
+ * Logs a warning if the function has not been registered.
+ *
+ * @param {Function} functions Any number of functions to add to the pipeline.
+ * @memberOf Pipeline
+ */
+lunr.Pipeline.prototype.add = function () {
+ var fns = Array.prototype.slice.call(arguments)
+
+ fns.forEach(function (fn) {
+ lunr.Pipeline.warnIfFunctionNotRegistered(fn)
+ this._stack.push(fn)
+ }, this)
+}
+
+/**
+ * Adds a single function after a function that already exists in the
+ * pipeline.
+ *
+ * Logs a warning if the function has not been registered.
+ *
+ * @param {Function} existingFn A function that already exists in the pipeline.
+ * @param {Function} newFn The new function to add to the pipeline.
+ * @memberOf Pipeline
+ */
+lunr.Pipeline.prototype.after = function (existingFn, newFn) {
+ lunr.Pipeline.warnIfFunctionNotRegistered(newFn)
+
+ var pos = this._stack.indexOf(existingFn) + 1
+ this._stack.splice(pos, 0, newFn)
+}
+
+/**
+ * Adds a single function before a function that already exists in the
+ * pipeline.
+ *
+ * Logs a warning if the function has not been registered.
+ *
+ * @param {Function} existingFn A function that already exists in the pipeline.
+ * @param {Function} newFn The new function to add to the pipeline.
+ * @memberOf Pipeline
+ */
+lunr.Pipeline.prototype.before = function (existingFn, newFn) {
+ lunr.Pipeline.warnIfFunctionNotRegistered(newFn)
+
+ var pos = this._stack.indexOf(existingFn)
+ this._stack.splice(pos, 0, newFn)
+}
+
+/**
+ * Removes a function from the pipeline.
+ *
+ * @param {Function} fn The function to remove from the pipeline.
+ * @memberOf Pipeline
+ */
+lunr.Pipeline.prototype.remove = function (fn) {
+ var pos = this._stack.indexOf(fn)
+ this._stack.splice(pos, 1)
+}
+
+/**
+ * Runs the current list of functions that make up the pipeline against the
+ * passed tokens.
+ *
+ * @param {Array} tokens The tokens to run through the pipeline.
+ * @returns {Array}
+ * @memberOf Pipeline
+ */
+lunr.Pipeline.prototype.run = function (tokens) {
+ var out = [],
+ tokenLength = tokens.length,
+ stackLength = this._stack.length
+
+ for (var i = 0; i < tokenLength; i++) {
+ var token = tokens[i]
+
+ for (var j = 0; j < stackLength; j++) {
+ token = this._stack[j](token, i, tokens)
+ if (token === void 0) break
+ };
+
+ if (token !== void 0) out.push(token)
+ };
+
+ return out
+}
+
+/**
+ * Returns a representation of the pipeline ready for serialisation.
+ *
+ * Logs a warning if the function has not been registered.
+ *
+ * @returns {Array}
+ * @memberOf Pipeline
+ */
+lunr.Pipeline.prototype.toJSON = function () {
+ return this._stack.map(function (fn) {
+ lunr.Pipeline.warnIfFunctionNotRegistered(fn)
+
+ return fn.label
+ })
+}
+/*!
+ * lunr.Vector
+ * Copyright (C) 2013 Oliver Nightingale
+ */
+
+/**
+ * lunr.Vectors wrap arrays and add vector related operations for the array
+ * elements.
+ *
+ * @constructor
+ * @param {Array} elements Elements that make up the vector.
+ */
+lunr.Vector = function (elements) {
+ this.elements = elements
+}
+
+/**
+ * Calculates the magnitude of this vector.
+ *
+ * @returns {Number}
+ * @memberOf Vector
+ */
+lunr.Vector.prototype.magnitude = function () {
+ if (this._magnitude) return this._magnitude
+
+ var sumOfSquares = 0,
+ elems = this.elements,
+ len = elems.length,
+ el
+
+ for (var i = 0; i < len; i++) {
+ el = elems[i]
+ sumOfSquares += el * el
+ };
+
+ return this._magnitude = Math.sqrt(sumOfSquares)
+}
+
+/**
+ * Calculates the dot product of this vector and another vector.
+ *
+ * @param {lunr.Vector} otherVector The vector to compute the dot product with.
+ * @returns {Number}
+ * @memberOf Vector
+ */
+lunr.Vector.prototype.dot = function (otherVector) {
+ var elem1 = this.elements,
+ elem2 = otherVector.elements,
+ length = elem1.length,
+ dotProduct = 0
+
+ for (var i = 0; i < length; i++) {
+ dotProduct += elem1[i] * elem2[i]
+ };
+
+ return dotProduct
+}
+
+/**
+ * Calculates the cosine similarity between this vector and another
+ * vector.
+ *
+ * @param {lunr.Vector} otherVector The other vector to calculate the
+ * similarity with.
+ * @returns {Number}
+ * @memberOf Vector
+ */
+lunr.Vector.prototype.similarity = function (otherVector) {
+ return this.dot(otherVector) / (this.magnitude() * otherVector.magnitude())
+}
+
+/**
+ * Converts this vector back into an array.
+ *
+ * @returns {Array}
+ * @memberOf Vector
+ */
+lunr.Vector.prototype.toArray = function () {
+ return this.elements
+}
+/*!
+ * lunr.SortedSet
+ * Copyright (C) 2013 Oliver Nightingale
+ */
+
+/**
+ * lunr.SortedSets are used to maintain an array of uniq values in a sorted
+ * order.
+ *
+ * @constructor
+ */
+lunr.SortedSet = function () {
+ this.length = 0
+ this.elements = []
+}
+
+/**
+ * Loads a previously serialised sorted set.
+ *
+ * @param {Array} serialisedData The serialised set to load.
+ * @returns {lunr.SortedSet}
+ * @memberOf SortedSet
+ */
+lunr.SortedSet.load = function (serialisedData) {
+ var set = new this
+
+ set.elements = serialisedData
+ set.length = serialisedData.length
+
+ return set
+}
+
+/**
+ * Inserts new items into the set in the correct position to maintain the
+ * order.
+ *
+ * @param {Object} The objects to add to this set.
+ * @memberOf SortedSet
+ */
+lunr.SortedSet.prototype.add = function () {
+ Array.prototype.slice.call(arguments).forEach(function (element) {
+ if (~this.indexOf(element)) return
+ this.elements.splice(this.locationFor(element), 0, element)
+ }, this)
+
+ this.length = this.elements.length
+}
+
+/**
+ * Converts this sorted set into an array.
+ *
+ * @returns {Array}
+ * @memberOf SortedSet
+ */
+lunr.SortedSet.prototype.toArray = function () {
+ return this.elements.slice()
+}
+
+/**
+ * Creates a new array with the results of calling a provided function on every
+ * element in this sorted set.
+ *
+ * Delegates to Array.prototype.map and has the same signature.
+ *
+ * @param {Function} fn The function that is called on each element of the
+ * set.
+ * @param {Object} ctx An optional object that can be used as the context
+ * for the function fn.
+ * @returns {Array}
+ * @memberOf SortedSet
+ */
+lunr.SortedSet.prototype.map = function (fn, ctx) {
+ return this.elements.map(fn, ctx)
+}
+
+/**
+ * Executes a provided function once per sorted set element.
+ *
+ * Delegates to Array.prototype.forEach and has the same signature.
+ *
+ * @param {Function} fn The function that is called on each element of the
+ * set.
+ * @param {Object} ctx An optional object that can be used as the context
+ * @memberOf SortedSet
+ * for the function fn.
+ */
+lunr.SortedSet.prototype.forEach = function (fn, ctx) {
+ return this.elements.forEach(fn, ctx)
+}
+
+/**
+ * Returns the index at which a given element can be found in the
+ * sorted set, or -1 if it is not present.
+ *
+ * @param {Object} elem The object to locate in the sorted set.
+ * @param {Number} start An optional index at which to start searching from
+ * within the set.
+ * @param {Number} end An optional index at which to stop search from within
+ * the set.
+ * @returns {Number}
+ * @memberOf SortedSet
+ */
+lunr.SortedSet.prototype.indexOf = function (elem, start, end) {
+ var start = start || 0,
+ end = end || this.elements.length,
+ sectionLength = end - start,
+ pivot = start + Math.floor(sectionLength / 2),
+ pivotElem = this.elements[pivot]
+
+ if (sectionLength <= 1) {
+ if (pivotElem === elem) {
+ return pivot
+ } else {
+ return -1
+ }
+ }
+
+ if (pivotElem < elem) return this.indexOf(elem, pivot, end)
+ if (pivotElem > elem) return this.indexOf(elem, start, pivot)
+ if (pivotElem === elem) return pivot
+}
+
+/**
+ * Returns the position within the sorted set that an element should be
+ * inserted at to maintain the current order of the set.
+ *
+ * This function assumes that the element to search for does not already exist
+ * in the sorted set.
+ *
+ * @param {Object} elem The elem to find the position for in the set
+ * @param {Number} start An optional index at which to start searching from
+ * within the set.
+ * @param {Number} end An optional index at which to stop search from within
+ * the set.
+ * @returns {Number}
+ * @memberOf SortedSet
+ */
+lunr.SortedSet.prototype.locationFor = function (elem, start, end) {
+ var start = start || 0,
+ end = end || this.elements.length,
+ sectionLength = end - start,
+ pivot = start + Math.floor(sectionLength / 2),
+ pivotElem = this.elements[pivot]
+
+ if (sectionLength <= 1) {
+ if (pivotElem > elem) return pivot
+ if (pivotElem < elem) return pivot + 1
+ }
+
+ if (pivotElem < elem) return this.locationFor(elem, pivot, end)
+ if (pivotElem > elem) return this.locationFor(elem, start, pivot)
+}
+
+/**
+ * Creates a new lunr.SortedSet that contains the elements in the intersection
+ * of this set and the passed set.
+ *
+ * @param {lunr.SortedSet} otherSet The set to intersect with this set.
+ * @returns {lunr.SortedSet}
+ * @memberOf SortedSet
+ */
+lunr.SortedSet.prototype.intersect = function (otherSet) {
+ var intersectSet = new lunr.SortedSet,
+ i = 0, j = 0,
+ a_len = this.length, b_len = otherSet.length,
+ a = this.elements, b = otherSet.elements
+
+ while (true) {
+ if (i > a_len - 1 || j > b_len - 1) break
+
+ if (a[i] === b[j]) {
+ intersectSet.add(a[i])
+ i++, j++
+ continue
+ }
+
+ if (a[i] < b[j]) {
+ i++
+ continue
+ }
+
+ if (a[i] > b[j]) {
+ j++
+ continue
+ }
+ };
+
+ return intersectSet
+}
+
+/**
+ * Makes a copy of this set
+ *
+ * @returns {lunr.SortedSet}
+ * @memberOf SortedSet
+ */
+lunr.SortedSet.prototype.clone = function () {
+ var clone = new lunr.SortedSet
+
+ clone.elements = this.toArray()
+ clone.length = clone.elements.length
+
+ return clone
+}
+
+/**
+ * Creates a new lunr.SortedSet that contains the elements in the union
+ * of this set and the passed set.
+ *
+ * @param {lunr.SortedSet} otherSet The set to union with this set.
+ * @returns {lunr.SortedSet}
+ * @memberOf SortedSet
+ */
+lunr.SortedSet.prototype.union = function (otherSet) {
+ var longSet, shortSet, unionSet
+
+ if (this.length >= otherSet.length) {
+ longSet = this, shortSet = otherSet
+ } else {
+ longSet = otherSet, shortSet = this
+ }
+
+ unionSet = longSet.clone()
+
+ unionSet.add.apply(unionSet, shortSet.toArray())
+
+ return unionSet
+}
+
+/**
+ * Returns a representation of the sorted set ready for serialisation.
+ *
+ * @returns {Array}
+ * @memberOf SortedSet
+ */
+lunr.SortedSet.prototype.toJSON = function () {
+ return this.toArray()
+}
+/*!
+ * lunr.Index
+ * Copyright (C) 2013 Oliver Nightingale
+ */
+
+/**
+ * lunr.Index is object that manages a search index. It contains the indexes
+ * and stores all the tokens and document lookups. It also provides the main
+ * user facing API for the library.
+ *
+ * @constructor
+ */
+lunr.Index = function () {
+ this._fields = []
+ this._ref = 'id'
+ this.pipeline = new lunr.Pipeline
+ this.documentStore = new lunr.Store
+ this.tokenStore = new lunr.TokenStore
+ this.corpusTokens = new lunr.SortedSet
+ this.eventEmitter = new lunr.EventEmitter
+
+ this._idfCache = {}
+
+ this.on('add', 'remove', 'update', (function () {
+ this._idfCache = {}
+ }).bind(this))
+}
+
+/**
+ * Bind a handler to events being emitted by the index.
+ *
+ * The handler can be bound to many events at the same time.
+ *
+ * @param {String} [eventName] The name(s) of events to bind the function to.
+ * @param {Function} handler The serialised set to load.
+ * @memberOf Index
+ */
+lunr.Index.prototype.on = function () {
+ var args = Array.prototype.slice.call(arguments)
+ return this.eventEmitter.addListener.apply(this.eventEmitter, args)
+}
+
+/**
+ * Removes a handler from an event being emitted by the index.
+ *
+ * @param {String} eventName The name of events to remove the function from.
+ * @param {Function} handler The serialised set to load.
+ * @memberOf Index
+ */
+lunr.Index.prototype.off = function (name, fn) {
+ return this.eventEmitter.removeListener(name, fn)
+}
+
+/**
+ * Loads a previously serialised index.
+ *
+ * Issues a warning if the index being imported was serialised
+ * by a different version of lunr.
+ *
+ * @param {Object} serialisedData The serialised set to load.
+ * @returns {lunr.Index}
+ * @memberOf Index
+ */
+lunr.Index.load = function (serialisedData) {
+ if (serialisedData.version !== lunr.version) {
+ lunr.utils.warn('version mismatch: current ' + lunr.version + ' importing ' + serialisedData.version)
+ }
+
+ var idx = new this
+
+ idx._fields = serialisedData.fields
+ idx._ref = serialisedData.ref
+
+ idx.documentStore = lunr.Store.load(serialisedData.documentStore)
+ idx.tokenStore = lunr.TokenStore.load(serialisedData.tokenStore)
+ idx.corpusTokens = lunr.SortedSet.load(serialisedData.corpusTokens)
+ idx.pipeline = lunr.Pipeline.load(serialisedData.pipeline)
+
+ return idx
+}
+
+/**
+ * Adds a field to the list of fields that will be searchable within documents
+ * in the index.
+ *
+ * An optional boost param can be passed to affect how much tokens in this field
+ * rank in search results, by default the boost value is 1.
+ *
+ * Fields should be added before any documents are added to the index, fields
+ * that are added after documents are added to the index will only apply to new
+ * documents added to the index.
+ *
+ * @param {String} fieldName The name of the field within the document that
+ * should be indexed
+ * @param {Number} boost An optional boost that can be applied to terms in this
+ * field.
+ * @returns {lunr.Index}
+ * @memberOf Index
+ */
+lunr.Index.prototype.field = function (fieldName, opts) {
+ var opts = opts || {},
+ field = { name: fieldName, boost: opts.boost || 1 }
+
+ this._fields.push(field)
+ return this
+}
+
+/**
+ * Sets the property used to uniquely identify documents added to the index,
+ * by default this property is 'id'.
+ *
+ * This should only be changed before adding documents to the index, changing
+ * the ref property without resetting the index can lead to unexpected results.
+ *
+ * @param {String} refName The property to use to uniquely identify the
+ * documents in the index.
+ * @param {Boolean} emitEvent Whether to emit add events, defaults to true
+ * @returns {lunr.Index}
+ * @memberOf Index
+ */
+lunr.Index.prototype.ref = function (refName) {
+ this._ref = refName
+ return this
+}
+
+/**
+ * Add a document to the index.
+ *
+ * This is the way new documents enter the index, this function will run the
+ * fields from the document through the index's pipeline and then add it to
+ * the index, it will then show up in search results.
+ *
+ * An 'add' event is emitted with the document that has been added and the index
+ * the document has been added to. This event can be silenced by passing false
+ * as the second argument to add.
+ *
+ * @param {Object} doc The document to add to the index.
+ * @param {Boolean} emitEvent Whether or not to emit events, default true.
+ * @memberOf Index
+ */
+lunr.Index.prototype.add = function (doc, emitEvent) {
+ var docTokens = {},
+ allDocumentTokens = new lunr.SortedSet,
+ docRef = doc[this._ref],
+ emitEvent = emitEvent === undefined ? true : emitEvent
+
+ this._fields.forEach(function (field) {
+ var fieldTokens = this.pipeline.run(lunr.tokenizer(doc[field.name]))
+
+ docTokens[field.name] = fieldTokens
+ lunr.SortedSet.prototype.add.apply(allDocumentTokens, fieldTokens)
+ }, this)
+
+ this.documentStore.set(docRef, allDocumentTokens)
+ lunr.SortedSet.prototype.add.apply(this.corpusTokens, allDocumentTokens.toArray())
+
+ for (var i = 0; i < allDocumentTokens.length; i++) {
+ var token = allDocumentTokens.elements[i]
+ var tf = this._fields.reduce(function (memo, field) {
+ var fieldLength = docTokens[field.name].length
+
+ if (!fieldLength) return memo
+
+ var tokenCount = docTokens[field.name].filter(function (t) { return t === token }).length
+
+ return memo + (tokenCount / fieldLength * field.boost)
+ }, 0)
+
+ this.tokenStore.add(token, { ref: docRef, tf: tf })
+ };
+
+ if (emitEvent) this.eventEmitter.emit('add', doc, this)
+}
+
+/**
+ * Removes a document from the index.
+ *
+ * To make sure documents no longer show up in search results they can be
+ * removed from the index using this method.
+ *
+ * The document passed only needs to have the same ref property value as the
+ * document that was added to the index, they could be completely different
+ * objects.
+ *
+ * A 'remove' event is emitted with the document that has been removed and the index
+ * the document has been removed from. This event can be silenced by passing false
+ * as the second argument to remove.
+ *
+ * @param {Object} doc The document to remove from the index.
+ * @param {Boolean} emitEvent Whether to emit remove events, defaults to true
+ * @memberOf Index
+ */
+lunr.Index.prototype.remove = function (doc, emitEvent) {
+ var docRef = doc[this._ref],
+ emitEvent = emitEvent === undefined ? true : emitEvent
+
+ if (!this.documentStore.has(docRef)) return
+
+ var docTokens = this.documentStore.get(docRef)
+
+ this.documentStore.remove(docRef)
+
+ docTokens.forEach(function (token) {
+ this.tokenStore.remove(token, docRef)
+ }, this)
+
+ if (emitEvent) this.eventEmitter.emit('remove', doc, this)
+}
+
+/**
+ * Updates a document in the index.
+ *
+ * When a document contained within the index gets updated, fields changed,
+ * added or removed, to make sure it correctly matched against search queries,
+ * it should be updated in the index.
+ *
+ * This method is just a wrapper around `remove` and `add`
+ *
+ * An 'update' event is emitted with the document that has been updated and the index.
+ * This event can be silenced by passing false as the second argument to update. Only
+ * an update event will be fired, the 'add' and 'remove' events of the underlying calls
+ * are silenced.
+ *
+ * @param {Object} doc The document to update in the index.
+ * @param {Boolean} emitEvent Whether to emit update events, defaults to true
+ * @see Index.prototype.remove
+ * @see Index.prototype.add
+ * @memberOf Index
+ */
+lunr.Index.prototype.update = function (doc, emitEvent) {
+ var emitEvent = emitEvent === undefined ? true : emitEvent
+
+ this.remove(doc, false)
+ this.add(doc, false)
+
+ if (emitEvent) this.eventEmitter.emit('update', doc, this)
+}
+
+/**
+ * Calculates the inverse document frequency for a token within the index.
+ *
+ * @param {String} token The token to calculate the idf of.
+ * @see Index.prototype.idf
+ * @private
+ * @memberOf Index
+ */
+lunr.Index.prototype.idf = function (term) {
+ if (this._idfCache[term]) return this._idfCache[term]
+
+ var documentFrequency = this.tokenStore.count(term),
+ idf = 1
+
+ if (documentFrequency > 0) {
+ idf = 1 + Math.log(this.tokenStore.length / documentFrequency)
+ }
+
+ return this._idfCache[term] = idf
+}
+
+/**
+ * Searches the index using the passed query.
+ *
+ * Queries should be a string, multiple words are allowed and will lead to an
+ * AND based query, e.g. `idx.search('foo bar')` will run a search for
+ * documents containing both 'foo' and 'bar'.
+ *
+ * All query tokens are passed through the same pipeline that document tokens
+ * are passed through, so any language processing involved will be run on every
+ * query term.
+ *
+ * Each query term is expanded, so that the term 'he' might be expanded to
+ * 'hello' and 'help' if those terms were already included in the index.
+ *
+ * Matching documents are returned as an array of objects, each object contains
+ * the matching document ref, as set for this index, and the similarity score
+ * for this document against the query.
+ *
+ * @param {String} query The query to search the index with.
+ * @returns {Object}
+ * @see Index.prototype.idf
+ * @see Index.prototype.documentVector
+ * @memberOf Index
+ */
+lunr.Index.prototype.search = function (query) {
+ var queryTokens = this.pipeline.run(lunr.tokenizer(query)),
+ queryArr = lunr.utils.zeroFillArray(this.corpusTokens.length),
+ documentSets = [],
+ fieldBoosts = this._fields.reduce(function (memo, f) { return memo + f.boost }, 0)
+
+ var hasSomeToken = queryTokens.some(function (token) {
+ return this.tokenStore.has(token)
+ }, this)
+
+ if (!hasSomeToken) return []
+
+ queryTokens
+ .forEach(function (token, i, tokens) {
+ var tf = 1 / tokens.length * this._fields.length * fieldBoosts,
+ self = this
+
+ var set = this.tokenStore.expand(token).reduce(function (memo, key) {
+ var pos = self.corpusTokens.indexOf(key),
+ idf = self.idf(key),
+ similarityBoost = 1,
+ set = new lunr.SortedSet
+
+ // if the expanded key is not an exact match to the token then
+ // penalise the score for this key by how different the key is
+ // to the token.
+ if (key !== token) {
+ var diff = Math.max(3, key.length - token.length)
+ similarityBoost = 1 / Math.log(diff)
+ }
+
+ // calculate the query tf-idf score for this token
+ // applying an similarityBoost to ensure exact matches
+ // these rank higher than expanded terms
+ if (pos > -1) queryArr[pos] = tf * idf * similarityBoost
+
+ // add all the documents that have this key into a set
+ Object.keys(self.tokenStore.get(key)).forEach(function (ref) { set.add(ref) })
+
+ return memo.union(set)
+ }, new lunr.SortedSet)
+
+ documentSets.push(set)
+ }, this)
+
+ var documentSet = documentSets.reduce(function (memo, set) {
+ return memo.intersect(set)
+ })
+
+ var queryVector = new lunr.Vector (queryArr)
+
+ return documentSet
+ .map(function (ref) {
+ return { ref: ref, score: queryVector.similarity(this.documentVector(ref)) }
+ }, this)
+ .sort(function (a, b) {
+ return b.score - a.score
+ })
+}
+
+/**
+ * Generates a vector containing all the tokens in the document matching the
+ * passed documentRef.
+ *
+ * The vector contains the tf-idf score for each token contained in the
+ * document with the passed documentRef. The vector will contain an element
+ * for every token in the indexes corpus, if the document does not contain that
+ * token the element will be 0.
+ *
+ * @param {Object} documentRef The ref to find the document with.
+ * @returns {lunr.Vector}
+ * @private
+ * @memberOf Index
+ */
+lunr.Index.prototype.documentVector = function (documentRef) {
+ var documentTokens = this.documentStore.get(documentRef),
+ documentTokensLength = documentTokens.length,
+ documentArr = lunr.utils.zeroFillArray(this.corpusTokens.length)
+
+ for (var i = 0; i < documentTokensLength; i++) {
+ var token = documentTokens.elements[i],
+ tf = this.tokenStore.get(token)[documentRef].tf,
+ idf = this.idf(token)
+
+ documentArr[this.corpusTokens.indexOf(token)] = tf * idf
+ };
+
+ return new lunr.Vector (documentArr)
+}
+
+/**
+ * Returns a representation of the index ready for serialisation.
+ *
+ * @returns {Object}
+ * @memberOf Index
+ */
+lunr.Index.prototype.toJSON = function () {
+ return {
+ version: lunr.version,
+ fields: this._fields,
+ ref: this._ref,
+ documentStore: this.documentStore.toJSON(),
+ tokenStore: this.tokenStore.toJSON(),
+ corpusTokens: this.corpusTokens.toJSON(),
+ pipeline: this.pipeline.toJSON()
+ }
+}
+/*!
+ * lunr.Store
+ * Copyright (C) 2013 Oliver Nightingale
+ */
+
+/**
+ * lunr.Store is a simple key-value store used for storing sets of tokens for
+ * documents stored in index.
+ *
+ * @constructor
+ * @module
+ */
+lunr.Store = function () {
+ this.store = {}
+ this.length = 0
+}
+
+/**
+ * Loads a previously serialised store
+ *
+ * @param {Object} serialisedData The serialised store to load.
+ * @returns {lunr.Store}
+ * @memberOf Store
+ */
+lunr.Store.load = function (serialisedData) {
+ var store = new this
+
+ store.length = serialisedData.length
+ store.store = Object.keys(serialisedData.store).reduce(function (memo, key) {
+ memo[key] = lunr.SortedSet.load(serialisedData.store[key])
+ return memo
+ }, {})
+
+ return store
+}
+
+/**
+ * Stores the given tokens in the store against the given id.
+ *
+ * @param {Object} id The key used to store the tokens against.
+ * @param {Object} tokens The tokens to store against the key.
+ * @memberOf Store
+ */
+lunr.Store.prototype.set = function (id, tokens) {
+ this.store[id] = tokens
+ this.length = Object.keys(this.store).length
+}
+
+/**
+ * Retrieves the tokens from the store for a given key.
+ *
+ * @param {Object} id The key to lookup and retrieve from the store.
+ * @returns {Object}
+ * @memberOf Store
+ */
+lunr.Store.prototype.get = function (id) {
+ return this.store[id]
+}
+
+/**
+ * Checks whether the store contains a key.
+ *
+ * @param {Object} id The id to look up in the store.
+ * @returns {Boolean}
+ * @memberOf Store
+ */
+lunr.Store.prototype.has = function (id) {
+ return id in this.store
+}
+
+/**
+ * Removes the value for a key in the store.
+ *
+ * @param {Object} id The id to remove from the store.
+ * @memberOf Store
+ */
+lunr.Store.prototype.remove = function (id) {
+ if (!this.has(id)) return
+
+ delete this.store[id]
+ this.length--
+}
+
+/**
+ * Returns a representation of the store ready for serialisation.
+ *
+ * @returns {Object}
+ * @memberOf Store
+ */
+lunr.Store.prototype.toJSON = function () {
+ return {
+ store: this.store,
+ length: this.length
+ }
+}
+
+/*!
+ * lunr.stemmer
+ * Copyright (C) 2013 Oliver Nightingale
+ * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt
+ */
+
+/**
+ * lunr.stemmer is an english language stemmer, this is a JavaScript
+ * implementation of the PorterStemmer taken from http://tartaurs.org/~martin
+ *
+ * @module
+ * @param {String} str The string to stem
+ * @returns {String}
+ * @see lunr.Pipeline
+ */
+lunr.stemmer = (function(){
+ var step2list = {
+ "ational" : "ate",
+ "tional" : "tion",
+ "enci" : "ence",
+ "anci" : "ance",
+ "izer" : "ize",
+ "bli" : "ble",
+ "alli" : "al",
+ "entli" : "ent",
+ "eli" : "e",
+ "ousli" : "ous",
+ "ization" : "ize",
+ "ation" : "ate",
+ "ator" : "ate",
+ "alism" : "al",
+ "iveness" : "ive",
+ "fulness" : "ful",
+ "ousness" : "ous",
+ "aliti" : "al",
+ "iviti" : "ive",
+ "biliti" : "ble",
+ "logi" : "log"
+ },
+
+ step3list = {
+ "icate" : "ic",
+ "ative" : "",
+ "alize" : "al",
+ "iciti" : "ic",
+ "ical" : "ic",
+ "ful" : "",
+ "ness" : ""
+ },
+
+ c = "[^aeiou]", // consonant
+ v = "[aeiouy]", // vowel
+ C = c + "[^aeiouy]*", // consonant sequence
+ V = v + "[aeiou]*", // vowel sequence
+
+ mgr0 = "^(" + C + ")?" + V + C, // [C]VC... is m>0
+ meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$", // [C]VC[V] is m=1
+ mgr1 = "^(" + C + ")?" + V + C + V + C, // [C]VCVC... is m>1
+ s_v = "^(" + C + ")?" + v; // vowel in stem
+
+ return function (w) {
+ var stem,
+ suffix,
+ firstch,
+ re,
+ re2,
+ re3,
+ re4;
+
+ if (w.length < 3) { return w; }
+
+ firstch = w.substr(0,1);
+ if (firstch == "y") {
+ w = firstch.toUpperCase() + w.substr(1);
+ }
+
+ // Step 1a
+ re = /^(.+?)(ss|i)es$/;
+ re2 = /^(.+?)([^s])s$/;
+
+ if (re.test(w)) { w = w.replace(re,"$1$2"); }
+ else if (re2.test(w)) { w = w.replace(re2,"$1$2"); }
+
+ // Step 1b
+ re = /^(.+?)eed$/;
+ re2 = /^(.+?)(ed|ing)$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ re = new RegExp(mgr0);
+ if (re.test(fp[1])) {
+ re = /.$/;
+ w = w.replace(re,"");
+ }
+ } else if (re2.test(w)) {
+ var fp = re2.exec(w);
+ stem = fp[1];
+ re2 = new RegExp(s_v);
+ if (re2.test(stem)) {
+ w = stem;
+ re2 = /(at|bl|iz)$/;
+ re3 = new RegExp("([^aeiouylsz])\\1$");
+ re4 = new RegExp("^" + C + v + "[^aeiouwxy]$");
+ if (re2.test(w)) { w = w + "e"; }
+ else if (re3.test(w)) { re = /.$/; w = w.replace(re,""); }
+ else if (re4.test(w)) { w = w + "e"; }
+ }
+ }
+
+ // Step 1c
+ re = /^(.+?)y$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ re = new RegExp(s_v);
+ if (re.test(stem)) { w = stem + "i"; }
+ }
+
+ // Step 2
+ re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ suffix = fp[2];
+ re = new RegExp(mgr0);
+ if (re.test(stem)) {
+ w = stem + step2list[suffix];
+ }
+ }
+
+ // Step 3
+ re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ suffix = fp[2];
+ re = new RegExp(mgr0);
+ if (re.test(stem)) {
+ w = stem + step3list[suffix];
+ }
+ }
+
+ // Step 4
+ re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/;
+ re2 = /^(.+?)(s|t)(ion)$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ re = new RegExp(mgr1);
+ if (re.test(stem)) {
+ w = stem;
+ }
+ } else if (re2.test(w)) {
+ var fp = re2.exec(w);
+ stem = fp[1] + fp[2];
+ re2 = new RegExp(mgr1);
+ if (re2.test(stem)) {
+ w = stem;
+ }
+ }
+
+ // Step 5
+ re = /^(.+?)e$/;
+ if (re.test(w)) {
+ var fp = re.exec(w);
+ stem = fp[1];
+ re = new RegExp(mgr1);
+ re2 = new RegExp(meq1);
+ re3 = new RegExp("^" + C + v + "[^aeiouwxy]$");
+ if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) {
+ w = stem;
+ }
+ }
+
+ re = /ll$/;
+ re2 = new RegExp(mgr1);
+ if (re.test(w) && re2.test(w)) {
+ re = /.$/;
+ w = w.replace(re,"");
+ }
+
+ // and turn initial Y back to y
+
+ if (firstch == "y") {
+ w = firstch.toLowerCase() + w.substr(1);
+ }
+
+ return w;
+ }
+})();
+
+lunr.Pipeline.registerFunction(lunr.stemmer, 'stemmer')
+/*!
+ * lunr.stopWordFilter
+ * Copyright (C) 2013 Oliver Nightingale
+ */
+
+/**
+ * lunr.stopWordFilter is an English language stop word list filter, any words
+ * contained in the list will not be passed through the filter.
+ *
+ * This is intended to be used in the Pipeline. If the token does not pass the
+ * filter then undefined will be returned.
+ *
+ * @module
+ * @param {String} token The token to pass through the filter
+ * @returns {String}
+ * @see lunr.Pipeline
+ */
+lunr.stopWordFilter = function (token) {
+ if (lunr.stopWordFilter.stopWords.indexOf(token) === -1) return token
+}
+
+lunr.stopWordFilter.stopWords = new lunr.SortedSet
+lunr.stopWordFilter.stopWords.length = 119
+lunr.stopWordFilter.stopWords.elements = [
+ "",
+ "a",
+ "able",
+ "about",
+ "across",
+ "after",
+ "all",
+ "almost",
+ "also",
+ "am",
+ "among",
+ "an",
+ "and",
+ "any",
+ "are",
+ "as",
+ "at",
+ "be",
+ "because",
+ "been",
+ "but",
+ "by",
+ "can",
+ "cannot",
+ "could",
+ "dear",
+ "did",
+ "do",
+ "does",
+ "either",
+ "else",
+ "ever",
+ "every",
+ "for",
+ "from",
+ "get",
+ "got",
+ "had",
+ "has",
+ "have",
+ "he",
+ "her",
+ "hers",
+ "him",
+ "his",
+ "how",
+ "however",
+ "i",
+ "if",
+ "in",
+ "into",
+ "is",
+ "it",
+ "its",
+ "just",
+ "least",
+ "let",
+ "like",
+ "likely",
+ "may",
+ "me",
+ "might",
+ "most",
+ "must",
+ "my",
+ "neither",
+ "no",
+ "nor",
+ "not",
+ "of",
+ "off",
+ "often",
+ "on",
+ "only",
+ "or",
+ "other",
+ "our",
+ "own",
+ "rather",
+ "said",
+ "say",
+ "says",
+ "she",
+ "should",
+ "since",
+ "so",
+ "some",
+ "than",
+ "that",
+ "the",
+ "their",
+ "them",
+ "then",
+ "there",
+ "these",
+ "they",
+ "this",
+ "tis",
+ "to",
+ "too",
+ "twas",
+ "us",
+ "wants",
+ "was",
+ "we",
+ "were",
+ "what",
+ "when",
+ "where",
+ "which",
+ "while",
+ "who",
+ "whom",
+ "why",
+ "will",
+ "with",
+ "would",
+ "yet",
+ "you",
+ "your"
+]
+
+lunr.Pipeline.registerFunction(lunr.stopWordFilter, 'stopWordFilter')
+/*!
+ * lunr.stemmer
+ * Copyright (C) 2013 Oliver Nightingale
+ * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt
+ */
+
+/**
+ * lunr.TokenStore is used for efficient storing and lookup of the reverse
+ * index of token to document ref.
+ *
+ * @constructor
+ */
+lunr.TokenStore = function () {
+ this.root = { docs: {} }
+ this.length = 0
+}
+
+/**
+ * Loads a previously serialised token store
+ *
+ * @param {Object} serialisedData The serialised token store to load.
+ * @returns {lunr.TokenStore}
+ * @memberOf TokenStore
+ */
+lunr.TokenStore.load = function (serialisedData) {
+ var store = new this
+
+ store.root = serialisedData.root
+ store.length = serialisedData.length
+
+ return store
+}
+
+/**
+ * Adds a new token doc pair to the store.
+ *
+ * By default this function starts at the root of the current store, however
+ * it can start at any node of any token store if required.
+ *
+ * @param {String} token The token to store the doc under
+ * @param {Object} doc The doc to store against the token
+ * @param {Object} root An optional node at which to start looking for the
+ * correct place to enter the doc, by default the root of this lunr.TokenStore
+ * is used.
+ * @memberOf TokenStore
+ */
+lunr.TokenStore.prototype.add = function (token, doc, root) {
+ var root = root || this.root,
+ key = token[0],
+ rest = token.slice(1)
+
+ if (!(key in root)) root[key] = {docs: {}}
+
+ if (rest.length === 0) {
+ root[key].docs[doc.ref] = doc
+ this.length += 1
+ return
+ } else {
+ return this.add(rest, doc, root[key])
+ }
+}
+
+/**
+ * Checks whether this key is contained within this lunr.TokenStore.
+ *
+ * By default this function starts at the root of the current store, however
+ * it can start at any node of any token store if required.
+ *
+ * @param {String} token The token to check for
+ * @param {Object} root An optional node at which to start
+ * @memberOf TokenStore
+ */
+lunr.TokenStore.prototype.has = function (token) {
+ if (!token) return false
+
+ var node = this.root
+
+ for (var i = 0; i < token.length; i++) {
+ if (!node[token[i]]) return false
+
+ node = node[token[i]]
+ }
+
+ return true
+}
+
+/**
+ * Retrieve a node from the token store for a given token.
+ *
+ * By default this function starts at the root of the current store, however
+ * it can start at any node of any token store if required.
+ *
+ * @param {String} token The token to get the node for.
+ * @param {Object} root An optional node at which to start.
+ * @returns {Object}
+ * @see TokenStore.prototype.get
+ * @memberOf TokenStore
+ */
+lunr.TokenStore.prototype.getNode = function (token) {
+ if (!token) return {}
+
+ var node = this.root
+
+ for (var i = 0; i < token.length; i++) {
+ if (!node[token[i]]) return {}
+
+ node = node[token[i]]
+ }
+
+ return node
+}
+
+/**
+ * Retrieve the documents for a node for the given token.
+ *
+ * By default this function starts at the root of the current store, however
+ * it can start at any node of any token store if required.
+ *
+ * @param {String} token The token to get the documents for.
+ * @param {Object} root An optional node at which to start.
+ * @returns {Object}
+ * @memberOf TokenStore
+ */
+lunr.TokenStore.prototype.get = function (token, root) {
+ return this.getNode(token, root).docs || {}
+}
+
+lunr.TokenStore.prototype.count = function (token, root) {
+ return Object.keys(this.get(token, root)).length
+}
+
+/**
+ * Remove the document identified by ref from the token in the store.
+ *
+ * By default this function starts at the root of the current store, however
+ * it can start at any node of any token store if required.
+ *
+ * @param {String} token The token to get the documents for.
+ * @param {String} ref The ref of the document to remove from this token.
+ * @param {Object} root An optional node at which to start.
+ * @returns {Object}
+ * @memberOf TokenStore
+ */
+lunr.TokenStore.prototype.remove = function (token, ref) {
+ if (!token) return
+ var node = this.root
+
+ for (var i = 0; i < token.length; i++) {
+ if (!(token[i] in node)) return
+ node = node[token[i]]
+ }
+
+ delete node.docs[ref]
+}
+
+/**
+ * Find all the possible suffixes of the passed token using tokens
+ * currently in the store.
+ *
+ * @param {String} token The token to expand.
+ * @returns {Array}
+ * @memberOf TokenStore
+ */
+lunr.TokenStore.prototype.expand = function (token, memo) {
+ var root = this.getNode(token),
+ docs = root.docs || {},
+ memo = memo || []
+
+ if (Object.keys(docs).length) memo.push(token)
+
+ Object.keys(root)
+ .forEach(function (key) {
+ if (key === 'docs') return
+
+ memo.concat(this.expand(token + key, memo))
+ }, this)
+
+ return memo
+}
+
+/**
+ * Returns a representation of the token store ready for serialisation.
+ *
+ * @returns {Object}
+ * @memberOf TokenStore
+ */
+lunr.TokenStore.prototype.toJSON = function () {
+ return {
+ root: this.root,
+ length: this.length
+ }
+}
+
diff --git a/1.2.19/docs/components/lunr.js-0.4.2/lunr.min.js b/1.2.19/docs/components/lunr.js-0.4.2/lunr.min.js
new file mode 100644
index 0000000000..084e5a7d5d
--- /dev/null
+++ b/1.2.19/docs/components/lunr.js-0.4.2/lunr.min.js
@@ -0,0 +1,7 @@
+/**
+ * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 0.4.3
+ * Copyright (C) 2013 Oliver Nightingale
+ * MIT Licensed
+ * @license
+ */
+var lunr=function(t){var e=new lunr.Index;return e.pipeline.add(lunr.stopWordFilter,lunr.stemmer),t&&t.call(e,e),e};lunr.version="0.4.3","undefined"!=typeof module&&(module.exports=lunr),lunr.utils={},lunr.utils.warn=function(t){return function(e){t.console&&console.warn&&console.warn(e)}}(this),lunr.utils.zeroFillArray=function(){var t=[0];return function(e){for(;e>t.length;)t=t.concat(t);return t.slice(0,e)}}(),lunr.EventEmitter=function(){this.events={}},lunr.EventEmitter.prototype.addListener=function(){var t=Array.prototype.slice.call(arguments),e=t.pop(),n=t;if("function"!=typeof e)throw new TypeError("last argument must be a function");n.forEach(function(t){this.hasHandler(t)||(this.events[t]=[]),this.events[t].push(e)},this)},lunr.EventEmitter.prototype.removeListener=function(t,e){if(this.hasHandler(t)){var n=this.events[t].indexOf(e);this.events[t].splice(n,1),this.events[t].length||delete this.events[t]}},lunr.EventEmitter.prototype.emit=function(t){if(this.hasHandler(t)){var e=Array.prototype.slice.call(arguments,1);this.events[t].forEach(function(t){t.apply(void 0,e)})}},lunr.EventEmitter.prototype.hasHandler=function(t){return t in this.events},lunr.tokenizer=function(t){if(!arguments.length||null==t||void 0==t)return[];if(Array.isArray(t))return t.map(function(t){return t.toLowerCase()});for(var e=(""+t).replace(/^\s+/,""),n=e.length-1;n>=0;n--)if(/\S/.test(e.charAt(n))){e=e.substring(0,n+1);break}return e.split(/\s+/).map(function(t){return t.replace(/^\W+/,"").replace(/\W+$/,"").toLowerCase()})},lunr.Pipeline=function(){this._stack=[]},lunr.Pipeline.registeredFunctions={},lunr.Pipeline.registerFunction=function(t,e){e in this.registeredFunctions&&lunr.utils.warn("Overwriting existing registered function: "+e),t.label=e,lunr.Pipeline.registeredFunctions[t.label]=t},lunr.Pipeline.warnIfFunctionNotRegistered=function(t){var e=t.label&&t.label in this.registeredFunctions;e||lunr.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",t)},lunr.Pipeline.load=function(t){var e=new lunr.Pipeline;return t.forEach(function(t){var n=lunr.Pipeline.registeredFunctions[t];if(!n)throw Error("Cannot load un-registered function: "+t);e.add(n)}),e},lunr.Pipeline.prototype.add=function(){var t=Array.prototype.slice.call(arguments);t.forEach(function(t){lunr.Pipeline.warnIfFunctionNotRegistered(t),this._stack.push(t)},this)},lunr.Pipeline.prototype.after=function(t,e){lunr.Pipeline.warnIfFunctionNotRegistered(e);var n=this._stack.indexOf(t)+1;this._stack.splice(n,0,e)},lunr.Pipeline.prototype.before=function(t,e){lunr.Pipeline.warnIfFunctionNotRegistered(e);var n=this._stack.indexOf(t);this._stack.splice(n,0,e)},lunr.Pipeline.prototype.remove=function(t){var e=this._stack.indexOf(t);this._stack.splice(e,1)},lunr.Pipeline.prototype.run=function(t){for(var e=[],n=t.length,r=this._stack.length,o=0;n>o;o++){for(var i=t[o],s=0;r>s&&(i=this._stack[s](i,o,t),void 0!==i);s++);void 0!==i&&e.push(i)}return e},lunr.Pipeline.prototype.toJSON=function(){return this._stack.map(function(t){return lunr.Pipeline.warnIfFunctionNotRegistered(t),t.label})},lunr.Vector=function(t){this.elements=t},lunr.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var t,e=0,n=this.elements,r=n.length,o=0;r>o;o++)t=n[o],e+=t*t;return this._magnitude=Math.sqrt(e)},lunr.Vector.prototype.dot=function(t){for(var e=this.elements,n=t.elements,r=e.length,o=0,i=0;r>i;i++)o+=e[i]*n[i];return o},lunr.Vector.prototype.similarity=function(t){return this.dot(t)/(this.magnitude()*t.magnitude())},lunr.Vector.prototype.toArray=function(){return this.elements},lunr.SortedSet=function(){this.length=0,this.elements=[]},lunr.SortedSet.load=function(t){var e=new this;return e.elements=t,e.length=t.length,e},lunr.SortedSet.prototype.add=function(){Array.prototype.slice.call(arguments).forEach(function(t){~this.indexOf(t)||this.elements.splice(this.locationFor(t),0,t)},this),this.length=this.elements.length},lunr.SortedSet.prototype.toArray=function(){return this.elements.slice()},lunr.SortedSet.prototype.map=function(t,e){return this.elements.map(t,e)},lunr.SortedSet.prototype.forEach=function(t,e){return this.elements.forEach(t,e)},lunr.SortedSet.prototype.indexOf=function(t,e,n){var e=e||0,n=n||this.elements.length,r=n-e,o=e+Math.floor(r/2),i=this.elements[o];return 1>=r?i===t?o:-1:t>i?this.indexOf(t,o,n):i>t?this.indexOf(t,e,o):i===t?o:void 0},lunr.SortedSet.prototype.locationFor=function(t,e,n){var e=e||0,n=n||this.elements.length,r=n-e,o=e+Math.floor(r/2),i=this.elements[o];if(1>=r){if(i>t)return o;if(t>i)return o+1}return t>i?this.locationFor(t,o,n):i>t?this.locationFor(t,e,o):void 0},lunr.SortedSet.prototype.intersect=function(t){for(var e=new lunr.SortedSet,n=0,r=0,o=this.length,i=t.length,s=this.elements,l=t.elements;;){if(n>o-1||r>i-1)break;s[n]!==l[r]?s[n]
l[r]&&r++:(e.add(s[n]),n++,r++)}return e},lunr.SortedSet.prototype.clone=function(){var t=new lunr.SortedSet;return t.elements=this.toArray(),t.length=t.elements.length,t},lunr.SortedSet.prototype.union=function(t){var e,n,r;return this.length>=t.length?(e=this,n=t):(e=t,n=this),r=e.clone(),r.add.apply(r,n.toArray()),r},lunr.SortedSet.prototype.toJSON=function(){return this.toArray()},lunr.Index=function(){this._fields=[],this._ref="id",this.pipeline=new lunr.Pipeline,this.documentStore=new lunr.Store,this.tokenStore=new lunr.TokenStore,this.corpusTokens=new lunr.SortedSet,this.eventEmitter=new lunr.EventEmitter,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},lunr.Index.prototype.on=function(){var t=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,t)},lunr.Index.prototype.off=function(t,e){return this.eventEmitter.removeListener(t,e)},lunr.Index.load=function(t){t.version!==lunr.version&&lunr.utils.warn("version mismatch: current "+lunr.version+" importing "+t.version);var e=new this;return e._fields=t.fields,e._ref=t.ref,e.documentStore=lunr.Store.load(t.documentStore),e.tokenStore=lunr.TokenStore.load(t.tokenStore),e.corpusTokens=lunr.SortedSet.load(t.corpusTokens),e.pipeline=lunr.Pipeline.load(t.pipeline),e},lunr.Index.prototype.field=function(t,e){var e=e||{},n={name:t,boost:e.boost||1};return this._fields.push(n),this},lunr.Index.prototype.ref=function(t){return this._ref=t,this},lunr.Index.prototype.add=function(t,e){var n={},r=new lunr.SortedSet,o=t[this._ref],e=void 0===e?!0:e;this._fields.forEach(function(e){var o=this.pipeline.run(lunr.tokenizer(t[e.name]));n[e.name]=o,lunr.SortedSet.prototype.add.apply(r,o)},this),this.documentStore.set(o,r),lunr.SortedSet.prototype.add.apply(this.corpusTokens,r.toArray());for(var i=0;r.length>i;i++){var s=r.elements[i],l=this._fields.reduce(function(t,e){var r=n[e.name].length;if(!r)return t;var o=n[e.name].filter(function(t){return t===s}).length;return t+o/r*e.boost},0);this.tokenStore.add(s,{ref:o,tf:l})}e&&this.eventEmitter.emit("add",t,this)},lunr.Index.prototype.remove=function(t,e){var n=t[this._ref],e=void 0===e?!0:e;if(this.documentStore.has(n)){var r=this.documentStore.get(n);this.documentStore.remove(n),r.forEach(function(t){this.tokenStore.remove(t,n)},this),e&&this.eventEmitter.emit("remove",t,this)}},lunr.Index.prototype.update=function(t,e){var e=void 0===e?!0:e;this.remove(t,!1),this.add(t,!1),e&&this.eventEmitter.emit("update",t,this)},lunr.Index.prototype.idf=function(t){if(this._idfCache[t])return this._idfCache[t];var e=this.tokenStore.count(t),n=1;return e>0&&(n=1+Math.log(this.tokenStore.length/e)),this._idfCache[t]=n},lunr.Index.prototype.search=function(t){var e=this.pipeline.run(lunr.tokenizer(t)),n=lunr.utils.zeroFillArray(this.corpusTokens.length),r=[],o=this._fields.reduce(function(t,e){return t+e.boost},0),i=e.some(function(t){return this.tokenStore.has(t)},this);if(!i)return[];e.forEach(function(t,e,i){var s=1/i.length*this._fields.length*o,l=this,u=this.tokenStore.expand(t).reduce(function(e,r){var o=l.corpusTokens.indexOf(r),i=l.idf(r),u=1,a=new lunr.SortedSet;if(r!==t){var h=Math.max(3,r.length-t.length);u=1/Math.log(h)}return o>-1&&(n[o]=s*i*u),Object.keys(l.tokenStore.get(r)).forEach(function(t){a.add(t)}),e.union(a)},new lunr.SortedSet);r.push(u)},this);var s=r.reduce(function(t,e){return t.intersect(e)}),l=new lunr.Vector(n);return s.map(function(t){return{ref:t,score:l.similarity(this.documentVector(t))}},this).sort(function(t,e){return e.score-t.score})},lunr.Index.prototype.documentVector=function(t){for(var e=this.documentStore.get(t),n=e.length,r=lunr.utils.zeroFillArray(this.corpusTokens.length),o=0;n>o;o++){var i=e.elements[o],s=this.tokenStore.get(i)[t].tf,l=this.idf(i);r[this.corpusTokens.indexOf(i)]=s*l}return new lunr.Vector(r)},lunr.Index.prototype.toJSON=function(){return{version:lunr.version,fields:this._fields,ref:this._ref,documentStore:this.documentStore.toJSON(),tokenStore:this.tokenStore.toJSON(),corpusTokens:this.corpusTokens.toJSON(),pipeline:this.pipeline.toJSON()}},lunr.Store=function(){this.store={},this.length=0},lunr.Store.load=function(t){var e=new this;return e.length=t.length,e.store=Object.keys(t.store).reduce(function(e,n){return e[n]=lunr.SortedSet.load(t.store[n]),e},{}),e},lunr.Store.prototype.set=function(t,e){this.store[t]=e,this.length=Object.keys(this.store).length},lunr.Store.prototype.get=function(t){return this.store[t]},lunr.Store.prototype.has=function(t){return t in this.store},lunr.Store.prototype.remove=function(t){this.has(t)&&(delete this.store[t],this.length--)},lunr.Store.prototype.toJSON=function(){return{store:this.store,length:this.length}},lunr.stemmer=function(){var t={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},e={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[^aeiou]",r="[aeiouy]",o=n+"[^aeiouy]*",i=r+"[aeiou]*",s="^("+o+")?"+i+o,l="^("+o+")?"+i+o+"("+i+")?$",u="^("+o+")?"+i+o+i+o,a="^("+o+")?"+r;return function(n){var i,h,c,p,f,d,v;if(3>n.length)return n;if(c=n.substr(0,1),"y"==c&&(n=c.toUpperCase()+n.substr(1)),p=/^(.+?)(ss|i)es$/,f=/^(.+?)([^s])s$/,p.test(n)?n=n.replace(p,"$1$2"):f.test(n)&&(n=n.replace(f,"$1$2")),p=/^(.+?)eed$/,f=/^(.+?)(ed|ing)$/,p.test(n)){var m=p.exec(n);p=RegExp(s),p.test(m[1])&&(p=/.$/,n=n.replace(p,""))}else if(f.test(n)){var m=f.exec(n);i=m[1],f=RegExp(a),f.test(i)&&(n=i,f=/(at|bl|iz)$/,d=RegExp("([^aeiouylsz])\\1$"),v=RegExp("^"+o+r+"[^aeiouwxy]$"),f.test(n)?n+="e":d.test(n)?(p=/.$/,n=n.replace(p,"")):v.test(n)&&(n+="e"))}if(p=/^(.+?)y$/,p.test(n)){var m=p.exec(n);i=m[1],p=RegExp(a),p.test(i)&&(n=i+"i")}if(p=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,p.test(n)){var m=p.exec(n);i=m[1],h=m[2],p=RegExp(s),p.test(i)&&(n=i+t[h])}if(p=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,p.test(n)){var m=p.exec(n);i=m[1],h=m[2],p=RegExp(s),p.test(i)&&(n=i+e[h])}if(p=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,f=/^(.+?)(s|t)(ion)$/,p.test(n)){var m=p.exec(n);i=m[1],p=RegExp(u),p.test(i)&&(n=i)}else if(f.test(n)){var m=f.exec(n);i=m[1]+m[2],f=RegExp(u),f.test(i)&&(n=i)}if(p=/^(.+?)e$/,p.test(n)){var m=p.exec(n);i=m[1],p=RegExp(u),f=RegExp(l),d=RegExp("^"+o+r+"[^aeiouwxy]$"),(p.test(i)||f.test(i)&&!d.test(i))&&(n=i)}return p=/ll$/,f=RegExp(u),p.test(n)&&f.test(n)&&(p=/.$/,n=n.replace(p,"")),"y"==c&&(n=c.toLowerCase()+n.substr(1)),n}}(),lunr.Pipeline.registerFunction(lunr.stemmer,"stemmer"),lunr.stopWordFilter=function(t){return-1===lunr.stopWordFilter.stopWords.indexOf(t)?t:void 0},lunr.stopWordFilter.stopWords=new lunr.SortedSet,lunr.stopWordFilter.stopWords.length=119,lunr.stopWordFilter.stopWords.elements=["","a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"],lunr.Pipeline.registerFunction(lunr.stopWordFilter,"stopWordFilter"),lunr.TokenStore=function(){this.root={docs:{}},this.length=0},lunr.TokenStore.load=function(t){var e=new this;return e.root=t.root,e.length=t.length,e},lunr.TokenStore.prototype.add=function(t,e,n){var n=n||this.root,r=t[0],o=t.slice(1);return r in n||(n[r]={docs:{}}),0===o.length?(n[r].docs[e.ref]=e,this.length+=1,void 0):this.add(o,e,n[r])},lunr.TokenStore.prototype.has=function(t){if(!t)return!1;for(var e=this.root,n=0;t.length>n;n++){if(!e[t[n]])return!1;e=e[t[n]]}return!0},lunr.TokenStore.prototype.getNode=function(t){if(!t)return{};for(var e=this.root,n=0;t.length>n;n++){if(!e[t[n]])return{};e=e[t[n]]}return e},lunr.TokenStore.prototype.get=function(t,e){return this.getNode(t,e).docs||{}},lunr.TokenStore.prototype.count=function(t,e){return Object.keys(this.get(t,e)).length},lunr.TokenStore.prototype.remove=function(t,e){if(t){for(var n=this.root,r=0;t.length>r;r++){if(!(t[r]in n))return;n=n[t[r]]}delete n.docs[e]}},lunr.TokenStore.prototype.expand=function(t,e){var n=this.getNode(t),r=n.docs||{},e=e||[];return Object.keys(r).length&&e.push(t),Object.keys(n).forEach(function(n){"docs"!==n&&e.concat(this.expand(t+n,e))},this),e},lunr.TokenStore.prototype.toJSON=function(){return{root:this.root,length:this.length}};
\ No newline at end of file
diff --git a/1.2.19/docs/components/lunr.js-0.4.2/server.js b/1.2.19/docs/components/lunr.js-0.4.2/server.js
new file mode 100644
index 0000000000..0bdb4d3fe7
--- /dev/null
+++ b/1.2.19/docs/components/lunr.js-0.4.2/server.js
@@ -0,0 +1,45 @@
+var http = require('http'),
+ url = require('url'),
+ join = require('path').join,
+ exists = require('path').exists,
+ extname = require('path').extname,
+ join = require('path').join,
+ fs = require('fs'),
+ port = process.argv[2] || 3000
+
+var mime = {
+ 'html': 'text/html',
+ 'css': 'text/css',
+ 'js': 'application/javascript',
+}
+
+http.createServer(function(req, res){
+ console.log(' \033[90m%s \033[36m%s\033[m', req.method, req.url)
+
+ var pathname = url.parse(req.url).pathname,
+ path = join(process.cwd(), pathname)
+
+ function notFound() {
+ res.statusCode = 404
+ res.end("404 Not Found\n")
+ }
+
+ function error(err) {
+ res.statusCode = 500
+ res.end(err.message + "\n")
+ }
+
+ exists(path, function(exists){
+ if (!exists) return notFound()
+
+ fs.stat(path, function(err, stat){
+ if (err) return error()
+ if (stat.isDirectory()) path = join(path, 'index.html')
+ res.setHeader('Cache-Control', 'no-cache')
+ res.setHeader('Content-Type', mime[path.split('.').slice(-1)] || 'application/octet-stream')
+ fs.createReadStream(path).pipe(res)
+ })
+ })
+}).listen(port)
+
+console.log('\n Server listening on %d\n', port)
diff --git a/1.2.19/docs/components/marked-0.3.1/index.js b/1.2.19/docs/components/marked-0.3.1/index.js
new file mode 100644
index 0000000000..a12f90569f
--- /dev/null
+++ b/1.2.19/docs/components/marked-0.3.1/index.js
@@ -0,0 +1 @@
+module.exports = require('./lib/marked');
diff --git a/1.2.19/docs/components/marked-0.3.1/lib/marked.js b/1.2.19/docs/components/marked-0.3.1/lib/marked.js
new file mode 100644
index 0000000000..d20100041b
--- /dev/null
+++ b/1.2.19/docs/components/marked-0.3.1/lib/marked.js
@@ -0,0 +1,1251 @@
+/**
+ * marked - a markdown parser
+ * Copyright (c) 2011-2013, Christopher Jeffrey. (MIT Licensed)
+ * https://github.com/chjj/marked
+ */
+
+;(function() {
+
+/**
+ * Block-Level Grammar
+ */
+
+var block = {
+ newline: /^\n+/,
+ code: /^( {4}[^\n]+\n*)+/,
+ fences: noop,
+ hr: /^( *[-*_]){3,} *(?:\n+|$)/,
+ heading: /^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,
+ nptable: noop,
+ lheading: /^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,
+ blockquote: /^( *>[^\n]+(\n[^\n]+)*\n*)+/,
+ list: /^( *)(bull) [\s\S]+?(?:hr|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,
+ html: /^ *(?:comment|closed|closing) *(?:\n{2,}|\s*$)/,
+ def: /^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,
+ table: noop,
+ paragraph: /^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,
+ text: /^[^\n]+/
+};
+
+block.bullet = /(?:[*+-]|\d+\.)/;
+block.item = /^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/;
+block.item = replace(block.item, 'gm')
+ (/bull/g, block.bullet)
+ ();
+
+block.list = replace(block.list)
+ (/bull/g, block.bullet)
+ ('hr', /\n+(?=(?: *[-*_]){3,} *(?:\n+|$))/)
+ ();
+
+block._tag = '(?!(?:'
+ + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code'
+ + '|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo'
+ + '|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b';
+
+block.html = replace(block.html)
+ ('comment', //)
+ ('closed', /<(tag)[\s\S]+?<\/\1>/)
+ ('closing', /])*?>/)
+ (/tag/g, block._tag)
+ ();
+
+block.paragraph = replace(block.paragraph)
+ ('hr', block.hr)
+ ('heading', block.heading)
+ ('lheading', block.lheading)
+ ('blockquote', block.blockquote)
+ ('tag', '<' + block._tag)
+ ('def', block.def)
+ ();
+
+/**
+ * Normal Block Grammar
+ */
+
+block.normal = merge({}, block);
+
+/**
+ * GFM Block Grammar
+ */
+
+block.gfm = merge({}, block.normal, {
+ fences: /^ *(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n+|$)/,
+ paragraph: /^/
+});
+
+block.gfm.paragraph = replace(block.paragraph)
+ ('(?!', '(?!'
+ + block.gfm.fences.source.replace('\\1', '\\2') + '|'
+ + block.list.source.replace('\\1', '\\3') + '|')
+ ();
+
+/**
+ * GFM + Tables Block Grammar
+ */
+
+block.tables = merge({}, block.gfm, {
+ nptable: /^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,
+ table: /^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/
+});
+
+/**
+ * Block Lexer
+ */
+
+function Lexer(options) {
+ this.tokens = [];
+ this.tokens.links = {};
+ this.options = options || marked.defaults;
+ this.rules = block.normal;
+
+ if (this.options.gfm) {
+ if (this.options.tables) {
+ this.rules = block.tables;
+ } else {
+ this.rules = block.gfm;
+ }
+ }
+}
+
+/**
+ * Expose Block Rules
+ */
+
+Lexer.rules = block;
+
+/**
+ * Static Lex Method
+ */
+
+Lexer.lex = function(src, options) {
+ var lexer = new Lexer(options);
+ return lexer.lex(src);
+};
+
+/**
+ * Preprocessing
+ */
+
+Lexer.prototype.lex = function(src) {
+ src = src
+ .replace(/\r\n|\r/g, '\n')
+ .replace(/\t/g, ' ')
+ .replace(/\u00a0/g, ' ')
+ .replace(/\u2424/g, '\n');
+
+ return this.token(src, true);
+};
+
+/**
+ * Lexing
+ */
+
+Lexer.prototype.token = function(src, top) {
+ var src = src.replace(/^ +$/gm, '')
+ , next
+ , loose
+ , cap
+ , bull
+ , b
+ , item
+ , space
+ , i
+ , l;
+
+ while (src) {
+ // newline
+ if (cap = this.rules.newline.exec(src)) {
+ src = src.substring(cap[0].length);
+ if (cap[0].length > 1) {
+ this.tokens.push({
+ type: 'space'
+ });
+ }
+ }
+
+ // code
+ if (cap = this.rules.code.exec(src)) {
+ src = src.substring(cap[0].length);
+ cap = cap[0].replace(/^ {4}/gm, '');
+ this.tokens.push({
+ type: 'code',
+ text: !this.options.pedantic
+ ? cap.replace(/\n+$/, '')
+ : cap
+ });
+ continue;
+ }
+
+ // fences (gfm)
+ if (cap = this.rules.fences.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'code',
+ lang: cap[2],
+ text: cap[3]
+ });
+ continue;
+ }
+
+ // heading
+ if (cap = this.rules.heading.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'heading',
+ depth: cap[1].length,
+ text: cap[2]
+ });
+ continue;
+ }
+
+ // table no leading pipe (gfm)
+ if (top && (cap = this.rules.nptable.exec(src))) {
+ src = src.substring(cap[0].length);
+
+ item = {
+ type: 'table',
+ header: cap[1].replace(/^ *| *\| *$/g, '').split(/ *\| */),
+ align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
+ cells: cap[3].replace(/\n$/, '').split('\n')
+ };
+
+ for (i = 0; i < item.align.length; i++) {
+ if (/^ *-+: *$/.test(item.align[i])) {
+ item.align[i] = 'right';
+ } else if (/^ *:-+: *$/.test(item.align[i])) {
+ item.align[i] = 'center';
+ } else if (/^ *:-+ *$/.test(item.align[i])) {
+ item.align[i] = 'left';
+ } else {
+ item.align[i] = null;
+ }
+ }
+
+ for (i = 0; i < item.cells.length; i++) {
+ item.cells[i] = item.cells[i].split(/ *\| */);
+ }
+
+ this.tokens.push(item);
+
+ continue;
+ }
+
+ // lheading
+ if (cap = this.rules.lheading.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'heading',
+ depth: cap[2] === '=' ? 1 : 2,
+ text: cap[1]
+ });
+ continue;
+ }
+
+ // hr
+ if (cap = this.rules.hr.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'hr'
+ });
+ continue;
+ }
+
+ // blockquote
+ if (cap = this.rules.blockquote.exec(src)) {
+ src = src.substring(cap[0].length);
+
+ this.tokens.push({
+ type: 'blockquote_start'
+ });
+
+ cap = cap[0].replace(/^ *> ?/gm, '');
+
+ // Pass `top` to keep the current
+ // "toplevel" state. This is exactly
+ // how markdown.pl works.
+ this.token(cap, top);
+
+ this.tokens.push({
+ type: 'blockquote_end'
+ });
+
+ continue;
+ }
+
+ // list
+ if (cap = this.rules.list.exec(src)) {
+ src = src.substring(cap[0].length);
+ bull = cap[2];
+
+ this.tokens.push({
+ type: 'list_start',
+ ordered: bull.length > 1
+ });
+
+ // Get each top-level item.
+ cap = cap[0].match(this.rules.item);
+
+ next = false;
+ l = cap.length;
+ i = 0;
+
+ for (; i < l; i++) {
+ item = cap[i];
+
+ // Remove the list item's bullet
+ // so it is seen as the next token.
+ space = item.length;
+ item = item.replace(/^ *([*+-]|\d+\.) +/, '');
+
+ // Outdent whatever the
+ // list item contains. Hacky.
+ if (~item.indexOf('\n ')) {
+ space -= item.length;
+ item = !this.options.pedantic
+ ? item.replace(new RegExp('^ {1,' + space + '}', 'gm'), '')
+ : item.replace(/^ {1,4}/gm, '');
+ }
+
+ // Determine whether the next list item belongs here.
+ // Backpedal if it does not belong in this list.
+ if (this.options.smartLists && i !== l - 1) {
+ b = block.bullet.exec(cap[i + 1])[0];
+ if (bull !== b && !(bull.length > 1 && b.length > 1)) {
+ src = cap.slice(i + 1).join('\n') + src;
+ i = l - 1;
+ }
+ }
+
+ // Determine whether item is loose or not.
+ // Use: /(^|\n)(?! )[^\n]+\n\n(?!\s*$)/
+ // for discount behavior.
+ loose = next || /\n\n(?!\s*$)/.test(item);
+ if (i !== l - 1) {
+ next = item.charAt(item.length - 1) === '\n';
+ if (!loose) loose = next;
+ }
+
+ this.tokens.push({
+ type: loose
+ ? 'loose_item_start'
+ : 'list_item_start'
+ });
+
+ // Recurse.
+ this.token(item, false);
+
+ this.tokens.push({
+ type: 'list_item_end'
+ });
+ }
+
+ this.tokens.push({
+ type: 'list_end'
+ });
+
+ continue;
+ }
+
+ // html
+ if (cap = this.rules.html.exec(src)) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: this.options.sanitize
+ ? 'paragraph'
+ : 'html',
+ pre: cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style',
+ text: cap[0]
+ });
+ continue;
+ }
+
+ // def
+ if (top && (cap = this.rules.def.exec(src))) {
+ src = src.substring(cap[0].length);
+ this.tokens.links[cap[1].toLowerCase()] = {
+ href: cap[2],
+ title: cap[3]
+ };
+ continue;
+ }
+
+ // table (gfm)
+ if (top && (cap = this.rules.table.exec(src))) {
+ src = src.substring(cap[0].length);
+
+ item = {
+ type: 'table',
+ header: cap[1].replace(/^ *| *\| *$/g, '').split(/ *\| */),
+ align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
+ cells: cap[3].replace(/(?: *\| *)?\n$/, '').split('\n')
+ };
+
+ for (i = 0; i < item.align.length; i++) {
+ if (/^ *-+: *$/.test(item.align[i])) {
+ item.align[i] = 'right';
+ } else if (/^ *:-+: *$/.test(item.align[i])) {
+ item.align[i] = 'center';
+ } else if (/^ *:-+ *$/.test(item.align[i])) {
+ item.align[i] = 'left';
+ } else {
+ item.align[i] = null;
+ }
+ }
+
+ for (i = 0; i < item.cells.length; i++) {
+ item.cells[i] = item.cells[i]
+ .replace(/^ *\| *| *\| *$/g, '')
+ .split(/ *\| */);
+ }
+
+ this.tokens.push(item);
+
+ continue;
+ }
+
+ // top-level paragraph
+ if (top && (cap = this.rules.paragraph.exec(src))) {
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'paragraph',
+ text: cap[1].charAt(cap[1].length - 1) === '\n'
+ ? cap[1].slice(0, -1)
+ : cap[1]
+ });
+ continue;
+ }
+
+ // text
+ if (cap = this.rules.text.exec(src)) {
+ // Top-level should never reach here.
+ src = src.substring(cap[0].length);
+ this.tokens.push({
+ type: 'text',
+ text: cap[0]
+ });
+ continue;
+ }
+
+ if (src) {
+ throw new
+ Error('Infinite loop on byte: ' + src.charCodeAt(0));
+ }
+ }
+
+ return this.tokens;
+};
+
+/**
+ * Inline-Level Grammar
+ */
+
+var inline = {
+ escape: /^\\([\\`*{}\[\]()#+\-.!_>])/,
+ autolink: /^<([^ >]+(@|:\/)[^ >]+)>/,
+ url: noop,
+ tag: /^|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,
+ link: /^!?\[(inside)\]\(href\)/,
+ reflink: /^!?\[(inside)\]\s*\[([^\]]*)\]/,
+ nolink: /^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,
+ strong: /^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,
+ em: /^\b_((?:__|[\s\S])+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,
+ code: /^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,
+ br: /^ {2,}\n(?!\s*$)/,
+ del: noop,
+ text: /^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/;
+
+inline.link = replace(inline.link)
+ ('inside', inline._inside)
+ ('href', inline._href)
+ ();
+
+inline.reflink = replace(inline.reflink)
+ ('inside', inline._inside)
+ ();
+
+/**
+ * Normal Inline Grammar
+ */
+
+inline.normal = merge({}, inline);
+
+/**
+ * Pedantic Inline Grammar
+ */
+
+inline.pedantic = merge({}, inline.normal, {
+ strong: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,
+ em: /^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/
+});
+
+/**
+ * GFM Inline Grammar
+ */
+
+inline.gfm = merge({}, inline.normal, {
+ escape: replace(inline.escape)('])', '~|])')(),
+ url: /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,
+ del: /^~~(?=\S)([\s\S]*?\S)~~/,
+ text: replace(inline.text)
+ (']|', '~]|')
+ ('|', '|https?://|')
+ ()
+});
+
+/**
+ * GFM + Line Breaks Inline Grammar
+ */
+
+inline.breaks = merge({}, inline.gfm, {
+ br: replace(inline.br)('{2,}', '*')(),
+ text: replace(inline.gfm.text)('{2,}', '*')()
+});
+
+/**
+ * Inline Lexer & Compiler
+ */
+
+function InlineLexer(links, options) {
+ this.options = options || marked.defaults;
+ this.links = links;
+ this.rules = inline.normal;
+ this.renderer = this.options.renderer || new Renderer;
+ this.renderer.options = this.options;
+
+ if (!this.links) {
+ throw new
+ Error('Tokens array requires a `links` property.');
+ }
+
+ if (this.options.gfm) {
+ if (this.options.breaks) {
+ this.rules = inline.breaks;
+ } else {
+ this.rules = inline.gfm;
+ }
+ } else if (this.options.pedantic) {
+ this.rules = inline.pedantic;
+ }
+}
+
+/**
+ * Expose Inline Rules
+ */
+
+InlineLexer.rules = inline;
+
+/**
+ * Static Lexing/Compiling Method
+ */
+
+InlineLexer.output = function(src, links, options) {
+ var inline = new InlineLexer(links, options);
+ return inline.output(src);
+};
+
+/**
+ * Lexing/Compiling
+ */
+
+InlineLexer.prototype.output = function(src) {
+ var out = ''
+ , link
+ , text
+ , href
+ , cap;
+
+ while (src) {
+ // escape
+ if (cap = this.rules.escape.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += cap[1];
+ continue;
+ }
+
+ // autolink
+ if (cap = this.rules.autolink.exec(src)) {
+ src = src.substring(cap[0].length);
+ if (cap[2] === '@') {
+ text = cap[1].charAt(6) === ':'
+ ? this.mangle(cap[1].substring(7))
+ : this.mangle(cap[1]);
+ href = this.mangle('mailto:') + text;
+ } else {
+ text = escape(cap[1]);
+ href = text;
+ }
+ out += this.renderer.link(href, null, text);
+ continue;
+ }
+
+ // url (gfm)
+ if (cap = this.rules.url.exec(src)) {
+ src = src.substring(cap[0].length);
+ text = escape(cap[1]);
+ href = text;
+ out += this.renderer.link(href, null, text);
+ continue;
+ }
+
+ // tag
+ if (cap = this.rules.tag.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.options.sanitize
+ ? escape(cap[0])
+ : cap[0];
+ continue;
+ }
+
+ // link
+ if (cap = this.rules.link.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.outputLink(cap, {
+ href: cap[2],
+ title: cap[3]
+ });
+ continue;
+ }
+
+ // reflink, nolink
+ if ((cap = this.rules.reflink.exec(src))
+ || (cap = this.rules.nolink.exec(src))) {
+ src = src.substring(cap[0].length);
+ link = (cap[2] || cap[1]).replace(/\s+/g, ' ');
+ link = this.links[link.toLowerCase()];
+ if (!link || !link.href) {
+ out += cap[0].charAt(0);
+ src = cap[0].substring(1) + src;
+ continue;
+ }
+ out += this.outputLink(cap, link);
+ continue;
+ }
+
+ // strong
+ if (cap = this.rules.strong.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.strong(this.output(cap[2] || cap[1]));
+ continue;
+ }
+
+ // em
+ if (cap = this.rules.em.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.em(this.output(cap[2] || cap[1]));
+ continue;
+ }
+
+ // code
+ if (cap = this.rules.code.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.codespan(escape(cap[2], true));
+ continue;
+ }
+
+ // br
+ if (cap = this.rules.br.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.br();
+ continue;
+ }
+
+ // del (gfm)
+ if (cap = this.rules.del.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += this.renderer.del(this.output(cap[1]));
+ continue;
+ }
+
+ // text
+ if (cap = this.rules.text.exec(src)) {
+ src = src.substring(cap[0].length);
+ out += escape(this.smartypants(cap[0]));
+ continue;
+ }
+
+ if (src) {
+ throw new
+ Error('Infinite loop on byte: ' + src.charCodeAt(0));
+ }
+ }
+
+ return out;
+};
+
+/**
+ * Compile Link
+ */
+
+InlineLexer.prototype.outputLink = function(cap, link) {
+ var href = escape(link.href)
+ , title = link.title ? escape(link.title) : null;
+
+ return cap[0].charAt(0) !== '!'
+ ? this.renderer.link(href, title, this.output(cap[1]))
+ : this.renderer.image(href, title, escape(cap[1]));
+};
+
+/**
+ * Smartypants Transformations
+ */
+
+InlineLexer.prototype.smartypants = function(text) {
+ if (!this.options.smartypants) return text;
+ return text
+ // em-dashes
+ .replace(/--/g, '\u2014')
+ // opening singles
+ .replace(/(^|[-\u2014/(\[{"\s])'/g, '$1\u2018')
+ // closing singles & apostrophes
+ .replace(/'/g, '\u2019')
+ // opening doubles
+ .replace(/(^|[-\u2014/(\[{\u2018\s])"/g, '$1\u201c')
+ // closing doubles
+ .replace(/"/g, '\u201d')
+ // ellipses
+ .replace(/\.{3}/g, '\u2026');
+};
+
+/**
+ * Mangle Links
+ */
+
+InlineLexer.prototype.mangle = function(text) {
+ var out = ''
+ , l = text.length
+ , i = 0
+ , ch;
+
+ for (; i < l; i++) {
+ ch = text.charCodeAt(i);
+ if (Math.random() > 0.5) {
+ ch = 'x' + ch.toString(16);
+ }
+ out += '' + ch + ';';
+ }
+
+ return out;
+};
+
+/**
+ * Renderer
+ */
+
+function Renderer(options) {
+ this.options = options || {};
+}
+
+Renderer.prototype.code = function(code, lang, escaped) {
+ if (this.options.highlight) {
+ var out = this.options.highlight(code, lang);
+ if (out != null && out !== code) {
+ escaped = true;
+ code = out;
+ }
+ }
+
+ if (!lang) {
+ return ''
+ + (escaped ? code : escape(code, true))
+ + '\n
';
+ }
+
+ return ''
+ + (escaped ? code : escape(code, true))
+ + '\n
\n';
+};
+
+Renderer.prototype.blockquote = function(quote) {
+ return '\n' + quote + ' \n';
+};
+
+Renderer.prototype.html = function(html) {
+ return html;
+};
+
+Renderer.prototype.heading = function(text, level, raw) {
+ return '\n';
+};
+
+Renderer.prototype.hr = function() {
+ return ' \n';
+};
+
+Renderer.prototype.list = function(body, ordered) {
+ var type = ordered ? 'ol' : 'ul';
+ return '<' + type + '>\n' + body + '' + type + '>\n';
+};
+
+Renderer.prototype.listitem = function(text) {
+ return '' + text + ' \n';
+};
+
+Renderer.prototype.paragraph = function(text) {
+ return '' + text + '
\n';
+};
+
+Renderer.prototype.table = function(header, body) {
+ return '\n'
+ + '\n'
+ + header
+ + ' \n'
+ + '\n'
+ + body
+ + ' \n'
+ + '
\n';
+};
+
+Renderer.prototype.tablerow = function(content) {
+ return '\n' + content + ' \n';
+};
+
+Renderer.prototype.tablecell = function(content, flags) {
+ var type = flags.header ? 'th' : 'td';
+ var tag = flags.align
+ ? '<' + type + ' style="text-align:' + flags.align + '">'
+ : '<' + type + '>';
+ return tag + content + '' + type + '>\n';
+};
+
+// span level renderer
+Renderer.prototype.strong = function(text) {
+ return '' + text + ' ';
+};
+
+Renderer.prototype.em = function(text) {
+ return '' + text + ' ';
+};
+
+Renderer.prototype.codespan = function(text) {
+ return '' + text + '
';
+};
+
+Renderer.prototype.br = function() {
+ return ' ';
+};
+
+Renderer.prototype.del = function(text) {
+ return '' + text + '';
+};
+
+Renderer.prototype.link = function(href, title, text) {
+ if (this.options.sanitize) {
+ try {
+ var prot = decodeURIComponent(unescape(href))
+ .replace(/[^\w:]/g, '')
+ .toLowerCase();
+ } catch (e) {
+ return '';
+ }
+ if (prot.indexOf('javascript:') === 0) {
+ return '';
+ }
+ }
+ var out = '' + text + ' ';
+ return out;
+};
+
+Renderer.prototype.image = function(href, title, text) {
+ var out = ' ';
+ return out;
+};
+
+/**
+ * Parsing & Compiling
+ */
+
+function Parser(options) {
+ this.tokens = [];
+ this.token = null;
+ this.options = options || marked.defaults;
+ this.options.renderer = this.options.renderer || new Renderer;
+ this.renderer = this.options.renderer;
+ this.renderer.options = this.options;
+}
+
+/**
+ * Static Parse Method
+ */
+
+Parser.parse = function(src, options, renderer) {
+ var parser = new Parser(options, renderer);
+ return parser.parse(src);
+};
+
+/**
+ * Parse Loop
+ */
+
+Parser.prototype.parse = function(src) {
+ this.inline = new InlineLexer(src.links, this.options, this.renderer);
+ this.tokens = src.reverse();
+
+ var out = '';
+ while (this.next()) {
+ out += this.tok();
+ }
+
+ return out;
+};
+
+/**
+ * Next Token
+ */
+
+Parser.prototype.next = function() {
+ return this.token = this.tokens.pop();
+};
+
+/**
+ * Preview Next Token
+ */
+
+Parser.prototype.peek = function() {
+ return this.tokens[this.tokens.length - 1] || 0;
+};
+
+/**
+ * Parse Text Tokens
+ */
+
+Parser.prototype.parseText = function() {
+ var body = this.token.text;
+
+ while (this.peek().type === 'text') {
+ body += '\n' + this.next().text;
+ }
+
+ return this.inline.output(body);
+};
+
+/**
+ * Parse Current Token
+ */
+
+Parser.prototype.tok = function() {
+ switch (this.token.type) {
+ case 'space': {
+ return '';
+ }
+ case 'hr': {
+ return this.renderer.hr();
+ }
+ case 'heading': {
+ return this.renderer.heading(
+ this.inline.output(this.token.text),
+ this.token.depth,
+ this.token.text);
+ }
+ case 'code': {
+ return this.renderer.code(this.token.text,
+ this.token.lang,
+ this.token.escaped);
+ }
+ case 'table': {
+ var header = ''
+ , body = ''
+ , i
+ , row
+ , cell
+ , flags
+ , j;
+
+ // header
+ cell = '';
+ for (i = 0; i < this.token.header.length; i++) {
+ flags = { header: true, align: this.token.align[i] };
+ cell += this.renderer.tablecell(
+ this.inline.output(this.token.header[i]),
+ { header: true, align: this.token.align[i] }
+ );
+ }
+ header += this.renderer.tablerow(cell);
+
+ for (i = 0; i < this.token.cells.length; i++) {
+ row = this.token.cells[i];
+
+ cell = '';
+ for (j = 0; j < row.length; j++) {
+ cell += this.renderer.tablecell(
+ this.inline.output(row[j]),
+ { header: false, align: this.token.align[j] }
+ );
+ }
+
+ body += this.renderer.tablerow(cell);
+ }
+ return this.renderer.table(header, body);
+ }
+ case 'blockquote_start': {
+ var body = '';
+
+ while (this.next().type !== 'blockquote_end') {
+ body += this.tok();
+ }
+
+ return this.renderer.blockquote(body);
+ }
+ case 'list_start': {
+ var body = ''
+ , ordered = this.token.ordered;
+
+ while (this.next().type !== 'list_end') {
+ body += this.tok();
+ }
+
+ return this.renderer.list(body, ordered);
+ }
+ case 'list_item_start': {
+ var body = '';
+
+ while (this.next().type !== 'list_item_end') {
+ body += this.token.type === 'text'
+ ? this.parseText()
+ : this.tok();
+ }
+
+ return this.renderer.listitem(body);
+ }
+ case 'loose_item_start': {
+ var body = '';
+
+ while (this.next().type !== 'list_item_end') {
+ body += this.tok();
+ }
+
+ return this.renderer.listitem(body);
+ }
+ case 'html': {
+ var html = !this.token.pre && !this.options.pedantic
+ ? this.inline.output(this.token.text)
+ : this.token.text;
+ return this.renderer.html(html);
+ }
+ case 'paragraph': {
+ return this.renderer.paragraph(this.inline.output(this.token.text));
+ }
+ case 'text': {
+ return this.renderer.paragraph(this.parseText());
+ }
+ }
+};
+
+/**
+ * Helpers
+ */
+
+function escape(html, encode) {
+ return html
+ .replace(!encode ? /&(?!#?\w+;)/g : /&/g, '&')
+ .replace(//g, '>')
+ .replace(/"/g, '"')
+ .replace(/'/g, ''');
+}
+
+function unescape(html) {
+ return html.replace(/&([#\w]+);/g, function(_, n) {
+ n = n.toLowerCase();
+ if (n === 'colon') return ':';
+ if (n.charAt(0) === '#') {
+ return n.charAt(1) === 'x'
+ ? String.fromCharCode(parseInt(n.substring(2), 16))
+ : String.fromCharCode(+n.substring(1));
+ }
+ return '';
+ });
+}
+
+function replace(regex, opt) {
+ regex = regex.source;
+ opt = opt || '';
+ return function self(name, val) {
+ if (!name) return new RegExp(regex, opt);
+ val = val.source || val;
+ val = val.replace(/(^|[^\[])\^/g, '$1');
+ regex = regex.replace(name, val);
+ return self;
+ };
+}
+
+function noop() {}
+noop.exec = noop;
+
+function merge(obj) {
+ var i = 1
+ , target
+ , key;
+
+ for (; i < arguments.length; i++) {
+ target = arguments[i];
+ for (key in target) {
+ if (Object.prototype.hasOwnProperty.call(target, key)) {
+ obj[key] = target[key];
+ }
+ }
+ }
+
+ return obj;
+}
+
+
+/**
+ * Marked
+ */
+
+function marked(src, opt, callback) {
+ if (callback || typeof opt === 'function') {
+ if (!callback) {
+ callback = opt;
+ opt = null;
+ }
+
+ opt = merge({}, marked.defaults, opt || {});
+
+ var highlight = opt.highlight
+ , tokens
+ , pending
+ , i = 0;
+
+ try {
+ tokens = Lexer.lex(src, opt)
+ } catch (e) {
+ return callback(e);
+ }
+
+ pending = tokens.length;
+
+ var done = function() {
+ var out, err;
+
+ try {
+ out = Parser.parse(tokens, opt);
+ } catch (e) {
+ err = e;
+ }
+
+ opt.highlight = highlight;
+
+ return err
+ ? callback(err)
+ : callback(null, out);
+ };
+
+ if (!highlight || highlight.length < 3) {
+ return done();
+ }
+
+ delete opt.highlight;
+
+ if (!pending) return done();
+
+ for (; i < tokens.length; i++) {
+ (function(token) {
+ if (token.type !== 'code') {
+ return --pending || done();
+ }
+ return highlight(token.text, token.lang, function(err, code) {
+ if (code == null || code === token.text) {
+ return --pending || done();
+ }
+ token.text = code;
+ token.escaped = true;
+ --pending || done();
+ });
+ })(tokens[i]);
+ }
+
+ return;
+ }
+ try {
+ if (opt) opt = merge({}, marked.defaults, opt);
+ return Parser.parse(Lexer.lex(src, opt), opt);
+ } catch (e) {
+ e.message += '\nPlease report this to https://github.com/chjj/marked.';
+ if ((opt || marked.defaults).silent) {
+ return 'An error occured:
'
+ + escape(e.message + '', true)
+ + ' ';
+ }
+ throw e;
+ }
+}
+
+/**
+ * Options
+ */
+
+marked.options =
+marked.setOptions = function(opt) {
+ merge(marked.defaults, opt);
+ return marked;
+};
+
+marked.defaults = {
+ gfm: true,
+ tables: true,
+ breaks: false,
+ pedantic: false,
+ sanitize: false,
+ smartLists: false,
+ silent: false,
+ highlight: null,
+ langPrefix: 'lang-',
+ smartypants: false,
+ headerPrefix: '',
+ renderer: new Renderer
+};
+
+/**
+ * Expose
+ */
+
+marked.Parser = Parser;
+marked.parser = Parser.parse;
+
+marked.Renderer = Renderer;
+
+marked.Lexer = Lexer;
+marked.lexer = Lexer.lex;
+
+marked.InlineLexer = InlineLexer;
+marked.inlineLexer = InlineLexer.output;
+
+marked.parse = marked;
+
+if (typeof exports === 'object') {
+ module.exports = marked;
+} else if (typeof define === 'function' && define.amd) {
+ define(function() { return marked; });
+} else {
+ this.marked = marked;
+}
+
+}).call(function() {
+ return this || (typeof window !== 'undefined' ? window : global);
+}());
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/README.md b/1.2.19/docs/components/open-sans-fontface-1.0.4/README.md
new file mode 100644
index 0000000000..5ec46333ec
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/README.md
@@ -0,0 +1,11 @@
+# Open Sans @font-face kit
+
+Installable via [Bower](http://twitter.github.com/bower/):
+```
+bower install open-sans-fontface
+```
+
+## Demo
+__Our repository:__ [http://fontfacekit.github.com/open-sans](http://fontfacekit.github.com/open-sans)
+
+__Google Web Fonts:__ [http://www.google.com/fonts/specimen/Open+Sans](http://www.google.com/fonts/specimen/Open+Sans)
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/bower.json b/1.2.19/docs/components/open-sans-fontface-1.0.4/bower.json
new file mode 100644
index 0000000000..8f12e55bf5
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/bower.json
@@ -0,0 +1,22 @@
+{
+ "name": "open-sans-fontface",
+ "version": "1.0.4",
+ "main": "./css/open-sans.css",
+ "homepage": "https://github.com/FontFaceKit/open-sans",
+ "authors": [
+ "Gustavo Henke ",
+ "Martin Domke "
+ ],
+ "description": "The Open Sans fontface",
+ "keywords": [
+ "font"
+ ],
+ "license": "Apache License version 2.0",
+ "ignore": [
+ "**/.*",
+ "node_modules",
+ "bower_components",
+ "test",
+ "tests"
+ ]
+}
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Bold/OpenSans-Bold.eot b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Bold/OpenSans-Bold.eot
new file mode 100644
index 0000000000..016123ba03
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Bold/OpenSans-Bold.eot differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Bold/OpenSans-Bold.svg b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Bold/OpenSans-Bold.svg
new file mode 100644
index 0000000000..81c8a275a7
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Bold/OpenSans-Bold.svg
@@ -0,0 +1,958 @@
+
+
+
+
+This is a custom SVG webfont generated by Font Squirrel.
+Copyright : Digitized data copyright 20102011 Google Corporation
+Foundry : Ascender Corporation
+Foundry URL : httpwwwascendercorpcom
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Bold/OpenSans-Bold.ttf b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Bold/OpenSans-Bold.ttf
new file mode 100644
index 0000000000..cf53e6e46e
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Bold/OpenSans-Bold.ttf differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Bold/OpenSans-Bold.woff b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Bold/OpenSans-Bold.woff
new file mode 100644
index 0000000000..c668e4537f
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Bold/OpenSans-Bold.woff differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/BoldItalic/OpenSans-BoldItalic.eot b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/BoldItalic/OpenSans-BoldItalic.eot
new file mode 100644
index 0000000000..7d45290b91
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/BoldItalic/OpenSans-BoldItalic.eot differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/BoldItalic/OpenSans-BoldItalic.svg b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/BoldItalic/OpenSans-BoldItalic.svg
new file mode 100644
index 0000000000..d06de541a0
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/BoldItalic/OpenSans-BoldItalic.svg
@@ -0,0 +1,958 @@
+
+
+
+
+This is a custom SVG webfont generated by Font Squirrel.
+Copyright : Digitized data copyright 20102011 Google Corporation
+Foundry : Ascender Corporation
+Foundry URL : httpwwwascendercorpcom
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/BoldItalic/OpenSans-BoldItalic.ttf b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/BoldItalic/OpenSans-BoldItalic.ttf
new file mode 100644
index 0000000000..11d107ba5d
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/BoldItalic/OpenSans-BoldItalic.ttf differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/BoldItalic/OpenSans-BoldItalic.woff b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/BoldItalic/OpenSans-BoldItalic.woff
new file mode 100644
index 0000000000..ced8f69711
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/BoldItalic/OpenSans-BoldItalic.woff differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBold/OpenSans-ExtraBold.eot b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBold/OpenSans-ExtraBold.eot
new file mode 100644
index 0000000000..27ff0d5fac
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBold/OpenSans-ExtraBold.eot differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBold/OpenSans-ExtraBold.svg b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBold/OpenSans-ExtraBold.svg
new file mode 100644
index 0000000000..aeb208de49
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBold/OpenSans-ExtraBold.svg
@@ -0,0 +1,958 @@
+
+
+
+
+This is a custom SVG webfont generated by Font Squirrel.
+Copyright : Digitized data copyright 2011 Google Corporation
+Foundry : Ascender Corporation
+Foundry URL : httpwwwascendercorpcom
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBold/OpenSans-ExtraBold.ttf b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBold/OpenSans-ExtraBold.ttf
new file mode 100644
index 0000000000..5c2b96e986
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBold/OpenSans-ExtraBold.ttf differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBold/OpenSans-ExtraBold.woff b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBold/OpenSans-ExtraBold.woff
new file mode 100644
index 0000000000..498ddeb587
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBold/OpenSans-ExtraBold.woff differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot
new file mode 100644
index 0000000000..c848bb3479
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg
new file mode 100644
index 0000000000..2152de9ece
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg
@@ -0,0 +1,958 @@
+
+
+
+
+This is a custom SVG webfont generated by Font Squirrel.
+Copyright : Digitized data copyright 20102011 Google Corporation
+Foundry : Ascender Corporation
+Foundry URL : httpwwwascendercorpcom
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf
new file mode 100644
index 0000000000..ea1792973e
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff
new file mode 100644
index 0000000000..6056847f96
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Italic/OpenSans-Italic.eot b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Italic/OpenSans-Italic.eot
new file mode 100644
index 0000000000..55af8e72b1
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Italic/OpenSans-Italic.eot differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Italic/OpenSans-Italic.svg b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Italic/OpenSans-Italic.svg
new file mode 100644
index 0000000000..7561e874ca
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Italic/OpenSans-Italic.svg
@@ -0,0 +1,958 @@
+
+
+
+
+This is a custom SVG webfont generated by Font Squirrel.
+Copyright : Digitized data copyright 20102011 Google Corporation
+Foundry : Ascender Corporation
+Foundry URL : httpwwwascendercorpcom
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Italic/OpenSans-Italic.ttf b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Italic/OpenSans-Italic.ttf
new file mode 100644
index 0000000000..a309327426
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Italic/OpenSans-Italic.ttf differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Italic/OpenSans-Italic.woff b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Italic/OpenSans-Italic.woff
new file mode 100644
index 0000000000..1ed8ab9568
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Italic/OpenSans-Italic.woff differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Light/OpenSans-Light.eot b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Light/OpenSans-Light.eot
new file mode 100644
index 0000000000..03f1430517
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Light/OpenSans-Light.eot differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Light/OpenSans-Light.svg b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Light/OpenSans-Light.svg
new file mode 100644
index 0000000000..c3bd1594ca
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Light/OpenSans-Light.svg
@@ -0,0 +1,958 @@
+
+
+
+
+This is a custom SVG webfont generated by Font Squirrel.
+Copyright : Digitized data copyright 20102011 Google Corporation
+Foundry : Ascender Corporation
+Foundry URL : httpwwwascendercorpcom
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Light/OpenSans-Light.ttf b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Light/OpenSans-Light.ttf
new file mode 100644
index 0000000000..dddcc62a9c
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Light/OpenSans-Light.ttf differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Light/OpenSans-Light.woff b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Light/OpenSans-Light.woff
new file mode 100644
index 0000000000..937323df0d
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Light/OpenSans-Light.woff differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/LightItalic/OpenSans-LightItalic.eot b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/LightItalic/OpenSans-LightItalic.eot
new file mode 100644
index 0000000000..3861cd65b3
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/LightItalic/OpenSans-LightItalic.eot differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/LightItalic/OpenSans-LightItalic.svg b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/LightItalic/OpenSans-LightItalic.svg
new file mode 100644
index 0000000000..e5694a123b
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/LightItalic/OpenSans-LightItalic.svg
@@ -0,0 +1,958 @@
+
+
+
+
+This is a custom SVG webfont generated by Font Squirrel.
+Copyright : Digitized data copyright 20102011 Google Corporation
+Foundry : Ascender Corporation
+Foundry URL : httpwwwascendercorpcom
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/LightItalic/OpenSans-LightItalic.ttf b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/LightItalic/OpenSans-LightItalic.ttf
new file mode 100644
index 0000000000..9338bd99e3
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/LightItalic/OpenSans-LightItalic.ttf differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/LightItalic/OpenSans-LightItalic.woff b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/LightItalic/OpenSans-LightItalic.woff
new file mode 100644
index 0000000000..bc83d1db5f
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/LightItalic/OpenSans-LightItalic.woff differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Regular/OpenSans-Regular.eot b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Regular/OpenSans-Regular.eot
new file mode 100644
index 0000000000..7ac1753b19
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Regular/OpenSans-Regular.eot differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Regular/OpenSans-Regular.svg b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Regular/OpenSans-Regular.svg
new file mode 100644
index 0000000000..b34ed428a7
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Regular/OpenSans-Regular.svg
@@ -0,0 +1,958 @@
+
+
+
+
+This is a custom SVG webfont generated by Font Squirrel.
+Copyright : Digitized data copyright 20102011 Google Corporation
+Foundry : Ascender Corporation
+Foundry URL : httpwwwascendercorpcom
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Regular/OpenSans-Regular.ttf b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Regular/OpenSans-Regular.ttf
new file mode 100644
index 0000000000..a135120e09
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Regular/OpenSans-Regular.ttf differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Regular/OpenSans-Regular.woff b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Regular/OpenSans-Regular.woff
new file mode 100644
index 0000000000..bd0f824b20
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Regular/OpenSans-Regular.woff differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Semibold/OpenSans-Semibold.eot b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Semibold/OpenSans-Semibold.eot
new file mode 100644
index 0000000000..f165063158
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Semibold/OpenSans-Semibold.eot differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Semibold/OpenSans-Semibold.svg b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Semibold/OpenSans-Semibold.svg
new file mode 100644
index 0000000000..4949365fb1
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Semibold/OpenSans-Semibold.svg
@@ -0,0 +1,958 @@
+
+
+
+
+This is a custom SVG webfont generated by Font Squirrel.
+Copyright : Digitized data copyright 2011 Google Corporation
+Foundry : Ascender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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Semibold/OpenSans-Semibold.ttf b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Semibold/OpenSans-Semibold.ttf
new file mode 100644
index 0000000000..9be83c563c
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Semibold/OpenSans-Semibold.ttf differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Semibold/OpenSans-Semibold.woff b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Semibold/OpenSans-Semibold.woff
new file mode 100644
index 0000000000..3a78f75482
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/Semibold/OpenSans-Semibold.woff differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/SemiboldItalic/OpenSans-SemiboldItalic.eot b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/SemiboldItalic/OpenSans-SemiboldItalic.eot
new file mode 100644
index 0000000000..c13a4e33f4
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/SemiboldItalic/OpenSans-SemiboldItalic.eot differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/SemiboldItalic/OpenSans-SemiboldItalic.svg b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/SemiboldItalic/OpenSans-SemiboldItalic.svg
new file mode 100644
index 0000000000..df45137858
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/SemiboldItalic/OpenSans-SemiboldItalic.svg
@@ -0,0 +1,958 @@
+
+
+
+
+This is a custom SVG webfont generated by Font Squirrel.
+Copyright : Digitized data copyright 20102011 Google Corporation
+Foundry : Ascender Corporation
+Foundry URL : httpwwwascendercorpcom
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/SemiboldItalic/OpenSans-SemiboldItalic.ttf b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/SemiboldItalic/OpenSans-SemiboldItalic.ttf
new file mode 100644
index 0000000000..ee10d635da
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/SemiboldItalic/OpenSans-SemiboldItalic.ttf differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/SemiboldItalic/OpenSans-SemiboldItalic.woff b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/SemiboldItalic/OpenSans-SemiboldItalic.woff
new file mode 100644
index 0000000000..90351a259f
Binary files /dev/null and b/1.2.19/docs/components/open-sans-fontface-1.0.4/fonts/SemiboldItalic/OpenSans-SemiboldItalic.woff differ
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/index.html b/1.2.19/docs/components/open-sans-fontface-1.0.4/index.html
new file mode 100644
index 0000000000..2fcf0a05a6
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/index.html
@@ -0,0 +1,85 @@
+
+
+
+ Open Sans @font-face demo
+
+
+
+
+
+ Open Sans @font-face demo
+
+
+
+
+
+ Light 300
+
+ AaBbCcDdEeFfGgHhJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
+
+
+ Light 300 Italic
+
+ AaBbCcDdEeFfGgHhJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
+
+
+ Normal 400
+
+ AaBbCcDdEeFfGgHhJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
+
+
+ Normal 400 Italic
+
+ AaBbCcDdEeFfGgHhJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
+
+
+ Semibold 600
+
+ AaBbCcDdEeFfGgHhJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
+
+
+ Semibold 600 Italic
+
+ AaBbCcDdEeFfGgHhJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
+
+
+ Bold 700
+
+ AaBbCcDdEeFfGgHhJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
+
+
+ Bold 700 Italic
+
+ AaBbCcDdEeFfGgHhJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
+
+
+ Extrabold 800
+
+ AaBbCcDdEeFfGgHhJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
+
+
+ Extrabold 800 Italic
+
+ AaBbCcDdEeFfGgHhJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/open-sans.css b/1.2.19/docs/components/open-sans-fontface-1.0.4/open-sans.css
new file mode 100644
index 0000000000..76c36b935c
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/open-sans.css
@@ -0,0 +1,131 @@
+/* Open Sans @font-face kit */
+
+/* BEGIN Light */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('fonts/Light/OpenSans-Light.eot');
+ src: url('fonts/Light/OpenSans-Light.eot?#iefix') format('embedded-opentype'),
+ url('fonts/Light/OpenSans-Light.woff') format('woff'),
+ url('fonts/Light/OpenSans-Light.ttf') format('truetype'),
+ url('fonts/Light/OpenSans-Light.svg#OpenSansLight') format('svg');
+ font-weight: 300;
+ font-style: normal;
+}
+/* END Light */
+
+/* BEGIN Light Italic */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('fonts/LightItalic/OpenSans-LightItalic.eot');
+ src: url('fonts/LightItalic/OpenSans-LightItalic.eot?#iefix') format('embedded-opentype'),
+ url('fonts/LightItalic/OpenSans-LightItalic.woff') format('woff'),
+ url('fonts/LightItalic/OpenSans-LightItalic.ttf') format('truetype'),
+ url('fonts/LightItalic/OpenSans-LightItalic.svg#OpenSansLightItalic') format('svg');
+ font-weight: 300;
+ font-style: italic;
+}
+/* END Light Italic */
+
+/* BEGIN Regular */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('fonts/Regular/OpenSans-Regular.eot');
+ src: url('fonts/Regular/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
+ url('fonts/Regular/OpenSans-Regular.woff') format('woff'),
+ url('fonts/Regular/OpenSans-Regular.ttf') format('truetype'),
+ url('fonts/Regular/OpenSans-Regular.svg#OpenSansRegular') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+/* END Regular */
+
+/* BEGIN Italic */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('fonts/Italic/OpenSans-Italic.eot');
+ src: url('fonts/Italic/OpenSans-Italic.eot?#iefix') format('embedded-opentype'),
+ url('fonts/Italic/OpenSans-Italic.woff') format('woff'),
+ url('fonts/Italic/OpenSans-Italic.ttf') format('truetype'),
+ url('fonts/Italic/OpenSans-Italic.svg#OpenSansItalic') format('svg');
+ font-weight: normal;
+ font-style: italic;
+}
+/* END Italic */
+
+/* BEGIN Semibold */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('fonts/Semibold/OpenSans-Semibold.eot');
+ src: url('fonts/Semibold/OpenSans-Semibold.eot?#iefix') format('embedded-opentype'),
+ url('fonts/Semibold/OpenSans-Semibold.woff') format('woff'),
+ url('fonts/Semibold/OpenSans-Semibold.ttf') format('truetype'),
+ url('fonts/Semibold/OpenSans-Semibold.svg#OpenSansSemibold') format('svg');
+ font-weight: 600;
+ font-style: normal;
+}
+/* END Semibold */
+
+/* BEGIN Semibold Italic */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('fonts/SemiboldItalic/OpenSans-SemiboldItalic.eot');
+ src: url('fonts/SemiboldItalic/OpenSans-SemiboldItalic.eot?#iefix') format('embedded-opentype'),
+ url('fonts/SemiboldItalic/OpenSans-SemiboldItalic.woff') format('woff'),
+ url('fonts/SemiboldItalic/OpenSans-SemiboldItalic.ttf') format('truetype'),
+ url('fonts/SemiboldItalic/OpenSans-SemiboldItalic.svg#OpenSansSemiboldItalic') format('svg');
+ font-weight: 600;
+ font-style: italic;
+}
+/* END Semibold Italic */
+
+/* BEGIN Bold */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('fonts/Bold/OpenSans-Bold.eot');
+ src: url('fonts/Bold/OpenSans-Bold.eot?#iefix') format('embedded-opentype'),
+ url('fonts/Bold/OpenSans-Bold.woff') format('woff'),
+ url('fonts/Bold/OpenSans-Bold.ttf') format('truetype'),
+ url('fonts/Bold/OpenSans-Bold.svg#OpenSansBold') format('svg');
+ font-weight: bold;
+ font-style: normal;
+}
+/* END Bold */
+
+/* BEGIN Bold Italic */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('fonts/BoldItalic/OpenSans-BoldItalic.eot');
+ src: url('fonts/BoldItalic/OpenSans-BoldItalic.eot?#iefix') format('embedded-opentype'),
+ url('fonts/BoldItalic/OpenSans-BoldItalic.woff') format('woff'),
+ url('fonts/BoldItalic/OpenSans-BoldItalic.ttf') format('truetype'),
+ url('fonts/BoldItalic/OpenSans-BoldItalic.svg#OpenSansBoldItalic') format('svg');
+ font-weight: bold;
+ font-style: italic;
+}
+/* END Bold Italic */
+
+/* BEGIN Extrabold */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('fonts/ExtraBold/OpenSans-ExtraBold.eot');
+ src: url('fonts/ExtraBold/OpenSans-ExtraBold.eot?#iefix') format('embedded-opentype'),
+ url('fonts/ExtraBold/OpenSans-ExtraBold.woff') format('woff'),
+ url('fonts/ExtraBold/OpenSans-ExtraBold.ttf') format('truetype'),
+ url('fonts/ExtraBold/OpenSans-ExtraBold.svg#OpenSansExtrabold') format('svg');
+ font-weight: 800;
+ font-style: normal;
+}
+/* END Extrabold */
+
+/* BEGIN Extrabold Italic */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot');
+ src: url('fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot?#iefix') format('embedded-opentype'),
+ url('fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff') format('woff'),
+ url('fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf') format('truetype'),
+ url('fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg#OpenSansExtraboldItalic') format('svg');
+ font-weight: 800;
+ font-style: italic;
+}
+/* END Extrabold Italic */
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/open-sans.less b/1.2.19/docs/components/open-sans-fontface-1.0.4/open-sans.less
new file mode 100644
index 0000000000..236a402e96
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/open-sans.less
@@ -0,0 +1,133 @@
+/* Open Sans @font-face kit */
+
+@OpenSansPath: "./fonts";
+
+/* BEGIN Light */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('@{OpenSansPath}/Light/OpenSans-Light.eot');
+ src: url('@{OpenSansPath}/Light/OpenSans-Light.eot?#iefix') format('embedded-opentype'),
+ url('@{OpenSansPath}/Light/OpenSans-Light.woff') format('woff'),
+ url('@{OpenSansPath}/Light/OpenSans-Light.ttf') format('truetype'),
+ url('@{OpenSansPath}/Light/OpenSans-Light.svg#OpenSansLight') format('svg');
+ font-weight: 300;
+ font-style: normal;
+}
+/* END Light */
+
+/* BEGIN Light Italic */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('@{OpenSansPath}/LightItalic/OpenSans-LightItalic.eot');
+ src: url('@{OpenSansPath}/LightItalic/OpenSans-LightItalic.eot?#iefix') format('embedded-opentype'),
+ url('@{OpenSansPath}/LightItalic/OpenSans-LightItalic.woff') format('woff'),
+ url('@{OpenSansPath}/LightItalic/OpenSans-LightItalic.ttf') format('truetype'),
+ url('@{OpenSansPath}/LightItalic/OpenSans-LightItalic.svg#OpenSansLightItalic') format('svg');
+ font-weight: 300;
+ font-style: italic;
+}
+/* END Light Italic */
+
+/* BEGIN Regular */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('@{OpenSansPath}/Regular/OpenSans-Regular.eot');
+ src: url('@{OpenSansPath}/Regular/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
+ url('@{OpenSansPath}/Regular/OpenSans-Regular.woff') format('woff'),
+ url('@{OpenSansPath}/Regular/OpenSans-Regular.ttf') format('truetype'),
+ url('@{OpenSansPath}/Regular/OpenSans-Regular.svg#OpenSansRegular') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+/* END Regular */
+
+/* BEGIN Italic */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('@{OpenSansPath}/Italic/OpenSans-Italic.eot');
+ src: url('@{OpenSansPath}/Italic/OpenSans-Italic.eot?#iefix') format('embedded-opentype'),
+ url('@{OpenSansPath}/Italic/OpenSans-Italic.woff') format('woff'),
+ url('@{OpenSansPath}/Italic/OpenSans-Italic.ttf') format('truetype'),
+ url('@{OpenSansPath}/Italic/OpenSans-Italic.svg#OpenSansItalic') format('svg');
+ font-weight: normal;
+ font-style: italic;
+}
+/* END Italic */
+
+/* BEGIN Semibold */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('@{OpenSansPath}/Semibold/OpenSans-Semibold.eot');
+ src: url('@{OpenSansPath}/Semibold/OpenSans-Semibold.eot?#iefix') format('embedded-opentype'),
+ url('@{OpenSansPath}/Semibold/OpenSans-Semibold.woff') format('woff'),
+ url('@{OpenSansPath}/Semibold/OpenSans-Semibold.ttf') format('truetype'),
+ url('@{OpenSansPath}/Semibold/OpenSans-Semibold.svg#OpenSansSemibold') format('svg');
+ font-weight: 600;
+ font-style: normal;
+}
+/* END Semibold */
+
+/* BEGIN Semibold Italic */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('@{OpenSansPath}/SemiboldItalic/OpenSans-SemiboldItalic.eot');
+ src: url('@{OpenSansPath}/SemiboldItalic/OpenSans-SemiboldItalic.eot?#iefix') format('embedded-opentype'),
+ url('@{OpenSansPath}/SemiboldItalic/OpenSans-SemiboldItalic.woff') format('woff'),
+ url('@{OpenSansPath}/SemiboldItalic/OpenSans-SemiboldItalic.ttf') format('truetype'),
+ url('@{OpenSansPath}/SemiboldItalic/OpenSans-SemiboldItalic.svg#OpenSansSemiboldItalic') format('svg');
+ font-weight: 600;
+ font-style: italic;
+}
+/* END Semibold Italic */
+
+/* BEGIN Bold */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('@{OpenSansPath}/Bold/OpenSans-Bold.eot');
+ src: url('@{OpenSansPath}/Bold/OpenSans-Bold.eot?#iefix') format('embedded-opentype'),
+ url('@{OpenSansPath}/Bold/OpenSans-Bold.woff') format('woff'),
+ url('@{OpenSansPath}/Bold/OpenSans-Bold.ttf') format('truetype'),
+ url('@{OpenSansPath}/Bold/OpenSans-Bold.svg#OpenSansBold') format('svg');
+ font-weight: bold;
+ font-style: normal;
+}
+/* END Bold */
+
+/* BEGIN Bold Italic */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('@{OpenSansPath}/BoldItalic/OpenSans-BoldItalic.eot');
+ src: url('@{OpenSansPath}/BoldItalic/OpenSans-BoldItalic.eot?#iefix') format('embedded-opentype'),
+ url('@{OpenSansPath}/BoldItalic/OpenSans-BoldItalic.woff') format('woff'),
+ url('@{OpenSansPath}/BoldItalic/OpenSans-BoldItalic.ttf') format('truetype'),
+ url('@{OpenSansPath}/BoldItalic/OpenSans-BoldItalic.svg#OpenSansBoldItalic') format('svg');
+ font-weight: bold;
+ font-style: italic;
+}
+/* END Bold Italic */
+
+/* BEGIN Extrabold */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('@{OpenSansPath}/ExtraBold/OpenSans-ExtraBold.eot');
+ src: url('@{OpenSansPath}/ExtraBold/OpenSans-ExtraBold.eot?#iefix') format('embedded-opentype'),
+ url('@{OpenSansPath}/ExtraBold/OpenSans-ExtraBold.woff') format('woff'),
+ url('@{OpenSansPath}/ExtraBold/OpenSans-ExtraBold.ttf') format('truetype'),
+ url('@{OpenSansPath}/ExtraBold/OpenSans-ExtraBold.svg#OpenSansExtrabold') format('svg');
+ font-weight: 800;
+ font-style: normal;
+}
+/* END Extrabold */
+
+/* BEGIN Extrabold Italic */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('@{OpenSansPath}/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot');
+ src: url('@{OpenSansPath}/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot?#iefix') format('embedded-opentype'),
+ url('@{OpenSansPath}/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff') format('woff'),
+ url('@{OpenSansPath}/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf') format('truetype'),
+ url('@{OpenSansPath}/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg#OpenSansExtraboldItalic') format('svg');
+ font-weight: 800;
+ font-style: italic;
+}
+/* END Extrabold Italic */
diff --git a/1.2.19/docs/components/open-sans-fontface-1.0.4/open-sans.scss b/1.2.19/docs/components/open-sans-fontface-1.0.4/open-sans.scss
new file mode 100644
index 0000000000..a46063fbb3
--- /dev/null
+++ b/1.2.19/docs/components/open-sans-fontface-1.0.4/open-sans.scss
@@ -0,0 +1,133 @@
+/* Open Sans @font-face kit */
+
+$OpenSansPath: "./fonts" !default;
+
+/* BEGIN Light */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('#{$OpenSansPath}/Light/OpenSans-Light.eot');
+ src: url('#{$OpenSansPath}/Light/OpenSans-Light.eot?#iefix') format('embedded-opentype'),
+ url('#{$OpenSansPath}/Light/OpenSans-Light.woff') format('woff'),
+ url('#{$OpenSansPath}/Light/OpenSans-Light.ttf') format('truetype'),
+ url('#{$OpenSansPath}/Light/OpenSans-Light.svg#OpenSansLight') format('svg');
+ font-weight: 300;
+ font-style: normal;
+}
+/* END Light */
+
+/* BEGIN Light Italic */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('#{$OpenSansPath}/LightItalic/OpenSans-LightItalic.eot');
+ src: url('#{$OpenSansPath}/LightItalic/OpenSans-LightItalic.eot?#iefix') format('embedded-opentype'),
+ url('#{$OpenSansPath}/LightItalic/OpenSans-LightItalic.woff') format('woff'),
+ url('#{$OpenSansPath}/LightItalic/OpenSans-LightItalic.ttf') format('truetype'),
+ url('#{$OpenSansPath}/LightItalic/OpenSans-LightItalic.svg#OpenSansLightItalic') format('svg');
+ font-weight: 300;
+ font-style: italic;
+}
+/* END Light Italic */
+
+/* BEGIN Regular */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('#{$OpenSansPath}/Regular/OpenSans-Regular.eot');
+ src: url('#{$OpenSansPath}/Regular/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
+ url('#{$OpenSansPath}/Regular/OpenSans-Regular.woff') format('woff'),
+ url('#{$OpenSansPath}/Regular/OpenSans-Regular.ttf') format('truetype'),
+ url('#{$OpenSansPath}/Regular/OpenSans-Regular.svg#OpenSansRegular') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+/* END Regular */
+
+/* BEGIN Italic */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('#{$OpenSansPath}/Italic/OpenSans-Italic.eot');
+ src: url('#{$OpenSansPath}/Italic/OpenSans-Italic.eot?#iefix') format('embedded-opentype'),
+ url('#{$OpenSansPath}/Italic/OpenSans-Italic.woff') format('woff'),
+ url('#{$OpenSansPath}/Italic/OpenSans-Italic.ttf') format('truetype'),
+ url('#{$OpenSansPath}/Italic/OpenSans-Italic.svg#OpenSansItalic') format('svg');
+ font-weight: normal;
+ font-style: italic;
+}
+/* END Italic */
+
+/* BEGIN Semibold */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('#{$OpenSansPath}/Semibold/OpenSans-Semibold.eot');
+ src: url('#{$OpenSansPath}/Semibold/OpenSans-Semibold.eot?#iefix') format('embedded-opentype'),
+ url('#{$OpenSansPath}/Semibold/OpenSans-Semibold.woff') format('woff'),
+ url('#{$OpenSansPath}/Semibold/OpenSans-Semibold.ttf') format('truetype'),
+ url('#{$OpenSansPath}/Semibold/OpenSans-Semibold.svg#OpenSansSemibold') format('svg');
+ font-weight: 600;
+ font-style: normal;
+}
+/* END Semibold */
+
+/* BEGIN Semibold Italic */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('#{$OpenSansPath}/SemiboldItalic/OpenSans-SemiboldItalic.eot');
+ src: url('#{$OpenSansPath}/SemiboldItalic/OpenSans-SemiboldItalic.eot?#iefix') format('embedded-opentype'),
+ url('#{$OpenSansPath}/SemiboldItalic/OpenSans-SemiboldItalic.woff') format('woff'),
+ url('#{$OpenSansPath}/SemiboldItalic/OpenSans-SemiboldItalic.ttf') format('truetype'),
+ url('#{$OpenSansPath}/SemiboldItalic/OpenSans-SemiboldItalic.svg#OpenSansSemiboldItalic') format('svg');
+ font-weight: 600;
+ font-style: italic;
+}
+/* END Semibold Italic */
+
+/* BEGIN Bold */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('#{$OpenSansPath}/Bold/OpenSans-Bold.eot');
+ src: url('#{$OpenSansPath}/Bold/OpenSans-Bold.eot?#iefix') format('embedded-opentype'),
+ url('#{$OpenSansPath}/Bold/OpenSans-Bold.woff') format('woff'),
+ url('#{$OpenSansPath}/Bold/OpenSans-Bold.ttf') format('truetype'),
+ url('#{$OpenSansPath}/Bold/OpenSans-Bold.svg#OpenSansBold') format('svg');
+ font-weight: bold;
+ font-style: normal;
+}
+/* END Bold */
+
+/* BEGIN Bold Italic */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('#{$OpenSansPath}/BoldItalic/OpenSans-BoldItalic.eot');
+ src: url('#{$OpenSansPath}/BoldItalic/OpenSans-BoldItalic.eot?#iefix') format('embedded-opentype'),
+ url('#{$OpenSansPath}/BoldItalic/OpenSans-BoldItalic.woff') format('woff'),
+ url('#{$OpenSansPath}/BoldItalic/OpenSans-BoldItalic.ttf') format('truetype'),
+ url('#{$OpenSansPath}/BoldItalic/OpenSans-BoldItalic.svg#OpenSansBoldItalic') format('svg');
+ font-weight: bold;
+ font-style: italic;
+}
+/* END Bold Italic */
+
+/* BEGIN Extrabold */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('#{$OpenSansPath}/ExtraBold/OpenSans-ExtraBold.eot');
+ src: url('#{$OpenSansPath}/ExtraBold/OpenSans-ExtraBold.eot?#iefix') format('embedded-opentype'),
+ url('#{$OpenSansPath}/ExtraBold/OpenSans-ExtraBold.woff') format('woff'),
+ url('#{$OpenSansPath}/ExtraBold/OpenSans-ExtraBold.ttf') format('truetype'),
+ url('#{$OpenSansPath}/ExtraBold/OpenSans-ExtraBold.svg#OpenSansExtrabold') format('svg');
+ font-weight: 800;
+ font-style: normal;
+}
+/* END Extrabold */
+
+/* BEGIN Extrabold Italic */
+@font-face {
+ font-family: 'Open Sans';
+ src: url('#{$OpenSansPath}/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot');
+ src: url('#{$OpenSansPath}/ExtraBoldItalic/OpenSans-ExtraBoldItalic.eot?#iefix') format('embedded-opentype'),
+ url('#{$OpenSansPath}/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff') format('woff'),
+ url('#{$OpenSansPath}/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf') format('truetype'),
+ url('#{$OpenSansPath}/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg#OpenSansExtraboldItalic') format('svg');
+ font-weight: 800;
+ font-style: italic;
+}
+/* END Extrabold Italic */
diff --git a/1.2.19/docs/css/animations.css b/1.2.19/docs/css/animations.css
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/1.2.19/docs/css/doc_widgets.css b/1.2.19/docs/css/doc_widgets.css
new file mode 100644
index 0000000000..587d5a7e3c
--- /dev/null
+++ b/1.2.19/docs/css/doc_widgets.css
@@ -0,0 +1,150 @@
+ul.doc-example {
+ list-style-type: none;
+ position: relative;
+ font-size: 14px;
+}
+
+ul.doc-example > li {
+ border: 2px solid gray;
+ border-radius: 5px;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ background-color: white;
+ margin-bottom: 20px;
+}
+
+ul.doc-example > li.doc-example-heading {
+ border: none;
+ border-radius: 0;
+ margin-bottom: -10px;
+}
+
+span.nojsfiddle {
+ float: right;
+ font-size: 14px;
+ margin-right:10px;
+ margin-top: 10px;
+}
+
+form.jsfiddle {
+ position: absolute;
+ right: 0;
+ z-index: 1;
+ height: 14px;
+}
+
+form.jsfiddle button {
+ cursor: pointer;
+ padding: 4px 10px;
+ margin: 10px;
+ background-color: #FFF;
+ font-weight: bold;
+ color: #7989D6;
+ border-color: #7989D6;
+ -moz-border-radius: 8px;
+ -webkit-border-radius:8px;
+ border-radius: 8px;
+}
+
+form.jsfiddle textarea, form.jsfiddle input {
+ display: none;
+}
+
+li.doc-example-live {
+ padding: 10px;
+ font-size: 1.2em;
+}
+
+div.syntaxhighlighter {
+ padding-bottom: 1px !important; /* fix to remove unnecessary scrollbars http://is.gd/gSMgC */
+}
+
+/* TABS - tutorial environment navigation */
+
+div.tabs-nav {
+ height: 25px;
+ position: relative;
+}
+
+div.tabs-nav ul li {
+ list-style: none;
+ display: inline-block;
+ padding: 5px 10px;
+}
+
+div.tabs-nav ul li.current a {
+ color: white;
+ text-decoration: none;
+}
+
+div.tabs-nav ul li.current {
+ background: #7989D6;
+ -moz-box-shadow: 4px 4px 6px #48577D;
+ -moz-border-radius-topright: 8px;
+ -moz-border-radius-topleft: 8px;
+ box-shadow: 4px 4px 6px #48577D;
+ border-radius-topright: 8px;
+ border-radius-topleft: 8px;
+ -webkit-box-shadow: 4px 4px 6px #48577D;
+ -webkit-border-top-right-radius: 8px;
+ -webkit-border-top-left-radius: 8px;
+ border-top-right-radius: 8px;
+ border-top-left-radius: 8px;
+}
+
+div.tabs-content {
+ padding: 4px;
+ position: relative;
+ background: #7989D6;
+ -moz-border-radius: 8px;
+ border-radius: 8px;
+ -webkit-border-radius: 8px;
+}
+
+div.tabs-content-inner {
+ margin: 1px;
+ padding: 10px;
+ background: white;
+ border-radius: 6px;
+ -moz-border-radius: 6px;
+ -webkit-border-radius: 6px;
+}
+
+
+/* Tutorial Nav Bar */
+
+#tutorial-nav {
+ margin: 0.5em 0 1em 0;
+ padding: 0;
+ list-style-type: none;
+ background: #7989D6;
+
+ -moz-border-radius: 15px;
+ -webkit-border-radius: 15px;
+ border-radius: 15px;
+
+ -moz-box-shadow: 4px 4px 6px #48577D;
+ -webkit-box-shadow: 4px 4px 6px #48577D;
+ box-shadow: 4px 4px 6px #48577D;
+}
+
+
+#tutorial-nav li {
+ display: inline;
+}
+
+
+#tutorial-nav a:link, #tutorial-nav a:visited {
+ font-size: 1.2em;
+ color: #FFF;
+ text-decoration: none;
+ text-align: center;
+ display: inline-block;
+ width: 11em;
+ padding: 0.2em 0;
+}
+
+
+#tutorial-nav a:hover {
+ color: #000;
+}
diff --git a/1.2.19/docs/css/docs.css b/1.2.19/docs/css/docs.css
new file mode 100644
index 0000000000..ea7821d1c6
--- /dev/null
+++ b/1.2.19/docs/css/docs.css
@@ -0,0 +1,686 @@
+html, body {
+ position:relative;
+ height:100%;
+}
+
+#wrapper {
+ min-height:100%;
+ position:relative;
+ padding-bottom:120px;
+}
+
+.footer {
+ border-top:20px solid white;
+ position:absolute;
+ bottom:0;
+ left:0;
+ right:0;
+ z-index:100;
+ padding-top: 2em;
+ background-color: #333;
+ color: white;
+ padding-bottom: 2em;
+}
+
+.header-fixed {
+ position:fixed;
+ z-index:1000;
+ top:0;
+ left:0;
+ right:0;
+}
+
+.header-branding {
+ min-height:41px!important;
+}
+
+.docs-navbar-primary {
+ border-radius:0!important;
+ margin-bottom:0!important;
+}
+
+/* Logo */
+/*.dropdown-menu {
+ display:none;
+}
+*/
+h1,h2,h3,h4,h5,h6 {
+ font-family: "Open Sans";
+}
+
+.subnav-body {
+ margin:70px 0 20px;
+}
+
+.header .brand {
+ padding-top: 6px;
+ padding-bottom: 0px;
+}
+
+.header .brand img {
+ margin-top:5px;
+ height: 30px;
+}
+
+.docs-search {
+ margin:10px 0;
+ padding:4px 0 4px 20px;
+ background:white;
+ border-radius:20px;
+ vertical-align:middle;
+}
+
+.docs-search > .search-query {
+ font-size:14px;
+ border:0;
+ width:80%;
+ color:#555;
+}
+
+.docs-search > .search-icon {
+ font-size:15px;
+ margin-right:10px;
+}
+
+.docs-search > .search-query:focus {
+ outline:0;
+}
+
+/* end: Logo */
+
+
+.spacer {
+ height: 1em;
+}
+
+
+.icon-cog {
+ line-height: 13px;
+}
+
+.naked-list,
+.naked-list ul,
+.naked-list li {
+ list-style:none;
+ margin:0;
+ padding:0;
+}
+
+.nav-index-section a {
+ font-weight:bold;
+ font-family: "Open Sans";
+ color:black!important;
+ margin-top:10px;
+ display:block;
+}
+
+.nav-index-group {
+ margin-bottom:20px!important;
+}
+
+.nav-index-group-heading {
+ color:#6F0101;
+ font-weight:bold;
+ font-size:1.2em;
+ padding:0;
+ margin:0;
+ border-bottom:1px soild #aaa;
+ margin-bottom:5px;
+}
+
+.nav-breadcrumb {
+ margin:4px 0;
+ padding:0;
+}
+
+.nav-breadcrumb-entry {
+ font-family: "Open Sans";
+ padding:0;
+ margin:0;
+ font-size:18px;
+ display:inline-block;
+ vertical-align:middle;
+}
+
+.nav-breadcrumb-entry > .divider {
+ color:#555;
+ display:inline-block;
+ padding-left:8px;
+}
+
+.nav-breadcrumb-entry > span,
+.nav-breadcrumb-entry > a {
+ color:#6F0101;
+}
+
+.step-list > li:nth-child(1) {
+ padding-left:20px;
+}
+
+.step-list > li:nth-child(2) {
+ padding-left:40px;
+}
+
+.step-list > li:nth-child(3) {
+ padding-left:60px;
+}
+
+.api-profile-header-heading {
+ margin:0;
+ padding:0;
+}
+
+.api-profile-header-structure,
+.api-profile-header-structure a {
+ font-family: "Open Sans";
+ font-weight:bold;
+ color:#999;
+}
+
+.api-profile-section {
+ margin-top:30px;
+ padding-top:30px;
+ border-top:1px solid #aaa;
+}
+
+pre {
+ white-space: pre-wrap;
+ word-break: normal;
+}
+
+.aside-nav a,
+.aside-nav a:link,
+.aside-nav a:visited,
+.aside-nav a:active {
+ color:#999;
+}
+.aside-nav a:hover {
+ color:black;
+}
+
+.api-profile-description > p:first-child {
+ margin:15px 0;
+ font-size:18px;
+}
+
+p > code,
+code.highlighted {
+ background:#f4f4f4;
+ border-radius:5px;
+ padding:2px 5px;
+ color:maroon;
+}
+
+.docs-version-jump {
+ min-width:100%;
+ max-width:100%;
+}
+
+.picker {
+ position: relative;
+ width: auto;
+ display: inline-block;
+ margin: 0 0 2px 1.2%;
+ overflow: hidden;
+ border: 1px solid #e5e5e5;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ -ms-border-radius: 4px;
+ -o-border-radius: 4px;
+ border-radius: 4px;
+ font-family: "Open Sans";
+ font-weight: 600;
+ height: auto;
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #f2f2f2));
+ background-image: -webkit-linear-gradient(#ffffff, #f2f2f2);
+ background-image: -moz-linear-gradient(#ffffff, #f2f2f2);
+ background-image: -o-linear-gradient(#ffffff, #f2f2f2);
+ background-image: linear-gradient(#ffffff, #f2f2f2);
+}
+
+.picker select {
+ position: relative;
+ display: block;
+ min-width: 100%;
+ width: 120%;
+ height: 34px;
+ padding: 6px 30px 6px 15px;
+ color: #555555;
+ border: none;
+ background: transparent;
+ outline: none;
+ -webkit-appearance: none;
+ z-index: 99;
+ cursor: pointer;
+ font-size: 16px;
+ -moz-appearance: none;
+ text-indent: 0.01px;
+ text-overflow: '';
+}
+
+.picker:after {
+ content:"";
+ position: absolute;
+ right: 8%;
+ top: 50%;
+ z-index: 0;
+ color: #999;
+ width: 0;
+ margin-top:-2px;
+ height: 0;
+ border-top: 6px solid;
+ border-right: 6px solid transparent;
+ border-left: 6px solid transparent;
+}
+
+iframe.example {
+ width: 100%;
+ border: 1px solid black;
+}
+
+.search-results-frame {
+ clear:both;
+ display:table;
+ width:100%;
+}
+
+.search-results.ng-hide {
+ display:none;
+}
+
+.search-results-container {
+ padding-bottom:1em;
+ border-top:1px solid #111;
+ background:#181818;
+ box-shadow:inset 0 0 10px #111;
+}
+
+.search-results-container .search-results-group {
+ vertical-align:top;
+ padding:10px 10px;
+ display:inline-block;
+}
+
+.search-results-group-heading {
+ font-family: "Open Sans";
+ padding-left:10px;
+ color:white;
+}
+
+.search-results-frame > .search-results-group:first-child > .search-results {
+ border-right:1px solid #050505;
+}
+
+.search-results-group.col-group-api { width:30%; }
+.search-results-group.col-group-guide { width:30%; }
+.search-results-group.col-group-tutorial { width:25%; }
+.search-results-group.col-group-misc,
+.search-results-group.col-group-error { float:right; clear:both; width:15% }
+
+
+.search-results-group.col-group-api .search-result {
+ width:48%;
+ display:inline-block;
+}
+
+.search-close {
+ position: absolute;
+ bottom: 0;
+ left: 50%;
+ margin-left: -100px;
+ color: white;
+ text-align: center;
+ padding: 5px;
+ background: #333;
+ border-top-right-radius: 5px;
+ border-top-left-radius: 5px;
+ width: 200px;
+ box-shadow:0 0 10px #111;
+}
+
+.variables-matrix {
+ border:1px solid #ddd;
+ width:100%;
+ margin:10px 0;
+}
+
+.variables-matrix td,
+.variables-matrix th {
+ padding:10px;
+}
+
+.variables-matrix td {
+ border-top:1px solid #eee;
+}
+
+.variables-matrix td + td,
+.variables-matrix th + th {
+ border-left:1px solid #eee;
+}
+
+.variables-matrix tr:nth-child(even) td {
+ background:#f5f5f5;
+}
+
+.variables-matrix th {
+ background:#f1f1f1;
+}
+
+.sup-header {
+ padding-top:10px;
+ padding-bottom:5px;
+ background:rgba(245,245,245,0.88);
+ box-shadow:0 0 2px #999;
+}
+
+.main-body-grid {
+ margin-top:120px;
+ position:relative;
+}
+
+.main-body-grid > .grid-left,
+.main-body-grid > .grid-right {
+ padding:20px 0;
+}
+
+.main-body-grid > .grid-left {
+ position:fixed;
+ top:120px;
+ bottom:0;
+ padding-bottom:120px;
+ overflow:auto;
+}
+
+.main-header-grid > .grid-left,
+.main-body-grid > .grid-left {
+ width:260px;
+}
+
+.main-header-grid > .grid-right,
+.main-body-grid > .grid-right {
+ margin-left:270px;
+ position:relative;
+}
+
+.main-header-grid > .grid-left {
+ float:left;
+}
+
+.main-body-grid .side-navigation {
+ position:relative;
+}
+
+.main-body-grid .side-navigation.ng-hide {
+ display:block!important;
+}
+
+.variables-matrix td {
+ vertical-align:top;
+ padding:5px;
+}
+
+.type-hint {
+ display:inline-block;
+ background: gray;
+}
+
+.variables-matrix .type-hint {
+ text-align:center;
+ min-width:60px;
+ margin:1px 5px;
+}
+
+.type-hint + .type-hint {
+ margin-top:5px;
+}
+
+.type-hint-expression {
+ background:purple;
+}
+
+.type-hint-date {
+ background:pink;
+}
+
+.type-hint-string {
+ background:#3a87ad;
+}
+
+.type-hint-function {
+ background:green;
+}
+
+.type-hint-object {
+ background:#999;
+}
+
+.type-hint-array {
+ background:#F90;;
+}
+
+.type-hint-boolean {
+ background:rgb(18, 131, 39);
+}
+
+.type-hint-number {
+ background:rgb(189, 63, 66);
+}
+
+.type-hint-regexp {
+ background: rgb(90, 84, 189);
+}
+
+.type-hint-domelement {
+ background: rgb(95, 158, 160);
+}
+
+.runnable-example-frame {
+ width:100%;
+ height:300px;
+ border: 1px solid #ddd;
+ border-radius:5px;
+}
+
+.runnable-example-tabs {
+ margin-top:10px;
+ margin-bottom:20px;
+}
+
+.tutorial-nav {
+ display:block;
+}
+
+h1 + ul, h1 + ul > li,
+h2 + ul, h2 + ul > li,
+ul.tutorial-nav, ul.tutorial-nav > li,
+.usage > ul, .usage > ul > li,
+ul.methods, ul.methods > li,
+ul.events, ul.events > li {
+ list-style:none;
+ padding:0;
+}
+
+h2 {
+ border-top:1px solid #eee;
+ margin-top:30px;
+ padding-top:30px;
+}
+
+h4 {
+ margin-top:20px;
+ padding-top:20px;
+}
+
+.btn {
+ color:#428bca;
+ position: relative;
+ width: auto;
+ display: inline-block;
+ margin: 0 0 2px;
+ overflow: hidden;
+ border: 1px solid #e5e5e5;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ -ms-border-radius: 4px;
+ -o-border-radius: 4px;
+ border-radius: 4px;
+ font-family: "Open Sans";
+ font-weight: 600;
+ height: auto;
+ background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #f2f2f2));
+ background-image: -webkit-linear-gradient(#ffffff, #f2f2f2);
+ background-image: -moz-linear-gradient(#ffffff, #f2f2f2);
+ background-image: -o-linear-gradient(#ffffff, #f2f2f2);
+ background-image: linear-gradient(#ffffff, #f2f2f2);
+}
+
+.btn + .btn {
+ margin-left:10px;
+}
+
+.btn:hover {
+ color:black!important;
+ border: 1px solid #ddd!important;
+ background:white!important;
+}
+
+.view-source, .improve-docs {
+ position:relative;
+ z-index:100;
+}
+
+.view-source {
+ margin-right:10px;
+}
+
+.improve-docs {
+ float:right;
+}
+
+.return-arguments,
+.return-arguments th,
+.return-arguments th + th,
+.return-arguments td,
+.return-arguments td + td {
+ border-radius:0;
+ border:0;
+}
+
+.return-arguments td:first-child {
+ width:100px;
+}
+
+ul.methods > li,
+ul.events > li {
+ margin-bottom:40px;
+}
+
+@media only screen and (min-width: 769px) and (max-width: 991px) {
+ .main-body-grid {
+ margin-top: 160px;
+ }
+ .main-body-grid > .grid-left {
+ top: 160px;
+ }
+}
+
+@media only screen and (max-width : 768px) {
+ .picker, .picker select {
+ width:auto;
+ display:block;
+ margin-bottom:10px;
+ }
+ .docs-navbar-primary {
+ text-align:center;
+ }
+ .main-body-grid {
+ margin-top:0;
+ }
+ .main-header-grid > .grid-left,
+ .main-body-grid > .grid-left,
+ .main-header-grid > .grid-right,
+ .main-body-grid > .grid-right {
+ display:block;
+ float:none;
+ width:auto!important;
+ margin-left:0;
+ }
+ .main-body-grid > .grid-left,
+ .header-fixed, .footer {
+ position:static!important;
+ }
+ .main-body-grid > .grid-left {
+ background:#efefef;
+ margin-left:-1em;
+ margin-right:-1em;
+ padding:1em;
+ width:auto!important;
+ overflow:visible;
+ }
+ .main-header-grid > .grid-right,
+ .main-body-grid > .grid-right {
+ margin-left:0;
+ }
+ .main-body-grid .side-navigation {
+ display:block!important;
+ }
+ .main-body-grid .side-navigation.ng-hide {
+ display:none!important;
+ }
+ .nav-index-group .nav-index-listing {
+ display:inline-block;
+ padding:3px 0;
+ }
+ .nav-index-group .nav-index-listing:not(.nav-index-section) + .nav-index-listing:not(.nav-index-section):after {
+ padding-right:5px;
+ content:", ";
+ }
+ .nav-index-group .nav-index-listing:last-child {
+ content:"";
+ }
+ .nav-index-group .nav-index-section {
+ display:block;
+ }
+ .toc-toggle {
+ margin-bottom:20px;
+ }
+ .toc-close {
+ position: absolute;
+ bottom: -50px;
+ left: 50%;
+ margin-left: -50%;
+ text-align: center;
+ padding: 5px;
+ background: #eee;
+ border-radius: 5px;
+ width: 90%;
+ border:1px solid #ddd;
+ box-shadow:0 0 10px #bbb;
+ }
+ .navbar-brand {
+ float:none;
+ text-align:center;
+ }
+ .search-results-container {
+ padding-bottom:60px;
+ text-align:left;
+ }
+ .search-results-group {
+ float:none!important;
+ display:block!important;
+ width:auto!important;
+ border:0!important;
+ padding:0!important;
+ }
+ .search-results-group .search-result {
+ display:inline-block!important;
+ padding:0 5px;
+ width:auto!important;
+ }
+ .search-results-group .search-result:after {
+ content:", ";
+ }
+ #wrapper {
+ padding-bottom:0px;
+ }
+}
diff --git a/1.2.19/docs/css/prettify-theme.css b/1.2.19/docs/css/prettify-theme.css
new file mode 100644
index 0000000000..86595bcea9
--- /dev/null
+++ b/1.2.19/docs/css/prettify-theme.css
@@ -0,0 +1,138 @@
+/* GitHub Theme */
+.prettyprint {
+ background: white;
+ font-family: Menlo, 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, monospace;
+ font-size: 12px;
+ line-height: 1.5;
+}
+
+.pln {
+ color: #333333;
+}
+
+@media screen {
+ .str {
+ color: #dd1144;
+ }
+
+ .kwd {
+ color: #333333;
+ }
+
+ .com {
+ color: #999988;
+ }
+
+ .typ {
+ color: #445588;
+ }
+
+ .lit {
+ color: #445588;
+ }
+
+ .pun {
+ color: #333333;
+ }
+
+ .opn {
+ color: #333333;
+ }
+
+ .clo {
+ color: #333333;
+ }
+
+ .tag {
+ color: navy;
+ }
+
+ .atn {
+ color: teal;
+ }
+
+ .atv {
+ color: #dd1144;
+ }
+
+ .dec {
+ color: #333333;
+ }
+
+ .var {
+ color: teal;
+ }
+
+ .fun {
+ color: #990000;
+ }
+}
+@media print, projection {
+ .str {
+ color: #006600;
+ }
+
+ .kwd {
+ color: #006;
+ font-weight: bold;
+ }
+
+ .com {
+ color: #600;
+ font-style: italic;
+ }
+
+ .typ {
+ color: #404;
+ font-weight: bold;
+ }
+
+ .lit {
+ color: #004444;
+ }
+
+ .pun, .opn, .clo {
+ color: #444400;
+ }
+
+ .tag {
+ color: #006;
+ font-weight: bold;
+ }
+
+ .atn {
+ color: #440044;
+ }
+
+ .atv {
+ color: #006600;
+ }
+}
+/* Specify class=linenums on a pre to get line numbering */
+ol.linenums {
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+/* IE indents via margin-left */
+li.L0,
+li.L1,
+li.L2,
+li.L3,
+li.L4,
+li.L5,
+li.L6,
+li.L7,
+li.L8,
+li.L9 {
+ /* */
+}
+
+/* Alternate shading for lines */
+li.L1,
+li.L3,
+li.L5,
+li.L7,
+li.L9 {
+ /* */
+}
diff --git a/1.2.19/docs/css/prettify.css b/1.2.19/docs/css/prettify.css
new file mode 100644
index 0000000000..16e0cafbfe
--- /dev/null
+++ b/1.2.19/docs/css/prettify.css
@@ -0,0 +1,51 @@
+.pln { color: #000 } /* plain text */
+
+@media screen {
+ .str { color: #080 } /* string content */
+ .kwd { color: #008 } /* a keyword */
+ .com { color: #800 } /* a comment */
+ .typ { color: #606 } /* a type name */
+ .lit { color: #066 } /* a literal value */
+ /* punctuation, lisp open bracket, lisp close bracket */
+ .pun, .opn, .clo { color: #660 }
+ .tag { color: #008 } /* a markup tag name */
+ .atn { color: #606 } /* a markup attribute name */
+ .atv { color: #080 } /* a markup attribute value */
+ .dec, .var { color: #606 } /* a declaration; a variable name */
+ .fun { color: red } /* a function name */
+}
+
+/* Use higher contrast and text-weight for printable form. */
+@media print, projection {
+ .str { color: #060 }
+ .kwd { color: #006; font-weight: bold }
+ .com { color: #600; font-style: italic }
+ .typ { color: #404; font-weight: bold }
+ .lit { color: #044 }
+ .pun, .opn, .clo { color: #440 }
+ .tag { color: #006; font-weight: bold }
+ .atn { color: #404 }
+ .atv { color: #060 }
+}
+
+pre.prettyprint {
+ padding: 8px;
+ background-color: #f7f7f9;
+ border: 1px solid #e1e1e8;
+}
+pre.prettyprint.linenums {
+ -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
+ -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
+ box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
+}
+ol.linenums {
+ margin: 0 0 0 33px; /* IE indents via margin-left */
+}
+ol.linenums li {
+ padding-left: 12px;
+ font-size:12px;
+ color: #bebec5;
+ line-height: 18px;
+ text-shadow: 0 1px 0 #fff;
+ list-style-type:decimal!important;
+}
diff --git a/1.2.19/docs/examples/example-$filter/index-debug.html b/1.2.19/docs/examples/example-$filter/index-debug.html
new file mode 100644
index 0000000000..51bf6e5058
--- /dev/null
+++ b/1.2.19/docs/examples/example-$filter/index-debug.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-$filter-debug
+
+
+
+
+
+
+
+
+
+
+
{{ originalText }}
+ {{ filteredText }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-$filter/index-jquery.html b/1.2.19/docs/examples/example-$filter/index-jquery.html
new file mode 100644
index 0000000000..e1800097ed
--- /dev/null
+++ b/1.2.19/docs/examples/example-$filter/index-jquery.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-$filter-jquery
+
+
+
+
+
+
+
+
+
+
+
+
{{ originalText }}
+ {{ filteredText }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-$filter/index-production.html b/1.2.19/docs/examples/example-$filter/index-production.html
new file mode 100644
index 0000000000..36a3acdde4
--- /dev/null
+++ b/1.2.19/docs/examples/example-$filter/index-production.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-$filter-production
+
+
+
+
+
+
+
+
+
+
+
{{ originalText }}
+ {{ filteredText }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-$filter/index.html b/1.2.19/docs/examples/example-$filter/index.html
new file mode 100644
index 0000000000..b4924a6f9c
--- /dev/null
+++ b/1.2.19/docs/examples/example-$filter/index.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-$filter
+
+
+
+
+
+
+
+
+
+
+
{{ originalText }}
+ {{ filteredText }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-$filter/manifest.json b/1.2.19/docs/examples/example-$filter/manifest.json
new file mode 100644
index 0000000000..0d2a67bb53
--- /dev/null
+++ b/1.2.19/docs/examples/example-$filter/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-$filter",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-$filter/script.js b/1.2.19/docs/examples/example-$filter/script.js
new file mode 100644
index 0000000000..1fa286a06b
--- /dev/null
+++ b/1.2.19/docs/examples/example-$filter/script.js
@@ -0,0 +1,5 @@
+ angular.module('filterExample', [])
+ .controller('MainCtrl', function($scope, $filter) {
+ $scope.originalText = 'hello';
+ $scope.filteredText = $filter('uppercase')($scope.originalText);
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-$route-service/book.html b/1.2.19/docs/examples/example-$route-service/book.html
new file mode 100644
index 0000000000..94e4b4bf95
--- /dev/null
+++ b/1.2.19/docs/examples/example-$route-service/book.html
@@ -0,0 +1,2 @@
+ controller: {{name}}
+ Book Id: {{params.bookId}}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-$route-service/chapter.html b/1.2.19/docs/examples/example-$route-service/chapter.html
new file mode 100644
index 0000000000..43b15f580f
--- /dev/null
+++ b/1.2.19/docs/examples/example-$route-service/chapter.html
@@ -0,0 +1,3 @@
+ controller: {{name}}
+ Book Id: {{params.bookId}}
+ Chapter Id: {{params.chapterId}}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-$route-service/index-debug.html b/1.2.19/docs/examples/example-$route-service/index-debug.html
new file mode 100644
index 0000000000..2c2b009094
--- /dev/null
+++ b/1.2.19/docs/examples/example-$route-service/index-debug.html
@@ -0,0 +1,37 @@
+
+
+
+
+ Example - example-$route-service-debug
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
+
$location.path() = {{$location.path()}}
+
$route.current.templateUrl = {{$route.current.templateUrl}}
+
$route.current.params = {{$route.current.params}}
+
$route.current.scope.name = {{$route.current.scope.name}}
+
$routeParams = {{$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-$route-service/index-jquery.html b/1.2.19/docs/examples/example-$route-service/index-jquery.html
new file mode 100644
index 0000000000..051254d7c3
--- /dev/null
+++ b/1.2.19/docs/examples/example-$route-service/index-jquery.html
@@ -0,0 +1,38 @@
+
+
+
+
+ Example - example-$route-service-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
+
$location.path() = {{$location.path()}}
+
$route.current.templateUrl = {{$route.current.templateUrl}}
+
$route.current.params = {{$route.current.params}}
+
$route.current.scope.name = {{$route.current.scope.name}}
+
$routeParams = {{$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-$route-service/index-production.html b/1.2.19/docs/examples/example-$route-service/index-production.html
new file mode 100644
index 0000000000..62aa65a059
--- /dev/null
+++ b/1.2.19/docs/examples/example-$route-service/index-production.html
@@ -0,0 +1,37 @@
+
+
+
+
+ Example - example-$route-service-production
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
+
$location.path() = {{$location.path()}}
+
$route.current.templateUrl = {{$route.current.templateUrl}}
+
$route.current.params = {{$route.current.params}}
+
$route.current.scope.name = {{$route.current.scope.name}}
+
$routeParams = {{$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-$route-service/index.html b/1.2.19/docs/examples/example-$route-service/index.html
new file mode 100644
index 0000000000..fa84e3127e
--- /dev/null
+++ b/1.2.19/docs/examples/example-$route-service/index.html
@@ -0,0 +1,37 @@
+
+
+
+
+ Example - example-$route-service
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
+
$location.path() = {{$location.path()}}
+
$route.current.templateUrl = {{$route.current.templateUrl}}
+
$route.current.params = {{$route.current.params}}
+
$route.current.scope.name = {{$route.current.scope.name}}
+
$routeParams = {{$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-$route-service/manifest.json b/1.2.19/docs/examples/example-$route-service/manifest.json
new file mode 100644
index 0000000000..0156fd11f9
--- /dev/null
+++ b/1.2.19/docs/examples/example-$route-service/manifest.json
@@ -0,0 +1,10 @@
+{
+ "name": "example-$route-service",
+ "files": [
+ "index-production.html",
+ "book.html",
+ "chapter.html",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-$route-service/protractor.js b/1.2.19/docs/examples/example-$route-service/protractor.js
new file mode 100644
index 0000000000..a0512ced9a
--- /dev/null
+++ b/1.2.19/docs/examples/example-$route-service/protractor.js
@@ -0,0 +1,13 @@
+ it('should load and compile correct template', function() {
+ element(by.linkText('Moby: Ch1')).click();
+ var content = element(by.css('[ng-view]')).getText();
+ expect(content).toMatch(/controller\: ChapterController/);
+ expect(content).toMatch(/Book Id\: Moby/);
+ expect(content).toMatch(/Chapter Id\: 1/);
+
+ element(by.partialLinkText('Scarlet')).click();
+
+ content = element(by.css('[ng-view]')).getText();
+ expect(content).toMatch(/controller\: BookController/);
+ expect(content).toMatch(/Book Id\: Scarlet/);
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-$route-service/script.js b/1.2.19/docs/examples/example-$route-service/script.js
new file mode 100644
index 0000000000..0c77c4d097
--- /dev/null
+++ b/1.2.19/docs/examples/example-$route-service/script.js
@@ -0,0 +1,40 @@
+ angular.module('ngRouteExample', ['ngRoute'])
+
+ .controller('MainController', function($scope, $route, $routeParams, $location) {
+ $scope.$route = $route;
+ $scope.$location = $location;
+ $scope.$routeParams = $routeParams;
+ })
+
+ .controller('BookController', function($scope, $routeParams) {
+ $scope.name = "BookController";
+ $scope.params = $routeParams;
+ })
+
+ .controller('ChapterController', function($scope, $routeParams) {
+ $scope.name = "ChapterController";
+ $scope.params = $routeParams;
+ })
+
+ .config(function($routeProvider, $locationProvider) {
+ $routeProvider
+ .when('/Book/:bookId', {
+ templateUrl: 'book.html',
+ controller: 'BookController',
+ resolve: {
+ // I will cause a 1 second delay
+ delay: function($q, $timeout) {
+ var delay = $q.defer();
+ $timeout(delay.resolve, 1000);
+ return delay.promise;
+ }
+ }
+ })
+ .when('/Book/:bookId/ch/:chapterId', {
+ templateUrl: 'chapter.html',
+ controller: 'ChapterController'
+ });
+
+ // configure html5 to get links working on jsfiddle
+ $locationProvider.html5Mode(true);
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-NgModelController/index-debug.html b/1.2.19/docs/examples/example-NgModelController/index-debug.html
new file mode 100644
index 0000000000..c9a5be58dc
--- /dev/null
+++ b/1.2.19/docs/examples/example-NgModelController/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-NgModelController-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-NgModelController/index-jquery.html b/1.2.19/docs/examples/example-NgModelController/index-jquery.html
new file mode 100644
index 0000000000..b49e994a15
--- /dev/null
+++ b/1.2.19/docs/examples/example-NgModelController/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-NgModelController-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Change me!
+ Required!
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-NgModelController/index-production.html b/1.2.19/docs/examples/example-NgModelController/index-production.html
new file mode 100644
index 0000000000..af1ea728a2
--- /dev/null
+++ b/1.2.19/docs/examples/example-NgModelController/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-NgModelController-production
+
+
+
+
+
+
+
+
+
+
+
+
+ Change me!
+ Required!
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-NgModelController/index.html b/1.2.19/docs/examples/example-NgModelController/index.html
new file mode 100644
index 0000000000..e845b6374a
--- /dev/null
+++ b/1.2.19/docs/examples/example-NgModelController/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-NgModelController
+
+
+
+
+
+
+
+
+
+
+
+
+ Change me!
+ Required!
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-NgModelController/manifest.json b/1.2.19/docs/examples/example-NgModelController/manifest.json
new file mode 100644
index 0000000000..77bb9769d8
--- /dev/null
+++ b/1.2.19/docs/examples/example-NgModelController/manifest.json
@@ -0,0 +1,9 @@
+{
+ "name": "example-NgModelController",
+ "files": [
+ "index-production.html",
+ "style.css",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-NgModelController/protractor.js b/1.2.19/docs/examples/example-NgModelController/protractor.js
new file mode 100644
index 0000000000..a524f929cc
--- /dev/null
+++ b/1.2.19/docs/examples/example-NgModelController/protractor.js
@@ -0,0 +1,16 @@
+it('should data-bind and become invalid', function() {
+ if (browser.params.browser == 'safari' || browser.params.browser == 'firefox') {
+ // SafariDriver can't handle contenteditable
+ // and Firefox driver can't clear contenteditables very well
+ return;
+ }
+ var contentEditable = element(by.css('[contenteditable]'));
+ var content = 'Change me!';
+
+ expect(contentEditable.getText()).toEqual(content);
+
+ contentEditable.clear();
+ contentEditable.sendKeys(protractor.Key.BACK_SPACE);
+ expect(contentEditable.getText()).toEqual('');
+ expect(contentEditable.getAttribute('class')).toMatch(/ng-invalid-required/);
+});
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-NgModelController/script.js b/1.2.19/docs/examples/example-NgModelController/script.js
new file mode 100644
index 0000000000..275f8df3c8
--- /dev/null
+++ b/1.2.19/docs/examples/example-NgModelController/script.js
@@ -0,0 +1,32 @@
+ angular.module('customControl', ['ngSanitize']).
+ directive('contenteditable', ['$sce', function($sce) {
+ return {
+ restrict: 'A', // only activate on element attribute
+ require: '?ngModel', // get a hold of NgModelController
+ link: function(scope, element, attrs, ngModel) {
+ if(!ngModel) return; // do nothing if no ng-model
+
+ // Specify how UI should be updated
+ ngModel.$render = function() {
+ element.html($sce.getTrustedHtml(ngModel.$viewValue || ''));
+ };
+
+ // Listen for change events to enable binding
+ element.on('blur keyup change', function() {
+ scope.$apply(read);
+ });
+ read(); // initialize
+
+ // Write data to the model
+ function read() {
+ var html = element.html();
+ // When we clear the content editable the browser leaves a behind
+ // If strip-br attribute is provided then we strip this out
+ if( attrs.stripBr && html == ' ' ) {
+ html = '';
+ }
+ ngModel.$setViewValue(html);
+ }
+ }
+ };
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-NgModelController/style.css b/1.2.19/docs/examples/example-NgModelController/style.css
new file mode 100644
index 0000000000..e9a4a054d1
--- /dev/null
+++ b/1.2.19/docs/examples/example-NgModelController/style.css
@@ -0,0 +1,9 @@
+ [contenteditable] {
+ border: 1px solid black;
+ background-color: white;
+ min-height: 20px;
+ }
+
+ .ng-invalid {
+ border: 1px solid red;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-checkbox-input-directive/index-debug.html b/1.2.19/docs/examples/example-checkbox-input-directive/index-debug.html
new file mode 100644
index 0000000000..d4ab65c87a
--- /dev/null
+++ b/1.2.19/docs/examples/example-checkbox-input-directive/index-debug.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-checkbox-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Value1:
+ Value2:
+ value1 = {{value1}}
+ value2 = {{value2}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-checkbox-input-directive/index-jquery.html b/1.2.19/docs/examples/example-checkbox-input-directive/index-jquery.html
new file mode 100644
index 0000000000..526211bf49
--- /dev/null
+++ b/1.2.19/docs/examples/example-checkbox-input-directive/index-jquery.html
@@ -0,0 +1,29 @@
+
+
+
+
+ Example - example-checkbox-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Value1:
+ Value2:
+ value1 = {{value1}}
+ value2 = {{value2}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-checkbox-input-directive/index-production.html b/1.2.19/docs/examples/example-checkbox-input-directive/index-production.html
new file mode 100644
index 0000000000..7e8fbc4bc8
--- /dev/null
+++ b/1.2.19/docs/examples/example-checkbox-input-directive/index-production.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-checkbox-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ Value1:
+ Value2:
+ value1 = {{value1}}
+ value2 = {{value2}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-checkbox-input-directive/index.html b/1.2.19/docs/examples/example-checkbox-input-directive/index.html
new file mode 100644
index 0000000000..2ed09d593e
--- /dev/null
+++ b/1.2.19/docs/examples/example-checkbox-input-directive/index.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-checkbox-input-directive
+
+
+
+
+
+
+
+
+
+
+ Value1:
+ Value2:
+ value1 = {{value1}}
+ value2 = {{value2}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-checkbox-input-directive/manifest.json b/1.2.19/docs/examples/example-checkbox-input-directive/manifest.json
new file mode 100644
index 0000000000..7c0bf82470
--- /dev/null
+++ b/1.2.19/docs/examples/example-checkbox-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-checkbox-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-checkbox-input-directive/protractor.js b/1.2.19/docs/examples/example-checkbox-input-directive/protractor.js
new file mode 100644
index 0000000000..6de643e7f4
--- /dev/null
+++ b/1.2.19/docs/examples/example-checkbox-input-directive/protractor.js
@@ -0,0 +1,13 @@
+ it('should change state', function() {
+ var value1 = element(by.binding('value1'));
+ var value2 = element(by.binding('value2'));
+
+ expect(value1.getText()).toContain('true');
+ expect(value2.getText()).toContain('YES');
+
+ element(by.model('value1')).click();
+ element(by.model('value2')).click();
+
+ expect(value1.getText()).toContain('false');
+ expect(value2.getText()).toContain('NO');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-email-input-directive/index-debug.html b/1.2.19/docs/examples/example-email-input-directive/index-debug.html
new file mode 100644
index 0000000000..832e085328
--- /dev/null
+++ b/1.2.19/docs/examples/example-email-input-directive/index-debug.html
@@ -0,0 +1,33 @@
+
+
+
+
+ Example - example-email-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Email:
+
+ Required!
+
+ Not valid email!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.email = {{!!myForm.$error.email}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-email-input-directive/index-jquery.html b/1.2.19/docs/examples/example-email-input-directive/index-jquery.html
new file mode 100644
index 0000000000..33f1ace05b
--- /dev/null
+++ b/1.2.19/docs/examples/example-email-input-directive/index-jquery.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Example - example-email-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Email:
+
+ Required!
+
+ Not valid email!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.email = {{!!myForm.$error.email}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-email-input-directive/index-production.html b/1.2.19/docs/examples/example-email-input-directive/index-production.html
new file mode 100644
index 0000000000..51debfed4e
--- /dev/null
+++ b/1.2.19/docs/examples/example-email-input-directive/index-production.html
@@ -0,0 +1,33 @@
+
+
+
+
+ Example - example-email-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ Email:
+
+ Required!
+
+ Not valid email!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.email = {{!!myForm.$error.email}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-email-input-directive/index.html b/1.2.19/docs/examples/example-email-input-directive/index.html
new file mode 100644
index 0000000000..ea15cc7f0a
--- /dev/null
+++ b/1.2.19/docs/examples/example-email-input-directive/index.html
@@ -0,0 +1,33 @@
+
+
+
+
+ Example - example-email-input-directive
+
+
+
+
+
+
+
+
+
+
+ Email:
+
+ Required!
+
+ Not valid email!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.email = {{!!myForm.$error.email}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-email-input-directive/manifest.json b/1.2.19/docs/examples/example-email-input-directive/manifest.json
new file mode 100644
index 0000000000..a7348f2b92
--- /dev/null
+++ b/1.2.19/docs/examples/example-email-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-email-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-email-input-directive/protractor.js b/1.2.19/docs/examples/example-email-input-directive/protractor.js
new file mode 100644
index 0000000000..0d7c9a164b
--- /dev/null
+++ b/1.2.19/docs/examples/example-email-input-directive/protractor.js
@@ -0,0 +1,22 @@
+ var text = element(by.binding('text'));
+ var valid = element(by.binding('myForm.input.$valid'));
+ var input = element(by.model('text'));
+
+ it('should initialize to model', function() {
+ expect(text.getText()).toContain('me@example.com');
+ expect(valid.getText()).toContain('true');
+ });
+
+ it('should be invalid if empty', function() {
+ input.clear();
+ input.sendKeys('');
+ expect(text.getText()).toEqual('text =');
+ expect(valid.getText()).toContain('false');
+ });
+
+ it('should be invalid if not email', function() {
+ input.clear();
+ input.sendKeys('xxx');
+
+ expect(valid.getText()).toContain('false');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-error-$rootScope-inprog/app.js b/1.2.19/docs/examples/example-error-$rootScope-inprog/app.js
new file mode 100644
index 0000000000..3cc1ce0486
--- /dev/null
+++ b/1.2.19/docs/examples/example-error-$rootScope-inprog/app.js
@@ -0,0 +1,7 @@
+ angular.module('app', []).directive('setFocusIf', function() {
+ return function link($scope, $element, $attr) {
+ $scope.$watch($attr.setFocusIf, function(value) {
+ if ( value ) { $element[0].focus(); }
+ });
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-error-$rootScope-inprog/index-debug.html b/1.2.19/docs/examples/example-error-$rootScope-inprog/index-debug.html
new file mode 100644
index 0000000000..5fad25046d
--- /dev/null
+++ b/1.2.19/docs/examples/example-error-$rootScope-inprog/index-debug.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-error-$rootScope-inprog-debug
+
+
+
+
+
+
+
+
+
+ Focus
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-error-$rootScope-inprog/index-jquery.html b/1.2.19/docs/examples/example-error-$rootScope-inprog/index-jquery.html
new file mode 100644
index 0000000000..b0fe642042
--- /dev/null
+++ b/1.2.19/docs/examples/example-error-$rootScope-inprog/index-jquery.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-error-$rootScope-inprog-jquery
+
+
+
+
+
+
+
+
+
+
+ Focus
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-error-$rootScope-inprog/index-production.html b/1.2.19/docs/examples/example-error-$rootScope-inprog/index-production.html
new file mode 100644
index 0000000000..7d3e9b49ca
--- /dev/null
+++ b/1.2.19/docs/examples/example-error-$rootScope-inprog/index-production.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-error-$rootScope-inprog-production
+
+
+
+
+
+
+
+
+
+ Focus
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-error-$rootScope-inprog/index.html b/1.2.19/docs/examples/example-error-$rootScope-inprog/index.html
new file mode 100644
index 0000000000..a2060aecdb
--- /dev/null
+++ b/1.2.19/docs/examples/example-error-$rootScope-inprog/index.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-error-$rootScope-inprog
+
+
+
+
+
+
+
+
+
+ Focus
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-error-$rootScope-inprog/manifest.json b/1.2.19/docs/examples/example-error-$rootScope-inprog/manifest.json
new file mode 100644
index 0000000000..1c988f9fab
--- /dev/null
+++ b/1.2.19/docs/examples/example-error-$rootScope-inprog/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-error-$rootScope-inprog",
+ "files": [
+ "index-production.html",
+ "app.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example/index-debug.html b/1.2.19/docs/examples/example-example/index-debug.html
new file mode 100644
index 0000000000..7581b11f10
--- /dev/null
+++ b/1.2.19/docs/examples/example-example/index-debug.html
@@ -0,0 +1,45 @@
+
+
+
+
+ Example - example-example-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example/index-jquery.html b/1.2.19/docs/examples/example-example/index-jquery.html
new file mode 100644
index 0000000000..574cf757a4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example/index-jquery.html
@@ -0,0 +1,46 @@
+
+
+
+
+ Example - example-example-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example/index-production.html b/1.2.19/docs/examples/example-example/index-production.html
new file mode 100644
index 0000000000..bcb7612202
--- /dev/null
+++ b/1.2.19/docs/examples/example-example/index-production.html
@@ -0,0 +1,45 @@
+
+
+
+
+ Example - example-example-production
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example/index.html b/1.2.19/docs/examples/example-example/index.html
new file mode 100644
index 0000000000..c316cbabd9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example/index.html
@@ -0,0 +1,45 @@
+
+
+
+
+ Example - example-example
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example/manifest.json b/1.2.19/docs/examples/example-example/manifest.json
new file mode 100644
index 0000000000..afef434e19
--- /dev/null
+++ b/1.2.19/docs/examples/example-example/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example1/index-debug.html b/1.2.19/docs/examples/example-example1/index-debug.html
new file mode 100644
index 0000000000..fbd55d5d3d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example1/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example1-debug
+
+
+
+
+
+
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example1/index-jquery.html b/1.2.19/docs/examples/example-example1/index-jquery.html
new file mode 100644
index 0000000000..4e64dac9fa
--- /dev/null
+++ b/1.2.19/docs/examples/example-example1/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example1-jquery
+
+
+
+
+
+
+
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example1/index-production.html b/1.2.19/docs/examples/example-example1/index-production.html
new file mode 100644
index 0000000000..ba4c4e71da
--- /dev/null
+++ b/1.2.19/docs/examples/example-example1/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example1-production
+
+
+
+
+
+
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example1/index.html b/1.2.19/docs/examples/example-example1/index.html
new file mode 100644
index 0000000000..cd2ad9b769
--- /dev/null
+++ b/1.2.19/docs/examples/example-example1/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example1
+
+
+
+
+
+
+
+
+
+
+ I can add: {{a}} + {{b}} = {{ a+b }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example1/manifest.json b/1.2.19/docs/examples/example-example1/manifest.json
new file mode 100644
index 0000000000..add5f56bdc
--- /dev/null
+++ b/1.2.19/docs/examples/example-example1/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example1",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example1/script.js b/1.2.19/docs/examples/example-example1/script.js
new file mode 100644
index 0000000000..68333d37e5
--- /dev/null
+++ b/1.2.19/docs/examples/example-example1/script.js
@@ -0,0 +1,4 @@
+angular.module('ngAppDemo', []).controller('ngAppDemoController', function($scope) {
+ $scope.a = 1;
+ $scope.b = 2;
+});
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example10/index-debug.html b/1.2.19/docs/examples/example-example10/index-debug.html
new file mode 100644
index 0000000000..f21f69bf11
--- /dev/null
+++ b/1.2.19/docs/examples/example-example10/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example10-debug
+
+
+
+
+
+
+
+
+ Check me check multiple:
+
+ Show/Hide me
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example10/index-jquery.html b/1.2.19/docs/examples/example-example10/index-jquery.html
new file mode 100644
index 0000000000..5b7929109f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example10/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example10-jquery
+
+
+
+
+
+
+
+
+
+ Check me check multiple:
+
+ Show/Hide me
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example10/index-production.html b/1.2.19/docs/examples/example-example10/index-production.html
new file mode 100644
index 0000000000..a06a21f845
--- /dev/null
+++ b/1.2.19/docs/examples/example-example10/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example10-production
+
+
+
+
+
+
+
+
+ Check me check multiple:
+
+ Show/Hide me
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example10/index.html b/1.2.19/docs/examples/example-example10/index.html
new file mode 100644
index 0000000000..17b09cfea0
--- /dev/null
+++ b/1.2.19/docs/examples/example-example10/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example10
+
+
+
+
+
+
+
+
+ Check me check multiple:
+
+ Show/Hide me
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example10/manifest.json b/1.2.19/docs/examples/example-example10/manifest.json
new file mode 100644
index 0000000000..947ad10326
--- /dev/null
+++ b/1.2.19/docs/examples/example-example10/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example10",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example10/protractor.js b/1.2.19/docs/examples/example-example10/protractor.js
new file mode 100644
index 0000000000..1f2c684ba9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example10/protractor.js
@@ -0,0 +1,5 @@
+ it('should toggle open', function() {
+ expect(element(by.id('details')).getAttribute('open')).toBeFalsy();
+ element(by.model('open')).click();
+ expect(element(by.id('details')).getAttribute('open')).toBeTruthy();
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example100/index-debug.html b/1.2.19/docs/examples/example-example100/index-debug.html
new file mode 100644
index 0000000000..ba0c5a019b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example100/index-debug.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example100-debug
+
+
+
+
+
+
+
+
+
+ Some
+ model = {{content}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example100/index-jquery.html b/1.2.19/docs/examples/example-example100/index-jquery.html
new file mode 100644
index 0000000000..29b90685c6
--- /dev/null
+++ b/1.2.19/docs/examples/example-example100/index-jquery.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example100-jquery
+
+
+
+
+
+
+
+
+
+
+ Some
+ model = {{content}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example100/index-production.html b/1.2.19/docs/examples/example-example100/index-production.html
new file mode 100644
index 0000000000..58ffb0ec96
--- /dev/null
+++ b/1.2.19/docs/examples/example-example100/index-production.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example100-production
+
+
+
+
+
+
+
+
+
+ Some
+ model = {{content}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example100/index.html b/1.2.19/docs/examples/example-example100/index.html
new file mode 100644
index 0000000000..6b97649eb9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example100/index.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example100
+
+
+
+
+
+
+
+
+
+ Some
+ model = {{content}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example100/manifest.json b/1.2.19/docs/examples/example-example100/manifest.json
new file mode 100644
index 0000000000..a68d9d3bb7
--- /dev/null
+++ b/1.2.19/docs/examples/example-example100/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example100",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example100/script.js b/1.2.19/docs/examples/example-example100/script.js
new file mode 100644
index 0000000000..0487d87bdf
--- /dev/null
+++ b/1.2.19/docs/examples/example-example100/script.js
@@ -0,0 +1,21 @@
+ angular.module('form-example2', []).directive('contenteditable', function() {
+ return {
+ require: 'ngModel',
+ link: function(scope, elm, attrs, ctrl) {
+ // view -> model
+ elm.on('blur', function() {
+ scope.$apply(function() {
+ ctrl.$setViewValue(elm.html());
+ });
+ });
+
+ // model -> view
+ ctrl.$render = function() {
+ elm.html(ctrl.$viewValue);
+ };
+
+ // load init value from DOM
+ ctrl.$setViewValue(elm.html());
+ }
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example101/index-debug.html b/1.2.19/docs/examples/example-example101/index-debug.html
new file mode 100644
index 0000000000..84c475c800
--- /dev/null
+++ b/1.2.19/docs/examples/example-example101/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example101-debug
+
+
+
+
+
+
+
+
+
+
+ {{ 'World' | greet }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example101/index-jquery.html b/1.2.19/docs/examples/example-example101/index-jquery.html
new file mode 100644
index 0000000000..5228a53541
--- /dev/null
+++ b/1.2.19/docs/examples/example-example101/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example101-jquery
+
+
+
+
+
+
+
+
+
+
+
+ {{ 'World' | greet }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example101/index-production.html b/1.2.19/docs/examples/example-example101/index-production.html
new file mode 100644
index 0000000000..caa2c68331
--- /dev/null
+++ b/1.2.19/docs/examples/example-example101/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example101-production
+
+
+
+
+
+
+
+
+
+
+ {{ 'World' | greet }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example101/index.html b/1.2.19/docs/examples/example-example101/index.html
new file mode 100644
index 0000000000..445ff0fc8e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example101/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example101
+
+
+
+
+
+
+
+
+
+
+ {{ 'World' | greet }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example101/manifest.json b/1.2.19/docs/examples/example-example101/manifest.json
new file mode 100644
index 0000000000..ed66af641a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example101/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example101",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example101/script.js b/1.2.19/docs/examples/example-example101/script.js
new file mode 100644
index 0000000000..7a2bb6a413
--- /dev/null
+++ b/1.2.19/docs/examples/example-example101/script.js
@@ -0,0 +1,10 @@
+ // declare a module
+ var myAppModule = angular.module('myApp', []);
+
+ // configure the module.
+ // in this example we will create a greeting filter
+ myAppModule.filter('greet', function() {
+ return function(name) {
+ return 'Hello, ' + name + '!';
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example102/index-debug.html b/1.2.19/docs/examples/example-example102/index-debug.html
new file mode 100644
index 0000000000..fdc71bbb2f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example102/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example102-debug
+
+
+
+
+
+
+
+
+
+
+ {{ greeting }}!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example102/index-jquery.html b/1.2.19/docs/examples/example-example102/index-jquery.html
new file mode 100644
index 0000000000..ce5550ec92
--- /dev/null
+++ b/1.2.19/docs/examples/example-example102/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example102-jquery
+
+
+
+
+
+
+
+
+
+
+
+ {{ greeting }}!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example102/index-production.html b/1.2.19/docs/examples/example-example102/index-production.html
new file mode 100644
index 0000000000..5ba6184292
--- /dev/null
+++ b/1.2.19/docs/examples/example-example102/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example102-production
+
+
+
+
+
+
+
+
+
+
+ {{ greeting }}!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example102/index.html b/1.2.19/docs/examples/example-example102/index.html
new file mode 100644
index 0000000000..5efb3813b3
--- /dev/null
+++ b/1.2.19/docs/examples/example-example102/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example102
+
+
+
+
+
+
+
+
+
+
+ {{ greeting }}!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example102/manifest.json b/1.2.19/docs/examples/example-example102/manifest.json
new file mode 100644
index 0000000000..d9f1b45407
--- /dev/null
+++ b/1.2.19/docs/examples/example-example102/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example102",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example102/script.js b/1.2.19/docs/examples/example-example102/script.js
new file mode 100644
index 0000000000..0c531d7a68
--- /dev/null
+++ b/1.2.19/docs/examples/example-example102/script.js
@@ -0,0 +1,34 @@
+ angular.module('xmpl.service', []).
+ value('greeter', {
+ salutation: 'Hello',
+ localize: function(localization) {
+ this.salutation = localization.salutation;
+ },
+ greet: function(name) {
+ return this.salutation + ' ' + name + '!';
+ }
+ }).
+ value('user', {
+ load: function(name) {
+ this.name = name;
+ }
+ });
+
+ angular.module('xmpl.directive', []);
+
+ angular.module('xmpl.filter', []);
+
+ angular.module('xmpl', ['xmpl.service', 'xmpl.directive', 'xmpl.filter']).
+ run(function(greeter, user) {
+ // This is effectively part of the main method initialization code
+ greeter.localize({
+ salutation: 'Bonjour'
+ });
+ user.load('World');
+ });
+
+
+ // A Controller for your app
+ var XmplController = function($scope, greeter, user) {
+ $scope.greeting = greeter.greet(user.name);
+ };
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example103/index-debug.html b/1.2.19/docs/examples/example-example103/index-debug.html
new file mode 100644
index 0000000000..bbcb35a7da
--- /dev/null
+++ b/1.2.19/docs/examples/example-example103/index-debug.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example103-debug
+
+
+
+
+
+
+
+
+
+
+ Your name:
+
+ greet
+
+ {{greeting}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example103/index-jquery.html b/1.2.19/docs/examples/example-example103/index-jquery.html
new file mode 100644
index 0000000000..2e94ecea3a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example103/index-jquery.html
@@ -0,0 +1,24 @@
+
+
+
+
+ Example - example-example103-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Your name:
+
+ greet
+
+ {{greeting}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example103/index-production.html b/1.2.19/docs/examples/example-example103/index-production.html
new file mode 100644
index 0000000000..7c01d40f96
--- /dev/null
+++ b/1.2.19/docs/examples/example-example103/index-production.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example103-production
+
+
+
+
+
+
+
+
+
+
+ Your name:
+
+ greet
+
+ {{greeting}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example103/index.html b/1.2.19/docs/examples/example-example103/index.html
new file mode 100644
index 0000000000..7550e07dfe
--- /dev/null
+++ b/1.2.19/docs/examples/example-example103/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example103
+
+
+
+
+
+
+
+
+
+
+ Your name:
+
+ greet
+
+ {{greeting}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example103/manifest.json b/1.2.19/docs/examples/example-example103/manifest.json
new file mode 100644
index 0000000000..05759b4f0a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example103/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example103",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example103/script.js b/1.2.19/docs/examples/example-example103/script.js
new file mode 100644
index 0000000000..0b04a3e86c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example103/script.js
@@ -0,0 +1,7 @@
+ function MyController($scope) {
+ $scope.username = 'World';
+
+ $scope.sayHello = function() {
+ $scope.greeting = 'Hello ' + $scope.username + '!';
+ };
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example104/index-debug.html b/1.2.19/docs/examples/example-example104/index-debug.html
new file mode 100644
index 0000000000..afc05aa097
--- /dev/null
+++ b/1.2.19/docs/examples/example-example104/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example104-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ Hello {{name}}!
+
+
+
+ {{name}} from {{department}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example104/index-jquery.html b/1.2.19/docs/examples/example-example104/index-jquery.html
new file mode 100644
index 0000000000..aeb1b27e93
--- /dev/null
+++ b/1.2.19/docs/examples/example-example104/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example104-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Hello {{name}}!
+
+
+
+ {{name}} from {{department}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example104/index-production.html b/1.2.19/docs/examples/example-example104/index-production.html
new file mode 100644
index 0000000000..ec81782aa2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example104/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example104-production
+
+
+
+
+
+
+
+
+
+
+
+
+ Hello {{name}}!
+
+
+
+ {{name}} from {{department}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example104/index.html b/1.2.19/docs/examples/example-example104/index.html
new file mode 100644
index 0000000000..faf3f998e2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example104/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example104
+
+
+
+
+
+
+
+
+
+
+
+
+ Hello {{name}}!
+
+
+
+ {{name}} from {{department}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example104/manifest.json b/1.2.19/docs/examples/example-example104/manifest.json
new file mode 100644
index 0000000000..a7d46981ce
--- /dev/null
+++ b/1.2.19/docs/examples/example-example104/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example104",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "style.css"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example104/script.js b/1.2.19/docs/examples/example-example104/script.js
new file mode 100644
index 0000000000..6ca6b45df6
--- /dev/null
+++ b/1.2.19/docs/examples/example-example104/script.js
@@ -0,0 +1,8 @@
+ function GreetCtrl($scope, $rootScope) {
+ $scope.name = 'World';
+ $rootScope.department = 'Angular';
+ }
+
+ function ListCtrl($scope) {
+ $scope.names = ['Igor', 'Misko', 'Vojta'];
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example104/style.css b/1.2.19/docs/examples/example-example104/style.css
new file mode 100644
index 0000000000..d2a95564e1
--- /dev/null
+++ b/1.2.19/docs/examples/example-example104/style.css
@@ -0,0 +1,5 @@
+ .show-scope-demo.ng-scope,
+ .show-scope-demo .ng-scope {
+ border: 1px solid red;
+ margin: 3px;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example105/index-debug.html b/1.2.19/docs/examples/example-example105/index-debug.html
new file mode 100644
index 0000000000..7bd4ef2638
--- /dev/null
+++ b/1.2.19/docs/examples/example-example105/index-debug.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example105-debug
+
+
+
+
+
+
+
+
+
+
+ Root scope
MyEvent count: {{count}}
+
+
+ $emit('MyEvent')
+ $broadcast('MyEvent')
+
+ Middle scope MyEvent count: {{count}}
+
+
+ Leaf scope MyEvent count: {{count}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example105/index-jquery.html b/1.2.19/docs/examples/example-example105/index-jquery.html
new file mode 100644
index 0000000000..46a83a3c63
--- /dev/null
+++ b/1.2.19/docs/examples/example-example105/index-jquery.html
@@ -0,0 +1,33 @@
+
+
+
+
+ Example - example-example105-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Root scope
MyEvent count: {{count}}
+
+
+ $emit('MyEvent')
+ $broadcast('MyEvent')
+
+ Middle scope MyEvent count: {{count}}
+
+
+ Leaf scope MyEvent count: {{count}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example105/index-production.html b/1.2.19/docs/examples/example-example105/index-production.html
new file mode 100644
index 0000000000..ebf6d02c1d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example105/index-production.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example105-production
+
+
+
+
+
+
+
+
+
+
+ Root scope
MyEvent count: {{count}}
+
+
+ $emit('MyEvent')
+ $broadcast('MyEvent')
+
+ Middle scope MyEvent count: {{count}}
+
+
+ Leaf scope MyEvent count: {{count}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example105/index.html b/1.2.19/docs/examples/example-example105/index.html
new file mode 100644
index 0000000000..60cbab93d2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example105/index.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example105
+
+
+
+
+
+
+
+
+
+
+ Root scope
MyEvent count: {{count}}
+
+
+ $emit('MyEvent')
+ $broadcast('MyEvent')
+
+ Middle scope MyEvent count: {{count}}
+
+
+ Leaf scope MyEvent count: {{count}}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example105/manifest.json b/1.2.19/docs/examples/example-example105/manifest.json
new file mode 100644
index 0000000000..4372ed63be
--- /dev/null
+++ b/1.2.19/docs/examples/example-example105/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example105",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example105/script.js b/1.2.19/docs/examples/example-example105/script.js
new file mode 100644
index 0000000000..238de52e46
--- /dev/null
+++ b/1.2.19/docs/examples/example-example105/script.js
@@ -0,0 +1,6 @@
+ function EventController($scope) {
+ $scope.count = 0;
+ $scope.$on('MyEvent', function() {
+ $scope.count++;
+ });
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example106/index-debug.html b/1.2.19/docs/examples/example-example106/index-debug.html
new file mode 100644
index 0000000000..70adad5c6f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example106/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example106-debug
+
+
+
+
+
+
+
+
+
+
+
Let's try this simple notify service, injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example106/index-jquery.html b/1.2.19/docs/examples/example-example106/index-jquery.html
new file mode 100644
index 0000000000..82762a3845
--- /dev/null
+++ b/1.2.19/docs/examples/example-example106/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example106-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Let's try this simple notify service, injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example106/index-production.html b/1.2.19/docs/examples/example-example106/index-production.html
new file mode 100644
index 0000000000..cc2bed438a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example106/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example106-production
+
+
+
+
+
+
+
+
+
+
+
Let's try this simple notify service, injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example106/index.html b/1.2.19/docs/examples/example-example106/index.html
new file mode 100644
index 0000000000..ae05a3e395
--- /dev/null
+++ b/1.2.19/docs/examples/example-example106/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example106
+
+
+
+
+
+
+
+
+
+
+
Let's try this simple notify service, injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example106/manifest.json b/1.2.19/docs/examples/example-example106/manifest.json
new file mode 100644
index 0000000000..5703532681
--- /dev/null
+++ b/1.2.19/docs/examples/example-example106/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example106",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example106/protractor.js b/1.2.19/docs/examples/example-example106/protractor.js
new file mode 100644
index 0000000000..943e356ace
--- /dev/null
+++ b/1.2.19/docs/examples/example-example106/protractor.js
@@ -0,0 +1,4 @@
+ it('should test service', function() {
+ expect(element(by.id('simple')).element(by.model('message')).getAttribute('value'))
+ .toEqual('test');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example106/script.js b/1.2.19/docs/examples/example-example106/script.js
new file mode 100644
index 0000000000..12aabc558a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example106/script.js
@@ -0,0 +1,17 @@
+ angular.
+ module('myServiceModule', []).
+ controller('MyController', ['$scope','notify', function ($scope, notify) {
+ $scope.callNotify = function(msg) {
+ notify(msg);
+ };
+ }]).
+ factory('notify', ['$window', function(win) {
+ var msgs = [];
+ return function(msg) {
+ msgs.push(msg);
+ if (msgs.length == 3) {
+ win.alert(msgs.join("\n"));
+ msgs = [];
+ }
+ };
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example107/index-debug.html b/1.2.19/docs/examples/example-example107/index-debug.html
new file mode 100644
index 0000000000..0d9e49a285
--- /dev/null
+++ b/1.2.19/docs/examples/example-example107/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example107-debug
+
+
+
+
+
+
+
+
+
+
+
Let's try the notify service, that is implicitly injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example107/index-jquery.html b/1.2.19/docs/examples/example-example107/index-jquery.html
new file mode 100644
index 0000000000..6064b24927
--- /dev/null
+++ b/1.2.19/docs/examples/example-example107/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example107-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Let's try the notify service, that is implicitly injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example107/index-production.html b/1.2.19/docs/examples/example-example107/index-production.html
new file mode 100644
index 0000000000..4810199482
--- /dev/null
+++ b/1.2.19/docs/examples/example-example107/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example107-production
+
+
+
+
+
+
+
+
+
+
+
Let's try the notify service, that is implicitly injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example107/index.html b/1.2.19/docs/examples/example-example107/index.html
new file mode 100644
index 0000000000..7e42b739f1
--- /dev/null
+++ b/1.2.19/docs/examples/example-example107/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example107
+
+
+
+
+
+
+
+
+
+
+
Let's try the notify service, that is implicitly injected into the controller...
+
+
NOTIFY
+
(you have to click 3 times to see an alert)
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example107/manifest.json b/1.2.19/docs/examples/example-example107/manifest.json
new file mode 100644
index 0000000000..a583cbb4b3
--- /dev/null
+++ b/1.2.19/docs/examples/example-example107/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example107",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example107/script.js b/1.2.19/docs/examples/example-example107/script.js
new file mode 100644
index 0000000000..bee4e0ef63
--- /dev/null
+++ b/1.2.19/docs/examples/example-example107/script.js
@@ -0,0 +1,16 @@
+ angular.module('myServiceModuleDI', []).
+ factory('notify', function($window) {
+ var msgs = [];
+ return function(msg) {
+ msgs.push(msg);
+ if (msgs.length == 3) {
+ $window.alert(msgs.join("\n"));
+ msgs = [];
+ }
+ };
+ }).
+ controller('MyController', function($scope, notify) {
+ $scope.callNotify = function(msg) {
+ notify(msg);
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example11/index-debug.html b/1.2.19/docs/examples/example-example11/index-debug.html
new file mode 100644
index 0000000000..127b8a2f6c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example11/index-debug.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Example - example-example11-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ userType:
+ Required!
+ userType = {{userType}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example11/index-jquery.html b/1.2.19/docs/examples/example-example11/index-jquery.html
new file mode 100644
index 0000000000..e755c76ddc
--- /dev/null
+++ b/1.2.19/docs/examples/example-example11/index-jquery.html
@@ -0,0 +1,43 @@
+
+
+
+
+ Example - example-example11-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ userType:
+ Required!
+ userType = {{userType}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example11/index-production.html b/1.2.19/docs/examples/example-example11/index-production.html
new file mode 100644
index 0000000000..453bdcab2c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example11/index-production.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Example - example-example11-production
+
+
+
+
+
+
+
+
+
+
+
+
+ userType:
+ Required!
+ userType = {{userType}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example11/index.html b/1.2.19/docs/examples/example-example11/index.html
new file mode 100644
index 0000000000..31427026f7
--- /dev/null
+++ b/1.2.19/docs/examples/example-example11/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Example - example-example11
+
+
+
+
+
+
+
+
+
+
+
+
+ userType:
+ Required!
+ userType = {{userType}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example11/manifest.json b/1.2.19/docs/examples/example-example11/manifest.json
new file mode 100644
index 0000000000..b89b9da768
--- /dev/null
+++ b/1.2.19/docs/examples/example-example11/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example11",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example11/protractor.js b/1.2.19/docs/examples/example-example11/protractor.js
new file mode 100644
index 0000000000..4e686d9498
--- /dev/null
+++ b/1.2.19/docs/examples/example-example11/protractor.js
@@ -0,0 +1,19 @@
+ it('should initialize to model', function() {
+ var userType = element(by.binding('userType'));
+ var valid = element(by.binding('myForm.input.$valid'));
+
+ expect(userType.getText()).toContain('guest');
+ expect(valid.getText()).toContain('true');
+ });
+
+ it('should be invalid if empty', function() {
+ var userType = element(by.binding('userType'));
+ var valid = element(by.binding('myForm.input.$valid'));
+ var userInput = element(by.model('userType'));
+
+ userInput.clear();
+ userInput.sendKeys('');
+
+ expect(userType.getText()).toEqual('userType =');
+ expect(valid.getText()).toContain('false');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example12/index-debug.html b/1.2.19/docs/examples/example-example12/index-debug.html
new file mode 100644
index 0000000000..69ed411eee
--- /dev/null
+++ b/1.2.19/docs/examples/example-example12/index-debug.html
@@ -0,0 +1,39 @@
+
+
+
+
+ Example - example-example12-debug
+
+
+
+
+
+
+
+
+
+
+
+ Update input to see transitions when valid/invalid.
+ Integer is a valid value.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example12/index-jquery.html b/1.2.19/docs/examples/example-example12/index-jquery.html
new file mode 100644
index 0000000000..1358a8f2b4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example12/index-jquery.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Example - example-example12-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Update input to see transitions when valid/invalid.
+ Integer is a valid value.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example12/index-production.html b/1.2.19/docs/examples/example-example12/index-production.html
new file mode 100644
index 0000000000..b1593a2091
--- /dev/null
+++ b/1.2.19/docs/examples/example-example12/index-production.html
@@ -0,0 +1,39 @@
+
+
+
+
+ Example - example-example12-production
+
+
+
+
+
+
+
+
+
+
+
+ Update input to see transitions when valid/invalid.
+ Integer is a valid value.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example12/index.html b/1.2.19/docs/examples/example-example12/index.html
new file mode 100644
index 0000000000..56ba4524ad
--- /dev/null
+++ b/1.2.19/docs/examples/example-example12/index.html
@@ -0,0 +1,39 @@
+
+
+
+
+ Example - example-example12
+
+
+
+
+
+
+
+
+
+
+
+ Update input to see transitions when valid/invalid.
+ Integer is a valid value.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example12/manifest.json b/1.2.19/docs/examples/example-example12/manifest.json
new file mode 100644
index 0000000000..abc98db431
--- /dev/null
+++ b/1.2.19/docs/examples/example-example12/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example12",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example13/index-debug.html b/1.2.19/docs/examples/example-example13/index-debug.html
new file mode 100644
index 0000000000..b8a56af9a9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example13/index-debug.html
@@ -0,0 +1,24 @@
+
+
+
+
+ Example - example-example13-debug
+
+
+
+
+
+
+
+
+
+
+ Enter name:
+ Hello !
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example13/index-jquery.html b/1.2.19/docs/examples/example-example13/index-jquery.html
new file mode 100644
index 0000000000..483616374b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example13/index-jquery.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example13-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Enter name:
+ Hello !
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example13/index-production.html b/1.2.19/docs/examples/example-example13/index-production.html
new file mode 100644
index 0000000000..5e7fdc3b1d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example13/index-production.html
@@ -0,0 +1,24 @@
+
+
+
+
+ Example - example-example13-production
+
+
+
+
+
+
+
+
+
+
+ Enter name:
+ Hello !
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example13/index.html b/1.2.19/docs/examples/example-example13/index.html
new file mode 100644
index 0000000000..902c1019e5
--- /dev/null
+++ b/1.2.19/docs/examples/example-example13/index.html
@@ -0,0 +1,24 @@
+
+
+
+
+ Example - example-example13
+
+
+
+
+
+
+
+
+
+
+ Enter name:
+ Hello !
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example13/manifest.json b/1.2.19/docs/examples/example-example13/manifest.json
new file mode 100644
index 0000000000..097f49e4d7
--- /dev/null
+++ b/1.2.19/docs/examples/example-example13/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example13",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example13/protractor.js b/1.2.19/docs/examples/example-example13/protractor.js
new file mode 100644
index 0000000000..5cc9209d2a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example13/protractor.js
@@ -0,0 +1,8 @@
+ it('should check ng-bind', function() {
+ var nameInput = element(by.model('name'));
+
+ expect(element(by.binding('name')).getText()).toBe('Whirled');
+ nameInput.clear();
+ nameInput.sendKeys('world');
+ expect(element(by.binding('name')).getText()).toBe('world');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example14/index-debug.html b/1.2.19/docs/examples/example-example14/index-debug.html
new file mode 100644
index 0000000000..7e10b1b39e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example14/index-debug.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example14-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example14/index-jquery.html b/1.2.19/docs/examples/example-example14/index-jquery.html
new file mode 100644
index 0000000000..0a52f0fd1c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example14/index-jquery.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example14-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example14/index-production.html b/1.2.19/docs/examples/example-example14/index-production.html
new file mode 100644
index 0000000000..830c4f5bb1
--- /dev/null
+++ b/1.2.19/docs/examples/example-example14/index-production.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example14-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example14/index.html b/1.2.19/docs/examples/example-example14/index.html
new file mode 100644
index 0000000000..a0380b9d0f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example14/index.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example14
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example14/manifest.json b/1.2.19/docs/examples/example-example14/manifest.json
new file mode 100644
index 0000000000..6276328e40
--- /dev/null
+++ b/1.2.19/docs/examples/example-example14/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example14",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example14/protractor.js b/1.2.19/docs/examples/example-example14/protractor.js
new file mode 100644
index 0000000000..a7436ba95f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example14/protractor.js
@@ -0,0 +1,14 @@
+ it('should check ng-bind', function() {
+ var salutationElem = element(by.binding('salutation'));
+ var salutationInput = element(by.model('salutation'));
+ var nameInput = element(by.model('name'));
+
+ expect(salutationElem.getText()).toBe('Hello World!');
+
+ salutationInput.clear();
+ salutationInput.sendKeys('Greetings');
+ nameInput.clear();
+ nameInput.sendKeys('user');
+
+ expect(salutationElem.getText()).toBe('Greetings user!');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example15/index-debug.html b/1.2.19/docs/examples/example-example15/index-debug.html
new file mode 100644
index 0000000000..6c873f4ea8
--- /dev/null
+++ b/1.2.19/docs/examples/example-example15/index-debug.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example15-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example15/index-jquery.html b/1.2.19/docs/examples/example-example15/index-jquery.html
new file mode 100644
index 0000000000..a8c7e9a9ca
--- /dev/null
+++ b/1.2.19/docs/examples/example-example15/index-jquery.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example15-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example15/index-production.html b/1.2.19/docs/examples/example-example15/index-production.html
new file mode 100644
index 0000000000..b731bb0134
--- /dev/null
+++ b/1.2.19/docs/examples/example-example15/index-production.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example15-production
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example15/index.html b/1.2.19/docs/examples/example-example15/index.html
new file mode 100644
index 0000000000..3c99b6ac75
--- /dev/null
+++ b/1.2.19/docs/examples/example-example15/index.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example15
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example15/manifest.json b/1.2.19/docs/examples/example-example15/manifest.json
new file mode 100644
index 0000000000..872057483d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example15/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example15",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example15/protractor.js b/1.2.19/docs/examples/example-example15/protractor.js
new file mode 100644
index 0000000000..46c0353305
--- /dev/null
+++ b/1.2.19/docs/examples/example-example15/protractor.js
@@ -0,0 +1,4 @@
+ it('should check ng-bind-html', function() {
+ expect(element(by.binding('myHTML')).getText()).toBe(
+ 'I am an HTMLstring with links! and other stuff');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example15/script.js b/1.2.19/docs/examples/example-example15/script.js
new file mode 100644
index 0000000000..a5b2a2e4dd
--- /dev/null
+++ b/1.2.19/docs/examples/example-example15/script.js
@@ -0,0 +1,6 @@
+ angular.module('ngBindHtmlExample', ['ngSanitize'])
+
+ .controller('ngBindHtmlCtrl', ['$scope', function ngBindHtmlCtrl($scope) {
+ $scope.myHTML =
+ 'I am an HTML
string with links! and other stuff ';
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example16/index-debug.html b/1.2.19/docs/examples/example-example16/index-debug.html
new file mode 100644
index 0000000000..f57bdc59f6
--- /dev/null
+++ b/1.2.19/docs/examples/example-example16/index-debug.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example16-debug
+
+
+
+
+
+
+
+
+
+ Map Syntax Example
+ deleted (apply "strike" class)
+ important (apply "bold" class)
+ error (apply "red" class)
+
+ Using String Syntax
+
+
+ Using Array Syntax
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example16/index-jquery.html b/1.2.19/docs/examples/example-example16/index-jquery.html
new file mode 100644
index 0000000000..d43016e60b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example16/index-jquery.html
@@ -0,0 +1,29 @@
+
+
+
+
+ Example - example-example16-jquery
+
+
+
+
+
+
+
+
+
+
+ Map Syntax Example
+ deleted (apply "strike" class)
+ important (apply "bold" class)
+ error (apply "red" class)
+
+ Using String Syntax
+
+
+ Using Array Syntax
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example16/index-production.html b/1.2.19/docs/examples/example-example16/index-production.html
new file mode 100644
index 0000000000..4283698a9f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example16/index-production.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example16-production
+
+
+
+
+
+
+
+
+
+ Map Syntax Example
+ deleted (apply "strike" class)
+ important (apply "bold" class)
+ error (apply "red" class)
+
+ Using String Syntax
+
+
+ Using Array Syntax
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example16/index.html b/1.2.19/docs/examples/example-example16/index.html
new file mode 100644
index 0000000000..5b34cb8a79
--- /dev/null
+++ b/1.2.19/docs/examples/example-example16/index.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example16
+
+
+
+
+
+
+
+
+
+ Map Syntax Example
+ deleted (apply "strike" class)
+ important (apply "bold" class)
+ error (apply "red" class)
+
+ Using String Syntax
+
+
+ Using Array Syntax
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example16/manifest.json b/1.2.19/docs/examples/example-example16/manifest.json
new file mode 100644
index 0000000000..f258bcd568
--- /dev/null
+++ b/1.2.19/docs/examples/example-example16/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example16",
+ "files": [
+ "index-production.html",
+ "style.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example16/protractor.js b/1.2.19/docs/examples/example-example16/protractor.js
new file mode 100644
index 0000000000..1f8ea4c64e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example16/protractor.js
@@ -0,0 +1,28 @@
+ var ps = element.all(by.css('p'));
+
+ it('should let you toggle the class', function() {
+
+ expect(ps.first().getAttribute('class')).not.toMatch(/bold/);
+ expect(ps.first().getAttribute('class')).not.toMatch(/red/);
+
+ element(by.model('important')).click();
+ expect(ps.first().getAttribute('class')).toMatch(/bold/);
+
+ element(by.model('error')).click();
+ expect(ps.first().getAttribute('class')).toMatch(/red/);
+ });
+
+ it('should let you toggle string example', function() {
+ expect(ps.get(1).getAttribute('class')).toBe('');
+ element(by.model('style')).clear();
+ element(by.model('style')).sendKeys('red');
+ expect(ps.get(1).getAttribute('class')).toBe('red');
+ });
+
+ it('array example should have 3 classes', function() {
+ expect(ps.last().getAttribute('class')).toBe('');
+ element(by.model('style1')).sendKeys('bold');
+ element(by.model('style2')).sendKeys('strike');
+ element(by.model('style3')).sendKeys('red');
+ expect(ps.last().getAttribute('class')).toBe('bold strike red');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example16/style.css b/1.2.19/docs/examples/example-example16/style.css
new file mode 100644
index 0000000000..f3d75e0a41
--- /dev/null
+++ b/1.2.19/docs/examples/example-example16/style.css
@@ -0,0 +1,9 @@
+ .strike {
+ text-decoration: line-through;
+ }
+ .bold {
+ font-weight: bold;
+ }
+ .red {
+ color: red;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example17/index-debug.html b/1.2.19/docs/examples/example-example17/index-debug.html
new file mode 100644
index 0000000000..254ce55b19
--- /dev/null
+++ b/1.2.19/docs/examples/example-example17/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example17-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example17/index-jquery.html b/1.2.19/docs/examples/example-example17/index-jquery.html
new file mode 100644
index 0000000000..8c14e5cb8a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example17/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example17-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example17/index-production.html b/1.2.19/docs/examples/example-example17/index-production.html
new file mode 100644
index 0000000000..e63932ab19
--- /dev/null
+++ b/1.2.19/docs/examples/example-example17/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example17-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example17/index.html b/1.2.19/docs/examples/example-example17/index.html
new file mode 100644
index 0000000000..76eb6433d4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example17/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example17
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example17/manifest.json b/1.2.19/docs/examples/example-example17/manifest.json
new file mode 100644
index 0000000000..fa087d38da
--- /dev/null
+++ b/1.2.19/docs/examples/example-example17/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example17",
+ "files": [
+ "index-production.html",
+ "style.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example17/protractor.js b/1.2.19/docs/examples/example-example17/protractor.js
new file mode 100644
index 0000000000..f3a5a82ed9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example17/protractor.js
@@ -0,0 +1,14 @@
+ it('should check ng-class', function() {
+ expect(element(by.css('.base-class')).getAttribute('class')).not.
+ toMatch(/my-class/);
+
+ element(by.id('setbtn')).click();
+
+ expect(element(by.css('.base-class')).getAttribute('class')).
+ toMatch(/my-class/);
+
+ element(by.id('clearbtn')).click();
+
+ expect(element(by.css('.base-class')).getAttribute('class')).not.
+ toMatch(/my-class/);
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example17/style.css b/1.2.19/docs/examples/example-example17/style.css
new file mode 100644
index 0000000000..2f3fa91244
--- /dev/null
+++ b/1.2.19/docs/examples/example-example17/style.css
@@ -0,0 +1,9 @@
+ .base-class {
+ -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ }
+
+ .base-class.my-class {
+ color: red;
+ font-size:3em;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example18/index-debug.html b/1.2.19/docs/examples/example-example18/index-debug.html
new file mode 100644
index 0000000000..ddcd7a212b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example18/index-debug.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example18-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example18/index-jquery.html b/1.2.19/docs/examples/example-example18/index-jquery.html
new file mode 100644
index 0000000000..ad7aa7d80b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example18/index-jquery.html
@@ -0,0 +1,24 @@
+
+
+
+
+ Example - example-example18-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example18/index-production.html b/1.2.19/docs/examples/example-example18/index-production.html
new file mode 100644
index 0000000000..7dd7d20af0
--- /dev/null
+++ b/1.2.19/docs/examples/example-example18/index-production.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example18-production
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example18/index.html b/1.2.19/docs/examples/example-example18/index.html
new file mode 100644
index 0000000000..177993c3bd
--- /dev/null
+++ b/1.2.19/docs/examples/example-example18/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example18
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example18/manifest.json b/1.2.19/docs/examples/example-example18/manifest.json
new file mode 100644
index 0000000000..bb1d6d7d9c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example18/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example18",
+ "files": [
+ "index-production.html",
+ "style.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example18/protractor.js b/1.2.19/docs/examples/example-example18/protractor.js
new file mode 100644
index 0000000000..c44928632b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example18/protractor.js
@@ -0,0 +1,6 @@
+ it('should check ng-class-odd and ng-class-even', function() {
+ expect(element(by.repeater('name in names').row(0).column('name')).getAttribute('class')).
+ toMatch(/odd/);
+ expect(element(by.repeater('name in names').row(1).column('name')).getAttribute('class')).
+ toMatch(/even/);
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example18/style.css b/1.2.19/docs/examples/example-example18/style.css
new file mode 100644
index 0000000000..68949bf55d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example18/style.css
@@ -0,0 +1,6 @@
+ .odd {
+ color: red;
+ }
+ .even {
+ color: blue;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example19/index-debug.html b/1.2.19/docs/examples/example-example19/index-debug.html
new file mode 100644
index 0000000000..93a95bb69e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example19/index-debug.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example19-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example19/index-jquery.html b/1.2.19/docs/examples/example-example19/index-jquery.html
new file mode 100644
index 0000000000..99f97690c4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example19/index-jquery.html
@@ -0,0 +1,24 @@
+
+
+
+
+ Example - example-example19-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example19/index-production.html b/1.2.19/docs/examples/example-example19/index-production.html
new file mode 100644
index 0000000000..c190583ae2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example19/index-production.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example19-production
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example19/index.html b/1.2.19/docs/examples/example-example19/index.html
new file mode 100644
index 0000000000..b0cdb91860
--- /dev/null
+++ b/1.2.19/docs/examples/example-example19/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example19
+
+
+
+
+
+
+
+
+
+
+
+
+ {{name}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example19/manifest.json b/1.2.19/docs/examples/example-example19/manifest.json
new file mode 100644
index 0000000000..354b1f054d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example19/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example19",
+ "files": [
+ "index-production.html",
+ "style.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example19/protractor.js b/1.2.19/docs/examples/example-example19/protractor.js
new file mode 100644
index 0000000000..c44928632b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example19/protractor.js
@@ -0,0 +1,6 @@
+ it('should check ng-class-odd and ng-class-even', function() {
+ expect(element(by.repeater('name in names').row(0).column('name')).getAttribute('class')).
+ toMatch(/odd/);
+ expect(element(by.repeater('name in names').row(1).column('name')).getAttribute('class')).
+ toMatch(/even/);
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example19/style.css b/1.2.19/docs/examples/example-example19/style.css
new file mode 100644
index 0000000000..68949bf55d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example19/style.css
@@ -0,0 +1,6 @@
+ .odd {
+ color: red;
+ }
+ .even {
+ color: blue;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example2/index-debug.html b/1.2.19/docs/examples/example-example2/index-debug.html
new file mode 100644
index 0000000000..ddaf03e00f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example2/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example2-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example2/index-jquery.html b/1.2.19/docs/examples/example-example2/index-jquery.html
new file mode 100644
index 0000000000..4b8cbb46f8
--- /dev/null
+++ b/1.2.19/docs/examples/example-example2/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example2-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example2/index-production.html b/1.2.19/docs/examples/example-example2/index-production.html
new file mode 100644
index 0000000000..f8025e45f7
--- /dev/null
+++ b/1.2.19/docs/examples/example-example2/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example2-production
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example2/index.html b/1.2.19/docs/examples/example-example2/index.html
new file mode 100644
index 0000000000..b5c82c7985
--- /dev/null
+++ b/1.2.19/docs/examples/example-example2/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example2
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example2/manifest.json b/1.2.19/docs/examples/example-example2/manifest.json
new file mode 100644
index 0000000000..15c820feef
--- /dev/null
+++ b/1.2.19/docs/examples/example-example2/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example2",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "style.css"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example2/script.js b/1.2.19/docs/examples/example-example2/script.js
new file mode 100644
index 0000000000..a4bb9d01ec
--- /dev/null
+++ b/1.2.19/docs/examples/example-example2/script.js
@@ -0,0 +1,10 @@
+ function ScrollCtrl($scope, $location, $anchorScroll) {
+ $scope.gotoBottom = function (){
+ // set the location.hash to the id of
+ // the element you wish to scroll to.
+ $location.hash('bottom');
+
+ // call $anchorScroll()
+ $anchorScroll();
+ };
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example2/style.css b/1.2.19/docs/examples/example-example2/style.css
new file mode 100644
index 0000000000..a9bffdc2d9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example2/style.css
@@ -0,0 +1,9 @@
+ #scrollArea {
+ height: 350px;
+ overflow: auto;
+ }
+
+ #bottom {
+ display: block;
+ margin-top: 2000px;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example20/index-debug.html b/1.2.19/docs/examples/example-example20/index-debug.html
new file mode 100644
index 0000000000..ac5bfcbbd8
--- /dev/null
+++ b/1.2.19/docs/examples/example-example20/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example20-debug
+
+
+
+
+
+
+
+
+ {{ 'hello' }}
+ {{ 'hello IE7' }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example20/index-jquery.html b/1.2.19/docs/examples/example-example20/index-jquery.html
new file mode 100644
index 0000000000..c11f8c1444
--- /dev/null
+++ b/1.2.19/docs/examples/example-example20/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-example20-jquery
+
+
+
+
+
+
+
+
+
+ {{ 'hello' }}
+ {{ 'hello IE7' }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example20/index-production.html b/1.2.19/docs/examples/example-example20/index-production.html
new file mode 100644
index 0000000000..7f16009d50
--- /dev/null
+++ b/1.2.19/docs/examples/example-example20/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example20-production
+
+
+
+
+
+
+
+
+ {{ 'hello' }}
+ {{ 'hello IE7' }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example20/index.html b/1.2.19/docs/examples/example-example20/index.html
new file mode 100644
index 0000000000..b8e6cc3de9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example20/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example20
+
+
+
+
+
+
+
+
+ {{ 'hello' }}
+ {{ 'hello IE7' }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example20/manifest.json b/1.2.19/docs/examples/example-example20/manifest.json
new file mode 100644
index 0000000000..68a0d16939
--- /dev/null
+++ b/1.2.19/docs/examples/example-example20/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example20",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example20/protractor.js b/1.2.19/docs/examples/example-example20/protractor.js
new file mode 100644
index 0000000000..1fd0ff5c17
--- /dev/null
+++ b/1.2.19/docs/examples/example-example20/protractor.js
@@ -0,0 +1,6 @@
+ it('should remove the template directive and css class', function() {
+ expect($('#template1').getAttribute('ng-cloak')).
+ toBeNull();
+ expect($('#template2').getAttribute('ng-cloak')).
+ toBeNull();
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example21/index-debug.html b/1.2.19/docs/examples/example-example21/index-debug.html
new file mode 100644
index 0000000000..fe2c0a88aa
--- /dev/null
+++ b/1.2.19/docs/examples/example-example21/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example21-debug
+
+
+
+
+
+
+
+
+
+ Increment
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example21/index-jquery.html b/1.2.19/docs/examples/example-example21/index-jquery.html
new file mode 100644
index 0000000000..1e2ff9cd3d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example21/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example21-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example21/index-production.html b/1.2.19/docs/examples/example-example21/index-production.html
new file mode 100644
index 0000000000..f0c86d0932
--- /dev/null
+++ b/1.2.19/docs/examples/example-example21/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example21-production
+
+
+
+
+
+
+
+
+
+ Increment
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example21/index.html b/1.2.19/docs/examples/example-example21/index.html
new file mode 100644
index 0000000000..b91eeb20a8
--- /dev/null
+++ b/1.2.19/docs/examples/example-example21/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example21
+
+
+
+
+
+
+
+
+
+ Increment
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example21/manifest.json b/1.2.19/docs/examples/example-example21/manifest.json
new file mode 100644
index 0000000000..c82db91d49
--- /dev/null
+++ b/1.2.19/docs/examples/example-example21/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example21",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example21/protractor.js b/1.2.19/docs/examples/example-example21/protractor.js
new file mode 100644
index 0000000000..88afa2fdb0
--- /dev/null
+++ b/1.2.19/docs/examples/example-example21/protractor.js
@@ -0,0 +1,5 @@
+ it('should check ng-click', function() {
+ expect(element(by.binding('count')).getText()).toMatch('0');
+ element(by.css('button')).click();
+ expect(element(by.binding('count')).getText()).toMatch('1');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example22/index-debug.html b/1.2.19/docs/examples/example-example22/index-debug.html
new file mode 100644
index 0000000000..2c2acfbe60
--- /dev/null
+++ b/1.2.19/docs/examples/example-example22/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example22-debug
+
+
+
+
+
+
+
+
+
+ Increment (on double click)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example22/index-jquery.html b/1.2.19/docs/examples/example-example22/index-jquery.html
new file mode 100644
index 0000000000..c611b042a5
--- /dev/null
+++ b/1.2.19/docs/examples/example-example22/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example22-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment (on double click)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example22/index-production.html b/1.2.19/docs/examples/example-example22/index-production.html
new file mode 100644
index 0000000000..f76b086d7a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example22/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example22-production
+
+
+
+
+
+
+
+
+
+ Increment (on double click)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example22/index.html b/1.2.19/docs/examples/example-example22/index.html
new file mode 100644
index 0000000000..578af51c0e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example22/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example22
+
+
+
+
+
+
+
+
+
+ Increment (on double click)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example22/manifest.json b/1.2.19/docs/examples/example-example22/manifest.json
new file mode 100644
index 0000000000..930dcbb743
--- /dev/null
+++ b/1.2.19/docs/examples/example-example22/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example22",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example23/index-debug.html b/1.2.19/docs/examples/example-example23/index-debug.html
new file mode 100644
index 0000000000..99f097f7c6
--- /dev/null
+++ b/1.2.19/docs/examples/example-example23/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example23-debug
+
+
+
+
+
+
+
+
+
+ Increment (on mouse down)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example23/index-jquery.html b/1.2.19/docs/examples/example-example23/index-jquery.html
new file mode 100644
index 0000000000..9ab989d322
--- /dev/null
+++ b/1.2.19/docs/examples/example-example23/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example23-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment (on mouse down)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example23/index-production.html b/1.2.19/docs/examples/example-example23/index-production.html
new file mode 100644
index 0000000000..a24e901380
--- /dev/null
+++ b/1.2.19/docs/examples/example-example23/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example23-production
+
+
+
+
+
+
+
+
+
+ Increment (on mouse down)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example23/index.html b/1.2.19/docs/examples/example-example23/index.html
new file mode 100644
index 0000000000..ac7c5a28be
--- /dev/null
+++ b/1.2.19/docs/examples/example-example23/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example23
+
+
+
+
+
+
+
+
+
+ Increment (on mouse down)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example23/manifest.json b/1.2.19/docs/examples/example-example23/manifest.json
new file mode 100644
index 0000000000..70c520a007
--- /dev/null
+++ b/1.2.19/docs/examples/example-example23/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example23",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example24/index-debug.html b/1.2.19/docs/examples/example-example24/index-debug.html
new file mode 100644
index 0000000000..037a1b4748
--- /dev/null
+++ b/1.2.19/docs/examples/example-example24/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example24-debug
+
+
+
+
+
+
+
+
+
+ Increment (on mouse up)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example24/index-jquery.html b/1.2.19/docs/examples/example-example24/index-jquery.html
new file mode 100644
index 0000000000..0575c631b9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example24/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example24-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment (on mouse up)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example24/index-production.html b/1.2.19/docs/examples/example-example24/index-production.html
new file mode 100644
index 0000000000..3d4f5e08d7
--- /dev/null
+++ b/1.2.19/docs/examples/example-example24/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example24-production
+
+
+
+
+
+
+
+
+
+ Increment (on mouse up)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example24/index.html b/1.2.19/docs/examples/example-example24/index.html
new file mode 100644
index 0000000000..ba7310d0de
--- /dev/null
+++ b/1.2.19/docs/examples/example-example24/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example24
+
+
+
+
+
+
+
+
+
+ Increment (on mouse up)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example24/manifest.json b/1.2.19/docs/examples/example-example24/manifest.json
new file mode 100644
index 0000000000..31304f2a8b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example24/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example24",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example25/index-debug.html b/1.2.19/docs/examples/example-example25/index-debug.html
new file mode 100644
index 0000000000..937ebc4787
--- /dev/null
+++ b/1.2.19/docs/examples/example-example25/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example25-debug
+
+
+
+
+
+
+
+
+
+ Increment (when mouse is over)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example25/index-jquery.html b/1.2.19/docs/examples/example-example25/index-jquery.html
new file mode 100644
index 0000000000..cd6c726f74
--- /dev/null
+++ b/1.2.19/docs/examples/example-example25/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example25-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment (when mouse is over)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example25/index-production.html b/1.2.19/docs/examples/example-example25/index-production.html
new file mode 100644
index 0000000000..ac7a7814e4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example25/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example25-production
+
+
+
+
+
+
+
+
+
+ Increment (when mouse is over)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example25/index.html b/1.2.19/docs/examples/example-example25/index.html
new file mode 100644
index 0000000000..37b4893264
--- /dev/null
+++ b/1.2.19/docs/examples/example-example25/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example25
+
+
+
+
+
+
+
+
+
+ Increment (when mouse is over)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example25/manifest.json b/1.2.19/docs/examples/example-example25/manifest.json
new file mode 100644
index 0000000000..827bc7b0f4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example25/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example25",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example26/index-debug.html b/1.2.19/docs/examples/example-example26/index-debug.html
new file mode 100644
index 0000000000..5a248e4bd6
--- /dev/null
+++ b/1.2.19/docs/examples/example-example26/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example26-debug
+
+
+
+
+
+
+
+
+
+ Increment (when mouse enters)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example26/index-jquery.html b/1.2.19/docs/examples/example-example26/index-jquery.html
new file mode 100644
index 0000000000..a032a62d5e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example26/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example26-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment (when mouse enters)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example26/index-production.html b/1.2.19/docs/examples/example-example26/index-production.html
new file mode 100644
index 0000000000..f0617e9fa3
--- /dev/null
+++ b/1.2.19/docs/examples/example-example26/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example26-production
+
+
+
+
+
+
+
+
+
+ Increment (when mouse enters)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example26/index.html b/1.2.19/docs/examples/example-example26/index.html
new file mode 100644
index 0000000000..2395e90263
--- /dev/null
+++ b/1.2.19/docs/examples/example-example26/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example26
+
+
+
+
+
+
+
+
+
+ Increment (when mouse enters)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example26/manifest.json b/1.2.19/docs/examples/example-example26/manifest.json
new file mode 100644
index 0000000000..2b3b4c0530
--- /dev/null
+++ b/1.2.19/docs/examples/example-example26/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example26",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example27/index-debug.html b/1.2.19/docs/examples/example-example27/index-debug.html
new file mode 100644
index 0000000000..5d7c52208e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example27/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example27-debug
+
+
+
+
+
+
+
+
+
+ Increment (when mouse leaves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example27/index-jquery.html b/1.2.19/docs/examples/example-example27/index-jquery.html
new file mode 100644
index 0000000000..a0535f36dc
--- /dev/null
+++ b/1.2.19/docs/examples/example-example27/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example27-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment (when mouse leaves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example27/index-production.html b/1.2.19/docs/examples/example-example27/index-production.html
new file mode 100644
index 0000000000..e386d590ad
--- /dev/null
+++ b/1.2.19/docs/examples/example-example27/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example27-production
+
+
+
+
+
+
+
+
+
+ Increment (when mouse leaves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example27/index.html b/1.2.19/docs/examples/example-example27/index.html
new file mode 100644
index 0000000000..566dd69ab0
--- /dev/null
+++ b/1.2.19/docs/examples/example-example27/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example27
+
+
+
+
+
+
+
+
+
+ Increment (when mouse leaves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example27/manifest.json b/1.2.19/docs/examples/example-example27/manifest.json
new file mode 100644
index 0000000000..1c3026f9b2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example27/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example27",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example28/index-debug.html b/1.2.19/docs/examples/example-example28/index-debug.html
new file mode 100644
index 0000000000..0072dfdf20
--- /dev/null
+++ b/1.2.19/docs/examples/example-example28/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example28-debug
+
+
+
+
+
+
+
+
+
+ Increment (when mouse moves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example28/index-jquery.html b/1.2.19/docs/examples/example-example28/index-jquery.html
new file mode 100644
index 0000000000..6eebc6c261
--- /dev/null
+++ b/1.2.19/docs/examples/example-example28/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example28-jquery
+
+
+
+
+
+
+
+
+
+
+ Increment (when mouse moves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example28/index-production.html b/1.2.19/docs/examples/example-example28/index-production.html
new file mode 100644
index 0000000000..ac7ba1dd87
--- /dev/null
+++ b/1.2.19/docs/examples/example-example28/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example28-production
+
+
+
+
+
+
+
+
+
+ Increment (when mouse moves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example28/index.html b/1.2.19/docs/examples/example-example28/index.html
new file mode 100644
index 0000000000..49ddd93aab
--- /dev/null
+++ b/1.2.19/docs/examples/example-example28/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+ Example - example-example28
+
+
+
+
+
+
+
+
+
+ Increment (when mouse moves)
+
+ count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example28/manifest.json b/1.2.19/docs/examples/example-example28/manifest.json
new file mode 100644
index 0000000000..9a80d91245
--- /dev/null
+++ b/1.2.19/docs/examples/example-example28/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example28",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example29/index-debug.html b/1.2.19/docs/examples/example-example29/index-debug.html
new file mode 100644
index 0000000000..cb287192a4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example29/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example29-debug
+
+
+
+
+
+
+
+
+
+ key down count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example29/index-jquery.html b/1.2.19/docs/examples/example-example29/index-jquery.html
new file mode 100644
index 0000000000..a8d3b5bcea
--- /dev/null
+++ b/1.2.19/docs/examples/example-example29/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-example29-jquery
+
+
+
+
+
+
+
+
+
+
+ key down count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example29/index-production.html b/1.2.19/docs/examples/example-example29/index-production.html
new file mode 100644
index 0000000000..a094975549
--- /dev/null
+++ b/1.2.19/docs/examples/example-example29/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example29-production
+
+
+
+
+
+
+
+
+
+ key down count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example29/index.html b/1.2.19/docs/examples/example-example29/index.html
new file mode 100644
index 0000000000..f07682bee3
--- /dev/null
+++ b/1.2.19/docs/examples/example-example29/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example29
+
+
+
+
+
+
+
+
+
+ key down count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example29/manifest.json b/1.2.19/docs/examples/example-example29/manifest.json
new file mode 100644
index 0000000000..48f662eda5
--- /dev/null
+++ b/1.2.19/docs/examples/example-example29/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example29",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example3/index-debug.html b/1.2.19/docs/examples/example-example3/index-debug.html
new file mode 100644
index 0000000000..2a14b96295
--- /dev/null
+++ b/1.2.19/docs/examples/example-example3/index-debug.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Example - example-example3-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Cache
+
+
Cached Values
+
+
+ :
+
+
+
+
Cache Info
+
+
+ :
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example3/index-jquery.html b/1.2.19/docs/examples/example-example3/index-jquery.html
new file mode 100644
index 0000000000..14860dfa79
--- /dev/null
+++ b/1.2.19/docs/examples/example-example3/index-jquery.html
@@ -0,0 +1,37 @@
+
+
+
+
+ Example - example-example3-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Cache
+
+
Cached Values
+
+
+ :
+
+
+
+
Cache Info
+
+
+ :
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example3/index-production.html b/1.2.19/docs/examples/example-example3/index-production.html
new file mode 100644
index 0000000000..c6b3d70191
--- /dev/null
+++ b/1.2.19/docs/examples/example-example3/index-production.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Example - example-example3-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Cache
+
+
Cached Values
+
+
+ :
+
+
+
+
Cache Info
+
+
+ :
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example3/index.html b/1.2.19/docs/examples/example-example3/index.html
new file mode 100644
index 0000000000..617d0f5a40
--- /dev/null
+++ b/1.2.19/docs/examples/example-example3/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Example - example-example3
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Cache
+
+
Cached Values
+
+
+ :
+
+
+
+
Cache Info
+
+
+ :
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example3/manifest.json b/1.2.19/docs/examples/example-example3/manifest.json
new file mode 100644
index 0000000000..e1661b24e5
--- /dev/null
+++ b/1.2.19/docs/examples/example-example3/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example3",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "style.css"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example3/script.js b/1.2.19/docs/examples/example-example3/script.js
new file mode 100644
index 0000000000..1e4be05ab3
--- /dev/null
+++ b/1.2.19/docs/examples/example-example3/script.js
@@ -0,0 +1,9 @@
+ angular.module('cacheExampleApp', []).
+ controller('CacheController', ['$scope', '$cacheFactory', function($scope, $cacheFactory) {
+ $scope.keys = [];
+ $scope.cache = $cacheFactory('cacheId');
+ $scope.put = function(key, value) {
+ $scope.cache.put(key, value);
+ $scope.keys.push(key);
+ };
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example3/style.css b/1.2.19/docs/examples/example-example3/style.css
new file mode 100644
index 0000000000..301a3b0a5c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example3/style.css
@@ -0,0 +1,3 @@
+ p {
+ margin: 10px 0 3px;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example30/index-debug.html b/1.2.19/docs/examples/example-example30/index-debug.html
new file mode 100644
index 0000000000..250e4d9831
--- /dev/null
+++ b/1.2.19/docs/examples/example-example30/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example30-debug
+
+
+
+
+
+
+
+
+ Typing in the input box below updates the key count
+ key up count: {{count}}
+
+ Typing in the input box below updates the keycode
+
+ event keyCode: {{ event.keyCode }}
+ event altKey: {{ event.altKey }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example30/index-jquery.html b/1.2.19/docs/examples/example-example30/index-jquery.html
new file mode 100644
index 0000000000..5032a01941
--- /dev/null
+++ b/1.2.19/docs/examples/example-example30/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example30-jquery
+
+
+
+
+
+
+
+
+
+ Typing in the input box below updates the key count
+ key up count: {{count}}
+
+ Typing in the input box below updates the keycode
+
+ event keyCode: {{ event.keyCode }}
+ event altKey: {{ event.altKey }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example30/index-production.html b/1.2.19/docs/examples/example-example30/index-production.html
new file mode 100644
index 0000000000..813e4607bc
--- /dev/null
+++ b/1.2.19/docs/examples/example-example30/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example30-production
+
+
+
+
+
+
+
+
+ Typing in the input box below updates the key count
+ key up count: {{count}}
+
+ Typing in the input box below updates the keycode
+
+ event keyCode: {{ event.keyCode }}
+ event altKey: {{ event.altKey }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example30/index.html b/1.2.19/docs/examples/example-example30/index.html
new file mode 100644
index 0000000000..c97c2a8c87
--- /dev/null
+++ b/1.2.19/docs/examples/example-example30/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example30
+
+
+
+
+
+
+
+
+ Typing in the input box below updates the key count
+ key up count: {{count}}
+
+ Typing in the input box below updates the keycode
+
+ event keyCode: {{ event.keyCode }}
+ event altKey: {{ event.altKey }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example30/manifest.json b/1.2.19/docs/examples/example-example30/manifest.json
new file mode 100644
index 0000000000..7e06e65605
--- /dev/null
+++ b/1.2.19/docs/examples/example-example30/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example30",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example31/index-debug.html b/1.2.19/docs/examples/example-example31/index-debug.html
new file mode 100644
index 0000000000..6c8a74c7b2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example31/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example31-debug
+
+
+
+
+
+
+
+
+
+ key press count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example31/index-jquery.html b/1.2.19/docs/examples/example-example31/index-jquery.html
new file mode 100644
index 0000000000..1b4995c4d2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example31/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-example31-jquery
+
+
+
+
+
+
+
+
+
+
+ key press count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example31/index-production.html b/1.2.19/docs/examples/example-example31/index-production.html
new file mode 100644
index 0000000000..abab769199
--- /dev/null
+++ b/1.2.19/docs/examples/example-example31/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example31-production
+
+
+
+
+
+
+
+
+
+ key press count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example31/index.html b/1.2.19/docs/examples/example-example31/index.html
new file mode 100644
index 0000000000..d14c6b7f5b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example31/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example31
+
+
+
+
+
+
+
+
+
+ key press count: {{count}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example31/manifest.json b/1.2.19/docs/examples/example-example31/manifest.json
new file mode 100644
index 0000000000..4890933c94
--- /dev/null
+++ b/1.2.19/docs/examples/example-example31/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example31",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example32/index-debug.html b/1.2.19/docs/examples/example-example32/index-debug.html
new file mode 100644
index 0000000000..80ef9d6edf
--- /dev/null
+++ b/1.2.19/docs/examples/example-example32/index-debug.html
@@ -0,0 +1,33 @@
+
+
+
+
+ Example - example-example32-debug
+
+
+
+
+
+
+
+
+
+
+ Enter text and hit enter:
+
+
+ list={{list}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example32/index-jquery.html b/1.2.19/docs/examples/example-example32/index-jquery.html
new file mode 100644
index 0000000000..1670bbb09d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example32/index-jquery.html
@@ -0,0 +1,34 @@
+
+
+
+
+ Example - example-example32-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Enter text and hit enter:
+
+
+ list={{list}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example32/index-production.html b/1.2.19/docs/examples/example-example32/index-production.html
new file mode 100644
index 0000000000..abfba8be10
--- /dev/null
+++ b/1.2.19/docs/examples/example-example32/index-production.html
@@ -0,0 +1,33 @@
+
+
+
+
+ Example - example-example32-production
+
+
+
+
+
+
+
+
+
+
+ Enter text and hit enter:
+
+
+ list={{list}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example32/index.html b/1.2.19/docs/examples/example-example32/index.html
new file mode 100644
index 0000000000..32aa2fc77f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example32/index.html
@@ -0,0 +1,33 @@
+
+
+
+
+ Example - example-example32
+
+
+
+
+
+
+
+
+
+
+ Enter text and hit enter:
+
+
+ list={{list}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example32/manifest.json b/1.2.19/docs/examples/example-example32/manifest.json
new file mode 100644
index 0000000000..597ccde53c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example32/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example32",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example32/protractor.js b/1.2.19/docs/examples/example-example32/protractor.js
new file mode 100644
index 0000000000..cb3d46eb70
--- /dev/null
+++ b/1.2.19/docs/examples/example-example32/protractor.js
@@ -0,0 +1,12 @@
+ it('should check ng-submit', function() {
+ expect(element(by.binding('list')).getText()).toBe('list=[]');
+ element(by.css('#submit')).click();
+ expect(element(by.binding('list')).getText()).toContain('hello');
+ expect(element(by.input('text')).getAttribute('value')).toBe('');
+ });
+ it('should ignore empty strings', function() {
+ expect(element(by.binding('list')).getText()).toBe('list=[]');
+ element(by.css('#submit')).click();
+ element(by.css('#submit')).click();
+ expect(element(by.binding('list')).getText()).toContain('hello');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example33/index-debug.html b/1.2.19/docs/examples/example-example33/index-debug.html
new file mode 100644
index 0000000000..d7b6255a31
--- /dev/null
+++ b/1.2.19/docs/examples/example-example33/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example33-debug
+
+
+
+
+
+
+
+
+
+ copied: {{copied}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example33/index-jquery.html b/1.2.19/docs/examples/example-example33/index-jquery.html
new file mode 100644
index 0000000000..bde3846d2b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example33/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-example33-jquery
+
+
+
+
+
+
+
+
+
+
+ copied: {{copied}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example33/index-production.html b/1.2.19/docs/examples/example-example33/index-production.html
new file mode 100644
index 0000000000..508b06717b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example33/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example33-production
+
+
+
+
+
+
+
+
+
+ copied: {{copied}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example33/index.html b/1.2.19/docs/examples/example-example33/index.html
new file mode 100644
index 0000000000..074e796080
--- /dev/null
+++ b/1.2.19/docs/examples/example-example33/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example33
+
+
+
+
+
+
+
+
+
+ copied: {{copied}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example33/manifest.json b/1.2.19/docs/examples/example-example33/manifest.json
new file mode 100644
index 0000000000..be9db818f4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example33/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example33",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example34/index-debug.html b/1.2.19/docs/examples/example-example34/index-debug.html
new file mode 100644
index 0000000000..e612cbaef8
--- /dev/null
+++ b/1.2.19/docs/examples/example-example34/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example34-debug
+
+
+
+
+
+
+
+
+
+ cut: {{cut}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example34/index-jquery.html b/1.2.19/docs/examples/example-example34/index-jquery.html
new file mode 100644
index 0000000000..21da6f9b78
--- /dev/null
+++ b/1.2.19/docs/examples/example-example34/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-example34-jquery
+
+
+
+
+
+
+
+
+
+
+ cut: {{cut}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example34/index-production.html b/1.2.19/docs/examples/example-example34/index-production.html
new file mode 100644
index 0000000000..2887ea4c74
--- /dev/null
+++ b/1.2.19/docs/examples/example-example34/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example34-production
+
+
+
+
+
+
+
+
+
+ cut: {{cut}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example34/index.html b/1.2.19/docs/examples/example-example34/index.html
new file mode 100644
index 0000000000..cee35cffca
--- /dev/null
+++ b/1.2.19/docs/examples/example-example34/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example34
+
+
+
+
+
+
+
+
+
+ cut: {{cut}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example34/manifest.json b/1.2.19/docs/examples/example-example34/manifest.json
new file mode 100644
index 0000000000..cc7622aeb4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example34/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example34",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example35/index-debug.html b/1.2.19/docs/examples/example-example35/index-debug.html
new file mode 100644
index 0000000000..44b24f1312
--- /dev/null
+++ b/1.2.19/docs/examples/example-example35/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example35-debug
+
+
+
+
+
+
+
+
+
+ pasted: {{paste}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example35/index-jquery.html b/1.2.19/docs/examples/example-example35/index-jquery.html
new file mode 100644
index 0000000000..8a2db5e67f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example35/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-example35-jquery
+
+
+
+
+
+
+
+
+
+
+ pasted: {{paste}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example35/index-production.html b/1.2.19/docs/examples/example-example35/index-production.html
new file mode 100644
index 0000000000..15e0e0adbe
--- /dev/null
+++ b/1.2.19/docs/examples/example-example35/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example35-production
+
+
+
+
+
+
+
+
+
+ pasted: {{paste}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example35/index.html b/1.2.19/docs/examples/example-example35/index.html
new file mode 100644
index 0000000000..15950d52d0
--- /dev/null
+++ b/1.2.19/docs/examples/example-example35/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example35
+
+
+
+
+
+
+
+
+
+ pasted: {{paste}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example35/manifest.json b/1.2.19/docs/examples/example-example35/manifest.json
new file mode 100644
index 0000000000..9705a31c98
--- /dev/null
+++ b/1.2.19/docs/examples/example-example35/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example35",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example36/animations.css b/1.2.19/docs/examples/example-example36/animations.css
new file mode 100644
index 0000000000..2782c1247b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example36/animations.css
@@ -0,0 +1,20 @@
+ .animate-if {
+ background:white;
+ border:1px solid black;
+ padding:10px;
+ }
+
+ .animate-if.ng-enter, .animate-if.ng-leave {
+ -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ }
+
+ .animate-if.ng-enter,
+ .animate-if.ng-leave.ng-leave-active {
+ opacity:0;
+ }
+
+ .animate-if.ng-leave,
+ .animate-if.ng-enter.ng-enter-active {
+ opacity:1;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example36/index-debug.html b/1.2.19/docs/examples/example-example36/index-debug.html
new file mode 100644
index 0000000000..10141801aa
--- /dev/null
+++ b/1.2.19/docs/examples/example-example36/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example36-debug
+
+
+
+
+
+
+
+
+
+
+ Click me:
+ Show when checked:
+
+ I'm removed when the checkbox is unchecked.
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example36/index-jquery.html b/1.2.19/docs/examples/example-example36/index-jquery.html
new file mode 100644
index 0000000000..f333fb2112
--- /dev/null
+++ b/1.2.19/docs/examples/example-example36/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example36-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+ Show when checked:
+
+ I'm removed when the checkbox is unchecked.
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example36/index-production.html b/1.2.19/docs/examples/example-example36/index-production.html
new file mode 100644
index 0000000000..fc2c5b121b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example36/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example36-production
+
+
+
+
+
+
+
+
+
+
+ Click me:
+ Show when checked:
+
+ I'm removed when the checkbox is unchecked.
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example36/index.html b/1.2.19/docs/examples/example-example36/index.html
new file mode 100644
index 0000000000..7bc6541378
--- /dev/null
+++ b/1.2.19/docs/examples/example-example36/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example36
+
+
+
+
+
+
+
+
+
+
+ Click me:
+ Show when checked:
+
+ I'm removed when the checkbox is unchecked.
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example36/manifest.json b/1.2.19/docs/examples/example-example36/manifest.json
new file mode 100644
index 0000000000..e78a43e50d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example36/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example36",
+ "files": [
+ "index-production.html",
+ "animations.css"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example37/animations.css b/1.2.19/docs/examples/example-example37/animations.css
new file mode 100644
index 0000000000..87a01ef8ec
--- /dev/null
+++ b/1.2.19/docs/examples/example-example37/animations.css
@@ -0,0 +1,38 @@
+ .slide-animate-container {
+ position:relative;
+ background:white;
+ border:1px solid black;
+ height:40px;
+ overflow:hidden;
+ }
+
+ .slide-animate {
+ padding:10px;
+ }
+
+ .slide-animate.ng-enter, .slide-animate.ng-leave {
+ -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+
+ position:absolute;
+ top:0;
+ left:0;
+ right:0;
+ bottom:0;
+ display:block;
+ padding:10px;
+ }
+
+ .slide-animate.ng-enter {
+ top:-50px;
+ }
+ .slide-animate.ng-enter.ng-enter-active {
+ top:0;
+ }
+
+ .slide-animate.ng-leave {
+ top:0;
+ }
+ .slide-animate.ng-leave.ng-leave-active {
+ top:50px;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example37/index-debug.html b/1.2.19/docs/examples/example-example37/index-debug.html
new file mode 100644
index 0000000000..2af023d5b2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example37/index-debug.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example37-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+ (blank)
+
+ url of the template:
{{template.url}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example37/index-jquery.html b/1.2.19/docs/examples/example-example37/index-jquery.html
new file mode 100644
index 0000000000..868578dc74
--- /dev/null
+++ b/1.2.19/docs/examples/example-example37/index-jquery.html
@@ -0,0 +1,29 @@
+
+
+
+
+ Example - example-example37-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ (blank)
+
+ url of the template:
{{template.url}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example37/index-production.html b/1.2.19/docs/examples/example-example37/index-production.html
new file mode 100644
index 0000000000..90cd8889e0
--- /dev/null
+++ b/1.2.19/docs/examples/example-example37/index-production.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example37-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+ (blank)
+
+ url of the template:
{{template.url}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example37/index.html b/1.2.19/docs/examples/example-example37/index.html
new file mode 100644
index 0000000000..e52ddd93d0
--- /dev/null
+++ b/1.2.19/docs/examples/example-example37/index.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example37
+
+
+
+
+
+
+
+
+
+
+
+
+
+ (blank)
+
+ url of the template:
{{template.url}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example37/manifest.json b/1.2.19/docs/examples/example-example37/manifest.json
new file mode 100644
index 0000000000..d578c48c34
--- /dev/null
+++ b/1.2.19/docs/examples/example-example37/manifest.json
@@ -0,0 +1,11 @@
+{
+ "name": "example-example37",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "template1.html",
+ "template2.html",
+ "animations.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example37/protractor.js b/1.2.19/docs/examples/example-example37/protractor.js
new file mode 100644
index 0000000000..1320585aee
--- /dev/null
+++ b/1.2.19/docs/examples/example-example37/protractor.js
@@ -0,0 +1,27 @@
+ var templateSelect = element(by.model('template'));
+ var includeElem = element(by.css('[ng-include]'));
+
+ it('should load template1.html', function() {
+ expect(includeElem.getText()).toMatch(/Content of template1.html/);
+ });
+
+ it('should load template2.html', function() {
+ if (browser.params.browser == 'firefox') {
+ // Firefox can't handle using selects
+ // See https://github.com/angular/protractor/issues/480
+ return;
+ }
+ templateSelect.click();
+ templateSelect.element.all(by.css('option')).get(2).click();
+ expect(includeElem.getText()).toMatch(/Content of template2.html/);
+ });
+
+ it('should change to blank', function() {
+ if (browser.params.browser == 'firefox') {
+ // Firefox can't handle using selects
+ return;
+ }
+ templateSelect.click();
+ templateSelect.element.all(by.css('option')).get(0).click();
+ expect(includeElem.isPresent()).toBe(false);
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example37/script.js b/1.2.19/docs/examples/example-example37/script.js
new file mode 100644
index 0000000000..80237f8008
--- /dev/null
+++ b/1.2.19/docs/examples/example-example37/script.js
@@ -0,0 +1,6 @@
+ function Ctrl($scope) {
+ $scope.templates =
+ [ { name: 'template1.html', url: 'template1.html'},
+ { name: 'template2.html', url: 'template2.html'} ];
+ $scope.template = $scope.templates[0];
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example37/template1.html b/1.2.19/docs/examples/example-example37/template1.html
new file mode 100644
index 0000000000..e2ce5ca854
--- /dev/null
+++ b/1.2.19/docs/examples/example-example37/template1.html
@@ -0,0 +1 @@
+ Content of template1.html
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example37/template2.html b/1.2.19/docs/examples/example-example37/template2.html
new file mode 100644
index 0000000000..bc2c751a70
--- /dev/null
+++ b/1.2.19/docs/examples/example-example37/template2.html
@@ -0,0 +1 @@
+ Content of template2.html
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example38/index-debug.html b/1.2.19/docs/examples/example-example38/index-debug.html
new file mode 100644
index 0000000000..9299bb90ac
--- /dev/null
+++ b/1.2.19/docs/examples/example-example38/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example38-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ list[ {{outerIndex}} ][ {{innerIndex}} ] = {{value}};
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example38/index-jquery.html b/1.2.19/docs/examples/example-example38/index-jquery.html
new file mode 100644
index 0000000000..4bd0bb3589
--- /dev/null
+++ b/1.2.19/docs/examples/example-example38/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example38-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ list[ {{outerIndex}} ][ {{innerIndex}} ] = {{value}};
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example38/index-production.html b/1.2.19/docs/examples/example-example38/index-production.html
new file mode 100644
index 0000000000..a806c45ec0
--- /dev/null
+++ b/1.2.19/docs/examples/example-example38/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example38-production
+
+
+
+
+
+
+
+
+
+
+
+
+ list[ {{outerIndex}} ][ {{innerIndex}} ] = {{value}};
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example38/index.html b/1.2.19/docs/examples/example-example38/index.html
new file mode 100644
index 0000000000..254ec8b0f6
--- /dev/null
+++ b/1.2.19/docs/examples/example-example38/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example38
+
+
+
+
+
+
+
+
+
+
+
+
+ list[ {{outerIndex}} ][ {{innerIndex}} ] = {{value}};
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example38/manifest.json b/1.2.19/docs/examples/example-example38/manifest.json
new file mode 100644
index 0000000000..6e95209d2d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example38/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example38",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example38/protractor.js b/1.2.19/docs/examples/example-example38/protractor.js
new file mode 100644
index 0000000000..b1bc72d1d7
--- /dev/null
+++ b/1.2.19/docs/examples/example-example38/protractor.js
@@ -0,0 +1,7 @@
+ it('should alias index positions', function() {
+ var elements = element.all(by.css('.example-init'));
+ expect(elements.get(0).getText()).toBe('list[ 0 ][ 0 ] = a;');
+ expect(elements.get(1).getText()).toBe('list[ 0 ][ 1 ] = b;');
+ expect(elements.get(2).getText()).toBe('list[ 1 ][ 0 ] = c;');
+ expect(elements.get(3).getText()).toBe('list[ 1 ][ 1 ] = d;');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example39/index-debug.html b/1.2.19/docs/examples/example-example39/index-debug.html
new file mode 100644
index 0000000000..fcce1d442f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example39/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example39-debug
+
+
+
+
+
+
+
+
+ Normal: {{1 + 2}}
+ Ignored: {{1 + 2}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example39/index-jquery.html b/1.2.19/docs/examples/example-example39/index-jquery.html
new file mode 100644
index 0000000000..9fc171ce5f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example39/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-example39-jquery
+
+
+
+
+
+
+
+
+
+ Normal: {{1 + 2}}
+ Ignored: {{1 + 2}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example39/index-production.html b/1.2.19/docs/examples/example-example39/index-production.html
new file mode 100644
index 0000000000..dc421c5ff4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example39/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example39-production
+
+
+
+
+
+
+
+
+ Normal: {{1 + 2}}
+ Ignored: {{1 + 2}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example39/index.html b/1.2.19/docs/examples/example-example39/index.html
new file mode 100644
index 0000000000..6ad09bfc7a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example39/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example39
+
+
+
+
+
+
+
+
+ Normal: {{1 + 2}}
+ Ignored: {{1 + 2}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example39/manifest.json b/1.2.19/docs/examples/example-example39/manifest.json
new file mode 100644
index 0000000000..4562c86bc2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example39/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example39",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example39/protractor.js b/1.2.19/docs/examples/example-example39/protractor.js
new file mode 100644
index 0000000000..92e76aeb1f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example39/protractor.js
@@ -0,0 +1,4 @@
+ it('should check ng-non-bindable', function() {
+ expect(element(by.binding('1 + 2')).getText()).toContain('3');
+ expect(element.all(by.css('div')).last().getText()).toMatch(/1 \+ 2/);
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example4/index-debug.html b/1.2.19/docs/examples/example-example4/index-debug.html
new file mode 100644
index 0000000000..32464730e0
--- /dev/null
+++ b/1.2.19/docs/examples/example-example4/index-debug.html
@@ -0,0 +1,53 @@
+
+
+
+
+ Example - example-example4-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example4/index-jquery.html b/1.2.19/docs/examples/example-example4/index-jquery.html
new file mode 100644
index 0000000000..39dbfd33b2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example4/index-jquery.html
@@ -0,0 +1,54 @@
+
+
+
+
+ Example - example-example4-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example4/index-production.html b/1.2.19/docs/examples/example-example4/index-production.html
new file mode 100644
index 0000000000..faaf86628e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example4/index-production.html
@@ -0,0 +1,53 @@
+
+
+
+
+ Example - example-example4-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example4/index.html b/1.2.19/docs/examples/example-example4/index.html
new file mode 100644
index 0000000000..ca050c817e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example4/index.html
@@ -0,0 +1,53 @@
+
+
+
+
+ Example - example-example4
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example4/manifest.json b/1.2.19/docs/examples/example-example4/manifest.json
new file mode 100644
index 0000000000..490fc2ef89
--- /dev/null
+++ b/1.2.19/docs/examples/example-example4/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example4",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example4/protractor.js b/1.2.19/docs/examples/example-example4/protractor.js
new file mode 100644
index 0000000000..f04c931a99
--- /dev/null
+++ b/1.2.19/docs/examples/example-example4/protractor.js
@@ -0,0 +1,9 @@
+ it('should auto compile', function() {
+ var textarea = $('textarea');
+ var output = $('div[compile]');
+ // The initial state reads 'Hello Angular'.
+ expect(output.getText()).toBe('Hello Angular');
+ textarea.clear();
+ textarea.sendKeys('{{name}}!');
+ expect(output.getText()).toBe('Angular!');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example40/index-debug.html b/1.2.19/docs/examples/example-example40/index-debug.html
new file mode 100644
index 0000000000..a20cdbd519
--- /dev/null
+++ b/1.2.19/docs/examples/example-example40/index-debug.html
@@ -0,0 +1,45 @@
+
+
+
+
+ Example - example-example40-debug
+
+
+
+
+
+
+
+
+
+
+ Person 1:
+ Person 2:
+ Number of People:
+
+
+ Without Offset:
+
+
+
+
+ With Offset(2):
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example40/index-jquery.html b/1.2.19/docs/examples/example-example40/index-jquery.html
new file mode 100644
index 0000000000..2af63ae349
--- /dev/null
+++ b/1.2.19/docs/examples/example-example40/index-jquery.html
@@ -0,0 +1,46 @@
+
+
+
+
+ Example - example-example40-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Person 1:
+ Person 2:
+ Number of People:
+
+
+ Without Offset:
+
+
+
+
+ With Offset(2):
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example40/index-production.html b/1.2.19/docs/examples/example-example40/index-production.html
new file mode 100644
index 0000000000..3c204e993e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example40/index-production.html
@@ -0,0 +1,45 @@
+
+
+
+
+ Example - example-example40-production
+
+
+
+
+
+
+
+
+
+
+ Person 1:
+ Person 2:
+ Number of People:
+
+
+ Without Offset:
+
+
+
+
+ With Offset(2):
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example40/index.html b/1.2.19/docs/examples/example-example40/index.html
new file mode 100644
index 0000000000..feff267e1b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example40/index.html
@@ -0,0 +1,45 @@
+
+
+
+
+ Example - example-example40
+
+
+
+
+
+
+
+
+
+
+ Person 1:
+ Person 2:
+ Number of People:
+
+
+ Without Offset:
+
+
+
+
+ With Offset(2):
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example40/manifest.json b/1.2.19/docs/examples/example-example40/manifest.json
new file mode 100644
index 0000000000..c3a60d52e5
--- /dev/null
+++ b/1.2.19/docs/examples/example-example40/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example40",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example40/protractor.js b/1.2.19/docs/examples/example-example40/protractor.js
new file mode 100644
index 0000000000..65fe79ff37
--- /dev/null
+++ b/1.2.19/docs/examples/example-example40/protractor.js
@@ -0,0 +1,45 @@
+ it('should show correct pluralized string', function() {
+ var withoutOffset = element.all(by.css('ng-pluralize')).get(0);
+ var withOffset = element.all(by.css('ng-pluralize')).get(1);
+ var countInput = element(by.model('personCount'));
+
+ expect(withoutOffset.getText()).toEqual('1 person is viewing.');
+ expect(withOffset.getText()).toEqual('Igor is viewing.');
+
+ countInput.clear();
+ countInput.sendKeys('0');
+
+ expect(withoutOffset.getText()).toEqual('Nobody is viewing.');
+ expect(withOffset.getText()).toEqual('Nobody is viewing.');
+
+ countInput.clear();
+ countInput.sendKeys('2');
+
+ expect(withoutOffset.getText()).toEqual('2 people are viewing.');
+ expect(withOffset.getText()).toEqual('Igor and Misko are viewing.');
+
+ countInput.clear();
+ countInput.sendKeys('3');
+
+ expect(withoutOffset.getText()).toEqual('3 people are viewing.');
+ expect(withOffset.getText()).toEqual('Igor, Misko and one other person are viewing.');
+
+ countInput.clear();
+ countInput.sendKeys('4');
+
+ expect(withoutOffset.getText()).toEqual('4 people are viewing.');
+ expect(withOffset.getText()).toEqual('Igor, Misko and 2 other people are viewing.');
+ });
+ it('should show data-bound names', function() {
+ var withOffset = element.all(by.css('ng-pluralize')).get(1);
+ var personCount = element(by.model('personCount'));
+ var person1 = element(by.model('person1'));
+ var person2 = element(by.model('person2'));
+ personCount.clear();
+ personCount.sendKeys('4');
+ person1.clear();
+ person1.sendKeys('Di');
+ person2.clear();
+ person2.sendKeys('Vojta');
+ expect(withOffset.getText()).toEqual('Di, Vojta and 2 other people are viewing.');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example41/animations.css b/1.2.19/docs/examples/example-example41/animations.css
new file mode 100644
index 0000000000..5d21c71bba
--- /dev/null
+++ b/1.2.19/docs/examples/example-example41/animations.css
@@ -0,0 +1,34 @@
+ .example-animate-container {
+ background:white;
+ border:1px solid black;
+ list-style:none;
+ margin:0;
+ padding:0 10px;
+ }
+
+ .animate-repeat {
+ line-height:40px;
+ list-style:none;
+ box-sizing:border-box;
+ }
+
+ .animate-repeat.ng-move,
+ .animate-repeat.ng-enter,
+ .animate-repeat.ng-leave {
+ -webkit-transition:all linear 0.5s;
+ transition:all linear 0.5s;
+ }
+
+ .animate-repeat.ng-leave.ng-leave-active,
+ .animate-repeat.ng-move,
+ .animate-repeat.ng-enter {
+ opacity:0;
+ max-height:0;
+ }
+
+ .animate-repeat.ng-leave,
+ .animate-repeat.ng-move.ng-move-active,
+ .animate-repeat.ng-enter.ng-enter-active {
+ opacity:1;
+ max-height:40px;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example41/index-debug.html b/1.2.19/docs/examples/example-example41/index-debug.html
new file mode 100644
index 0000000000..0a94da1387
--- /dev/null
+++ b/1.2.19/docs/examples/example-example41/index-debug.html
@@ -0,0 +1,37 @@
+
+
+
+
+ Example - example-example41-debug
+
+
+
+
+
+
+
+
+
+
+
+ I have {{friends.length}} friends. They are:
+
+
+
+ [{{$index + 1}}] {{friend.name}} who is {{friend.age}} years old.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example41/index-jquery.html b/1.2.19/docs/examples/example-example41/index-jquery.html
new file mode 100644
index 0000000000..a9dc777591
--- /dev/null
+++ b/1.2.19/docs/examples/example-example41/index-jquery.html
@@ -0,0 +1,38 @@
+
+
+
+
+ Example - example-example41-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ I have {{friends.length}} friends. They are:
+
+
+
+ [{{$index + 1}}] {{friend.name}} who is {{friend.age}} years old.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example41/index-production.html b/1.2.19/docs/examples/example-example41/index-production.html
new file mode 100644
index 0000000000..b6bcd64352
--- /dev/null
+++ b/1.2.19/docs/examples/example-example41/index-production.html
@@ -0,0 +1,37 @@
+
+
+
+
+ Example - example-example41-production
+
+
+
+
+
+
+
+
+
+
+
+ I have {{friends.length}} friends. They are:
+
+
+
+ [{{$index + 1}}] {{friend.name}} who is {{friend.age}} years old.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example41/index.html b/1.2.19/docs/examples/example-example41/index.html
new file mode 100644
index 0000000000..b16ca4cf0a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example41/index.html
@@ -0,0 +1,37 @@
+
+
+
+
+ Example - example-example41
+
+
+
+
+
+
+
+
+
+
+
+ I have {{friends.length}} friends. They are:
+
+
+
+ [{{$index + 1}}] {{friend.name}} who is {{friend.age}} years old.
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example41/manifest.json b/1.2.19/docs/examples/example-example41/manifest.json
new file mode 100644
index 0000000000..b9a865868a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example41/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example41",
+ "files": [
+ "index-production.html",
+ "animations.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example41/protractor.js b/1.2.19/docs/examples/example-example41/protractor.js
new file mode 100644
index 0000000000..b90d6fb61a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example41/protractor.js
@@ -0,0 +1,20 @@
+var friends = element.all(by.repeater('friend in friends'));
+
+it('should render initial data set', function() {
+ expect(friends.count()).toBe(10);
+ expect(friends.get(0).getText()).toEqual('[1] John who is 25 years old.');
+ expect(friends.get(1).getText()).toEqual('[2] Jessie who is 30 years old.');
+ expect(friends.last().getText()).toEqual('[10] Samantha who is 60 years old.');
+ expect(element(by.binding('friends.length')).getText())
+ .toMatch("I have 10 friends. They are:");
+});
+
+ it('should update repeater when filter predicate changes', function() {
+ expect(friends.count()).toBe(10);
+
+ element(by.model('q')).sendKeys('ma');
+
+ expect(friends.count()).toBe(2);
+ expect(friends.get(0).getText()).toEqual('[1] Mary who is 28 years old.');
+ expect(friends.last().getText()).toEqual('[2] Samantha who is 60 years old.');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example42/animations.css b/1.2.19/docs/examples/example-example42/animations.css
new file mode 100644
index 0000000000..5a8125160e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example42/animations.css
@@ -0,0 +1,21 @@
+ .animate-show {
+ -webkit-transition:all linear 0.5s;
+ transition:all linear 0.5s;
+ line-height:20px;
+ opacity:1;
+ padding:10px;
+ border:1px solid black;
+ background:white;
+ }
+
+ .animate-show.ng-hide {
+ line-height:0;
+ opacity:0;
+ padding:0 10px;
+ }
+
+ .check-element {
+ padding:10px;
+ border:1px solid black;
+ background:white;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example42/glyphicons.css b/1.2.19/docs/examples/example-example42/glyphicons.css
new file mode 100644
index 0000000000..e81b05ec1e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example42/glyphicons.css
@@ -0,0 +1 @@
+ @import url(//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example42/index-debug.html b/1.2.19/docs/examples/example-example42/index-debug.html
new file mode 100644
index 0000000000..d8415d75be
--- /dev/null
+++ b/1.2.19/docs/examples/example-example42/index-debug.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example42-debug
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example42/index-jquery.html b/1.2.19/docs/examples/example-example42/index-jquery.html
new file mode 100644
index 0000000000..8eec7bb8fb
--- /dev/null
+++ b/1.2.19/docs/examples/example-example42/index-jquery.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example42-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example42/index-production.html b/1.2.19/docs/examples/example-example42/index-production.html
new file mode 100644
index 0000000000..578e088b70
--- /dev/null
+++ b/1.2.19/docs/examples/example-example42/index-production.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example42-production
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example42/index.html b/1.2.19/docs/examples/example-example42/index.html
new file mode 100644
index 0000000000..bad6537994
--- /dev/null
+++ b/1.2.19/docs/examples/example-example42/index.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example42
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example42/manifest.json b/1.2.19/docs/examples/example-example42/manifest.json
new file mode 100644
index 0000000000..ad1e88d600
--- /dev/null
+++ b/1.2.19/docs/examples/example-example42/manifest.json
@@ -0,0 +1,9 @@
+{
+ "name": "example-example42",
+ "files": [
+ "index-production.html",
+ "glyphicons.css",
+ "animations.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example42/protractor.js b/1.2.19/docs/examples/example-example42/protractor.js
new file mode 100644
index 0000000000..a0c35c8644
--- /dev/null
+++ b/1.2.19/docs/examples/example-example42/protractor.js
@@ -0,0 +1,12 @@
+ var thumbsUp = element(by.css('span.glyphicon-thumbs-up'));
+ var thumbsDown = element(by.css('span.glyphicon-thumbs-down'));
+
+ it('should check ng-show / ng-hide', function() {
+ expect(thumbsUp.isDisplayed()).toBeFalsy();
+ expect(thumbsDown.isDisplayed()).toBeTruthy();
+
+ element(by.model('checked')).click();
+
+ expect(thumbsUp.isDisplayed()).toBeTruthy();
+ expect(thumbsDown.isDisplayed()).toBeFalsy();
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example43/animations.css b/1.2.19/docs/examples/example-example43/animations.css
new file mode 100644
index 0000000000..a755d7b690
--- /dev/null
+++ b/1.2.19/docs/examples/example-example43/animations.css
@@ -0,0 +1,21 @@
+ .animate-hide {
+ -webkit-transition:all linear 0.5s;
+ transition:all linear 0.5s;
+ line-height:20px;
+ opacity:1;
+ padding:10px;
+ border:1px solid black;
+ background:white;
+ }
+
+ .animate-hide.ng-hide {
+ line-height:0;
+ opacity:0;
+ padding:0 10px;
+ }
+
+ .check-element {
+ padding:10px;
+ border:1px solid black;
+ background:white;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example43/glyphicons.css b/1.2.19/docs/examples/example-example43/glyphicons.css
new file mode 100644
index 0000000000..e81b05ec1e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example43/glyphicons.css
@@ -0,0 +1 @@
+ @import url(//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example43/index-debug.html b/1.2.19/docs/examples/example-example43/index-debug.html
new file mode 100644
index 0000000000..463559d785
--- /dev/null
+++ b/1.2.19/docs/examples/example-example43/index-debug.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example43-debug
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example43/index-jquery.html b/1.2.19/docs/examples/example-example43/index-jquery.html
new file mode 100644
index 0000000000..ff86fb3f11
--- /dev/null
+++ b/1.2.19/docs/examples/example-example43/index-jquery.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example43-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example43/index-production.html b/1.2.19/docs/examples/example-example43/index-production.html
new file mode 100644
index 0000000000..80a802c484
--- /dev/null
+++ b/1.2.19/docs/examples/example-example43/index-production.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example43-production
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example43/index.html b/1.2.19/docs/examples/example-example43/index.html
new file mode 100644
index 0000000000..e2919d9ebf
--- /dev/null
+++ b/1.2.19/docs/examples/example-example43/index.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example43
+
+
+
+
+
+
+
+
+
+
+
+ Click me:
+
+ Show:
+
+ I show up when your checkbox is checked.
+
+
+
+ Hide:
+
+ I hide when your checkbox is checked.
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example43/manifest.json b/1.2.19/docs/examples/example-example43/manifest.json
new file mode 100644
index 0000000000..86faa930c0
--- /dev/null
+++ b/1.2.19/docs/examples/example-example43/manifest.json
@@ -0,0 +1,9 @@
+{
+ "name": "example-example43",
+ "files": [
+ "index-production.html",
+ "glyphicons.css",
+ "animations.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example43/protractor.js b/1.2.19/docs/examples/example-example43/protractor.js
new file mode 100644
index 0000000000..a0c35c8644
--- /dev/null
+++ b/1.2.19/docs/examples/example-example43/protractor.js
@@ -0,0 +1,12 @@
+ var thumbsUp = element(by.css('span.glyphicon-thumbs-up'));
+ var thumbsDown = element(by.css('span.glyphicon-thumbs-down'));
+
+ it('should check ng-show / ng-hide', function() {
+ expect(thumbsUp.isDisplayed()).toBeFalsy();
+ expect(thumbsDown.isDisplayed()).toBeTruthy();
+
+ element(by.model('checked')).click();
+
+ expect(thumbsUp.isDisplayed()).toBeTruthy();
+ expect(thumbsDown.isDisplayed()).toBeFalsy();
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example44/index-debug.html b/1.2.19/docs/examples/example-example44/index-debug.html
new file mode 100644
index 0000000000..c5cd0ca037
--- /dev/null
+++ b/1.2.19/docs/examples/example-example44/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example44-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+ myStyle={{myStyle}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example44/index-jquery.html b/1.2.19/docs/examples/example-example44/index-jquery.html
new file mode 100644
index 0000000000..fc866c47af
--- /dev/null
+++ b/1.2.19/docs/examples/example-example44/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example44-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+ myStyle={{myStyle}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example44/index-production.html b/1.2.19/docs/examples/example-example44/index-production.html
new file mode 100644
index 0000000000..f903694387
--- /dev/null
+++ b/1.2.19/docs/examples/example-example44/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example44-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+ myStyle={{myStyle}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example44/index.html b/1.2.19/docs/examples/example-example44/index.html
new file mode 100644
index 0000000000..06ea4ebccb
--- /dev/null
+++ b/1.2.19/docs/examples/example-example44/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example44
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Sample Text
+ myStyle={{myStyle}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example44/manifest.json b/1.2.19/docs/examples/example-example44/manifest.json
new file mode 100644
index 0000000000..07f72b2da1
--- /dev/null
+++ b/1.2.19/docs/examples/example-example44/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example44",
+ "files": [
+ "index-production.html",
+ "style.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example44/protractor.js b/1.2.19/docs/examples/example-example44/protractor.js
new file mode 100644
index 0000000000..5520cd4b01
--- /dev/null
+++ b/1.2.19/docs/examples/example-example44/protractor.js
@@ -0,0 +1,9 @@
+ var colorSpan = element(by.css('span'));
+
+ it('should check ng-style', function() {
+ expect(colorSpan.getCssValue('color')).toBe('rgba(0, 0, 0, 1)');
+ element(by.css('input[value=\'set color\']')).click();
+ expect(colorSpan.getCssValue('color')).toBe('rgba(255, 0, 0, 1)');
+ element(by.css('input[value=clear]')).click();
+ expect(colorSpan.getCssValue('color')).toBe('rgba(0, 0, 0, 1)');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example44/style.css b/1.2.19/docs/examples/example-example44/style.css
new file mode 100644
index 0000000000..3813c5ab68
--- /dev/null
+++ b/1.2.19/docs/examples/example-example44/style.css
@@ -0,0 +1,3 @@
+ span {
+ color: black;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example45/animations.css b/1.2.19/docs/examples/example-example45/animations.css
new file mode 100644
index 0000000000..029267121d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example45/animations.css
@@ -0,0 +1,31 @@
+ .animate-switch-container {
+ position:relative;
+ background:white;
+ border:1px solid black;
+ height:40px;
+ overflow:hidden;
+ }
+
+ .animate-switch {
+ padding:10px;
+ }
+
+ .animate-switch.ng-animate {
+ -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+
+ position:absolute;
+ top:0;
+ left:0;
+ right:0;
+ bottom:0;
+ }
+
+ .animate-switch.ng-leave.ng-leave-active,
+ .animate-switch.ng-enter {
+ top:-50px;
+ }
+ .animate-switch.ng-leave,
+ .animate-switch.ng-enter.ng-enter-active {
+ top:0;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example45/index-debug.html b/1.2.19/docs/examples/example-example45/index-debug.html
new file mode 100644
index 0000000000..cc1af3f749
--- /dev/null
+++ b/1.2.19/docs/examples/example-example45/index-debug.html
@@ -0,0 +1,30 @@
+
+
+
+
+ Example - example-example45-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
selection={{selection}}
+
+
+
Settings Div
+
Home Span
+
default
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example45/index-jquery.html b/1.2.19/docs/examples/example-example45/index-jquery.html
new file mode 100644
index 0000000000..610b49a26f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example45/index-jquery.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example45-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
selection={{selection}}
+
+
+
Settings Div
+
Home Span
+
default
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example45/index-production.html b/1.2.19/docs/examples/example-example45/index-production.html
new file mode 100644
index 0000000000..7d54338d09
--- /dev/null
+++ b/1.2.19/docs/examples/example-example45/index-production.html
@@ -0,0 +1,30 @@
+
+
+
+
+ Example - example-example45-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
selection={{selection}}
+
+
+
Settings Div
+
Home Span
+
default
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example45/index.html b/1.2.19/docs/examples/example-example45/index.html
new file mode 100644
index 0000000000..445e531a3a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example45/index.html
@@ -0,0 +1,30 @@
+
+
+
+
+ Example - example-example45
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
selection={{selection}}
+
+
+
Settings Div
+
Home Span
+
default
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example45/manifest.json b/1.2.19/docs/examples/example-example45/manifest.json
new file mode 100644
index 0000000000..87b450b73b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example45/manifest.json
@@ -0,0 +1,9 @@
+{
+ "name": "example-example45",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "animations.css",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example45/protractor.js b/1.2.19/docs/examples/example-example45/protractor.js
new file mode 100644
index 0000000000..37cd86c2c2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example45/protractor.js
@@ -0,0 +1,14 @@
+ var switchElem = element(by.css('[ng-switch]'));
+ var select = element(by.model('selection'));
+
+ it('should start in settings', function() {
+ expect(switchElem.getText()).toMatch(/Settings Div/);
+ });
+ it('should change to home', function() {
+ select.element.all(by.css('option')).get(1).click();
+ expect(switchElem.getText()).toMatch(/Home Span/);
+ });
+ it('should select default', function() {
+ select.element.all(by.css('option')).get(2).click();
+ expect(switchElem.getText()).toMatch(/default/);
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example45/script.js b/1.2.19/docs/examples/example-example45/script.js
new file mode 100644
index 0000000000..ee6a860834
--- /dev/null
+++ b/1.2.19/docs/examples/example-example45/script.js
@@ -0,0 +1,4 @@
+ function Ctrl($scope) {
+ $scope.items = ['settings', 'home', 'other'];
+ $scope.selection = $scope.items[0];
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example46/index-debug.html b/1.2.19/docs/examples/example-example46/index-debug.html
new file mode 100644
index 0000000000..a9de1de151
--- /dev/null
+++ b/1.2.19/docs/examples/example-example46/index-debug.html
@@ -0,0 +1,39 @@
+
+
+
+
+ Example - example-example46-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example46/index-jquery.html b/1.2.19/docs/examples/example-example46/index-jquery.html
new file mode 100644
index 0000000000..91231b143c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example46/index-jquery.html
@@ -0,0 +1,40 @@
+
+
+
+
+ Example - example-example46-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example46/index-production.html b/1.2.19/docs/examples/example-example46/index-production.html
new file mode 100644
index 0000000000..e2f00403e7
--- /dev/null
+++ b/1.2.19/docs/examples/example-example46/index-production.html
@@ -0,0 +1,39 @@
+
+
+
+
+ Example - example-example46-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example46/index.html b/1.2.19/docs/examples/example-example46/index.html
new file mode 100644
index 0000000000..01e17f373b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example46/index.html
@@ -0,0 +1,39 @@
+
+
+
+
+ Example - example-example46
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example46/manifest.json b/1.2.19/docs/examples/example-example46/manifest.json
new file mode 100644
index 0000000000..bbc607ef13
--- /dev/null
+++ b/1.2.19/docs/examples/example-example46/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example46",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example46/protractor.js b/1.2.19/docs/examples/example-example46/protractor.js
new file mode 100644
index 0000000000..cede5558e4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example46/protractor.js
@@ -0,0 +1,10 @@
+ it('should have transcluded', function() {
+ var titleElement = element(by.model('title'));
+ titleElement.clear();
+ titleElement.sendKeys('TITLE');
+ var textElement = element(by.model('text'));
+ textElement.clear();
+ textElement.sendKeys('TEXT');
+ expect(element(by.binding('title')).getText()).toEqual('TITLE');
+ expect(element(by.binding('text')).getText()).toEqual('TEXT');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example47/index-debug.html b/1.2.19/docs/examples/example-example47/index-debug.html
new file mode 100644
index 0000000000..01f2911343
--- /dev/null
+++ b/1.2.19/docs/examples/example-example47/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example47-debug
+
+
+
+
+
+
+
+
+
+
+ Load inlined template
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example47/index-jquery.html b/1.2.19/docs/examples/example-example47/index-jquery.html
new file mode 100644
index 0000000000..2cceb5c08f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example47/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example47-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Load inlined template
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example47/index-production.html b/1.2.19/docs/examples/example-example47/index-production.html
new file mode 100644
index 0000000000..cdbf84d55b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example47/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example47-production
+
+
+
+
+
+
+
+
+
+
+ Load inlined template
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example47/index.html b/1.2.19/docs/examples/example-example47/index.html
new file mode 100644
index 0000000000..ea1465de54
--- /dev/null
+++ b/1.2.19/docs/examples/example-example47/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example47
+
+
+
+
+
+
+
+
+
+
+ Load inlined template
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example47/manifest.json b/1.2.19/docs/examples/example-example47/manifest.json
new file mode 100644
index 0000000000..16357cf50d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example47/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example47",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example47/protractor.js b/1.2.19/docs/examples/example-example47/protractor.js
new file mode 100644
index 0000000000..a42438787a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example47/protractor.js
@@ -0,0 +1,4 @@
+ it('should load template defined inside script tag', function() {
+ element(by.css('#tpl-link')).click();
+ expect(element(by.css('#tpl-content')).getText()).toMatch(/Content of the template/);
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example48/index-debug.html b/1.2.19/docs/examples/example-example48/index-debug.html
new file mode 100644
index 0000000000..4ba0ba2040
--- /dev/null
+++ b/1.2.19/docs/examples/example-example48/index-debug.html
@@ -0,0 +1,60 @@
+
+
+
+
+ Example - example-example48-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ Color (null not allowed):
+
+
+ Color (null allowed):
+
+
+ -- choose color --
+
+
+
+ Color grouped by shade:
+
+
+
+
+ Select
bogus .
+
+ Currently selected: {{ {selected_color:myColor} }}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example48/index-jquery.html b/1.2.19/docs/examples/example-example48/index-jquery.html
new file mode 100644
index 0000000000..93779afc90
--- /dev/null
+++ b/1.2.19/docs/examples/example-example48/index-jquery.html
@@ -0,0 +1,61 @@
+
+
+
+
+ Example - example-example48-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Color (null not allowed):
+
+
+ Color (null allowed):
+
+
+ -- choose color --
+
+
+
+ Color grouped by shade:
+
+
+
+
+ Select
bogus .
+
+ Currently selected: {{ {selected_color:myColor} }}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example48/index-production.html b/1.2.19/docs/examples/example-example48/index-production.html
new file mode 100644
index 0000000000..4ac74d09fc
--- /dev/null
+++ b/1.2.19/docs/examples/example-example48/index-production.html
@@ -0,0 +1,60 @@
+
+
+
+
+ Example - example-example48-production
+
+
+
+
+
+
+
+
+
+
+
+
+ Color (null not allowed):
+
+
+ Color (null allowed):
+
+
+ -- choose color --
+
+
+
+ Color grouped by shade:
+
+
+
+
+ Select
bogus .
+
+ Currently selected: {{ {selected_color:myColor} }}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example48/index.html b/1.2.19/docs/examples/example-example48/index.html
new file mode 100644
index 0000000000..26aa8562a6
--- /dev/null
+++ b/1.2.19/docs/examples/example-example48/index.html
@@ -0,0 +1,60 @@
+
+
+
+
+ Example - example-example48
+
+
+
+
+
+
+
+
+
+
+
+
+ Color (null not allowed):
+
+
+ Color (null allowed):
+
+
+ -- choose color --
+
+
+
+ Color grouped by shade:
+
+
+
+
+ Select
bogus .
+
+ Currently selected: {{ {selected_color:myColor} }}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example48/manifest.json b/1.2.19/docs/examples/example-example48/manifest.json
new file mode 100644
index 0000000000..eb0528a18a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example48/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example48",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example48/protractor.js b/1.2.19/docs/examples/example-example48/protractor.js
new file mode 100644
index 0000000000..cc3acd2b87
--- /dev/null
+++ b/1.2.19/docs/examples/example-example48/protractor.js
@@ -0,0 +1,9 @@
+ it('should check ng-options', function() {
+ expect(element(by.binding('{selected_color:myColor}')).getText()).toMatch('red');
+ element.all(by.select('myColor')).first().click();
+ element.all(by.css('select[ng-model="myColor"] option')).first().click();
+ expect(element(by.binding('{selected_color:myColor}')).getText()).toMatch('black');
+ element(by.css('.nullable select[ng-model="myColor"]')).click();
+ element.all(by.css('.nullable select[ng-model="myColor"] option')).first().click();
+ expect(element(by.binding('{selected_color:myColor}')).getText()).toMatch('null');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example49/index-debug.html b/1.2.19/docs/examples/example-example49/index-debug.html
new file mode 100644
index 0000000000..3beb0a9f67
--- /dev/null
+++ b/1.2.19/docs/examples/example-example49/index-debug.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example49-debug
+
+
+
+
+
+
+
+
+
+
+
$document title:
+
window.document title:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example49/index-jquery.html b/1.2.19/docs/examples/example-example49/index-jquery.html
new file mode 100644
index 0000000000..b7d8d02a9d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example49/index-jquery.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example49-jquery
+
+
+
+
+
+
+
+
+
+
+
+
$document title:
+
window.document title:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example49/index-production.html b/1.2.19/docs/examples/example-example49/index-production.html
new file mode 100644
index 0000000000..ae91799fbc
--- /dev/null
+++ b/1.2.19/docs/examples/example-example49/index-production.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example49-production
+
+
+
+
+
+
+
+
+
+
+
$document title:
+
window.document title:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example49/index.html b/1.2.19/docs/examples/example-example49/index.html
new file mode 100644
index 0000000000..ed7edf75ea
--- /dev/null
+++ b/1.2.19/docs/examples/example-example49/index.html
@@ -0,0 +1,20 @@
+
+
+
+
+ Example - example-example49
+
+
+
+
+
+
+
+
+
+
+
$document title:
+
window.document title:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example49/manifest.json b/1.2.19/docs/examples/example-example49/manifest.json
new file mode 100644
index 0000000000..8e58a76c54
--- /dev/null
+++ b/1.2.19/docs/examples/example-example49/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example49",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example49/script.js b/1.2.19/docs/examples/example-example49/script.js
new file mode 100644
index 0000000000..af5876e29e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example49/script.js
@@ -0,0 +1,4 @@
+ function MainCtrl($scope, $document) {
+ $scope.title = $document[0].title;
+ $scope.windowTitle = angular.element(window.document)[0].title;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example5/index-debug.html b/1.2.19/docs/examples/example-example5/index-debug.html
new file mode 100644
index 0000000000..f0037235b2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example5/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example5-debug
+
+
+
+
+
+
+
+
+
+ link 1 (link, don't reload)
+ link 2 (link, don't reload)
+ link 3 (link, reload!)
+ anchor (link, don't reload)
+ anchor (no link)
+ link (link, change location)
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example5/index-jquery.html b/1.2.19/docs/examples/example-example5/index-jquery.html
new file mode 100644
index 0000000000..b1dd53ee2c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example5/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+ Example - example-example5-jquery
+
+
+
+
+
+
+
+
+
+
+ link 1 (link, don't reload)
+ link 2 (link, don't reload)
+ link 3 (link, reload!)
+ anchor (link, don't reload)
+ anchor (no link)
+ link (link, change location)
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example5/index-production.html b/1.2.19/docs/examples/example-example5/index-production.html
new file mode 100644
index 0000000000..aac8740526
--- /dev/null
+++ b/1.2.19/docs/examples/example-example5/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example5-production
+
+
+
+
+
+
+
+
+
+ link 1 (link, don't reload)
+ link 2 (link, don't reload)
+ link 3 (link, reload!)
+ anchor (link, don't reload)
+ anchor (no link)
+ link (link, change location)
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example5/index.html b/1.2.19/docs/examples/example-example5/index.html
new file mode 100644
index 0000000000..c899cbf317
--- /dev/null
+++ b/1.2.19/docs/examples/example-example5/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example5
+
+
+
+
+
+
+
+
+
+ link 1 (link, don't reload)
+ link 2 (link, don't reload)
+ link 3 (link, reload!)
+ anchor (link, don't reload)
+ anchor (no link)
+ link (link, change location)
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example5/manifest.json b/1.2.19/docs/examples/example-example5/manifest.json
new file mode 100644
index 0000000000..7939d7bd71
--- /dev/null
+++ b/1.2.19/docs/examples/example-example5/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example5",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example5/protractor.js b/1.2.19/docs/examples/example-example5/protractor.js
new file mode 100644
index 0000000000..ecb2628f8d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example5/protractor.js
@@ -0,0 +1,54 @@
+ it('should execute ng-click but not reload when href without value', function() {
+ element(by.id('link-1')).click();
+ expect(element(by.model('value')).getAttribute('value')).toEqual('1');
+ expect(element(by.id('link-1')).getAttribute('href')).toBe('');
+ });
+
+ it('should execute ng-click but not reload when href empty string', function() {
+ element(by.id('link-2')).click();
+ expect(element(by.model('value')).getAttribute('value')).toEqual('2');
+ expect(element(by.id('link-2')).getAttribute('href')).toBe('');
+ });
+
+ it('should execute ng-click and change url when ng-href specified', function() {
+ expect(element(by.id('link-3')).getAttribute('href')).toMatch(/\/123$/);
+
+ element(by.id('link-3')).click();
+
+ // At this point, we navigate away from an Angular page, so we need
+ // to use browser.driver to get the base webdriver.
+
+ browser.wait(function() {
+ return browser.driver.getCurrentUrl().then(function(url) {
+ return url.match(/\/123$/);
+ });
+ }, 1000, 'page should navigate to /123');
+ });
+
+ xit('should execute ng-click but not reload when href empty string and name specified', function() {
+ element(by.id('link-4')).click();
+ expect(element(by.model('value')).getAttribute('value')).toEqual('4');
+ expect(element(by.id('link-4')).getAttribute('href')).toBe('');
+ });
+
+ it('should execute ng-click but not reload when no href but name specified', function() {
+ element(by.id('link-5')).click();
+ expect(element(by.model('value')).getAttribute('value')).toEqual('5');
+ expect(element(by.id('link-5')).getAttribute('href')).toBe(null);
+ });
+
+ it('should only change url when only ng-href', function() {
+ element(by.model('value')).clear();
+ element(by.model('value')).sendKeys('6');
+ expect(element(by.id('link-6')).getAttribute('href')).toMatch(/\/6$/);
+
+ element(by.id('link-6')).click();
+
+ // At this point, we navigate away from an Angular page, so we need
+ // to use browser.driver to get the base webdriver.
+ browser.wait(function() {
+ return browser.driver.getCurrentUrl().then(function(url) {
+ return url.match(/\/6$/);
+ });
+ }, 1000, 'page should navigate to /6');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example50/index-debug.html b/1.2.19/docs/examples/example-example50/index-debug.html
new file mode 100644
index 0000000000..e05f637b1e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example50/index-debug.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Example - example-example50-debug
+
+
+
+
+
+
+
+
+
+
+ Search:
+
+ Name Phone
+
+ {{friend.name}}
+ {{friend.phone}}
+
+
+
+ Any:
+ Name only
+ Phone only
+ Equality
+
+ Name Phone
+
+ {{friendObj.name}}
+ {{friendObj.phone}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example50/index-jquery.html b/1.2.19/docs/examples/example-example50/index-jquery.html
new file mode 100644
index 0000000000..73d93d162e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example50/index-jquery.html
@@ -0,0 +1,43 @@
+
+
+
+
+ Example - example-example50-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Search:
+
+ Name Phone
+
+ {{friend.name}}
+ {{friend.phone}}
+
+
+
+ Any:
+ Name only
+ Phone only
+ Equality
+
+ Name Phone
+
+ {{friendObj.name}}
+ {{friendObj.phone}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example50/index-production.html b/1.2.19/docs/examples/example-example50/index-production.html
new file mode 100644
index 0000000000..8eae3798c0
--- /dev/null
+++ b/1.2.19/docs/examples/example-example50/index-production.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Example - example-example50-production
+
+
+
+
+
+
+
+
+
+
+ Search:
+
+ Name Phone
+
+ {{friend.name}}
+ {{friend.phone}}
+
+
+
+ Any:
+ Name only
+ Phone only
+ Equality
+
+ Name Phone
+
+ {{friendObj.name}}
+ {{friendObj.phone}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example50/index.html b/1.2.19/docs/examples/example-example50/index.html
new file mode 100644
index 0000000000..ff537559dc
--- /dev/null
+++ b/1.2.19/docs/examples/example-example50/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+ Example - example-example50
+
+
+
+
+
+
+
+
+
+
+ Search:
+
+ Name Phone
+
+ {{friend.name}}
+ {{friend.phone}}
+
+
+
+ Any:
+ Name only
+ Phone only
+ Equality
+
+ Name Phone
+
+ {{friendObj.name}}
+ {{friendObj.phone}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example50/manifest.json b/1.2.19/docs/examples/example-example50/manifest.json
new file mode 100644
index 0000000000..56fcb81f34
--- /dev/null
+++ b/1.2.19/docs/examples/example-example50/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example50",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example50/protractor.js b/1.2.19/docs/examples/example-example50/protractor.js
new file mode 100644
index 0000000000..6dcd056616
--- /dev/null
+++ b/1.2.19/docs/examples/example-example50/protractor.js
@@ -0,0 +1,33 @@
+ var expectFriendNames = function(expectedNames, key) {
+ element.all(by.repeater(key + ' in friends').column(key + '.name')).then(function(arr) {
+ arr.forEach(function(wd, i) {
+ expect(wd.getText()).toMatch(expectedNames[i]);
+ });
+ });
+ };
+
+ it('should search across all fields when filtering with a string', function() {
+ var searchText = element(by.model('searchText'));
+ searchText.clear();
+ searchText.sendKeys('m');
+ expectFriendNames(['Mary', 'Mike', 'Adam'], 'friend');
+
+ searchText.clear();
+ searchText.sendKeys('76');
+ expectFriendNames(['John', 'Julie'], 'friend');
+ });
+
+ it('should search in specific fields when filtering with a predicate object', function() {
+ var searchAny = element(by.model('search.$'));
+ searchAny.clear();
+ searchAny.sendKeys('i');
+ expectFriendNames(['Mary', 'Mike', 'Julie', 'Juliette'], 'friendObj');
+ });
+ it('should use a equal comparison when comparator is true', function() {
+ var searchName = element(by.model('search.name'));
+ var strict = element(by.model('strict'));
+ searchName.clear();
+ searchName.sendKeys('Julie');
+ strict.click();
+ expectFriendNames(['Julie'], 'friendObj');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example51/index-debug.html b/1.2.19/docs/examples/example-example51/index-debug.html
new file mode 100644
index 0000000000..ba0f08b512
--- /dev/null
+++ b/1.2.19/docs/examples/example-example51/index-debug.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example51-debug
+
+
+
+
+
+
+
+
+
+
+
+ default currency symbol ($): {{amount | currency}}
+ custom currency identifier (USD$): {{amount | currency:"USD$"}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example51/index-jquery.html b/1.2.19/docs/examples/example-example51/index-jquery.html
new file mode 100644
index 0000000000..01b64bde16
--- /dev/null
+++ b/1.2.19/docs/examples/example-example51/index-jquery.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example51-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ default currency symbol ($): {{amount | currency}}
+ custom currency identifier (USD$): {{amount | currency:"USD$"}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example51/index-production.html b/1.2.19/docs/examples/example-example51/index-production.html
new file mode 100644
index 0000000000..00037a442c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example51/index-production.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example51-production
+
+
+
+
+
+
+
+
+
+
+
+ default currency symbol ($): {{amount | currency}}
+ custom currency identifier (USD$): {{amount | currency:"USD$"}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example51/index.html b/1.2.19/docs/examples/example-example51/index.html
new file mode 100644
index 0000000000..6943c6b7f6
--- /dev/null
+++ b/1.2.19/docs/examples/example-example51/index.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example51
+
+
+
+
+
+
+
+
+
+
+
+ default currency symbol ($): {{amount | currency}}
+ custom currency identifier (USD$): {{amount | currency:"USD$"}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example51/manifest.json b/1.2.19/docs/examples/example-example51/manifest.json
new file mode 100644
index 0000000000..d1edf9cf3c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example51/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example51",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example51/protractor.js b/1.2.19/docs/examples/example-example51/protractor.js
new file mode 100644
index 0000000000..f5be614890
--- /dev/null
+++ b/1.2.19/docs/examples/example-example51/protractor.js
@@ -0,0 +1,15 @@
+ it('should init with 1234.56', function() {
+ expect(element(by.id('currency-default')).getText()).toBe('$1,234.56');
+ expect(element(by.binding('amount | currency:"USD$"')).getText()).toBe('USD$1,234.56');
+ });
+ it('should update', function() {
+ if (browser.params.browser == 'safari') {
+ // Safari does not understand the minus key. See
+ // https://github.com/angular/protractor/issues/481
+ return;
+ }
+ element(by.model('amount')).clear();
+ element(by.model('amount')).sendKeys('-1234');
+ expect(element(by.id('currency-default')).getText()).toBe('($1,234.00)');
+ expect(element(by.binding('amount | currency:"USD$"')).getText()).toBe('(USD$1,234.00)');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example52/index-debug.html b/1.2.19/docs/examples/example-example52/index-debug.html
new file mode 100644
index 0000000000..4a33eb5697
--- /dev/null
+++ b/1.2.19/docs/examples/example-example52/index-debug.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example52-debug
+
+
+
+
+
+
+
+
+
+
+ Enter number:
+ Default formatting: {{val | number}}
+ No fractions: {{val | number:0}}
+ Negative number: {{-val | number:4}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example52/index-jquery.html b/1.2.19/docs/examples/example-example52/index-jquery.html
new file mode 100644
index 0000000000..51369d82ad
--- /dev/null
+++ b/1.2.19/docs/examples/example-example52/index-jquery.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example52-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Enter number:
+ Default formatting: {{val | number}}
+ No fractions: {{val | number:0}}
+ Negative number: {{-val | number:4}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example52/index-production.html b/1.2.19/docs/examples/example-example52/index-production.html
new file mode 100644
index 0000000000..f2672ff38c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example52/index-production.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example52-production
+
+
+
+
+
+
+
+
+
+
+ Enter number:
+ Default formatting: {{val | number}}
+ No fractions: {{val | number:0}}
+ Negative number: {{-val | number:4}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example52/index.html b/1.2.19/docs/examples/example-example52/index.html
new file mode 100644
index 0000000000..427e131734
--- /dev/null
+++ b/1.2.19/docs/examples/example-example52/index.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example52
+
+
+
+
+
+
+
+
+
+
+ Enter number:
+ Default formatting: {{val | number}}
+ No fractions: {{val | number:0}}
+ Negative number: {{-val | number:4}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example52/manifest.json b/1.2.19/docs/examples/example-example52/manifest.json
new file mode 100644
index 0000000000..b63d0c84e6
--- /dev/null
+++ b/1.2.19/docs/examples/example-example52/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example52",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example52/protractor.js b/1.2.19/docs/examples/example-example52/protractor.js
new file mode 100644
index 0000000000..167435649d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example52/protractor.js
@@ -0,0 +1,13 @@
+ it('should format numbers', function() {
+ expect(element(by.id('number-default')).getText()).toBe('1,234.568');
+ expect(element(by.binding('val | number:0')).getText()).toBe('1,235');
+ expect(element(by.binding('-val | number:4')).getText()).toBe('-1,234.5679');
+ });
+
+ it('should update', function() {
+ element(by.model('val')).clear();
+ element(by.model('val')).sendKeys('3374.333');
+ expect(element(by.id('number-default')).getText()).toBe('3,374.333');
+ expect(element(by.binding('val | number:0')).getText()).toBe('3,374');
+ expect(element(by.binding('-val | number:4')).getText()).toBe('-3,374.3330');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example53/index-debug.html b/1.2.19/docs/examples/example-example53/index-debug.html
new file mode 100644
index 0000000000..8ab7363882
--- /dev/null
+++ b/1.2.19/docs/examples/example-example53/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example53-debug
+
+
+
+
+
+
+
+
+ {{1288323623006 | date:'medium'}} :
+ {{1288323623006 | date:'medium'}}
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}} :
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}
+ {{1288323623006 | date:'MM/dd/yyyy @ h:mma'}} :
+ {{'1288323623006' | date:'MM/dd/yyyy @ h:mma'}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example53/index-jquery.html b/1.2.19/docs/examples/example-example53/index-jquery.html
new file mode 100644
index 0000000000..b88ddac86b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example53/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+ Example - example-example53-jquery
+
+
+
+
+
+
+
+
+
+ {{1288323623006 | date:'medium'}} :
+ {{1288323623006 | date:'medium'}}
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}} :
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}
+ {{1288323623006 | date:'MM/dd/yyyy @ h:mma'}} :
+ {{'1288323623006' | date:'MM/dd/yyyy @ h:mma'}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example53/index-production.html b/1.2.19/docs/examples/example-example53/index-production.html
new file mode 100644
index 0000000000..7ba2c4f24d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example53/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example53-production
+
+
+
+
+
+
+
+
+ {{1288323623006 | date:'medium'}} :
+ {{1288323623006 | date:'medium'}}
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}} :
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}
+ {{1288323623006 | date:'MM/dd/yyyy @ h:mma'}} :
+ {{'1288323623006' | date:'MM/dd/yyyy @ h:mma'}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example53/index.html b/1.2.19/docs/examples/example-example53/index.html
new file mode 100644
index 0000000000..d15aadaf51
--- /dev/null
+++ b/1.2.19/docs/examples/example-example53/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+ Example - example-example53
+
+
+
+
+
+
+
+
+ {{1288323623006 | date:'medium'}} :
+ {{1288323623006 | date:'medium'}}
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}} :
+ {{1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'}}
+ {{1288323623006 | date:'MM/dd/yyyy @ h:mma'}} :
+ {{'1288323623006' | date:'MM/dd/yyyy @ h:mma'}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example53/manifest.json b/1.2.19/docs/examples/example-example53/manifest.json
new file mode 100644
index 0000000000..f8f469763c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example53/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example53",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example53/protractor.js b/1.2.19/docs/examples/example-example53/protractor.js
new file mode 100644
index 0000000000..a9df1a7e2d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example53/protractor.js
@@ -0,0 +1,8 @@
+ it('should format date', function() {
+ expect(element(by.binding("1288323623006 | date:'medium'")).getText()).
+ toMatch(/Oct 2\d, 2010 \d{1,2}:\d{2}:\d{2} (AM|PM)/);
+ expect(element(by.binding("1288323623006 | date:'yyyy-MM-dd HH:mm:ss Z'")).getText()).
+ toMatch(/2010\-10\-2\d \d{2}:\d{2}:\d{2} (\-|\+)?\d{4}/);
+ expect(element(by.binding("'1288323623006' | date:'MM/dd/yyyy @ h:mma'")).getText()).
+ toMatch(/10\/2\d\/2010 @ \d{1,2}:\d{2}(AM|PM)/);
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example54/index-debug.html b/1.2.19/docs/examples/example-example54/index-debug.html
new file mode 100644
index 0000000000..1b68978960
--- /dev/null
+++ b/1.2.19/docs/examples/example-example54/index-debug.html
@@ -0,0 +1,16 @@
+
+
+
+
+ Example - example-example54-debug
+
+
+
+
+
+
+
+
+ {{ {'name':'value'} | json }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example54/index-jquery.html b/1.2.19/docs/examples/example-example54/index-jquery.html
new file mode 100644
index 0000000000..a705afcc23
--- /dev/null
+++ b/1.2.19/docs/examples/example-example54/index-jquery.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example54-jquery
+
+
+
+
+
+
+
+
+
+ {{ {'name':'value'} | json }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example54/index-production.html b/1.2.19/docs/examples/example-example54/index-production.html
new file mode 100644
index 0000000000..d59d52afd6
--- /dev/null
+++ b/1.2.19/docs/examples/example-example54/index-production.html
@@ -0,0 +1,16 @@
+
+
+
+
+ Example - example-example54-production
+
+
+
+
+
+
+
+
+ {{ {'name':'value'} | json }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example54/index.html b/1.2.19/docs/examples/example-example54/index.html
new file mode 100644
index 0000000000..53d8c7c7df
--- /dev/null
+++ b/1.2.19/docs/examples/example-example54/index.html
@@ -0,0 +1,16 @@
+
+
+
+
+ Example - example-example54
+
+
+
+
+
+
+
+
+ {{ {'name':'value'} | json }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example54/manifest.json b/1.2.19/docs/examples/example-example54/manifest.json
new file mode 100644
index 0000000000..622adc4325
--- /dev/null
+++ b/1.2.19/docs/examples/example-example54/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example54",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example54/protractor.js b/1.2.19/docs/examples/example-example54/protractor.js
new file mode 100644
index 0000000000..b4f5b33fda
--- /dev/null
+++ b/1.2.19/docs/examples/example-example54/protractor.js
@@ -0,0 +1,3 @@
+ it('should jsonify filtered objects', function() {
+ expect(element(by.binding("{'name':'value'}")).getText()).toMatch(/\{\n "name": ?"value"\n}/);
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example55/index-debug.html b/1.2.19/docs/examples/example-example55/index-debug.html
new file mode 100644
index 0000000000..52edb96d77
--- /dev/null
+++ b/1.2.19/docs/examples/example-example55/index-debug.html
@@ -0,0 +1,29 @@
+
+
+
+
+ Example - example-example55-debug
+
+
+
+
+
+
+
+
+
+
+ Limit {{numbers}} to:
+
Output numbers: {{ numbers | limitTo:numLimit }}
+ Limit {{letters}} to:
+
Output letters: {{ letters | limitTo:letterLimit }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example55/index-jquery.html b/1.2.19/docs/examples/example-example55/index-jquery.html
new file mode 100644
index 0000000000..f3d49c4bd0
--- /dev/null
+++ b/1.2.19/docs/examples/example-example55/index-jquery.html
@@ -0,0 +1,30 @@
+
+
+
+
+ Example - example-example55-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Limit {{numbers}} to:
+
Output numbers: {{ numbers | limitTo:numLimit }}
+ Limit {{letters}} to:
+
Output letters: {{ letters | limitTo:letterLimit }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example55/index-production.html b/1.2.19/docs/examples/example-example55/index-production.html
new file mode 100644
index 0000000000..c8f7bb4523
--- /dev/null
+++ b/1.2.19/docs/examples/example-example55/index-production.html
@@ -0,0 +1,29 @@
+
+
+
+
+ Example - example-example55-production
+
+
+
+
+
+
+
+
+
+
+ Limit {{numbers}} to:
+
Output numbers: {{ numbers | limitTo:numLimit }}
+ Limit {{letters}} to:
+
Output letters: {{ letters | limitTo:letterLimit }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example55/index.html b/1.2.19/docs/examples/example-example55/index.html
new file mode 100644
index 0000000000..82d53d0ab3
--- /dev/null
+++ b/1.2.19/docs/examples/example-example55/index.html
@@ -0,0 +1,29 @@
+
+
+
+
+ Example - example-example55
+
+
+
+
+
+
+
+
+
+
+ Limit {{numbers}} to:
+
Output numbers: {{ numbers | limitTo:numLimit }}
+ Limit {{letters}} to:
+
Output letters: {{ letters | limitTo:letterLimit }}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example55/manifest.json b/1.2.19/docs/examples/example-example55/manifest.json
new file mode 100644
index 0000000000..faf2f32099
--- /dev/null
+++ b/1.2.19/docs/examples/example-example55/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example55",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example55/protractor.js b/1.2.19/docs/examples/example-example55/protractor.js
new file mode 100644
index 0000000000..f9ea3293e0
--- /dev/null
+++ b/1.2.19/docs/examples/example-example55/protractor.js
@@ -0,0 +1,29 @@
+ var numLimitInput = element(by.model('numLimit'));
+ var letterLimitInput = element(by.model('letterLimit'));
+ var limitedNumbers = element(by.binding('numbers | limitTo:numLimit'));
+ var limitedLetters = element(by.binding('letters | limitTo:letterLimit'));
+
+ it('should limit the number array to first three items', function() {
+ expect(numLimitInput.getAttribute('value')).toBe('3');
+ expect(letterLimitInput.getAttribute('value')).toBe('3');
+ expect(limitedNumbers.getText()).toEqual('Output numbers: [1,2,3]');
+ expect(limitedLetters.getText()).toEqual('Output letters: abc');
+ });
+
+ it('should update the output when -3 is entered', function() {
+ numLimitInput.clear();
+ numLimitInput.sendKeys('-3');
+ letterLimitInput.clear();
+ letterLimitInput.sendKeys('-3');
+ expect(limitedNumbers.getText()).toEqual('Output numbers: [7,8,9]');
+ expect(limitedLetters.getText()).toEqual('Output letters: ghi');
+ });
+
+ it('should not exceed the maximum size of input array', function() {
+ numLimitInput.clear();
+ numLimitInput.sendKeys('100');
+ letterLimitInput.clear();
+ letterLimitInput.sendKeys('100');
+ expect(limitedNumbers.getText()).toEqual('Output numbers: [1,2,3,4,5,6,7,8,9]');
+ expect(limitedLetters.getText()).toEqual('Output letters: abcdefghi');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example56/index-debug.html b/1.2.19/docs/examples/example-example56/index-debug.html
new file mode 100644
index 0000000000..d509d50bf3
--- /dev/null
+++ b/1.2.19/docs/examples/example-example56/index-debug.html
@@ -0,0 +1,44 @@
+
+
+
+
+ Example - example-example56-debug
+
+
+
+
+
+
+
+
+
+
+
Sorting predicate = {{predicate}}; reverse = {{reverse}}
+
+ [
unsorted ]
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example56/index-jquery.html b/1.2.19/docs/examples/example-example56/index-jquery.html
new file mode 100644
index 0000000000..455d9ce1b4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example56/index-jquery.html
@@ -0,0 +1,45 @@
+
+
+
+
+ Example - example-example56-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Sorting predicate = {{predicate}}; reverse = {{reverse}}
+
+ [
unsorted ]
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example56/index-production.html b/1.2.19/docs/examples/example-example56/index-production.html
new file mode 100644
index 0000000000..34584df94a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example56/index-production.html
@@ -0,0 +1,44 @@
+
+
+
+
+ Example - example-example56-production
+
+
+
+
+
+
+
+
+
+
+
Sorting predicate = {{predicate}}; reverse = {{reverse}}
+
+ [
unsorted ]
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example56/index.html b/1.2.19/docs/examples/example-example56/index.html
new file mode 100644
index 0000000000..d34ed4a6c9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example56/index.html
@@ -0,0 +1,44 @@
+
+
+
+
+ Example - example-example56
+
+
+
+
+
+
+
+
+
+
+
Sorting predicate = {{predicate}}; reverse = {{reverse}}
+
+ [
unsorted ]
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example56/manifest.json b/1.2.19/docs/examples/example-example56/manifest.json
new file mode 100644
index 0000000000..051d8633fb
--- /dev/null
+++ b/1.2.19/docs/examples/example-example56/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example56",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example57/index-debug.html b/1.2.19/docs/examples/example-example57/index-debug.html
new file mode 100644
index 0000000000..c750a6c46b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example57/index-debug.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example57-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example57/index-jquery.html b/1.2.19/docs/examples/example-example57/index-jquery.html
new file mode 100644
index 0000000000..646be3077e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example57/index-jquery.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example57-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example57/index-production.html b/1.2.19/docs/examples/example-example57/index-production.html
new file mode 100644
index 0000000000..ec72fac33c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example57/index-production.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example57-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example57/index.html b/1.2.19/docs/examples/example-example57/index.html
new file mode 100644
index 0000000000..bdc5e440f4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example57/index.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example57
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example57/manifest.json b/1.2.19/docs/examples/example-example57/manifest.json
new file mode 100644
index 0000000000..59afe4e814
--- /dev/null
+++ b/1.2.19/docs/examples/example-example57/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example57",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example57/script.js b/1.2.19/docs/examples/example-example57/script.js
new file mode 100644
index 0000000000..4f9dea5b55
--- /dev/null
+++ b/1.2.19/docs/examples/example-example57/script.js
@@ -0,0 +1,15 @@
+ function Ctrl($scope, $filter) {
+ var orderBy = $filter('orderBy');
+ $scope.friends = [
+ { name: 'John', phone: '555-1212', age: 10 },
+ { name: 'Mary', phone: '555-9876', age: 19 },
+ { name: 'Mike', phone: '555-4321', age: 21 },
+ { name: 'Adam', phone: '555-5678', age: 35 },
+ { name: 'Julie', phone: '555-8765', age: 29 }
+ ];
+
+ $scope.order = function(predicate, reverse) {
+ $scope.friends = orderBy($scope.friends, predicate, reverse);
+ };
+ $scope.order('-age',false);
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example58/http-hello.html b/1.2.19/docs/examples/example-example58/http-hello.html
new file mode 100644
index 0000000000..7b24164aa1
--- /dev/null
+++ b/1.2.19/docs/examples/example-example58/http-hello.html
@@ -0,0 +1 @@
+Hello, $http!
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example58/index-debug.html b/1.2.19/docs/examples/example-example58/index-debug.html
new file mode 100644
index 0000000000..270ec197b1
--- /dev/null
+++ b/1.2.19/docs/examples/example-example58/index-debug.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Example - example-example58-debug
+
+
+
+
+
+
+
+
+
+
+
+ GET
+ JSONP
+
+
+
fetch
+
Sample GET
+
+ Sample JSONP
+
+
+ Invalid JSONP
+
+
http status code: {{status}}
+
http response data: {{data}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example58/index-jquery.html b/1.2.19/docs/examples/example-example58/index-jquery.html
new file mode 100644
index 0000000000..f02ab952f6
--- /dev/null
+++ b/1.2.19/docs/examples/example-example58/index-jquery.html
@@ -0,0 +1,37 @@
+
+
+
+
+ Example - example-example58-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ GET
+ JSONP
+
+
+
fetch
+
Sample GET
+
+ Sample JSONP
+
+
+ Invalid JSONP
+
+
http status code: {{status}}
+
http response data: {{data}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example58/index-production.html b/1.2.19/docs/examples/example-example58/index-production.html
new file mode 100644
index 0000000000..84b0c6a5a2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example58/index-production.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Example - example-example58-production
+
+
+
+
+
+
+
+
+
+
+
+ GET
+ JSONP
+
+
+
fetch
+
Sample GET
+
+ Sample JSONP
+
+
+ Invalid JSONP
+
+
http status code: {{status}}
+
http response data: {{data}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example58/index.html b/1.2.19/docs/examples/example-example58/index.html
new file mode 100644
index 0000000000..941a0bbdd3
--- /dev/null
+++ b/1.2.19/docs/examples/example-example58/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+ Example - example-example58
+
+
+
+
+
+
+
+
+
+
+
+ GET
+ JSONP
+
+
+
fetch
+
Sample GET
+
+ Sample JSONP
+
+
+ Invalid JSONP
+
+
http status code: {{status}}
+
http response data: {{data}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example58/manifest.json b/1.2.19/docs/examples/example-example58/manifest.json
new file mode 100644
index 0000000000..945a1503ec
--- /dev/null
+++ b/1.2.19/docs/examples/example-example58/manifest.json
@@ -0,0 +1,9 @@
+{
+ "name": "example-example58",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "http-hello.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example58/protractor.js b/1.2.19/docs/examples/example-example58/protractor.js
new file mode 100644
index 0000000000..60aa1f5a31
--- /dev/null
+++ b/1.2.19/docs/examples/example-example58/protractor.js
@@ -0,0 +1,28 @@
+var status = element(by.binding('status'));
+var data = element(by.binding('data'));
+var fetchBtn = element(by.id('fetchbtn'));
+var sampleGetBtn = element(by.id('samplegetbtn'));
+var sampleJsonpBtn = element(by.id('samplejsonpbtn'));
+var invalidJsonpBtn = element(by.id('invalidjsonpbtn'));
+
+it('should make an xhr GET request', function() {
+ sampleGetBtn.click();
+ fetchBtn.click();
+ expect(status.getText()).toMatch('200');
+ expect(data.getText()).toMatch(/Hello, \$http!/);
+});
+
+it('should make a JSONP request to angularjs.org', function() {
+ sampleJsonpBtn.click();
+ fetchBtn.click();
+ expect(status.getText()).toMatch('200');
+ expect(data.getText()).toMatch(/Super Hero!/);
+});
+
+it('should make JSONP request to invalid URL and invoke the error handler',
+ function() {
+ invalidJsonpBtn.click();
+ fetchBtn.click();
+ expect(status.getText()).toMatch('0');
+ expect(data.getText()).toMatch('Request failed');
+});
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example58/script.js b/1.2.19/docs/examples/example-example58/script.js
new file mode 100644
index 0000000000..a352de9466
--- /dev/null
+++ b/1.2.19/docs/examples/example-example58/script.js
@@ -0,0 +1,24 @@
+function FetchCtrl($scope, $http, $templateCache) {
+ $scope.method = 'GET';
+ $scope.url = 'http-hello.html';
+
+ $scope.fetch = function() {
+ $scope.code = null;
+ $scope.response = null;
+
+ $http({method: $scope.method, url: $scope.url, cache: $templateCache}).
+ success(function(data, status) {
+ $scope.status = status;
+ $scope.data = data;
+ }).
+ error(function(data, status) {
+ $scope.data = data || "Request failed";
+ $scope.status = status;
+ });
+ };
+
+ $scope.updateModel = function(method, url) {
+ $scope.method = method;
+ $scope.url = url;
+ };
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example59/index-debug.html b/1.2.19/docs/examples/example-example59/index-debug.html
new file mode 100644
index 0000000000..3e08c52d73
--- /dev/null
+++ b/1.2.19/docs/examples/example-example59/index-debug.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example59-debug
+
+
+
+
+
+
+
+
+
+
+ //demo.label//
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example59/index-jquery.html b/1.2.19/docs/examples/example-example59/index-jquery.html
new file mode 100644
index 0000000000..3fdfe66402
--- /dev/null
+++ b/1.2.19/docs/examples/example-example59/index-jquery.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example59-jquery
+
+
+
+
+
+
+
+
+
+
+
+ //demo.label//
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example59/index-production.html b/1.2.19/docs/examples/example-example59/index-production.html
new file mode 100644
index 0000000000..5fcbe360ee
--- /dev/null
+++ b/1.2.19/docs/examples/example-example59/index-production.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example59-production
+
+
+
+
+
+
+
+
+
+
+ //demo.label//
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example59/index.html b/1.2.19/docs/examples/example-example59/index.html
new file mode 100644
index 0000000000..ec56c77983
--- /dev/null
+++ b/1.2.19/docs/examples/example-example59/index.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example59
+
+
+
+
+
+
+
+
+
+
+ //demo.label//
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example59/manifest.json b/1.2.19/docs/examples/example-example59/manifest.json
new file mode 100644
index 0000000000..fe12b81e79
--- /dev/null
+++ b/1.2.19/docs/examples/example-example59/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example59",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example59/protractor.js b/1.2.19/docs/examples/example-example59/protractor.js
new file mode 100644
index 0000000000..088c6693da
--- /dev/null
+++ b/1.2.19/docs/examples/example-example59/protractor.js
@@ -0,0 +1,3 @@
+it('should interpolate binding with custom symbols', function() {
+ expect(element(by.binding('demo.label')).getText()).toBe('This binding is brought you by // interpolation symbols.');
+});
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example6/index-debug.html b/1.2.19/docs/examples/example-example6/index-debug.html
new file mode 100644
index 0000000000..267594527f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example6/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example6-debug
+
+
+
+
+
+
+
+
+ Click me to toggle:
+ Button
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example6/index-jquery.html b/1.2.19/docs/examples/example-example6/index-jquery.html
new file mode 100644
index 0000000000..be7ad326b9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example6/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+ Example - example-example6-jquery
+
+
+
+
+
+
+
+
+
+ Click me to toggle:
+ Button
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example6/index-production.html b/1.2.19/docs/examples/example-example6/index-production.html
new file mode 100644
index 0000000000..81af4a48a9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example6/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example6-production
+
+
+
+
+
+
+
+
+ Click me to toggle:
+ Button
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example6/index.html b/1.2.19/docs/examples/example-example6/index.html
new file mode 100644
index 0000000000..29b36f25bd
--- /dev/null
+++ b/1.2.19/docs/examples/example-example6/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ Example - example-example6
+
+
+
+
+
+
+
+
+ Click me to toggle:
+ Button
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example6/manifest.json b/1.2.19/docs/examples/example-example6/manifest.json
new file mode 100644
index 0000000000..a341d49f13
--- /dev/null
+++ b/1.2.19/docs/examples/example-example6/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example6",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example6/protractor.js b/1.2.19/docs/examples/example-example6/protractor.js
new file mode 100644
index 0000000000..30944fc732
--- /dev/null
+++ b/1.2.19/docs/examples/example-example6/protractor.js
@@ -0,0 +1,5 @@
+ it('should toggle button', function() {
+ expect(element(by.css('button')).getAttribute('disabled')).toBeFalsy();
+ element(by.model('checked')).click();
+ expect(element(by.css('button')).getAttribute('disabled')).toBeTruthy();
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example60/index-debug.html b/1.2.19/docs/examples/example-example60/index-debug.html
new file mode 100644
index 0000000000..02c964c09a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example60/index-debug.html
@@ -0,0 +1,97 @@
+
+
+
+
+ Example - example-example60-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+ Blood 1 : {{blood_1}}
+ Blood 2 : {{blood_2}}
+ Fight
+ StopFight
+ resetFight
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example60/index-jquery.html b/1.2.19/docs/examples/example-example60/index-jquery.html
new file mode 100644
index 0000000000..7aea7781da
--- /dev/null
+++ b/1.2.19/docs/examples/example-example60/index-jquery.html
@@ -0,0 +1,98 @@
+
+
+
+
+ Example - example-example60-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+ Blood 1 : {{blood_1}}
+ Blood 2 : {{blood_2}}
+ Fight
+ StopFight
+ resetFight
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example60/index-production.html b/1.2.19/docs/examples/example-example60/index-production.html
new file mode 100644
index 0000000000..2f29ffca00
--- /dev/null
+++ b/1.2.19/docs/examples/example-example60/index-production.html
@@ -0,0 +1,97 @@
+
+
+
+
+ Example - example-example60-production
+
+
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+ Blood 1 : {{blood_1}}
+ Blood 2 : {{blood_2}}
+ Fight
+ StopFight
+ resetFight
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example60/index.html b/1.2.19/docs/examples/example-example60/index.html
new file mode 100644
index 0000000000..33326ea6b1
--- /dev/null
+++ b/1.2.19/docs/examples/example-example60/index.html
@@ -0,0 +1,97 @@
+
+
+
+
+ Example - example-example60
+
+
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+ Blood 1 : {{blood_1}}
+ Blood 2 : {{blood_2}}
+ Fight
+ StopFight
+ resetFight
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example60/manifest.json b/1.2.19/docs/examples/example-example60/manifest.json
new file mode 100644
index 0000000000..1246d4c6e8
--- /dev/null
+++ b/1.2.19/docs/examples/example-example60/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example60",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example61/index-debug.html b/1.2.19/docs/examples/example-example61/index-debug.html
new file mode 100644
index 0000000000..ef678a8125
--- /dev/null
+++ b/1.2.19/docs/examples/example-example61/index-debug.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example61-debug
+
+
+
+
+
+
+
+
+
+
+
Reload this page with open console, enter text and hit the log button...
+ Message:
+
+
log
+
warn
+
info
+
error
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example61/index-jquery.html b/1.2.19/docs/examples/example-example61/index-jquery.html
new file mode 100644
index 0000000000..17d63a9758
--- /dev/null
+++ b/1.2.19/docs/examples/example-example61/index-jquery.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Example - example-example61-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Reload this page with open console, enter text and hit the log button...
+ Message:
+
+
log
+
warn
+
info
+
error
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example61/index-production.html b/1.2.19/docs/examples/example-example61/index-production.html
new file mode 100644
index 0000000000..2968ff1a98
--- /dev/null
+++ b/1.2.19/docs/examples/example-example61/index-production.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example61-production
+
+
+
+
+
+
+
+
+
+
+
Reload this page with open console, enter text and hit the log button...
+ Message:
+
+
log
+
warn
+
info
+
error
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example61/index.html b/1.2.19/docs/examples/example-example61/index.html
new file mode 100644
index 0000000000..99ec473ece
--- /dev/null
+++ b/1.2.19/docs/examples/example-example61/index.html
@@ -0,0 +1,25 @@
+
+
+
+
+ Example - example-example61
+
+
+
+
+
+
+
+
+
+
+
Reload this page with open console, enter text and hit the log button...
+ Message:
+
+
log
+
warn
+
info
+
error
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example61/manifest.json b/1.2.19/docs/examples/example-example61/manifest.json
new file mode 100644
index 0000000000..5318b74a2e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example61/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example61",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example61/script.js b/1.2.19/docs/examples/example-example61/script.js
new file mode 100644
index 0000000000..c134582f1a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example61/script.js
@@ -0,0 +1,4 @@
+ function LogCtrl($scope, $log) {
+ $scope.$log = $log;
+ $scope.message = 'Hello World!';
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example62/index-debug.html b/1.2.19/docs/examples/example-example62/index-debug.html
new file mode 100644
index 0000000000..ac0a77109a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example62/index-debug.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example62-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
User comments
+ By default, HTML that isn't explicitly trusted (e.g. Alice's comment) is sanitized when
+ $sanitize is available. If $sanitize isn't available, this results in an error instead of an
+ exploit.
+
+
+ {{userComment.name}} :
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example62/index-jquery.html b/1.2.19/docs/examples/example-example62/index-jquery.html
new file mode 100644
index 0000000000..807001351a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example62/index-jquery.html
@@ -0,0 +1,32 @@
+
+
+
+
+ Example - example-example62-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
User comments
+ By default, HTML that isn't explicitly trusted (e.g. Alice's comment) is sanitized when
+ $sanitize is available. If $sanitize isn't available, this results in an error instead of an
+ exploit.
+
+
+ {{userComment.name}} :
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example62/index-production.html b/1.2.19/docs/examples/example-example62/index-production.html
new file mode 100644
index 0000000000..2afd61a7d2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example62/index-production.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example62-production
+
+
+
+
+
+
+
+
+
+
+
+
+
User comments
+ By default, HTML that isn't explicitly trusted (e.g. Alice's comment) is sanitized when
+ $sanitize is available. If $sanitize isn't available, this results in an error instead of an
+ exploit.
+
+
+ {{userComment.name}} :
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example62/index.html b/1.2.19/docs/examples/example-example62/index.html
new file mode 100644
index 0000000000..71ba3348f8
--- /dev/null
+++ b/1.2.19/docs/examples/example-example62/index.html
@@ -0,0 +1,31 @@
+
+
+
+
+ Example - example-example62
+
+
+
+
+
+
+
+
+
+
+
+
+
User comments
+ By default, HTML that isn't explicitly trusted (e.g. Alice's comment) is sanitized when
+ $sanitize is available. If $sanitize isn't available, this results in an error instead of an
+ exploit.
+
+
+ {{userComment.name}} :
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example62/manifest.json b/1.2.19/docs/examples/example-example62/manifest.json
new file mode 100644
index 0000000000..daa5722f37
--- /dev/null
+++ b/1.2.19/docs/examples/example-example62/manifest.json
@@ -0,0 +1,9 @@
+{
+ "name": "example-example62",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "test_data.json",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example62/protractor.js b/1.2.19/docs/examples/example-example62/protractor.js
new file mode 100644
index 0000000000..150ef4923f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example62/protractor.js
@@ -0,0 +1,12 @@
+describe('SCE doc demo', function() {
+ it('should sanitize untrusted values', function() {
+ expect(element(by.css('.htmlComment')).getInnerHtml())
+ .toBe('Is anyone reading this? ');
+ });
+
+ it('should NOT sanitize explicitly trusted values', function() {
+ expect(element(by.id('explicitlyTrustedHtml')).getInnerHtml()).toBe(
+ 'Hover over this text. ');
+ });
+});
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example62/script.js b/1.2.19/docs/examples/example-example62/script.js
new file mode 100644
index 0000000000..2d1a220ae9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example62/script.js
@@ -0,0 +1,11 @@
+var mySceApp = angular.module('mySceApp', ['ngSanitize']);
+
+mySceApp.controller("myAppController", function myAppController($http, $templateCache, $sce) {
+ var self = this;
+ $http.get("test_data.json", {cache: $templateCache}).success(function(userComments) {
+ self.userComments = userComments;
+ });
+ self.explicitlyTrustedHtml = $sce.trustAsHtml(
+ 'Hover over this text. ');
+});
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example62/test_data.json b/1.2.19/docs/examples/example-example62/test_data.json
new file mode 100644
index 0000000000..e086b707e3
--- /dev/null
+++ b/1.2.19/docs/examples/example-example62/test_data.json
@@ -0,0 +1,9 @@
+[
+ { "name": "Alice",
+ "htmlComment":
+ "Is anyone reading this? "
+ },
+ { "name": "Bob",
+ "htmlComment": "Yes! Am I the only other one?"
+ }
+]
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example63/index-debug.html b/1.2.19/docs/examples/example-example63/index-debug.html
new file mode 100644
index 0000000000..757665fb8b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example63/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example63-debug
+
+
+
+
+
+
+
+
+
+
+
+ ALERT
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example63/index-jquery.html b/1.2.19/docs/examples/example-example63/index-jquery.html
new file mode 100644
index 0000000000..4f125c0d1e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example63/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+ Example - example-example63-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ ALERT
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example63/index-production.html b/1.2.19/docs/examples/example-example63/index-production.html
new file mode 100644
index 0000000000..fe8ac342df
--- /dev/null
+++ b/1.2.19/docs/examples/example-example63/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example63-production
+
+
+
+
+
+
+
+
+
+
+
+ ALERT
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example63/index.html b/1.2.19/docs/examples/example-example63/index.html
new file mode 100644
index 0000000000..cf7b90f356
--- /dev/null
+++ b/1.2.19/docs/examples/example-example63/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+ Example - example-example63
+
+
+
+
+
+
+
+
+
+
+
+ ALERT
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example63/manifest.json b/1.2.19/docs/examples/example-example63/manifest.json
new file mode 100644
index 0000000000..c7ab6101c7
--- /dev/null
+++ b/1.2.19/docs/examples/example-example63/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example63",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example63/protractor.js b/1.2.19/docs/examples/example-example63/protractor.js
new file mode 100644
index 0000000000..112232d7cf
--- /dev/null
+++ b/1.2.19/docs/examples/example-example63/protractor.js
@@ -0,0 +1,5 @@
+ it('should display the greeting in the input box', function() {
+ element(by.model('greeting')).sendKeys('Hello, E2E Tests');
+ // If we click the button it will block the test runner
+ // element(':button').click();
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example64/index-debug.html b/1.2.19/docs/examples/example-example64/index-debug.html
new file mode 100644
index 0000000000..670d596e91
--- /dev/null
+++ b/1.2.19/docs/examples/example-example64/index-debug.html
@@ -0,0 +1,59 @@
+
+
+
+
+ Example - example-example64-debug
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Filter
+ Source
+ Rendered
+
+
+ linky filter
+
+ <div ng-bind-html="snippet | linky"> </div>
+
+
+
+
+
+
+ linky target
+
+ <div ng-bind-html="snippetWithTarget | linky:'_blank'"> </div>
+
+
+
+
+
+
+ no filter
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example64/index-jquery.html b/1.2.19/docs/examples/example-example64/index-jquery.html
new file mode 100644
index 0000000000..918695c1d4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example64/index-jquery.html
@@ -0,0 +1,60 @@
+
+
+
+
+
Example - example-example64-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Filter
+ Source
+ Rendered
+
+
+ linky filter
+
+ <div ng-bind-html="snippet | linky"> </div>
+
+
+
+
+
+
+ linky target
+
+ <div ng-bind-html="snippetWithTarget | linky:'_blank'"> </div>
+
+
+
+
+
+
+ no filter
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example64/index-production.html b/1.2.19/docs/examples/example-example64/index-production.html
new file mode 100644
index 0000000000..40960a9923
--- /dev/null
+++ b/1.2.19/docs/examples/example-example64/index-production.html
@@ -0,0 +1,59 @@
+
+
+
+
+
Example - example-example64-production
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Filter
+ Source
+ Rendered
+
+
+ linky filter
+
+ <div ng-bind-html="snippet | linky"> </div>
+
+
+
+
+
+
+ linky target
+
+ <div ng-bind-html="snippetWithTarget | linky:'_blank'"> </div>
+
+
+
+
+
+
+ no filter
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example64/index.html b/1.2.19/docs/examples/example-example64/index.html
new file mode 100644
index 0000000000..cf83c47597
--- /dev/null
+++ b/1.2.19/docs/examples/example-example64/index.html
@@ -0,0 +1,59 @@
+
+
+
+
+
Example - example-example64
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Filter
+ Source
+ Rendered
+
+
+ linky filter
+
+ <div ng-bind-html="snippet | linky"> </div>
+
+
+
+
+
+
+ linky target
+
+ <div ng-bind-html="snippetWithTarget | linky:'_blank'"> </div>
+
+
+
+
+
+
+ no filter
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example64/manifest.json b/1.2.19/docs/examples/example-example64/manifest.json
new file mode 100644
index 0000000000..2df2a86369
--- /dev/null
+++ b/1.2.19/docs/examples/example-example64/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example64",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example64/protractor.js b/1.2.19/docs/examples/example-example64/protractor.js
new file mode 100644
index 0000000000..c6e5a68926
--- /dev/null
+++ b/1.2.19/docs/examples/example-example64/protractor.js
@@ -0,0 +1,30 @@
+ it('should linkify the snippet with urls', function() {
+ expect(element(by.id('linky-filter')).element(by.binding('snippet | linky')).getText()).
+ toBe('Pretty text with some links: http://angularjs.org/, us@somewhere.org, ' +
+ 'another@somewhere.org, and one more: ftp://127.0.0.1/.');
+ expect(element.all(by.css('#linky-filter a')).count()).toEqual(4);
+ });
+
+ it('should not linkify snippet without the linky filter', function() {
+ expect(element(by.id('escaped-html')).element(by.binding('snippet')).getText()).
+ toBe('Pretty text with some links: http://angularjs.org/, mailto:us@somewhere.org, ' +
+ 'another@somewhere.org, and one more: ftp://127.0.0.1/.');
+ expect(element.all(by.css('#escaped-html a')).count()).toEqual(0);
+ });
+
+ it('should update', function() {
+ element(by.model('snippet')).clear();
+ element(by.model('snippet')).sendKeys('new http://link.');
+ expect(element(by.id('linky-filter')).element(by.binding('snippet | linky')).getText()).
+ toBe('new http://link.');
+ expect(element.all(by.css('#linky-filter a')).count()).toEqual(1);
+ expect(element(by.id('escaped-html')).element(by.binding('snippet')).getText())
+ .toBe('new http://link.');
+ });
+
+ it('should work with the target property', function() {
+ expect(element(by.id('linky-target')).
+ element(by.binding("snippetWithTarget | linky:'_blank'")).getText()).
+ toBe('http://angularjs.org/');
+ expect(element(by.css('#linky-target a')).getAttribute('target')).toEqual('_blank');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example65/index-debug.html b/1.2.19/docs/examples/example-example65/index-debug.html
new file mode 100644
index 0000000000..fd23c355c8
--- /dev/null
+++ b/1.2.19/docs/examples/example-example65/index-debug.html
@@ -0,0 +1,59 @@
+
+
+
+
+
Example - example-example65-debug
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Directive
+ How
+ Source
+ Rendered
+
+
+ ng-bind-html
+ Automatically uses $sanitize
+ <div ng-bind-html="snippet"> </div>
+
+
+
+ ng-bind-html
+ Bypass $sanitize by explicitly trusting the dangerous value
+
+ <div ng-bind-html="deliberatelyTrustDangerousSnippet()">
+</div>
+
+
+
+
+ ng-bind
+ Automatically escapes
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example65/index-jquery.html b/1.2.19/docs/examples/example-example65/index-jquery.html
new file mode 100644
index 0000000000..504825a8b7
--- /dev/null
+++ b/1.2.19/docs/examples/example-example65/index-jquery.html
@@ -0,0 +1,60 @@
+
+
+
+
+
Example - example-example65-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Directive
+ How
+ Source
+ Rendered
+
+
+ ng-bind-html
+ Automatically uses $sanitize
+ <div ng-bind-html="snippet"> </div>
+
+
+
+ ng-bind-html
+ Bypass $sanitize by explicitly trusting the dangerous value
+
+ <div ng-bind-html="deliberatelyTrustDangerousSnippet()">
+</div>
+
+
+
+
+ ng-bind
+ Automatically escapes
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example65/index-production.html b/1.2.19/docs/examples/example-example65/index-production.html
new file mode 100644
index 0000000000..7ee7a1134a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example65/index-production.html
@@ -0,0 +1,59 @@
+
+
+
+
+
Example - example-example65-production
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Directive
+ How
+ Source
+ Rendered
+
+
+ ng-bind-html
+ Automatically uses $sanitize
+ <div ng-bind-html="snippet"> </div>
+
+
+
+ ng-bind-html
+ Bypass $sanitize by explicitly trusting the dangerous value
+
+ <div ng-bind-html="deliberatelyTrustDangerousSnippet()">
+</div>
+
+
+
+
+ ng-bind
+ Automatically escapes
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example65/index.html b/1.2.19/docs/examples/example-example65/index.html
new file mode 100644
index 0000000000..40c4bf2acd
--- /dev/null
+++ b/1.2.19/docs/examples/example-example65/index.html
@@ -0,0 +1,59 @@
+
+
+
+
+
Example - example-example65
+
+
+
+
+
+
+
+
+
+
+
+ Snippet:
+
+
+ Directive
+ How
+ Source
+ Rendered
+
+
+ ng-bind-html
+ Automatically uses $sanitize
+ <div ng-bind-html="snippet"> </div>
+
+
+
+ ng-bind-html
+ Bypass $sanitize by explicitly trusting the dangerous value
+
+ <div ng-bind-html="deliberatelyTrustDangerousSnippet()">
+</div>
+
+
+
+
+ ng-bind
+ Automatically escapes
+ <div ng-bind="snippet"> </div>
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example65/manifest.json b/1.2.19/docs/examples/example-example65/manifest.json
new file mode 100644
index 0000000000..9211e06155
--- /dev/null
+++ b/1.2.19/docs/examples/example-example65/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example65",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example65/protractor.js b/1.2.19/docs/examples/example-example65/protractor.js
new file mode 100644
index 0000000000..b7c6ff71f8
--- /dev/null
+++ b/1.2.19/docs/examples/example-example65/protractor.js
@@ -0,0 +1,29 @@
+ it('should sanitize the html snippet by default', function() {
+ expect(element(by.css('#bind-html-with-sanitize div')).getInnerHtml()).
+ toBe('
an html\nclick here \nsnippet
');
+ });
+
+ it('should inline raw snippet if bound to a trusted value', function() {
+ expect(element(by.css('#bind-html-with-trust div')).getInnerHtml()).
+ toBe("
an html\n" +
+ "click here \n" +
+ "snippet
");
+ });
+
+ it('should escape snippet without any filter', function() {
+ expect(element(by.css('#bind-default div')).getInnerHtml()).
+ toBe("<p style=\"color:blue\">an html\n" +
+ "<em onmouseover=\"this.textContent='PWN3D!'\">click here</em>\n" +
+ "snippet</p>");
+ });
+
+ it('should update', function() {
+ element(by.model('snippet')).clear();
+ element(by.model('snippet')).sendKeys('new
text ');
+ expect(element(by.css('#bind-html-with-sanitize div')).getInnerHtml()).
+ toBe('new
text ');
+ expect(element(by.css('#bind-html-with-trust div')).getInnerHtml()).toBe(
+ 'new
text ');
+ expect(element(by.css('#bind-default div')).getInnerHtml()).toBe(
+ "new <b onclick=\"alert(1)\">text</b>");
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example66/index-debug.html b/1.2.19/docs/examples/example-example66/index-debug.html
new file mode 100644
index 0000000000..283b6b981e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example66/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example66-debug
+
+
+
+
+
+
+
+
+
+
+
+ Increment
+
+ count: {{ count }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example66/index-jquery.html b/1.2.19/docs/examples/example-example66/index-jquery.html
new file mode 100644
index 0000000000..e1ee1f0263
--- /dev/null
+++ b/1.2.19/docs/examples/example-example66/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example66-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Increment
+
+ count: {{ count }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example66/index-production.html b/1.2.19/docs/examples/example-example66/index-production.html
new file mode 100644
index 0000000000..9d7ea8647c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example66/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example66-production
+
+
+
+
+
+
+
+
+
+
+
+ Increment
+
+ count: {{ count }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example66/index.html b/1.2.19/docs/examples/example-example66/index.html
new file mode 100644
index 0000000000..4dbc7ba214
--- /dev/null
+++ b/1.2.19/docs/examples/example-example66/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example66
+
+
+
+
+
+
+
+
+
+
+
+ Increment
+
+ count: {{ count }}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example66/manifest.json b/1.2.19/docs/examples/example-example66/manifest.json
new file mode 100644
index 0000000000..77d6dc3ea7
--- /dev/null
+++ b/1.2.19/docs/examples/example-example66/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example66",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example66/script.js b/1.2.19/docs/examples/example-example66/script.js
new file mode 100644
index 0000000000..7d2b294632
--- /dev/null
+++ b/1.2.19/docs/examples/example-example66/script.js
@@ -0,0 +1 @@
+ angular.module('ngClickExample', ['ngTouch']);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example67/index-debug.html b/1.2.19/docs/examples/example-example67/index-debug.html
new file mode 100644
index 0000000000..56e797cffd
--- /dev/null
+++ b/1.2.19/docs/examples/example-example67/index-debug.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example67-debug
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example67/index-jquery.html b/1.2.19/docs/examples/example-example67/index-jquery.html
new file mode 100644
index 0000000000..697733fd44
--- /dev/null
+++ b/1.2.19/docs/examples/example-example67/index-jquery.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-example67-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example67/index-production.html b/1.2.19/docs/examples/example-example67/index-production.html
new file mode 100644
index 0000000000..e44c2a5549
--- /dev/null
+++ b/1.2.19/docs/examples/example-example67/index-production.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example67-production
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example67/index.html b/1.2.19/docs/examples/example-example67/index.html
new file mode 100644
index 0000000000..3c75d7fa91
--- /dev/null
+++ b/1.2.19/docs/examples/example-example67/index.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example67
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example67/manifest.json b/1.2.19/docs/examples/example-example67/manifest.json
new file mode 100644
index 0000000000..cb4c82d4f1
--- /dev/null
+++ b/1.2.19/docs/examples/example-example67/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example67",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example67/script.js b/1.2.19/docs/examples/example-example67/script.js
new file mode 100644
index 0000000000..520623ff8b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example67/script.js
@@ -0,0 +1 @@
+ angular.module('ngSwipeLeftExample', ['ngTouch']);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example68/index-debug.html b/1.2.19/docs/examples/example-example68/index-debug.html
new file mode 100644
index 0000000000..7b69abfab6
--- /dev/null
+++ b/1.2.19/docs/examples/example-example68/index-debug.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example68-debug
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example68/index-jquery.html b/1.2.19/docs/examples/example-example68/index-jquery.html
new file mode 100644
index 0000000000..af2557ccb3
--- /dev/null
+++ b/1.2.19/docs/examples/example-example68/index-jquery.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-example68-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example68/index-production.html b/1.2.19/docs/examples/example-example68/index-production.html
new file mode 100644
index 0000000000..375b352275
--- /dev/null
+++ b/1.2.19/docs/examples/example-example68/index-production.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example68-production
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example68/index.html b/1.2.19/docs/examples/example-example68/index.html
new file mode 100644
index 0000000000..eae32402ed
--- /dev/null
+++ b/1.2.19/docs/examples/example-example68/index.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example68
+
+
+
+
+
+
+
+
+
+
+
+ Some list content, like an email in the inbox
+
+
+ Reply
+ Delete
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example68/manifest.json b/1.2.19/docs/examples/example-example68/manifest.json
new file mode 100644
index 0000000000..e93facd577
--- /dev/null
+++ b/1.2.19/docs/examples/example-example68/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example68",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example68/script.js b/1.2.19/docs/examples/example-example68/script.js
new file mode 100644
index 0000000000..f60025a7ea
--- /dev/null
+++ b/1.2.19/docs/examples/example-example68/script.js
@@ -0,0 +1 @@
+ angular.module('ngSwipeRightExample', ['ngTouch']);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example69/index-debug.html b/1.2.19/docs/examples/example-example69/index-debug.html
new file mode 100644
index 0000000000..a4df5c93e8
--- /dev/null
+++ b/1.2.19/docs/examples/example-example69/index-debug.html
@@ -0,0 +1,43 @@
+
+
+
+
+
Example - example-example69-debug
+
+
+
+
+
+
+
+
+
+
+
Browser with History API
+
+ $location.protocol() = {{$location.protocol()}}
+ $location.host() = {{$location.host()}}
+ $location.port() = {{$location.port()}}
+ $location.path() = {{$location.path()}}
+ $location.search() = {{$location.search()}}
+ $location.hash() = {{$location.hash()}}
+
/base/first?a=b |
+
sec/ond?flag#hash |
+
external
+
+
+
+
Browser without History API
+
+ $location.protocol() = {{$location.protocol()}}
+ $location.host() = {{$location.host()}}
+ $location.port() = {{$location.port()}}
+ $location.path() = {{$location.path()}}
+ $location.search() = {{$location.search()}}
+ $location.hash() = {{$location.hash()}}
+
/base/first?a=b |
+
sec/ond?flag#hash |
+
external
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example69/index-jquery.html b/1.2.19/docs/examples/example-example69/index-jquery.html
new file mode 100644
index 0000000000..86b27d2e2d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example69/index-jquery.html
@@ -0,0 +1,44 @@
+
+
+
+
+
Example - example-example69-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Browser with History API
+
+ $location.protocol() = {{$location.protocol()}}
+ $location.host() = {{$location.host()}}
+ $location.port() = {{$location.port()}}
+ $location.path() = {{$location.path()}}
+ $location.search() = {{$location.search()}}
+ $location.hash() = {{$location.hash()}}
+
/base/first?a=b |
+
sec/ond?flag#hash |
+
external
+
+
+
+
Browser without History API
+
+ $location.protocol() = {{$location.protocol()}}
+ $location.host() = {{$location.host()}}
+ $location.port() = {{$location.port()}}
+ $location.path() = {{$location.path()}}
+ $location.search() = {{$location.search()}}
+ $location.hash() = {{$location.hash()}}
+
/base/first?a=b |
+
sec/ond?flag#hash |
+
external
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example69/index-production.html b/1.2.19/docs/examples/example-example69/index-production.html
new file mode 100644
index 0000000000..db214467e9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example69/index-production.html
@@ -0,0 +1,43 @@
+
+
+
+
+
Example - example-example69-production
+
+
+
+
+
+
+
+
+
+
+
Browser with History API
+
+ $location.protocol() = {{$location.protocol()}}
+ $location.host() = {{$location.host()}}
+ $location.port() = {{$location.port()}}
+ $location.path() = {{$location.path()}}
+ $location.search() = {{$location.search()}}
+ $location.hash() = {{$location.hash()}}
+
/base/first?a=b |
+
sec/ond?flag#hash |
+
external
+
+
+
+
Browser without History API
+
+ $location.protocol() = {{$location.protocol()}}
+ $location.host() = {{$location.host()}}
+ $location.port() = {{$location.port()}}
+ $location.path() = {{$location.path()}}
+ $location.search() = {{$location.search()}}
+ $location.hash() = {{$location.hash()}}
+
/base/first?a=b |
+
sec/ond?flag#hash |
+
external
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example69/index.html b/1.2.19/docs/examples/example-example69/index.html
new file mode 100644
index 0000000000..226e141e32
--- /dev/null
+++ b/1.2.19/docs/examples/example-example69/index.html
@@ -0,0 +1,43 @@
+
+
+
+
+
Example - example-example69
+
+
+
+
+
+
+
+
+
+
+
Browser with History API
+
+ $location.protocol() = {{$location.protocol()}}
+ $location.host() = {{$location.host()}}
+ $location.port() = {{$location.port()}}
+ $location.path() = {{$location.path()}}
+ $location.search() = {{$location.search()}}
+ $location.hash() = {{$location.hash()}}
+
/base/first?a=b |
+
sec/ond?flag#hash |
+
external
+
+
+
+
Browser without History API
+
+ $location.protocol() = {{$location.protocol()}}
+ $location.host() = {{$location.host()}}
+ $location.port() = {{$location.port()}}
+ $location.path() = {{$location.path()}}
+ $location.search() = {{$location.search()}}
+ $location.hash() = {{$location.hash()}}
+
/base/first?a=b |
+
sec/ond?flag#hash |
+
external
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example69/manifest.json b/1.2.19/docs/examples/example-example69/manifest.json
new file mode 100644
index 0000000000..c0a85bfab4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example69/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example69",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example69/script.js b/1.2.19/docs/examples/example-example69/script.js
new file mode 100644
index 0000000000..0810d98e2b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example69/script.js
@@ -0,0 +1,76 @@
+ function FakeBrowser(initUrl, baseHref) {
+ this.onUrlChange = function(fn) {
+ this.urlChange = fn;
+ };
+
+ this.url = function() {
+ return initUrl;
+ };
+
+ this.defer = function(fn, delay) {
+ setTimeout(function() { fn(); }, delay || 0);
+ };
+
+ this.baseHref = function() {
+ return baseHref;
+ };
+
+ this.notifyWhenOutstandingRequests = angular.noop;
+ }
+
+ var browsers = {
+ html5: new FakeBrowser('http://www.example.com/base/path?a=b#h', '/base/index.html'),
+ hashbang: new FakeBrowser('http://www.example.com/base/index.html#!/path?a=b#h', '/base/index.html')
+ };
+
+ function Html5Cntl($scope, $location) {
+ $scope.$location = $location;
+ }
+
+ function HashbangCntl($scope, $location) {
+ $scope.$location = $location;
+ }
+
+ function initEnv(name) {
+ var root = angular.element(document.getElementById(name + '-mode'));
+ // We must kill a link to the injector for this element otherwise angular will
+ // complain that it has been bootstrapped already.
+ root.data('$injector', null);
+ angular.bootstrap(root, [function($compileProvider, $locationProvider, $provide){
+ $locationProvider.html5Mode(true).hashPrefix('!');
+
+ $provide.value('$browser', browsers[name]);
+ $provide.value('$sniffer', {history: name == 'html5'});
+
+ $compileProvider.directive('ngAddressBar', function() {
+ return function(scope, elm, attrs) {
+ var browser = browsers[attrs.browser],
+ input = angular.element('
').val(browser.url()),
+ delay;
+
+ input.on('keypress keyup keydown', function() {
+ if (!delay) {
+ delay = setTimeout(fireUrlChange, 250);
+ }
+ });
+
+ browser.url = function(url) {
+ return input.val(url);
+ };
+
+ elm.append('Address: ').append(input);
+
+ function fireUrlChange() {
+ delay = null;
+ browser.urlChange(input.val());
+ }
+ };
+ });
+ }]);
+ root.on('click', function(e) {
+ e.stopPropagation();
+ });
+ }
+
+ initEnv('html5');
+ initEnv('hashbang');
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example7/index-debug.html b/1.2.19/docs/examples/example-example7/index-debug.html
new file mode 100644
index 0000000000..8a0e90df1a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example7/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example7-debug
+
+
+
+
+
+
+
+
+ Check me to check both:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example7/index-jquery.html b/1.2.19/docs/examples/example-example7/index-jquery.html
new file mode 100644
index 0000000000..83805c66c9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example7/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+
Example - example-example7-jquery
+
+
+
+
+
+
+
+
+
+ Check me to check both:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example7/index-production.html b/1.2.19/docs/examples/example-example7/index-production.html
new file mode 100644
index 0000000000..10c1769766
--- /dev/null
+++ b/1.2.19/docs/examples/example-example7/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example7-production
+
+
+
+
+
+
+
+
+ Check me to check both:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example7/index.html b/1.2.19/docs/examples/example-example7/index.html
new file mode 100644
index 0000000000..98804a906d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example7/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example7
+
+
+
+
+
+
+
+
+ Check me to check both:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example7/manifest.json b/1.2.19/docs/examples/example-example7/manifest.json
new file mode 100644
index 0000000000..7829614265
--- /dev/null
+++ b/1.2.19/docs/examples/example-example7/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example7",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example7/protractor.js b/1.2.19/docs/examples/example-example7/protractor.js
new file mode 100644
index 0000000000..eb76243835
--- /dev/null
+++ b/1.2.19/docs/examples/example-example7/protractor.js
@@ -0,0 +1,5 @@
+ it('should check both checkBoxes', function() {
+ expect(element(by.id('checkSlave')).getAttribute('checked')).toBeFalsy();
+ element(by.model('master')).click();
+ expect(element(by.id('checkSlave')).getAttribute('checked')).toBeTruthy();
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example70/index-debug.html b/1.2.19/docs/examples/example-example70/index-debug.html
new file mode 100644
index 0000000000..0075e65145
--- /dev/null
+++ b/1.2.19/docs/examples/example-example70/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example70-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example70/index-jquery.html b/1.2.19/docs/examples/example-example70/index-jquery.html
new file mode 100644
index 0000000000..156ccb8b92
--- /dev/null
+++ b/1.2.19/docs/examples/example-example70/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example70-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example70/index-production.html b/1.2.19/docs/examples/example-example70/index-production.html
new file mode 100644
index 0000000000..2ca745dcc9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example70/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example70-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example70/index.html b/1.2.19/docs/examples/example-example70/index.html
new file mode 100644
index 0000000000..8950e799bc
--- /dev/null
+++ b/1.2.19/docs/examples/example-example70/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example70
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example70/manifest.json b/1.2.19/docs/examples/example-example70/manifest.json
new file mode 100644
index 0000000000..243c407a07
--- /dev/null
+++ b/1.2.19/docs/examples/example-example70/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example70",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example70/script.js b/1.2.19/docs/examples/example-example70/script.js
new file mode 100644
index 0000000000..fdfe17ea02
--- /dev/null
+++ b/1.2.19/docs/examples/example-example70/script.js
@@ -0,0 +1,10 @@
+function LocationController($scope, $location) {
+ $scope.$watch('locationPath', function(path) {
+ $location.path(path);
+ });
+ $scope.$watch(function() {
+ return $location.path();
+ }, function(path) {
+ $scope.locationPath = path;
+ });
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example71/animations.css b/1.2.19/docs/examples/example-example71/animations.css
new file mode 100644
index 0000000000..25e395b423
--- /dev/null
+++ b/1.2.19/docs/examples/example-example71/animations.css
@@ -0,0 +1,23 @@
+ .sample-show-hide {
+ padding:10px;
+ border:1px solid black;
+ background:white;
+ }
+
+ .sample-show-hide.ng-hide-add, .sample-show-hide.ng-hide-remove {
+ -webkit-transition:all linear 0.5s;
+ -moz-transition:all linear 0.5s;
+ -o-transition:all linear 0.5s;
+ transition:all linear 0.5s;
+ display:block!important;
+ }
+
+ .sample-show-hide.ng-hide-add.ng-hide-add-active,
+ .sample-show-hide.ng-hide-remove {
+ opacity:0;
+ }
+
+ .sample-show-hide.ng-hide-add,
+ .sample-show-hide.ng-hide-remove.ng-hide-remove-active {
+ opacity:1;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example71/index-debug.html b/1.2.19/docs/examples/example-example71/index-debug.html
new file mode 100644
index 0000000000..00ba7e5bc1
--- /dev/null
+++ b/1.2.19/docs/examples/example-example71/index-debug.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-example71-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ Is Visible...
+
+
+ Visible...
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example71/index-jquery.html b/1.2.19/docs/examples/example-example71/index-jquery.html
new file mode 100644
index 0000000000..d335da52f3
--- /dev/null
+++ b/1.2.19/docs/examples/example-example71/index-jquery.html
@@ -0,0 +1,26 @@
+
+
+
+
+
Example - example-example71-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Is Visible...
+
+
+ Visible...
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example71/index-production.html b/1.2.19/docs/examples/example-example71/index-production.html
new file mode 100644
index 0000000000..1f709008a8
--- /dev/null
+++ b/1.2.19/docs/examples/example-example71/index-production.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-example71-production
+
+
+
+
+
+
+
+
+
+
+
+
+ Is Visible...
+
+
+ Visible...
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example71/index.html b/1.2.19/docs/examples/example-example71/index.html
new file mode 100644
index 0000000000..d87867027f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example71/index.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-example71
+
+
+
+
+
+
+
+
+
+
+
+
+ Is Visible...
+
+
+ Visible...
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example71/manifest.json b/1.2.19/docs/examples/example-example71/manifest.json
new file mode 100644
index 0000000000..36bfdec71e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example71/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example71",
+ "files": [
+ "index-production.html",
+ "animations.css"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example72/index-debug.html b/1.2.19/docs/examples/example-example72/index-debug.html
new file mode 100644
index 0000000000..a48adc171a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example72/index-debug.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example72-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CSS-Animated Text
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example72/index-jquery.html b/1.2.19/docs/examples/example-example72/index-jquery.html
new file mode 100644
index 0000000000..558609bfe4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example72/index-jquery.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example72-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CSS-Animated Text
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example72/index-production.html b/1.2.19/docs/examples/example-example72/index-production.html
new file mode 100644
index 0000000000..e000c64c15
--- /dev/null
+++ b/1.2.19/docs/examples/example-example72/index-production.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example72-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CSS-Animated Text
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example72/index.html b/1.2.19/docs/examples/example-example72/index.html
new file mode 100644
index 0000000000..bf495ac07f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example72/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example72
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CSS-Animated Text
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example72/manifest.json b/1.2.19/docs/examples/example-example72/manifest.json
new file mode 100644
index 0000000000..a316ece861
--- /dev/null
+++ b/1.2.19/docs/examples/example-example72/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example72",
+ "files": [
+ "index-production.html",
+ "style.css"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example72/style.css b/1.2.19/docs/examples/example-example72/style.css
new file mode 100644
index 0000000000..f2edcab030
--- /dev/null
+++ b/1.2.19/docs/examples/example-example72/style.css
@@ -0,0 +1,17 @@
+ .css-class-add, .css-class-remove {
+ -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ -moz-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ -o-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
+ }
+
+ .css-class,
+ .css-class-add.css-class-add-active {
+ color: red;
+ font-size:3em;
+ }
+
+ .css-class-remove.css-class-remove-active {
+ font-size:1.0em;
+ color:black;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example73/index-debug.html b/1.2.19/docs/examples/example-example73/index-debug.html
new file mode 100644
index 0000000000..7be8145a57
--- /dev/null
+++ b/1.2.19/docs/examples/example-example73/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example73-debug
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example73/index-jquery.html b/1.2.19/docs/examples/example-example73/index-jquery.html
new file mode 100644
index 0000000000..7431de8ac9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example73/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+
Example - example-example73-jquery
+
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example73/index-production.html b/1.2.19/docs/examples/example-example73/index-production.html
new file mode 100644
index 0000000000..9a955b484a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example73/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example73-production
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example73/index.html b/1.2.19/docs/examples/example-example73/index.html
new file mode 100644
index 0000000000..653d2a2f19
--- /dev/null
+++ b/1.2.19/docs/examples/example-example73/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example73
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example73/manifest.json b/1.2.19/docs/examples/example-example73/manifest.json
new file mode 100644
index 0000000000..2c4ed10953
--- /dev/null
+++ b/1.2.19/docs/examples/example-example73/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example73",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example73/script.js b/1.2.19/docs/examples/example-example73/script.js
new file mode 100644
index 0000000000..67b948a05d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example73/script.js
@@ -0,0 +1,34 @@
+ angular.module('drag', []).
+ directive('draggable', function($document) {
+ return function(scope, element, attr) {
+ var startX = 0, startY = 0, x = 0, y = 0;
+ element.css({
+ position: 'relative',
+ border: '1px solid red',
+ backgroundColor: 'lightgrey',
+ cursor: 'pointer'
+ });
+ element.on('mousedown', function(event) {
+ // Prevent default dragging of selected content
+ event.preventDefault();
+ startX = event.screenX - x;
+ startY = event.screenY - y;
+ $document.on('mousemove', mousemove);
+ $document.on('mouseup', mouseup);
+ });
+
+ function mousemove(event) {
+ y = event.screenY - startY;
+ x = event.screenX - startX;
+ element.css({
+ top: y + 'px',
+ left: x + 'px'
+ });
+ }
+
+ function mouseup() {
+ $document.unbind('mousemove', mousemove);
+ $document.unbind('mouseup', mouseup);
+ }
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example74/app.js b/1.2.19/docs/examples/example-example74/app.js
new file mode 100644
index 0000000000..02a28d9a32
--- /dev/null
+++ b/1.2.19/docs/examples/example-example74/app.js
@@ -0,0 +1,13 @@
+ var myApp = angular.module('spicyApp1', []);
+
+ myApp.controller('SpicyController', ['$scope', function($scope) {
+ $scope.spice = 'very';
+
+ $scope.chiliSpicy = function() {
+ $scope.spice = 'chili';
+ };
+
+ $scope.jalapenoSpicy = function() {
+ $scope.spice = 'jalapeño';
+ };
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example74/index-debug.html b/1.2.19/docs/examples/example-example74/index-debug.html
new file mode 100644
index 0000000000..08fd4c8713
--- /dev/null
+++ b/1.2.19/docs/examples/example-example74/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example74-debug
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Jalapeño
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example74/index-jquery.html b/1.2.19/docs/examples/example-example74/index-jquery.html
new file mode 100644
index 0000000000..92050e5f2e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example74/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example74-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Jalapeño
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example74/index-production.html b/1.2.19/docs/examples/example-example74/index-production.html
new file mode 100644
index 0000000000..33580ce5be
--- /dev/null
+++ b/1.2.19/docs/examples/example-example74/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example74-production
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Jalapeño
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example74/index.html b/1.2.19/docs/examples/example-example74/index.html
new file mode 100644
index 0000000000..c1dc55dc5b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example74/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example74
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Jalapeño
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example74/manifest.json b/1.2.19/docs/examples/example-example74/manifest.json
new file mode 100644
index 0000000000..600935a44b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example74/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example74",
+ "files": [
+ "index-production.html",
+ "app.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example75/app.js b/1.2.19/docs/examples/example-example75/app.js
new file mode 100644
index 0000000000..7f190a715a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example75/app.js
@@ -0,0 +1,10 @@
+ var myApp = angular.module('spicyApp2', []);
+
+ myApp.controller('SpicyController', ['$scope', function($scope) {
+ $scope.customSpice = "wasabi";
+ $scope.spice = 'very';
+
+ $scope.spicy = function(spice) {
+ $scope.spice = spice;
+ };
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example75/index-debug.html b/1.2.19/docs/examples/example-example75/index-debug.html
new file mode 100644
index 0000000000..f12b277250
--- /dev/null
+++ b/1.2.19/docs/examples/example-example75/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example75-debug
+
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Custom spice
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example75/index-jquery.html b/1.2.19/docs/examples/example-example75/index-jquery.html
new file mode 100644
index 0000000000..1b01b3bc63
--- /dev/null
+++ b/1.2.19/docs/examples/example-example75/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example75-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Custom spice
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example75/index-production.html b/1.2.19/docs/examples/example-example75/index-production.html
new file mode 100644
index 0000000000..cd8131badb
--- /dev/null
+++ b/1.2.19/docs/examples/example-example75/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example75-production
+
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Custom spice
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example75/index.html b/1.2.19/docs/examples/example-example75/index.html
new file mode 100644
index 0000000000..3311ebc4e1
--- /dev/null
+++ b/1.2.19/docs/examples/example-example75/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example75
+
+
+
+
+
+
+
+
+
+
+
+
Chili
+
Custom spice
+
The food is {{spice}} spicy!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example75/manifest.json b/1.2.19/docs/examples/example-example75/manifest.json
new file mode 100644
index 0000000000..c987b51b9f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example75/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example75",
+ "files": [
+ "index-production.html",
+ "app.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example76/app.css b/1.2.19/docs/examples/example-example76/app.css
new file mode 100644
index 0000000000..a0b18351dc
--- /dev/null
+++ b/1.2.19/docs/examples/example-example76/app.css
@@ -0,0 +1,4 @@
+ div.spicy div {
+ padding: 10px;
+ border: solid 2px blue;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example76/app.js b/1.2.19/docs/examples/example-example76/app.js
new file mode 100644
index 0000000000..4ed3297e38
--- /dev/null
+++ b/1.2.19/docs/examples/example-example76/app.js
@@ -0,0 +1,12 @@
+ var myApp = angular.module('scopeInheritance', []);
+ myApp.controller('MainController', ['$scope', function($scope) {
+ $scope.timeOfDay = 'morning';
+ $scope.name = 'Nikki';
+ }]);
+ myApp.controller('ChildController', ['$scope', function($scope) {
+ $scope.name = 'Mattie';
+ }]);
+ myApp.controller('GrandChildController', ['$scope', function($scope) {
+ $scope.timeOfDay = 'evening';
+ $scope.name = 'Gingerbread Baby';
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example76/index-debug.html b/1.2.19/docs/examples/example-example76/index-debug.html
new file mode 100644
index 0000000000..84e4e8e88f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example76/index-debug.html
@@ -0,0 +1,30 @@
+
+
+
+
+
Example - example-example76-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example76/index-jquery.html b/1.2.19/docs/examples/example-example76/index-jquery.html
new file mode 100644
index 0000000000..3e11effdfc
--- /dev/null
+++ b/1.2.19/docs/examples/example-example76/index-jquery.html
@@ -0,0 +1,31 @@
+
+
+
+
+
Example - example-example76-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example76/index-production.html b/1.2.19/docs/examples/example-example76/index-production.html
new file mode 100644
index 0000000000..8930db41a5
--- /dev/null
+++ b/1.2.19/docs/examples/example-example76/index-production.html
@@ -0,0 +1,30 @@
+
+
+
+
+
Example - example-example76-production
+
+
+
+
+
+
+
+
+
+
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example76/index.html b/1.2.19/docs/examples/example-example76/index.html
new file mode 100644
index 0000000000..51cfdb4c6f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example76/index.html
@@ -0,0 +1,30 @@
+
+
+
+
+
Example - example-example76
+
+
+
+
+
+
+
+
+
+
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
Good {{timeOfDay}}, {{name}}!
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example76/manifest.json b/1.2.19/docs/examples/example-example76/manifest.json
new file mode 100644
index 0000000000..7b350eeac4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example76/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example76",
+ "files": [
+ "index-production.html",
+ "app.css",
+ "app.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example77/index-debug.html b/1.2.19/docs/examples/example-example77/index-debug.html
new file mode 100644
index 0000000000..59150787f1
--- /dev/null
+++ b/1.2.19/docs/examples/example-example77/index-debug.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-example77-debug
+
+
+
+
+
+
+
+
+
+
+
+ Hello
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example77/index-jquery.html b/1.2.19/docs/examples/example-example77/index-jquery.html
new file mode 100644
index 0000000000..af5a2ccb4e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example77/index-jquery.html
@@ -0,0 +1,26 @@
+
+
+
+
+
Example - example-example77-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Hello
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example77/index-production.html b/1.2.19/docs/examples/example-example77/index-production.html
new file mode 100644
index 0000000000..3be90a4126
--- /dev/null
+++ b/1.2.19/docs/examples/example-example77/index-production.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-example77-production
+
+
+
+
+
+
+
+
+
+
+
+ Hello
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example77/index.html b/1.2.19/docs/examples/example-example77/index.html
new file mode 100644
index 0000000000..712e561a2b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example77/index.html
@@ -0,0 +1,25 @@
+
+
+
+
+
Example - example-example77
+
+
+
+
+
+
+
+
+
+
+
+ Hello
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example77/manifest.json b/1.2.19/docs/examples/example-example77/manifest.json
new file mode 100644
index 0000000000..d8d19aa816
--- /dev/null
+++ b/1.2.19/docs/examples/example-example77/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example77",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "protractorTest.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example77/protractorTest.js b/1.2.19/docs/examples/example-example77/protractorTest.js
new file mode 100644
index 0000000000..21ddb4594a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example77/protractorTest.js
@@ -0,0 +1,4 @@
+ it('should show off bindings', function() {
+ expect(element(by.css('div[ng-controller="Controller"] span[ng-bind]')).getText())
+ .toBe('Max Karl Ernst Ludwig Planck (April 23, 1858 – October 4, 1947)');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example77/script.js b/1.2.19/docs/examples/example-example77/script.js
new file mode 100644
index 0000000000..5e18c6c932
--- /dev/null
+++ b/1.2.19/docs/examples/example-example77/script.js
@@ -0,0 +1,4 @@
+ angular.module('docsBindExample', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.name = 'Max Karl Ernst Ludwig Planck (April 23, 1858 – October 4, 1947)';
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example78/index-debug.html b/1.2.19/docs/examples/example-example78/index-debug.html
new file mode 100644
index 0000000000..9c4550c18f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example78/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example78-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example78/index-jquery.html b/1.2.19/docs/examples/example-example78/index-jquery.html
new file mode 100644
index 0000000000..72adc66c2d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example78/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example78-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example78/index-production.html b/1.2.19/docs/examples/example-example78/index-production.html
new file mode 100644
index 0000000000..287b69945c
--- /dev/null
+++ b/1.2.19/docs/examples/example-example78/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example78-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example78/index.html b/1.2.19/docs/examples/example-example78/index.html
new file mode 100644
index 0000000000..76e9bbeadc
--- /dev/null
+++ b/1.2.19/docs/examples/example-example78/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example78
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example78/manifest.json b/1.2.19/docs/examples/example-example78/manifest.json
new file mode 100644
index 0000000000..a59dd3fed7
--- /dev/null
+++ b/1.2.19/docs/examples/example-example78/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example78",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example78/script.js b/1.2.19/docs/examples/example-example78/script.js
new file mode 100644
index 0000000000..79becdf4d1
--- /dev/null
+++ b/1.2.19/docs/examples/example-example78/script.js
@@ -0,0 +1,12 @@
+ angular.module('docsSimpleDirective', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.customer = {
+ name: 'Naomi',
+ address: '1600 Amphitheatre'
+ };
+ }])
+ .directive('myCustomer', function() {
+ return {
+ template: 'Name: {{customer.name}} Address: {{customer.address}}'
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example79/index-debug.html b/1.2.19/docs/examples/example-example79/index-debug.html
new file mode 100644
index 0000000000..e792d00f90
--- /dev/null
+++ b/1.2.19/docs/examples/example-example79/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example79-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example79/index-jquery.html b/1.2.19/docs/examples/example-example79/index-jquery.html
new file mode 100644
index 0000000000..2af152987e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example79/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example79-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example79/index-production.html b/1.2.19/docs/examples/example-example79/index-production.html
new file mode 100644
index 0000000000..e92b0b5497
--- /dev/null
+++ b/1.2.19/docs/examples/example-example79/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example79-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example79/index.html b/1.2.19/docs/examples/example-example79/index.html
new file mode 100644
index 0000000000..d04535236f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example79/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example79
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example79/manifest.json b/1.2.19/docs/examples/example-example79/manifest.json
new file mode 100644
index 0000000000..b86f7447cf
--- /dev/null
+++ b/1.2.19/docs/examples/example-example79/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example79",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-customer.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example79/my-customer.html b/1.2.19/docs/examples/example-example79/my-customer.html
new file mode 100644
index 0000000000..82930dca78
--- /dev/null
+++ b/1.2.19/docs/examples/example-example79/my-customer.html
@@ -0,0 +1 @@
+ Name: {{customer.name}} Address: {{customer.address}}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example79/script.js b/1.2.19/docs/examples/example-example79/script.js
new file mode 100644
index 0000000000..75e0299e50
--- /dev/null
+++ b/1.2.19/docs/examples/example-example79/script.js
@@ -0,0 +1,12 @@
+ angular.module('docsTemplateUrlDirective', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.customer = {
+ name: 'Naomi',
+ address: '1600 Amphitheatre'
+ };
+ }])
+ .directive('myCustomer', function() {
+ return {
+ templateUrl: 'my-customer.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example8/index-debug.html b/1.2.19/docs/examples/example-example8/index-debug.html
new file mode 100644
index 0000000000..ed95e67549
--- /dev/null
+++ b/1.2.19/docs/examples/example-example8/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example8-debug
+
+
+
+
+
+
+
+
+ Check me to make text readonly:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example8/index-jquery.html b/1.2.19/docs/examples/example-example8/index-jquery.html
new file mode 100644
index 0000000000..74084b8991
--- /dev/null
+++ b/1.2.19/docs/examples/example-example8/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+
Example - example-example8-jquery
+
+
+
+
+
+
+
+
+
+ Check me to make text readonly:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example8/index-production.html b/1.2.19/docs/examples/example-example8/index-production.html
new file mode 100644
index 0000000000..13d67ce304
--- /dev/null
+++ b/1.2.19/docs/examples/example-example8/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example8-production
+
+
+
+
+
+
+
+
+ Check me to make text readonly:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example8/index.html b/1.2.19/docs/examples/example-example8/index.html
new file mode 100644
index 0000000000..d145623562
--- /dev/null
+++ b/1.2.19/docs/examples/example-example8/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example8
+
+
+
+
+
+
+
+
+ Check me to make text readonly:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example8/manifest.json b/1.2.19/docs/examples/example-example8/manifest.json
new file mode 100644
index 0000000000..5bef30fecc
--- /dev/null
+++ b/1.2.19/docs/examples/example-example8/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example8",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example8/protractor.js b/1.2.19/docs/examples/example-example8/protractor.js
new file mode 100644
index 0000000000..0f91387342
--- /dev/null
+++ b/1.2.19/docs/examples/example-example8/protractor.js
@@ -0,0 +1,5 @@
+ it('should toggle readonly attr', function() {
+ expect(element(by.css('[type="text"]')).getAttribute('readonly')).toBeFalsy();
+ element(by.model('checked')).click();
+ expect(element(by.css('[type="text"]')).getAttribute('readonly')).toBeTruthy();
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example80/index-debug.html b/1.2.19/docs/examples/example-example80/index-debug.html
new file mode 100644
index 0000000000..bd9b53aa39
--- /dev/null
+++ b/1.2.19/docs/examples/example-example80/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example80-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example80/index-jquery.html b/1.2.19/docs/examples/example-example80/index-jquery.html
new file mode 100644
index 0000000000..e4722ef84d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example80/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example80-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example80/index-production.html b/1.2.19/docs/examples/example-example80/index-production.html
new file mode 100644
index 0000000000..8ed33da8a9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example80/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example80-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example80/index.html b/1.2.19/docs/examples/example-example80/index.html
new file mode 100644
index 0000000000..0be8cb40b4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example80/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example80
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example80/manifest.json b/1.2.19/docs/examples/example-example80/manifest.json
new file mode 100644
index 0000000000..8f8f6db1bd
--- /dev/null
+++ b/1.2.19/docs/examples/example-example80/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example80",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-customer.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example80/my-customer.html b/1.2.19/docs/examples/example-example80/my-customer.html
new file mode 100644
index 0000000000..82930dca78
--- /dev/null
+++ b/1.2.19/docs/examples/example-example80/my-customer.html
@@ -0,0 +1 @@
+ Name: {{customer.name}} Address: {{customer.address}}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example80/script.js b/1.2.19/docs/examples/example-example80/script.js
new file mode 100644
index 0000000000..255a1d2fea
--- /dev/null
+++ b/1.2.19/docs/examples/example-example80/script.js
@@ -0,0 +1,13 @@
+ angular.module('docsRestrictDirective', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.customer = {
+ name: 'Naomi',
+ address: '1600 Amphitheatre'
+ };
+ }])
+ .directive('myCustomer', function() {
+ return {
+ restrict: 'E',
+ templateUrl: 'my-customer.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example81/index-debug.html b/1.2.19/docs/examples/example-example81/index-debug.html
new file mode 100644
index 0000000000..8da69c0118
--- /dev/null
+++ b/1.2.19/docs/examples/example-example81/index-debug.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example81-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example81/index-jquery.html b/1.2.19/docs/examples/example-example81/index-jquery.html
new file mode 100644
index 0000000000..4cc0ab86d7
--- /dev/null
+++ b/1.2.19/docs/examples/example-example81/index-jquery.html
@@ -0,0 +1,24 @@
+
+
+
+
+
Example - example-example81-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example81/index-production.html b/1.2.19/docs/examples/example-example81/index-production.html
new file mode 100644
index 0000000000..3e4d5aec17
--- /dev/null
+++ b/1.2.19/docs/examples/example-example81/index-production.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example81-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example81/index.html b/1.2.19/docs/examples/example-example81/index.html
new file mode 100644
index 0000000000..36396ce676
--- /dev/null
+++ b/1.2.19/docs/examples/example-example81/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example81
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example81/manifest.json b/1.2.19/docs/examples/example-example81/manifest.json
new file mode 100644
index 0000000000..4df54b6ddf
--- /dev/null
+++ b/1.2.19/docs/examples/example-example81/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example81",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-customer.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example81/my-customer.html b/1.2.19/docs/examples/example-example81/my-customer.html
new file mode 100644
index 0000000000..82930dca78
--- /dev/null
+++ b/1.2.19/docs/examples/example-example81/my-customer.html
@@ -0,0 +1 @@
+ Name: {{customer.name}} Address: {{customer.address}}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example81/script.js b/1.2.19/docs/examples/example-example81/script.js
new file mode 100644
index 0000000000..80c41e79da
--- /dev/null
+++ b/1.2.19/docs/examples/example-example81/script.js
@@ -0,0 +1,19 @@
+ angular.module('docsScopeProblemExample', [])
+ .controller('NaomiController', ['$scope', function($scope) {
+ $scope.customer = {
+ name: 'Naomi',
+ address: '1600 Amphitheatre'
+ };
+ }])
+ .controller('IgorController', ['$scope', function($scope) {
+ $scope.customer = {
+ name: 'Igor',
+ address: '123 Somewhere'
+ };
+ }])
+ .directive('myCustomer', function() {
+ return {
+ restrict: 'E',
+ templateUrl: 'my-customer.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example82/index-debug.html b/1.2.19/docs/examples/example-example82/index-debug.html
new file mode 100644
index 0000000000..781c04c7bb
--- /dev/null
+++ b/1.2.19/docs/examples/example-example82/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example82-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example82/index-jquery.html b/1.2.19/docs/examples/example-example82/index-jquery.html
new file mode 100644
index 0000000000..6d2b548edb
--- /dev/null
+++ b/1.2.19/docs/examples/example-example82/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example82-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example82/index-production.html b/1.2.19/docs/examples/example-example82/index-production.html
new file mode 100644
index 0000000000..9e4e186edf
--- /dev/null
+++ b/1.2.19/docs/examples/example-example82/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example82-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example82/index.html b/1.2.19/docs/examples/example-example82/index.html
new file mode 100644
index 0000000000..67779937ca
--- /dev/null
+++ b/1.2.19/docs/examples/example-example82/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example82
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example82/manifest.json b/1.2.19/docs/examples/example-example82/manifest.json
new file mode 100644
index 0000000000..0beabca956
--- /dev/null
+++ b/1.2.19/docs/examples/example-example82/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example82",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-customer-iso.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example82/my-customer-iso.html b/1.2.19/docs/examples/example-example82/my-customer-iso.html
new file mode 100644
index 0000000000..2b0eedf2b2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example82/my-customer-iso.html
@@ -0,0 +1 @@
+ Name: {{customerInfo.name}} Address: {{customerInfo.address}}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example82/script.js b/1.2.19/docs/examples/example-example82/script.js
new file mode 100644
index 0000000000..e9d0706f31
--- /dev/null
+++ b/1.2.19/docs/examples/example-example82/script.js
@@ -0,0 +1,14 @@
+ angular.module('docsIsolateScopeDirective', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.naomi = { name: 'Naomi', address: '1600 Amphitheatre' };
+ $scope.igor = { name: 'Igor', address: '123 Somewhere' };
+ }])
+ .directive('myCustomer', function() {
+ return {
+ restrict: 'E',
+ scope: {
+ customerInfo: '=info'
+ },
+ templateUrl: 'my-customer-iso.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example83/index-debug.html b/1.2.19/docs/examples/example-example83/index-debug.html
new file mode 100644
index 0000000000..558a365b06
--- /dev/null
+++ b/1.2.19/docs/examples/example-example83/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example83-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example83/index-jquery.html b/1.2.19/docs/examples/example-example83/index-jquery.html
new file mode 100644
index 0000000000..8d18cab6ce
--- /dev/null
+++ b/1.2.19/docs/examples/example-example83/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example83-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example83/index-production.html b/1.2.19/docs/examples/example-example83/index-production.html
new file mode 100644
index 0000000000..efb0a53903
--- /dev/null
+++ b/1.2.19/docs/examples/example-example83/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example83-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example83/index.html b/1.2.19/docs/examples/example-example83/index.html
new file mode 100644
index 0000000000..e2c6ff4711
--- /dev/null
+++ b/1.2.19/docs/examples/example-example83/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example83
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example83/manifest.json b/1.2.19/docs/examples/example-example83/manifest.json
new file mode 100644
index 0000000000..b747b61a21
--- /dev/null
+++ b/1.2.19/docs/examples/example-example83/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example83",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-customer-plus-vojta.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example83/my-customer-plus-vojta.html b/1.2.19/docs/examples/example-example83/my-customer-plus-vojta.html
new file mode 100644
index 0000000000..51a938b478
--- /dev/null
+++ b/1.2.19/docs/examples/example-example83/my-customer-plus-vojta.html
@@ -0,0 +1,3 @@
+ Name: {{customerInfo.name}} Address: {{customerInfo.address}}
+
+ Name: {{vojta.name}} Address: {{vojta.address}}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example83/script.js b/1.2.19/docs/examples/example-example83/script.js
new file mode 100644
index 0000000000..f2ee3ce9c6
--- /dev/null
+++ b/1.2.19/docs/examples/example-example83/script.js
@@ -0,0 +1,15 @@
+ angular.module('docsIsolationExample', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.naomi = { name: 'Naomi', address: '1600 Amphitheatre' };
+
+ $scope.vojta = { name: 'Vojta', address: '3456 Somewhere Else' };
+ }])
+ .directive('myCustomer', function() {
+ return {
+ restrict: 'E',
+ scope: {
+ customerInfo: '=info'
+ },
+ templateUrl: 'my-customer-plus-vojta.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example84/index-debug.html b/1.2.19/docs/examples/example-example84/index-debug.html
new file mode 100644
index 0000000000..3ab975fb7d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example84/index-debug.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example84-debug
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example84/index-jquery.html b/1.2.19/docs/examples/example-example84/index-jquery.html
new file mode 100644
index 0000000000..22c4d14b36
--- /dev/null
+++ b/1.2.19/docs/examples/example-example84/index-jquery.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example84-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example84/index-production.html b/1.2.19/docs/examples/example-example84/index-production.html
new file mode 100644
index 0000000000..6973f365d5
--- /dev/null
+++ b/1.2.19/docs/examples/example-example84/index-production.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example84-production
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example84/index.html b/1.2.19/docs/examples/example-example84/index.html
new file mode 100644
index 0000000000..ef25d5a4df
--- /dev/null
+++ b/1.2.19/docs/examples/example-example84/index.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example84
+
+
+
+
+
+
+
+
+
+
+ Date format:
+ Current time is:
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example84/manifest.json b/1.2.19/docs/examples/example-example84/manifest.json
new file mode 100644
index 0000000000..37f6847198
--- /dev/null
+++ b/1.2.19/docs/examples/example-example84/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example84",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example84/script.js b/1.2.19/docs/examples/example-example84/script.js
new file mode 100644
index 0000000000..3408c950bb
--- /dev/null
+++ b/1.2.19/docs/examples/example-example84/script.js
@@ -0,0 +1,33 @@
+ angular.module('docsTimeDirective', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.format = 'M/d/yy h:mm:ss a';
+ }])
+ .directive('myCurrentTime', ['$interval', 'dateFilter', function($interval, dateFilter) {
+
+ function link(scope, element, attrs) {
+ var format,
+ timeoutId;
+
+ function updateTime() {
+ element.text(dateFilter(new Date(), format));
+ }
+
+ scope.$watch(attrs.myCurrentTime, function(value) {
+ format = value;
+ updateTime();
+ });
+
+ element.on('$destroy', function() {
+ $interval.cancel(timeoutId);
+ });
+
+ // start the UI update process; save the timeoutId for canceling
+ timeoutId = $interval(function() {
+ updateTime(); // update DOM
+ }, 1000);
+ }
+
+ return {
+ link: link
+ };
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example85/index-debug.html b/1.2.19/docs/examples/example-example85/index-debug.html
new file mode 100644
index 0000000000..e8cfa5ca2f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example85/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example85-debug
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example85/index-jquery.html b/1.2.19/docs/examples/example-example85/index-jquery.html
new file mode 100644
index 0000000000..cbf570a614
--- /dev/null
+++ b/1.2.19/docs/examples/example-example85/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example85-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example85/index-production.html b/1.2.19/docs/examples/example-example85/index-production.html
new file mode 100644
index 0000000000..f5a7c4d3fc
--- /dev/null
+++ b/1.2.19/docs/examples/example-example85/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example85-production
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example85/index.html b/1.2.19/docs/examples/example-example85/index.html
new file mode 100644
index 0000000000..2bce9f4cd8
--- /dev/null
+++ b/1.2.19/docs/examples/example-example85/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example85
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example85/manifest.json b/1.2.19/docs/examples/example-example85/manifest.json
new file mode 100644
index 0000000000..b949ece937
--- /dev/null
+++ b/1.2.19/docs/examples/example-example85/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example85",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-dialog.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example85/my-dialog.html b/1.2.19/docs/examples/example-example85/my-dialog.html
new file mode 100644
index 0000000000..58c4f39c28
--- /dev/null
+++ b/1.2.19/docs/examples/example-example85/my-dialog.html
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example85/script.js b/1.2.19/docs/examples/example-example85/script.js
new file mode 100644
index 0000000000..966f97a434
--- /dev/null
+++ b/1.2.19/docs/examples/example-example85/script.js
@@ -0,0 +1,11 @@
+ angular.module('docsTransclusionDirective', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.name = 'Tobias';
+ }])
+ .directive('myDialog', function() {
+ return {
+ restrict: 'E',
+ transclude: true,
+ templateUrl: 'my-dialog.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example86/index-debug.html b/1.2.19/docs/examples/example-example86/index-debug.html
new file mode 100644
index 0000000000..350d3427b4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example86/index-debug.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example86-debug
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example86/index-jquery.html b/1.2.19/docs/examples/example-example86/index-jquery.html
new file mode 100644
index 0000000000..423b54e2b1
--- /dev/null
+++ b/1.2.19/docs/examples/example-example86/index-jquery.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example86-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example86/index-production.html b/1.2.19/docs/examples/example-example86/index-production.html
new file mode 100644
index 0000000000..2d72897348
--- /dev/null
+++ b/1.2.19/docs/examples/example-example86/index-production.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example86-production
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example86/index.html b/1.2.19/docs/examples/example-example86/index.html
new file mode 100644
index 0000000000..9af3da0c2a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example86/index.html
@@ -0,0 +1,19 @@
+
+
+
+
+
Example - example-example86
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example86/manifest.json b/1.2.19/docs/examples/example-example86/manifest.json
new file mode 100644
index 0000000000..5e67a3e0eb
--- /dev/null
+++ b/1.2.19/docs/examples/example-example86/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example86",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-dialog.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example86/my-dialog.html b/1.2.19/docs/examples/example-example86/my-dialog.html
new file mode 100644
index 0000000000..58c4f39c28
--- /dev/null
+++ b/1.2.19/docs/examples/example-example86/my-dialog.html
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example86/script.js b/1.2.19/docs/examples/example-example86/script.js
new file mode 100644
index 0000000000..a73ba663be
--- /dev/null
+++ b/1.2.19/docs/examples/example-example86/script.js
@@ -0,0 +1,15 @@
+ angular.module('docsTransclusionExample', [])
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.name = 'Tobias';
+ }])
+ .directive('myDialog', function() {
+ return {
+ restrict: 'E',
+ transclude: true,
+ scope: {},
+ templateUrl: 'my-dialog.html',
+ link: function (scope, element) {
+ scope.name = 'Jeff';
+ }
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example87/index-debug.html b/1.2.19/docs/examples/example-example87/index-debug.html
new file mode 100644
index 0000000000..baa7475bc0
--- /dev/null
+++ b/1.2.19/docs/examples/example-example87/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example87-debug
+
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example87/index-jquery.html b/1.2.19/docs/examples/example-example87/index-jquery.html
new file mode 100644
index 0000000000..f47b051e81
--- /dev/null
+++ b/1.2.19/docs/examples/example-example87/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example87-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example87/index-production.html b/1.2.19/docs/examples/example-example87/index-production.html
new file mode 100644
index 0000000000..2b89827167
--- /dev/null
+++ b/1.2.19/docs/examples/example-example87/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example87-production
+
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example87/index.html b/1.2.19/docs/examples/example-example87/index.html
new file mode 100644
index 0000000000..a6060ca7c9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example87/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example87
+
+
+
+
+
+
+
+
+
+
+
+ Check out the contents, {{name}}!
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example87/manifest.json b/1.2.19/docs/examples/example-example87/manifest.json
new file mode 100644
index 0000000000..38ada8babb
--- /dev/null
+++ b/1.2.19/docs/examples/example-example87/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example87",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-dialog-close.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example87/my-dialog-close.html b/1.2.19/docs/examples/example-example87/my-dialog-close.html
new file mode 100644
index 0000000000..1d12ba2b8d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example87/my-dialog-close.html
@@ -0,0 +1,4 @@
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example87/script.js b/1.2.19/docs/examples/example-example87/script.js
new file mode 100644
index 0000000000..df71bddfd5
--- /dev/null
+++ b/1.2.19/docs/examples/example-example87/script.js
@@ -0,0 +1,20 @@
+ angular.module('docsIsoFnBindExample', [])
+ .controller('Controller', ['$scope', '$timeout', function($scope, $timeout) {
+ $scope.name = 'Tobias';
+ $scope.hideDialog = function () {
+ $scope.dialogIsHidden = true;
+ $timeout(function () {
+ $scope.dialogIsHidden = false;
+ }, 2000);
+ };
+ }])
+ .directive('myDialog', function() {
+ return {
+ restrict: 'E',
+ transclude: true,
+ scope: {
+ 'close': '&onClose'
+ },
+ templateUrl: 'my-dialog-close.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example88/index-debug.html b/1.2.19/docs/examples/example-example88/index-debug.html
new file mode 100644
index 0000000000..6dd49f7ce4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example88/index-debug.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example88-debug
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example88/index-jquery.html b/1.2.19/docs/examples/example-example88/index-jquery.html
new file mode 100644
index 0000000000..ee0cb52b74
--- /dev/null
+++ b/1.2.19/docs/examples/example-example88/index-jquery.html
@@ -0,0 +1,18 @@
+
+
+
+
+
Example - example-example88-jquery
+
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example88/index-production.html b/1.2.19/docs/examples/example-example88/index-production.html
new file mode 100644
index 0000000000..85133492b5
--- /dev/null
+++ b/1.2.19/docs/examples/example-example88/index-production.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example88-production
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example88/index.html b/1.2.19/docs/examples/example-example88/index.html
new file mode 100644
index 0000000000..0757413d0a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example88/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example88
+
+
+
+
+
+
+
+
+
+
Drag ME
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example88/manifest.json b/1.2.19/docs/examples/example-example88/manifest.json
new file mode 100644
index 0000000000..fac28e38e1
--- /dev/null
+++ b/1.2.19/docs/examples/example-example88/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example88",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example88/script.js b/1.2.19/docs/examples/example-example88/script.js
new file mode 100644
index 0000000000..7aa2c6f916
--- /dev/null
+++ b/1.2.19/docs/examples/example-example88/script.js
@@ -0,0 +1,36 @@
+ angular.module('dragModule', [])
+ .directive('myDraggable', ['$document', function($document) {
+ return function(scope, element, attr) {
+ var startX = 0, startY = 0, x = 0, y = 0;
+
+ element.css({
+ position: 'relative',
+ border: '1px solid red',
+ backgroundColor: 'lightgrey',
+ cursor: 'pointer'
+ });
+
+ element.on('mousedown', function(event) {
+ // Prevent default dragging of selected content
+ event.preventDefault();
+ startX = event.pageX - x;
+ startY = event.pageY - y;
+ $document.on('mousemove', mousemove);
+ $document.on('mouseup', mouseup);
+ });
+
+ function mousemove(event) {
+ y = event.pageY - startY;
+ x = event.pageX - startX;
+ element.css({
+ top: y + 'px',
+ left: x + 'px'
+ });
+ }
+
+ function mouseup() {
+ $document.unbind('mousemove', mousemove);
+ $document.unbind('mouseup', mouseup);
+ }
+ };
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example89/index-debug.html b/1.2.19/docs/examples/example-example89/index-debug.html
new file mode 100644
index 0000000000..c30a3b6afd
--- /dev/null
+++ b/1.2.19/docs/examples/example-example89/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-example89-debug
+
+
+
+
+
+
+
+
+
+
+
+ Hello
+ Lorem ipsum dolor sit amet
+
+
+ World
+ Mauris elementum elementum enim at suscipit.
+ counter: {{i || 0}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example89/index-jquery.html b/1.2.19/docs/examples/example-example89/index-jquery.html
new file mode 100644
index 0000000000..7051bc49f7
--- /dev/null
+++ b/1.2.19/docs/examples/example-example89/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+
Example - example-example89-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Hello
+ Lorem ipsum dolor sit amet
+
+
+ World
+ Mauris elementum elementum enim at suscipit.
+ counter: {{i || 0}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example89/index-production.html b/1.2.19/docs/examples/example-example89/index-production.html
new file mode 100644
index 0000000000..8f3f707371
--- /dev/null
+++ b/1.2.19/docs/examples/example-example89/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-example89-production
+
+
+
+
+
+
+
+
+
+
+
+ Hello
+ Lorem ipsum dolor sit amet
+
+
+ World
+ Mauris elementum elementum enim at suscipit.
+ counter: {{i || 0}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example89/index.html b/1.2.19/docs/examples/example-example89/index.html
new file mode 100644
index 0000000000..0e9cef2366
--- /dev/null
+++ b/1.2.19/docs/examples/example-example89/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-example89
+
+
+
+
+
+
+
+
+
+
+
+ Hello
+ Lorem ipsum dolor sit amet
+
+
+ World
+ Mauris elementum elementum enim at suscipit.
+ counter: {{i || 0}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example89/manifest.json b/1.2.19/docs/examples/example-example89/manifest.json
new file mode 100644
index 0000000000..eed94e7dc7
--- /dev/null
+++ b/1.2.19/docs/examples/example-example89/manifest.json
@@ -0,0 +1,9 @@
+{
+ "name": "example-example89",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "my-tabs.html",
+ "my-pane.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example89/my-pane.html b/1.2.19/docs/examples/example-example89/my-pane.html
new file mode 100644
index 0000000000..1e74f5dc12
--- /dev/null
+++ b/1.2.19/docs/examples/example-example89/my-pane.html
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example89/my-tabs.html b/1.2.19/docs/examples/example-example89/my-tabs.html
new file mode 100644
index 0000000000..d14f733e64
--- /dev/null
+++ b/1.2.19/docs/examples/example-example89/my-tabs.html
@@ -0,0 +1,8 @@
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example89/script.js b/1.2.19/docs/examples/example-example89/script.js
new file mode 100644
index 0000000000..8c959bbfc8
--- /dev/null
+++ b/1.2.19/docs/examples/example-example89/script.js
@@ -0,0 +1,40 @@
+ angular.module('docsTabsExample', [])
+ .directive('myTabs', function() {
+ return {
+ restrict: 'E',
+ transclude: true,
+ scope: {},
+ controller: function($scope) {
+ var panes = $scope.panes = [];
+
+ $scope.select = function(pane) {
+ angular.forEach(panes, function(pane) {
+ pane.selected = false;
+ });
+ pane.selected = true;
+ };
+
+ this.addPane = function(pane) {
+ if (panes.length === 0) {
+ $scope.select(pane);
+ }
+ panes.push(pane);
+ };
+ },
+ templateUrl: 'my-tabs.html'
+ };
+ })
+ .directive('myPane', function() {
+ return {
+ require: '^myTabs',
+ restrict: 'E',
+ transclude: true,
+ scope: {
+ title: '@'
+ },
+ link: function(scope, element, attrs, tabsCtrl) {
+ tabsCtrl.addPane(scope);
+ },
+ templateUrl: 'my-pane.html'
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example9/index-debug.html b/1.2.19/docs/examples/example-example9/index-debug.html
new file mode 100644
index 0000000000..21675f75b4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example9/index-debug.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example9-debug
+
+
+
+
+
+
+
+
+ Check me to select:
+
+ Hello!
+ Greetings!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example9/index-jquery.html b/1.2.19/docs/examples/example-example9/index-jquery.html
new file mode 100644
index 0000000000..9b6daad84f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example9/index-jquery.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example9-jquery
+
+
+
+
+
+
+
+
+
+ Check me to select:
+
+ Hello!
+ Greetings!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example9/index-production.html b/1.2.19/docs/examples/example-example9/index-production.html
new file mode 100644
index 0000000000..2c7d5f9761
--- /dev/null
+++ b/1.2.19/docs/examples/example-example9/index-production.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example9-production
+
+
+
+
+
+
+
+
+ Check me to select:
+
+ Hello!
+ Greetings!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example9/index.html b/1.2.19/docs/examples/example-example9/index.html
new file mode 100644
index 0000000000..74a734512e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example9/index.html
@@ -0,0 +1,20 @@
+
+
+
+
+
Example - example-example9
+
+
+
+
+
+
+
+
+ Check me to select:
+
+ Hello!
+ Greetings!
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example9/manifest.json b/1.2.19/docs/examples/example-example9/manifest.json
new file mode 100644
index 0000000000..3cb447e2b1
--- /dev/null
+++ b/1.2.19/docs/examples/example-example9/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example9",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example9/protractor.js b/1.2.19/docs/examples/example-example9/protractor.js
new file mode 100644
index 0000000000..e51846f4a6
--- /dev/null
+++ b/1.2.19/docs/examples/example-example9/protractor.js
@@ -0,0 +1,5 @@
+ it('should select Greetings!', function() {
+ expect(element(by.id('greet')).getAttribute('selected')).toBeFalsy();
+ element(by.model('selected')).click();
+ expect(element(by.id('greet')).getAttribute('selected')).toBeTruthy();
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example90/index-debug.html b/1.2.19/docs/examples/example-example90/index-debug.html
new file mode 100644
index 0000000000..2b3126e683
--- /dev/null
+++ b/1.2.19/docs/examples/example-example90/index-debug.html
@@ -0,0 +1,16 @@
+
+
+
+
+
Example - example-example90-debug
+
+
+
+
+
+
+
+
+ 1+2={{1+2}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example90/index-jquery.html b/1.2.19/docs/examples/example-example90/index-jquery.html
new file mode 100644
index 0000000000..0ea435a549
--- /dev/null
+++ b/1.2.19/docs/examples/example-example90/index-jquery.html
@@ -0,0 +1,17 @@
+
+
+
+
+
Example - example-example90-jquery
+
+
+
+
+
+
+
+
+
+ 1+2={{1+2}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example90/index-production.html b/1.2.19/docs/examples/example-example90/index-production.html
new file mode 100644
index 0000000000..b9309f8e6b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example90/index-production.html
@@ -0,0 +1,16 @@
+
+
+
+
+
Example - example-example90-production
+
+
+
+
+
+
+
+
+ 1+2={{1+2}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example90/index.html b/1.2.19/docs/examples/example-example90/index.html
new file mode 100644
index 0000000000..d9b1bb2fcb
--- /dev/null
+++ b/1.2.19/docs/examples/example-example90/index.html
@@ -0,0 +1,16 @@
+
+
+
+
+
Example - example-example90
+
+
+
+
+
+
+
+
+ 1+2={{1+2}}
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example90/manifest.json b/1.2.19/docs/examples/example-example90/manifest.json
new file mode 100644
index 0000000000..67f2927674
--- /dev/null
+++ b/1.2.19/docs/examples/example-example90/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example90",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example90/protractor.js b/1.2.19/docs/examples/example-example90/protractor.js
new file mode 100644
index 0000000000..3e639c677f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example90/protractor.js
@@ -0,0 +1,3 @@
+ it('should calculate expression in binding', function() {
+ expect(element(by.binding('1+2')).getText()).toEqual('1+2=3');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example91/index-debug.html b/1.2.19/docs/examples/example-example91/index-debug.html
new file mode 100644
index 0000000000..690eb5619d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example91/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-example91-debug
+
+
+
+
+
+
+
+
+
+
+ Expression:
+
+
Evaluate
+
+
+ [ X ]
+ {{expr}} =>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example91/index-jquery.html b/1.2.19/docs/examples/example-example91/index-jquery.html
new file mode 100644
index 0000000000..35588bdb37
--- /dev/null
+++ b/1.2.19/docs/examples/example-example91/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+
Example - example-example91-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Expression:
+
+
Evaluate
+
+
+ [ X ]
+ {{expr}} =>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example91/index-production.html b/1.2.19/docs/examples/example-example91/index-production.html
new file mode 100644
index 0000000000..6c5b9effa5
--- /dev/null
+++ b/1.2.19/docs/examples/example-example91/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-example91-production
+
+
+
+
+
+
+
+
+
+
+ Expression:
+
+
Evaluate
+
+
+ [ X ]
+ {{expr}} =>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example91/index.html b/1.2.19/docs/examples/example-example91/index.html
new file mode 100644
index 0000000000..d1412a908e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example91/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-example91
+
+
+
+
+
+
+
+
+
+
+ Expression:
+
+
Evaluate
+
+
+ [ X ]
+ {{expr}} =>
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example91/manifest.json b/1.2.19/docs/examples/example-example91/manifest.json
new file mode 100644
index 0000000000..671aa1e4ce
--- /dev/null
+++ b/1.2.19/docs/examples/example-example91/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example91",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example91/protractor.js b/1.2.19/docs/examples/example-example91/protractor.js
new file mode 100644
index 0000000000..b56b5439ed
--- /dev/null
+++ b/1.2.19/docs/examples/example-example91/protractor.js
@@ -0,0 +1,6 @@
+ it('should allow user expression testing', function() {
+ element(by.css('.expressions button')).click();
+ var lis = element(by.css('.expressions ul')).element.all(by.repeater('expr in exprs'));
+ expect(lis.count()).toBe(1);
+ expect(lis.get(0).getText()).toEqual('[ X ] 3*10|currency => $30.00');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example91/script.js b/1.2.19/docs/examples/example-example91/script.js
new file mode 100644
index 0000000000..098b6ce067
--- /dev/null
+++ b/1.2.19/docs/examples/example-example91/script.js
@@ -0,0 +1,11 @@
+ function Cntl2($scope) {
+ var exprs = $scope.exprs = [];
+ $scope.expr = '3*10|currency';
+ $scope.addExp = function(expr) {
+ exprs.push(expr);
+ };
+
+ $scope.removeExp = function(index) {
+ exprs.splice(index, 1);
+ };
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example92/index-debug.html b/1.2.19/docs/examples/example-example92/index-debug.html
new file mode 100644
index 0000000000..6d05f2867f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example92/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example92-debug
+
+
+
+
+
+
+
+
+
+
+ Name:
+ Greet
+ Won't greet
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example92/index-jquery.html b/1.2.19/docs/examples/example-example92/index-jquery.html
new file mode 100644
index 0000000000..54ff16a542
--- /dev/null
+++ b/1.2.19/docs/examples/example-example92/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example92-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+ Greet
+ Won't greet
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example92/index-production.html b/1.2.19/docs/examples/example-example92/index-production.html
new file mode 100644
index 0000000000..d670cf99ba
--- /dev/null
+++ b/1.2.19/docs/examples/example-example92/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example92-production
+
+
+
+
+
+
+
+
+
+
+ Name:
+ Greet
+ Won't greet
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example92/index.html b/1.2.19/docs/examples/example-example92/index.html
new file mode 100644
index 0000000000..c7d450e94e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example92/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example92
+
+
+
+
+
+
+
+
+
+
+ Name:
+ Greet
+ Won't greet
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example92/manifest.json b/1.2.19/docs/examples/example-example92/manifest.json
new file mode 100644
index 0000000000..4d4a94b196
--- /dev/null
+++ b/1.2.19/docs/examples/example-example92/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-example92",
+ "files": [
+ "index-production.html",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example92/protractor.js b/1.2.19/docs/examples/example-example92/protractor.js
new file mode 100644
index 0000000000..8c58cbe69f
--- /dev/null
+++ b/1.2.19/docs/examples/example-example92/protractor.js
@@ -0,0 +1,13 @@
+ it('should calculate expression in binding', function() {
+ if (browser.params.browser == 'safari') {
+ // Safari can't handle dialogs.
+ return;
+ }
+ element(by.css('[ng-click="greet()"]')).click();
+
+ var alertDialog = browser.switchTo().alert();
+
+ expect(alertDialog.getText()).toEqual('Hello World');
+
+ alertDialog.accept();
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example92/script.js b/1.2.19/docs/examples/example-example92/script.js
new file mode 100644
index 0000000000..84f2c6bb1b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example92/script.js
@@ -0,0 +1,7 @@
+ function Cntl1($window, $scope){
+ $scope.name = 'World';
+
+ $scope.greet = function() {
+ $window.alert('Hello ' + $scope.name);
+ };
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example93/index-debug.html b/1.2.19/docs/examples/example-example93/index-debug.html
new file mode 100644
index 0000000000..c5e5f6c9d6
--- /dev/null
+++ b/1.2.19/docs/examples/example-example93/index-debug.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example93-debug
+
+
+
+
+
+
+
+
+
+
+
Event
+
$event
:
{{$event | json}}
+
clickEvent
:
{{clickEvent | json}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example93/index-jquery.html b/1.2.19/docs/examples/example-example93/index-jquery.html
new file mode 100644
index 0000000000..9714cbbca4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example93/index-jquery.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example93-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Event
+
$event
:
{{$event | json}}
+
clickEvent
:
{{clickEvent | json}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example93/index-production.html b/1.2.19/docs/examples/example-example93/index-production.html
new file mode 100644
index 0000000000..2a1d7f1783
--- /dev/null
+++ b/1.2.19/docs/examples/example-example93/index-production.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example93-production
+
+
+
+
+
+
+
+
+
+
+
Event
+
$event
:
{{$event | json}}
+
clickEvent
:
{{clickEvent | json}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example93/index.html b/1.2.19/docs/examples/example-example93/index.html
new file mode 100644
index 0000000000..8a86e1814d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example93/index.html
@@ -0,0 +1,21 @@
+
+
+
+
+
Example - example-example93
+
+
+
+
+
+
+
+
+
+
+
Event
+
$event
:
{{$event | json}}
+
clickEvent
:
{{clickEvent | json}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example93/manifest.json b/1.2.19/docs/examples/example-example93/manifest.json
new file mode 100644
index 0000000000..8c3a889a59
--- /dev/null
+++ b/1.2.19/docs/examples/example-example93/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example93",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example93/script.js b/1.2.19/docs/examples/example-example93/script.js
new file mode 100644
index 0000000000..62a9590de2
--- /dev/null
+++ b/1.2.19/docs/examples/example-example93/script.js
@@ -0,0 +1,21 @@
+ angular.module('eventExampleApp', []).
+ controller('EventController', ['$scope', function($scope) {
+ /*
+ * expose the event object to the scope
+ */
+ $scope.clickMe = function(clickEvent) {
+ $scope.clickEvent = simpleKeys(clickEvent);
+ console.log(clickEvent);
+ };
+
+ /*
+ * return a copy of an object with only non-object keys
+ * we need this to avoid circular references
+ */
+ function simpleKeys (original) {
+ return Object.keys(original).reduce(function (obj, key) {
+ obj[key] = typeof original[key] === 'object' ? '{ ... }' : original[key];
+ return obj;
+ }, {});
+ }
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example94/index-debug.html b/1.2.19/docs/examples/example-example94/index-debug.html
new file mode 100644
index 0000000000..cbdd0ffd2b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example94/index-debug.html
@@ -0,0 +1,26 @@
+
+
+
+
+
Example - example-example94-debug
+
+
+
+
+
+
+
+
+
+
+
+ All entries:
+ {{entry.name}}
+
+
+ Entries that contain an "a":
+ {{entry.name}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example94/index-jquery.html b/1.2.19/docs/examples/example-example94/index-jquery.html
new file mode 100644
index 0000000000..4744d956ff
--- /dev/null
+++ b/1.2.19/docs/examples/example-example94/index-jquery.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-example94-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ All entries:
+ {{entry.name}}
+
+
+ Entries that contain an "a":
+ {{entry.name}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example94/index-production.html b/1.2.19/docs/examples/example-example94/index-production.html
new file mode 100644
index 0000000000..0118298d3d
--- /dev/null
+++ b/1.2.19/docs/examples/example-example94/index-production.html
@@ -0,0 +1,26 @@
+
+
+
+
+
Example - example-example94-production
+
+
+
+
+
+
+
+
+
+
+
+ All entries:
+ {{entry.name}}
+
+
+ Entries that contain an "a":
+ {{entry.name}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example94/index.html b/1.2.19/docs/examples/example-example94/index.html
new file mode 100644
index 0000000000..06b33560ff
--- /dev/null
+++ b/1.2.19/docs/examples/example-example94/index.html
@@ -0,0 +1,26 @@
+
+
+
+
+
Example - example-example94
+
+
+
+
+
+
+
+
+
+
+
+ All entries:
+ {{entry.name}}
+
+
+ Entries that contain an "a":
+ {{entry.name}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example94/manifest.json b/1.2.19/docs/examples/example-example94/manifest.json
new file mode 100644
index 0000000000..606492f417
--- /dev/null
+++ b/1.2.19/docs/examples/example-example94/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example94",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example94/script.js b/1.2.19/docs/examples/example-example94/script.js
new file mode 100644
index 0000000000..7a28c9b184
--- /dev/null
+++ b/1.2.19/docs/examples/example-example94/script.js
@@ -0,0 +1,12 @@
+ angular.module('FilterInControllerModule', []).
+ controller('FilterController', ['filterFilter', function(filterFilter) {
+ this.array = [
+ {name: 'Tobias'},
+ {name: 'Jeff'},
+ {name: 'Brian'},
+ {name: 'Igor'},
+ {name: 'James'},
+ {name: 'Brad'}
+ ];
+ this.filteredArray = filterFilter(this.array, 'a');
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example95/index-debug.html b/1.2.19/docs/examples/example-example95/index-debug.html
new file mode 100644
index 0000000000..fee4a381cc
--- /dev/null
+++ b/1.2.19/docs/examples/example-example95/index-debug.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example95-debug
+
+
+
+
+
+
+
+
+
+
+
+ No filter: {{greeting}}
+ Reverse: {{greeting|reverse}}
+ Reverse + uppercase: {{greeting|reverse:true}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example95/index-jquery.html b/1.2.19/docs/examples/example-example95/index-jquery.html
new file mode 100644
index 0000000000..fee505bad8
--- /dev/null
+++ b/1.2.19/docs/examples/example-example95/index-jquery.html
@@ -0,0 +1,23 @@
+
+
+
+
+
Example - example-example95-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ No filter: {{greeting}}
+ Reverse: {{greeting|reverse}}
+ Reverse + uppercase: {{greeting|reverse:true}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example95/index-production.html b/1.2.19/docs/examples/example-example95/index-production.html
new file mode 100644
index 0000000000..5dde55aae5
--- /dev/null
+++ b/1.2.19/docs/examples/example-example95/index-production.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example95-production
+
+
+
+
+
+
+
+
+
+
+
+ No filter: {{greeting}}
+ Reverse: {{greeting|reverse}}
+ Reverse + uppercase: {{greeting|reverse:true}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example95/index.html b/1.2.19/docs/examples/example-example95/index.html
new file mode 100644
index 0000000000..a0e1287580
--- /dev/null
+++ b/1.2.19/docs/examples/example-example95/index.html
@@ -0,0 +1,22 @@
+
+
+
+
+
Example - example-example95
+
+
+
+
+
+
+
+
+
+
+
+ No filter: {{greeting}}
+ Reverse: {{greeting|reverse}}
+ Reverse + uppercase: {{greeting|reverse:true}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example95/manifest.json b/1.2.19/docs/examples/example-example95/manifest.json
new file mode 100644
index 0000000000..8e6f75afaf
--- /dev/null
+++ b/1.2.19/docs/examples/example-example95/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example95",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example95/script.js b/1.2.19/docs/examples/example-example95/script.js
new file mode 100644
index 0000000000..51f2c7be94
--- /dev/null
+++ b/1.2.19/docs/examples/example-example95/script.js
@@ -0,0 +1,18 @@
+ angular.module('myReverseModule', [])
+ .filter('reverse', function() {
+ return function(input, uppercase) {
+ input = input || '';
+ var out = "";
+ for (var i = 0; i < input.length; i++) {
+ out = input.charAt(i) + out;
+ }
+ // conditional based on optional argument
+ if (uppercase) {
+ out = out.toUpperCase();
+ }
+ return out;
+ };
+ })
+ .controller('Controller', ['$scope', function($scope) {
+ $scope.greeting = 'hello';
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example96/index-debug.html b/1.2.19/docs/examples/example-example96/index-debug.html
new file mode 100644
index 0000000000..84cdd77246
--- /dev/null
+++ b/1.2.19/docs/examples/example-example96/index-debug.html
@@ -0,0 +1,43 @@
+
+
+
+
+
Example - example-example96-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example96/index-jquery.html b/1.2.19/docs/examples/example-example96/index-jquery.html
new file mode 100644
index 0000000000..0b42b4e9ec
--- /dev/null
+++ b/1.2.19/docs/examples/example-example96/index-jquery.html
@@ -0,0 +1,44 @@
+
+
+
+
+
Example - example-example96-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example96/index-production.html b/1.2.19/docs/examples/example-example96/index-production.html
new file mode 100644
index 0000000000..5b9f1465c9
--- /dev/null
+++ b/1.2.19/docs/examples/example-example96/index-production.html
@@ -0,0 +1,43 @@
+
+
+
+
+
Example - example-example96-production
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example96/index.html b/1.2.19/docs/examples/example-example96/index.html
new file mode 100644
index 0000000000..b7d755a63a
--- /dev/null
+++ b/1.2.19/docs/examples/example-example96/index.html
@@ -0,0 +1,43 @@
+
+
+
+
+
Example - example-example96
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example96/manifest.json b/1.2.19/docs/examples/example-example96/manifest.json
new file mode 100644
index 0000000000..154f07a8ce
--- /dev/null
+++ b/1.2.19/docs/examples/example-example96/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example96",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example97/index-debug.html b/1.2.19/docs/examples/example-example97/index-debug.html
new file mode 100644
index 0000000000..5b6405dbb4
--- /dev/null
+++ b/1.2.19/docs/examples/example-example97/index-debug.html
@@ -0,0 +1,52 @@
+
+
+
+
+
Example - example-example97-debug
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+ E-mail:
+ Gender: male
+ female
+ RESET
+ SAVE
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example97/index-jquery.html b/1.2.19/docs/examples/example-example97/index-jquery.html
new file mode 100644
index 0000000000..a07aa1fda3
--- /dev/null
+++ b/1.2.19/docs/examples/example-example97/index-jquery.html
@@ -0,0 +1,53 @@
+
+
+
+
+
Example - example-example97-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+ E-mail:
+ Gender: male
+ female
+ RESET
+ SAVE
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example97/index-production.html b/1.2.19/docs/examples/example-example97/index-production.html
new file mode 100644
index 0000000000..db48e45ca7
--- /dev/null
+++ b/1.2.19/docs/examples/example-example97/index-production.html
@@ -0,0 +1,52 @@
+
+
+
+
+
Example - example-example97-production
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+ E-mail:
+ Gender: male
+ female
+ RESET
+ SAVE
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example97/index.html b/1.2.19/docs/examples/example-example97/index.html
new file mode 100644
index 0000000000..3ab380ff64
--- /dev/null
+++ b/1.2.19/docs/examples/example-example97/index.html
@@ -0,0 +1,52 @@
+
+
+
+
+
Example - example-example97
+
+
+
+
+
+
+
+
+
+
+ Name:
+
+ E-mail:
+ Gender: male
+ female
+ RESET
+ SAVE
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example97/manifest.json b/1.2.19/docs/examples/example-example97/manifest.json
new file mode 100644
index 0000000000..59d2c60b56
--- /dev/null
+++ b/1.2.19/docs/examples/example-example97/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-example97",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example98/index-debug.html b/1.2.19/docs/examples/example-example98/index-debug.html
new file mode 100644
index 0000000000..fdc2eac3c0
--- /dev/null
+++ b/1.2.19/docs/examples/example-example98/index-debug.html
@@ -0,0 +1,40 @@
+
+
+
+
+
Example - example-example98-debug
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example98/index-jquery.html b/1.2.19/docs/examples/example-example98/index-jquery.html
new file mode 100644
index 0000000000..b5a25aea39
--- /dev/null
+++ b/1.2.19/docs/examples/example-example98/index-jquery.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Example - example-example98-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example98/index-production.html b/1.2.19/docs/examples/example-example98/index-production.html
new file mode 100644
index 0000000000..70bd14cd67
--- /dev/null
+++ b/1.2.19/docs/examples/example-example98/index-production.html
@@ -0,0 +1,40 @@
+
+
+
+
+
Example - example-example98-production
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example98/index.html b/1.2.19/docs/examples/example-example98/index.html
new file mode 100644
index 0000000000..41e46ce270
--- /dev/null
+++ b/1.2.19/docs/examples/example-example98/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+
Example - example-example98
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example98/manifest.json b/1.2.19/docs/examples/example-example98/manifest.json
new file mode 100644
index 0000000000..dc90892fd3
--- /dev/null
+++ b/1.2.19/docs/examples/example-example98/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example98",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example98/script.js b/1.2.19/docs/examples/example-example98/script.js
new file mode 100644
index 0000000000..b3047bf9bb
--- /dev/null
+++ b/1.2.19/docs/examples/example-example98/script.js
@@ -0,0 +1,17 @@
+ function Controller($scope) {
+ $scope.master = {};
+
+ $scope.update = function(user) {
+ $scope.master = angular.copy(user);
+ };
+
+ $scope.reset = function() {
+ $scope.user = angular.copy($scope.master);
+ };
+
+ $scope.isUnchanged = function(user) {
+ return angular.equals(user, $scope.master);
+ };
+
+ $scope.reset();
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example99/index-debug.html b/1.2.19/docs/examples/example-example99/index-debug.html
new file mode 100644
index 0000000000..3928f28c04
--- /dev/null
+++ b/1.2.19/docs/examples/example-example99/index-debug.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-example99-debug
+
+
+
+
+
+
+
+
+
+
+
+ Size (integer 0 - 10):
+ {{size}}
+ This is not valid integer!
+
+ The value must be in range 0 to 10!
+
+
+
+ Length (float):
+
+ {{length}}
+
+ This is not a valid float number!
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example99/index-jquery.html b/1.2.19/docs/examples/example-example99/index-jquery.html
new file mode 100644
index 0000000000..f41bfe1e4b
--- /dev/null
+++ b/1.2.19/docs/examples/example-example99/index-jquery.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-example99-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ Size (integer 0 - 10):
+ {{size}}
+ This is not valid integer!
+
+ The value must be in range 0 to 10!
+
+
+
+ Length (float):
+
+ {{length}}
+
+ This is not a valid float number!
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example99/index-production.html b/1.2.19/docs/examples/example-example99/index-production.html
new file mode 100644
index 0000000000..290e90b95e
--- /dev/null
+++ b/1.2.19/docs/examples/example-example99/index-production.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-example99-production
+
+
+
+
+
+
+
+
+
+
+
+ Size (integer 0 - 10):
+ {{size}}
+ This is not valid integer!
+
+ The value must be in range 0 to 10!
+
+
+
+ Length (float):
+
+ {{length}}
+
+ This is not a valid float number!
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example99/index.html b/1.2.19/docs/examples/example-example99/index.html
new file mode 100644
index 0000000000..4715f72a50
--- /dev/null
+++ b/1.2.19/docs/examples/example-example99/index.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-example99
+
+
+
+
+
+
+
+
+
+
+
+ Size (integer 0 - 10):
+ {{size}}
+ This is not valid integer!
+
+ The value must be in range 0 to 10!
+
+
+
+ Length (float):
+
+ {{length}}
+
+ This is not a valid float number!
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example99/manifest.json b/1.2.19/docs/examples/example-example99/manifest.json
new file mode 100644
index 0000000000..14b77e36de
--- /dev/null
+++ b/1.2.19/docs/examples/example-example99/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-example99",
+ "files": [
+ "index-production.html",
+ "script.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-example99/script.js b/1.2.19/docs/examples/example-example99/script.js
new file mode 100644
index 0000000000..91a29d63eb
--- /dev/null
+++ b/1.2.19/docs/examples/example-example99/script.js
@@ -0,0 +1,39 @@
+ var app = angular.module('form-example1', []);
+
+ var INTEGER_REGEXP = /^\-?\d+$/;
+ app.directive('integer', function() {
+ return {
+ require: 'ngModel',
+ link: function(scope, elm, attrs, ctrl) {
+ ctrl.$parsers.unshift(function(viewValue) {
+ if (INTEGER_REGEXP.test(viewValue)) {
+ // it is valid
+ ctrl.$setValidity('integer', true);
+ return viewValue;
+ } else {
+ // it is invalid, return undefined (no model update)
+ ctrl.$setValidity('integer', false);
+ return undefined;
+ }
+ });
+ }
+ };
+ });
+
+ var FLOAT_REGEXP = /^\-?\d+((\.|\,)\d+)?$/;
+ app.directive('smartFloat', function() {
+ return {
+ require: 'ngModel',
+ link: function(scope, elm, attrs, ctrl) {
+ ctrl.$parsers.unshift(function(viewValue) {
+ if (FLOAT_REGEXP.test(viewValue)) {
+ ctrl.$setValidity('float', true);
+ return parseFloat(viewValue.replace(',', '.'));
+ } else {
+ ctrl.$setValidity('float', false);
+ return undefined;
+ }
+ });
+ }
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-1/index-debug.html b/1.2.19/docs/examples/example-guide-concepts-1/index-debug.html
new file mode 100644
index 0000000000..2bedb59e14
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-1/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-guide-concepts-1-debug
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+
+ Total: {{qty * cost | currency}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-1/index-jquery.html b/1.2.19/docs/examples/example-guide-concepts-1/index-jquery.html
new file mode 100644
index 0000000000..ada9eba94d
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-1/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+
Example - example-guide-concepts-1-jquery
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+
+ Total: {{qty * cost | currency}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-1/index-production.html b/1.2.19/docs/examples/example-guide-concepts-1/index-production.html
new file mode 100644
index 0000000000..370a02112d
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-1/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-guide-concepts-1-production
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+
+ Total: {{qty * cost | currency}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-1/index.html b/1.2.19/docs/examples/example-guide-concepts-1/index.html
new file mode 100644
index 0000000000..7163963ce3
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-1/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-guide-concepts-1
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+
+ Total: {{qty * cost | currency}}
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-1/manifest.json b/1.2.19/docs/examples/example-guide-concepts-1/manifest.json
new file mode 100644
index 0000000000..f4c83905a1
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-1/manifest.json
@@ -0,0 +1,6 @@
+{
+ "name": "example-guide-concepts-1",
+ "files": [
+ "index-production.html"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-2/index-debug.html b/1.2.19/docs/examples/example-guide-concepts-2/index-debug.html
new file mode 100644
index 0000000000..287b05e470
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-2/index-debug.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-guide-concepts-2-debug
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-2/index-jquery.html b/1.2.19/docs/examples/example-guide-concepts-2/index-jquery.html
new file mode 100644
index 0000000000..c3ae1c30e5
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-2/index-jquery.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-guide-concepts-2-jquery
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-2/index-production.html b/1.2.19/docs/examples/example-guide-concepts-2/index-production.html
new file mode 100644
index 0000000000..dca7249748
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-2/index-production.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-guide-concepts-2-production
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-2/index.html b/1.2.19/docs/examples/example-guide-concepts-2/index.html
new file mode 100644
index 0000000000..33786533f8
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-2/index.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-guide-concepts-2
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-2/invoice1.js b/1.2.19/docs/examples/example-guide-concepts-2/invoice1.js
new file mode 100644
index 0000000000..4d65f22276
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-2/invoice1.js
@@ -0,0 +1,22 @@
+ angular.module('invoice1', [])
+ .controller('InvoiceController', function() {
+ this.qty = 1;
+ this.cost = 2;
+ this.inCurr = 'EUR';
+ this.currencies = ['USD', 'EUR', 'CNY'];
+ this.usdToForeignRates = {
+ USD: 1,
+ EUR: 0.74,
+ CNY: 6.09
+ };
+
+ this.total = function total(outCurr) {
+ return this.convertCurrency(this.qty * this.cost, this.inCurr, outCurr);
+ };
+ this.convertCurrency = function convertCurrency(amount, inCurr, outCurr) {
+ return amount * this.usdToForeignRates[outCurr] / this.usdToForeignRates[inCurr];
+ };
+ this.pay = function pay() {
+ window.alert("Thanks!");
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-2/manifest.json b/1.2.19/docs/examples/example-guide-concepts-2/manifest.json
new file mode 100644
index 0000000000..9c6af114cc
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-2/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-guide-concepts-2",
+ "files": [
+ "index-production.html",
+ "invoice1.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-21/finance2.js b/1.2.19/docs/examples/example-guide-concepts-21/finance2.js
new file mode 100644
index 0000000000..270108aedb
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-21/finance2.js
@@ -0,0 +1,17 @@
+ angular.module('finance2', [])
+ .factory('currencyConverter', function() {
+ var currencies = ['USD', 'EUR', 'CNY'];
+ var usdToForeignRates = {
+ USD: 1,
+ EUR: 0.74,
+ CNY: 6.09
+ };
+ var convert = function (amount, inCurr, outCurr) {
+ return amount * usdToForeignRates[outCurr] / usdToForeignRates[inCurr];
+ };
+
+ return {
+ currencies: currencies,
+ convert: convert
+ };
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-21/index-debug.html b/1.2.19/docs/examples/example-guide-concepts-21/index-debug.html
new file mode 100644
index 0000000000..718a9b64b0
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-21/index-debug.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-guide-concepts-21-debug
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-21/index-jquery.html b/1.2.19/docs/examples/example-guide-concepts-21/index-jquery.html
new file mode 100644
index 0000000000..6df5c3b1c0
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-21/index-jquery.html
@@ -0,0 +1,37 @@
+
+
+
+
+
Example - example-guide-concepts-21-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-21/index-production.html b/1.2.19/docs/examples/example-guide-concepts-21/index-production.html
new file mode 100644
index 0000000000..a3ce5050b3
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-21/index-production.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-guide-concepts-21-production
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-21/index.html b/1.2.19/docs/examples/example-guide-concepts-21/index.html
new file mode 100644
index 0000000000..d856b72571
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-21/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-guide-concepts-21
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-21/invoice2.js b/1.2.19/docs/examples/example-guide-concepts-21/invoice2.js
new file mode 100644
index 0000000000..77caa7ebf0
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-21/invoice2.js
@@ -0,0 +1,14 @@
+ angular.module('invoice2', ['finance2'])
+ .controller('InvoiceController', ['currencyConverter', function(currencyConverter) {
+ this.qty = 1;
+ this.cost = 2;
+ this.inCurr = 'EUR';
+ this.currencies = currencyConverter.currencies;
+
+ this.total = function total(outCurr) {
+ return currencyConverter.convert(this.qty * this.cost, this.inCurr, outCurr);
+ };
+ this.pay = function pay() {
+ window.alert("Thanks!");
+ };
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-21/manifest.json b/1.2.19/docs/examples/example-guide-concepts-21/manifest.json
new file mode 100644
index 0000000000..036dcd520a
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-21/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-guide-concepts-21",
+ "files": [
+ "index-production.html",
+ "finance2.js",
+ "invoice2.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-3/finance3.js b/1.2.19/docs/examples/example-guide-concepts-3/finance3.js
new file mode 100644
index 0000000000..1439aaccf9
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-3/finance3.js
@@ -0,0 +1,34 @@
+ angular.module('finance3', [])
+ .factory('currencyConverter', ['$http', function($http) {
+ var YAHOO_FINANCE_URL_PATTERN =
+ 'http://query.yahooapis.com/v1/public/yql?q=select * from '+
+ 'yahoo.finance.xchange where pair in ("PAIRS")&format=json&'+
+ 'env=store://datatables.org/alltableswithkeys&callback=JSON_CALLBACK';
+ var currencies = ['USD', 'EUR', 'CNY'];
+ var usdToForeignRates = {};
+
+ var convert = function (amount, inCurr, outCurr) {
+ return amount * usdToForeignRates[outCurr] / usdToForeignRates[inCurr];
+ };
+
+ var refresh = function() {
+ var url = YAHOO_FINANCE_URL_PATTERN.
+ replace('PAIRS', 'USD' + currencies.join('","USD'));
+ return $http.jsonp(url).success(function(data) {
+ var newUsdToForeignRates = {};
+ angular.forEach(data.query.results.rate, function(rate) {
+ var currency = rate.id.substring(3,6);
+ newUsdToForeignRates[currency] = window.parseFloat(rate.Rate);
+ });
+ usdToForeignRates = newUsdToForeignRates;
+ });
+ };
+
+ refresh();
+
+ return {
+ currencies: currencies,
+ convert: convert,
+ refresh: refresh
+ };
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-3/index-debug.html b/1.2.19/docs/examples/example-guide-concepts-3/index-debug.html
new file mode 100644
index 0000000000..9d778e4610
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-3/index-debug.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-guide-concepts-3-debug
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-3/index-jquery.html b/1.2.19/docs/examples/example-guide-concepts-3/index-jquery.html
new file mode 100644
index 0000000000..dbeceac9a3
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-3/index-jquery.html
@@ -0,0 +1,37 @@
+
+
+
+
+
Example - example-guide-concepts-3-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-3/index-production.html b/1.2.19/docs/examples/example-guide-concepts-3/index-production.html
new file mode 100644
index 0000000000..a5e22ff662
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-3/index-production.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-guide-concepts-3-production
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-3/index.html b/1.2.19/docs/examples/example-guide-concepts-3/index.html
new file mode 100644
index 0000000000..6046ff454c
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-3/index.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-guide-concepts-3
+
+
+
+
+
+
+
+
+
+
+
+
Invoice:
+
+ Quantity:
+
+
+ Costs:
+
+ {{c}}
+
+
+
+ Total:
+
+ {{invoice.total(c) | currency:c}}
+
+ Pay
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-3/invoice3.js b/1.2.19/docs/examples/example-guide-concepts-3/invoice3.js
new file mode 100644
index 0000000000..d9b1640be0
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-3/invoice3.js
@@ -0,0 +1,14 @@
+ angular.module('invoice3', ['finance3'])
+ .controller('InvoiceController', ['currencyConverter', function(currencyConverter) {
+ this.qty = 1;
+ this.cost = 2;
+ this.inCurr = 'EUR';
+ this.currencies = currencyConverter.currencies;
+
+ this.total = function total(outCurr) {
+ return currencyConverter.convert(this.qty * this.cost, this.inCurr, outCurr);
+ };
+ this.pay = function pay() {
+ window.alert("Thanks!");
+ };
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-guide-concepts-3/manifest.json b/1.2.19/docs/examples/example-guide-concepts-3/manifest.json
new file mode 100644
index 0000000000..4581d36108
--- /dev/null
+++ b/1.2.19/docs/examples/example-guide-concepts-3/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-guide-concepts-3",
+ "files": [
+ "index-production.html",
+ "invoice3.js",
+ "finance3.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-input-directive/index-debug.html b/1.2.19/docs/examples/example-input-directive/index-debug.html
new file mode 100644
index 0000000000..15e45489cf
--- /dev/null
+++ b/1.2.19/docs/examples/example-input-directive/index-debug.html
@@ -0,0 +1,43 @@
+
+
+
+
+
Example - example-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+
+ User name:
+
+ Required!
+ Last name:
+
+ Too short!
+
+ Too long!
+
+
+ user = {{user}}
+ myForm.userName.$valid = {{myForm.userName.$valid}}
+ myForm.userName.$error = {{myForm.userName.$error}}
+ myForm.lastName.$valid = {{myForm.lastName.$valid}}
+ myForm.lastName.$error = {{myForm.lastName.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.minlength = {{!!myForm.$error.minlength}}
+ myForm.$error.maxlength = {{!!myForm.$error.maxlength}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-input-directive/index-jquery.html b/1.2.19/docs/examples/example-input-directive/index-jquery.html
new file mode 100644
index 0000000000..61bcf816da
--- /dev/null
+++ b/1.2.19/docs/examples/example-input-directive/index-jquery.html
@@ -0,0 +1,44 @@
+
+
+
+
+
Example - example-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+ User name:
+
+ Required!
+ Last name:
+
+ Too short!
+
+ Too long!
+
+
+ user = {{user}}
+ myForm.userName.$valid = {{myForm.userName.$valid}}
+ myForm.userName.$error = {{myForm.userName.$error}}
+ myForm.lastName.$valid = {{myForm.lastName.$valid}}
+ myForm.lastName.$error = {{myForm.lastName.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.minlength = {{!!myForm.$error.minlength}}
+ myForm.$error.maxlength = {{!!myForm.$error.maxlength}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-input-directive/index-production.html b/1.2.19/docs/examples/example-input-directive/index-production.html
new file mode 100644
index 0000000000..7afd574650
--- /dev/null
+++ b/1.2.19/docs/examples/example-input-directive/index-production.html
@@ -0,0 +1,43 @@
+
+
+
+
+
Example - example-input-directive-production
+
+
+
+
+
+
+
+
+
+
+
+ User name:
+
+ Required!
+ Last name:
+
+ Too short!
+
+ Too long!
+
+
+ user = {{user}}
+ myForm.userName.$valid = {{myForm.userName.$valid}}
+ myForm.userName.$error = {{myForm.userName.$error}}
+ myForm.lastName.$valid = {{myForm.lastName.$valid}}
+ myForm.lastName.$error = {{myForm.lastName.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.minlength = {{!!myForm.$error.minlength}}
+ myForm.$error.maxlength = {{!!myForm.$error.maxlength}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-input-directive/index.html b/1.2.19/docs/examples/example-input-directive/index.html
new file mode 100644
index 0000000000..bf87b71d16
--- /dev/null
+++ b/1.2.19/docs/examples/example-input-directive/index.html
@@ -0,0 +1,43 @@
+
+
+
+
+
Example - example-input-directive
+
+
+
+
+
+
+
+
+
+
+
+ User name:
+
+ Required!
+ Last name:
+
+ Too short!
+
+ Too long!
+
+
+ user = {{user}}
+ myForm.userName.$valid = {{myForm.userName.$valid}}
+ myForm.userName.$error = {{myForm.userName.$error}}
+ myForm.lastName.$valid = {{myForm.lastName.$valid}}
+ myForm.lastName.$error = {{myForm.lastName.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.minlength = {{!!myForm.$error.minlength}}
+ myForm.$error.maxlength = {{!!myForm.$error.maxlength}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-input-directive/manifest.json b/1.2.19/docs/examples/example-input-directive/manifest.json
new file mode 100644
index 0000000000..b4c6da9122
--- /dev/null
+++ b/1.2.19/docs/examples/example-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-input-directive/protractor.js b/1.2.19/docs/examples/example-input-directive/protractor.js
new file mode 100644
index 0000000000..f3c5e1694c
--- /dev/null
+++ b/1.2.19/docs/examples/example-input-directive/protractor.js
@@ -0,0 +1,51 @@
+ var user = element(by.binding('{{user}}'));
+ var userNameValid = element(by.binding('myForm.userName.$valid'));
+ var lastNameValid = element(by.binding('myForm.lastName.$valid'));
+ var lastNameError = element(by.binding('myForm.lastName.$error'));
+ var formValid = element(by.binding('myForm.$valid'));
+ var userNameInput = element(by.model('user.name'));
+ var userLastInput = element(by.model('user.last'));
+
+ it('should initialize to model', function() {
+ expect(user.getText()).toContain('{"name":"guest","last":"visitor"}');
+ expect(userNameValid.getText()).toContain('true');
+ expect(formValid.getText()).toContain('true');
+ });
+
+ it('should be invalid if empty when required', function() {
+ userNameInput.clear();
+ userNameInput.sendKeys('');
+
+ expect(user.getText()).toContain('{"last":"visitor"}');
+ expect(userNameValid.getText()).toContain('false');
+ expect(formValid.getText()).toContain('false');
+ });
+
+ it('should be valid if empty when min length is set', function() {
+ userLastInput.clear();
+ userLastInput.sendKeys('');
+
+ expect(user.getText()).toContain('{"name":"guest","last":""}');
+ expect(lastNameValid.getText()).toContain('true');
+ expect(formValid.getText()).toContain('true');
+ });
+
+ it('should be invalid if less than required min length', function() {
+ userLastInput.clear();
+ userLastInput.sendKeys('xx');
+
+ expect(user.getText()).toContain('{"name":"guest"}');
+ expect(lastNameValid.getText()).toContain('false');
+ expect(lastNameError.getText()).toContain('minlength');
+ expect(formValid.getText()).toContain('false');
+ });
+
+ it('should be invalid if longer than max length', function() {
+ userLastInput.clear();
+ userLastInput.sendKeys('some ridiculously long name');
+
+ expect(user.getText()).toContain('{"name":"guest"}');
+ expect(lastNameValid.getText()).toContain('false');
+ expect(lastNameError.getText()).toContain('maxlength');
+ expect(formValid.getText()).toContain('false');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-multi-bootstrap/controller.js b/1.2.19/docs/examples/example-multi-bootstrap/controller.js
new file mode 100644
index 0000000000..5f1ca61d14
--- /dev/null
+++ b/1.2.19/docs/examples/example-multi-bootstrap/controller.js
@@ -0,0 +1,6 @@
+var app = angular.module('multi-bootstrap', [])
+
+.controller('BrokenTable', function($scope) {
+ $scope.headings = ['One', 'Two', 'Three'];
+ $scope.fillings = [[1, 2, 3], ['A', 'B', 'C'], [7, 8, 9]];
+});
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-multi-bootstrap/index-debug.html b/1.2.19/docs/examples/example-multi-bootstrap/index-debug.html
new file mode 100644
index 0000000000..755f137ebc
--- /dev/null
+++ b/1.2.19/docs/examples/example-multi-bootstrap/index-debug.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-multi-bootstrap-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{heading}}
+
+
+ {{fill}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-multi-bootstrap/index-jquery.html b/1.2.19/docs/examples/example-multi-bootstrap/index-jquery.html
new file mode 100644
index 0000000000..dff567813d
--- /dev/null
+++ b/1.2.19/docs/examples/example-multi-bootstrap/index-jquery.html
@@ -0,0 +1,28 @@
+
+
+
+
+
Example - example-multi-bootstrap-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{heading}}
+
+
+ {{fill}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-multi-bootstrap/index-production.html b/1.2.19/docs/examples/example-multi-bootstrap/index-production.html
new file mode 100644
index 0000000000..3d3460a63a
--- /dev/null
+++ b/1.2.19/docs/examples/example-multi-bootstrap/index-production.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-multi-bootstrap-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{heading}}
+
+
+ {{fill}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-multi-bootstrap/index.html b/1.2.19/docs/examples/example-multi-bootstrap/index.html
new file mode 100644
index 0000000000..94c2bef475
--- /dev/null
+++ b/1.2.19/docs/examples/example-multi-bootstrap/index.html
@@ -0,0 +1,27 @@
+
+
+
+
+
Example - example-multi-bootstrap
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{heading}}
+
+
+ {{fill}}
+
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-multi-bootstrap/manifest.json b/1.2.19/docs/examples/example-multi-bootstrap/manifest.json
new file mode 100644
index 0000000000..b2685b5920
--- /dev/null
+++ b/1.2.19/docs/examples/example-multi-bootstrap/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-multi-bootstrap",
+ "files": [
+ "index-production.html",
+ "controller.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-multi-bootstrap/protractor.js b/1.2.19/docs/examples/example-multi-bootstrap/protractor.js
new file mode 100644
index 0000000000..82f9ac81f2
--- /dev/null
+++ b/1.2.19/docs/examples/example-multi-bootstrap/protractor.js
@@ -0,0 +1,4 @@
+it('should only insert one table cell for each item in $scope.fillings', function() {
+ expect(element.all(by.css('td')).count())
+ .toBe(9);
+});
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngChange-directive/index-debug.html b/1.2.19/docs/examples/example-ngChange-directive/index-debug.html
new file mode 100644
index 0000000000..fafebe6187
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngChange-directive/index-debug.html
@@ -0,0 +1,30 @@
+
+
+
+
+
Example - example-ngChange-directive-debug
+
+
+
+
+
+
+
+
+
+
+
+
+ Confirmed
+ debug = {{confirmed}}
+ counter = {{counter}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngChange-directive/index-jquery.html b/1.2.19/docs/examples/example-ngChange-directive/index-jquery.html
new file mode 100644
index 0000000000..585601d780
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngChange-directive/index-jquery.html
@@ -0,0 +1,31 @@
+
+
+
+
+
Example - example-ngChange-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Confirmed
+ debug = {{confirmed}}
+ counter = {{counter}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngChange-directive/index-production.html b/1.2.19/docs/examples/example-ngChange-directive/index-production.html
new file mode 100644
index 0000000000..1cbc68a726
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngChange-directive/index-production.html
@@ -0,0 +1,30 @@
+
+
+
+
+
Example - example-ngChange-directive-production
+
+
+
+
+
+
+
+
+
+
+
+
+ Confirmed
+ debug = {{confirmed}}
+ counter = {{counter}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngChange-directive/index.html b/1.2.19/docs/examples/example-ngChange-directive/index.html
new file mode 100644
index 0000000000..bc442ce545
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngChange-directive/index.html
@@ -0,0 +1,30 @@
+
+
+
+
+
Example - example-ngChange-directive
+
+
+
+
+
+
+
+
+
+
+
+
+ Confirmed
+ debug = {{confirmed}}
+ counter = {{counter}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngChange-directive/manifest.json b/1.2.19/docs/examples/example-ngChange-directive/manifest.json
new file mode 100644
index 0000000000..738d489cdc
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngChange-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-ngChange-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngChange-directive/protractor.js b/1.2.19/docs/examples/example-ngChange-directive/protractor.js
new file mode 100644
index 0000000000..0e8c5f71da
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngChange-directive/protractor.js
@@ -0,0 +1,18 @@
+ var counter = element(by.binding('counter'));
+ var debug = element(by.binding('confirmed'));
+
+ it('should evaluate the expression if changing from view', function() {
+ expect(counter.getText()).toContain('0');
+
+ element(by.id('ng-change-example1')).click();
+
+ expect(counter.getText()).toContain('1');
+ expect(debug.getText()).toContain('true');
+ });
+
+ it('should not evaluate the expression if changing from model', function() {
+ element(by.id('ng-change-example2')).click();
+
+ expect(counter.getText()).toContain('0');
+ expect(debug.getText()).toContain('true');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngController/app.js b/1.2.19/docs/examples/example-ngController/app.js
new file mode 100644
index 0000000000..68d454a266
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngController/app.js
@@ -0,0 +1,24 @@
+ function SettingsController2($scope) {
+ $scope.name = "John Smith";
+ $scope.contacts = [
+ {type:'phone', value:'408 555 1212'},
+ {type:'email', value:'john.smith@example.org'} ];
+
+ $scope.greet = function() {
+ alert($scope.name);
+ };
+
+ $scope.addContact = function() {
+ $scope.contacts.push({type:'email', value:'yourname@example.org'});
+ };
+
+ $scope.removeContact = function(contactToRemove) {
+ var index = $scope.contacts.indexOf(contactToRemove);
+ $scope.contacts.splice(index, 1);
+ };
+
+ $scope.clearContact = function(contact) {
+ contact.type = 'phone';
+ contact.value = '';
+ };
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngController/index-debug.html b/1.2.19/docs/examples/example-ngController/index-debug.html
new file mode 100644
index 0000000000..9ae8665531
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngController/index-debug.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ngController-debug
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngController/index-jquery.html b/1.2.19/docs/examples/example-ngController/index-jquery.html
new file mode 100644
index 0000000000..8a878cd7dc
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngController/index-jquery.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-ngController-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngController/index-production.html b/1.2.19/docs/examples/example-ngController/index-production.html
new file mode 100644
index 0000000000..a8a390a85c
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngController/index-production.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ngController-production
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngController/index.html b/1.2.19/docs/examples/example-ngController/index.html
new file mode 100644
index 0000000000..948364be8b
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngController/index.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ngController
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngController/manifest.json b/1.2.19/docs/examples/example-ngController/manifest.json
new file mode 100644
index 0000000000..ae92ea9e23
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngController/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-ngController",
+ "files": [
+ "index-production.html",
+ "app.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngController/protractor.js b/1.2.19/docs/examples/example-ngController/protractor.js
new file mode 100644
index 0000000000..b159c422b4
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngController/protractor.js
@@ -0,0 +1,28 @@
+ it('should check controller', function() {
+ var container = element(by.id('ctrl-exmpl'));
+
+ expect(container.findElement(by.model('name'))
+ .getAttribute('value')).toBe('John Smith');
+
+ var firstRepeat =
+ container.findElement(by.repeater('contact in contacts').row(0));
+ var secondRepeat =
+ container.findElement(by.repeater('contact in contacts').row(1));
+
+ expect(firstRepeat.findElement(by.model('contact.value')).getAttribute('value'))
+ .toBe('408 555 1212');
+ expect(secondRepeat.findElement(by.model('contact.value')).getAttribute('value'))
+ .toBe('john.smith@example.org');
+
+ firstRepeat.findElement(by.linkText('clear')).click();
+
+ expect(firstRepeat.findElement(by.model('contact.value')).getAttribute('value'))
+ .toBe('');
+
+ container.findElement(by.linkText('add')).click();
+
+ expect(container.findElement(by.repeater('contact in contacts').row(2))
+ .findElement(by.model('contact.value'))
+ .getAttribute('value'))
+ .toBe('yourname@example.org');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngControllerAs/app.js b/1.2.19/docs/examples/example-ngControllerAs/app.js
new file mode 100644
index 0000000000..631dcab11c
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngControllerAs/app.js
@@ -0,0 +1,24 @@
+ function SettingsController1() {
+ this.name = "John Smith";
+ this.contacts = [
+ {type: 'phone', value: '408 555 1212'},
+ {type: 'email', value: 'john.smith@example.org'} ];
+ }
+
+ SettingsController1.prototype.greet = function() {
+ alert(this.name);
+ };
+
+ SettingsController1.prototype.addContact = function() {
+ this.contacts.push({type: 'email', value: 'yourname@example.org'});
+ };
+
+ SettingsController1.prototype.removeContact = function(contactToRemove) {
+ var index = this.contacts.indexOf(contactToRemove);
+ this.contacts.splice(index, 1);
+ };
+
+ SettingsController1.prototype.clearContact = function(contact) {
+ contact.type = 'phone';
+ contact.value = '';
+ };
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngControllerAs/index-debug.html b/1.2.19/docs/examples/example-ngControllerAs/index-debug.html
new file mode 100644
index 0000000000..0945a309cf
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngControllerAs/index-debug.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ngControllerAs-debug
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngControllerAs/index-jquery.html b/1.2.19/docs/examples/example-ngControllerAs/index-jquery.html
new file mode 100644
index 0000000000..da5e761d64
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngControllerAs/index-jquery.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-ngControllerAs-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngControllerAs/index-production.html b/1.2.19/docs/examples/example-ngControllerAs/index-production.html
new file mode 100644
index 0000000000..dd5ab98643
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngControllerAs/index-production.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ngControllerAs-production
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngControllerAs/index.html b/1.2.19/docs/examples/example-ngControllerAs/index.html
new file mode 100644
index 0000000000..37a2dada14
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngControllerAs/index.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ngControllerAs
+
+
+
+
+
+
+
+
+
+
+ Name:
+ [
greet ]
+ Contact:
+
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngControllerAs/manifest.json b/1.2.19/docs/examples/example-ngControllerAs/manifest.json
new file mode 100644
index 0000000000..b54b3acd59
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngControllerAs/manifest.json
@@ -0,0 +1,8 @@
+{
+ "name": "example-ngControllerAs",
+ "files": [
+ "index-production.html",
+ "app.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngControllerAs/protractor.js b/1.2.19/docs/examples/example-ngControllerAs/protractor.js
new file mode 100644
index 0000000000..3dad744e89
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngControllerAs/protractor.js
@@ -0,0 +1,28 @@
+ it('should check controller as', function() {
+ var container = element(by.id('ctrl-as-exmpl'));
+ expect(container.findElement(by.model('settings.name'))
+ .getAttribute('value')).toBe('John Smith');
+
+ var firstRepeat =
+ container.findElement(by.repeater('contact in settings.contacts').row(0));
+ var secondRepeat =
+ container.findElement(by.repeater('contact in settings.contacts').row(1));
+
+ expect(firstRepeat.findElement(by.model('contact.value')).getAttribute('value'))
+ .toBe('408 555 1212');
+
+ expect(secondRepeat.findElement(by.model('contact.value')).getAttribute('value'))
+ .toBe('john.smith@example.org');
+
+ firstRepeat.findElement(by.linkText('clear')).click();
+
+ expect(firstRepeat.findElement(by.model('contact.value')).getAttribute('value'))
+ .toBe('');
+
+ container.findElement(by.linkText('add')).click();
+
+ expect(container.findElement(by.repeater('contact in settings.contacts').row(2))
+ .findElement(by.model('contact.value'))
+ .getAttribute('value'))
+ .toBe('yourname@example.org');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngList-directive/index-debug.html b/1.2.19/docs/examples/example-ngList-directive/index-debug.html
new file mode 100644
index 0000000000..ef548aff6b
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngList-directive/index-debug.html
@@ -0,0 +1,31 @@
+
+
+
+
+
Example - example-ngList-directive-debug
+
+
+
+
+
+
+
+
+
+
+ List:
+
+ Required!
+
+ names = {{names}}
+ myForm.namesInput.$valid = {{myForm.namesInput.$valid}}
+ myForm.namesInput.$error = {{myForm.namesInput.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngList-directive/index-jquery.html b/1.2.19/docs/examples/example-ngList-directive/index-jquery.html
new file mode 100644
index 0000000000..622b072fc5
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngList-directive/index-jquery.html
@@ -0,0 +1,32 @@
+
+
+
+
+
Example - example-ngList-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ List:
+
+ Required!
+
+ names = {{names}}
+ myForm.namesInput.$valid = {{myForm.namesInput.$valid}}
+ myForm.namesInput.$error = {{myForm.namesInput.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngList-directive/index-production.html b/1.2.19/docs/examples/example-ngList-directive/index-production.html
new file mode 100644
index 0000000000..2964174a93
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngList-directive/index-production.html
@@ -0,0 +1,31 @@
+
+
+
+
+
Example - example-ngList-directive-production
+
+
+
+
+
+
+
+
+
+
+ List:
+
+ Required!
+
+ names = {{names}}
+ myForm.namesInput.$valid = {{myForm.namesInput.$valid}}
+ myForm.namesInput.$error = {{myForm.namesInput.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngList-directive/index.html b/1.2.19/docs/examples/example-ngList-directive/index.html
new file mode 100644
index 0000000000..d1b1ea8ef9
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngList-directive/index.html
@@ -0,0 +1,31 @@
+
+
+
+
+
Example - example-ngList-directive
+
+
+
+
+
+
+
+
+
+
+ List:
+
+ Required!
+
+ names = {{names}}
+ myForm.namesInput.$valid = {{myForm.namesInput.$valid}}
+ myForm.namesInput.$error = {{myForm.namesInput.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngList-directive/manifest.json b/1.2.19/docs/examples/example-ngList-directive/manifest.json
new file mode 100644
index 0000000000..f380b3b051
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngList-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-ngList-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngList-directive/protractor.js b/1.2.19/docs/examples/example-ngList-directive/protractor.js
new file mode 100644
index 0000000000..5c4b0d2f08
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngList-directive/protractor.js
@@ -0,0 +1,18 @@
+ var listInput = element(by.model('names'));
+ var names = element(by.binding('{{names}}'));
+ var valid = element(by.binding('myForm.namesInput.$valid'));
+ var error = element(by.css('span.error'));
+
+ it('should initialize to model', function() {
+ expect(names.getText()).toContain('["igor","misko","vojta"]');
+ expect(valid.getText()).toContain('true');
+ expect(error.getCssValue('display')).toBe('none');
+ });
+
+ it('should be invalid if empty', function() {
+ listInput.clear();
+ listInput.sendKeys('');
+
+ expect(names.getText()).toContain('');
+ expect(valid.getText()).toContain('false');
+ expect(error.getCssValue('display')).not.toBe('none'); });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngValue-directive/index-debug.html b/1.2.19/docs/examples/example-ngValue-directive/index-debug.html
new file mode 100644
index 0000000000..d8ebadfe75
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngValue-directive/index-debug.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ngValue-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Which is your favorite?
+
+ {{name}}
+
+
+ You chose {{my.favorite}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngValue-directive/index-jquery.html b/1.2.19/docs/examples/example-ngValue-directive/index-jquery.html
new file mode 100644
index 0000000000..27f96c18f6
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngValue-directive/index-jquery.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-ngValue-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Which is your favorite?
+
+ {{name}}
+
+
+ You chose {{my.favorite}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngValue-directive/index-production.html b/1.2.19/docs/examples/example-ngValue-directive/index-production.html
new file mode 100644
index 0000000000..b5ffdc4f0d
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngValue-directive/index-production.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ngValue-directive-production
+
+
+
+
+
+
+
+
+
+
+ Which is your favorite?
+
+ {{name}}
+
+
+ You chose {{my.favorite}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngValue-directive/index.html b/1.2.19/docs/examples/example-ngValue-directive/index.html
new file mode 100644
index 0000000000..0ef32f4a74
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngValue-directive/index.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-ngValue-directive
+
+
+
+
+
+
+
+
+
+
+ Which is your favorite?
+
+ {{name}}
+
+
+ You chose {{my.favorite}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngValue-directive/manifest.json b/1.2.19/docs/examples/example-ngValue-directive/manifest.json
new file mode 100644
index 0000000000..1e8f897466
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngValue-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-ngValue-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngValue-directive/protractor.js b/1.2.19/docs/examples/example-ngValue-directive/protractor.js
new file mode 100644
index 0000000000..1b750cee10
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngValue-directive/protractor.js
@@ -0,0 +1,9 @@
+ var favorite = element(by.binding('my.favorite'));
+
+ it('should initialize to model', function() {
+ expect(favorite.getText()).toContain('unicorns');
+ });
+ it('should bind the values to the inputs', function() {
+ element.all(by.model('my.favorite')).get(0).click();
+ expect(favorite.getText()).toContain('pizza');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngView-directive/animations.css b/1.2.19/docs/examples/example-ngView-directive/animations.css
new file mode 100644
index 0000000000..da5a8473ae
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngView-directive/animations.css
@@ -0,0 +1,39 @@
+ .view-animate-container {
+ position:relative;
+ height:100px!important;
+ position:relative;
+ background:white;
+ border:1px solid black;
+ height:40px;
+ overflow:hidden;
+ }
+
+ .view-animate {
+ padding:10px;
+ }
+
+ .view-animate.ng-enter, .view-animate.ng-leave {
+ -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s;
+ transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.5s;
+
+ display:block;
+ width:100%;
+ border-left:1px solid black;
+
+ position:absolute;
+ top:0;
+ left:0;
+ right:0;
+ bottom:0;
+ padding:10px;
+ }
+
+ .view-animate.ng-enter {
+ left:100%;
+ }
+ .view-animate.ng-enter.ng-enter-active {
+ left:0;
+ }
+ .view-animate.ng-leave.ng-leave-active {
+ left:-100%;
+ }
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngView-directive/book.html b/1.2.19/docs/examples/example-ngView-directive/book.html
new file mode 100644
index 0000000000..1a50c4e977
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngView-directive/book.html
@@ -0,0 +1,4 @@
+
+ controller: {{book.name}}
+ Book Id: {{book.params.bookId}}
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngView-directive/chapter.html b/1.2.19/docs/examples/example-ngView-directive/chapter.html
new file mode 100644
index 0000000000..e12ec0779f
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngView-directive/chapter.html
@@ -0,0 +1,5 @@
+
+ controller: {{chapter.name}}
+ Book Id: {{chapter.params.bookId}}
+ Chapter Id: {{chapter.params.chapterId}}
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngView-directive/index-debug.html b/1.2.19/docs/examples/example-ngView-directive/index-debug.html
new file mode 100644
index 0000000000..590ce7640b
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngView-directive/index-debug.html
@@ -0,0 +1,40 @@
+
+
+
+
+
Example - example-ngView-directive-debug
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
$location.path() = {{main.$location.path()}}
+
$route.current.templateUrl = {{main.$route.current.templateUrl}}
+
$route.current.params = {{main.$route.current.params}}
+
$route.current.scope.name = {{main.$route.current.scope.name}}
+
$routeParams = {{main.$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngView-directive/index-jquery.html b/1.2.19/docs/examples/example-ngView-directive/index-jquery.html
new file mode 100644
index 0000000000..d83816ac10
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngView-directive/index-jquery.html
@@ -0,0 +1,41 @@
+
+
+
+
+
Example - example-ngView-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
$location.path() = {{main.$location.path()}}
+
$route.current.templateUrl = {{main.$route.current.templateUrl}}
+
$route.current.params = {{main.$route.current.params}}
+
$route.current.scope.name = {{main.$route.current.scope.name}}
+
$routeParams = {{main.$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngView-directive/index-production.html b/1.2.19/docs/examples/example-ngView-directive/index-production.html
new file mode 100644
index 0000000000..ed53658b3f
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngView-directive/index-production.html
@@ -0,0 +1,40 @@
+
+
+
+
+
Example - example-ngView-directive-production
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
$location.path() = {{main.$location.path()}}
+
$route.current.templateUrl = {{main.$route.current.templateUrl}}
+
$route.current.params = {{main.$route.current.params}}
+
$route.current.scope.name = {{main.$route.current.scope.name}}
+
$routeParams = {{main.$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngView-directive/index.html b/1.2.19/docs/examples/example-ngView-directive/index.html
new file mode 100644
index 0000000000..4e438925ec
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngView-directive/index.html
@@ -0,0 +1,40 @@
+
+
+
+
+
Example - example-ngView-directive
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Choose:
+
Moby |
+
Moby: Ch1 |
+
Gatsby |
+
Gatsby: Ch4 |
+
Scarlet Letter
+
+
+
+
+
$location.path() = {{main.$location.path()}}
+
$route.current.templateUrl = {{main.$route.current.templateUrl}}
+
$route.current.params = {{main.$route.current.params}}
+
$route.current.scope.name = {{main.$route.current.scope.name}}
+
$routeParams = {{main.$routeParams}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngView-directive/manifest.json b/1.2.19/docs/examples/example-ngView-directive/manifest.json
new file mode 100644
index 0000000000..5ebc47d05d
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngView-directive/manifest.json
@@ -0,0 +1,11 @@
+{
+ "name": "example-ngView-directive",
+ "files": [
+ "index-production.html",
+ "book.html",
+ "chapter.html",
+ "animations.css",
+ "script.js",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngView-directive/protractor.js b/1.2.19/docs/examples/example-ngView-directive/protractor.js
new file mode 100644
index 0000000000..76425d75cd
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngView-directive/protractor.js
@@ -0,0 +1,13 @@
+ it('should load and compile correct template', function() {
+ element(by.linkText('Moby: Ch1')).click();
+ var content = element(by.css('[ng-view]')).getText();
+ expect(content).toMatch(/controller\: ChapterCtrl/);
+ expect(content).toMatch(/Book Id\: Moby/);
+ expect(content).toMatch(/Chapter Id\: 1/);
+
+ element(by.partialLinkText('Scarlet')).click();
+
+ content = element(by.css('[ng-view]')).getText();
+ expect(content).toMatch(/controller\: BookCtrl/);
+ expect(content).toMatch(/Book Id\: Scarlet/);
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-ngView-directive/script.js b/1.2.19/docs/examples/example-ngView-directive/script.js
new file mode 100644
index 0000000000..79c2224a70
--- /dev/null
+++ b/1.2.19/docs/examples/example-ngView-directive/script.js
@@ -0,0 +1,32 @@
+ angular.module('ngViewExample', ['ngRoute', 'ngAnimate'])
+ .config(['$routeProvider', '$locationProvider',
+ function($routeProvider, $locationProvider) {
+ $routeProvider
+ .when('/Book/:bookId', {
+ templateUrl: 'book.html',
+ controller: 'BookCtrl',
+ controllerAs: 'book'
+ })
+ .when('/Book/:bookId/ch/:chapterId', {
+ templateUrl: 'chapter.html',
+ controller: 'ChapterCtrl',
+ controllerAs: 'chapter'
+ });
+
+ // configure html5 to get links working on jsfiddle
+ $locationProvider.html5Mode(true);
+ }])
+ .controller('MainCtrl', ['$route', '$routeParams', '$location',
+ function($route, $routeParams, $location) {
+ this.$route = $route;
+ this.$location = $location;
+ this.$routeParams = $routeParams;
+ }])
+ .controller('BookCtrl', ['$routeParams', function($routeParams) {
+ this.name = "BookCtrl";
+ this.params = $routeParams;
+ }])
+ .controller('ChapterCtrl', ['$routeParams', function($routeParams) {
+ this.name = "ChapterCtrl";
+ this.params = $routeParams;
+ }]);
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-number-input-directive/index-debug.html b/1.2.19/docs/examples/example-number-input-directive/index-debug.html
new file mode 100644
index 0000000000..5b1237b8b4
--- /dev/null
+++ b/1.2.19/docs/examples/example-number-input-directive/index-debug.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-number-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Number:
+
+ Required!
+
+ Not valid number!
+ value = {{value}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-number-input-directive/index-jquery.html b/1.2.19/docs/examples/example-number-input-directive/index-jquery.html
new file mode 100644
index 0000000000..8d0c3c4b44
--- /dev/null
+++ b/1.2.19/docs/examples/example-number-input-directive/index-jquery.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-number-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Number:
+
+ Required!
+
+ Not valid number!
+ value = {{value}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-number-input-directive/index-production.html b/1.2.19/docs/examples/example-number-input-directive/index-production.html
new file mode 100644
index 0000000000..c542d99d5f
--- /dev/null
+++ b/1.2.19/docs/examples/example-number-input-directive/index-production.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-number-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ Number:
+
+ Required!
+
+ Not valid number!
+ value = {{value}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-number-input-directive/index.html b/1.2.19/docs/examples/example-number-input-directive/index.html
new file mode 100644
index 0000000000..acbf51e522
--- /dev/null
+++ b/1.2.19/docs/examples/example-number-input-directive/index.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-number-input-directive
+
+
+
+
+
+
+
+
+
+
+ Number:
+
+ Required!
+
+ Not valid number!
+ value = {{value}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-number-input-directive/manifest.json b/1.2.19/docs/examples/example-number-input-directive/manifest.json
new file mode 100644
index 0000000000..514d04f3b7
--- /dev/null
+++ b/1.2.19/docs/examples/example-number-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-number-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-number-input-directive/protractor.js b/1.2.19/docs/examples/example-number-input-directive/protractor.js
new file mode 100644
index 0000000000..f03b0e5549
--- /dev/null
+++ b/1.2.19/docs/examples/example-number-input-directive/protractor.js
@@ -0,0 +1,22 @@
+ var value = element(by.binding('value'));
+ var valid = element(by.binding('myForm.input.$valid'));
+ var input = element(by.model('value'));
+
+ it('should initialize to model', function() {
+ expect(value.getText()).toContain('12');
+ expect(valid.getText()).toContain('true');
+ });
+
+ it('should be invalid if empty', function() {
+ input.clear();
+ input.sendKeys('');
+ expect(value.getText()).toEqual('value =');
+ expect(valid.getText()).toContain('false');
+ });
+
+ it('should be invalid if over max', function() {
+ input.clear();
+ input.sendKeys('123');
+ expect(value.getText()).toEqual('value =');
+ expect(valid.getText()).toContain('false');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-radio-input-directive/index-debug.html b/1.2.19/docs/examples/example-radio-input-directive/index-debug.html
new file mode 100644
index 0000000000..793b79217a
--- /dev/null
+++ b/1.2.19/docs/examples/example-radio-input-directive/index-debug.html
@@ -0,0 +1,31 @@
+
+
+
+
+
Example - example-radio-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Red
+ Green
+ Blue
+ color = {{color | json}}
+
+ Note that `ng-value="specialValue"` sets radio item's value to be the value of `$scope.specialValue`.
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-radio-input-directive/index-jquery.html b/1.2.19/docs/examples/example-radio-input-directive/index-jquery.html
new file mode 100644
index 0000000000..d69a82c8f4
--- /dev/null
+++ b/1.2.19/docs/examples/example-radio-input-directive/index-jquery.html
@@ -0,0 +1,32 @@
+
+
+
+
+
Example - example-radio-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Red
+ Green
+ Blue
+ color = {{color | json}}
+
+ Note that `ng-value="specialValue"` sets radio item's value to be the value of `$scope.specialValue`.
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-radio-input-directive/index-production.html b/1.2.19/docs/examples/example-radio-input-directive/index-production.html
new file mode 100644
index 0000000000..aba46adf05
--- /dev/null
+++ b/1.2.19/docs/examples/example-radio-input-directive/index-production.html
@@ -0,0 +1,31 @@
+
+
+
+
+
Example - example-radio-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ Red
+ Green
+ Blue
+ color = {{color | json}}
+
+ Note that `ng-value="specialValue"` sets radio item's value to be the value of `$scope.specialValue`.
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-radio-input-directive/index.html b/1.2.19/docs/examples/example-radio-input-directive/index.html
new file mode 100644
index 0000000000..e7be4e86cc
--- /dev/null
+++ b/1.2.19/docs/examples/example-radio-input-directive/index.html
@@ -0,0 +1,31 @@
+
+
+
+
+
Example - example-radio-input-directive
+
+
+
+
+
+
+
+
+
+
+ Red
+ Green
+ Blue
+ color = {{color | json}}
+
+ Note that `ng-value="specialValue"` sets radio item's value to be the value of `$scope.specialValue`.
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-radio-input-directive/manifest.json b/1.2.19/docs/examples/example-radio-input-directive/manifest.json
new file mode 100644
index 0000000000..863bef42e2
--- /dev/null
+++ b/1.2.19/docs/examples/example-radio-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-radio-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-radio-input-directive/protractor.js b/1.2.19/docs/examples/example-radio-input-directive/protractor.js
new file mode 100644
index 0000000000..8ba665c237
--- /dev/null
+++ b/1.2.19/docs/examples/example-radio-input-directive/protractor.js
@@ -0,0 +1,9 @@
+ it('should change state', function() {
+ var color = element(by.binding('color'));
+
+ expect(color.getText()).toContain('blue');
+
+ element.all(by.model('color')).get(0).click();
+
+ expect(color.getText()).toContain('red');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-text-input-directive/index-debug.html b/1.2.19/docs/examples/example-text-input-directive/index-debug.html
new file mode 100644
index 0000000000..44f9b0d00b
--- /dev/null
+++ b/1.2.19/docs/examples/example-text-input-directive/index-debug.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-text-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ Single word:
+
+ Required!
+
+ Single word only!
+
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-text-input-directive/index-jquery.html b/1.2.19/docs/examples/example-text-input-directive/index-jquery.html
new file mode 100644
index 0000000000..d1e771423f
--- /dev/null
+++ b/1.2.19/docs/examples/example-text-input-directive/index-jquery.html
@@ -0,0 +1,36 @@
+
+
+
+
+
Example - example-text-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ Single word:
+
+ Required!
+
+ Single word only!
+
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-text-input-directive/index-production.html b/1.2.19/docs/examples/example-text-input-directive/index-production.html
new file mode 100644
index 0000000000..87abda4e0c
--- /dev/null
+++ b/1.2.19/docs/examples/example-text-input-directive/index-production.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-text-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ Single word:
+
+ Required!
+
+ Single word only!
+
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-text-input-directive/index.html b/1.2.19/docs/examples/example-text-input-directive/index.html
new file mode 100644
index 0000000000..7aa8e62c9e
--- /dev/null
+++ b/1.2.19/docs/examples/example-text-input-directive/index.html
@@ -0,0 +1,35 @@
+
+
+
+
+
Example - example-text-input-directive
+
+
+
+
+
+
+
+
+
+
+ Single word:
+
+ Required!
+
+ Single word only!
+
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-text-input-directive/manifest.json b/1.2.19/docs/examples/example-text-input-directive/manifest.json
new file mode 100644
index 0000000000..2612b8ac3a
--- /dev/null
+++ b/1.2.19/docs/examples/example-text-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-text-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-text-input-directive/protractor.js b/1.2.19/docs/examples/example-text-input-directive/protractor.js
new file mode 100644
index 0000000000..8e933ee6d4
--- /dev/null
+++ b/1.2.19/docs/examples/example-text-input-directive/protractor.js
@@ -0,0 +1,23 @@
+ var text = element(by.binding('text'));
+ var valid = element(by.binding('myForm.input.$valid'));
+ var input = element(by.model('text'));
+
+ it('should initialize to model', function() {
+ expect(text.getText()).toContain('guest');
+ expect(valid.getText()).toContain('true');
+ });
+
+ it('should be invalid if empty', function() {
+ input.clear();
+ input.sendKeys('');
+
+ expect(text.getText()).toEqual('text =');
+ expect(valid.getText()).toContain('false');
+ });
+
+ it('should be invalid if multi word', function() {
+ input.clear();
+ input.sendKeys('hello world');
+
+ expect(valid.getText()).toContain('false');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-url-input-directive/index-debug.html b/1.2.19/docs/examples/example-url-input-directive/index-debug.html
new file mode 100644
index 0000000000..1a182d6f2a
--- /dev/null
+++ b/1.2.19/docs/examples/example-url-input-directive/index-debug.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-url-input-directive-debug
+
+
+
+
+
+
+
+
+
+
+ URL:
+
+ Required!
+
+ Not valid url!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.url = {{!!myForm.$error.url}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-url-input-directive/index-jquery.html b/1.2.19/docs/examples/example-url-input-directive/index-jquery.html
new file mode 100644
index 0000000000..aca63c7eba
--- /dev/null
+++ b/1.2.19/docs/examples/example-url-input-directive/index-jquery.html
@@ -0,0 +1,34 @@
+
+
+
+
+
Example - example-url-input-directive-jquery
+
+
+
+
+
+
+
+
+
+
+
+ URL:
+
+ Required!
+
+ Not valid url!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.url = {{!!myForm.$error.url}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-url-input-directive/index-production.html b/1.2.19/docs/examples/example-url-input-directive/index-production.html
new file mode 100644
index 0000000000..836ddf5a76
--- /dev/null
+++ b/1.2.19/docs/examples/example-url-input-directive/index-production.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-url-input-directive-production
+
+
+
+
+
+
+
+
+
+
+ URL:
+
+ Required!
+
+ Not valid url!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.url = {{!!myForm.$error.url}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-url-input-directive/index.html b/1.2.19/docs/examples/example-url-input-directive/index.html
new file mode 100644
index 0000000000..21fb20669d
--- /dev/null
+++ b/1.2.19/docs/examples/example-url-input-directive/index.html
@@ -0,0 +1,33 @@
+
+
+
+
+
Example - example-url-input-directive
+
+
+
+
+
+
+
+
+
+
+ URL:
+
+ Required!
+
+ Not valid url!
+ text = {{text}}
+ myForm.input.$valid = {{myForm.input.$valid}}
+ myForm.input.$error = {{myForm.input.$error}}
+ myForm.$valid = {{myForm.$valid}}
+ myForm.$error.required = {{!!myForm.$error.required}}
+ myForm.$error.url = {{!!myForm.$error.url}}
+
+
+
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-url-input-directive/manifest.json b/1.2.19/docs/examples/example-url-input-directive/manifest.json
new file mode 100644
index 0000000000..a92554ac20
--- /dev/null
+++ b/1.2.19/docs/examples/example-url-input-directive/manifest.json
@@ -0,0 +1,7 @@
+{
+ "name": "example-url-input-directive",
+ "files": [
+ "index-production.html",
+ "protractor.js"
+ ]
+}
\ No newline at end of file
diff --git a/1.2.19/docs/examples/example-url-input-directive/protractor.js b/1.2.19/docs/examples/example-url-input-directive/protractor.js
new file mode 100644
index 0000000000..41ffdbe3b4
--- /dev/null
+++ b/1.2.19/docs/examples/example-url-input-directive/protractor.js
@@ -0,0 +1,23 @@
+ var text = element(by.binding('text'));
+ var valid = element(by.binding('myForm.input.$valid'));
+ var input = element(by.model('text'));
+
+ it('should initialize to model', function() {
+ expect(text.getText()).toContain('http://google.com');
+ expect(valid.getText()).toContain('true');
+ });
+
+ it('should be invalid if empty', function() {
+ input.clear();
+ input.sendKeys('');
+
+ expect(text.getText()).toEqual('text =');
+ expect(valid.getText()).toContain('false');
+ });
+
+ it('should be invalid if not url', function() {
+ input.clear();
+ input.sendKeys('box');
+
+ expect(valid.getText()).toContain('false');
+ });
\ No newline at end of file
diff --git a/1.2.19/docs/img/AngularJS-small.png b/1.2.19/docs/img/AngularJS-small.png
new file mode 100644
index 0000000000..ab5e20f883
Binary files /dev/null and b/1.2.19/docs/img/AngularJS-small.png differ
diff --git a/1.2.19/docs/img/One_Way_Data_Binding.png b/1.2.19/docs/img/One_Way_Data_Binding.png
new file mode 100644
index 0000000000..60e7e3bf32
Binary files /dev/null and b/1.2.19/docs/img/One_Way_Data_Binding.png differ
diff --git a/1.2.19/docs/img/Two_Way_Data_Binding.png b/1.2.19/docs/img/Two_Way_Data_Binding.png
new file mode 100644
index 0000000000..3a9c6d1ecc
Binary files /dev/null and b/1.2.19/docs/img/Two_Way_Data_Binding.png differ
diff --git a/1.2.19/docs/img/angular_parts.png b/1.2.19/docs/img/angular_parts.png
new file mode 100644
index 0000000000..a33a10ba7d
Binary files /dev/null and b/1.2.19/docs/img/angular_parts.png differ
diff --git a/1.2.19/docs/img/angularjs-for-header-only.svg b/1.2.19/docs/img/angularjs-for-header-only.svg
new file mode 100644
index 0000000000..68689b6bb1
--- /dev/null
+++ b/1.2.19/docs/img/angularjs-for-header-only.svg
@@ -0,0 +1,41 @@
+
+
+
+]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/1.2.19/docs/img/bullet.png b/1.2.19/docs/img/bullet.png
new file mode 100644
index 0000000000..3575a8e60f
Binary files /dev/null and b/1.2.19/docs/img/bullet.png differ
diff --git a/1.2.19/docs/img/form_data_flow.png b/1.2.19/docs/img/form_data_flow.png
new file mode 100644
index 0000000000..60e947a595
Binary files /dev/null and b/1.2.19/docs/img/form_data_flow.png differ
diff --git a/1.2.19/docs/img/glyphicons-halflings-white.png b/1.2.19/docs/img/glyphicons-halflings-white.png
new file mode 100644
index 0000000000..a20760bfde
Binary files /dev/null and b/1.2.19/docs/img/glyphicons-halflings-white.png differ
diff --git a/1.2.19/docs/img/glyphicons-halflings.png b/1.2.19/docs/img/glyphicons-halflings.png
new file mode 100644
index 0000000000..92d4445dfd
Binary files /dev/null and b/1.2.19/docs/img/glyphicons-halflings.png differ
diff --git a/1.2.19/docs/img/guide/concepts-databinding1.png b/1.2.19/docs/img/guide/concepts-databinding1.png
new file mode 100644
index 0000000000..87b7ffd0bf
Binary files /dev/null and b/1.2.19/docs/img/guide/concepts-databinding1.png differ
diff --git a/1.2.19/docs/img/guide/concepts-databinding2.png b/1.2.19/docs/img/guide/concepts-databinding2.png
new file mode 100644
index 0000000000..be8cbafe29
Binary files /dev/null and b/1.2.19/docs/img/guide/concepts-databinding2.png differ
diff --git a/1.2.19/docs/img/guide/concepts-directive.png b/1.2.19/docs/img/guide/concepts-directive.png
new file mode 100644
index 0000000000..b77d5f8ec9
Binary files /dev/null and b/1.2.19/docs/img/guide/concepts-directive.png differ
diff --git a/1.2.19/docs/img/guide/concepts-module-injector.png b/1.2.19/docs/img/guide/concepts-module-injector.png
new file mode 100644
index 0000000000..31fcf84c62
Binary files /dev/null and b/1.2.19/docs/img/guide/concepts-module-injector.png differ
diff --git a/1.2.19/docs/img/guide/concepts-module-service.png b/1.2.19/docs/img/guide/concepts-module-service.png
new file mode 100644
index 0000000000..b7580be21b
Binary files /dev/null and b/1.2.19/docs/img/guide/concepts-module-service.png differ
diff --git a/1.2.19/docs/img/guide/concepts-runtime.png b/1.2.19/docs/img/guide/concepts-runtime.png
new file mode 100644
index 0000000000..eededc2ab6
Binary files /dev/null and b/1.2.19/docs/img/guide/concepts-runtime.png differ
diff --git a/1.2.19/docs/img/guide/concepts-scope.png b/1.2.19/docs/img/guide/concepts-scope.png
new file mode 100644
index 0000000000..83ad8f8f43
Binary files /dev/null and b/1.2.19/docs/img/guide/concepts-scope.png differ
diff --git a/1.2.19/docs/img/guide/concepts-startup.png b/1.2.19/docs/img/guide/concepts-startup.png
new file mode 100644
index 0000000000..b896a2b516
Binary files /dev/null and b/1.2.19/docs/img/guide/concepts-startup.png differ
diff --git a/1.2.19/docs/img/guide/concepts-view.png b/1.2.19/docs/img/guide/concepts-view.png
new file mode 100644
index 0000000000..0222544bee
Binary files /dev/null and b/1.2.19/docs/img/guide/concepts-view.png differ
diff --git a/1.2.19/docs/img/guide/di_sequence_final.png b/1.2.19/docs/img/guide/di_sequence_final.png
new file mode 100644
index 0000000000..d4d743bdbc
Binary files /dev/null and b/1.2.19/docs/img/guide/di_sequence_final.png differ
diff --git a/1.2.19/docs/img/guide/dom_scope_final.png b/1.2.19/docs/img/guide/dom_scope_final.png
new file mode 100644
index 0000000000..c6385d12ed
Binary files /dev/null and b/1.2.19/docs/img/guide/dom_scope_final.png differ
diff --git a/1.2.19/docs/img/guide/hashbang_vs_regular_url.jpg b/1.2.19/docs/img/guide/hashbang_vs_regular_url.jpg
new file mode 100644
index 0000000000..632b4febad
Binary files /dev/null and b/1.2.19/docs/img/guide/hashbang_vs_regular_url.jpg differ
diff --git a/1.2.19/docs/img/guide/scenario_runner.png b/1.2.19/docs/img/guide/scenario_runner.png
new file mode 100644
index 0000000000..a39037a0aa
Binary files /dev/null and b/1.2.19/docs/img/guide/scenario_runner.png differ
diff --git a/1.2.19/docs/img/guide/simple_scope_final.png b/1.2.19/docs/img/guide/simple_scope_final.png
new file mode 100644
index 0000000000..99a04797a5
Binary files /dev/null and b/1.2.19/docs/img/guide/simple_scope_final.png differ
diff --git a/1.2.19/docs/img/helloworld.png b/1.2.19/docs/img/helloworld.png
new file mode 100644
index 0000000000..957ce8e98b
Binary files /dev/null and b/1.2.19/docs/img/helloworld.png differ
diff --git a/1.2.19/docs/img/helloworld_2way.png b/1.2.19/docs/img/helloworld_2way.png
new file mode 100644
index 0000000000..2c02313c1b
Binary files /dev/null and b/1.2.19/docs/img/helloworld_2way.png differ
diff --git a/1.2.19/docs/img/tutorial/catalog_screen.png b/1.2.19/docs/img/tutorial/catalog_screen.png
new file mode 100644
index 0000000000..0b1968c5fb
Binary files /dev/null and b/1.2.19/docs/img/tutorial/catalog_screen.png differ
diff --git a/1.2.19/docs/img/tutorial/tutorial_00.png b/1.2.19/docs/img/tutorial/tutorial_00.png
new file mode 100644
index 0000000000..65f3973eba
Binary files /dev/null and b/1.2.19/docs/img/tutorial/tutorial_00.png differ
diff --git a/1.2.19/docs/img/tutorial/tutorial_00_final.png b/1.2.19/docs/img/tutorial/tutorial_00_final.png
new file mode 100644
index 0000000000..838a094483
Binary files /dev/null and b/1.2.19/docs/img/tutorial/tutorial_00_final.png differ
diff --git a/1.2.19/docs/img/tutorial/tutorial_02.png b/1.2.19/docs/img/tutorial/tutorial_02.png
new file mode 100644
index 0000000000..b4c1cab16d
Binary files /dev/null and b/1.2.19/docs/img/tutorial/tutorial_02.png differ
diff --git a/1.2.19/docs/img/tutorial/tutorial_03.png b/1.2.19/docs/img/tutorial/tutorial_03.png
new file mode 100644
index 0000000000..3e432a352e
Binary files /dev/null and b/1.2.19/docs/img/tutorial/tutorial_03.png differ
diff --git a/1.2.19/docs/img/tutorial/tutorial_04.png b/1.2.19/docs/img/tutorial/tutorial_04.png
new file mode 100644
index 0000000000..3d028771dc
Binary files /dev/null and b/1.2.19/docs/img/tutorial/tutorial_04.png differ
diff --git a/1.2.19/docs/img/tutorial/tutorial_05.png b/1.2.19/docs/img/tutorial/tutorial_05.png
new file mode 100644
index 0000000000..be30217427
Binary files /dev/null and b/1.2.19/docs/img/tutorial/tutorial_05.png differ
diff --git a/1.2.19/docs/img/tutorial/tutorial_05.pptx b/1.2.19/docs/img/tutorial/tutorial_05.pptx
new file mode 100644
index 0000000000..1afe4c3df5
Binary files /dev/null and b/1.2.19/docs/img/tutorial/tutorial_05.pptx differ
diff --git a/1.2.19/docs/img/tutorial/tutorial_07_final.png b/1.2.19/docs/img/tutorial/tutorial_07_final.png
new file mode 100644
index 0000000000..3e7776c460
Binary files /dev/null and b/1.2.19/docs/img/tutorial/tutorial_07_final.png differ
diff --git a/1.2.19/docs/img/tutorial/tutorial_08-09_final.png b/1.2.19/docs/img/tutorial/tutorial_08-09_final.png
new file mode 100644
index 0000000000..02601d241b
Binary files /dev/null and b/1.2.19/docs/img/tutorial/tutorial_08-09_final.png differ
diff --git a/1.2.19/docs/img/tutorial/tutorial_10-11_final.png b/1.2.19/docs/img/tutorial/tutorial_10-11_final.png
new file mode 100644
index 0000000000..55a821ad18
Binary files /dev/null and b/1.2.19/docs/img/tutorial/tutorial_10-11_final.png differ
diff --git a/1.2.19/docs/index-debug.html b/1.2.19/docs/index-debug.html
new file mode 100644
index 0000000000..3831ccf72e
--- /dev/null
+++ b/1.2.19/docs/index-debug.html
@@ -0,0 +1,269 @@
+
+
+
+
+
+
+
+
+
AngularJS
+
+
+
+
+
+
+
diff --git a/1.2.19/docs/index-jquery.html b/1.2.19/docs/index-jquery.html
new file mode 100644
index 0000000000..91fe56361e
--- /dev/null
+++ b/1.2.19/docs/index-jquery.html
@@ -0,0 +1,270 @@
+
+
+
+
+
+
+
+
+
AngularJS
+
+
+
+
+
+
+
diff --git a/1.2.19/docs/index-production.html b/1.2.19/docs/index-production.html
new file mode 100644
index 0000000000..964d504a19
--- /dev/null
+++ b/1.2.19/docs/index-production.html
@@ -0,0 +1,269 @@
+
+
+
+
+
+
+
+
+
AngularJS
+
+
+
+
+
+
+
diff --git a/1.2.19/docs/index.html b/1.2.19/docs/index.html
new file mode 100644
index 0000000000..b27f84e0c1
--- /dev/null
+++ b/1.2.19/docs/index.html
@@ -0,0 +1,269 @@
+
+
+
+
+
+
+
+
+
AngularJS
+
+
+
+
+
+
+
diff --git a/1.2.19/docs/js/angular-bootstrap/bootstrap-prettify.js b/1.2.19/docs/js/angular-bootstrap/bootstrap-prettify.js
new file mode 100644
index 0000000000..e35b4579ef
--- /dev/null
+++ b/1.2.19/docs/js/angular-bootstrap/bootstrap-prettify.js
@@ -0,0 +1,284 @@
+'use strict';
+
+var directive = {};
+var service = { value: {} };
+
+var DEPENDENCIES = {
+ 'angular.js': 'http://code.angularjs.org/' + angular.version.full + '/angular.min.js',
+ 'angular-resource.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-resource.min.js',
+ 'angular-route.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-route.min.js',
+ 'angular-animate.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-animate.min.js',
+ 'angular-sanitize.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-sanitize.min.js',
+ 'angular-cookies.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-cookies.min.js'
+};
+
+
+function escape(text) {
+ return text.
+ replace(/\&/g, '&').
+ replace(/\/g, '>').
+ replace(/"/g, '"');
+}
+
+/**
+ * http://stackoverflow.com/questions/451486/pre-tag-loses-line-breaks-when-setting-innerhtml-in-ie
+ * http://stackoverflow.com/questions/195363/inserting-a-newline-into-a-pre-tag-ie-javascript
+ */
+function setHtmlIe8SafeWay(element, html) {
+ var newElement = angular.element('
' + html + ' ');
+
+ element.empty();
+ element.append(newElement.contents());
+ return element;
+}
+
+
+directive.jsFiddle = function(getEmbeddedTemplate, escape, script) {
+ return {
+ terminal: true,
+ link: function(scope, element, attr) {
+ var name = '',
+ stylesheet = '
\n',
+ fields = {
+ html: '',
+ css: '',
+ js: ''
+ };
+
+ angular.forEach(attr.jsFiddle.split(' '), function(file, index) {
+ var fileType = file.split('.')[1];
+
+ if (fileType == 'html') {
+ if (index == 0) {
+ fields[fileType] +=
+ '
\n' +
+ getEmbeddedTemplate(file, 2);
+ } else {
+ fields[fileType] += '\n\n\n \n' +
+ ' \n';
+ }
+ } else {
+ fields[fileType] += getEmbeddedTemplate(file) + '\n';
+ }
+ });
+
+ fields.html += '
\n';
+
+ setHtmlIe8SafeWay(element,
+ '
' +
+ hiddenField('title', 'AngularJS Example: ' + name) +
+ hiddenField('css', ' \n' +
+ stylesheet +
+ script.angular +
+ (attr.resource ? script.resource : '') +
+ '