0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-04 16:24:22 +01:00
Bootstrap/assets/js/raw-files.js

4 lines
481 KiB
JavaScript
Raw Normal View History

2013-08-19 23:16:52 +02:00
var __js = {"affix.js":"/* ========================================================================\n * Bootstrap: affix.js v3.0.0\n * http://twbs.github.com/bootstrap/javascript.html#affix\n * ========================================================================\n * Copyright 2012 Twitter, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n * ======================================================================== */\n\n\n+function ($) { \"use strict\";\n\n // AFFIX CLASS DEFINITION\n // ======================\n\n var Affix = function (element, options) {\n this.options = $.extend({}, Affix.DEFAULTS, options)\n this.$window = $(window)\n .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))\n .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))\n\n this.$element = $(element)\n this.affixed =\n this.unpin = null\n\n this.checkPosition()\n }\n\n Affix.RESET = 'affix affix-top affix-bottom'\n\n Affix.DEFAULTS = {\n offset: 0\n }\n\n Affix.prototype.checkPositionWithEventLoop = function () {\n setTimeout($.proxy(this.checkPosition, this), 1)\n }\n\n Affix.prototype.checkPosition = function () {\n if (!this.$element.is(':visible')) return\n\n var scrollHeight = $(document).height()\n var scrollTop = this.$window.scrollTop()\n var position = this.$element.offset()\n var offset = this.options.offset\n var offsetTop = offset.top\n var offsetBottom = offset.bottom\n\n if (typeof offset != 'object') offsetBottom = offsetTop = offset\n if (typeof offsetTop == 'function') offsetTop = offset.top()\n if (typeof offsetBottom == 'function') offsetBottom = offset.bottom()\n\n var affix = this.unpin != null && (scrollTop + this.unpin <= position.top) ? false :\n offsetBottom != null && (position.top + this.$element.height() >= scrollHeight - offsetBottom) ? 'bottom' :\n offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false\n\n if (this.affixed === affix) return\n if (this.unpin) this.$element.css('top', '')\n\n this.affixed = affix\n this.unpin = affix == 'bottom' ? position.top - scrollTop : null\n\n this.$element.removeClass(Affix.RESET).addClass('affix' + (affix ? '-' + affix : ''))\n\n if (affix == 'bottom') {\n this.$element.offset({ top: document.body.offsetHeight - offsetBottom - this.$element.height() })\n }\n }\n\n\n // AFFIX PLUGIN DEFINITION\n // =======================\n\n var old = $.fn.affix\n\n $.fn.affix = function (option) {\n return this.each(function () {\n var $this = $(this)\n var data = $this.data('bs.affix')\n var options = typeof option == 'object' && option\n\n if (!data) $this.data('bs.affix', (data = new Affix(this, options)))\n if (typeof option == 'string') data[option]()\n })\n }\n\n $.fn.affix.Constructor = Affix\n\n\n // AFFIX NO CONFLICT\n // =================\n\n $.fn.affix.noConflict = function () {\n $.fn.affix = old\n return this\n }\n\n\n // AFFIX DATA-API\n // ==============\n\n $(window).on('load', function () {\n $('[data-spy=\"affix\"]').each(function () {\n var $spy = $(this)\n var data = $spy.data()\n\n data.offset = data.offset || {}\n\n if (data.offsetBottom) data.offset.bottom = data.offsetBottom\n if (data.offsetTop) data.offset.top = data.offsetTop\n\n $spy.affix(data)\n })\n })\n\n}(window.jQuery);\n","alert.js":"/* =======================================
var __less = {"alerts.less":"//\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 @headingsColor\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","badges.less":"//\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\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// Quick fix for labels/badges in buttons\n.btn .badge {\n position: relative;\n top: -1px;\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","bootstrap.less":"/*!\n * Bootstrap v3.0.0\n *\n * Copyright 2013 Twitter, Inc\n * Licensed under the Apache License v2.0\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Designed and built with all the love in the world by @mdo and @fat.\n */\n\n// Core variables and mixins\n@import \"variables.less\";\n@import \"mixins.less\";\n\n// Reset\n@import \"normalize.less\";\n@import \"print.less\";\n\n// Core CSS\n@import \"scaffolding.less\";\n@import \"type.less\";\n@import \"code.less\";\n@import \"grid.less\";\n@import \"tables.less\";\n@import \"forms.less\";\n@import \"buttons.less\";\n\n// Components\n@import \"component-animations.less\";\n@import \"glyphicons.less\";\n@import \"dropdowns.less\";\n@import \"button-groups.less\";\n@import \"input-groups.less\";\n@import \"navs.less\";\n@import \"navbar.less\";\n@import \"breadcrumbs.less\";\n@import \"pagination.less\";\n@import \"pager.less\";\n@import \"labels.less\";\n@import \"badges.less\";\n@import \"jumbotron.less\";\n@import \"thumbnails.less\";\n@import \"alerts.less\";\n@import \"progress-bars.less\";\n@import \"media.less\";\n@import \"list-group.less\";\n@import \"panels.less\";\n@import \"wells.less\";\n@import \"close.less\";\n\n// Components w/ JavaScript\n@import \"modals.less\";\n@import \"tooltip.less\";\n@import \"popovers.less\";\n@import \"carousel.less\";\n\n// Utility classes\n@import \"utilities.less\";\n@import \"responsive-utilities.less\";\n","breadcrumbs.less":"//\n// Breadcrumbs\n//
var __fonts = {"glyphicons-halflings-regular.eot":"<22>6\u0000\u0000<30>5\u0000\u0000\u0002\u0000\u0002\u0000\u0004\u0000\u0000\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0000<30>\u0001\u0000\u0000\u0004\u0000LP\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000<30><30>\u0018\u0002\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000(\u0000G\u0000L\u0000Y\u0000P\u0000H\u0000I\u0000C\u0000O\u0000N\u0000S\u0000 \u0000H\u0000a\u0000l\u0000f\u0000l\u0000i\u0000n\u0000g\u0000s\u0000\u0000\u0000\u000e\u0000R\u0000e\u0000g\u0000u\u0000l\u0000a\u0000r\u0000\u0000\u0000x\u0000V\u0000e\u0000r\u0000s\u0000i\u0000o\u0000n\u0000 \u00001\u0000.\u00000\u00000\u00001\u0000;\u0000P\u0000S\u0000 \u00000\u00000\u00001\u0000.\u00000\u00000\u00001\u0000;\u0000h\u0000o\u0000t\u0000c\u0000o\u0000n\u0000v\u0000 \u00001\u0000.\u00000\u0000.\u00007\u00000\u0000;\u0000m\u0000a\u0000k\u0000e\u0000o\u0000t\u0000f\u0000.\u0000l\u0000i\u0000b\u00002\u0000.\u00005\u0000.\u00005\u00008\u00003\u00002\u00009\u0000\u0000\u00008\u0000G\u0000L\u0000Y\u0000P\u0000H\u0000I\u0000C\u0000O\u0000N\u0000S\u0000 \u0000H\u0000a\u0000l\u0000f\u0000l\u0000i\u0000n\u0000g\u0000s\u0000 \u0000R\u0000e\u0000g\u0000u\u0000l\u0000a\u0000r\u0000\u0000\u0000\u0000\u0000BSGP\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0003\u0000w<30>\u00005s\u00005y\u0000-<2D>\u0012<31><32><EFBFBD><EFBFBD><EFBFBD>\u0011՟(tۊK<DB8A><4B>\u0010D<30><44>'P\u000b<30>M<EFBFBD>\n<>\u0000B<30>j\u001e<31><65><EFBFBD>beJ2cc<63><63>LF\u001e1+<2B>WEeuJ\u0019<31><39>e<EFBFBD>~m<><6D>%<25><><EFBFBD>W<EFBFBD><57>*<2A>IzI\u0017€<37>\u0004sL<73><4C>\tx\n\n<><6E>4<EFBFBD>xїPS<50><53>-Uu<55>T\f<><66><EFBFBD>E<EFBFBD><45>F<EFBFBD>\u0003\u0003<30><33>?ͬ\tԯ<74>4<EFBFBD>\rʨg<CAA8><67>\u001cq <20>e<EFBFBD>$<24>{<7B><>-+<2B>\u0012\u00021u\u0001<30>\u0006<30><36><EFBFBD>{<7B><><EFBFBD>S<EFBFBD><53>\"!E<>B&/\r<><72><EFBFBD>L<EFBFBD><4C>\u0002<30>E<EFBFBD>\u0005<30>K<EFBFBD>\u0015<31>7f<37><66>Ү<EFBFBD>|<7C>'<27>=<3D><><EFBFBD><EFBFBD>j<EFBFBD><6A>p<EFBFBD><70>E<EFBFBD>A_B<5F>@<40><>*<2A>\u001d?~<7E><><EFBFBD>\r<>\u00169<36>&\u0005<30>I<EFBFBD><49><EFBFBD>v<EFBFBD><76><EFBFBD>@\u0017e<37><65>r<EFBFBD><72>\u0001<30>>Mo<<3C>LX<4C><58><EFBFBD>\u0004<30>%<25><><EFBFBD>a>˒ <20>\u0002<30>jp\u001d?P<>;<3B>_<EFBFBD><5F>\b<><62><69> <<3C><>}LbX<62>Ue1\u0012<31>L\u0011\f\t<>!<21>;<3B><><EFBFBD>\f\f<>\u0006<30>\tD\u000b<30>^%<25> <20>\tPP<50><50>\u0015A<35>@<40><>\u0002<30>5\u000e<30><65><EFBFBD><EFBFBD>K\u000ea<65>lӴğ<D3B4>a!\u0010<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD>|Zh<5A>\u0010<31><30>FFI<46>0<EFBFBD>E<EFBFBD>F\"đ<><C491><EFBFBD><EFBFBD><EFBFBD><EFBFBD>'Mո<4D>\u00069\u0004<30>@<40>)<29>\f1A<31><41><EFBFBD><EFBFBD><EFBFBD>ȶ<EFBFBD><C8B6><EFBFBD>р<EFBFBD><D180><EFBFBD><\u0001<30>\f<>\u001e\u0015<31><35>,<2C>@<40><>A<EFBFBD>\tpA<70><41>Cϲ<43>\\<5C>.<2E>\u0000\u0010mȤ<6D>Ix<49><78><EFBFBD>\u0006<30><36>sS\n\b\"<22>r<EFBFBD>r}<7D>n\u0019N<39><4E><EFBFBD><EFBFBD><EFBFBD>~lQ<6C><51>o<EFBFBD>`><3E>t<EFBFBD><74>\u0016<31><36>鰅\u0006<30><36>׶<EFBFBD><D7B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\u00125<32><35><EFBFBD><EFBFBD>\fX`\n­\u0001g\u00129K<39><4B>\u0003<30> <20>g\u0002<30>\u0005]<5D>s <20>z\u0005T0%j<><6A>kT<6B><54><EFBFBD>g̙0\"<22>\u0004Y\u001cVg<56><67>\u0013@\u000e<30><65>)<29><>\u0001>aF\bc\u0000!t\u0000z<30>\u0000<30><30>\u0014<31>=\u0006V<36><56>k<EFBFBD><6B><EFBFBD>@op^v<>?<3F>J<EFBFBD><4A>=f<><66><EFBFBD>0[7<><37>@<40><>}<7D>t\u0001<30><31>\\<5C><>\u0015<31><35>}<7D><>\u001cv\\|f\u0019\u000f{<7B>y<EFBFBD>?=\u001f<31>1\"f<><66><EFBFBD><EFBFBD>\u000fx<66><78><EFBFBD>Hxx<78>i<EFBFBD>\u000f8<66>k<EFBFBD>PY<50>8<EFBFBD><38>\u0007~Ú<><C39A>\u001d<31>\u000e<30>7@<40>(:3v<33>𰬨X<F0B0ACA8>X+(\u000b\u0017<31>\u0002<30><32><EFBFBD><EFBFBD><EFBFBD>F\u000bj\u001a<31>\u0016<31>19<31>\b<>\u0013<31>'(m<>}<7D><>\f<>\u000f<30>e\u000e<30>\u000b<30><62>C<EFBFBD><43>Œ<EFBFBD>=<3D><>\u0004&<26>\f<>\u0014<31>e\ny\u0006\u0019<31><39>E\u0006<30><36>B\u0000<30>(<28>2<EFBFBD><32><EFBFBD>E?\u0001xv5<76>ki{P\"<22>I<EFBFBD>G<EFBFBD>kXLP<4C>ŀE<C580>>G<><47>[<5B>|q!<21>c<EFBFBD>+o0<6F>\na<6E>\u0004<30>~<7E>\\<5C><>\u0019;<3B><>!\u0011<31>!<21>+<2B>\u001d<31>uX1<58>H<EFBFBD>\"<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\b<EFBFBD>U94%<EFBFBD><EFBFBD>`<EFBFBD><EFBFBD><EFBFBD><EFBFBD>)<29><>y<EFBFBD>\u001f\u00061<EFBFBD>*<2A><><EFBFBD><EFBFBD>/\u0018<EFBFBD><EFBFBD>:>\\g<EFBFBD>@<40><H<><48>HܶW<DCB6><57>~}<7D><><EFBFBD><EFBFBD><EFBFBD>:<3A>\u0015<EFBFBD>h\u000bf\u001b<EFBFBD><EFBFBD><EFBFBD>lZ<EFBFBD>4<EFBFBD>Y<EFBFBD><EFBFBD>\u000b<EFBFBD>Ζ<EFBFBD><EFBFBD>?\u001czU<EFBFBD><EFBFBD>\u0002<EFBFBD><EFBFBD><EFBFBD>AUq:<3A>>x<><78><EFBFBD><EFBFBD><EFBFBD>Z<EFBFBD><5A>.]<5D>\u0006<EFBFBD>A<EFBFBD><EFBFBD>\u0004<EFBFBD><EFBFBD>ҁ<EFBFBD>K<EFBFBD><EFBFBD>/\n<EFBFBD>{[\u00178<EFBFBD>]<5D>b<EFBFBD>.q~<7E><><EFBFBD>2<EFBFBD>D<EFBFBD>oR<6F>zK<7A><4B>oGl<47><6C><EFBFBD>{E<><45>\u00