diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 6686c4c..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -build/fullcalendar -build/fullcalendar-* -dist diff --git a/GPL-LICENSE.txt b/GPL-LICENSE.txt deleted file mode 100644 index 11dddd0..0000000 --- a/GPL-LICENSE.txt +++ /dev/null @@ -1,278 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. diff --git a/MIT-LICENSE.txt b/MIT-LICENSE.txt deleted file mode 100644 index 46d4754..0000000 --- a/MIT-LICENSE.txt +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2009 Adam Shaw - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Makefile b/Makefile deleted file mode 100644 index 563348b..0000000 --- a/Makefile +++ /dev/null @@ -1,142 +0,0 @@ - -SRC_DIR = src -BUILD_DIR = build -DIST_DIR = dist -DEMOS_DIR = demos -OTHER_FILES = \ - changelog.txt \ - MIT-LICENSE.txt \ - GPL-LICENSE.txt - -VER = $(shell cat version.txt) -VER_SED = sed s/@VERSION/"$(VER)"/ -DATE = $(shell git log -1 --pretty=format:%ad) -DATE_SED = sed s/@DATE/"$(DATE)"/ - -JQ = $(shell sed -ne "s/.*JQUERY[ \t]*=[ \t]*[\"']\(.*\)[\"'].*/\1/p" "$(SRC_DIR)/_loader.js") -JQUI = $(shell sed -ne "s/.*JQUERY_UI[ \t]*=[ \t]*[\"']\(.*\)[\"'].*/\1/p" "$(SRC_DIR)/_loader.js") - -DEMO_FILES = $(shell cd $(DEMOS_DIR); find . -mindepth 1 -maxdepth 1 -type f) -DEMO_SUBDIRS = $(shell cd $(DEMOS_DIR); find . -mindepth 1 -maxdepth 1 -type d) -DEMO_RE = (]*_loader\.js[^>]*><\/script>|)[^<]* -DEMO_SED = sed -ne '1h;1!H;$${;g;s/$(DEMO_RE)//g;p;}' - -JS_SED = sed -ne "s/[ \t]*js([\"']\(.*\)[\"']).*/\1/p" -CSS_SED = sed -ne "s/[ \t]*css([\"']\(.*\)[\"']).*/\1/p" - -concat_js = \ - files=$$($(JS_SED) "$(1)/_loader.js"); \ - if [ -f "$(1)/intro.js" ]; then \ - files="intro.js $$files"; \ - fi; \ - if [ -f "$(1)/outro.js" ]; then \ - files="$$files outro.js"; \ - fi; \ - old=$$PWD; \ - if ! [ X = "X$$files" ]; then \ - (cd "$(1)"; cat $$files; cd "$$old") \ - | $(VER_SED) \ - | $(DATE_SED) \ - > "$(2)" ; \ - fi - -concat_css = \ - files=$$($(CSS_SED) "$(1)/_loader.js"); \ - if ! [ X = "X$$files" ]; then \ - old=$$PWD; \ - (cd "$(1)"; cat $$files; cd "$$old") \ - | ${VER_SED} \ - | ${DATE_SED} \ - > "$(2)"; \ - fi - -FC_V_DIR = $(BUILD_DIR)/fullcalendar-$(VER) -FC_DIR = $(FC_V_DIR)/fullcalendar -FCJS = $(FC_DIR)/fullcalendar.js -FCCSS = $(FC_DIR)/fullcalendar.css -FCPCSS = $(FC_DIR)/fullcalendar.print.css -FCMJS = $(FC_DIR)/fullcalendar.min.js -JQ_DIR = $(FC_V_DIR)/jquery -DEMOS_DIR = $(FC_V_DIR)/demos -FC_ZIP = $(FC_V_DIR).zip -DIST = $(DIST_DIR)/$(shell basename $(FC_ZIP)) - -.PHONY: all distribute dist -all: distribute -distribute: core plugins jquery demos others - -.PHONY: clean -clean: Makefile - rm -rf $(FC_ZIP) - rm -rf $(FC_V_DIR) - rm -rf $(DIST_DIR) - -$(FC_V_DIR): Makefile - mkdir -p $@ - -$(FC_DIR): - mkdir -p $@ - -$(DEMOS_DIR): - mkdir -p $@ - -$(JQ_DIR): - mkdir -p $@ - -$(DIST_DIR): - mkdir -p $@ - -$(FCJS): $(FC_DIR) - $(call concat_js,$(SRC_DIR),$@) - -$(FCCSS): $(FC_DIR) - $(call concat_css,$(SRC_DIR),$@) - -$(FCPCSS): $(SRC_DIR)/common/print.css $(FC_DIR) - $(VER_SED) $< | $(DATE_SED) > $@ - -.PHONY: core -core: $(FCJS) $(FCCSS) $(FCPCSS) - -$(FCMJS): $(FCJS) - java -jar $(BUILD_DIR)/compiler.jar --warning_level VERBOSE --jscomp_off checkTypes --externs build/externs.js --js $< > $@ - -.PHONY: plugins -plugins: $(FCMJS) core - for loader in $(SRC_DIR)/*/_loader.js; do \ - dir=`dirname $$loader`; \ - name=`basename $$dir`; \ - $(call concat_js,$$dir,$(FC_DIR)/$$name.js); \ - done - -$(JQ_DIR)/$(JQ): lib/$(JQ) $(JQ_DIR) - cp $< $@ - -$(JQ_DIR)/$(JQUI): lib/$(JQUI) $(JQ_DIR) - cp $< $@ - -.PHONY: jquery -jquery: $(JQ_DIR)/$(JQ) $(JQ_DIR)/$(JQUI) - -.PHONY: demos -demos: $(FC_DIR) $(DEMOS_DIR) - for f in $(DEMO_FILES); do \ - cat $(DEMOS_DIR)/$$f \ - | $(DEMO_SED) \ - | sed "s/jquery\.js/${JQ}/" \ - | sed "s/jquery-ui\.js/${JQUI}/" \ - > $(DEMOS_DIR)/$$f; \ - done - for d in $(DEMO_SUBDIRS); do \ - cp -r $(DEMOS_DIR)/$$d $(DEMOS_DIR)/$$d; \ - done - -.PHONY: others -others: $(FC_DIR) - cp -r $(OTHER_FILES) $(FC_DIR) - -$(FC_ZIP): $(FC_V_DIR) distribute - zip -q -r $@ $< - -$(DIST): $(FC_ZIP) $(DIST_DIR) - mv $@ $< diff --git a/README.mkd b/README.mkd deleted file mode 100644 index 4cf7ba7..0000000 --- a/README.mkd +++ /dev/null @@ -1,65 +0,0 @@ - -FullCalendar - Full-sized drag & drop event calendar -==================================================== - -Development and testing ------------------------ - -Modify files in the `src/` directory and test your changes by viewing any of the HTML files -in the `tests/` directory. Each test file exercises a particular aspect of FullCalendar, -so you might want to create your own test file if you are developing a substantial new feature. - -Building from source --------------------- - -You must have a Java runtime environment (accessible by the `java` command) for minification. -Then, run `make zip` and check the `dist/` directory for your newly created ZIP archive. -To start fresh, run the `make clean` command. - -Getting started ---------------- - -Assuming you have downloaded a release, or built your own, you can get started by including the -following dependencies in the <HEAD> of your HTML file: - - - - - -If you plan to use the drag/drop/resize functionality, you must include jQuery UI draggable and resizable. -You can [download a custom build](http://jqueryui.com/download) or use the bundled files, like so: - - - - - -Somewhere in your javascript you need to initialize a FullCalendar within a pre-existing element. -Here is an example of doing it within an element having an `id` of `calendar`: - - $(document).ready(function() { - - $('#calendar').fullCalendar({ - // your options here - }); - - }); - -To see a full list of all available options, please consult the [FullCalendar documentation »](http://arshaw.com/fullcalendar/docs/) - -I18n ----- -To localize fullCalendar You can use i18n for jquery datepicker. - - $.fullCalendar.applyLocale($.datepicker.regional['ru']); - -Other texts could be modified via method setDefaults: - - $.fullCalendar.setDefaults({ - buttonText: { - month: 'month', - week: 'week', - day: 'day' - } - }); - -See all available locales here: [I18n](https://github.com/sergio-fry/fullcalendar/wiki/I18n) diff --git a/agenda/allDaySlot.txt b/agenda/allDaySlot.txt new file mode 100644 index 0000000..2c29657 --- /dev/null +++ b/agenda/allDaySlot.txt @@ -0,0 +1,11 @@ + +allDaySlot *1.4* +================ + +Determines if the "all-day" slot is displayed at the top of the calendar. + +
+Boolean, *default*: `true` +
+ +When hidden with `false`, all-day events will not be displayed in agenda views. diff --git a/agenda/allDayText.txt b/agenda/allDayText.txt new file mode 100644 index 0000000..13f3595 --- /dev/null +++ b/agenda/allDayText.txt @@ -0,0 +1,9 @@ + +allDayText *1.4* +================ + +The text titling the "all-day" slot at the top of the calendar. + +
+String, *default*: `'all-day'` +
diff --git a/agenda/axisFormat.txt b/agenda/axisFormat.txt new file mode 100644 index 0000000..9b42444 --- /dev/null +++ b/agenda/axisFormat.txt @@ -0,0 +1,13 @@ + +axisFormat *1.4* +================ + +Determines the time-text that will be displayed on the vertical axis of the agenda views. + +
+String, *default*: `'h(:mm)tt'` +
+ +The value is a format-string that will be processed by [formatDate](../utilities/formatDate). + +The default value will produce times that look like "5pm" and "5:30pm". diff --git a/agenda/defaultEventMinutes.txt b/agenda/defaultEventMinutes.txt new file mode 100644 index 0000000..9b64485 --- /dev/null +++ b/agenda/defaultEventMinutes.txt @@ -0,0 +1,13 @@ + +defaultEventMinutes *1.4* +========================= + +Determines the length (in minutes) an event appears to be when it has an unspecified end date. + +
+Integer, *default*: `120` +
+ +By default, if an [Event Object](../event_data/Event_Object) as no `end`, it will appear to be 2 hours. + +This option only affects events that appear in the agenda slots, meaning they have `allDay` set to `true`. diff --git a/agenda/firstHour.txt b/agenda/firstHour.txt new file mode 100644 index 0000000..db53c5d --- /dev/null +++ b/agenda/firstHour.txt @@ -0,0 +1,14 @@ + +firstHour *1.4* +=============== + +Determines the first hour that will be visible in the scroll pane. + +
+Integer, *default*: `6` +
+ +Values must be from 0-23, where 0=midnight, 1=1am, etc. + +The user will be able to scroll upwards to see events before this time. +If you want to prevent users from doing this, use the [minTime]() option instead. diff --git a/agenda/index.txt b/agenda/index.txt new file mode 100644 index 0000000..09448b3 --- /dev/null +++ b/agenda/index.txt @@ -0,0 +1,14 @@ + +Agenda Options +============== + +The following options only apply to the `agendaWeek` and `agendaDay` views: + +- allDaySlot +- allDayText +- axisFormat +- slotMinutes +- defaultEventMinutes +- firstHour +- minTime +- maxTime diff --git a/agenda/maxTime.txt b/agenda/maxTime.txt new file mode 100644 index 0000000..c6c722c --- /dev/null +++ b/agenda/maxTime.txt @@ -0,0 +1,11 @@ + +maxTime *1.4.2* +=============== + +Determines the last hour/time (exclusively) that will be displayed, even when the scrollbars have been scrolled all the way down. + +
+Integer/String, *default*: `24` +
+ +This can be a number like `22` (which means 10pm), a string like `'22:30'` (which means 10:30pm) or a string like `'10:30pm'`. diff --git a/agenda/minTime.txt b/agenda/minTime.txt new file mode 100644 index 0000000..9fb85d6 --- /dev/null +++ b/agenda/minTime.txt @@ -0,0 +1,11 @@ + +minTime *1.4.2* +=============== + +Determines the first hour/time that will be displayed, even when the scrollbars have been scrolled all the way up. + +
+Integer/String, *default*: `0` +
+ +This can be a number like `5` (which means 5am), a string like `'5:30'` (which means 5:30am) or a string like `'5:30am'`. diff --git a/agenda/slotMinutes.txt b/agenda/slotMinutes.txt new file mode 100644 index 0000000..e666919 --- /dev/null +++ b/agenda/slotMinutes.txt @@ -0,0 +1,11 @@ + +slotMinutes *1.4* +================= + +The frequency for displaying time slots, in minutes. + +
+Integer, *default*: `30` +
+ +The default will make a slot every half hour. diff --git a/build/compiler.jar b/build/compiler.jar deleted file mode 100644 index 7374f2d..0000000 Binary files a/build/compiler.jar and /dev/null differ diff --git a/build/externs.js b/build/externs.js deleted file mode 100644 index 30f6635..0000000 --- a/build/externs.js +++ /dev/null @@ -1 +0,0 @@ -var jQuery; diff --git a/changelog.txt b/changelog.txt deleted file mode 100644 index 6ea0aaa..0000000 --- a/changelog.txt +++ /dev/null @@ -1,314 +0,0 @@ - -version 1.5.2 (8/21/11) - - correctly process UTC "Z" ISO8601 date strings (issue 750) - -version 1.5.1 (4/9/11) - - more flexible ISO8601 date parsing (issue 814) - - more flexible parsing of UNIX timestamps (issue 826) - - FullCalendar now buildable from source on a Mac (issue 795) - - FullCalendar QA'd in FF4 (issue 883) - - upgraded to jQuery 1.5.2 (which supports IE9) and jQuery UI 1.8.11 - -version 1.5 (3/19/11) - - slicker default styling for buttons - - reworked a lot of the calendar's HTML and accompanying CSS - (solves issues 327 and 395) - - more printer-friendly (fullcalendar-print.css) - - fullcalendar now inherits styles from jquery-ui themes differently. - styles for buttons are distinct from styles for calendar cells. - (solves issue 299) - - can now color events through FullCalendar options and Event-Object properties (issue 117) - THIS IS NOW THE PREFERRED METHOD OF COLORING EVENTS (as opposed to using className and CSS) - - FullCalendar options: - - eventColor (changes both background and border) - - eventBackgroundColor - - eventBorderColor - - eventTextColor - - Event-Object options: - - color (changes both background and border) - - backgroundColor - - borderColor - - textColor - - can now specify an event source as an *object* with a `url` property (json feed) or - an `events` property (function or array) with additional properties that will - be applied to the entire event source: - - color (changes both background and border) - - backgroundColor - - borderColor - - textColor - - className - - editable - - allDayDefault - - ignoreTimezone - - startParam (for a feed) - - endParam (for a feed) - - ANY OF THE JQUERY $.ajax OPTIONS - allows for easily changing from GET to POST and sending additional parameters (issue 386) - allows for easily attaching ajax handlers such as `error` (issue 754) - allows for turning caching on (issue 355) - - Google Calendar feeds are now specified differently: - - specify a simple string of your feed's URL - - specify an *object* with a `url` property of your feed's URL. - you can include any of the new Event-Source options in this object. - - the old `$.fullCalendar.gcalFeed` method still works - - no more IE7 SSL popup (issue 504) - - remove `cacheParam` - use json event source `cache` option instead - - latest jquery/jquery-ui - -version 1.4.11 (2/22/11) - - fixed rerenderEvents bug (issue 790) - - fixed bug with faulty dragging of events from all-day slot in agenda views - - bundled with jquery 1.5 and jquery-ui 1.8.9 - -version 1.4.10 (1/2/11) - - fixed bug with resizing event to different week in 5-day month view (issue 740) - - fixed bug with events not sticking after a removeEvents call (issue 757) - - fixed bug with underlying parseTime method, and other uses of parseInt (issue 688) - -version 1.4.9 (11/16/10) - - new algorithm for vertically stacking events (issue 111) - - resizing an event to a different week (issue 306) - - bug: some events not rendered with consecutive calls to addEventSource (issue 679) - -version 1.4.8 (10/16/10) - - ignoreTimezone option (set to `false` to process UTC offsets in ISO8601 dates) - - bugfixes - - event refetching not being called under certain conditions (issues 417, 554) - - event refetching being called multiple times under certain conditions (issues 586, 616) - - selection cannot be triggered by right mouse button (issue 558) - - agenda view left axis sized incorrectly (issue 465) - - IE js error when calendar is too narrow (issue 517) - - agenda view looks strange when no scrollbars (issue 235) - - improved parsing of ISO8601 dates with UTC offsets - - $.fullCalendar.version - - an internal refactor of the code, for easier future development and modularity - -version 1.4.7 (7/5/10) - - "dropping" external objects onto the calendar - - droppable (boolean, to turn on/off) - - dropAccept (to filter which events the calendar will accept) - - drop (trigger) - - selectable options can now be specified with a View Option Hash - - bugfixes - - dragged & reverted events having wrong time text (issue 406) - - bug rendering events that have an endtime with seconds, but no hours/minutes (issue 477) - - gotoDate date overflow bug (issue 429) - - wrong date reported when clicking on edge of last column in agenda views (412) - - support newlines in event titles - - select/unselect callbacks now passes native js event - -version 1.4.6 (5/31/10) - - "selecting" days or timeslots - - options: selectable, selectHelper, unselectAuto, unselectCancel - - callbacks: select, unselect - - methods: select, unselect - - when dragging an event, the highlighting reflects the duration of the event - - code compressing by Google Closure Compiler - - bundled with jQuery 1.4.2 and jQuery UI 1.8.1 - -version 1.4.5 (2/21/10) - - lazyFetching option, which can force the calendar to fetch events on every view/date change - - scroll state of agenda views are preserved when switching back to view - - bugfixes - - calling methods on an uninitialized fullcalendar throws error - - IE6/7 bug where an entire view becomes invisible (issue 320) - - error when rendering a hidden calendar (in jquery ui tabs for example) in IE (issue 340) - - interconnected bugs related to calendar resizing and scrollbars - - when switching views or clicking prev/next, calendar would "blink" (issue 333) - - liquid-width calendar's events shifted (depending on initial height of browser) (issue 341) - - more robust underlying algorithm for calendar resizing - -version 1.4.4 (2/3/10) - - optimized event rendering in all views (events render in 1/10 the time) - - gotoDate() does not force the calendar to unnecessarily rerender - - render() method now correctly readjusts height - -version 1.4.3 (12/22/09) - - added destroy method - - Google Calendar event pages respect currentTimezone - - caching now handled by jQuery's ajax - - protection from setting aspectRatio to zero - - bugfixes - - parseISO8601 and DST caused certain events to display day before - - button positioning problem in IE6 - - ajax event source removed after recently being added, events still displayed - - event not displayed when end is an empty string - - dynamically setting calendar height when no events have been fetched, throws error - -version 1.4.2 (12/02/09) - - eventAfterRender trigger - - getDate & getView methods - - height & contentHeight options (explicitly sets the pixel height) - - minTime & maxTime options (restricts shown hours in agenda view) - - getters [for all options] and setters [for height, contentHeight, and aspectRatio ONLY! stay tuned..] - - render method now readjusts calendar's size - - bugfixes - - lightbox scripts that use iframes (like fancybox) - - day-of-week classNames were off when firstDay=1 - - guaranteed space on right side of agenda events (even when stacked) - - accepts ISO8601 dates with a space (instead of 'T') - -version 1.4.1 (10/31/09) - - can exclude weekends with new 'weekends' option - - gcal feed 'currentTimezone' option - - bugfixes - - year/month/date option sometimes wouldn't set correctly (depending on current date) - - daylight savings issue caused agenda views to start at 1am (for BST users) - - cleanup of gcal.js code - -version 1.4 (10/19/09) - - agendaWeek and agendaDay views - - added some options for agenda views: - - allDaySlot - - allDayText - - firstHour - - slotMinutes - - defaultEventMinutes - - axisFormat - - modified some existing options/triggers to work with agenda views: - - dragOpacity and timeFormat can now accept a "View Hash" (a new concept) - - dayClick now has an allDay parameter - - eventDrop now has an an allDay parameter - (this will affect those who use revertFunc, adjust parameter list) - - added 'prevYear' and 'nextYear' for buttons in header - - minor change for theme users, ui-state-hover not applied to active/inactive buttons - - added event-color-changing example in docs - - better defaults for right-to-left themed button icons - -version 1.3.2 (10/13/09) - - Bugfixes (please upgrade from 1.3.1!) - - squashed potential infinite loop when addMonths and addDays - is called with an invalid date - - $.fullCalendar.parseDate() now correctly parses IETF format - - when switching views, the 'today' button sticks inactive, fixed - - gotoDate now can accept a single Date argument - - documentation for changes in 1.3.1 and 1.3.2 now on website - -version 1.3.1 (9/30/09) - - Important Bugfixes (please upgrade from 1.3!) - - When current date was late in the month, for long months, and prev/next buttons - were clicked in month-view, some months would be skipped/repeated - - In certain time zones, daylight savings time would cause certain days - to be misnumbered in month-view - - Subtle change in way week interval is chosen when switching from month to basicWeek/basicDay view - - Added 'allDayDefault' option - - Added 'changeView' and 'render' methods - -version 1.3 (9/21/09) - - different 'views': month/basicWeek/basicDay - - more flexible 'header' system for buttons - - themable by jQuery UI themes - - resizable events (require jQuery UI resizable plugin) - - rescoped & rewritten CSS, enhanced default look - - cleaner css & rendering techniques for right-to-left - - reworked options & API to support multiple views / be consistent with jQuery UI - - refactoring of entire codebase - - broken into different JS & CSS files, assembled w/ build scripts - - new test suite for new features, uses firebug-lite - - refactored docs - - Options - + date - + defaultView - + aspectRatio - + disableResizing - + monthNames (use instead of $.fullCalendar.monthNames) - + monthNamesShort (use instead of $.fullCalendar.monthAbbrevs) - + dayNames (use instead of $.fullCalendar.dayNames) - + dayNamesShort (use instead of $.fullCalendar.dayAbbrevs) - + theme - + buttonText - + buttonIcons - x draggable -> editable/disableDragging - x fixedWeeks -> weekMode - x abbrevDayHeadings -> columnFormat - x buttons/title -> header - x eventDragOpacity -> dragOpacity - x eventRevertDuration -> dragRevertDuration - x weekStart -> firstDay - x rightToLeft -> isRTL - x showTime (use 'allDay' CalEvent property instead) - - Triggered Actions - + eventResizeStart - + eventResizeStop - + eventResize - x monthDisplay -> viewDisplay - x resize -> windowResize - 'eventDrop' params changed, can revert if ajax cuts out - - CalEvent Properties - x showTime -> allDay - x draggable -> editable - 'end' is now INCLUSIVE when allDay=true - 'url' now produces a real tag, more native clicking/tab behavior - - Methods: - + renderEvent - x prevMonth -> prev - x nextMonth -> next - x prevYear/nextYear -> moveDate - x refresh -> rerenderEvents/refetchEvents - x removeEvent -> removeEvents - x getEventsByID -> clientEvents - - Utilities: - 'formatDate' format string completely changed (inspired by jQuery UI datepicker + datejs) - 'formatDates' added to support date-ranges - - Google Calendar Options: - x draggable -> editable - - Bugfixes - - gcal extension fetched 25 results max, now fetches all - -version 1.2.1 (6/29/09) - - bugfixes - - allows and corrects invalid end dates for events - - doesn't throw an error in IE while rendering when display:none - - fixed 'loading' callback when used w/ multiple addEventSource calls - - gcal className can now be an array - -version 1.2 (5/31/09) - - expanded API - - 'className' CalEvent attribute - - 'source' CalEvent attribute - - dynamically get/add/remove/update events of current month - - locale improvements: change month/day name text - - better date formatting ($.fullCalendar.formatDate) - - multiple 'event sources' allowed - - dynamically add/remove event sources - - options for prevYear and nextYear buttons - - docs have been reworked (include addition of Google Calendar docs) - - changed behavior of parseDate for number strings - (now interpets as unix timestamp, not MS times) - - bugfixes - - rightToLeft month start bug - - off-by-one errors with month formatting commands - - events from previous months sticking when clicking prev/next quickly - - Google Calendar API changed to work w/ multiple event sources - - can also provide 'className' and 'draggable' options - - date utilties moved from $ to $.fullCalendar - - more documentation in source code - - minified version of fullcalendar.js - - test suit (available from svn) - - top buttons now use -
- - diff --git a/tests/issue_429_gotoDate.html b/tests/issue_429_gotoDate.html deleted file mode 100644 index 6db2927..0000000 --- a/tests/issue_429_gotoDate.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - -
- - diff --git a/tests/issue_477_event_width.html b/tests/issue_477_event_width.html deleted file mode 100644 index bd346a9..0000000 --- a/tests/issue_477_event_width.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - -
- - diff --git a/tests/issue_517_js_error_ie.html b/tests/issue_517_js_error_ie.html deleted file mode 100644 index d759a2e..0000000 --- a/tests/issue_517_js_error_ie.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - - - -
- - diff --git a/tests/issue_554.html b/tests/issue_554.html deleted file mode 100644 index eeebaee..0000000 --- a/tests/issue_554.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - -
- - diff --git a/tests/issue_586_refetchEvents.html b/tests/issue_586_refetchEvents.html deleted file mode 100644 index 10f7b38..0000000 --- a/tests/issue_586_refetchEvents.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - -
- - diff --git a/tests/issue_616.html b/tests/issue_616.html deleted file mode 100644 index 45f78b5..0000000 --- a/tests/issue_616.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - -
- - diff --git a/tests/issue_679.html b/tests/issue_679.html deleted file mode 100644 index 4da0bd4..0000000 --- a/tests/issue_679.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - -
- - diff --git a/tests/issue_688_parseInt.html b/tests/issue_688_parseInt.html deleted file mode 100644 index 29ce457..0000000 --- a/tests/issue_688_parseInt.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - -
- - diff --git a/tests/issue_740_event_resizing.html b/tests/issue_740_event_resizing.html deleted file mode 100644 index 684cb8d..0000000 --- a/tests/issue_740_event_resizing.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - -
- - diff --git a/tests/issue_750.html b/tests/issue_750.html deleted file mode 100644 index 0b65709..0000000 --- a/tests/issue_750.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - -
- - diff --git a/tests/issue_757_removeEvents.html b/tests/issue_757_removeEvents.html deleted file mode 100644 index eccf26d..0000000 --- a/tests/issue_757_removeEvents.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - -
- - diff --git a/tests/lib/fancybox/blank.gif b/tests/lib/fancybox/blank.gif deleted file mode 100644 index 35d42e8..0000000 Binary files a/tests/lib/fancybox/blank.gif and /dev/null differ diff --git a/tests/lib/fancybox/fancy_close.png b/tests/lib/fancybox/fancy_close.png deleted file mode 100644 index 0703530..0000000 Binary files a/tests/lib/fancybox/fancy_close.png and /dev/null differ diff --git a/tests/lib/fancybox/fancy_loading.png b/tests/lib/fancybox/fancy_loading.png deleted file mode 100644 index 2503017..0000000 Binary files a/tests/lib/fancybox/fancy_loading.png and /dev/null differ diff --git a/tests/lib/fancybox/fancy_nav_left.png b/tests/lib/fancybox/fancy_nav_left.png deleted file mode 100644 index ebaa6a4..0000000 Binary files a/tests/lib/fancybox/fancy_nav_left.png and /dev/null differ diff --git a/tests/lib/fancybox/fancy_nav_right.png b/tests/lib/fancybox/fancy_nav_right.png deleted file mode 100644 index 873294e..0000000 Binary files a/tests/lib/fancybox/fancy_nav_right.png and /dev/null differ diff --git a/tests/lib/fancybox/fancy_shadow_e.png b/tests/lib/fancybox/fancy_shadow_e.png deleted file mode 100644 index 2eda089..0000000 Binary files a/tests/lib/fancybox/fancy_shadow_e.png and /dev/null differ diff --git a/tests/lib/fancybox/fancy_shadow_n.png b/tests/lib/fancybox/fancy_shadow_n.png deleted file mode 100644 index 69aa10e..0000000 Binary files a/tests/lib/fancybox/fancy_shadow_n.png and /dev/null differ diff --git a/tests/lib/fancybox/fancy_shadow_ne.png b/tests/lib/fancybox/fancy_shadow_ne.png deleted file mode 100644 index 79f6980..0000000 Binary files a/tests/lib/fancybox/fancy_shadow_ne.png and /dev/null differ diff --git a/tests/lib/fancybox/fancy_shadow_nw.png b/tests/lib/fancybox/fancy_shadow_nw.png deleted file mode 100644 index 7182cd9..0000000 Binary files a/tests/lib/fancybox/fancy_shadow_nw.png and /dev/null differ diff --git a/tests/lib/fancybox/fancy_shadow_s.png b/tests/lib/fancybox/fancy_shadow_s.png deleted file mode 100644 index d8858bf..0000000 Binary files a/tests/lib/fancybox/fancy_shadow_s.png and /dev/null differ diff --git a/tests/lib/fancybox/fancy_shadow_se.png b/tests/lib/fancybox/fancy_shadow_se.png deleted file mode 100644 index 541e3ff..0000000 Binary files a/tests/lib/fancybox/fancy_shadow_se.png and /dev/null differ diff --git a/tests/lib/fancybox/fancy_shadow_sw.png b/tests/lib/fancybox/fancy_shadow_sw.png deleted file mode 100644 index b451689..0000000 Binary files a/tests/lib/fancybox/fancy_shadow_sw.png and /dev/null differ diff --git a/tests/lib/fancybox/fancy_shadow_w.png b/tests/lib/fancybox/fancy_shadow_w.png deleted file mode 100644 index 8a4e4a8..0000000 Binary files a/tests/lib/fancybox/fancy_shadow_w.png and /dev/null differ diff --git a/tests/lib/fancybox/fancy_title_left.png b/tests/lib/fancybox/fancy_title_left.png deleted file mode 100644 index 6049223..0000000 Binary files a/tests/lib/fancybox/fancy_title_left.png and /dev/null differ diff --git a/tests/lib/fancybox/fancy_title_main.png b/tests/lib/fancybox/fancy_title_main.png deleted file mode 100644 index 8044271..0000000 Binary files a/tests/lib/fancybox/fancy_title_main.png and /dev/null differ diff --git a/tests/lib/fancybox/fancy_title_over.png b/tests/lib/fancybox/fancy_title_over.png deleted file mode 100644 index d9f458f..0000000 Binary files a/tests/lib/fancybox/fancy_title_over.png and /dev/null differ diff --git a/tests/lib/fancybox/fancy_title_right.png b/tests/lib/fancybox/fancy_title_right.png deleted file mode 100644 index e36d9db..0000000 Binary files a/tests/lib/fancybox/fancy_title_right.png and /dev/null differ diff --git a/tests/lib/fancybox/fancybox-x.png b/tests/lib/fancybox/fancybox-x.png deleted file mode 100644 index c2130f8..0000000 Binary files a/tests/lib/fancybox/fancybox-x.png and /dev/null differ diff --git a/tests/lib/fancybox/fancybox-y.png b/tests/lib/fancybox/fancybox-y.png deleted file mode 100644 index 7ef399b..0000000 Binary files a/tests/lib/fancybox/fancybox-y.png and /dev/null differ diff --git a/tests/lib/fancybox/fancybox.png b/tests/lib/fancybox/fancybox.png deleted file mode 100644 index 65e14f6..0000000 Binary files a/tests/lib/fancybox/fancybox.png and /dev/null differ diff --git a/tests/lib/fancybox/jquery.easing-1.3.pack.js b/tests/lib/fancybox/jquery.easing-1.3.pack.js deleted file mode 100644 index 9028179..0000000 --- a/tests/lib/fancybox/jquery.easing-1.3.pack.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ - * - * Uses the built in easing capabilities added In jQuery 1.1 - * to offer multiple easing options - * - * TERMS OF USE - jQuery Easing - * - * Open source under the BSD License. - * - * Copyright © 2008 George McGinley Smith - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: - * - * Redistributions of source code must retain the above copyright notice, this list of - * conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, this list - * of conditions and the following disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * Neither the name of the author nor the names of contributors may be used to endorse - * or promote products derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE - * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED - * OF THE POSSIBILITY OF SUCH DAMAGE. - * -*/ - -// t: current time, b: begInnIng value, c: change In value, d: duration -eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('h.i[\'1a\']=h.i[\'z\'];h.O(h.i,{y:\'D\',z:9(x,t,b,c,d){6 h.i[h.i.y](x,t,b,c,d)},17:9(x,t,b,c,d){6 c*(t/=d)*t+b},D:9(x,t,b,c,d){6-c*(t/=d)*(t-2)+b},13:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t+b;6-c/2*((--t)*(t-2)-1)+b},X:9(x,t,b,c,d){6 c*(t/=d)*t*t+b},U:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t+1)+b},R:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t+b;6 c/2*((t-=2)*t*t+2)+b},N:9(x,t,b,c,d){6 c*(t/=d)*t*t*t+b},M:9(x,t,b,c,d){6-c*((t=t/d-1)*t*t*t-1)+b},L:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t+b;6-c/2*((t-=2)*t*t*t-2)+b},K:9(x,t,b,c,d){6 c*(t/=d)*t*t*t*t+b},J:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t*t*t+1)+b},I:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t*t+b;6 c/2*((t-=2)*t*t*t*t+2)+b},G:9(x,t,b,c,d){6-c*8.C(t/d*(8.g/2))+c+b},15:9(x,t,b,c,d){6 c*8.n(t/d*(8.g/2))+b},12:9(x,t,b,c,d){6-c/2*(8.C(8.g*t/d)-1)+b},Z:9(x,t,b,c,d){6(t==0)?b:c*8.j(2,10*(t/d-1))+b},Y:9(x,t,b,c,d){6(t==d)?b+c:c*(-8.j(2,-10*t/d)+1)+b},W:9(x,t,b,c,d){e(t==0)6 b;e(t==d)6 b+c;e((t/=d/2)<1)6 c/2*8.j(2,10*(t-1))+b;6 c/2*(-8.j(2,-10*--t)+2)+b},V:9(x,t,b,c,d){6-c*(8.o(1-(t/=d)*t)-1)+b},S:9(x,t,b,c,d){6 c*8.o(1-(t=t/d-1)*t)+b},Q:9(x,t,b,c,d){e((t/=d/2)<1)6-c/2*(8.o(1-t*t)-1)+b;6 c/2*(8.o(1-(t-=2)*t)+1)+b},P:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6-(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b},H:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6 a*8.j(2,-10*t)*8.n((t*d-s)*(2*8.g)/p)+c+b},T:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d/2)==2)6 b+c;e(!p)p=d*(.3*1.5);e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);e(t<1)6-.5*(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b;6 a*8.j(2,-10*(t-=1))*8.n((t*d-s)*(2*8.g)/p)*.5+c+b},F:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*(t/=d)*t*((s+1)*t-s)+b},E:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},16:9(x,t,b,c,d,s){e(s==u)s=1.l;e((t/=d/2)<1)6 c/2*(t*t*(((s*=(1.B))+1)*t-s))+b;6 c/2*((t-=2)*t*(((s*=(1.B))+1)*t+s)+2)+b},A:9(x,t,b,c,d){6 c-h.i.v(x,d-t,0,c,d)+b},v:9(x,t,b,c,d){e((t/=d)<(1/2.k)){6 c*(7.q*t*t)+b}m e(t<(2/2.k)){6 c*(7.q*(t-=(1.5/2.k))*t+.k)+b}m e(t<(2.5/2.k)){6 c*(7.q*(t-=(2.14/2.k))*t+.11)+b}m{6 c*(7.q*(t-=(2.18/2.k))*t+.19)+b}},1b:9(x,t,b,c,d){e(t')[0], { prop: 0 }), - - isIE6 = $.browser.msie && $.browser.version < 7 && !window.XMLHttpRequest, - - /* - * Private methods - */ - - _abort = function() { - loading.hide(); - - imgPreloader.onerror = imgPreloader.onload = null; - - if (ajaxLoader) { - ajaxLoader.abort(); - } - - tmp.empty(); - }, - - _error = function() { - if (false === selectedOpts.onError(selectedArray, selectedIndex, selectedOpts)) { - loading.hide(); - busy = false; - return; - } - - selectedOpts.titleShow = false; - - selectedOpts.width = 'auto'; - selectedOpts.height = 'auto'; - - tmp.html( '

The requested content cannot be loaded.
Please try again later.

' ); - - _process_inline(); - }, - - _start = function() { - var obj = selectedArray[ selectedIndex ], - href, - type, - title, - str, - emb, - ret; - - _abort(); - - selectedOpts = $.extend({}, $.fn.fancybox.defaults, (typeof $(obj).data('fancybox') == 'undefined' ? selectedOpts : $(obj).data('fancybox'))); - - ret = selectedOpts.onStart(selectedArray, selectedIndex, selectedOpts); - - if (ret === false) { - busy = false; - return; - } else if (typeof ret == 'object') { - selectedOpts = $.extend(selectedOpts, ret); - } - - title = selectedOpts.title || (obj.nodeName ? $(obj).attr('title') : obj.title) || ''; - - if (obj.nodeName && !selectedOpts.orig) { - selectedOpts.orig = $(obj).children("img:first").length ? $(obj).children("img:first") : $(obj); - } - - if (title === '' && selectedOpts.orig && selectedOpts.titleFromAlt) { - title = selectedOpts.orig.attr('alt'); - } - - href = selectedOpts.href || (obj.nodeName ? $(obj).attr('href') : obj.href) || null; - - if ((/^(?:javascript)/i).test(href) || href == '#') { - href = null; - } - - if (selectedOpts.type) { - type = selectedOpts.type; - - if (!href) { - href = selectedOpts.content; - } - - } else if (selectedOpts.content) { - type = 'html'; - - } else if (href) { - if (href.match(imgRegExp)) { - type = 'image'; - - } else if (href.match(swfRegExp)) { - type = 'swf'; - - } else if ($(obj).hasClass("iframe")) { - type = 'iframe'; - - } else if (href.indexOf("#") === 0) { - type = 'inline'; - - } else { - type = 'ajax'; - } - } - - if (!type) { - _error(); - return; - } - - if (type == 'inline') { - obj = href.substr(href.indexOf("#")); - type = $(obj).length > 0 ? 'inline' : 'ajax'; - } - - selectedOpts.type = type; - selectedOpts.href = href; - selectedOpts.title = title; - - if (selectedOpts.autoDimensions) { - if (selectedOpts.type == 'html' || selectedOpts.type == 'inline' || selectedOpts.type == 'ajax') { - selectedOpts.width = 'auto'; - selectedOpts.height = 'auto'; - } else { - selectedOpts.autoDimensions = false; - } - } - - if (selectedOpts.modal) { - selectedOpts.overlayShow = true; - selectedOpts.hideOnOverlayClick = false; - selectedOpts.hideOnContentClick = false; - selectedOpts.enableEscapeButton = false; - selectedOpts.showCloseButton = false; - } - - selectedOpts.padding = parseInt(selectedOpts.padding, 10); - selectedOpts.margin = parseInt(selectedOpts.margin, 10); - - tmp.css('padding', (selectedOpts.padding + selectedOpts.margin)); - - $('.fancybox-inline-tmp').unbind('fancybox-cancel').bind('fancybox-change', function() { - $(this).replaceWith(content.children()); - }); - - switch (type) { - case 'html' : - tmp.html( selectedOpts.content ); - _process_inline(); - break; - - case 'inline' : - if ( $(obj).parent().is('#fancybox-content') === true) { - busy = false; - return; - } - - $('
') - .hide() - .insertBefore( $(obj) ) - .bind('fancybox-cleanup', function() { - $(this).replaceWith(content.children()); - }).bind('fancybox-cancel', function() { - $(this).replaceWith(tmp.children()); - }); - - $(obj).appendTo(tmp); - - _process_inline(); - break; - - case 'image': - busy = false; - - $.fancybox.showActivity(); - - imgPreloader = new Image(); - - imgPreloader.onerror = function() { - _error(); - }; - - imgPreloader.onload = function() { - busy = true; - - imgPreloader.onerror = imgPreloader.onload = null; - - _process_image(); - }; - - imgPreloader.src = href; - break; - - case 'swf': - selectedOpts.scrolling = 'no'; - - str = ''; - emb = ''; - - $.each(selectedOpts.swf, function(name, val) { - str += ''; - emb += ' ' + name + '="' + val + '"'; - }); - - str += ''; - - tmp.html(str); - - _process_inline(); - break; - - case 'ajax': - busy = false; - - $.fancybox.showActivity(); - - selectedOpts.ajax.win = selectedOpts.ajax.success; - - ajaxLoader = $.ajax($.extend({}, selectedOpts.ajax, { - url : href, - data : selectedOpts.ajax.data || {}, - error : function(XMLHttpRequest, textStatus, errorThrown) { - if ( XMLHttpRequest.status > 0 ) { - _error(); - } - }, - success : function(data, textStatus, XMLHttpRequest) { - var o = typeof XMLHttpRequest == 'object' ? XMLHttpRequest : ajaxLoader; - if (o.status == 200) { - if ( typeof selectedOpts.ajax.win == 'function' ) { - ret = selectedOpts.ajax.win(href, data, textStatus, XMLHttpRequest); - - if (ret === false) { - loading.hide(); - return; - } else if (typeof ret == 'string' || typeof ret == 'object') { - data = ret; - } - } - - tmp.html( data ); - _process_inline(); - } - } - })); - - break; - - case 'iframe': - _show(); - break; - } - }, - - _process_inline = function() { - var - w = selectedOpts.width, - h = selectedOpts.height; - - if (w.toString().indexOf('%') > -1) { - w = parseInt( ($(window).width() - (selectedOpts.margin * 2)) * parseFloat(w) / 100, 10) + 'px'; - - } else { - w = w == 'auto' ? 'auto' : w + 'px'; - } - - if (h.toString().indexOf('%') > -1) { - h = parseInt( ($(window).height() - (selectedOpts.margin * 2)) * parseFloat(h) / 100, 10) + 'px'; - - } else { - h = h == 'auto' ? 'auto' : h + 'px'; - } - - tmp.wrapInner('
'); - - selectedOpts.width = tmp.width(); - selectedOpts.height = tmp.height(); - - _show(); - }, - - _process_image = function() { - selectedOpts.width = imgPreloader.width; - selectedOpts.height = imgPreloader.height; - - $("").attr({ - 'id' : 'fancybox-img', - 'src' : imgPreloader.src, - 'alt' : selectedOpts.title - }).appendTo( tmp ); - - _show(); - }, - - _show = function() { - var pos, equal; - - loading.hide(); - - if (wrap.is(":visible") && false === currentOpts.onCleanup(currentArray, currentIndex, currentOpts)) { - $.event.trigger('fancybox-cancel'); - - busy = false; - return; - } - - busy = true; - - $(content.add( overlay )).unbind(); - - $(window).unbind("resize.fb scroll.fb"); - $(document).unbind('keydown.fb'); - - if (wrap.is(":visible") && currentOpts.titlePosition !== 'outside') { - wrap.css('height', wrap.height()); - } - - currentArray = selectedArray; - currentIndex = selectedIndex; - currentOpts = selectedOpts; - - if (currentOpts.overlayShow) { - overlay.css({ - 'background-color' : currentOpts.overlayColor, - 'opacity' : currentOpts.overlayOpacity, - 'cursor' : currentOpts.hideOnOverlayClick ? 'pointer' : 'auto', - 'height' : $(document).height() - }); - - if (!overlay.is(':visible')) { - if (isIE6) { - $('select:not(#fancybox-tmp select)').filter(function() { - return this.style.visibility !== 'hidden'; - }).css({'visibility' : 'hidden'}).one('fancybox-cleanup', function() { - this.style.visibility = 'inherit'; - }); - } - - overlay.show(); - } - } else { - overlay.hide(); - } - - final_pos = _get_zoom_to(); - - _process_title(); - - if (wrap.is(":visible")) { - $( close.add( nav_left ).add( nav_right ) ).hide(); - - pos = wrap.position(), - - start_pos = { - top : pos.top, - left : pos.left, - width : wrap.width(), - height : wrap.height() - }; - - equal = (start_pos.width == final_pos.width && start_pos.height == final_pos.height); - - content.fadeTo(currentOpts.changeFade, 0.3, function() { - var finish_resizing = function() { - content.html( tmp.contents() ).fadeTo(currentOpts.changeFade, 1, _finish); - }; - - $.event.trigger('fancybox-change'); - - content - .empty() - .removeAttr('filter') - .css({ - 'border-width' : currentOpts.padding, - 'width' : final_pos.width - currentOpts.padding * 2, - 'height' : selectedOpts.autoDimensions ? 'auto' : final_pos.height - titleHeight - currentOpts.padding * 2 - }); - - if (equal) { - finish_resizing(); - - } else { - fx.prop = 0; - - $(fx).animate({prop: 1}, { - duration : currentOpts.changeSpeed, - easing : currentOpts.easingChange, - step : _draw, - complete : finish_resizing - }); - } - }); - - return; - } - - wrap.removeAttr("style"); - - content.css('border-width', currentOpts.padding); - - if (currentOpts.transitionIn == 'elastic') { - start_pos = _get_zoom_from(); - - content.html( tmp.contents() ); - - wrap.show(); - - if (currentOpts.opacity) { - final_pos.opacity = 0; - } - - fx.prop = 0; - - $(fx).animate({prop: 1}, { - duration : currentOpts.speedIn, - easing : currentOpts.easingIn, - step : _draw, - complete : _finish - }); - - return; - } - - if (currentOpts.titlePosition == 'inside' && titleHeight > 0) { - title.show(); - } - - content - .css({ - 'width' : final_pos.width - currentOpts.padding * 2, - 'height' : selectedOpts.autoDimensions ? 'auto' : final_pos.height - titleHeight - currentOpts.padding * 2 - }) - .html( tmp.contents() ); - - wrap - .css(final_pos) - .fadeIn( currentOpts.transitionIn == 'none' ? 0 : currentOpts.speedIn, _finish ); - }, - - _format_title = function(title) { - if (title && title.length) { - if (currentOpts.titlePosition == 'float') { - return '
' + title + '
'; - } - - return '
' + title + '
'; - } - - return false; - }, - - _process_title = function() { - titleStr = currentOpts.title || ''; - titleHeight = 0; - - title - .empty() - .removeAttr('style') - .removeClass(); - - if (currentOpts.titleShow === false) { - title.hide(); - return; - } - - titleStr = $.isFunction(currentOpts.titleFormat) ? currentOpts.titleFormat(titleStr, currentArray, currentIndex, currentOpts) : _format_title(titleStr); - - if (!titleStr || titleStr === '') { - title.hide(); - return; - } - - title - .addClass('fancybox-title-' + currentOpts.titlePosition) - .html( titleStr ) - .appendTo( 'body' ) - .show(); - - switch (currentOpts.titlePosition) { - case 'inside': - title - .css({ - 'width' : final_pos.width - (currentOpts.padding * 2), - 'marginLeft' : currentOpts.padding, - 'marginRight' : currentOpts.padding - }); - - titleHeight = title.outerHeight(true); - - title.appendTo( outer ); - - final_pos.height += titleHeight; - break; - - case 'over': - title - .css({ - 'marginLeft' : currentOpts.padding, - 'width' : final_pos.width - (currentOpts.padding * 2), - 'bottom' : currentOpts.padding - }) - .appendTo( outer ); - break; - - case 'float': - title - .css('left', parseInt((title.width() - final_pos.width - 40)/ 2, 10) * -1) - .appendTo( wrap ); - break; - - default: - title - .css({ - 'width' : final_pos.width - (currentOpts.padding * 2), - 'paddingLeft' : currentOpts.padding, - 'paddingRight' : currentOpts.padding - }) - .appendTo( wrap ); - break; - } - - title.hide(); - }, - - _set_navigation = function() { - if (currentOpts.enableEscapeButton || currentOpts.enableKeyboardNav) { - $(document).bind('keydown.fb', function(e) { - if (e.keyCode == 27 && currentOpts.enableEscapeButton) { - e.preventDefault(); - $.fancybox.close(); - - } else if ((e.keyCode == 37 || e.keyCode == 39) && currentOpts.enableKeyboardNav && e.target.tagName !== 'INPUT' && e.target.tagName !== 'TEXTAREA' && e.target.tagName !== 'SELECT') { - e.preventDefault(); - $.fancybox[ e.keyCode == 37 ? 'prev' : 'next'](); - } - }); - } - - if (!currentOpts.showNavArrows) { - nav_left.hide(); - nav_right.hide(); - return; - } - - if ((currentOpts.cyclic && currentArray.length > 1) || currentIndex !== 0) { - nav_left.show(); - } - - if ((currentOpts.cyclic && currentArray.length > 1) || currentIndex != (currentArray.length -1)) { - nav_right.show(); - } - }, - - _finish = function () { - if (!$.support.opacity) { - content.get(0).style.removeAttribute('filter'); - wrap.get(0).style.removeAttribute('filter'); - } - - if (selectedOpts.autoDimensions) { - content.css('height', 'auto'); - } - - wrap.css('height', 'auto'); - - if (titleStr && titleStr.length) { - title.show(); - } - - if (currentOpts.showCloseButton) { - close.show(); - } - - _set_navigation(); - - if (currentOpts.hideOnContentClick) { - content.bind('click', $.fancybox.close); - } - - if (currentOpts.hideOnOverlayClick) { - overlay.bind('click', $.fancybox.close); - } - - $(window).bind("resize.fb", $.fancybox.resize); - - if (currentOpts.centerOnScroll) { - $(window).bind("scroll.fb", $.fancybox.center); - } - - if (currentOpts.type == 'iframe') { - $('').appendTo(content); - } - - wrap.show(); - - busy = false; - - $.fancybox.center(); - - currentOpts.onComplete(currentArray, currentIndex, currentOpts); - - _preload_images(); - }, - - _preload_images = function() { - var href, - objNext; - - if ((currentArray.length -1) > currentIndex) { - href = currentArray[ currentIndex + 1 ].href; - - if (typeof href !== 'undefined' && href.match(imgRegExp)) { - objNext = new Image(); - objNext.src = href; - } - } - - if (currentIndex > 0) { - href = currentArray[ currentIndex - 1 ].href; - - if (typeof href !== 'undefined' && href.match(imgRegExp)) { - objNext = new Image(); - objNext.src = href; - } - } - }, - - _draw = function(pos) { - var dim = { - width : parseInt(start_pos.width + (final_pos.width - start_pos.width) * pos, 10), - height : parseInt(start_pos.height + (final_pos.height - start_pos.height) * pos, 10), - - top : parseInt(start_pos.top + (final_pos.top - start_pos.top) * pos, 10), - left : parseInt(start_pos.left + (final_pos.left - start_pos.left) * pos, 10) - }; - - if (typeof final_pos.opacity !== 'undefined') { - dim.opacity = pos < 0.5 ? 0.5 : pos; - } - - wrap.css(dim); - - content.css({ - 'width' : dim.width - currentOpts.padding * 2, - 'height' : dim.height - (titleHeight * pos) - currentOpts.padding * 2 - }); - }, - - _get_viewport = function() { - return [ - $(window).width() - (currentOpts.margin * 2), - $(window).height() - (currentOpts.margin * 2), - $(document).scrollLeft() + currentOpts.margin, - $(document).scrollTop() + currentOpts.margin - ]; - }, - - _get_zoom_to = function () { - var view = _get_viewport(), - to = {}, - resize = currentOpts.autoScale, - double_padding = currentOpts.padding * 2, - ratio; - - if (currentOpts.width.toString().indexOf('%') > -1) { - to.width = parseInt((view[0] * parseFloat(currentOpts.width)) / 100, 10); - } else { - to.width = currentOpts.width + double_padding; - } - - if (currentOpts.height.toString().indexOf('%') > -1) { - to.height = parseInt((view[1] * parseFloat(currentOpts.height)) / 100, 10); - } else { - to.height = currentOpts.height + double_padding; - } - - if (resize && (to.width > view[0] || to.height > view[1])) { - if (selectedOpts.type == 'image' || selectedOpts.type == 'swf') { - ratio = (currentOpts.width ) / (currentOpts.height ); - - if ((to.width ) > view[0]) { - to.width = view[0]; - to.height = parseInt(((to.width - double_padding) / ratio) + double_padding, 10); - } - - if ((to.height) > view[1]) { - to.height = view[1]; - to.width = parseInt(((to.height - double_padding) * ratio) + double_padding, 10); - } - - } else { - to.width = Math.min(to.width, view[0]); - to.height = Math.min(to.height, view[1]); - } - } - - to.top = parseInt(Math.max(view[3] - 20, view[3] + ((view[1] - to.height - 40) * 0.5)), 10); - to.left = parseInt(Math.max(view[2] - 20, view[2] + ((view[0] - to.width - 40) * 0.5)), 10); - - return to; - }, - - _get_obj_pos = function(obj) { - var pos = obj.offset(); - - pos.top += parseInt( obj.css('paddingTop'), 10 ) || 0; - pos.left += parseInt( obj.css('paddingLeft'), 10 ) || 0; - - pos.top += parseInt( obj.css('border-top-width'), 10 ) || 0; - pos.left += parseInt( obj.css('border-left-width'), 10 ) || 0; - - pos.width = obj.width(); - pos.height = obj.height(); - - return pos; - }, - - _get_zoom_from = function() { - var orig = selectedOpts.orig ? $(selectedOpts.orig) : false, - from = {}, - pos, - view; - - if (orig && orig.length) { - pos = _get_obj_pos(orig); - - from = { - width : pos.width + (currentOpts.padding * 2), - height : pos.height + (currentOpts.padding * 2), - top : pos.top - currentOpts.padding - 20, - left : pos.left - currentOpts.padding - 20 - }; - - } else { - view = _get_viewport(); - - from = { - width : currentOpts.padding * 2, - height : currentOpts.padding * 2, - top : parseInt(view[3] + view[1] * 0.5, 10), - left : parseInt(view[2] + view[0] * 0.5, 10) - }; - } - - return from; - }, - - _animate_loading = function() { - if (!loading.is(':visible')){ - clearInterval(loadingTimer); - return; - } - - $('div', loading).css('top', (loadingFrame * -40) + 'px'); - - loadingFrame = (loadingFrame + 1) % 12; - }; - - /* - * Public methods - */ - - $.fn.fancybox = function(options) { - if (!$(this).length) { - return this; - } - - $(this) - .data('fancybox', $.extend({}, options, ($.metadata ? $(this).metadata() : {}))) - .unbind('click.fb') - .bind('click.fb', function(e) { - e.preventDefault(); - - if (busy) { - return; - } - - busy = true; - - $(this).blur(); - - selectedArray = []; - selectedIndex = 0; - - var rel = $(this).attr('rel') || ''; - - if (!rel || rel == '' || rel === 'nofollow') { - selectedArray.push(this); - - } else { - selectedArray = $("a[rel=" + rel + "], area[rel=" + rel + "]"); - selectedIndex = selectedArray.index( this ); - } - - _start(); - - return; - }); - - return this; - }; - - $.fancybox = function(obj) { - var opts; - - if (busy) { - return; - } - - busy = true; - opts = typeof arguments[1] !== 'undefined' ? arguments[1] : {}; - - selectedArray = []; - selectedIndex = parseInt(opts.index, 10) || 0; - - if ($.isArray(obj)) { - for (var i = 0, j = obj.length; i < j; i++) { - if (typeof obj[i] == 'object') { - $(obj[i]).data('fancybox', $.extend({}, opts, obj[i])); - } else { - obj[i] = $({}).data('fancybox', $.extend({content : obj[i]}, opts)); - } - } - - selectedArray = jQuery.merge(selectedArray, obj); - - } else { - if (typeof obj == 'object') { - $(obj).data('fancybox', $.extend({}, opts, obj)); - } else { - obj = $({}).data('fancybox', $.extend({content : obj}, opts)); - } - - selectedArray.push(obj); - } - - if (selectedIndex > selectedArray.length || selectedIndex < 0) { - selectedIndex = 0; - } - - _start(); - }; - - $.fancybox.showActivity = function() { - clearInterval(loadingTimer); - - loading.show(); - loadingTimer = setInterval(_animate_loading, 66); - }; - - $.fancybox.hideActivity = function() { - loading.hide(); - }; - - $.fancybox.next = function() { - return $.fancybox.pos( currentIndex + 1); - }; - - $.fancybox.prev = function() { - return $.fancybox.pos( currentIndex - 1); - }; - - $.fancybox.pos = function(pos) { - if (busy) { - return; - } - - pos = parseInt(pos); - - selectedArray = currentArray; - - if (pos > -1 && pos < currentArray.length) { - selectedIndex = pos; - _start(); - - } else if (currentOpts.cyclic && currentArray.length > 1) { - selectedIndex = pos >= currentArray.length ? 0 : currentArray.length - 1; - _start(); - } - - return; - }; - - $.fancybox.cancel = function() { - if (busy) { - return; - } - - busy = true; - - $.event.trigger('fancybox-cancel'); - - _abort(); - - selectedOpts.onCancel(selectedArray, selectedIndex, selectedOpts); - - busy = false; - }; - - // Note: within an iframe use - parent.$.fancybox.close(); - $.fancybox.close = function() { - if (busy || wrap.is(':hidden')) { - return; - } - - busy = true; - - if (currentOpts && false === currentOpts.onCleanup(currentArray, currentIndex, currentOpts)) { - busy = false; - return; - } - - _abort(); - - $(close.add( nav_left ).add( nav_right )).hide(); - - $(content.add( overlay )).unbind(); - - $(window).unbind("resize.fb scroll.fb"); - $(document).unbind('keydown.fb'); - - content.find('iframe').attr('src', isIE6 && /^https/i.test(window.location.href || '') ? 'javascript:void(false)' : 'about:blank'); - - if (currentOpts.titlePosition !== 'inside') { - title.empty(); - } - - wrap.stop(); - - function _cleanup() { - overlay.fadeOut('fast'); - - title.empty().hide(); - wrap.hide(); - - $.event.trigger('fancybox-cleanup'); - - content.empty(); - - currentOpts.onClosed(currentArray, currentIndex, currentOpts); - - currentArray = selectedOpts = []; - currentIndex = selectedIndex = 0; - currentOpts = selectedOpts = {}; - - busy = false; - } - - if (currentOpts.transitionOut == 'elastic') { - start_pos = _get_zoom_from(); - - var pos = wrap.position(); - - final_pos = { - top : pos.top , - left : pos.left, - width : wrap.width(), - height : wrap.height() - }; - - if (currentOpts.opacity) { - final_pos.opacity = 1; - } - - title.empty().hide(); - - fx.prop = 1; - - $(fx).animate({ prop: 0 }, { - duration : currentOpts.speedOut, - easing : currentOpts.easingOut, - step : _draw, - complete : _cleanup - }); - - } else { - wrap.fadeOut( currentOpts.transitionOut == 'none' ? 0 : currentOpts.speedOut, _cleanup); - } - }; - - $.fancybox.resize = function() { - if (overlay.is(':visible')) { - overlay.css('height', $(document).height()); - } - - $.fancybox.center(true); - }; - - $.fancybox.center = function() { - var view, align; - - if (busy) { - return; - } - - align = arguments[0] === true ? 1 : 0; - view = _get_viewport(); - - if (!align && (wrap.width() > view[0] || wrap.height() > view[1])) { - return; - } - - wrap - .stop() - .animate({ - 'top' : parseInt(Math.max(view[3] - 20, view[3] + ((view[1] - content.height() - 40) * 0.5) - currentOpts.padding)), - 'left' : parseInt(Math.max(view[2] - 20, view[2] + ((view[0] - content.width() - 40) * 0.5) - currentOpts.padding)) - }, typeof arguments[0] == 'number' ? arguments[0] : 200); - }; - - $.fancybox.init = function() { - if ($("#fancybox-wrap").length) { - return; - } - - $('body').append( - tmp = $('
'), - loading = $('
'), - overlay = $('
'), - wrap = $('
') - ); - - outer = $('
') - .append('
') - .appendTo( wrap ); - - outer.append( - content = $('
'), - close = $(''), - title = $('
'), - - nav_left = $(''), - nav_right = $('') - ); - - close.click($.fancybox.close); - loading.click($.fancybox.cancel); - - nav_left.click(function(e) { - e.preventDefault(); - $.fancybox.prev(); - }); - - nav_right.click(function(e) { - e.preventDefault(); - $.fancybox.next(); - }); - - if ($.fn.mousewheel) { - wrap.bind('mousewheel.fb', function(e, delta) { - if (busy) { - e.preventDefault(); - - } else if ($(e.target).get(0).clientHeight == 0 || $(e.target).get(0).scrollHeight === $(e.target).get(0).clientHeight) { - e.preventDefault(); - $.fancybox[ delta > 0 ? 'prev' : 'next'](); - } - }); - } - - if (!$.support.opacity) { - wrap.addClass('fancybox-ie'); - } - - if (isIE6) { - loading.addClass('fancybox-ie6'); - wrap.addClass('fancybox-ie6'); - - $('').prependTo(outer); - } - }; - - $.fn.fancybox.defaults = { - padding : 10, - margin : 40, - opacity : false, - modal : false, - cyclic : false, - scrolling : 'auto', // 'auto', 'yes' or 'no' - - width : 560, - height : 340, - - autoScale : true, - autoDimensions : true, - centerOnScroll : false, - - ajax : {}, - swf : { wmode: 'transparent' }, - - hideOnOverlayClick : true, - hideOnContentClick : false, - - overlayShow : true, - overlayOpacity : 0.7, - overlayColor : '#777', - - titleShow : true, - titlePosition : 'float', // 'float', 'outside', 'inside' or 'over' - titleFormat : null, - titleFromAlt : false, - - transitionIn : 'fade', // 'elastic', 'fade' or 'none' - transitionOut : 'fade', // 'elastic', 'fade' or 'none' - - speedIn : 300, - speedOut : 300, - - changeSpeed : 300, - changeFade : 'fast', - - easingIn : 'swing', - easingOut : 'swing', - - showCloseButton : true, - showNavArrows : true, - enableEscapeButton : true, - enableKeyboardNav : true, - - onStart : function(){}, - onCancel : function(){}, - onComplete : function(){}, - onCleanup : function(){}, - onClosed : function(){}, - onError : function(){} - }; - - $(document).ready(function() { - $.fancybox.init(); - }); - -})(jQuery); \ No newline at end of file diff --git a/tests/lib/fancybox/jquery.fancybox-1.3.4.pack.js b/tests/lib/fancybox/jquery.fancybox-1.3.4.pack.js deleted file mode 100644 index 1373ed0..0000000 --- a/tests/lib/fancybox/jquery.fancybox-1.3.4.pack.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * FancyBox - jQuery Plugin - * Simple and fancy lightbox alternative - * - * Examples and documentation at: http://fancybox.net - * - * Copyright (c) 2008 - 2010 Janis Skarnelis - * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated. - * - * Version: 1.3.4 (11/11/2010) - * Requires: jQuery v1.3+ - * - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - */ - -;(function(b){var m,t,u,f,D,j,E,n,z,A,q=0,e={},o=[],p=0,d={},l=[],G=null,v=new Image,J=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,W=/[^\.]\.(swf)\s*$/i,K,L=1,y=0,s="",r,i,h=false,B=b.extend(b("
")[0],{prop:0}),M=b.browser.msie&&b.browser.version<7&&!window.XMLHttpRequest,N=function(){t.hide();v.onerror=v.onload=null;G&&G.abort();m.empty()},O=function(){if(false===e.onError(o,q,e)){t.hide();h=false}else{e.titleShow=false;e.width="auto";e.height="auto";m.html('

The requested content cannot be loaded.
Please try again later.

'); -F()}},I=function(){var a=o[q],c,g,k,C,P,w;N();e=b.extend({},b.fn.fancybox.defaults,typeof b(a).data("fancybox")=="undefined"?e:b(a).data("fancybox"));w=e.onStart(o,q,e);if(w===false)h=false;else{if(typeof w=="object")e=b.extend(e,w);k=e.title||(a.nodeName?b(a).attr("title"):a.title)||"";if(a.nodeName&&!e.orig)e.orig=b(a).children("img:first").length?b(a).children("img:first"):b(a);if(k===""&&e.orig&&e.titleFromAlt)k=e.orig.attr("alt");c=e.href||(a.nodeName?b(a).attr("href"):a.href)||null;if(/^(?:javascript)/i.test(c)|| -c=="#")c=null;if(e.type){g=e.type;if(!c)c=e.content}else if(e.content)g="html";else if(c)g=c.match(J)?"image":c.match(W)?"swf":b(a).hasClass("iframe")?"iframe":c.indexOf("#")===0?"inline":"ajax";if(g){if(g=="inline"){a=c.substr(c.indexOf("#"));g=b(a).length>0?"inline":"ajax"}e.type=g;e.href=c;e.title=k;if(e.autoDimensions)if(e.type=="html"||e.type=="inline"||e.type=="ajax"){e.width="auto";e.height="auto"}else e.autoDimensions=false;if(e.modal){e.overlayShow=true;e.hideOnOverlayClick=false;e.hideOnContentClick= -false;e.enableEscapeButton=false;e.showCloseButton=false}e.padding=parseInt(e.padding,10);e.margin=parseInt(e.margin,10);m.css("padding",e.padding+e.margin);b(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){b(this).replaceWith(j.children())});switch(g){case "html":m.html(e.content);F();break;case "inline":if(b(a).parent().is("#fancybox-content")===true){h=false;break}b('
').hide().insertBefore(b(a)).bind("fancybox-cleanup",function(){b(this).replaceWith(j.children())}).bind("fancybox-cancel", -function(){b(this).replaceWith(m.children())});b(a).appendTo(m);F();break;case "image":h=false;b.fancybox.showActivity();v=new Image;v.onerror=function(){O()};v.onload=function(){h=true;v.onerror=v.onload=null;e.width=v.width;e.height=v.height;b("").attr({id:"fancybox-img",src:v.src,alt:e.title}).appendTo(m);Q()};v.src=c;break;case "swf":e.scrolling="no";C='';P="";b.each(e.swf,function(x,H){C+='';P+=" "+x+'="'+H+'"'});C+='";m.html(C);F();break;case "ajax":h=false;b.fancybox.showActivity();e.ajax.win=e.ajax.success;G=b.ajax(b.extend({},e.ajax,{url:c,data:e.ajax.data||{},error:function(x){x.status>0&&O()},success:function(x,H,R){if((typeof R=="object"?R:G).status==200){if(typeof e.ajax.win== -"function"){w=e.ajax.win(c,x,H,R);if(w===false){t.hide();return}else if(typeof w=="string"||typeof w=="object")x=w}m.html(x);F()}}}));break;case "iframe":Q()}}else O()}},F=function(){var a=e.width,c=e.height;a=a.toString().indexOf("%")>-1?parseInt((b(window).width()-e.margin*2)*parseFloat(a)/100,10)+"px":a=="auto"?"auto":a+"px";c=c.toString().indexOf("%")>-1?parseInt((b(window).height()-e.margin*2)*parseFloat(c)/100,10)+"px":c=="auto"?"auto":c+"px";m.wrapInner('
');e.width=m.width();e.height=m.height();Q()},Q=function(){var a,c;t.hide();if(f.is(":visible")&&false===d.onCleanup(l,p,d)){b.event.trigger("fancybox-cancel");h=false}else{h=true;b(j.add(u)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");f.is(":visible")&&d.titlePosition!=="outside"&&f.css("height",f.height());l=o;p=q;d=e;if(d.overlayShow){u.css({"background-color":d.overlayColor, -opacity:d.overlayOpacity,cursor:d.hideOnOverlayClick?"pointer":"auto",height:b(document).height()});if(!u.is(":visible")){M&&b("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});u.show()}}else u.hide();i=X();s=d.title||"";y=0;n.empty().removeAttr("style").removeClass();if(d.titleShow!==false){if(b.isFunction(d.titleFormat))a=d.titleFormat(s,l,p,d);else a=s&&s.length? -d.titlePosition=="float"?'
'+s+'
':'
'+s+"
":false;s=a;if(!(!s||s==="")){n.addClass("fancybox-title-"+d.titlePosition).html(s).appendTo("body").show();switch(d.titlePosition){case "inside":n.css({width:i.width-d.padding*2,marginLeft:d.padding,marginRight:d.padding}); -y=n.outerHeight(true);n.appendTo(D);i.height+=y;break;case "over":n.css({marginLeft:d.padding,width:i.width-d.padding*2,bottom:d.padding}).appendTo(D);break;case "float":n.css("left",parseInt((n.width()-i.width-40)/2,10)*-1).appendTo(f);break;default:n.css({width:i.width-d.padding*2,paddingLeft:d.padding,paddingRight:d.padding}).appendTo(f)}}}n.hide();if(f.is(":visible")){b(E.add(z).add(A)).hide();a=f.position();r={top:a.top,left:a.left,width:f.width(),height:f.height()};c=r.width==i.width&&r.height== -i.height;j.fadeTo(d.changeFade,0.3,function(){var g=function(){j.html(m.contents()).fadeTo(d.changeFade,1,S)};b.event.trigger("fancybox-change");j.empty().removeAttr("filter").css({"border-width":d.padding,width:i.width-d.padding*2,height:e.autoDimensions?"auto":i.height-y-d.padding*2});if(c)g();else{B.prop=0;b(B).animate({prop:1},{duration:d.changeSpeed,easing:d.easingChange,step:T,complete:g})}})}else{f.removeAttr("style");j.css("border-width",d.padding);if(d.transitionIn=="elastic"){r=V();j.html(m.contents()); -f.show();if(d.opacity)i.opacity=0;B.prop=0;b(B).animate({prop:1},{duration:d.speedIn,easing:d.easingIn,step:T,complete:S})}else{d.titlePosition=="inside"&&y>0&&n.show();j.css({width:i.width-d.padding*2,height:e.autoDimensions?"auto":i.height-y-d.padding*2}).html(m.contents());f.css(i).fadeIn(d.transitionIn=="none"?0:d.speedIn,S)}}}},Y=function(){if(d.enableEscapeButton||d.enableKeyboardNav)b(document).bind("keydown.fb",function(a){if(a.keyCode==27&&d.enableEscapeButton){a.preventDefault();b.fancybox.close()}else if((a.keyCode== -37||a.keyCode==39)&&d.enableKeyboardNav&&a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.target.tagName!=="SELECT"){a.preventDefault();b.fancybox[a.keyCode==37?"prev":"next"]()}});if(d.showNavArrows){if(d.cyclic&&l.length>1||p!==0)z.show();if(d.cyclic&&l.length>1||p!=l.length-1)A.show()}else{z.hide();A.hide()}},S=function(){if(!b.support.opacity){j.get(0).style.removeAttribute("filter");f.get(0).style.removeAttribute("filter")}e.autoDimensions&&j.css("height","auto");f.css("height","auto"); -s&&s.length&&n.show();d.showCloseButton&&E.show();Y();d.hideOnContentClick&&j.bind("click",b.fancybox.close);d.hideOnOverlayClick&&u.bind("click",b.fancybox.close);b(window).bind("resize.fb",b.fancybox.resize);d.centerOnScroll&&b(window).bind("scroll.fb",b.fancybox.center);if(d.type=="iframe")b('').appendTo(j); -f.show();h=false;b.fancybox.center();d.onComplete(l,p,d);var a,c;if(l.length-1>p){a=l[p+1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}if(p>0){a=l[p-1].href;if(typeof a!=="undefined"&&a.match(J)){c=new Image;c.src=a}}},T=function(a){var c={width:parseInt(r.width+(i.width-r.width)*a,10),height:parseInt(r.height+(i.height-r.height)*a,10),top:parseInt(r.top+(i.top-r.top)*a,10),left:parseInt(r.left+(i.left-r.left)*a,10)};if(typeof i.opacity!=="undefined")c.opacity=a<0.5?0.5:a;f.css(c); -j.css({width:c.width-d.padding*2,height:c.height-y*a-d.padding*2})},U=function(){return[b(window).width()-d.margin*2,b(window).height()-d.margin*2,b(document).scrollLeft()+d.margin,b(document).scrollTop()+d.margin]},X=function(){var a=U(),c={},g=d.autoScale,k=d.padding*2;c.width=d.width.toString().indexOf("%")>-1?parseInt(a[0]*parseFloat(d.width)/100,10):d.width+k;c.height=d.height.toString().indexOf("%")>-1?parseInt(a[1]*parseFloat(d.height)/100,10):d.height+k;if(g&&(c.width>a[0]||c.height>a[1]))if(e.type== -"image"||e.type=="swf"){g=d.width/d.height;if(c.width>a[0]){c.width=a[0];c.height=parseInt((c.width-k)/g+k,10)}if(c.height>a[1]){c.height=a[1];c.width=parseInt((c.height-k)*g+k,10)}}else{c.width=Math.min(c.width,a[0]);c.height=Math.min(c.height,a[1])}c.top=parseInt(Math.max(a[3]-20,a[3]+(a[1]-c.height-40)*0.5),10);c.left=parseInt(Math.max(a[2]-20,a[2]+(a[0]-c.width-40)*0.5),10);return c},V=function(){var a=e.orig?b(e.orig):false,c={};if(a&&a.length){c=a.offset();c.top+=parseInt(a.css("paddingTop"), -10)||0;c.left+=parseInt(a.css("paddingLeft"),10)||0;c.top+=parseInt(a.css("border-top-width"),10)||0;c.left+=parseInt(a.css("border-left-width"),10)||0;c.width=a.width();c.height=a.height();c={width:c.width+d.padding*2,height:c.height+d.padding*2,top:c.top-d.padding-20,left:c.left-d.padding-20}}else{a=U();c={width:d.padding*2,height:d.padding*2,top:parseInt(a[3]+a[1]*0.5,10),left:parseInt(a[2]+a[0]*0.5,10)}}return c},Z=function(){if(t.is(":visible")){b("div",t).css("top",L*-40+"px");L=(L+1)%12}else clearInterval(K)}; -b.fn.fancybox=function(a){if(!b(this).length)return this;b(this).data("fancybox",b.extend({},a,b.metadata?b(this).metadata():{})).unbind("click.fb").bind("click.fb",function(c){c.preventDefault();if(!h){h=true;b(this).blur();o=[];q=0;c=b(this).attr("rel")||"";if(!c||c==""||c==="nofollow")o.push(this);else{o=b("a[rel="+c+"], area[rel="+c+"]");q=o.index(this)}I()}});return this};b.fancybox=function(a,c){var g;if(!h){h=true;g=typeof c!=="undefined"?c:{};o=[];q=parseInt(g.index,10)||0;if(b.isArray(a)){for(var k= -0,C=a.length;ko.length||q<0)q=0;I()}};b.fancybox.showActivity=function(){clearInterval(K);t.show();K=setInterval(Z,66)};b.fancybox.hideActivity=function(){t.hide()};b.fancybox.next=function(){return b.fancybox.pos(p+ -1)};b.fancybox.prev=function(){return b.fancybox.pos(p-1)};b.fancybox.pos=function(a){if(!h){a=parseInt(a);o=l;if(a>-1&&a1){q=a>=l.length?0:l.length-1;I()}}};b.fancybox.cancel=function(){if(!h){h=true;b.event.trigger("fancybox-cancel");N();e.onCancel(o,q,e);h=false}};b.fancybox.close=function(){function a(){u.fadeOut("fast");n.empty().hide();f.hide();b.event.trigger("fancybox-cleanup");j.empty();d.onClosed(l,p,d);l=e=[];p=q=0;d=e={};h=false}if(!(h||f.is(":hidden"))){h= -true;if(d&&false===d.onCleanup(l,p,d))h=false;else{N();b(E.add(z).add(A)).hide();b(j.add(u)).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");j.find("iframe").attr("src",M&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank");d.titlePosition!=="inside"&&n.empty();f.stop();if(d.transitionOut=="elastic"){r=V();var c=f.position();i={top:c.top,left:c.left,width:f.width(),height:f.height()};if(d.opacity)i.opacity=1;n.empty().hide();B.prop=1; -b(B).animate({prop:0},{duration:d.speedOut,easing:d.easingOut,step:T,complete:a})}else f.fadeOut(d.transitionOut=="none"?0:d.speedOut,a)}}};b.fancybox.resize=function(){u.is(":visible")&&u.css("height",b(document).height());b.fancybox.center(true)};b.fancybox.center=function(a){var c,g;if(!h){g=a===true?1:0;c=U();!g&&(f.width()>c[0]||f.height()>c[1])||f.stop().animate({top:parseInt(Math.max(c[3]-20,c[3]+(c[1]-j.height()-40)*0.5-d.padding)),left:parseInt(Math.max(c[2]-20,c[2]+(c[0]-j.width()-40)*0.5- -d.padding))},typeof a=="number"?a:200)}};b.fancybox.init=function(){if(!b("#fancybox-wrap").length){b("body").append(m=b('
'),t=b('
'),u=b('
'),f=b('
'));D=b('
').append('
').appendTo(f); -D.append(j=b('
'),E=b(''),n=b('
'),z=b(''),A=b(''));E.click(b.fancybox.close);t.click(b.fancybox.cancel);z.click(function(a){a.preventDefault();b.fancybox.prev()});A.click(function(a){a.preventDefault();b.fancybox.next()}); -b.fn.mousewheel&&f.bind("mousewheel.fb",function(a,c){if(h)a.preventDefault();else if(b(a.target).get(0).clientHeight==0||b(a.target).get(0).scrollHeight===b(a.target).get(0).clientHeight){a.preventDefault();b.fancybox[c>0?"prev":"next"]()}});b.support.opacity||f.addClass("fancybox-ie");if(M){t.addClass("fancybox-ie6");f.addClass("fancybox-ie6");b('').prependTo(D)}}}; -b.fn.fancybox.defaults={padding:10,margin:40,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.7,overlayColor:"#777",titleShow:true,titlePosition:"float",titleFormat:null,titleFromAlt:false,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing", -easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,enableKeyboardNav:true,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}};b(document).ready(function(){b.fancybox.init()})})(jQuery); \ No newline at end of file diff --git a/tests/lib/fancybox/jquery.mousewheel-3.0.4.pack.js b/tests/lib/fancybox/jquery.mousewheel-3.0.4.pack.js deleted file mode 100644 index cb66588..0000000 --- a/tests/lib/fancybox/jquery.mousewheel-3.0.4.pack.js +++ /dev/null @@ -1,14 +0,0 @@ -/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net) -* Licensed under the MIT License (LICENSE.txt). -* -* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. -* Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. -* Thanks to: Seamus Leahy for adding deltaX and deltaY -* -* Version: 3.0.4 -* -* Requires: 1.2.2+ -*/ - -(function(d){function g(a){var b=a||window.event,i=[].slice.call(arguments,1),c=0,h=0,e=0;a=d.event.fix(b);a.type="mousewheel";if(a.wheelDelta)c=a.wheelDelta/120;if(a.detail)c=-a.detail/3;e=c;if(b.axis!==undefined&&b.axis===b.HORIZONTAL_AXIS){e=0;h=-1*c}if(b.wheelDeltaY!==undefined)e=b.wheelDeltaY/120;if(b.wheelDeltaX!==undefined)h=-1*b.wheelDeltaX/120;i.unshift(a,c,h,e);return d.event.handle.apply(this,i)}var f=["DOMMouseScroll","mousewheel"];d.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a= -f.length;a;)this.addEventListener(f[--a],g,false);else this.onmousewheel=g},teardown:function(){if(this.removeEventListener)for(var a=f.length;a;)this.removeEventListener(f[--a],g,false);else this.onmousewheel=null}};d.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery); \ No newline at end of file diff --git a/tests/lib/firebug-lite/ChangeLog b/tests/lib/firebug-lite/ChangeLog deleted file mode 100644 index eee93da..0000000 --- a/tests/lib/firebug-lite/ChangeLog +++ /dev/null @@ -1,115 +0,0 @@ -== Firebug Lite Change Log == -2009-04-16 Mike Ratcliffe - * firebug-lite.js: Issue 1653: Removed reliability on firebug.liteFilename - Fixed a security issue in IE 7 (introduced via Microsoft Update) - -2009-03-09 Mike Ratcliffe - * firebug-lite.js: Issue 1637: Script missing linebreaks in IE7, line numbers broken in all browsers - -2009-03-09 Mike Ratcliffe - * firebug-lite.js: Added title to popup window - -2009-03-09 Azer Koculu - * firebug-lite.js: Removed getElementPosXY method. - Added toggle method to settings object. - -2009-03-07 Mike Ratcliffe - * firebug-lite.js: Fixed issue 1554: Text nodes could not be accessed through the inspect button. - -2009-03-07 Mike Ratcliffe - * firebug-lite.js: Issue 1566: Added firebug.env.targetWindow variable to hold target window - -2009-03-06 Mike Ratcliffe - * firebug-lite.js: Changed default for firebug.env.detectFirebug to false - Fixed issue 1555: Ajax calls ... we should not assume that the same domain policy is applied, use try catch instead - Fixed Issue 1541: Add XHR tab to Firebug Lite popup window - progress.gif: Corrected mime type - -2009-03-03 Mike Ratcliffe - * firebug-lite.js, firebug-lite.css, progress.gif: Fixed Issue 1544: Lite settings menu should have a "processing" gif - -2009-02-21 Mike Ratcliffe - * firebug-lite.js: Fixed Issue 1542: FBLite F12 etc should dock the popup instead of hiding the panel - -2009-02-21 Mike Ratcliffe - * firebug-lite.js, firebug-lite.css: - o Issue 1513 ... added: - - Settings dialog - - Settings storage cookie (stores settings, panel height, popup window positions etc.) - - firebug.env: - openInPopup - popupTop - popupLeft - popupWidth - popupHeight - o Various popup window bugfixes and performance improvements - -2009-02-21 Mike Ratcliffe - * firebug-lite.js, firebug-lite.css, firebug_logo.png: Issue 1503: FBLite should have a visible sign it is running when starting hidden. - Added FBLite icon when hidden and firebug.env.showIconWhenHidden (default true). - -2009-02-18 Mike Ratcliffe - * firebug-lite.js: Fixed issue 1086 - FBLite can now be used locally over HTTPS if firebug.env.css is set. - -2009-02-17 Mike Ratcliffe - * firebug-lite.js: Fixed problem with issue 1481 - A DIV was created instead of an IFRAME so the shield was ineffective. - -2009-02-14 Mike Ratcliffe - * firebug-lite.js: Issue 1487 - Added firebug.env.liteFilename ... this allows for the renaming of the FBLite script for use in popup windows. - -2009-02-12 Azer Koculu - * minifier.py, jsmin.py, minify: Added minifier library and compressing scripts. - -2009-02-12 Mike Ratcliffe - * firebug-lite.js: Corrected 2 syntax errors - -2009-02-11 Mike Ratcliffe - * firebug-lite.js: Issue 1400 - firebug.env.override is now false by default ... I have also added - two methods to make it easier for the user to control the console: - firebug.overrideConsole() & firebug.restoreConsole() - -2009-02-09 Mike Ratcliffe - * firebug-lite.js: Issue 1400 - Re-implemented firebug.env.override. Default is now true ... it can only be manually changed in FBLite code. - The reason this is needed is because a number of browsers have a window.console object. - -2009-02-08 Mike Ratcliffe - * firebug-lite.js: Issue 1406 - Added firebug.env.hideDOMFunctions to allow hiding of DOM functions in the DOM tab. - -2009-02-06 Mike Ratcliffe - * firebug-lite.js: Removed firebug.env.override to prevent problems when override is set in FF3 where window.console - is a getter and allow more control over initialization. - * firebug-lite.js: Refactored code to allow firebug.env.detectFirebug to be set from user code - * firebug-lite.js: Moved console initialization code inside of the Firebug object to remove some global variables - * firebug-lite.js & firebug-lite.css: Fixed Issue 1348 - String, Date and Boolean objects should be displayed similar - to their primitive counterparts - * firebug-lite.js & firebug-lite.css: Fixed Issue 1023 - Elements such as Flash in iframes and dropdowns in IE bleed through FBLite, - I have put an iframe 'shield' behind FBLite to prevent this - * Updated mime-types for all FBLite SVN files - -2009-02-05 Mike Ratcliffe - * firebug-lite.js: Added firebug.env.detectFirebug to prevent FBLite opening when Firebug is enabled (actually the Firebug Console). - To run FBLite and Firebug at the same time it is now necessary to change the value of detectFirebug directly in firebug-lite.js - * Fixed multiple console initialization and override issues - -2009-02-05 Azer Koculu - * firebug-lite.css: mime-type property has been set to "text/css". - -2009-02-04 Azer Koculu - * firebug-lite.js: Changed default css url getfirebug.com to fbug.google.com - * firebug-lite-compressed.js: It was unnecesseary, removed. - -2009-02-02 Azer Koculu - * Copied latest source to googlecode repository. - -2009-01-31 Mike Ratcliffe - * firebug-lite.js: Added extra hotkeys to show / hide FBLite: - F12, (CTRL|CMD)+SHIFT+L, SHIFT+ENTER - * firebug-lite.js: Added console.firebug command to show FBLite version number - * firebug-lite.js: Fixed problem with Open in New Window in Safari - * firebug-lite.js: Added debug="true/false" to show or hide FBLite on startup - -2009-01-01 Mike Ratcliffe - * firebug-lite.js & firebug-lite.css: Added Open in New Window - * firebug-lite.js: Fixed: HTML Inspect only worked in 1 very specific situation ... it now works in all situations - * firebug-lite.js: Fixed: Permission was occasionally denied to inspect CSS or scripts when it should not have been - * firebug-lite.js: Fixed: Domain check now works with domain names containing - and _ diff --git a/tests/lib/firebug-lite/errorIcon.png b/tests/lib/firebug-lite/errorIcon.png deleted file mode 100644 index 2d75261..0000000 Binary files a/tests/lib/firebug-lite/errorIcon.png and /dev/null differ diff --git a/tests/lib/firebug-lite/firebug-lite-compressed.js b/tests/lib/firebug-lite/firebug-lite-compressed.js deleted file mode 100644 index 8caddf8..0000000 --- a/tests/lib/firebug-lite/firebug-lite-compressed.js +++ /dev/null @@ -1,124 +0,0 @@ -var firebug={version:[1.23,20090506],el:{},env:{"css":"http://getfirebug.com/releases/lite/1.2/firebug-lite.css","debug":false,"detectFirebug":true,"dIndex":"console","height":295,"hideDOMFunctions":false,"openInPopup":false,"override":false,"ml":false,"showIconWhenHidden":true,"popupTop":1,"popupLeft":1,"popupWidth":undefined,"popupHeight":undefined,"textNodeChars":0},internal:{"cache":{},"extConsole":null,"init":false,"isPopup":false,"liteFilename":null,"minimized":false,"popupWin":null,"targetWindow":undefined},initConsole:function(){var command;try{if((!window.console||(window.console&&!window.console.firebug))||(firebug.env.override&&!(/Firefox\/3/i.test(navigator.userAgent)))){window.console={"provider":"Firebug Lite"};for(command in firebug.d.console.cmd){window.console[command]=firebug.lib.util.Curry(firebug.d.console.run,window,command);};} -window.onerror=function(_message,_file,_line){firebug.d.console.run('error',firebug.lib.util.String.format('{0} ({1},{2})',_message,firebug.getFileName(_file),_line));};}catch(e){}},overrideConsole:function(){with(firebug){env.override=true;try{internal.extConsole=window.console;}catch(e){} -initConsole();}},restoreConsole:function(){with(firebug){if(internal.extConsole){env.override=false;try{window.console=internal.extConsole;}catch(e){} -internal.extConsole=null;}}},init:function(_css){var i,cssLoaded=false,iconTitle="Click here or press F12, (CTRL|CMD)+SHIFT+L or SHIFT+ENTER to show Firebug Lite. CTRL|CMD click this icon to hide it.";with(firebug){if(document.getElementsByTagName('html')[0].attributes.getNamedItem('debug')){env.debug=document.getElementsByTagName('html')[0].attributes.getNamedItem('debug').nodeValue!=="false";} -if(internal.isPopup){env.openInPopup=false;internal.targetWindow=window.opener;env.popupWidth=window.opener.firebug.env.popupWidth||window.opener.firebug.lib.util.GetViewport().width;env.popupHeight=window.opener.firebug.env.popupHeight||window.opener.firebug.lib.util.GetViewport().height;}else{internal.targetWindow=window;env.popupWidth=env.popupWidth||lib.util.GetViewport().width;env.popupHeight=env.popupHeight||lib.util.GetViewport().height;} -settings.readCookie();if(internal.init||(env.detectFirebug&&window.console&&window.console.firebug)){return;} -for(i=0;i>>"));el.left.console.input=new lib.element("INPUT").attribute.set("type","text").attribute.addClass("Input").event.addListener("keydown",listen.consoleTextbox).insert(new lib.element("DIV").attribute.addClass("InputContainer").insert(el.left.console.container));el.right.console={};el.right.console.container=new lib.element("DIV").attribute.addClass("Console Container").insert(el.right.container);el.right.console.mlButton=new lib.element("A").attribute.addClass("MLButton CloseML").event.addListener("click",d.console.toggleML).insert(el.right.console.container);el.right.console.input=new lib.element("TEXTAREA").attribute.addClass("Input").insert(el.right.console.container);el.right.console.input.event.addListener("keydown",lib.util.Curry(tab,window,el.right.console.input.element));el.right.console.run=new lib.element("A").attribute.addClass("Button").event.addListener("click",listen.runMultiline).update("Run").insert(el.right.console.container);el.right.console.clear=new lib.element("A").attribute.addClass("Button").event.addListener("click",lib.util.Curry(d.clean,window,el.right.console.input)).update("Clear").insert(el.right.console.container);el.button.console={};el.button.console.container=new lib.element("DIV").attribute.addClass("ButtonSet").insert(el.button.container);el.button.console.clear=new lib.element("A").attribute.addClass("Button").event.addListener("click",d.console.clear).update("Clear").insert(el.button.console.container);el.left.html={};el.left.html.container=new lib.element("DIV").attribute.addClass("HTML").insert(el.left.container);el.right.html={};el.right.html.container=new lib.element("DIV").attribute.addClass("HTML Container").insert(el.right.container);el.right.html.nav={};el.right.html.nav.container=new lib.element("DIV").attribute.addClass("Nav").insert(el.right.html.container);el.right.html.nav.computedStyle=new lib.element("A").attribute.addClass("Tab Selected").event.addListener("click",lib.util.Curry(d.html.navigate,firebug,"computedStyle")).update("Computed Style").insert(el.right.html.nav.container);el.right.html.nav.dom=new lib.element("A").attribute.addClass("Tab").event.addListener("click",lib.util.Curry(d.html.navigate,firebug,"dom")).update("DOM").insert(el.right.html.nav.container);el.right.html.content=new lib.element("DIV").attribute.addClass("Content").insert(el.right.html.container);el.button.html={};el.button.html.container=new lib.element("DIV").attribute.addClass("ButtonSet HTML").insert(el.button.container);el.left.css={};el.left.css.container=new lib.element("DIV").attribute.addClass("CSS").insert(el.left.container);el.right.css={};el.right.css.container=new lib.element("DIV").attribute.addClass("CSS Container").insert(el.right.container);el.right.css.nav={};el.right.css.nav.container=new lib.element("DIV").attribute.addClass("Nav").insert(el.right.css.container);el.right.css.nav.runCSS=new lib.element("A").attribute.addClass("Tab Selected").update("Run CSS").insert(el.right.css.nav.container);el.right.css.mlButton=new lib.element("A").attribute.addClass("MLButton CloseML").event.addListener("click",d.console.toggleML).insert(el.right.css.container);el.right.css.input=new lib.element("TEXTAREA").attribute.addClass("Input").insert(el.right.css.container);el.right.css.input.event.addListener("keydown",lib.util.Curry(firebug.tab,window,el.right.css.input.element));el.right.css.run=new lib.element("A").attribute.addClass("Button").event.addListener("click",listen.runCSS).update("Run").insert(el.right.css.container);el.right.css.clear=new lib.element("A").attribute.addClass("Button").event.addListener("click",lib.util.Curry(d.clean,window,el.right.css.input)).update("Clear").insert(el.right.css.container);el.button.css={};el.button.css.container=new lib.element("DIV").attribute.addClass("ButtonSet CSS").insert(el.button.container);el.button.css.selectbox=new lib.element("SELECT").event.addListener("change",listen.cssSelectbox).insert(el.button.css.container);el.left.scripts={};el.left.scripts.container=new lib.element("DIV").attribute.addClass("Scripts").insert(el.left.container);el.right.scripts={};el.right.scripts.container=new lib.element("DIV").attribute.addClass("Scripts Container").insert(el.right.container);el.button.scripts={};el.button.scripts.container=new lib.element("DIV").attribute.addClass("ButtonSet Scripts").insert(el.button.container);el.button.scripts.selectbox=new lib.element("SELECT").event.addListener("change",listen.scriptsSelectbox).insert(el.button.scripts.container);el.button.scripts.lineNumbers=new lib.element("A").attribute.addClass("Button").event.addListener("click",d.scripts.toggleLineNumbers).update("Show Line Numbers").insert(el.button.scripts.container);el.left.dom={};el.left.dom.container=new lib.element("DIV").attribute.addClass("DOM").insert(el.left.container);el.right.dom={};el.right.dom.container=new lib.element("DIV").attribute.addClass("DOM Container").insert(el.right.container);el.button.dom={};el.button.dom.container=new lib.element("DIV").attribute.addClass("ButtonSet DOM").insert(el.button.container);el.button.dom.label=new lib.element("LABEL").update("Object Path:").insert(el.button.dom.container);el.button.dom.textbox=new lib.element("INPUT").event.addListener("keydown",listen.domTextbox).update(internal.isPopup?"window.opener":"window").insert(el.button.dom.container);el.left.str={};el.left.str.container=new lib.element("DIV").attribute.addClass("STR").insert(el.left.container);el.right.str={};el.right.str.container=new lib.element("DIV").attribute.addClass("STR").insert(el.left.container);el.button.str={};el.button.str.container=new lib.element("DIV").attribute.addClass("ButtonSet XHR").insert(el.button.container);el.button.str.watch=new lib.element("A").attribute.addClass("Button").event.addListener("click",lib.util.Curry(d.navigate,window,"xhr")).update("Back").insert(el.button.str.container);el.left.xhr={};el.left.xhr.container=new lib.element("DIV").attribute.addClass("XHR").insert(el.left.container);el.right.xhr={};el.right.xhr.container=new lib.element("DIV").attribute.addClass("XHR").insert(el.left.container);el.button.xhr={};el.button.xhr.container=new lib.element("DIV").attribute.addClass("ButtonSet XHR").insert(el.button.container);el.button.xhr.label=new lib.element("LABEL").update("XHR Path:").insert(el.button.xhr.container);el.button.xhr.textbox=new lib.element("INPUT").event.addListener("keydown",listen.xhrTextbox).insert(el.button.xhr.container);el.button.xhr.watch=new lib.element("A").attribute.addClass("Button").event.addListener("click",listen.addXhrObject).update("Watch").insert(el.button.xhr.container);el.settings={};el.settings.container=new lib.element("DIV").child.add(new lib.element("DIV").attribute.addClass("Header").child.add(new lib.element().attribute.addClass("Title").update('Firebug Lite Settings'))).attribute.addClass("SettingsDiv").insert(el.main);el.settings.content=new lib.element("DIV").attribute.addClass("Content").insert(el.settings.container);el.settings.progressDiv=new lib.element("DIV").attribute.addClass("ProgressDiv").insert(el.settings.content);el.settings.progress=new lib.element("DIV").attribute.addClass("Progress").insert(el.settings.progressDiv);el.settings.cbxDebug=new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content);el.settings.content.child.add(document.createTextNode("Start visible"));new lib.element("BR").insert(el.settings.content);el.settings.cbxDetectFirebug=new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content);el.settings.content.child.add(document.createTextNode("Hide when Firebug active"));new lib.element("BR").insert(el.settings.content);el.settings.cbxHideDOMFunctions=new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content);el.settings.content.child.add(document.createTextNode("Hide DOM functions"));new lib.element("BR").insert(el.settings.content);el.settings.cbxOverride=new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content);el.settings.content.child.add(document.createTextNode("Override window.console"));new lib.element("BR").insert(el.settings.content);el.settings.cbxShowIcon=new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content);el.settings.content.child.add(document.createTextNode("Show icon when hidden"));new lib.element("BR").insert(el.settings.content);el.settings.cbxOpenInPopup=new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content);el.settings.content.child.add(document.createTextNode("Open in popup"));new lib.element("BR").insert(el.settings.content);el.settings.content.child.add(document.createTextNode("Trim textnode to "));el.settings.textNodeChars=new lib.element("INPUT").attribute.set("type","text").attribute.addClass("SettingsTextbox").insert(el.settings.content);el.settings.content.child.add(document.createTextNode(" chars"));el.settings.buttonDiv=new lib.element("DIV").insert(el.settings.content);el.settings.buttonLeftDiv=new lib.element("DIV").attribute.addClass("ButtonsLeft").insert(el.settings.buttonDiv);el.settings.resetButton=new lib.element("INPUT").attribute.set("type","button").update("Reset").event.addListener("click",settings.reset).insert(el.settings.buttonLeftDiv);el.settings.buttonRightDiv=new lib.element("DIV").attribute.addClass("ButtonsRight").insert(el.settings.buttonDiv);el.settings.cancelButton=new lib.element("INPUT").attribute.set("type","button").update("Cancel").event.addListener("click",settings.hide).insert(el.settings.buttonRightDiv);el.settings.buttonRightDiv.child.add(document.createTextNode(" "));el.settings.saveButton=new lib.element("INPUT").attribute.set("type","button").update("Save").event.addListener("click",settings.saveClicked).insert(el.settings.buttonRightDiv);lib.util.AddEvent(document,"mousemove",listen.mouse)("mousemove",win.resizer.resize)("mouseup",win.resizer.stop)("keydown",listen.keyboard);internal.init=true;for(var i=0,len=d.console.cache.length;i0){fe.textNodeChars=elSet.textNodeChars.element.value;}else{fe.textNodeChars=0;} -if(firebug.internal.isPopup){window.opener.firebug.env=firebug.lib.util.Hash.clone(fe);} -with(firebug){settings.writeCookie();settings.hide();win.refreshDOM();d.html.openHtmlTree();if(internal.isPopup){with(opener.firebug){win.refreshDOM();d.html.openHtmlTree();}}}},reset:function(){var exdate=new Date();exdate.setTime(exdate.getTime()-1);document.cookie='FBLiteSettings=;expires='+exdate.toGMTString();location.reload(true);},readCookie:function(){var i,cookieArr,valueArr,item,value;with(firebug.env){if(firebug.internal.targetWindow.document.cookie.length>0){cookieArr=firebug.internal.targetWindow.document.cookie.split('; ');for(i=0;i-1){scriptPath=scripts[i].src;break;}} -if(scriptPath){done=false;script=fi.popupWin.document.createElement('script');script.type='text/javascript';script.src=scriptPath;script[firebug.lib.env.ie?"onreadystatechange":"onload"]=function(){if(!done&&(!firebug.lib.env.ie||this.readyState=="complete"||this.readyState=="loaded")){done=true;if(fi.popupWin.firebug){with(fi.popupWin.firebug){internal.isPopup=true;env.css=fe.css;init();el.button.dock.environment.addStyle({"display":"block"});el.button.newWindow.environment.addStyle({"display":"none"});}}}};if(!done&&firebug.lib.env.webkit){interval=setInterval(function(){if(firebug.internal.popupWin.firebug){clearInterval(interval);done=true;with(firebug.internal.popupWin.firebug){internal.isPopup=true;env.css=fe.css;init();el.button.dock.environment.addStyle({"display":"block"});el.button.newWindow.environment.addStyle({"display":"none"});}}},10);};if(!firebug.lib.env.ie){firebug.internal.popupWin.document.write('Firebug Lite - '+document.location.href+'');} -if(!done){firebug.internal.popupWin.document.getElementsByTagName('head')[0].appendChild(script);firebug.el.main.environment.addStyle({"display":"none"});firebug.el.mainiframe.environment.addStyle({"display":"none"});}}else{alert("Unable to detect the following script \""+firebug.internal.liteFilename+"\" ... if the script has been renamed then please set the value of firebug.internal.liteFilename to reflect this change");firebug.internal.popupWin.close();firebug.internal.popupWin=null;}}}},dock:function(){with(opener.firebug){internal.popupWin=null;el.main.environment.addStyle({"display":"block"});el.mainiframe.environment.addStyle({"display":"block"});settings.readCookie();window.close();};},unload:function(){with(firebug){if(internal.isPopup){win.dock();}else if(internal.popupWin){internal.popupWin.close();}}},fitToPopup:function(){with(firebug){var viewport=lib.util.GetViewport(window);win.setHeight((window.innerHeight||viewport.height)-38);el.main.environment.addStyle({"width":(viewport.width)+"px"});el.mainiframe.environment.addStyle({"width":(viewport.width)+"px"});}},resizer:{y:[],enabled:false,start:function(_event){with(firebug){if(internal.minimized)return;win.resizer.y=[el.main.element.offsetHeight,_event.clientY];if(lib.env.ie6){win.resizer.y[3]=parseInt(el.main.environment.getPosition().top);} -win.resizer.enabled=true;}},resize:function(_event){with(firebug){if(!win.resizer.enabled)return;win.resizer.y[2]=(win.resizer.y[0]+(win.resizer.y[1]-_event.clientY));el.main.environment.addStyle({"height":win.resizer.y[2]+"px"});el.mainiframe.environment.addStyle({"height":win.resizer.y[2]+"px"});if(lib.env.ie6){el.main.environment.addStyle({"top":win.resizer.y[3]-(win.resizer.y[1]-_event.clientY)+"px"});el.mainiframe.environment.addStyle({"top":win.resizer.y[3]-(win.resizer.y[1]-_event.clientY)+"px"});}}},stop:function(_event){with(firebug){if(win.resizer.enabled){win.resizer.enabled=false;win.setHeight(win.resizer.y[2]-35);}}}},setHeight:function(_height){with(firebug){env.height=_height;el.left.container.environment.addStyle({"height":_height+"px"});el.right.container.environment.addStyle({"height":_height+"px"});el.main.environment.addStyle({"height":_height+38+"px"});el.mainiframe.environment.addStyle({"height":_height+38+"px"});win.refreshSize();el.left.console.monitor.element.parentNode.style.height=_height-47+"px";el.left.console.mlButton.environment.addStyle({"top":_height+19+"px"});el.right.console.mlButton.environment.addStyle({"top":_height+19+"px"});el.right.console.input.environment.addStyle({"height":_height-29+"px"});el.left.html.container.environment.addStyle({"height":_height-23+"px"});el.right.html.content.environment.addStyle({"height":_height-23+"px"});el.left.css.container.environment.addStyle({"height":_height-33+"px"});el.right.css.input.environment.addStyle({"height":_height-55+"px"});el.left.scripts.container.environment.addStyle({"height":_height-23+"px"});el.left.dom.container.environment.addStyle({"height":_height-31+"px"});el.left.xhr.container.environment.addStyle({"height":_height-32+"px"});el.left.str.container.environment.addStyle({"height":_height-32+"px"});}},refreshDOM:function(){with(firebug){d.dom.open(eval(el.button.dom.textbox.environment.getElement().value),el.left.dom.container);if(d.html.nIndex=="dom"){firebug.d.html.navigate("dom")}}},refreshSize:function(){with(firebug){if(!internal.init) -return;var dim=lib.util.GetViewport();el.main.environment.addStyle({"width":dim.width+"px"});el.mainiframe.environment.addStyle({"width":dim.width+"px"});if(lib.env.ie6) -win.setVerticalPosition(dim);}},setVerticalPosition:function(_dim,_event){with(firebug){var dim=_dim||lib.util.GetViewport();el.main.environment.addStyle({"top":dim.height-el.main.environment.getSize().offsetHeight+Math.max(document.documentElement.scrollTop,document.body.scrollTop)+"px"});el.mainiframe.environment.addStyle({"top":dim.height-el.main.environment.getSize().offsetHeight+Math.max(document.documentElement.scrollTop,document.body.scrollTop)+"px"});}}},d:{clean:function(_element){with(firebug){_element.update("");}},console:{addLine:function(){with(firebug){return new lib.element("DIV").attribute.addClass("Row").insert(el.left.console.monitor);}},cache:[],clear:function(){with(firebug){d.clean(el.left.console.monitor);d.console.cache=[];}},formatArgs:function(){with(firebug){var content=[];for(var i=0,len=arguments.length;i>> "+_cmd);d.console.addLine().update(d.highlight(_text,false,false,true));d.console.scroll();}},printException:function(_exception){with(firebug){var message=_exception.description||_exception.message||_exception;if(_exception.fileName){message+=' ('+(_exception.name&&(_exception.name+', ')||'')+getFileName(_exception.fileName)+', '+_exception.lineNumber+')';} -d.console.addLine().attribute.addClass("Error").update("Error: "+message,true);}},eval:function(_cmd){var result;with(firebug){if(_cmd.length==0) -return;el.left.console.input.environment.getElement().value="";d.console.historyIndex=d.console.history.push(_cmd);try{if(_cmd==='console.firebug'){d.console.addLine().attribute.addClass("Arrow").update(firebug.version);}else{result=eval.call(window,_cmd);d.console.print(_cmd,result);}}catch(e){d.console.addLine().attribute.addClass("Arrow").update(">>> "+_cmd);d.console.printException(e);} -d.console.scroll();}},scroll:function(){with(firebug){el.left.console.monitor.environment.getElement().parentNode.scrollTop=Math.abs(el.left.console.monitor.environment.getSize().offsetHeight-(el.left.console.monitor.element.parentNode.offsetHeight-11));}},run:function(_command){with(firebug){if(!internal.init){d.console.cache.push({"command":_command,"arg":Array.prototype.slice.call(arguments,1)});}else{d.console.cmd[_command].apply(window,Array.prototype.slice.call(arguments,1));}}},toggleML:function(){with(firebug){var open=!env.ml;env.ml=!env.ml;d.navigateRightColumn("console",open);el[open?"left":"right"].console.mlButton.environment.addStyle({display:"none"});el[!open?"left":"right"].console.mlButton.environment.addStyle({display:"block"});el.left.console.mlButton.attribute[(open?"add":"remove")+"Class"]("CloseML");}},countMap:{},timeMap:{},cmd:{log:function(_value){with(firebug){var args=d.console.formatArgs.apply(window,arguments);d.console.addLine().attribute.addClass("Log").update(args);d.console.scroll();}},warn:function(_value){with(firebug){var args=d.console.formatArgs.apply(window,arguments);d.console.addLine().attribute.addClass("Warn").update(args);d.console.scroll();}},info:function(_value){with(firebug){var args=d.console.formatArgs.apply(window,arguments);d.console.addLine().attribute.addClass("Info").update(args);d.console.scroll();}},debug:function(_value){with(firebug){var args=d.console.formatArgs.apply(window,arguments);d.console.addLine().attribute.addClass("Debug").update(args);d.console.scroll();}},error:function(_value){with(firebug){var args=d.console.formatArgs.apply(window,arguments);d.console.addLine().attribute.addClass("Error").update(args);d.console.scroll();}},trace:function(_value){with(firebug){var stackAmt=3,f=arguments.caller,isArray=lib.util.IsArray(f);if((!isArray&&f)||(isArray&&f.length>0)){d.console.addLine().attribute.addClass("Arrow").update(">>> console.trace(stack)");for(var i=0;i>> console.dir("+_value+")");d.dom.open(_value,d.console.addLine());}},dirxml:function(){with(firebug){d.console.cmd.log.apply(this,arguments);}},time:function(_name){with(firebug){d.console.timeMap[_name]=new Date().getTime();}},timeEnd:function(_name){with(firebug){if(_name in d.console.timeMap){var delta=new Date().getTime()-d.console.timeMap[_name],args=d.console.formatArgs.apply(window,[_name+":",delta+"ms"]);d.console.addLine().attribute.addClass("log").update(args);delete d.console.timeMap[_name];}}},count:function(_name){with(firebug){if(!d.console.countMap[_name]) -d.console.countMap[_name]=0;d.console.countMap[_name]++;d.console.cmd.log.apply(window,[_name,d.console.countMap[_name]]);}},group:function(){with(firebug){d.console.cmd.log.apply(this,["console.group is not supported"]);}},groupEnd:function(){with(firebug){d.console.cmd.log.apply(this,["console.groupEnd is not supported"]);}},profile:function(){with(firebug){d.console.cmd.log.apply(this,["console.profile is not supported"]);}},profileEnd:function(){with(firebug){d.console.cmd.log.apply(this,["console.profileEnd is not supported"]);}}}},css:{index:-1,open:function(_index){with(firebug){var item=internal.targetWindow.document.styleSheets[_index],uri=item.href;try{var rules=item[lib.env.ie?"rules":"cssRules"],str="";for(var i=0;iAccess to restricted URI denied";} -el.left.css.container.update(str);}},printRule:function(_selector,_css,_layer){with(firebug){var str="
"+_selector+" {
";for(var i=0,len=_css.length;i"+item.replace(/(.+\:)(.+)/,"$1$2;")+"
";} -str+="
}
";return str;}},refresh:function(){with(firebug){el.button.css.selectbox.update("");var collection=internal.targetWindow.document.styleSheets;for(var i=0,len=collection.length;iundefined");}else{result.push("null");}}else if(vtype=="regexp"){result.push(""+_value+"");}else if(vtype=="date"){result.push("'"+_value+"'");}else if(vtype=="boolean"||vtype=="number"){result.push(""+_value+"");}else if(vtype=="function"){result.push("function()");}else{result.push("\""+(!_inObject&&!_inArray?_value:_value.substring(0,35)+(_value.length>35?" ...":"")).replace(/\n/g,"\\n").replace(/\s/g," ").replace(/>/g,">").replace(/");}} -else if(isElement){if(_value.nodeType==3) -result.push(d.highlight(_value.nodeValue));else if(_inObject){result.push(""+_value.nodeName.toLowerCase()+"");}else{result.push("");if(_inArray){result.push(_value.nodeName.toLowerCase());if(_value.getAttribute){if(_value.getAttribute&&_value.getAttribute("id")) -result.push("#"+_value.getAttribute("id")+"");var elClass=_value.getAttribute(lib.env.ie&&!lib.env.ie8?"className":"class")||"";result.push(!elClass?"":"."+elClass.split(" ")[0]+"");} -result.push("");}else{result.push("<"+_value.nodeName.toLowerCase());if(_value.attributes){for(var i=0,len=_value.attributes.length;i"+item.nodeName+"=\""+item.nodeValue+"\"");}} -result.push(">");}}} -else if(isArray||isHash){if(isArray){if(_inObject){result.push("["+_value.length+"]");}else{result.push("[ ");for(var i=0,len=_value.length;i3){result.push(", "+(len-4)+" More...");break;} -result.push((i>0?", ":"")+d.highlight(_value[i],false,true,true));} -result.push(" ]");}}else if(_inObject){result.push("Object");}else{result.push("Object");var i=0;for(var key in _value){var value=_value[key];if((_inObject||_inArray)&&i>3){result.push(" More...");break;} -result.push(" "+key+"="+d.highlight(value,true));i++;} -result.push("");}}else{result.push([""+_value+""]);}}catch(e){result.push("..");} -return result.join("");}},html:{nIndex:"computedStyle",current:null,highlight:function(_element,_clear,_event){with(firebug){if(_element.firebugElement){return;} -if(_clear){internal.targetWindow.firebug.el.bgInspector.environment.addStyle({"display":"none"});return;} -d.inspector.inspect(_element,true);}},inspect:function(_element){var map=[],parentLayer,t,link,tagName,searchEl,parent=_element;while(parent){map.push(parent);if(parent==firebug.internal.targetWindow.document.body)break;parent=parent.parentNode;} -map=map.reverse();with(firebug){if(env.dIndex!="html"){internal.targetWindow.firebug.d.navigate("html");} -internal.targetWindow.firebug.d.inspector.toggle(false);for(t=0;t<html>").insert(parent);};for(var i=0;i<=len;i++){if(i==len){new lib.element("A").attribute.addClass("Block").update("</"+element.nodeName.toLowerCase()+">").insert(container);break;} -var item=element.childNodes[i];if(item.nodeType!=Node.TEXT_NODE&&!item.getAttribute('firebugIgnore')){var container=new lib.element().attribute.addClass("Block").insert(parent),link=new lib.element("A").attribute.addClass("Link").insert(container),spacer=new lib.element("SPAN").attribute.addClass("Spacer").update(" ").insert(link),html=new lib.element("SPAN").attribute.addClass("Content").update(d.highlight(item)).insert(link),subContainer=new lib.element("DIV").attribute.addClass("SubContainer").insert(container),view;if(item.nodeType==Node.COMMENT_NODE){continue;} -view=lib.util.Element.getView(item);link.event.addListener("click",lib.util.Curry(d.html.openHtmlTree,window,item,subContainer,false));link.event.addListener("mouseover",lib.util.Curry(d.html.highlight,window,item,false));link.event.addListener("mouseout",lib.util.Curry(d.html.highlight,window,item,true));returnParentVal=returnParentEl==item?subContainer:returnParentVal;if(d.html.current==null&&item==document.body){link.attribute.addClass("Selected");link.attribute.addClass("Parent");d.html.current=[item,link];d.html.openHtmlTree(item,subContainer);} -if(element.nodeName!="HEAD"&&element!=document.documentElement&&(view.visibility=="hidden"||view.display=="none")){container.attribute.addClass("Unvisible");};if(item.childNodes){var childLen=item.childNodes.length;if(childLen==1&&item.childNodes[0].nodeType==Node.TEXT_NODE){if(isFinite(env.textNodeChars)&&parseInt(env.textNodeChars)>0){html.child.add(document.createTextNode(item.childNodes[0].nodeValue.substring(0,env.textNodeChars)));}else{html.child.add(document.createTextNode(item.childNodes[0].nodeValue));} -html.child.add(document.createTextNode(""));continue;} -else if(childLen>0){link.attribute.addClass("Parent");}}}};return returnParentVal;}},openProperties:function(){with(firebug){var index=d.html.nIndex;var node=d.html.current[0];d.clean(el.right.html.content);var str="";switch(index){case"computedStyle":var property=["opacity","filter","azimuth","background","backgroundAttachment","backgroundColor","backgroundImage","backgroundPosition","backgroundRepeat","border","borderCollapse","borderColor","borderSpacing","borderStyle","borderTop","borderRight","borderBottom","borderLeft","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderWidth","bottom","captionSide","clear","clip","color","content","counterIncrement","counterReset","cue","cueAfter","cueBefore","cursor","direction","display","elevation","emptyCells","cssFloat","font","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","height","left","letterSpacing","lineHeight","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginTop","marginRight","marginBottom","marginLeft","markerOffset","marks","maxHeight","maxWidth","minHeight","minWidth","orphans","outline","outlineColor","outlineStyle","outlineWidth","overflow","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","page","pageBreakAfter","pageBreakBefore","pageBreakInside","pause","pauseAfter","pauseBefore","pitch","pitchRange","playDuring","position","quotes","richness","right","size","speak","speakHeader","speakNumeral","speakPunctuation","speechRate","stress","tableLayout","textAlign","textDecoration","textIndent","textShadow","textTransform","top","unicodeBidi","verticalAlign","visibility","voiceFamily","volume","whiteSpace","widows","width","wordSpacing","zIndex"].sort();var view=document.defaultView?document.defaultView.getComputedStyle(node,null):node.currentStyle;for(var i=0,len=property.length;i
"+item+"
"+d.highlight(view[item])+"
";} -el.right.html.content.update(str);break;case"dom":d.dom.open(node,el.right.html.content,lib.env.ie);break;}}}},inspector:{enabled:false,el:null,inspect:function(_element,_bgInspector){with(firebug){var pos=internal.targetWindow.firebug.lib.util.Element.getPosition(_element);internal.targetWindow.firebug.el[_bgInspector&&"bgInspector"||"borderInspector"].environment.addStyle({"width":_element.offsetWidth+"px","height":_element.offsetHeight+"px","top":pos.offsetTop-(_bgInspector?0:2)+"px","left":pos.offsetLeft-(_bgInspector?0:2)+"px","display":"block"});if(!_bgInspector){d.inspector.el=_element;}};},toggle:function(_absoluteValue,_event){with(firebug){if(_absoluteValue==d.inspector.enabled) -return;d.inspector.enabled=_absoluteValue!=undefined&&!_absoluteValue.clientX?_absoluteValue:!d.inspector.enabled;el.button.inspect.attribute[(d.inspector.enabled?"add":"remove")+"Class"]("Enabled");if(d.inspector.enabled==false){el.borderInspector.environment.addStyle({"display":"none"});d.inspector.el=null;}else if(lib.env.dIndex!="html"){if(internal.popupWin){internal.popupWin.firebug.d.navigate("html");}else{d.navigate("html");}}}}},scripts:{index:-1,lineNumbers:false,open:function(_index){with(firebug){d.scripts.index=_index;el.left.scripts.container.update("");var i=0,script=document.getElementsByTagName("script")[_index],uri=script.src||document.location.href,source;try{if(uri!=document.location.href){source=internal.cache[uri]||lib.xhr.get(uri).responseText;internal.cache[uri]=source;}else{source=script.innerHTML;} -source=source.replace(/<|>/g,function(_ch){return({"<":"<",">":">"})[_ch];});if(d.scripts.lineNumbers){source=source.replace(/(^)|\n/g,function(_ch){i++;return"\n"+i+" ";});} -el.left.scripts.container.update(source);}catch(e){el.left.scripts.container.child.add(new lib.element("DIV").attribute.addClass("CodeContainer").update("Access to restricted URI denied"));}}},toggleLineNumbers:function(){with(firebug){d.scripts.lineNumbers=!d.scripts.lineNumbers;el.button.scripts.lineNumbers.attribute[(d.scripts.lineNumbers?"add":"remove")+"Class"]("Enabled");d.scripts.open(d.scripts.index);}},refresh:function(){with(firebug){el.button.scripts.selectbox.clean();var collection=internal.targetWindow.document.getElementsByTagName("script");for(var i=0,len=collection.length;i"))}}},xhr:{objects:[],addObject:function(){with(firebug){for(var i=0,len=arguments.length;i0&&_object[0]!=undefined&&_object[len-1]!=undefined){return true;}else{for(var key in _object){if(key!="item"&&key!="length"&&key!="setNamedItemNS"&&key!="setNamedItem"&&key!="getNamedItem"&&key!="removeNamedItem"&&key!="getNamedItemNS"&&key!="removeNamedItemNS"&&key!="tags"){return false;}} -return true};},IsHash:function(_object){return _object&&typeof _object=="object"&&(_object==window||_object instanceof Object)&&!_object.nodeName&&!pi.util.IsArray(_object)},Init:[],AddEvent:function(_element,_eventName,_fn,_useCapture){_element[pi.env.ie?"attachEvent":"addEventListener"]((pi.env.ie?"on":"")+_eventName,_fn,_useCapture||false);return pi.util.Curry(pi.util.AddEvent,this,_element);},RemoveEvent:function(_element,_eventName,_fn,_useCapture){_element[pi.env.ie?"detachEvent":"removeEventListener"]((pi.env.ie?"on":"")+_eventName,_fn,_useCapture||false);return pi.util.Curry(pi.util.RemoveEvent,this,_element);},Element:{addClass:function(_element,_class){if(!pi.util.Element.hasClass(_element,_class)) -pi.util.Element.setClass(_element,pi.util.Element.getClass(_element)+" "+_class);},getClass:function(_element){return _element.getAttribute(pi.env.ie&&!pi.env.ie8?"className":"class")||"";},hasClass:function(_element,_class){return pi.util.Array.indexOf(pi.util.Element.getClass(_element).split(" "),_class)>-1;},removeClass:function(_element,_class){if(pi.util.Element.hasClass(_element,_class)){var names=pi.util.Element.getClass(_element,_class).split(" ");pi.util.Element.setClass(_element,pi.util.Array.remove(names,pi.util.Array.indexOf(names,_class)).join(" "));}},setClass:function(_element,_value){if(pi.env.ie8){_element.setAttribute("className",_value);_element.setAttribute("class",_value);}else{_element.setAttribute(pi.env.ie?"className":"class",_value);}},toggleClass:function(){if(pi.util.Element.hasClass.apply(this,arguments)) -pi.util.Element.removeClass.apply(this,arguments);else -pi.util.Element.addClass.apply(this,arguments);},getOpacity:function(_styleObject){var styleObject=_styleObject;if(!pi.env.ie) -return styleObject["opacity"];var alpha=styleObject["filter"].match(/opacity\=(\d+)/i);return alpha?alpha[1]/100:1;},setOpacity:function(_element,_value){if(!pi.env.ie) -return pi.util.Element.addStyle(_element,{"opacity":_value});_value*=100;pi.util.Element.addStyle(_element,{"filter":"alpha(opacity="+_value+")"});return this._parent_;},getPosition:function(_element){var parent=_element,offsetLeft=document.body.offsetLeft,offsetTop=document.body.offsetTop,view=pi.util.Element.getView(_element);while(parent&&parent!=document.body&&parent!=document.firstChild){offsetLeft+=parseInt(parent.offsetLeft);offsetTop+=parseInt(parent.offsetTop);parent=parent.offsetParent;};return{"bottom":view["bottom"],"clientLeft":_element.clientLeft,"clientTop":_element.clientTop,"left":view["left"],"marginTop":view["marginTop"],"marginLeft":view["marginLeft"],"offsetLeft":offsetLeft,"offsetTop":offsetTop,"position":view["position"],"right":view["right"],"top":view["top"],"zIndex":view["zIndex"]};},getSize:function(_element){var view=pi.util.Element.getView(_element);return{"height":view["height"],"clientHeight":_element.clientHeight,"clientWidth":_element.clientWidth,"offsetHeight":_element.offsetHeight,"offsetWidth":_element.offsetWidth,"width":view["width"]}},addStyle:function(_element,_style){for(var key in _style){key=key=="float"?pi.env.ie?"styleFloat":"cssFloat":key;if(key=="opacity"&&pi.env.ie){pi.util.Element.setOpacity(_element,_style[key]);continue;} -try{_element.style[key]=_style[key];}catch(e){}}},getStyle:function(_element,_property){_property=_property=="float"?pi.env.ie?"styleFloat":"cssFloat":_property;if(_property=="opacity"&&pi.env.ie) -return pi.util.Element.getOpacity(_element.style);return typeof _property=="string"?_element.style[_property]:_element.style;},getValue:function(_element){switch(_element.nodeName.toLowerCase()){case"input":case"textarea":return _element.value;case"select":return _element.options[_element.selectedIndex].value;default:return _element.innerHTML;break;}},getView:function(_element,_property){var view=document.defaultView?document.defaultView.getComputedStyle(_element,null):_element.currentStyle;_property=_property=="float"?pi.env.ie?"styleFloat":"cssFloat":_property;if(_property=="opacity"&&pi.env.ie) -return pi.util.Element.getOpacity(_element,view);return typeof _property=="string"?view[_property]:view;}},Hash:{clone:function(_hash,_undeep){var tmp={};for(var key in _hash){if(!_undeep&&pi.util.IsArray(_hash[key])){tmp[key]=pi.util.Array.clone(_hash[key]);}else if(!_undeep&&pi.util.IsHash(_hash[key])){tmp[key]=pi.util.Hash.clone(_hash[key]);}else{tmp[key]=_hash[key];}} -return tmp;},merge:function(_hash,_source,_undeep){for(var key in _source){var value=_source[key];if(!_undeep&&pi.util.IsArray(_source[key])){if(pi.util.IsArray(_hash[key])){Array.prototype.push.apply(_source[key],_hash[key])} -else -value=pi.util.Array.clone(_source[key]);} -else if(!_undeep&&pi.util.IsHash(_source[key])){if(pi.util.IsHash(_hash[key])){value=pi.util.Hash.merge(_hash[key],_source[key]);}else{value=pi.util.Hash.clone(_source[key]);}}else if(_hash[key]) -value=_hash[key];_hash[key]=value;};return _hash;}},String:{format:function(_str){var values=Array.prototype.slice.call(arguments,1);return _str.replace(/\{(\d)\}/g,function(){return values[arguments[1]];})}},GetViewport:function(){return{height:document.documentElement.clientHeight||document.body.clientHeight,width:document.documentElement.clientWidth||document.body.clientWidth}}};pi.base=function(){this.body={};this.init=null;this.build=function(_skipClonning){var base=this,skipClonning=_skipClonning||false,_private={},fn=function(){var _p=pi.util.Hash.clone(_private);if(!skipClonning){for(var key in this){if(pi.util.IsArray(this[key])){this[key]=pi.util.Array.clone(this[key]);}else -if(pi.util.IsHash(this[key])){this[key]=pi.util.Hash.clone(this[key],function(_key,_object){this[_key]._parent_=this;});}}};base.createAccessors(_p,this);if(base.init) -return base.init.apply(this,arguments);return this;};this.movePrivateMembers(this.body,_private);if(this.init){fn["$Init"]=this.init;};fn.prototype=this.body;return fn;};this.createAccessors=function(_p,_branch){var getter=function(_property){return this[_property];},setter=function(_property,_value){this[_property]=_value;return _branch._parent_||_branch;};for(var name in _p){var isPrivate=name.substring(0,1)=="_",title=name.substring(1,2).toUpperCase()+name.substring(2);if(isPrivate){_branch[(_branch["get"+title]?"_":"")+"get"+title]=pi.util.Curry(getter,_p,name);_branch[(_branch["set"+title]?"_":"")+"set"+title]=pi.util.Curry(setter,_p,name);} -else -if(pi.util.IsHash(_p[name])){_branch[name]._parent_=_branch;if(!_branch[name]) -_branch[name]={};this.createAccessors(_p[name],_branch[name]);}};};this.movePrivateMembers=function(_object,_branch){for(var name in _object){var isPrivate=name.substring(0,1)=="_";if(isPrivate){_branch[name]=_object[name];delete _object[name];} -else -if(pi.util.IsHash(_object[name])){_branch[name]={};this.movePrivateMembers(_object[name],_branch[name]);}};};};pi.element=new pi.base;pi.element.init=function(_val){this.environment.setElement(typeof _val=="string"||!_val?document.createElement(_val||"DIV"):_val);return this;};pi.element.body={"addStyle":function(){return this.environment.addStyle.apply(this.environment,arguments);},"clean":function(){var childs=this.child.get();while(childs.length){childs[0].parentNode.removeChild(childs[0]);}},"clone":function(_deep){return this.environment.getElement().cloneNode(_deep);},"insert":function(_element){_element=_element.environment?_element.environment.getElement():_element;_element.appendChild(this.environment.getElement());return this;},"insertAfter":function(_referenceElement){_referenceElement=_referenceElement.environment?_referenceElement.environment.getElement():_referenceElement;_referenceElement.nextSibling?this.insertBefore(_referenceElement.nextSibling):this.insert(_referenceElement.parentNode);return this;},"insertBefore":function(_referenceElement){_referenceElement=_referenceElement.environment?_referenceElement.environment.getElement():_referenceElement;_referenceElement.parentNode.insertBefore(this.environment.getElement(),_referenceElement);return this;},"query":function(_expression,_resultType,namespaceResolver,_result){return pi.xpath(_expression,_resultType||"ORDERED_NODE_SNAPSHOT_TYPE",this.environment.getElement(),_namespaceResolver,_result);},"remove":function(){if(this.environment.getParent()){this.environment.getParent().removeChild(this.environment.getElement());}},"update":function(_value){this.element[this.element.nodeName.toLowerCase()=="textarea"||this.element.nodeName.toLowerCase()=="input"?"value":"innerHTML"]=_value;return this;},"attribute":{"getAll":function(){return this._parent_.environment.getElement().attributes;},"clear":function(_name){this.set(_name,"");return this._parent_;},"get":function(_name){return this._parent_.environment.getElement().getAttribute(_name);},"has":function(_name){return pi.env.ie?(this.get(_name)!=null):this._parent_.environment.getElement().hasAttribute(_name);},"remove":function(_name){this._parent_.environment.getElement().removeAttribute(_name);return this._parent_;},"set":function(_name,_value){this._parent_.environment.getElement().setAttribute(_name,_value);return this._parent_;},"addClass":function(_classes){for(var i=0,len=arguments.length;i-1){callback[i].fn.apply(this);}}}};pi.xhr=pi.xhr.build();pi.xhr.get=function(_url,_returnPiObject){var request=new pi.xhr();request.environment.setAsync(false);request.environment.setUrl(_url);request.send();return _returnPiObject?request:request.environment.getApi();};pi.util.AddEvent(pi.env.ie?window:document,pi.env.ie?"load":"DOMContentLoaded",function(){for(var i=0,len=pi.util.Init.length;i=0;i--){var script=scriptsIncluded[i],src=getFileName(script.src);if(src){internal.liteFilename=src;break;}} -initConsole();lib.util.Init.push(firebug.init);}})(); \ No newline at end of file diff --git a/tests/lib/firebug-lite/firebug-lite.css b/tests/lib/firebug-lite/firebug-lite.css deleted file mode 100644 index b93988a..0000000 --- a/tests/lib/firebug-lite/firebug-lite.css +++ /dev/null @@ -1,218 +0,0 @@ -/* */ -#Firebug div, #Firebug h3, #Firebug span, #Firebug input, #Firebug textarea, #Firebug select, #Firebug option, #Firebug a, #Firebug strong, #Firebug em, #Firebug label, #Firebug center { - position:static; float:none; width:auto; height:auto; text-align:left; border:0; overflow:visible; background:transparent none repeat left top; color:#111; font-size:1em; font-weight:normal; font-style:normal; font-family:sans-serif; margin:0; padding:0; min-height:0; -} -#Firebug input, #Firebug select, #Firebug textarea { background:#fff; font:11px Verdana, Geneva, Arial, Helvetica, sans-serif; border:1px outset #aaa; padding:2px } -#Firebug center { text-align:center; } -#Firebug strong { font-weight:bold; } -#Firebug em { font-style:italic; } -/* */ - -#FirebugIFrame { position:fixed !important; position:absolute; z-index:99999998; left:0; bottom:0; width:100%; height:295px; background:#fff; border-width:0px; } - -#Firebug { position:fixed !important; position:absolute; z-index:99999999; left:0; bottom:0; width:100%; height:295px; background:#fff; overflow:hidden; } -#Firebug .Resizer { position:absolute; top:0; width:100%; height:5px; background:transparent; *background:url(spacer.gif); cursor:n-resize; -moz-user-select:none; } -#Firebug .Header { height:38px; background:#ccc url(firebug.gif) 0 -85px; } -#Firebug .Left, #Firebug > .Right { background:#fff; height:257px;} -#Firebug .Left { float:left; width:100%; } -#Firebug .Right { float:left; display:none; width:30%; overflow:hidden; } -#Firebug .Right .Container { height:100%; border-left:1px solid #ccc; } - -/* - * buttonset - */ - -#Firebug .ButtonContainer { padding:8px 0 5px 10px; *margin-top:-3px; _margin-top:0; } -#Firebug .ButtonContainer .Button { cursor:pointer; font:12px "MS Sans Serif", Geneva, sans-serif; color:#000; margin-right:5px; padding:4px 4px 4px 4px; border:1px solid transparent !important; border-color:#ccc; text-decoration:none; } -#Firebug .ButtonContainer .Button:hover { border:1px outset #aaa !important; } -#Firebug .ButtonContainer .Button:active { border-style:inset !important; background-color:#ccc; } -#Firebug .ButtonContainer .Enabled { border:1px outset #aaa !important; } -#Firebug .ButtonContainer .Logo { text-decoration:none; padding-left:24px; background:url(firebug.gif) no-repeat 5px 3px; border:0 !important; opacity:0.7; filter:Alpha(Opacity=70); } -#Firebug .ButtonContainer .Logo:hover, #Firebug .ButtonContainer .Logo:active { border:0 !important; background-color:transparent; opacity:1; filter:Alpha(Opacity=100); } -#Firebug .ButtonContainer .Maximize, #Firebug .ButtonContainer .Minimize, #Firebug .ButtonContainer .NewWindow, #Firebug .ButtonContainer .Dock, #Firebug .ButtonContainer .Close { position:absolute; right:0; top:12px; padding:6px 8px 8px 8px; background:url(firebug.gif) no-repeat -3px -48px; border:0 !important; opacity:0.7; filter:Alpha(Opacity:80); *padding:0px 7px 1px 7px; } -#Firebug .ButtonContainer .Maximize:hover, #Firebug .ButtonContainer .Maximize:active, #Firebug .ButtonContainer .NewWindow:hover, #Firebug .ButtonContainer .NewWindow:active, #Firebug .ButtonContainer .Dock:hover, #Firebug .ButtonContainer .Dock:active, #Firebug .ButtonContainer .Minimize:hover, #Firebug .ButtonContainer .Minimize:active, #Firebug .ButtonContainer .Close:hover, #Firebug .ButtonContainer .Close:active { border:0 !important; background-color:transparent; opacity:1; filter:Alpha(Opacity:100); } -#Firebug .ButtonContainer .Minimize { background-position:-3px -20px; right:40px; } -#Firebug .ButtonContainer .Maximize { display:none; background-position:-3px -34px; right:40px; } -#Firebug .ButtonContainer .NewWindow { background-position:-3px -123px; right:20px; } -#Firebug .ButtonContainer .Dock { background-position:-3px -137px; } -#Firebug .ButtonContainer .ButtonSet { border-left:1px solid #ccc; padding:0 0 0 3px; display:inline; } - -/* - * navigation - */ - -#Firebug .Nav { height:23px; background:url(firebug.gif) repeat-x 0 -62px; padding-left:10px; } -#Firebug .Nav .Tab { display:block; width:auto; float:left; padding:3px 6px 2px 6px; cursor:pointer; border:1px outset transparent !important; border:0; font:bold 11px Arial, Helvetica, sans-serif; color:#666; } -#Firebug .Nav .Tab:hover, #Firebug .Nav .Selected { border:1px outset #ccc !important; border-top-color:transparent !important; } -#Firebug .Nav .Selected { color:#111; cursor:default; background-color:#f2f2f2; } -#Firebug .Nav .Settings { float:right; } -#Firebug .Nav .Settings .Options { text-decoration:none; padding-left:24px; background:url(firebug.gif) no-repeat 65px -151px; border:0 !important; opacity:0.7; filter:Alpha(Opacity=70); } -#Firebug .Nav .Settings .Options:hover, #Firebug .ButtonContainer .Options:active { border:0 !important; background-color:transparent; opacity:1; filter:Alpha(Opacity=100); } - - -/* - * inspector - */ - -#FirebugBorderInspector { display:none; z-index:99999998; position:absolute; top:0; left:0; border:2px solid #0000ff; background:transparent; *background:url(spacer.gif); opacity:0.5; filter:Alpha(Opacity=50); padding:0; margin:0; } -#FirebugBGInspector { display:none; z-index:99999998; position:absolute; top:0; left:0; background:rgb(0,150,255); opacity:0.5; filter:Alpha(Opacity=50); padding:0; margin:0; } - -/* - * dom - */ - -#Firebug .DOMRow { width:100% !important; width:90%; } -#Firebug .DOMRow .DOMRowLeft { float:left; width:30%; overflow:hidden; } -#Firebug .DOMRow .DOMRowLeft a { padding-left:15px; } -#Firebug .DOMRow .DOMRowRight { float:left; width:60%; *width:60%; _overflow:hidden; white-space:nowrap; } -#Firebug .DOMRow .DOMRowLeft .Object { background:url(tree_open.gif) no-repeat left center; cursor:pointer; } -#Firebug .DOMRow .DOMRowLeft .Object:hover { text-decoration:underline; color:#0000ff; } -#Firebug .DOMRow .DOMRowLeft .Opened { background-image:url(tree_close.gif) } -#Firebug .DOMRow .DOMRowSubContainer { display:none; padding-left:25px; } - -/* - * console - */ -#Firebug .Left .Console { overflow:hidden; } -#Firebug .Left .Console .Monitor { height:210px; border-bottom:1px solid #ccc; overflow:scroll; overflow-x:hidden; } -#Firebug .Left .Console .Monitor .Error { background:#ffeff1; color:#ff0000; } -#Firebug .Left .Console .Monitor .Error strong { color:#ff0000; } -#Firebug .Left .Console .Monitor .Row { padding:2px 5px 2px 5px; font:11px Verdana, Geneva, Arial, Helvetica, sans-serif; overflow:hidden; border-bottom:1px solid #e5e5e5; } -#Firebug .Left .Console .Monitor .Arrow { color:rgb(0,0,255); white-space:nowrap; } - -#Firebug .Left .Console .InputArrow { position:absolute; left:0px; width:20px; font:12px Verdana, Geneva, Arial, Helvetica, sans-serif; color:#0000ff; padding:2px 4px 0 4px; } -#Firebug .Left .Console .InputContainer { margin-left:35px; margin-right:5px; } -#Firebug .Left .Console .Input { width:100% !important; margin-top:2px; width:98%; overflow:hidden; border:0; font:12px Verdana, Geneva, Arial, Helvetica, sans-serif; } -#Firebug .Console .MLButton { cursor:pointer; position:absolute; top:276px; right:-22px; width:20px; padding:4px 10px 10px 10px; font-size:1px; *padding:2px 10px 10px 10px; background:url(firebug.gif) no-repeat -3px -34px; opacity:0.8; filter:Alpha(Opacity:80); } -#Firebug .Console .MLButton:hover { opacity:1; filter:Alpha(Opacity:100); } -#Firebug .Console .CloseML { background-position:-3px -20px; } - -#Firebug .Right .Console { background:#eee; } -#Firebug .Right .Console .Input { width:100%; _width:98%; height:228px; font:12px Verdana, Geneva, Arial, Helvetica, sans-serif; background:#fff; border:0; border-bottom:1px solid #ccc; margin-bottom:2px; *overflow:scroll; } -#Firebug .Right .Console .Button { cursor:pointer; font:12px Verdana, Geneva, Arial, Helvetica, sans-serif; padding:1px 4px 1px 4px; margin:0 4px 0 4px; background:#eee; border:1px solid #eee; text-decoration:none; *display:block; *width:auto; *float:left; *margin-top:-1px; } -#Firebug .Right .Console .Button:hover { border:1px outset #ccc; background:#fff; } -#Firebug .Right .Console .Button:active { border:1px inset #ccc; background:#ccc; } - -#Firebug .Left .Console .Monitor .Warn { background:url(warningIcon.png) #00FFFF no-repeat 2px center; padding-left:20px; } -#Firebug .Left .Console .Monitor .Info { background:url(infoIcon.png) #fff no-repeat 2px center; padding-left:20px; } -#Firebug .Left .Console .Monitor .Error { background:url(errorIcon.png) #FFFFE0 no-repeat 2px center; padding-left:20px; } - - -/* - * html - */ - -#Firebug .Left .HTML { display:none; height:250px; overflow:scroll; padding:0 10px 2px 10px; } -#Firebug .Left .HTML .Block { padding:0 0 0 0px; font:11px Verdana, Geneva, Arial, Helvetica, sans-serif; } -#Firebug .Left .HTML .Block .Spacer { cursor:default; padding:2px 2px 2px 15px; } -#Firebug .Left .HTML .Block .Link { display:block; color:#333; padding:2px 2px 2px 0; } -#Firebug .Left .HTML .Block .Link .Content { padding:2px 2px 2px 2px; } -#Firebug .Left .HTML .Block .Link .TagName { cursor:pointer; } -#Firebug .Left .HTML .Block .Parent { font-weight:bold; color:#111; text-decoration:none; } -#Firebug .Left .HTML .Block .Parent .Spacer { background:#fff center no-repeat; } -#Firebug .Left .HTML .Block .Parent .Spacer { background-image:url(tree_open.gif); } -#Firebug .Left .HTML .Block .Open .Spacer { background-image:url(tree_close.gif) } -#Firebug .Left .HTML .Block .Selected { background-color:#4473c4; } -#Firebug .Left .HTML .Block .Selected * { color:#fff; } -#Firebug .Left .HTML .Block .SubContainer { padding-left:20px; height:0; font-size:0px; } -#Firebug .Left .HTML .Block .OpenSubContainer { height:auto; } -#Firebug .Left .HTML .Unvisible { opacity:0.5; filter:Alpha(Opacity=50); } - -#Firebug .Right .HTML { display:none; } -#Firebug .Right .HTML .Content { overflow:scroll; height:235px; font:11px Verdana, Geneva, Arial, Helvetica, sans-serif; } -#Firebug .Right .HTML .Content .CSSItem { padding:5px; color:#333; height:6px } -#Firebug .Right .HTML .Content .CSSProperty { width:45%; float:left; overflow:hidden; } -#Firebug .Right .HTML .Content .CSSValue { width:55%; float:left; white-space:nowrap; overflow:visible !important; overflow:hidden; } -#Firebug .Right .HTML .Content .CSSValue input { font:11px ArArial, Helvetica, sans-serif; color:#333; 3px 0 0 -3px; } -#Firebug .Right .HTML .Content .CSSItem center { color:rgb(0,150,0); padding:0 0 3px 0; font:bold 12px Arial, Helvetica, sans-serif; } -#Firebug .ButtonContainer .HTML { display:none; } - -/* - * CSS - */ - -#Firebug .Left .CSS { display:none; padding:5px; height:225px; overflow:scroll; font:11px Verdana, Geneva, Arial, Helvetica, sans-serif; } -#Firebug .Right .CSS { display:none; } -#Firebug .Left .CSS .Selector { margin-top:10px } -#Firebug .Left .CSS .CSSText { padding-left:20px; } -#Firebug .Left .CSS .CSSProperty { color:#005500; margin-top:10px; } -#Firebug .Left .CSS .CSSValue { padding-left:5px; color:#000088; } -#Firebug .ButtonContainer .CSS { display:none; } - -#Firebug .Right .CSS { background:#eee; } -#Firebug .Right .CSS .Input { width:100%; _width:98%; height:205px; font:12px Verdana, Geneva, Arial, Helvetica, sans-serif; background:#fff; border:0; border-bottom:1px solid #ccc; margin-bottom:2px; *overflow:scroll; } -#Firebug .Right .CSS .Button { cursor:pointer; font:12px Verdana, Geneva, Arial, Helvetica, sans-serif; padding:1px 4px 1px 4px; margin:0 4px 0 4px; background:#eee; border:1px solid #eee; text-decoration:none; *display:block; *width:auto; *float:left; *margin-top:-1px; } -#Firebug .Right .CSS .Button:hover { border:1px outset #ccc; background:#fff; } -#Firebug .Right .CSS .Button:active { border:1px inset #ccc; background:#ccc; } - -/* - * Scripts - */ - -#Firebug .Left .Scripts { display:none; height:225px; *height:235px; overflow:scroll; font:12px Verdana, Geneva, Arial, Helvetica, sans-serif; white-space:pre; } -#Firebug .Left .Scripts .LineNumber { float:left; width:30px; height:20px; padding:0 2px 0 0; background:#eee; color:#666; font-family:Courier; text-align:right; border-right:1px solid #ccc; } -#Firebug .Left .Scripts .CodeContainer { padding:5px; } -#Firebug .Left .Scripts .Code { height:20px; } -#Firebug .Left .Scripts .CodeContainer, #Firebug .Left .Scripts .Code { word-wrap:normal; white-space:pre; } -#Firebug .Right .Scripts { display:none; } -#Firebug .ButtonContainer .Scripts { display:none; } - -/* - * DOM - */ - -#Firebug .Left .DOM { display:none; font:11px Verdana, Geneva, Arial, Helvetica, sans-serif; padding:5px; overflow:scroll; height:225px; } -#Firebug .Left .DOM .Object { font-weight:bold; } -#Firebug .Right .DOM { display:none; overflow:scroll; } -#Firebug .ButtonContainer .DOM { display:none; } -#Firebug .ButtonContainer .DOM label { font:11px Verdana, Geneva, Arial, Helvetica, sans-serif; } - -/* - * XHR - */ - -#Firebug .Left .XHR { display:none; font:11px Verdana, Geneva, Arial, Helvetica, sans-serif; padding:5px; overflow:scroll; height:225px; } -#Firebug .Left .XHR .Block { float:left; width:30%; } -#Firebug .Left .XHR .BlockContent { padding:3px; border-right:1px dotted #aaa; } -#Firebug .Left .XHR .Block strong { display:block; text-align:center; padding:3px; background:rgb(200,225,255); color:rgb(50,50,50); } -#Firebug .Left .XHR .Block span { display:block; text-align:center; overflow:hidden; } -#Firebug .Left .XHR .Block span a { cursor:pointer; color:rgb(0,0,200); } -#Firebug .Right .XHR { display:none; overflow:scroll; } -#Firebug .ButtonContainer .XHR { display:none; } -#Firebug .ButtonContainer .XHR label { font:11px Verdana, Geneva, Arial, Helvetica, sans-serif; } - -#Firebug .Left .STR { display:none; font:11px Verdana, Geneva, Arial, Helvetica, sans-serif; padding:5px; overflow:scroll; height:225px; } - -/* - * settings - */ -#Firebug .SettingsDiv {position:absolute;width:190px;top:60px;border:1px outset #000;-x-system-font:none;color:#000;font-family:"MS Sans Serif",Geneva,sans-serif;font-size:12px;font-size-adjust:none;font-stretch:normal;font-style:normal;font-variant:normal;font-weight:normal;line-height:normal;display:none;background-color:#FFF;} -#Firebug .SettingsDiv .Header {background:#CCC url(firebug.gif) repeat scroll 0 -85px;height:30px;border-bottom:1px inset #000;} -#Firebug .SettingsDiv .Header .Title {padding-top:10px;text-align:center;} -#Firebug .SettingsDiv .Content {padding:5px;} -#Firebug .SettingsDiv .Content .SettingsCBX{position:relative;top:2px;margin: 4px 5px 0 0; border:0 !important; padding:0 !important; height: 15px !important;} -#Firebug .SettingsDiv .Content .SettingsTextbox{position:relative;top:2px;margin: 4px 5px 0 0; border:0 !important; padding:0 !important; height: 15px !important; width:35px !important; border:1px solid #000000 !important;} -#Firebug .SettingsDiv .Content .ButtonsLeft {float:left;padding:10px 0px 5px 0px;} -#Firebug .SettingsDiv .Content .ButtonsRight {float:right;padding:10px 0px 5px 0px;} -#Firebug .SettingsDiv .Content .ProgressDiv {background-color:#FFF;width:100%;height:100%;position:absolute;left:0;top:0;z-index:1;opacity:.8;filter:alpha(opacity=80);display:none;} -#Firebug .SettingsDiv .Content .Progress {background-image:url(progress.gif);width:66px;height:66px;position:absolute;top:50%;left:50%;margin-left:-33px;margin-top:-33px;} - -/* - * element highlighting - */ -#Firebug .Italic { font-style:italic; } -#Firebug .Strong { font-weight:bold; } -#Firebug .NormalWeight { font-weight:normal; } -#Firebug .Green { color:#008800; } -#Firebug .Gray { color:#666; } -#Firebug .Blue { color:#0000ee; } -#Firebug .DarkBlue { color:#000099; } -#Firebug .Red { color:#ee0000; } -#Firebug .Maroon { color:#800000; font:11px Verdana, Geneva, Arial, Helvetica, sans-serif; } -#Firebug .Null { font:11px Verdana, Geneva, Arial, Helvetica, sans-serif; color:#fff; padding:0 2px 0 2px; background:#999; border:1px solid #666; } -#Firebug .ObjectLink, #Firebug .ObjectLinkHover { cursor:pointer; } -#Firebug .ObjectLinkHover { border-bottom:1px solid #008800; } - -#Firebug .Clear { clear:both; height:0px; font-size:0px; } - -#firebugIconDiv { width:38px;height:38px;right:15pt;bottom:5pt;border:2px solid #000;display:none;position:fixed;background-image:url(firebug_logo.png);text-decoration:underline;cursor:pointer;filter:alpha(opacity:60);opacity:.6;z-index:99999998;} diff --git a/tests/lib/firebug-lite/firebug-lite.js b/tests/lib/firebug-lite/firebug-lite.js deleted file mode 100644 index 0c5bc85..0000000 --- a/tests/lib/firebug-lite/firebug-lite.js +++ /dev/null @@ -1,2572 +0,0 @@ -var firebug = { - version:[1.23,20090506], - el:{}, - env:{ - "css":"http://getfirebug.com/releases/lite/1.2/firebug-lite.css", - "debug":false, - "detectFirebug":true, - "dIndex":"console", - "height":295, - "hideDOMFunctions":false, - "openInPopup": false, - "override":false, - "ml":false, - "showIconWhenHidden":true, - "popupTop":1, - "popupLeft":1, - "popupWidth":undefined, - "popupHeight":undefined, - "textNodeChars":0 - }, - internal:{ - "cache":{}, - "extConsole":null, - "init":false, - "isPopup":false, - "liteFilename":null, - "minimized":false, - "popupWin":null, - "targetWindow":undefined - }, - initConsole:function(){ - /* - * initialize the console - user defined values are not available within this method because FBLite is not yet initialized - */ - var command; - try{ - if((!window.console || (window.console && !window.console.firebug)) || (firebug.env.override && !(/Firefox\/3/i.test(navigator.userAgent)))){ - window.console = { "provider":"Firebug Lite" }; - - for(command in firebug.d.console.cmd){ - window.console[command] = firebug.lib.util.Curry(firebug.d.console.run,window,command); - }; - } - window.onerror = function(_message,_file,_line){ - firebug.d.console.run('error',firebug.lib.util.String.format('{0} ({1},{2})',_message,firebug.getFileName(_file),_line)); - }; - } catch(e){} - }, - overrideConsole:function(){ - with (firebug){ - env.override=true; - try{ - internal.extConsole=window.console; - } catch(e){} - initConsole(); - } - }, - restoreConsole:function(){ - with(firebug){ - if(internal.extConsole){ - env.override=false; - try{ - window.console=internal.extConsole; - } catch(e){} - internal.extConsole=null; - } - } - }, - init:function(_css){ - var i, - cssLoaded=false, - iconTitle = "Click here or press F12, (CTRL|CMD)+SHIFT+L or SHIFT+ENTER to show Firebug Lite. CTRL|CMD click this icon to hide it."; - - with(firebug){ - if(document.getElementsByTagName('html')[0].attributes.getNamedItem('debug')){ - env.debug = document.getElementsByTagName('html')[0].attributes.getNamedItem('debug').nodeValue !== "false"; - } - - if(internal.isPopup) { - env.openInPopup = false; - internal.targetWindow = window.opener; - env.popupWidth = window.opener.firebug.env.popupWidth || window.opener.firebug.lib.util.GetViewport().width; - env.popupHeight = window.opener.firebug.env.popupHeight || window.opener.firebug.lib.util.GetViewport().height; - } else { - internal.targetWindow = window; - env.popupWidth = env.popupWidth || lib.util.GetViewport().width; - env.popupHeight = env.popupHeight || lib.util.GetViewport().height; - } - - settings.readCookie(); - - if(internal.init || (env.detectFirebug && window.console && window.console.firebug)) { - return; - } - - for(i=0;i>>") - ); - el.left.console.input = new lib.element("INPUT").attribute.set("type","text").attribute.addClass("Input").event.addListener("keydown",listen.consoleTextbox).insert( - new lib.element("DIV").attribute.addClass("InputContainer").insert(el.left.console.container) - ); - - el.right.console = {}; - el.right.console.container = new lib.element("DIV").attribute.addClass("Console Container").insert(el.right.container); - el.right.console.mlButton = new lib.element("A").attribute.addClass("MLButton CloseML").event.addListener("click",d.console.toggleML).insert(el.right.console.container); - el.right.console.input = new lib.element("TEXTAREA").attribute.addClass("Input").insert(el.right.console.container); - el.right.console.input.event.addListener("keydown",lib.util.Curry(tab,window,el.right.console.input.element)); - el.right.console.run = new lib.element("A").attribute.addClass("Button").event.addListener("click",listen.runMultiline).update("Run").insert(el.right.console.container); - el.right.console.clear = new lib.element("A").attribute.addClass("Button").event.addListener("click",lib.util.Curry(d.clean,window,el.right.console.input)).update("Clear").insert(el.right.console.container); - - el.button.console = {}; - el.button.console.container = new lib.element("DIV").attribute.addClass("ButtonSet").insert(el.button.container); - el.button.console.clear = new lib.element("A").attribute.addClass("Button").event.addListener("click",d.console.clear).update("Clear").insert(el.button.console.container); - - /* - * html - */ - - el.left.html = {}; - el.left.html.container = new lib.element("DIV").attribute.addClass("HTML").insert(el.left.container); - - el.right.html = {}; - el.right.html.container = new lib.element("DIV").attribute.addClass("HTML Container").insert(el.right.container); - - el.right.html.nav = {}; - el.right.html.nav.container = new lib.element("DIV").attribute.addClass("Nav").insert(el.right.html.container); - el.right.html.nav.computedStyle = new lib.element("A").attribute.addClass("Tab Selected").event.addListener("click",lib.util.Curry(d.html.navigate,firebug,"computedStyle")).update("Computed Style").insert(el.right.html.nav.container); - el.right.html.nav.dom = new lib.element("A").attribute.addClass("Tab").event.addListener("click",lib.util.Curry(d.html.navigate,firebug,"dom")).update("DOM").insert(el.right.html.nav.container); - - el.right.html.content = new lib.element("DIV").attribute.addClass("Content").insert(el.right.html.container); - - el.button.html = {}; - el.button.html.container = new lib.element("DIV").attribute.addClass("ButtonSet HTML").insert(el.button.container); - - /* - * css - */ - - el.left.css = {}; - el.left.css.container = new lib.element("DIV").attribute.addClass("CSS").insert(el.left.container); - - el.right.css = {}; - el.right.css.container = new lib.element("DIV").attribute.addClass("CSS Container").insert(el.right.container); - - el.right.css.nav = {}; - el.right.css.nav.container = new lib.element("DIV").attribute.addClass("Nav").insert(el.right.css.container); - el.right.css.nav.runCSS = new lib.element("A").attribute.addClass("Tab Selected").update("Run CSS").insert(el.right.css.nav.container); - - el.right.css.mlButton = new lib.element("A").attribute.addClass("MLButton CloseML").event.addListener("click",d.console.toggleML).insert(el.right.css.container); - el.right.css.input = new lib.element("TEXTAREA").attribute.addClass("Input").insert(el.right.css.container); - el.right.css.input.event.addListener("keydown",lib.util.Curry(firebug.tab,window,el.right.css.input.element)); - el.right.css.run = new lib.element("A").attribute.addClass("Button").event.addListener("click",listen.runCSS).update("Run").insert(el.right.css.container); - el.right.css.clear = new lib.element("A").attribute.addClass("Button").event.addListener("click",lib.util.Curry(d.clean,window,el.right.css.input)).update("Clear").insert(el.right.css.container); - - el.button.css = {}; - el.button.css.container = new lib.element("DIV").attribute.addClass("ButtonSet CSS").insert(el.button.container); - el.button.css.selectbox = new lib.element("SELECT").event.addListener("change",listen.cssSelectbox).insert(el.button.css.container); - - /* - * scripts - */ - - el.left.scripts = {}; - el.left.scripts.container = new lib.element("DIV").attribute.addClass("Scripts").insert(el.left.container); - - el.right.scripts = {}; - el.right.scripts.container = new lib.element("DIV").attribute.addClass("Scripts Container").insert(el.right.container); - - el.button.scripts = {}; - el.button.scripts.container = new lib.element("DIV").attribute.addClass("ButtonSet Scripts").insert(el.button.container); - el.button.scripts.selectbox = new lib.element("SELECT").event.addListener("change",listen.scriptsSelectbox).insert(el.button.scripts.container); - el.button.scripts.lineNumbers = new lib.element("A").attribute.addClass("Button").event.addListener("click",d.scripts.toggleLineNumbers).update("Show Line Numbers").insert(el.button.scripts.container); - - /* - * dom - */ - - el.left.dom = {}; - el.left.dom.container = new lib.element("DIV").attribute.addClass("DOM").insert(el.left.container); - - el.right.dom = {}; - el.right.dom.container = new lib.element("DIV").attribute.addClass("DOM Container").insert(el.right.container); - - el.button.dom = {}; - el.button.dom.container = new lib.element("DIV").attribute.addClass("ButtonSet DOM").insert(el.button.container); - el.button.dom.label = new lib.element("LABEL").update("Object Path:").insert(el.button.dom.container); - el.button.dom.textbox = new lib.element("INPUT").event.addListener("keydown",listen.domTextbox).update(internal.isPopup?"window.opener":"window").insert(el.button.dom.container); - - /* - * str - */ - el.left.str = {}; - el.left.str.container = new lib.element("DIV").attribute.addClass("STR").insert(el.left.container); - - el.right.str = {}; - el.right.str.container = new lib.element("DIV").attribute.addClass("STR").insert(el.left.container); - - el.button.str = {}; - el.button.str.container = new lib.element("DIV").attribute.addClass("ButtonSet XHR").insert(el.button.container); - el.button.str.watch = new lib.element("A").attribute.addClass("Button").event.addListener("click",lib.util.Curry(d.navigate,window,"xhr")).update("Back").insert(el.button.str.container); - - /* - * xhr - */ - el.left.xhr = {}; - el.left.xhr.container = new lib.element("DIV").attribute.addClass("XHR").insert(el.left.container); - - el.right.xhr = {}; - el.right.xhr.container = new lib.element("DIV").attribute.addClass("XHR").insert(el.left.container); - - - el.button.xhr = {}; - el.button.xhr.container = new lib.element("DIV").attribute.addClass("ButtonSet XHR").insert(el.button.container); - el.button.xhr.label = new lib.element("LABEL").update("XHR Path:").insert(el.button.xhr.container); - el.button.xhr.textbox = new lib.element("INPUT").event.addListener("keydown",listen.xhrTextbox).insert(el.button.xhr.container); - el.button.xhr.watch = new lib.element("A").attribute.addClass("Button").event.addListener("click",listen.addXhrObject).update("Watch").insert(el.button.xhr.container); - - /* - * settings - */ - el.settings = {}; - el.settings.container = new lib.element("DIV").child.add( - new lib.element("DIV").attribute.addClass("Header").child.add( - new lib.element().attribute.addClass("Title").update('Firebug Lite Settings') - ) - ).attribute.addClass("SettingsDiv").insert(el.main); - el.settings.content = new lib.element("DIV").attribute.addClass("Content").insert(el.settings.container); - el.settings.progressDiv = new lib.element("DIV").attribute.addClass("ProgressDiv").insert(el.settings.content); - el.settings.progress = new lib.element("DIV").attribute.addClass("Progress").insert(el.settings.progressDiv); - el.settings.cbxDebug = new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content); - el.settings.content.child.add(document.createTextNode("Start visible")); - new lib.element("BR").insert(el.settings.content); - el.settings.cbxDetectFirebug = new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content); - el.settings.content.child.add(document.createTextNode("Hide when Firebug active")); - new lib.element("BR").insert(el.settings.content); - el.settings.cbxHideDOMFunctions = new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content); - el.settings.content.child.add(document.createTextNode("Hide DOM functions")); - new lib.element("BR").insert(el.settings.content); - el.settings.cbxOverride = new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content); - el.settings.content.child.add(document.createTextNode("Override window.console")); - new lib.element("BR").insert(el.settings.content); - el.settings.cbxShowIcon = new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content); - el.settings.content.child.add(document.createTextNode("Show icon when hidden")); - new lib.element("BR").insert(el.settings.content); - el.settings.cbxOpenInPopup = new lib.element("INPUT").attribute.set("type","checkbox").attribute.addClass("SettingsCBX").insert(el.settings.content); - el.settings.content.child.add(document.createTextNode("Open in popup")); - new lib.element("BR").insert(el.settings.content); - el.settings.content.child.add(document.createTextNode("Trim textnode to ")); - el.settings.textNodeChars = new lib.element("INPUT").attribute.set("type","text").attribute.addClass("SettingsTextbox").insert(el.settings.content); - el.settings.content.child.add(document.createTextNode(" chars")); - el.settings.buttonDiv = new lib.element("DIV").insert(el.settings.content); - el.settings.buttonLeftDiv = new lib.element("DIV").attribute.addClass("ButtonsLeft").insert(el.settings.buttonDiv); - el.settings.resetButton = new lib.element("INPUT").attribute.set("type","button").update("Reset").event.addListener("click",settings.reset).insert(el.settings.buttonLeftDiv); - el.settings.buttonRightDiv = new lib.element("DIV").attribute.addClass("ButtonsRight").insert(el.settings.buttonDiv); - el.settings.cancelButton = new lib.element("INPUT").attribute.set("type","button").update("Cancel").event.addListener("click",settings.hide).insert(el.settings.buttonRightDiv); - el.settings.buttonRightDiv.child.add(document.createTextNode(" ")); - el.settings.saveButton = new lib.element("INPUT").attribute.set("type","button").update("Save").event.addListener("click",settings.saveClicked).insert(el.settings.buttonRightDiv); - - lib.util.AddEvent(document,"mousemove",listen.mouse)("mousemove",win.resizer.resize)("mouseup",win.resizer.stop)("keydown",listen.keyboard); - - internal.init = true; - - for(var i=0, len=d.console.cache.length; i0) { - fe.textNodeChars=elSet.textNodeChars.element.value; - } else { - fe.textNodeChars=0; - } - - if(firebug.internal.isPopup) { - window.opener.firebug.env = firebug.lib.util.Hash.clone(fe); - } - - with(firebug) { - settings.writeCookie(); - settings.hide(); - win.refreshDOM(); - d.html.openHtmlTree(); - if(internal.isPopup) { - with(opener.firebug) { - win.refreshDOM(); - d.html.openHtmlTree(); - } - } - } - }, - reset: function() { - var exdate=new Date(); - - exdate.setTime(exdate.getTime()-1); - document.cookie='FBLiteSettings=;expires='+exdate.toGMTString(); - location.reload(true); - }, - readCookie: function() { - var i,cookieArr,valueArr,item,value; - - with(firebug.env){ - if(firebug.internal.targetWindow.document.cookie.length>0) { - cookieArr=firebug.internal.targetWindow.document.cookie.split('; '); - - for(i=0;i -1) { - scriptPath = scripts[i].src; - break; - } - } - - if (scriptPath) { - done = false; - script = fi.popupWin.document.createElement('script'); - script.type = 'text/javascript'; - script.src = scriptPath; - - script[firebug.lib.env.ie?"onreadystatechange":"onload"] = function(){ - if(!done && (!firebug.lib.env.ie || this.readyState == "complete" || this.readyState=="loaded")){ - done = true; - if(fi.popupWin.firebug) { - with(fi.popupWin.firebug) { - internal.isPopup = true; - env.css = fe.css; - init(); - el.button.dock.environment.addStyle({ "display": "block"}); - el.button.newWindow.environment.addStyle({ "display": "none"}); - } - } - } - }; - - if (!done && firebug.lib.env.webkit) { - interval = setInterval(function() { - if (firebug.internal.popupWin.firebug) { - clearInterval(interval); - done = true; - with(firebug.internal.popupWin.firebug) { - internal.isPopup = true; - env.css = fe.css; - init(); - el.button.dock.environment.addStyle({ "display": "block"}); - el.button.newWindow.environment.addStyle({ "display": "none"}); - } - } - }, 10); - }; - - if(!firebug.lib.env.ie) { - firebug.internal.popupWin.document.write('Firebug Lite - '+document.location.href+''); - } - if (!done) { - firebug.internal.popupWin.document.getElementsByTagName('head')[0].appendChild(script); - firebug.el.main.environment.addStyle({"display": "none"}); - firebug.el.mainiframe.environment.addStyle({"display": "none"}); - } - } else { - alert("Unable to detect the following script \"" + firebug.internal.liteFilename + - "\" ... if the script has been renamed then please set the value of firebug.internal.liteFilename to reflect this change"); - firebug.internal.popupWin.close(); - firebug.internal.popupWin=null; - } - } - } - }, - dock: function() { - with(opener.firebug) { - internal.popupWin = null; - el.main.environment.addStyle({ - "display": "block" - }); - el.mainiframe.environment.addStyle({ - "display": "block" - }); - settings.readCookie(); - window.close(); - }; - }, - unload: function() { - with(firebug){ - if(internal.isPopup) { - win.dock(); - } else if(internal.popupWin) { - internal.popupWin.close(); - } - } - }, - fitToPopup: function() { - with(firebug) { - var viewport = lib.util.GetViewport(window); - win.setHeight((window.innerHeight||viewport.height) - 38); - el.main.environment.addStyle({ - "width": (viewport.width) + "px" - }); - el.mainiframe.environment.addStyle({ - "width": (viewport.width) + "px" - }); - } - }, - resizer:{ - y:[], enabled:false, - start:function(_event){ - with(firebug){ - if(internal.minimized)return; - win.resizer.y=[el.main.element.offsetHeight,_event.clientY]; - if(lib.env.ie6){ - win.resizer.y[3]=parseInt(el.main.environment.getPosition().top); - } - win.resizer.enabled=true; - } - }, - resize:function(_event){ - with(firebug){ - if(!win.resizer.enabled)return; - win.resizer.y[2]=(win.resizer.y[0]+(win.resizer.y[1]-_event.clientY)); - el.main.environment.addStyle({ "height":win.resizer.y[2]+"px" }); - el.mainiframe.environment.addStyle({ "height":win.resizer.y[2]+"px" }); - if(lib.env.ie6){ - el.main.environment.addStyle({ "top":win.resizer.y[3]-(win.resizer.y[1]-_event.clientY)+"px" }); - el.mainiframe.environment.addStyle({ "top":win.resizer.y[3]-(win.resizer.y[1]-_event.clientY)+"px" }); - } - } - }, - stop:function(_event){ - with(firebug){ - if(win.resizer.enabled){ - win.resizer.enabled=false; - win.setHeight(win.resizer.y[2]-35); - } - } - } - }, - setHeight:function(_height){ - with(firebug){ - env.height=_height; - - el.left.container.environment.addStyle({ "height":_height+"px" }); - el.right.container.environment.addStyle({ "height":_height+"px" }); - el.main.environment.addStyle({ "height":_height+38+"px" }); - el.mainiframe.environment.addStyle({ "height":_height+38+"px" }); - - win.refreshSize(); - - // console - el.left.console.monitor.element.parentNode.style.height=_height-47+"px"; - el.left.console.mlButton.environment.addStyle({ "top":_height+19+"px" }); - el.right.console.mlButton.environment.addStyle({ "top":_height+19+"px" }); - el.right.console.input.environment.addStyle({ "height":_height-29+"px" }); - - // html - el.left.html.container.environment.addStyle({"height":_height-23+"px"}); - el.right.html.content.environment.addStyle({"height":_height-23+"px"}); - - // css - el.left.css.container.environment.addStyle({"height":_height-33+"px"}); - el.right.css.input.environment.addStyle({ "height":_height-55+"px" }); - - // script - el.left.scripts.container.environment.addStyle({"height":_height-23+"px"}); - - // dom - el.left.dom.container.environment.addStyle({"height":_height-31+"px"}); - - // xhr - el.left.xhr.container.environment.addStyle({"height":_height-32+"px"}); - - // string - el.left.str.container.environment.addStyle({"height":_height-32+"px"}); - } - }, - refreshDOM:function(){ - with(firebug){ - d.dom.open(eval(el.button.dom.textbox.environment.getElement().value),el.left.dom.container); - if(d.html.nIndex=="dom"){ - firebug.d.html.navigate("dom") - } - } - }, - refreshSize:function(){ - with(firebug){ - if(!internal.init) - return; - - var dim = lib.util.GetViewport(); - el.main.environment.addStyle({ "width":dim.width+"px"}); - el.mainiframe.environment.addStyle({ "width":dim.width+"px"}); - if(lib.env.ie6) - win.setVerticalPosition(dim); - } - }, - setVerticalPosition:function(_dim,_event){ - with(firebug){ - var dim = _dim||lib.util.GetViewport(); - el.main.environment.addStyle({ "top":dim.height-el.main.environment.getSize().offsetHeight+Math.max(document.documentElement.scrollTop,document.body.scrollTop)+"px" }); - el.mainiframe.environment.addStyle({ "top":dim.height-el.main.environment.getSize().offsetHeight+Math.max(document.documentElement.scrollTop,document.body.scrollTop)+"px" }); - } - } - }, - d: { - clean:function(_element){ - with(firebug){ - _element.update(""); - } - }, - console:{ - addLine:function(){ - with (firebug) { - return new lib.element("DIV").attribute.addClass("Row").insert(el.left.console.monitor); - } - }, - cache:[], - clear:function(){ - with(firebug){ - d.clean(el.left.console.monitor); - d.console.cache = []; - } - }, - formatArgs:function(){ - with(firebug){ - var content = []; - for(var i=0, len=arguments.length; i>> "+_cmd); - d.console.addLine().update(d.highlight(_text,false,false,true)); - d.console.scroll(); - } - }, - printException: function(_exception){ - with(firebug){ - var message = _exception.description||_exception.message||_exception; - if(_exception.fileName){ - message+=' ('+(_exception.name&&(_exception.name+', ')||'')+getFileName(_exception.fileName)+', '+_exception.lineNumber+')'; - } - d.console.addLine().attribute.addClass("Error").update("Error: "+message,true); - } - }, - eval:function(_cmd){ - var result; - with(firebug){ - if(_cmd.length==0) - return; - - el.left.console.input.environment.getElement().value = ""; - d.console.historyIndex = d.console.history.push(_cmd); - - try { - if(_cmd==='console.firebug') { - d.console.addLine().attribute.addClass("Arrow").update(firebug.version); - } else { - result = eval.call(window,_cmd); - d.console.print(_cmd,result); - } - } catch(e){ - d.console.addLine().attribute.addClass("Arrow").update(">>> "+_cmd); - d.console.printException(e); - } - d.console.scroll(); - } - }, - scroll:function(){ - with(firebug){ - el.left.console.monitor.environment.getElement().parentNode.scrollTop = Math.abs(el.left.console.monitor.environment.getSize().offsetHeight-(el.left.console.monitor.element.parentNode.offsetHeight-11)); - } - }, - run:function(_command){ - with(firebug){ - if(!internal.init){ - d.console.cache.push({ "command":_command, "arg":Array.prototype.slice.call(arguments,1) }); - } else { - d.console.cmd[_command].apply(window,Array.prototype.slice.call(arguments,1)); - } - } - }, - toggleML:function(){ - with(firebug){ - var open = !env.ml; - env.ml = !env.ml; - d.navigateRightColumn("console",open); - el[open?"left":"right"].console.mlButton.environment.addStyle({ display:"none" }); - el[!open?"left":"right"].console.mlButton.environment.addStyle({ display:"block" }); - el.left.console.mlButton.attribute[(open?"add":"remove")+"Class"]("CloseML"); - } - }, - countMap:{}, timeMap: {}, - cmd:{ - log: function(_value){ - with(firebug){ - var args = d.console.formatArgs.apply(window,arguments); - d.console.addLine().attribute.addClass("Log").update(args); - d.console.scroll(); - } - }, - warn: function(_value){ - with(firebug){ - var args = d.console.formatArgs.apply(window,arguments); - d.console.addLine().attribute.addClass("Warn").update(args); - d.console.scroll(); - } - }, - info: function(_value){ - with(firebug){ - var args = d.console.formatArgs.apply(window,arguments); - d.console.addLine().attribute.addClass("Info").update(args); - d.console.scroll(); - } - }, - debug: function(_value){ - with(firebug){ - var args = d.console.formatArgs.apply(window,arguments); - d.console.addLine().attribute.addClass("Debug").update(args); - d.console.scroll(); - } - }, - error: function(_value){ - with(firebug){ - var args = d.console.formatArgs.apply(window,arguments); - d.console.addLine().attribute.addClass("Error").update(args); - d.console.scroll(); - } - }, - trace: function(_value){ - with(firebug){ - var stackAmt = 3, f = arguments.caller, isArray = lib.util.IsArray(f); //function that called trace - - if((!isArray&&f)||(isArray&&f.length>0)){ - d.console.addLine().attribute.addClass("Arrow").update(">>> console.trace(stack)"); - for(var i=0;i>> console.dir("+_value+")"); - d.dom.open(_value,d.console.addLine()); - } - }, - dirxml: function(){ - with(firebug){ - d.console.cmd.log.apply(this, arguments); - } - }, - time: function(_name){ - with(firebug){ - d.console.timeMap[_name] = new Date().getTime(); - } - }, - timeEnd: function(_name){ - with(firebug){ - if(_name in d.console.timeMap){ - var delta = new Date().getTime() - d.console.timeMap[_name], - args = d.console.formatArgs.apply(window,[_name+":", delta+"ms"]); - d.console.addLine().attribute.addClass("log").update(args); - delete d.console.timeMap[_name]; - } - } - }, - count: function(_name){ - with(firebug){ - if(!d.console.countMap[_name]) - d.console.countMap[_name] = 0; - d.console.countMap[_name]++; - d.console.cmd.log.apply(window, [_name, d.console.countMap[_name]]); - } - }, - group:function(){ - with(firebug){ - d.console.cmd.log.apply(this, ["console.group is not supported"]); - } - }, - groupEnd:function(){ - with(firebug){ - d.console.cmd.log.apply(this, ["console.groupEnd is not supported"]); - } - }, - profile:function(){ - with(firebug){ - d.console.cmd.log.apply(this, ["console.profile is not supported"]); - } - }, - profileEnd:function(){ - with(firebug){ - d.console.cmd.log.apply(this, ["console.profileEnd is not supported"]); - } - } - } - }, - css:{ - index:-1, - open:function(_index){ - with (firebug) { - var item = internal.targetWindow.document.styleSheets[_index], - uri = item.href; - try { - var rules = item[lib.env.ie ? "rules" : "cssRules"], str = ""; - for (var i=0; i"; - for(var i=0,len=_css.length; i$1$2;")+"
"; - } - str+="
}
"; - return str; - } - }, - refresh:function(){ - with(firebug){ - el.button.css.selectbox.update(""); - var collection = internal.targetWindow.document.styleSheets; - for(var i=0,len=collection.length; iundefined"); - } else { - result.push("null"); - } - }else if (vtype=="regexp") { - result.push("" + _value + ""); - }else if (vtype=="date") { - result.push("'" + _value + "'"); - } else if (vtype=="boolean"||vtype=="number") { - result.push("" + _value + ""); - } else if(vtype=="function"){ - result.push("function()"); - } else { - result.push("\""+( !_inObject&&!_inArray?_value : _value.substring(0,35)+(_value.length>35?" ...":"") ).replace(/\n/g,"\\n").replace(/\s/g," ").replace(/>/g,">").replace(/"); - } - } - // element - else if(isElement){ - - if(_value.nodeType==3) - result.push(d.highlight(_value.nodeValue)); - else if(_inObject){ - result.push(""+_value.nodeName.toLowerCase()+""); - } else { - result.push(""); - - if(_inArray){ - result.push(_value.nodeName.toLowerCase()); - if(_value.getAttribute){ - if(_value.getAttribute&&_value.getAttribute("id")) - result.push("#"+_value.getAttribute("id")+""); - var elClass = _value.getAttribute(lib.env.ie&&!lib.env.ie8?"className":"class")||""; - result.push(!elClass?"":"."+elClass.split(" ")[0]+""); - } - result.push(""); - } else { - result.push("<"+ _value.nodeName.toLowerCase()); - - if(_value.attributes){ - for(var i=0,len=_value.attributes.length; i"+item.nodeName+"=\""+item.nodeValue+"\""); - } - } - - result.push(">"); - } - } - } - // array, hash - else if(isArray||isHash){ - if(isArray){ - if(_inObject){ - result.push("["+_value.length+"]"); - } else { - result.push("[ "); - - for(var i=0,len=_value.length; i3){ - result.push(", "+(len-4)+" More..."); - break; - } - result.push( (i > 0 ? ", " : "") + d.highlight(_value[i], false, true, true) ); - } - - result.push(" ]"); - } - } else if(_inObject){ - result.push("Object"); - } else { - result.push("Object"); - var i=0; - for(var key in _value){ - var value = _value[key]; - if((_inObject||_inArray)&&i>3){ - result.push(" More..."); - break; - } - result.push(" "+key+"="+d.highlight(value,true)); - i++; - } - result.push(""); - } - } else { - result.push([""+_value+""]); - } - } catch(e){ - result.push(".."); - } - return result.join(""); - } - }, - html:{ - nIndex:"computedStyle", - current:null, - highlight:function(_element,_clear,_event){ - with(firebug){ - if(_element.firebugElement){ - return; - } - if(_clear){ - internal.targetWindow.firebug.el.bgInspector.environment.addStyle({ "display":"none" }); - return; - } - d.inspector.inspect(_element,true); - } - }, - inspect:function(_element){ - var map = [], - parentLayer, - t, - link, - tagName, - searchEl, - parent = _element; - while (parent) { - map.push(parent); - if (parent == firebug.internal.targetWindow.document.body) break; - parent = parent.parentNode; - } - map = map.reverse(); - with(firebug) { - if (env.dIndex != "html") { - internal.targetWindow.firebug.d.navigate("html"); - } - - internal.targetWindow.firebug.d.inspector.toggle(false); - - for (t = 0; t < el.left.html.container.child.get().length; t++) { - searchEl=el.left.html.container.child.get()[t]; - if(/<html>").insert(parent); - }; - - for(var i=0; i<=len; i++){ - if(i==len){ - new lib.element("A").attribute.addClass("Block").update("</"+element.nodeName.toLowerCase()+">").insert(container); - break; - } - var item = element.childNodes[i]; - - if (item.nodeType != Node.TEXT_NODE && !item.getAttribute('firebugIgnore')){ - var container = new lib.element().attribute.addClass("Block").insert(parent), - link = new lib.element("A").attribute.addClass("Link").insert(container), - spacer = new lib.element("SPAN").attribute.addClass("Spacer").update(" ").insert(link), - html = new lib.element("SPAN").attribute.addClass("Content").update(d.highlight(item)).insert(link), - subContainer = new lib.element("DIV").attribute.addClass("SubContainer").insert(container), - view; - - if(item.nodeType == Node.COMMENT_NODE) { - continue; - } - - view = lib.util.Element.getView(item); - link.event.addListener("click", lib.util.Curry(d.html.openHtmlTree, window, item, subContainer, false)); - link.event.addListener("mouseover", lib.util.Curry(d.html.highlight, window, item, false)); - link.event.addListener("mouseout", lib.util.Curry(d.html.highlight, window, item, true)); - - returnParentVal = returnParentEl == item ? subContainer : returnParentVal; - - if(d.html.current==null&&item==document.body){ - link.attribute.addClass("Selected"); - link.attribute.addClass("Parent"); - d.html.current = [item,link]; - d.html.openHtmlTree(item,subContainer); - } - - if(element.nodeName!="HEAD"&&element!=document.documentElement&&(view.visibility=="hidden"||view.display=="none")){ - container.attribute.addClass("Unvisible"); - }; - - if (item.childNodes){ - var childLen = item.childNodes.length; - if (childLen == 1 && item.childNodes[0].nodeType == Node.TEXT_NODE) { - if(isFinite(env.textNodeChars)&&parseInt(env.textNodeChars)>0) { - html.child.add(document.createTextNode(item.childNodes[0].nodeValue.substring(0, env.textNodeChars))); - } else { - html.child.add(document.createTextNode(item.childNodes[0].nodeValue)); - } - html.child.add(document.createTextNode("")); - continue; - } - else if (childLen > 0) { - link.attribute.addClass("Parent"); - } - } - } - }; - return returnParentVal; - } - }, - openProperties:function(){ - with(firebug){ - var index = d.html.nIndex; - var node = d.html.current[0]; - d.clean(el.right.html.content); - var str = ""; - switch(index){ - case "computedStyle": - var property = ["opacity","filter","azimuth","background","backgroundAttachment","backgroundColor","backgroundImage","backgroundPosition","backgroundRepeat","border","borderCollapse","borderColor","borderSpacing","borderStyle","borderTop","borderRight","borderBottom","borderLeft","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderWidth","bottom","captionSide","clear","clip","color","content","counterIncrement","counterReset","cue","cueAfter","cueBefore","cursor","direction","display","elevation","emptyCells","cssFloat","font","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","height","left","letterSpacing","lineHeight","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginTop","marginRight","marginBottom","marginLeft","markerOffset","marks","maxHeight","maxWidth","minHeight","minWidth","orphans","outline","outlineColor","outlineStyle","outlineWidth","overflow","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","page","pageBreakAfter","pageBreakBefore","pageBreakInside","pause","pauseAfter","pauseBefore","pitch","pitchRange","playDuring","position","quotes","richness","right","size","speak","speakHeader","speakNumeral","speakPunctuation","speechRate","stress","tableLayout","textAlign","textDecoration","textIndent","textShadow","textTransform","top","unicodeBidi","verticalAlign","visibility","voiceFamily","volume","whiteSpace","widows","width","wordSpacing","zIndex"].sort(); - var view = document.defaultView?document.defaultView.getComputedStyle(node,null):node.currentStyle; - for(var i=0,len=property.length; i
"+d.highlight(view[item])+"
"; - } - el.right.html.content.update(str); - break; - case "dom": - d.dom.open(node,el.right.html.content,lib.env.ie); - break; - } - } - } - }, - inspector:{ - enabled:false, - el:null, - inspect:function(_element,_bgInspector){ - with(firebug){ - var pos = internal.targetWindow.firebug.lib.util.Element.getPosition(_element); - - internal.targetWindow.firebug.el[_bgInspector&&"bgInspector"||"borderInspector"].environment.addStyle({ - "width":_element.offsetWidth+"px", "height":_element.offsetHeight+"px", - "top":pos.offsetTop-(_bgInspector?0:2)+"px", "left":pos.offsetLeft-(_bgInspector?0:2)+"px", - "display":"block" - }); - - if(!_bgInspector){ - d.inspector.el = _element; - } - }; - }, - toggle:function(_absoluteValue,_event){ - with (firebug) { - if(_absoluteValue==d.inspector.enabled) - return; - d.inspector.enabled = _absoluteValue!=undefined&&!_absoluteValue.clientX?_absoluteValue:!d.inspector.enabled; - el.button.inspect.attribute[(d.inspector.enabled ? "add" : "remove") + "Class"]("Enabled"); - if(d.inspector.enabled==false){ - el.borderInspector.environment.addStyle({ "display":"none" }); - d.inspector.el = null; - } else if(lib.env.dIndex!="html") { - if (internal.popupWin) { - internal.popupWin.firebug.d.navigate("html"); - } else { - d.navigate("html"); - } - } - } - } - }, - scripts:{ - index:-1, - lineNumbers:false, - open:function(_index){ - with(firebug){ - d.scripts.index = _index; - el.left.scripts.container.update(""); - var i=0,script = document.getElementsByTagName("script")[_index],uri = script.src||document.location.href,source; - try { - if(uri!=document.location.href){ - source = internal.cache[uri]||lib.xhr.get(uri).responseText; - internal.cache[uri] = source; - } else { - source = script.innerHTML; - } - source = source.replace(/<|>/g,function(_ch){ - return ({"<":"<",">":">"})[_ch]; - }); - - if(d.scripts.lineNumbers){ - source = source.replace(/(^)|\n/g,function(_ch){ - i++; - return "\n"+i+" "; - }); - } - - el.left.scripts.container.update(source); - } catch(e){ - el.left.scripts.container.child.add( - new lib.element("DIV").attribute.addClass("CodeContainer").update("Access to restricted URI denied") - ); - } - } - }, - toggleLineNumbers:function(){ - with(firebug){ - d.scripts.lineNumbers = !d.scripts.lineNumbers; - el.button.scripts.lineNumbers.attribute[(d.scripts.lineNumbers ? "add" : "remove") + "Class"]("Enabled"); - d.scripts.open( d.scripts.index ); - } - }, - refresh:function(){ - with(firebug){ - el.button.scripts.selectbox.clean(); - var collection = internal.targetWindow.document.getElementsByTagName("script"); - for(var i=0,len=collection.length; i")) - } - } - }, - xhr:{ - objects:[], - addObject:function(){ - with(firebug){ - for(var i=0,len=arguments.length; i0&&_object[0]!=undefined&&_object[len-1]!=undefined){ - return true; - } else { - for(var key in _object){ - if(key!="item"&&key!="length"&&key!="setNamedItemNS"&&key!="setNamedItem"&&key!="getNamedItem"&&key!="removeNamedItem"&&key!="getNamedItemNS"&&key!="removeNamedItemNS"&&key!="tags"){ - return false; - } - } - return true - }; - }, - IsHash:function(_object){ - return _object && typeof _object=="object"&&(_object==window||_object instanceof Object)&&!_object.nodeName&&!pi.util.IsArray(_object) - }, - Init:[], - AddEvent: function(_element,_eventName,_fn,_useCapture){ - _element[pi.env.ie?"attachEvent":"addEventListener"]((pi.env.ie?"on":"")+_eventName,_fn,_useCapture||false); - return pi.util.Curry(pi.util.AddEvent,this,_element); - }, - RemoveEvent: function(_element,_eventName,_fn,_useCapture){ - _element[pi.env.ie?"detachEvent":"removeEventListener"]((pi.env.ie?"on":"")+_eventName,_fn,_useCapture||false); - return pi.util.Curry(pi.util.RemoveEvent,this,_element); - }, - Element:{ - addClass:function(_element,_class){ - if( !pi.util.Element.hasClass(_element,_class) ) - pi.util.Element.setClass(_element, pi.util.Element.getClass(_element) + " " + _class ); - }, - getClass:function(_element){ - return _element.getAttribute(pi.env.ie&&!pi.env.ie8?"className":"class")||""; - }, - hasClass:function(_element,_class){ - return pi.util.Array.indexOf(pi.util.Element.getClass(_element).split(" "),_class)>-1; - }, - removeClass:function(_element,_class){ - if( pi.util.Element.hasClass(_element,_class) ){ - var names = pi.util.Element.getClass(_element,_class).split(" "); - pi.util.Element.setClass( - _element, - pi.util.Array.remove(names,pi.util.Array.indexOf(names,_class)).join(" ") - ); - } - }, - setClass:function(_element,_value){ - if(pi.env.ie8){ - _element.setAttribute("className", _value ); - _element.setAttribute("class", _value ); - } else { - _element.setAttribute(pi.env.ie?"className":"class", _value ); - } - }, - toggleClass:function(){ - if(pi.util.Element.hasClass.apply(this,arguments)) - pi.util.Element.removeClass.apply(this,arguments); - else - pi.util.Element.addClass.apply(this,arguments); - }, - getOpacity:function(_styleObject){ - var styleObject = _styleObject; - if(!pi.env.ie) - return styleObject["opacity"]; - - var alpha = styleObject["filter"].match(/opacity\=(\d+)/i); - return alpha?alpha[1]/100:1; - }, - setOpacity:function(_element,_value){ - if(!pi.env.ie) - return pi.util.Element.addStyle(_element,{ "opacity":_value }); - _value*=100; - pi.util.Element.addStyle(_element,{ "filter":"alpha(opacity="+_value+")" }); - return this._parent_; - }, - getPosition:function(_element){ - var parent = _element,offsetLeft = document.body.offsetLeft, offsetTop = document.body.offsetTop, view = pi.util.Element.getView(_element); - while(parent&&parent!=document.body&&parent!=document.firstChild){ - offsetLeft +=parseInt(parent.offsetLeft); - offsetTop += parseInt(parent.offsetTop); - parent = parent.offsetParent; - }; - return { - "bottom":view["bottom"], - "clientLeft":_element.clientLeft, - "clientTop":_element.clientTop, - "left":view["left"], - "marginTop":view["marginTop"], - "marginLeft":view["marginLeft"], - "offsetLeft":offsetLeft, - "offsetTop":offsetTop, - "position":view["position"], - "right":view["right"], - "top":view["top"], - "zIndex":view["zIndex"] - }; - }, - getSize:function(_element){ - var view = pi.util.Element.getView(_element); - return { - "height":view["height"], - "clientHeight":_element.clientHeight, - "clientWidth":_element.clientWidth, - "offsetHeight":_element.offsetHeight, - "offsetWidth":_element.offsetWidth, - "width":view["width"] - } - }, - addStyle:function(_element,_style){ - for(var key in _style){ - key = key=="float"?pi.env.ie?"styleFloat":"cssFloat":key; - if (key == "opacity" && pi.env.ie) { - pi.util.Element.setOpacity(_element,_style[key]); - continue; - } - try { - _element.style[key] = _style[key]; - }catch(e){} - } - }, - getStyle:function(_element,_property){ - _property = _property=="float"?pi.env.ie?"styleFloat":"cssFloat":_property; - if(_property=="opacity"&&pi.env.ie) - return pi.util.Element.getOpacity(_element.style); - return typeof _property=="string"?_element.style[_property]:_element.style; - }, - getValue:function(_element){ - switch(_element.nodeName.toLowerCase()){ - case "input": - case "textarea": - return _element.value; - case "select": - return _element.options[_element.selectedIndex].value; - default: - return _element.innerHTML; - break; - } - }, - getView:function(_element,_property){ - var view = document.defaultView?document.defaultView.getComputedStyle(_element,null):_element.currentStyle; - _property = _property=="float"?pi.env.ie?"styleFloat":"cssFloat":_property; - if(_property=="opacity"&&pi.env.ie) - return pi.util.Element.getOpacity(_element,view); - return typeof _property=="string"?view[_property]:view; - } - }, - Hash: { - clone:function(_hash,_undeep){ - var tmp = {}; - for(var key in _hash){ - if( !_undeep&&pi.util.IsArray( _hash[key] ) ){ - tmp[key] = pi.util.Array.clone( _hash[key] ); - } else if( !_undeep&&pi.util.IsHash( _hash[key] ) ){ - tmp[ key ] = pi.util.Hash.clone(_hash[key]); - } else { - tmp[key] = _hash[key]; - } - } - return tmp; - }, - merge:function(_hash,_source,_undeep){ - for(var key in _source){ - var value = _source[key]; - if (!_undeep&&pi.util.IsArray(_source[key])) { - if(pi.util.IsArray( _hash[key] )){ - Array.prototype.push.apply( _source[key], _hash[key] ) - } - else - value = pi.util.Array.clone(_source[key]); - } - else if (!_undeep&&pi.util.IsHash(_source[key])) { - if (pi.util.IsHash(_hash[key])) { - value = pi.util.Hash.merge(_hash[key], _source[key]); - } else { - value = pi.util.Hash.clone( _source[key] ); - } - } else if( _hash[key] ) - value = _hash[ key ]; - _hash[key] = value; - }; - return _hash; - } - }, - String:{ - format:function(_str){ - var values = Array.prototype.slice.call(arguments,1); - return _str.replace(/\{(\d)\}/g,function(){ - return values[arguments[1]]; - }) - } - }, - GetViewport:function(){ - return { - height:document.documentElement.clientHeight||document.body.clientHeight, - width:document.documentElement.clientWidth||document.body.clientWidth - } - } - }; - - pi.base = function(){ - this.body = {}; - this.init = null; - - this.build = function(_skipClonning){ - var base = this, skipClonning = _skipClonning||false, _private = {}, - fn = function(){ - var _p = pi.util.Hash.clone(_private); - if(!skipClonning){ - for(var key in this){ - if(pi.util.IsArray( this[ key ] ) ){ - this[key] = pi.util.Array.clone( this[key] ); - } else - if( pi.util.IsHash(this[key]) ){ - this[key] = pi.util.Hash.clone( - this[ key ], - function(_key,_object){ - this[ _key ]._parent_ = this; - } - ); - //this[key]._parent_ = this; - } - } - }; - base.createAccessors( _p, this ); - if(base.init) - return base.init.apply(this,arguments); - return this; - }; - this.movePrivateMembers(this.body,_private); - if(this.init){ - fn["$Init"] = this.init; - }; - fn.prototype = this.body; - return fn; - }; - - this.createAccessors = function(_p, _branch){ - var getter = function(_property){ return this[_property]; }, - setter = function(_property,_value){ this[_property] = _value; return _branch._parent_||_branch; }; - - for (var name in _p) { - var isPrivate = name.substring(0, 1) == "_", title = name.substring(1, 2).toUpperCase() + name.substring(2); - - if (isPrivate) { - _branch[(_branch["get" + title]?"_":"")+"get" + title] = pi.util.Curry(getter,_p,name); - _branch[(_branch["set" + title]?"_":"")+"set" + title] = pi.util.Curry(setter,_p,name); - } - else - if (pi.util.IsHash(_p[name])){ - _branch[name]._parent_ = _branch; - if(!_branch[name]) - _branch[name] = {}; - this.createAccessors(_p[name], _branch[name]); - } - }; - }; - - this.movePrivateMembers = function(_object, _branch){ - for (var name in _object) { - var isPrivate = name.substring(0, 1) == "_"; - - if (isPrivate) { - _branch[name] = _object[name]; - delete _object[name]; - } - else - if (pi.util.IsHash(_object[name])){ - _branch[name] = {}; - this.movePrivateMembers(_object[name], _branch[name]); - } - }; - }; - }; - - pi.element = new pi.base; - pi.element.init = function(_val){ - this.environment.setElement( - typeof _val=="string"||!_val? - document.createElement(_val||"DIV"): - _val - ); - return this; - }; - - pi.element.body = { - "addStyle":function(){ - return this.environment.addStyle.apply(this.environment,arguments); - }, - "clean":function(){ - var childs = this.child.get(); - while(childs.length){ - childs[0].parentNode.removeChild(childs[0]); - } - }, - "clone":function(_deep){ - return this.environment.getElement().cloneNode(_deep); - }, - "insert":function(_element){ - _element = _element.environment?_element.environment.getElement():_element; - _element.appendChild(this.environment.getElement()); - return this; - }, - "insertAfter":function(_referenceElement){ - _referenceElement = _referenceElement.environment?_referenceElement.environment.getElement():_referenceElement; - _referenceElement.nextSibling?this.insertBefore(_referenceElement.nextSibling):this.insert(_referenceElement.parentNode); - return this; - }, - "insertBefore":function(_referenceElement){ - _referenceElement = _referenceElement.environment?_referenceElement.environment.getElement():_referenceElement; - _referenceElement.parentNode.insertBefore(this.environment.getElement(),_referenceElement); - return this; - }, - "query":function(_expression,_resultType,namespaceResolver,_result){ - return pi.xpath(_expression,_resultType||"ORDERED_NODE_SNAPSHOT_TYPE",this.environment.getElement(),_namespaceResolver,_result); - }, - "remove":function(){ - if (this.environment.getParent()) { - this.environment.getParent().removeChild(this.environment.getElement()); - } - }, - "update":function(_value){ - this.element[this.element.nodeName.toLowerCase()=="textarea"||this.element.nodeName.toLowerCase()=="input"?"value":"innerHTML"]=_value; - return this; - }, - "attribute":{ - "getAll":function(){ - return this._parent_.environment.getElement().attributes; - }, - "clear":function(_name){ - this.set(_name,""); - return this._parent_; - }, - "get":function(_name){ - return this._parent_.environment.getElement().getAttribute(_name); - }, - "has":function(_name){ - return pi.env.ie?(this.get(_name)!=null):this._parent_.environment.getElement().hasAttribute(_name); - }, - "remove":function(_name){ - this._parent_.environment.getElement().removeAttribute(_name); - return this._parent_; - }, - "set":function(_name,_value){ - this._parent_.environment.getElement().setAttribute(_name,_value); - return this._parent_; - }, - "addClass":function(_classes){ - for(var i=0,len=arguments.length; i-1){ - callback[i].fn.apply(this); - } - } - } - }; - pi.xhr = pi.xhr.build(); - - /* - * xml.xhr.get - */ - - pi.xhr.get = function(_url,_returnPiObject){ - var request = new pi.xhr(); - request.environment.setAsync(false); - request.environment.setUrl(_url); - request.send(); - return _returnPiObject?request:request.environment.getApi(); - }; - - /* - * registering onload event for init functions - */ - pi.util.AddEvent( - pi.env.ie?window:document, - pi.env.ie?"load":"DOMContentLoaded", - function(){ - for(var i=0,len=pi.util.Init.length; i=0; i--){ - var script = scriptsIncluded[i], - src = getFileName(script.src); - if(src){ - internal.liteFilename = src; - break; - } - } - initConsole(); - lib.util.Init.push(firebug.init); - } -})(); diff --git a/tests/lib/firebug-lite/firebug.gif b/tests/lib/firebug-lite/firebug.gif deleted file mode 100644 index 2b05ad8..0000000 Binary files a/tests/lib/firebug-lite/firebug.gif and /dev/null differ diff --git a/tests/lib/firebug-lite/firebug_logo.png b/tests/lib/firebug-lite/firebug_logo.png deleted file mode 100644 index e2981d6..0000000 Binary files a/tests/lib/firebug-lite/firebug_logo.png and /dev/null differ diff --git a/tests/lib/firebug-lite/infoIcon.png b/tests/lib/firebug-lite/infoIcon.png deleted file mode 100644 index da1e533..0000000 Binary files a/tests/lib/firebug-lite/infoIcon.png and /dev/null differ diff --git a/tests/lib/firebug-lite/progress.gif b/tests/lib/firebug-lite/progress.gif deleted file mode 100644 index e61d709..0000000 Binary files a/tests/lib/firebug-lite/progress.gif and /dev/null differ diff --git a/tests/lib/firebug-lite/spacer.gif b/tests/lib/firebug-lite/spacer.gif deleted file mode 100644 index 3be2119..0000000 Binary files a/tests/lib/firebug-lite/spacer.gif and /dev/null differ diff --git a/tests/lib/firebug-lite/tree_close.gif b/tests/lib/firebug-lite/tree_close.gif deleted file mode 100644 index e26728a..0000000 Binary files a/tests/lib/firebug-lite/tree_close.gif and /dev/null differ diff --git a/tests/lib/firebug-lite/tree_open.gif b/tests/lib/firebug-lite/tree_open.gif deleted file mode 100644 index edf662f..0000000 Binary files a/tests/lib/firebug-lite/tree_open.gif and /dev/null differ diff --git a/tests/lib/firebug-lite/warningIcon.png b/tests/lib/firebug-lite/warningIcon.png deleted file mode 100644 index de51084..0000000 Binary files a/tests/lib/firebug-lite/warningIcon.png and /dev/null differ diff --git a/tests/lib/jquery-1.4.3.min.js b/tests/lib/jquery-1.4.3.min.js deleted file mode 100644 index c941a5f..0000000 --- a/tests/lib/jquery-1.4.3.min.js +++ /dev/null @@ -1,166 +0,0 @@ -/*! - * jQuery JavaScript Library v1.4.3 - * http://jquery.com/ - * - * Copyright 2010, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2010, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Thu Oct 14 23:10:06 2010 -0400 - */ -(function(E,A){function U(){return false}function ba(){return true}function ja(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function Ga(a){var b,d,e=[],f=[],h,k,l,n,s,v,B,D;k=c.data(this,this.nodeType?"events":"__events__");if(typeof k==="function")k=k.events;if(!(a.liveFired===this||!k||!k.live||a.button&&a.type==="click")){if(a.namespace)D=RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var H=k.live.slice(0);for(n=0;nd)break;a.currentTarget=f.elem;a.data=f.handleObj.data; -a.handleObj=f.handleObj;D=f.handleObj.origHandler.apply(f.elem,arguments);if(D===false||a.isPropagationStopped()){d=f.level;if(D===false)b=false}}return b}}function Y(a,b){return(a&&a!=="*"?a+".":"")+b.replace(Ha,"`").replace(Ia,"&")}function ka(a,b,d){if(c.isFunction(b))return c.grep(a,function(f,h){return!!b.call(f,h,f)===d});else if(b.nodeType)return c.grep(a,function(f){return f===b===d});else if(typeof b==="string"){var e=c.grep(a,function(f){return f.nodeType===1});if(Ja.test(b))return c.filter(b, -e,!d);else b=c.filter(b,e)}return c.grep(a,function(f){return c.inArray(f,b)>=0===d})}function la(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var e=c.data(a[d++]),f=c.data(this,e);if(e=e&&e.events){delete f.handle;f.events={};for(var h in e)for(var k in e[h])c.event.add(this,h,e[h][k],e[h][k].data)}}})}function Ka(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)} -function ma(a,b,d){var e=b==="width"?a.offsetWidth:a.offsetHeight;if(d==="border")return e;c.each(b==="width"?La:Ma,function(){d||(e-=parseFloat(c.css(a,"padding"+this))||0);if(d==="margin")e+=parseFloat(c.css(a,"margin"+this))||0;else e-=parseFloat(c.css(a,"border"+this+"Width"))||0});return e}function ca(a,b,d,e){if(c.isArray(b)&&b.length)c.each(b,function(f,h){d||Na.test(a)?e(a,h):ca(a+"["+(typeof h==="object"||c.isArray(h)?f:"")+"]",h,d,e)});else if(!d&&b!=null&&typeof b==="object")c.isEmptyObject(b)? -e(a,""):c.each(b,function(f,h){ca(a+"["+f+"]",h,d,e)});else e(a,b)}function S(a,b){var d={};c.each(na.concat.apply([],na.slice(0,b)),function(){d[this]=a});return d}function oa(a){if(!da[a]){var b=c("<"+a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d==="")d="block";da[a]=d}return da[a]}function ea(a){return c.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var u=E.document,c=function(){function a(){if(!b.isReady){try{u.documentElement.doScroll("left")}catch(i){setTimeout(a, -1);return}b.ready()}}var b=function(i,r){return new b.fn.init(i,r)},d=E.jQuery,e=E.$,f,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,k=/\S/,l=/^\s+/,n=/\s+$/,s=/\W/,v=/\d/,B=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,D=/^[\],:{}\s]*$/,H=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,w=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,G=/(?:^|:|,)(?:\s*\[)+/g,M=/(webkit)[ \/]([\w.]+)/,g=/(opera)(?:.*version)?[ \/]([\w.]+)/,j=/(msie) ([\w.]+)/,o=/(mozilla)(?:.*? rv:([\w.]+))?/,m=navigator.userAgent,p=false, -q=[],t,x=Object.prototype.toString,C=Object.prototype.hasOwnProperty,P=Array.prototype.push,N=Array.prototype.slice,R=String.prototype.trim,Q=Array.prototype.indexOf,L={};b.fn=b.prototype={init:function(i,r){var y,z,F;if(!i)return this;if(i.nodeType){this.context=this[0]=i;this.length=1;return this}if(i==="body"&&!r&&u.body){this.context=u;this[0]=u.body;this.selector="body";this.length=1;return this}if(typeof i==="string")if((y=h.exec(i))&&(y[1]||!r))if(y[1]){F=r?r.ownerDocument||r:u;if(z=B.exec(i))if(b.isPlainObject(r)){i= -[u.createElement(z[1])];b.fn.attr.call(i,r,true)}else i=[F.createElement(z[1])];else{z=b.buildFragment([y[1]],[F]);i=(z.cacheable?z.fragment.cloneNode(true):z.fragment).childNodes}return b.merge(this,i)}else{if((z=u.getElementById(y[2]))&&z.parentNode){if(z.id!==y[2])return f.find(i);this.length=1;this[0]=z}this.context=u;this.selector=i;return this}else if(!r&&!s.test(i)){this.selector=i;this.context=u;i=u.getElementsByTagName(i);return b.merge(this,i)}else return!r||r.jquery?(r||f).find(i):b(r).find(i); -else if(b.isFunction(i))return f.ready(i);if(i.selector!==A){this.selector=i.selector;this.context=i.context}return b.makeArray(i,this)},selector:"",jquery:"1.4.3",length:0,size:function(){return this.length},toArray:function(){return N.call(this,0)},get:function(i){return i==null?this.toArray():i<0?this.slice(i)[0]:this[i]},pushStack:function(i,r,y){var z=b();b.isArray(i)?P.apply(z,i):b.merge(z,i);z.prevObject=this;z.context=this.context;if(r==="find")z.selector=this.selector+(this.selector?" ": -"")+y;else if(r)z.selector=this.selector+"."+r+"("+y+")";return z},each:function(i,r){return b.each(this,i,r)},ready:function(i){b.bindReady();if(b.isReady)i.call(u,b);else q&&q.push(i);return this},eq:function(i){return i===-1?this.slice(i):this.slice(i,+i+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(i){return this.pushStack(b.map(this,function(r,y){return i.call(r, -y,r)}))},end:function(){return this.prevObject||b(null)},push:P,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var i=arguments[0]||{},r=1,y=arguments.length,z=false,F,I,K,J,fa;if(typeof i==="boolean"){z=i;i=arguments[1]||{};r=2}if(typeof i!=="object"&&!b.isFunction(i))i={};if(y===r){i=this;--r}for(;r0)){if(q){for(var r=0;i=q[r++];)i.call(u,b);q=null}b.fn.triggerHandler&&b(u).triggerHandler("ready")}}},bindReady:function(){if(!p){p=true;if(u.readyState==="complete")return setTimeout(b.ready, -1);if(u.addEventListener){u.addEventListener("DOMContentLoaded",t,false);E.addEventListener("load",b.ready,false)}else if(u.attachEvent){u.attachEvent("onreadystatechange",t);E.attachEvent("onload",b.ready);var i=false;try{i=E.frameElement==null}catch(r){}u.documentElement.doScroll&&i&&a()}}},isFunction:function(i){return b.type(i)==="function"},isArray:Array.isArray||function(i){return b.type(i)==="array"},isWindow:function(i){return i&&typeof i==="object"&&"setInterval"in i},isNaN:function(i){return i== -null||!v.test(i)||isNaN(i)},type:function(i){return i==null?String(i):L[x.call(i)]||"object"},isPlainObject:function(i){if(!i||b.type(i)!=="object"||i.nodeType||b.isWindow(i))return false;if(i.constructor&&!C.call(i,"constructor")&&!C.call(i.constructor.prototype,"isPrototypeOf"))return false;for(var r in i);return r===A||C.call(i,r)},isEmptyObject:function(i){for(var r in i)return false;return true},error:function(i){throw i;},parseJSON:function(i){if(typeof i!=="string"||!i)return null;i=b.trim(i); -if(D.test(i.replace(H,"@").replace(w,"]").replace(G,"")))return E.JSON&&E.JSON.parse?E.JSON.parse(i):(new Function("return "+i))();else b.error("Invalid JSON: "+i)},noop:function(){},globalEval:function(i){if(i&&k.test(i)){var r=u.getElementsByTagName("head")[0]||u.documentElement,y=u.createElement("script");y.type="text/javascript";if(b.support.scriptEval)y.appendChild(u.createTextNode(i));else y.text=i;r.insertBefore(y,r.firstChild);r.removeChild(y)}},nodeName:function(i,r){return i.nodeName&&i.nodeName.toUpperCase()=== -r.toUpperCase()},each:function(i,r,y){var z,F=0,I=i.length,K=I===A||b.isFunction(i);if(y)if(K)for(z in i){if(r.apply(i[z],y)===false)break}else for(;F";a=u.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var s=u.createElement("div"); -s.style.width=s.style.paddingLeft="1px";u.body.appendChild(s);c.boxModel=c.support.boxModel=s.offsetWidth===2;if("zoom"in s.style){s.style.display="inline";s.style.zoom=1;c.support.inlineBlockNeedsLayout=s.offsetWidth===2;s.style.display="";s.innerHTML="
";c.support.shrinkWrapBlocks=s.offsetWidth!==2}s.innerHTML="
t
";var v=s.getElementsByTagName("td");c.support.reliableHiddenOffsets=v[0].offsetHeight=== -0;v[0].style.display="";v[1].style.display="none";c.support.reliableHiddenOffsets=c.support.reliableHiddenOffsets&&v[0].offsetHeight===0;s.innerHTML="";u.body.removeChild(s).style.display="none"});a=function(s){var v=u.createElement("div");s="on"+s;var B=s in v;if(!B){v.setAttribute(s,"return;");B=typeof v[s]==="function"}return B};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=f=h=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength", -cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var pa={},Oa=/^(?:\{.*\}|\[.*\])$/;c.extend({cache:{},uuid:0,expando:"jQuery"+c.now(),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},data:function(a,b,d){if(c.acceptData(a)){a=a==E?pa:a;var e=a.nodeType,f=e?a[c.expando]:null,h=c.cache;if(!(e&&!f&&typeof b==="string"&&d===A)){if(e)f||(a[c.expando]=f=++c.uuid);else h=a;if(typeof b==="object")if(e)h[f]= -c.extend(h[f],b);else c.extend(h,b);else if(e&&!h[f])h[f]={};a=e?h[f]:h;if(d!==A)a[b]=d;return typeof b==="string"?a[b]:a}}},removeData:function(a,b){if(c.acceptData(a)){a=a==E?pa:a;var d=a.nodeType,e=d?a[c.expando]:a,f=c.cache,h=d?f[e]:e;if(b){if(h){delete h[b];d&&c.isEmptyObject(h)&&c.removeData(a)}}else if(d&&c.support.deleteExpando)delete a[c.expando];else if(a.removeAttribute)a.removeAttribute(c.expando);else if(d)delete f[e];else for(var k in a)delete a[k]}},acceptData:function(a){if(a.nodeName){var b= -c.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});c.fn.extend({data:function(a,b){if(typeof a==="undefined")return this.length?c.data(this[0]):null;else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===A){var e=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(e===A&&this.length){e=c.data(this[0],a);if(e===A&&this[0].nodeType===1){e=this[0].getAttribute("data-"+a);if(typeof e=== -"string")try{e=e==="true"?true:e==="false"?false:e==="null"?null:!c.isNaN(e)?parseFloat(e):Oa.test(e)?c.parseJSON(e):e}catch(f){}else e=A}}return e===A&&d[1]?this.data(d[0]):e}else return this.each(function(){var h=c(this),k=[d[0],b];h.triggerHandler("setData"+d[1]+"!",k);c.data(this,a,b);h.triggerHandler("changeData"+d[1]+"!",k)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var e=c.data(a,b);if(!d)return e|| -[];if(!e||c.isArray(d))e=c.data(a,b,c.makeArray(d));else e.push(d);return e}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),e=d.shift();if(e==="inprogress")e=d.shift();if(e){b==="fx"&&d.unshift("inprogress");e.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===A)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this, -a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var qa=/[\n\t]/g,ga=/\s+/,Pa=/\r/g,Qa=/^(?:href|src|style)$/,Ra=/^(?:button|input)$/i,Sa=/^(?:button|input|object|select|textarea)$/i,Ta=/^a(?:rea)?$/i,ra=/^(?:radio|checkbox)$/i;c.fn.extend({attr:function(a,b){return c.access(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this, -a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(s){var v=c(this);v.addClass(a.call(this,s,v.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ga),d=0,e=this.length;d-1)return true;return false}, -val:function(a){if(!arguments.length){var b=this[0];if(b){if(c.nodeName(b,"option")){var d=b.attributes.value;return!d||d.specified?b.value:b.text}if(c.nodeName(b,"select")){var e=b.selectedIndex;d=[];var f=b.options;b=b.type==="select-one";if(e<0)return null;var h=b?e:0;for(e=b?e+1:f.length;h=0;else if(c.nodeName(this,"select")){var B=c.makeArray(v);c("option",this).each(function(){this.selected= -c.inArray(c(this).val(),B)>=0});if(!B.length)this.selectedIndex=-1}else this.value=v}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,e){if(!a||a.nodeType===3||a.nodeType===8)return A;if(e&&b in c.attrFn)return c(a)[b](d);e=a.nodeType!==1||!c.isXMLDoc(a);var f=d!==A;b=e&&c.props[b]||b;if(a.nodeType===1){var h=Qa.test(b);if((b in a||a[b]!==A)&&e&&!h){if(f){b==="type"&&Ra.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"); -if(d===null)a.nodeType===1&&a.removeAttribute(b);else a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:Sa.test(a.nodeName)||Ta.test(a.nodeName)&&a.href?0:A;return a[b]}if(!c.support.style&&e&&b==="style"){if(f)a.style.cssText=""+d;return a.style.cssText}f&&a.setAttribute(b,""+d);if(!a.attributes[b]&&a.hasAttribute&&!a.hasAttribute(b))return A;a=!c.support.hrefNormalized&&e&& -h?a.getAttribute(b,2):a.getAttribute(b);return a===null?A:a}}});var X=/\.(.*)$/,ha=/^(?:textarea|input|select)$/i,Ha=/\./g,Ia=/ /g,Ua=/[^\w\s.|`]/g,Va=function(a){return a.replace(Ua,"\\$&")},sa={focusin:0,focusout:0};c.event={add:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(c.isWindow(a)&&a!==E&&!a.frameElement)a=E;if(d===false)d=U;var f,h;if(d.handler){f=d;d=f.handler}if(!d.guid)d.guid=c.guid++;if(h=c.data(a)){var k=a.nodeType?"events":"__events__",l=h[k],n=h.handle;if(typeof l=== -"function"){n=l.handle;l=l.events}else if(!l){a.nodeType||(h[k]=h=function(){});h.events=l={}}if(!n)h.handle=n=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(n.elem,arguments):A};n.elem=a;b=b.split(" ");for(var s=0,v;k=b[s++];){h=f?c.extend({},f):{handler:d,data:e};if(k.indexOf(".")>-1){v=k.split(".");k=v.shift();h.namespace=v.slice(0).sort().join(".")}else{v=[];h.namespace=""}h.type=k;if(!h.guid)h.guid=d.guid;var B=l[k],D=c.event.special[k]||{};if(!B){B=l[k]=[]; -if(!D.setup||D.setup.call(a,e,v,n)===false)if(a.addEventListener)a.addEventListener(k,n,false);else a.attachEvent&&a.attachEvent("on"+k,n)}if(D.add){D.add.call(a,h);if(!h.handler.guid)h.handler.guid=d.guid}B.push(h);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,d,e){if(!(a.nodeType===3||a.nodeType===8)){if(d===false)d=U;var f,h,k=0,l,n,s,v,B,D,H=a.nodeType?"events":"__events__",w=c.data(a),G=w&&w[H];if(w&&G){if(typeof G==="function"){w=G;G=G.events}if(b&&b.type){d=b.handler;b=b.type}if(!b|| -typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(f in G)c.event.remove(a,f+b)}else{for(b=b.split(" ");f=b[k++];){v=f;l=f.indexOf(".")<0;n=[];if(!l){n=f.split(".");f=n.shift();s=RegExp("(^|\\.)"+c.map(n.slice(0).sort(),Va).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(B=G[f])if(d){v=c.event.special[f]||{};for(h=e||0;h=0){a.type= -f=f.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[f]&&c.each(c.cache,function(){this.events&&this.events[f]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return A;a.result=A;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(e=d.nodeType?c.data(d,"handle"):(c.data(d,"__events__")||{}).handle)&&e.apply(d,b);e=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+f]&&d["on"+f].apply(d,b)=== -false){a.result=false;a.preventDefault()}}catch(h){}if(!a.isPropagationStopped()&&e)c.event.trigger(a,b,e,true);else if(!a.isDefaultPrevented()){e=a.target;var k,l=f.replace(X,""),n=c.nodeName(e,"a")&&l==="click",s=c.event.special[l]||{};if((!s._default||s._default.call(d,a)===false)&&!n&&!(e&&e.nodeName&&c.noData[e.nodeName.toLowerCase()])){try{if(e[l]){if(k=e["on"+l])e["on"+l]=null;c.event.triggered=true;e[l]()}}catch(v){}if(k)e["on"+l]=k;c.event.triggered=false}}},handle:function(a){var b,d,e; -d=[];var f,h=c.makeArray(arguments);a=h[0]=c.event.fix(a||E.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive;if(!b){e=a.type.split(".");a.type=e.shift();d=e.slice(0).sort();e=RegExp("(^|\\.)"+d.join("\\.(?:.*\\.)?")+"(\\.|$)")}a.namespace=a.namespace||d.join(".");f=c.data(this,this.nodeType?"events":"__events__");if(typeof f==="function")f=f.events;d=(f||{})[a.type];if(f&&d){d=d.slice(0);f=0;for(var k=d.length;f-1?c.map(a.options,function(e){return e.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},Z=function(a,b){var d=a.target,e,f;if(!(!ha.test(d.nodeName)||d.readOnly)){e=c.data(d,"_change_data");f=va(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data",f);if(!(e===A||f===e))if(e!=null||f){a.type="change";a.liveFired= -A;return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:Z,beforedeactivate:Z,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return Z.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return Z.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a,"_change_data",va(a))}},setup:function(){if(this.type=== -"file")return false;for(var a in V)c.event.add(this,a+".specialChange",V[a]);return ha.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return ha.test(this.nodeName)}};V=c.event.special.change.filters;V.focus=V.beforeactivate}u.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.trigger(e,null,e.target)}c.event.special[b]={setup:function(){sa[b]++===0&&u.addEventListener(a,d,true)},teardown:function(){--sa[b]=== -0&&u.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,e,f){if(typeof d==="object"){for(var h in d)this[b](h,e,d[h],f);return this}if(c.isFunction(e)||e===false){f=e;e=A}var k=b==="one"?c.proxy(f,function(n){c(this).unbind(n,k);return f.apply(this,arguments)}):f;if(d==="unload"&&b!=="one")this.one(d,e,f);else{h=0;for(var l=this.length;h0?this.bind(b,d,e):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});E.attachEvent&&!E.addEventListener&&c(E).bind("unload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}}); -(function(){function a(g,j,o,m,p,q){p=0;for(var t=m.length;p0){C=x;break}}x=x[g]}m[p]=C}}}var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,h=false,k=true;[0,0].sort(function(){k=false;return 0});var l=function(g,j,o,m){o=o||[];var p=j=j||u;if(j.nodeType!==1&&j.nodeType!==9)return[];if(!g||typeof g!=="string")return o;var q=[],t,x,C,P,N=true,R=l.isXML(j),Q=g,L;do{d.exec("");if(t=d.exec(Q)){Q=t[3];q.push(t[1]);if(t[2]){P=t[3]; -break}}}while(t);if(q.length>1&&s.exec(g))if(q.length===2&&n.relative[q[0]])x=M(q[0]+q[1],j);else for(x=n.relative[q[0]]?[j]:l(q.shift(),j);q.length;){g=q.shift();if(n.relative[g])g+=q.shift();x=M(g,x)}else{if(!m&&q.length>1&&j.nodeType===9&&!R&&n.match.ID.test(q[0])&&!n.match.ID.test(q[q.length-1])){t=l.find(q.shift(),j,R);j=t.expr?l.filter(t.expr,t.set)[0]:t.set[0]}if(j){t=m?{expr:q.pop(),set:D(m)}:l.find(q.pop(),q.length===1&&(q[0]==="~"||q[0]==="+")&&j.parentNode?j.parentNode:j,R);x=t.expr?l.filter(t.expr, -t.set):t.set;if(q.length>0)C=D(x);else N=false;for(;q.length;){t=L=q.pop();if(n.relative[L])t=q.pop();else L="";if(t==null)t=j;n.relative[L](C,t,R)}}else C=[]}C||(C=x);C||l.error(L||g);if(f.call(C)==="[object Array]")if(N)if(j&&j.nodeType===1)for(g=0;C[g]!=null;g++){if(C[g]&&(C[g]===true||C[g].nodeType===1&&l.contains(j,C[g])))o.push(x[g])}else for(g=0;C[g]!=null;g++)C[g]&&C[g].nodeType===1&&o.push(x[g]);else o.push.apply(o,C);else D(C,o);if(P){l(P,p,o,m);l.uniqueSort(o)}return o};l.uniqueSort=function(g){if(w){h= -k;g.sort(w);if(h)for(var j=1;j0};l.find=function(g,j,o){var m;if(!g)return[];for(var p=0,q=n.order.length;p":function(g,j){var o=typeof j==="string",m,p=0,q=g.length;if(o&&!/\W/.test(j))for(j=j.toLowerCase();p=0))o||m.push(t);else if(o)j[q]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var j=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=j[1]+(j[2]||1)-0;g[3]=j[3]-0}g[0]=e++;return g},ATTR:function(g,j,o, -m,p,q){j=g[1].replace(/\\/g,"");if(!q&&n.attrMap[j])g[1]=n.attrMap[j];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,j,o,m,p){if(g[1]==="not")if((d.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=l(g[3],null,null,j);else{g=l.filter(g[3],j,o,true^p);o||m.push.apply(m,g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled=== -true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,j,o){return!!l(o[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"=== -g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,j){return j===0},last:function(g,j,o,m){return j===m.length-1},even:function(g,j){return j%2===0},odd:function(g,j){return j%2===1},lt:function(g,j,o){return jo[3]-0},nth:function(g,j,o){return o[3]- -0===j},eq:function(g,j,o){return o[3]-0===j}},filter:{PSEUDO:function(g,j,o,m){var p=j[1],q=n.filters[p];if(q)return q(g,o,j,m);else if(p==="contains")return(g.textContent||g.innerText||l.getText([g])||"").indexOf(j[3])>=0;else if(p==="not"){j=j[3];o=0;for(m=j.length;o=0}},ID:function(g,j){return g.nodeType===1&&g.getAttribute("id")===j},TAG:function(g,j){return j==="*"&&g.nodeType===1||g.nodeName.toLowerCase()=== -j},CLASS:function(g,j){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(j)>-1},ATTR:function(g,j){var o=j[1];o=n.attrHandle[o]?n.attrHandle[o](g):g[o]!=null?g[o]:g.getAttribute(o);var m=o+"",p=j[2],q=j[4];return o==null?p==="!=":p==="="?m===q:p==="*="?m.indexOf(q)>=0:p==="~="?(" "+m+" ").indexOf(q)>=0:!q?m&&o!==false:p==="!="?m!==q:p==="^="?m.indexOf(q)===0:p==="$="?m.substr(m.length-q.length)===q:p==="|="?m===q||m.substr(0,q.length+1)===q+"-":false},POS:function(g,j,o,m){var p=n.setFilters[j[2]]; -if(p)return p(g,o,j,m)}}},s=n.match.POS,v=function(g,j){return"\\"+(j-0+1)},B;for(B in n.match){n.match[B]=RegExp(n.match[B].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[B]=RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[B].source.replace(/\\(\d+)/g,v))}var D=function(g,j){g=Array.prototype.slice.call(g,0);if(j){j.push.apply(j,g);return j}return g};try{Array.prototype.slice.call(u.documentElement.childNodes,0)}catch(H){D=function(g,j){var o=j||[],m=0;if(f.call(g)==="[object Array]")Array.prototype.push.apply(o, -g);else if(typeof g.length==="number")for(var p=g.length;m";var o=u.documentElement;o.insertBefore(g,o.firstChild);if(u.getElementById(j)){n.find.ID=function(m,p,q){if(typeof p.getElementById!=="undefined"&&!q)return(p=p.getElementById(m[1]))?p.id===m[1]||typeof p.getAttributeNode!=="undefined"&&p.getAttributeNode("id").nodeValue===m[1]?[p]:A:[]};n.filter.ID=function(m,p){var q=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&q&&q.nodeValue===p}}o.removeChild(g); -o=g=null})();(function(){var g=u.createElement("div");g.appendChild(u.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(j,o){var m=o.getElementsByTagName(j[1]);if(j[1]==="*"){for(var p=[],q=0;m[q];q++)m[q].nodeType===1&&p.push(m[q]);m=p}return m};g.innerHTML="";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(j){return j.getAttribute("href",2)};g=null})();u.querySelectorAll&& -function(){var g=l,j=u.createElement("div");j.innerHTML="

";if(!(j.querySelectorAll&&j.querySelectorAll(".TEST").length===0)){l=function(m,p,q,t){p=p||u;if(!t&&!l.isXML(p))if(p.nodeType===9)try{return D(p.querySelectorAll(m),q)}catch(x){}else if(p.nodeType===1&&p.nodeName.toLowerCase()!=="object"){var C=p.id,P=p.id="__sizzle__";try{return D(p.querySelectorAll("#"+P+" "+m),q)}catch(N){}finally{if(C)p.id=C;else p.removeAttribute("id")}}return g(m,p,q,t)};for(var o in g)l[o]=g[o]; -j=null}}();(function(){var g=u.documentElement,j=g.matchesSelector||g.mozMatchesSelector||g.webkitMatchesSelector||g.msMatchesSelector,o=false;try{j.call(u.documentElement,":sizzle")}catch(m){o=true}if(j)l.matchesSelector=function(p,q){try{if(o||!n.match.PSEUDO.test(q))return j.call(p,q)}catch(t){}return l(q,null,null,[p]).length>0}})();(function(){var g=u.createElement("div");g.innerHTML="
";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length=== -0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(j,o,m){if(typeof o.getElementsByClassName!=="undefined"&&!m)return o.getElementsByClassName(j[1])};g=null}}})();l.contains=u.documentElement.contains?function(g,j){return g!==j&&(g.contains?g.contains(j):true)}:function(g,j){return!!(g.compareDocumentPosition(j)&16)};l.isXML=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false};var M=function(g, -j){for(var o=[],m="",p,q=j.nodeType?[j]:j;p=n.match.PSEUDO.exec(g);){m+=p[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;p=0;for(var t=q.length;p0)for(var h=d;h0},closest:function(a, -b){var d=[],e,f,h=this[0];if(c.isArray(a)){var k={},l,n=1;if(h&&a.length){e=0;for(f=a.length;e-1:c(h).is(e))d.push({selector:l,elem:h,level:n})}h=h.parentNode;n++}}return d}k=$a.test(a)?c(a,b||this.context):null;e=0;for(f=this.length;e-1:c.find.matchesSelector(h,a)){d.push(h);break}else{h=h.parentNode;if(!h|| -!h.ownerDocument||h===b)break}d=d.length>1?c.unique(d):d;return this.pushStack(d,"closest",a)},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var d=typeof a==="string"?c(a,b||this.context):c.makeArray(a),e=c.merge(this.get(),d);return this.pushStack(!d[0]||!d[0].parentNode||d[0].parentNode.nodeType===11||!e[0]||!e[0].parentNode||e[0].parentNode.nodeType===11?e:c.unique(e))},andSelf:function(){return this.add(this.prevObject)}}); -c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling", -d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,e){var f=c.map(this,b,d);Wa.test(a)||(e=d);if(e&&typeof e==="string")f=c.filter(e,f);f=this.length>1?c.unique(f):f;if((this.length>1||Ya.test(e))&&Xa.test(a))f=f.reverse();return this.pushStack(f,a,Za.call(arguments).join(","))}}); -c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return b.length===1?c.find.matchesSelector(b[0],a)?[b[0]]:[]:c.find.matches(a,b)},dir:function(a,b,d){var e=[];for(a=a[b];a&&a.nodeType!==9&&(d===A||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&e.push(a);a=a[b]}return e},nth:function(a,b,d){b=b||1;for(var e=0;a;a=a[d])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var xa=/ jQuery\d+="(?:\d+|null)"/g, -$=/^\s+/,ya=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,za=/<([\w:]+)/,ab=/\s]+\/)>/g,O={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"], -area:[1,"",""],_default:[0,"",""]};O.optgroup=O.option;O.tbody=O.tfoot=O.colgroup=O.caption=O.thead;O.th=O.td;if(!c.support.htmlSerialize)O._default=[1,"div
","
"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==A)return this.empty().append((this[0]&&this[0].ownerDocument||u).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this, -d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})}, -unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a= -c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,e;(e=this[d])!=null;d++)if(!a||c.filter(a,[e]).length){if(!b&&e.nodeType===1){c.cleanData(e.getElementsByTagName("*")); -c.cleanData([e])}e.parentNode&&e.parentNode.removeChild(e)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,e=this.ownerDocument;if(!d){d=e.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(xa,"").replace(cb,'="$1">').replace($, -"")],e)[0]}else return this.cloneNode(true)});if(a===true){la(this,b);la(this.find("*"),b.find("*"))}return b},html:function(a){if(a===A)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(xa,""):null;else if(typeof a==="string"&&!Aa.test(a)&&(c.support.leadingWhitespace||!$.test(a))&&!O[(za.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ya,"<$1>");try{for(var b=0,d=this.length;b0||e.cacheable||this.length>1?l.cloneNode(true):l)}k.length&&c.each(k,Ka)}return this}});c.buildFragment=function(a,b,d){var e,f,h;b=b&&b[0]?b[0].ownerDocument||b[0]:u;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===u&&!Aa.test(a[0])&&(c.support.checkClone|| -!Ba.test(a[0]))){f=true;if(h=c.fragments[a[0]])if(h!==1)e=h}if(!e){e=b.createDocumentFragment();c.clean(a,b,e,d)}if(f)c.fragments[a[0]]=h?e:1;return{fragment:e,cacheable:f}};c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var e=[];d=c(d);var f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&d.length===1){d[b](this[0]);return this}else{f=0;for(var h= -d.length;f0?this.clone(true):this).get();c(d[f])[b](k);e=e.concat(k)}return this.pushStack(e,a,d.selector)}}});c.extend({clean:function(a,b,d,e){b=b||u;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||u;for(var f=[],h=0,k;(k=a[h])!=null;h++){if(typeof k==="number")k+="";if(k){if(typeof k==="string"&&!bb.test(k))k=b.createTextNode(k);else if(typeof k==="string"){k=k.replace(ya,"<$1>");var l=(za.exec(k)||["",""])[1].toLowerCase(),n=O[l]||O._default, -s=n[0],v=b.createElement("div");for(v.innerHTML=n[1]+k+n[2];s--;)v=v.lastChild;if(!c.support.tbody){s=ab.test(k);l=l==="table"&&!s?v.firstChild&&v.firstChild.childNodes:n[1]===""&&!s?v.childNodes:[];for(n=l.length-1;n>=0;--n)c.nodeName(l[n],"tbody")&&!l[n].childNodes.length&&l[n].parentNode.removeChild(l[n])}!c.support.leadingWhitespace&&$.test(k)&&v.insertBefore(b.createTextNode($.exec(k)[0]),v.firstChild);k=v.childNodes}if(k.nodeType)f.push(k);else f=c.merge(f,k)}}if(d)for(h=0;f[h];h++)if(e&& -c.nodeName(f[h],"script")&&(!f[h].type||f[h].type.toLowerCase()==="text/javascript"))e.push(f[h].parentNode?f[h].parentNode.removeChild(f[h]):f[h]);else{f[h].nodeType===1&&f.splice.apply(f,[h+1,0].concat(c.makeArray(f[h].getElementsByTagName("script"))));d.appendChild(f[h])}return f},cleanData:function(a){for(var b,d,e=c.cache,f=c.event.special,h=c.support.deleteExpando,k=0,l;(l=a[k])!=null;k++)if(!(l.nodeName&&c.noData[l.nodeName.toLowerCase()]))if(d=l[c.expando]){if((b=e[d])&&b.events)for(var n in b.events)f[n]? -c.event.remove(l,n):c.removeEvent(l,n,b.handle);if(h)delete l[c.expando];else l.removeAttribute&&l.removeAttribute(c.expando);delete e[d]}}});var Ca=/alpha\([^)]*\)/i,db=/opacity=([^)]*)/,eb=/-([a-z])/ig,fb=/([A-Z])/g,Da=/^-?\d+(?:px)?$/i,gb=/^-?\d/,hb={position:"absolute",visibility:"hidden",display:"block"},La=["Left","Right"],Ma=["Top","Bottom"],W,ib=u.defaultView&&u.defaultView.getComputedStyle,jb=function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){if(arguments.length===2&&b===A)return this; -return c.access(this,a,b,true,function(d,e,f){return f!==A?c.style(d,e,f):c.css(d,e)})};c.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=W(a,"opacity","opacity");return d===""?"1":d}else return a.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,opacity:true,zoom:true,lineHeight:true},cssProps:{"float":c.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var f,h=c.camelCase(b),k=a.style,l=c.cssHooks[h];b=c.cssProps[h]|| -h;if(d!==A){if(!(typeof d==="number"&&isNaN(d)||d==null)){if(typeof d==="number"&&!c.cssNumber[h])d+="px";if(!l||!("set"in l)||(d=l.set(a,d))!==A)try{k[b]=d}catch(n){}}}else{if(l&&"get"in l&&(f=l.get(a,false,e))!==A)return f;return k[b]}}},css:function(a,b,d){var e,f=c.camelCase(b),h=c.cssHooks[f];b=c.cssProps[f]||f;if(h&&"get"in h&&(e=h.get(a,true,d))!==A)return e;else if(W)return W(a,b,f)},swap:function(a,b,d){var e={},f;for(f in b){e[f]=a.style[f];a.style[f]=b[f]}d.call(a);for(f in b)a.style[f]= -e[f]},camelCase:function(a){return a.replace(eb,jb)}});c.curCSS=c.css;c.each(["height","width"],function(a,b){c.cssHooks[b]={get:function(d,e,f){var h;if(e){if(d.offsetWidth!==0)h=ma(d,b,f);else c.swap(d,hb,function(){h=ma(d,b,f)});return h+"px"}},set:function(d,e){if(Da.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!c.support.opacity)c.cssHooks.opacity={get:function(a,b){return db.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"": -b?"1":""},set:function(a,b){var d=a.style;d.zoom=1;var e=c.isNaN(b)?"":"alpha(opacity="+b*100+")",f=d.filter||"";d.filter=Ca.test(f)?f.replace(Ca,e):d.filter+" "+e}};if(ib)W=function(a,b,d){var e;d=d.replace(fb,"-$1").toLowerCase();if(!(b=a.ownerDocument.defaultView))return A;if(b=b.getComputedStyle(a,null)){e=b.getPropertyValue(d);if(e===""&&!c.contains(a.ownerDocument.documentElement,a))e=c.style(a,d)}return e};else if(u.documentElement.currentStyle)W=function(a,b){var d,e,f=a.currentStyle&&a.currentStyle[b], -h=a.style;if(!Da.test(f)&&gb.test(f)){d=h.left;e=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f||0;f=h.pixelLeft+"px";h.left=d;a.runtimeStyle.left=e}return f};if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!c.support.reliableHiddenOffsets&&(a.style.display||c.css(a,"display"))==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var kb=c.now(),lb=/)<[^<]*)*<\/script>/gi, -mb=/^(?:select|textarea)/i,nb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ob=/^(?:GET|HEAD|DELETE)$/,Na=/\[\]$/,T=/\=\?(&|$)/,ia=/\?/,pb=/([?&])_=[^&]*/,qb=/^(\w+:)?\/\/([^\/?#]+)/,rb=/%20/g,sb=/#.*$/,Ea=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&Ea)return Ea.apply(this,arguments);else if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="GET";if(b)if(c.isFunction(b)){d= -b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);e="POST"}var h=this;c.ajax({url:a,type:e,dataType:"html",data:b,complete:function(k,l){if(l==="success"||l==="notmodified")h.html(f?c("
").append(k.responseText.replace(lb,"")).find(f):k.responseText);d&&h.each(d,[k.responseText,l,k])}});return this},serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&& -!this.disabled&&(this.checked||mb.test(this.nodeName)||nb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isArray(d)?c.map(d,function(e){return{name:b.name,value:e}}):{name:b.name,value:d}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:e})}, -getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isFunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:e})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return new E.XMLHttpRequest},accepts:{xml:"application/xml, text/xml",html:"text/html", -script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxSettings,a),d,e,f,h=b.type.toUpperCase(),k=ob.test(h);b.url=b.url.replace(sb,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processData&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.dataType==="jsonp"){if(h==="GET")T.test(b.url)||(b.url+=(ia.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data|| -!T.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.dataType="json"}if(b.dataType==="json"&&(b.data&&T.test(b.data)||T.test(b.url))){d=b.jsonpCallback||"jsonp"+kb++;if(b.data)b.data=(b.data+"").replace(T,"="+d+"$1");b.url=b.url.replace(T,"="+d+"$1");b.dataType="script";var l=E[d];E[d]=function(m){f=m;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);if(c.isFunction(l))l(m);else{E[d]=A;try{delete E[d]}catch(p){}}v&&v.removeChild(B)}}if(b.dataType==="script"&&b.cache===null)b.cache= -false;if(b.cache===false&&h==="GET"){var n=c.now(),s=b.url.replace(pb,"$1_="+n);b.url=s+(s===b.url?(ia.test(b.url)?"&":"?")+"_="+n:"")}if(b.data&&h==="GET")b.url+=(ia.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxStart");n=(n=qb.exec(b.url))&&(n[1]&&n[1]!==location.protocol||n[2]!==location.host);if(b.dataType==="script"&&h==="GET"&&n){var v=u.getElementsByTagName("head")[0]||u.documentElement,B=u.createElement("script");if(b.scriptCharset)B.charset=b.scriptCharset;B.src= -b.url;if(!d){var D=false;B.onload=B.onreadystatechange=function(){if(!D&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){D=true;c.handleSuccess(b,w,e,f);c.handleComplete(b,w,e,f);B.onload=B.onreadystatechange=null;v&&B.parentNode&&v.removeChild(B)}}}v.insertBefore(B,v.firstChild);return A}var H=false,w=b.xhr();if(w){b.username?w.open(h,b.url,b.async,b.username,b.password):w.open(h,b.url,b.async);try{if(b.data!=null&&!k||a&&a.contentType)w.setRequestHeader("Content-Type", -b.contentType);if(b.ifModified){c.lastModified[b.url]&&w.setRequestHeader("If-Modified-Since",c.lastModified[b.url]);c.etag[b.url]&&w.setRequestHeader("If-None-Match",c.etag[b.url])}n||w.setRequestHeader("X-Requested-With","XMLHttpRequest");w.setRequestHeader("Accept",b.dataType&&b.accepts[b.dataType]?b.accepts[b.dataType]+", */*; q=0.01":b.accepts._default)}catch(G){}if(b.beforeSend&&b.beforeSend.call(b.context,w,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxStop");w.abort();return false}b.global&& -c.triggerGlobal(b,"ajaxSend",[w,b]);var M=w.onreadystatechange=function(m){if(!w||w.readyState===0||m==="abort"){H||c.handleComplete(b,w,e,f);H=true;if(w)w.onreadystatechange=c.noop}else if(!H&&w&&(w.readyState===4||m==="timeout")){H=true;w.onreadystatechange=c.noop;e=m==="timeout"?"timeout":!c.httpSuccess(w)?"error":b.ifModified&&c.httpNotModified(w,b.url)?"notmodified":"success";var p;if(e==="success")try{f=c.httpData(w,b.dataType,b)}catch(q){e="parsererror";p=q}if(e==="success"||e==="notmodified")d|| -c.handleSuccess(b,w,e,f);else c.handleError(b,w,e,p);d||c.handleComplete(b,w,e,f);m==="timeout"&&w.abort();if(b.async)w=null}};try{var g=w.abort;w.abort=function(){w&&g.call&&g.call(w);M("abort")}}catch(j){}b.async&&b.timeout>0&&setTimeout(function(){w&&!H&&M("timeout")},b.timeout);try{w.send(k||b.data==null?null:b.data)}catch(o){c.handleError(b,w,null,o);c.handleComplete(b,w,e,f)}b.async||M();return w}},param:function(a,b){var d=[],e=function(h,k){k=c.isFunction(k)?k():k;d[d.length]=encodeURIComponent(h)+ -"="+encodeURIComponent(k)};if(b===A)b=c.ajaxSettings.traditional;if(c.isArray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var f in a)ca(f,a[f],b,e);return d.join("&").replace(rb,"+")}});c.extend({active:0,lastModified:{},etag:{},handleError:function(a,b,d,e){a.error&&a.error.call(a.context,b,d,e);a.global&&c.triggerGlobal(a,"ajaxError",[b,a,e])},handleSuccess:function(a,b,d,e){a.success&&a.success.call(a.context,e,d,b);a.global&&c.triggerGlobal(a,"ajaxSuccess",[b,a])},handleComplete:function(a, -b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerGlobal(a,"ajaxComplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxStop")},triggerGlobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status===1223}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),e=a.getResponseHeader("Etag"); -if(d)c.lastModified[b]=d;if(e)c.etag[b]=e;return a.status===304},httpData:function(a,b,d){var e=a.getResponseHeader("content-type")||"",f=b==="xml"||!b&&e.indexOf("xml")>=0;a=f?a.responseXML:a.responseText;f&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b==="json"||!b&&e.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&e.indexOf("javascript")>=0)c.globalEval(a);return a}});if(E.ActiveXObject)c.ajaxSettings.xhr= -function(){if(E.location.protocol!=="file:")try{return new E.XMLHttpRequest}catch(a){}try{return new E.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}};c.support.ajax=!!c.ajaxSettings.xhr();var da={},tb=/^(?:toggle|show|hide)$/,ub=/^([+\-]=)?([\d+.\-]+)(.*)$/,aa,na=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(S("show",3),a,b,d);else{a= -0;for(b=this.length;a=0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slideDown:S("show",1),slideUp:S("hide",1),slideToggle:S("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b, -d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.duration]:c.fx.speeds._default;e.old=e.complete;e.complete=function(){e.queue!==false&&c(this).dequeue();c.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,d,e){return d+e*a},swing:function(a,b,d,e){return(-Math.cos(a* -Math.PI)/2+0.5)*e+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]||c.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(c.css(this.elem,this.prop));return a&&a>-1E4?a:0},custom:function(a,b,d){function e(h){return f.step(h)} -this.startTime=c.now();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start;this.pos=this.state=0;var f=this;a=c.fx;e.elem=this.elem;if(e()&&c.timers.push(e)&&!aa)aa=setInterval(a.tick,a.interval)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true; -this.custom(this.cur(),0)},step:function(a){var b=c.now(),d=true;if(a||b>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var e in this.options.curAnim)if(this.options.curAnim[e]!==true)d=false;if(d){if(this.options.overflow!=null&&!c.support.shrinkWrapBlocks){var f=this.elem,h=this.options;c.each(["","X","Y"],function(l,n){f.style["overflow"+n]=h.overflow[l]})}this.options.hide&&c(this.elem).hide();if(this.options.hide|| -this.options.show)for(var k in this.options.curAnim)c.style(this.elem,k,this.options.orig[k]);this.options.complete.call(this.elem)}return false}else{a=b-this.startTime;this.state=a/this.options.duration;b=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||b](this.state,a,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a= -c.timers,b=0;b-1;e={};var s={};if(n)s=f.position();k=n?s.top:parseInt(k,10)||0;l=n?s.left:parseInt(l,10)||0;if(c.isFunction(b))b=b.call(a,d,h);if(b.top!=null)e.top=b.top-h.top+k;if(b.left!=null)e.left=b.left-h.left+l;"using"in b?b.using.call(a, -e):f.css(e)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),e=Fa.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.css(a,"marginTop"))||0;d.left-=parseFloat(c.css(a,"marginLeft"))||0;e.top+=parseFloat(c.css(b[0],"borderTopWidth"))||0;e.left+=parseFloat(c.css(b[0],"borderLeftWidth"))||0;return{top:d.top-e.top,left:d.left-e.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||u.body;a&&!Fa.test(a.nodeName)&& -c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(e){var f=this[0],h;if(!f)return null;if(e!==A)return this.each(function(){if(h=ea(this))h.scrollTo(!a?e:c(h).scrollLeft(),a?e:c(h).scrollTop());else this[d]=e});else return(h=ea(f))?"pageXOffset"in h?h[a?"pageYOffset":"pageXOffset"]:c.support.boxModel&&h.document.documentElement[d]||h.document.body[d]:f[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase(); -c.fn["inner"+b]=function(){return this[0]?parseFloat(c.css(this[0],d,"padding")):null};c.fn["outer"+b]=function(e){return this[0]?parseFloat(c.css(this[0],d,e?"margin":"border")):null};c.fn[d]=function(e){var f=this[0];if(!f)return e==null?null:this;if(c.isFunction(e))return this.each(function(h){var k=c(this);k[d](e.call(this,h,k[d]()))});return c.isWindow(f)?f.document.compatMode==="CSS1Compat"&&f.document.documentElement["client"+b]||f.document.body["client"+b]:f.nodeType===9?Math.max(f.documentElement["client"+ -b],f.body["scroll"+b],f.documentElement["scroll"+b],f.body["offset"+b],f.documentElement["offset"+b]):e===A?parseFloat(c.css(f,d)):this.css(d,typeof e==="string"?e:e+"px")}})})(window); diff --git a/tests/lib/jquery.ui.tabs.min.js b/tests/lib/jquery.ui.tabs.min.js deleted file mode 100644 index 550eec8..0000000 --- a/tests/lib/jquery.ui.tabs.min.js +++ /dev/null @@ -1,35 +0,0 @@ -/* - * jQuery UI Tabs 1.8.11 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Tabs - * - * Depends: - * jquery.ui.core.js - * jquery.ui.widget.js - */ -(function(d,p){function u(){return++v}function w(){return++x}var v=0,x=0;d.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"
",remove:null,select:null,show:null,spinner:"Loading…",tabTemplate:"
  • #{label}
  • "},_create:function(){this._tabify(true)},_setOption:function(b,e){if(b=="selected")this.options.collapsible&& -e==this.options.selected||this.select(e);else{this.options[b]=e;this._tabify()}},_tabId:function(b){return b.title&&b.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+u()},_sanitizeSelector:function(b){return b.replace(/:/g,"\\:")},_cookie:function(){var b=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+w());return d.cookie.apply(null,[b].concat(d.makeArray(arguments)))},_ui:function(b,e){return{tab:b,panel:e,index:this.anchors.index(b)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var b= -d(this);b.html(b.data("label.tabs")).removeData("label.tabs")})},_tabify:function(b){function e(g,f){g.css("display","");!d.support.opacity&&f.opacity&&g[0].style.removeAttribute("filter")}var a=this,c=this.options,h=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=d(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return d("a",this)[0]});this.panels=d([]);this.anchors.each(function(g,f){var i=d(f).attr("href"),l=i.split("#")[0],q;if(l&&(l===location.toString().split("#")[0]|| -(q=d("base")[0])&&l===q.href)){i=f.hash;f.href=i}if(h.test(i))a.panels=a.panels.add(a.element.find(a._sanitizeSelector(i)));else if(i&&i!=="#"){d.data(f,"href.tabs",i);d.data(f,"load.tabs",i.replace(/#.*$/,""));i=a._tabId(f);f.href="#"+i;f=a.element.find("#"+i);if(!f.length){f=d(c.panelTemplate).attr("id",i).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(a.panels[g-1]||a.list);f.data("destroy.tabs",true)}a.panels=a.panels.add(f)}else c.disabled.push(g)});if(b){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all"); -this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(c.selected===p){location.hash&&this.anchors.each(function(g,f){if(f.hash==location.hash){c.selected=g;return false}});if(typeof c.selected!=="number"&&c.cookie)c.selected=parseInt(a._cookie(),10);if(typeof c.selected!=="number"&&this.lis.filter(".ui-tabs-selected").length)c.selected= -this.lis.index(this.lis.filter(".ui-tabs-selected"));c.selected=c.selected||(this.lis.length?0:-1)}else if(c.selected===null)c.selected=-1;c.selected=c.selected>=0&&this.anchors[c.selected]||c.selected<0?c.selected:0;c.disabled=d.unique(c.disabled.concat(d.map(this.lis.filter(".ui-state-disabled"),function(g){return a.lis.index(g)}))).sort();d.inArray(c.selected,c.disabled)!=-1&&c.disabled.splice(d.inArray(c.selected,c.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active"); -if(c.selected>=0&&this.anchors.length){a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash)).removeClass("ui-tabs-hide");this.lis.eq(c.selected).addClass("ui-tabs-selected ui-state-active");a.element.queue("tabs",function(){a._trigger("show",null,a._ui(a.anchors[c.selected],a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash))[0]))});this.load(c.selected)}d(window).bind("unload",function(){a.lis.add(a.anchors).unbind(".tabs");a.lis=a.anchors=a.panels=null})}else c.selected=this.lis.index(this.lis.filter(".ui-tabs-selected")); -this.element[c.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");c.cookie&&this._cookie(c.selected,c.cookie);b=0;for(var j;j=this.lis[b];b++)d(j)[d.inArray(b,c.disabled)!=-1&&!d(j).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");c.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(c.event!=="mouseover"){var k=function(g,f){f.is(":not(.ui-state-disabled)")&&f.addClass("ui-state-"+g)},n=function(g,f){f.removeClass("ui-state-"+ -g)};this.lis.bind("mouseover.tabs",function(){k("hover",d(this))});this.lis.bind("mouseout.tabs",function(){n("hover",d(this))});this.anchors.bind("focus.tabs",function(){k("focus",d(this).closest("li"))});this.anchors.bind("blur.tabs",function(){n("focus",d(this).closest("li"))})}var m,o;if(c.fx)if(d.isArray(c.fx)){m=c.fx[0];o=c.fx[1]}else m=o=c.fx;var r=o?function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.hide().removeClass("ui-tabs-hide").animate(o,o.duration||"normal", -function(){e(f,o);a._trigger("show",null,a._ui(g,f[0]))})}:function(g,f){d(g).closest("li").addClass("ui-tabs-selected ui-state-active");f.removeClass("ui-tabs-hide");a._trigger("show",null,a._ui(g,f[0]))},s=m?function(g,f){f.animate(m,m.duration||"normal",function(){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");e(f,m);a.element.dequeue("tabs")})}:function(g,f){a.lis.removeClass("ui-tabs-selected ui-state-active");f.addClass("ui-tabs-hide");a.element.dequeue("tabs")}; -this.anchors.bind(c.event+".tabs",function(){var g=this,f=d(g).closest("li"),i=a.panels.filter(":not(.ui-tabs-hide)"),l=a.element.find(a._sanitizeSelector(g.hash));if(f.hasClass("ui-tabs-selected")&&!c.collapsible||f.hasClass("ui-state-disabled")||f.hasClass("ui-state-processing")||a.panels.filter(":animated").length||a._trigger("select",null,a._ui(this,l[0]))===false){this.blur();return false}c.selected=a.anchors.index(this);a.abort();if(c.collapsible)if(f.hasClass("ui-tabs-selected")){c.selected= --1;c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){s(g,i)}).dequeue("tabs");this.blur();return false}else if(!i.length){c.cookie&&a._cookie(c.selected,c.cookie);a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this));this.blur();return false}c.cookie&&a._cookie(c.selected,c.cookie);if(l.length){i.length&&a.element.queue("tabs",function(){s(g,i)});a.element.queue("tabs",function(){r(g,l)});a.load(a.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier."; -d.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(b){if(typeof b=="string")b=this.anchors.index(this.anchors.filter("[href$="+b+"]"));return b},destroy:function(){var b=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var e= -d.data(this,"href.tabs");if(e)this.href=e;var a=d(this).unbind(".tabs");d.each(["href","load","cache"],function(c,h){a.removeData(h+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){d.data(this,"destroy.tabs")?d(this).remove():d(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});b.cookie&&this._cookie(null,b.cookie);return this},add:function(b, -e,a){if(a===p)a=this.anchors.length;var c=this,h=this.options;e=d(h.tabTemplate.replace(/#\{href\}/g,b).replace(/#\{label\}/g,e));b=!b.indexOf("#")?b.replace("#",""):this._tabId(d("a",e)[0]);e.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var j=c.element.find("#"+b);j.length||(j=d(h.panelTemplate).attr("id",b).data("destroy.tabs",true));j.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(a>=this.lis.length){e.appendTo(this.list);j.appendTo(this.list[0].parentNode)}else{e.insertBefore(this.lis[a]); -j.insertBefore(this.panels[a])}h.disabled=d.map(h.disabled,function(k){return k>=a?++k:k});this._tabify();if(this.anchors.length==1){h.selected=0;e.addClass("ui-tabs-selected ui-state-active");j.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){c._trigger("show",null,c._ui(c.anchors[0],c.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[a],this.panels[a]));return this},remove:function(b){b=this._getIndex(b);var e=this.options,a=this.lis.eq(b).remove(),c=this.panels.eq(b).remove(); -if(a.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(b+(b+1=b?--h:h});this._tabify();this._trigger("remove",null,this._ui(a.find("a")[0],c[0]));return this},enable:function(b){b=this._getIndex(b);var e=this.options;if(d.inArray(b,e.disabled)!=-1){this.lis.eq(b).removeClass("ui-state-disabled");e.disabled=d.grep(e.disabled,function(a){return a!=b});this._trigger("enable",null, -this._ui(this.anchors[b],this.panels[b]));return this}},disable:function(b){b=this._getIndex(b);var e=this.options;if(b!=e.selected){this.lis.eq(b).addClass("ui-state-disabled");e.disabled.push(b);e.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[b],this.panels[b]))}return this},select:function(b){b=this._getIndex(b);if(b==-1)if(this.options.collapsible&&this.options.selected!=-1)b=this.options.selected;else return this;this.anchors.eq(b).trigger(this.options.event+".tabs");return this}, -load:function(b){b=this._getIndex(b);var e=this,a=this.options,c=this.anchors.eq(b)[0],h=d.data(c,"load.tabs");this.abort();if(!h||this.element.queue("tabs").length!==0&&d.data(c,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(b).addClass("ui-state-processing");if(a.spinner){var j=d("span",c);j.data("label.tabs",j.html()).html(a.spinner)}this.xhr=d.ajax(d.extend({},a.ajaxOptions,{url:h,success:function(k,n){e.element.find(e._sanitizeSelector(c.hash)).html(k);e._cleanup();a.cache&&d.data(c, -"cache.tabs",true);e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.success(k,n)}catch(m){}},error:function(k,n){e._cleanup();e._trigger("load",null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.error(k,n,b,c)}catch(m){}}}));e.element.dequeue("tabs");return this}},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this}, -url:function(b,e){this.anchors.eq(b).removeData("cache.tabs").data("load.tabs",e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:"1.8.11"});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(b,e){var a=this,c=this.options,h=a._rotate||(a._rotate=function(j){clearTimeout(a.rotation);a.rotation=setTimeout(function(){var k=c.selected;a.select(++k - - - - - - - -
    - - diff --git a/tests/locale.html b/tests/locale.html deleted file mode 100644 index 8142199..0000000 --- a/tests/locale.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - - -
    - - diff --git a/tests/many_agenda_events.html b/tests/many_agenda_events.html deleted file mode 100644 index fc75556..0000000 --- a/tests/many_agenda_events.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - -
    - - diff --git a/tests/many_agenda_events_json.txt b/tests/many_agenda_events_json.txt deleted file mode 100644 index f8deefe..0000000 --- a/tests/many_agenda_events_json.txt +++ /dev/null @@ -1 +0,0 @@ -[{"title": "event", "start": "2009-12-13"}, {"title": "event", "start": "2009-12-13"}, {"title": "event", "start": "2009-12-13"}, {"title": "event", "start": "2009-12-13"}, {"title": "event", "start": "2009-12-13"}, {"title": "event", "start": "2009-12-13"}, {"title": "event", "start": "2009-12-13"}, {"title": "event", "start": "2009-12-13"}, {"title": "event", "start": "2009-12-13"}, {"title": "event", "start": "2009-12-13"}, {"title": "event", "start": "2009-12-13"}, {"title": "event", "start": "2009-12-13"}, {"title": "event", "start": "2009-12-13"}, {"title": "event", "start": "2009-12-13 00:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 01:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 02:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 03:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 04:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 05:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 06:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 07:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 08:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 09:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 10:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 11:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 12:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 13:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 14:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 15:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 16:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 17:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 18:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 19:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 20:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 21:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 22:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 23:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 00:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 01:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 02:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 03:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 04:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 05:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 06:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 07:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 08:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 09:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 10:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 11:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 12:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 13:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 14:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 15:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 16:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 17:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 18:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 19:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 20:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 21:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 22:00:00", "allDay": false}, {"title": "event", "start": "2009-12-13 23:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14"}, {"title": "event", "start": "2009-12-14"}, {"title": "event", "start": "2009-12-14"}, {"title": "event", "start": "2009-12-14"}, {"title": "event", "start": "2009-12-14"}, {"title": "event", "start": "2009-12-14"}, {"title": "event", "start": "2009-12-14"}, {"title": "event", "start": "2009-12-14"}, {"title": "event", "start": "2009-12-14"}, {"title": "event", "start": "2009-12-14"}, {"title": "event", "start": "2009-12-14"}, {"title": "event", "start": "2009-12-14"}, {"title": "event", "start": "2009-12-14"}, {"title": "event", "start": "2009-12-14 00:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 01:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 02:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 03:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 04:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 05:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 06:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 07:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 08:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 09:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 10:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 11:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 12:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 13:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 14:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 15:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 16:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 17:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 18:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 19:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 20:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 21:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 22:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 23:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 00:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 01:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 02:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 03:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 04:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 05:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 06:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 07:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 08:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 09:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 10:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 11:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 12:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 13:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 14:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 15:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 16:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 17:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 18:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 19:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 20:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 21:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 22:00:00", "allDay": false}, {"title": "event", "start": "2009-12-14 23:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15"}, {"title": "event", "start": "2009-12-15"}, {"title": "event", "start": "2009-12-15"}, {"title": "event", "start": "2009-12-15"}, {"title": "event", "start": "2009-12-15"}, {"title": "event", "start": "2009-12-15"}, {"title": "event", "start": "2009-12-15"}, {"title": "event", "start": "2009-12-15"}, {"title": "event", "start": "2009-12-15"}, {"title": "event", "start": "2009-12-15"}, {"title": "event", "start": "2009-12-15"}, {"title": "event", "start": "2009-12-15"}, {"title": "event", "start": "2009-12-15"}, {"title": "event", "start": "2009-12-15 00:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 01:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 02:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 03:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 04:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 05:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 06:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 07:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 08:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 09:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 10:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 11:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 12:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 13:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 14:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 15:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 16:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 17:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 18:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 19:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 20:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 21:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 22:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 23:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 00:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 01:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 02:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 03:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 04:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 05:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 06:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 07:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 08:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 09:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 10:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 11:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 12:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 13:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 14:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 15:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 16:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 17:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 18:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 19:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 20:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 21:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 22:00:00", "allDay": false}, {"title": "event", "start": "2009-12-15 23:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16"}, {"title": "event", "start": "2009-12-16"}, {"title": "event", "start": "2009-12-16"}, {"title": "event", "start": "2009-12-16"}, {"title": "event", "start": "2009-12-16"}, {"title": "event", "start": "2009-12-16"}, {"title": "event", "start": "2009-12-16"}, {"title": "event", "start": "2009-12-16"}, {"title": "event", "start": "2009-12-16"}, {"title": "event", "start": "2009-12-16"}, {"title": "event", "start": "2009-12-16"}, {"title": "event", "start": "2009-12-16"}, {"title": "event", "start": "2009-12-16"}, {"title": "event", "start": "2009-12-16 00:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 01:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 02:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 03:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 04:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 05:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 06:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 07:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 08:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 09:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 10:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 11:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 12:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 13:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 14:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 15:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 16:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 17:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 18:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 19:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 20:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 21:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 22:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 23:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 00:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 01:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 02:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 03:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 04:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 05:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 06:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 07:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 08:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 09:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 10:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 11:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 12:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 13:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 14:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 15:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 16:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 17:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 18:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 19:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 20:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 21:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 22:00:00", "allDay": false}, {"title": "event", "start": "2009-12-16 23:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17"}, {"title": "event", "start": "2009-12-17"}, {"title": "event", "start": "2009-12-17"}, {"title": "event", "start": "2009-12-17"}, {"title": "event", "start": "2009-12-17"}, {"title": "event", "start": "2009-12-17"}, {"title": "event", "start": "2009-12-17"}, {"title": "event", "start": "2009-12-17"}, {"title": "event", "start": "2009-12-17"}, {"title": "event", "start": "2009-12-17"}, {"title": "event", "start": "2009-12-17"}, {"title": "event", "start": "2009-12-17"}, {"title": "event", "start": "2009-12-17"}, {"title": "event", "start": "2009-12-17 00:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 01:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 02:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 03:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 04:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 05:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 06:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 07:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 08:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 09:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 10:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 11:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 12:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 13:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 14:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 15:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 16:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 17:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 18:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 19:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 20:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 21:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 22:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 23:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 00:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 01:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 02:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 03:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 04:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 05:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 06:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 07:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 08:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 09:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 10:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 11:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 12:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 13:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 14:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 15:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 16:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 17:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 18:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 19:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 20:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 21:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 22:00:00", "allDay": false}, {"title": "event", "start": "2009-12-17 23:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18"}, {"title": "event", "start": "2009-12-18"}, {"title": "event", "start": "2009-12-18"}, {"title": "event", "start": "2009-12-18"}, {"title": "event", "start": "2009-12-18"}, {"title": "event", "start": "2009-12-18"}, {"title": "event", "start": "2009-12-18"}, {"title": "event", "start": "2009-12-18"}, {"title": "event", "start": "2009-12-18"}, {"title": "event", "start": "2009-12-18"}, {"title": "event", "start": "2009-12-18"}, {"title": "event", "start": "2009-12-18"}, {"title": "event", "start": "2009-12-18"}, {"title": "event", "start": "2009-12-18 00:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 01:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 02:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 03:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 04:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 05:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 06:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 07:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 08:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 09:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 10:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 11:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 12:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 13:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 14:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 15:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 16:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 17:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 18:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 19:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 20:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 21:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 22:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 23:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 00:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 01:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 02:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 03:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 04:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 05:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 06:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 07:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 08:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 09:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 10:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 11:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 12:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 13:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 14:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 15:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 16:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 17:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 18:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 19:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 20:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 21:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 22:00:00", "allDay": false}, {"title": "event", "start": "2009-12-18 23:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19"}, {"title": "event", "start": "2009-12-19"}, {"title": "event", "start": "2009-12-19"}, {"title": "event", "start": "2009-12-19"}, {"title": "event", "start": "2009-12-19"}, {"title": "event", "start": "2009-12-19"}, {"title": "event", "start": "2009-12-19"}, {"title": "event", "start": "2009-12-19"}, {"title": "event", "start": "2009-12-19"}, {"title": "event", "start": "2009-12-19"}, {"title": "event", "start": "2009-12-19"}, {"title": "event", "start": "2009-12-19"}, {"title": "event", "start": "2009-12-19"}, {"title": "event", "start": "2009-12-19 00:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 01:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 02:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 03:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 04:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 05:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 06:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 07:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 08:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 09:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 10:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 11:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 12:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 13:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 14:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 15:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 16:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 17:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 18:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 19:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 20:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 21:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 22:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 23:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 00:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 01:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 02:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 03:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 04:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 05:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 06:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 07:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 08:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 09:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 10:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 11:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 12:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 13:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 14:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 15:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 16:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 17:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 18:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 19:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 20:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 21:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 22:00:00", "allDay": false}, {"title": "event", "start": "2009-12-19 23:00:00", "allDay": false}] diff --git a/tests/many_events.html b/tests/many_events.html deleted file mode 100644 index 5f4ccb4..0000000 --- a/tests/many_events.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - -
    - - diff --git a/tests/many_events_json.txt b/tests/many_events_json.txt deleted file mode 100644 index 635b464..0000000 --- a/tests/many_events_json.txt +++ /dev/null @@ -1 +0,0 @@ -[{"id":830,"start":1262279460,"end":1262281260,"title":"this is a long event isnt that right?","body":"","multi":0,"allDay":false,"extension_id":2},{"id":831,"start":1262282052,"end":1262283852,"title":"830","body":"","multi":0,"allDay":false,"extension_id":2},{"id":832,"start":1262284644,"end":1262286444,"title":"831","body":"","multi":0,"allDay":false,"extension_id":2},{"id":833,"start":1262287236,"end":1262289036,"title":"832","body":"","multi":0,"allDay":false,"extension_id":2},{"id":834,"start":1262289828,"end":1262291628,"title":"833","body":"","multi":0,"allDay":false,"extension_id":2},{"id":835,"start":1262292420,"end":1262294220,"title":"834","body":"","multi":0,"allDay":false,"extension_id":2},{"id":836,"start":1262295012,"end":1262296812,"title":"835","body":"","multi":0,"allDay":false,"extension_id":2},{"id":837,"start":1262297604,"end":1262299404,"title":"836","body":"","multi":0,"allDay":false,"extension_id":2},{"id":838,"start":1262300196,"end":1262301996,"title":"837","body":"","multi":0,"allDay":false,"extension_id":2},{"id":839,"start":1262302788,"end":1262304588,"title":"838","body":"","multi":0,"allDay":false,"extension_id":2},{"id":840,"start":1262305380,"end":1262307180,"title":"839","body":"","multi":0,"allDay":false,"extension_id":2},{"id":841,"start":1262307972,"end":1262309772,"title":"840","body":"","multi":0,"allDay":false,"extension_id":2},{"id":842,"start":1262310564,"end":1262312364,"title":"841","body":"","multi":0,"allDay":false,"extension_id":2},{"id":843,"start":1262313156,"end":1262314956,"title":"842","body":"","multi":0,"allDay":false,"extension_id":2},{"id":844,"start":1262315748,"end":1262317548,"title":"843","body":"","multi":0,"allDay":false,"extension_id":2},{"id":845,"start":1262318340,"end":1262320140,"title":"844","body":"","multi":0,"allDay":false,"extension_id":2},{"id":846,"start":1262320932,"end":1262322732,"title":"845","body":"","multi":0,"allDay":false,"extension_id":2},{"id":847,"start":1262323524,"end":1262325324,"title":"846","body":"","multi":0,"allDay":false,"extension_id":2},{"id":848,"start":1262326116,"end":1262327916,"title":"847","body":"","multi":0,"allDay":false,"extension_id":2},{"id":849,"start":1262328708,"end":1262330508,"title":"848","body":"","multi":0,"allDay":false,"extension_id":2},{"id":850,"start":1262331300,"end":1262333100,"title":"849","body":"","multi":0,"allDay":false,"extension_id":2},{"id":851,"start":1262333892,"end":1262335692,"title":"850","body":"","multi":0,"allDay":false,"extension_id":2},{"id":852,"start":1262336484,"end":1262338284,"title":"851","body":"","multi":0,"allDay":false,"extension_id":2},{"id":853,"start":1262339076,"end":1262340876,"title":"852","body":"","multi":0,"allDay":false,"extension_id":2},{"id":854,"start":1262341668,"end":1262343468,"title":"853","body":"","multi":0,"allDay":false,"extension_id":2},{"id":855,"start":1262344260,"end":1262346060,"title":"854","body":"","multi":0,"allDay":false,"extension_id":2},{"id":856,"start":1262346852,"end":1262348652,"title":"855","body":"","multi":0,"allDay":false,"extension_id":2},{"id":857,"start":1262349444,"end":1262351244,"title":"856","body":"","multi":0,"allDay":false,"extension_id":2},{"id":858,"start":1262352036,"end":1262353836,"title":"857","body":"","multi":0,"allDay":false,"extension_id":2},{"id":859,"start":1262354628,"end":1262356428,"title":"858","body":"","multi":0,"allDay":false,"extension_id":2},{"id":860,"start":1262357220,"end":1262359020,"title":"859","body":"","multi":0,"allDay":false,"extension_id":2},{"id":861,"start":1262359812,"end":1262361612,"title":"860","body":"","multi":0,"allDay":false,"extension_id":2},{"id":862,"start":1262362404,"end":1262364204,"title":"861","body":"","multi":0,"allDay":false,"extension_id":2},{"id":863,"start":1262364996,"end":1262366796,"title":"862","body":"","multi":0,"allDay":false,"extension_id":2},{"id":864,"start":1262367588,"end":1262369388,"title":"863","body":"","multi":0,"allDay":false,"extension_id":2},{"id":865,"start":1262370180,"end":1262371980,"title":"864","body":"","multi":0,"allDay":false,"extension_id":2},{"id":866,"start":1262372772,"end":1262374572,"title":"865","body":"","multi":0,"allDay":false,"extension_id":2},{"id":867,"start":1262375364,"end":1262377164,"title":"866","body":"","multi":0,"allDay":false,"extension_id":2},{"id":868,"start":1262377956,"end":1262379756,"title":"867","body":"","multi":0,"allDay":false,"extension_id":2},{"id":869,"start":1262380548,"end":1262382348,"title":"868","body":"","multi":0,"allDay":false,"extension_id":2},{"id":870,"start":1262383140,"end":1262384940,"title":"869","body":"","multi":0,"allDay":false,"extension_id":2},{"id":871,"start":1262385732,"end":1262387532,"title":"870","body":"","multi":0,"allDay":false,"extension_id":2},{"id":872,"start":1262388324,"end":1262390124,"title":"871","body":"","multi":0,"allDay":false,"extension_id":2},{"id":873,"start":1262390916,"end":1262392716,"title":"872","body":"","multi":0,"allDay":false,"extension_id":2},{"id":874,"start":1262393508,"end":1262395308,"title":"873","body":"","multi":0,"allDay":false,"extension_id":2},{"id":875,"start":1262396100,"end":1262397900,"title":"874","body":"","multi":0,"allDay":false,"extension_id":2},{"id":876,"start":1262398692,"end":1262400492,"title":"875","body":"","multi":0,"allDay":false,"extension_id":2},{"id":877,"start":1262401284,"end":1262403084,"title":"876","body":"","multi":0,"allDay":false,"extension_id":2},{"id":878,"start":1262403876,"end":1262405676,"title":"877","body":"","multi":0,"allDay":false,"extension_id":2},{"id":879,"start":1262406468,"end":1262408268,"title":"878","body":"","multi":0,"allDay":false,"extension_id":2},{"id":880,"start":1262409060,"end":1262410860,"title":"879","body":"","multi":0,"allDay":false,"extension_id":2},{"id":881,"start":1262411652,"end":1262413452,"title":"880","body":"","multi":0,"allDay":false,"extension_id":2},{"id":882,"start":1262414244,"end":1262416044,"title":"881","body":"","multi":0,"allDay":false,"extension_id":2},{"id":883,"start":1262416836,"end":1262418636,"title":"882","body":"","multi":0,"allDay":false,"extension_id":2},{"id":884,"start":1262419428,"end":1262421228,"title":"883","body":"","multi":0,"allDay":false,"extension_id":2},{"id":885,"start":1262422020,"end":1262423820,"title":"884","body":"","multi":0,"allDay":false,"extension_id":2},{"id":886,"start":1262424612,"end":1262426412,"title":"885","body":"","multi":0,"allDay":false,"extension_id":2},{"id":887,"start":1262427204,"end":1262429004,"title":"886","body":"","multi":0,"allDay":false,"extension_id":2},{"id":888,"start":1262429796,"end":1262431596,"title":"887","body":"","multi":0,"allDay":false,"extension_id":2},{"id":889,"start":1262432388,"end":1262434188,"title":"888","body":"","multi":0,"allDay":false,"extension_id":2},{"id":890,"start":1262434980,"end":1262436780,"title":"889","body":"","multi":0,"allDay":false,"extension_id":2},{"id":891,"start":1262437572,"end":1262439372,"title":"890","body":"","multi":0,"allDay":false,"extension_id":2},{"id":892,"start":1262440164,"end":1262441964,"title":"891","body":"","multi":0,"allDay":false,"extension_id":2},{"id":893,"start":1262442756,"end":1262444556,"title":"892","body":"","multi":0,"allDay":false,"extension_id":2},{"id":894,"start":1262445348,"end":1262447148,"title":"893","body":"","multi":0,"allDay":false,"extension_id":2},{"id":895,"start":1262447940,"end":1262449740,"title":"894","body":"","multi":0,"allDay":false,"extension_id":2},{"id":896,"start":1262450532,"end":1262452332,"title":"895","body":"","multi":0,"allDay":false,"extension_id":2},{"id":897,"start":1262453124,"end":1262454924,"title":"896","body":"","multi":0,"allDay":false,"extension_id":2},{"id":898,"start":1262455716,"end":1262457516,"title":"897","body":"","multi":0,"allDay":false,"extension_id":2},{"id":899,"start":1262458308,"end":1262460108,"title":"898","body":"","multi":0,"allDay":false,"extension_id":2},{"id":900,"start":1262460900,"end":1262462700,"title":"899","body":"","multi":0,"allDay":false,"extension_id":2},{"id":901,"start":1262463492,"end":1262465292,"title":"900","body":"","multi":0,"allDay":false,"extension_id":2},{"id":902,"start":1262466084,"end":1262467884,"title":"901","body":"","multi":0,"allDay":false,"extension_id":2},{"id":903,"start":1262468676,"end":1262470476,"title":"902","body":"","multi":0,"allDay":false,"extension_id":2},{"id":904,"start":1262471268,"end":1262473068,"title":"903","body":"","multi":0,"allDay":false,"extension_id":2},{"id":905,"start":1262473860,"end":1262475660,"title":"904","body":"","multi":0,"allDay":false,"extension_id":2},{"id":906,"start":1262476452,"end":1262478252,"title":"905","body":"","multi":0,"allDay":false,"extension_id":2},{"id":907,"start":1262479044,"end":1262480844,"title":"906","body":"","multi":0,"allDay":false,"extension_id":2},{"id":908,"start":1262481636,"end":1262483436,"title":"907","body":"","multi":0,"allDay":false,"extension_id":2},{"id":909,"start":1262484228,"end":1262486028,"title":"908","body":"","multi":0,"allDay":false,"extension_id":2},{"id":910,"start":1262486820,"end":1262488620,"title":"909","body":"","multi":0,"allDay":false,"extension_id":2},{"id":911,"start":1262489412,"end":1262491212,"title":"910","body":"","multi":0,"allDay":false,"extension_id":2},{"id":912,"start":1262492004,"end":1262493804,"title":"911","body":"","multi":0,"allDay":false,"extension_id":2},{"id":913,"start":1262494596,"end":1262496396,"title":"912","body":"","multi":0,"allDay":false,"extension_id":2},{"id":914,"start":1262497188,"end":1262498988,"title":"913","body":"","multi":0,"allDay":false,"extension_id":2},{"id":915,"start":1262499780,"end":1262501580,"title":"914","body":"","multi":0,"allDay":false,"extension_id":2},{"id":916,"start":1262502372,"end":1262504172,"title":"915","body":"","multi":0,"allDay":false,"extension_id":2},{"id":917,"start":1262504964,"end":1262506764,"title":"916","body":"","multi":0,"allDay":false,"extension_id":2},{"id":918,"start":1262507556,"end":1262509356,"title":"917","body":"","multi":0,"allDay":false,"extension_id":2},{"id":919,"start":1262510148,"end":1262511948,"title":"918","body":"","multi":0,"allDay":false,"extension_id":2},{"id":920,"start":1262512740,"end":1262514540,"title":"919","body":"","multi":0,"allDay":false,"extension_id":2},{"id":921,"start":1262515332,"end":1262517132,"title":"920","body":"","multi":0,"allDay":false,"extension_id":2},{"id":922,"start":1262517924,"end":1262519724,"title":"921","body":"","multi":0,"allDay":false,"extension_id":2},{"id":923,"start":1262520516,"end":1262522316,"title":"922","body":"","multi":0,"allDay":false,"extension_id":2},{"id":924,"start":1262523108,"end":1262524908,"title":"923","body":"","multi":0,"allDay":false,"extension_id":2},{"id":925,"start":1262525700,"end":1262527500,"title":"924","body":"","multi":0,"allDay":false,"extension_id":2},{"id":926,"start":1262528292,"end":1262530092,"title":"925","body":"","multi":0,"allDay":false,"extension_id":2},{"id":927,"start":1262530884,"end":1262532684,"title":"926","body":"","multi":0,"allDay":false,"extension_id":2},{"id":928,"start":1262533476,"end":1262535276,"title":"927","body":"","multi":0,"allDay":false,"extension_id":2},{"id":929,"start":1262536068,"end":1262537868,"title":"928","body":"","multi":0,"allDay":false,"extension_id":2},{"id":930,"start":1262538660,"end":1262540460,"title":"929","body":"","multi":0,"allDay":false,"extension_id":2},{"id":931,"start":1262541252,"end":1262543052,"title":"930","body":"","multi":0,"allDay":false,"extension_id":2},{"id":932,"start":1262543844,"end":1262545644,"title":"931","body":"","multi":0,"allDay":false,"extension_id":2},{"id":933,"start":1262546436,"end":1262548236,"title":"932","body":"","multi":0,"allDay":false,"extension_id":2},{"id":934,"start":1262549028,"end":1262550828,"title":"933","body":"","multi":0,"allDay":false,"extension_id":2},{"id":935,"start":1262551620,"end":1262553420,"title":"934","body":"","multi":0,"allDay":false,"extension_id":2},{"id":936,"start":1262554212,"end":1262556012,"title":"935","body":"","multi":0,"allDay":false,"extension_id":2},{"id":937,"start":1262556804,"end":1262558604,"title":"936","body":"","multi":0,"allDay":false,"extension_id":2},{"id":938,"start":1262559396,"end":1262561196,"title":"937","body":"","multi":0,"allDay":false,"extension_id":2},{"id":939,"start":1262561988,"end":1262563788,"title":"938","body":"","multi":0,"allDay":false,"extension_id":2},{"id":940,"start":1262564580,"end":1262566380,"title":"939","body":"","multi":0,"allDay":false,"extension_id":2},{"id":941,"start":1262567172,"end":1262568972,"title":"940","body":"","multi":0,"allDay":false,"extension_id":2},{"id":942,"start":1262569764,"end":1262571564,"title":"941","body":"","multi":0,"allDay":false,"extension_id":2},{"id":943,"start":1262572356,"end":1262574156,"title":"942","body":"","multi":0,"allDay":false,"extension_id":2},{"id":944,"start":1262574948,"end":1262576748,"title":"943","body":"","multi":0,"allDay":false,"extension_id":2},{"id":945,"start":1262577540,"end":1262579340,"title":"944","body":"","multi":0,"allDay":false,"extension_id":2},{"id":946,"start":1262580132,"end":1262581932,"title":"945","body":"","multi":0,"allDay":false,"extension_id":2},{"id":947,"start":1262582724,"end":1262584524,"title":"946","body":"","multi":0,"allDay":false,"extension_id":2},{"id":948,"start":1262585316,"end":1262587116,"title":"947","body":"","multi":0,"allDay":false,"extension_id":2},{"id":949,"start":1262587908,"end":1262589708,"title":"948","body":"","multi":0,"allDay":false,"extension_id":2},{"id":950,"start":1262590500,"end":1262592300,"title":"949","body":"","multi":0,"allDay":false,"extension_id":2},{"id":951,"start":1262593092,"end":1262594892,"title":"950","body":"","multi":0,"allDay":false,"extension_id":2},{"id":952,"start":1262595684,"end":1262597484,"title":"951","body":"","multi":0,"allDay":false,"extension_id":2},{"id":953,"start":1262598276,"end":1262600076,"title":"952","body":"","multi":0,"allDay":false,"extension_id":2},{"id":954,"start":1262600868,"end":1262602668,"title":"953","body":"","multi":0,"allDay":false,"extension_id":2},{"id":955,"start":1262603460,"end":1262605260,"title":"954","body":"","multi":0,"allDay":false,"extension_id":2},{"id":956,"start":1262606052,"end":1262607852,"title":"955","body":"","multi":0,"allDay":false,"extension_id":2},{"id":957,"start":1262608644,"end":1262610444,"title":"956","body":"","multi":0,"allDay":false,"extension_id":2},{"id":958,"start":1262611236,"end":1262613036,"title":"957","body":"","multi":0,"allDay":false,"extension_id":2},{"id":959,"start":1262613828,"end":1262615628,"title":"958","body":"","multi":0,"allDay":false,"extension_id":2},{"id":960,"start":1262616420,"end":1262618220,"title":"959","body":"","multi":0,"allDay":false,"extension_id":2},{"id":961,"start":1262619012,"end":1262620812,"title":"960","body":"","multi":0,"allDay":false,"extension_id":2},{"id":962,"start":1262621604,"end":1262623404,"title":"961","body":"","multi":0,"allDay":false,"extension_id":2},{"id":963,"start":1262624196,"end":1262625996,"title":"962","body":"","multi":0,"allDay":false,"extension_id":2},{"id":964,"start":1262626788,"end":1262628588,"title":"963","body":"","multi":0,"allDay":false,"extension_id":2},{"id":965,"start":1262629380,"end":1262631180,"title":"964","body":"","multi":0,"allDay":false,"extension_id":2},{"id":966,"start":1262631972,"end":1262633772,"title":"965","body":"","multi":0,"allDay":false,"extension_id":2},{"id":967,"start":1262634564,"end":1262636364,"title":"966","body":"","multi":0,"allDay":false,"extension_id":2},{"id":968,"start":1262637156,"end":1262638956,"title":"967","body":"","multi":0,"allDay":false,"extension_id":2},{"id":969,"start":1262639748,"end":1262641548,"title":"968","body":"","multi":0,"allDay":false,"extension_id":2},{"id":970,"start":1262642340,"end":1262644140,"title":"969","body":"","multi":0,"allDay":false,"extension_id":2},{"id":971,"start":1262644932,"end":1262646732,"title":"970","body":"","multi":0,"allDay":false,"extension_id":2},{"id":972,"start":1262647524,"end":1262649324,"title":"971","body":"","multi":0,"allDay":false,"extension_id":2},{"id":973,"start":1262650116,"end":1262651916,"title":"972","body":"","multi":0,"allDay":false,"extension_id":2},{"id":974,"start":1262652708,"end":1262654508,"title":"973","body":"","multi":0,"allDay":false,"extension_id":2},{"id":975,"start":1262655300,"end":1262657100,"title":"974","body":"","multi":0,"allDay":false,"extension_id":2},{"id":976,"start":1262657892,"end":1262659692,"title":"975","body":"","multi":0,"allDay":false,"extension_id":2},{"id":977,"start":1262660484,"end":1262662284,"title":"976","body":"","multi":0,"allDay":false,"extension_id":2},{"id":978,"start":1262663076,"end":1262664876,"title":"977","body":"","multi":0,"allDay":false,"extension_id":2},{"id":979,"start":1262665668,"end":1262667468,"title":"978","body":"","multi":0,"allDay":false,"extension_id":2},{"id":980,"start":1262668260,"end":1262670060,"title":"979","body":"","multi":0,"allDay":false,"extension_id":2},{"id":981,"start":1262670852,"end":1262672652,"title":"980","body":"","multi":0,"allDay":false,"extension_id":2},{"id":982,"start":1262673444,"end":1262675244,"title":"981","body":"","multi":0,"allDay":false,"extension_id":2},{"id":983,"start":1262676036,"end":1262677836,"title":"982","body":"","multi":0,"allDay":false,"extension_id":2},{"id":984,"start":1262678628,"end":1262680428,"title":"983","body":"","multi":0,"allDay":false,"extension_id":2},{"id":985,"start":1262681220,"end":1262683020,"title":"984","body":"","multi":0,"allDay":false,"extension_id":2},{"id":986,"start":1262683812,"end":1262685612,"title":"985","body":"","multi":0,"allDay":false,"extension_id":2},{"id":987,"start":1262686404,"end":1262688204,"title":"986","body":"","multi":0,"allDay":false,"extension_id":2},{"id":988,"start":1262688996,"end":1262690796,"title":"987","body":"","multi":0,"allDay":false,"extension_id":2},{"id":989,"start":1262691588,"end":1262693388,"title":"988","body":"","multi":0,"allDay":false,"extension_id":2},{"id":990,"start":1262694180,"end":1262695980,"title":"989","body":"","multi":0,"allDay":false,"extension_id":2},{"id":991,"start":1262696772,"end":1262698572,"title":"990","body":"","multi":0,"allDay":false,"extension_id":2},{"id":992,"start":1262699364,"end":1262701164,"title":"991","body":"","multi":0,"allDay":false,"extension_id":2},{"id":993,"start":1262701956,"end":1262703756,"title":"992","body":"","multi":0,"allDay":false,"extension_id":2},{"id":994,"start":1262704548,"end":1262706348,"title":"993","body":"","multi":0,"allDay":false,"extension_id":2},{"id":995,"start":1262707140,"end":1262708940,"title":"994","body":"","multi":0,"allDay":false,"extension_id":2},{"id":996,"start":1262709732,"end":1262711532,"title":"995","body":"","multi":0,"allDay":false,"extension_id":2},{"id":997,"start":1262712324,"end":1262714124,"title":"996","body":"","multi":0,"allDay":false,"extension_id":2},{"id":998,"start":1262714916,"end":1262716716,"title":"997","body":"","multi":0,"allDay":false,"extension_id":2},{"id":999,"start":1262717508,"end":1262719308,"title":"998","body":"","multi":0,"allDay":false,"extension_id":2},{"id":1000,"start":1262720100,"end":1262721900,"title":"999","body":"","multi":0,"allDay":false,"extension_id":2},{"id":1,"start":1264425660,"end":1264427460,"title":"0","body":"","multi":0,"allDay":false,"extension_id":2},{"id":2,"start":1264428252,"end":1264430052,"title":"1","body":"","multi":0,"allDay":false,"extension_id":2},{"id":3,"start":1264430844,"end":1264432644,"title":"2","body":"","multi":0,"allDay":false,"extension_id":2},{"id":4,"start":1264433436,"end":1264435236,"title":"3","body":"","multi":0,"allDay":false,"extension_id":2},{"id":5,"start":1264436028,"end":1264437828,"title":"4","body":"","multi":0,"allDay":false,"extension_id":2},{"id":6,"start":1264438620,"end":1264440420,"title":"5","body":"","multi":0,"allDay":false,"extension_id":2},{"id":7,"start":1264441212,"end":1264443012,"title":"6","body":"","multi":0,"allDay":false,"extension_id":2},{"id":8,"start":1264443804,"end":1264445604,"title":"7","body":"","multi":0,"allDay":false,"extension_id":2},{"id":9,"start":1264446396,"end":1264448196,"title":"8","body":"","multi":0,"allDay":false,"extension_id":2},{"id":10,"start":1264448988,"end":1264450788,"title":"9","body":"","multi":0,"allDay":false,"extension_id":2},{"id":11,"start":1264451580,"end":1264453380,"title":"10","body":"","multi":0,"allDay":false,"extension_id":2},{"id":12,"start":1264454172,"end":1264455972,"title":"11","body":"","multi":0,"allDay":false,"extension_id":2},{"id":13,"start":1264456764,"end":1264458564,"title":"12","body":"","multi":0,"allDay":false,"extension_id":2},{"id":14,"start":1264459356,"end":1264461156,"title":"13","body":"","multi":0,"allDay":false,"extension_id":2},{"id":15,"start":1264461948,"end":1264463748,"title":"14","body":"","multi":0,"allDay":false,"extension_id":2},{"id":16,"start":1264464540,"end":1264466340,"title":"15","body":"","multi":0,"allDay":false,"extension_id":2},{"id":17,"start":1264467132,"end":1264468932,"title":"16","body":"","multi":0,"allDay":false,"extension_id":2},{"id":18,"start":1264469724,"end":1264471524,"title":"17","body":"","multi":0,"allDay":false,"extension_id":2},{"id":19,"start":1264472316,"end":1264474116,"title":"18","body":"","multi":0,"allDay":false,"extension_id":2},{"id":20,"start":1264474908,"end":1264476708,"title":"19","body":"","multi":0,"allDay":false,"extension_id":2},{"id":21,"start":1264477500,"end":1264479300,"title":"20","body":"","multi":0,"allDay":false,"extension_id":2},{"id":22,"start":1264480092,"end":1264481892,"title":"21","body":"","multi":0,"allDay":false,"extension_id":2},{"id":23,"start":1264482684,"end":1264484484,"title":"22","body":"","multi":0,"allDay":false,"extension_id":2},{"id":24,"start":1264485276,"end":1264487076,"title":"23","body":"","multi":0,"allDay":false,"extension_id":2},{"id":25,"start":1264487868,"end":1264489668,"title":"24","body":"","multi":0,"allDay":false,"extension_id":2},{"id":26,"start":1264490460,"end":1264492260,"title":"25","body":"","multi":0,"allDay":false,"extension_id":2},{"id":27,"start":1264493052,"end":1264494852,"title":"26","body":"","multi":0,"allDay":false,"extension_id":2},{"id":28,"start":1264495644,"end":1264497444,"title":"27","body":"","multi":0,"allDay":false,"extension_id":2},{"id":29,"start":1264498236,"end":1264500036,"title":"28","body":"","multi":0,"allDay":false,"extension_id":2},{"id":30,"start":1264500828,"end":1264502628,"title":"29","body":"","multi":0,"allDay":false,"extension_id":2},{"id":31,"start":1264503420,"end":1264505220,"title":"30","body":"","multi":0,"allDay":false,"extension_id":2},{"id":32,"start":1264506012,"end":1264507812,"title":"31","body":"","multi":0,"allDay":false,"extension_id":2},{"id":33,"start":1264508604,"end":1264510404,"title":"32","body":"","multi":0,"allDay":false,"extension_id":2},{"id":34,"start":1264511196,"end":1264512996,"title":"33","body":"","multi":0,"allDay":false,"extension_id":2},{"id":35,"start":1264513788,"end":1264515588,"title":"34","body":"","multi":0,"allDay":false,"extension_id":2},{"id":36,"start":1264516380,"end":1264518180,"title":"35","body":"","multi":0,"allDay":false,"extension_id":2},{"id":37,"start":1264518972,"end":1264520772,"title":"36","body":"","multi":0,"allDay":false,"extension_id":2},{"id":38,"start":1264521564,"end":1264523364,"title":"37","body":"","multi":0,"allDay":false,"extension_id":2},{"id":39,"start":1264524156,"end":1264525956,"title":"38","body":"","multi":0,"allDay":false,"extension_id":2},{"id":40,"start":1264526748,"end":1264528548,"title":"39","body":"","multi":0,"allDay":false,"extension_id":2},{"id":41,"start":1264529340,"end":1264531140,"title":"40","body":"","multi":0,"allDay":false,"extension_id":2},{"id":42,"start":1264531932,"end":1264533732,"title":"41","body":"","multi":0,"allDay":false,"extension_id":2},{"id":43,"start":1264534524,"end":1264536324,"title":"42","body":"","multi":0,"allDay":false,"extension_id":2},{"id":44,"start":1264537116,"end":1264538916,"title":"43","body":"","multi":0,"allDay":false,"extension_id":2},{"id":45,"start":1264539708,"end":1264541508,"title":"44","body":"","multi":0,"allDay":false,"extension_id":2},{"id":46,"start":1264542300,"end":1264544100,"title":"45","body":"","multi":0,"allDay":false,"extension_id":2},{"id":47,"start":1264544892,"end":1264546692,"title":"46","body":"","multi":0,"allDay":false,"extension_id":2},{"id":48,"start":1264547484,"end":1264549284,"title":"47","body":"","multi":0,"allDay":false,"extension_id":2},{"id":49,"start":1264550076,"end":1264551876,"title":"48","body":"","multi":0,"allDay":false,"extension_id":2},{"id":50,"start":1264552668,"end":1264554468,"title":"49","body":"","multi":0,"allDay":false,"extension_id":2},{"id":51,"start":1264555260,"end":1264557060,"title":"50","body":"","multi":0,"allDay":false,"extension_id":2},{"id":52,"start":1264557852,"end":1264559652,"title":"51","body":"","multi":0,"allDay":false,"extension_id":2},{"id":53,"start":1264560444,"end":1264562244,"title":"52","body":"","multi":0,"allDay":false,"extension_id":2},{"id":54,"start":1264563036,"end":1264564836,"title":"53","body":"","multi":0,"allDay":false,"extension_id":2},{"id":55,"start":1264565628,"end":1264567428,"title":"54","body":"","multi":0,"allDay":false,"extension_id":2},{"id":56,"start":1264568220,"end":1264570020,"title":"55","body":"","multi":0,"allDay":false,"extension_id":2},{"id":57,"start":1264570812,"end":1264572612,"title":"56","body":"","multi":0,"allDay":false,"extension_id":2},{"id":58,"start":1264573404,"end":1264575204,"title":"57","body":"","multi":0,"allDay":false,"extension_id":2},{"id":59,"start":1264575996,"end":1264577796,"title":"58","body":"","multi":0,"allDay":false,"extension_id":2},{"id":60,"start":1264578588,"end":1264580388,"title":"59","body":"","multi":0,"allDay":false,"extension_id":2},{"id":61,"start":1264581180,"end":1264582980,"title":"60","body":"","multi":0,"allDay":false,"extension_id":2},{"id":62,"start":1264583772,"end":1264585572,"title":"61","body":"","multi":0,"allDay":false,"extension_id":2},{"id":63,"start":1264586364,"end":1264588164,"title":"62","body":"","multi":0,"allDay":false,"extension_id":2},{"id":64,"start":1264588956,"end":1264590756,"title":"63","body":"","multi":0,"allDay":false,"extension_id":2},{"id":65,"start":1264591548,"end":1264593348,"title":"64","body":"","multi":0,"allDay":false,"extension_id":2},{"id":66,"start":1264594140,"end":1264595940,"title":"65","body":"","multi":0,"allDay":false,"extension_id":2},{"id":67,"start":1264596732,"end":1264598532,"title":"66","body":"","multi":0,"allDay":false,"extension_id":2},{"id":68,"start":1264599324,"end":1264601124,"title":"67","body":"","multi":0,"allDay":false,"extension_id":2},{"id":69,"start":1264601916,"end":1264603716,"title":"68","body":"","multi":0,"allDay":false,"extension_id":2},{"id":70,"start":1264604508,"end":1264606308,"title":"69","body":"","multi":0,"allDay":false,"extension_id":2},{"id":71,"start":1264607100,"end":1264608900,"title":"70","body":"","multi":0,"allDay":false,"extension_id":2},{"id":72,"start":1264609692,"end":1264611492,"title":"71","body":"","multi":0,"allDay":false,"extension_id":2},{"id":73,"start":1264612284,"end":1264614084,"title":"72","body":"","multi":0,"allDay":false,"extension_id":2},{"id":74,"start":1264614876,"end":1264616676,"title":"73","body":"","multi":0,"allDay":false,"extension_id":2},{"id":75,"start":1264617468,"end":1264619268,"title":"74","body":"","multi":0,"allDay":false,"extension_id":2},{"id":76,"start":1264620060,"end":1264621860,"title":"75","body":"","multi":0,"allDay":false,"extension_id":2},{"id":77,"start":1264622652,"end":1264624452,"title":"76","body":"","multi":0,"allDay":false,"extension_id":2},{"id":78,"start":1264625244,"end":1264627044,"title":"77","body":"","multi":0,"allDay":false,"extension_id":2},{"id":79,"start":1264627836,"end":1264629636,"title":"78","body":"","multi":0,"allDay":false,"extension_id":2},{"id":80,"start":1264630428,"end":1264632228,"title":"79","body":"","multi":0,"allDay":false,"extension_id":2},{"id":81,"start":1264633020,"end":1264634820,"title":"80","body":"","multi":0,"allDay":false,"extension_id":2},{"id":82,"start":1264635612,"end":1264637412,"title":"81","body":"","multi":0,"allDay":false,"extension_id":2},{"id":83,"start":1264638204,"end":1264640004,"title":"82","body":"","multi":0,"allDay":false,"extension_id":2},{"id":84,"start":1264640796,"end":1264642596,"title":"83","body":"","multi":0,"allDay":false,"extension_id":2},{"id":85,"start":1264643388,"end":1264645188,"title":"84","body":"","multi":0,"allDay":false,"extension_id":2},{"id":86,"start":1264645980,"end":1264647780,"title":"85","body":"","multi":0,"allDay":false,"extension_id":2},{"id":87,"start":1264648572,"end":1264650372,"title":"86","body":"","multi":0,"allDay":false,"extension_id":2},{"id":88,"start":1264651164,"end":1264652964,"title":"87","body":"","multi":0,"allDay":false,"extension_id":2},{"id":89,"start":1264653756,"end":1264655556,"title":"88","body":"","multi":0,"allDay":false,"extension_id":2},{"id":90,"start":1264656348,"end":1264658148,"title":"89","body":"","multi":0,"allDay":false,"extension_id":2},{"id":91,"start":1264658940,"end":1264660740,"title":"90","body":"","multi":0,"allDay":false,"extension_id":2},{"id":92,"start":1264661532,"end":1264663332,"title":"91","body":"","multi":0,"allDay":false,"extension_id":2},{"id":93,"start":1264664124,"end":1264665924,"title":"92","body":"","multi":0,"allDay":false,"extension_id":2},{"id":94,"start":1264666716,"end":1264668516,"title":"93","body":"","multi":0,"allDay":false,"extension_id":2},{"id":95,"start":1264669308,"end":1264671108,"title":"94","body":"","multi":0,"allDay":false,"extension_id":2},{"id":96,"start":1264671900,"end":1264673700,"title":"95","body":"","multi":0,"allDay":false,"extension_id":2},{"id":97,"start":1264674492,"end":1264676292,"title":"96","body":"","multi":0,"allDay":false,"extension_id":2},{"id":98,"start":1264677084,"end":1264678884,"title":"97","body":"","multi":0,"allDay":false,"extension_id":2},{"id":99,"start":1264679676,"end":1264681476,"title":"98","body":"","multi":0,"allDay":false,"extension_id":2},{"id":100,"start":1264682268,"end":1264684068,"title":"99","body":"","multi":0,"allDay":false,"extension_id":2},{"id":101,"start":1264684860,"end":1264686660,"title":"100","body":"","multi":0,"allDay":false,"extension_id":2},{"id":102,"start":1264687452,"end":1264689252,"title":"101","body":"","multi":0,"allDay":false,"extension_id":2},{"id":103,"start":1264690044,"end":1264691844,"title":"102","body":"","multi":0,"allDay":false,"extension_id":2},{"id":104,"start":1264692636,"end":1264694436,"title":"103","body":"","multi":0,"allDay":false,"extension_id":2},{"id":105,"start":1264695228,"end":1264697028,"title":"104","body":"","multi":0,"allDay":false,"extension_id":2},{"id":106,"start":1264697820,"end":1264699620,"title":"105","body":"","multi":0,"allDay":false,"extension_id":2},{"id":107,"start":1264700412,"end":1264702212,"title":"106","body":"","multi":0,"allDay":false,"extension_id":2},{"id":108,"start":1264703004,"end":1264704804,"title":"107","body":"","multi":0,"allDay":false,"extension_id":2},{"id":109,"start":1264705596,"end":1264707396,"title":"108","body":"","multi":0,"allDay":false,"extension_id":2},{"id":110,"start":1264708188,"end":1264709988,"title":"109","body":"","multi":0,"allDay":false,"extension_id":2},{"id":111,"start":1264710780,"end":1264712580,"title":"110","body":"","multi":0,"allDay":false,"extension_id":2},{"id":112,"start":1264713372,"end":1264715172,"title":"111","body":"","multi":0,"allDay":false,"extension_id":2},{"id":113,"start":1264715964,"end":1264717764,"title":"112","body":"","multi":0,"allDay":false,"extension_id":2},{"id":114,"start":1264718556,"end":1264720356,"title":"113","body":"","multi":0,"allDay":false,"extension_id":2},{"id":115,"start":1264721148,"end":1264722948,"title":"114","body":"","multi":0,"allDay":false,"extension_id":2},{"id":116,"start":1264723740,"end":1264725540,"title":"115","body":"","multi":0,"allDay":false,"extension_id":2},{"id":117,"start":1264726332,"end":1264728132,"title":"116","body":"","multi":0,"allDay":false,"extension_id":2},{"id":118,"start":1264728924,"end":1264730724,"title":"117","body":"","multi":0,"allDay":false,"extension_id":2},{"id":119,"start":1264731516,"end":1264733316,"title":"118","body":"","multi":0,"allDay":false,"extension_id":2},{"id":120,"start":1264734108,"end":1264735908,"title":"119","body":"","multi":0,"allDay":false,"extension_id":2},{"id":121,"start":1264736700,"end":1264738500,"title":"120","body":"","multi":0,"allDay":false,"extension_id":2},{"id":122,"start":1264739292,"end":1264741092,"title":"121","body":"","multi":0,"allDay":false,"extension_id":2},{"id":123,"start":1264741884,"end":1264743684,"title":"122","body":"","multi":0,"allDay":false,"extension_id":2},{"id":124,"start":1264744476,"end":1264746276,"title":"123","body":"","multi":0,"allDay":false,"extension_id":2},{"id":125,"start":1264747068,"end":1264748868,"title":"124","body":"","multi":0,"allDay":false,"extension_id":2},{"id":126,"start":1264749660,"end":1264751460,"title":"125","body":"","multi":0,"allDay":false,"extension_id":2},{"id":127,"start":1264752252,"end":1264754052,"title":"126","body":"","multi":0,"allDay":false,"extension_id":2},{"id":128,"start":1264754844,"end":1264756644,"title":"127","body":"","multi":0,"allDay":false,"extension_id":2},{"id":129,"start":1264757436,"end":1264759236,"title":"128","body":"","multi":0,"allDay":false,"extension_id":2},{"id":130,"start":1264760028,"end":1264761828,"title":"129","body":"","multi":0,"allDay":false,"extension_id":2},{"id":131,"start":1264762620,"end":1264764420,"title":"130","body":"","multi":0,"allDay":false,"extension_id":2},{"id":132,"start":1264765212,"end":1264767012,"title":"131","body":"","multi":0,"allDay":false,"extension_id":2},{"id":133,"start":1264767804,"end":1264769604,"title":"132","body":"","multi":0,"allDay":false,"extension_id":2},{"id":134,"start":1264770396,"end":1264772196,"title":"133","body":"","multi":0,"allDay":false,"extension_id":2},{"id":135,"start":1264772988,"end":1264774788,"title":"134","body":"","multi":0,"allDay":false,"extension_id":2},{"id":136,"start":1264775580,"end":1264777380,"title":"135","body":"","multi":0,"allDay":false,"extension_id":2},{"id":137,"start":1264778172,"end":1264779972,"title":"136","body":"","multi":0,"allDay":false,"extension_id":2},{"id":138,"start":1264780764,"end":1264782564,"title":"137","body":"","multi":0,"allDay":false,"extension_id":2},{"id":139,"start":1264783356,"end":1264785156,"title":"138","body":"","multi":0,"allDay":false,"extension_id":2},{"id":140,"start":1264785948,"end":1264787748,"title":"139","body":"","multi":0,"allDay":false,"extension_id":2},{"id":141,"start":1264788540,"end":1264790340,"title":"140","body":"","multi":0,"allDay":false,"extension_id":2},{"id":142,"start":1264791132,"end":1264792932,"title":"141","body":"","multi":0,"allDay":false,"extension_id":2},{"id":143,"start":1264793724,"end":1264795524,"title":"142","body":"","multi":0,"allDay":false,"extension_id":2},{"id":144,"start":1264796316,"end":1264798116,"title":"143","body":"","multi":0,"allDay":false,"extension_id":2},{"id":145,"start":1264798908,"end":1264800708,"title":"144","body":"","multi":0,"allDay":false,"extension_id":2},{"id":146,"start":1264801500,"end":1264803300,"title":"145","body":"","multi":0,"allDay":false,"extension_id":2},{"id":147,"start":1264804092,"end":1264805892,"title":"146","body":"","multi":0,"allDay":false,"extension_id":2},{"id":148,"start":1264806684,"end":1264808484,"title":"147","body":"","multi":0,"allDay":false,"extension_id":2},{"id":149,"start":1264809276,"end":1264811076,"title":"148","body":"","multi":0,"allDay":false,"extension_id":2},{"id":150,"start":1264811868,"end":1264813668,"title":"149","body":"","multi":0,"allDay":false,"extension_id":2},{"id":151,"start":1264814460,"end":1264816260,"title":"150","body":"","multi":0,"allDay":false,"extension_id":2},{"id":152,"start":1264817052,"end":1264818852,"title":"151","body":"","multi":0,"allDay":false,"extension_id":2},{"id":153,"start":1264819644,"end":1264821444,"title":"152","body":"","multi":0,"allDay":false,"extension_id":2},{"id":154,"start":1264822236,"end":1264824036,"title":"153","body":"","multi":0,"allDay":false,"extension_id":2},{"id":155,"start":1264824828,"end":1264826628,"title":"154","body":"","multi":0,"allDay":false,"extension_id":2},{"id":156,"start":1264827420,"end":1264829220,"title":"155","body":"","multi":0,"allDay":false,"extension_id":2},{"id":157,"start":1264830012,"end":1264831812,"title":"156","body":"","multi":0,"allDay":false,"extension_id":2},{"id":158,"start":1264832604,"end":1264834404,"title":"157","body":"","multi":0,"allDay":false,"extension_id":2},{"id":159,"start":1264835196,"end":1264836996,"title":"158","body":"","multi":0,"allDay":false,"extension_id":2},{"id":160,"start":1264837788,"end":1264839588,"title":"159","body":"","multi":0,"allDay":false,"extension_id":2},{"id":161,"start":1264840380,"end":1264842180,"title":"160","body":"","multi":0,"allDay":false,"extension_id":2},{"id":162,"start":1264842972,"end":1264844772,"title":"161","body":"","multi":0,"allDay":false,"extension_id":2},{"id":163,"start":1264845564,"end":1264847364,"title":"162","body":"","multi":0,"allDay":false,"extension_id":2},{"id":164,"start":1264848156,"end":1264849956,"title":"163","body":"","multi":0,"allDay":false,"extension_id":2},{"id":165,"start":1264850748,"end":1264852548,"title":"164","body":"","multi":0,"allDay":false,"extension_id":2},{"id":166,"start":1264853340,"end":1264855140,"title":"165","body":"","multi":0,"allDay":false,"extension_id":2},{"id":167,"start":1264855932,"end":1264857732,"title":"166","body":"","multi":0,"allDay":false,"extension_id":2},{"id":168,"start":1264858524,"end":1264860324,"title":"167","body":"","multi":0,"allDay":false,"extension_id":2},{"id":169,"start":1264861116,"end":1264862916,"title":"168","body":"","multi":0,"allDay":false,"extension_id":2},{"id":170,"start":1264863708,"end":1264865508,"title":"169","body":"","multi":0,"allDay":false,"extension_id":2},{"id":171,"start":1264866300,"end":1264868100,"title":"170","body":"","multi":0,"allDay":false,"extension_id":2},{"id":172,"start":1264868892,"end":1264870692,"title":"171","body":"","multi":0,"allDay":false,"extension_id":2},{"id":173,"start":1264871484,"end":1264873284,"title":"172","body":"","multi":0,"allDay":false,"extension_id":2},{"id":174,"start":1264874076,"end":1264875876,"title":"173","body":"","multi":0,"allDay":false,"extension_id":2},{"id":175,"start":1264876668,"end":1264878468,"title":"174","body":"","multi":0,"allDay":false,"extension_id":2},{"id":176,"start":1264879260,"end":1264881060,"title":"175","body":"","multi":0,"allDay":false,"extension_id":2},{"id":177,"start":1264881852,"end":1264883652,"title":"176","body":"","multi":0,"allDay":false,"extension_id":2},{"id":178,"start":1264884444,"end":1264886244,"title":"177","body":"","multi":0,"allDay":false,"extension_id":2},{"id":179,"start":1264887036,"end":1264888836,"title":"178","body":"","multi":0,"allDay":false,"extension_id":2},{"id":180,"start":1264889628,"end":1264891428,"title":"179","body":"","multi":0,"allDay":false,"extension_id":2},{"id":181,"start":1264892220,"end":1264894020,"title":"180","body":"","multi":0,"allDay":false,"extension_id":2},{"id":182,"start":1264894812,"end":1264896612,"title":"181","body":"","multi":0,"allDay":false,"extension_id":2},{"id":183,"start":1264897404,"end":1264899204,"title":"182","body":"","multi":0,"allDay":false,"extension_id":2},{"id":184,"start":1264899996,"end":1264901796,"title":"183","body":"","multi":0,"allDay":false,"extension_id":2},{"id":185,"start":1264902588,"end":1264904388,"title":"184","body":"","multi":0,"allDay":false,"extension_id":2},{"id":186,"start":1264905180,"end":1264906980,"title":"185","body":"","multi":0,"allDay":false,"extension_id":2},{"id":187,"start":1264907772,"end":1264909572,"title":"186","body":"","multi":0,"allDay":false,"extension_id":2},{"id":188,"start":1264910364,"end":1264912164,"title":"187","body":"","multi":0,"allDay":false,"extension_id":2},{"id":189,"start":1264912956,"end":1264914756,"title":"188","body":"","multi":0,"allDay":false,"extension_id":2},{"id":190,"start":1264915548,"end":1264917348,"title":"189","body":"","multi":0,"allDay":false,"extension_id":2},{"id":191,"start":1264918140,"end":1264919940,"title":"190","body":"","multi":0,"allDay":false,"extension_id":2},{"id":192,"start":1264920732,"end":1264922532,"title":"191","body":"","multi":0,"allDay":false,"extension_id":2},{"id":193,"start":1264923324,"end":1264925124,"title":"192","body":"","multi":0,"allDay":false,"extension_id":2},{"id":194,"start":1264925916,"end":1264927716,"title":"193","body":"","multi":0,"allDay":false,"extension_id":2},{"id":195,"start":1264928508,"end":1264930308,"title":"194","body":"","multi":0,"allDay":false,"extension_id":2},{"id":196,"start":1264931100,"end":1264932900,"title":"195","body":"","multi":0,"allDay":false,"extension_id":2},{"id":197,"start":1264933692,"end":1264935492,"title":"196","body":"","multi":0,"allDay":false,"extension_id":2},{"id":198,"start":1264936284,"end":1264938084,"title":"197","body":"","multi":0,"allDay":false,"extension_id":2},{"id":199,"start":1264938876,"end":1264940676,"title":"198","body":"","multi":0,"allDay":false,"extension_id":2},{"id":200,"start":1264941468,"end":1264943268,"title":"199","body":"","multi":0,"allDay":false,"extension_id":2},{"id":201,"start":1264944060,"end":1264945860,"title":"200","body":"","multi":0,"allDay":false,"extension_id":2},{"id":202,"start":1264946652,"end":1264948452,"title":"201","body":"","multi":0,"allDay":false,"extension_id":2},{"id":203,"start":1264949244,"end":1264951044,"title":"202","body":"","multi":0,"allDay":false,"extension_id":2},{"id":204,"start":1264951836,"end":1264953636,"title":"203","body":"","multi":0,"allDay":false,"extension_id":2},{"id":205,"start":1264954428,"end":1264956228,"title":"204","body":"","multi":0,"allDay":false,"extension_id":2},{"id":206,"start":1264957020,"end":1264958820,"title":"205","body":"","multi":0,"allDay":false,"extension_id":2},{"id":207,"start":1264959612,"end":1264961412,"title":"206","body":"","multi":0,"allDay":false,"extension_id":2},{"id":208,"start":1264962204,"end":1264964004,"title":"207","body":"","multi":0,"allDay":false,"extension_id":2},{"id":209,"start":1264964796,"end":1264966596,"title":"208","body":"","multi":0,"allDay":false,"extension_id":2},{"id":210,"start":1264967388,"end":1264969188,"title":"209","body":"","multi":0,"allDay":false,"extension_id":2},{"id":211,"start":1264969980,"end":1264971780,"title":"210","body":"","multi":0,"allDay":false,"extension_id":2},{"id":212,"start":1264972572,"end":1264974372,"title":"211","body":"","multi":0,"allDay":false,"extension_id":2},{"id":213,"start":1264975164,"end":1264976964,"title":"212","body":"","multi":0,"allDay":false,"extension_id":2},{"id":214,"start":1264977756,"end":1264979556,"title":"213","body":"","multi":0,"allDay":false,"extension_id":2},{"id":215,"start":1264980348,"end":1264982148,"title":"214","body":"","multi":0,"allDay":false,"extension_id":2},{"id":216,"start":1264982940,"end":1264984740,"title":"215","body":"","multi":0,"allDay":false,"extension_id":2},{"id":217,"start":1264985532,"end":1264987332,"title":"216","body":"","multi":0,"allDay":false,"extension_id":2},{"id":218,"start":1264988124,"end":1264989924,"title":"217","body":"","multi":0,"allDay":false,"extension_id":2},{"id":219,"start":1264990716,"end":1264992516,"title":"218","body":"","multi":0,"allDay":false,"extension_id":2},{"id":220,"start":1264993308,"end":1264995108,"title":"219","body":"","multi":0,"allDay":false,"extension_id":2},{"id":221,"start":1264995900,"end":1264997700,"title":"220","body":"","multi":0,"allDay":false,"extension_id":2},{"id":222,"start":1264998492,"end":1265000292,"title":"221","body":"","multi":0,"allDay":false,"extension_id":2},{"id":223,"start":1265001084,"end":1265002884,"title":"222","body":"","multi":0,"allDay":false,"extension_id":2},{"id":224,"start":1265003676,"end":1265005476,"title":"223","body":"","multi":0,"allDay":false,"extension_id":2},{"id":225,"start":1265006268,"end":1265008068,"title":"224","body":"","multi":0,"allDay":false,"extension_id":2},{"id":226,"start":1265008860,"end":1265010660,"title":"225","body":"","multi":0,"allDay":false,"extension_id":2},{"id":227,"start":1265011452,"end":1265013252,"title":"226","body":"","multi":0,"allDay":false,"extension_id":2},{"id":228,"start":1265014044,"end":1265015844,"title":"227","body":"","multi":0,"allDay":false,"extension_id":2},{"id":229,"start":1265016636,"end":1265018436,"title":"228","body":"","multi":0,"allDay":false,"extension_id":2},{"id":230,"start":1265019228,"end":1265021028,"title":"229","body":"","multi":0,"allDay":false,"extension_id":2},{"id":231,"start":1265021820,"end":1265023620,"title":"230","body":"","multi":0,"allDay":false,"extension_id":2},{"id":232,"start":1265024412,"end":1265026212,"title":"231","body":"","multi":0,"allDay":false,"extension_id":2},{"id":233,"start":1265027004,"end":1265028804,"title":"232","body":"","multi":0,"allDay":false,"extension_id":2},{"id":234,"start":1265029596,"end":1265031396,"title":"233","body":"","multi":0,"allDay":false,"extension_id":2},{"id":235,"start":1265032188,"end":1265033988,"title":"234","body":"","multi":0,"allDay":false,"extension_id":2},{"id":236,"start":1265034780,"end":1265036580,"title":"235","body":"","multi":0,"allDay":false,"extension_id":2},{"id":237,"start":1265037372,"end":1265039172,"title":"236","body":"","multi":0,"allDay":false,"extension_id":2},{"id":238,"start":1265039964,"end":1265041764,"title":"237","body":"","multi":0,"allDay":false,"extension_id":2},{"id":239,"start":1265042556,"end":1265044356,"title":"238","body":"","multi":0,"allDay":false,"extension_id":2},{"id":240,"start":1265045148,"end":1265046948,"title":"239","body":"","multi":0,"allDay":false,"extension_id":2},{"id":241,"start":1265047740,"end":1265049540,"title":"240","body":"","multi":0,"allDay":false,"extension_id":2},{"id":242,"start":1265050332,"end":1265052132,"title":"241","body":"","multi":0,"allDay":false,"extension_id":2},{"id":243,"start":1265052924,"end":1265054724,"title":"242","body":"","multi":0,"allDay":false,"extension_id":2},{"id":244,"start":1265055516,"end":1265057316,"title":"243","body":"","multi":0,"allDay":false,"extension_id":2},{"id":245,"start":1265058108,"end":1265059908,"title":"244","body":"","multi":0,"allDay":false,"extension_id":2},{"id":246,"start":1265060700,"end":1265062500,"title":"245","body":"","multi":0,"allDay":false,"extension_id":2},{"id":247,"start":1265063292,"end":1265065092,"title":"246","body":"","multi":0,"allDay":false,"extension_id":2},{"id":248,"start":1265065884,"end":1265067684,"title":"247","body":"","multi":0,"allDay":false,"extension_id":2},{"id":249,"start":1265068476,"end":1265070276,"title":"248","body":"","multi":0,"allDay":false,"extension_id":2},{"id":250,"start":1265071068,"end":1265072868,"title":"249","body":"","multi":0,"allDay":false,"extension_id":2},{"id":251,"start":1265073660,"end":1265075460,"title":"250","body":"","multi":0,"allDay":false,"extension_id":2},{"id":252,"start":1265076252,"end":1265078052,"title":"251","body":"","multi":0,"allDay":false,"extension_id":2},{"id":253,"start":1265078844,"end":1265080644,"title":"252","body":"","multi":0,"allDay":false,"extension_id":2},{"id":254,"start":1265081436,"end":1265083236,"title":"253","body":"","multi":0,"allDay":false,"extension_id":2},{"id":255,"start":1265084028,"end":1265085828,"title":"254","body":"","multi":0,"allDay":false,"extension_id":2},{"id":256,"start":1265086620,"end":1265088420,"title":"255","body":"","multi":0,"allDay":false,"extension_id":2},{"id":257,"start":1265089212,"end":1265091012,"title":"256","body":"","multi":0,"allDay":false,"extension_id":2},{"id":258,"start":1265091804,"end":1265093604,"title":"257","body":"","multi":0,"allDay":false,"extension_id":2},{"id":259,"start":1265094396,"end":1265096196,"title":"258","body":"","multi":0,"allDay":false,"extension_id":2},{"id":260,"start":1265096988,"end":1265098788,"title":"259","body":"","multi":0,"allDay":false,"extension_id":2},{"id":261,"start":1265099580,"end":1265101380,"title":"260","body":"","multi":0,"allDay":false,"extension_id":2},{"id":262,"start":1265102172,"end":1265103972,"title":"261","body":"","multi":0,"allDay":false,"extension_id":2},{"id":263,"start":1265104764,"end":1265106564,"title":"262","body":"","multi":0,"allDay":false,"extension_id":2},{"id":264,"start":1265107356,"end":1265109156,"title":"263","body":"","multi":0,"allDay":false,"extension_id":2},{"id":265,"start":1265109948,"end":1265111748,"title":"264","body":"","multi":0,"allDay":false,"extension_id":2},{"id":266,"start":1265112540,"end":1265114340,"title":"265","body":"","multi":0,"allDay":false,"extension_id":2},{"id":267,"start":1265115132,"end":1265116932,"title":"266","body":"","multi":0,"allDay":false,"extension_id":2},{"id":268,"start":1265117724,"end":1265119524,"title":"267","body":"","multi":0,"allDay":false,"extension_id":2},{"id":269,"start":1265120316,"end":1265122116,"title":"268","body":"","multi":0,"allDay":false,"extension_id":2},{"id":270,"start":1265122908,"end":1265124708,"title":"269","body":"","multi":0,"allDay":false,"extension_id":2},{"id":271,"start":1265125500,"end":1265127300,"title":"270","body":"","multi":0,"allDay":false,"extension_id":2},{"id":272,"start":1265128092,"end":1265129892,"title":"271","body":"","multi":0,"allDay":false,"extension_id":2},{"id":273,"start":1265130684,"end":1265132484,"title":"272","body":"","multi":0,"allDay":false,"extension_id":2},{"id":274,"start":1265133276,"end":1265135076,"title":"273","body":"","multi":0,"allDay":false,"extension_id":2},{"id":275,"start":1265135868,"end":1265137668,"title":"274","body":"","multi":0,"allDay":false,"extension_id":2},{"id":276,"start":1265138460,"end":1265140260,"title":"275","body":"","multi":0,"allDay":false,"extension_id":2},{"id":277,"start":1265141052,"end":1265142852,"title":"276","body":"","multi":0,"allDay":false,"extension_id":2},{"id":278,"start":1265143644,"end":1265145444,"title":"277","body":"","multi":0,"allDay":false,"extension_id":2},{"id":279,"start":1265146236,"end":1265148036,"title":"278","body":"","multi":0,"allDay":false,"extension_id":2},{"id":280,"start":1265148828,"end":1265150628,"title":"279","body":"","multi":0,"allDay":false,"extension_id":2},{"id":281,"start":1265151420,"end":1265153220,"title":"280","body":"","multi":0,"allDay":false,"extension_id":2},{"id":282,"start":1265154012,"end":1265155812,"title":"281","body":"","multi":0,"allDay":false,"extension_id":2},{"id":283,"start":1265156604,"end":1265158404,"title":"282","body":"","multi":0,"allDay":false,"extension_id":2},{"id":284,"start":1265159196,"end":1265160996,"title":"283","body":"","multi":0,"allDay":false,"extension_id":2},{"id":285,"start":1265161788,"end":1265163588,"title":"284","body":"","multi":0,"allDay":false,"extension_id":2},{"id":286,"start":1265164380,"end":1265166180,"title":"285","body":"","multi":0,"allDay":false,"extension_id":2},{"id":287,"start":1265166972,"end":1265168772,"title":"286","body":"","multi":0,"allDay":false,"extension_id":2},{"id":288,"start":1265169564,"end":1265171364,"title":"287","body":"","multi":0,"allDay":false,"extension_id":2},{"id":289,"start":1265172156,"end":1265173956,"title":"288","body":"","multi":0,"allDay":false,"extension_id":2},{"id":290,"start":1265174748,"end":1265176548,"title":"289","body":"","multi":0,"allDay":false,"extension_id":2},{"id":291,"start":1265177340,"end":1265179140,"title":"290","body":"","multi":0,"allDay":false,"extension_id":2},{"id":292,"start":1265179932,"end":1265181732,"title":"291","body":"","multi":0,"allDay":false,"extension_id":2},{"id":293,"start":1265182524,"end":1265184324,"title":"292","body":"","multi":0,"allDay":false,"extension_id":2},{"id":294,"start":1265185116,"end":1265186916,"title":"293","body":"","multi":0,"allDay":false,"extension_id":2},{"id":295,"start":1265187708,"end":1265189508,"title":"294","body":"","multi":0,"allDay":false,"extension_id":2},{"id":296,"start":1265190300,"end":1265192100,"title":"295","body":"","multi":0,"allDay":false,"extension_id":2},{"id":297,"start":1265192892,"end":1265194692,"title":"296","body":"","multi":0,"allDay":false,"extension_id":2},{"id":298,"start":1265195484,"end":1265197284,"title":"297","body":"","multi":0,"allDay":false,"extension_id":2},{"id":299,"start":1265198076,"end":1265199876,"title":"298","body":"","multi":0,"allDay":false,"extension_id":2},{"id":300,"start":1265200668,"end":1265202468,"title":"299","body":"","multi":0,"allDay":false,"extension_id":2},{"id":301,"start":1265203260,"end":1265205060,"title":"300","body":"","multi":0,"allDay":false,"extension_id":2},{"id":302,"start":1265205852,"end":1265207652,"title":"301","body":"","multi":0,"allDay":false,"extension_id":2},{"id":303,"start":1265208444,"end":1265210244,"title":"302","body":"","multi":0,"allDay":false,"extension_id":2},{"id":304,"start":1265211036,"end":1265212836,"title":"303","body":"","multi":0,"allDay":false,"extension_id":2},{"id":305,"start":1265213628,"end":1265215428,"title":"304","body":"","multi":0,"allDay":false,"extension_id":2},{"id":306,"start":1265216220,"end":1265218020,"title":"305","body":"","multi":0,"allDay":false,"extension_id":2},{"id":307,"start":1265218812,"end":1265220612,"title":"306","body":"","multi":0,"allDay":false,"extension_id":2},{"id":308,"start":1265221404,"end":1265223204,"title":"307","body":"","multi":0,"allDay":false,"extension_id":2},{"id":309,"start":1265223996,"end":1265225796,"title":"308","body":"","multi":0,"allDay":false,"extension_id":2},{"id":310,"start":1265226588,"end":1265228388,"title":"309","body":"","multi":0,"allDay":false,"extension_id":2},{"id":311,"start":1265229180,"end":1265230980,"title":"310","body":"","multi":0,"allDay":false,"extension_id":2},{"id":312,"start":1265231772,"end":1265233572,"title":"311","body":"","multi":0,"allDay":false,"extension_id":2},{"id":313,"start":1265234364,"end":1265236164,"title":"312","body":"","multi":0,"allDay":false,"extension_id":2},{"id":314,"start":1265236956,"end":1265238756,"title":"313","body":"","multi":0,"allDay":false,"extension_id":2},{"id":315,"start":1265239548,"end":1265241348,"title":"314","body":"","multi":0,"allDay":false,"extension_id":2},{"id":316,"start":1265242140,"end":1265243940,"title":"315","body":"","multi":0,"allDay":false,"extension_id":2},{"id":317,"start":1265244732,"end":1265246532,"title":"316","body":"","multi":0,"allDay":false,"extension_id":2},{"id":318,"start":1265247324,"end":1265249124,"title":"317","body":"","multi":0,"allDay":false,"extension_id":2},{"id":319,"start":1265249916,"end":1265251716,"title":"318","body":"","multi":0,"allDay":false,"extension_id":2},{"id":320,"start":1265252508,"end":1265254308,"title":"319","body":"","multi":0,"allDay":false,"extension_id":2},{"id":321,"start":1265255100,"end":1265256900,"title":"320","body":"","multi":0,"allDay":false,"extension_id":2},{"id":322,"start":1265257692,"end":1265259492,"title":"321","body":"","multi":0,"allDay":false,"extension_id":2},{"id":323,"start":1265260284,"end":1265262084,"title":"322","body":"","multi":0,"allDay":false,"extension_id":2},{"id":324,"start":1265262876,"end":1265264676,"title":"323","body":"","multi":0,"allDay":false,"extension_id":2},{"id":325,"start":1265265468,"end":1265267268,"title":"324","body":"","multi":0,"allDay":false,"extension_id":2},{"id":326,"start":1265268060,"end":1265269860,"title":"325","body":"","multi":0,"allDay":false,"extension_id":2},{"id":327,"start":1265270652,"end":1265272452,"title":"326","body":"","multi":0,"allDay":false,"extension_id":2},{"id":328,"start":1265273244,"end":1265275044,"title":"327","body":"","multi":0,"allDay":false,"extension_id":2},{"id":329,"start":1265275836,"end":1265277636,"title":"328","body":"","multi":0,"allDay":false,"extension_id":2},{"id":330,"start":1265278428,"end":1265280228,"title":"329","body":"","multi":0,"allDay":false,"extension_id":2},{"id":331,"start":1265281020,"end":1265282820,"title":"330","body":"","multi":0,"allDay":false,"extension_id":2},{"id":332,"start":1265283612,"end":1265285412,"title":"331","body":"","multi":0,"allDay":false,"extension_id":2},{"id":333,"start":1265286204,"end":1265288004,"title":"332","body":"","multi":0,"allDay":false,"extension_id":2},{"id":334,"start":1265288796,"end":1265290596,"title":"333","body":"","multi":0,"allDay":false,"extension_id":2},{"id":335,"start":1265291388,"end":1265293188,"title":"334","body":"","multi":0,"allDay":false,"extension_id":2},{"id":336,"start":1265293980,"end":1265295780,"title":"335","body":"","multi":0,"allDay":false,"extension_id":2},{"id":337,"start":1265296572,"end":1265298372,"title":"336","body":"","multi":0,"allDay":false,"extension_id":2},{"id":338,"start":1265299164,"end":1265300964,"title":"337","body":"","multi":0,"allDay":false,"extension_id":2},{"id":339,"start":1265301756,"end":1265303556,"title":"338","body":"","multi":0,"allDay":false,"extension_id":2},{"id":340,"start":1265304348,"end":1265306148,"title":"339","body":"","multi":0,"allDay":false,"extension_id":2},{"id":341,"start":1265306940,"end":1265308740,"title":"340","body":"","multi":0,"allDay":false,"extension_id":2},{"id":342,"start":1265309532,"end":1265311332,"title":"341","body":"","multi":0,"allDay":false,"extension_id":2},{"id":343,"start":1265312124,"end":1265313924,"title":"342","body":"","multi":0,"allDay":false,"extension_id":2},{"id":344,"start":1265314716,"end":1265316516,"title":"343","body":"","multi":0,"allDay":false,"extension_id":2},{"id":345,"start":1265317308,"end":1265319108,"title":"344","body":"","multi":0,"allDay":false,"extension_id":2},{"id":346,"start":1265319900,"end":1265321700,"title":"345","body":"","multi":0,"allDay":false,"extension_id":2},{"id":347,"start":1265322492,"end":1265324292,"title":"346","body":"","multi":0,"allDay":false,"extension_id":2},{"id":348,"start":1265325084,"end":1265326884,"title":"347","body":"","multi":0,"allDay":false,"extension_id":2},{"id":349,"start":1265327676,"end":1265329476,"title":"348","body":"","multi":0,"allDay":false,"extension_id":2},{"id":350,"start":1265330268,"end":1265332068,"title":"349","body":"","multi":0,"allDay":false,"extension_id":2},{"id":351,"start":1265332860,"end":1265334660,"title":"350","body":"","multi":0,"allDay":false,"extension_id":2},{"id":352,"start":1265335452,"end":1265337252,"title":"351","body":"","multi":0,"allDay":false,"extension_id":2},{"id":353,"start":1265338044,"end":1265339844,"title":"352","body":"","multi":0,"allDay":false,"extension_id":2},{"id":354,"start":1265340636,"end":1265342436,"title":"353","body":"","multi":0,"allDay":false,"extension_id":2},{"id":355,"start":1265343228,"end":1265345028,"title":"354","body":"","multi":0,"allDay":false,"extension_id":2},{"id":356,"start":1265345820,"end":1265347620,"title":"355","body":"","multi":0,"allDay":false,"extension_id":2},{"id":357,"start":1265348412,"end":1265350212,"title":"356","body":"","multi":0,"allDay":false,"extension_id":2},{"id":358,"start":1265351004,"end":1265352804,"title":"357","body":"","multi":0,"allDay":false,"extension_id":2},{"id":359,"start":1265353596,"end":1265355396,"title":"358","body":"","multi":0,"allDay":false,"extension_id":2},{"id":360,"start":1265356188,"end":1265357988,"title":"359","body":"","multi":0,"allDay":false,"extension_id":2},{"id":361,"start":1265358780,"end":1265360580,"title":"360","body":"","multi":0,"allDay":false,"extension_id":2},{"id":362,"start":1265361372,"end":1265363172,"title":"361","body":"","multi":0,"allDay":false,"extension_id":2},{"id":363,"start":1265363964,"end":1265365764,"title":"362","body":"","multi":0,"allDay":false,"extension_id":2},{"id":364,"start":1265366556,"end":1265368356,"title":"363","body":"","multi":0,"allDay":false,"extension_id":2},{"id":365,"start":1265369148,"end":1265370948,"title":"364","body":"","multi":0,"allDay":false,"extension_id":2},{"id":366,"start":1265371740,"end":1265373540,"title":"365","body":"","multi":0,"allDay":false,"extension_id":2},{"id":367,"start":1265374332,"end":1265376132,"title":"366","body":"","multi":0,"allDay":false,"extension_id":2},{"id":368,"start":1265376924,"end":1265378724,"title":"367","body":"","multi":0,"allDay":false,"extension_id":2},{"id":369,"start":1265379516,"end":1265381316,"title":"368","body":"","multi":0,"allDay":false,"extension_id":2},{"id":370,"start":1265382108,"end":1265383908,"title":"369","body":"","multi":0,"allDay":false,"extension_id":2},{"id":371,"start":1265384700,"end":1265386500,"title":"370","body":"","multi":0,"allDay":false,"extension_id":2},{"id":372,"start":1265387292,"end":1265389092,"title":"371","body":"","multi":0,"allDay":false,"extension_id":2},{"id":373,"start":1265389884,"end":1265391684,"title":"372","body":"","multi":0,"allDay":false,"extension_id":2},{"id":374,"start":1265392476,"end":1265394276,"title":"373","body":"","multi":0,"allDay":false,"extension_id":2},{"id":375,"start":1265395068,"end":1265396868,"title":"374","body":"","multi":0,"allDay":false,"extension_id":2},{"id":376,"start":1265397660,"end":1265399460,"title":"375","body":"","multi":0,"allDay":false,"extension_id":2},{"id":377,"start":1265400252,"end":1265402052,"title":"376","body":"","multi":0,"allDay":false,"extension_id":2},{"id":378,"start":1265402844,"end":1265404644,"title":"377","body":"","multi":0,"allDay":false,"extension_id":2},{"id":379,"start":1265405436,"end":1265407236,"title":"378","body":"","multi":0,"allDay":false,"extension_id":2},{"id":380,"start":1265408028,"end":1265409828,"title":"379","body":"","multi":0,"allDay":false,"extension_id":2},{"id":381,"start":1265410620,"end":1265412420,"title":"380","body":"","multi":0,"allDay":false,"extension_id":2},{"id":382,"start":1265413212,"end":1265415012,"title":"381","body":"","multi":0,"allDay":false,"extension_id":2},{"id":383,"start":1265415804,"end":1265417604,"title":"382","body":"","multi":0,"allDay":false,"extension_id":2},{"id":384,"start":1265418396,"end":1265420196,"title":"383","body":"","multi":0,"allDay":false,"extension_id":2},{"id":385,"start":1265420988,"end":1265422788,"title":"384","body":"","multi":0,"allDay":false,"extension_id":2},{"id":386,"start":1265423580,"end":1265425380,"title":"385","body":"","multi":0,"allDay":false,"extension_id":2},{"id":387,"start":1265426172,"end":1265427972,"title":"386","body":"","multi":0,"allDay":false,"extension_id":2},{"id":388,"start":1265428764,"end":1265430564,"title":"387","body":"","multi":0,"allDay":false,"extension_id":2},{"id":389,"start":1265431356,"end":1265433156,"title":"388","body":"","multi":0,"allDay":false,"extension_id":2},{"id":390,"start":1265433948,"end":1265435748,"title":"389","body":"","multi":0,"allDay":false,"extension_id":2},{"id":391,"start":1265436540,"end":1265438340,"title":"390","body":"","multi":0,"allDay":false,"extension_id":2},{"id":392,"start":1265439132,"end":1265440932,"title":"391","body":"","multi":0,"allDay":false,"extension_id":2},{"id":393,"start":1265441724,"end":1265443524,"title":"392","body":"","multi":0,"allDay":false,"extension_id":2},{"id":394,"start":1265444316,"end":1265446116,"title":"393","body":"","multi":0,"allDay":false,"extension_id":2},{"id":395,"start":1265446908,"end":1265448708,"title":"394","body":"","multi":0,"allDay":false,"extension_id":2},{"id":396,"start":1265449500,"end":1265451300,"title":"395","body":"","multi":0,"allDay":false,"extension_id":2},{"id":397,"start":1265452092,"end":1265453892,"title":"396","body":"","multi":0,"allDay":false,"extension_id":2},{"id":398,"start":1265454684,"end":1265456484,"title":"397","body":"","multi":0,"allDay":false,"extension_id":2},{"id":399,"start":1265457276,"end":1265459076,"title":"398","body":"","multi":0,"allDay":false,"extension_id":2},{"id":400,"start":1265459868,"end":1265461668,"title":"399","body":"","multi":0,"allDay":false,"extension_id":2},{"id":401,"start":1265462460,"end":1265464260,"title":"400","body":"","multi":0,"allDay":false,"extension_id":2},{"id":402,"start":1265465052,"end":1265466852,"title":"401","body":"","multi":0,"allDay":false,"extension_id":2},{"id":403,"start":1265467644,"end":1265469444,"title":"402","body":"","multi":0,"allDay":false,"extension_id":2},{"id":404,"start":1265470236,"end":1265472036,"title":"403","body":"","multi":0,"allDay":false,"extension_id":2},{"id":405,"start":1265472828,"end":1265474628,"title":"404","body":"","multi":0,"allDay":false,"extension_id":2},{"id":406,"start":1265475420,"end":1265477220,"title":"405","body":"","multi":0,"allDay":false,"extension_id":2},{"id":407,"start":1265478012,"end":1265479812,"title":"406","body":"","multi":0,"allDay":false,"extension_id":2},{"id":408,"start":1265480604,"end":1265482404,"title":"407","body":"","multi":0,"allDay":false,"extension_id":2},{"id":409,"start":1265483196,"end":1265484996,"title":"408","body":"","multi":0,"allDay":false,"extension_id":2},{"id":410,"start":1265485788,"end":1265487588,"title":"409","body":"","multi":0,"allDay":false,"extension_id":2},{"id":411,"start":1265488380,"end":1265490180,"title":"410","body":"","multi":0,"allDay":false,"extension_id":2},{"id":412,"start":1265490972,"end":1265492772,"title":"411","body":"","multi":0,"allDay":false,"extension_id":2},{"id":413,"start":1265493564,"end":1265495364,"title":"412","body":"","multi":0,"allDay":false,"extension_id":2},{"id":414,"start":1265496156,"end":1265497956,"title":"413","body":"","multi":0,"allDay":false,"extension_id":2}] diff --git a/tests/method_destroy.html b/tests/method_destroy.html deleted file mode 100644 index 08438e4..0000000 --- a/tests/method_destroy.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - -
    some text in here
    - - diff --git a/tests/methods.html b/tests/methods.html deleted file mode 100644 index 1184d8e..0000000 --- a/tests/methods.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - - - - -

    - - - - - - - - - - - - - -
    - - - - - - - -
    - - - - - - - - - - -
    - - - - - - - - - - - -

    - -
    - - diff --git a/tests/options.html b/tests/options.html deleted file mode 100644 index cbb9b08..0000000 --- a/tests/options.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - -
    - - diff --git a/tests/plain.html b/tests/plain.html deleted file mode 100644 index f90f8a8..0000000 --- a/tests/plain.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - -
    - - diff --git a/tests/selectable.html b/tests/selectable.html deleted file mode 100644 index c6dee5f..0000000 --- a/tests/selectable.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - - - - - - - - - - -
    - - diff --git a/tests/short_agenda.html b/tests/short_agenda.html deleted file mode 100644 index f3f8c62..0000000 --- a/tests/short_agenda.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - -
    - - diff --git a/tests/skip-redraw-test.html b/tests/skip-redraw-test.html deleted file mode 100644 index 22e4887..0000000 --- a/tests/skip-redraw-test.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - -

    gotoDate test page

    -

    - This page is to test refactoring of gotoDate to check whether or not to call render() based on view.visStart and view.visEnd. -

    -
    - - diff --git a/tests/sources.html b/tests/sources.html deleted file mode 100644 index 7f5f745..0000000 --- a/tests/sources.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - - - - -

    - -

    -
    - - diff --git a/tests/sources_new.html b/tests/sources_new.html deleted file mode 100644 index 1ba3453..0000000 --- a/tests/sources_new.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - - - -
    - - diff --git a/tests/stacking.html b/tests/stacking.html deleted file mode 100644 index c44c7eb..0000000 --- a/tests/stacking.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - -
    - - diff --git a/tests/tabs.html b/tests/tabs.html deleted file mode 100644 index 9c59fe1..0000000 --- a/tests/tabs.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - - - - - -
    - - - -
    -

    This is a test

    -
    - -
    -
    -
    - -
    - - - - diff --git a/tests/theming.html b/tests/theming.html deleted file mode 100644 index 82f67f4..0000000 --- a/tests/theming.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - - - -
    -
    - - diff --git a/tests/triggers.html b/tests/triggers.html deleted file mode 100644 index 81558f2..0000000 --- a/tests/triggers.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - - -
    - - diff --git a/text/buttonText.txt b/text/buttonText.txt new file mode 100644 index 0000000..e680416 --- /dev/null +++ b/text/buttonText.txt @@ -0,0 +1,30 @@ + +buttonText *1.3* +================ + +Text that will be displayed on buttons of the header. + +
    +Object, *default*: + + { + prev: ' ◄ ', // left triangle + next: ' ► ', // right triangle + prevYear: ' << ', // << + nextYear: ' >> ', // >> + today: 'today', + month: 'month', + week: 'week', + day: 'day' + } +
    + +If you wanted to change the prev/next buttons to use < and > characters, +here is what you would do: + + $('#calendar').fullCalendar({ + buttonText: { + prev: '<', + next: '>' + } + }); diff --git a/text/columnFormat.txt b/text/columnFormat.txt new file mode 100644 index 0000000..89502be --- /dev/null +++ b/text/columnFormat.txt @@ -0,0 +1,25 @@ + +columnFormat *1.3* +================== + +Determines the text that will be displayed on the calendar's column headings. + +
    +String/[View Option Hash](../views/View_Option_Hash), *default*: + + { + month: 'ddd', // Mon + week: 'ddd M/d', // Mon 9/7 + day: 'dddd M/d' // Monday 9/7 + } +
    + +A single string will set the title format for all views. A [View Option Hash](../views/View_Option_Hash) may be provided to target specific views +(this is what the default does). + +Uses [formatDate](../utilities/formatDate)/[formatDates](../utilities/formatDates) formatting rules. +(The formatting rules were much different in versions before 1.3. [See here](../utilities/formatDate_pre_13)) + +
    +A *View Option Hash* can only be provided in version 1.4 and later. +
    diff --git a/text/dayNames.txt b/text/dayNames.txt new file mode 100644 index 0000000..f229941 --- /dev/null +++ b/text/dayNames.txt @@ -0,0 +1,16 @@ + +dayNames *1.3* +============== + +Full names of days-of-week. + +
    +Array, *default*: + + ['Sunday', 'Monday', 'Tuesday', 'Wednesday', + 'Thursday', 'Friday', 'Saturday'] +
    + +
    +Prior to version 1.3, this was possible by setting *$.fullCalendar.dayNames* +
    diff --git a/text/dayNamesShort.txt b/text/dayNamesShort.txt new file mode 100644 index 0000000..6d94fbb --- /dev/null +++ b/text/dayNamesShort.txt @@ -0,0 +1,15 @@ + +dayNamesShort *1.3* +=================== + +Abbreviated names of days-of-week. + +
    +Array, *default*: + + ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] +
    + +
    +Prior to version 1.3, this was possible by setting *$.fullCalendar.dayAbbrevs* +
    diff --git a/text/index.txt b/text/index.txt new file mode 100644 index 0000000..99dd9f4 --- /dev/null +++ b/text/index.txt @@ -0,0 +1,18 @@ + +Text/Time Customization +======================= + +
      +
    • timeFormat
    • +
    • columnFormat
    • +
    • titleFormat
    • +
    • buttonText
    • +
    • monthNames
    • +
    • monthNamesShort
    • +
    • dayNames
    • +
    • dayNamesShort
    • +
    + +Related agenda options: [allDayText](../agenda/allDayText), [axisFormat](../agenda/axisFormat) + +Essential for date/time formatting: [formatDate](../utilities/formatDate) commands. diff --git a/text/monthNames.txt b/text/monthNames.txt new file mode 100644 index 0000000..d60e76e --- /dev/null +++ b/text/monthNames.txt @@ -0,0 +1,16 @@ + +monthNames *1.3* +================ + +Full names of months. + +
    +Array, *default*: + + ['January', 'February', 'March', 'April', 'May', 'June', 'July', + 'August', 'September', 'October', 'November', 'December'] +
    + +
    +Prior to version 1.3, this was possible by setting *$.fullCalendar.monthNames* +
    diff --git a/text/monthNamesShort.txt b/text/monthNamesShort.txt new file mode 100644 index 0000000..0accdcd --- /dev/null +++ b/text/monthNamesShort.txt @@ -0,0 +1,16 @@ + +monthNamesShort *1.3* +===================== + +Abbreviated names of months. + +
    +Array, *default*: + + ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun' + 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] +
    + +
    +Prior to version 1.3, this was possible by setting *$.fullCalendar.monthAbbrevs* +
    diff --git a/text/timeFormat.txt b/text/timeFormat.txt new file mode 100644 index 0000000..9cf0a6a --- /dev/null +++ b/text/timeFormat.txt @@ -0,0 +1,44 @@ + +timeFormat *1.1* +================ + +Determines the time-text that will be displayed on each event. + +
    +String/[View Option Hash](../views/View_Option_Hash), *default*: + + { + // for agendaWeek and agendaDay + agenda: 'h:mm{ - h:mm}', // 5:00 - 6:30 + + // for all other views + '': 'h(:mm)t' // 7p + } + +
    + +A single format string will change the time-text for events in all views. +A [View Option Hash](../views/View_Option_Hash) may be provided to target specific views (this is what the default does). + +Uses [formatDate](../utilities/formatDate)/[formatDates](../utilities/formatDates) formatting rules. +(The formatting rules were much different in versions before 1.3. [See here](../utilities/formatDate_pre_13)) + +Time-text will only be displayed for [Event Objects](../event_data/Event_Object) that have `allDay` equal to `false`. + +Here is an example of displaying all events in a 24-hour format: + + $('#calendar').fullCalendar({ + events: [ + { + title: 'My Event', + start: '2010-01-01T14:30:00', + allDay: false + } + // other events here... + ], + timeFormat: 'H(:mm)' // uppercase H for 24-hour clock + }); + +
    +A *View Option Hash* can only be provided in version 1.4 and later. +
    diff --git a/text/titleFormat.txt b/text/titleFormat.txt new file mode 100644 index 0000000..7849070 --- /dev/null +++ b/text/titleFormat.txt @@ -0,0 +1,25 @@ + +titleFormat *1.1* +================= + +Determines the text that will be displayed in the header's title. + +
    +String/[View Option Hash](../views/View_Option_Hash), *default*: + + { + month: 'MMMM yyyy', // September 2009 + week: "MMM d[ yyyy]{ '—'[ MMM] d yyyy}", // Sep 7 - 13 2009 + day: 'dddd, MMM d, yyyy' // Tuesday, Sep 8, 2009 + } +
    + +A single string will set the title format for all views. +A [View Option Hash](../views/View_Option_Hash) may be provided to target specific views (this is what the default does). + +Uses [formatDate](../utilities/formatDate)/[formatDates](../utilities/formatDates) formatting rules. +(The formatting rules were much different in versions before 1.3. [See here](../utilities/formatDate_pre_13)) + +
    +A *View Option Hash* can only be provided in version 1.4 and later. +
    diff --git a/usage.txt b/usage.txt new file mode 100644 index 0000000..c069941 --- /dev/null +++ b/usage.txt @@ -0,0 +1,77 @@ + +Basic Usage +=========== + +The first step in embedding a calendar on a web page is to have the right JavaScript and CSS files. +Make sure you are including the FullCalendar stylesheet, as well as the FullCalendar and +[jQuery](http://jquery.com/) JS files, in the `` of your page: + + + + + +If you plan on doing dragging or resizing, you need some additional [jQuery UI](http://jqueryui.com/download) files +(more information [here](event_ui/Requirements)). + +Once you have your dependencies, you need to write the JavaScript code that initializes the calendar. +This code must be executed *after* the page has initialized. The best way to do this is with jQuery's +`$(document).ready` like so: + + $(document).ready(function() { + + // page is now ready, initialize the calendar... + + $('#calendar').fullCalendar({ + // put your options and callbacks here + }) + + }); + +The above code should be in a `