From 65e673144f633acf25a1e194e1d8500914d5af1c Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Tue, 29 May 2012 16:19:34 +0200 Subject: [PATCH] remove widgets with error in path --- .../BlackYellow.wgt/config.xml | 16 - .../BlackYellow.wgt/css/basic.css | 506 ----------- .../interactivities/BlackYellow.wgt/icon.png | Bin 1053 -> 0 bytes .../BlackYellow.wgt/images/greySquare.png | Bin 451 -> 0 bytes .../BlackYellow.wgt/images/greySquare2.png | Bin 214 -> 0 bytes .../BlackYellow.wgt/images/icon-close.png | Bin 1507 -> 0 bytes .../BlackYellow.wgt/images/popupBack.png | Bin 861 -> 0 bytes .../BlackYellow.wgt/index.html | 49 -- .../BlackYellow.wgt/locales/fr/index.html | 25 - .../locales/fr/scripts/blackYellow.js | 408 --------- .../BlackYellow.wgt/locales/ru/index.html | 25 - .../locales/ru/scripts/blackYellow.js | 408 --------- .../BlackYellow.wgt/scripts/blackYellow.js | 408 --------- .../scripts/jquery-1.6.2.min.js | 18 - .../scripts/jquery.disable.text.select.js | 62 -- .../interactivities/Choisir.wgt/config.xml | 16 - .../interactivities/Choisir.wgt/css/basic.css | 371 --------- .../interactivities/Choisir.wgt/icon.png | Bin 2180 -> 0 bytes .../Choisir.wgt/images/1thOption.png | Bin 3447 -> 0 bytes .../Choisir.wgt/images/2thOption.png | Bin 3225 -> 0 bytes .../Choisir.wgt/images/3thOption.png | Bin 2676 -> 0 bytes .../Choisir.wgt/images/addSomething.png | Bin 580 -> 0 bytes .../Choisir.wgt/images/bigBlackClose.png | Bin 818 -> 0 bytes .../Choisir.wgt/images/blueClose.png | Bin 275 -> 0 bytes .../Choisir.wgt/images/boldBlackClose.png | Bin 373 -> 0 bytes .../Choisir.wgt/images/boldClose.png | Bin 737 -> 0 bytes .../Choisir.wgt/images/boldGreyClose.png | Bin 414 -> 0 bytes .../Choisir.wgt/images/bottomLeftThing.png | Bin 127 -> 0 bytes .../Choisir.wgt/images/complete.png | Bin 1056 -> 0 bytes .../Choisir.wgt/images/grayClose.png | Bin 251 -> 0 bytes .../Choisir.wgt/images/greySquare.png | Bin 451 -> 0 bytes .../Choisir.wgt/images/greySquareArrow.png | Bin 2098 -> 0 bytes .../Choisir.wgt/images/horSep.png | Bin 72 -> 0 bytes .../Choisir.wgt/images/leftThing.png | Bin 138 -> 0 bytes .../Choisir.wgt/images/lessBottomBorder.png | Bin 262 -> 0 bytes .../Choisir.wgt/images/lessTopBorder.png | Bin 256 -> 0 bytes .../Choisir.wgt/images/lowerBack.png | Bin 140 -> 0 bytes .../Choisir.wgt/images/lowerBorder.png | Bin 461 -> 0 bytes .../Choisir.wgt/images/lowerBorder2.png | Bin 261 -> 0 bytes .../Choisir.wgt/images/niceBack.png | Bin 1582 -> 0 bytes .../Choisir.wgt/images/niceBack2.png | Bin 2325 -> 0 bytes .../Choisir.wgt/images/niceBack3.png | Bin 2193 -> 0 bytes .../Choisir.wgt/images/pencil.png | Bin 905 -> 0 bytes .../Choisir.wgt/images/point.png | Bin 316 -> 0 bytes .../Choisir.wgt/images/redBoldClose.png | Bin 755 -> 0 bytes .../Choisir.wgt/images/reload.jpg | Bin 11348 -> 0 bytes .../Choisir.wgt/images/reload2.png | Bin 618 -> 0 bytes .../Choisir.wgt/images/rightThing.png | Bin 133 -> 0 bytes .../Choisir.wgt/images/separator.png | Bin 73 -> 0 bytes .../Choisir.wgt/images/separator2.png | Bin 127 -> 0 bytes .../Choisir.wgt/images/settings.png | Bin 1114 -> 0 bytes .../Choisir.wgt/images/sidePoints.png | Bin 93 -> 0 bytes .../Choisir.wgt/images/spanner.png | Bin 715 -> 0 bytes .../Choisir.wgt/images/star.png | Bin 197 -> 0 bytes .../Choisir.wgt/images/stop.jpg | Bin 11352 -> 0 bytes .../Choisir.wgt/images/tool.png | Bin 650 -> 0 bytes .../Choisir.wgt/images/topLeftThing.png | Bin 130 -> 0 bytes .../Choisir.wgt/images/transparentBack.png | Bin 244 -> 0 bytes .../Choisir.wgt/images/upperBorder.png | Bin 410 -> 0 bytes .../Choisir.wgt/images/upperBorder2.png | Bin 267 -> 0 bytes .../interactivities/Choisir.wgt/index.html | 25 - .../Choisir.wgt/scripts/jquery-1.6.2.min.js | 18 - .../Choisir.wgt/scripts/selQuestionApp.js | 594 ------------- .../associer_images.wgt/config.xml | 16 - .../associer_images.wgt/css/basic.css | 236 ------ .../associer_images.wgt/img/add_block.png | Bin 1626 -> 0 bytes .../associer_images.wgt/img/add_img.png | Bin 5352 -> 0 bytes .../associer_images.wgt/img/circle.png | Bin 1026 -> 0 bytes .../associer_images.wgt/img/clear_img.png | Bin 2819 -> 0 bytes .../associer_images.wgt/img/close_cont.png | Bin 772 -> 0 bytes .../associer_images.wgt/img/close_img.png | Bin 1924 -> 0 bytes .../associer_images.wgt/img/drop_img.png | Bin 1618 -> 0 bytes .../associer_images.wgt/img/false.png | Bin 2624 -> 0 bytes .../associer_images.wgt/img/green_point.png | Bin 721 -> 0 bytes .../associer_images.wgt/img/numb_img.png | Bin 2478 -> 0 bytes .../associer_images.wgt/img/red_point.png | Bin 740 -> 0 bytes .../associer_images.wgt/img/true.png | Bin 2987 -> 0 bytes .../associer_images.wgt/index.html | 70 -- .../js/jquery-1.6.2.min.js | 18 - .../js/jquery-ui-1.8.9.custom.min.js | 781 ----------------- .../associer_images.wgt/js/script.js | 658 --------------- .../locales/fr/img/drop_img.png | Bin 1762 -> 0 bytes .../associer_images.wgt/locales/fr/index.html | 34 - .../locales/fr/js/script.js | 659 --------------- .../locales/ru/img/drop_img.png | Bin 2196 -> 0 bytes .../associer_images.wgt/locales/ru/index.html | 34 - .../locales/ru/js/script.js | 659 --------------- .../associer_images.wgt/objects/0.gif | Bin 2628 -> 0 bytes .../associer_images.wgt/objects/1.gif | Bin 1483 -> 0 bytes .../associer_images.wgt/objects/2.gif | Bin 2008 -> 0 bytes .../associer_images.wgt/objects/3.gif | Bin 2179 -> 0 bytes .../associer_images.wgt/objects/4.gif | Bin 1772 -> 0 bytes .../associer_sounds.wgt/config.xml | 16 - .../associer_sounds.wgt/css/basic.css | 238 ------ .../associer_sounds.wgt/img/add_block.png | Bin 1626 -> 0 bytes .../associer_sounds.wgt/img/add_img.png | Bin 5352 -> 0 bytes .../associer_sounds.wgt/img/circle.png | Bin 1026 -> 0 bytes .../associer_sounds.wgt/img/close_cont.png | Bin 772 -> 0 bytes .../associer_sounds.wgt/img/close_img.png | Bin 1924 -> 0 bytes .../associer_sounds.wgt/img/drop_img.png | Bin 1618 -> 0 bytes .../associer_sounds.wgt/img/false.png | Bin 2624 -> 0 bytes .../associer_sounds.wgt/img/green_point.png | Bin 721 -> 0 bytes .../associer_sounds.wgt/img/play.png | Bin 1960 -> 0 bytes .../associer_sounds.wgt/img/red_point.png | Bin 740 -> 0 bytes .../associer_sounds.wgt/img/replay.png | Bin 2143 -> 0 bytes .../associer_sounds.wgt/img/stop.png | Bin 1856 -> 0 bytes .../associer_sounds.wgt/img/true.png | Bin 2987 -> 0 bytes .../associer_sounds.wgt/index.html | 60 -- .../js/jquery-1.6.2.min.js | 18 - .../js/jquery-ui-1.8.9.custom.min.js | 781 ----------------- .../associer_sounds.wgt/js/script.js | 784 ------------------ .../locales/fr/img/drop_img.png | Bin 1762 -> 0 bytes .../associer_sounds.wgt/locales/fr/index.html | 34 - .../locales/fr/js/script.js | 771 ----------------- .../locales/ru/img/drop_img.png | Bin 2196 -> 0 bytes .../associer_sounds.wgt/locales/ru/index.html | 34 - .../locales/ru/js/script.js | 771 ----------------- .../associer_sounds.wgt/objects/0.gif | Bin 2628 -> 0 bytes .../associer_sounds.wgt/objects/1.gif | Bin 1483 -> 0 bytes .../associer_sounds.wgt/objects/2.gif | Bin 2008 -> 0 bytes .../associer_sounds.wgt/objects/3.gif | Bin 2179 -> 0 bytes .../associer_sounds.wgt/objects/4.gif | Bin 1772 -> 0 bytes .../associer_sounds.wgt/objects/beep.wav | Bin 28564 -> 0 bytes .../categoriser_images.wgt/config.xml | 17 - .../categoriser_images.wgt/css/basic.css | 199 ----- .../categoriser_images.wgt/img/add_block.png | Bin 1626 -> 0 bytes .../categoriser_images.wgt/img/circle.png | Bin 1026 -> 0 bytes .../categoriser_images.wgt/img/close_cont.png | Bin 772 -> 0 bytes .../categoriser_images.wgt/img/close_img.png | Bin 1924 -> 0 bytes .../img/green_point.png | Bin 721 -> 0 bytes .../categoriser_images.wgt/img/red_point.png | Bin 740 -> 0 bytes .../categoriser_images.wgt/index.html | 59 -- .../js/jquery-1.6.2.min.js | 18 - .../js/jquery-ui-1.8.9.custom.min.js | 781 ----------------- .../categoriser_images.wgt/js/script.js | 670 --------------- .../locales/fr/img/drop_img.png | Bin 1762 -> 0 bytes .../locales/fr/index.html | 35 - .../locales/fr/js/script.js | 674 --------------- .../locales/ru/img/drop_img.png | Bin 2196 -> 0 bytes .../locales/ru/index.html | 35 - .../locales/ru/js/script.js | 671 --------------- .../categoriser_images.wgt/objects/0.gif | Bin 2628 -> 0 bytes .../categoriser_images.wgt/objects/1.gif | Bin 1483 -> 0 bytes .../categoriser_images.wgt/objects/2.gif | Bin 2008 -> 0 bytes .../categoriser_images.wgt/objects/3.gif | Bin 2179 -> 0 bytes .../categoriser_images.wgt/objects/4.gif | Bin 1772 -> 0 bytes .../categoriser_text.wgt/config.xml | 17 - .../categoriser_text.wgt/css/basic.css | 205 ----- .../categoriser_text.wgt/img/add_block.png | Bin 1626 -> 0 bytes .../categoriser_text.wgt/img/circle.png | Bin 1026 -> 0 bytes .../categoriser_text.wgt/img/close_cont.png | Bin 772 -> 0 bytes .../categoriser_text.wgt/img/close_img.png | Bin 1924 -> 0 bytes .../categoriser_text.wgt/img/green_point.png | Bin 721 -> 0 bytes .../categoriser_text.wgt/img/img_plus.png | Bin 2400 -> 0 bytes .../categoriser_text.wgt/img/minus.png | Bin 1536 -> 0 bytes .../categoriser_text.wgt/img/plus.png | Bin 1563 -> 0 bytes .../categoriser_text.wgt/img/red_point.png | Bin 740 -> 0 bytes .../categoriser_text.wgt/index.html | 60 -- .../js/jquery-1.6.2.min.js | 18 - .../js/jquery-ui-1.8.9.custom.min.js | 781 ----------------- .../categoriser_text.wgt/js/script.js | 611 -------------- .../locales/fr/index.html | 35 - .../locales/fr/js/script.js | 611 -------------- .../locales/ru/index.html | 35 - .../locales/ru/js/script.js | 611 -------------- .../interactivities/etudier.wgt/config.xml | 16 - .../interactivities/etudier.wgt/css/basic.css | 257 ------ .../etudier.wgt/img/add_left.png | Bin 1361 -> 0 bytes .../etudier.wgt/img/add_right.png | Bin 1339 -> 0 bytes .../etudier.wgt/img/add_text.png | Bin 1102 -> 0 bytes .../etudier.wgt/img/close_img.png | Bin 1924 -> 0 bytes .../etudier.wgt/img/close_slide.png | Bin 2125 -> 0 bytes .../etudier.wgt/img/green_point.png | Bin 721 -> 0 bytes .../interactivities/etudier.wgt/img/left.png | Bin 954 -> 0 bytes .../etudier.wgt/img/moving.png | Bin 1345 -> 0 bytes .../interactivities/etudier.wgt/img/play.png | Bin 1960 -> 0 bytes .../etudier.wgt/img/red_point.png | Bin 740 -> 0 bytes .../etudier.wgt/img/replay.png | Bin 2143 -> 0 bytes .../etudier.wgt/img/resize.png | Bin 1166 -> 0 bytes .../interactivities/etudier.wgt/img/right.png | Bin 982 -> 0 bytes .../interactivities/etudier.wgt/img/stop.png | Bin 1856 -> 0 bytes .../interactivities/etudier.wgt/index.html | 67 -- .../etudier.wgt/js/easySlider1.5.js | 183 ---- .../etudier.wgt/js/jquery-1.6.2.min.js | 18 - .../js/jquery-ui-1.8.9.custom.min.js | 781 ----------------- .../interactivities/etudier.wgt/js/script.js | 532 ------------ .../etudier.wgt/locales/fr/index.html | 41 - .../etudier.wgt/locales/fr/js/script.js | 534 ------------ .../etudier.wgt/locales/ru/index.html | 41 - .../etudier.wgt/locales/ru/js/script.js | 534 ------------ .../interactivities/etudier.wgt/objects/1.gif | Bin 1483 -> 0 bytes .../etudier.wgt/objects/bateaux.mp3 | Bin 2508 -> 0 bytes .../ord-phrases.wgt/config.xml | 16 - .../interactivities/ord-phrases.wgt/icon.png | Bin 5481 -> 0 bytes .../ord-phrases.wgt/index.html | 57 -- .../ord-phrases.wgt/locales/fr/index.html | 33 - .../locales/fr/script/template2.js | 248 ------ .../ord-phrases.wgt/locales/ru/index.html | 33 - .../locales/ru/script/template2.js | 248 ------ .../scripts/jquery-1.6.2.min.js | 18 - .../scripts/jquery-ui-1.8.9.custom.min.js | 781 ----------------- .../ord-phrases.wgt/scripts/template2.js | 249 ------ .../ord-phrases.wgt/styles/master.css | 14 - .../ord-phrases.wgt/styles/of_puppets.css | 62 -- .../interactivities/ord-words.wgt/config.xml | 16 - .../interactivities/ord-words.wgt/icon.png | Bin 5481 -> 0 bytes .../interactivities/ord-words.wgt/index.html | 60 -- .../ord-words.wgt/locales/fr/index.html | 31 - .../locales/fr/scripts/template2.js | 274 ------ .../ord-words.wgt/locales/ru/index.html | 31 - .../locales/ru/scripts/template2.js | 274 ------ .../ord-words.wgt/scripts/jquery-1.6.2.min.js | 18 - .../scripts/jquery-ui-1.8.9.custom.min.js | 781 ----------------- .../ord-words.wgt/scripts/template2.js | 274 ------ .../ord-words.wgt/styles/master.css | 14 - .../ord-words.wgt/styles/of_puppets.css | 56 -- .../ordonner_des_images.wgt/config.xml | 16 - .../ordonner_des_images.wgt/css/basic.css | 217 ----- .../ordonner_des_images.wgt/img/add_block.png | Bin 1626 -> 0 bytes .../ordonner_des_images.wgt/img/add_img.png | Bin 5352 -> 0 bytes .../ordonner_des_images.wgt/img/circle.png | Bin 1026 -> 0 bytes .../ordonner_des_images.wgt/img/clear_img.png | Bin 2819 -> 0 bytes .../img/close_cont.png | Bin 772 -> 0 bytes .../ordonner_des_images.wgt/img/close_img.png | Bin 1924 -> 0 bytes .../ordonner_des_images.wgt/img/drop_img.png | Bin 1618 -> 0 bytes .../ordonner_des_images.wgt/img/fill_hor.png | Bin 1384 -> 0 bytes .../ordonner_des_images.wgt/img/fill_vert.png | Bin 1901 -> 0 bytes .../img/green_point.png | Bin 721 -> 0 bytes .../ordonner_des_images.wgt/img/numb_img.png | Bin 2478 -> 0 bytes .../ordonner_des_images.wgt/img/red_point.png | Bin 740 -> 0 bytes .../ordonner_des_images.wgt/index.html | 61 -- .../js/jquery-1.6.2.min.js | 18 - .../js/jquery-ui-1.8.9.custom.min.js | 781 ----------------- .../ordonner_des_images.wgt/js/script.js | 439 ---------- .../locales/fr/img/drop_img.png | Bin 1762 -> 0 bytes .../locales/fr/index.html | 35 - .../locales/fr/js/script.js | 400 --------- .../locales/ru/img/drop_img.png | Bin 2196 -> 0 bytes .../locales/ru/index.html | 35 - .../locales/ru/js/script.js | 400 --------- .../ordonner_des_images.wgt/objects/0.gif | Bin 2628 -> 0 bytes .../ordonner_des_images.wgt/objects/1.gif | Bin 1483 -> 0 bytes .../ordonner_des_images.wgt/objects/2.gif | Bin 2008 -> 0 bytes .../ordonner_des_images.wgt/objects/3.gif | Bin 2179 -> 0 bytes .../ordonner_des_images.wgt/objects/4.gif | Bin 1772 -> 0 bytes .../selectionner.wgt/config.xml | 16 - .../selectionner.wgt/css/basic.css | 236 ------ .../selectionner.wgt/img/add_block.png | Bin 1626 -> 0 bytes .../selectionner.wgt/img/add_text.png | Bin 1235 -> 0 bytes .../selectionner.wgt/img/circle.png | Bin 1026 -> 0 bytes .../selectionner.wgt/img/close_cont.png | Bin 772 -> 0 bytes .../selectionner.wgt/img/close_img.png | Bin 1924 -> 0 bytes .../selectionner.wgt/img/green_point.png | Bin 721 -> 0 bytes .../selectionner.wgt/img/play.png | Bin 1960 -> 0 bytes .../selectionner.wgt/img/red_point.png | Bin 740 -> 0 bytes .../selectionner.wgt/img/replay.png | Bin 2143 -> 0 bytes .../selectionner.wgt/img/stop.png | Bin 1856 -> 0 bytes .../selectionner.wgt/index.html | 61 -- .../selectionner.wgt/js/jquery-1.6.2.min.js | 18 - .../js/jquery-ui-1.8.9.custom.min.js | 781 ----------------- .../selectionner.wgt/js/script.js | 401 --------- .../selectionner.wgt/locales/fr/index.html | 35 - .../selectionner.wgt/locales/fr/js/script.js | 401 --------- .../selectionner.wgt/locales/ru/index.html | 35 - .../selectionner.wgt/locales/ru/js/script.js | 401 --------- .../interactivities/spl-phrase.wgt/config.xml | 16 - .../interactivities/spl-phrase.wgt/icon.png | Bin 5481 -> 0 bytes .../interactivities/spl-phrase.wgt/index.html | 55 -- .../spl-phrase.wgt/locales/fr/index.html | 33 - .../locales/fr/scripts/wcontainer.js | 259 ------ .../spl-phrase.wgt/locales/ru/index.html | 33 - .../locales/ru/scripts/wcontainer.js | 259 ------ .../spl-phrase.wgt/scripts/app.js | 183 ---- .../spl-phrase.wgt/scripts/ext.js | 41 - .../scripts/jquery-1.6.2.min.js | 18 - .../spl-phrase.wgt/scripts/wcontainer.js | 259 ------ .../spl-phrase.wgt/styles/app.css | 39 - .../spl-phrase.wgt/styles/master.css | 44 - .../styles/separator-activated.png | Bin 2966 -> 0 bytes .../spl-phrase.wgt/styles/separator-hover.png | Bin 2964 -> 0 bytes .../spl-phrase.wgt/styles/wcontainer.css | 19 - .../interactivities/spl-text.wgt/config.xml | 16 - .../interactivities/spl-text.wgt/icon.png | Bin 5481 -> 0 bytes .../interactivities/spl-text.wgt/index.html | 58 -- .../spl-text.wgt/locales/fr/index.html | 33 - .../locales/fr/scripts/wcontainer.js | 259 ------ .../spl-text.wgt/locales/ru/index.html | 33 - .../locales/ru/scripts/wcontainer.js | 259 ------ .../spl-text.wgt/scripts/app2.js | 193 ----- .../spl-text.wgt/scripts/ext.js | 41 - .../spl-text.wgt/scripts/jquery-1.6.2.min.js | 18 - .../spl-text.wgt/scripts/wcontainer.js | 259 ------ .../spl-text.wgt/styles/app.css | 39 - .../spl-text.wgt/styles/master.css | 44 - .../styles/separator-activated.png | Bin 2966 -> 0 bytes .../spl-text.wgt/styles/separator-hover.png | Bin 2964 -> 0 bytes .../spl-text.wgt/styles/wcontainer.css | 19 - .../interactivities/spl-word.wgt/config.xml | 16 - .../interactivities/spl-word.wgt/icon.png | Bin 5481 -> 0 bytes .../interactivities/spl-word.wgt/index.html | 58 -- .../spl-word.wgt/locales/fr/index.html | 34 - .../locales/fr/scripts/wcontainer.js | 259 ------ .../spl-word.wgt/locales/ru/index.html | 34 - .../locales/ru/scripts/wcontainer.js | 244 ------ .../spl-word.wgt/scripts/ext.js | 47 -- .../spl-word.wgt/scripts/jquery-1.6.2.min.js | 18 - .../scripts/jquery-ui-1.8.9.custom.min.js | 781 ----------------- .../spl-word.wgt/scripts/spl-word.js | 116 --- .../spl-word.wgt/scripts/wcontainer.js | 244 ------ .../spl-word.wgt/styles/master.css | 43 - .../styles/separator-activated.png | Bin 2966 -> 0 bytes .../spl-word.wgt/styles/separator-hover.png | Bin 2964 -> 0 bytes .../spl-word.wgt/styles/spl-word.css | 35 - .../spl-word.wgt/styles/wcontainer.css | 19 - 314 files changed, 31620 deletions(-) delete mode 100644 resources/library/interactivities/BlackYellow.wgt/config.xml delete mode 100644 resources/library/interactivities/BlackYellow.wgt/css/basic.css delete mode 100644 resources/library/interactivities/BlackYellow.wgt/icon.png delete mode 100644 resources/library/interactivities/BlackYellow.wgt/images/greySquare.png delete mode 100644 resources/library/interactivities/BlackYellow.wgt/images/greySquare2.png delete mode 100644 resources/library/interactivities/BlackYellow.wgt/images/icon-close.png delete mode 100644 resources/library/interactivities/BlackYellow.wgt/images/popupBack.png delete mode 100644 resources/library/interactivities/BlackYellow.wgt/index.html delete mode 100644 resources/library/interactivities/BlackYellow.wgt/locales/fr/index.html delete mode 100644 resources/library/interactivities/BlackYellow.wgt/locales/fr/scripts/blackYellow.js delete mode 100644 resources/library/interactivities/BlackYellow.wgt/locales/ru/index.html delete mode 100644 resources/library/interactivities/BlackYellow.wgt/locales/ru/scripts/blackYellow.js delete mode 100644 resources/library/interactivities/BlackYellow.wgt/scripts/blackYellow.js delete mode 100644 resources/library/interactivities/BlackYellow.wgt/scripts/jquery-1.6.2.min.js delete mode 100644 resources/library/interactivities/BlackYellow.wgt/scripts/jquery.disable.text.select.js delete mode 100644 resources/library/interactivities/Choisir.wgt/config.xml delete mode 100644 resources/library/interactivities/Choisir.wgt/css/basic.css delete mode 100644 resources/library/interactivities/Choisir.wgt/icon.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/1thOption.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/2thOption.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/3thOption.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/addSomething.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/bigBlackClose.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/blueClose.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/boldBlackClose.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/boldClose.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/boldGreyClose.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/bottomLeftThing.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/complete.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/grayClose.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/greySquare.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/greySquareArrow.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/horSep.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/leftThing.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/lessBottomBorder.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/lessTopBorder.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/lowerBack.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/lowerBorder.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/lowerBorder2.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/niceBack.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/niceBack2.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/niceBack3.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/pencil.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/point.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/redBoldClose.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/reload.jpg delete mode 100644 resources/library/interactivities/Choisir.wgt/images/reload2.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/rightThing.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/separator.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/separator2.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/settings.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/sidePoints.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/spanner.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/star.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/stop.jpg delete mode 100644 resources/library/interactivities/Choisir.wgt/images/tool.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/topLeftThing.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/transparentBack.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/upperBorder.png delete mode 100644 resources/library/interactivities/Choisir.wgt/images/upperBorder2.png delete mode 100644 resources/library/interactivities/Choisir.wgt/index.html delete mode 100644 resources/library/interactivities/Choisir.wgt/scripts/jquery-1.6.2.min.js delete mode 100644 resources/library/interactivities/Choisir.wgt/scripts/selQuestionApp.js delete mode 100644 resources/library/interactivities/associer_images.wgt/config.xml delete mode 100644 resources/library/interactivities/associer_images.wgt/css/basic.css delete mode 100644 resources/library/interactivities/associer_images.wgt/img/add_block.png delete mode 100644 resources/library/interactivities/associer_images.wgt/img/add_img.png delete mode 100644 resources/library/interactivities/associer_images.wgt/img/circle.png delete mode 100644 resources/library/interactivities/associer_images.wgt/img/clear_img.png delete mode 100644 resources/library/interactivities/associer_images.wgt/img/close_cont.png delete mode 100644 resources/library/interactivities/associer_images.wgt/img/close_img.png delete mode 100644 resources/library/interactivities/associer_images.wgt/img/drop_img.png delete mode 100644 resources/library/interactivities/associer_images.wgt/img/false.png delete mode 100644 resources/library/interactivities/associer_images.wgt/img/green_point.png delete mode 100644 resources/library/interactivities/associer_images.wgt/img/numb_img.png delete mode 100644 resources/library/interactivities/associer_images.wgt/img/red_point.png delete mode 100644 resources/library/interactivities/associer_images.wgt/img/true.png delete mode 100644 resources/library/interactivities/associer_images.wgt/index.html delete mode 100644 resources/library/interactivities/associer_images.wgt/js/jquery-1.6.2.min.js delete mode 100644 resources/library/interactivities/associer_images.wgt/js/jquery-ui-1.8.9.custom.min.js delete mode 100644 resources/library/interactivities/associer_images.wgt/js/script.js delete mode 100644 resources/library/interactivities/associer_images.wgt/locales/fr/img/drop_img.png delete mode 100644 resources/library/interactivities/associer_images.wgt/locales/fr/index.html delete mode 100644 resources/library/interactivities/associer_images.wgt/locales/fr/js/script.js delete mode 100644 resources/library/interactivities/associer_images.wgt/locales/ru/img/drop_img.png delete mode 100644 resources/library/interactivities/associer_images.wgt/locales/ru/index.html delete mode 100644 resources/library/interactivities/associer_images.wgt/locales/ru/js/script.js delete mode 100644 resources/library/interactivities/associer_images.wgt/objects/0.gif delete mode 100644 resources/library/interactivities/associer_images.wgt/objects/1.gif delete mode 100644 resources/library/interactivities/associer_images.wgt/objects/2.gif delete mode 100644 resources/library/interactivities/associer_images.wgt/objects/3.gif delete mode 100644 resources/library/interactivities/associer_images.wgt/objects/4.gif delete mode 100644 resources/library/interactivities/associer_sounds.wgt/config.xml delete mode 100644 resources/library/interactivities/associer_sounds.wgt/css/basic.css delete mode 100644 resources/library/interactivities/associer_sounds.wgt/img/add_block.png delete mode 100644 resources/library/interactivities/associer_sounds.wgt/img/add_img.png delete mode 100644 resources/library/interactivities/associer_sounds.wgt/img/circle.png delete mode 100644 resources/library/interactivities/associer_sounds.wgt/img/close_cont.png delete mode 100644 resources/library/interactivities/associer_sounds.wgt/img/close_img.png delete mode 100644 resources/library/interactivities/associer_sounds.wgt/img/drop_img.png delete mode 100644 resources/library/interactivities/associer_sounds.wgt/img/false.png delete mode 100644 resources/library/interactivities/associer_sounds.wgt/img/green_point.png delete mode 100644 resources/library/interactivities/associer_sounds.wgt/img/play.png delete mode 100644 resources/library/interactivities/associer_sounds.wgt/img/red_point.png delete mode 100644 resources/library/interactivities/associer_sounds.wgt/img/replay.png delete mode 100644 resources/library/interactivities/associer_sounds.wgt/img/stop.png delete mode 100644 resources/library/interactivities/associer_sounds.wgt/img/true.png delete mode 100644 resources/library/interactivities/associer_sounds.wgt/index.html delete mode 100644 resources/library/interactivities/associer_sounds.wgt/js/jquery-1.6.2.min.js delete mode 100644 resources/library/interactivities/associer_sounds.wgt/js/jquery-ui-1.8.9.custom.min.js delete mode 100644 resources/library/interactivities/associer_sounds.wgt/js/script.js delete mode 100644 resources/library/interactivities/associer_sounds.wgt/locales/fr/img/drop_img.png delete mode 100644 resources/library/interactivities/associer_sounds.wgt/locales/fr/index.html delete mode 100644 resources/library/interactivities/associer_sounds.wgt/locales/fr/js/script.js delete mode 100644 resources/library/interactivities/associer_sounds.wgt/locales/ru/img/drop_img.png delete mode 100644 resources/library/interactivities/associer_sounds.wgt/locales/ru/index.html delete mode 100644 resources/library/interactivities/associer_sounds.wgt/locales/ru/js/script.js delete mode 100644 resources/library/interactivities/associer_sounds.wgt/objects/0.gif delete mode 100644 resources/library/interactivities/associer_sounds.wgt/objects/1.gif delete mode 100644 resources/library/interactivities/associer_sounds.wgt/objects/2.gif delete mode 100644 resources/library/interactivities/associer_sounds.wgt/objects/3.gif delete mode 100644 resources/library/interactivities/associer_sounds.wgt/objects/4.gif delete mode 100644 resources/library/interactivities/associer_sounds.wgt/objects/beep.wav delete mode 100644 resources/library/interactivities/categoriser_images.wgt/config.xml delete mode 100644 resources/library/interactivities/categoriser_images.wgt/css/basic.css delete mode 100644 resources/library/interactivities/categoriser_images.wgt/img/add_block.png delete mode 100644 resources/library/interactivities/categoriser_images.wgt/img/circle.png delete mode 100644 resources/library/interactivities/categoriser_images.wgt/img/close_cont.png delete mode 100644 resources/library/interactivities/categoriser_images.wgt/img/close_img.png delete mode 100644 resources/library/interactivities/categoriser_images.wgt/img/green_point.png delete mode 100644 resources/library/interactivities/categoriser_images.wgt/img/red_point.png delete mode 100644 resources/library/interactivities/categoriser_images.wgt/index.html delete mode 100644 resources/library/interactivities/categoriser_images.wgt/js/jquery-1.6.2.min.js delete mode 100644 resources/library/interactivities/categoriser_images.wgt/js/jquery-ui-1.8.9.custom.min.js delete mode 100644 resources/library/interactivities/categoriser_images.wgt/js/script.js delete mode 100644 resources/library/interactivities/categoriser_images.wgt/locales/fr/img/drop_img.png delete mode 100644 resources/library/interactivities/categoriser_images.wgt/locales/fr/index.html delete mode 100644 resources/library/interactivities/categoriser_images.wgt/locales/fr/js/script.js delete mode 100644 resources/library/interactivities/categoriser_images.wgt/locales/ru/img/drop_img.png delete mode 100644 resources/library/interactivities/categoriser_images.wgt/locales/ru/index.html delete mode 100644 resources/library/interactivities/categoriser_images.wgt/locales/ru/js/script.js delete mode 100644 resources/library/interactivities/categoriser_images.wgt/objects/0.gif delete mode 100644 resources/library/interactivities/categoriser_images.wgt/objects/1.gif delete mode 100644 resources/library/interactivities/categoriser_images.wgt/objects/2.gif delete mode 100644 resources/library/interactivities/categoriser_images.wgt/objects/3.gif delete mode 100644 resources/library/interactivities/categoriser_images.wgt/objects/4.gif delete mode 100644 resources/library/interactivities/categoriser_text.wgt/config.xml delete mode 100644 resources/library/interactivities/categoriser_text.wgt/css/basic.css delete mode 100644 resources/library/interactivities/categoriser_text.wgt/img/add_block.png delete mode 100644 resources/library/interactivities/categoriser_text.wgt/img/circle.png delete mode 100644 resources/library/interactivities/categoriser_text.wgt/img/close_cont.png delete mode 100644 resources/library/interactivities/categoriser_text.wgt/img/close_img.png delete mode 100644 resources/library/interactivities/categoriser_text.wgt/img/green_point.png delete mode 100644 resources/library/interactivities/categoriser_text.wgt/img/img_plus.png delete mode 100644 resources/library/interactivities/categoriser_text.wgt/img/minus.png delete mode 100644 resources/library/interactivities/categoriser_text.wgt/img/plus.png delete mode 100644 resources/library/interactivities/categoriser_text.wgt/img/red_point.png delete mode 100644 resources/library/interactivities/categoriser_text.wgt/index.html delete mode 100644 resources/library/interactivities/categoriser_text.wgt/js/jquery-1.6.2.min.js delete mode 100644 resources/library/interactivities/categoriser_text.wgt/js/jquery-ui-1.8.9.custom.min.js delete mode 100644 resources/library/interactivities/categoriser_text.wgt/js/script.js delete mode 100644 resources/library/interactivities/categoriser_text.wgt/locales/fr/index.html delete mode 100644 resources/library/interactivities/categoriser_text.wgt/locales/fr/js/script.js delete mode 100644 resources/library/interactivities/categoriser_text.wgt/locales/ru/index.html delete mode 100644 resources/library/interactivities/categoriser_text.wgt/locales/ru/js/script.js delete mode 100644 resources/library/interactivities/etudier.wgt/config.xml delete mode 100644 resources/library/interactivities/etudier.wgt/css/basic.css delete mode 100644 resources/library/interactivities/etudier.wgt/img/add_left.png delete mode 100644 resources/library/interactivities/etudier.wgt/img/add_right.png delete mode 100644 resources/library/interactivities/etudier.wgt/img/add_text.png delete mode 100644 resources/library/interactivities/etudier.wgt/img/close_img.png delete mode 100644 resources/library/interactivities/etudier.wgt/img/close_slide.png delete mode 100644 resources/library/interactivities/etudier.wgt/img/green_point.png delete mode 100644 resources/library/interactivities/etudier.wgt/img/left.png delete mode 100644 resources/library/interactivities/etudier.wgt/img/moving.png delete mode 100644 resources/library/interactivities/etudier.wgt/img/play.png delete mode 100644 resources/library/interactivities/etudier.wgt/img/red_point.png delete mode 100644 resources/library/interactivities/etudier.wgt/img/replay.png delete mode 100644 resources/library/interactivities/etudier.wgt/img/resize.png delete mode 100644 resources/library/interactivities/etudier.wgt/img/right.png delete mode 100644 resources/library/interactivities/etudier.wgt/img/stop.png delete mode 100644 resources/library/interactivities/etudier.wgt/index.html delete mode 100644 resources/library/interactivities/etudier.wgt/js/easySlider1.5.js delete mode 100644 resources/library/interactivities/etudier.wgt/js/jquery-1.6.2.min.js delete mode 100644 resources/library/interactivities/etudier.wgt/js/jquery-ui-1.8.9.custom.min.js delete mode 100644 resources/library/interactivities/etudier.wgt/js/script.js delete mode 100644 resources/library/interactivities/etudier.wgt/locales/fr/index.html delete mode 100644 resources/library/interactivities/etudier.wgt/locales/fr/js/script.js delete mode 100644 resources/library/interactivities/etudier.wgt/locales/ru/index.html delete mode 100644 resources/library/interactivities/etudier.wgt/locales/ru/js/script.js delete mode 100644 resources/library/interactivities/etudier.wgt/objects/1.gif delete mode 100644 resources/library/interactivities/etudier.wgt/objects/bateaux.mp3 delete mode 100644 resources/library/interactivities/ord-phrases.wgt/config.xml delete mode 100644 resources/library/interactivities/ord-phrases.wgt/icon.png delete mode 100644 resources/library/interactivities/ord-phrases.wgt/index.html delete mode 100644 resources/library/interactivities/ord-phrases.wgt/locales/fr/index.html delete mode 100644 resources/library/interactivities/ord-phrases.wgt/locales/fr/script/template2.js delete mode 100644 resources/library/interactivities/ord-phrases.wgt/locales/ru/index.html delete mode 100644 resources/library/interactivities/ord-phrases.wgt/locales/ru/script/template2.js delete mode 100644 resources/library/interactivities/ord-phrases.wgt/scripts/jquery-1.6.2.min.js delete mode 100644 resources/library/interactivities/ord-phrases.wgt/scripts/jquery-ui-1.8.9.custom.min.js delete mode 100644 resources/library/interactivities/ord-phrases.wgt/scripts/template2.js delete mode 100644 resources/library/interactivities/ord-phrases.wgt/styles/master.css delete mode 100644 resources/library/interactivities/ord-phrases.wgt/styles/of_puppets.css delete mode 100644 resources/library/interactivities/ord-words.wgt/config.xml delete mode 100644 resources/library/interactivities/ord-words.wgt/icon.png delete mode 100644 resources/library/interactivities/ord-words.wgt/index.html delete mode 100644 resources/library/interactivities/ord-words.wgt/locales/fr/index.html delete mode 100644 resources/library/interactivities/ord-words.wgt/locales/fr/scripts/template2.js delete mode 100644 resources/library/interactivities/ord-words.wgt/locales/ru/index.html delete mode 100644 resources/library/interactivities/ord-words.wgt/locales/ru/scripts/template2.js delete mode 100644 resources/library/interactivities/ord-words.wgt/scripts/jquery-1.6.2.min.js delete mode 100644 resources/library/interactivities/ord-words.wgt/scripts/jquery-ui-1.8.9.custom.min.js delete mode 100644 resources/library/interactivities/ord-words.wgt/scripts/template2.js delete mode 100644 resources/library/interactivities/ord-words.wgt/styles/master.css delete mode 100644 resources/library/interactivities/ord-words.wgt/styles/of_puppets.css delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/config.xml delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/css/basic.css delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/img/add_block.png delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/img/add_img.png delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/img/circle.png delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/img/clear_img.png delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/img/close_cont.png delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/img/close_img.png delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/img/drop_img.png delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/img/fill_hor.png delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/img/fill_vert.png delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/img/green_point.png delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/img/numb_img.png delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/img/red_point.png delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/index.html delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/js/jquery-1.6.2.min.js delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/js/jquery-ui-1.8.9.custom.min.js delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/js/script.js delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/locales/fr/img/drop_img.png delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/locales/fr/index.html delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/locales/fr/js/script.js delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/locales/ru/img/drop_img.png delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/locales/ru/index.html delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/locales/ru/js/script.js delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/objects/0.gif delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/objects/1.gif delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/objects/2.gif delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/objects/3.gif delete mode 100644 resources/library/interactivities/ordonner_des_images.wgt/objects/4.gif delete mode 100644 resources/library/interactivities/selectionner.wgt/config.xml delete mode 100644 resources/library/interactivities/selectionner.wgt/css/basic.css delete mode 100644 resources/library/interactivities/selectionner.wgt/img/add_block.png delete mode 100644 resources/library/interactivities/selectionner.wgt/img/add_text.png delete mode 100644 resources/library/interactivities/selectionner.wgt/img/circle.png delete mode 100644 resources/library/interactivities/selectionner.wgt/img/close_cont.png delete mode 100644 resources/library/interactivities/selectionner.wgt/img/close_img.png delete mode 100644 resources/library/interactivities/selectionner.wgt/img/green_point.png delete mode 100644 resources/library/interactivities/selectionner.wgt/img/play.png delete mode 100644 resources/library/interactivities/selectionner.wgt/img/red_point.png delete mode 100644 resources/library/interactivities/selectionner.wgt/img/replay.png delete mode 100644 resources/library/interactivities/selectionner.wgt/img/stop.png delete mode 100644 resources/library/interactivities/selectionner.wgt/index.html delete mode 100644 resources/library/interactivities/selectionner.wgt/js/jquery-1.6.2.min.js delete mode 100644 resources/library/interactivities/selectionner.wgt/js/jquery-ui-1.8.9.custom.min.js delete mode 100644 resources/library/interactivities/selectionner.wgt/js/script.js delete mode 100644 resources/library/interactivities/selectionner.wgt/locales/fr/index.html delete mode 100644 resources/library/interactivities/selectionner.wgt/locales/fr/js/script.js delete mode 100644 resources/library/interactivities/selectionner.wgt/locales/ru/index.html delete mode 100644 resources/library/interactivities/selectionner.wgt/locales/ru/js/script.js delete mode 100644 resources/library/interactivities/spl-phrase.wgt/config.xml delete mode 100644 resources/library/interactivities/spl-phrase.wgt/icon.png delete mode 100644 resources/library/interactivities/spl-phrase.wgt/index.html delete mode 100644 resources/library/interactivities/spl-phrase.wgt/locales/fr/index.html delete mode 100644 resources/library/interactivities/spl-phrase.wgt/locales/fr/scripts/wcontainer.js delete mode 100644 resources/library/interactivities/spl-phrase.wgt/locales/ru/index.html delete mode 100644 resources/library/interactivities/spl-phrase.wgt/locales/ru/scripts/wcontainer.js delete mode 100644 resources/library/interactivities/spl-phrase.wgt/scripts/app.js delete mode 100644 resources/library/interactivities/spl-phrase.wgt/scripts/ext.js delete mode 100644 resources/library/interactivities/spl-phrase.wgt/scripts/jquery-1.6.2.min.js delete mode 100644 resources/library/interactivities/spl-phrase.wgt/scripts/wcontainer.js delete mode 100644 resources/library/interactivities/spl-phrase.wgt/styles/app.css delete mode 100644 resources/library/interactivities/spl-phrase.wgt/styles/master.css delete mode 100644 resources/library/interactivities/spl-phrase.wgt/styles/separator-activated.png delete mode 100644 resources/library/interactivities/spl-phrase.wgt/styles/separator-hover.png delete mode 100644 resources/library/interactivities/spl-phrase.wgt/styles/wcontainer.css delete mode 100644 resources/library/interactivities/spl-text.wgt/config.xml delete mode 100644 resources/library/interactivities/spl-text.wgt/icon.png delete mode 100644 resources/library/interactivities/spl-text.wgt/index.html delete mode 100644 resources/library/interactivities/spl-text.wgt/locales/fr/index.html delete mode 100644 resources/library/interactivities/spl-text.wgt/locales/fr/scripts/wcontainer.js delete mode 100644 resources/library/interactivities/spl-text.wgt/locales/ru/index.html delete mode 100644 resources/library/interactivities/spl-text.wgt/locales/ru/scripts/wcontainer.js delete mode 100644 resources/library/interactivities/spl-text.wgt/scripts/app2.js delete mode 100644 resources/library/interactivities/spl-text.wgt/scripts/ext.js delete mode 100644 resources/library/interactivities/spl-text.wgt/scripts/jquery-1.6.2.min.js delete mode 100644 resources/library/interactivities/spl-text.wgt/scripts/wcontainer.js delete mode 100644 resources/library/interactivities/spl-text.wgt/styles/app.css delete mode 100644 resources/library/interactivities/spl-text.wgt/styles/master.css delete mode 100644 resources/library/interactivities/spl-text.wgt/styles/separator-activated.png delete mode 100644 resources/library/interactivities/spl-text.wgt/styles/separator-hover.png delete mode 100644 resources/library/interactivities/spl-text.wgt/styles/wcontainer.css delete mode 100644 resources/library/interactivities/spl-word.wgt/config.xml delete mode 100644 resources/library/interactivities/spl-word.wgt/icon.png delete mode 100644 resources/library/interactivities/spl-word.wgt/index.html delete mode 100644 resources/library/interactivities/spl-word.wgt/locales/fr/index.html delete mode 100644 resources/library/interactivities/spl-word.wgt/locales/fr/scripts/wcontainer.js delete mode 100644 resources/library/interactivities/spl-word.wgt/locales/ru/index.html delete mode 100644 resources/library/interactivities/spl-word.wgt/locales/ru/scripts/wcontainer.js delete mode 100644 resources/library/interactivities/spl-word.wgt/scripts/ext.js delete mode 100644 resources/library/interactivities/spl-word.wgt/scripts/jquery-1.6.2.min.js delete mode 100644 resources/library/interactivities/spl-word.wgt/scripts/jquery-ui-1.8.9.custom.min.js delete mode 100644 resources/library/interactivities/spl-word.wgt/scripts/spl-word.js delete mode 100644 resources/library/interactivities/spl-word.wgt/scripts/wcontainer.js delete mode 100644 resources/library/interactivities/spl-word.wgt/styles/master.css delete mode 100644 resources/library/interactivities/spl-word.wgt/styles/separator-activated.png delete mode 100644 resources/library/interactivities/spl-word.wgt/styles/separator-hover.png delete mode 100644 resources/library/interactivities/spl-word.wgt/styles/spl-word.css delete mode 100644 resources/library/interactivities/spl-word.wgt/styles/wcontainer.css diff --git a/resources/library/interactivities/BlackYellow.wgt/config.xml b/resources/library/interactivities/BlackYellow.wgt/config.xml deleted file mode 100644 index 0d81a76c..00000000 --- a/resources/library/interactivities/BlackYellow.wgt/config.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - Choisir - Mnemis SA - Choisir widget - - - diff --git a/resources/library/interactivities/BlackYellow.wgt/css/basic.css b/resources/library/interactivities/BlackYellow.wgt/css/basic.css deleted file mode 100644 index a01e8aad..00000000 --- a/resources/library/interactivities/BlackYellow.wgt/css/basic.css +++ /dev/null @@ -1,506 +0,0 @@ -body{ - width: 100%; - padding: 0; - margin: 0 auto; - height: auto; - background-color: #666; - overflow: hidden; -} - -.toggleButton, .addButton{ - width: 20px; - height: 28px; - border: none; - background-image: url(../images/greySquare.png); - font-weight: bold; - font-family: Verdana; - color: yellow; - cursor: pointer; - -webkit-border-top-left-radius: 5px; - -webkit-border-bottom-left-radius: 5px; - border-top-left-radius: 5px; - border-bottom-left-radius: 5px; -} - -.buttonDiv, .addButtonDiv{ - position: fixed; - float: right; - z-index: 1; -} - -.addButtonDiv{ - display: none; -} - -.leftDiv{ - width: 50%; - float: left; - background-color: black; - -webkit-border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - border-top-left-radius: 3px; - border-bottom-left-radius: 3px; -} - -.rightDiv{ - width: 50%; - float: right; - background-color: yellow; - -webkit-border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - border-top-right-radius: 3px; - border-bottom-right-radius: 3px; -} - -.shadowDiv{ - width: 100%; - display: none; - opacity: 0.7; - background-color: black; - -webkit-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - border-radius: 3px; - z-index: 100; -} - -.popupBack{ - width: 360px; - height: 138px; - position: absolute; - background-image: url(../images/popupBack.png); - background-repeat: repeat; - -webkit-border-radius: 10px; - -webkit-border-radius: 10px; - border-radius: 10px; - border-radius: 10px; - display: none; - z-index: 500; -} - -.popupContainers{ - float: left; - width: 98%; - height: 36px; - padding: 5px 3px 5px 0; - overflow: hidden; -} - -.popupLabels{ - color: yellow; - margin: 0 5px; -} - -.expresionInput{ - float: right; - width: 70%; - border: none; - font-family: Verdana,Arial,Helvetica,sans-serif; - background-color: #ffc; - -webkit-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; - border-radius: 5px; -} - -.popupButtons{ - float: right; - width: 74px; - height: 28px; - margin: 4px 5px; - border: none; - background-image: url(../images/greySquare2.png); - font-family: Verdana; - color: yellow; - cursor: pointer; - -webkit-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; - border-radius: 5px; -} - -.readyTask{ - margin: 2px; - padding: 2px; - width: 100%; - height: 100%; - overflow: hidden; - z-index: 100; -} - -.taskContainer{ - width: 96%; - padding: 2px; - float: left; - text-align: center; - font-family: Verdana,Arial,Helvetica,sans-serif; - font-weight: bold; -} - -.editContainer{ - position: absolute; - border: 5px solid #c7c7c7; - -webkit-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; - border-radius: 5px; -} - -.closeItem{ - width: 30px; - height: 30px; - position: absolute; - background-image: url(../images/icon-close.png); - right: -15px; - top: -15px; -} - -.rightResize{ - width: 10px; - height: 65%; - cursor: e-resize; - position: absolute; - background: none; - right: -10px; - top: 20%; -} - -.bottomResize{ - width: 65%; - height: 10px; - cursor: n-resize; - position: absolute; - background: none; - bottom: -10px; - left: 20%; -} -/* -.addQstDiv{ - float: left; - padding: 5px; - margin: 2px; - font-family: Verdana,Arial,Helvetica,sans-serif; - font-size: large; -} - -.addQstButton{ - margin: 0; - border: none; - background: none; - color: #99ccff; - cursor: pointer; -} - -#addQsqSpan1{ - font-size: 30px; - margin-right: 10px !important; -} - -.qstDiv{ - width: 90%; - margin: 2px auto; - padding: 5px; - float: left; - font-family: Verdana,Arial,Helvetica,sans-serif; -} - -.qstDivDisplay{ - width: 90%; - margin: 5px 5%; - padding: 5px; - float: left; - font-family: Verdana,Arial,Helvetica,sans-serif; - border: 2px solid #cccccc; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; - -moz-box-shadow: #dadada -1px 0 4px; - -webkit-box-shadow: #dadada -1px 0 4px; - box-shadow: #dadada -1px 0 4px; -} - -.spanOptConn{ - float: left; - width: 100%; -} - -.qstNumber{ - float: left; - font-size: 30px; - margin-left: 10px !important; - color: #00C6FF; -} - -.qstOptions{ - float: right; -} - -.changeOptions{ - border: none; - background-image: url(../images/grayClose.png); - background-color: white; - background-repeat: no-repeat; - background-position: 0 50%; - width: auto; - padding-left: 18px; - color: #00C6FF; - cursor: pointer; -} - -.applyChanges{ - border: none; - background-image: url(../images/blueClose.png); - background-color: white; - background-repeat: no-repeat; - background-position: 0 50%; - width: auto; - padding-left: 18px; - color: #00C6FF; - cursor: pointer; -} - -.qstDelete{ - border: none; - background-image: url(../images/boldClose.png); - background-color: white; - background-repeat: no-repeat; - background-position: 0 50%; - width: auto; - padding-left: 28px; - line-height: 35px; - cursor: pointer; -} - -.qstContent{ - float: left; - padding: 3px; - margin-left: 10px; - margin-bottom: 10px; - width: 95%; - font-family: Verdana,Arial,Helvetica,sans-serif; - font-size: small; - border: 3px solid #ccc; - -webkit-border-radius: 5px; - border-radius: 5px; - -moz-box-shadow: #dadada -1px 0 4px; - -webkit-box-shadow: #dadada -1px 0 4px; - box-shadow: #dadada -1px 0 4px; -} - -.qstContentDisplay{ - float: left; - padding: 5px; - margin: 10px; - width: 100%; - font-family: Verdana,Arial,Helvetica,sans-serif; - color:#333333; -} - -.ansDiv{ - float: left; - margin-left: 100px; - width: 80%; -} - -.ansAdd{ - border: none; - background: url(../images/blueClose.png) -0px -0px no-repeat; - background-color: white; - width: auto; - padding-left: 20px; - line-height: 24px; - color: #99ccff; - cursor: pointer; -} - -.newAnswer{ - float: left; - width: 100%; - margin: 3px; - -webkit-border-radius: 5px; - border-radius: 5px; -} - -.ansSpan{ - border: none; - background-color: white; - color: #00C6FF; - font-size: 14px; - float: left; - margin: 0 3px; - width: 20px; -} - -.ansSpanDisplay{ - color: #00C6FF; - font-size: 14px; - float: left; -} - -.ansContent{ - padding: 1px 3px 3px 3px; - margin-left: 5px; - font-family: Verdana,Arial,Helvetica,sans-serif; - font-size: small; - width: 80%; - float: left; - border: 3px solid #ccc; - -webkit-border-radius: 5px; - border-radius: 5px; - -moz-box-shadow: #dadada -1px 0 4px; - -webkit-box-shadow: #dadada -1px 0 4px; - box-shadow: #dadada -1px 0 4px; -} - -.ansContentDisplay{ - padding: 1px 3px 3px 3px; - margin-left: 5px; - font-family: Verdana,Arial,Helvetica,sans-serif; - font-size: small; - width: 90%; - float: left; - -webkit-border-radius: 5px; - border-radius: 5px; -} - -.ansDelete{ - float: left; - border: none; - background-image: url(../images/boldGreyClose.png); - background-color: white; - background-repeat: no-repeat; - background-position: 0 50%; - cursor: pointer; - margin: 0 5px; -} - -.qstOptChoice{ - width: 80%; - margin: 10px 10%; - float: left; - background-color: #F3F3F2; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-style: solid; - border-right-style: solid; - border-bottom-style: solid; - border-left-style: solid; - border-top-color: #ECECEB; - border-right-color: #ECECEB; - border-bottom-color: #ECECEB; - border-left-color: #ECECEB; - border-top-left-radius: 5px 5px; - border-top-right-radius: 5px 5px; - border-bottom-right-radius: 5px 5px; - border-bottom-left-radius: 5px 5px; - -webkit-box-shadow: #dededd 0 0 2px inset; - padding: 0; -} - -.optDescImg{ - padding: 2px; - margin: 5px; - background: url(../images/tool.png) -0px -0px no-repeat; - float: left; - margin-left: 20px; - width: 56px; - height: 51px; -} - -.optDescText{ - text-align: center; - width: 70%; - color: #666666; - float: left; - font-size: small; - font-family: Verdana,Arial,Helvetica,sans-serif; - margin: 3px 5px; - padding: 5px; -} - -.type{ - float: left; - margin: 10px; - padding: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; - -moz-box-shadow: #dadada -1px 0 4px; - -webkit-box-shadow: #dadada -1px 0 4px; - box-shadow: #dadada -1px 0 4px; -} - -.contentType{ - width: 100%; - padding: 0; - margin: 0; - background-color: white; - border-bottom: 1px solid #DFDFDE; - border-top-left-radius: 5px 5px; - border-top-right-radius: 5px 5px; -} - -.divType1, .divType2, .divType3 { - width: 122px; - height: 97px; - padding: 0 15px; - margin-left: 30px; -} - -.divType1{ - background: url(../images/1thOption.png)-0px -0px no-repeat; -} - -.divType2{ - background: url(../images/2thOption.png)-0px -0px no-repeat; -} - -.divType3{ - background: url(../images/3thOption.png)-0px -0px no-repeat; -} - -.textType{ - width: 160px; - font-size: small; - font-family: Verdana,Arial,Helvetica,sans-serif; - color: #666; - padding: 3px; - margin-left: 20px; -} - -.radioDiv{ - background-color: #F5F5F5; - border-top: 1px solid white; - width: 100%; - padding: 0; - margin: 0; - height: 30px; - border-bottom-right-radius: 5px 5px; - border-bottom-left-radius: 5px 5px; -} - -.radioType{ - float: right; - margin: 2px; - padding: 3px; -} - -.popupWordInfo{ - position: absolute; - display: none; - width: 100px; - height: 20px; - top: 0; - left: 0; - text-align: center; - border: 1px solid #B9B9B9; - background-color: #eaebeb; - color: #666; - -webkit-border-radius: 5px; - border-radius: 5px; - -webkit-box-shadow: #dadada -1px 0 4px; - box-shadow: #dadada -1px 0 4px; - z-index: 100; -} -*/ \ No newline at end of file diff --git a/resources/library/interactivities/BlackYellow.wgt/icon.png b/resources/library/interactivities/BlackYellow.wgt/icon.png deleted file mode 100644 index 8c64a6a81ec0691e770df1bba7ff60bb9b26c70f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1053 zcmb7D{WIGK9R4I})XR`~f4S3i^t{YzP;#-ZQcV=|R-)Kyi$%O^N;uhY_Z`LJX0%pT zvC+sfSy!puAjx9u+QD+^E}Tz&kxTpA6b0taZ7U- za{#c6jNm31QLwwF6yu!%S()1z`9L*4aBw|Dsq-Ti|MClnH7v2&b zHii`O(R`i}5rIYny&jlMAP5i$puHW=oPmZ0U@(Bgf%SD*T!g_vV=@rYM5BTDcq6Yx zbVWRYNI~Qy-bAcJ{(|U%*pFC` zID_bkC`2qme1zD9n2AOm;+Jo18C;wYn`o5(f8bI>tUmx*AIUw+mp)i+oh@2o(0DnO zHW95E>mgTIQb{ag-kt2Ir&FdbCh9u}pN#pB^gLGGDEai?cdQ(~u-43NS(Q)qTFq#>ZRs0=4T|BPCv=?`Kxi4blXdMB;vC8F+)Zan zx;)1qTI%712icJN7*`aTzI(?PATj$^hV0Af0_XsrllRX(pfaaldkcLxYcwn1wV+`)u_clqq1#fn6-yc!cs0nkb9n+a$X+H^IgywRy zSXxu!$Z4*SQxl}{;)rzo4>(o9it7i?N4;$6TK;@i8R-y3OQ!3{DPWBKo+^1wkqp($LyXvS{!9mwV@wvj@ YtE6;Ny z@A)-#xU)-J6}JcWOB@Ode;8O|CZt=%(Sox4^~pERUj6eGZz6SYHk+EsN;6o5E&HBd z`u=T&rL_lJ@LSF5A$Q?zJO8Z0K8w+?8E+L`;!rxealO9g;*Z;Fq=r0uIbU*$x234; zzds{`ZgvjqC-O<|0q3AB{j>54xZ9RC@r>HV*2>-Ye#I_}smM4jBefjN5euKUe5)k1 z9}YX-(|o3xU!;e+NRRETrf*)@dNjHtR>s8*EKVNz=EYL^*S2HQoz8;N0rmRa)*rds cuU6WD0@}Xl&KE=6T;p>KQfwtbe!&d?LC`!xx)vzHS>O>_ z%)r2(2*Qjj?3ZUUFfb;2x;TbZ%z1ljZ{8sTfde0{tvLfHwT5SG+Z4F+179Qi0)01m z741;T1woNFxKp)_pC0b?sF77#)#tIK{mQ-kO;3*gIz5S9UTC7>vs5eJ%U^1@=9ttl zI503Qxa>5ixvqq{!RGWM3%^PKYL^SUDxOPQ@4xus=ZZB`v&?2!&Qtcf=Pfw#dFAc5 z-y&pgzum3!^5r6nx;59MG_RMg-5Ru0tRrJ>s8{8>?>ldvd0w2p|8}VKq#b1|1Q<_m zvXS}L_vNo`Mb%@0fY|RE|Jz&AlornP$WRlS)kz%F!sV(2(~0MaZ#h={GE-3yZCUtu zmrKgpz26T0liHNB_G%QnE>R7Z%<4IQhI;jPQ$5JZGZfEhb@kjKw z_%54l;v0T?>HFUt458Ud6J9+3ea_W|A#&Q?BZcelzc1UBC{f4A>fW9hw(N2NFb)_z MUHx3vIVCg!03ZOun*aa+ diff --git a/resources/library/interactivities/BlackYellow.wgt/images/greySquare2.png b/resources/library/interactivities/BlackYellow.wgt/images/greySquare2.png deleted file mode 100644 index c0a7f14e8cc02340252ef48d9b5893d72b72239a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 214 zcmeAS@N?(olHy`uVBq!ia0vp^UO+6v!3HFcv1`r-Qgc0B978H@y}fD3cgTRpE%AP* zvcghXA^y^sbNyO*jJg|H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ities/BlackYellow.wgt/index.html b/resources/library/interactivities/BlackYellow.wgt/index.html deleted file mode 100644 index 1701164b..00000000 --- a/resources/library/interactivities/BlackYellow.wgt/index.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/resources/library/interactivities/BlackYellow.wgt/locales/fr/index.html b/resources/library/interactivities/BlackYellow.wgt/locales/fr/index.html deleted file mode 100644 index 5e41fc07..00000000 --- a/resources/library/interactivities/BlackYellow.wgt/locales/fr/index.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/resources/library/interactivities/BlackYellow.wgt/locales/fr/scripts/blackYellow.js b/resources/library/interactivities/BlackYellow.wgt/locales/fr/scripts/blackYellow.js deleted file mode 100644 index 56976f82..00000000 --- a/resources/library/interactivities/BlackYellow.wgt/locales/fr/scripts/blackYellow.js +++ /dev/null @@ -1,408 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -var sankoreLang = {display: "Afficher", edit: "Modifier", add: "Ajouter", enter_data: "Saisir la donnée:", enter_result: "Saisir le résultat:", ok: "Valider", cancel: "Annuler"}; - -function init(){ - - //variables - var toggleFlag = false; // detects toggling in toggle button - var endFlag = false; // ending of toggling in toggle button - var addToggleStart = false; // detects toggling in add button - var addToggleEnd = false; // ending of toggling in add button - var shadowOver = false; - var mode = false; - var popupFlag = false - var flagForSelect = false; - var dragElement = null; //the element that must be dragging - var lang = ""; //locale language - var coords = { - left:0, - top:0 - } - - var resizeObj = { - y:false, - x:false, - width:0, - height:0 - } - - var opacityChanged = false; - - if(window.sankore){ - if(sankore.preference("blackYellowData","")){ - var importArray = jQuery.parseJSON(sankore.preference("blackYellowData","")); - for(var i in importArray){ - var tmpReadyTask = $("
"); - var exprContainer = $("
" + importArray[i].data1 + "
").appendTo(tmpReadyTask); - var resContainer = $("
"+ importArray[i].data2 + "
").appendTo(tmpReadyTask); - tmpReadyTask.width(importArray[i].width) - .height(importArray[i].height) - .css("position","absolute") - .css("top",importArray[i].top) - .css("left",importArray[i].left); - tmpReadyTask.appendTo("body"); - } - } - $(document).disableTextSelect(); - } - - /* ------------- BUTTONS -------------*/ - - // toggle button - var buttonDiv = $("
").appendTo("body"); - var toggleButton = $("").appendTo("#buttonDiv"); - buttonDiv.css({ - top:"10px", - right:0 - }); - - //toggle mode - toggleButton.click(function(){ - if(!shadowOver){ - if(mode){ - mode = false; - addButtonDiv.css("display","none"); - $(".leftDiv, .rightDiv").animate({ - "opacity":"1" - },"slow",function(){ - if(opacityChanged){ - if($(".editContainer").size() != 0){ - $(".editContainer").each(function(index, domElem){ - var tmpReadyTask = $(domElem).find(".readyTask"); - tmpReadyTask.width($(domElem).width()) - .height($(domElem).height()) - .css("position","absolute") - .css("top",$(domElem).position().top) - .css("left",$(domElem).position().left) - .find(".taskContainer").removeAttr("contenteditable"); - - $(domElem).remove(); - tmpReadyTask.appendTo("body"); - }); - } - opacityChanged = false; - } - }); - $(document).disableTextSelect(); - } else { - mode = true; - addButtonDiv.css("display","block"); - $(document).enableTextSelect(); - $(".leftDiv, .rightDiv").animate({ - "opacity":"0.4" - },"slow",function(){ - if(!opacityChanged){ - if($(".readyTask").size() != 0){ - $(".readyTask").each(function(index, domElem){ - var editContent = $("
").width($(domElem).width() + 10).height($(domElem) + 10).appendTo("body"); - var closeItem = $("
").appendTo(editContent); - var rightResize = $("
").appendTo(editContent); - var bottomResize = $("
").appendTo(editContent); - editContent.css("top", $(domElem).position().top).css("left", $(domElem).position().left); - $(domElem).css("position","static") - .width("100%") - .height("100%") - .find(".taskContainer").attr("contenteditable", "true"); - $(domElem).appendTo(editContent); - }); - } - opacityChanged = true; - } - }); - - } - toggleButton.trigger("mouseout"); - } - }); - - // toggle button events - toggleButton.mouseover(function(){ - if(!shadowOver){ - if(!toggleFlag && !endFlag){ - endFlag = true; - toggleButton.animate({ - width:"115px" - },"fast",function(){ - toggleFlag = true; - if(!mode) - toggleButton.text(sankoreLang.edit); - else - toggleButton.text(sankoreLang.display); - }); - } - } - }); - - toggleButton.mouseout(function(){ - if(!shadowOver){ - if(toggleFlag && endFlag){ - endFlag = false; - toggleButton.animate({ - width:"20px" - },"fast", function(){ - toggleButton.text("<"); - toggleFlag = false; - }); - } - } - }); - - //add button - var addButtonDiv = $("
").appendTo("body"); - var addButton = $("").appendTo("#addButtonDiv"); - addButtonDiv.css({ - top:"47px", - right:0 - }); - - // add button events - addButton.click(function(){ - shadowDiv.show("fast", function(){ - shadowOver = true; - popupBack.show("slow"); - }); - $(document).disableTextSelect(); - addButton.trigger("mouseout"); - }); - - addButton.mouseover(function(){ - if(!shadowOver){ - if(!addToggleStart && !addToggleEnd){ - addToggleEnd = true; - addButton.animate({ - width:"115px" - },"fast",function(){ - addToggleStart = true; - addButton.text(sankoreLang.add); - }); - } - } - }); - - addButton.mouseout(function(){ - if(!shadowOver){ - if(addToggleStart && addToggleEnd){ - addToggleEnd = false; - addButton.animate({ - width:"20px" - },"fast", function(){ - addButton.text("+"); - addToggleStart = false; - }); - } - } - }); - - /* -------------- END OF WORK WITH BUTTONS ---------------*/ - - //basic divs - var leftDiv = $("
").appendTo("body"); - var rightDiv = $("
").appendTo("body"); - - //divs for adding a new item - var shadowDiv = $("
").appendTo("body"); - var popupBack = $("
").appendTo("body"); - - //input fields and buttons for a popup window - var expressionDiv = $("
").appendTo(popupBack); - var experssionLabel = $("" + sankoreLang.enter_data + "").appendTo(expressionDiv); - var expresionText = $("").appendTo(expressionDiv); - - var resultDiv = $("
").appendTo(popupBack); - var resultLabel = $("" + sankoreLang.enter_result + "").appendTo(resultDiv); - var resultText = $("").appendTo(resultDiv); - - var popupButtonsDiv= $("
").appendTo(popupBack); - var cancelButton = $("").appendTo(popupButtonsDiv); - var okButton = $("").appendTo(popupButtonsDiv); - - /* -------------- A WORK WITH POPUP BUTTONS AND FIELDS ---------------*/ - - $("#resultText, #expresionText").keyup(function(){ - if($(this).val()){ - $(this).css("background-color", "#ff9"); - } - }); - - cancelButton.click(function(){ - $(document).enableTextSelect(); - popupBack.hide("slow", function(){ - $("#resultText, #expresionText").val("") - .css("background-color", "#ffc"); - shadowDiv.hide("fast"); - shadowOver = false; - }); - }); - - okButton.click(function(){ - $(document).enableTextSelect(); - if(checkEmptyFields(expresionText) && checkEmptyFields(resultText)){ - popupBack.hide("slow", function(){ - shadowDiv.hide("fast"); - shadowOver = false; - addTask(expresionText.val(), resultText.val()); - $("#resultText, #expresionText").val("") - .css("background-color", "#ffc"); - }) - } - }); - - /* -------------- THE END OF WORK WITH POPUP BUTTONS AND FIELDS ---------------*/ - - // a work with dragging possibility - $("input:text").mouseover(function(){ - $(document).enableTextSelect(); - }); - - $("input:text").mouseout(function(){ - $(document).disableTextSelect(); - }); - - $(".readyTask, .editContainer").live("mousedown",function(event){ - if(!shadowOver){ - dragElement = $(this); - coords.left = event.pageX - $(this).position().left; - coords.top = event.pageY - $(this).position().top; - resizeObj.width = $(this).width(); - resizeObj.height = $(this).height(); - } - }); - - $(".rightResize").live("mousedown",function(event){ - if(!shadowOver){ - resizeObj.x = true; - } - }); - - $(".bottomResize").live("mousedown",function(event){ - if(!shadowOver){ - resizeObj.y = true; - } - }); - - $("body").mouseup(function(event){ - if(!shadowOver){ - dragElement = null; - resizeObj.x = false; - resizeObj.y = false; - } - }); - - $("body").mousemove(function(event){ - if(dragElement && !shadowOver){ - if(resizeObj.x) - dragElement.width(event.pageX - dragElement.position().left); - else if(resizeObj.y) - dragElement.height(event.pageY - dragElement.position().top); - else - dragElement.css("top",event.pageY - coords.top).css("left", event.pageX - coords.left); - } - }); - - //closing item - $(".closeItem").live("click", function(){ - if(!shadowOver){ - $(this).parent().remove(); - } - }); - - $("#leftDiv,#rightDiv,#shadowDiv").css("height", $(window).height()); - popupBack.css("top", ($(window).height() - 138)*50/$(window).height() + "%"); - popupBack.css("left", ($(window).width() - 360)*50/$(window).width() + "%"); - - $(window).resize(function(){ - $("#leftDiv,#rightDiv,#shadowDiv").css("height", $(window).height()); - popupBack.css("top", ($(window).height() - 138)*50/$(window).height() + "%"); - popupBack.css("left", ($(window).width() - 360)*50/$(window).width() + "%"); - }); - - $("html").mouseout(function(){ - if(window.sankore) - exportToSankore(); - }); - - // export data - function exportToSankore(){ - - var arrayToExport = new Array(); - if(mode){ - if($(".editContainer").size() != 0){ - $(".editContainer").each(function(index, domElem){ - var objToExport = { - data1:"", - data2:"", - width:0, - height:0, - top:0, - left:0 - } - objToExport.data1 = $(domElem).find(".readyTask").find(":first-child").text(); - objToExport.data2 = $(domElem).find(".readyTask").find(":last-child").text(); - objToExport.width = $(domElem).width(); - objToExport.height = $(domElem).height(); - objToExport.top = $(domElem).position().top; - objToExport.left = $(domElem).position().left; - arrayToExport.push(objToExport); - }); - } - } else { - if($(".readyTask").size() != 0){ - $(".readyTask").each(function(index, domElem){ - var objToExport = { - data1:"", - data2:"", - width:0, - height:0, - top:0, - left:0 - } - objToExport.data1 = $(domElem).find(":first-child").text(); - objToExport.data2 = $(domElem).find(":last-child").text(); - objToExport.width = $(domElem).width(); - objToExport.height = $(domElem).height(); - objToExport.top = $(domElem).position().top; - objToExport.left = $(domElem).position().left; - arrayToExport.push(objToExport); - }); - } - } - sankore.setPreference("blackYellowData", JSON.stringify(arrayToExport)); - } -} - -//checking empty fields -function checkEmptyFields(field){ - if(field.val() == ""){ - field.css("background-color", "red"); - return false; - } else { - field.css("background-color", "#ff9"); - return true; - } -} - -//adding a new task to the page -function addTask(expression, result){ - var editContent = $("
").width(240).height(70).appendTo("body"); - var closeItem = $("
").appendTo(editContent); - var rightResize = $("
").appendTo(editContent); - var bottomResize = $("
").appendTo(editContent); - var main = $("
"); - var exprContainer = $("
" + expression + "
").appendTo(main); - var resContainer = $("
"+ result + "
").appendTo(main); - main.appendTo(editContent); -} diff --git a/resources/library/interactivities/BlackYellow.wgt/locales/ru/index.html b/resources/library/interactivities/BlackYellow.wgt/locales/ru/index.html deleted file mode 100644 index 5e41fc07..00000000 --- a/resources/library/interactivities/BlackYellow.wgt/locales/ru/index.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/resources/library/interactivities/BlackYellow.wgt/locales/ru/scripts/blackYellow.js b/resources/library/interactivities/BlackYellow.wgt/locales/ru/scripts/blackYellow.js deleted file mode 100644 index 8d9c5269..00000000 --- a/resources/library/interactivities/BlackYellow.wgt/locales/ru/scripts/blackYellow.js +++ /dev/null @@ -1,408 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -var sankoreLang = {display: "Показать", edit: "Изменить", add: "Добавить", enter_data: "Введите вопроÑ:", enter_result: "Введите ответ:", ok: "Ок", cancel: "Отмена"}; - -function init(){ - - //variables - var toggleFlag = false; // detects toggling in toggle button - var endFlag = false; // ending of toggling in toggle button - var addToggleStart = false; // detects toggling in add button - var addToggleEnd = false; // ending of toggling in add button - var shadowOver = false; - var mode = false; - var popupFlag = false - var flagForSelect = false; - var dragElement = null; //the element that must be dragging - var lang = ""; //locale language - var coords = { - left:0, - top:0 - } - - var resizeObj = { - y:false, - x:false, - width:0, - height:0 - } - - var opacityChanged = false; - - if(window.sankore){ - if(sankore.preference("blackYellowData","")){ - var importArray = jQuery.parseJSON(sankore.preference("blackYellowData","")); - for(var i in importArray){ - var tmpReadyTask = $("
"); - var exprContainer = $("
" + importArray[i].data1 + "
").appendTo(tmpReadyTask); - var resContainer = $("
"+ importArray[i].data2 + "
").appendTo(tmpReadyTask); - tmpReadyTask.width(importArray[i].width) - .height(importArray[i].height) - .css("position","absolute") - .css("top",importArray[i].top) - .css("left",importArray[i].left); - tmpReadyTask.appendTo("body"); - } - } - $(document).disableTextSelect(); - } - - /* ------------- BUTTONS -------------*/ - - // toggle button - var buttonDiv = $("
").appendTo("body"); - var toggleButton = $("").appendTo("#buttonDiv"); - buttonDiv.css({ - top:"10px", - right:0 - }); - - //toggle mode - toggleButton.click(function(){ - if(!shadowOver){ - if(mode){ - mode = false; - addButtonDiv.css("display","none"); - $(".leftDiv, .rightDiv").animate({ - "opacity":"1" - },"slow",function(){ - if(opacityChanged){ - if($(".editContainer").size() != 0){ - $(".editContainer").each(function(index, domElem){ - var tmpReadyTask = $(domElem).find(".readyTask"); - tmpReadyTask.width($(domElem).width()) - .height($(domElem).height()) - .css("position","absolute") - .css("top",$(domElem).position().top) - .css("left",$(domElem).position().left) - .find(".taskContainer").removeAttr("contenteditable"); - - $(domElem).remove(); - tmpReadyTask.appendTo("body"); - }); - } - opacityChanged = false; - } - }); - $(document).disableTextSelect(); - } else { - mode = true; - addButtonDiv.css("display","block"); - $(document).enableTextSelect(); - $(".leftDiv, .rightDiv").animate({ - "opacity":"0.4" - },"slow",function(){ - if(!opacityChanged){ - if($(".readyTask").size() != 0){ - $(".readyTask").each(function(index, domElem){ - var editContent = $("
").width($(domElem).width() + 10).height($(domElem) + 10).appendTo("body"); - var closeItem = $("
").appendTo(editContent); - var rightResize = $("
").appendTo(editContent); - var bottomResize = $("
").appendTo(editContent); - editContent.css("top", $(domElem).position().top).css("left", $(domElem).position().left); - $(domElem).css("position","static") - .width("100%") - .height("100%") - .find(".taskContainer").attr("contenteditable", "true"); - $(domElem).appendTo(editContent); - }); - } - opacityChanged = true; - } - }); - - } - toggleButton.trigger("mouseout"); - } - }); - - // toggle button events - toggleButton.mouseover(function(){ - if(!shadowOver){ - if(!toggleFlag && !endFlag){ - endFlag = true; - toggleButton.animate({ - width:"115px" - },"fast",function(){ - toggleFlag = true; - if(!mode) - toggleButton.text(sankoreLang.edit); - else - toggleButton.text(sankoreLang.display); - }); - } - } - }); - - toggleButton.mouseout(function(){ - if(!shadowOver){ - if(toggleFlag && endFlag){ - endFlag = false; - toggleButton.animate({ - width:"20px" - },"fast", function(){ - toggleButton.text("<"); - toggleFlag = false; - }); - } - } - }); - - //add button - var addButtonDiv = $("
").appendTo("body"); - var addButton = $("").appendTo("#addButtonDiv"); - addButtonDiv.css({ - top:"47px", - right:0 - }); - - // add button events - addButton.click(function(){ - shadowDiv.show("fast", function(){ - shadowOver = true; - popupBack.show("slow"); - }); - $(document).disableTextSelect(); - addButton.trigger("mouseout"); - }); - - addButton.mouseover(function(){ - if(!shadowOver){ - if(!addToggleStart && !addToggleEnd){ - addToggleEnd = true; - addButton.animate({ - width:"115px" - },"fast",function(){ - addToggleStart = true; - addButton.text(sankoreLang.add); - }); - } - } - }); - - addButton.mouseout(function(){ - if(!shadowOver){ - if(addToggleStart && addToggleEnd){ - addToggleEnd = false; - addButton.animate({ - width:"20px" - },"fast", function(){ - addButton.text("+"); - addToggleStart = false; - }); - } - } - }); - - /* -------------- END OF WORK WITH BUTTONS ---------------*/ - - //basic divs - var leftDiv = $("
").appendTo("body"); - var rightDiv = $("
").appendTo("body"); - - //divs for adding a new item - var shadowDiv = $("
").appendTo("body"); - var popupBack = $("
").appendTo("body"); - - //input fields and buttons for a popup window - var expressionDiv = $("
").appendTo(popupBack); - var experssionLabel = $("" + sankoreLang.enter_data + "").appendTo(expressionDiv); - var expresionText = $("").appendTo(expressionDiv); - - var resultDiv = $("
").appendTo(popupBack); - var resultLabel = $("" + sankoreLang.enter_result + "").appendTo(resultDiv); - var resultText = $("").appendTo(resultDiv); - - var popupButtonsDiv= $("
").appendTo(popupBack); - var cancelButton = $("").appendTo(popupButtonsDiv); - var okButton = $("").appendTo(popupButtonsDiv); - - /* -------------- A WORK WITH POPUP BUTTONS AND FIELDS ---------------*/ - - $("#resultText, #expresionText").keyup(function(){ - if($(this).val()){ - $(this).css("background-color", "#ff9"); - } - }); - - cancelButton.click(function(){ - $(document).enableTextSelect(); - popupBack.hide("slow", function(){ - $("#resultText, #expresionText").val("") - .css("background-color", "#ffc"); - shadowDiv.hide("fast"); - shadowOver = false; - }); - }); - - okButton.click(function(){ - $(document).enableTextSelect(); - if(checkEmptyFields(expresionText) && checkEmptyFields(resultText)){ - popupBack.hide("slow", function(){ - shadowDiv.hide("fast"); - shadowOver = false; - addTask(expresionText.val(), resultText.val()); - $("#resultText, #expresionText").val("") - .css("background-color", "#ffc"); - }) - } - }); - - /* -------------- THE END OF WORK WITH POPUP BUTTONS AND FIELDS ---------------*/ - - // a work with dragging possibility - $("input:text").mouseover(function(){ - $(document).enableTextSelect(); - }); - - $("input:text").mouseout(function(){ - $(document).disableTextSelect(); - }); - - $(".readyTask, .editContainer").live("mousedown",function(event){ - if(!shadowOver){ - dragElement = $(this); - coords.left = event.pageX - $(this).position().left; - coords.top = event.pageY - $(this).position().top; - resizeObj.width = $(this).width(); - resizeObj.height = $(this).height(); - } - }); - - $(".rightResize").live("mousedown",function(event){ - if(!shadowOver){ - resizeObj.x = true; - } - }); - - $(".bottomResize").live("mousedown",function(event){ - if(!shadowOver){ - resizeObj.y = true; - } - }); - - $("body").mouseup(function(event){ - if(!shadowOver){ - dragElement = null; - resizeObj.x = false; - resizeObj.y = false; - } - }); - - $("body").mousemove(function(event){ - if(dragElement && !shadowOver){ - if(resizeObj.x) - dragElement.width(event.pageX - dragElement.position().left); - else if(resizeObj.y) - dragElement.height(event.pageY - dragElement.position().top); - else - dragElement.css("top",event.pageY - coords.top).css("left", event.pageX - coords.left); - } - }); - - //closing item - $(".closeItem").live("click", function(){ - if(!shadowOver){ - $(this).parent().remove(); - } - }); - - $("#leftDiv,#rightDiv,#shadowDiv").css("height", $(window).height()); - popupBack.css("top", ($(window).height() - 138)*50/$(window).height() + "%"); - popupBack.css("left", ($(window).width() - 360)*50/$(window).width() + "%"); - - $(window).resize(function(){ - $("#leftDiv,#rightDiv,#shadowDiv").css("height", $(window).height()); - popupBack.css("top", ($(window).height() - 138)*50/$(window).height() + "%"); - popupBack.css("left", ($(window).width() - 360)*50/$(window).width() + "%"); - }); - - $("html").mouseout(function(){ - if(window.sankore) - exportToSankore(); - }); - - // export data - function exportToSankore(){ - - var arrayToExport = new Array(); - if(mode){ - if($(".editContainer").size() != 0){ - $(".editContainer").each(function(index, domElem){ - var objToExport = { - data1:"", - data2:"", - width:0, - height:0, - top:0, - left:0 - } - objToExport.data1 = $(domElem).find(".readyTask").find(":first-child").text(); - objToExport.data2 = $(domElem).find(".readyTask").find(":last-child").text(); - objToExport.width = $(domElem).width(); - objToExport.height = $(domElem).height(); - objToExport.top = $(domElem).position().top; - objToExport.left = $(domElem).position().left; - arrayToExport.push(objToExport); - }); - } - } else { - if($(".readyTask").size() != 0){ - $(".readyTask").each(function(index, domElem){ - var objToExport = { - data1:"", - data2:"", - width:0, - height:0, - top:0, - left:0 - } - objToExport.data1 = $(domElem).find(":first-child").text(); - objToExport.data2 = $(domElem).find(":last-child").text(); - objToExport.width = $(domElem).width(); - objToExport.height = $(domElem).height(); - objToExport.top = $(domElem).position().top; - objToExport.left = $(domElem).position().left; - arrayToExport.push(objToExport); - }); - } - } - sankore.setPreference("blackYellowData", JSON.stringify(arrayToExport)); - } -} - -//checking empty fields -function checkEmptyFields(field){ - if(field.val() == ""){ - field.css("background-color", "red"); - return false; - } else { - field.css("background-color", "#ff9"); - return true; - } -} - -//adding a new task to the page -function addTask(expression, result){ - var editContent = $("
").width(240).height(70).appendTo("body"); - var closeItem = $("
").appendTo(editContent); - var rightResize = $("
").appendTo(editContent); - var bottomResize = $("
").appendTo(editContent); - var main = $("
"); - var exprContainer = $("
" + expression + "
").appendTo(main); - var resContainer = $("
"+ result + "
").appendTo(main); - main.appendTo(editContent); -} \ No newline at end of file diff --git a/resources/library/interactivities/BlackYellow.wgt/scripts/blackYellow.js b/resources/library/interactivities/BlackYellow.wgt/scripts/blackYellow.js deleted file mode 100644 index 15cf2f97..00000000 --- a/resources/library/interactivities/BlackYellow.wgt/scripts/blackYellow.js +++ /dev/null @@ -1,408 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -var sankoreLang = {display: "Display", edit: "Edit", add: "Add", enter_data: "Enter data:", enter_result: "Enter result:", ok: "Ok", cancel: "Cancel"}; - -function init(){ - - //variables - var toggleFlag = false; // detects toggling in toggle button - var endFlag = false; // ending of toggling in toggle button - var addToggleStart = false; // detects toggling in add button - var addToggleEnd = false; // ending of toggling in add button - var shadowOver = false; - var mode = false; - var popupFlag = false - var flagForSelect = false; - var dragElement = null; //the element that must be dragging - var lang = ""; //locale language - var coords = { - left:0, - top:0 - } - - var resizeObj = { - y:false, - x:false, - width:0, - height:0 - } - - var opacityChanged = false; - - if(window.sankore){ - if(sankore.preference("blackYellowData","")){ - var importArray = jQuery.parseJSON(sankore.preference("blackYellowData","")); - for(var i in importArray){ - var tmpReadyTask = $("
"); - var exprContainer = $("
" + importArray[i].data1 + "
").appendTo(tmpReadyTask); - var resContainer = $("
"+ importArray[i].data2 + "
").appendTo(tmpReadyTask); - tmpReadyTask.width(importArray[i].width) - .height(importArray[i].height) - .css("position","absolute") - .css("top",importArray[i].top) - .css("left",importArray[i].left); - tmpReadyTask.appendTo("body"); - } - } - $(document).disableTextSelect(); - } - - /* ------------- BUTTONS -------------*/ - - // toggle button - var buttonDiv = $("
").appendTo("body"); - var toggleButton = $("").appendTo("#buttonDiv"); - buttonDiv.css({ - top:"10px", - right:0 - }); - - //toggle mode - toggleButton.click(function(){ - if(!shadowOver){ - if(mode){ - mode = false; - addButtonDiv.css("display","none"); - $(".leftDiv, .rightDiv").animate({ - "opacity":"1" - },"slow",function(){ - if(opacityChanged){ - if($(".editContainer").size() != 0){ - $(".editContainer").each(function(index, domElem){ - var tmpReadyTask = $(domElem).find(".readyTask"); - tmpReadyTask.width($(domElem).width()) - .height($(domElem).height()) - .css("position","absolute") - .css("top",$(domElem).position().top) - .css("left",$(domElem).position().left) - .find(".taskContainer").removeAttr("contenteditable"); - - $(domElem).remove(); - tmpReadyTask.appendTo("body"); - }); - } - opacityChanged = false; - } - }); - $(document).disableTextSelect(); - } else { - mode = true; - addButtonDiv.css("display","block"); - $(document).enableTextSelect(); - $(".leftDiv, .rightDiv").animate({ - "opacity":"0.4" - },"slow",function(){ - if(!opacityChanged){ - if($(".readyTask").size() != 0){ - $(".readyTask").each(function(index, domElem){ - var editContent = $("
").width($(domElem).width() + 10).height($(domElem) + 10).appendTo("body"); - var closeItem = $("
").appendTo(editContent); - var rightResize = $("
").appendTo(editContent); - var bottomResize = $("
").appendTo(editContent); - editContent.css("top", $(domElem).position().top).css("left", $(domElem).position().left); - $(domElem).css("position","static") - .width("100%") - .height("100%") - .find(".taskContainer").attr("contenteditable", "true"); - $(domElem).appendTo(editContent); - }); - } - opacityChanged = true; - } - }); - - } - toggleButton.trigger("mouseout"); - } - }); - - // toggle button events - toggleButton.mouseover(function(){ - if(!shadowOver){ - if(!toggleFlag && !endFlag){ - endFlag = true; - toggleButton.animate({ - width:"115px" - },"fast",function(){ - toggleFlag = true; - if(!mode) - toggleButton.text(sankoreLang.edit); - else - toggleButton.text(sankoreLang.display); - }); - } - } - }); - - toggleButton.mouseout(function(){ - if(!shadowOver){ - if(toggleFlag && endFlag){ - endFlag = false; - toggleButton.animate({ - width:"20px" - },"fast", function(){ - toggleButton.text("<"); - toggleFlag = false; - }); - } - } - }); - - //add button - var addButtonDiv = $("
").appendTo("body"); - var addButton = $("").appendTo("#addButtonDiv"); - addButtonDiv.css({ - top:"47px", - right:0 - }); - - // add button events - addButton.click(function(){ - shadowDiv.show("fast", function(){ - shadowOver = true; - popupBack.show("slow"); - }); - $(document).disableTextSelect(); - addButton.trigger("mouseout"); - }); - - addButton.mouseover(function(){ - if(!shadowOver){ - if(!addToggleStart && !addToggleEnd){ - addToggleEnd = true; - addButton.animate({ - width:"115px" - },"fast",function(){ - addToggleStart = true; - addButton.text(sankoreLang.add); - }); - } - } - }); - - addButton.mouseout(function(){ - if(!shadowOver){ - if(addToggleStart && addToggleEnd){ - addToggleEnd = false; - addButton.animate({ - width:"20px" - },"fast", function(){ - addButton.text("+"); - addToggleStart = false; - }); - } - } - }); - - /* -------------- END OF WORK WITH BUTTONS ---------------*/ - - //basic divs - var leftDiv = $("
").appendTo("body"); - var rightDiv = $("
").appendTo("body"); - - //divs for adding a new item - var shadowDiv = $("
").appendTo("body"); - var popupBack = $("
").appendTo("body"); - - //input fields and buttons for a popup window - var expressionDiv = $("
").appendTo(popupBack); - var experssionLabel = $("" + sankoreLang.enter_data + "").appendTo(expressionDiv); - var expresionText = $("").appendTo(expressionDiv); - - var resultDiv = $("
").appendTo(popupBack); - var resultLabel = $("" + sankoreLang.enter_result + "").appendTo(resultDiv); - var resultText = $("").appendTo(resultDiv); - - var popupButtonsDiv= $("
").appendTo(popupBack); - var cancelButton = $("").appendTo(popupButtonsDiv); - var okButton = $("").appendTo(popupButtonsDiv); - - /* -------------- A WORK WITH POPUP BUTTONS AND FIELDS ---------------*/ - - $("#resultText, #expresionText").keyup(function(){ - if($(this).val()){ - $(this).css("background-color", "#ff9"); - } - }); - - cancelButton.click(function(){ - $(document).enableTextSelect(); - popupBack.hide("slow", function(){ - $("#resultText, #expresionText").val("") - .css("background-color", "#ffc"); - shadowDiv.hide("fast"); - shadowOver = false; - }); - }); - - okButton.click(function(){ - $(document).enableTextSelect(); - if(checkEmptyFields(expresionText) && checkEmptyFields(resultText)){ - popupBack.hide("slow", function(){ - shadowDiv.hide("fast"); - shadowOver = false; - addTask(expresionText.val(), resultText.val()); - $("#resultText, #expresionText").val("") - .css("background-color", "#ffc"); - }) - } - }); - - /* -------------- THE END OF WORK WITH POPUP BUTTONS AND FIELDS ---------------*/ - - // a work with dragging possibility - $("input:text").mouseover(function(){ - $(document).enableTextSelect(); - }); - - $("input:text").mouseout(function(){ - $(document).disableTextSelect(); - }); - - $(".readyTask, .editContainer").live("mousedown",function(event){ - if(!shadowOver){ - dragElement = $(this); - coords.left = event.pageX - $(this).position().left; - coords.top = event.pageY - $(this).position().top; - resizeObj.width = $(this).width(); - resizeObj.height = $(this).height(); - } - }); - - $(".rightResize").live("mousedown",function(event){ - if(!shadowOver){ - resizeObj.x = true; - } - }); - - $(".bottomResize").live("mousedown",function(event){ - if(!shadowOver){ - resizeObj.y = true; - } - }); - - $("body").mouseup(function(event){ - if(!shadowOver){ - dragElement = null; - resizeObj.x = false; - resizeObj.y = false; - } - }); - - $("body").mousemove(function(event){ - if(dragElement && !shadowOver){ - if(resizeObj.x) - dragElement.width(event.pageX - dragElement.position().left); - else if(resizeObj.y) - dragElement.height(event.pageY - dragElement.position().top); - else - dragElement.css("top",event.pageY - coords.top).css("left", event.pageX - coords.left); - } - }); - - //closing item - $(".closeItem").live("click", function(){ - if(!shadowOver){ - $(this).parent().remove(); - } - }); - - $("#leftDiv,#rightDiv,#shadowDiv").css("height", $(window).height()); - popupBack.css("top", ($(window).height() - 138)*50/$(window).height() + "%"); - popupBack.css("left", ($(window).width() - 360)*50/$(window).width() + "%"); - - $(window).resize(function(){ - $("#leftDiv,#rightDiv,#shadowDiv").css("height", $(window).height()); - popupBack.css("top", ($(window).height() - 138)*50/$(window).height() + "%"); - popupBack.css("left", ($(window).width() - 360)*50/$(window).width() + "%"); - }); - - $("html").mouseout(function(){ - if(window.sankore) - exportToSankore(); - }); - - // export data - function exportToSankore(){ - - var arrayToExport = new Array(); - if(mode){ - if($(".editContainer").size() != 0){ - $(".editContainer").each(function(index, domElem){ - var objToExport = { - data1:"", - data2:"", - width:0, - height:0, - top:0, - left:0 - } - objToExport.data1 = $(domElem).find(".readyTask").find(":first-child").text(); - objToExport.data2 = $(domElem).find(".readyTask").find(":last-child").text(); - objToExport.width = $(domElem).width(); - objToExport.height = $(domElem).height(); - objToExport.top = $(domElem).position().top; - objToExport.left = $(domElem).position().left; - arrayToExport.push(objToExport); - }); - } - } else { - if($(".readyTask").size() != 0){ - $(".readyTask").each(function(index, domElem){ - var objToExport = { - data1:"", - data2:"", - width:0, - height:0, - top:0, - left:0 - } - objToExport.data1 = $(domElem).find(":first-child").text(); - objToExport.data2 = $(domElem).find(":last-child").text(); - objToExport.width = $(domElem).width(); - objToExport.height = $(domElem).height(); - objToExport.top = $(domElem).position().top; - objToExport.left = $(domElem).position().left; - arrayToExport.push(objToExport); - }); - } - } - sankore.setPreference("blackYellowData", JSON.stringify(arrayToExport)); - } -} - -//checking empty fields -function checkEmptyFields(field){ - if(field.val() == ""){ - field.css("background-color", "red"); - return false; - } else { - field.css("background-color", "#ff9"); - return true; - } -} - -//adding a new task to the page -function addTask(expression, result){ - var editContent = $("
").width(240).height(70).appendTo("body"); - var closeItem = $("
").appendTo(editContent); - var rightResize = $("
").appendTo(editContent); - var bottomResize = $("
").appendTo(editContent); - var main = $("
"); - var exprContainer = $("
" + expression + "
").appendTo(main); - var resContainer = $("
"+ result + "
").appendTo(main); - main.appendTo(editContent); -} \ No newline at end of file diff --git a/resources/library/interactivities/BlackYellow.wgt/scripts/jquery-1.6.2.min.js b/resources/library/interactivities/BlackYellow.wgt/scripts/jquery-1.6.2.min.js deleted file mode 100644 index 48590ecb..00000000 --- a/resources/library/interactivities/BlackYellow.wgt/scripts/jquery-1.6.2.min.js +++ /dev/null @@ -1,18 +0,0 @@ -/*! - * jQuery JavaScript Library v1.6.2 - * http://jquery.com/ - * - * Copyright 2011, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Thu Jun 30 14:16:56 2011 -0400 - */ -(function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"":"")+""),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){setTimeout(cq,0);return cn=f.now()}function cf(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ce(){try{return new a.XMLHttpRequest}catch(b){}}function b$(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bx(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function bm(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(be,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bl(a){f.nodeName(a,"input")?bk(a):"getElementsByTagName"in a&&f.grep(a.getElementsByTagName("input"),bk)}function bk(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bj(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function bi(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bh(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in g)for(var i=0,j=g[h].length;i=0===c})}function V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function N(a,b){return(a&&a!=="*"?a+".":"")+b.replace(z,"`").replace(A,"&")}function M(a){var b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.liveFired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var s=r.live.slice(0);for(i=0;ic)break;a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e.handleObj,o=e.handleObj.origHandler.apply(e.elem,arguments);if(o===!1||a.isPropagationStopped()){c=e.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function K(a,c,d){var e=f.extend({},d[0]);e.type=a,e.originalEvent={},e.liveFired=b,f.event.handle.call(c,e),e.isDefaultPrevented()&&d[0].preventDefault()}function E(){return!0}function D(){return!1}function m(a,c,d){var e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&setTimeout(function(){!f.data(a,g,b,!0)&&!f.data(a,h,b,!0)&&(f.removeData(a,e,!0),i.resolve())},0)}function l(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function k(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(j,"$1-$2").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNaN(d)?i.test(d)?f.parseJSON(d):d:parseFloat(d)}catch(g){}f.data(a,c,d)}else d=b}return d}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z])/ig,x=function(a,b){return b.toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.resolveWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!A){A=e._Deferred();if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!m.test(a)||isNaN(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a);return c===b||D.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(b,c,d){a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),d=c.documentElement,(!d||!d.nodeName||d.nodeName==="parsererror")&&e.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?h.call(arguments,0):c,--e||g.resolveWith(g,h.call(b,0))}}var b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred();if(d>1){for(;c
a",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.firstChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0},m&&f.extend(p,{position:"absolute",left:-1e3,top:-1e3});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="
",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="
t
",q=a.getElementsByTagName("td"),u=q[0].offsetHeight===0,q[0].style.display="",q[1].style.display="none",k.reliableHiddenOffsets=u&&q[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),k.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0),o.innerHTML="",n.removeChild(o);if(a.attachEvent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in a,u||(a.setAttribute(s,"return;"),u=typeof a[s]=="function"),k[t+"Bubbles"]=u;o=l=g=h=m=j=a=i=null;return k}(),f.boxModel=f.support.boxModel;var i=/^(?:\{.*\}|\[.*\])$/,j=/([a-z])([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!l(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g=f.expando,h=typeof c=="string",i,j=a.nodeType,k=j?f.cache:a,l=j?a[f.expando]:a[f.expando]&&f.expando;if((!l||e&&l&&!k[l][g])&&h&&d===b)return;l||(j?a[f.expando]=l=++f.uuid:l=f.expando),k[l]||(k[l]={},j||(k[l].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?k[l][g]=f.extend(k[l][g],c):k[l]=f.extend(k[l],c);i=k[l],e&&(i[g]||(i[g]={}),i=i[g]),d!==b&&(i[f.camelCase(c)]=d);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[f.camelCase(c)]||i[c]:i}},removeData:function(b,c,d){if(!!f.acceptData(b)){var e=f.expando,g=b.nodeType,h=g?f.cache:b,i=g?b[f.expando]:f.expando;if(!h[i])return;if(c){var j=d?h[i][e]:h[i];if(j){delete j[c];if(!l(j))return}}if(d){delete h[i][e];if(!l(h[i]))return}var k=h[i][e];f.support.deleteExpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},g||(h[i].toJSON=f.noop),h[i][e]=k):g&&(f.support.deleteExpando?delete b[f.expando]:b.removeAttribute?b.removeAttribute(f.expando):b[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d=null;if(typeof a=="undefined"){if(this.length){d=f.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,g;for(var h=0,i=e.length;h-1)return!0;return!1},val:function(a){var c,d,e=this[0];if(!arguments.length){if(e){c=f.valHooks[e.nodeName.toLowerCase()]||f.valHooks[e.type];if(c&&"get"in c&&(d=c.get(e,"value"))!==b)return d;d=e.value;return typeof d=="string"?d.replace(p,""):d==null?"":d}return b}var g=f.isFunction(a);return this.each(function(d){var e=f(this),h;if(this.nodeType===1){g?h=a.call(this,d,e.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c=a.selectedIndex,d=[],e=a.options,g=a.type==="select-one";if(c<0)return null;for(var h=g?c:0,i=g?c+1:e.length;h=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,d,e){var g=a.nodeType;if(!a||g===3||g===8||g===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);var h,i,j=g!==1||!f.isXMLDoc(a);j&&(c=f.attrFix[c]||c,i=f.attrHooks[c],i||(t.test(c)?i=w:v&&c!=="className"&&(f.nodeName(a,"form")||u.test(c))&&(i=v)));if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(i&&"set"in i&&j&&(h=i.set(a,d,c))!==b)return h;a.setAttribute(c,""+d);return d}if(i&&"get"in i&&j&&(h=i.get(a,c))!==null)return h;h=a.getAttribute(c);return h===null?b:h},removeAttr:function(a,b){var c;a.nodeType===1&&(b=f.attrFix[b]||b,f.support.getSetAttribute?a.removeAttribute(b):(f.attr(a,b,""),a.removeAttributeNode(a.getAttributeNode(b))),t.test(b)&&(c=f.propFix[b]||b)in a&&(a[c]=!1))},attrHooks:{type:{set:function(a,b){if(q.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):r.test(a.nodeName)||s.test(a.nodeName)&&a.href?0:b}},value:{get:function(a,b){if(v&&f.nodeName(a,"button"))return v.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(v&&f.nodeName(a,"button"))return v.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e=a.nodeType;if(!a||e===3||e===8||e===2)return b;var g,h,i=e!==1||!f.isXMLDoc(a);i&&(c=f.propFix[c]||c,h=f.propHooks[c]);return d!==b?h&&"set"in h&&(g=h.set(a,d,c))!==b?g:a[c]=d:h&&"get"in h&&(g=h.get(a,c))!==b?g:a[c]},propHooks:{}}),w={get:function(a,c){return f.prop(a,c)?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},f.support.getSetAttribute||(f.attrFix=f.propFix,v=f.attrHooks.name=f.attrHooks.title=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&d.nodeValue!==""?d.nodeValue:b},set:function(a,b,c){var d=a.getAttributeNode(c);if(d){d.nodeValue=b;return b}}},f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})})),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}})),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var x=/\.(.*)$/,y=/^(?:textarea|input|select)$/i,z=/\./g,A=/ /g,B=/[^\w\s.|`]/g,C=function(a){return a.replace(B,"\\$&")};f.event={add:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){if(d===!1)d=D;else if(!d)return;var g,h;d.handler&&(g=d,d=g.handler),d.guid||(d.guid=f.guid++);var i=f._data(a);if(!i)return;var j=i.events,k=i.handle;j||(i.events=j={}),k||(i.handle=k=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.handle.apply(k.elem,arguments):b}),k.elem=a,c=c.split(" ");var l,m=0,n;while(l=c[m++]){h=g?f.extend({},g):{handler:d,data:e},l.indexOf(".")>-1?(n=l.split("."),l=n.shift(),h.namespace=n.slice(0).sort().join(".")):(n=[],h.namespace=""),h.type=l,h.guid||(h.guid=d.guid);var o=j[l],p=f.event.special[l]||{};if(!o){o=j[l]=[];if(!p.setup||p.setup.call(a,e,n,k)===!1)a.addEventListener?a.addEventListener(l,k,!1):a.attachEvent&&a.attachEvent("on"+l,k)}p.add&&(p.add.call(a,h),h.handler.guid||(h.handler.guid=d.guid)),o.push(h),f.event.global[l]=!0}a=null}},global:{},remove:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){d===!1&&(d=D);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=f.hasData(a)&&f._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(d=c.handler,c=c.type);if(!c||typeof c=="string"&&c.charAt(0)==="."){c=c||"";for(h in t)f.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+f.map(m.slice(0).sort(),C).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!d){for(j=0;j=0&&(h=h.slice(0,-1),j=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i. -shift(),i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.exclusive=j,c.namespace=i.join("."),c.namespace_re=new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!e)c.preventDefault(),c.stopPropagation();if(!e){f.each(f.cache,function(){var a=f.expando,b=this[a];b&&b.events&&b.events[h]&&f.event.trigger(c,d,b.handle.elem)});return}if(e.nodeType===3||e.nodeType===8)return;c.result=b,c.target=e,d=d!=null?f.makeArray(d):[],d.unshift(c);var k=e,l=h.indexOf(":")<0?"on"+h:"";do{var m=f._data(k,"handle");c.currentTarget=k,m&&m.apply(k,d),l&&f.acceptData(k)&&k[l]&&k[l].apply(k,d)===!1&&(c.result=!1,c.preventDefault()),k=k.parentNode||k.ownerDocument||k===c.target.ownerDocument&&a}while(k&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var n,o=f.event.special[h]||{};if((!o._default||o._default.call(e.ownerDocument,c)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)){try{l&&e[h]&&(n=e[l],n&&(e[l]=null),f.event.triggered=h,e[h]())}catch(p){}n&&(e[l]=n),f.event.triggered=b}}return c.result}},handle:function(c){c=f.event.fix(c||a.event);var d=((f._data(this,"events")||{})[c.type]||[]).slice(0),e=!c.exclusive&&!c.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=c,c.currentTarget=this;for(var h=0,i=d.length;h-1?f.map(a.options,function(a){return a.selected}).join("-"):"":f.nodeName(a,"select")&&(c=a.selectedIndex);return c},J=function(c){var d=c.target,e,g;if(!!y.test(d.nodeName)&&!d.readOnly){e=f._data(d,"_change_data"),g=I(d),(c.type!=="focusout"||d.type!=="radio")&&f._data(d,"_change_data",g);if(e===b||g===e)return;if(e!=null||g)c.type="change",c.liveFired=b,f.event.trigger(c,arguments[1],d)}};f.event.special.change={filters:{focusout:J,beforedeactivate:J,click:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||f.nodeName(b,"select"))&&J.call(this,a)},keydown:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!f.nodeName(b,"textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&J.call(this,a)},beforeactivate:function(a){var b=a.target;f._data(b,"_change_data",I(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in H)f.event.add(this,c+".specialChange",H[c]);return y.test(this.nodeName)},teardown:function(a){f.event.remove(this,".specialChange");return y.test(this.nodeName)}},H=f.event.special.change.filters,H.focus=H.beforeactivate}f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){function e(a){var c=f.event.fix(a);c.type=b,c.originalEvent={},f.event.trigger(c,null,c.target),c.isDefaultPrevented()&&a.preventDefault()}var d=0;f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.each(["bind","one"],function(a,c){f.fn[c]=function(a,d,e){var g;if(typeof a=="object"){for(var h in a)this[c](h,d,a[h],e);return this}if(arguments.length===2||d===!1)e=d,d=b;c==="one"?(g=function(a){f(this).unbind(a,g);return e.apply(this,arguments)},g.guid=e.guid||f.guid++):g=e;if(a==="unload"&&c!=="one")this.one(a,d,e);else for(var i=0,j=this.length;i0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d=0,e=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,f,g){f=f||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return f;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(e.call(n)==="[object Array]")if(!u)f.push.apply(f,n);else if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&f.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&f.push(j[t]);else p(n,f);o&&(k(o,h,f,g),k.uniqueSort(f));return f};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=d++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(e.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var f=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(e||!l.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return k(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g0)for(h=g;h0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(d=0,e=a.length;d-1:f(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=T.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a=="string")return f.inArray(this[0],a?f(a):this.parent().children());return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(V(c[0])||V(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=S.call(arguments);O.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!U[a]?f.unique(e):e,(this.length>1||Q.test(d))&&P.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var X=/ jQuery\d+="(?:\d+|null)"/g,Y=/^\s+/,Z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,$=/<([\w:]+)/,_=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};bf.optgroup=bf.option,bf.tbody=bf.tfoot=bf.colgroup=bf.caption=bf.thead,bf.th=bf.td,f.support.htmlSerialize||(bf._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(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,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(X,""):null;if(typeof a=="string"&&!bb.test(a)&&(f.support.leadingWhitespace||!Y.test(a))&&!bf[($.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Z,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j -)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bi(a,d),e=bj(a),g=bj(d);for(h=0;e[h];++h)bi(e[h],g[h])}if(b){bh(a,d);if(c){e=bj(a),g=bj(d);for(h=0;e[h];++h)bh(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!ba.test(k))k=b.createTextNode(k);else{k=k.replace(Z,"<$1>");var l=($.exec(k)||["",""])[1].toLowerCase(),m=bf[l]||bf._default,n=m[0],o=b.createElement("div");o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=_.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&Y.test(k)&&o.insertBefore(b.createTextNode(Y.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bo.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle;c.zoom=1;var e=f.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d&&d.filter||c.filter||"";c.filter=bn.test(g)?g.replace(bn,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bx(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(by=function(a,c){var d,e,g;c=c.replace(bp,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bz=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bq.test(d)&&br.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bx=by||bz,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bB=/%20/g,bC=/\[\]$/,bD=/\r?\n/g,bE=/#.*$/,bF=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bG=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bH=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,bI=/^(?:GET|HEAD)$/,bJ=/^\/\//,bK=/\?/,bL=/)<[^<]*)*<\/script>/gi,bM=/^(?:select|textarea)/i,bN=/\s+/,bO=/([?&])_=[^&]*/,bP=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bQ=f.fn.load,bR={},bS={},bT,bU;try{bT=e.href}catch(bV){bT=c.createElement("a"),bT.href="",bT=bT.href}bU=bP.exec(bT.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bQ)return bQ.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bL,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bM.test(this.nodeName)||bG.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bD,"\r\n")}}):{name:b.name,value:c.replace(bD,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?f.extend(!0,a,f.ajaxSettings,b):(b=a,a=f.extend(!0,f.ajaxSettings,b));for(var c in{context:1,url:1})c in b?a[c]=b[c]:c in f.ajaxSettings&&(a[c]=f.ajaxSettings[c]);return a},ajaxSettings:{url:bT,isLocal:bH.test(bU[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML}},ajaxPrefilter:bW(bR),ajaxTransport:bW(bS),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a?4:0;var o,r,u,w=l?bZ(d,v,l):b,x,y;if(a>=200&&a<300||a===304){if(d.ifModified){if(x=v.getResponseHeader("Last-Modified"))f.lastModified[k]=x;if(y=v.getResponseHeader("Etag"))f.etag[k]=y}if(a===304)c="notmodified",o=!0;else try{r=b$(d,w),c="success",o=!0}catch(z){c="parsererror",u=z}}else{u=c;if(!c||a)c="error",a<0&&(a=0)}v.status=a,v.statusText=c,o?h.resolveWith(e,[r,c,v]):h.rejectWith(e,[v,c,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.resolveWith(e,[v,c]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f._Deferred(),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bF.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.done,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bE,"").replace(bJ,bU[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bN),d.crossDomain==null&&(r=bP.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bU[1]&&r[2]==bU[2]&&(r[3]||(r[1]==="http:"?80:443))==(bU[3]||(bU[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bX(bR,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bI.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bK.test(d.url)?"&":"?")+d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bO,"$1_="+x);d.url=y+(y===d.url?(bK.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bX(bS,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){status<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)bY(g,a[g],c,e);return d.join("&").replace(bB,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var b_=f.now(),ca=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+b_++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ca.test(b.url)||e&&ca.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ca,l),b.url===j&&(e&&(k=k.replace(ca,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cb=a.ActiveXObject?function(){for(var a in cd)cd[a](0,1)}:!1,cc=0,cd;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ce()||cf()}:ce,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cb&&delete cd[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cc,cb&&(cd||(cd={},f(a).unload(cb)),cd[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cg={},ch,ci,cj=/^(?:toggle|show|hide)$/,ck=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cl,cm=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cn,co=a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cr("show",3),a,b,c);for(var g=0,h=this.length;g=e.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),e.animatedProperties[this.prop]=!0;for(g in e.animatedProperties)e.animatedProperties[g]!==!0&&(c=!1);if(c){e.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){d.style["overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hide||e.show)for(var i in e.animatedProperties)f.style(d,i,e.orig[i]);e.complete.call(d)}return!1}e.duration==Infinity?this.now=b:(h=b-this.startTime,this.state=h/e.duration,this.pos=f.easing[e.animatedProperties[this.prop]](this.state,h,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){for(var a=f.timers,b=0;b
";f.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),d=b.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,this.doesNotAddBorder=e.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,e.style.position="fixed",e.style.top="20px",this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),f.offset.initialize=f.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.offset.initialize(),f.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cu.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cu.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cv(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cv(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a&&a.style?parseFloat(f.css(a,d,"padding")):null},f.fn["outer"+c]=function(a){var b=this[0];return b&&b.style?parseFloat(f.css(b,d,a?"margin":"border")):null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var h=f.css(e,d),i=parseFloat(h);return f.isNaN(i)?h:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window); \ No newline at end of file diff --git a/resources/library/interactivities/BlackYellow.wgt/scripts/jquery.disable.text.select.js b/resources/library/interactivities/BlackYellow.wgt/scripts/jquery.disable.text.select.js deleted file mode 100644 index 2e06f673..00000000 --- a/resources/library/interactivities/BlackYellow.wgt/scripts/jquery.disable.text.select.js +++ /dev/null @@ -1,62 +0,0 @@ -/** - * .disableTextSelect - Disable Text Select Plugin - * - * Version: 1.1 - * Updated: 2007-11-28 - * - * Used to stop users from selecting text - * - * Copyright (c) 2007 James Dempster (letssurf@gmail.com, http://www.jdempster.com/category/jquery/disabletextselect/) - * - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - **/ - -/** - * Requirements: - * - jQuery (John Resig, http://www.jquery.com/) - **/ -(function($) { - if ($.browser.mozilla) { - $.fn.disableTextSelect = function() { - return this.each(function() { - $(this).css({ - 'MozUserSelect' : 'none' - }); - }); - }; - $.fn.enableTextSelect = function() { - return this.each(function() { - $(this).css({ - 'MozUserSelect' : '' - }); - }); - }; - } else if ($.browser.msie) { - $.fn.disableTextSelect = function() { - return this.each(function() { - $(this).bind('selectstart.disableTextSelect', function() { - return false; - }); - }); - }; - $.fn.enableTextSelect = function() { - return this.each(function() { - $(this).unbind('selectstart.disableTextSelect'); - }); - }; - } else { - $.fn.disableTextSelect = function() { - return this.each(function() { - $(this).bind('mousedown.disableTextSelect', function() { - return false; - }); - }); - }; - $.fn.enableTextSelect = function() { - return this.each(function() { - $(this).unbind('mousedown.disableTextSelect'); - }); - }; - } -})(jQuery); \ No newline at end of file diff --git a/resources/library/interactivities/Choisir.wgt/config.xml b/resources/library/interactivities/Choisir.wgt/config.xml deleted file mode 100644 index b897c8b0..00000000 --- a/resources/library/interactivities/Choisir.wgt/config.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - Choisir - Mnemis SA - Choisir widget - - - diff --git a/resources/library/interactivities/Choisir.wgt/css/basic.css b/resources/library/interactivities/Choisir.wgt/css/basic.css deleted file mode 100644 index 8d0f8e36..00000000 --- a/resources/library/interactivities/Choisir.wgt/css/basic.css +++ /dev/null @@ -1,371 +0,0 @@ -/* - Document : basic - Created on : Sep 5, 2011, 12:01:33 PM - Author : GEG.BY - Description: - Purpose of the stylesheet follows. -*/ - -/* - TODO customize this sample style - Syntax recommendation http://www.w3.org/TR/REC-CSS2/ -*/ - -body{ - padding: 3px; - margin: 0 auto; - height: auto; - background-color: white; -} - -.toggleButton{ - width: 20px; - height: 28px; - border: none; - background-image: url(../images/greySquare.png); - font-weight: bold; - font-family: Verdana; - color: #00C6FF;; - cursor: pointer; -} - -.buttonDiv{ - position: fixed; - float: right; - z-index: 1; -} - -.addQstDiv{ - float: left; - padding: 5px; - margin: 2px; - font-family: Verdana,Arial,Helvetica,sans-serif; - font-size: large; -} - -.addQstButton{ - margin: 0; - border: none; - background: none; - color: #99ccff; - cursor: pointer; -} - -#addQsqSpan1{ - font-size: 30px; - margin-right: 10px !important; -} - -.qstDiv{ - width: 90%; - margin: 2px auto; - padding: 5px; - float: left; - font-family: Verdana,Arial,Helvetica,sans-serif; -} - -.qstDivDisplay{ - width: 90%; - margin: 5px 5%; - padding: 5px; - float: left; - font-family: Verdana,Arial,Helvetica,sans-serif; - border: 2px solid #cccccc; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; - -moz-box-shadow: #dadada -1px 0 4px; - -webkit-box-shadow: #dadada -1px 0 4px; - box-shadow: #dadada -1px 0 4px; -} - -.spanOptConn{ - float: left; - width: 100%; -} - -.qstNumber{ - float: left; - font-size: 30px; - margin-left: 10px !important; - color: #00C6FF; -} - -.qstOptions{ - float: right; -} - -.changeOptions{ - border: none; - background-image: url(../images/grayClose.png); - background-color: white; - background-repeat: no-repeat; - background-position: 0 50%; - width: auto; - padding-left: 18px; - color: #00C6FF; - cursor: pointer; -} - -.applyChanges{ - border: none; - background-image: url(../images/blueClose.png); - background-color: white; - background-repeat: no-repeat; - background-position: 0 50%; - width: auto; - padding-left: 18px; - color: #00C6FF; - cursor: pointer; -} - -.qstDelete{ - border: none; - background-image: url(../images/boldClose.png); - background-color: white; - background-repeat: no-repeat; - background-position: 0 50%; - width: auto; - padding-left: 28px; - line-height: 35px; - cursor: pointer; -} - -.qstContent{ - float: left; - padding: 3px; - margin-left: 10px; - margin-bottom: 10px; - width: 95%; - font-family: Verdana,Arial,Helvetica,sans-serif; - font-size: small; - border: 3px solid #ccc; - -webkit-border-radius: 5px; - border-radius: 5px; - -moz-box-shadow: #dadada -1px 0 4px; - -webkit-box-shadow: #dadada -1px 0 4px; - box-shadow: #dadada -1px 0 4px; -} - -.qstContentDisplay{ - float: left; - padding: 5px; - margin: 10px; - width: 100%; - font-family: Verdana,Arial,Helvetica,sans-serif; - color:#333333; -} - -.ansDiv{ - float: left; - margin-left: 100px; - width: 80%; -} - -.ansAdd{ - border: none; - background: url(../images/blueClose.png) -0px -0px no-repeat; - background-color: white; - width: auto; - padding-left: 20px; - line-height: 24px; - color: #99ccff; - cursor: pointer; -} - -.newAnswer{ - float: left; - width: 100%; - margin: 3px; - -webkit-border-radius: 5px; - border-radius: 5px; -} - -.ansSpan{ - border: none; - background-color: white; - color: #00C6FF; - font-size: 14px; - float: left; - margin: 0 3px; - width: 20px; -} - -.ansSpanDisplay{ - color: #00C6FF; - font-size: 14px; - float: left; -} - -.ansContent{ - padding: 1px 3px 3px 3px; - margin-left: 5px; - font-family: Verdana,Arial,Helvetica,sans-serif; - font-size: small; - width: 80%; - float: left; - border: 3px solid #ccc; - -webkit-border-radius: 5px; - border-radius: 5px; - -moz-box-shadow: #dadada -1px 0 4px; - -webkit-box-shadow: #dadada -1px 0 4px; - box-shadow: #dadada -1px 0 4px; -} - -.ansContentDisplay{ - padding: 1px 3px 3px 3px; - margin-left: 5px; - font-family: Verdana,Arial,Helvetica,sans-serif; - font-size: small; - width: 80%; - float: left; - -webkit-border-radius: 5px; - border-radius: 5px; -} - -.ansDelete{ - float: left; - border: none; - background-image: url(../images/boldGreyClose.png); - background-color: white; - background-repeat: no-repeat; - background-position: 0 50%; - cursor: pointer; - margin: 0 5px; -} - -.qstOptChoice{ - width: 80%; - margin: 10px 10%; - float: left; - background-color: #F3F3F2; - border-top-width: 1px; - border-right-width: 1px; - border-bottom-width: 1px; - border-left-width: 1px; - border-top-style: solid; - border-right-style: solid; - border-bottom-style: solid; - border-left-style: solid; - border-top-color: #ECECEB; - border-right-color: #ECECEB; - border-bottom-color: #ECECEB; - border-left-color: #ECECEB; - border-top-left-radius: 5px 5px; - border-top-right-radius: 5px 5px; - border-bottom-right-radius: 5px 5px; - border-bottom-left-radius: 5px 5px; - -webkit-box-shadow: #dededd 0 0 2px inset; - padding: 0; -} - -.optDescImg{ - padding: 2px; - margin: 5px; - background: url(../images/tool.png) -0px -0px no-repeat; - float: left; - margin-left: 20px; - width: 56px; - height: 51px; -} - -.optDescText{ - text-align: center; - width: 70%; - color: #666666; - float: left; - font-size: small; - font-family: Verdana,Arial,Helvetica,sans-serif; - margin: 3px 5px; - padding: 5px; -} - -.type{ - float: left; - margin: 10px; - padding: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; - -moz-box-shadow: #dadada -1px 0 4px; - -webkit-box-shadow: #dadada -1px 0 4px; - box-shadow: #dadada -1px 0 4px; -} - -.contentType{ - width: 100%; - padding: 0; - margin: 0; - background-color: white; - border-bottom: 1px solid #DFDFDE; - border-top-left-radius: 5px 5px; - border-top-right-radius: 5px 5px; -} - -.divType1, .divType2, .divType3 { - width: 122px; - height: 97px; - padding: 0 15px; - margin-left: 30px; -} - -.divType1{ - background: url(../images/1thOption.png)-0px -0px no-repeat; -} - -.divType2{ - background: url(../images/2thOption.png)-0px -0px no-repeat; -} - -.divType3{ - background: url(../images/3thOption.png)-0px -0px no-repeat; -} - -.textType{ - width: 160px; - font-size: small; - font-family: Verdana,Arial,Helvetica,sans-serif; - color: #666; - padding: 3px; - margin-left: 20px; -} - -.radioDiv{ - background-color: #F5F5F5; - border-top: 1px solid white; - width: 100%; - padding: 0; - margin: 0; - height: 30px; - border-bottom-right-radius: 5px 5px; - border-bottom-left-radius: 5px 5px; -} - -.radioType{ - float: right; - margin: 2px; - padding: 3px; -} - -.popupWordInfo{ - position: absolute; - display: none; - width: 100px; - height: 20px; - top: 0; - left: 0; - text-align: center; - border: 1px solid #B9B9B9; - background-color: #eaebeb; - color: #666; - -webkit-border-radius: 5px; - border-radius: 5px; - -webkit-box-shadow: #dadada -1px 0 4px; - box-shadow: #dadada -1px 0 4px; - z-index: 100; -} - -#answerText{ - padding: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} \ No newline at end of file diff --git a/resources/library/interactivities/Choisir.wgt/icon.png b/resources/library/interactivities/Choisir.wgt/icon.png deleted file mode 100644 index 2f8558973deb43c9d8c4c2c5fa58123de374d2d5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2180 zcmd5-`#aN%AO9?L$R%=)kZ+wGi8c;_+sCW2dDD2^L2w)!=9stpH340g>@q#=Id>PRTu?7GT z!_&>jaesebEEe;43p5&SVS&3Q6#n?}V{dP7cXxMfZEbyheS3RbB9ZX<{MFUfot+(# zNYvciED#8IJl@jM(&FOc=H}+s*4Dzp!p6qN%*@Q_=%`RA?C$QKo}T7#I3pt?LqkIi z4GoQrjmyi+TrPKZc9uvaj*pL1D3spb-j$V=si~>S$;tly{^8-_wzf7Fi`CWD)zs89 zHa3RC;qvnG%F4?6`ughY>*;j*+}s?S&7PQ;=;`U9QmJ)ybuBF|OeXW|*RR#p)g2uj z-@kt^C@8?=@$>WZWHPzEy?tke;4iQBhG;RFsyM zR$5w0B9Xp*`-VoNkw|21ZEbOJaejV&O-&7-znGeunw_1EKp=8*axybBv$C?v%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Q`w51-H^$;2%?75X0OwjE{rl(Nt&AZ$X^*pC&CdncANC!Uxd_t>H9_SBkC8!Ws@nPgy*fK7YaK#d#QxG-OtLC?SMGCXvWKnyO=IIG yiP@gto&FW}VPo}{O=esWY3QQy2jWaP=rEAlL%vh*;0->=62QgL{Tj*v{O-TNxb(OH diff --git a/resources/library/interactivities/Choisir.wgt/images/1thOption.png b/resources/library/interactivities/Choisir.wgt/images/1thOption.png deleted file mode 100644 index d27ade6e89d296854595008b35a5db885309939d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3447 zcmV--4T$oIP)Nkl z+i%-ep2yGOO(H2#vUT@OG3BkL#2z>?&?cx~lAm-dr=E4txz&boUJpA#;!ymurLTs8Q zLa5j4ot>RYlBB9Ca+w@7P5XSlNF?I-`w>FeG|h6ke0Fvgi^VvOqbSPh8opO(nkLKg z>FH@C5}BEqp?bYuqtOsWkt9i{>-HW(QIsGEJkJ-4MW4@y3xxv5ae^Q?U9tC^Uau!f z64C8;eLkPlm3jZ+dA{5261uJv1mSdL-hT*!Fbu;rw5_=2wiVahwlc{mJD1BH9UZ}o zQaBt=BoYe?3ll8=x9D^_Po6wUr_-raY9a;Za=AjG0Dp(W;dDA32m~flGR|hRnM~&O z3wrY83C1{`PS4NJBZQtleY&@|mrAA5>GbOtehx6l{rmT6nnnl_1mX31RaKqTD=|&e zP%=X3@#Dv>R_pHFyH?8Y=IPU?lkx6cE;kqq?%lh`FpMnA2%)8=C5-Xz?ru074u``N zIf?~@QW#_SX&43^bW)68xy8lBTCLV-G~)62>z6zka~~ZY&CkzM6s7Arq^PQzN~QAo ze6?B)hr_C>K79Bvkx1OSbqg{)eE5*#xQ&es_*p0va=9ErC=dv&uC7`)@Amd~rBZ>v zH#Rl`fq-?VfA`&Y2%-D;@5{1$t}!VT3WY)eOt!GFu)4ZBew16cZdEE3DE5U-P@~a6 z2r&#Z5kpPD+?`HGRaKT{LG7|oRh8%YdcBT*^~CW2A7gC&+}+)6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!0000$_79>FMcN!dkMWr9~~#$E{ZDFM@Wv zySwB4{rzHKU_dyXPSM`pt}r5C_ll5?j*ciGT3cJ2N=;FZ>}7ydDH@GFYi@2n7#QjAIv%V1_Sj_KnXz{&CP@oz$iDE8XU z-ADlzh(sdqA=J;JlHsOQpU=0QNF)}|GAaMCVA$N;e1tR6SPDxkx2C2hZFP0^2?Jl) zvD4Gjw{ew89x{6bZNW1-XY@BTG^9sIM;}y#pt07`r3U~hxFKGvC^lWGAqcaQ@jP-E zZfKP{E{hMd?GtlRaJb1j4n``E{0DV8ynln<#OSZlM_E$ z<1IF&2%%BSJqVzplAjWsyO_l3WE6t1L5E~AnR(t0%yfKwd<9Lb!w8|4d+<*nBWOaJ znVETo#Vksb3#q2j_FL%oQ0WyHV7^c&^aj%mkD{Q@;JJL3;_-N3YHI2uZcN4DsSv&f wBv`3W2s=7Dy1cx+`~sOM%mk3Hu~_WJU(!%%N&!YY$^ZZW07*qoM6N<$f~W3vW&i*H diff --git a/resources/library/interactivities/Choisir.wgt/images/blueClose.png b/resources/library/interactivities/Choisir.wgt/images/blueClose.png deleted file mode 100644 index 89ebf61957099d555a343c3bb4509a24560b73ff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 275 zcmV+u0qp*XP)2}Wh1jax%`33=8OnUwMf6t4ba9sQ7>;Jf`Z^0PEMwSDq#p+6Mc-;N` zKmPiAIF14u;D6y27=zfzav-%>4brTcFbA9SJKP)Tc%LPA1;0SZJ!M5KUXi<& zSy@(5QBhn_P;iH|wDc=3F0Rj6Sy?R%$BrFyR##WQr=+BG52*Nwn3&iuadGjjKt)f1 zn(hMe!+rbq`GKuDa^y&~o}S(fd3pKUKm`w^q@*4wC@9?0)YQDSW5P000>X0ssI2ON$aT00009a7bBm002}+ z002}+0sAk$dH?_dlSxEDRCt`_l)X>uFcih@7^9@6ABYB!=tRlJ0xA+nh>8E25s9TM z5<{sHkZ6e2w22cM+l}ovSjsDTh2e?eN$(DktgD>-?(w;ST5Iq_W&M=Uf1v4LTfFAa2zL&<1|gR)(9caxs(zBfH9_&a?ZE6w>NWXty`_u)6)}#uq;a< z#K*@606++#lwyoA##XBpgm5~Ya?ZE5KB2%`?g=3e4-XK+e!s7j0sue=Ez2@E004wg zk|a?SU0hrY1_KD;ms(1x>2x|8jQ{}q`}-9ygwQ;*ETfd3o}PN1SG&i$763p>8HVBg z{e8FFbsWdg89=Rd7=~wOXD25o>rQR(zM7)hY#tpQ8H3h8h7fXHcV}nkPod3Pd7k^e zUzR23yn?E#(P#ug;5d%!y0un)#yrm-A0Oj5UM`oF_myAf*lactLg(k_m7%8USsjnZ zVHle1m?&gf76id;Hj`4WRx8eVk|aWi(P&houFv@V{4Awpj2U+*r5NMka7YN5&*$xS zyDUosSQG_gtkGy}=2A*omPIKwnaZ*ZLU?(3d3AMleSO{Q^#~!Rwb9Mb!G&-z82G-= z7*k4hI-T3w+vDS7jInLoH#awTcXz(;V~nMg!{M-Yn|1Fw=f3X;L4Yy#Jg?vHTh?#( z*=#l*kLUCG!NGy&d7Vz@J1sM*SvrjI`icMmwAN)=Dy0xYwPoC__1E>U{_lSQqpPar Tz0hM?00000NkvXXu0mjfy9``2 diff --git a/resources/library/interactivities/Choisir.wgt/images/boldGreyClose.png b/resources/library/interactivities/Choisir.wgt/images/boldGreyClose.png deleted file mode 100644 index 6008c3bcd21819b7fef0a23cb36114f8abfbaa34..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 414 zcmV;P0b%}$P)*%xiu;!Ab#X& zZ=eJf*6_E!6*pzcRy^PL=S7B3O~GuXr36vw?pjf9HLu`(YYbnV%#9G56IpZ)P~U37 zT>(_pT09ICS)K|RhQUUfp!-4+3vRM9A_rJOu`*8^6EN!fn^7-lXEbyn1-KbE`>$X; zl3=~P(P%X5;a+gZ2zoC7g!V4zl_~iNbTH%42J|WwoQB(Ob#2MxPnWtj;#zCE2re@P zPmWy%5PU!l3YqS^)irXSG_4UA#;~QS&|I)0v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dFAc5 z-y&pgzum3!^5r6nx;59MG_RMg-5Ru0tRrJ>s8{8>?>ldvd0w2p|8}VKq#b1|1Q<_m zvXS}L_vNo`Mb%@0fY|RE|Jz&AlornP$WRlS)kz%F!sV(2(~0MaZ#h={GE-3yZCUtu zmrKgpz26T0liHNB_G%QnE>R7Z%<4IQhI;jPQ$5JZGZfEhb@kjKw z_%54l;v0T?>HFUt458Ud6J9+3ea_W|A#&Q?BZcelzc1UBC{f4A>fW9hw(N2NFb)_z MUHx3vIVCg!03ZOun*aa+ diff --git a/resources/library/interactivities/Choisir.wgt/images/greySquareArrow.png b/resources/library/interactivities/Choisir.wgt/images/greySquareArrow.png deleted file mode 100644 index 4896a5581eda8ba2fc1fdbefe99b39d328b7a4bb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2098 zcmV-22+jA2P)VhCsDS%DQ_2*jwMgoq{t3O2Rh z>$t;Pq{*5&tIr9@w!QvK&)DbhFc!gJ*AP--u|R|!fp_@-<*a@F4r8+zECrj|e`$Y* zw=hDWV3P`@D+?u@+=hPGTi+L$t;PP?~5r zRk|RfrYB_EUjNjK!Y+S@F)f2NE1=wI?s3L;OBb?)%dV`=g5Y!rc*sux*>y{(evJiV}%rB0;SssMiSU&&;UB1T&x0ZVoc5Be1j5z>HcX zw}_nwl-$xSA*h0uWJM>MlL%@ZL9HgJ6$G_}pb`iwj-a9lDhxX+b*xzl%672RfQn+U z7rx2GCxrA#OA=wNXJ)-lP%8;)DM7tTP;&_?2D@vFEaZBE3ScpxhbU(P6=@Ru?5Fap zw~Ub1Qfmlm74n*w6VyT+ZivT$x>$k=C#Ya%)J%e!#=136?wLCms2qzCX_v-vIzoGMZ$??Y!>8w*R_^8o{ zLk)UnTL3}%aCzWGP@a5#GV4?*r)3ng&B*r}c#XxGD`v#!_C{%BG89=gdMx|s33)oRq+3rz8Nl+Rk1-%0Bp3gR8Ds^N zLO^d3(54FlZVpny4)+~2UzdsS$C}!kv?5rAs^vXeOk3&{zs65gt<-2=3)*^GO z=oiAkc9-grQ8NVFDqIQ33TAuNeb`auik;QBsj4TkY9B>z{RrgLJ&oP9Lpl8h@;V0l z%OeTNrP;7U3~KvD?xc*>!z7CHq-&%pL7*d%;s?dWr>peY#p8XiYZ{ew8r*dK?Q9>L+}N0qDW z%ke#ReQ~I97*1UY$Ev(vBgiDeg)^DXBo=NccmjoA1>xA`VfgsUU>v{t6!Ke#D_7b7 zuw?)aH$90{tuv8wa+o|NUhhL25=eRDNl$qI-YYF4qjefqkVn68~pwKZfRx);!XwpAdNq?iTtva8F2B&JQV#y zhvFMLoWBu>v)8Ag__`4}Wg*ZeJpzr^@6Koc$wq-RdGe$w0RjH)T|d+T z$qGsn>;vtl2a#8^7&YImLgjb!QU1?YP;oN>$7>fs`*vT&NAcBkUr-&AYzWIo`1*P` z{j~FKkYttwO@k(4BDAUZqww;ZX#9R7>Te~Yuq6@NExn+L_Jl_7YxTVYR$#Z4udh#w z2(&kwvkH+KxQv16ezdfk>)-5-?He+i29i5a7h z_dxK1Q3y^LiJ-Lu6v?(6)5jB5?`9#B6j=DHcyObMGzSj?K}=b?!iYn5!vF-}dzNBTO*m(PAsKQ8DJgyAJ?Et>U$ zRk9uWk`0pM6!Lom)d_2cb!y3iEx}01wj7i9Iv_b0C{-#b6_g4}1*L*gL8+irsi0I) zDkv3{3Q7g#+@OB?a6wh);etGhQDN9|TqO_p0@SSf`2*0-BXwWzrT~Ax?^QT9Kx84A cbR4Pw8}eUe*|czycmMzZ07*qoM6N<$f~=5&r_K5^|KXvVkN*n`Kl<0+-r8j79G$H^hgqznzuQ&R;aLw?fIEZogy>n)0j%fd nTDD0AZdk$M8sSxRsh(lN#5Z2=96VnG4QKFl^>bP0l+XkK@L4oA diff --git a/resources/library/interactivities/Choisir.wgt/images/lessBottomBorder.png b/resources/library/interactivities/Choisir.wgt/images/lessBottomBorder.png deleted file mode 100644 index f38419c103042ae65eddeac2832842a660d7d9e5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 262 zcmV+h0r~!kP)Y6tM6NaH!<2cGRO#lGEQGMUbuj_B4m#3XHO*2Ox006kDs;W8gQ50Ql;E#4v6om}K zzySdO;GnMSB+Ihp3x02sBw6dj-7e&LE_GcKdH?_%(YCFWWhrTz&T$Wd;A)l;$MIGd zZ_EF9007_~jr-a6{f+q_p69J}0|U@8f;8@AjHQ*KA+|1IVxl3G#Lx-PcSIT|;F9l`d<2f} zn#WorwL9}KNs_I;ys=3{L`41;MbSA7!_73@gCJPz z;@!O{ib9&Ekzp7F001ms+qP0wm1J2q5Bcjf;PvL{7Rs`eaU9tx002DHb)DpSKA-0I zMlVnI;JyF=0D!;hx}FBSwf17>|Mr~T0RZq@-}mzg{{01v=wG286aZuZ0000=2hSqO`h@dxJc&d?j^pV0=}C;S*Ec#cq{Y%#{oVYjlfzwIouBCD z`V0U70BCyWl>?>IY3spb0`cAk;&t_s3SjJwjgJm%`NzDr{%puS+Ew*}Km-5)Kx>$r zoooc+nhnHKJRaBQPajpQ)hGeRUfJ~2m{wOx+S&T0)8jn?5dZ)HEx|Q++y4H(dLU*p znL$rD98Q=(ytS{0y*)juoVt2^e4q#z`)}XA%xGhMS^GPis<>rUFJ1mn0002cv<}PL znw_3dSJ#I|9R5xwlWjH-J0g)txA~$Ri^XIk$ z{06*R_6*pwKpX-90HBp*v)OwSh6{y4VL(!wjYI1nSyxIb#oce400000NkvXXu0mjf DZJ^gl diff --git a/resources/library/interactivities/Choisir.wgt/images/lowerBorder2.png b/resources/library/interactivities/Choisir.wgt/images/lowerBorder2.png deleted file mode 100644 index 1a06a16a6d9897283dd0ae41ab3cdd3507c4cac1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 261 zcmV+g0s8)lP)JsDnx-=M)BuSDa=^AAVW)qhG>dRYw`B|?|2PH|8BuQ`E^R@kMe>dST#(hWrN9M3%00000 LNkvXXu0mjfl#y_( diff --git a/resources/library/interactivities/Choisir.wgt/images/niceBack.png b/resources/library/interactivities/Choisir.wgt/images/niceBack.png deleted file mode 100644 index 57a32ebe3156bac1ee605e16fc8af05710553550..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1582 zcmeAS@N?(olHy`uVBq!ia0y~yVEh8aB^+!(k*jH^fdZ^wJzX3_DsH{KY95pwDB=?M z%-+oAP&NM{Zv~sbljm#HAGF;b7QU9VWRrMOT3XuE?GKoYjg1}6p~Pm#rhnhRi!&@R zb7W@#A{JQ&ff5FX3yeU7;6sEO9yb5`{ac!_+66lo{QvWZg<*v+R&$`{R&oFO{=J-` z;TF(NxV0cTxHA&;Uc|@8Gcsfemq1+wm4hp9*twv-u8s|tO%008|2}>c#OdNTo?pLz zS7UdA6xXjDGj4`}*$bE(7BDk3@iA~%F(|wMAqQv2`s!-ja<#R*xb)5UTaMj785%Dp zpHyLR$OT#iw+m=7$ZlTNzfYg4V#+z#I|6;rhs&<|swyr_xeNXmK>pB+}~_wU|~GZ^Iik7M!bFV0_Y-{xWlc|%=OU2(B6 zW>hVhzW|sB*fFE{h5C!|@Njf1{;~i4^vMXjV|VP}z#1Os&!5L09-B9B#vUGDzL;RO z!rs!76VnPvlCih5!xB}%=;-h3W5OC8hYugdZvBG?3RtbbfB!x|F6-~#zKtcSfYz6n zmt*lgFtJ|T_Qlh?z7%nI4!Mj~#QvE(a_P zB#d6Xe*GFfEx-$wgcA$auU*TEnT8+*8_0rZP5XB3lEO@Wh;ncS_pei@yl^@JV$_1| z3-tB%v7}anO%PXQ=)Lgv_QvUAsI`!yP{Qs-cXu~j?E=>S44-ws%ddDZvIbZWFnGH9 KxvXge-&v5uy-CkXO*61{JjM1jC|01qq6RR)@IM1^9}s4;fK3AyC{! z#HUXwMyVJTS)NO+Mi`(~tKvhUM6JfejR+{CB2*CVFZKO1Gv9o3&+p!I&pES2H7i=k zcjp6uFg7M?HUMr!&mCM2y1vgSAOX1dW23^8sCzFST>57COfg4Q|ItS*f5nN~EFLBJ z$DUKh;&I+jN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%Gl^r!0u0oLexa;Bzs>8@VyM;OoOu7%idLa!}SG zCxLis!9s#;j+z57T1qIAr}l0|ETvYvNz{Z@}fqrYzecaE*ckNgWD-O<8J*UI^Of~DT3J4KSOm}aPqa4Bgm0m@ z?SM3KP==>kX~{KCEfE-I;r& z4RLU%HTx9y8vF>eqW=&<9&EV4()TPy-i_ehNkx4*O+*xnY0#%wvNU-^--qDHn1vG% zL>?os{S!4o@OgQ<5Y1=r=KO+JKkL@mjlrI(oCdw_rZLRtPO25^g!A?2NKL=Lc7)cn zr_^ut)p-~D98|TL#y_;@p3<+I){S=;YD+Z-HduX9-ZSdtx>BrYQ z^d}0BJd1E3>xX-QQePQp&5FF$){V6VYLeYS{9U4CIWmlluRMAE5shRa^}%ec}+bG7PH$^E$n7D=umYY3P&}xzi|I;%y!ZK zYpsL<)>2bpln-1d14Bsu{v-UZsG?!TA?{VR`U(Xdu Rbtt$1VyDlFs)|tO{RLwZouU8$ diff --git a/resources/library/interactivities/Choisir.wgt/images/niceBack3.png b/resources/library/interactivities/Choisir.wgt/images/niceBack3.png deleted file mode 100644 index 597ab0a34a334a6eef384ca59ad4bc9f27a08436..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2193 zcmXw4dsGu=7QZvekdTlNMGQocL@ho`Qh|z~O9Du>2*gLX2pFU83IbMER!mL73HZQ8 zRz$X@Y84;s$sW+)uBg=@W3&`;d8iSn2o7ou@-S%)NI`VJz}Y`0XU@so``!C{eFv3s zpYb>%4gm00ERR|ZfSb^}mFEEiD$hc*OB*y~?FY^W`)lcmX+O@7}ng zJ2y%YtW{EjFKfE|5Y^Yha`;(Jiw^v2Fx|`r z(pCD^eSdIHfC!YraI`ynvPQdoOCvr=iXyjR{w7*n%}0ab*AmF3BsJfj7S+l^pb}yQ z7sRU9f!##1>Oxz8-}O5;D*h-va;i;LxA*Gse*Nfo!M^gt#Ha#6BVX=`n3w?RnA?V{ z!wm##fz{e@1lpOeYA`^%2xs*X?LV(q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7LdBPju+R~pFCaNS8*?U&#s53S}U$}E?HP?ZOpe)T8upS9zUzU Uz};y~LIeV=SQZy`F+!d9KUQCNg#Z8m diff --git a/resources/library/interactivities/Choisir.wgt/images/pencil.png b/resources/library/interactivities/Choisir.wgt/images/pencil.png deleted file mode 100644 index 70bb4de0c97954c40b6390f575db91d0d11a5490..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 905 zcmV;419tq0P)UY{&EcgGT{IC2g>JkOnjvPh0zpcJIkAjL)F784&Jl`=r^!5@ zrYSm|k^@7w={(NE=2oUTCL{DJe0tsw2@Eg4d1DX!c)wkY|8ss{AD{nrp6zmceEj`8 zXlJGv930FW85z+X9v;HM!NE~!X=%k-h=%L+`mY|32kdq`I2;bx-`|Jq>};9WL|H5r zXLxwn;C8!VeSIA^HZ~|+E*I3*)qM#H3gUZ3SSppuNp!2Lt6;TSDRy>tptG~{TU1ok z8-u}M$;`~mrd#)7dU|@r?(QxuEiF-yG!G38?TJL9k63dXabkOW`zRwLgNR?GOPIms zawUUKY&QEAUBVZT>wG>xzo)0i)!yFz z10yY~tgM`NI-OuN8mZK4wOUt9OiXD}QIR?)CnuLq@o;~C|3{ILkpsxw$z=NJx;-wpKlZP$-~FoQ#YRBY$09UjCCr*VWZU)+u$8-*UNp5tmRwRaKP<9njFZ z-H7r0{QREg=H{*q3=DuqqoJaeNF;i6D!-|z$%g9{@O0y)6HWJC=i#VHWipwSG*(tt z))GdV-_p{uMVvrU%9+^M*yrB3%)(LpSyEEcDAx2tLqmguq#PR%@EbZhI*3EPfasZ`&wEH}LMez<~&IUG(&TwL5|yg2OGT)&%}n*lc- z;DwUn%@@;EB$7CQqyz>AmWah-ZC+lUJvlj9<&AXzYnPB~$W7!f@(@?<13Z~$`8+00 fu#WNdIrsJlc^4LjM`S2n00000NkvXXu0mjfU?ZuU diff --git a/resources/library/interactivities/Choisir.wgt/images/point.png b/resources/library/interactivities/Choisir.wgt/images/point.png deleted file mode 100644 index ac32d7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1SF)~zado|_?i+4XNx;w2Z$Sjt!it3DR}xp5c|_@7fuIjWIH)RHbw3G#?|qrTW2 zhd%8R^kp$}6cY2mAygAJOiMi>e;TELai1L-$3E^RD lVVb>o)<3vCW6>uZI8t002ovPDHLkV1o0eUo8Lt diff --git a/resources/library/interactivities/Choisir.wgt/images/reload.jpg b/resources/library/interactivities/Choisir.wgt/images/reload.jpg deleted file mode 100644 index 2cc030a8b2ebf02050f05ae389860fe936168467..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11348 zcmeG?cYGAp)^}!mvgw5o+NML;B-XQdX=FJp`08Pix6TX7Uqv=fMM{5uu#OHaD+;+E^YWotY?c1 z4l+Un5OsyihKVRV5b$@W7!bWhcP0EDMIO&4AQa=<`kSJ+loGtW3X8*HudrBo>H;yZ z#9-E2D(y%l5DHZAFOcwrQk6uh63U?oMEekHx9vl`t$qIwX>GUgwtA?z6hgZG@OnzSWGs9#uWq8k46vk7cx=?X#>JXPZTi&XD{278W9dHG&O%)FIv ze>Q*L@t^L0v}ON^D-Vjx#!RkVRrl4&s}JRwCFPY<7OdWS;MBEdKZN68EuFH7#bih+ z6T*c4bg*D_cmP8*adseS!S4KqCUIoxMcbq~>VhDhU2->yNgBY4mhL$QMy%+hPcM== zh)ZoI{Cf*x+D&ksMO+%yryoi}_jjBqOFXenAzN_(`|)I6eVumldCl1~*onDeyB?XJ zU6FhC-tn*@n3Y_&9Zgc$29DmoQhzdb_5M5PQ2*SUMNe;Eu8f#@L6dOQg<`Hhext{; zNt#}+Gp^h0OYQ4L94|nMR80;&ikd863U&Y#FM%TTZ&Z^D-W|NHB1d7>CX*|-rG&t$ z*OPT@7hs>jTELJ`42FzGr@2)IQ9aUbQ*~eWT0nT~FV$l-#q)00NSff*qI*#^a*b6{ zlAYV?-N`!b9#!X15CG;Lod;Eil}F0J-GeM1)Jh~VoYH(iqF_ZrSs8GQ0AbBT!CENG z7Aqu9NIPWx4(*JhE@nMNn{rQ8o7*QADa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K75 h@7Minw>bK}800eFSbBY$W(hQx!PC{xWt~$(69DWCF984m diff --git a/resources/library/interactivities/Choisir.wgt/images/separator.png b/resources/library/interactivities/Choisir.wgt/images/separator.png deleted file mode 100644 index 3cc01317787629425ae61bbaa9cb168699572a01..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 73 zcmeAS@N?(olHy`uVBq!ia0vp^j6f{I!3HE3#9loEqy#)&978H@C3Em||2=PD!NFiV W*+Q0?hcg){$KdJe=d#Wzp$P!@a1VX} diff --git a/resources/library/interactivities/Choisir.wgt/images/separator2.png b/resources/library/interactivities/Choisir.wgt/images/separator2.png deleted file mode 100644 index 458b2f832c36ebdcbb4365a197df9fa6594c9d50..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 127 zcmeAS@N?(olHy`uVBq!ia0vp^Oh9bT!3HGN7-w4nDK}3S$B>F!$sL`YKlu;wEbdV} z_=BI7fCqy!m+f czh(o5KhZx!wAKc=0ZnA^boFyt=akR{04j7bF8}}l diff --git a/resources/library/interactivities/Choisir.wgt/images/settings.png b/resources/library/interactivities/Choisir.wgt/images/settings.png deleted file mode 100644 index ed68cc5eb26aff2d6170832562edcc1c3b010d3a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1114 zcmV-g1f~0lP)3sMSPcQO1YqKq4v>q##%gjwI3t5i}AFwB(^Km7*2&!R0|s z>e9OJT6NT^yToDKQKOD)?Spl}w2dW5D|33jpP3;Eu0!ypIq)%e?mhQ@=YIFxbN@@1 z-r8F`!knF*tpWoBr8n8^?CjpXFye%Sge0w2ONWPtl$)Dda#6e%3WZ{3XJ>~tH#cc| zdU{7B61l!n2FO@iTACLX6?MnK!NHo9{j{vCtO10ptE&RgRw|XM+iWf_F0K&~5t04< z{R$5cj~mAFTIT2H|G2-uPg`4CG%+#pE0buk)1{@QR{-+e-CeZ*+TPx#y}dme9v)uc zz~4VVtEJ@!wY9aH_4RdHSXiKyl@;N4et!N~XfzswZ(m>EGbWZArL;^Y`yM-*ot>qb znHdAHIAmU1TNB7$A4jk(`A@h2Mrj=o5b$tuaS;hbQ&Up{K+3y0$j;7QO;1l>Y;0`& z1AQ<1EH5upT3XuAyoAUo;=;nhK1et|K2Bp}V*)An{bp}(|1A&88DVB-X7>{l6V(`l z9{_T-TK!xs7GFCL-(?>kA4yD1O!DaH=)WqJiU1IIbaXs-bacGWJ}wMvh84q}@p)!u z=2H-kjEo3CyP%*z86F-U`61h>tU*CRw>deqb8~YvG&DqmgM$J%t0^`%w)2>Cv-0xt z`UZshIRgU&!tOUVHYhJI53;{=B5`PFX!_*jB=z+42>goG~QpNxY`MzP=AyTU!qhH5Ufz>gp1}_mYy6lNHBB?(grP03W?SfL((; zIy$gVTolcnr} zwD5s1f-EX3+A}vdzr*Xe>XPvCnTwa3o7>k|tf8TS>g(&NuC9()1=30Sj0t{6G9e(0 z!3Tg!a=9D{^`24pSR#?cbAh0mni}lXfU2r0fdB#N|GzwrU{h05Ri~ZnaVE;j%6bCg zii!#Y0ovu|<*xvJm6esmwO#N-UuS10aXt9L7-BKMbWM6}>&Q`0YPY;3;r_V)gPU$?uus%Dg3VO(c?%($vMGYMz)FGwbk@(%yudL5-p zBx~J`_~^8Pai-e+x)OXh?8*@Op#Pu!2Mw4RqS9z%l>h($07*qoM6N<$f~blT00000 diff --git a/resources/library/interactivities/Choisir.wgt/images/sidePoints.png b/resources/library/interactivities/Choisir.wgt/images/sidePoints.png deleted file mode 100644 index 255f589625df0c17686aebac724e374e35831804..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 93 zcmeAS@N?(olHy`uVBq!ia0y~yVD13289CU1ij=T&E97han s=GNy5$gNo5tClo%i8)X~-7bBZiKjS~*+LH;1#%fYUHx3vIVCg!0Pl(z!Tq$fRmFGs8*|BGMVyRF83|Ix`(_$ zSGze|TU%$PQV9x$0#qs$n3tAw}^yldV2by&*zKn?d{cBEEb zt5y{Kl}IE=pnzP7^Gqgl;qiDf$H&J|E|)>0(FC#n7GqT# zn;k|X5ilB!KbDr3PH}J)=jZ1`^#X>b!=0TSP^;Bn84Sh( z)=7~MkOCyTXQ$|7jr>2C%LQ(?yTf2GNW$|CMITeWeuozq7fnQ9eSMuQm(JDi_Y=`m zCX+cw`Dm0%rLVWQx4~+)c9A&O>2zfjeM!qamdoW|h&zkL(jmE5DwSs_`T|RC(lHf> zWHQ-jB4jq3+qB#5q`egseRZ`7&;#7s=5PtsY&KiF#kk#l9~l{0pjGq=w{gzCnVOoi xiA17LnBHe(O#iD>4U=p}NG@$Bia!2Z{01RxjyrD$uND9R002ovPDHLkV1g#7O_l%v diff --git a/resources/library/interactivities/Choisir.wgt/images/star.png b/resources/library/interactivities/Choisir.wgt/images/star.png deleted file mode 100644 index 6669f5035e6e1018560bc9b89b9b7cba93757c92..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 197 zcmeAS@N?(olHy`uVBq!ia0vp^5%56aay?Tt&nMQS3?eZn*n(wc{?@ZesjNOQP3Hf5C)>l0g$+3xXN&@z7DQcW xI3#8IbdR!qkzw%Vyg83TJ|5MOVEw_spu;uU=(fW1pFnppc)I$ztaD0e0sx`vBa8K zV~vSD#>A-DYaVKBi6$5e_I>BxrTLQglHdD&-|ze5b70OrbIzHWGiT1+xpQ`$=bR15 zyRSM^jW8TT8SsakS7;km)%sF|va?Y%LWqr6m@lFMhQS}gIwA&zBUFNQYQ-zC?#(hd z$OsWY)ETlB6H&N7;L|4Q5xu$Ya(Es`ZqLUc6y@FWOxBr82wrZv*>1L#n=QQ50x_>x zZ_=5oY)B*!3gY2kAmIt6@lrv&NDfUP+9z0>ZlB<-?fZU0YsI}tK}bxD)-20xKMt&G z+c>bu_TvDXH0z7S;;n7tqg>6A)*>z9dOF+NlBAKgyogH-@a~ zyohQMm(6B#*jx^W>*Ma`?i1j}<$47K`S}I-`33oKsnq;%75)`s9`5cQo*v$wp5FeR zo}T_B@bq_8@%cLqIQJkQHu6HgG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;d@AF|}Hg`!ro!s=+tsTEDn$}^%eQ)ipN2Owo zdBot!bB+@7$`G%BFlI`wp42Ds;tMC81XGuMgy?~UBVTpl@_Zw`#Ix^-)n_ z4V9AwxLhWcqm_fp5lm%IB3v|;WZt20)OlvBsU%dF44mu*M^TXrQYH{vPdL~Ydqc{M zzaemx)dDBvIudTAk}4T`hQUFnb|9o0373M#)b2thTxELpX?Fd3SwI%-q2#T~gq)D= zy8u(k2}vAEeikxLvGgxO>ST@hQ;<5d0Cvf2CH)}!ffYikAI`G6NZr?)MT20+BkXOBE$D2C=<+2A#d zeftX1Ri=i`N7z>6&%%3UFxlA0Tnk_tnmyj2pg?Y%fLEdEI>FT-^+jDtfVI%ngLb@R zCVOrdb+w;_W^dK7O2!xPlqjD@p~gJ_1=TQ+=?j45gtrFB<4dZQh5}a^_{p=FCA7#b kc9#=1bqG@(K9lPB2NNnSuCzg8;M1& diff --git a/resources/library/interactivities/Choisir.wgt/images/topLeftThing.png b/resources/library/interactivities/Choisir.wgt/images/topLeftThing.png deleted file mode 100644 index d8647d898bf6163611f060945f94041d102f27a1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 130 zcmeAS@N?(olHy`uVBq!ia0vp^azM<+!3HF+Y}E?^Ql6eJjv*Ddk~#Rf|N48+nKkRr z{=I8o{y+7!`@em44SSztMy{bzUf!DD^?zSk{)*-~6goAPIoXgyKYCL_g3h}2tK}rR fA15vT&&)9WQCaTlN&K2XLm50>{an^LB{Ts5m69&^ diff --git a/resources/library/interactivities/Choisir.wgt/images/transparentBack.png b/resources/library/interactivities/Choisir.wgt/images/transparentBack.png deleted file mode 100644 index 608640fbb5a913c451fa7e5cf901fedd8f9b827e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 244 zcmeAS@N?(olHy`uVBq!ia0y~yVD132**MsMWaFa^zk$?lPZ!6Kid%1Q8D_OONVGj{ zoZ>n4uF_5A2o58S3Wk1#im>%5xw${4#YPmheEs=Q({1Y18buianwI`8+s`+bjr zW;}4Y)RcK>OQPiQkJjy_vAXO)p%jo%qJ-Yk%vtMYrll5kb1*OzY`T4TOTsLJ+z6ws z*Rt(=E|;u7o_kw|8>rlO>Ca1bnFo%4zLZ^g&gQ)Q`Q^)i2G4PiGVqP~=YM%KJSlPE%n@s^_yExPdN=#$>8bg=d#Wzp$PyFKxyIt diff --git a/resources/library/interactivities/Choisir.wgt/images/upperBorder.png b/resources/library/interactivities/Choisir.wgt/images/upperBorder.png deleted file mode 100644 index cb8779c0e30f4c4c7785379aaffedc332c5ad97a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 410 zcmV;L0cHM)P)AO4x)8;AmgYbcm=u5m0d!vTXj7ximZ^J2+W`eK`dlUWBds7W6~Q4k|uaN zXKDx{FF^f2@PlFY?{FU8Glub^?dzV)yaT9zfTSS(80!Nw3|ILEjZ`*pC8h!-+13`TUOf{s&EfkbhDxod+fHsrexNUQ5P<4j&c(001n!j_XJ^yA^H| z_jEy=>T9LbiAM_{WKPbC1-ZK^NuyqsUguFp6hr_304#~q zLgqxT->LEn)3*&x1s0qCS>y#+t3J^%m!07*qoM6N<$ Ef*}U9r~m)} diff --git a/resources/library/interactivities/Choisir.wgt/images/upperBorder2.png b/resources/library/interactivities/Choisir.wgt/images/upperBorder2.png deleted file mode 100644 index befc1d0e1d354ae21c7924d5792cd45bba67e68c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 267 zcmeAS@N?(olHy`uVBq!ia0y~yVD132**VyNq}RUWI3RV&)5S5Q;?~>Swq8dZ7}_4r zIUN1uxlkta&ejJzby#ORoZ-y*#-%NmIYr_U$7zer7LO#$=CR+KFh6hCdXLb*mrL)~ z-rm-~@q5Gs70*d3cT?_f?7w08ZPsqS!@JhKpS7&A$YT;vA|z)1#>@8|dd&4-I^X}E zIBVI4b=g3>ADAsYJAGUHt%m)|A75JuJbtRUSE5ZZ=k~KDKuNBNW)Cd-DpmF^ZTvAu z?pbA-6;QA>a+)gt5nbLRy0&kAze@orE0%GW>zJW&8XH PD9hmK>gTe~DWM4fT$ypF diff --git a/resources/library/interactivities/Choisir.wgt/index.html b/resources/library/interactivities/Choisir.wgt/index.html deleted file mode 100644 index e478b046..00000000 --- a/resources/library/interactivities/Choisir.wgt/index.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/resources/library/interactivities/Choisir.wgt/scripts/jquery-1.6.2.min.js b/resources/library/interactivities/Choisir.wgt/scripts/jquery-1.6.2.min.js deleted file mode 100644 index 48590ecb..00000000 --- a/resources/library/interactivities/Choisir.wgt/scripts/jquery-1.6.2.min.js +++ /dev/null @@ -1,18 +0,0 @@ -/*! - * jQuery JavaScript Library v1.6.2 - * http://jquery.com/ - * - * Copyright 2011, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Thu Jun 30 14:16:56 2011 -0400 - */ -(function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"":"")+""),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){setTimeout(cq,0);return cn=f.now()}function cf(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ce(){try{return new a.XMLHttpRequest}catch(b){}}function b$(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bx(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function bm(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(be,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bl(a){f.nodeName(a,"input")?bk(a):"getElementsByTagName"in a&&f.grep(a.getElementsByTagName("input"),bk)}function bk(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bj(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function bi(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bh(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in g)for(var i=0,j=g[h].length;i=0===c})}function V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function N(a,b){return(a&&a!=="*"?a+".":"")+b.replace(z,"`").replace(A,"&")}function M(a){var b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.liveFired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var s=r.live.slice(0);for(i=0;ic)break;a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e.handleObj,o=e.handleObj.origHandler.apply(e.elem,arguments);if(o===!1||a.isPropagationStopped()){c=e.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function K(a,c,d){var e=f.extend({},d[0]);e.type=a,e.originalEvent={},e.liveFired=b,f.event.handle.call(c,e),e.isDefaultPrevented()&&d[0].preventDefault()}function E(){return!0}function D(){return!1}function m(a,c,d){var e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&setTimeout(function(){!f.data(a,g,b,!0)&&!f.data(a,h,b,!0)&&(f.removeData(a,e,!0),i.resolve())},0)}function l(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function k(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(j,"$1-$2").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNaN(d)?i.test(d)?f.parseJSON(d):d:parseFloat(d)}catch(g){}f.data(a,c,d)}else d=b}return d}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z])/ig,x=function(a,b){return b.toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.resolveWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!A){A=e._Deferred();if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!m.test(a)||isNaN(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a);return c===b||D.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(b,c,d){a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),d=c.documentElement,(!d||!d.nodeName||d.nodeName==="parsererror")&&e.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?h.call(arguments,0):c,--e||g.resolveWith(g,h.call(b,0))}}var b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred();if(d>1){for(;c
a",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.firstChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0},m&&f.extend(p,{position:"absolute",left:-1e3,top:-1e3});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="
",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="
t
",q=a.getElementsByTagName("td"),u=q[0].offsetHeight===0,q[0].style.display="",q[1].style.display="none",k.reliableHiddenOffsets=u&&q[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),k.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0),o.innerHTML="",n.removeChild(o);if(a.attachEvent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in a,u||(a.setAttribute(s,"return;"),u=typeof a[s]=="function"),k[t+"Bubbles"]=u;o=l=g=h=m=j=a=i=null;return k}(),f.boxModel=f.support.boxModel;var i=/^(?:\{.*\}|\[.*\])$/,j=/([a-z])([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!l(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g=f.expando,h=typeof c=="string",i,j=a.nodeType,k=j?f.cache:a,l=j?a[f.expando]:a[f.expando]&&f.expando;if((!l||e&&l&&!k[l][g])&&h&&d===b)return;l||(j?a[f.expando]=l=++f.uuid:l=f.expando),k[l]||(k[l]={},j||(k[l].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?k[l][g]=f.extend(k[l][g],c):k[l]=f.extend(k[l],c);i=k[l],e&&(i[g]||(i[g]={}),i=i[g]),d!==b&&(i[f.camelCase(c)]=d);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[f.camelCase(c)]||i[c]:i}},removeData:function(b,c,d){if(!!f.acceptData(b)){var e=f.expando,g=b.nodeType,h=g?f.cache:b,i=g?b[f.expando]:f.expando;if(!h[i])return;if(c){var j=d?h[i][e]:h[i];if(j){delete j[c];if(!l(j))return}}if(d){delete h[i][e];if(!l(h[i]))return}var k=h[i][e];f.support.deleteExpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},g||(h[i].toJSON=f.noop),h[i][e]=k):g&&(f.support.deleteExpando?delete b[f.expando]:b.removeAttribute?b.removeAttribute(f.expando):b[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d=null;if(typeof a=="undefined"){if(this.length){d=f.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,g;for(var h=0,i=e.length;h-1)return!0;return!1},val:function(a){var c,d,e=this[0];if(!arguments.length){if(e){c=f.valHooks[e.nodeName.toLowerCase()]||f.valHooks[e.type];if(c&&"get"in c&&(d=c.get(e,"value"))!==b)return d;d=e.value;return typeof d=="string"?d.replace(p,""):d==null?"":d}return b}var g=f.isFunction(a);return this.each(function(d){var e=f(this),h;if(this.nodeType===1){g?h=a.call(this,d,e.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c=a.selectedIndex,d=[],e=a.options,g=a.type==="select-one";if(c<0)return null;for(var h=g?c:0,i=g?c+1:e.length;h=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,d,e){var g=a.nodeType;if(!a||g===3||g===8||g===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);var h,i,j=g!==1||!f.isXMLDoc(a);j&&(c=f.attrFix[c]||c,i=f.attrHooks[c],i||(t.test(c)?i=w:v&&c!=="className"&&(f.nodeName(a,"form")||u.test(c))&&(i=v)));if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(i&&"set"in i&&j&&(h=i.set(a,d,c))!==b)return h;a.setAttribute(c,""+d);return d}if(i&&"get"in i&&j&&(h=i.get(a,c))!==null)return h;h=a.getAttribute(c);return h===null?b:h},removeAttr:function(a,b){var c;a.nodeType===1&&(b=f.attrFix[b]||b,f.support.getSetAttribute?a.removeAttribute(b):(f.attr(a,b,""),a.removeAttributeNode(a.getAttributeNode(b))),t.test(b)&&(c=f.propFix[b]||b)in a&&(a[c]=!1))},attrHooks:{type:{set:function(a,b){if(q.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):r.test(a.nodeName)||s.test(a.nodeName)&&a.href?0:b}},value:{get:function(a,b){if(v&&f.nodeName(a,"button"))return v.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(v&&f.nodeName(a,"button"))return v.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e=a.nodeType;if(!a||e===3||e===8||e===2)return b;var g,h,i=e!==1||!f.isXMLDoc(a);i&&(c=f.propFix[c]||c,h=f.propHooks[c]);return d!==b?h&&"set"in h&&(g=h.set(a,d,c))!==b?g:a[c]=d:h&&"get"in h&&(g=h.get(a,c))!==b?g:a[c]},propHooks:{}}),w={get:function(a,c){return f.prop(a,c)?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},f.support.getSetAttribute||(f.attrFix=f.propFix,v=f.attrHooks.name=f.attrHooks.title=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&d.nodeValue!==""?d.nodeValue:b},set:function(a,b,c){var d=a.getAttributeNode(c);if(d){d.nodeValue=b;return b}}},f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})})),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}})),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var x=/\.(.*)$/,y=/^(?:textarea|input|select)$/i,z=/\./g,A=/ /g,B=/[^\w\s.|`]/g,C=function(a){return a.replace(B,"\\$&")};f.event={add:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){if(d===!1)d=D;else if(!d)return;var g,h;d.handler&&(g=d,d=g.handler),d.guid||(d.guid=f.guid++);var i=f._data(a);if(!i)return;var j=i.events,k=i.handle;j||(i.events=j={}),k||(i.handle=k=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.handle.apply(k.elem,arguments):b}),k.elem=a,c=c.split(" ");var l,m=0,n;while(l=c[m++]){h=g?f.extend({},g):{handler:d,data:e},l.indexOf(".")>-1?(n=l.split("."),l=n.shift(),h.namespace=n.slice(0).sort().join(".")):(n=[],h.namespace=""),h.type=l,h.guid||(h.guid=d.guid);var o=j[l],p=f.event.special[l]||{};if(!o){o=j[l]=[];if(!p.setup||p.setup.call(a,e,n,k)===!1)a.addEventListener?a.addEventListener(l,k,!1):a.attachEvent&&a.attachEvent("on"+l,k)}p.add&&(p.add.call(a,h),h.handler.guid||(h.handler.guid=d.guid)),o.push(h),f.event.global[l]=!0}a=null}},global:{},remove:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){d===!1&&(d=D);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=f.hasData(a)&&f._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(d=c.handler,c=c.type);if(!c||typeof c=="string"&&c.charAt(0)==="."){c=c||"";for(h in t)f.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+f.map(m.slice(0).sort(),C).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!d){for(j=0;j=0&&(h=h.slice(0,-1),j=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i. -shift(),i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.exclusive=j,c.namespace=i.join("."),c.namespace_re=new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!e)c.preventDefault(),c.stopPropagation();if(!e){f.each(f.cache,function(){var a=f.expando,b=this[a];b&&b.events&&b.events[h]&&f.event.trigger(c,d,b.handle.elem)});return}if(e.nodeType===3||e.nodeType===8)return;c.result=b,c.target=e,d=d!=null?f.makeArray(d):[],d.unshift(c);var k=e,l=h.indexOf(":")<0?"on"+h:"";do{var m=f._data(k,"handle");c.currentTarget=k,m&&m.apply(k,d),l&&f.acceptData(k)&&k[l]&&k[l].apply(k,d)===!1&&(c.result=!1,c.preventDefault()),k=k.parentNode||k.ownerDocument||k===c.target.ownerDocument&&a}while(k&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var n,o=f.event.special[h]||{};if((!o._default||o._default.call(e.ownerDocument,c)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)){try{l&&e[h]&&(n=e[l],n&&(e[l]=null),f.event.triggered=h,e[h]())}catch(p){}n&&(e[l]=n),f.event.triggered=b}}return c.result}},handle:function(c){c=f.event.fix(c||a.event);var d=((f._data(this,"events")||{})[c.type]||[]).slice(0),e=!c.exclusive&&!c.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=c,c.currentTarget=this;for(var h=0,i=d.length;h-1?f.map(a.options,function(a){return a.selected}).join("-"):"":f.nodeName(a,"select")&&(c=a.selectedIndex);return c},J=function(c){var d=c.target,e,g;if(!!y.test(d.nodeName)&&!d.readOnly){e=f._data(d,"_change_data"),g=I(d),(c.type!=="focusout"||d.type!=="radio")&&f._data(d,"_change_data",g);if(e===b||g===e)return;if(e!=null||g)c.type="change",c.liveFired=b,f.event.trigger(c,arguments[1],d)}};f.event.special.change={filters:{focusout:J,beforedeactivate:J,click:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||f.nodeName(b,"select"))&&J.call(this,a)},keydown:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!f.nodeName(b,"textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&J.call(this,a)},beforeactivate:function(a){var b=a.target;f._data(b,"_change_data",I(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in H)f.event.add(this,c+".specialChange",H[c]);return y.test(this.nodeName)},teardown:function(a){f.event.remove(this,".specialChange");return y.test(this.nodeName)}},H=f.event.special.change.filters,H.focus=H.beforeactivate}f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){function e(a){var c=f.event.fix(a);c.type=b,c.originalEvent={},f.event.trigger(c,null,c.target),c.isDefaultPrevented()&&a.preventDefault()}var d=0;f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.each(["bind","one"],function(a,c){f.fn[c]=function(a,d,e){var g;if(typeof a=="object"){for(var h in a)this[c](h,d,a[h],e);return this}if(arguments.length===2||d===!1)e=d,d=b;c==="one"?(g=function(a){f(this).unbind(a,g);return e.apply(this,arguments)},g.guid=e.guid||f.guid++):g=e;if(a==="unload"&&c!=="one")this.one(a,d,e);else for(var i=0,j=this.length;i0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d=0,e=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,f,g){f=f||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return f;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(e.call(n)==="[object Array]")if(!u)f.push.apply(f,n);else if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&f.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&f.push(j[t]);else p(n,f);o&&(k(o,h,f,g),k.uniqueSort(f));return f};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=d++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(e.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var f=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(e||!l.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return k(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g0)for(h=g;h0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(d=0,e=a.length;d-1:f(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=T.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a=="string")return f.inArray(this[0],a?f(a):this.parent().children());return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(V(c[0])||V(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=S.call(arguments);O.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!U[a]?f.unique(e):e,(this.length>1||Q.test(d))&&P.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var X=/ jQuery\d+="(?:\d+|null)"/g,Y=/^\s+/,Z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,$=/<([\w:]+)/,_=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};bf.optgroup=bf.option,bf.tbody=bf.tfoot=bf.colgroup=bf.caption=bf.thead,bf.th=bf.td,f.support.htmlSerialize||(bf._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(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,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(X,""):null;if(typeof a=="string"&&!bb.test(a)&&(f.support.leadingWhitespace||!Y.test(a))&&!bf[($.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Z,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j -)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bi(a,d),e=bj(a),g=bj(d);for(h=0;e[h];++h)bi(e[h],g[h])}if(b){bh(a,d);if(c){e=bj(a),g=bj(d);for(h=0;e[h];++h)bh(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!ba.test(k))k=b.createTextNode(k);else{k=k.replace(Z,"<$1>");var l=($.exec(k)||["",""])[1].toLowerCase(),m=bf[l]||bf._default,n=m[0],o=b.createElement("div");o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=_.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&Y.test(k)&&o.insertBefore(b.createTextNode(Y.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bo.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle;c.zoom=1;var e=f.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d&&d.filter||c.filter||"";c.filter=bn.test(g)?g.replace(bn,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bx(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(by=function(a,c){var d,e,g;c=c.replace(bp,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bz=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bq.test(d)&&br.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bx=by||bz,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bB=/%20/g,bC=/\[\]$/,bD=/\r?\n/g,bE=/#.*$/,bF=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bG=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bH=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,bI=/^(?:GET|HEAD)$/,bJ=/^\/\//,bK=/\?/,bL=/)<[^<]*)*<\/script>/gi,bM=/^(?:select|textarea)/i,bN=/\s+/,bO=/([?&])_=[^&]*/,bP=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bQ=f.fn.load,bR={},bS={},bT,bU;try{bT=e.href}catch(bV){bT=c.createElement("a"),bT.href="",bT=bT.href}bU=bP.exec(bT.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bQ)return bQ.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bL,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bM.test(this.nodeName)||bG.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bD,"\r\n")}}):{name:b.name,value:c.replace(bD,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?f.extend(!0,a,f.ajaxSettings,b):(b=a,a=f.extend(!0,f.ajaxSettings,b));for(var c in{context:1,url:1})c in b?a[c]=b[c]:c in f.ajaxSettings&&(a[c]=f.ajaxSettings[c]);return a},ajaxSettings:{url:bT,isLocal:bH.test(bU[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML}},ajaxPrefilter:bW(bR),ajaxTransport:bW(bS),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a?4:0;var o,r,u,w=l?bZ(d,v,l):b,x,y;if(a>=200&&a<300||a===304){if(d.ifModified){if(x=v.getResponseHeader("Last-Modified"))f.lastModified[k]=x;if(y=v.getResponseHeader("Etag"))f.etag[k]=y}if(a===304)c="notmodified",o=!0;else try{r=b$(d,w),c="success",o=!0}catch(z){c="parsererror",u=z}}else{u=c;if(!c||a)c="error",a<0&&(a=0)}v.status=a,v.statusText=c,o?h.resolveWith(e,[r,c,v]):h.rejectWith(e,[v,c,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.resolveWith(e,[v,c]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f._Deferred(),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bF.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.done,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bE,"").replace(bJ,bU[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bN),d.crossDomain==null&&(r=bP.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bU[1]&&r[2]==bU[2]&&(r[3]||(r[1]==="http:"?80:443))==(bU[3]||(bU[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bX(bR,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bI.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bK.test(d.url)?"&":"?")+d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bO,"$1_="+x);d.url=y+(y===d.url?(bK.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bX(bS,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){status<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)bY(g,a[g],c,e);return d.join("&").replace(bB,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var b_=f.now(),ca=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+b_++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ca.test(b.url)||e&&ca.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ca,l),b.url===j&&(e&&(k=k.replace(ca,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cb=a.ActiveXObject?function(){for(var a in cd)cd[a](0,1)}:!1,cc=0,cd;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ce()||cf()}:ce,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cb&&delete cd[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cc,cb&&(cd||(cd={},f(a).unload(cb)),cd[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cg={},ch,ci,cj=/^(?:toggle|show|hide)$/,ck=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cl,cm=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cn,co=a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cr("show",3),a,b,c);for(var g=0,h=this.length;g=e.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),e.animatedProperties[this.prop]=!0;for(g in e.animatedProperties)e.animatedProperties[g]!==!0&&(c=!1);if(c){e.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){d.style["overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hide||e.show)for(var i in e.animatedProperties)f.style(d,i,e.orig[i]);e.complete.call(d)}return!1}e.duration==Infinity?this.now=b:(h=b-this.startTime,this.state=h/e.duration,this.pos=f.easing[e.animatedProperties[this.prop]](this.state,h,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){for(var a=f.timers,b=0;b
";f.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),d=b.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,this.doesNotAddBorder=e.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,e.style.position="fixed",e.style.top="20px",this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),f.offset.initialize=f.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.offset.initialize(),f.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cu.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cu.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cv(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cv(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a&&a.style?parseFloat(f.css(a,d,"padding")):null},f.fn["outer"+c]=function(a){var b=this[0];return b&&b.style?parseFloat(f.css(b,d,a?"margin":"border")):null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var h=f.css(e,d),i=parseFloat(h);return f.isNaN(i)?h:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window); \ No newline at end of file diff --git a/resources/library/interactivities/Choisir.wgt/scripts/selQuestionApp.js b/resources/library/interactivities/Choisir.wgt/scripts/selQuestionApp.js deleted file mode 100644 index 32b72c99..00000000 --- a/resources/library/interactivities/Choisir.wgt/scripts/selQuestionApp.js +++ /dev/null @@ -1,594 +0,0 @@ -/* - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -var questionArray; -var currentQstId = ""; -var lang = ""; //locale language - -function init(){ - - //variables - var toggleFlag = false; - var endFlag = false; - var mode = false; - questionArray = new Array(); - var popupFlag = false - var flagForSelect = false; - - if(window.sankore){ - try{ - lang = sankore.locale().substr(0,2); - sankoreLang[lang].edit; - } catch(e){ - lang = "en"; - } - } else - lang = "en"; - - // toggle button - var buttonDiv = $("
").appendTo("body"); - var toggleButton = $("").appendTo("#buttonDiv"); - buttonDiv.css({ - top:"10px", - right:0 - }); - - //popup message - var popupText = $("
").appendTo("body"); - - // adding question block - var addQstDiv = $("
").appendTo("body"); - var addQstButton = $("").appendTo(qstOptions); - var applyChanges = $("").appendTo(qstOptions); - var qstDelete = $("").appendTo(ansDiv); - qstDiv.insertBefore("#addQstDiv"); - $("#addQsqSpan1").text(sankoreLang[lang].q + (count + 2)); -} - -//add answers -function addAnsBlock(id, currId, text, stage, rightAns, type){ - var newAnswer = $("
"); - var value; - var check = ""; - if(stage){ - value = getNeededElement(getNeededElement(questionArray, currId).answers,id).value; - if(type != "2"){ - if(rightAns == value) - check = "checked='true'"; - } - else { - rightAns = rightAns.replace(/,/g,""); - if(rightAns.indexOf(value + " ", 0) != -1) - check = "checked='true'"; - } - } - else { - value = ($("#" + currId + " .newAnswer input:checkbox").last().val()) ? parseInt($("#" + currId + " .newAnswer input:checkbox").last().val()) + 1 : 1; - getNeededElement(getNeededElement(questionArray, currId).answers,id).value = value; - } - var count = $("#" + currId + " .newAnswer").size() + 1; - var input = $("").appendTo(newAnswer); - var ansSpan = $("" + sankoreLang[lang].a + count + "").appendTo(newAnswer); - var ansContent = $("
" + text + "
").appendTo(newAnswer); - var ansDelete = $("
').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(d(this).offset()).appendTo("body")})}, -stop:function(){d("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}});d.ui.plugin.add("draggable","opacity",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("opacity"))b._opacity=a.css("opacity");a.css("opacity",b.opacity)},stop:function(a,b){a=d(this).data("draggable").options;a._opacity&&d(b.helper).css("opacity",a._opacity)}});d.ui.plugin.add("draggable","scroll",{start:function(){var a=d(this).data("draggable");if(a.scrollParent[0]!= -document&&a.scrollParent[0].tagName!="HTML")a.overflowOffset=a.scrollParent.offset()},drag:function(a){var b=d(this).data("draggable"),c=b.options,f=false;if(b.scrollParent[0]!=document&&b.scrollParent[0].tagName!="HTML"){if(!c.axis||c.axis!="x")if(b.overflowOffset.top+b.scrollParent[0].offsetHeight-a.pageY=0;h--){var i=c.snapElements[h].left,k=i+c.snapElements[h].width,j=c.snapElements[h].top,l=j+c.snapElements[h].height;if(i-e=j&&f<=l||h>=j&&h<=l||fl)&&(e>= -i&&e<=k||g>=i&&g<=k||ek);default:return false}};d.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(a,b){var c=d.ui.ddmanager.droppables[a.options.scope]||[],e=b?b.type:null,g=(a.currentItem||a.element).find(":data(droppable)").andSelf(),f=0;a:for(;f
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(), -top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle= -this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=a.handles||(!e(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne", -nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all")this.handles="n,e,s,w,se,sw,ne,nw";var c=this.handles.split(",");this.handles={};for(var d=0;d
');/sw|se|ne|nw/.test(f)&&g.css({zIndex:++a.zIndex});"se"==f&&g.addClass("ui-icon ui-icon-gripsmall-diagonal-se");this.handles[f]=".ui-resizable-"+f;this.element.append(g)}}this._renderAxis=function(h){h=h||this.element;for(var i in this.handles){if(this.handles[i].constructor== -String)this.handles[i]=e(this.handles[i],this.element).show();if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var j=e(this.handles[i],this.element),k=0;k=/sw|ne|nw|se|n|s/.test(i)?j.outerHeight():j.outerWidth();j=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join("");h.css(j,k);this._proportionallyResize()}e(this.handles[i])}};this._renderAxis(this.element);this._handles=e(".ui-resizable-handle",this.element).disableSelection(); -this._handles.mouseover(function(){if(!b.resizing){if(this.className)var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=h&&h[1]?h[1]:"se"}});if(a.autoHide){this._handles.hide();e(this.element).addClass("ui-resizable-autohide").hover(function(){e(this).removeClass("ui-resizable-autohide");b._handles.show()},function(){if(!b.resizing){e(this).addClass("ui-resizable-autohide");b._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var b=function(c){e(c).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()}; -if(this.elementIsWrapper){b(this.element);var a=this.element;a.after(this.originalElement.css({position:a.css("position"),width:a.outerWidth(),height:a.outerHeight(),top:a.css("top"),left:a.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);b(this.originalElement);return this},_mouseCapture:function(b){var a=false;for(var c in this.handles)if(e(this.handles[c])[0]==b.target)a=true;return!this.options.disabled&&a},_mouseStart:function(b){var a=this.options,c=this.element.position(), -d=this.element;this.resizing=true;this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()};if(d.is(".ui-draggable")||/absolute/.test(d.css("position")))d.css({position:"absolute",top:c.top,left:c.left});e.browser.opera&&/relative/.test(d.css("position"))&&d.css({position:"relative",top:"auto",left:"auto"});this._renderProxy();c=m(this.helper.css("left"));var f=m(this.helper.css("top"));if(a.containment){c+=e(a.containment).scrollLeft()||0;f+=e(a.containment).scrollTop()||0}this.offset= -this.helper.offset();this.position={left:c,top:f};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:c,top:f};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:b.pageX,top:b.pageY};this.aspectRatio=typeof a.aspectRatio=="number"?a.aspectRatio: -this.originalSize.width/this.originalSize.height||1;a=e(".ui-resizable-"+this.axis).css("cursor");e("body").css("cursor",a=="auto"?this.axis+"-resize":a);d.addClass("ui-resizable-resizing");this._propagate("start",b);return true},_mouseDrag:function(b){var a=this.helper,c=this.originalMousePosition,d=this._change[this.axis];if(!d)return false;c=d.apply(this,[b,b.pageX-c.left||0,b.pageY-c.top||0]);if(this._aspectRatio||b.shiftKey)c=this._updateRatio(c,b);c=this._respectSize(c,b);this._propagate("resize", -b);a.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize();this._updateCache(c);this._trigger("resize",b,this.ui());return false},_mouseStop:function(b){this.resizing=false;var a=this.options,c=this;if(this._helper){var d=this._proportionallyResizeElements,f=d.length&&/textarea/i.test(d[0].nodeName);d=f&&e.ui.hasScroll(d[0],"left")?0:c.sizeDiff.height; -f={width:c.size.width-(f?0:c.sizeDiff.width),height:c.size.height-d};d=parseInt(c.element.css("left"),10)+(c.position.left-c.originalPosition.left)||null;var g=parseInt(c.element.css("top"),10)+(c.position.top-c.originalPosition.top)||null;a.animate||this.element.css(e.extend(f,{top:g,left:d}));c.helper.height(c.size.height);c.helper.width(c.size.width);this._helper&&!a.animate&&this._proportionallyResize()}e("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop", -b);this._helper&&this.helper.remove();return false},_updateCache:function(b){this.offset=this.helper.offset();if(l(b.left))this.position.left=b.left;if(l(b.top))this.position.top=b.top;if(l(b.height))this.size.height=b.height;if(l(b.width))this.size.width=b.width},_updateRatio:function(b){var a=this.position,c=this.size,d=this.axis;if(b.height)b.width=c.height*this.aspectRatio;else if(b.width)b.height=c.width/this.aspectRatio;if(d=="sw"){b.left=a.left+(c.width-b.width);b.top=null}if(d=="nw"){b.top= -a.top+(c.height-b.height);b.left=a.left+(c.width-b.width)}return b},_respectSize:function(b){var a=this.options,c=this.axis,d=l(b.width)&&a.maxWidth&&a.maxWidthb.width,h=l(b.height)&&a.minHeight&&a.minHeight>b.height;if(g)b.width=a.minWidth;if(h)b.height=a.minHeight;if(d)b.width=a.maxWidth;if(f)b.height=a.maxHeight;var i=this.originalPosition.left+this.originalSize.width,j=this.position.top+this.size.height, -k=/sw|nw|w/.test(c);c=/nw|ne|n/.test(c);if(g&&k)b.left=i-a.minWidth;if(d&&k)b.left=i-a.maxWidth;if(h&&c)b.top=j-a.minHeight;if(f&&c)b.top=j-a.maxHeight;if((a=!b.width&&!b.height)&&!b.left&&b.top)b.top=null;else if(a&&!b.top&&b.left)b.left=null;return b},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var b=this.helper||this.element,a=0;a
');var a=e.browser.msie&&e.browser.version<7,c=a?1:0;a=a?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+a,height:this.element.outerHeight()+a,position:"absolute",left:this.elementOffset.left-c+"px",top:this.elementOffset.top-c+"px",zIndex:++b.zIndex});this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(b,a){return{width:this.originalSize.width+ -a}},w:function(b,a){return{left:this.originalPosition.left+a,width:this.originalSize.width-a}},n:function(b,a,c){return{top:this.originalPosition.top+c,height:this.originalSize.height-c}},s:function(b,a,c){return{height:this.originalSize.height+c}},se:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},sw:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,a,c]))},ne:function(b,a,c){return e.extend(this._change.n.apply(this, -arguments),this._change.e.apply(this,[b,a,c]))},nw:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,a,c]))}},_propagate:function(b,a){e.ui.plugin.call(this,b,[a,this.ui()]);b!="resize"&&this._trigger(b,a,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});e.extend(e.ui.resizable, -{version:"1.8.9"});e.ui.plugin.add("resizable","alsoResize",{start:function(){var b=e(this).data("resizable").options,a=function(c){e(c).each(function(){var d=e(this);d.data("resizable-alsoresize",{width:parseInt(d.width(),10),height:parseInt(d.height(),10),left:parseInt(d.css("left"),10),top:parseInt(d.css("top"),10),position:d.css("position")})})};if(typeof b.alsoResize=="object"&&!b.alsoResize.parentNode)if(b.alsoResize.length){b.alsoResize=b.alsoResize[0];a(b.alsoResize)}else e.each(b.alsoResize, -function(c){a(c)});else a(b.alsoResize)},resize:function(b,a){var c=e(this).data("resizable");b=c.options;var d=c.originalSize,f=c.originalPosition,g={height:c.size.height-d.height||0,width:c.size.width-d.width||0,top:c.position.top-f.top||0,left:c.position.left-f.left||0},h=function(i,j){e(i).each(function(){var k=e(this),q=e(this).data("resizable-alsoresize"),p={},r=j&&j.length?j:k.parents(a.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(r,function(n,o){if((n= -(q[o]||0)+(g[o]||0))&&n>=0)p[o]=n||null});if(e.browser.opera&&/relative/.test(k.css("position"))){c._revertToRelativePosition=true;k.css({position:"absolute",top:"auto",left:"auto"})}k.css(p)})};typeof b.alsoResize=="object"&&!b.alsoResize.nodeType?e.each(b.alsoResize,function(i,j){h(i,j)}):h(b.alsoResize)},stop:function(){var b=e(this).data("resizable"),a=b.options,c=function(d){e(d).each(function(){var f=e(this);f.css({position:f.data("resizable-alsoresize").position})})};if(b._revertToRelativePosition){b._revertToRelativePosition= -false;typeof a.alsoResize=="object"&&!a.alsoResize.nodeType?e.each(a.alsoResize,function(d){c(d)}):c(a.alsoResize)}e(this).removeData("resizable-alsoresize")}});e.ui.plugin.add("resizable","animate",{stop:function(b){var a=e(this).data("resizable"),c=a.options,d=a._proportionallyResizeElements,f=d.length&&/textarea/i.test(d[0].nodeName),g=f&&e.ui.hasScroll(d[0],"left")?0:a.sizeDiff.height;f={width:a.size.width-(f?0:a.sizeDiff.width),height:a.size.height-g};g=parseInt(a.element.css("left"),10)+(a.position.left- -a.originalPosition.left)||null;var h=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top)||null;a.element.animate(e.extend(f,h&&g?{top:h,left:g}:{}),{duration:c.animateDuration,easing:c.animateEasing,step:function(){var i={width:parseInt(a.element.css("width"),10),height:parseInt(a.element.css("height"),10),top:parseInt(a.element.css("top"),10),left:parseInt(a.element.css("left"),10)};d&&d.length&&e(d[0]).css({width:i.width,height:i.height});a._updateCache(i);a._propagate("resize", -b)}})}});e.ui.plugin.add("resizable","containment",{start:function(){var b=e(this).data("resizable"),a=b.element,c=b.options.containment;if(a=c instanceof e?c.get(0):/parent/.test(c)?a.parent().get(0):c){b.containerElement=e(a);if(/document/.test(c)||c==document){b.containerOffset={left:0,top:0};b.containerPosition={left:0,top:0};b.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}}else{var d=e(a),f=[];e(["Top", -"Right","Left","Bottom"]).each(function(i,j){f[i]=m(d.css("padding"+j))});b.containerOffset=d.offset();b.containerPosition=d.position();b.containerSize={height:d.innerHeight()-f[3],width:d.innerWidth()-f[1]};c=b.containerOffset;var g=b.containerSize.height,h=b.containerSize.width;h=e.ui.hasScroll(a,"left")?a.scrollWidth:h;g=e.ui.hasScroll(a)?a.scrollHeight:g;b.parentData={element:a,left:c.left,top:c.top,width:h,height:g}}}},resize:function(b){var a=e(this).data("resizable"),c=a.options,d=a.containerOffset, -f=a.position;b=a._aspectRatio||b.shiftKey;var g={top:0,left:0},h=a.containerElement;if(h[0]!=document&&/static/.test(h.css("position")))g=d;if(f.left<(a._helper?d.left:0)){a.size.width+=a._helper?a.position.left-d.left:a.position.left-g.left;if(b)a.size.height=a.size.width/c.aspectRatio;a.position.left=c.helper?d.left:0}if(f.top<(a._helper?d.top:0)){a.size.height+=a._helper?a.position.top-d.top:a.position.top;if(b)a.size.width=a.size.height*c.aspectRatio;a.position.top=a._helper?d.top:0}a.offset.left= -a.parentData.left+a.position.left;a.offset.top=a.parentData.top+a.position.top;c=Math.abs((a._helper?a.offset.left-g.left:a.offset.left-g.left)+a.sizeDiff.width);d=Math.abs((a._helper?a.offset.top-g.top:a.offset.top-d.top)+a.sizeDiff.height);f=a.containerElement.get(0)==a.element.parent().get(0);g=/relative|absolute/.test(a.containerElement.css("position"));if(f&&g)c-=a.parentData.left;if(c+a.size.width>=a.parentData.width){a.size.width=a.parentData.width-c;if(b)a.size.height=a.size.width/a.aspectRatio}if(d+ -a.size.height>=a.parentData.height){a.size.height=a.parentData.height-d;if(b)a.size.width=a.size.height*a.aspectRatio}},stop:function(){var b=e(this).data("resizable"),a=b.options,c=b.containerOffset,d=b.containerPosition,f=b.containerElement,g=e(b.helper),h=g.offset(),i=g.outerWidth()-b.sizeDiff.width;g=g.outerHeight()-b.sizeDiff.height;b._helper&&!a.animate&&/relative/.test(f.css("position"))&&e(this).css({left:h.left-d.left-c.left,width:i,height:g});b._helper&&!a.animate&&/static/.test(f.css("position"))&& -e(this).css({left:h.left-d.left-c.left,width:i,height:g})}});e.ui.plugin.add("resizable","ghost",{start:function(){var b=e(this).data("resizable"),a=b.options,c=b.size;b.ghost=b.originalElement.clone();b.ghost.css({opacity:0.25,display:"block",position:"relative",height:c.height,width:c.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof a.ghost=="string"?a.ghost:"");b.ghost.appendTo(b.helper)},resize:function(){var b=e(this).data("resizable");b.ghost&&b.ghost.css({position:"relative", -height:b.size.height,width:b.size.width})},stop:function(){var b=e(this).data("resizable");b.ghost&&b.helper&&b.helper.get(0).removeChild(b.ghost.get(0))}});e.ui.plugin.add("resizable","grid",{resize:function(){var b=e(this).data("resizable"),a=b.options,c=b.size,d=b.originalSize,f=b.originalPosition,g=b.axis;a.grid=typeof a.grid=="number"?[a.grid,a.grid]:a.grid;var h=Math.round((c.width-d.width)/(a.grid[0]||1))*(a.grid[0]||1);a=Math.round((c.height-d.height)/(a.grid[1]||1))*(a.grid[1]||1);if(/^(se|s|e)$/.test(g)){b.size.width= -d.width+h;b.size.height=d.height+a}else if(/^(ne)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}else{if(/^(sw)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a}else{b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}b.position.left=f.left-h}}});var m=function(b){return parseInt(b,10)||0},l=function(b){return!isNaN(parseInt(b,10))}})(jQuery); -;/* - * jQuery UI Selectable 1.8.9 - * - * 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/Selectables - * - * Depends: - * jquery.ui.core.js - * jquery.ui.mouse.js - * jquery.ui.widget.js - */ -(function(e){e.widget("ui.selectable",e.ui.mouse,{options:{appendTo:"body",autoRefresh:true,distance:0,filter:"*",tolerance:"touch"},_create:function(){var c=this;this.element.addClass("ui-selectable");this.dragged=false;var f;this.refresh=function(){f=e(c.options.filter,c.element[0]);f.each(function(){var d=e(this),b=d.offset();e.data(this,"selectable-item",{element:this,$element:d,left:b.left,top:b.top,right:b.left+d.outerWidth(),bottom:b.top+d.outerHeight(),startselected:false,selected:d.hasClass("ui-selected"), -selecting:d.hasClass("ui-selecting"),unselecting:d.hasClass("ui-unselecting")})})};this.refresh();this.selectees=f.addClass("ui-selectee");this._mouseInit();this.helper=e("
")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable");this._mouseDestroy();return this},_mouseStart:function(c){var f=this;this.opos=[c.pageX, -c.pageY];if(!this.options.disabled){var d=this.options;this.selectees=e(d.filter,this.element[0]);this._trigger("start",c);e(d.appendTo).append(this.helper);this.helper.css({left:c.clientX,top:c.clientY,width:0,height:0});d.autoRefresh&&this.refresh();this.selectees.filter(".ui-selected").each(function(){var b=e.data(this,"selectable-item");b.startselected=true;if(!c.metaKey){b.$element.removeClass("ui-selected");b.selected=false;b.$element.addClass("ui-unselecting");b.unselecting=true;f._trigger("unselecting", -c,{unselecting:b.element})}});e(c.target).parents().andSelf().each(function(){var b=e.data(this,"selectable-item");if(b){var g=!c.metaKey||!b.$element.hasClass("ui-selected");b.$element.removeClass(g?"ui-unselecting":"ui-selected").addClass(g?"ui-selecting":"ui-unselecting");b.unselecting=!g;b.selecting=g;(b.selected=g)?f._trigger("selecting",c,{selecting:b.element}):f._trigger("unselecting",c,{unselecting:b.element});return false}})}},_mouseDrag:function(c){var f=this;this.dragged=true;if(!this.options.disabled){var d= -this.options,b=this.opos[0],g=this.opos[1],h=c.pageX,i=c.pageY;if(b>h){var j=h;h=b;b=j}if(g>i){j=i;i=g;g=j}this.helper.css({left:b,top:g,width:h-b,height:i-g});this.selectees.each(function(){var a=e.data(this,"selectable-item");if(!(!a||a.element==f.element[0])){var k=false;if(d.tolerance=="touch")k=!(a.left>h||a.righti||a.bottomb&&a.rightg&&a.bottom *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1E3},_create:function(){this.containerCache={};this.element.addClass("ui-sortable"); -this.refresh();this.floating=this.items.length?/left|right/.test(this.items[0].item.css("float")):false;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this._mouseDestroy();for(var a=this.items.length-1;a>=0;a--)this.items[a].item.removeData("sortable-item");return this},_setOption:function(a,b){if(a==="disabled"){this.options[a]=b;this.widget()[b?"addClass":"removeClass"]("ui-sortable-disabled")}else d.Widget.prototype._setOption.apply(this, -arguments)},_mouseCapture:function(a,b){if(this.reverting)return false;if(this.options.disabled||this.options.type=="static")return false;this._refreshItems(a);var c=null,e=this;d(a.target).parents().each(function(){if(d.data(this,"sortable-item")==e){c=d(this);return false}});if(d.data(a.target,"sortable-item")==e)c=d(a.target);if(!c)return false;if(this.options.handle&&!b){var f=false;d(this.options.handle,c).find("*").andSelf().each(function(){if(this==a.target)f=true});if(!f)return false}this.currentItem= -c;this._removeCurrentsFromItems();return true},_mouseStart:function(a,b,c){b=this.options;var e=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(a);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");d.extend(this.offset, -{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};this.helper[0]!=this.currentItem[0]&&this.currentItem.hide();this._createPlaceholder();b.containment&&this._setContainment(); -if(b.cursor){if(d("body").css("cursor"))this._storedCursor=d("body").css("cursor");d("body").css("cursor",b.cursor)}if(b.opacity){if(this.helper.css("opacity"))this._storedOpacity=this.helper.css("opacity");this.helper.css("opacity",b.opacity)}if(b.zIndex){if(this.helper.css("zIndex"))this._storedZIndex=this.helper.css("zIndex");this.helper.css("zIndex",b.zIndex)}if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML")this.overflowOffset=this.scrollParent.offset();this._trigger("start", -a,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!c)for(c=this.containers.length-1;c>=0;c--)this.containers[c]._trigger("activate",a,e._uiHash(this));if(d.ui.ddmanager)d.ui.ddmanager.current=this;d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(a);return true},_mouseDrag:function(a){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute"); -if(!this.lastPositionAbs)this.lastPositionAbs=this.positionAbs;if(this.options.scroll){var b=this.options,c=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if(this.overflowOffset.top+this.scrollParent[0].offsetHeight-a.pageY=0;b--){c=this.items[b];var e=c.item[0],f=this._intersectsWithPointer(c);if(f)if(e!=this.currentItem[0]&&this.placeholder[f==1?"next":"prev"]()[0]!=e&&!d.ui.contains(this.placeholder[0],e)&&(this.options.type=="semi-dynamic"?!d.ui.contains(this.element[0],e):true)){this.direction=f==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(c))this._rearrange(a, -c);else break;this._trigger("change",a,this._uiHash());break}}this._contactContainers(a);d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);this._trigger("sort",a,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(a,b){if(a){d.ui.ddmanager&&!this.options.dropBehaviour&&d.ui.ddmanager.drop(this,a);if(this.options.revert){var c=this;b=c.placeholder.offset();c.reverting=true;d(this.helper).animate({left:b.left-this.offset.parent.left-c.margins.left+(this.offsetParent[0]== -document.body?0:this.offsetParent[0].scrollLeft),top:b.top-this.offset.parent.top-c.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){c._clear(a)})}else this._clear(a,b);return false}},cancel:function(){var a=this;if(this.dragging){this._mouseUp({target:null});this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var b=this.containers.length- -1;b>=0;b--){this.containers[b]._trigger("deactivate",null,a._uiHash(this));if(this.containers[b].containerCache.over){this.containers[b]._trigger("out",null,a._uiHash(this));this.containers[b].containerCache.over=0}}}if(this.placeholder){this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove();d.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null}); -this.domPosition.prev?d(this.domPosition.prev).after(this.currentItem):d(this.domPosition.parent).prepend(this.currentItem)}return this},serialize:function(a){var b=this._getItemsAsjQuery(a&&a.connected),c=[];a=a||{};d(b).each(function(){var e=(d(a.item||this).attr(a.attribute||"id")||"").match(a.expression||/(.+)[-=_](.+)/);if(e)c.push((a.key||e[1]+"[]")+"="+(a.key&&a.expression?e[1]:e[2]))});!c.length&&a.key&&c.push(a.key+"=");return c.join("&")},toArray:function(a){var b=this._getItemsAsjQuery(a&& -a.connected),c=[];a=a||{};b.each(function(){c.push(d(a.item||this).attr(a.attribute||"id")||"")});return c},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,e=this.positionAbs.top,f=e+this.helperProportions.height,g=a.left,h=g+a.width,i=a.top,k=i+a.height,j=this.offset.click.top,l=this.offset.click.left;j=e+j>i&&e+jg&&b+la[this.floating?"width":"height"]?j:g0?"down":"up")},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return a!=0&&(a>0?"right":"left")},refresh:function(a){this._refreshItems(a);this.refreshPositions();return this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(a){var b=[],c=[],e=this._connectWith();if(e&&a)for(a=e.length-1;a>=0;a--)for(var f=d(e[a]),g=f.length-1;g>=0;g--){var h= -d.data(f[g],"sortable");if(h&&h!=this&&!h.options.disabled)c.push([d.isFunction(h.options.items)?h.options.items.call(h.element):d(h.options.items,h.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),h])}c.push([d.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):d(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(a=c.length-1;a>=0;a--)c[a][0].each(function(){b.push(this)}); -return d(b)},_removeCurrentsFromItems:function(){for(var a=this.currentItem.find(":data(sortable-item)"),b=0;b=0;f--)for(var g= -d(e[f]),h=g.length-1;h>=0;h--){var i=d.data(g[h],"sortable");if(i&&i!=this&&!i.options.disabled){c.push([d.isFunction(i.options.items)?i.options.items.call(i.element[0],a,{item:this.currentItem}):d(i.options.items,i.element),i]);this.containers.push(i)}}for(f=c.length-1;f>=0;f--){a=c[f][1];e=c[f][0];h=0;for(g=e.length;h=0;b--){var c=this.items[b],e=this.options.toleranceElement?d(this.options.toleranceElement,c.item):c.item;if(!a){c.width=e.outerWidth();c.height=e.outerHeight()}e=e.offset();c.left=e.left;c.top=e.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(b=this.containers.length-1;b>=0;b--){e=this.containers[b].element.offset();this.containers[b].containerCache.left=e.left;this.containers[b].containerCache.top= -e.top;this.containers[b].containerCache.width=this.containers[b].element.outerWidth();this.containers[b].containerCache.height=this.containers[b].element.outerHeight()}return this},_createPlaceholder:function(a){var b=a||this,c=b.options;if(!c.placeholder||c.placeholder.constructor==String){var e=c.placeholder;c.placeholder={element:function(){var f=d(document.createElement(b.currentItem[0].nodeName)).addClass(e||b.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0]; -if(!e)f.style.visibility="hidden";return f},update:function(f,g){if(!(e&&!c.forcePlaceholderSize)){g.height()||g.height(b.currentItem.innerHeight()-parseInt(b.currentItem.css("paddingTop")||0,10)-parseInt(b.currentItem.css("paddingBottom")||0,10));g.width()||g.width(b.currentItem.innerWidth()-parseInt(b.currentItem.css("paddingLeft")||0,10)-parseInt(b.currentItem.css("paddingRight")||0,10))}}}}b.placeholder=d(c.placeholder.element.call(b.element,b.currentItem));b.currentItem.after(b.placeholder); -c.placeholder.update(b,b.placeholder)},_contactContainers:function(a){for(var b=null,c=null,e=this.containers.length-1;e>=0;e--)if(!d.ui.contains(this.currentItem[0],this.containers[e].element[0]))if(this._intersectsWith(this.containers[e].containerCache)){if(!(b&&d.ui.contains(this.containers[e].element[0],b.element[0]))){b=this.containers[e];c=e}}else if(this.containers[e].containerCache.over){this.containers[e]._trigger("out",a,this._uiHash(this));this.containers[e].containerCache.over=0}if(b)if(this.containers.length=== -1){this.containers[c]._trigger("over",a,this._uiHash(this));this.containers[c].containerCache.over=1}else if(this.currentContainer!=this.containers[c]){b=1E4;e=null;for(var f=this.positionAbs[this.containers[c].floating?"left":"top"],g=this.items.length-1;g>=0;g--)if(d.ui.contains(this.containers[c].element[0],this.items[g].item[0])){var h=this.items[g][this.containers[c].floating?"left":"top"];if(Math.abs(h-f)this.containment[2])f=this.containment[2]+this.offset.click.left;if(a.pageY-this.offset.click.top>this.containment[3])g=this.containment[3]+this.offset.click.top}if(b.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.top< -this.containment[1]||g-this.offset.click.top>this.containment[3])?g:!(g-this.offset.click.topthis.containment[2])?f:!(f-this.offset.click.left=0;e--)if(d.ui.contains(this.containers[e].element[0], -this.currentItem[0])&&!b){c.push(function(f){return function(g){f._trigger("receive",g,this._uiHash(this))}}.call(this,this.containers[e]));c.push(function(f){return function(g){f._trigger("update",g,this._uiHash(this))}}.call(this,this.containers[e]))}}for(e=this.containers.length-1;e>=0;e--){b||c.push(function(f){return function(g){f._trigger("deactivate",g,this._uiHash(this))}}.call(this,this.containers[e]));if(this.containers[e].containerCache.over){c.push(function(f){return function(g){f._trigger("out", -g,this._uiHash(this))}}.call(this,this.containers[e]));this.containers[e].containerCache.over=0}}this._storedCursor&&d("body").css("cursor",this._storedCursor);this._storedOpacity&&this.helper.css("opacity",this._storedOpacity);if(this._storedZIndex)this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex);this.dragging=false;if(this.cancelHelperRemoval){if(!b){this._trigger("beforeStop",a,this._uiHash());for(e=0;e li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var a=this,b=a.options;a.running=0;a.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix"); -a.headers=a.element.find(b.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){b.disabled||c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){b.disabled||c(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){b.disabled||c(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){b.disabled||c(this).removeClass("ui-state-focus")});a.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"); -if(b.navigation){var d=a.element.find("a").filter(b.navigationFilter).eq(0);if(d.length){var h=d.closest(".ui-accordion-header");a.active=h.length?h:d.closest(".ui-accordion-content").prev()}}a.active=a._findActive(a.active||b.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");a.active.next().addClass("ui-accordion-content-active");a._createIcons();a.resize();a.element.attr("role","tablist");a.headers.attr("role","tab").bind("keydown.accordion", -function(f){return a._keydown(f)}).next().attr("role","tabpanel");a.headers.not(a.active||"").attr({"aria-expanded":"false",tabIndex:-1}).next().hide();a.active.length?a.active.attr({"aria-expanded":"true",tabIndex:0}):a.headers.eq(0).attr("tabIndex",0);c.browser.safari||a.headers.find("a").attr("tabIndex",-1);b.event&&a.headers.bind(b.event.split(" ").join(".accordion ")+".accordion",function(f){a._clickHandler.call(a,f,this);f.preventDefault()})},_createIcons:function(){var a=this.options;if(a.icons){c("").addClass("ui-icon "+ -a.icons.header).prependTo(this.headers);this.active.children(".ui-icon").toggleClass(a.icons.header).toggleClass(a.icons.headerSelected);this.element.addClass("ui-accordion-icons")}},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},destroy:function(){var a=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("tabIndex"); -this.headers.find("a").removeAttr("tabIndex");this._destroyIcons();var b=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled");if(a.autoHeight||a.fillHeight)b.css("height","");return c.Widget.prototype.destroy.call(this)},_setOption:function(a,b){c.Widget.prototype._setOption.apply(this,arguments);a=="active"&&this.activate(b);if(a=="icons"){this._destroyIcons(); -b&&this._createIcons()}if(a=="disabled")this.headers.add(this.headers.next())[b?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")},_keydown:function(a){if(!(this.options.disabled||a.altKey||a.ctrlKey)){var b=c.ui.keyCode,d=this.headers.length,h=this.headers.index(a.target),f=false;switch(a.keyCode){case b.RIGHT:case b.DOWN:f=this.headers[(h+1)%d];break;case b.LEFT:case b.UP:f=this.headers[(h-1+d)%d];break;case b.SPACE:case b.ENTER:this._clickHandler({target:a.target},a.target); -a.preventDefault()}if(f){c(a.target).attr("tabIndex",-1);c(f).attr("tabIndex",0);f.focus();return false}return true}},resize:function(){var a=this.options,b;if(a.fillSpace){if(c.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}b=this.element.parent().height();c.browser.msie&&this.element.parent().css("overflow",d);this.headers.each(function(){b-=c(this).outerHeight(true)});this.headers.next().each(function(){c(this).height(Math.max(0,b-c(this).innerHeight()+ -c(this).height()))}).css("overflow","auto")}else if(a.autoHeight){b=0;this.headers.next().each(function(){b=Math.max(b,c(this).height("").height())}).height(b)}return this},activate:function(a){this.options.active=a;a=this._findActive(a)[0];this._clickHandler({target:a},a);return this},_findActive:function(a){return a?typeof a==="number"?this.headers.filter(":eq("+a+")"):this.headers.not(this.headers.not(a)):a===false?c([]):this.headers.filter(":eq(0)")},_clickHandler:function(a,b){var d=this.options; -if(!d.disabled)if(a.target){a=c(a.currentTarget||b);b=a[0]===this.active[0];d.active=d.collapsible&&b?false:this.headers.index(a);if(!(this.running||!d.collapsible&&b)){var h=this.active;j=a.next();g=this.active.next();e={options:d,newHeader:b&&d.collapsible?c([]):a,oldHeader:this.active,newContent:b&&d.collapsible?c([]):j,oldContent:g};var f=this.headers.index(this.active[0])>this.headers.index(a[0]);this.active=b?c([]):a;this._toggle(j,g,e,b,f);h.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header); -if(!b){a.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(d.icons.header).addClass(d.icons.headerSelected);a.next().addClass("ui-accordion-content-active")}}}else if(d.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);this.active.next().addClass("ui-accordion-content-active");var g=this.active.next(), -e={options:d,newHeader:c([]),oldHeader:d.active,newContent:c([]),oldContent:g},j=this.active=c([]);this._toggle(j,g,e)}},_toggle:function(a,b,d,h,f){var g=this,e=g.options;g.toShow=a;g.toHide=b;g.data=d;var j=function(){if(g)return g._completed.apply(g,arguments)};g._trigger("changestart",null,g.data);g.running=b.size()===0?a.size():b.size();if(e.animated){d={};d=e.collapsible&&h?{toShow:c([]),toHide:b,complete:j,down:f,autoHeight:e.autoHeight||e.fillSpace}:{toShow:a,toHide:b,complete:j,down:f,autoHeight:e.autoHeight|| -e.fillSpace};if(!e.proxied)e.proxied=e.animated;if(!e.proxiedDuration)e.proxiedDuration=e.duration;e.animated=c.isFunction(e.proxied)?e.proxied(d):e.proxied;e.duration=c.isFunction(e.proxiedDuration)?e.proxiedDuration(d):e.proxiedDuration;h=c.ui.accordion.animations;var i=e.duration,k=e.animated;if(k&&!h[k]&&!c.easing[k])k="slide";h[k]||(h[k]=function(l){this.slide(l,{easing:k,duration:i||700})});h[k](d)}else{if(e.collapsible&&h)a.toggle();else{b.hide();a.show()}j(true)}b.prev().attr({"aria-expanded":"false", -tabIndex:-1}).blur();a.prev().attr({"aria-expanded":"true",tabIndex:0}).focus()},_completed:function(a){this.running=a?0:--this.running;if(!this.running){this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""});this.toHide.removeClass("ui-accordion-content-active");if(this.toHide.length)this.toHide.parent()[0].className=this.toHide.parent()[0].className;this._trigger("change",null,this.data)}}});c.extend(c.ui.accordion,{version:"1.8.9",animations:{slide:function(a,b){a= -c.extend({easing:"swing",duration:300},a,b);if(a.toHide.size())if(a.toShow.size()){var d=a.toShow.css("overflow"),h=0,f={},g={},e;b=a.toShow;e=b[0].style.width;b.width(parseInt(b.parent().width(),10)-parseInt(b.css("paddingLeft"),10)-parseInt(b.css("paddingRight"),10)-(parseInt(b.css("borderLeftWidth"),10)||0)-(parseInt(b.css("borderRightWidth"),10)||0));c.each(["height","paddingTop","paddingBottom"],function(j,i){g[i]="hide";j=(""+c.css(a.toShow[0],i)).match(/^([\d+-.]+)(.*)$/);f[i]={value:j[1], -unit:j[2]||"px"}});a.toShow.css({height:0,overflow:"hidden"}).show();a.toHide.filter(":hidden").each(a.complete).end().filter(":visible").animate(g,{step:function(j,i){if(i.prop=="height")h=i.end-i.start===0?0:(i.now-i.start)/(i.end-i.start);a.toShow[0].style[i.prop]=h*f[i.prop].value+f[i.prop].unit},duration:a.duration,easing:a.easing,complete:function(){a.autoHeight||a.toShow.css("height","");a.toShow.css({width:e,overflow:d});a.complete()}})}else a.toHide.animate({height:"hide",paddingTop:"hide", -paddingBottom:"hide"},a);else a.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},a)},bounceslide:function(a){this.slide(a,{easing:a.down?"easeOutBounce":"swing",duration:a.down?1E3:200})}}})})(jQuery); -;/* - * jQuery UI Autocomplete 1.8.9 - * - * 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/Autocomplete - * - * Depends: - * jquery.ui.core.js - * jquery.ui.widget.js - * jquery.ui.position.js - */ -(function(d){d.widget("ui.autocomplete",{options:{appendTo:"body",delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var a=this,b=this.element[0].ownerDocument,f;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(!(a.options.disabled||a.element.attr("readonly"))){f=false;var e=d.ui.keyCode; -switch(c.keyCode){case e.PAGE_UP:a._move("previousPage",c);break;case e.PAGE_DOWN:a._move("nextPage",c);break;case e.UP:a._move("previous",c);c.preventDefault();break;case e.DOWN:a._move("next",c);c.preventDefault();break;case e.ENTER:case e.NUMPAD_ENTER:if(a.menu.active){f=true;c.preventDefault()}case e.TAB:if(!a.menu.active)return;a.menu.select(c);break;case e.ESCAPE:a.element.val(a.term);a.close(c);break;default:clearTimeout(a.searching);a.searching=setTimeout(function(){if(a.term!=a.element.val()){a.selectedItem= -null;a.search(null,c)}},a.options.delay);break}}}).bind("keypress.autocomplete",function(c){if(f){f=false;c.preventDefault()}}).bind("focus.autocomplete",function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind("blur.autocomplete",function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){return a._response.apply(a,arguments)};this.menu=d("
    ").addClass("ui-autocomplete").appendTo(d(this.options.appendTo|| -"body",b)[0]).mousedown(function(c){var e=a.menu.element[0];d(c.target).closest(".ui-menu-item").length||setTimeout(function(){d(document).one("mousedown",function(g){g.target!==a.element[0]&&g.target!==e&&!d.ui.contains(e,g.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,e){e=e.item.data("item.autocomplete");false!==a._trigger("focus",c,{item:e})&&/^key/.test(c.originalEvent.type)&&a.element.val(e.value)},selected:function(c,e){var g=e.item.data("item.autocomplete"), -h=a.previous;if(a.element[0]!==b.activeElement){a.element.focus();a.previous=h;setTimeout(function(){a.previous=h;a.selectedItem=g},1)}false!==a._trigger("select",c,{item:g})&&a.element.val(g.value);a.term=a.element.val();a.close(c);a.selectedItem=g},blur:function(){a.menu.element.is(":visible")&&a.element.val()!==a.term&&a.element.val(a.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");d.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup"); -this.menu.element.remove();d.Widget.prototype.destroy.call(this)},_setOption:function(a,b){d.Widget.prototype._setOption.apply(this,arguments);a==="source"&&this._initSource();if(a==="appendTo")this.menu.element.appendTo(d(b||"body",this.element[0].ownerDocument)[0]);a==="disabled"&&b&&this.xhr&&this.xhr.abort()},_initSource:function(){var a=this,b,f;if(d.isArray(this.options.source)){b=this.options.source;this.source=function(c,e){e(d.ui.autocomplete.filter(b,c.term))}}else if(typeof this.options.source=== -"string"){f=this.options.source;this.source=function(c,e){a.xhr&&a.xhr.abort();a.xhr=d.ajax({url:f,data:c,dataType:"json",success:function(g,h,i){i===a.xhr&&e(g);a.xhr=null},error:function(g){g===a.xhr&&e([]);a.xhr=null}})}}else this.source=this.options.source},search:function(a,b){a=a!=null?a:this.element.val();this.term=this.element.val();if(a.length").data("item.autocomplete",b).append(d("").text(b.label)).appendTo(a)},_move:function(a,b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b); -else this.search(null,b)},widget:function(){return this.menu.element}});d.extend(d.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(a,b){var f=new RegExp(d.ui.autocomplete.escapeRegex(b),"i");return d.grep(a,function(c){return f.test(c.label||c.value||c)})}})})(jQuery); -(function(d){d.widget("ui.menu",{_create:function(){var a=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(b){if(d(b.target).closest(".ui-menu-item a").length){b.preventDefault();a.select(b)}});this.refresh()},refresh:function(){var a=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex", --1).mouseenter(function(b){a.activate(b,d(this).parent())}).mouseleave(function(){a.deactivate()})},activate:function(a,b){this.deactivate();if(this.hasScroll()){var f=b.offset().top-this.element.offset().top,c=this.element.attr("scrollTop"),e=this.element.height();if(f<0)this.element.attr("scrollTop",c+f);else f>=e&&this.element.attr("scrollTop",c+f-e+b.height())}this.active=b.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",a,{item:b})}, -deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id");this._trigger("blur");this.active=null}},next:function(a){this.move("next",".ui-menu-item:first",a)},previous:function(a){this.move("prev",".ui-menu-item:last",a)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(a,b,f){if(this.active){a=this.active[a+"All"](".ui-menu-item").eq(0); -a.length?this.activate(f,a):this.activate(f,this.element.children(b))}else this.activate(f,this.element.children(b))},nextPage:function(a){if(this.hasScroll())if(!this.active||this.last())this.activate(a,this.element.children(".ui-menu-item:first"));else{var b=this.active.offset().top,f=this.element.height(),c=this.element.children(".ui-menu-item").filter(function(){var e=d(this).offset().top-b-f+d(this).height();return e<10&&e>-10});c.length||(c=this.element.children(".ui-menu-item:last"));this.activate(a, -c)}else this.activate(a,this.element.children(".ui-menu-item").filter(!this.active||this.last()?":first":":last"))},previousPage:function(a){if(this.hasScroll())if(!this.active||this.first())this.activate(a,this.element.children(".ui-menu-item:last"));else{var b=this.active.offset().top,f=this.element.height();result=this.element.children(".ui-menu-item").filter(function(){var c=d(this).offset().top-b+f-d(this).height();return c<10&&c>-10});result.length||(result=this.element.children(".ui-menu-item:first")); -this.activate(a,result)}else this.activate(a,this.element.children(".ui-menu-item").filter(!this.active||this.first()?":last":":first"))},hasScroll:function(){return this.element.height()").addClass("ui-button-text").html(this.options.label).appendTo(b.empty()).text(),d=this.options.icons,e=d.primary&&d.secondary;if(d.primary||d.secondary){b.addClass("ui-button-text-icon"+(e?"s":d.primary?"-primary":"-secondary"));d.primary&&b.prepend("");d.secondary&&b.append("");if(!this.options.text){b.addClass(e?"ui-button-icons-only":"ui-button-icon-only").removeClass("ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary"); -this.hasTitle||b.attr("title",c)}}else b.addClass("ui-button-text-only")}}});a.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(b,c){b==="disabled"&&this.buttons.button("option",b,c);a.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass("ui-corner-left").end().filter(":last").addClass("ui-corner-right").end().end()}, -destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");a.Widget.prototype.destroy.call(this)}})})(jQuery); -;/* - * jQuery UI Dialog 1.8.9 - * - * 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/Dialog - * - * Depends: - * jquery.ui.core.js - * jquery.ui.widget.js - * jquery.ui.button.js - * jquery.ui.draggable.js - * jquery.ui.mouse.js - * jquery.ui.position.js - * jquery.ui.resizable.js - */ -(function(c,j){var k={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},l={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true};c.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:{my:"center",at:"center",collision:"fit",using:function(a){var b=c(this).css(a).offset().top;b<0&& -c(this).css("top",a.top-b)}},resizable:true,show:null,stack:true,title:"",width:300,zIndex:1E3},_create:function(){this.originalTitle=this.element.attr("title");if(typeof this.originalTitle!=="string")this.originalTitle="";this.options.title=this.options.title||this.originalTitle;var a=this,b=a.options,d=b.title||" ",e=c.ui.dialog.getTitleId(a.element),g=(a.uiDialog=c("
    ")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+b.dialogClass).css({zIndex:b.zIndex}).attr("tabIndex", --1).css("outline",0).keydown(function(i){if(b.closeOnEscape&&i.keyCode&&i.keyCode===c.ui.keyCode.ESCAPE){a.close(i);i.preventDefault()}}).attr({role:"dialog","aria-labelledby":e}).mousedown(function(i){a.moveToTop(false,i)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g);var f=(a.uiDialogTitlebar=c("
    ")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g),h=c('').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role", -"button").hover(function(){h.addClass("ui-state-hover")},function(){h.removeClass("ui-state-hover")}).focus(function(){h.addClass("ui-state-focus")}).blur(function(){h.removeClass("ui-state-focus")}).click(function(i){a.close(i);return false}).appendTo(f);(a.uiDialogTitlebarCloseText=c("")).addClass("ui-icon ui-icon-closethick").text(b.closeText).appendTo(h);c("").addClass("ui-dialog-title").attr("id",e).html(d).prependTo(f);if(c.isFunction(b.beforeclose)&&!c.isFunction(b.beforeClose))b.beforeClose= -b.beforeclose;f.find("*").add(f).disableSelection();b.draggable&&c.fn.draggable&&a._makeDraggable();b.resizable&&c.fn.resizable&&a._makeResizable();a._createButtons(b.buttons);a._isOpen=false;c.fn.bgiframe&&g.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var a=this;a.overlay&&a.overlay.destroy();a.uiDialog.hide();a.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");a.uiDialog.remove();a.originalTitle&& -a.element.attr("title",a.originalTitle);return a},widget:function(){return this.uiDialog},close:function(a){var b=this,d,e;if(false!==b._trigger("beforeClose",a)){b.overlay&&b.overlay.destroy();b.uiDialog.unbind("keypress.ui-dialog");b._isOpen=false;if(b.options.hide)b.uiDialog.hide(b.options.hide,function(){b._trigger("close",a)});else{b.uiDialog.hide();b._trigger("close",a)}c.ui.dialog.overlay.resize();if(b.options.modal){d=0;c(".ui-dialog").each(function(){if(this!==b.uiDialog[0]){e=c(this).css("z-index"); -isNaN(e)||(d=Math.max(d,e))}});c.ui.dialog.maxZ=d}return b}},isOpen:function(){return this._isOpen},moveToTop:function(a,b){var d=this,e=d.options;if(e.modal&&!a||!e.stack&&!e.modal)return d._trigger("focus",b);if(e.zIndex>c.ui.dialog.maxZ)c.ui.dialog.maxZ=e.zIndex;if(d.overlay){c.ui.dialog.maxZ+=1;d.overlay.$el.css("z-index",c.ui.dialog.overlay.maxZ=c.ui.dialog.maxZ)}a={scrollTop:d.element.attr("scrollTop"),scrollLeft:d.element.attr("scrollLeft")};c.ui.dialog.maxZ+=1;d.uiDialog.css("z-index",c.ui.dialog.maxZ); -d.element.attr(a);d._trigger("focus",b);return d},open:function(){if(!this._isOpen){var a=this,b=a.options,d=a.uiDialog;a.overlay=b.modal?new c.ui.dialog.overlay(a):null;a._size();a._position(b.position);d.show(b.show);a.moveToTop(true);b.modal&&d.bind("keypress.ui-dialog",function(e){if(e.keyCode===c.ui.keyCode.TAB){var g=c(":tabbable",this),f=g.filter(":first");g=g.filter(":last");if(e.target===g[0]&&!e.shiftKey){f.focus(1);return false}else if(e.target===f[0]&&e.shiftKey){g.focus(1);return false}}}); -c(a.element.find(":tabbable").get().concat(d.find(".ui-dialog-buttonpane :tabbable").get().concat(d.get()))).eq(0).focus();a._isOpen=true;a._trigger("open");return a}},_createButtons:function(a){var b=this,d=false,e=c("
    ").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),g=c("
    ").addClass("ui-dialog-buttonset").appendTo(e);b.uiDialog.find(".ui-dialog-buttonpane").remove();typeof a==="object"&&a!==null&&c.each(a,function(){return!(d=true)});if(d){c.each(a,function(f, -h){h=c.isFunction(h)?{click:h,text:f}:h;f=c('').attr(h,true).unbind("click").click(function(){h.click.apply(b.element[0],arguments)}).appendTo(g);c.fn.button&&f.button()});e.appendTo(b.uiDialog)}},_makeDraggable:function(){function a(f){return{position:f.position,offset:f.offset}}var b=this,d=b.options,e=c(document),g;b.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(f,h){g= -d.height==="auto"?"auto":c(this).height();c(this).height(c(this).height()).addClass("ui-dialog-dragging");b._trigger("dragStart",f,a(h))},drag:function(f,h){b._trigger("drag",f,a(h))},stop:function(f,h){d.position=[h.position.left-e.scrollLeft(),h.position.top-e.scrollTop()];c(this).removeClass("ui-dialog-dragging").height(g);b._trigger("dragStop",f,a(h));c.ui.dialog.overlay.resize()}})},_makeResizable:function(a){function b(f){return{originalPosition:f.originalPosition,originalSize:f.originalSize, -position:f.position,size:f.size}}a=a===j?this.options.resizable:a;var d=this,e=d.options,g=d.uiDialog.css("position");a=typeof a==="string"?a:"n,e,s,w,se,sw,ne,nw";d.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:d.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:d._minHeight(),handles:a,start:function(f,h){c(this).addClass("ui-dialog-resizing");d._trigger("resizeStart",f,b(h))},resize:function(f,h){d._trigger("resize",f,b(h))},stop:function(f, -h){c(this).removeClass("ui-dialog-resizing");e.height=c(this).height();e.width=c(this).width();d._trigger("resizeStop",f,b(h));c.ui.dialog.overlay.resize()}}).css("position",g).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var a=this.options;return a.height==="auto"?a.minHeight:Math.min(a.minHeight,a.height)},_position:function(a){var b=[],d=[0,0],e;if(a){if(typeof a==="string"||typeof a==="object"&&"0"in a){b=a.split?a.split(" "):[a[0],a[1]];if(b.length=== -1)b[1]=b[0];c.each(["left","top"],function(g,f){if(+b[g]===b[g]){d[g]=b[g];b[g]=f}});a={my:b.join(" "),at:b.join(" "),offset:d.join(" ")}}a=c.extend({},c.ui.dialog.prototype.options.position,a)}else a=c.ui.dialog.prototype.options.position;(e=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position(c.extend({of:window},a));e||this.uiDialog.hide()},_setOptions:function(a){var b=this,d={},e=false;c.each(a,function(g,f){b._setOption(g,f);if(g in k)e=true;if(g in -l)d[g]=f});e&&this._size();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",d)},_setOption:function(a,b){var d=this,e=d.uiDialog;switch(a){case "beforeclose":a="beforeClose";break;case "buttons":d._createButtons(b);break;case "closeText":d.uiDialogTitlebarCloseText.text(""+b);break;case "dialogClass":e.removeClass(d.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+b);break;case "disabled":b?e.addClass("ui-dialog-disabled"):e.removeClass("ui-dialog-disabled"); -break;case "draggable":var g=e.is(":data(draggable)");g&&!b&&e.draggable("destroy");!g&&b&&d._makeDraggable();break;case "position":d._position(b);break;case "resizable":(g=e.is(":data(resizable)"))&&!b&&e.resizable("destroy");g&&typeof b==="string"&&e.resizable("option","handles",b);!g&&b!==false&&d._makeResizable(b);break;case "title":c(".ui-dialog-title",d.uiDialogTitlebar).html(""+(b||" "));break}c.Widget.prototype._setOption.apply(d,arguments)},_size:function(){var a=this.options,b,d,e= -this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});if(a.minWidth>a.width)a.width=a.minWidth;b=this.uiDialog.css({height:"auto",width:a.width}).height();d=Math.max(0,a.minHeight-b);if(a.height==="auto")if(c.support.minHeight)this.element.css({minHeight:d,height:"auto"});else{this.uiDialog.show();a=this.element.css("height","auto").height();e||this.uiDialog.hide();this.element.height(Math.max(a,d))}else this.element.height(Math.max(a.height-b,0));this.uiDialog.is(":data(resizable)")&& -this.uiDialog.resizable("option","minHeight",this._minHeight())}});c.extend(c.ui.dialog,{version:"1.8.9",uuid:0,maxZ:0,getTitleId:function(a){a=a.attr("id");if(!a){this.uuid+=1;a=this.uuid}return"ui-dialog-title-"+a},overlay:function(a){this.$el=c.ui.dialog.overlay.create(a)}});c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),create:function(a){if(this.instances.length=== -0){setTimeout(function(){c.ui.dialog.overlay.instances.length&&c(document).bind(c.ui.dialog.overlay.events,function(d){if(c(d.target).zIndex()
    ").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(), -height:this.height()});c.fn.bgiframe&&b.bgiframe();this.instances.push(b);return b},destroy:function(a){var b=c.inArray(a,this.instances);b!=-1&&this.oldInstances.push(this.instances.splice(b,1)[0]);this.instances.length===0&&c([document,window]).unbind(".dialog-overlay");a.remove();var d=0;c.each(this.instances,function(){d=Math.max(d,this.css("z-index"))});this.maxZ=d},height:function(){var a,b;if(c.browser.msie&&c.browser.version<7){a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight); -b=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return a
    ");if(!a.values)a.values=[this._valueMin(),this._valueMin()];if(a.values.length&&a.values.length!==2)a.values=[a.values[0],a.values[0]]}else this.range=d("
    ");this.range.appendTo(this.element).addClass("ui-slider-range");if(a.range==="min"||a.range==="max")this.range.addClass("ui-slider-range-"+a.range);this.range.addClass("ui-widget-header")}d(".ui-slider-handle",this.element).length===0&&d("").appendTo(this.element).addClass("ui-slider-handle"); -if(a.values&&a.values.length)for(;d(".ui-slider-handle",this.element).length").appendTo(this.element).addClass("ui-slider-handle");this.handles=d(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(c){c.preventDefault()}).hover(function(){a.disabled||d(this).addClass("ui-state-hover")},function(){d(this).removeClass("ui-state-hover")}).focus(function(){if(a.disabled)d(this).blur(); -else{d(".ui-slider .ui-state-focus").removeClass("ui-state-focus");d(this).addClass("ui-state-focus")}}).blur(function(){d(this).removeClass("ui-state-focus")});this.handles.each(function(c){d(this).data("index.ui-slider-handle",c)});this.handles.keydown(function(c){var e=true,f=d(this).data("index.ui-slider-handle"),h,g,i;if(!b.options.disabled){switch(c.keyCode){case d.ui.keyCode.HOME:case d.ui.keyCode.END:case d.ui.keyCode.PAGE_UP:case d.ui.keyCode.PAGE_DOWN:case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:e= -false;if(!b._keySliding){b._keySliding=true;d(this).addClass("ui-state-active");h=b._start(c,f);if(h===false)return}break}i=b.options.step;h=b.options.values&&b.options.values.length?(g=b.values(f)):(g=b.value());switch(c.keyCode){case d.ui.keyCode.HOME:g=b._valueMin();break;case d.ui.keyCode.END:g=b._valueMax();break;case d.ui.keyCode.PAGE_UP:g=b._trimAlignValue(h+(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.PAGE_DOWN:g=b._trimAlignValue(h-(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:if(h=== -b._valueMax())return;g=b._trimAlignValue(h+i);break;case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:if(h===b._valueMin())return;g=b._trimAlignValue(h-i);break}b._slide(c,f,g);return e}}).keyup(function(c){var e=d(this).data("index.ui-slider-handle");if(b._keySliding){b._keySliding=false;b._stop(c,e);b._change(c,e);d(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider"); -this._mouseDestroy();return this},_mouseCapture:function(b){var a=this.options,c,e,f,h,g;if(a.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();c=this._normValueFromMouse({x:b.pageX,y:b.pageY});e=this._valueMax()-this._valueMin()+1;h=this;this.handles.each(function(i){var j=Math.abs(c-h.values(i));if(e>j){e=j;f=d(this);g=i}});if(a.range===true&&this.values(1)===a.min){g+=1;f=d(this.handles[g])}if(this._start(b, -g)===false)return false;this._mouseSliding=true;h._handleIndex=g;f.addClass("ui-state-active").focus();a=f.offset();this._clickOffset=!d(b.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:b.pageX-a.left-f.width()/2,top:b.pageY-a.top-f.height()/2-(parseInt(f.css("borderTopWidth"),10)||0)-(parseInt(f.css("borderBottomWidth"),10)||0)+(parseInt(f.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(b,g,c);return this._animateOff=true},_mouseStart:function(){return true}, -_mouseDrag:function(b){var a=this._normValueFromMouse({x:b.pageX,y:b.pageY});this._slide(b,this._handleIndex,a);return false},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(b){var a; -if(this.orientation==="horizontal"){a=this.elementSize.width;b=b.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{a=this.elementSize.height;b=b.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}a=b/a;if(a>1)a=1;if(a<0)a=0;if(this.orientation==="vertical")a=1-a;b=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+a*b)},_start:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value= -this.values(a);c.values=this.values()}return this._trigger("start",b,c)},_slide:function(b,a,c){var e;if(this.options.values&&this.options.values.length){e=this.values(a?0:1);if(this.options.values.length===2&&this.options.range===true&&(a===0&&c>e||a===1&&c1){this.options.values[b]=this._trimAlignValue(a);this._refreshValue();this._change(null,b)}if(arguments.length)if(d.isArray(arguments[0])){c=this.options.values;e=arguments[0];for(f=0;f=this._valueMax())return this._valueMax();var a=this.options.step>0?this.options.step:1,c=(b-this._valueMin())%a;alignValue=b-c;if(Math.abs(c)*2>=a)alignValue+=c>0?a:-a;return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max}, -_refreshValue:function(){var b=this.options.range,a=this.options,c=this,e=!this._animateOff?a.animate:false,f,h={},g,i,j,l;if(this.options.values&&this.options.values.length)this.handles.each(function(k){f=(c.values(k)-c._valueMin())/(c._valueMax()-c._valueMin())*100;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";d(this).stop(1,1)[e?"animate":"css"](h,a.animate);if(c.options.range===true)if(c.orientation==="horizontal"){if(k===0)c.range.stop(1,1)[e?"animate":"css"]({left:f+"%"},a.animate); -if(k===1)c.range[e?"animate":"css"]({width:f-g+"%"},{queue:false,duration:a.animate})}else{if(k===0)c.range.stop(1,1)[e?"animate":"css"]({bottom:f+"%"},a.animate);if(k===1)c.range[e?"animate":"css"]({height:f-g+"%"},{queue:false,duration:a.animate})}g=f});else{i=this.value();j=this._valueMin();l=this._valueMax();f=l!==j?(i-j)/(l-j)*100:0;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";this.handle.stop(1,1)[e?"animate":"css"](h,a.animate);if(b==="min"&&this.orientation==="horizontal")this.range.stop(1, -1)[e?"animate":"css"]({width:f+"%"},a.animate);if(b==="max"&&this.orientation==="horizontal")this.range[e?"animate":"css"]({width:100-f+"%"},{queue:false,duration:a.animate});if(b==="min"&&this.orientation==="vertical")this.range.stop(1,1)[e?"animate":"css"]({height:f+"%"},a.animate);if(b==="max"&&this.orientation==="vertical")this.range[e?"animate":"css"]({height:100-f+"%"},{queue:false,duration:a.animate})}}});d.extend(d.ui.slider,{version:"1.8.9"})})(jQuery); -;/* - * jQuery UI Tabs 1.8.9 - * - * 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.9"});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
    ')}function E(a,b){d.extend(a,b);for(var c in b)if(b[c]== -null||b[c]==G)a[c]=b[c];return a}d.extend(d.ui,{datepicker:{version:"1.8.9"}});var y=(new Date).getTime();d.extend(K.prototype,{markerClassName:"hasDatepicker",log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){E(this._defaults,a||{});return this},_attachDatepicker:function(a,b){var c=null;for(var e in this._defaults){var f=a.getAttribute("date:"+e);if(f){c=c||{};try{c[e]=eval(f)}catch(h){c[e]=f}}}e=a.nodeName.toLowerCase(); -f=e=="div"||e=="span";if(!a.id){this.uuid+=1;a.id="dp"+this.uuid}var i=this._newInst(d(a),f);i.settings=d.extend({},b||{},c||{});if(e=="input")this._connectDatepicker(a,i);else f&&this._inlineDatepicker(a,i)},_newInst:function(a,b){return{id:a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:b,dpDiv:!b?this.dpDiv:d('
    ')}}, -_connectDatepicker:function(a,b){var c=d(a);b.append=d([]);b.trigger=d([]);if(!c.hasClass(this.markerClassName)){this._attachments(c,b);c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(e,f,h){b.settings[f]=h}).bind("getData.datepicker",function(e,f){return this._get(b,f)});this._autoSize(b);d.data(a,"datepicker",b)}},_attachments:function(a,b){var c=this._get(b,"appendText"),e=this._get(b,"isRTL");b.append&& -b.append.remove();if(c){b.append=d(''+c+"");a[e?"before":"after"](b.append)}a.unbind("focus",this._showDatepicker);b.trigger&&b.trigger.remove();c=this._get(b,"showOn");if(c=="focus"||c=="both")a.focus(this._showDatepicker);if(c=="button"||c=="both"){c=this._get(b,"buttonText");var f=this._get(b,"buttonImage");b.trigger=d(this._get(b,"buttonImageOnly")?d("").addClass(this._triggerClass).attr({src:f,alt:c,title:c}):d('').addClass(this._triggerClass).html(f== -""?c:d("").attr({src:f,alt:c,title:c})));a[e?"before":"after"](b.trigger);b.trigger.click(function(){d.datepicker._datepickerShowing&&d.datepicker._lastInput==a[0]?d.datepicker._hideDatepicker():d.datepicker._showDatepicker(a[0]);return false})}},_autoSize:function(a){if(this._get(a,"autoSize")&&!a.inline){var b=new Date(2009,11,20),c=this._get(a,"dateFormat");if(c.match(/[DM]/)){var e=function(f){for(var h=0,i=0,g=0;gh){h=f[g].length;i=g}return i};b.setMonth(e(this._get(a, -c.match(/MM/)?"monthNames":"monthNamesShort")));b.setDate(e(this._get(a,c.match(/DD/)?"dayNames":"dayNamesShort"))+20-b.getDay())}a.input.attr("size",this._formatDate(a,b).length)}},_inlineDatepicker:function(a,b){var c=d(a);if(!c.hasClass(this.markerClassName)){c.addClass(this.markerClassName).append(b.dpDiv).bind("setData.datepicker",function(e,f,h){b.settings[f]=h}).bind("getData.datepicker",function(e,f){return this._get(b,f)});d.data(a,"datepicker",b);this._setDate(b,this._getDefaultDate(b), -true);this._updateDatepicker(b);this._updateAlternate(b);b.dpDiv.show()}},_dialogDatepicker:function(a,b,c,e,f){a=this._dialogInst;if(!a){this.uuid+=1;this._dialogInput=d('');this._dialogInput.keydown(this._doKeyDown);d("body").append(this._dialogInput);a=this._dialogInst=this._newInst(this._dialogInput,false);a.settings={};d.data(this._dialogInput[0],"datepicker",a)}E(a.settings,e||{}); -b=b&&b.constructor==Date?this._formatDate(a,b):b;this._dialogInput.val(b);this._pos=f?f.length?f:[f.pageX,f.pageY]:null;if(!this._pos)this._pos=[document.documentElement.clientWidth/2-100+(document.documentElement.scrollLeft||document.body.scrollLeft),document.documentElement.clientHeight/2-150+(document.documentElement.scrollTop||document.body.scrollTop)];this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px");a.settings.onSelect=c;this._inDialog=true;this.dpDiv.addClass(this._dialogClass); -this._showDatepicker(this._dialogInput[0]);d.blockUI&&d.blockUI(this.dpDiv);d.data(this._dialogInput[0],"datepicker",a);return this},_destroyDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();d.removeData(a,"datepicker");if(e=="input"){c.append.remove();c.trigger.remove();b.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup", -this._doKeyUp)}else if(e=="div"||e=="span")b.removeClass(this.markerClassName).empty()}},_enableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=false;c.trigger.filter("button").each(function(){this.disabled=false}).end().filter("img").css({opacity:"1.0",cursor:""})}else if(e=="div"||e=="span")b.children("."+this._inlineClass).children().removeClass("ui-state-disabled");this._disabledInputs=d.map(this._disabledInputs, -function(f){return f==a?null:f})}},_disableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=true;c.trigger.filter("button").each(function(){this.disabled=true}).end().filter("img").css({opacity:"0.5",cursor:"default"})}else if(e=="div"||e=="span")b.children("."+this._inlineClass).children().addClass("ui-state-disabled");this._disabledInputs=d.map(this._disabledInputs,function(f){return f==a?null: -f});this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(a){if(!a)return false;for(var b=0;b-1}},_doKeyUp:function(a){a=d.datepicker._getInst(a.target);if(a.input.val()!=a.lastVal)try{if(d.datepicker.parseDate(d.datepicker._get(a,"dateFormat"),a.input?a.input.val():null,d.datepicker._getFormatConfig(a))){d.datepicker._setDateFromField(a);d.datepicker._updateAlternate(a);d.datepicker._updateDatepicker(a)}}catch(b){d.datepicker.log(b)}return true}, -_showDatepicker:function(a){a=a.target||a;if(a.nodeName.toLowerCase()!="input")a=d("input",a.parentNode)[0];if(!(d.datepicker._isDisabledDatepicker(a)||d.datepicker._lastInput==a)){var b=d.datepicker._getInst(a);d.datepicker._curInst&&d.datepicker._curInst!=b&&d.datepicker._curInst.dpDiv.stop(true,true);var c=d.datepicker._get(b,"beforeShow");E(b.settings,c?c.apply(a,[a,b]):{});b.lastVal=null;d.datepicker._lastInput=a;d.datepicker._setDateFromField(b);if(d.datepicker._inDialog)a.value="";if(!d.datepicker._pos){d.datepicker._pos= -d.datepicker._findPos(a);d.datepicker._pos[1]+=a.offsetHeight}var e=false;d(a).parents().each(function(){e|=d(this).css("position")=="fixed";return!e});if(e&&d.browser.opera){d.datepicker._pos[0]-=document.documentElement.scrollLeft;d.datepicker._pos[1]-=document.documentElement.scrollTop}c={left:d.datepicker._pos[0],top:d.datepicker._pos[1]};d.datepicker._pos=null;b.dpDiv.empty();b.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});d.datepicker._updateDatepicker(b);c=d.datepicker._checkOffset(b, -c,e);b.dpDiv.css({position:d.datepicker._inDialog&&d.blockUI?"static":e?"fixed":"absolute",display:"none",left:c.left+"px",top:c.top+"px"});if(!b.inline){c=d.datepicker._get(b,"showAnim");var f=d.datepicker._get(b,"duration"),h=function(){d.datepicker._datepickerShowing=true;var i=b.dpDiv.find("iframe.ui-datepicker-cover");if(i.length){var g=d.datepicker._getBorders(b.dpDiv);i.css({left:-g[0],top:-g[1],width:b.dpDiv.outerWidth(),height:b.dpDiv.outerHeight()})}};b.dpDiv.zIndex(d(a).zIndex()+1);d.effects&& -d.effects[c]?b.dpDiv.show(c,d.datepicker._get(b,"showOptions"),f,h):b.dpDiv[c||"show"](c?f:null,h);if(!c||!f)h();b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus();d.datepicker._curInst=b}}},_updateDatepicker:function(a){var b=this,c=d.datepicker._getBorders(a.dpDiv);a.dpDiv.empty().append(this._generateHTML(a));var e=a.dpDiv.find("iframe.ui-datepicker-cover");e.length&&e.css({left:-c[0],top:-c[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()});a.dpDiv.find("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a").bind("mouseout", -function(){d(this).removeClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!=-1&&d(this).removeClass("ui-datepicker-prev-hover");this.className.indexOf("ui-datepicker-next")!=-1&&d(this).removeClass("ui-datepicker-next-hover")}).bind("mouseover",function(){if(!b._isDisabledDatepicker(a.inline?a.dpDiv.parent()[0]:a.input[0])){d(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");d(this).addClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!= --1&&d(this).addClass("ui-datepicker-prev-hover");this.className.indexOf("ui-datepicker-next")!=-1&&d(this).addClass("ui-datepicker-next-hover")}}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end();c=this._getNumberOfMonths(a);e=c[1];e>1?a.dpDiv.addClass("ui-datepicker-multi-"+e).css("width",17*e+"em"):a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");a.dpDiv[(c[0]!=1||c[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi");a.dpDiv[(this._get(a, -"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");a==d.datepicker._curInst&&d.datepicker._datepickerShowing&&a.input&&a.input.is(":visible")&&!a.input.is(":disabled")&&a.input.focus();if(a.yearshtml){var f=a.yearshtml;setTimeout(function(){f===a.yearshtml&&a.dpDiv.find("select.ui-datepicker-year:first").replaceWith(a.yearshtml);f=a.yearshtml=null},0)}},_getBorders:function(a){var b=function(c){return{thin:1,medium:2,thick:3}[c]||c};return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]}, -_checkOffset:function(a,b,c){var e=a.dpDiv.outerWidth(),f=a.dpDiv.outerHeight(),h=a.input?a.input.outerWidth():0,i=a.input?a.input.outerHeight():0,g=document.documentElement.clientWidth+d(document).scrollLeft(),j=document.documentElement.clientHeight+d(document).scrollTop();b.left-=this._get(a,"isRTL")?e-h:0;b.left-=c&&b.left==a.input.offset().left?d(document).scrollLeft():0;b.top-=c&&b.top==a.input.offset().top+i?d(document).scrollTop():0;b.left-=Math.min(b.left,b.left+e>g&&g>e?Math.abs(b.left+e- -g):0);b.top-=Math.min(b.top,b.top+f>j&&j>f?Math.abs(f+i):0);return b},_findPos:function(a){for(var b=this._get(this._getInst(a),"isRTL");a&&(a.type=="hidden"||a.nodeType!=1);)a=a[b?"previousSibling":"nextSibling"];a=d(a).offset();return[a.left,a.top]},_hideDatepicker:function(a){var b=this._curInst;if(!(!b||a&&b!=d.data(a,"datepicker")))if(this._datepickerShowing){a=this._get(b,"showAnim");var c=this._get(b,"duration"),e=function(){d.datepicker._tidyDialog(b);this._curInst=null};d.effects&&d.effects[a]? -b.dpDiv.hide(a,d.datepicker._get(b,"showOptions"),c,e):b.dpDiv[a=="slideDown"?"slideUp":a=="fadeIn"?"fadeOut":"hide"](a?c:null,e);a||e();if(a=this._get(b,"onClose"))a.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b]);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if(d.blockUI){d.unblockUI();d("body").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")}, -_checkExternalClick:function(a){if(d.datepicker._curInst){a=d(a.target);a[0].id!=d.datepicker._mainDivId&&a.parents("#"+d.datepicker._mainDivId).length==0&&!a.hasClass(d.datepicker.markerClassName)&&!a.hasClass(d.datepicker._triggerClass)&&d.datepicker._datepickerShowing&&!(d.datepicker._inDialog&&d.blockUI)&&d.datepicker._hideDatepicker()}},_adjustDate:function(a,b,c){a=d(a);var e=this._getInst(a[0]);if(!this._isDisabledDatepicker(a[0])){this._adjustInstDate(e,b+(c=="M"?this._get(e,"showCurrentAtPos"): -0),c);this._updateDatepicker(e)}},_gotoToday:function(a){a=d(a);var b=this._getInst(a[0]);if(this._get(b,"gotoCurrent")&&b.currentDay){b.selectedDay=b.currentDay;b.drawMonth=b.selectedMonth=b.currentMonth;b.drawYear=b.selectedYear=b.currentYear}else{var c=new Date;b.selectedDay=c.getDate();b.drawMonth=b.selectedMonth=c.getMonth();b.drawYear=b.selectedYear=c.getFullYear()}this._notifyChange(b);this._adjustDate(a)},_selectMonthYear:function(a,b,c){a=d(a);var e=this._getInst(a[0]);e._selectingMonthYear= -false;e["selected"+(c=="M"?"Month":"Year")]=e["draw"+(c=="M"?"Month":"Year")]=parseInt(b.options[b.selectedIndex].value,10);this._notifyChange(e);this._adjustDate(a)},_clickMonthYear:function(a){var b=this._getInst(d(a)[0]);b.input&&b._selectingMonthYear&&setTimeout(function(){b.input.focus()},0);b._selectingMonthYear=!b._selectingMonthYear},_selectDay:function(a,b,c,e){var f=d(a);if(!(d(e).hasClass(this._unselectableClass)||this._isDisabledDatepicker(f[0]))){f=this._getInst(f[0]);f.selectedDay=f.currentDay= -d("a",e).html();f.selectedMonth=f.currentMonth=b;f.selectedYear=f.currentYear=c;this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear))}},_clearDate:function(a){a=d(a);this._getInst(a[0]);this._selectDate(a,"")},_selectDate:function(a,b){a=this._getInst(d(a)[0]);b=b!=null?b:this._formatDate(a);a.input&&a.input.val(b);this._updateAlternate(a);var c=this._get(a,"onSelect");if(c)c.apply(a.input?a.input[0]:null,[b,a]);else a.input&&a.input.trigger("change");if(a.inline)this._updateDatepicker(a); -else{this._hideDatepicker();this._lastInput=a.input[0];typeof a.input[0]!="object"&&a.input.focus();this._lastInput=null}},_updateAlternate:function(a){var b=this._get(a,"altField");if(b){var c=this._get(a,"altFormat")||this._get(a,"dateFormat"),e=this._getDate(a),f=this.formatDate(c,e,this._getFormatConfig(a));d(b).each(function(){d(this).val(f)})}},noWeekends:function(a){a=a.getDay();return[a>0&&a<6,""]},iso8601Week:function(a){a=new Date(a.getTime());a.setDate(a.getDate()+4-(a.getDay()||7));var b= -a.getTime();a.setMonth(0);a.setDate(1);return Math.floor(Math.round((b-a)/864E5)/7)+1},parseDate:function(a,b,c){if(a==null||b==null)throw"Invalid arguments";b=typeof b=="object"?b.toString():b+"";if(b=="")return null;var e=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;e=typeof e!="string"?e:(new Date).getFullYear()%100+parseInt(e,10);for(var f=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,h=(c?c.dayNames:null)||this._defaults.dayNames,i=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort, -g=(c?c.monthNames:null)||this._defaults.monthNames,j=c=-1,l=-1,u=-1,k=false,o=function(p){(p=z+1-1){j=1;l=u;do{e=this._getDaysInMonth(c,j-1);if(l<=e)break;j++;l-=e}while(1)}w=this._daylightSavingAdjust(new Date(c,j-1,l));if(w.getFullYear()!=c||w.getMonth()+1!=j||w.getDate()!=l)throw"Invalid date";return w},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y", -RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1E7,formatDate:function(a,b,c){if(!b)return"";var e=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,f=(c?c.dayNames:null)||this._defaults.dayNames,h=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort;c=(c?c.monthNames:null)||this._defaults.monthNames;var i=function(o){(o=k+112?a.getHours()+2:0);return a},_setDate:function(a,b,c){var e=!b,f=a.selectedMonth,h=a.selectedYear;b=this._restrictMinMax(a,this._determineDate(a,b,new Date));a.selectedDay= -a.currentDay=b.getDate();a.drawMonth=a.selectedMonth=a.currentMonth=b.getMonth();a.drawYear=a.selectedYear=a.currentYear=b.getFullYear();if((f!=a.selectedMonth||h!=a.selectedYear)&&!c)this._notifyChange(a);this._adjustInstDate(a);if(a.input)a.input.val(e?"":this._formatDate(a))},_getDate:function(a){return!a.currentYear||a.input&&a.input.val()==""?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay))},_generateHTML:function(a){var b=new Date;b=this._daylightSavingAdjust(new Date(b.getFullYear(), -b.getMonth(),b.getDate()));var c=this._get(a,"isRTL"),e=this._get(a,"showButtonPanel"),f=this._get(a,"hideIfNoPrevNext"),h=this._get(a,"navigationAsDateFormat"),i=this._getNumberOfMonths(a),g=this._get(a,"showCurrentAtPos"),j=this._get(a,"stepMonths"),l=i[0]!=1||i[1]!=1,u=this._daylightSavingAdjust(!a.currentDay?new Date(9999,9,9):new Date(a.currentYear,a.currentMonth,a.currentDay)),k=this._getMinMaxDate(a,"min"),o=this._getMinMaxDate(a,"max");g=a.drawMonth-g;var m=a.drawYear;if(g<0){g+=12;m--}if(o){var n= -this._daylightSavingAdjust(new Date(o.getFullYear(),o.getMonth()-i[0]*i[1]+1,o.getDate()));for(n=k&&nn;){g--;if(g<0){g=11;m--}}}a.drawMonth=g;a.drawYear=m;n=this._get(a,"prevText");n=!h?n:this.formatDate(n,this._daylightSavingAdjust(new Date(m,g-j,1)),this._getFormatConfig(a));n=this._canAdjustMonth(a,-1,m,g)?''+n+"":f?"":''+n+"";var r=this._get(a,"nextText");r=!h?r:this.formatDate(r,this._daylightSavingAdjust(new Date(m,g+j,1)),this._getFormatConfig(a));f=this._canAdjustMonth(a,+1,m,g)?''+r+"":f?"":''+r+"";j=this._get(a,"currentText");r=this._get(a,"gotoCurrent")&&a.currentDay?u:b;j=!h?j:this.formatDate(j,r,this._getFormatConfig(a));h=!a.inline?'":"";e=e?'
    '+(c?h:"")+(this._isInRange(a,r)?'":"")+(c?"":h)+"
    ":"";h=parseInt(this._get(a,"firstDay"),10);h=isNaN(h)?0:h;j=this._get(a,"showWeek");r=this._get(a,"dayNames");this._get(a,"dayNamesShort");var s=this._get(a,"dayNamesMin"),z= -this._get(a,"monthNames"),w=this._get(a,"monthNamesShort"),p=this._get(a,"beforeShowDay"),v=this._get(a,"showOtherMonths"),H=this._get(a,"selectOtherMonths");this._get(a,"calculateWeek");for(var L=this._getDefaultDate(a),I="",C=0;C1)switch(D){case 0:x+=" ui-datepicker-group-first";t=" ui-corner-"+(c?"right":"left");break;case i[1]- -1:x+=" ui-datepicker-group-last";t=" ui-corner-"+(c?"left":"right");break;default:x+=" ui-datepicker-group-middle";t="";break}x+='">'}x+='
    '+(/all|left/.test(t)&&C==0?c?f:n:"")+(/all|right/.test(t)&&C==0?c?n:f:"")+this._generateMonthYearHeader(a,g,m,k,o,C>0||D>0,z,w)+'
    ';var A=j?'":"";for(t=0;t<7;t++){var q= -(t+h)%7;A+="=5?' class="ui-datepicker-week-end"':"")+'>'+s[q]+""}x+=A+"";A=this._getDaysInMonth(m,g);if(m==a.selectedYear&&g==a.selectedMonth)a.selectedDay=Math.min(a.selectedDay,A);t=(this._getFirstDayOfMonth(m,g)-h+7)%7;A=l?6:Math.ceil((t+A)/7);q=this._daylightSavingAdjust(new Date(m,g,1-t));for(var O=0;O";var P=!j?"":'";for(t=0;t<7;t++){var F= -p?p.apply(a.input?a.input[0]:null,[q]):[true,""],B=q.getMonth()!=g,J=B&&!H||!F[0]||k&&qo;P+='";q.setDate(q.getDate()+1);q=this._daylightSavingAdjust(q)}x+= -P+""}g++;if(g>11){g=0;m++}x+="
    '+this._get(a,"weekHeader")+"
    '+this._get(a,"calculateWeek")(q)+""+(B&&!v?" ":J?''+q.getDate()+"":''+q.getDate()+"")+"
    "+(l?"
    "+(i[0]>0&&D==i[1]-1?'
    ':""):"");M+=x}I+=M}I+=e+(d.browser.msie&&parseInt(d.browser.version,10)<7&&!a.inline?'':"");a._keyEvent=false;return I},_generateMonthYearHeader:function(a,b,c,e,f,h,i,g){var j=this._get(a,"changeMonth"),l=this._get(a,"changeYear"),u=this._get(a,"showMonthAfterYear"),k='
    ', -o="";if(h||!j)o+=''+i[b]+"";else{i=e&&e.getFullYear()==c;var m=f&&f.getFullYear()==c;o+='"}u||(k+=o+(h||!(j&& -l)?" ":""));a.yearshtml="";if(h||!l)k+=''+c+"";else{g=this._get(a,"yearRange").split(":");var r=(new Date).getFullYear();i=function(s){s=s.match(/c[+-].*/)?c+parseInt(s.substring(1),10):s.match(/[+-].*/)?r+parseInt(s,10):parseInt(s,10);return isNaN(s)?r:s};b=i(g[0]);g=Math.max(b,i(g[1]||""));b=e?Math.max(b,e.getFullYear()):b;g=f?Math.min(g,f.getFullYear()):g;for(a.yearshtml+='";if(d.browser.mozilla)k+='";else{k+=a.yearshtml;a.yearshtml=null}}k+=this._get(a,"yearSuffix");if(u)k+=(h||!(j&&l)?" ":"")+o;k+="
    ";return k},_adjustInstDate:function(a,b,c){var e= -a.drawYear+(c=="Y"?b:0),f=a.drawMonth+(c=="M"?b:0);b=Math.min(a.selectedDay,this._getDaysInMonth(e,f))+(c=="D"?b:0);e=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(e,f,b)));a.selectedDay=e.getDate();a.drawMonth=a.selectedMonth=e.getMonth();a.drawYear=a.selectedYear=e.getFullYear();if(c=="M"||c=="Y")this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");b=c&&ba?a:b},_notifyChange:function(a){var b=this._get(a, -"onChangeMonthYear");if(b)b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");return a==null?[1,1]:typeof a=="number"?[1,a]:a},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+"Date"),null)},_getDaysInMonth:function(a,b){return 32-(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,e){var f=this._getNumberOfMonths(a); -c=this._daylightSavingAdjust(new Date(c,e+(b<0?b:f[0]*f[1]),1));b<0&&c.setDate(this._getDaysInMonth(c.getFullYear(),c.getMonth()));return this._isInRange(a,c)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");return(!c||b.getTime()>=c.getTime())&&(!a||b.getTime()<=a.getTime())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff");b=typeof b!="string"?b:(new Date).getFullYear()%100+parseInt(b,10);return{shortYearCutoff:b,dayNamesShort:this._get(a, -"dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,c,e){if(!b){a.currentDay=a.selectedDay;a.currentMonth=a.selectedMonth;a.currentYear=a.selectedYear}b=b?typeof b=="object"?b:this._daylightSavingAdjust(new Date(e,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),b,this._getFormatConfig(a))}});d.fn.datepicker= -function(a){if(!d.datepicker.initialized){d(document).mousedown(d.datepicker._checkExternalClick).find("body").append(d.datepicker.dpDiv);d.datepicker.initialized=true}var b=Array.prototype.slice.call(arguments,1);if(typeof a=="string"&&(a=="isDisabled"||a=="getDate"||a=="widget"))return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this[0]].concat(b));if(a=="option"&&arguments.length==2&&typeof arguments[1]=="string")return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this[0]].concat(b)); -return this.each(function(){typeof a=="string"?d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this].concat(b)):d.datepicker._attachDatepicker(this,a)})};d.datepicker=new K;d.datepicker.initialized=false;d.datepicker.uuid=(new Date).getTime();d.datepicker.version="1.8.9";window["DP_jQuery_"+y]=d})(jQuery); -;/* - * jQuery UI Progressbar 1.8.9 - * - * 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/Progressbar - * - * Depends: - * jquery.ui.core.js - * jquery.ui.widget.js - */ -(function(b,d){b.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()});this.valueDiv=b("
    ").appendTo(this.element);this.oldValue=this._value();this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"); -this.valueDiv.remove();b.Widget.prototype.destroy.apply(this,arguments)},value:function(a){if(a===d)return this._value();this._setOption("value",a);return this},_setOption:function(a,c){if(a==="value"){this.options.value=c;this._refreshValue();this._value()===this.options.max&&this._trigger("complete")}b.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;if(typeof a!=="number")a=0;return Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100* -this._value()/this.options.max},_refreshValue:function(){var a=this.value(),c=this._percentage();if(this.oldValue!==a){this.oldValue=a;this._trigger("change")}this.valueDiv.toggleClass("ui-corner-right",a===this.options.max).width(c.toFixed(0)+"%");this.element.attr("aria-valuenow",a)}});b.extend(b.ui.progressbar,{version:"1.8.9"})})(jQuery); -;/* - * jQuery UI Effects 1.8.9 - * - * 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/Effects/ - */ -jQuery.effects||function(f,j){function n(c){var a;if(c&&c.constructor==Array&&c.length==3)return c;if(a=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c))return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10)];if(a=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(c))return[parseFloat(a[1])*2.55,parseFloat(a[2])*2.55,parseFloat(a[3])*2.55];if(a=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(c))return[parseInt(a[1], -16),parseInt(a[2],16),parseInt(a[3],16)];if(a=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c))return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(c))return o.transparent;return o[f.trim(c).toLowerCase()]}function s(c,a){var b;do{b=f.curCSS(c,a);if(b!=""&&b!="transparent"||f.nodeName(c,"body"))break;a="backgroundColor"}while(c=c.parentNode);return n(b)}function p(){var c=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle, -a={},b,d;if(c&&c.length&&c[0]&&c[c[0]])for(var e=c.length;e--;){b=c[e];if(typeof c[b]=="string"){d=b.replace(/\-(\w)/g,function(g,h){return h.toUpperCase()});a[d]=c[b]}}else for(b in c)if(typeof c[b]==="string")a[b]=c[b];return a}function q(c){var a,b;for(a in c){b=c[a];if(b==null||f.isFunction(b)||a in t||/scrollbar/.test(a)||!/color/i.test(a)&&isNaN(parseFloat(b)))delete c[a]}return c}function u(c,a){var b={_:0},d;for(d in a)if(c[d]!=a[d])b[d]=a[d];return b}function k(c,a,b,d){if(typeof c=="object"){d= -a;b=null;a=c;c=a.effect}if(f.isFunction(a)){d=a;b=null;a={}}if(typeof a=="number"||f.fx.speeds[a]){d=b;b=a;a={}}if(f.isFunction(b)){d=b;b=null}a=a||{};b=b||a.duration;b=f.fx.off?0:typeof b=="number"?b:b in f.fx.speeds?f.fx.speeds[b]:f.fx.speeds._default;d=d||a.complete;return[c,a,b,d]}function m(c){if(!c||typeof c==="number"||f.fx.speeds[c])return true;if(typeof c==="string"&&!f.effects[c])return true;return false}f.effects={};f.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor", -"borderTopColor","borderColor","color","outlineColor"],function(c,a){f.fx.step[a]=function(b){if(!b.colorInit){b.start=s(b.elem,a);b.end=n(b.end);b.colorInit=true}b.elem.style[a]="rgb("+Math.max(Math.min(parseInt(b.pos*(b.end[0]-b.start[0])+b.start[0],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[1]-b.start[1])+b.start[1],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[2]-b.start[2])+b.start[2],10),255),0)+")"}});var o={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0, -0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211, -211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},r=["add","remove","toggle"],t={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};f.effects.animateClass=function(c,a,b, -d){if(f.isFunction(b)){d=b;b=null}return this.queue("fx",function(){var e=f(this),g=e.attr("style")||" ",h=q(p.call(this)),l,v=e.attr("className");f.each(r,function(w,i){c[i]&&e[i+"Class"](c[i])});l=q(p.call(this));e.attr("className",v);e.animate(u(h,l),a,b,function(){f.each(r,function(w,i){c[i]&&e[i+"Class"](c[i])});if(typeof e.attr("style")=="object"){e.attr("style").cssText="";e.attr("style").cssText=g}else e.attr("style",g);d&&d.apply(this,arguments)});h=f.queue(this);l=h.splice(h.length-1,1)[0]; -h.splice(1,0,l);f.dequeue(this)})};f.fn.extend({_addClass:f.fn.addClass,addClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{add:c},a,b,d]):this._addClass(c)},_removeClass:f.fn.removeClass,removeClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{remove:c},a,b,d]):this._removeClass(c)},_toggleClass:f.fn.toggleClass,toggleClass:function(c,a,b,d,e){return typeof a=="boolean"||a===j?b?f.effects.animateClass.apply(this,[a?{add:c}:{remove:c},b,d,e]):this._toggleClass(c, -a):f.effects.animateClass.apply(this,[{toggle:c},a,b,d])},switchClass:function(c,a,b,d,e){return f.effects.animateClass.apply(this,[{add:a,remove:c},b,d,e])}});f.extend(f.effects,{version:"1.8.9",save:function(c,a){for(var b=0;b
    ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent", -border:"none",margin:0,padding:0});c.wrap(b);b=c.parent();if(c.css("position")=="static"){b.css({position:"relative"});c.css({position:"relative"})}else{f.extend(a,{position:c.css("position"),zIndex:c.css("z-index")});f.each(["top","left","bottom","right"],function(d,e){a[e]=c.css(e);if(isNaN(parseInt(a[e],10)))a[e]="auto"});c.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}return b.css(a).show()},removeWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent().replaceWith(c); -return c},setTransition:function(c,a,b,d){d=d||{};f.each(a,function(e,g){unit=c.cssUnit(g);if(unit[0]>0)d[g]=unit[0]*b+unit[1]});return d}});f.fn.extend({effect:function(c){var a=k.apply(this,arguments),b={options:a[1],duration:a[2],callback:a[3]};a=b.options.mode;var d=f.effects[c];if(f.fx.off||!d)return a?this[a](b.duration,b.callback):this.each(function(){b.callback&&b.callback.call(this)});return d.call(this,b)},_show:f.fn.show,show:function(c){if(m(c))return this._show.apply(this,arguments); -else{var a=k.apply(this,arguments);a[1].mode="show";return this.effect.apply(this,a)}},_hide:f.fn.hide,hide:function(c){if(m(c))return this._hide.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="hide";return this.effect.apply(this,a)}},__toggle:f.fn.toggle,toggle:function(c){if(m(c)||typeof c==="boolean"||f.isFunction(c))return this.__toggle.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="toggle";return this.effect.apply(this,a)}},cssUnit:function(c){var a=this.css(c), -b=[];f.each(["em","px","%","pt"],function(d,e){if(a.indexOf(e)>0)b=[parseFloat(a),e]});return b}});f.easing.jswing=f.easing.swing;f.extend(f.easing,{def:"easeOutQuad",swing:function(c,a,b,d,e){return f.easing[f.easing.def](c,a,b,d,e)},easeInQuad:function(c,a,b,d,e){return d*(a/=e)*a+b},easeOutQuad:function(c,a,b,d,e){return-d*(a/=e)*(a-2)+b},easeInOutQuad:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a+b;return-d/2*(--a*(a-2)-1)+b},easeInCubic:function(c,a,b,d,e){return d*(a/=e)*a*a+b},easeOutCubic:function(c, -a,b,d,e){return d*((a=a/e-1)*a*a+1)+b},easeInOutCubic:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a+b;return d/2*((a-=2)*a*a+2)+b},easeInQuart:function(c,a,b,d,e){return d*(a/=e)*a*a*a+b},easeOutQuart:function(c,a,b,d,e){return-d*((a=a/e-1)*a*a*a-1)+b},easeInOutQuart:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a+b;return-d/2*((a-=2)*a*a*a-2)+b},easeInQuint:function(c,a,b,d,e){return d*(a/=e)*a*a*a*a+b},easeOutQuint:function(c,a,b,d,e){return d*((a=a/e-1)*a*a*a*a+1)+b},easeInOutQuint:function(c, -a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a*a+b;return d/2*((a-=2)*a*a*a*a+2)+b},easeInSine:function(c,a,b,d,e){return-d*Math.cos(a/e*(Math.PI/2))+d+b},easeOutSine:function(c,a,b,d,e){return d*Math.sin(a/e*(Math.PI/2))+b},easeInOutSine:function(c,a,b,d,e){return-d/2*(Math.cos(Math.PI*a/e)-1)+b},easeInExpo:function(c,a,b,d,e){return a==0?b:d*Math.pow(2,10*(a/e-1))+b},easeOutExpo:function(c,a,b,d,e){return a==e?b+d:d*(-Math.pow(2,-10*a/e)+1)+b},easeInOutExpo:function(c,a,b,d,e){if(a==0)return b;if(a== -e)return b+d;if((a/=e/2)<1)return d/2*Math.pow(2,10*(a-1))+b;return d/2*(-Math.pow(2,-10*--a)+2)+b},easeInCirc:function(c,a,b,d,e){return-d*(Math.sqrt(1-(a/=e)*a)-1)+b},easeOutCirc:function(c,a,b,d,e){return d*Math.sqrt(1-(a=a/e-1)*a)+b},easeInOutCirc:function(c,a,b,d,e){if((a/=e/2)<1)return-d/2*(Math.sqrt(1-a*a)-1)+b;return d/2*(Math.sqrt(1-(a-=2)*a)+1)+b},easeInElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h
    ").css({position:"absolute",visibility:"visible",left:-f*(h/d),top:-e*(i/c)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:h/d,height:i/c,left:g.left+f*(h/d)+(a.options.mode=="show"?(f-Math.floor(d/2))*(h/d):0),top:g.top+e*(i/c)+(a.options.mode=="show"?(e-Math.floor(c/2))*(i/c):0),opacity:a.options.mode=="show"?0:1}).animate({left:g.left+f*(h/d)+(a.options.mode=="show"?0:(f-Math.floor(d/2))*(h/d)),top:g.top+ -e*(i/c)+(a.options.mode=="show"?0:(e-Math.floor(c/2))*(i/c)),opacity:a.options.mode=="show"?1:0},a.duration||500);setTimeout(function(){a.options.mode=="show"?b.css({visibility:"visible"}):b.css({visibility:"visible"}).hide();a.callback&&a.callback.apply(b[0]);b.dequeue();j("div.ui-effects-explode").remove()},a.duration||500)})}})(jQuery); -;/* - * jQuery UI Effects Fade 1.8.9 - * - * 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/Effects/Fade - * - * Depends: - * jquery.effects.core.js - */ -(function(b){b.effects.fade=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||"hide");c.animate({opacity:d},{queue:false,duration:a.duration,easing:a.options.easing,complete:function(){a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery); -;/* - * jQuery UI Effects Fold 1.8.9 - * - * 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/Effects/Fold - * - * Depends: - * jquery.effects.core.js - */ -(function(c){c.effects.fold=function(a){return this.queue(function(){var b=c(this),j=["position","top","bottom","left","right"],d=c.effects.setMode(b,a.options.mode||"hide"),g=a.options.size||15,h=!!a.options.horizFirst,k=a.duration?a.duration/2:c.fx.speeds._default/2;c.effects.save(b,j);b.show();var e=c.effects.createWrapper(b).css({overflow:"hidden"}),f=d=="show"!=h,l=f?["width","height"]:["height","width"];f=f?[e.width(),e.height()]:[e.height(),e.width()];var i=/([0-9]+)%/.exec(g);if(i)g=parseInt(i[1], -10)/100*f[d=="hide"?0:1];if(d=="show")e.css(h?{height:0,width:g}:{height:g,width:0});h={};i={};h[l[0]]=d=="show"?f[0]:g;i[l[1]]=d=="show"?f[1]:0;e.animate(h,k,a.options.easing).animate(i,k,a.options.easing,function(){d=="hide"&&b.hide();c.effects.restore(b,j);c.effects.removeWrapper(b);a.callback&&a.callback.apply(b[0],arguments);b.dequeue()})})}})(jQuery); -;/* - * jQuery UI Effects Highlight 1.8.9 - * - * 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/Effects/Highlight - * - * Depends: - * jquery.effects.core.js - */ -(function(b){b.effects.highlight=function(c){return this.queue(function(){var a=b(this),e=["backgroundImage","backgroundColor","opacity"],d=b.effects.setMode(a,c.options.mode||"show"),f={backgroundColor:a.css("backgroundColor")};if(d=="hide")f.opacity=0;b.effects.save(a,e);a.show().css({backgroundImage:"none",backgroundColor:c.options.color||"#ffff99"}).animate(f,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){d=="hide"&&a.hide();b.effects.restore(a,e);d=="show"&&!b.support.opacity&& -this.style.removeAttribute("filter");c.callback&&c.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery); -;/* - * jQuery UI Effects Pulsate 1.8.9 - * - * 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/Effects/Pulsate - * - * Depends: - * jquery.effects.core.js - */ -(function(d){d.effects.pulsate=function(a){return this.queue(function(){var b=d(this),c=d.effects.setMode(b,a.options.mode||"show");times=(a.options.times||5)*2-1;duration=a.duration?a.duration/2:d.fx.speeds._default/2;isVisible=b.is(":visible");animateTo=0;if(!isVisible){b.css("opacity",0).show();animateTo=1}if(c=="hide"&&isVisible||c=="show"&&!isVisible)times--;for(c=0;c
    ').appendTo(document.body).addClass(a.options.className).css({top:d.top,left:d.left,height:b.innerHeight(),width:b.innerWidth(),position:"absolute"}).animate(c,a.duration,a.options.easing,function(){f.remove();a.callback&&a.callback.apply(b[0],arguments); -b.dequeue()})})}})(jQuery); -; \ No newline at end of file diff --git a/resources/library/interactivities/associer_images.wgt/js/script.js b/resources/library/interactivities/associer_images.wgt/js/script.js deleted file mode 100644 index 339cc3e3..00000000 --- a/resources/library/interactivities/associer_images.wgt/js/script.js +++ /dev/null @@ -1,658 +0,0 @@ -var sankoreLang = { - display: "Display", - edit: "Edit", - short_desc: "Select the number \"three\".", - add: "Add new block", - enter: "Enter what to do here..." -}; - -//main function -function start(){ - - $("#display_text").text(sankoreLang.display); - $("#edit_text").text(sankoreLang.edit); - - if(window.sankore){ - if(sankore.preference("associer","")){ - var data = jQuery.parseJSON(sankore.preference("associer","")); - importData(data); - } else { - showExample(); - } - } - else - showExample(); - //events - if (window.widget) { - window.widget.onleave = function(){ - exportData(); - } - } - - $("#display, #edit").click(function(event){ - if(this.id == "display"){ - if(!$(this).hasClass("selected")){ - sankore.enableDropOnWidget(false); - $(this).addClass("selected"); - $("#display_img").removeClass("red_point").addClass("green_point"); - $("#edit_img").removeClass("green_point").addClass("red_point"); - $("#edit").removeClass("selected"); - $(".add_block").remove(); - $(".cont").each(function(){ - var container = $(this); - var tmp_i = 0; - var tmp_array = []; - - container.find(".text_cont").removeAttr("contenteditable"); - container.find(".add_img").remove(); - container.find(".close_cont").remove(); - container.find(".img_block").each(function(){ - if($(this).find("img").attr("src") != "img/drop_img.png"){ - $(this).find(".close_img").remove(); - $(this).find(".clear_img").remove(); - $(this).find(".true_img").remove(); - $(this).find(".false_img").remove(); - $(this).removeAttr("ondragenter") - .removeAttr("ondragleave") - .removeAttr("ondragover") - .removeAttr("ondrop") - .addClass("img_gray"); - } else - $(this).remove(); - }); - var img_answers = $("
    ").insertAfter(container.find(".sub_cont")); - container.find(".img_block").each(function(){ - $(this).css("float",""); - tmp_array.push($(this)); - }); - tmp_array = shuffle(tmp_array); - for(var i = 0; i"); - var answers = ""; - $(this).parent().find(".imgs_answers .img_block").each(function(){ - answers += $(this).find("input").val(); - }); - if(tmp_cont.children()[0].tagName == "IMG") - tmp_cont.removeClass("imgs_answers_green") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_gray"); - else - if(tmp_cont.children().length == 1){ - if(tmp_cont.children().find("input").val() == "1") - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - } - }); - }); - } - } else { - if(!$(this).hasClass("selected")){ - sankore.enableDropOnWidget(true); - $(this).addClass("selected"); - $("#edit_img").removeClass("red_point").addClass("green_point"); - $("#display_img").removeClass("green_point").addClass("red_point"); - $("#display").removeClass("selected"); - - $(".cont").each(function(){ - var container = $(this); - container.find(".imgs_answers").find(".img_block").each(function(){ - $(this).appendTo(container.find(".imgs_cont")) - }); - container.find(".imgs_answers").remove(); - $("
    ").appendTo(container); - container.find(".text_cont").attr("contenteditable","true"); - //container.find(".imgs_cont").sortable("destroy"); - container.find(".imgs_cont").css("background-color", "white"); - - var add_img = $("
    "); - container.find(".img_block").each(function(){ - $(this).draggable("destroy"); - $(this).attr("ondragenter", "return false;") - .attr("ondragleave", "$(this).css(\"background-color\",\"white\"); return false;") - .attr("ondragover", "$(this).css(\"background-color\",\"#ccc\"); return false;") - .attr("ondrop", "$(this).css(\"background-color\",\"white\"); return onDropTarget(this,event);") - .css("float","left"); - $("
    ").appendTo($(this)); - $("
    ").appendTo($(this)); - if($(this).find("input").val() == "1"){ - $("
    ").appendTo($(this)); - } - else{ - $("
    ").appendTo($(this)); - } - }); - container.find(".imgs_cont").append(add_img) - }); - - $("
    " + sankoreLang.add + "
    ").appendTo("body"); - } - } - }); - - //add new block - $(".add_block").live("click", function(){ - addContainer(); - }); - - //adding new img - $(".add_img").live("click", function(){ - addImgBlock($(this)); - }); - - //deleting a block - $(".close_cont").live("click",function(){ - $(this).parent().remove(); - refreshBlockNumbers(); - }); - - //deleting the img block - $(".close_img").live("click", function(){ - var i = 0; - var tmp_obj = $(this).parent().parent(); - $(this).parent().remove(); - }); - - //cleaning an image - $(".clear_img").live("click",function(){ - $(this).parent().find("img").attr("src","img/drop_img.png"); - }); - - //correct image - $(".true_img").live("click",function(){ - $(this).parent().parent().find(".img_block").each(function(){ - $(this).find("input").val(0); - var tmp_div = $(this).find(".false_img"); - if(tmp_div) - tmp_div.removeClass("false_img").addClass("true_img"); - }) - $(this).parent().find("input").val(1); - $(this).removeClass("true_img").addClass("false_img"); - }); - - //wrong image - $(".false_img").live("click",function(){ - $(this).parent().find("input").val(0); - $(this).removeClass("false_img").addClass("true_img"); - }); -} - -//export -function exportData(){ - var array_to_export = []; - if($("#edit").hasClass("selected")){ - $(".cont").each(function(){ - var cont_obj = new Object(); - cont_obj.text = $(this).find(".text_cont").text(); - cont_obj.mode = "edit"; - cont_obj.imgs = []; - $(this).find(".img_block").each(function(){ - var img_obj = new Object(); - img_obj.value = $(this).find("input").val(); - img_obj.link = $(this).find("img").attr("src"); - img_obj.ht = $(this).find("img").height(); - img_obj.wd = $(this).find("img").width(); - cont_obj.imgs.push(img_obj); - }); - array_to_export.push(cont_obj); - }); - } else { - $(".cont").each(function(){ - var cont_obj = new Object(); - cont_obj.text = $(this).find(".text_cont").text(); - cont_obj.mode = "display"; - cont_obj.imgs = []; - if($(this).find(".imgs_answers").children()[0].tagName == "DIV"){ - var tmp_cont = $(this).find(".imgs_answers").find(".img_block"); - var img_obj = new Object(); - img_obj.value = tmp_cont.find("input").val(); - img_obj.link = tmp_cont.find("img").attr("src"); - img_obj.ht = tmp_cont.find("img").height(); - img_obj.wd = tmp_cont.find("img").width(); - img_obj.cont = "answers"; - cont_obj.imgs.push(img_obj); - } - $(this).find(".imgs_cont .img_block").each(function(){ - var img_obj = new Object(); - img_obj.value = $(this).find("input").val(); - img_obj.link = $(this).find("img").attr("src"); - img_obj.ht = $(this).find("img").height(); - img_obj.wd = $(this).find("img").width(); - img_obj.cont = "cont"; - cont_obj.imgs.push(img_obj); - }); - array_to_export.push(cont_obj); - }); - } - sankore.setPreference("associer", JSON.stringify(array_to_export)); -} - -//import -function importData(data){ - - var tmp = 0; - for(var i in data){ - if(data[i].mode == "edit"){ - var tmp_array = []; - var container = $("
    "); - var sub_container = $("
    ").appendTo(container); - var imgs_answers = $("
    ").appendTo(container); - var imgs_container = $("
    ").appendTo(container); - - var number = $("
    "+ (++tmp) +"
    ").appendTo(sub_container); - var text = $("
    " + data[i].text + "
    ").appendTo(sub_container); - - for(var j in data[i].imgs){ - var img_block = $("
    "); - var img = $(""); - img.height(data[i].imgs[j].ht).width(data[i].imgs[j].wd); - if((120 - data[i].imgs[j].ht) > 0) - img.css("margin",(120 - data[i].imgs[j].ht)/2 + "px 0"); - var hidden_input = $("").val(data[i].imgs[j].value); - img_block.append(hidden_input).append(img); - tmp_array.push(img_block); - } - tmp_array = shuffle(tmp_array); - for(j in tmp_array){ - tmp_array[j].draggable({ - helper:'clone', - zIndex:100, - appendTo: 'body' - }); - tmp_array[j].appendTo(imgs_container); - } - imgs_answers.droppable({ - hoverClass: 'dropHere', - drop: function(event, ui) { - if($(ui.draggable).parent().parent().html() == $(this).parent().html()){ - if($(this).children()[0].tagName == "IMG") - $(this).children().remove(); - else - $(ui.draggable).parent().append($(this).children()); - $(this).append($(ui.draggable)); - if($(this).children().length == 1){ - if($(this).children().find("input").val() == "1") - $(this).removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - $(this).removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - }); - imgs_container.droppable({ - hoverClass: 'dropBack', - drop: function(event, ui) { - if($(ui.draggable).parent().parent().html() == $(this).parent().html()){ - if(this != $(ui.draggable).parent()[0]){ - var tmp_cont = $(ui.draggable).parent(); - $(this).append($(ui.draggable)); - tmp_cont.append(""); - var answers = ""; - $(this).parent().find(".imgs_answers .img_block").each(function(){ - answers += $(this).find("input").val(); - }); - if(tmp_cont.children()[0].tagName == "IMG") - tmp_cont.removeClass("imgs_answers_green") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_gray"); - else - if(tmp_cont.children().length == 1){ - if(tmp_cont.children().find("input").val() == "1") - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - } - }); - container.appendTo("body"); - } else { - container = $("
    "); - sub_container = $("
    ").appendTo(container); - imgs_answers = $("
    ").appendTo(container); - $("").appendTo(imgs_answers); - imgs_container = $("
    ").appendTo(container); - - number = $("
    "+ (++tmp) +"
    ").appendTo(sub_container); - text = $("
    " + data[i].text + "
    ").appendTo(sub_container); - - for(j in data[i].imgs){ - img_block = $("
    "); - img = $(""); - img.height(data[i].imgs[j].ht).width(data[i].imgs[j].wd); - if((120 - data[i].imgs[j].ht) > 0) - img.css("margin",(120 - data[i].imgs[j].ht)/2 + "px 0"); - hidden_input = $("").val(data[i].imgs[j].value); - img_block.append(hidden_input).append(img); - img_block.draggable({ - helper:'clone', - zIndex:100, - appendTo: 'body' - }); - if(data[i].imgs[j].cont == "cont") - img_block.appendTo(imgs_container); - else{ - imgs_answers.empty(); - img_block.appendTo(imgs_answers); - if(data[i].imgs[j].value == "1") - imgs_answers.addClass("imgs_answers_green"); - else - imgs_answers.addClass("imgs_answers_red"); - } - } - - imgs_answers.droppable({ - hoverClass: 'dropHere', - drop: function(event, ui) { - if($(ui.draggable).parent().parent().html() == $(this).parent().html()){ - if($(this).children()[0].tagName == "IMG") - $(this).children().remove(); - else - $(ui.draggable).parent().append($(this).children()); - $(this).append($(ui.draggable)); - if($(this).children().length == 1){ - if($(this).children().find("input").val() == "1") - $(this).removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - $(this).removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - }); - imgs_container.droppable({ - hoverClass: 'dropBack', - drop: function(event, ui) { - if($(ui.draggable).parent().parent().html() == $(this).parent().html()){ - if(this != $(ui.draggable).parent()[0]){ - var tmp_cont = $(ui.draggable).parent(); - $(this).append($(ui.draggable)); - tmp_cont.append(""); - var answers = ""; - $(this).parent().find(".imgs_answers .img_block").each(function(){ - answers += $(this).find("input").val(); - }); - if(tmp_cont.children()[0].tagName == "IMG") - tmp_cont.removeClass("imgs_answers_green") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_gray"); - else - if(tmp_cont.children().length == 1){ - if(tmp_cont.children().find("input").val() == "1") - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - } - }); - container.appendTo("body"); - } - } -} - -//example -function showExample(){ - - var tmp_array = []; - - var container = $("
    ").appendTo("body"); - var sub_container = $("
    ").appendTo(container); - var imgs_answers = $("
    ").appendTo(container); - var imgs_container = $("
    ").appendTo(container); - - var number = $("
    1
    ").appendTo(sub_container); - var text = $("
    " + sankoreLang.short_desc + "
    ").appendTo(sub_container); - - $("").appendTo(imgs_container); - - var img1 = $("
    "); - $("").appendTo(img1); - $("").appendTo(img1); - var img2 = $("
    "); - $("").appendTo(img2); - $("").appendTo(img2); - var img3 = $("
    "); - $("").appendTo(img3); - $("").appendTo(img3); - var img4 = $("
    "); - $("").appendTo(img4); - $("").appendTo(img4); - var img5 = $("
    "); - $("").appendTo(img5); - $("").appendTo(img5); - - tmp_array.push(img1, img2, img3, img4, img5); - tmp_array = shuffle(tmp_array); - for(var i = 0; i"); - var answers = ""; - $(this).parent().find(".imgs_answers .img_block").each(function(){ - answers += $(this).find("input").val(); - }); - if(tmp_cont.children()[0].tagName == "IMG") - tmp_cont.removeClass("imgs_answers_green") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_gray"); - else - if(tmp_cont.children().length == 1){ - if(tmp_cont.children().find("input").val() == "1") - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - } - }); -//container.appendTo("body") -} - -//check result -function checkResult(event) -{ - var str = ""; - var right_str = $(event.target).find("input").val(); - $(event.target).find(".img_block").each(function(){ - str += $(this).find("input").val() + "*"; - }); - if(str == right_str) - $(event.target).css("background-color","#9f9"); -} - -//add new container -function addContainer(){ - var container = $("
    "); - var sub_container = $("
    ").appendTo(container); - var imgs_container = $("
    ").appendTo(container); - - var close = $("
    ").appendTo(container); - var number = $("
    "+ ($(".cont").size() + 1) +"
    ").appendTo(sub_container); - var text = $("
    " + sankoreLang.enter + "
    ").appendTo(sub_container); - - $("").appendTo(imgs_container); - var add_img = $("
    ").appendTo(imgs_container); - container.insertBefore($(".add_block")); -} - -//add new img block -function addImgBlock(dest){ - var img_block = $("
    ").insertBefore(dest); - $("
    ").appendTo(img_block); - $("
    ").appendTo(img_block); - $("
    ").appendTo(img_block); - $("").appendTo(img_block); - $("").appendTo(img_block); -} - -function refreshBlockNumbers(){ - var i = 0; - $(".cont").each(function(){ - $(this).find(".number_cont").text(++i); - }) -} - -//shuffles an array -function shuffle( arr ) -{ - var pos, tmp; - - for( var i = 0; i < arr.length; i++ ) - { - pos = Math.round( Math.random() * ( arr.length - 1 ) ); - tmp = arr[pos]; - arr[pos] = arr[i]; - arr[i] = tmp; - } - return arr; -} - - -function stringToXML(text){ - if (window.ActiveXObject){ - var doc=new ActiveXObject('Microsoft.XMLDOM'); - doc.async='false'; - doc.loadXML(text); - } else { - var parser=new DOMParser(); - doc=parser.parseFromString(text,'text/xml'); - } - return doc; -} - -function onDropTarget(obj, event) { - $(obj).find("img").remove(); - if (event.dataTransfer) { - var format = "text/plain"; - var textData = event.dataTransfer.getData(format); - if (!textData) { - alert(":("); - } - textData = stringToXML(textData); - var tmp = textData.getElementsByTagName("path")[0].firstChild.textContent; - var tmp_img = $("").attr("src", tmp); - $(obj).append(tmp_img); - setTimeout(function(){ - if(tmp_img.height() >= tmp_img.width()) - tmp_img.attr("height", "120"); - else{ - tmp_img.attr("width","120"); - tmp_img.css("margin",(120 - tmp_img.height())/2 + "px 0"); - } - }, 6) - } - else { - alert ("Your browser does not support the dataTransfer object."); - } - - if (event.stopPropagation) { - event.stopPropagation (); - } - else { - event.cancelBubble = true; - } - return false; -} - diff --git a/resources/library/interactivities/associer_images.wgt/locales/fr/img/drop_img.png b/resources/library/interactivities/associer_images.wgt/locales/fr/img/drop_img.png deleted file mode 100644 index 231d0b2407592e643ff2acb6219d184c7580d6e5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1762 zcmZ{lX*Ao38i)Teq_H(-1cQvq?WIFyXe%h87uDE`3I=IxwYQc=8e5T}q@}^MNE?mT zQm45p)myQ}zNG}gAhudZagnN2rk3jH%sF%JhdUqM_xF3wc|Skz9Tz8zyo{O*008oK zw&z_BGw#bkz=!*6pwaMQs1j{FiP)%MVyr(Q2(S!{3JB7)i|`K#at-nijKAI!ga!cc zExYrUZgG?A4C?g-6Bw6K2%9^)Q0d2z8NgXKDs{R6ZVFLS*L2Bl01i|p@k;4ICEzRd zC`n`(Uz)gU;FsF}`CO^$KB8yLdH8-2^=7OITq3k?SJnn-RRF93Igo+mpXG0HaDtek zCHQ*OpS7`fi6XDSI2P?gp_rE4fS3=DkNN*d`OWnCN-Pc)uXQa^vTk{ZvBaJzZxys3 zM6JhOrkrB`>!}pG+31O^y#sq19y(A4uF|r#ua0Rq?PJG?+vCd>UdF}nO&~?{@U-Wd z4I{`Y71y;Kb56+U7ABM+Fv~2G*(=Z>HI~$o6aCfqeW8(6ZRH>r=EP$2_{anIPWv_L z&BX|vNZU3Pcs{Kc3(iBV=@{e3{WOBxcM>U|7{8pgPtV0%rmzu)+*hV~denR3dZB*M zdwY9le2mkgtd7q!2CnKK^-+1tGwqtA+58WN1M(&jU!S377jKp| z5)ctb5im_>v~ECneFi(E%VmdV^@z;&SfzhNaW&xDun=Y!lJl)i%+5ekz2Ltz(%mRN zdRXn}4Xjv1A?@4TKBM>uRld>f5lk0Q`2fNH!aU*EYkE6WbKy?<){YMaLokR4vMvUQzJ02d_KsD|-&hPPjROvfzSGn5kp}OiX_|@$2V*Geqlk!C{jty30y?pBUhl zDHaH$vAmzu38|&lWE>C#>dQi*|!RMc?k2;iB-AHnxF*d4CU|&!=ChF zVfJm`Fyz^Q0};mh>Rn{K#rBX21A>at8t403320v736oo)D;Ic-IF7X2--=j6(fO-d+b~-GQA-&_s&g{f( zR7AgVKu~+6o9^mSPB?6(1*e{iN7g~D9U2tVxK}UC=q@Gqc_;iwVoO+u_G$ z3-+i;ext*EOi%R2k+)cVdDhTi$C*&MpE`7s4bbShfn=d}pUHkA^Zme> zfglI2M`8)5x6vOb^B~zjbAX1|nz9mp5OQ%L7@kr-1toLbHC{vCEfe)529k416mwR+ zrOG}PXxs?L$?_j0$(&0|^)Gn)4FjTbP)mZ)jHWEncQJbU*oI#k zj#$WV;~uLw{%%=7?9p%Io&%+bnNo{vFUR{&EY=RXg|ruy)4}*qKuY~ z9=t1aAziMmcz9(OwQ+H2rH89!#cM}i#h}AfXQyB0W_e$GY7$_#R3VeJmuWlkO;yC3 z5WEAoWWGsqy4G@x)m2|Vrqv>YH~Ueoj;7lE{jPo4Tb9w2e1t~1o%!H+>2?ca+#1+C z(HoM)v)O#vT;`pb5>2L-TQPcm)d`zJuVz4d{^j`=jp7G_%tI*WfPOcTr6zTR%$m^{)bpv(4jNy_;G!Z zMiXu+@_C{3k?P6Z8;ci>n>It|jj++9NYyC!0J`K~w*ON8NB;i@6@ae}ZwB4hd_iCU X-zi5>hxR8QJ}tn`#_2rE$}jbI0Xa6u diff --git a/resources/library/interactivities/associer_images.wgt/locales/fr/index.html b/resources/library/interactivities/associer_images.wgt/locales/fr/index.html deleted file mode 100644 index c7f3b073..00000000 --- a/resources/library/interactivities/associer_images.wgt/locales/fr/index.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - D'n'd - - - - - - - - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/resources/library/interactivities/associer_images.wgt/locales/fr/js/script.js b/resources/library/interactivities/associer_images.wgt/locales/fr/js/script.js deleted file mode 100644 index d535038b..00000000 --- a/resources/library/interactivities/associer_images.wgt/locales/fr/js/script.js +++ /dev/null @@ -1,659 +0,0 @@ -var sankoreLang = { - display: "Afficher", - edit: "Modifier", - short_desc: "Sélectionner le numéro «trois».", - add: "Nouveau bloc", - enter: "Saisir la consigne ici ..." -}; - -//main function -function start(){ - - $("#display_text").text(sankoreLang.display); - $("#edit_text").text(sankoreLang.edit); - - if(window.sankore){ - if(sankore.preference("associer","")){ - var data = jQuery.parseJSON(sankore.preference("associer","")); - importData(data); - } else { - showExample(); - } - } - else - showExample(); - //events - if (window.widget) { - window.widget.onleave = function(){ - exportData(); - } - } - - $("#display, #edit").click(function(event){ - if(this.id == "display"){ - if(!$(this).hasClass("selected")){ - sankore.enableDropOnWidget(false); - $(this).addClass("selected"); - $("#display_img").removeClass("red_point").addClass("green_point"); - $("#edit_img").removeClass("green_point").addClass("red_point"); - $("#edit").removeClass("selected"); - $(".add_block").remove(); - $(".cont").each(function(){ - var container = $(this); - var tmp_i = 0; - var tmp_array = []; - - container.find(".text_cont").removeAttr("contenteditable"); - container.find(".add_img").remove(); - container.find(".close_cont").remove(); - container.find(".img_block").each(function(){ - if($(this).find("img").attr("src") != "img/drop_img.png"){ - $(this).find(".close_img").remove(); - $(this).find(".clear_img").remove(); - $(this).find(".true_img").remove(); - $(this).find(".false_img").remove(); - $(this).removeAttr("ondragenter") - .removeAttr("ondragleave") - .removeAttr("ondragover") - .removeAttr("ondrop") - .addClass("img_gray"); - } else - $(this).remove(); - }); - var img_answers = $("
    ").insertAfter(container.find(".sub_cont")); - container.find(".img_block").each(function(){ - $(this).css("float",""); - tmp_array.push($(this)); - }); - tmp_array = shuffle(tmp_array); - for(var i = 0; i"); - var answers = ""; - $(this).parent().find(".imgs_answers .img_block").each(function(){ - answers += $(this).find("input").val(); - }); - if(tmp_cont.children()[0].tagName == "IMG") - tmp_cont.removeClass("imgs_answers_green") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_gray"); - else - if(tmp_cont.children().length == 1){ - if(tmp_cont.children().find("input").val() == "1") - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - } - }); - }); - } - } else { - if(!$(this).hasClass("selected")){ - sankore.enableDropOnWidget(true); - $(this).addClass("selected"); - $("#edit_img").removeClass("red_point").addClass("green_point"); - $("#display_img").removeClass("green_point").addClass("red_point"); - $("#display").removeClass("selected"); - - $(".cont").each(function(){ - var container = $(this); - container.find(".imgs_answers").find(".img_block").each(function(){ - $(this).appendTo(container.find(".imgs_cont")) - }); - container.find(".imgs_answers").remove(); - $("
    ").appendTo(container); - container.find(".text_cont").attr("contenteditable","true"); - //container.find(".imgs_cont").sortable("destroy"); - container.find(".imgs_cont").css("background-color", "white"); - - var add_img = $("
    "); - container.find(".img_block").each(function(){ - $(this).draggable("destroy"); - $(this).attr("ondragenter", "return false;") - .attr("ondragleave", "$(this).css(\"background-color\",\"white\"); return false;") - .attr("ondragover", "$(this).css(\"background-color\",\"#ccc\"); return false;") - .attr("ondrop", "$(this).css(\"background-color\",\"white\"); return onDropTarget(this,event);") - .css("float","left"); - $("
    ").appendTo($(this)); - $("
    ").appendTo($(this)); - if($(this).find("input").val() == "1"){ - $("
    ").appendTo($(this)); - } - else{ - $("
    ").appendTo($(this)); - } - }); - container.find(".imgs_cont").append(add_img) - }); - - $("
    " + sankoreLang.add + "
    ").appendTo("body"); - } - } - }); - - //add new block - $(".add_block").live("click", function(){ - addContainer(); - }); - - //adding new img - $(".add_img").live("click", function(){ - addImgBlock($(this)); - }); - - //deleting a block - $(".close_cont").live("click",function(){ - $(this).parent().remove(); - refreshBlockNumbers(); - }); - - //deleting the img block - $(".close_img").live("click", function(){ - var i = 0; - var tmp_obj = $(this).parent().parent(); - $(this).parent().remove(); - }); - - //cleaning an image - $(".clear_img").live("click",function(){ - $(this).parent().find("img").attr("src","img/drop_img.png"); - }); - - //correct image - $(".true_img").live("click",function(){ - $(this).parent().parent().find(".img_block").each(function(){ - $(this).find("input").val(0); - var tmp_div = $(this).find(".false_img"); - if(tmp_div) - tmp_div.removeClass("false_img").addClass("true_img"); - }) - $(this).parent().find("input").val(1); - $(this).removeClass("true_img").addClass("false_img"); - }); - - //wrong image - $(".false_img").live("click",function(){ - $(this).parent().find("input").val(0); - $(this).removeClass("false_img").addClass("true_img"); - }); -} - -//export -function exportData(){ - var array_to_export = []; - if($("#edit").hasClass("selected")){ - $(".cont").each(function(){ - var cont_obj = new Object(); - cont_obj.text = $(this).find(".text_cont").text(); - cont_obj.mode = "edit"; - cont_obj.imgs = []; - $(this).find(".img_block").each(function(){ - var img_obj = new Object(); - img_obj.value = $(this).find("input").val(); - img_obj.link = $(this).find("img").attr("src").replace("../../",""); - img_obj.ht = $(this).find("img").height(); - img_obj.wd = $(this).find("img").width(); - cont_obj.imgs.push(img_obj); - }); - array_to_export.push(cont_obj); - }); - } else { - $(".cont").each(function(){ - var cont_obj = new Object(); - cont_obj.text = $(this).find(".text_cont").text(); - cont_obj.mode = "display"; - cont_obj.imgs = []; - if($(this).find(".imgs_answers").children()[0].tagName == "DIV"){ - var tmp_cont = $(this).find(".imgs_answers").find(".img_block"); - var img_obj = new Object(); - img_obj.value = tmp_cont.find("input").val(); - img_obj.link = tmp_cont.find("img").attr("src").replace("../../",""); - img_obj.ht = tmp_cont.find("img").height(); - img_obj.wd = tmp_cont.find("img").width(); - img_obj.cont = "answers"; - cont_obj.imgs.push(img_obj); - } - $(this).find(".imgs_cont .img_block").each(function(){ - var img_obj = new Object(); - img_obj.value = $(this).find("input").val(); - img_obj.link = $(this).find("img").attr("src").replace("../../",""); - img_obj.ht = $(this).find("img").height(); - img_obj.wd = $(this).find("img").width(); - img_obj.cont = "cont"; - cont_obj.imgs.push(img_obj); - }); - array_to_export.push(cont_obj); - }); - } - sankore.setPreference("associer", JSON.stringify(array_to_export)); -} - -//import -function importData(data){ - - var tmp = 0; - for(var i in data){ - if(data[i].mode == "edit"){ - var tmp_array = []; - var container = $("
    "); - var sub_container = $("
    ").appendTo(container); - var imgs_answers = $("
    ").appendTo(container); - var imgs_container = $("
    ").appendTo(container); - - var number = $("
    "+ (++tmp) +"
    ").appendTo(sub_container); - var text = $("
    " + data[i].text + "
    ").appendTo(sub_container); - - for(var j in data[i].imgs){ - var img_block = $("
    "); - var img = $(""); - img.height(data[i].imgs[j].ht).width(data[i].imgs[j].wd); - if((120 - data[i].imgs[j].ht) > 0) - img.css("margin",(120 - data[i].imgs[j].ht)/2 + "px 0"); - var hidden_input = $("").val(data[i].imgs[j].value); - img_block.append(hidden_input).append(img); - tmp_array.push(img_block); - } - tmp_array = shuffle(tmp_array); - for(j in tmp_array){ - tmp_array[j].draggable({ - helper:'clone', - zIndex:100, - appendTo: 'body' - }); - tmp_array[j].appendTo(imgs_container); - } - imgs_answers.droppable({ - hoverClass: 'dropHere', - drop: function(event, ui) { - if($(ui.draggable).parent().parent().html() == $(this).parent().html()){ - if($(this).children()[0].tagName == "IMG") - $(this).children().remove(); - else - $(ui.draggable).parent().append($(this).children()); - $(this).append($(ui.draggable)); - if($(this).children().length == 1){ - if($(this).children().find("input").val() == "1") - $(this).removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - $(this).removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - }); - imgs_container.droppable({ - hoverClass: 'dropBack', - drop: function(event, ui) { - if($(ui.draggable).parent().parent().html() == $(this).parent().html()){ - if(this != $(ui.draggable).parent()[0]){ - var tmp_cont = $(ui.draggable).parent(); - $(this).append($(ui.draggable)); - tmp_cont.append(""); - var answers = ""; - $(this).parent().find(".imgs_answers .img_block").each(function(){ - answers += $(this).find("input").val(); - }); - if(tmp_cont.children()[0].tagName == "IMG") - tmp_cont.removeClass("imgs_answers_green") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_gray"); - else - if(tmp_cont.children().length == 1){ - if(tmp_cont.children().find("input").val() == "1") - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - } - }); - container.appendTo("body"); - } else { - container = $("
    "); - sub_container = $("
    ").appendTo(container); - imgs_answers = $("
    ").appendTo(container); - $("").appendTo(imgs_answers); - imgs_container = $("
    ").appendTo(container); - - number = $("
    "+ (++tmp) +"
    ").appendTo(sub_container); - text = $("
    " + data[i].text + "
    ").appendTo(sub_container); - - for(j in data[i].imgs){ - img_block = $("
    "); - img = $(""); - img.height(data[i].imgs[j].ht).width(data[i].imgs[j].wd); - if((120 - data[i].imgs[j].ht) > 0) - img.css("margin",(120 - data[i].imgs[j].ht)/2 + "px 0"); - hidden_input = $("").val(data[i].imgs[j].value); - img_block.append(hidden_input).append(img); - img_block.draggable({ - helper:'clone', - zIndex:100, - appendTo: 'body' - }); - if(data[i].imgs[j].cont == "cont") - img_block.appendTo(imgs_container); - else{ - imgs_answers.empty(); - img_block.appendTo(imgs_answers); - if(data[i].imgs[j].value == "1") - imgs_answers.addClass("imgs_answers_green"); - else - imgs_answers.addClass("imgs_answers_red"); - } - } - - imgs_answers.droppable({ - hoverClass: 'dropHere', - drop: function(event, ui) { - if($(ui.draggable).parent().parent().html() == $(this).parent().html()){ - if($(this).children()[0].tagName == "IMG") - $(this).children().remove(); - else - $(ui.draggable).parent().append($(this).children()); - $(this).append($(ui.draggable)); - if($(this).children().length == 1){ - if($(this).children().find("input").val() == "1") - $(this).removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - $(this).removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - }); - imgs_container.droppable({ - hoverClass: 'dropBack', - drop: function(event, ui) { - if($(ui.draggable).parent().parent().html() == $(this).parent().html()){ - if(this != $(ui.draggable).parent()[0]){ - var tmp_cont = $(ui.draggable).parent(); - $(this).append($(ui.draggable)); - tmp_cont.append(""); - var answers = ""; - $(this).parent().find(".imgs_answers .img_block").each(function(){ - answers += $(this).find("input").val(); - }); - if(tmp_cont.children()[0].tagName == "IMG") - tmp_cont.removeClass("imgs_answers_green") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_gray"); - else - if(tmp_cont.children().length == 1){ - if(tmp_cont.children().find("input").val() == "1") - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - } - }); - container.appendTo("body"); - } - } -} - -//example -function showExample(){ - - var tmp_array = []; - - var container = $("
    ").appendTo("body"); - var sub_container = $("
    ").appendTo(container); - var imgs_answers = $("
    ").appendTo(container); - var imgs_container = $("
    ").appendTo(container); - - var number = $("
    1
    ").appendTo(sub_container); - var text = $("
    " + sankoreLang.short_desc + "
    ").appendTo(sub_container); - - $("").appendTo(imgs_container); - - var img1 = $("
    "); - $("").appendTo(img1); - $("").appendTo(img1); - var img2 = $("
    "); - $("").appendTo(img2); - $("").appendTo(img2); - var img3 = $("
    "); - $("").appendTo(img3); - $("").appendTo(img3); - var img4 = $("
    "); - $("").appendTo(img4); - $("").appendTo(img4); - var img5 = $("
    "); - $("").appendTo(img5); - $("").appendTo(img5); - - tmp_array.push(img1, img2, img3, img4, img5); - tmp_array = shuffle(tmp_array); - for(var i = 0; i"); - var answers = ""; - $(this).parent().find(".imgs_answers .img_block").each(function(){ - answers += $(this).find("input").val(); - }); - if(tmp_cont.children()[0].tagName == "IMG") - tmp_cont.removeClass("imgs_answers_green") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_gray"); - else - if(tmp_cont.children().length == 1){ - if(tmp_cont.children().find("input").val() == "1") - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - } - }); -//container.appendTo("body") -} - -//check result -function checkResult(event) -{ - var str = ""; - var right_str = $(event.target).find("input").val(); - $(event.target).find(".img_block").each(function(){ - str += $(this).find("input").val() + "*"; - }); - if(str == right_str) - $(event.target).css("background-color","#9f9"); -} - -//add new container -function addContainer(){ - var container = $("
    "); - var sub_container = $("
    ").appendTo(container); - var imgs_container = $("
    ").appendTo(container); - - var close = $("
    ").appendTo(container); - var number = $("
    "+ ($(".cont").size() + 1) +"
    ").appendTo(sub_container); - var text = $("
    " + sankoreLang.enter + "
    ").appendTo(sub_container); - - $("").appendTo(imgs_container); - var add_img = $("
    ").appendTo(imgs_container); - container.insertBefore($(".add_block")); -} - -//add new img block -function addImgBlock(dest){ - var img_block = $("
    ").insertBefore(dest); - $("
    ").appendTo(img_block); - $("
    ").appendTo(img_block); - $("
    ").appendTo(img_block); - $("").appendTo(img_block); - $("").appendTo(img_block); -} - -function refreshBlockNumbers(){ - var i = 0; - $(".cont").each(function(){ - $(this).find(".number_cont").text(++i); - }) -} - -//shuffles an array -function shuffle( arr ) -{ - var pos, tmp; - - for( var i = 0; i < arr.length; i++ ) - { - pos = Math.round( Math.random() * ( arr.length - 1 ) ); - tmp = arr[pos]; - arr[pos] = arr[i]; - arr[i] = tmp; - } - return arr; -} - - -function stringToXML(text){ - if (window.ActiveXObject){ - var doc=new ActiveXObject('Microsoft.XMLDOM'); - doc.async='false'; - doc.loadXML(text); - } else { - var parser=new DOMParser(); - doc=parser.parseFromString(text,'text/xml'); - } - return doc; -} - -function onDropTarget(obj, event) { - $(obj).find("img").remove(); - if (event.dataTransfer) { - var format = "text/plain"; - var textData = event.dataTransfer.getData(format); - if (!textData) { - alert(":("); - } - textData = stringToXML(textData); - var tmp = textData.getElementsByTagName("path")[0].firstChild.textContent; - tmp = tmp.substr(1, tmp.length); - var tmp_img = $("").attr("src", "../../" + tmp); - $(obj).append(tmp_img); - setTimeout(function(){ - if(tmp_img.height() >= tmp_img.width()) - tmp_img.attr("height", "120"); - else{ - tmp_img.attr("width","120"); - tmp_img.css("margin",(120 - tmp_img.height())/2 + "px 0"); - } - }, 6) - } - else { - alert ("Your browser does not support the dataTransfer object."); - } - - if (event.stopPropagation) { - event.stopPropagation (); - } - else { - event.cancelBubble = true; - } - return false; -} - diff --git a/resources/library/interactivities/associer_images.wgt/locales/ru/img/drop_img.png b/resources/library/interactivities/associer_images.wgt/locales/ru/img/drop_img.png deleted file mode 100644 index 2796c020ff60d2c5fbc85488bfeb774521ae8f22..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2196 zcmY+GcQ_l08phL8wMs=(v(%>csu1D`A%a@5Y6KCXMupTUEj?1TXKrHDuA)bcpjK-Z zRf?!m>mX_##OTplZC&R)y}i%*0lY=zHQlaH1x+Fy1&64&xaf)Q^J#0IXmWLw(yj)0^mp zpc!orue*nCZEO`5z!2gaP)~l*I#ZBzyjt{s*p@8l!N2H$Ci6R^K!$iCbmPJcaRnIa z;<6TFe|C5Jjik}8#2FyDGmJ)~F(2ICy@Cc1&j2}oa|bY;73BwX0a%&;7EI;m`oaHB zFwr{rK-@|Os}h$_2+}fcPe^Q;UZFk;p9XSKNZtdV$WBJvLdvsJw)%2kL!XfkVKH8t z(@W_e=#?OXcy(_%eA+oYG&wg8ekA^347iD0u1_Ac35Y;ik~R02j7aZeKkttoDK;Hg z9UoM#vYJ6V^hVYmVb#7MBo4je_9zL9kN$LplXgEyiO~@L^jR@a(z5{E2T1KHfK#Xq4WqXJDQz`AhFrEs_$t%L@A7PE3P&p@)QF zuepK&y{pThw^|gcy;r^NUrq3o%Jx{B00FMh{B!EVTJ~{drZKm=PdajaCk4!78CETg z*L@le6Q*S;LpP?RC{>l-;i%-X9^aFC0*$<$Nqyb|0e6uePI_3J*zesx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R<>&#CHUqf+;%d3Jh)EM?N|Yw07C%DR6BmcO0=K1 zv5t%fZ(s){u&f53L@HEm-3*E{;^Cij)9&jU*Ibqj;EN@-+P(?N2NmbH<~w@tD^b*C zR@iHy^RdEYjEsn50(Qn$rw=oZ8QC+%_Ez|(;oCg5!AoBssugXaTIR{E=r8g*jLX8# zMhZ0wv+WnCqqL!IZz=Q2Ro{7Fe-6f5@9qY`hZZzxQ}FVJ;a5f%64J#e7DaPZ<{UO~ zYN^Wb_kSM*D7N6z2#o8wh3gL%8m6*VMfzNIf1`t7934AHwjx{ji7qzvfLKu}6RXoE x78m@dqG2lks_4_4{cP_aIU`2v@tvGk0Zf0!(kYM3iKlM{z{JSHu-d?#_+LmN0d@cY diff --git a/resources/library/interactivities/associer_images.wgt/locales/ru/index.html b/resources/library/interactivities/associer_images.wgt/locales/ru/index.html deleted file mode 100644 index 8b39b00a..00000000 --- a/resources/library/interactivities/associer_images.wgt/locales/ru/index.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - D'n'd - - - - - - - - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - - diff --git a/resources/library/interactivities/associer_images.wgt/locales/ru/js/script.js b/resources/library/interactivities/associer_images.wgt/locales/ru/js/script.js deleted file mode 100644 index 028734c3..00000000 --- a/resources/library/interactivities/associer_images.wgt/locales/ru/js/script.js +++ /dev/null @@ -1,659 +0,0 @@ -var sankoreLang = { - display: "Показать", - edit: "Изменить", - short_desc: "Выберите чиÑло \"три\".", - add: "Ðовый блок", - enter: "Введите уÑловие ..." -}; - -//main function -function start(){ - - $("#display_text").text(sankoreLang.display); - $("#edit_text").text(sankoreLang.edit); - - if(window.sankore){ - if(sankore.preference("associer","")){ - var data = jQuery.parseJSON(sankore.preference("associer","")); - importData(data); - } else { - showExample(); - } - } - else - showExample(); - //events - if (window.widget) { - window.widget.onleave = function(){ - exportData(); - } - } - - $("#display, #edit").click(function(event){ - if(this.id == "display"){ - if(!$(this).hasClass("selected")){ - sankore.enableDropOnWidget(false); - $(this).addClass("selected"); - $("#display_img").removeClass("red_point").addClass("green_point"); - $("#edit_img").removeClass("green_point").addClass("red_point"); - $("#edit").removeClass("selected"); - $(".add_block").remove(); - $(".cont").each(function(){ - var container = $(this); - var tmp_i = 0; - var tmp_array = []; - - container.find(".text_cont").removeAttr("contenteditable"); - container.find(".add_img").remove(); - container.find(".close_cont").remove(); - container.find(".img_block").each(function(){ - if($(this).find("img").attr("src") != "img/drop_img.png"){ - $(this).find(".close_img").remove(); - $(this).find(".clear_img").remove(); - $(this).find(".true_img").remove(); - $(this).find(".false_img").remove(); - $(this).removeAttr("ondragenter") - .removeAttr("ondragleave") - .removeAttr("ondragover") - .removeAttr("ondrop") - .addClass("img_gray"); - } else - $(this).remove(); - }); - var img_answers = $("
    ").insertAfter(container.find(".sub_cont")); - container.find(".img_block").each(function(){ - $(this).css("float",""); - tmp_array.push($(this)); - }); - tmp_array = shuffle(tmp_array); - for(var i = 0; i"); - var answers = ""; - $(this).parent().find(".imgs_answers .img_block").each(function(){ - answers += $(this).find("input").val(); - }); - if(tmp_cont.children()[0].tagName == "IMG") - tmp_cont.removeClass("imgs_answers_green") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_gray"); - else - if(tmp_cont.children().length == 1){ - if(tmp_cont.children().find("input").val() == "1") - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - } - }); - }); - } - } else { - if(!$(this).hasClass("selected")){ - sankore.enableDropOnWidget(true); - $(this).addClass("selected"); - $("#edit_img").removeClass("red_point").addClass("green_point"); - $("#display_img").removeClass("green_point").addClass("red_point"); - $("#display").removeClass("selected"); - - $(".cont").each(function(){ - var container = $(this); - container.find(".imgs_answers").find(".img_block").each(function(){ - $(this).appendTo(container.find(".imgs_cont")) - }); - container.find(".imgs_answers").remove(); - $("
    ").appendTo(container); - container.find(".text_cont").attr("contenteditable","true"); - //container.find(".imgs_cont").sortable("destroy"); - container.find(".imgs_cont").css("background-color", "white"); - - var add_img = $("
    "); - container.find(".img_block").each(function(){ - $(this).draggable("destroy"); - $(this).attr("ondragenter", "return false;") - .attr("ondragleave", "$(this).css(\"background-color\",\"white\"); return false;") - .attr("ondragover", "$(this).css(\"background-color\",\"#ccc\"); return false;") - .attr("ondrop", "$(this).css(\"background-color\",\"white\"); return onDropTarget(this,event);") - .css("float","left"); - $("
    ").appendTo($(this)); - $("
    ").appendTo($(this)); - if($(this).find("input").val() == "1"){ - $("
    ").appendTo($(this)); - } - else{ - $("
    ").appendTo($(this)); - } - }); - container.find(".imgs_cont").append(add_img) - }); - - $("
    " + sankoreLang.add + "
    ").appendTo("body"); - } - } - }); - - //add new block - $(".add_block").live("click", function(){ - addContainer(); - }); - - //adding new img - $(".add_img").live("click", function(){ - addImgBlock($(this)); - }); - - //deleting a block - $(".close_cont").live("click",function(){ - $(this).parent().remove(); - refreshBlockNumbers(); - }); - - //deleting the img block - $(".close_img").live("click", function(){ - var i = 0; - var tmp_obj = $(this).parent().parent(); - $(this).parent().remove(); - }); - - //cleaning an image - $(".clear_img").live("click",function(){ - $(this).parent().find("img").attr("src","img/drop_img.png"); - }); - - //correct image - $(".true_img").live("click",function(){ - $(this).parent().parent().find(".img_block").each(function(){ - $(this).find("input").val(0); - var tmp_div = $(this).find(".false_img"); - if(tmp_div) - tmp_div.removeClass("false_img").addClass("true_img"); - }) - $(this).parent().find("input").val(1); - $(this).removeClass("true_img").addClass("false_img"); - }); - - //wrong image - $(".false_img").live("click",function(){ - $(this).parent().find("input").val(0); - $(this).removeClass("false_img").addClass("true_img"); - }); -} - -//export -function exportData(){ - var array_to_export = []; - if($("#edit").hasClass("selected")){ - $(".cont").each(function(){ - var cont_obj = new Object(); - cont_obj.text = $(this).find(".text_cont").text(); - cont_obj.mode = "edit"; - cont_obj.imgs = []; - $(this).find(".img_block").each(function(){ - var img_obj = new Object(); - img_obj.value = $(this).find("input").val(); - img_obj.link = $(this).find("img").attr("src").replace("../../",""); - img_obj.ht = $(this).find("img").height(); - img_obj.wd = $(this).find("img").width(); - cont_obj.imgs.push(img_obj); - }); - array_to_export.push(cont_obj); - }); - } else { - $(".cont").each(function(){ - var cont_obj = new Object(); - cont_obj.text = $(this).find(".text_cont").text(); - cont_obj.mode = "display"; - cont_obj.imgs = []; - if($(this).find(".imgs_answers").children()[0].tagName == "DIV"){ - var tmp_cont = $(this).find(".imgs_answers").find(".img_block"); - var img_obj = new Object(); - img_obj.value = tmp_cont.find("input").val(); - img_obj.link = tmp_cont.find("img").attr("src").replace("../../",""); - img_obj.ht = tmp_cont.find("img").height(); - img_obj.wd = tmp_cont.find("img").width(); - img_obj.cont = "answers"; - cont_obj.imgs.push(img_obj); - } - $(this).find(".imgs_cont .img_block").each(function(){ - var img_obj = new Object(); - img_obj.value = $(this).find("input").val(); - img_obj.link = $(this).find("img").attr("src").replace("../../",""); - img_obj.ht = $(this).find("img").height(); - img_obj.wd = $(this).find("img").width(); - img_obj.cont = "cont"; - cont_obj.imgs.push(img_obj); - }); - array_to_export.push(cont_obj); - }); - } - sankore.setPreference("associer", JSON.stringify(array_to_export)); -} - -//import -function importData(data){ - - var tmp = 0; - for(var i in data){ - if(data[i].mode == "edit"){ - var tmp_array = []; - var container = $("
    "); - var sub_container = $("
    ").appendTo(container); - var imgs_answers = $("
    ").appendTo(container); - var imgs_container = $("
    ").appendTo(container); - - var number = $("
    "+ (++tmp) +"
    ").appendTo(sub_container); - var text = $("
    " + data[i].text + "
    ").appendTo(sub_container); - - for(var j in data[i].imgs){ - var img_block = $("
    "); - var img = $(""); - img.height(data[i].imgs[j].ht).width(data[i].imgs[j].wd); - if((120 - data[i].imgs[j].ht) > 0) - img.css("margin",(120 - data[i].imgs[j].ht)/2 + "px 0"); - var hidden_input = $("").val(data[i].imgs[j].value); - img_block.append(hidden_input).append(img); - tmp_array.push(img_block); - } - tmp_array = shuffle(tmp_array); - for(j in tmp_array){ - tmp_array[j].draggable({ - helper:'clone', - zIndex:100, - appendTo: 'body' - }); - tmp_array[j].appendTo(imgs_container); - } - imgs_answers.droppable({ - hoverClass: 'dropHere', - drop: function(event, ui) { - if($(ui.draggable).parent().parent().html() == $(this).parent().html()){ - if($(this).children()[0].tagName == "IMG") - $(this).children().remove(); - else - $(ui.draggable).parent().append($(this).children()); - $(this).append($(ui.draggable)); - if($(this).children().length == 1){ - if($(this).children().find("input").val() == "1") - $(this).removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - $(this).removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - }); - imgs_container.droppable({ - hoverClass: 'dropBack', - drop: function(event, ui) { - if($(ui.draggable).parent().parent().html() == $(this).parent().html()){ - if(this != $(ui.draggable).parent()[0]){ - var tmp_cont = $(ui.draggable).parent(); - $(this).append($(ui.draggable)); - tmp_cont.append(""); - var answers = ""; - $(this).parent().find(".imgs_answers .img_block").each(function(){ - answers += $(this).find("input").val(); - }); - if(tmp_cont.children()[0].tagName == "IMG") - tmp_cont.removeClass("imgs_answers_green") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_gray"); - else - if(tmp_cont.children().length == 1){ - if(tmp_cont.children().find("input").val() == "1") - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - } - }); - container.appendTo("body"); - } else { - container = $("
    "); - sub_container = $("
    ").appendTo(container); - imgs_answers = $("
    ").appendTo(container); - $("").appendTo(imgs_answers); - imgs_container = $("
    ").appendTo(container); - - number = $("
    "+ (++tmp) +"
    ").appendTo(sub_container); - text = $("
    " + data[i].text + "
    ").appendTo(sub_container); - - for(j in data[i].imgs){ - img_block = $("
    "); - img = $(""); - img.height(data[i].imgs[j].ht).width(data[i].imgs[j].wd); - if((120 - data[i].imgs[j].ht) > 0) - img.css("margin",(120 - data[i].imgs[j].ht)/2 + "px 0"); - hidden_input = $("").val(data[i].imgs[j].value); - img_block.append(hidden_input).append(img); - img_block.draggable({ - helper:'clone', - zIndex:100, - appendTo: 'body' - }); - if(data[i].imgs[j].cont == "cont") - img_block.appendTo(imgs_container); - else{ - imgs_answers.empty(); - img_block.appendTo(imgs_answers); - if(data[i].imgs[j].value == "1") - imgs_answers.addClass("imgs_answers_green"); - else - imgs_answers.addClass("imgs_answers_red"); - } - } - - imgs_answers.droppable({ - hoverClass: 'dropHere', - drop: function(event, ui) { - if($(ui.draggable).parent().parent().html() == $(this).parent().html()){ - if($(this).children()[0].tagName == "IMG") - $(this).children().remove(); - else - $(ui.draggable).parent().append($(this).children()); - $(this).append($(ui.draggable)); - if($(this).children().length == 1){ - if($(this).children().find("input").val() == "1") - $(this).removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - $(this).removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - }); - imgs_container.droppable({ - hoverClass: 'dropBack', - drop: function(event, ui) { - if($(ui.draggable).parent().parent().html() == $(this).parent().html()){ - if(this != $(ui.draggable).parent()[0]){ - var tmp_cont = $(ui.draggable).parent(); - $(this).append($(ui.draggable)); - tmp_cont.append(""); - var answers = ""; - $(this).parent().find(".imgs_answers .img_block").each(function(){ - answers += $(this).find("input").val(); - }); - if(tmp_cont.children()[0].tagName == "IMG") - tmp_cont.removeClass("imgs_answers_green") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_gray"); - else - if(tmp_cont.children().length == 1){ - if(tmp_cont.children().find("input").val() == "1") - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - } - }); - container.appendTo("body"); - } - } -} - -//example -function showExample(){ - - var tmp_array = []; - - var container = $("
    ").appendTo("body"); - var sub_container = $("
    ").appendTo(container); - var imgs_answers = $("
    ").appendTo(container); - var imgs_container = $("
    ").appendTo(container); - - var number = $("
    1
    ").appendTo(sub_container); - var text = $("
    " + sankoreLang.short_desc + "
    ").appendTo(sub_container); - - $("").appendTo(imgs_container); - - var img1 = $("
    "); - $("").appendTo(img1); - $("").appendTo(img1); - var img2 = $("
    "); - $("").appendTo(img2); - $("").appendTo(img2); - var img3 = $("
    "); - $("").appendTo(img3); - $("").appendTo(img3); - var img4 = $("
    "); - $("").appendTo(img4); - $("").appendTo(img4); - var img5 = $("
    "); - $("").appendTo(img5); - $("").appendTo(img5); - - tmp_array.push(img1, img2, img3, img4, img5); - tmp_array = shuffle(tmp_array); - for(var i = 0; i"); - var answers = ""; - $(this).parent().find(".imgs_answers .img_block").each(function(){ - answers += $(this).find("input").val(); - }); - if(tmp_cont.children()[0].tagName == "IMG") - tmp_cont.removeClass("imgs_answers_green") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_gray"); - else - if(tmp_cont.children().length == 1){ - if(tmp_cont.children().find("input").val() == "1") - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - } - }); -//container.appendTo("body") -} - -//check result -function checkResult(event) -{ - var str = ""; - var right_str = $(event.target).find("input").val(); - $(event.target).find(".img_block").each(function(){ - str += $(this).find("input").val() + "*"; - }); - if(str == right_str) - $(event.target).css("background-color","#9f9"); -} - -//add new container -function addContainer(){ - var container = $("
    "); - var sub_container = $("
    ").appendTo(container); - var imgs_container = $("
    ").appendTo(container); - - var close = $("
    ").appendTo(container); - var number = $("
    "+ ($(".cont").size() + 1) +"
    ").appendTo(sub_container); - var text = $("
    " + sankoreLang.enter + "
    ").appendTo(sub_container); - - $("").appendTo(imgs_container); - var add_img = $("
    ").appendTo(imgs_container); - container.insertBefore($(".add_block")); -} - -//add new img block -function addImgBlock(dest){ - var img_block = $("
    ").insertBefore(dest); - $("
    ").appendTo(img_block); - $("
    ").appendTo(img_block); - $("
    ").appendTo(img_block); - $("").appendTo(img_block); - $("").appendTo(img_block); -} - -function refreshBlockNumbers(){ - var i = 0; - $(".cont").each(function(){ - $(this).find(".number_cont").text(++i); - }) -} - -//shuffles an array -function shuffle( arr ) -{ - var pos, tmp; - - for( var i = 0; i < arr.length; i++ ) - { - pos = Math.round( Math.random() * ( arr.length - 1 ) ); - tmp = arr[pos]; - arr[pos] = arr[i]; - arr[i] = tmp; - } - return arr; -} - - -function stringToXML(text){ - if (window.ActiveXObject){ - var doc=new ActiveXObject('Microsoft.XMLDOM'); - doc.async='false'; - doc.loadXML(text); - } else { - var parser=new DOMParser(); - doc=parser.parseFromString(text,'text/xml'); - } - return doc; -} - -function onDropTarget(obj, event) { - $(obj).find("img").remove(); - if (event.dataTransfer) { - var format = "text/plain"; - var textData = event.dataTransfer.getData(format); - if (!textData) { - alert(":("); - } - textData = stringToXML(textData); - var tmp = textData.getElementsByTagName("path")[0].firstChild.textContent; - tmp = tmp.substr(1, tmp.length); - var tmp_img = $("").attr("src", "../../" + tmp); - $(obj).append(tmp_img); - setTimeout(function(){ - if(tmp_img.height() >= tmp_img.width()) - tmp_img.attr("height", "120"); - else{ - tmp_img.attr("width","120"); - tmp_img.css("margin",(120 - tmp_img.height())/2 + "px 0"); - } - }, 6) - } - else { - alert ("Your browser does not support the dataTransfer object."); - } - - if (event.stopPropagation) { - event.stopPropagation (); - } - else { - event.cancelBubble = true; - } - return false; -} - diff --git a/resources/library/interactivities/associer_images.wgt/objects/0.gif b/resources/library/interactivities/associer_images.wgt/objects/0.gif deleted file mode 100644 index 0860a5fc1194e6c81ac1cf70527331243348f7d6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2628 zcmV-K3cK}3Nk%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mQpIm10mBFvRN)eDC_x$*;RGB^ zCK71`!IKgZL?T?$3}sye51C+PNY3$u4O!$BS#U`w&VUgl1Vfh{!ABiH@ug}YK~X93 zM;JnJk#QUWk%1IRC)N-*iM*o=o=V9(fS@)lu>uYAKxRkQ!GlLuL=7S;5@xJm*KF1R9$+rU8&A=wdsI06pRo5()$PzXMXGLODwd!N3`*n| zMsO!T8w!jiRLvsVD8m?z;Zce7gByWx0;MjZjxUVDtRGDYKMX+zi&DfLkzj%wXyFWT ztm7Qg@P!_npayNAlplx~gSKLtl5G^B6;YdrKeR!KEzF<>L+HT@o=^y5)O8}y=)r(y zQXq-{SfdBFh+;o>yIYP(0|>bwkkKx}4_7o{7k~woHn?Dj*Jd*%{b&UddJ)=^M8iZ( zVgiOfeJHyooGNzD)a*|{mc<4bZk~>tI>|+%|u!1Yl#1VJw zVhur9M0Pne6MlSS6kJGx8aR;)ZlpsU?NCQL$l(i9zyS(ZXv8%P+n$`rgBqLIgB7H3 zg(O752vx8`72d#zWkAy`MCr#o)`1RcIO7@SSVufK3>&)$C%ryC9FT)7#32(oBegxU zQ;e+SB{!M2On&l2k}TzaP+7`XesY$Zyk#YK`N&@;a+rfWW*?W?E@z%gn&Yx&x3qa7 mEpJ9koXaw2v8W;twaBxc_sr)$`}xm+4z!>L{pUOc1OPi|d$&yh diff --git a/resources/library/interactivities/associer_images.wgt/objects/1.gif b/resources/library/interactivities/associer_images.wgt/objects/1.gif deleted file mode 100644 index c6d04fac0639c879c068e84c6e2ada542f1d939b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1483 zcma*m|2xwO0Kjp55!cs~lrL!+!Zu>QWWIl&&GOxR8*X%1<5=^pCx`6Fm*TPPnJm(W zX*Z9oJ>u-7 z{+Dh4Vf(-A_{z?&sDEYG7L6^MTfW({8?Sg@pwS1c$>B z2!y4jrInS{NszU*wT+Dp5{b06wY9Uev$wZ*aBw(v>Xai0g+e(wIXOE!ySTWxy1Kf# zxw*T$d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{3Z@W%nvSe0+dB)_qaC>5Aek#e@AD1GFdtJ93QjTjCb<3L=CC z^-Qz}Cg$Kn)gF8{EYI*GP4mT6zFs?xbwUXa!cXPO*j-Y|-1jHVTTa=|)AFcZ~JDIyC&o*BQYGALFHLp-n<$5fstH zF(HD~mDUN@xjo9B9WTrYoDvTip_VnQ-zb%wG+tI9&P+zx7`Bl- x-`kFNlulTghLOC)&Ew6j0hTsj2asgSjfz*&I>+IAz9|Ee%HQdCd0?=N%U?!miRl0U diff --git a/resources/library/interactivities/associer_images.wgt/objects/4.gif b/resources/library/interactivities/associer_images.wgt/objects/4.gif deleted file mode 100644 index 20f341c36bb0fdf6923be0cd3d6af312462d121f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1772 zcma*m{WsGK0Dy6oq8Cc3>$Tm{@-|A|hGNNPTk|quWF{u2r7$lmqP!j5NlnB>Vwzm# zC0BPhNfX&ZX5nfq+znGm5?W&S^gYKpopaAU=YD>8{)5K_jfB|-`6^seSW@_3*8PX| z|FYo+ia*%+gH3Cc)+n#pyk-kv>zZu<6@V&WJ75Pu4X_ii3!o0z4cN11&rbjifTpIV z7C>8DTL+-4tGgEf0)c)8fWcrrJw1KEzJ2>35XgRjfq{Xcp`nqHkuku;!~_b3nwpxL znVB5`96Wf?+}!-op+goH7M7NlR#sNl*48#QHZXv#t*xD%oxQ#N;lqcI9693P;Na-! z2#3Ru9zE*h*b9~l`L6%|FLQe$FbVq;_DQy?Oo|ToAot=IC`gI0_k&}~?o12@LmzSTPUr@~E32xi?%%&(U0q#UTU%FGS6^S>(9rPc z(IYmS{rK_Y#>U2`rl#iRW)6qb($dn}+WO+f3oe(-7E7ZaboCm1gp3+qqvnKM;!rf>c@$8A^9 ziZknIj7xw1YKnS55KrPL?>+oQH1uGl;>OqZKg~&|LRJ5b-tC}v3kF5Zl3mMa$|``^ zytPsMwY{fs<&$CzS^vyqSB9xjYG*Nh_tV)#$(M^0q4}pgVy9K+*_abSPCJvsb;e;@ zv$;cy)mjzLKpbbYcwzC~Qn)^QNp5-(%X><1Hgi8fyfogVGX+6*mJwt4R>fw+_t%vt zy)UgLUlHg=eU4|)jAOYtJDY~o67>-cvRaCfQ6<9>6%xj z% z^bn;8?v-WS9W!(PD5t6!hKICOm7%jSI6JFKD$W|#N1_zvh_~Fstda#Ch;LswSxELE zK4*W(skT9+U^RcIwXHG*XO4Ve`+(lZ>bt(ZlhBu~B8kkMq3bV{DI-s3z7{+gzvYZo zt3Rnu-wpn|lZgH(^5{lLd+OXcZ7FAB{9lzm5^>R2}*NiZl8t7myN@Eu0X#;Dc zGOS>u8=_mQ2x7sb9>vv=t)O-?!`f9H~PNFqA2IHIKMuq3$|=rApvFIk - - - Notes - Mnemis SA - Associer images - - - diff --git a/resources/library/interactivities/associer_sounds.wgt/css/basic.css b/resources/library/interactivities/associer_sounds.wgt/css/basic.css deleted file mode 100644 index cc011b19..00000000 --- a/resources/library/interactivities/associer_sounds.wgt/css/basic.css +++ /dev/null @@ -1,238 +0,0 @@ -html, body{ - width: 100%; - height: 100%; - margin: 0; - padding: 0; - background-color: white; -} - -.toggle_mode{ - width: 100%; - height: 25px; - border-bottom: 1px solid black; - background-color: #ccc; - position: fixed; - top: 0; - left: 0; - z-index: 2; -} - -#display_img, #edit_img{ - width: 15px; - height: 15px; - margin: 5px 10px; -} - -.green_point{ - background-image: url(../img/green_point.png); -} - -.red_point{ - background-image: url(../img/red_point.png); -} - -#display_text, #edit_text{ - height: 19px; - padding: 3px 0 0 0; -} - -.selected{ - background-color: #666; -} - -#display:hover, #edit:hover{ - background-color: #999; -} - -.cont{ - width: 100%; - border-bottom: 1px solid black; - margin: 0; - padding: 0; - position: relative; -} - -.sub_cont{ - width: 100%; - padding: 0; - margin: 20px 0 0 0; - min-height: 60px; -} - -.imgs_cont{ - width: 100%; - min-height: 142px; - margin: 0; -} - -.imgs_answers{ - width: 162px; - margin: 0 auto; - margin-bottom: 10px; - min-height: 142px; - border: 2px dashed #ccc; - text-align: center; -} - -.imgs_answers_gray{ - background-color: #f4f2f2; -} - -.imgs_answers_green{ - background-color: #9f9; -} - -.imgs_answers_red{ - background-color: #f99; -} - -.number_cont{ - width: 40px; - height: 33px; - margin-left: 40px; - margin-right: 10px; - background-image: url(../img/circle.png); - background-repeat: no-repeat; - text-align: center; - float: left; - font-size: 130%; - padding-top: 7px; - font-weight: bold; -} - -.text_cont{ - width: 80%; - min-height: 40px; - float: right; - background-color: #999; - border-top-left-radius: 20px; - border-bottom-left-radius: 20px; - padding-left: 10px; -} - -.close_cont{ - width: 20px; - height: 20px; - background-image: url(../img/close_cont.png); - cursor: pointer; - position: absolute; - top: -15px; - left: 5px; -} - -.add_img{ - width: 120px; - height: 120px; - margin: 10px 20px; - background-image: url(../img/add_img.png); - background-position: center; - background-repeat: no-repeat; - cursor: pointer; - display: inline-block; -} - -.img_block{ - width: 120px; - height: 120px; - margin: 10px 20px; - cursor: pointer; - display: inline-block; - position: relative; - background-color: white; -} - -.img_gray{ - border: 1px solid #ccc; - -moz-box-shadow: #ccc -1px 0 4px; - -webkit-box-shadow: #ccc -1px 0 4px; - box-shadow: #ccc -1px 0 4px; -} - -.close_img, .true_img, .false_img{ - width: 30px; - height: 30px; - background-repeat: no-repeat; - position: absolute; - right: -15px; - cursor: pointer; -} - -.close_img{ - background-image: url(../img/close_img.png); - top: -15px; -} - -.true_img{ - background-image: url(../img/false.png); - top: 15px; -} - -.false_img{ - background-image: url(../img/true.png); - top: 15px; -} - -.add_block{ - margin: 20px 0 0 20px; - width: 110px; - height: 25px; - background-image: url(../img/add_block.png); - background-repeat: no-repeat; - padding-left: 40px; - padding-top: 5px; - cursor: pointer; - background-color: #ccc; - -webkit-border-radius: 15px; - border-radius: 15px; -} - -.dropHere{ - background-color: #ccc; -} - -.dropBack{ - background-color: #F4F2F2; -} - -.audio_block{ - width: 120px; - height: 30px; - margin: 5px 0; - float: left; -} - -.audio_desc{ - min-height: 30px; - margin: 5px 0; - float: left; - margin-left: 20px; -} - -.play, .stop{ - height: 30px; - width: 70px; - float: left; - cursor: pointer; -} - -.play{ - background-image: url(../img/play.png); -} - -.stop{ - background-image: url(../img/stop.png); -} - -.replay{ - height: 30px; - width: 32px; - margin-left: 10px; - float: left; - background-image: url(../img/replay.png); - background-repeat: no-repeat; - cursor: pointer; -} - -.gray{ - background-color: #ccc; -} \ No newline at end of file diff --git a/resources/library/interactivities/associer_sounds.wgt/img/add_block.png b/resources/library/interactivities/associer_sounds.wgt/img/add_block.png deleted file mode 100644 index 50f954080b88608e04a1562f95aee2f497ac1c16..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1626 zcmV-g2BrClP)ht7!nc}5`$r5FlZts6c;YgkQf$f+>p3&hoCVjh;d^KTQ_QqrL2ev zl}B4k8v>QG=(IC)-}n0cXYRe789Jp#PkY;Q&pqdVe*gC$#WW0R9)1vzW7|Xu|0)#t z0V$f=rz*;j@B4f3?4*GD0t$+}AA1(@=f0|`H!vRyf?yQy_k0iMl!i=^NRXzgqzMu0 zQJ$c9v*&rouzc7L{6Pq99Ev1H1M5M<2vSvbTv3%Pm|w!ut$(c;ir(@){|x?b3#G1Y z1fgI>ofbkptElP)A=aiiW0~e>j^mu7|2Wu&WI~)vCR3+1O{+F57HxZTFysr;=> z^nVP)v`%_{P|D?UClR!TU|De^hQ99+JpI@(jN`}=hk8X9*q~%Gxx9vab80-C?=&Fy z4S;hYzi!>hrcj#_EVgYOtt?h9D-BewICvj&M-z8$)8Zn)3-6o#5mGfx8sfM%9eVXO zdilTsvMjT6zHwft+Dx&l^a}EQTV?Oedi`yLV>^FDopyXUtaEb@$g(YjI{_~R`JRWh zISBSwJkbh$aS9cS{#)p3@F`#v-<^5JcJyJ_T2KjuItN+AvBG5 zRRYnL-bRXf=qa5dW{dbHGOC3qd|$!(kYI1w(&oD5IWx_#KmS5Avv(;e8s(EpC24y4 zE@_$y#TGLq_9}E6D8Do^LYzD4mFrNsyPNjzeTkAd(;5ln8ajpRI(-qSB6BmD3{6c; z($`;|mtG_^A-#}ufGU+r!5b%z%*RIBi+OO;9`&VNf9DaeQj>a8FOxVEK&RMLq( zY2MS0hxT{IfDgl$5#1bY)HD_=On32N?BUwXX0uFn2$Mk~BzLaW6hOqF3qqDsLa-Sj z14cmPe5bP+YDr^gG%!>LnW*<|$9_Ro)F=)J^Ac^`w24j(zekf(Qxa5cG%KB)xI;Jp z9G9SJAlIS(fqr^!$1ZZc5L}i`PxbWBuEFP}L0tFC-Oq<3i3jM>iE$+VkfJSn?E0?U zaNyuU`9y%(P%hJVK<~A&Q7V;6a=ltxqAi=Z(7Pvw5uI8~xY6a{xzieE;0X~N7wL5R zYNfK^0t79!%%G^%YH@y8v7SzoVOc<>6Qi1m#4;_aR+n1Py9(zApxdiZoVk`rq{a=S zJ_zz&mAPd8kvmrEh6Lhb?!ZX-xecW4gF}v%I*D@p4Jp><(rNvN2;ChYzwzI&3^ez; ztW)kxCf?ao2HTUknn9e;=YNFqS-}U2h2luHT747rxxJIue30|i|MUR)jz^E?=Vd?U zF!usT?dWYEoVrvpHB%@SzF`7VkY8eD3kwTJXJ=3M(Ik9Y+&%vygH>`i(Gz|oza!NLSRcQzh?@i4ijD)wWMVA5wBYxI*tv^>T zmrrxaHzQrNhXso2$kzvjLg5cE*co`YjRkOiV@hmT5i?zEM66J@(CI?Ha27zi!0Bl( zFY$OzLbA~Hi<;1W$NU%w|1j=ZgS^g4qyb9P4KiqW$FvKh$3aS0(A6%Xh2Cm!LLC*i zbSdAT5()7MjJS}e{7|)4-2X#69< Y0H|PDf!Y4H@c;k-07*qoM6N<$g7eP`cK`qY diff --git a/resources/library/interactivities/associer_sounds.wgt/img/add_img.png b/resources/library/interactivities/associer_sounds.wgt/img/add_img.png deleted file mode 100644 index e678875d38e8ee09b84603f99c4c98d45c768961..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5352 zcmVP)t?%)K)^dta=i z1zjAH5JXj&SjGlN0^1QLf=~ofc0pu9f~xW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=n7YY!PQiVV;_{548EA|c!4c$L6F@9Gro9pCr%IAoOPYRpBfH^y!NF<(X zX>I+Xrm6?|>&h1>6tkd|vD0r(Lf(EOnXG>*HJsW8^LQ)tOS@Pk%KXAHPR6FS*i@qz z)Mq-{J6>pMZh3rkboAB5*i2_phAKCYF|rz)n(l`Z+}Y6BuyuHN_+D@f2c~$BUN1u) zTnCzb)6HyiOUF+;I@)&ygP}KMNit{`xy2}pDm(0j_V0jW-s$M*_!;_sYbrH-JAhdQ z=c>-}dKUwr*`pm|RDtPw9OnD;Fhq92Z0}1X;^x#;)=FMmq~eJ%Ct%R&4?%?QLC1W5 zY;0^}zEIel&15!av)Pq}LZO+wUk4aRw9N-n@tnte>m-ZcZ|LlF8Vm;0(P-><(P(5p z^u)`_WU?0`b<&w>^diSu_JNpyS+DhWbawWFjIra#j;#ej*MO>50-!5$3b?1Bw(`tH zHghkPvjJ56iX;LR0E~n1N5Khw^~vNxMadm%ZfZV+fsvw(p8c@5mv77+ZbF)72H@;V zHZ<&`NNFmSYOJfPYpRRKJ7GHasD(lgxThQ3(~j#J@jV7mXfs~f21>_g9)!;TfC+pK z!O}Y!33qI3Wd#$vAcDBws)8rxj!WFTen&y#A}Q!k diff --git a/resources/library/interactivities/associer_sounds.wgt/img/circle.png b/resources/library/interactivities/associer_sounds.wgt/img/circle.png deleted file mode 100644 index 4de395a37694609f06c158b5bfc3cabb319adc61..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1026 zcmV+d1pWJoP)fWJK{)l$Jv9B9@k(#IK$TQbh^kpJ0eu5ld5p1gZzk$&Z^T z9!iqF&vdqoVU4>carc2InO)s|f0>!g&ilqi50{7ilI>?dWxLrv`L`H5#s0;PvLo!I z(M>X$3>8up?2rtavFND0wjvuamt7X%KC=7S)i@|GFQ=B47V`OgR99C=nx;{GeZBa{ z!^1;Lr_*$FbVRXOjCOZ->GJYYzt1UqF%pT4Z0c6 zW=mbax3@>@>+2MaM)gxa*dMr;!ubF$um{obdc8C{I!X-<4SCIxgM$N_o}Q*eBB7u9 z!jM6$fEtE@{R%@jGBQGeK%k(LIUEkt%*>3K3NqFJgQm>_egj--X(>%iOo+Kw3}J4D zLLs`jxxwKQ1HLu`D25eqv$L~QTU$%T)ba5#4G#~~_4T#kaBBu%h(Qc1dal@T5Mm$} zVj{N7XM6_!l^#@XM`&dx-}Ww*cp7BKPlKdvt`n|N7XUbY=jVc1l+Tc42e zBdLzZ(8$ za`vF|o2p*+dzt-FXJ;q%^z>NH0I|lcuCCI?#)f_hgp&-nlIuDvCE(BWuLLYIex!zN zZEd3b3%lKJ@eZN%n@Xj`JG`~Er9Zy(H5Vn|H#oSj1Z-8v_))9gChJA?ZFz0Adc#5% w(X-`~IrTHj{WHW*`CK*J&)xSk#9sjh0O|y((21~E;{X5v07*qoM6N<$g5_4*djJ3c diff --git a/resources/library/interactivities/associer_sounds.wgt/img/close_cont.png b/resources/library/interactivities/associer_sounds.wgt/img/close_cont.png deleted file mode 100644 index 210b4d6dc089ad9277ab8a8c684438c2c4f6db69..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 772 zcmV+f1N;1mP)hQr~YTCF;a0Zr5Jo3UQ6F`LbBbaXVclPnsIIt~sFFr7|+OiHrt z?QL|sT^L-jb3w9RuZNeH7ufCg9}zAV3mhIE3WxYp$;`MQxzp){%jJS`6dN;E8F@S& zjK^bqe0+%S{{Ft$ZTz7VGb358R>Q@`g=}GWcUK6kWYp0{46*c~uL^9lMklyjF5~?C z9ECywudlC?Er}?cQ%4&y#L~w)OhQI@dwWAJmqR=r$K&H8^7*`Mi(8~{P91H;5KABH zv6zH5n@vg|4u^4leT`TwhUe#JoSvSVV9u$djTmC-Ltiz_lIprHG8&Drx3`C4v50Io zi)OQlR4OHycDs#8BqBDq+bvk0-*UP9O30KMMMauSCUV$!cXvo8lW4VCqGv|b5l;*g zP{mT){+6K`$%wpKuDQ zzO{|cUNQiFe*o|A?>IR*L8IA_0#qs$5zZ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)vcmyw_2@sSoYnjo^3XfPfpHYPj3H_R6GT@xJF3bsZBND-5?Y z_ZULDGDJ?Vcp<*ges?Ez4=E~PhjO3qvCI!)dwllrD`8iQLVS&(Tih~Sl*yJt|La2& zF#4W{?MEo3jK$FIOX@kVX`>o#jh}1Eo%PdP(??%r9qe}P zaqQVCNwA1@!}z;e$GNUIWf=-g)_PB-E zYBjzpb*=7Xkj#qP>B-4vr%h99f3Hd)4u<+~n!*RYt zh#tO=bYnv_x$c(qB9Ujm2QO>f0)A!O$fGsPw;jASh-GT8i(Rl_!QjI8-t5?C&r+p| z3B=m|{uM(5C0-H<%PW+8;ZE-A{Kf#IZN$pRV4<^b?6HvtPV7<##g8r9el3+M_+|3L zOBYwvyPLw6ImhHRP$k0$vLqei73J%vEqamQq1)b)UeWSo(5H)zGe@~+ty*F(S{69d z#(4e-BGUkmh3+x@R`&E?-`9nUZ?>B?zI zEO35H{8XeI!T6kS(^WR5l;6lXqyT;9f0%VIZz(ZwtBX$Z>S=lN920x6{1n2#ii4-_ z{drmO?J@N8=XS1nR9(O3N%iG@0iySZ{MvR>{Kubp(lLCBym;N-)1!PzFK^^bv^-SBb)>^S2~Zkm!ti)e_XG zC-#ROn)#xd2P}@t>y}_))AVF4WOshg8)5wM0!wIWx643cUc=QvnRn)39H^2RqGyb=V2>Pv|L?7 zka;iN5&O|J=EBTz%f&}FT#1I=KW6OD=WV}ldMS4gNQ!$msps0VurWusU9`*#`Vibe XSm?Ef?YFNwR8J#+p)vt!Yw diff --git a/resources/library/interactivities/associer_sounds.wgt/img/true.png b/resources/library/interactivities/associer_sounds.wgt/img/true.png deleted file mode 100644 index da01631adb2e683a8caf105ee059db352bed80b5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2987 zcmaJ@c|25mA69mWL_*RrN!D47Su$mq!8EpJY`twJb1*TBnUS$&?Iw|n;%2>R(c&sg zDkQ0NrA6LsSwHYQ>?5Re{e@u+J}5(Eau0$4h0O>6X&{3c9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Jo&HzmhDj^~q} z=tMk<46rrj&pVZU_?%W3`>^71Vrw;ZMn`qE@m)$*hnA=W#V~%SWU6X&BLB2e)v?+=pmckU$z9PgjZjUQmk_?r_{dx)v^DK+(J|w>6SAhwK{-cifw6(_!Uo_%R}(k@|ruXWpX}l!O3x zKFegY*>`L%nd+GhdnZ%Ht?{Qc#6hnzlbv&`t{XJ23ixjMi4n4NW4%vv+T%`GkWS!YA|^xGk(eEBZVMO@zP_V|%G;UTv% zU#dDp!-?Ylx{O1RJtPB*DO1>6yjr5(-*VP|qvJ{a@J#)=*y)P=v~&6c*{}nL=?bPz zDsr_2&g$*iHYZ~~-k^~xhG}NBt_7j5hLf_-J+gz=t?6AABf|sF)cTZ)%F3p^*zB>w z%i7yqnz{Vz-SzsVbcrD`vL9+@7V+oAbd6_Pyyvt5`9V^DdpcD+!^q - - - D'n'd - - - - - - - - -
    -
    -
    -
    -
    Display
    -
    -
    -
    -
    -
    -
    Edit
    -
    -
    -
    -
    - - diff --git a/resources/library/interactivities/associer_sounds.wgt/js/jquery-1.6.2.min.js b/resources/library/interactivities/associer_sounds.wgt/js/jquery-1.6.2.min.js deleted file mode 100644 index 48590ecb..00000000 --- a/resources/library/interactivities/associer_sounds.wgt/js/jquery-1.6.2.min.js +++ /dev/null @@ -1,18 +0,0 @@ -/*! - * jQuery JavaScript Library v1.6.2 - * http://jquery.com/ - * - * Copyright 2011, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Thu Jun 30 14:16:56 2011 -0400 - */ -(function(a,b){function cv(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cs(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"),ch.frameBorder=ch.width=ch.height=0),b.appendChild(ch);if(!ci||!ch.createElement)ci=(ch.contentWindow||ch.contentDocument).document,ci.write((c.compatMode==="CSS1Compat"?"":"")+""),ci.close();d=ci.createElement(a),ci.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ch)}cg[a]=e}return cg[a]}function cr(a,b){var c={};f.each(cm.concat.apply([],cm.slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){setTimeout(cq,0);return cn=f.now()}function cf(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ce(){try{return new a.XMLHttpRequest}catch(b){}}function b$(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bx(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function bm(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(be,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bl(a){f.nodeName(a,"input")?bk(a):"getElementsByTagName"in a&&f.grep(a.getElementsByTagName("input"),bk)}function bk(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bj(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function bi(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bh(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c=f.expando,d=f.data(a),e=f.data(b,d);if(d=d[c]){var g=d.events;e=e[c]=f.extend({},d);if(g){delete e.handle,e.events={};for(var h in g)for(var i=0,j=g[h].length;i=0===c})}function V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function N(a,b){return(a&&a!=="*"?a+".":"")+b.replace(z,"`").replace(A,"&")}function M(a){var b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.liveFired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var s=r.live.slice(0);for(i=0;ic)break;a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e.handleObj,o=e.handleObj.origHandler.apply(e.elem,arguments);if(o===!1||a.isPropagationStopped()){c=e.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function K(a,c,d){var e=f.extend({},d[0]);e.type=a,e.originalEvent={},e.liveFired=b,f.event.handle.call(c,e),e.isDefaultPrevented()&&d[0].preventDefault()}function E(){return!0}function D(){return!1}function m(a,c,d){var e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&setTimeout(function(){!f.data(a,g,b,!0)&&!f.data(a,h,b,!0)&&(f.removeData(a,e,!0),i.resolve())},0)}function l(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function k(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(j,"$1-$2").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNaN(d)?i.test(d)?f.parseJSON(d):d:parseFloat(d)}catch(g){}f.data(a,c,d)}else d=b}return d}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z])/ig,x=function(a,b){return b.toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.6.2",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.resolveWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!A){A=e._Deferred();if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!m.test(a)||isNaN(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a);return c===b||D.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(b,c,d){a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),d=c.documentElement,(!d||!d.nodeName||d.nodeName==="parsererror")&&e.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?h.call(arguments,0):c,--e||g.resolveWith(g,h.call(b,0))}}var b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred();if(d>1){for(;c
    a",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.firstChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0},m&&f.extend(p,{position:"absolute",left:-1e3,top:-1e3});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="
    ",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="
    t
    ",q=a.getElementsByTagName("td"),u=q[0].offsetHeight===0,q[0].style.display="",q[1].style.display="none",k.reliableHiddenOffsets=u&&q[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),k.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0),o.innerHTML="",n.removeChild(o);if(a.attachEvent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in a,u||(a.setAttribute(s,"return;"),u=typeof a[s]=="function"),k[t+"Bubbles"]=u;o=l=g=h=m=j=a=i=null;return k}(),f.boxModel=f.support.boxModel;var i=/^(?:\{.*\}|\[.*\])$/,j=/([a-z])([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!l(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g=f.expando,h=typeof c=="string",i,j=a.nodeType,k=j?f.cache:a,l=j?a[f.expando]:a[f.expando]&&f.expando;if((!l||e&&l&&!k[l][g])&&h&&d===b)return;l||(j?a[f.expando]=l=++f.uuid:l=f.expando),k[l]||(k[l]={},j||(k[l].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?k[l][g]=f.extend(k[l][g],c):k[l]=f.extend(k[l],c);i=k[l],e&&(i[g]||(i[g]={}),i=i[g]),d!==b&&(i[f.camelCase(c)]=d);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[f.camelCase(c)]||i[c]:i}},removeData:function(b,c,d){if(!!f.acceptData(b)){var e=f.expando,g=b.nodeType,h=g?f.cache:b,i=g?b[f.expando]:f.expando;if(!h[i])return;if(c){var j=d?h[i][e]:h[i];if(j){delete j[c];if(!l(j))return}}if(d){delete h[i][e];if(!l(h[i]))return}var k=h[i][e];f.support.deleteExpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},g||(h[i].toJSON=f.noop),h[i][e]=k):g&&(f.support.deleteExpando?delete b[f.expando]:b.removeAttribute?b.removeAttribute(f.expando):b[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d=null;if(typeof a=="undefined"){if(this.length){d=f.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,g;for(var h=0,i=e.length;h-1)return!0;return!1},val:function(a){var c,d,e=this[0];if(!arguments.length){if(e){c=f.valHooks[e.nodeName.toLowerCase()]||f.valHooks[e.type];if(c&&"get"in c&&(d=c.get(e,"value"))!==b)return d;d=e.value;return typeof d=="string"?d.replace(p,""):d==null?"":d}return b}var g=f.isFunction(a);return this.each(function(d){var e=f(this),h;if(this.nodeType===1){g?h=a.call(this,d,e.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c=a.selectedIndex,d=[],e=a.options,g=a.type==="select-one";if(c<0)return null;for(var h=g?c:0,i=g?c+1:e.length;h=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,d,e){var g=a.nodeType;if(!a||g===3||g===8||g===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);var h,i,j=g!==1||!f.isXMLDoc(a);j&&(c=f.attrFix[c]||c,i=f.attrHooks[c],i||(t.test(c)?i=w:v&&c!=="className"&&(f.nodeName(a,"form")||u.test(c))&&(i=v)));if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(i&&"set"in i&&j&&(h=i.set(a,d,c))!==b)return h;a.setAttribute(c,""+d);return d}if(i&&"get"in i&&j&&(h=i.get(a,c))!==null)return h;h=a.getAttribute(c);return h===null?b:h},removeAttr:function(a,b){var c;a.nodeType===1&&(b=f.attrFix[b]||b,f.support.getSetAttribute?a.removeAttribute(b):(f.attr(a,b,""),a.removeAttributeNode(a.getAttributeNode(b))),t.test(b)&&(c=f.propFix[b]||b)in a&&(a[c]=!1))},attrHooks:{type:{set:function(a,b){if(q.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):r.test(a.nodeName)||s.test(a.nodeName)&&a.href?0:b}},value:{get:function(a,b){if(v&&f.nodeName(a,"button"))return v.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(v&&f.nodeName(a,"button"))return v.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e=a.nodeType;if(!a||e===3||e===8||e===2)return b;var g,h,i=e!==1||!f.isXMLDoc(a);i&&(c=f.propFix[c]||c,h=f.propHooks[c]);return d!==b?h&&"set"in h&&(g=h.set(a,d,c))!==b?g:a[c]=d:h&&"get"in h&&(g=h.get(a,c))!==b?g:a[c]},propHooks:{}}),w={get:function(a,c){return f.prop(a,c)?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},f.support.getSetAttribute||(f.attrFix=f.propFix,v=f.attrHooks.name=f.attrHooks.title=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&d.nodeValue!==""?d.nodeValue:b},set:function(a,b,c){var d=a.getAttributeNode(c);if(d){d.nodeValue=b;return b}}},f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})})),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}})),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var x=/\.(.*)$/,y=/^(?:textarea|input|select)$/i,z=/\./g,A=/ /g,B=/[^\w\s.|`]/g,C=function(a){return a.replace(B,"\\$&")};f.event={add:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){if(d===!1)d=D;else if(!d)return;var g,h;d.handler&&(g=d,d=g.handler),d.guid||(d.guid=f.guid++);var i=f._data(a);if(!i)return;var j=i.events,k=i.handle;j||(i.events=j={}),k||(i.handle=k=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.handle.apply(k.elem,arguments):b}),k.elem=a,c=c.split(" ");var l,m=0,n;while(l=c[m++]){h=g?f.extend({},g):{handler:d,data:e},l.indexOf(".")>-1?(n=l.split("."),l=n.shift(),h.namespace=n.slice(0).sort().join(".")):(n=[],h.namespace=""),h.type=l,h.guid||(h.guid=d.guid);var o=j[l],p=f.event.special[l]||{};if(!o){o=j[l]=[];if(!p.setup||p.setup.call(a,e,n,k)===!1)a.addEventListener?a.addEventListener(l,k,!1):a.attachEvent&&a.attachEvent("on"+l,k)}p.add&&(p.add.call(a,h),h.handler.guid||(h.handler.guid=d.guid)),o.push(h),f.event.global[l]=!0}a=null}},global:{},remove:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){d===!1&&(d=D);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=f.hasData(a)&&f._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(d=c.handler,c=c.type);if(!c||typeof c=="string"&&c.charAt(0)==="."){c=c||"";for(h in t)f.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+f.map(m.slice(0).sort(),C).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!d){for(j=0;j=0&&(h=h.slice(0,-1),j=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i. -shift(),i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.exclusive=j,c.namespace=i.join("."),c.namespace_re=new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!e)c.preventDefault(),c.stopPropagation();if(!e){f.each(f.cache,function(){var a=f.expando,b=this[a];b&&b.events&&b.events[h]&&f.event.trigger(c,d,b.handle.elem)});return}if(e.nodeType===3||e.nodeType===8)return;c.result=b,c.target=e,d=d!=null?f.makeArray(d):[],d.unshift(c);var k=e,l=h.indexOf(":")<0?"on"+h:"";do{var m=f._data(k,"handle");c.currentTarget=k,m&&m.apply(k,d),l&&f.acceptData(k)&&k[l]&&k[l].apply(k,d)===!1&&(c.result=!1,c.preventDefault()),k=k.parentNode||k.ownerDocument||k===c.target.ownerDocument&&a}while(k&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var n,o=f.event.special[h]||{};if((!o._default||o._default.call(e.ownerDocument,c)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)){try{l&&e[h]&&(n=e[l],n&&(e[l]=null),f.event.triggered=h,e[h]())}catch(p){}n&&(e[l]=n),f.event.triggered=b}}return c.result}},handle:function(c){c=f.event.fix(c||a.event);var d=((f._data(this,"events")||{})[c.type]||[]).slice(0),e=!c.exclusive&&!c.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=c,c.currentTarget=this;for(var h=0,i=d.length;h-1?f.map(a.options,function(a){return a.selected}).join("-"):"":f.nodeName(a,"select")&&(c=a.selectedIndex);return c},J=function(c){var d=c.target,e,g;if(!!y.test(d.nodeName)&&!d.readOnly){e=f._data(d,"_change_data"),g=I(d),(c.type!=="focusout"||d.type!=="radio")&&f._data(d,"_change_data",g);if(e===b||g===e)return;if(e!=null||g)c.type="change",c.liveFired=b,f.event.trigger(c,arguments[1],d)}};f.event.special.change={filters:{focusout:J,beforedeactivate:J,click:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||f.nodeName(b,"select"))&&J.call(this,a)},keydown:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!f.nodeName(b,"textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&J.call(this,a)},beforeactivate:function(a){var b=a.target;f._data(b,"_change_data",I(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in H)f.event.add(this,c+".specialChange",H[c]);return y.test(this.nodeName)},teardown:function(a){f.event.remove(this,".specialChange");return y.test(this.nodeName)}},H=f.event.special.change.filters,H.focus=H.beforeactivate}f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){function e(a){var c=f.event.fix(a);c.type=b,c.originalEvent={},f.event.trigger(c,null,c.target),c.isDefaultPrevented()&&a.preventDefault()}var d=0;f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.each(["bind","one"],function(a,c){f.fn[c]=function(a,d,e){var g;if(typeof a=="object"){for(var h in a)this[c](h,d,a[h],e);return this}if(arguments.length===2||d===!1)e=d,d=b;c==="one"?(g=function(a){f(this).unbind(a,g);return e.apply(this,arguments)},g.guid=e.guid||f.guid++):g=e;if(a==="unload"&&c!=="one")this.one(a,d,e);else for(var i=0,j=this.length;i0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d=0,e=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,f,g){f=f||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return f;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(e.call(n)==="[object Array]")if(!u)f.push.apply(f,n);else if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&f.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&f.push(j[t]);else p(n,f);o&&(k(o,h,f,g),k.uniqueSort(f));return f};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=d++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(e.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var f=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

    ";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(e||!l.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return k(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
    ";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g0)for(h=g;h0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(d=0,e=a.length;d-1:f(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=T.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a=="string")return f.inArray(this[0],a?f(a):this.parent().children());return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(V(c[0])||V(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=S.call(arguments);O.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!U[a]?f.unique(e):e,(this.length>1||Q.test(d))&&P.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var X=/ jQuery\d+="(?:\d+|null)"/g,Y=/^\s+/,Z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,$=/<([\w:]+)/,_=/",""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]};bf.optgroup=bf.option,bf.tbody=bf.tfoot=bf.colgroup=bf.caption=bf.thead,bf.th=bf.td,f.support.htmlSerialize||(bf._default=[1,"div
    ","
    "]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(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,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(X,""):null;if(typeof a=="string"&&!bb.test(a)&&(f.support.leadingWhitespace||!Y.test(a))&&!bf[($.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Z,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j -)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bi(a,d),e=bj(a),g=bj(d);for(h=0;e[h];++h)bi(e[h],g[h])}if(b){bh(a,d);if(c){e=bj(a),g=bj(d);for(h=0;e[h];++h)bh(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!ba.test(k))k=b.createTextNode(k);else{k=k.replace(Z,"<$1>");var l=($.exec(k)||["",""])[1].toLowerCase(),m=bf[l]||bf._default,n=m[0],o=b.createElement("div");o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=_.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&Y.test(k)&&o.insertBefore(b.createTextNode(Y.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bo.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle;c.zoom=1;var e=f.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d&&d.filter||c.filter||"";c.filter=bn.test(g)?g.replace(bn,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bx(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(by=function(a,c){var d,e,g;c=c.replace(bp,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bz=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bq.test(d)&&br.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bx=by||bz,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bB=/%20/g,bC=/\[\]$/,bD=/\r?\n/g,bE=/#.*$/,bF=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bG=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bH=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,bI=/^(?:GET|HEAD)$/,bJ=/^\/\//,bK=/\?/,bL=/)<[^<]*)*<\/script>/gi,bM=/^(?:select|textarea)/i,bN=/\s+/,bO=/([?&])_=[^&]*/,bP=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bQ=f.fn.load,bR={},bS={},bT,bU;try{bT=e.href}catch(bV){bT=c.createElement("a"),bT.href="",bT=bT.href}bU=bP.exec(bT.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bQ)return bQ.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
    ").append(c.replace(bL,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bM.test(this.nodeName)||bG.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bD,"\r\n")}}):{name:b.name,value:c.replace(bD,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?f.extend(!0,a,f.ajaxSettings,b):(b=a,a=f.extend(!0,f.ajaxSettings,b));for(var c in{context:1,url:1})c in b?a[c]=b[c]:c in f.ajaxSettings&&(a[c]=f.ajaxSettings[c]);return a},ajaxSettings:{url:bT,isLocal:bH.test(bU[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML}},ajaxPrefilter:bW(bR),ajaxTransport:bW(bS),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a?4:0;var o,r,u,w=l?bZ(d,v,l):b,x,y;if(a>=200&&a<300||a===304){if(d.ifModified){if(x=v.getResponseHeader("Last-Modified"))f.lastModified[k]=x;if(y=v.getResponseHeader("Etag"))f.etag[k]=y}if(a===304)c="notmodified",o=!0;else try{r=b$(d,w),c="success",o=!0}catch(z){c="parsererror",u=z}}else{u=c;if(!c||a)c="error",a<0&&(a=0)}v.status=a,v.statusText=c,o?h.resolveWith(e,[r,c,v]):h.rejectWith(e,[v,c,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.resolveWith(e,[v,c]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f._Deferred(),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bF.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.done,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bE,"").replace(bJ,bU[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bN),d.crossDomain==null&&(r=bP.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bU[1]&&r[2]==bU[2]&&(r[3]||(r[1]==="http:"?80:443))==(bU[3]||(bU[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bX(bR,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bI.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bK.test(d.url)?"&":"?")+d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bO,"$1_="+x);d.url=y+(y===d.url?(bK.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=bX(bS,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){status<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)bY(g,a[g],c,e);return d.join("&").replace(bB,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var b_=f.now(),ca=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+b_++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ca.test(b.url)||e&&ca.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ca,l),b.url===j&&(e&&(k=k.replace(ca,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cb=a.ActiveXObject?function(){for(var a in cd)cd[a](0,1)}:!1,cc=0,cd;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ce()||cf()}:ce,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cb&&delete cd[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cc,cb&&(cd||(cd={},f(a).unload(cb)),cd[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cg={},ch,ci,cj=/^(?:toggle|show|hide)$/,ck=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cl,cm=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cn,co=a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cr("show",3),a,b,c);for(var g=0,h=this.length;g=e.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),e.animatedProperties[this.prop]=!0;for(g in e.animatedProperties)e.animatedProperties[g]!==!0&&(c=!1);if(c){e.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){d.style["overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hide||e.show)for(var i in e.animatedProperties)f.style(d,i,e.orig[i]);e.complete.call(d)}return!1}e.duration==Infinity?this.now=b:(h=b-this.startTime,this.state=h/e.duration,this.pos=f.easing[e.animatedProperties[this.prop]](this.state,h,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){for(var a=f.timers,b=0;b
    ";f.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),d=b.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,this.doesNotAddBorder=e.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,e.style.position="fixed",e.style.top="20px",this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),f.offset.initialize=f.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.offset.initialize(),f.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cu.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cu.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cv(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cv(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a&&a.style?parseFloat(f.css(a,d,"padding")):null},f.fn["outer"+c]=function(a){var b=this[0];return b&&b.style?parseFloat(f.css(b,d,a?"margin":"border")):null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var h=f.css(e,d),i=parseFloat(h);return f.isNaN(i)?h:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window); \ No newline at end of file diff --git a/resources/library/interactivities/associer_sounds.wgt/js/jquery-ui-1.8.9.custom.min.js b/resources/library/interactivities/associer_sounds.wgt/js/jquery-ui-1.8.9.custom.min.js deleted file mode 100644 index 45cc2744..00000000 --- a/resources/library/interactivities/associer_sounds.wgt/js/jquery-ui-1.8.9.custom.min.js +++ /dev/null @@ -1,781 +0,0 @@ -/*! - * jQuery UI 1.8.9 - * - * 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 - */ -(function(c,j){function k(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,"visibility")==="hidden"||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:"1.8.9",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106, -NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a==="number"?this.each(function(){var d=this;setTimeout(function(){c(d).focus();b&&b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this, -"position",1))&&/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css("zIndex",a);if(this.length){a=c(this[0]);for(var b;a.length&&a[0]!==document;){b=a.css("position"); -if(b==="absolute"||b==="relative"||b==="fixed"){b=parseInt(a.css("zIndex"),10);if(!isNaN(b)&&b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});c.each(["Width","Height"],function(a,b){function d(f,g,l,m){c.each(e,function(){g-=parseFloat(c.curCSS(f,"padding"+this,true))||0;if(l)g-=parseFloat(c.curCSS(f, -"border"+this+"Width",true))||0;if(m)g-=parseFloat(c.curCSS(f,"margin"+this,true))||0});return g}var e=b==="Width"?["Left","Right"]:["Top","Bottom"],h=b.toLowerCase(),i={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,outerWidth:c.fn.outerWidth,outerHeight:c.fn.outerHeight};c.fn["inner"+b]=function(f){if(f===j)return i["inner"+b].call(this);return this.each(function(){c(this).css(h,d(this,f)+"px")})};c.fn["outer"+b]=function(f,g){if(typeof f!=="number")return i["outer"+b].call(this,f);return this.each(function(){c(this).css(h, -d(this,f,true,g)+"px")})}});c.extend(c.expr[":"],{data:function(a,b,d){return!!c.data(a,d[3])},focusable:function(a){var b=a.nodeName.toLowerCase(),d=c.attr(a,"tabindex");if("area"===b){b=a.parentNode;d=b.name;if(!a.href||!d||b.nodeName.toLowerCase()!=="map")return false;a=c("img[usemap=#"+d+"]")[0];return!!a&&k(a)}return(/input|select|textarea|button|object/.test(b)?!a.disabled:"a"==b?a.href||!isNaN(d):!isNaN(d))&&k(a)},tabbable:function(a){var b=c.attr(a,"tabindex");return(isNaN(b)||b>=0)&&c(a).is(":focusable")}}); -c(function(){var a=document.body,b=a.appendChild(b=document.createElement("div"));c.extend(b.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});c.support.minHeight=b.offsetHeight===100;c.support.selectstart="onselectstart"in b;a.removeChild(b).style.display="none"});c.extend(c.ui,{plugin:{add:function(a,b,d){a=c.ui[a].prototype;for(var e in d){a.plugins[e]=a.plugins[e]||[];a.plugins[e].push([b,d[e]])}},call:function(a,b,d){if((b=a.plugins[b])&&a.element[0].parentNode)for(var e=0;e0)return true;a[b]=1;d=a[b]>0;a[b]=0;return d},isOverAxis:function(a,b,d){return a>b&&a=9)&&!a.button)return this._mouseUp(a);if(this._mouseStarted){this._mouseDrag(a); -return a.preventDefault()}if(this._mouseDistanceMet(a)&&this._mouseDelayMet(a))(this._mouseStarted=this._mouseStart(this._mouseDownEvent,a)!==false)?this._mouseDrag(a):this._mouseUp(a);return!this._mouseStarted},_mouseUp:function(a){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;a.target==this._mouseDownEvent.target&&c.data(a.target,this.widgetName+".preventClickEvent", -true);this._mouseStop(a)}return false},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return true}})})(jQuery); -;/* - * jQuery UI Position 1.8.9 - * - * 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/Position - */ -(function(c){c.ui=c.ui||{};var n=/left|center|right/,o=/top|center|bottom/,t=c.fn.position,u=c.fn.offset;c.fn.position=function(b){if(!b||!b.of)return t.apply(this,arguments);b=c.extend({},b);var a=c(b.of),d=a[0],g=(b.collision||"flip").split(" "),e=b.offset?b.offset.split(" "):[0,0],h,k,j;if(d.nodeType===9){h=a.width();k=a.height();j={top:0,left:0}}else if(d.setTimeout){h=a.width();k=a.height();j={top:a.scrollTop(),left:a.scrollLeft()}}else if(d.preventDefault){b.at="left top";h=k=0;j={top:b.of.pageY, -left:b.of.pageX}}else{h=a.outerWidth();k=a.outerHeight();j=a.offset()}c.each(["my","at"],function(){var f=(b[this]||"").split(" ");if(f.length===1)f=n.test(f[0])?f.concat(["center"]):o.test(f[0])?["center"].concat(f):["center","center"];f[0]=n.test(f[0])?f[0]:"center";f[1]=o.test(f[1])?f[1]:"center";b[this]=f});if(g.length===1)g[1]=g[0];e[0]=parseInt(e[0],10)||0;if(e.length===1)e[1]=e[0];e[1]=parseInt(e[1],10)||0;if(b.at[0]==="right")j.left+=h;else if(b.at[0]==="center")j.left+=h/2;if(b.at[1]==="bottom")j.top+= -k;else if(b.at[1]==="center")j.top+=k/2;j.left+=e[0];j.top+=e[1];return this.each(function(){var f=c(this),l=f.outerWidth(),m=f.outerHeight(),p=parseInt(c.curCSS(this,"marginLeft",true))||0,q=parseInt(c.curCSS(this,"marginTop",true))||0,v=l+p+(parseInt(c.curCSS(this,"marginRight",true))||0),w=m+q+(parseInt(c.curCSS(this,"marginBottom",true))||0),i=c.extend({},j),r;if(b.my[0]==="right")i.left-=l;else if(b.my[0]==="center")i.left-=l/2;if(b.my[1]==="bottom")i.top-=m;else if(b.my[1]==="center")i.top-= -m/2;i.left=Math.round(i.left);i.top=Math.round(i.top);r={left:i.left-p,top:i.top-q};c.each(["left","top"],function(s,x){c.ui.position[g[s]]&&c.ui.position[g[s]][x](i,{targetWidth:h,targetHeight:k,elemWidth:l,elemHeight:m,collisionPosition:r,collisionWidth:v,collisionHeight:w,offset:e,my:b.my,at:b.at})});c.fn.bgiframe&&f.bgiframe();f.offset(c.extend(i,{using:b.using}))})};c.ui.position={fit:{left:function(b,a){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();b.left= -d>0?b.left-d:Math.max(b.left-a.collisionPosition.left,b.left)},top:function(b,a){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();b.top=d>0?b.top-d:Math.max(b.top-a.collisionPosition.top,b.top)}},flip:{left:function(b,a){if(a.at[0]!=="center"){var d=c(window);d=a.collisionPosition.left+a.collisionWidth-d.width()-d.scrollLeft();var g=a.my[0]==="left"?-a.elemWidth:a.my[0]==="right"?a.elemWidth:0,e=a.at[0]==="left"?a.targetWidth:-a.targetWidth,h=-2*a.offset[0];b.left+= -a.collisionPosition.left<0?g+e+h:d>0?g+e+h:0}},top:function(b,a){if(a.at[1]!=="center"){var d=c(window);d=a.collisionPosition.top+a.collisionHeight-d.height()-d.scrollTop();var g=a.my[1]==="top"?-a.elemHeight:a.my[1]==="bottom"?a.elemHeight:0,e=a.at[1]==="top"?a.targetHeight:-a.targetHeight,h=-2*a.offset[1];b.top+=a.collisionPosition.top<0?g+e+h:d>0?g+e+h:0}}}};if(!c.offset.setOffset){c.offset.setOffset=function(b,a){if(/static/.test(c.curCSS(b,"position")))b.style.position="relative";var d=c(b), -g=d.offset(),e=parseInt(c.curCSS(b,"top",true),10)||0,h=parseInt(c.curCSS(b,"left",true),10)||0;g={top:a.top-g.top+e,left:a.left-g.left+h};"using"in a?a.using.call(b,g):d.css(g)};c.fn.offset=function(b){var a=this[0];if(!a||!a.ownerDocument)return null;if(b)return this.each(function(){c.offset.setOffset(this,b)});return u.call(this)}}})(jQuery); -;/* - * jQuery UI Draggable 1.8.9 - * - * 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/Draggables - * - * Depends: - * jquery.ui.core.js - * jquery.ui.mouse.js - * jquery.ui.widget.js - */ -(function(d){d.widget("ui.draggable",d.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper== -"original"&&!/^(?:r|a|f)/.test(this.element.css("position")))this.element[0].style.position="relative";this.options.addClasses&&this.element.addClass("ui-draggable");this.options.disabled&&this.element.addClass("ui-draggable-disabled");this._mouseInit()},destroy:function(){if(this.element.data("draggable")){this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this}},_mouseCapture:function(a){var b= -this.options;if(this.helper||b.disabled||d(a.target).is(".ui-resizable-handle"))return false;this.handle=this._getHandle(a);if(!this.handle)return false;return true},_mouseStart:function(a){var b=this.options;this.helper=this._createHelper(a);this._cacheHelperProportions();if(d.ui.ddmanager)d.ui.ddmanager.current=this;this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top- -this.margins.top,left:this.offset.left-this.margins.left};d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);b.containment&&this._setContainment();if(this._trigger("start",a)===false){this._clear();return false}this._cacheHelperProportions(); -d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.helper.addClass("ui-draggable-dragging");this._mouseDrag(a,true);return true},_mouseDrag:function(a,b){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute");if(!b){b=this._uiHash();if(this._trigger("drag",a,b)===false){this._mouseUp({});return false}this.position=b.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis|| -this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);return false},_mouseStop:function(a){var b=false;if(d.ui.ddmanager&&!this.options.dropBehaviour)b=d.ui.ddmanager.drop(this,a);if(this.dropped){b=this.dropped;this.dropped=false}if((!this.element[0]||!this.element[0].parentNode)&&this.options.helper=="original")return false;if(this.options.revert=="invalid"&&!b||this.options.revert=="valid"&&b||this.options.revert===true||d.isFunction(this.options.revert)&& -this.options.revert.call(this.element,b)){var c=this;d(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){c._trigger("stop",a)!==false&&c._clear()})}else this._trigger("stop",a)!==false&&this._clear();return false},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear();return this},_getHandle:function(a){var b=!this.options.handle||!d(this.options.handle,this.element).length?true:false;d(this.options.handle,this.element).find("*").andSelf().each(function(){if(this== -a.target)b=true});return b},_createHelper:function(a){var b=this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a])):b.helper=="clone"?this.element.clone():this.element;a.parents("body").length||a.appendTo(b.appendTo=="parent"?this.element[0].parentNode:b.appendTo);a[0]!=this.element[0]&&!/(fixed|absolute)/.test(a.css("position"))&&a.css("position","absolute");return a},_adjustOffsetFromHelper:function(a){if(typeof a=="string")a=a.split(" ");if(d.isArray(a))a={left:+a[0],top:+a[1]|| -0};if("left"in a)this.offset.click.left=a.left+this.margins.left;if("right"in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if("top"in a)this.offset.click.top=a.top+this.margins.top;if("bottom"in a)this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0], -this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&d.browser.msie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:a.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.element.position();return{top:a.top- -(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;if(a.containment== -"parent")a.containment=this.helper[0].parentNode;if(a.containment=="document"||a.containment=="window")this.containment=[(a.containment=="document"?0:d(window).scrollLeft())-this.offset.relative.left-this.offset.parent.left,(a.containment=="document"?0:d(window).scrollTop())-this.offset.relative.top-this.offset.parent.top,(a.containment=="document"?0:d(window).scrollLeft())+d(a.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(a.containment=="document"? -0:d(window).scrollTop())+(d(a.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)&&a.containment.constructor!=Array){var b=d(a.containment)[0];if(b){a=d(a.containment).offset();var c=d(b).css("overflow")!="hidden";this.containment=[a.left+(parseInt(d(b).css("borderLeftWidth"),10)||0)+(parseInt(d(b).css("paddingLeft"),10)||0)-this.margins.left,a.top+(parseInt(d(b).css("borderTopWidth"), -10)||0)+(parseInt(d(b).css("paddingTop"),10)||0)-this.margins.top,a.left+(c?Math.max(b.scrollWidth,b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css("borderLeftWidth"),10)||0)-(parseInt(d(b).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,a.top+(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css("borderTopWidth"),10)||0)-(parseInt(d(b).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}}else if(a.containment.constructor== -Array)this.containment=a.containment},_convertPositionTo:function(a,b){if(!b)b=this.position;a=a=="absolute"?1:-1;var c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName);return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop(): -f?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&&d.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=this.options,c=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,f=/(html|body)/i.test(c[0].tagName),e=a.pageX,g=a.pageY; -if(this.originalPosition){if(this.containment){if(a.pageX-this.offset.click.leftthis.containment[2])e=this.containment[2]+this.offset.click.left;if(a.pageY-this.offset.click.top>this.containment[3])g=this.containment[3]+this.offset.click.top}if(b.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/ -b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.topthis.containment[3])?g:!(g-this.offset.click.topthis.containment[2])?e:!(e-this.offset.click.left
    ').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1E3}).css(d(this).offset()).appendTo("body")})}, -stop:function(){d("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}});d.ui.plugin.add("draggable","opacity",{start:function(a,b){a=d(b.helper);b=d(this).data("draggable").options;if(a.css("opacity"))b._opacity=a.css("opacity");a.css("opacity",b.opacity)},stop:function(a,b){a=d(this).data("draggable").options;a._opacity&&d(b.helper).css("opacity",a._opacity)}});d.ui.plugin.add("draggable","scroll",{start:function(){var a=d(this).data("draggable");if(a.scrollParent[0]!= -document&&a.scrollParent[0].tagName!="HTML")a.overflowOffset=a.scrollParent.offset()},drag:function(a){var b=d(this).data("draggable"),c=b.options,f=false;if(b.scrollParent[0]!=document&&b.scrollParent[0].tagName!="HTML"){if(!c.axis||c.axis!="x")if(b.overflowOffset.top+b.scrollParent[0].offsetHeight-a.pageY=0;h--){var i=c.snapElements[h].left,k=i+c.snapElements[h].width,j=c.snapElements[h].top,l=j+c.snapElements[h].height;if(i-e=j&&f<=l||h>=j&&h<=l||fl)&&(e>= -i&&e<=k||g>=i&&g<=k||ek);default:return false}};d.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(a,b){var c=d.ui.ddmanager.droppables[a.options.scope]||[],e=b?b.type:null,g=(a.currentItem||a.element).find(":data(droppable)").andSelf(),f=0;a:for(;f
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(), -top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle= -this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=a.handles||(!e(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne", -nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all")this.handles="n,e,s,w,se,sw,ne,nw";var c=this.handles.split(",");this.handles={};for(var d=0;d
    ');/sw|se|ne|nw/.test(f)&&g.css({zIndex:++a.zIndex});"se"==f&&g.addClass("ui-icon ui-icon-gripsmall-diagonal-se");this.handles[f]=".ui-resizable-"+f;this.element.append(g)}}this._renderAxis=function(h){h=h||this.element;for(var i in this.handles){if(this.handles[i].constructor== -String)this.handles[i]=e(this.handles[i],this.element).show();if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var j=e(this.handles[i],this.element),k=0;k=/sw|ne|nw|se|n|s/.test(i)?j.outerHeight():j.outerWidth();j=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join("");h.css(j,k);this._proportionallyResize()}e(this.handles[i])}};this._renderAxis(this.element);this._handles=e(".ui-resizable-handle",this.element).disableSelection(); -this._handles.mouseover(function(){if(!b.resizing){if(this.className)var h=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=h&&h[1]?h[1]:"se"}});if(a.autoHide){this._handles.hide();e(this.element).addClass("ui-resizable-autohide").hover(function(){e(this).removeClass("ui-resizable-autohide");b._handles.show()},function(){if(!b.resizing){e(this).addClass("ui-resizable-autohide");b._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var b=function(c){e(c).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()}; -if(this.elementIsWrapper){b(this.element);var a=this.element;a.after(this.originalElement.css({position:a.css("position"),width:a.outerWidth(),height:a.outerHeight(),top:a.css("top"),left:a.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);b(this.originalElement);return this},_mouseCapture:function(b){var a=false;for(var c in this.handles)if(e(this.handles[c])[0]==b.target)a=true;return!this.options.disabled&&a},_mouseStart:function(b){var a=this.options,c=this.element.position(), -d=this.element;this.resizing=true;this.documentScroll={top:e(document).scrollTop(),left:e(document).scrollLeft()};if(d.is(".ui-draggable")||/absolute/.test(d.css("position")))d.css({position:"absolute",top:c.top,left:c.left});e.browser.opera&&/relative/.test(d.css("position"))&&d.css({position:"relative",top:"auto",left:"auto"});this._renderProxy();c=m(this.helper.css("left"));var f=m(this.helper.css("top"));if(a.containment){c+=e(a.containment).scrollLeft()||0;f+=e(a.containment).scrollTop()||0}this.offset= -this.helper.offset();this.position={left:c,top:f};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:c,top:f};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:b.pageX,top:b.pageY};this.aspectRatio=typeof a.aspectRatio=="number"?a.aspectRatio: -this.originalSize.width/this.originalSize.height||1;a=e(".ui-resizable-"+this.axis).css("cursor");e("body").css("cursor",a=="auto"?this.axis+"-resize":a);d.addClass("ui-resizable-resizing");this._propagate("start",b);return true},_mouseDrag:function(b){var a=this.helper,c=this.originalMousePosition,d=this._change[this.axis];if(!d)return false;c=d.apply(this,[b,b.pageX-c.left||0,b.pageY-c.top||0]);if(this._aspectRatio||b.shiftKey)c=this._updateRatio(c,b);c=this._respectSize(c,b);this._propagate("resize", -b);a.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize();this._updateCache(c);this._trigger("resize",b,this.ui());return false},_mouseStop:function(b){this.resizing=false;var a=this.options,c=this;if(this._helper){var d=this._proportionallyResizeElements,f=d.length&&/textarea/i.test(d[0].nodeName);d=f&&e.ui.hasScroll(d[0],"left")?0:c.sizeDiff.height; -f={width:c.size.width-(f?0:c.sizeDiff.width),height:c.size.height-d};d=parseInt(c.element.css("left"),10)+(c.position.left-c.originalPosition.left)||null;var g=parseInt(c.element.css("top"),10)+(c.position.top-c.originalPosition.top)||null;a.animate||this.element.css(e.extend(f,{top:g,left:d}));c.helper.height(c.size.height);c.helper.width(c.size.width);this._helper&&!a.animate&&this._proportionallyResize()}e("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop", -b);this._helper&&this.helper.remove();return false},_updateCache:function(b){this.offset=this.helper.offset();if(l(b.left))this.position.left=b.left;if(l(b.top))this.position.top=b.top;if(l(b.height))this.size.height=b.height;if(l(b.width))this.size.width=b.width},_updateRatio:function(b){var a=this.position,c=this.size,d=this.axis;if(b.height)b.width=c.height*this.aspectRatio;else if(b.width)b.height=c.width/this.aspectRatio;if(d=="sw"){b.left=a.left+(c.width-b.width);b.top=null}if(d=="nw"){b.top= -a.top+(c.height-b.height);b.left=a.left+(c.width-b.width)}return b},_respectSize:function(b){var a=this.options,c=this.axis,d=l(b.width)&&a.maxWidth&&a.maxWidthb.width,h=l(b.height)&&a.minHeight&&a.minHeight>b.height;if(g)b.width=a.minWidth;if(h)b.height=a.minHeight;if(d)b.width=a.maxWidth;if(f)b.height=a.maxHeight;var i=this.originalPosition.left+this.originalSize.width,j=this.position.top+this.size.height, -k=/sw|nw|w/.test(c);c=/nw|ne|n/.test(c);if(g&&k)b.left=i-a.minWidth;if(d&&k)b.left=i-a.maxWidth;if(h&&c)b.top=j-a.minHeight;if(f&&c)b.top=j-a.maxHeight;if((a=!b.width&&!b.height)&&!b.left&&b.top)b.top=null;else if(a&&!b.top&&b.left)b.left=null;return b},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var b=this.helper||this.element,a=0;a
    ');var a=e.browser.msie&&e.browser.version<7,c=a?1:0;a=a?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+a,height:this.element.outerHeight()+a,position:"absolute",left:this.elementOffset.left-c+"px",top:this.elementOffset.top-c+"px",zIndex:++b.zIndex});this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(b,a){return{width:this.originalSize.width+ -a}},w:function(b,a){return{left:this.originalPosition.left+a,width:this.originalSize.width-a}},n:function(b,a,c){return{top:this.originalPosition.top+c,height:this.originalSize.height-c}},s:function(b,a,c){return{height:this.originalSize.height+c}},se:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},sw:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,a,c]))},ne:function(b,a,c){return e.extend(this._change.n.apply(this, -arguments),this._change.e.apply(this,[b,a,c]))},nw:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,a,c]))}},_propagate:function(b,a){e.ui.plugin.call(this,b,[a,this.ui()]);b!="resize"&&this._trigger(b,a,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});e.extend(e.ui.resizable, -{version:"1.8.9"});e.ui.plugin.add("resizable","alsoResize",{start:function(){var b=e(this).data("resizable").options,a=function(c){e(c).each(function(){var d=e(this);d.data("resizable-alsoresize",{width:parseInt(d.width(),10),height:parseInt(d.height(),10),left:parseInt(d.css("left"),10),top:parseInt(d.css("top"),10),position:d.css("position")})})};if(typeof b.alsoResize=="object"&&!b.alsoResize.parentNode)if(b.alsoResize.length){b.alsoResize=b.alsoResize[0];a(b.alsoResize)}else e.each(b.alsoResize, -function(c){a(c)});else a(b.alsoResize)},resize:function(b,a){var c=e(this).data("resizable");b=c.options;var d=c.originalSize,f=c.originalPosition,g={height:c.size.height-d.height||0,width:c.size.width-d.width||0,top:c.position.top-f.top||0,left:c.position.left-f.left||0},h=function(i,j){e(i).each(function(){var k=e(this),q=e(this).data("resizable-alsoresize"),p={},r=j&&j.length?j:k.parents(a.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(r,function(n,o){if((n= -(q[o]||0)+(g[o]||0))&&n>=0)p[o]=n||null});if(e.browser.opera&&/relative/.test(k.css("position"))){c._revertToRelativePosition=true;k.css({position:"absolute",top:"auto",left:"auto"})}k.css(p)})};typeof b.alsoResize=="object"&&!b.alsoResize.nodeType?e.each(b.alsoResize,function(i,j){h(i,j)}):h(b.alsoResize)},stop:function(){var b=e(this).data("resizable"),a=b.options,c=function(d){e(d).each(function(){var f=e(this);f.css({position:f.data("resizable-alsoresize").position})})};if(b._revertToRelativePosition){b._revertToRelativePosition= -false;typeof a.alsoResize=="object"&&!a.alsoResize.nodeType?e.each(a.alsoResize,function(d){c(d)}):c(a.alsoResize)}e(this).removeData("resizable-alsoresize")}});e.ui.plugin.add("resizable","animate",{stop:function(b){var a=e(this).data("resizable"),c=a.options,d=a._proportionallyResizeElements,f=d.length&&/textarea/i.test(d[0].nodeName),g=f&&e.ui.hasScroll(d[0],"left")?0:a.sizeDiff.height;f={width:a.size.width-(f?0:a.sizeDiff.width),height:a.size.height-g};g=parseInt(a.element.css("left"),10)+(a.position.left- -a.originalPosition.left)||null;var h=parseInt(a.element.css("top"),10)+(a.position.top-a.originalPosition.top)||null;a.element.animate(e.extend(f,h&&g?{top:h,left:g}:{}),{duration:c.animateDuration,easing:c.animateEasing,step:function(){var i={width:parseInt(a.element.css("width"),10),height:parseInt(a.element.css("height"),10),top:parseInt(a.element.css("top"),10),left:parseInt(a.element.css("left"),10)};d&&d.length&&e(d[0]).css({width:i.width,height:i.height});a._updateCache(i);a._propagate("resize", -b)}})}});e.ui.plugin.add("resizable","containment",{start:function(){var b=e(this).data("resizable"),a=b.element,c=b.options.containment;if(a=c instanceof e?c.get(0):/parent/.test(c)?a.parent().get(0):c){b.containerElement=e(a);if(/document/.test(c)||c==document){b.containerOffset={left:0,top:0};b.containerPosition={left:0,top:0};b.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}}else{var d=e(a),f=[];e(["Top", -"Right","Left","Bottom"]).each(function(i,j){f[i]=m(d.css("padding"+j))});b.containerOffset=d.offset();b.containerPosition=d.position();b.containerSize={height:d.innerHeight()-f[3],width:d.innerWidth()-f[1]};c=b.containerOffset;var g=b.containerSize.height,h=b.containerSize.width;h=e.ui.hasScroll(a,"left")?a.scrollWidth:h;g=e.ui.hasScroll(a)?a.scrollHeight:g;b.parentData={element:a,left:c.left,top:c.top,width:h,height:g}}}},resize:function(b){var a=e(this).data("resizable"),c=a.options,d=a.containerOffset, -f=a.position;b=a._aspectRatio||b.shiftKey;var g={top:0,left:0},h=a.containerElement;if(h[0]!=document&&/static/.test(h.css("position")))g=d;if(f.left<(a._helper?d.left:0)){a.size.width+=a._helper?a.position.left-d.left:a.position.left-g.left;if(b)a.size.height=a.size.width/c.aspectRatio;a.position.left=c.helper?d.left:0}if(f.top<(a._helper?d.top:0)){a.size.height+=a._helper?a.position.top-d.top:a.position.top;if(b)a.size.width=a.size.height*c.aspectRatio;a.position.top=a._helper?d.top:0}a.offset.left= -a.parentData.left+a.position.left;a.offset.top=a.parentData.top+a.position.top;c=Math.abs((a._helper?a.offset.left-g.left:a.offset.left-g.left)+a.sizeDiff.width);d=Math.abs((a._helper?a.offset.top-g.top:a.offset.top-d.top)+a.sizeDiff.height);f=a.containerElement.get(0)==a.element.parent().get(0);g=/relative|absolute/.test(a.containerElement.css("position"));if(f&&g)c-=a.parentData.left;if(c+a.size.width>=a.parentData.width){a.size.width=a.parentData.width-c;if(b)a.size.height=a.size.width/a.aspectRatio}if(d+ -a.size.height>=a.parentData.height){a.size.height=a.parentData.height-d;if(b)a.size.width=a.size.height*a.aspectRatio}},stop:function(){var b=e(this).data("resizable"),a=b.options,c=b.containerOffset,d=b.containerPosition,f=b.containerElement,g=e(b.helper),h=g.offset(),i=g.outerWidth()-b.sizeDiff.width;g=g.outerHeight()-b.sizeDiff.height;b._helper&&!a.animate&&/relative/.test(f.css("position"))&&e(this).css({left:h.left-d.left-c.left,width:i,height:g});b._helper&&!a.animate&&/static/.test(f.css("position"))&& -e(this).css({left:h.left-d.left-c.left,width:i,height:g})}});e.ui.plugin.add("resizable","ghost",{start:function(){var b=e(this).data("resizable"),a=b.options,c=b.size;b.ghost=b.originalElement.clone();b.ghost.css({opacity:0.25,display:"block",position:"relative",height:c.height,width:c.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof a.ghost=="string"?a.ghost:"");b.ghost.appendTo(b.helper)},resize:function(){var b=e(this).data("resizable");b.ghost&&b.ghost.css({position:"relative", -height:b.size.height,width:b.size.width})},stop:function(){var b=e(this).data("resizable");b.ghost&&b.helper&&b.helper.get(0).removeChild(b.ghost.get(0))}});e.ui.plugin.add("resizable","grid",{resize:function(){var b=e(this).data("resizable"),a=b.options,c=b.size,d=b.originalSize,f=b.originalPosition,g=b.axis;a.grid=typeof a.grid=="number"?[a.grid,a.grid]:a.grid;var h=Math.round((c.width-d.width)/(a.grid[0]||1))*(a.grid[0]||1);a=Math.round((c.height-d.height)/(a.grid[1]||1))*(a.grid[1]||1);if(/^(se|s|e)$/.test(g)){b.size.width= -d.width+h;b.size.height=d.height+a}else if(/^(ne)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}else{if(/^(sw)$/.test(g)){b.size.width=d.width+h;b.size.height=d.height+a}else{b.size.width=d.width+h;b.size.height=d.height+a;b.position.top=f.top-a}b.position.left=f.left-h}}});var m=function(b){return parseInt(b,10)||0},l=function(b){return!isNaN(parseInt(b,10))}})(jQuery); -;/* - * jQuery UI Selectable 1.8.9 - * - * 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/Selectables - * - * Depends: - * jquery.ui.core.js - * jquery.ui.mouse.js - * jquery.ui.widget.js - */ -(function(e){e.widget("ui.selectable",e.ui.mouse,{options:{appendTo:"body",autoRefresh:true,distance:0,filter:"*",tolerance:"touch"},_create:function(){var c=this;this.element.addClass("ui-selectable");this.dragged=false;var f;this.refresh=function(){f=e(c.options.filter,c.element[0]);f.each(function(){var d=e(this),b=d.offset();e.data(this,"selectable-item",{element:this,$element:d,left:b.left,top:b.top,right:b.left+d.outerWidth(),bottom:b.top+d.outerHeight(),startselected:false,selected:d.hasClass("ui-selected"), -selecting:d.hasClass("ui-selecting"),unselecting:d.hasClass("ui-unselecting")})})};this.refresh();this.selectees=f.addClass("ui-selectee");this._mouseInit();this.helper=e("
    ")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable");this._mouseDestroy();return this},_mouseStart:function(c){var f=this;this.opos=[c.pageX, -c.pageY];if(!this.options.disabled){var d=this.options;this.selectees=e(d.filter,this.element[0]);this._trigger("start",c);e(d.appendTo).append(this.helper);this.helper.css({left:c.clientX,top:c.clientY,width:0,height:0});d.autoRefresh&&this.refresh();this.selectees.filter(".ui-selected").each(function(){var b=e.data(this,"selectable-item");b.startselected=true;if(!c.metaKey){b.$element.removeClass("ui-selected");b.selected=false;b.$element.addClass("ui-unselecting");b.unselecting=true;f._trigger("unselecting", -c,{unselecting:b.element})}});e(c.target).parents().andSelf().each(function(){var b=e.data(this,"selectable-item");if(b){var g=!c.metaKey||!b.$element.hasClass("ui-selected");b.$element.removeClass(g?"ui-unselecting":"ui-selected").addClass(g?"ui-selecting":"ui-unselecting");b.unselecting=!g;b.selecting=g;(b.selected=g)?f._trigger("selecting",c,{selecting:b.element}):f._trigger("unselecting",c,{unselecting:b.element});return false}})}},_mouseDrag:function(c){var f=this;this.dragged=true;if(!this.options.disabled){var d= -this.options,b=this.opos[0],g=this.opos[1],h=c.pageX,i=c.pageY;if(b>h){var j=h;h=b;b=j}if(g>i){j=i;i=g;g=j}this.helper.css({left:b,top:g,width:h-b,height:i-g});this.selectees.each(function(){var a=e.data(this,"selectable-item");if(!(!a||a.element==f.element[0])){var k=false;if(d.tolerance=="touch")k=!(a.left>h||a.righti||a.bottomb&&a.rightg&&a.bottom *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1E3},_create:function(){this.containerCache={};this.element.addClass("ui-sortable"); -this.refresh();this.floating=this.items.length?/left|right/.test(this.items[0].item.css("float")):false;this.offset=this.element.offset();this._mouseInit()},destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled").removeData("sortable").unbind(".sortable");this._mouseDestroy();for(var a=this.items.length-1;a>=0;a--)this.items[a].item.removeData("sortable-item");return this},_setOption:function(a,b){if(a==="disabled"){this.options[a]=b;this.widget()[b?"addClass":"removeClass"]("ui-sortable-disabled")}else d.Widget.prototype._setOption.apply(this, -arguments)},_mouseCapture:function(a,b){if(this.reverting)return false;if(this.options.disabled||this.options.type=="static")return false;this._refreshItems(a);var c=null,e=this;d(a.target).parents().each(function(){if(d.data(this,"sortable-item")==e){c=d(this);return false}});if(d.data(a.target,"sortable-item")==e)c=d(a.target);if(!c)return false;if(this.options.handle&&!b){var f=false;d(this.options.handle,c).find("*").andSelf().each(function(){if(this==a.target)f=true});if(!f)return false}this.currentItem= -c;this._removeCurrentsFromItems();return true},_mouseStart:function(a,b,c){b=this.options;var e=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(a);this._cacheHelperProportions();this._cacheMargins();this.scrollParent=this.helper.scrollParent();this.offset=this.currentItem.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};this.helper.css("position","absolute");this.cssPosition=this.helper.css("position");d.extend(this.offset, -{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&&this._adjustOffsetFromHelper(b.cursorAt);this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};this.helper[0]!=this.currentItem[0]&&this.currentItem.hide();this._createPlaceholder();b.containment&&this._setContainment(); -if(b.cursor){if(d("body").css("cursor"))this._storedCursor=d("body").css("cursor");d("body").css("cursor",b.cursor)}if(b.opacity){if(this.helper.css("opacity"))this._storedOpacity=this.helper.css("opacity");this.helper.css("opacity",b.opacity)}if(b.zIndex){if(this.helper.css("zIndex"))this._storedZIndex=this.helper.css("zIndex");this.helper.css("zIndex",b.zIndex)}if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML")this.overflowOffset=this.scrollParent.offset();this._trigger("start", -a,this._uiHash());this._preserveHelperProportions||this._cacheHelperProportions();if(!c)for(c=this.containers.length-1;c>=0;c--)this.containers[c]._trigger("activate",a,e._uiHash(this));if(d.ui.ddmanager)d.ui.ddmanager.current=this;d.ui.ddmanager&&!b.dropBehaviour&&d.ui.ddmanager.prepareOffsets(this,a);this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(a);return true},_mouseDrag:function(a){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo("absolute"); -if(!this.lastPositionAbs)this.lastPositionAbs=this.positionAbs;if(this.options.scroll){var b=this.options,c=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if(this.overflowOffset.top+this.scrollParent[0].offsetHeight-a.pageY=0;b--){c=this.items[b];var e=c.item[0],f=this._intersectsWithPointer(c);if(f)if(e!=this.currentItem[0]&&this.placeholder[f==1?"next":"prev"]()[0]!=e&&!d.ui.contains(this.placeholder[0],e)&&(this.options.type=="semi-dynamic"?!d.ui.contains(this.element[0],e):true)){this.direction=f==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(c))this._rearrange(a, -c);else break;this._trigger("change",a,this._uiHash());break}}this._contactContainers(a);d.ui.ddmanager&&d.ui.ddmanager.drag(this,a);this._trigger("sort",a,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(a,b){if(a){d.ui.ddmanager&&!this.options.dropBehaviour&&d.ui.ddmanager.drop(this,a);if(this.options.revert){var c=this;b=c.placeholder.offset();c.reverting=true;d(this.helper).animate({left:b.left-this.offset.parent.left-c.margins.left+(this.offsetParent[0]== -document.body?0:this.offsetParent[0].scrollLeft),top:b.top-this.offset.parent.top-c.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){c._clear(a)})}else this._clear(a,b);return false}},cancel:function(){var a=this;if(this.dragging){this._mouseUp({target:null});this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var b=this.containers.length- -1;b>=0;b--){this.containers[b]._trigger("deactivate",null,a._uiHash(this));if(this.containers[b].containerCache.over){this.containers[b]._trigger("out",null,a._uiHash(this));this.containers[b].containerCache.over=0}}}if(this.placeholder){this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove();d.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null}); -this.domPosition.prev?d(this.domPosition.prev).after(this.currentItem):d(this.domPosition.parent).prepend(this.currentItem)}return this},serialize:function(a){var b=this._getItemsAsjQuery(a&&a.connected),c=[];a=a||{};d(b).each(function(){var e=(d(a.item||this).attr(a.attribute||"id")||"").match(a.expression||/(.+)[-=_](.+)/);if(e)c.push((a.key||e[1]+"[]")+"="+(a.key&&a.expression?e[1]:e[2]))});!c.length&&a.key&&c.push(a.key+"=");return c.join("&")},toArray:function(a){var b=this._getItemsAsjQuery(a&& -a.connected),c=[];a=a||{};b.each(function(){c.push(d(a.item||this).attr(a.attribute||"id")||"")});return c},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,e=this.positionAbs.top,f=e+this.helperProportions.height,g=a.left,h=g+a.width,i=a.top,k=i+a.height,j=this.offset.click.top,l=this.offset.click.left;j=e+j>i&&e+jg&&b+la[this.floating?"width":"height"]?j:g0?"down":"up")},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return a!=0&&(a>0?"right":"left")},refresh:function(a){this._refreshItems(a);this.refreshPositions();return this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(a){var b=[],c=[],e=this._connectWith();if(e&&a)for(a=e.length-1;a>=0;a--)for(var f=d(e[a]),g=f.length-1;g>=0;g--){var h= -d.data(f[g],"sortable");if(h&&h!=this&&!h.options.disabled)c.push([d.isFunction(h.options.items)?h.options.items.call(h.element):d(h.options.items,h.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),h])}c.push([d.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):d(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(a=c.length-1;a>=0;a--)c[a][0].each(function(){b.push(this)}); -return d(b)},_removeCurrentsFromItems:function(){for(var a=this.currentItem.find(":data(sortable-item)"),b=0;b=0;f--)for(var g= -d(e[f]),h=g.length-1;h>=0;h--){var i=d.data(g[h],"sortable");if(i&&i!=this&&!i.options.disabled){c.push([d.isFunction(i.options.items)?i.options.items.call(i.element[0],a,{item:this.currentItem}):d(i.options.items,i.element),i]);this.containers.push(i)}}for(f=c.length-1;f>=0;f--){a=c[f][1];e=c[f][0];h=0;for(g=e.length;h=0;b--){var c=this.items[b],e=this.options.toleranceElement?d(this.options.toleranceElement,c.item):c.item;if(!a){c.width=e.outerWidth();c.height=e.outerHeight()}e=e.offset();c.left=e.left;c.top=e.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(b=this.containers.length-1;b>=0;b--){e=this.containers[b].element.offset();this.containers[b].containerCache.left=e.left;this.containers[b].containerCache.top= -e.top;this.containers[b].containerCache.width=this.containers[b].element.outerWidth();this.containers[b].containerCache.height=this.containers[b].element.outerHeight()}return this},_createPlaceholder:function(a){var b=a||this,c=b.options;if(!c.placeholder||c.placeholder.constructor==String){var e=c.placeholder;c.placeholder={element:function(){var f=d(document.createElement(b.currentItem[0].nodeName)).addClass(e||b.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0]; -if(!e)f.style.visibility="hidden";return f},update:function(f,g){if(!(e&&!c.forcePlaceholderSize)){g.height()||g.height(b.currentItem.innerHeight()-parseInt(b.currentItem.css("paddingTop")||0,10)-parseInt(b.currentItem.css("paddingBottom")||0,10));g.width()||g.width(b.currentItem.innerWidth()-parseInt(b.currentItem.css("paddingLeft")||0,10)-parseInt(b.currentItem.css("paddingRight")||0,10))}}}}b.placeholder=d(c.placeholder.element.call(b.element,b.currentItem));b.currentItem.after(b.placeholder); -c.placeholder.update(b,b.placeholder)},_contactContainers:function(a){for(var b=null,c=null,e=this.containers.length-1;e>=0;e--)if(!d.ui.contains(this.currentItem[0],this.containers[e].element[0]))if(this._intersectsWith(this.containers[e].containerCache)){if(!(b&&d.ui.contains(this.containers[e].element[0],b.element[0]))){b=this.containers[e];c=e}}else if(this.containers[e].containerCache.over){this.containers[e]._trigger("out",a,this._uiHash(this));this.containers[e].containerCache.over=0}if(b)if(this.containers.length=== -1){this.containers[c]._trigger("over",a,this._uiHash(this));this.containers[c].containerCache.over=1}else if(this.currentContainer!=this.containers[c]){b=1E4;e=null;for(var f=this.positionAbs[this.containers[c].floating?"left":"top"],g=this.items.length-1;g>=0;g--)if(d.ui.contains(this.containers[c].element[0],this.items[g].item[0])){var h=this.items[g][this.containers[c].floating?"left":"top"];if(Math.abs(h-f)this.containment[2])f=this.containment[2]+this.offset.click.left;if(a.pageY-this.offset.click.top>this.containment[3])g=this.containment[3]+this.offset.click.top}if(b.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.top< -this.containment[1]||g-this.offset.click.top>this.containment[3])?g:!(g-this.offset.click.topthis.containment[2])?f:!(f-this.offset.click.left=0;e--)if(d.ui.contains(this.containers[e].element[0], -this.currentItem[0])&&!b){c.push(function(f){return function(g){f._trigger("receive",g,this._uiHash(this))}}.call(this,this.containers[e]));c.push(function(f){return function(g){f._trigger("update",g,this._uiHash(this))}}.call(this,this.containers[e]))}}for(e=this.containers.length-1;e>=0;e--){b||c.push(function(f){return function(g){f._trigger("deactivate",g,this._uiHash(this))}}.call(this,this.containers[e]));if(this.containers[e].containerCache.over){c.push(function(f){return function(g){f._trigger("out", -g,this._uiHash(this))}}.call(this,this.containers[e]));this.containers[e].containerCache.over=0}}this._storedCursor&&d("body").css("cursor",this._storedCursor);this._storedOpacity&&this.helper.css("opacity",this._storedOpacity);if(this._storedZIndex)this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex);this.dragging=false;if(this.cancelHelperRemoval){if(!b){this._trigger("beforeStop",a,this._uiHash());for(e=0;e li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var a=this,b=a.options;a.running=0;a.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix"); -a.headers=a.element.find(b.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){b.disabled||c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){b.disabled||c(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){b.disabled||c(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){b.disabled||c(this).removeClass("ui-state-focus")});a.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"); -if(b.navigation){var d=a.element.find("a").filter(b.navigationFilter).eq(0);if(d.length){var h=d.closest(".ui-accordion-header");a.active=h.length?h:d.closest(".ui-accordion-content").prev()}}a.active=a._findActive(a.active||b.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");a.active.next().addClass("ui-accordion-content-active");a._createIcons();a.resize();a.element.attr("role","tablist");a.headers.attr("role","tab").bind("keydown.accordion", -function(f){return a._keydown(f)}).next().attr("role","tabpanel");a.headers.not(a.active||"").attr({"aria-expanded":"false",tabIndex:-1}).next().hide();a.active.length?a.active.attr({"aria-expanded":"true",tabIndex:0}):a.headers.eq(0).attr("tabIndex",0);c.browser.safari||a.headers.find("a").attr("tabIndex",-1);b.event&&a.headers.bind(b.event.split(" ").join(".accordion ")+".accordion",function(f){a._clickHandler.call(a,f,this);f.preventDefault()})},_createIcons:function(){var a=this.options;if(a.icons){c("").addClass("ui-icon "+ -a.icons.header).prependTo(this.headers);this.active.children(".ui-icon").toggleClass(a.icons.header).toggleClass(a.icons.headerSelected);this.element.addClass("ui-accordion-icons")}},_destroyIcons:function(){this.headers.children(".ui-icon").remove();this.element.removeClass("ui-accordion-icons")},destroy:function(){var a=this.options;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("tabIndex"); -this.headers.find("a").removeAttr("tabIndex");this._destroyIcons();var b=this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled");if(a.autoHeight||a.fillHeight)b.css("height","");return c.Widget.prototype.destroy.call(this)},_setOption:function(a,b){c.Widget.prototype._setOption.apply(this,arguments);a=="active"&&this.activate(b);if(a=="icons"){this._destroyIcons(); -b&&this._createIcons()}if(a=="disabled")this.headers.add(this.headers.next())[b?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")},_keydown:function(a){if(!(this.options.disabled||a.altKey||a.ctrlKey)){var b=c.ui.keyCode,d=this.headers.length,h=this.headers.index(a.target),f=false;switch(a.keyCode){case b.RIGHT:case b.DOWN:f=this.headers[(h+1)%d];break;case b.LEFT:case b.UP:f=this.headers[(h-1+d)%d];break;case b.SPACE:case b.ENTER:this._clickHandler({target:a.target},a.target); -a.preventDefault()}if(f){c(a.target).attr("tabIndex",-1);c(f).attr("tabIndex",0);f.focus();return false}return true}},resize:function(){var a=this.options,b;if(a.fillSpace){if(c.browser.msie){var d=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}b=this.element.parent().height();c.browser.msie&&this.element.parent().css("overflow",d);this.headers.each(function(){b-=c(this).outerHeight(true)});this.headers.next().each(function(){c(this).height(Math.max(0,b-c(this).innerHeight()+ -c(this).height()))}).css("overflow","auto")}else if(a.autoHeight){b=0;this.headers.next().each(function(){b=Math.max(b,c(this).height("").height())}).height(b)}return this},activate:function(a){this.options.active=a;a=this._findActive(a)[0];this._clickHandler({target:a},a);return this},_findActive:function(a){return a?typeof a==="number"?this.headers.filter(":eq("+a+")"):this.headers.not(this.headers.not(a)):a===false?c([]):this.headers.filter(":eq(0)")},_clickHandler:function(a,b){var d=this.options; -if(!d.disabled)if(a.target){a=c(a.currentTarget||b);b=a[0]===this.active[0];d.active=d.collapsible&&b?false:this.headers.index(a);if(!(this.running||!d.collapsible&&b)){var h=this.active;j=a.next();g=this.active.next();e={options:d,newHeader:b&&d.collapsible?c([]):a,oldHeader:this.active,newContent:b&&d.collapsible?c([]):j,oldContent:g};var f=this.headers.index(this.active[0])>this.headers.index(a[0]);this.active=b?c([]):a;this._toggle(j,g,e,b,f);h.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header); -if(!b){a.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(d.icons.header).addClass(d.icons.headerSelected);a.next().addClass("ui-accordion-content-active")}}}else if(d.collapsible){this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(d.icons.headerSelected).addClass(d.icons.header);this.active.next().addClass("ui-accordion-content-active");var g=this.active.next(), -e={options:d,newHeader:c([]),oldHeader:d.active,newContent:c([]),oldContent:g},j=this.active=c([]);this._toggle(j,g,e)}},_toggle:function(a,b,d,h,f){var g=this,e=g.options;g.toShow=a;g.toHide=b;g.data=d;var j=function(){if(g)return g._completed.apply(g,arguments)};g._trigger("changestart",null,g.data);g.running=b.size()===0?a.size():b.size();if(e.animated){d={};d=e.collapsible&&h?{toShow:c([]),toHide:b,complete:j,down:f,autoHeight:e.autoHeight||e.fillSpace}:{toShow:a,toHide:b,complete:j,down:f,autoHeight:e.autoHeight|| -e.fillSpace};if(!e.proxied)e.proxied=e.animated;if(!e.proxiedDuration)e.proxiedDuration=e.duration;e.animated=c.isFunction(e.proxied)?e.proxied(d):e.proxied;e.duration=c.isFunction(e.proxiedDuration)?e.proxiedDuration(d):e.proxiedDuration;h=c.ui.accordion.animations;var i=e.duration,k=e.animated;if(k&&!h[k]&&!c.easing[k])k="slide";h[k]||(h[k]=function(l){this.slide(l,{easing:k,duration:i||700})});h[k](d)}else{if(e.collapsible&&h)a.toggle();else{b.hide();a.show()}j(true)}b.prev().attr({"aria-expanded":"false", -tabIndex:-1}).blur();a.prev().attr({"aria-expanded":"true",tabIndex:0}).focus()},_completed:function(a){this.running=a?0:--this.running;if(!this.running){this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""});this.toHide.removeClass("ui-accordion-content-active");if(this.toHide.length)this.toHide.parent()[0].className=this.toHide.parent()[0].className;this._trigger("change",null,this.data)}}});c.extend(c.ui.accordion,{version:"1.8.9",animations:{slide:function(a,b){a= -c.extend({easing:"swing",duration:300},a,b);if(a.toHide.size())if(a.toShow.size()){var d=a.toShow.css("overflow"),h=0,f={},g={},e;b=a.toShow;e=b[0].style.width;b.width(parseInt(b.parent().width(),10)-parseInt(b.css("paddingLeft"),10)-parseInt(b.css("paddingRight"),10)-(parseInt(b.css("borderLeftWidth"),10)||0)-(parseInt(b.css("borderRightWidth"),10)||0));c.each(["height","paddingTop","paddingBottom"],function(j,i){g[i]="hide";j=(""+c.css(a.toShow[0],i)).match(/^([\d+-.]+)(.*)$/);f[i]={value:j[1], -unit:j[2]||"px"}});a.toShow.css({height:0,overflow:"hidden"}).show();a.toHide.filter(":hidden").each(a.complete).end().filter(":visible").animate(g,{step:function(j,i){if(i.prop=="height")h=i.end-i.start===0?0:(i.now-i.start)/(i.end-i.start);a.toShow[0].style[i.prop]=h*f[i.prop].value+f[i.prop].unit},duration:a.duration,easing:a.easing,complete:function(){a.autoHeight||a.toShow.css("height","");a.toShow.css({width:e,overflow:d});a.complete()}})}else a.toHide.animate({height:"hide",paddingTop:"hide", -paddingBottom:"hide"},a);else a.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},a)},bounceslide:function(a){this.slide(a,{easing:a.down?"easeOutBounce":"swing",duration:a.down?1E3:200})}}})})(jQuery); -;/* - * jQuery UI Autocomplete 1.8.9 - * - * 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/Autocomplete - * - * Depends: - * jquery.ui.core.js - * jquery.ui.widget.js - * jquery.ui.position.js - */ -(function(d){d.widget("ui.autocomplete",{options:{appendTo:"body",delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var a=this,b=this.element[0].ownerDocument,f;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(c){if(!(a.options.disabled||a.element.attr("readonly"))){f=false;var e=d.ui.keyCode; -switch(c.keyCode){case e.PAGE_UP:a._move("previousPage",c);break;case e.PAGE_DOWN:a._move("nextPage",c);break;case e.UP:a._move("previous",c);c.preventDefault();break;case e.DOWN:a._move("next",c);c.preventDefault();break;case e.ENTER:case e.NUMPAD_ENTER:if(a.menu.active){f=true;c.preventDefault()}case e.TAB:if(!a.menu.active)return;a.menu.select(c);break;case e.ESCAPE:a.element.val(a.term);a.close(c);break;default:clearTimeout(a.searching);a.searching=setTimeout(function(){if(a.term!=a.element.val()){a.selectedItem= -null;a.search(null,c)}},a.options.delay);break}}}).bind("keypress.autocomplete",function(c){if(f){f=false;c.preventDefault()}}).bind("focus.autocomplete",function(){if(!a.options.disabled){a.selectedItem=null;a.previous=a.element.val()}}).bind("blur.autocomplete",function(c){if(!a.options.disabled){clearTimeout(a.searching);a.closing=setTimeout(function(){a.close(c);a._change(c)},150)}});this._initSource();this.response=function(){return a._response.apply(a,arguments)};this.menu=d("
      ").addClass("ui-autocomplete").appendTo(d(this.options.appendTo|| -"body",b)[0]).mousedown(function(c){var e=a.menu.element[0];d(c.target).closest(".ui-menu-item").length||setTimeout(function(){d(document).one("mousedown",function(g){g.target!==a.element[0]&&g.target!==e&&!d.ui.contains(e,g.target)&&a.close()})},1);setTimeout(function(){clearTimeout(a.closing)},13)}).menu({focus:function(c,e){e=e.item.data("item.autocomplete");false!==a._trigger("focus",c,{item:e})&&/^key/.test(c.originalEvent.type)&&a.element.val(e.value)},selected:function(c,e){var g=e.item.data("item.autocomplete"), -h=a.previous;if(a.element[0]!==b.activeElement){a.element.focus();a.previous=h;setTimeout(function(){a.previous=h;a.selectedItem=g},1)}false!==a._trigger("select",c,{item:g})&&a.element.val(g.value);a.term=a.element.val();a.close(c);a.selectedItem=g},blur:function(){a.menu.element.is(":visible")&&a.element.val()!==a.term&&a.element.val(a.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");d.fn.bgiframe&&this.menu.element.bgiframe()},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup"); -this.menu.element.remove();d.Widget.prototype.destroy.call(this)},_setOption:function(a,b){d.Widget.prototype._setOption.apply(this,arguments);a==="source"&&this._initSource();if(a==="appendTo")this.menu.element.appendTo(d(b||"body",this.element[0].ownerDocument)[0]);a==="disabled"&&b&&this.xhr&&this.xhr.abort()},_initSource:function(){var a=this,b,f;if(d.isArray(this.options.source)){b=this.options.source;this.source=function(c,e){e(d.ui.autocomplete.filter(b,c.term))}}else if(typeof this.options.source=== -"string"){f=this.options.source;this.source=function(c,e){a.xhr&&a.xhr.abort();a.xhr=d.ajax({url:f,data:c,dataType:"json",success:function(g,h,i){i===a.xhr&&e(g);a.xhr=null},error:function(g){g===a.xhr&&e([]);a.xhr=null}})}}else this.source=this.options.source},search:function(a,b){a=a!=null?a:this.element.val();this.term=this.element.val();if(a.length").data("item.autocomplete",b).append(d("").text(b.label)).appendTo(a)},_move:function(a,b){if(this.menu.element.is(":visible"))if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term);this.menu.deactivate()}else this.menu[a](b); -else this.search(null,b)},widget:function(){return this.menu.element}});d.extend(d.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(a,b){var f=new RegExp(d.ui.autocomplete.escapeRegex(b),"i");return d.grep(a,function(c){return f.test(c.label||c.value||c)})}})})(jQuery); -(function(d){d.widget("ui.menu",{_create:function(){var a=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(b){if(d(b.target).closest(".ui-menu-item a").length){b.preventDefault();a.select(b)}});this.refresh()},refresh:function(){var a=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex", --1).mouseenter(function(b){a.activate(b,d(this).parent())}).mouseleave(function(){a.deactivate()})},activate:function(a,b){this.deactivate();if(this.hasScroll()){var f=b.offset().top-this.element.offset().top,c=this.element.attr("scrollTop"),e=this.element.height();if(f<0)this.element.attr("scrollTop",c+f);else f>=e&&this.element.attr("scrollTop",c+f-e+b.height())}this.active=b.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",a,{item:b})}, -deactivate:function(){if(this.active){this.active.children("a").removeClass("ui-state-hover").removeAttr("id");this._trigger("blur");this.active=null}},next:function(a){this.move("next",".ui-menu-item:first",a)},previous:function(a){this.move("prev",".ui-menu-item:last",a)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(a,b,f){if(this.active){a=this.active[a+"All"](".ui-menu-item").eq(0); -a.length?this.activate(f,a):this.activate(f,this.element.children(b))}else this.activate(f,this.element.children(b))},nextPage:function(a){if(this.hasScroll())if(!this.active||this.last())this.activate(a,this.element.children(".ui-menu-item:first"));else{var b=this.active.offset().top,f=this.element.height(),c=this.element.children(".ui-menu-item").filter(function(){var e=d(this).offset().top-b-f+d(this).height();return e<10&&e>-10});c.length||(c=this.element.children(".ui-menu-item:last"));this.activate(a, -c)}else this.activate(a,this.element.children(".ui-menu-item").filter(!this.active||this.last()?":first":":last"))},previousPage:function(a){if(this.hasScroll())if(!this.active||this.first())this.activate(a,this.element.children(".ui-menu-item:last"));else{var b=this.active.offset().top,f=this.element.height();result=this.element.children(".ui-menu-item").filter(function(){var c=d(this).offset().top-b+f-d(this).height();return c<10&&c>-10});result.length||(result=this.element.children(".ui-menu-item:first")); -this.activate(a,result)}else this.activate(a,this.element.children(".ui-menu-item").filter(!this.active||this.first()?":last":":first"))},hasScroll:function(){return this.element.height()").addClass("ui-button-text").html(this.options.label).appendTo(b.empty()).text(),d=this.options.icons,e=d.primary&&d.secondary;if(d.primary||d.secondary){b.addClass("ui-button-text-icon"+(e?"s":d.primary?"-primary":"-secondary"));d.primary&&b.prepend("");d.secondary&&b.append("");if(!this.options.text){b.addClass(e?"ui-button-icons-only":"ui-button-icon-only").removeClass("ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary"); -this.hasTitle||b.attr("title",c)}}else b.addClass("ui-button-text-only")}}});a.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(b,c){b==="disabled"&&this.buttons.button("option",b,c);a.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass("ui-corner-left").end().filter(":last").addClass("ui-corner-right").end().end()}, -destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return a(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");a.Widget.prototype.destroy.call(this)}})})(jQuery); -;/* - * jQuery UI Dialog 1.8.9 - * - * 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/Dialog - * - * Depends: - * jquery.ui.core.js - * jquery.ui.widget.js - * jquery.ui.button.js - * jquery.ui.draggable.js - * jquery.ui.mouse.js - * jquery.ui.position.js - * jquery.ui.resizable.js - */ -(function(c,j){var k={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},l={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true};c.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:{my:"center",at:"center",collision:"fit",using:function(a){var b=c(this).css(a).offset().top;b<0&& -c(this).css("top",a.top-b)}},resizable:true,show:null,stack:true,title:"",width:300,zIndex:1E3},_create:function(){this.originalTitle=this.element.attr("title");if(typeof this.originalTitle!=="string")this.originalTitle="";this.options.title=this.options.title||this.originalTitle;var a=this,b=a.options,d=b.title||" ",e=c.ui.dialog.getTitleId(a.element),g=(a.uiDialog=c("
      ")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+b.dialogClass).css({zIndex:b.zIndex}).attr("tabIndex", --1).css("outline",0).keydown(function(i){if(b.closeOnEscape&&i.keyCode&&i.keyCode===c.ui.keyCode.ESCAPE){a.close(i);i.preventDefault()}}).attr({role:"dialog","aria-labelledby":e}).mousedown(function(i){a.moveToTop(false,i)});a.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(g);var f=(a.uiDialogTitlebar=c("
      ")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(g),h=c('').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role", -"button").hover(function(){h.addClass("ui-state-hover")},function(){h.removeClass("ui-state-hover")}).focus(function(){h.addClass("ui-state-focus")}).blur(function(){h.removeClass("ui-state-focus")}).click(function(i){a.close(i);return false}).appendTo(f);(a.uiDialogTitlebarCloseText=c("")).addClass("ui-icon ui-icon-closethick").text(b.closeText).appendTo(h);c("").addClass("ui-dialog-title").attr("id",e).html(d).prependTo(f);if(c.isFunction(b.beforeclose)&&!c.isFunction(b.beforeClose))b.beforeClose= -b.beforeclose;f.find("*").add(f).disableSelection();b.draggable&&c.fn.draggable&&a._makeDraggable();b.resizable&&c.fn.resizable&&a._makeResizable();a._createButtons(b.buttons);a._isOpen=false;c.fn.bgiframe&&g.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var a=this;a.overlay&&a.overlay.destroy();a.uiDialog.hide();a.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");a.uiDialog.remove();a.originalTitle&& -a.element.attr("title",a.originalTitle);return a},widget:function(){return this.uiDialog},close:function(a){var b=this,d,e;if(false!==b._trigger("beforeClose",a)){b.overlay&&b.overlay.destroy();b.uiDialog.unbind("keypress.ui-dialog");b._isOpen=false;if(b.options.hide)b.uiDialog.hide(b.options.hide,function(){b._trigger("close",a)});else{b.uiDialog.hide();b._trigger("close",a)}c.ui.dialog.overlay.resize();if(b.options.modal){d=0;c(".ui-dialog").each(function(){if(this!==b.uiDialog[0]){e=c(this).css("z-index"); -isNaN(e)||(d=Math.max(d,e))}});c.ui.dialog.maxZ=d}return b}},isOpen:function(){return this._isOpen},moveToTop:function(a,b){var d=this,e=d.options;if(e.modal&&!a||!e.stack&&!e.modal)return d._trigger("focus",b);if(e.zIndex>c.ui.dialog.maxZ)c.ui.dialog.maxZ=e.zIndex;if(d.overlay){c.ui.dialog.maxZ+=1;d.overlay.$el.css("z-index",c.ui.dialog.overlay.maxZ=c.ui.dialog.maxZ)}a={scrollTop:d.element.attr("scrollTop"),scrollLeft:d.element.attr("scrollLeft")};c.ui.dialog.maxZ+=1;d.uiDialog.css("z-index",c.ui.dialog.maxZ); -d.element.attr(a);d._trigger("focus",b);return d},open:function(){if(!this._isOpen){var a=this,b=a.options,d=a.uiDialog;a.overlay=b.modal?new c.ui.dialog.overlay(a):null;a._size();a._position(b.position);d.show(b.show);a.moveToTop(true);b.modal&&d.bind("keypress.ui-dialog",function(e){if(e.keyCode===c.ui.keyCode.TAB){var g=c(":tabbable",this),f=g.filter(":first");g=g.filter(":last");if(e.target===g[0]&&!e.shiftKey){f.focus(1);return false}else if(e.target===f[0]&&e.shiftKey){g.focus(1);return false}}}); -c(a.element.find(":tabbable").get().concat(d.find(".ui-dialog-buttonpane :tabbable").get().concat(d.get()))).eq(0).focus();a._isOpen=true;a._trigger("open");return a}},_createButtons:function(a){var b=this,d=false,e=c("
      ").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),g=c("
      ").addClass("ui-dialog-buttonset").appendTo(e);b.uiDialog.find(".ui-dialog-buttonpane").remove();typeof a==="object"&&a!==null&&c.each(a,function(){return!(d=true)});if(d){c.each(a,function(f, -h){h=c.isFunction(h)?{click:h,text:f}:h;f=c('').attr(h,true).unbind("click").click(function(){h.click.apply(b.element[0],arguments)}).appendTo(g);c.fn.button&&f.button()});e.appendTo(b.uiDialog)}},_makeDraggable:function(){function a(f){return{position:f.position,offset:f.offset}}var b=this,d=b.options,e=c(document),g;b.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(f,h){g= -d.height==="auto"?"auto":c(this).height();c(this).height(c(this).height()).addClass("ui-dialog-dragging");b._trigger("dragStart",f,a(h))},drag:function(f,h){b._trigger("drag",f,a(h))},stop:function(f,h){d.position=[h.position.left-e.scrollLeft(),h.position.top-e.scrollTop()];c(this).removeClass("ui-dialog-dragging").height(g);b._trigger("dragStop",f,a(h));c.ui.dialog.overlay.resize()}})},_makeResizable:function(a){function b(f){return{originalPosition:f.originalPosition,originalSize:f.originalSize, -position:f.position,size:f.size}}a=a===j?this.options.resizable:a;var d=this,e=d.options,g=d.uiDialog.css("position");a=typeof a==="string"?a:"n,e,s,w,se,sw,ne,nw";d.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:d.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:d._minHeight(),handles:a,start:function(f,h){c(this).addClass("ui-dialog-resizing");d._trigger("resizeStart",f,b(h))},resize:function(f,h){d._trigger("resize",f,b(h))},stop:function(f, -h){c(this).removeClass("ui-dialog-resizing");e.height=c(this).height();e.width=c(this).width();d._trigger("resizeStop",f,b(h));c.ui.dialog.overlay.resize()}}).css("position",g).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var a=this.options;return a.height==="auto"?a.minHeight:Math.min(a.minHeight,a.height)},_position:function(a){var b=[],d=[0,0],e;if(a){if(typeof a==="string"||typeof a==="object"&&"0"in a){b=a.split?a.split(" "):[a[0],a[1]];if(b.length=== -1)b[1]=b[0];c.each(["left","top"],function(g,f){if(+b[g]===b[g]){d[g]=b[g];b[g]=f}});a={my:b.join(" "),at:b.join(" "),offset:d.join(" ")}}a=c.extend({},c.ui.dialog.prototype.options.position,a)}else a=c.ui.dialog.prototype.options.position;(e=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position(c.extend({of:window},a));e||this.uiDialog.hide()},_setOptions:function(a){var b=this,d={},e=false;c.each(a,function(g,f){b._setOption(g,f);if(g in k)e=true;if(g in -l)d[g]=f});e&&this._size();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",d)},_setOption:function(a,b){var d=this,e=d.uiDialog;switch(a){case "beforeclose":a="beforeClose";break;case "buttons":d._createButtons(b);break;case "closeText":d.uiDialogTitlebarCloseText.text(""+b);break;case "dialogClass":e.removeClass(d.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+b);break;case "disabled":b?e.addClass("ui-dialog-disabled"):e.removeClass("ui-dialog-disabled"); -break;case "draggable":var g=e.is(":data(draggable)");g&&!b&&e.draggable("destroy");!g&&b&&d._makeDraggable();break;case "position":d._position(b);break;case "resizable":(g=e.is(":data(resizable)"))&&!b&&e.resizable("destroy");g&&typeof b==="string"&&e.resizable("option","handles",b);!g&&b!==false&&d._makeResizable(b);break;case "title":c(".ui-dialog-title",d.uiDialogTitlebar).html(""+(b||" "));break}c.Widget.prototype._setOption.apply(d,arguments)},_size:function(){var a=this.options,b,d,e= -this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});if(a.minWidth>a.width)a.width=a.minWidth;b=this.uiDialog.css({height:"auto",width:a.width}).height();d=Math.max(0,a.minHeight-b);if(a.height==="auto")if(c.support.minHeight)this.element.css({minHeight:d,height:"auto"});else{this.uiDialog.show();a=this.element.css("height","auto").height();e||this.uiDialog.hide();this.element.height(Math.max(a,d))}else this.element.height(Math.max(a.height-b,0));this.uiDialog.is(":data(resizable)")&& -this.uiDialog.resizable("option","minHeight",this._minHeight())}});c.extend(c.ui.dialog,{version:"1.8.9",uuid:0,maxZ:0,getTitleId:function(a){a=a.attr("id");if(!a){this.uuid+=1;a=this.uuid}return"ui-dialog-title-"+a},overlay:function(a){this.$el=c.ui.dialog.overlay.create(a)}});c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(a){return a+".dialog-overlay"}).join(" "),create:function(a){if(this.instances.length=== -0){setTimeout(function(){c.ui.dialog.overlay.instances.length&&c(document).bind(c.ui.dialog.overlay.events,function(d){if(c(d.target).zIndex()
      ").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(), -height:this.height()});c.fn.bgiframe&&b.bgiframe();this.instances.push(b);return b},destroy:function(a){var b=c.inArray(a,this.instances);b!=-1&&this.oldInstances.push(this.instances.splice(b,1)[0]);this.instances.length===0&&c([document,window]).unbind(".dialog-overlay");a.remove();var d=0;c.each(this.instances,function(){d=Math.max(d,this.css("z-index"))});this.maxZ=d},height:function(){var a,b;if(c.browser.msie&&c.browser.version<7){a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight); -b=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return a
      ");if(!a.values)a.values=[this._valueMin(),this._valueMin()];if(a.values.length&&a.values.length!==2)a.values=[a.values[0],a.values[0]]}else this.range=d("
      ");this.range.appendTo(this.element).addClass("ui-slider-range");if(a.range==="min"||a.range==="max")this.range.addClass("ui-slider-range-"+a.range);this.range.addClass("ui-widget-header")}d(".ui-slider-handle",this.element).length===0&&d("").appendTo(this.element).addClass("ui-slider-handle"); -if(a.values&&a.values.length)for(;d(".ui-slider-handle",this.element).length").appendTo(this.element).addClass("ui-slider-handle");this.handles=d(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(c){c.preventDefault()}).hover(function(){a.disabled||d(this).addClass("ui-state-hover")},function(){d(this).removeClass("ui-state-hover")}).focus(function(){if(a.disabled)d(this).blur(); -else{d(".ui-slider .ui-state-focus").removeClass("ui-state-focus");d(this).addClass("ui-state-focus")}}).blur(function(){d(this).removeClass("ui-state-focus")});this.handles.each(function(c){d(this).data("index.ui-slider-handle",c)});this.handles.keydown(function(c){var e=true,f=d(this).data("index.ui-slider-handle"),h,g,i;if(!b.options.disabled){switch(c.keyCode){case d.ui.keyCode.HOME:case d.ui.keyCode.END:case d.ui.keyCode.PAGE_UP:case d.ui.keyCode.PAGE_DOWN:case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:e= -false;if(!b._keySliding){b._keySliding=true;d(this).addClass("ui-state-active");h=b._start(c,f);if(h===false)return}break}i=b.options.step;h=b.options.values&&b.options.values.length?(g=b.values(f)):(g=b.value());switch(c.keyCode){case d.ui.keyCode.HOME:g=b._valueMin();break;case d.ui.keyCode.END:g=b._valueMax();break;case d.ui.keyCode.PAGE_UP:g=b._trimAlignValue(h+(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.PAGE_DOWN:g=b._trimAlignValue(h-(b._valueMax()-b._valueMin())/5);break;case d.ui.keyCode.UP:case d.ui.keyCode.RIGHT:if(h=== -b._valueMax())return;g=b._trimAlignValue(h+i);break;case d.ui.keyCode.DOWN:case d.ui.keyCode.LEFT:if(h===b._valueMin())return;g=b._trimAlignValue(h-i);break}b._slide(c,f,g);return e}}).keyup(function(c){var e=d(this).data("index.ui-slider-handle");if(b._keySliding){b._keySliding=false;b._stop(c,e);b._change(c,e);d(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider"); -this._mouseDestroy();return this},_mouseCapture:function(b){var a=this.options,c,e,f,h,g;if(a.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();c=this._normValueFromMouse({x:b.pageX,y:b.pageY});e=this._valueMax()-this._valueMin()+1;h=this;this.handles.each(function(i){var j=Math.abs(c-h.values(i));if(e>j){e=j;f=d(this);g=i}});if(a.range===true&&this.values(1)===a.min){g+=1;f=d(this.handles[g])}if(this._start(b, -g)===false)return false;this._mouseSliding=true;h._handleIndex=g;f.addClass("ui-state-active").focus();a=f.offset();this._clickOffset=!d(b.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:b.pageX-a.left-f.width()/2,top:b.pageY-a.top-f.height()/2-(parseInt(f.css("borderTopWidth"),10)||0)-(parseInt(f.css("borderBottomWidth"),10)||0)+(parseInt(f.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(b,g,c);return this._animateOff=true},_mouseStart:function(){return true}, -_mouseDrag:function(b){var a=this._normValueFromMouse({x:b.pageX,y:b.pageY});this._slide(b,this._handleIndex,a);return false},_mouseStop:function(b){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(b,this._handleIndex);this._change(b,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(b){var a; -if(this.orientation==="horizontal"){a=this.elementSize.width;b=b.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{a=this.elementSize.height;b=b.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}a=b/a;if(a>1)a=1;if(a<0)a=0;if(this.orientation==="vertical")a=1-a;b=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+a*b)},_start:function(b,a){var c={handle:this.handles[a],value:this.value()};if(this.options.values&&this.options.values.length){c.value= -this.values(a);c.values=this.values()}return this._trigger("start",b,c)},_slide:function(b,a,c){var e;if(this.options.values&&this.options.values.length){e=this.values(a?0:1);if(this.options.values.length===2&&this.options.range===true&&(a===0&&c>e||a===1&&c1){this.options.values[b]=this._trimAlignValue(a);this._refreshValue();this._change(null,b)}if(arguments.length)if(d.isArray(arguments[0])){c=this.options.values;e=arguments[0];for(f=0;f=this._valueMax())return this._valueMax();var a=this.options.step>0?this.options.step:1,c=(b-this._valueMin())%a;alignValue=b-c;if(Math.abs(c)*2>=a)alignValue+=c>0?a:-a;return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max}, -_refreshValue:function(){var b=this.options.range,a=this.options,c=this,e=!this._animateOff?a.animate:false,f,h={},g,i,j,l;if(this.options.values&&this.options.values.length)this.handles.each(function(k){f=(c.values(k)-c._valueMin())/(c._valueMax()-c._valueMin())*100;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";d(this).stop(1,1)[e?"animate":"css"](h,a.animate);if(c.options.range===true)if(c.orientation==="horizontal"){if(k===0)c.range.stop(1,1)[e?"animate":"css"]({left:f+"%"},a.animate); -if(k===1)c.range[e?"animate":"css"]({width:f-g+"%"},{queue:false,duration:a.animate})}else{if(k===0)c.range.stop(1,1)[e?"animate":"css"]({bottom:f+"%"},a.animate);if(k===1)c.range[e?"animate":"css"]({height:f-g+"%"},{queue:false,duration:a.animate})}g=f});else{i=this.value();j=this._valueMin();l=this._valueMax();f=l!==j?(i-j)/(l-j)*100:0;h[c.orientation==="horizontal"?"left":"bottom"]=f+"%";this.handle.stop(1,1)[e?"animate":"css"](h,a.animate);if(b==="min"&&this.orientation==="horizontal")this.range.stop(1, -1)[e?"animate":"css"]({width:f+"%"},a.animate);if(b==="max"&&this.orientation==="horizontal")this.range[e?"animate":"css"]({width:100-f+"%"},{queue:false,duration:a.animate});if(b==="min"&&this.orientation==="vertical")this.range.stop(1,1)[e?"animate":"css"]({height:f+"%"},a.animate);if(b==="max"&&this.orientation==="vertical")this.range[e?"animate":"css"]({height:100-f+"%"},{queue:false,duration:a.animate})}}});d.extend(d.ui.slider,{version:"1.8.9"})})(jQuery); -;/* - * jQuery UI Tabs 1.8.9 - * - * 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.9"});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
      ')}function E(a,b){d.extend(a,b);for(var c in b)if(b[c]== -null||b[c]==G)a[c]=b[c];return a}d.extend(d.ui,{datepicker:{version:"1.8.9"}});var y=(new Date).getTime();d.extend(K.prototype,{markerClassName:"hasDatepicker",log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){E(this._defaults,a||{});return this},_attachDatepicker:function(a,b){var c=null;for(var e in this._defaults){var f=a.getAttribute("date:"+e);if(f){c=c||{};try{c[e]=eval(f)}catch(h){c[e]=f}}}e=a.nodeName.toLowerCase(); -f=e=="div"||e=="span";if(!a.id){this.uuid+=1;a.id="dp"+this.uuid}var i=this._newInst(d(a),f);i.settings=d.extend({},b||{},c||{});if(e=="input")this._connectDatepicker(a,i);else f&&this._inlineDatepicker(a,i)},_newInst:function(a,b){return{id:a[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:b,dpDiv:!b?this.dpDiv:d('
      ')}}, -_connectDatepicker:function(a,b){var c=d(a);b.append=d([]);b.trigger=d([]);if(!c.hasClass(this.markerClassName)){this._attachments(c,b);c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(e,f,h){b.settings[f]=h}).bind("getData.datepicker",function(e,f){return this._get(b,f)});this._autoSize(b);d.data(a,"datepicker",b)}},_attachments:function(a,b){var c=this._get(b,"appendText"),e=this._get(b,"isRTL");b.append&& -b.append.remove();if(c){b.append=d(''+c+"");a[e?"before":"after"](b.append)}a.unbind("focus",this._showDatepicker);b.trigger&&b.trigger.remove();c=this._get(b,"showOn");if(c=="focus"||c=="both")a.focus(this._showDatepicker);if(c=="button"||c=="both"){c=this._get(b,"buttonText");var f=this._get(b,"buttonImage");b.trigger=d(this._get(b,"buttonImageOnly")?d("").addClass(this._triggerClass).attr({src:f,alt:c,title:c}):d('').addClass(this._triggerClass).html(f== -""?c:d("").attr({src:f,alt:c,title:c})));a[e?"before":"after"](b.trigger);b.trigger.click(function(){d.datepicker._datepickerShowing&&d.datepicker._lastInput==a[0]?d.datepicker._hideDatepicker():d.datepicker._showDatepicker(a[0]);return false})}},_autoSize:function(a){if(this._get(a,"autoSize")&&!a.inline){var b=new Date(2009,11,20),c=this._get(a,"dateFormat");if(c.match(/[DM]/)){var e=function(f){for(var h=0,i=0,g=0;gh){h=f[g].length;i=g}return i};b.setMonth(e(this._get(a, -c.match(/MM/)?"monthNames":"monthNamesShort")));b.setDate(e(this._get(a,c.match(/DD/)?"dayNames":"dayNamesShort"))+20-b.getDay())}a.input.attr("size",this._formatDate(a,b).length)}},_inlineDatepicker:function(a,b){var c=d(a);if(!c.hasClass(this.markerClassName)){c.addClass(this.markerClassName).append(b.dpDiv).bind("setData.datepicker",function(e,f,h){b.settings[f]=h}).bind("getData.datepicker",function(e,f){return this._get(b,f)});d.data(a,"datepicker",b);this._setDate(b,this._getDefaultDate(b), -true);this._updateDatepicker(b);this._updateAlternate(b);b.dpDiv.show()}},_dialogDatepicker:function(a,b,c,e,f){a=this._dialogInst;if(!a){this.uuid+=1;this._dialogInput=d('');this._dialogInput.keydown(this._doKeyDown);d("body").append(this._dialogInput);a=this._dialogInst=this._newInst(this._dialogInput,false);a.settings={};d.data(this._dialogInput[0],"datepicker",a)}E(a.settings,e||{}); -b=b&&b.constructor==Date?this._formatDate(a,b):b;this._dialogInput.val(b);this._pos=f?f.length?f:[f.pageX,f.pageY]:null;if(!this._pos)this._pos=[document.documentElement.clientWidth/2-100+(document.documentElement.scrollLeft||document.body.scrollLeft),document.documentElement.clientHeight/2-150+(document.documentElement.scrollTop||document.body.scrollTop)];this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px");a.settings.onSelect=c;this._inDialog=true;this.dpDiv.addClass(this._dialogClass); -this._showDatepicker(this._dialogInput[0]);d.blockUI&&d.blockUI(this.dpDiv);d.data(this._dialogInput[0],"datepicker",a);return this},_destroyDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();d.removeData(a,"datepicker");if(e=="input"){c.append.remove();c.trigger.remove();b.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup", -this._doKeyUp)}else if(e=="div"||e=="span")b.removeClass(this.markerClassName).empty()}},_enableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=false;c.trigger.filter("button").each(function(){this.disabled=false}).end().filter("img").css({opacity:"1.0",cursor:""})}else if(e=="div"||e=="span")b.children("."+this._inlineClass).children().removeClass("ui-state-disabled");this._disabledInputs=d.map(this._disabledInputs, -function(f){return f==a?null:f})}},_disableDatepicker:function(a){var b=d(a),c=d.data(a,"datepicker");if(b.hasClass(this.markerClassName)){var e=a.nodeName.toLowerCase();if(e=="input"){a.disabled=true;c.trigger.filter("button").each(function(){this.disabled=true}).end().filter("img").css({opacity:"0.5",cursor:"default"})}else if(e=="div"||e=="span")b.children("."+this._inlineClass).children().addClass("ui-state-disabled");this._disabledInputs=d.map(this._disabledInputs,function(f){return f==a?null: -f});this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(a){if(!a)return false;for(var b=0;b-1}},_doKeyUp:function(a){a=d.datepicker._getInst(a.target);if(a.input.val()!=a.lastVal)try{if(d.datepicker.parseDate(d.datepicker._get(a,"dateFormat"),a.input?a.input.val():null,d.datepicker._getFormatConfig(a))){d.datepicker._setDateFromField(a);d.datepicker._updateAlternate(a);d.datepicker._updateDatepicker(a)}}catch(b){d.datepicker.log(b)}return true}, -_showDatepicker:function(a){a=a.target||a;if(a.nodeName.toLowerCase()!="input")a=d("input",a.parentNode)[0];if(!(d.datepicker._isDisabledDatepicker(a)||d.datepicker._lastInput==a)){var b=d.datepicker._getInst(a);d.datepicker._curInst&&d.datepicker._curInst!=b&&d.datepicker._curInst.dpDiv.stop(true,true);var c=d.datepicker._get(b,"beforeShow");E(b.settings,c?c.apply(a,[a,b]):{});b.lastVal=null;d.datepicker._lastInput=a;d.datepicker._setDateFromField(b);if(d.datepicker._inDialog)a.value="";if(!d.datepicker._pos){d.datepicker._pos= -d.datepicker._findPos(a);d.datepicker._pos[1]+=a.offsetHeight}var e=false;d(a).parents().each(function(){e|=d(this).css("position")=="fixed";return!e});if(e&&d.browser.opera){d.datepicker._pos[0]-=document.documentElement.scrollLeft;d.datepicker._pos[1]-=document.documentElement.scrollTop}c={left:d.datepicker._pos[0],top:d.datepicker._pos[1]};d.datepicker._pos=null;b.dpDiv.empty();b.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});d.datepicker._updateDatepicker(b);c=d.datepicker._checkOffset(b, -c,e);b.dpDiv.css({position:d.datepicker._inDialog&&d.blockUI?"static":e?"fixed":"absolute",display:"none",left:c.left+"px",top:c.top+"px"});if(!b.inline){c=d.datepicker._get(b,"showAnim");var f=d.datepicker._get(b,"duration"),h=function(){d.datepicker._datepickerShowing=true;var i=b.dpDiv.find("iframe.ui-datepicker-cover");if(i.length){var g=d.datepicker._getBorders(b.dpDiv);i.css({left:-g[0],top:-g[1],width:b.dpDiv.outerWidth(),height:b.dpDiv.outerHeight()})}};b.dpDiv.zIndex(d(a).zIndex()+1);d.effects&& -d.effects[c]?b.dpDiv.show(c,d.datepicker._get(b,"showOptions"),f,h):b.dpDiv[c||"show"](c?f:null,h);if(!c||!f)h();b.input.is(":visible")&&!b.input.is(":disabled")&&b.input.focus();d.datepicker._curInst=b}}},_updateDatepicker:function(a){var b=this,c=d.datepicker._getBorders(a.dpDiv);a.dpDiv.empty().append(this._generateHTML(a));var e=a.dpDiv.find("iframe.ui-datepicker-cover");e.length&&e.css({left:-c[0],top:-c[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()});a.dpDiv.find("button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a").bind("mouseout", -function(){d(this).removeClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!=-1&&d(this).removeClass("ui-datepicker-prev-hover");this.className.indexOf("ui-datepicker-next")!=-1&&d(this).removeClass("ui-datepicker-next-hover")}).bind("mouseover",function(){if(!b._isDisabledDatepicker(a.inline?a.dpDiv.parent()[0]:a.input[0])){d(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");d(this).addClass("ui-state-hover");this.className.indexOf("ui-datepicker-prev")!= --1&&d(this).addClass("ui-datepicker-prev-hover");this.className.indexOf("ui-datepicker-next")!=-1&&d(this).addClass("ui-datepicker-next-hover")}}).end().find("."+this._dayOverClass+" a").trigger("mouseover").end();c=this._getNumberOfMonths(a);e=c[1];e>1?a.dpDiv.addClass("ui-datepicker-multi-"+e).css("width",17*e+"em"):a.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");a.dpDiv[(c[0]!=1||c[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi");a.dpDiv[(this._get(a, -"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");a==d.datepicker._curInst&&d.datepicker._datepickerShowing&&a.input&&a.input.is(":visible")&&!a.input.is(":disabled")&&a.input.focus();if(a.yearshtml){var f=a.yearshtml;setTimeout(function(){f===a.yearshtml&&a.dpDiv.find("select.ui-datepicker-year:first").replaceWith(a.yearshtml);f=a.yearshtml=null},0)}},_getBorders:function(a){var b=function(c){return{thin:1,medium:2,thick:3}[c]||c};return[parseFloat(b(a.css("border-left-width"))),parseFloat(b(a.css("border-top-width")))]}, -_checkOffset:function(a,b,c){var e=a.dpDiv.outerWidth(),f=a.dpDiv.outerHeight(),h=a.input?a.input.outerWidth():0,i=a.input?a.input.outerHeight():0,g=document.documentElement.clientWidth+d(document).scrollLeft(),j=document.documentElement.clientHeight+d(document).scrollTop();b.left-=this._get(a,"isRTL")?e-h:0;b.left-=c&&b.left==a.input.offset().left?d(document).scrollLeft():0;b.top-=c&&b.top==a.input.offset().top+i?d(document).scrollTop():0;b.left-=Math.min(b.left,b.left+e>g&&g>e?Math.abs(b.left+e- -g):0);b.top-=Math.min(b.top,b.top+f>j&&j>f?Math.abs(f+i):0);return b},_findPos:function(a){for(var b=this._get(this._getInst(a),"isRTL");a&&(a.type=="hidden"||a.nodeType!=1);)a=a[b?"previousSibling":"nextSibling"];a=d(a).offset();return[a.left,a.top]},_hideDatepicker:function(a){var b=this._curInst;if(!(!b||a&&b!=d.data(a,"datepicker")))if(this._datepickerShowing){a=this._get(b,"showAnim");var c=this._get(b,"duration"),e=function(){d.datepicker._tidyDialog(b);this._curInst=null};d.effects&&d.effects[a]? -b.dpDiv.hide(a,d.datepicker._get(b,"showOptions"),c,e):b.dpDiv[a=="slideDown"?"slideUp":a=="fadeIn"?"fadeOut":"hide"](a?c:null,e);a||e();if(a=this._get(b,"onClose"))a.apply(b.input?b.input[0]:null,[b.input?b.input.val():"",b]);this._datepickerShowing=false;this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if(d.blockUI){d.unblockUI();d("body").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")}, -_checkExternalClick:function(a){if(d.datepicker._curInst){a=d(a.target);a[0].id!=d.datepicker._mainDivId&&a.parents("#"+d.datepicker._mainDivId).length==0&&!a.hasClass(d.datepicker.markerClassName)&&!a.hasClass(d.datepicker._triggerClass)&&d.datepicker._datepickerShowing&&!(d.datepicker._inDialog&&d.blockUI)&&d.datepicker._hideDatepicker()}},_adjustDate:function(a,b,c){a=d(a);var e=this._getInst(a[0]);if(!this._isDisabledDatepicker(a[0])){this._adjustInstDate(e,b+(c=="M"?this._get(e,"showCurrentAtPos"): -0),c);this._updateDatepicker(e)}},_gotoToday:function(a){a=d(a);var b=this._getInst(a[0]);if(this._get(b,"gotoCurrent")&&b.currentDay){b.selectedDay=b.currentDay;b.drawMonth=b.selectedMonth=b.currentMonth;b.drawYear=b.selectedYear=b.currentYear}else{var c=new Date;b.selectedDay=c.getDate();b.drawMonth=b.selectedMonth=c.getMonth();b.drawYear=b.selectedYear=c.getFullYear()}this._notifyChange(b);this._adjustDate(a)},_selectMonthYear:function(a,b,c){a=d(a);var e=this._getInst(a[0]);e._selectingMonthYear= -false;e["selected"+(c=="M"?"Month":"Year")]=e["draw"+(c=="M"?"Month":"Year")]=parseInt(b.options[b.selectedIndex].value,10);this._notifyChange(e);this._adjustDate(a)},_clickMonthYear:function(a){var b=this._getInst(d(a)[0]);b.input&&b._selectingMonthYear&&setTimeout(function(){b.input.focus()},0);b._selectingMonthYear=!b._selectingMonthYear},_selectDay:function(a,b,c,e){var f=d(a);if(!(d(e).hasClass(this._unselectableClass)||this._isDisabledDatepicker(f[0]))){f=this._getInst(f[0]);f.selectedDay=f.currentDay= -d("a",e).html();f.selectedMonth=f.currentMonth=b;f.selectedYear=f.currentYear=c;this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear))}},_clearDate:function(a){a=d(a);this._getInst(a[0]);this._selectDate(a,"")},_selectDate:function(a,b){a=this._getInst(d(a)[0]);b=b!=null?b:this._formatDate(a);a.input&&a.input.val(b);this._updateAlternate(a);var c=this._get(a,"onSelect");if(c)c.apply(a.input?a.input[0]:null,[b,a]);else a.input&&a.input.trigger("change");if(a.inline)this._updateDatepicker(a); -else{this._hideDatepicker();this._lastInput=a.input[0];typeof a.input[0]!="object"&&a.input.focus();this._lastInput=null}},_updateAlternate:function(a){var b=this._get(a,"altField");if(b){var c=this._get(a,"altFormat")||this._get(a,"dateFormat"),e=this._getDate(a),f=this.formatDate(c,e,this._getFormatConfig(a));d(b).each(function(){d(this).val(f)})}},noWeekends:function(a){a=a.getDay();return[a>0&&a<6,""]},iso8601Week:function(a){a=new Date(a.getTime());a.setDate(a.getDate()+4-(a.getDay()||7));var b= -a.getTime();a.setMonth(0);a.setDate(1);return Math.floor(Math.round((b-a)/864E5)/7)+1},parseDate:function(a,b,c){if(a==null||b==null)throw"Invalid arguments";b=typeof b=="object"?b.toString():b+"";if(b=="")return null;var e=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;e=typeof e!="string"?e:(new Date).getFullYear()%100+parseInt(e,10);for(var f=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,h=(c?c.dayNames:null)||this._defaults.dayNames,i=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort, -g=(c?c.monthNames:null)||this._defaults.monthNames,j=c=-1,l=-1,u=-1,k=false,o=function(p){(p=z+1-1){j=1;l=u;do{e=this._getDaysInMonth(c,j-1);if(l<=e)break;j++;l-=e}while(1)}w=this._daylightSavingAdjust(new Date(c,j-1,l));if(w.getFullYear()!=c||w.getMonth()+1!=j||w.getDate()!=l)throw"Invalid date";return w},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y", -RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1E7,formatDate:function(a,b,c){if(!b)return"";var e=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,f=(c?c.dayNames:null)||this._defaults.dayNames,h=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort;c=(c?c.monthNames:null)||this._defaults.monthNames;var i=function(o){(o=k+112?a.getHours()+2:0);return a},_setDate:function(a,b,c){var e=!b,f=a.selectedMonth,h=a.selectedYear;b=this._restrictMinMax(a,this._determineDate(a,b,new Date));a.selectedDay= -a.currentDay=b.getDate();a.drawMonth=a.selectedMonth=a.currentMonth=b.getMonth();a.drawYear=a.selectedYear=a.currentYear=b.getFullYear();if((f!=a.selectedMonth||h!=a.selectedYear)&&!c)this._notifyChange(a);this._adjustInstDate(a);if(a.input)a.input.val(e?"":this._formatDate(a))},_getDate:function(a){return!a.currentYear||a.input&&a.input.val()==""?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay))},_generateHTML:function(a){var b=new Date;b=this._daylightSavingAdjust(new Date(b.getFullYear(), -b.getMonth(),b.getDate()));var c=this._get(a,"isRTL"),e=this._get(a,"showButtonPanel"),f=this._get(a,"hideIfNoPrevNext"),h=this._get(a,"navigationAsDateFormat"),i=this._getNumberOfMonths(a),g=this._get(a,"showCurrentAtPos"),j=this._get(a,"stepMonths"),l=i[0]!=1||i[1]!=1,u=this._daylightSavingAdjust(!a.currentDay?new Date(9999,9,9):new Date(a.currentYear,a.currentMonth,a.currentDay)),k=this._getMinMaxDate(a,"min"),o=this._getMinMaxDate(a,"max");g=a.drawMonth-g;var m=a.drawYear;if(g<0){g+=12;m--}if(o){var n= -this._daylightSavingAdjust(new Date(o.getFullYear(),o.getMonth()-i[0]*i[1]+1,o.getDate()));for(n=k&&nn;){g--;if(g<0){g=11;m--}}}a.drawMonth=g;a.drawYear=m;n=this._get(a,"prevText");n=!h?n:this.formatDate(n,this._daylightSavingAdjust(new Date(m,g-j,1)),this._getFormatConfig(a));n=this._canAdjustMonth(a,-1,m,g)?''+n+"":f?"":''+n+"";var r=this._get(a,"nextText");r=!h?r:this.formatDate(r,this._daylightSavingAdjust(new Date(m,g+j,1)),this._getFormatConfig(a));f=this._canAdjustMonth(a,+1,m,g)?''+r+"":f?"":''+r+"";j=this._get(a,"currentText");r=this._get(a,"gotoCurrent")&&a.currentDay?u:b;j=!h?j:this.formatDate(j,r,this._getFormatConfig(a));h=!a.inline?'":"";e=e?'
      '+(c?h:"")+(this._isInRange(a,r)?'":"")+(c?"":h)+"
      ":"";h=parseInt(this._get(a,"firstDay"),10);h=isNaN(h)?0:h;j=this._get(a,"showWeek");r=this._get(a,"dayNames");this._get(a,"dayNamesShort");var s=this._get(a,"dayNamesMin"),z= -this._get(a,"monthNames"),w=this._get(a,"monthNamesShort"),p=this._get(a,"beforeShowDay"),v=this._get(a,"showOtherMonths"),H=this._get(a,"selectOtherMonths");this._get(a,"calculateWeek");for(var L=this._getDefaultDate(a),I="",C=0;C1)switch(D){case 0:x+=" ui-datepicker-group-first";t=" ui-corner-"+(c?"right":"left");break;case i[1]- -1:x+=" ui-datepicker-group-last";t=" ui-corner-"+(c?"left":"right");break;default:x+=" ui-datepicker-group-middle";t="";break}x+='">'}x+='
      '+(/all|left/.test(t)&&C==0?c?f:n:"")+(/all|right/.test(t)&&C==0?c?n:f:"")+this._generateMonthYearHeader(a,g,m,k,o,C>0||D>0,z,w)+'
      ';var A=j?'":"";for(t=0;t<7;t++){var q= -(t+h)%7;A+="=5?' class="ui-datepicker-week-end"':"")+'>'+s[q]+""}x+=A+"";A=this._getDaysInMonth(m,g);if(m==a.selectedYear&&g==a.selectedMonth)a.selectedDay=Math.min(a.selectedDay,A);t=(this._getFirstDayOfMonth(m,g)-h+7)%7;A=l?6:Math.ceil((t+A)/7);q=this._daylightSavingAdjust(new Date(m,g,1-t));for(var O=0;O";var P=!j?"":'";for(t=0;t<7;t++){var F= -p?p.apply(a.input?a.input[0]:null,[q]):[true,""],B=q.getMonth()!=g,J=B&&!H||!F[0]||k&&qo;P+='";q.setDate(q.getDate()+1);q=this._daylightSavingAdjust(q)}x+= -P+""}g++;if(g>11){g=0;m++}x+="
      '+this._get(a,"weekHeader")+"
      '+this._get(a,"calculateWeek")(q)+""+(B&&!v?" ":J?''+q.getDate()+"":''+q.getDate()+"")+"
      "+(l?"
      "+(i[0]>0&&D==i[1]-1?'
      ':""):"");M+=x}I+=M}I+=e+(d.browser.msie&&parseInt(d.browser.version,10)<7&&!a.inline?'':"");a._keyEvent=false;return I},_generateMonthYearHeader:function(a,b,c,e,f,h,i,g){var j=this._get(a,"changeMonth"),l=this._get(a,"changeYear"),u=this._get(a,"showMonthAfterYear"),k='
      ', -o="";if(h||!j)o+=''+i[b]+"";else{i=e&&e.getFullYear()==c;var m=f&&f.getFullYear()==c;o+='"}u||(k+=o+(h||!(j&& -l)?" ":""));a.yearshtml="";if(h||!l)k+=''+c+"";else{g=this._get(a,"yearRange").split(":");var r=(new Date).getFullYear();i=function(s){s=s.match(/c[+-].*/)?c+parseInt(s.substring(1),10):s.match(/[+-].*/)?r+parseInt(s,10):parseInt(s,10);return isNaN(s)?r:s};b=i(g[0]);g=Math.max(b,i(g[1]||""));b=e?Math.max(b,e.getFullYear()):b;g=f?Math.min(g,f.getFullYear()):g;for(a.yearshtml+='";if(d.browser.mozilla)k+='";else{k+=a.yearshtml;a.yearshtml=null}}k+=this._get(a,"yearSuffix");if(u)k+=(h||!(j&&l)?" ":"")+o;k+="
      ";return k},_adjustInstDate:function(a,b,c){var e= -a.drawYear+(c=="Y"?b:0),f=a.drawMonth+(c=="M"?b:0);b=Math.min(a.selectedDay,this._getDaysInMonth(e,f))+(c=="D"?b:0);e=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(e,f,b)));a.selectedDay=e.getDate();a.drawMonth=a.selectedMonth=e.getMonth();a.drawYear=a.selectedYear=e.getFullYear();if(c=="M"||c=="Y")this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");b=c&&ba?a:b},_notifyChange:function(a){var b=this._get(a, -"onChangeMonthYear");if(b)b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");return a==null?[1,1]:typeof a=="number"?[1,a]:a},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+"Date"),null)},_getDaysInMonth:function(a,b){return 32-(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,e){var f=this._getNumberOfMonths(a); -c=this._daylightSavingAdjust(new Date(c,e+(b<0?b:f[0]*f[1]),1));b<0&&c.setDate(this._getDaysInMonth(c.getFullYear(),c.getMonth()));return this._isInRange(a,c)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");return(!c||b.getTime()>=c.getTime())&&(!a||b.getTime()<=a.getTime())},_getFormatConfig:function(a){var b=this._get(a,"shortYearCutoff");b=typeof b!="string"?b:(new Date).getFullYear()%100+parseInt(b,10);return{shortYearCutoff:b,dayNamesShort:this._get(a, -"dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,b,c,e){if(!b){a.currentDay=a.selectedDay;a.currentMonth=a.selectedMonth;a.currentYear=a.selectedYear}b=b?typeof b=="object"?b:this._daylightSavingAdjust(new Date(e,c,b)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),b,this._getFormatConfig(a))}});d.fn.datepicker= -function(a){if(!d.datepicker.initialized){d(document).mousedown(d.datepicker._checkExternalClick).find("body").append(d.datepicker.dpDiv);d.datepicker.initialized=true}var b=Array.prototype.slice.call(arguments,1);if(typeof a=="string"&&(a=="isDisabled"||a=="getDate"||a=="widget"))return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this[0]].concat(b));if(a=="option"&&arguments.length==2&&typeof arguments[1]=="string")return d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this[0]].concat(b)); -return this.each(function(){typeof a=="string"?d.datepicker["_"+a+"Datepicker"].apply(d.datepicker,[this].concat(b)):d.datepicker._attachDatepicker(this,a)})};d.datepicker=new K;d.datepicker.initialized=false;d.datepicker.uuid=(new Date).getTime();d.datepicker.version="1.8.9";window["DP_jQuery_"+y]=d})(jQuery); -;/* - * jQuery UI Progressbar 1.8.9 - * - * 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/Progressbar - * - * Depends: - * jquery.ui.core.js - * jquery.ui.widget.js - */ -(function(b,d){b.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()});this.valueDiv=b("
      ").appendTo(this.element);this.oldValue=this._value();this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"); -this.valueDiv.remove();b.Widget.prototype.destroy.apply(this,arguments)},value:function(a){if(a===d)return this._value();this._setOption("value",a);return this},_setOption:function(a,c){if(a==="value"){this.options.value=c;this._refreshValue();this._value()===this.options.max&&this._trigger("complete")}b.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;if(typeof a!=="number")a=0;return Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100* -this._value()/this.options.max},_refreshValue:function(){var a=this.value(),c=this._percentage();if(this.oldValue!==a){this.oldValue=a;this._trigger("change")}this.valueDiv.toggleClass("ui-corner-right",a===this.options.max).width(c.toFixed(0)+"%");this.element.attr("aria-valuenow",a)}});b.extend(b.ui.progressbar,{version:"1.8.9"})})(jQuery); -;/* - * jQuery UI Effects 1.8.9 - * - * 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/Effects/ - */ -jQuery.effects||function(f,j){function n(c){var a;if(c&&c.constructor==Array&&c.length==3)return c;if(a=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(c))return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10)];if(a=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(c))return[parseFloat(a[1])*2.55,parseFloat(a[2])*2.55,parseFloat(a[3])*2.55];if(a=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(c))return[parseInt(a[1], -16),parseInt(a[2],16),parseInt(a[3],16)];if(a=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(c))return[parseInt(a[1]+a[1],16),parseInt(a[2]+a[2],16),parseInt(a[3]+a[3],16)];if(/rgba\(0, 0, 0, 0\)/.exec(c))return o.transparent;return o[f.trim(c).toLowerCase()]}function s(c,a){var b;do{b=f.curCSS(c,a);if(b!=""&&b!="transparent"||f.nodeName(c,"body"))break;a="backgroundColor"}while(c=c.parentNode);return n(b)}function p(){var c=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle, -a={},b,d;if(c&&c.length&&c[0]&&c[c[0]])for(var e=c.length;e--;){b=c[e];if(typeof c[b]=="string"){d=b.replace(/\-(\w)/g,function(g,h){return h.toUpperCase()});a[d]=c[b]}}else for(b in c)if(typeof c[b]==="string")a[b]=c[b];return a}function q(c){var a,b;for(a in c){b=c[a];if(b==null||f.isFunction(b)||a in t||/scrollbar/.test(a)||!/color/i.test(a)&&isNaN(parseFloat(b)))delete c[a]}return c}function u(c,a){var b={_:0},d;for(d in a)if(c[d]!=a[d])b[d]=a[d];return b}function k(c,a,b,d){if(typeof c=="object"){d= -a;b=null;a=c;c=a.effect}if(f.isFunction(a)){d=a;b=null;a={}}if(typeof a=="number"||f.fx.speeds[a]){d=b;b=a;a={}}if(f.isFunction(b)){d=b;b=null}a=a||{};b=b||a.duration;b=f.fx.off?0:typeof b=="number"?b:b in f.fx.speeds?f.fx.speeds[b]:f.fx.speeds._default;d=d||a.complete;return[c,a,b,d]}function m(c){if(!c||typeof c==="number"||f.fx.speeds[c])return true;if(typeof c==="string"&&!f.effects[c])return true;return false}f.effects={};f.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor", -"borderTopColor","borderColor","color","outlineColor"],function(c,a){f.fx.step[a]=function(b){if(!b.colorInit){b.start=s(b.elem,a);b.end=n(b.end);b.colorInit=true}b.elem.style[a]="rgb("+Math.max(Math.min(parseInt(b.pos*(b.end[0]-b.start[0])+b.start[0],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[1]-b.start[1])+b.start[1],10),255),0)+","+Math.max(Math.min(parseInt(b.pos*(b.end[2]-b.start[2])+b.start[2],10),255),0)+")"}});var o={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0, -0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211, -211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},r=["add","remove","toggle"],t={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};f.effects.animateClass=function(c,a,b, -d){if(f.isFunction(b)){d=b;b=null}return this.queue("fx",function(){var e=f(this),g=e.attr("style")||" ",h=q(p.call(this)),l,v=e.attr("className");f.each(r,function(w,i){c[i]&&e[i+"Class"](c[i])});l=q(p.call(this));e.attr("className",v);e.animate(u(h,l),a,b,function(){f.each(r,function(w,i){c[i]&&e[i+"Class"](c[i])});if(typeof e.attr("style")=="object"){e.attr("style").cssText="";e.attr("style").cssText=g}else e.attr("style",g);d&&d.apply(this,arguments)});h=f.queue(this);l=h.splice(h.length-1,1)[0]; -h.splice(1,0,l);f.dequeue(this)})};f.fn.extend({_addClass:f.fn.addClass,addClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{add:c},a,b,d]):this._addClass(c)},_removeClass:f.fn.removeClass,removeClass:function(c,a,b,d){return a?f.effects.animateClass.apply(this,[{remove:c},a,b,d]):this._removeClass(c)},_toggleClass:f.fn.toggleClass,toggleClass:function(c,a,b,d,e){return typeof a=="boolean"||a===j?b?f.effects.animateClass.apply(this,[a?{add:c}:{remove:c},b,d,e]):this._toggleClass(c, -a):f.effects.animateClass.apply(this,[{toggle:c},a,b,d])},switchClass:function(c,a,b,d,e){return f.effects.animateClass.apply(this,[{add:a,remove:c},b,d,e])}});f.extend(f.effects,{version:"1.8.9",save:function(c,a){for(var b=0;b
      ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent", -border:"none",margin:0,padding:0});c.wrap(b);b=c.parent();if(c.css("position")=="static"){b.css({position:"relative"});c.css({position:"relative"})}else{f.extend(a,{position:c.css("position"),zIndex:c.css("z-index")});f.each(["top","left","bottom","right"],function(d,e){a[e]=c.css(e);if(isNaN(parseInt(a[e],10)))a[e]="auto"});c.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}return b.css(a).show()},removeWrapper:function(c){if(c.parent().is(".ui-effects-wrapper"))return c.parent().replaceWith(c); -return c},setTransition:function(c,a,b,d){d=d||{};f.each(a,function(e,g){unit=c.cssUnit(g);if(unit[0]>0)d[g]=unit[0]*b+unit[1]});return d}});f.fn.extend({effect:function(c){var a=k.apply(this,arguments),b={options:a[1],duration:a[2],callback:a[3]};a=b.options.mode;var d=f.effects[c];if(f.fx.off||!d)return a?this[a](b.duration,b.callback):this.each(function(){b.callback&&b.callback.call(this)});return d.call(this,b)},_show:f.fn.show,show:function(c){if(m(c))return this._show.apply(this,arguments); -else{var a=k.apply(this,arguments);a[1].mode="show";return this.effect.apply(this,a)}},_hide:f.fn.hide,hide:function(c){if(m(c))return this._hide.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="hide";return this.effect.apply(this,a)}},__toggle:f.fn.toggle,toggle:function(c){if(m(c)||typeof c==="boolean"||f.isFunction(c))return this.__toggle.apply(this,arguments);else{var a=k.apply(this,arguments);a[1].mode="toggle";return this.effect.apply(this,a)}},cssUnit:function(c){var a=this.css(c), -b=[];f.each(["em","px","%","pt"],function(d,e){if(a.indexOf(e)>0)b=[parseFloat(a),e]});return b}});f.easing.jswing=f.easing.swing;f.extend(f.easing,{def:"easeOutQuad",swing:function(c,a,b,d,e){return f.easing[f.easing.def](c,a,b,d,e)},easeInQuad:function(c,a,b,d,e){return d*(a/=e)*a+b},easeOutQuad:function(c,a,b,d,e){return-d*(a/=e)*(a-2)+b},easeInOutQuad:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a+b;return-d/2*(--a*(a-2)-1)+b},easeInCubic:function(c,a,b,d,e){return d*(a/=e)*a*a+b},easeOutCubic:function(c, -a,b,d,e){return d*((a=a/e-1)*a*a+1)+b},easeInOutCubic:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a+b;return d/2*((a-=2)*a*a+2)+b},easeInQuart:function(c,a,b,d,e){return d*(a/=e)*a*a*a+b},easeOutQuart:function(c,a,b,d,e){return-d*((a=a/e-1)*a*a*a-1)+b},easeInOutQuart:function(c,a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a+b;return-d/2*((a-=2)*a*a*a-2)+b},easeInQuint:function(c,a,b,d,e){return d*(a/=e)*a*a*a*a+b},easeOutQuint:function(c,a,b,d,e){return d*((a=a/e-1)*a*a*a*a+1)+b},easeInOutQuint:function(c, -a,b,d,e){if((a/=e/2)<1)return d/2*a*a*a*a*a+b;return d/2*((a-=2)*a*a*a*a+2)+b},easeInSine:function(c,a,b,d,e){return-d*Math.cos(a/e*(Math.PI/2))+d+b},easeOutSine:function(c,a,b,d,e){return d*Math.sin(a/e*(Math.PI/2))+b},easeInOutSine:function(c,a,b,d,e){return-d/2*(Math.cos(Math.PI*a/e)-1)+b},easeInExpo:function(c,a,b,d,e){return a==0?b:d*Math.pow(2,10*(a/e-1))+b},easeOutExpo:function(c,a,b,d,e){return a==e?b+d:d*(-Math.pow(2,-10*a/e)+1)+b},easeInOutExpo:function(c,a,b,d,e){if(a==0)return b;if(a== -e)return b+d;if((a/=e/2)<1)return d/2*Math.pow(2,10*(a-1))+b;return d/2*(-Math.pow(2,-10*--a)+2)+b},easeInCirc:function(c,a,b,d,e){return-d*(Math.sqrt(1-(a/=e)*a)-1)+b},easeOutCirc:function(c,a,b,d,e){return d*Math.sqrt(1-(a=a/e-1)*a)+b},easeInOutCirc:function(c,a,b,d,e){if((a/=e/2)<1)return-d/2*(Math.sqrt(1-a*a)-1)+b;return d/2*(Math.sqrt(1-(a-=2)*a)+1)+b},easeInElastic:function(c,a,b,d,e){c=1.70158;var g=0,h=d;if(a==0)return b;if((a/=e)==1)return b+d;g||(g=e*0.3);if(h
      ").css({position:"absolute",visibility:"visible",left:-f*(h/d),top:-e*(i/c)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:h/d,height:i/c,left:g.left+f*(h/d)+(a.options.mode=="show"?(f-Math.floor(d/2))*(h/d):0),top:g.top+e*(i/c)+(a.options.mode=="show"?(e-Math.floor(c/2))*(i/c):0),opacity:a.options.mode=="show"?0:1}).animate({left:g.left+f*(h/d)+(a.options.mode=="show"?0:(f-Math.floor(d/2))*(h/d)),top:g.top+ -e*(i/c)+(a.options.mode=="show"?0:(e-Math.floor(c/2))*(i/c)),opacity:a.options.mode=="show"?1:0},a.duration||500);setTimeout(function(){a.options.mode=="show"?b.css({visibility:"visible"}):b.css({visibility:"visible"}).hide();a.callback&&a.callback.apply(b[0]);b.dequeue();j("div.ui-effects-explode").remove()},a.duration||500)})}})(jQuery); -;/* - * jQuery UI Effects Fade 1.8.9 - * - * 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/Effects/Fade - * - * Depends: - * jquery.effects.core.js - */ -(function(b){b.effects.fade=function(a){return this.queue(function(){var c=b(this),d=b.effects.setMode(c,a.options.mode||"hide");c.animate({opacity:d},{queue:false,duration:a.duration,easing:a.options.easing,complete:function(){a.callback&&a.callback.apply(this,arguments);c.dequeue()}})})}})(jQuery); -;/* - * jQuery UI Effects Fold 1.8.9 - * - * 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/Effects/Fold - * - * Depends: - * jquery.effects.core.js - */ -(function(c){c.effects.fold=function(a){return this.queue(function(){var b=c(this),j=["position","top","bottom","left","right"],d=c.effects.setMode(b,a.options.mode||"hide"),g=a.options.size||15,h=!!a.options.horizFirst,k=a.duration?a.duration/2:c.fx.speeds._default/2;c.effects.save(b,j);b.show();var e=c.effects.createWrapper(b).css({overflow:"hidden"}),f=d=="show"!=h,l=f?["width","height"]:["height","width"];f=f?[e.width(),e.height()]:[e.height(),e.width()];var i=/([0-9]+)%/.exec(g);if(i)g=parseInt(i[1], -10)/100*f[d=="hide"?0:1];if(d=="show")e.css(h?{height:0,width:g}:{height:g,width:0});h={};i={};h[l[0]]=d=="show"?f[0]:g;i[l[1]]=d=="show"?f[1]:0;e.animate(h,k,a.options.easing).animate(i,k,a.options.easing,function(){d=="hide"&&b.hide();c.effects.restore(b,j);c.effects.removeWrapper(b);a.callback&&a.callback.apply(b[0],arguments);b.dequeue()})})}})(jQuery); -;/* - * jQuery UI Effects Highlight 1.8.9 - * - * 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/Effects/Highlight - * - * Depends: - * jquery.effects.core.js - */ -(function(b){b.effects.highlight=function(c){return this.queue(function(){var a=b(this),e=["backgroundImage","backgroundColor","opacity"],d=b.effects.setMode(a,c.options.mode||"show"),f={backgroundColor:a.css("backgroundColor")};if(d=="hide")f.opacity=0;b.effects.save(a,e);a.show().css({backgroundImage:"none",backgroundColor:c.options.color||"#ffff99"}).animate(f,{queue:false,duration:c.duration,easing:c.options.easing,complete:function(){d=="hide"&&a.hide();b.effects.restore(a,e);d=="show"&&!b.support.opacity&& -this.style.removeAttribute("filter");c.callback&&c.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery); -;/* - * jQuery UI Effects Pulsate 1.8.9 - * - * 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/Effects/Pulsate - * - * Depends: - * jquery.effects.core.js - */ -(function(d){d.effects.pulsate=function(a){return this.queue(function(){var b=d(this),c=d.effects.setMode(b,a.options.mode||"show");times=(a.options.times||5)*2-1;duration=a.duration?a.duration/2:d.fx.speeds._default/2;isVisible=b.is(":visible");animateTo=0;if(!isVisible){b.css("opacity",0).show();animateTo=1}if(c=="hide"&&isVisible||c=="show"&&!isVisible)times--;for(c=0;c
      ').appendTo(document.body).addClass(a.options.className).css({top:d.top,left:d.left,height:b.innerHeight(),width:b.innerWidth(),position:"absolute"}).animate(c,a.duration,a.options.easing,function(){f.remove();a.callback&&a.callback.apply(b[0],arguments); -b.dequeue()})})}})(jQuery); -; \ No newline at end of file diff --git a/resources/library/interactivities/associer_sounds.wgt/js/script.js b/resources/library/interactivities/associer_sounds.wgt/js/script.js deleted file mode 100644 index d81a293d..00000000 --- a/resources/library/interactivities/associer_sounds.wgt/js/script.js +++ /dev/null @@ -1,784 +0,0 @@ -var sankoreLang = { - display: "Display", - edit: "Edit", - short_desc: "How many signals do you hear?", - add: "Add new block", - enter: "Enter your description here ..." -}; - -//main function -function start(){ - - $("#display_text").text(sankoreLang.display); - $("#edit_text").text(sankoreLang.edit); - - if(window.sankore){ - if(sankore.preference("associer_sound","")){ - var data = jQuery.parseJSON(sankore.preference("associer_sound","")); - importData(data); - } - else { - showExample(); - } - } - else - showExample(); - //events - if (window.widget) { - window.widget.onleave = function(){ - exportData(); - } - } - - $("#display, #edit").click(function(event){ - if(this.id == "display"){ - if(!$(this).hasClass("selected")){ - if(window.sankore) - sankore.enableDropOnWidget(false); - $(this).addClass("selected"); - $("#display_img").removeClass("red_point").addClass("green_point"); - $("#edit_img").removeClass("green_point").addClass("red_point"); - $("#edit").removeClass("selected"); - $(".add_block").remove(); - $(".cont").each(function(){ - var container = $(this); - var tmp_i = 0; - var tmp_array = []; - - container.find(".text_cont .audio_desc").removeAttr("contenteditable"); - container.find(".text_cont").removeAttr("ondragenter") - .removeAttr("ondragleave") - .removeAttr("ondragover") - .removeAttr("ondrop") - container.find(".add_img").remove(); - container.find(".close_cont").remove(); - container.find(".img_block").each(function(){ - if($(this).find("img").attr("src") != "img/drop_img.png"){ - $(this).find(".close_img").remove(); - $(this).find(".true_img").remove(); - $(this).find(".false_img").remove(); - $(this).removeAttr("ondragenter") - .removeAttr("ondragleave") - .removeAttr("ondragover") - .removeAttr("ondrop") - .addClass("img_gray"); - } else - $(this).remove(); - }); - var img_answers = $("
      ").insertAfter(container.find(".sub_cont")); - container.find(".img_block").each(function(){ - $(this).css("float",""); - tmp_array.push($(this)); - }); - tmp_array = shuffle(tmp_array); - for(var i = 0; i"); - var answers = ""; - $(this).parent().find(".imgs_answers .img_block").each(function(){ - answers += $(this).find("input").val(); - }); - if(tmp_cont.children()[0].tagName == "IMG") - tmp_cont.removeClass("imgs_answers_green") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_gray"); - else - if(tmp_cont.children().length == 1){ - if(tmp_cont.children().find("input").val() == "1") - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_red") - .addClass("imgs_answers_green"); - else - tmp_cont.removeClass("imgs_answers_gray") - .removeClass("imgs_answers_green") - .addClass("imgs_answers_red"); - } - } - } - } - }); - }); - } - } else { - if(!$(this).hasClass("selected")){ - if(window.sankore) - sankore.enableDropOnWidget(true); - $(this).addClass("selected"); - $("#edit_img").removeClass("red_point").addClass("green_point"); - $("#display_img").removeClass("green_point").addClass("red_point"); - $("#display").removeClass("selected"); - - $(".cont").each(function(){ - var container = $(this); - container.find(".imgs_answers").find(".img_block").each(function(){ - $(this).appendTo(container.find(".imgs_cont")) - }); - container.find(".imgs_answers").remove(); - $("
      ").appendTo(container); - container.find(".imgs_cont").css("background-color", "white"); - container.find(".text_cont .audio_desc").attr("contenteditable","true"); - container.find(".text_cont").attr("ondragenter", "return false;") - .attr("ondragleave", "$(this).removeClass('gray'); return false;") - .attr("ondragover", "$(this).addClass('gray'); return false;") - .attr("ondrop", "$(this).removeClass('gray'); return onDropAudio(this,event);"); - var add_img = $("
      "); - container.find(".img_block").each(function(){ - $(this).draggable("destroy"); - $(this).attr("ondragenter", "return false;") - .attr("ondragleave", "$(this).css(\"background-color\",\"white\"); return false;") - .attr("ondragover", "$(this).css(\"background-color\",\"#ccc\"); return false;") - .attr("ondrop", "$(this).css(\"background-color\",\"white\"); return onDropTarget(this,event);") - .css("float","left"); - $("
      ").appendTo($(this)); - if($(this).find("input").val() == "1"){ - $("
      ").appendTo($(this)); - } - else{ - $("
      ").appendTo($(this)); - } - }); - container.find(".imgs_cont").append(add_img) - }); - - $("
      " + sankoreLang.add + "
      ").appendTo("body"); - } - } - - $("audio").each(function(){ - this.pause(); - $(this).parent().find(":first-child").removeClass("stop").addClass("play"); - }); - - }); - - //add new block - $(".add_block").live("click", function(){ - addContainer(); - }); - - //adding new img - $(".add_img").live("click", function(){ - addImgBlock($(this)); - }); - - //deleting a block - $(".close_cont").live("click",function(){ - $(this).parent().remove(); - refreshBlockNumbers(); - }); - - //deleting the img block - $(".close_img").live("click", function(){ - var i = 0; - var tmp_obj = $(this).parent().parent(); - $(this).parent().remove(); - }); - - //correct image - $(".true_img").live("click",function(){ - $(this).parent().parent().find(".img_block").each(function(){ - $(this).find("input").val(0); - var tmp_div = $(this).find(".false_img"); - if(tmp_div) - tmp_div.removeClass("false_img").addClass("true_img"); - }) - $(this).parent().find("input").val(1); - $(this).removeClass("true_img").addClass("false_img"); - }); - - //wrong image - $(".false_img").live("click",function(){ - $(this).parent().find("input").val(0); - $(this).removeClass("false_img").addClass("true_img"); - }); - - //play/pause event - $(".play, .stop").live("click", function(){ - var tmp_audio = $(this); - var audio = tmp_audio.parent().find("audio").get(0); - if($(this).hasClass("play")){ - if(tmp_audio.parent().find("source").attr("src")){ - tmp_audio.removeClass("play").addClass("stop"); - var id = setInterval(function(){ - if(audio.currentTime == audio.duration){ - clearInterval(id); - tmp_audio.removeClass("stop").addClass("play"); - } - }, 10); - tmp_audio.parent().find("input").val(id); - audio.play(); - } - } else { - $(this).removeClass("stop").addClass("play"); - clearInterval( tmp_audio.parent().find("input").val()) - audio.pause(); - } - }); - - $(".replay").live("click", function(){ - var tmp_audio = $(this).prev(); - var audio = $(this).parent().find("audio").get(0); - if(tmp_audio.parent().find("source").attr("src")){ - $(this).prev().removeClass("play").addClass("stop"); - clearInterval($(this).parent().find("input").val()); - var id = setInterval(function(){ - if(audio.currentTime == audio.duration){ - clearInterval(id); - tmp_audio.removeClass("stop").addClass("play"); - } - }, 10); - tmp_audio.parent().find("input").val(id); - audio.currentTime = 0; - audio.play(); - } - }); -} - -//export -function exportData(){ - var array_to_export = []; - if($("#edit").hasClass("selected")){ - $(".cont").each(function(){ - var cont_obj = new Object(); - cont_obj.text = $(this).find(".audio_desc").text(); - cont_obj.audio = $(this).find("source").attr("src"); - cont_obj.mode = "edit"; - cont_obj.imgs = []; - $(this).find(".img_block").each(function(){ - var img_obj = new Object(); - img_obj.value = $(this).find("input").val(); - img_obj.link = $(this).find("img").attr("src"); - img_obj.ht = $(this).find("img").height(); - img_obj.wd = $(this).find("img").width(); - cont_obj.imgs.push(img_obj); - }); - array_to_export.push(cont_obj); - }); - } else { - $(".cont").each(function(){ - var cont_obj = new Object(); - cont_obj.text = $(this).find(".audio_desc").text(); - cont_obj.audio = $(this).find("source").attr("src"); - cont_obj.mode = "display"; - cont_obj.imgs = []; - if($(this).find(".imgs_answers").children()[0].tagName == "DIV"){ - var tmp_cont = $(this).find(".imgs_answers").find(".img_block"); - var img_obj = new Object(); - img_obj.value = tmp_cont.find("input").val(); - img_obj.link = tmp_cont.find("img").attr("src"); - img_obj.ht = tmp_cont.find("img").height(); - img_obj.wd = tmp_cont.find("img").width(); - img_obj.cont = "answers"; - cont_obj.imgs.push(img_obj); - } - $(this).find(".imgs_cont .img_block").each(function(){ - var img_obj = new Object(); - img_obj.value = $(this).find("input").val(); - img_obj.link = $(this).find("img").attr("src"); - img_obj.ht = $(this).find("img").height(); - img_obj.wd = $(this).find("img").width(); - img_obj.cont = "cont"; - cont_obj.imgs.push(img_obj); - }); - array_to_export.push(cont_obj); - }); - } - sankore.setPreference("associer_sound", JSON.stringify(array_to_export)); -} - -//import -function importData(data){ - - var tmp = 0; - for(var i in data){ - if(data[i].mode == "edit"){ - var tmp_array = []; - var container = $("
      "); - var sub_container = $("
      ").appendTo(container); - var imgs_answers = $("
      ").appendTo(container); - var imgs_container = $("
      ").appendTo(container); - - var number = $("
      "+ (++tmp) +"
      ").appendTo(sub_container); - var text = $("
      ").appendTo(sub_container); - var audio_block = $("
      ").appendTo(text); - $("
      ").appendTo(audio_block); - $("
      ").appendTo(audio_block); - var source = $("").attr("src", data[i].audio); - var audio = $("