Add Modello web sample applications; version up 03/22703/1
authorDongxing Liu <dongxing.x.liu@intel.com>
Tue, 10 Jun 2014 10:31:38 +0000 (18:31 +0800)
committerDongxing Liu <dongxing.x.liu@intel.com>
Tue, 10 Jun 2014 10:36:02 +0000 (18:36 +0800)
Add Modello web sample applications from upstream.

Change-Id: I06d639617122ab227f97f76b77e4d298d8619804
Signed-off-by: Dongxing Liu <dongxing.x.liu@intel.com>
1139 files changed:
package/changelog
package/pkginfo.manifest
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/description.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/description.xsl [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/AMB_Simulator_icon.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/Makefile [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/config.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/css/style.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/exampleSignalsSpec.json [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/index.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/ace.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/batteryDemo.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/demoScriptsController.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/lightsDemo.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/main.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/mode-javascript.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/propertiesController.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/randomizerDemo.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/scriptController.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/simulator.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/speedDemo.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/speedDemo2.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/theme-ambiance.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/tirePresureDemo.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/vehicle.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/worker-javascript.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/manifest.json [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/packaging/modello-ambsimulator.changes [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/packaging/modello-ambsimulator.spec [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/templates/fileSaveSubPanelDelegate.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/templates/propertiesListDelegate.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/templates/searchSubPanelDelegate.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/templates/signalGeneratorDelegate.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/tizen-app-template.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/tizen_32.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/tizen_64.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/description.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/description.xsl [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/AppManager_icon.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/DISCLAIMER [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/Makefile [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/config.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/css/carouselview.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/css/popularApps.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/css/store_library.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/css/style.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/index.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/js/main.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/js/packagerepository.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/js/popularController.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/js/store_library.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/manifest.json [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/packaging/modello-appmanager.changes [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/packaging/modello-appmanager.spec [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/templates/carouselDelegate.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/templates/detailApplicationContainer.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/templates/popularAppsContainer.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/templates/storeLibraryAppsDelegate.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/tizen-app-template.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/tizen_32.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Appmanager/tizen_64.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/description.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/description.xsl [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/Dashboard_icon.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/Makefile [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/components/statusBox/statusBox.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/components/statusBox/statusBox.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/config.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/css/style.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/index.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/js/dashboardControler.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/js/main.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/manifest.json [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/packaging/modello-dashboard.changes [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/packaging/modello-dashboard.spec [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/tizen-app-template.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/tizen_32.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Dashboard/tizen_64.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/description.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/description.xsl [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/Homescreen_icon.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/Makefile [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/config.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/dashboard_selector.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/default_icon.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_direction_left.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_facebook.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_speedmeter.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_twitter.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/music_selector.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/navigation_selector.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/phone_selector.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/radio_selector.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/social_selector.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/video_selector.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/style.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/dashboard_selector.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/default_icon.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_direction_left.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_facebook.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_speedmeter.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_twitter.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/music_selector.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/navigation_selector.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/phone_selector.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/radio_selector.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/social_selector.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/video_selector.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/index.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/js/actionCatcher.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/js/installedApps.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/js/keyControl.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/js/main.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/js/predefAppModel.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/manifest.json [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/packaging/modello-homescreen.changes [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/packaging/modello-homescreen.spec [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/systemd/Modello_Homescreen-launchpad-ready.path [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/systemd/Modello_Homescreen.service [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/systemd/modello_launcher.sh [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/tizen-app-template.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/tizen_32.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Homescreen/tizen_64.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/description.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/description.xsl [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/HVAC_icon.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/Makefile [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/config.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/index.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/.DS_Store [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/hvacControler.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/jquery-1.9.1.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/jquery.event.drag-2.2.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/jquery.infinite-drag-carousel_noinfinite.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/jquery.nouislider.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/jquery.nouislider.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/main.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery-ui-i18n.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-af.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ar-DZ.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ar.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-az.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-be.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-bg.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-bs.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ca.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-cs.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-cy-GB.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-da.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-de.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-el.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-en-AU.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-en-GB.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-en-NZ.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-eo.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-es.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-et.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-eu.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fa.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fi.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fo.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fr-CA.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fr-CH.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fr.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-gl.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-he.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-hi.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-hr.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-hu.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-hy.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-id.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-is.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-it.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ja.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ka.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-kk.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-km.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ko.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ky.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-lb.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-lt.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-lv.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-mk.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ml.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ms.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-nb.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-nl-BE.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-nl.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-nn.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-no.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-pl.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-pt-BR.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-pt.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-rm.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ro.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ru.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sk.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sl.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sq.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sr-SR.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sr.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sv.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ta.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-th.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-tj.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-tr.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-uk.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-vi.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-zh-CN.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-zh-HK.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-zh-TW.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery-ui.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.accordion.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.autocomplete.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.button.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.core.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.datepicker.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.dialog.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.draggable.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.droppable.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-blind.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-bounce.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-clip.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-drop.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-explode.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-fade.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-fold.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-highlight.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-pulsate.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-scale.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-shake.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-slide.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-transfer.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.menu.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.mouse.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.position.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.progressbar.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.resizable.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.selectable.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.slider.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.sortable.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.spinner.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.tabs.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.tooltip.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.widget.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/manifest.json [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/packaging/modello-hvac.changes [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/project/packaging/modello-hvac.spec [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/tizen-app-template.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/tizen_32.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Hvac/tizen_64.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/description.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/description.xsl [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/Makefile [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/Multimedia_Player_icon.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/components/infoPanel/infoPanel.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/components/spectrumAnalyzer/spectrumAnalyzer.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/components/timeProgressBar/timeProgressBar.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/config.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/css/music_library.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/css/style.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/audio-placeholder.jpg [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/container-placeholder.jpg [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/default-placeholder.jpg [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/video-placeholder.jpg [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/index.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/carousel.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/localcontent.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/main.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/mediacontent.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/multimedialibrary.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/remotecontent.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/utils.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/manifest.json [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/packaging/modello-multimediaplayer.changes [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/packaging/modello-multimediaplayer.spec [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/tizen-app-template.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/tizen_32.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/tizen_64.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/description.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/description.xsl [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/project/Makefile [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/project/Navigation_icon.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/project/config.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/project/css/style.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/project/images/icon_arrow_left.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/project/images/icon_arrow_right.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/project/images/icon_arrow_straight.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/project/index.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/project/js/main.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/project/js/v3_epoly.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/project/manifest.json [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/project/packaging/modello-nav.changes [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/project/packaging/modello-nav.spec [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/project/templates/placesListDelegate.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/tizen-app-template.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/tizen_32.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Nav/tizen_64.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/description.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/description.xsl [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/Makefile [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/Phone_icon.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/config.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/css/contacts_library.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/css/images/null.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/css/phone_style.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/data/contacts.json [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/data/history.json [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/data/photos/nophoto.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/index.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/js/callhistorycarousel.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/js/contacts_library.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/js/main.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/js/phone.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/manifest.json [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/packaging/modello-phone.changes [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/packaging/modello-phone.spec [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/templates/contactCarouselDelegate.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/templates/libraryContactDetailDelegate.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/project/templates/template-contacts.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/tizen-app-template.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/tizen_32.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_Phone/tizen_64.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/description.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/description.xsl [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/Makefile [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/SmartDeviceLink_icon.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/AppViews.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/Flags.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/SDLApp.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/StateManager.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/AppController.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/InfoController.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/MediaController.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/PhoneController.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/sdl/AppController.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/sdl/Controller.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/sdl/MediaController.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/sdl/NonMediaController.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/Button.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/Indicator.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/Label.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/List.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/MenuList.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/ScrollBar.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/ScrollableText.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/sdl/PresetButton.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/mixins/PresetEventCustom.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/mixins/PresetEvents.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/PhoneModel.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/abstract/RangedValue.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/media/CDModel.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/sdl/AppModel.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/sdl/MediaModel.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/sdl/Model.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/sdl/NonMediaModel.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/sdl/VehicleInfoModel.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/util/Audio.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/WarningView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/climateView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/bottomControls.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/controlButtons.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/statusClimateView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/statusInfoView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/statusMediaView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/statusNavigationView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/statusPhoneView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/topControls.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/homeView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/alertsView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/appsView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/calendarView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/devicelistView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/nonMediaView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/servicesView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/travelLinkView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/infoView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/media/common/LeftMenuView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/media/playerView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/media/sdl/controllsView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/media/sdlmediaView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/mediaView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/navigationView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/phone/dialpadView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/phoneView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/AlertManeuverPopUp.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/AlertPopUp.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/AudioPassThruPopUp.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/TTSPopUp.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/VRPopUp.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/VehicleInfoView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/driverDistraction.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/AbstractView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/interactionChoicesView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/optionsView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/scrollableMessage.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/sliderView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/tbtTurnList.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/turnByTurnView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/tbtClientStateView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/settingsView.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/alert.wav [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/initial.wav [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/listen.wav [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/positive.wav [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/say.wav [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/config.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/buttonControls.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/climate.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/ffw.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/fr.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/general.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/help.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/home.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/info.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/mcs.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/media.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/music_library.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/navigation.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/phone.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/sdl.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/settings.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/style.css [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/BasicCommunicationRPC.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/ButtonsRPC.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/Framework.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/RPCClient.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/RPCObserver.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/TTSRPC.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/UIRPC.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/VRRPC.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/VehicleInfoRPC.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/WebSocket.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/airflow_feet_wide.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/airflow_panel_wide.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_ind_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_ind_def.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_minus_control.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_plus_comtrol.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/ac_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/auto_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/defrost_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/maxac_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/recycle_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/windsheald_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/windsheald_max_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/heated_stearbutton_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/helpmode_climate_front.jpg [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/helpmode_climate_rear.jpg [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/helpmode_climate_simple.jpg [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_horiz_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_horiz_active_wheel.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_horiz_def.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_vert_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_vert_def.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/key.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/cooledseat_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/cooledstear_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/heatedseat_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/mytemp_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/minus_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/defrost_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/feet_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/panel_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/panelfeet_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/plus_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/power_button/power_icon.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/center_dot_rear_fan.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/full_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/heat_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/indicator_long_act.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/indicator_long_def.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/minus_icon.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/plus_icon.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_but_closed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_but_icon.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_but_opened.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_climat_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_control_but_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_lightning.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_blue.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_def.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_green.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/cool1.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/cool2.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/cool3.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/heat1.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/heat2.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/heat3.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/Thumbs.db [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/arr-r-disable.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/arr-r.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/arrow_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/bottom_cont_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/bt_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/bt_bg_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-28h-gray-active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-28h.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h-active-gray.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h-active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h-pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-98h.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button_active_blue.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button_large.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button_small.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/center-button-150.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/center-button.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/climate-status-bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/delim.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/divider.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/header_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ico_back.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ind_vert_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ind_vert_def.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ls_border.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/media-status-bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/minus-ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/nav-status-bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/okbut.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/okbut_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/page-back-button.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/phone-statusbar-bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/plus-ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_down.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_down_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_down_inactive.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_up.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_up_inactive.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/seat-act-led.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/seat-inact-led.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/skipbuttonbg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/skippbuttonbg_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/system_settings_btn_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/system_settings_btn_bg_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/system_settings_btn_h54.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/toggle.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/faq_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/faq_top_btn.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/faq_top_btn_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/help_devider.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/help_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/ind_vert_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/ind_vert_def.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/left_yellow_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/rear_controls_yellow_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/rear_yellow_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/white_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_189_138_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_198_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/Kopie von home_main_image.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/Thumbs.db [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/bottom_controlls_full.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/DownButton.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/DownButton_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/LeftButton.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/LeftButton_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/OkButton.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/OkButton_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/RightButton.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/RightButton_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/Thumbs.db [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/UpButton.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/UpButton_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/backGroundControllButtons.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/vr.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/vrImage.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/vr_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_main_image.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_nav_off.jpg [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_nav_off_blur.jpg [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone_blur_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone_end_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_screen.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_screen_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/Thumbs.db [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/btn_40_bg_active_invert.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/btn_50_bg_active_invert.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/callendar-btn.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/delim_40.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_arrowLock.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_arrowRight.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_assist.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_emergcyAndEnvelope.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_emergency.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_envelope.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_info_install.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_lock.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_vehicle.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_alerts_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_apps_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_alerts_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_apps_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_calendar_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_services_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_travelLink_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_services_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_services_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_travelLink_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_travelLink_sirius_logo.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/menu_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/view_info_calendar-help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/view_info_calendar.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/list_item_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/list_item_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/scrollbar/button-down-active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/scrollbar/button-up-active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/active_arrow.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/active_horiz_led.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/active_led.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ant.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/av-in_details.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgL.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgL_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgR.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgR_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgS.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgS_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bg_act.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/big-fall-image.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/big-lazerhorse-image.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/browse_all_button.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/browse_all_button_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bt-h-ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bt_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_alert.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_browse-all-sources.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_tag.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/button28_red_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-ico-home.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-next-btn.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-next-btn_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-prev-btn.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-prev-btn_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd_play_btn.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd_play_btn_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/direct_tune_bg_s.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/direct_tune_bg_s_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/disabled_arrow.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/disabled_player_controls.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/divider_o.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-actbg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-l-bg-pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-l-bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-rbg-pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-rbg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-sbg-pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-sbg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/hd-radio-ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/hd_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/ant_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/av-in_details_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/big-fall-image_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/big_help_lazerhorse_poster_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/bluetooth_content_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/broall_view_blur.jpg [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/bt-h-ico_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/cd-ico-home_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/cd_bro_view_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/fm_hd_info_ico_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hd-radio-ico_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hd_active_btn-blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hd_inactive_btn-blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hsir-ico_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/ico_whatIsPlaying_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/lazerhorse_poster_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/line-h-ico_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/more_info_list-blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/moreinfo_list_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/option_btn_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/others_browse_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/player_controls_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/preset_yellow_border.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/right_menu_btn_yellow_border.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/right_menu_groupbtn_yellow_border.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/right_menu_threebtngroup_yellow_border.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/sd-h-ico_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/sir_bro_view_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/small-fall-image_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/tag_alert_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/tag_help_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/titanium-logo-home-blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/titanium_logo_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/top_rightmenu_button_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/top_rightmenu_button_blur_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/usb-h-ico_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/hsir-ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico-play.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_am.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_antenna.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_arrow_down.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_arrow_up.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_back.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_browseAll.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_bt.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_cd.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_dog.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_fm.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_li.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_next.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_pause.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_plus.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_prew.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_sd.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_sirius.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_usb.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_whatIsPlaying.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/line-h-ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi1.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi2.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi3.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi4.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi5.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ls-item_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ls-item_bg_act.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_am_options_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_bt_options_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_cd_options_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_fm_options_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_sirius_options_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_usb_options_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/mi-image.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/passiv_horiz_led.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/passive_led.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/player_view.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sd-h-ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sd-image.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sirius-logo-h.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sirius-logo.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/small-fall-image.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/small-lazerhorse-image.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/usb-big-cover.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/usb-cover.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/usb-h-ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow-inact.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow_home.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow_home_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/back-arr.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/back_btn.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/back_btn_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/compas.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest-speak-ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest-time.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_adress.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_cityCenter.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_destination.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_emergency.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_favorites.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_freeWay.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_intersection.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_latLong.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_map.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_myHome.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_poi.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_CityCenter_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_CityCenter_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Emergency_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Emergency_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Favorites_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Favorites_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Freeway_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Freeway_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Intersection_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Intersection_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_LatitudeLongitude_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_LatitudeLongitude_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Map_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Map_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_MyHome_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_MyHome_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_POI_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_POI_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_PreviousStartPoint_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_PreviousStartPoint_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Previous_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Previous_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_StreetAddress_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_StreetAddress_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/distance.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/edit_tirn_list.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/flag.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/green_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/compas_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/direction_arrow_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/distance.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/distance_linedecor_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/map_view2_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/menu_btn_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/miles_button_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/mute_button_active_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/mute_button_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/nav_bg_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/navigation_destnation_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/repeate_btn_yellow_border.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/street_bar_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/top_menu_yellow_border.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/type_2_content_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/type_3_content_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/type_view_button_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/view_type1_button_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/view_type2_button_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/view_type3_button_blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/zoom_buttons_all_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/zoom_buttons_minus_disabled.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/zoom_buttons_plus_disabled.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help_nav_wrap.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ico_nav_statusbar.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ico_pushToTalk.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ind_horiz_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ind_horiz_def.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/left_arrow.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_0.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_1.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_2.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_3.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_0.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_1.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_2.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_3.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_0.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_1.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_2.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_3.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view2.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view2_with_icons.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view3.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view_btn_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view_btn_bg_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/mute.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_arrow.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_bg_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_help_led.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/red_arrow.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/right_arrow.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/small_ind_def.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/small_ind_yell.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/street.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/top_menu_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/top_menu_delim.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_d.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_h.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_n.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_view_btn_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_view_btn_bg_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_bg_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_in.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_in_dis.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_out.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_out_dis.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/bcs-item_bg_act.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/book-filter-bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/btn_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/btn_bg_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/controls_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/controls_bg_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/del.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/dial.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/dial_photo.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/end.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/history-filter-bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_bluetoothConnect.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_cellPhone.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_history.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_messaging.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_phone.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_phoneMelody.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_phonebook.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_questionMark.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_quickdial.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_settings.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_sound_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_star.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/incoming_call_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/center_btn.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/center_btn_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/left_btn.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/left_btn_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/right_btn.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/right_btn_pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/menu_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/menu_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/missed_call_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/msg-list-bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/msg-r-group-bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/number_area.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/outgoing_call_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone-ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_antena.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_button48_bg_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_button_bg_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_dialpad.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_history.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_menu.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_messaging.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_phonebook.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_quickdial.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_settings.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_info_sample.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_bluetoothDevices_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_internetDataConnection_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_phoneBook_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_phoneRinger_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_textMessageNotification_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/quick_dial_inact_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/signal-ico-blur.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/signal-ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/done_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/frd_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/pause.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/play.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/player_active_control.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/player_free_control.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/player_prog_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/prog_ind.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/rewind_ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/Warning.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/audio_icon.jpg [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/devices.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/new_apps.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/911-ico.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/Cushion_WhiteOutline_driver.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/Cushion_WhiteOutline_passenger.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/LowerLumbar_WhiteOutline_driver.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/LowerLumbar_WhiteOutline_passenger.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/MassageCircle.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/MiddleLumbar_WhiteOutline_driver.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/MiddleLumbar_WhiteOutline_passenger.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/SettingsVehicleEnableValetMode.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/TopLumbar_WhiteOutline_driver.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/TopLumbar_WhiteOutline_passenger.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/WhiteOutline_driver-lumbar-all.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/WhiteOutline_passenger-lumbar-all.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/arr-r-disable.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/arr-r.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-28h-gray-active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-28h.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-48h-gray-active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-48h.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-68h-pressed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-68h.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-98h.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/center-button.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/dial.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-all.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-low.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-bottom-selected.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-bottom.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-top-selected.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-top.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-mid.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-top.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_911assist.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_LED.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_ambientLighting.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_assist.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_backspace.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_clock.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_clock_plus_comtrol.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_display.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_distance.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_doorKeypadCode.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_enableValetMode.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_forbiddance.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_languages.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_licenses.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_minus_control.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_navigation.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_on-off-wide.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_on-off.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_phone.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_phone_off.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_player.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-minus-pannel-disabled.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-minus-pannel.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-minus-pannel_disabled.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-zero-minus-pannel.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_rearViewCamera.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_clock_toggle_12-24.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_clock_toggle_on-off.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_clock_toggle_time-date.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_avoidFerries.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_avoidFreeways.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_avoidTollroads.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_useHOV.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_white.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_sound.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_temperature.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_upArrow.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_vehicle.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_vehicleHealthReport.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_vehicle_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_voice.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_wireless.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ioc_backspace.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ls-item_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_bot-active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_bot_passanger-active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_top-active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_top_passenger-active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageBottom.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageHorisontal.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageRound.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageTop.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageVertical.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/mcsBlockBackArrow6_1.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/mcsBlockBackArrow6_2.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/menu_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-all.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-low.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-bottom-selected.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-bottom.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-top-selected.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-top.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-mid.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-top.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger_lumbar_cushion.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_down.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_down_active.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_down_inactive.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_up.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_up_inactive.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seat-left.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seat-right.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats-message-bottom.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats-message-top.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats-message.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seetings_help_VoiceCommandsList_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seetings_help_softwareLicenses_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_clock_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_VoiceCommandList_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_WhereAmI_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_WhereAmI_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_systemInformation_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_media_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_media_bluetoothDevices_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_avoidAreas_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_mapPreferences_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_navigationPreferences_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_routePreferences_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_trafficPreferences_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_system_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_system_keyboardLayout_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_system_settings_settings_system_installApplications_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_sound_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_amberLight_bg-help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_amberLight_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_enableValetMode_enterPIN_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_enableValetMode_popUp_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settints_settings_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/smll-ar-r.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/toggle_selected.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/g#439 tmc generic.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_acciden.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_difficultDriving.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_incident.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_reducesVisibility.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_roadClosed.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_roadWorks.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_smog.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_snow.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_traffic jam.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_trafficJam.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_turnOnYourRadio.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_weatherWarning.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trash.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_info_apps_911Assist_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_Sound_BalanceFader-help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_Sound_BalanceFader.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_display_bg.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_display_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_help_911Assist_bg_help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_help_WhereAmI-help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_help_WhereAmI.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_VoiceControl-help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_VoiceControl.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessInternet-help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessInternet.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessWifiInternet-help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessWifiInternet.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_DoorKeypadCode-help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_DoorKeypadCode.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-Passenger_massage_seat.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-driver_massage_seat.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-left-s.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-right-s.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj1.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj1_passenger.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj2.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj2_passenger.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_RearViewCamera-help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_RearViewCamera.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_VehicleHealthReport-help.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_VehicleHealthReport.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/index.html [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/js/main.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/lib/ember-1.0.pre.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/lib/ember-1.0.pre.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/lib/handlebars-1.0.0.beta.6.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/lib/jquery-1.7.2.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/lib/jquery-1.7.2.min.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/locale/eng.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/locale/fr.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/locale/locale.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/locale/rus.js [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/manifest.json [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/packaging/modello-sdl.changes [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/project/packaging/modello-sdl.spec [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/tizen-app-template.xml [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/tizen_32.png [new file with mode: 0644]
samples/web/Sample/Tizen/Web App/Modello_SDL/tizen_64.png [new file with mode: 0644]

index f9de540..8cf8665 100644 (file)
@@ -1,3 +1,7 @@
+* 3.0.12
+- Add Modello web sample applications
+== Dongxing Liu <dongxing.x.liu@intel.com> 2014-06-05
+
 * 3.0.11
 - Update Web Samples template
 == Dongxing Liu <dongxing.x.liu@intel.com> 2014-06-03
index 0c2d517..6feaf81 100644 (file)
@@ -1,4 +1,4 @@
-Version:3.0.11
+Version:3.0.12
 Maintainer: Ziv Chang<ziv.chang@intel.com>
 
 Package:ivi-3.0-web-sample
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/description.xml b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/description.xml
new file mode 100644 (file)
index 0000000..3ffa4b8
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<?xml-stylesheet type="text/xsl" href="description.xsl"?>\r
+<Overview version="1.0">\r
+  <SampleName>Modello_AMBSimulator</SampleName>\r
+  <SampleVersion>1.0.0</SampleVersion>\r
+  <Preview>Modello_AMBSimulator-snapshot.png</Preview>\r
+  <Description>\r
+         Modello AMBSimulator\r
+  </Description>\r
+</Overview>\r
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/description.xsl b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/description.xsl
new file mode 100644 (file)
index 0000000..1f4f57f
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+    This file provides a functionality to show template's description.xml in the project wizard.
+    Don't delete or move this file.
+ -->
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:template match="/">
+    <html>
+      <head>
+        <style type="text/css">
+          html,body {
+          font-family:Arial;
+          margin: 0px;
+          }
+          td
+          {
+          font-size:13px;
+          }
+          .samplename
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:26px;
+          background-color:#6d96ac;
+          }
+          .category
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:30px;
+          background-color:#6d96ac;
+          }
+          .contents
+          {
+          padding: 6px 10px 14px 10px;
+          }
+          table#widgets td
+          {
+          border: solid 1px #6d96ac;
+          border-collapse: collapse;
+          }
+          .widgetname
+          {
+          font-weight: bold;
+          text-align: center;
+          width: 20%;
+          word-break:break-all;
+          }
+          table#references td
+          {
+          width: 100%;
+          border: 0px;
+          border-spacing: 0px;
+          padding: 5px;
+          }
+          .refname
+          {
+          width: 100%;
+          font-weight: bold;
+          }
+        </style>
+      </head>
+      <body>
+        <table width="400px" border="0" cellspacing="0">
+          <tr>
+            <td class="samplename" align="center">
+              <xsl:value-of select="Overview/SampleName"/>
+              <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
+                         <!--
+              <xsl:value-of select="Overview/SampleVersion"/>
+                         -->
+            </td>
+          </tr>
+          <tr bgcolor="#FFFFFF">
+            <td class="contents">
+                         <strong>Type</strong>: JavaScript
+                         <p>
+              <xsl:value-of select="Overview/Description"/>
+                         </p>
+            </td>
+          </tr>
+          <tr>
+            <td align="center" bgcolor="#FFFFFF" height="260px">
+              <img>
+                <xsl:attribute name="src">
+                  <xsl:value-of select="Overview/Preview"/>
+                </xsl:attribute>
+              </img>
+            </td>
+          </tr>
+        </table>
+      </body>
+    </html>
+  </xsl:template>
+
+</xsl:stylesheet>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/AMB_Simulator_icon.png b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/AMB_Simulator_icon.png
new file mode 100644 (file)
index 0000000..2fdeb53
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/AMB_Simulator_icon.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/Makefile b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/Makefile
new file mode 100644 (file)
index 0000000..5a479f9
--- /dev/null
@@ -0,0 +1,20 @@
+PROJECT = Modello_AMBSimulator
+
+VERSION := 0.0.2
+PACKAGE = $(PROJECT)-$(VERSION)
+
+INSTALL_FILES = $(PROJECT).wgt
+INSTALL_DIR = ${DESTDIR}/opt/usr/apps/.preinstallWidgets
+
+wgtPkg:
+       zip -r $(PROJECT).wgt config.xml manifest.json css AMB_Simulator_icon.png  index.html  js templates
+
+install:
+       @echo "Installing AMBSimulator, stand by..."
+       mkdir -p $(INSTALL_DIR)/
+       mkdir -p ${DESTDIR}/opt/usr/apps/_common/icons
+       cp $(PROJECT).wgt $(INSTALL_DIR)/
+       cp AMB_Simulator_icon.png ${DESTDIR}/opt/usr/apps/_common/icons
+
+dist:
+       tar czf ../$(PACKAGE).tar.bz2 .
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/config.xml b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/config.xml
new file mode 100644 (file)
index 0000000..89ff98d
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://com.intel.tizen/ambsimulator" version="1.0.0" viewmodes="fullscreen">
+    <tizen:application id="Modello002.AMBSimulator" package="Modello002" required_version="2.1"/>
+    <content src="index.html"/>
+    <icon src="icon.png"/>
+    <name>Modello AMB Simulator</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
+    <tizen:privilege name="http://tizen.org/privilege/content.read" />
+    <tizen:privilege name="http://tizen.org/privilege/speech" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap" />
+    <tizen:setting screen-orientation="portrait" context-menu="enable" background-support="disable" encryption="disable" install-location="auto"/>
+</widget>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/css/style.css b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/css/style.css
new file mode 100644 (file)
index 0000000..6760a58
--- /dev/null
@@ -0,0 +1,153 @@
+#textArea {
+       width: 720px;
+       height: 740px;
+       top: 150px;
+       position: absolute;
+       color: rgb(0, 0, 0);
+       z-index: 40;
+    resize: none;
+    -webkit-user-select: text;
+}
+
+.ambConsolePanel {
+       position: absolute;
+       top: 890px;
+       width: 700px;
+       height: 30px;
+       padding: 0 10px;
+}
+
+.ambConsolePanel span {
+       line-height: 30px;
+}
+
+.ambConsolePanel .button {
+       height: 25px;
+       width: 80px;
+}
+
+.ambConsolePanel .button .buttonText {
+       top: -23px
+}
+
+.ambConsole .logItem {
+       width: 100%;
+       display: block;
+}
+
+#clearConsoleBtn {
+       position: absolute;
+       top: 3px;
+       right: 10px;
+}
+
+.ambConsole {
+       position: absolute;
+       top: 920px;
+       width: 700px;
+       height: 160px;
+       overflow-x: hidden;
+       overflow-y: scroll;
+       margin: 10px 10px 0 10px;
+}
+
+.ambConsole .timestamp {
+       float: right;
+       color: rgb(120, 120, 120);
+}
+
+.button {
+       width: 140px;
+       height: 45px;
+}
+
+.buttonOpacity {
+       opacity: 0.5;
+}
+
+.button .buttonText {
+       position: relative;
+       text-align: center;
+       top: -32px
+}
+
+#libraryButton {
+       top: 94px;
+}
+
+#buttonPanel {
+       top: 80px;
+       position: absolute;
+}
+
+#loadConfigButton, #saveConfigButton, #runConfigButton {
+       text-transform: uppercase;
+       float: left;
+       margin: 16px 8px 0 8px;
+}
+
+.libraryTopSubPanel {
+       padding-left: 20px
+}
+
+.propertyDetail {
+       padding: 20px;
+}
+
+.propertyDetail .inputBox .input {
+       width: 140px;
+       height: 40px;
+       padding: 0 10px;
+}
+
+.zonesContainer {
+       position: relative;
+       width: 200px;
+       height: 200px;
+       text-align: center;
+}
+
+.zone {
+       width: 25%;
+}
+
+.marginBtm20 {
+       margin-bottom: 20px;
+}
+
+.propertyText {
+       padding: 10px;
+}
+
+.propertyDetailTwoBtnWrapper {
+       width: 290px;
+       margin: auto;
+}
+
+.propertyDetailBtn {
+       position: absolute;
+       text-transform: uppercase;
+}
+
+.userSelectable {
+       -webkit-user-select: text;
+}
+
+.wrongValue {
+       background-color: rgb(255, 60, 60);
+}
+
+.subPanelElement {
+       float: left;
+}
+
+span.subPanelElement {
+       line-height: 45px;
+}
+
+.input.subPanelElement {
+       width: 240px;
+       height: 45px;
+       margin: auto 30px;
+       padding-right: 25px;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/exampleSignalsSpec.json b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/exampleSignalsSpec.json
new file mode 100644 (file)
index 0000000..dcd62ff
--- /dev/null
@@ -0,0 +1,41 @@
+{
+       "sources":
+       [
+               {
+                       "source":
+                       {
+                               "guid": "CAN",
+                               "index": 1
+                       },
+                       "signals":
+                       [
+                               {
+                                       "name": "SeatHeater",
+                                       "can_id": 1,
+                                       "lastValue": 0,
+                                       "hasZones": [9, 5]
+                               }, {
+                                       "name": "SeatHeater1",
+                                       "can_id": 1,
+                                       "lastValue": 0,
+                                       "hasZones": [9, 5, 8]
+                               }
+                       ]
+               }, {
+                       "source":
+                       {
+                               "guid": "OBD",
+                               "index": 1
+                       },
+                       "signals":
+                       [
+                               {
+                                       "name": "SeatHeaterOBD",
+                                       "can_id": 1,
+                                       "lastValue": 0,
+                                       "hasZones": [9, 5]
+                               }
+                       ]
+               }
+       ]
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/index.html b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/index.html
new file mode 100644 (file)
index 0000000..088b187
--- /dev/null
@@ -0,0 +1,93 @@
+<!DOCTYPE HTML>
+<html>
+
+<head>
+       <meta name="viewport" content="width=720, height=1280, user-scalable=no" />
+       <script type="text/javascript" src="./css/car/components/jQuery/jquery-1.8.2.js"></script>
+       <link rel="stylesheet" href="./css/car/car.css" />
+       <script type="text/javascript"  src="./css/car/components/knockout/knockout.js"></script>
+
+       <link rel="stylesheet" href="./css/car/components/incomingCall/incomingCall.css" />
+
+       <script type='text/javascript' src='./js/services/bootstrap.js'></script>
+
+       <script type="text/javascript" src='./css/car/car.js'></script>
+       <script type="text/javascript" src="./css/car/components/jsViews/jsrender.js"></script>
+
+       <script type="text/javascript" src="./css/car/components/async/async.js"></script>
+       <script type="text/javascript" src="./css/car/components/tween/tween.min.js"></script>
+
+       <script type="text/javascript" src="./css/car/components/jsViews/template.js"></script>
+
+       <script type='text/javascript' src='./css/car/components/boxCaption/boxCaption.js'></script>
+       <link rel="stylesheet" href="./css/car/components/boxCaption/boxCaption.css" />
+
+       <script type='text/javascript' src='./css/car/components/topBarIcons/topBarIcons.js'></script>
+       <link rel="stylesheet" href="./css/car/components/topBarIcons/topBarIcons.css" />
+
+       <script type="text/javascript" src="./css/car/components/bottomPanel/bottomPanel.js"></script>
+
+       <script type="text/javascript" src="./css/car/components/progressBar/progressBar.js"></script>
+       <link rel="stylesheet" href="./css/car/components/progressBar/progressBar.css" />
+
+       <script type="text/javascript" src='./css/car/components/alphabetBookmark/alphabetBookmark.js'></script>
+       <link rel="stylesheet" href="./css/car/components/alphabetBookmark/alphabetBookmark.css" />
+
+       <link rel="stylesheet" type="text/css" href="./css/style.css" />
+       <script type="text/javascript" src="./js/ace.js"  charset="utf-8"></script>
+       <script type="text/javascript" src="./js/vehicle.js"  charset="utf-8"></script>
+       <script type="text/javascript" src="./js/demoScriptsController.js"  charset="utf-8"></script>
+       <script type="text/javascript" src="./js/scriptController.js"  charset="utf-8"></script>
+       <script type="text/javascript" src="./js/propertiesController.js"  charset="utf-8"></script>
+       <script type="text/javascript" src="./js/simulator.js"  charset="utf-8"></script>
+       <script type="text/javascript" src="./js/main.js"  charset="utf-8"></script>
+
+       <script type="text/javascript" src='./css/car/components/library/library.js'></script>
+       <link rel="stylesheet" href="./css/car/components/library/library.css" />
+
+       <title>AMB Simulator</title>
+</head>
+
+<body>
+
+
+       <div id="wrapper" class="wrapper">
+               <div id="topBarIcons"></div>
+
+               <div id="libraryButton"
+                       class="libraryButton fontSizeSmaller fontWeightBold fontColorNormal">PROPERTIES</div>
+
+               <div id="buttonPanel">
+                       <div id="loadConfigButton" class="button">
+                               <div class="bgColorThemeTransparent boxShadowInset button buttonOpacity"></div>
+                               <div class="buttonText fontColorNormal fontSizeSmaller fontWeightBold">Load script</div>
+                       </div>
+                       <div id="saveConfigButton" class="button">
+                               <div class="bgColorThemeTransparent boxShadowInset button buttonOpacity"></div>
+                               <div class="buttonText fontColorNormal fontSizeSmaller fontWeightBold">Save script</div>
+                       </div>
+                       <div id="runConfigButton" class="button">
+                               <div class="bgColorThemeTransparent boxShadowInset button buttonOpacity"></div>
+                               <div class="buttonText fontColorNormal fontSizeSmaller fontWeightBold">Run script</div>
+                       </div>
+               </div>
+
+               <!--  <div id="textArea" class="fontSizeSmaller" ></div>  -->
+               <textarea id="textArea" class="fontSizeSmaller userSelectable"></textarea>
+               <div class="fontColorNormal fontSizeSmaller bgColorThemeTransparent ambConsolePanel">
+                       <span>amblog:</span>
+                       <div id="clearConsoleBtn" class="button">
+                               <div class="bgColorThemeTransparent boxShadowInset button buttonOpacity"></div>
+                               <div class="buttonText fontColorNormal fontSizeSmaller fontWeightBold">Clear</div>
+                       </div>
+               </div>
+               <div id="ambConsole" class="ambConsole fontColorNormal fontSizeSmaller">
+               </div>
+       </div>
+
+       <div id="properties" class="library pageBgColorNormalTransparent"></div>
+
+       <div id="bottomPanel" class="bottomPanel bottomPanelImg"></div>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/ace.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/ace.js
new file mode 100644 (file)
index 0000000..d66e0b2
--- /dev/null
@@ -0,0 +1,10 @@
+(function(){function o(e){var i=function(e,t){return r("",e,t)},s=t;e&&(t[e]||(t[e]={}),s=t[e]);if(!s.define||!s.define.packaged)n.original=s.define,s.define=n,s.define.packaged=!0;if(!s.require||!s.require.packaged)r.original=s.require,s.require=i,s.require.packaged=!0}var e="",t=function(){return this}();if(!e&&typeof requirejs!="undefined")return;var n=function(e,t,r){if(typeof e!="string"){n.original?n.original.apply(window,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(r=t),n.modules||(n.modules={},n.payloads={}),n.payloads[e]=r,n.modules[e]=null},r=function(e,t,n){if(Object.prototype.toString.call(t)==="[object Array]"){var i=[];for(var o=0,u=t.length;o<u;++o){var a=s(e,t[o]);if(!a&&r.original)return r.original.apply(window,arguments);i.push(a)}n&&n.apply(null,i)}else{if(typeof t=="string"){var f=s(e,t);return!f&&r.original?r.original.apply(window,arguments):(n&&n(),f)}if(r.original)return r.original.apply(window,arguments)}},i=function(e,t){if(t.indexOf("!")!==-1){var n=t.split("!");return i(e,n[0])+"!"+i(e,n[1])}if(t.charAt(0)=="."){var r=e.split("/").slice(0,-1).join("/");t=r+"/"+t;while(t.indexOf(".")!==-1&&s!=t){var s=t;t=t.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return t},s=function(e,t){t=i(e,t);var s=n.modules[t];if(!s){s=n.payloads[t];if(typeof s=="function"){var o={},u={id:t,uri:"",exports:o,packaged:!0},a=function(e,n){return r(t,e,n)},f=s(a,o,u);o=f||u.exports,n.modules[t]=o,delete n.payloads[t]}s=n.modules[t]=o||s}return s};o(e)})(),define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/multi_select","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/mode/folding/fold_mode","ace/theme/textmate","ace/config"],function(e,t,n){e("./lib/fixoldbrowsers");var r=e("./lib/dom"),i=e("./lib/event"),s=e("./editor").Editor,o=e("./edit_session").EditSession,u=e("./undomanager").UndoManager,a=e("./virtual_renderer").VirtualRenderer,f=e("./multi_select").MultiSelect;e("./worker/worker_client"),e("./keyboard/hash_handler"),e("./placeholder"),e("./mode/folding/fold_mode"),e("./theme/textmate"),t.config=e("./config"),t.require=e,t.edit=function(e){if(typeof e=="string"){var n=e,e=document.getElementById(n);if(!e)throw new Error("ace.edit can't find div #"+n)}if(e.env&&e.env.editor instanceof s)return e.env.editor;var o=t.createEditSession(r.getInnerText(e));e.innerHTML="";var u=new s(new a(e));new f(u),u.setSession(o);var l={document:o,editor:u,onResize:u.resize.bind(u,null)};return i.addListener(window,"resize",l.onResize),u.on("destroy",function(){i.removeListener(window,"resize",l.onResize)}),e.env=u.env=l,u},t.createEditSession=function(e,t){var n=new o(e,t);return n.setUndoManager(new u),n},t.EditSession=o,t.UndoManager=u}),define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],function(e,t,n){e("./regexp"),e("./es5-shim")}),define("ace/lib/regexp",["require","exports","module"],function(e,t,n){function o(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}function u(e,t,n){if(Array.prototype.indexOf)return e.indexOf(t,n);for(var r=n||0;r<e.length;r++)if(e[r]===t)return r;return-1}var r={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},i=r.exec.call(/()??/,"")[1]===undefined,s=function(){var e=/^/g;return r.test.call(e,""),!e.lastIndex}();if(s&&i)return;RegExp.prototype.exec=function(e){var t=r.exec.apply(this,arguments),n,a;if(typeof e=="string"&&t){!i&&t.length>1&&u(t,"")>-1&&(a=RegExp(this.source,r.replace.call(o(this),"g","")),r.replace.call(e.slice(t.index),a,function(){for(var e=1;e<arguments.length-2;e++)arguments[e]===undefined&&(t[e]=undefined)}));if(this._xregexp&&this._xregexp.captureNames)for(var f=1;f<t.length;f++)n=this._xregexp.captureNames[f-1],n&&(t[n]=t[f]);!s&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--}return t},s||(RegExp.prototype.test=function(e){var t=r.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t})}),define("ace/lib/es5-shim",["require","exports","module"],function(e,t,n){function r(){}function w(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(t){}}function H(e){return e=+e,e!==e?e=0:e!==0&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}function B(e){var t=typeof e;return e===null||t==="undefined"||t==="boolean"||t==="number"||t==="string"}function j(e){var t,n,r;if(B(e))return e;n=e.valueOf;if(typeof n=="function"){t=n.call(e);if(B(t))return t}r=e.toString;if(typeof r=="function"){t=r.call(e);if(B(t))return t}throw new TypeError}Function.prototype.bind||(Function.prototype.bind=function(t){var n=this;if(typeof n!="function")throw new TypeError("Function.prototype.bind called on incompatible "+n);var i=u.call(arguments,1),s=function(){if(this instanceof s){var e=n.apply(this,i.concat(u.call(arguments)));return Object(e)===e?e:this}return n.apply(t,i.concat(u.call(arguments)))};return n.prototype&&(r.prototype=n.prototype,s.prototype=new r,r.prototype=null),s});var i=Function.prototype.call,s=Array.prototype,o=Object.prototype,u=s.slice,a=i.bind(o.toString),f=i.bind(o.hasOwnProperty),l,c,h,p,d;if(d=f(o,"__defineGetter__"))l=i.bind(o.__defineGetter__),c=i.bind(o.__defineSetter__),h=i.bind(o.__lookupGetter__),p=i.bind(o.__lookupSetter__);if([1,2].splice(0).length!=2)if(!function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t=[],n;t.splice.apply(t,e(20)),t.splice.apply(t,e(26)),n=t.length,t.splice(5,0,"XXX"),n+1==t.length;if(n+1==t.length)return!0}())Array.prototype.splice=function(e,t){var n=this.length;e>0?e>n&&(e=n):e==void 0?e=0:e<0&&(e=Math.max(n+e,0)),e+t<n||(t=n-e);var r=this.slice(e,e+t),i=u.call(arguments,2),s=i.length;if(e===n)s&&this.push.apply(this,i);else{var o=Math.min(t,n-e),a=e+o,f=a+s-o,l=n-a,c=n-o;if(f<a)for(var h=0;h<l;++h)this[f+h]=this[a+h];else if(f>a)for(h=l;h--;)this[f+h]=this[a+h];if(s&&e===c)this.length=c,this.push.apply(this,i);else{this.length=c+s;for(h=0;h<s;++h)this[e+h]=i[h]}}return r};else{var v=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?v.apply(this,[e===void 0?0:e,t===void 0?this.length-e:t].concat(u.call(arguments,2))):[]}}Array.isArray||(Array.isArray=function(t){return a(t)=="[object Array]"});var m=Object("a"),g=m[0]!="a"||!(0 in m);Array.prototype.forEach||(Array.prototype.forEach=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=arguments[1],s=-1,o=r.length>>>0;if(a(t)!="[object Function]")throw new TypeError;while(++s<o)s in r&&t.call(i,r[s],s,n)}),Array.prototype.map||(Array.prototype.map=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0,s=Array(i),o=arguments[1];if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");for(var u=0;u<i;u++)u in r&&(s[u]=t.call(o,r[u],u,n));return s}),Array.prototype.filter||(Array.prototype.filter=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0,s=[],o,u=arguments[1];if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");for(var f=0;f<i;f++)f in r&&(o=r[f],t.call(u,o,f,n)&&s.push(o));return s}),Array.prototype.every||(Array.prototype.every=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0,s=arguments[1];if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");for(var o=0;o<i;o++)if(o in r&&!t.call(s,r[o],o,n))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0,s=arguments[1];if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");for(var o=0;o<i;o++)if(o in r&&t.call(s,r[o],o,n))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0;if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");if(!i&&arguments.length==1)throw new TypeError("reduce of empty array with no initial value");var s=0,o;if(arguments.length>=2)o=arguments[1];else do{if(s in r){o=r[s++];break}if(++s>=i)throw new TypeError("reduce of empty array with no initial value")}while(!0);for(;s<i;s++)s in r&&(o=t.call(void 0,o,r[s],s,n));return o}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0;if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");if(!i&&arguments.length==1)throw new TypeError("reduceRight of empty array with no initial value");var s,o=i-1;if(arguments.length>=2)s=arguments[1];else do{if(o in r){s=r[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}while(!0);do o in this&&(s=t.call(void 0,s,r[o],o,n));while(o--);return s});if(!Array.prototype.indexOf||[0,1].indexOf(1,2)!=-1)Array.prototype.indexOf=function(t){var n=g&&a(this)=="[object String]"?this.split(""):F(this),r=n.length>>>0;if(!r)return-1;var i=0;arguments.length>1&&(i=H(arguments[1])),i=i>=0?i:Math.max(0,r+i);for(;i<r;i++)if(i in n&&n[i]===t)return i;return-1};if(!Array.prototype.lastIndexOf||[0,1].lastIndexOf(0,-3)!=-1)Array.prototype.lastIndexOf=function(t){var n=g&&a(this)=="[object String]"?this.split(""):F(this),r=n.length>>>0;if(!r)return-1;var i=r-1;arguments.length>1&&(i=Math.min(i,H(arguments[1]))),i=i>=0?i:r-Math.abs(i);for(;i>=0;i--)if(i in n&&t===n[i])return i;return-1};Object.getPrototypeOf||(Object.getPrototypeOf=function(t){return t.__proto__||(t.constructor?t.constructor.prototype:o)});if(!Object.getOwnPropertyDescriptor){var y="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(t,n){if(typeof t!="object"&&typeof t!="function"||t===null)throw new TypeError(y+t);if(!f(t,n))return;var r,i,s;r={enumerable:!0,configurable:!0};if(d){var u=t.__proto__;t.__proto__=o;var i=h(t,n),s=p(t,n);t.__proto__=u;if(i||s)return i&&(r.get=i),s&&(r.set=s),r}return r.value=t[n],r}}Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(t){return Object.keys(t)});if(!Object.create){var b;Object.prototype.__proto__===null?b=function(){return{__proto__:null}}:b=function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(t,n){var r;if(t===null)r=b();else{if(typeof t!="object")throw new TypeError("typeof prototype["+typeof t+"] != 'object'");var i=function(){};i.prototype=t,r=new i,r.__proto__=t}return n!==void 0&&Object.defineProperties(r,n),r}}if(Object.defineProperty){var E=w({}),S=typeof document=="undefined"||w(document.createElement("div"));if(!E||!S)var x=Object.defineProperty}if(!Object.defineProperty||x){var T="Property description must be an object: ",N="Object.defineProperty called on non-object: ",C="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(t,n,r){if(typeof t!="object"&&typeof t!="function"||t===null)throw new TypeError(N+t);if(typeof r!="object"&&typeof r!="function"||r===null)throw new TypeError(T+r);if(x)try{return x.call(Object,t,n,r)}catch(i){}if(f(r,"value"))if(d&&(h(t,n)||p(t,n))){var s=t.__proto__;t.__proto__=o,delete t[n],t[n]=r.value,t.__proto__=s}else t[n]=r.value;else{if(!d)throw new TypeError(C);f(r,"get")&&l(t,n,r.get),f(r,"set")&&c(t,n,r.set)}return t}}Object.defineProperties||(Object.defineProperties=function(t,n){for(var r in n)f(n,r)&&Object.defineProperty(t,r,n[r]);return t}),Object.seal||(Object.seal=function(t){return t}),Object.freeze||(Object.freeze=function(t){return t});try{Object.freeze(function(){})}catch(k){Object.freeze=function(t){return function(n){return typeof n=="function"?n:t(n)}}(Object.freeze)}Object.preventExtensions||(Object.preventExtensions=function(t){return t}),Object.isSealed||(Object.isSealed=function(t){return!1}),Object.isFrozen||(Object.isFrozen=function(t){return!1}),Object.isExtensible||(Object.isExtensible=function(t){if(Object(t)===t)throw new TypeError;var n="";while(f(t,n))n+="?";t[n]=!0;var r=f(t,n);return delete t[n],r});if(!Object.keys){var L=!0,A=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],O=A.length;for(var M in{toString:null})L=!1;Object.keys=function I(e){if(typeof e!="object"&&typeof e!="function"||e===null)throw new TypeError("Object.keys called on a non-object");var I=[];for(var t in e)f(e,t)&&I.push(t);if(L)for(var n=0,r=O;n<r;n++){var i=A[n];f(e,i)&&I.push(i)}return I}}Date.now||(Date.now=function(){return(new Date).getTime()});var _="      \n\v\f\r   ᠎              \u2028\u2029";if(!String.prototype.trim||_.trim()){_="["+_+"]";var D=new RegExp("^"+_+_+"*"),P=new RegExp(_+_+"*$");String.prototype.trim=function(){return String(this).replace(D,"").replace(P,"")}}var F=function(e){if(e==null)throw new TypeError("can't convert "+e+" to object");return Object(e)}}),define("ace/lib/dom",["require","exports","module"],function(e,t,n){if(typeof document=="undefined")return;var r="http://www.w3.org/1999/xhtml";t.getDocumentHead=function(e){return e||(e=document),e.head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||r,e):document.createElement(e)},t.hasCssClass=function(e,t){var n=e.className.split(/\s+/g);return n.indexOf(t)!==-1},t.addCssClass=function(e,n){t.hasCssClass(e,n)||(e.className+=" "+n)},t.removeCssClass=function(e,t){var n=e.className.split(/\s+/g);for(;;){var r=n.indexOf(t);if(r==-1)break;n.splice(r,1)}e.className=n.join(" ")},t.toggleCssClass=function(e,t){var n=e.className.split(/\s+/g),r=!0;for(;;){var i=n.indexOf(t);if(i==-1)break;r=!1,n.splice(i,1)}return r&&n.push(t),e.className=n.join(" "),r},t.setCssClass=function(e,n,r){r?t.addCssClass(e,n):t.removeCssClass(e,n)},t.hasCssString=function(e,t){var n=0,r;t=t||document;if(t.createStyleSheet&&(r=t.styleSheets)){while(n<r.length)if(r[n++].owningElement.id===e)return!0}else if(r=t.getElementsByTagName("style"))while(n<r.length)if(r[n++].id===e)return!0;return!1},t.importCssString=function(n,i,s){s=s||document;if(i&&t.hasCssString(i,s))return null;var o;s.createStyleSheet?(o=s.createStyleSheet(),o.cssText=n,i&&(o.owningElement.id=i)):(o=s.createElementNS?s.createElementNS(r,"style"):s.createElement("style"),o.appendChild(s.createTextNode(n)),i&&(o.id=i),t.getDocumentHead(s).appendChild(o))},t.importCssStylsheet=function(e,n){if(n.createStyleSheet)n.createStyleSheet(e);else{var r=t.createElement("link");r.rel="stylesheet",r.href=e,t.getDocumentHead(n).appendChild(r)}},t.getInnerWidth=function(e){return parseInt(t.computedStyle(e,"paddingLeft"),10)+parseInt(t.computedStyle(e,"paddingRight"),10)+e.clientWidth},t.getInnerHeight=function(e){return parseInt(t.computedStyle(e,"paddingTop"),10)+parseInt(t.computedStyle(e,"paddingBottom"),10)+e.clientHeight},window.pageYOffset!==undefined?(t.getPageScrollTop=function(){return window.pageYOffset},t.getPageScrollLeft=function(){return window.pageXOffset}):(t.getPageScrollTop=function(){return document.body.scrollTop},t.getPageScrollLeft=function(){return document.body.scrollLeft}),window.getComputedStyle?t.computedStyle=function(e,t){return t?(window.getComputedStyle(e,"")||{})[t]||"":window.getComputedStyle(e,"")||{}}:t.computedStyle=function(e,t){return t?e.currentStyle[t]:e.currentStyle},t.scrollbarWidth=function(e){var n=t.createElement("ace_inner");n.style.width="100%",n.style.minWidth="0px",n.style.height="200px",n.style.display="block";var r=t.createElement("ace_outer"),i=r.style;i.position="absolute",i.left="-10000px",i.overflow="hidden",i.width="200px",i.minWidth="0px",i.height="150px",i.display="block",r.appendChild(n);var s=e.documentElement;s.appendChild(r);var o=n.offsetWidth;i.overflow="scroll";var u=n.offsetWidth;return o==u&&(u=r.clientWidth),s.removeChild(r),o-u},t.setInnerHtml=function(e,t){var n=e.cloneNode(!1);return n.innerHTML=t,e.parentNode.replaceChild(n,e),n},"textContent"in document.documentElement?(t.setInnerText=function(e,t){e.textContent=t},t.getInnerText=function(e){return e.textContent}):(t.setInnerText=function(e,t){e.innerText=t},t.getInnerText=function(e){return e.innerText}),t.getParentWindow=function(e){return e.defaultView||e.parentWindow}}),define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent","ace/lib/dom"],function(e,t,n){function o(e,t,n){var s=0;!i.isOpera||"KeyboardEvent"in window||!i.isMac?s=0|(t.ctrlKey?1:0)|(t.altKey?2:0)|(t.shiftKey?4:0)|(t.metaKey?8:0):s=0|(t.metaKey?1:0)|(t.altKey?2:0)|(t.shiftKey?4:0)|(t.ctrlKey?8:0);if(!i.isMac&&u){if(u[91]||u[92])s|=8;if(u.altGr){if((3&s)==3)return;u.altGr=0}if(n===18||n===17){var o=t.location||t.keyLocation;if(n===17&&o===1)a=t.timeStamp;else if(n===18&&s===3&&o===2){var f=-a;a=t.timeStamp,f+=a,f<3&&(u.altGr=!0)}}}if(n in r.MODIFIER_KEYS){switch(r.MODIFIER_KEYS[n]){case"Alt":s=2;break;case"Shift":s=4;break;case"Ctrl":s=1;break;default:s=8}n=0}s&8&&(n===91||n===93)&&(n=0);if(!s&&n===13)if(t.location||t.keyLocation===3){e(t,s,-n);if(t.defaultPrevented)return}return!!s||n in r.FUNCTION_KEYS||n in r.PRINTABLE_KEYS?e(t,s,n):!1}var r=e("./keys"),i=e("./useragent"),s=e("./dom");t.addListener=function(e,t,n){if(e.addEventListener)return e.addEventListener(t,n,!1);if(e.attachEvent){var r=function(){n.call(e,window.event)};n._wrapper=r,e.attachEvent("on"+t,r)}},t.removeListener=function(e,t,n){if(e.removeEventListener)return e.removeEventListener(t,n,!1);e.detachEvent&&e.detachEvent("on"+t,n._wrapper||n)},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return e.type=="dblclick"?0:e.type=="contextmenu"||e.ctrlKey&&i.isMac?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,n,r){function i(e){n&&n(e),r&&r(e),t.removeListener(document,"mousemove",n,!0),t.removeListener(document,"mouseup",i,!0),t.removeListener(document,"dragstart",i,!0)}t.addListener(document,"mousemove",n,!0),t.addListener(document,"mouseup",i,!0),t.addListener(document,"dragstart",i,!0)},t.addMouseWheelListener=function(e,n){if("onmousewheel"in e){var r=8;t.addListener(e,"mousewheel",function(e){e.wheelDeltaX!==undefined?(e.wheelX=-e.wheelDeltaX/r,e.wheelY=-e.wheelDeltaY/r):(e.wheelX=0,e.wheelY=-e.wheelDelta/r),n(e)})}else"onwheel"in e?t.addListener(e,"wheel",function(e){e.wheelX=(e.deltaX||0)*5,e.wheelY=(e.deltaY||0)*5,n(e)}):t.addListener(e,"DOMMouseScroll",function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=(e.detail||0)*5,e.wheelY=0):(e.wheelX=0,e.wheelY=(e.detail||0)*5),n(e)})},t.addMultiMouseDownListener=function(e,n,r,s){var o=0,u,a,f,l={2:"dblclick",3:"tripleclick",4:"quadclick"};t.addListener(e,"mousedown",function(e){t.getButton(e)!=0?o=0:e.detail>1?(o++,o>4&&(o=1)):o=1;if(i.isIE){var n=Math.abs(e.clientX-u)>5||Math.abs(e.clientY-a)>5;n&&(o=1),o==1&&(u=e.clientX,a=e.clientY)}r[s]("mousedown",e);if(o>4)o=0;else if(o>1)return r[s](l[o],e)}),i.isOldIE&&t.addListener(e,"dblclick",function(e){o=2,f&&clearTimeout(f),f=setTimeout(function(){f=null},n[o-1]||600),r[s]("mousedown",e),r[s](l[o],e)})};var u=null,a=0;t.addCommandKeyListener=function(e,n){var r=t.addListener;if(i.isOldGecko||i.isOpera&&!("KeyboardEvent"in window)){var s=null;r(e,"keydown",function(e){s=e.keyCode}),r(e,"keypress",function(e){return o(n,e,s)})}else{var a=null;r(e,"keydown",function(e){u[e.keyCode]=!0;var t=o(n,e,e.keyCode);return a=e.defaultPrevented,t}),r(e,"keypress",function(e){a&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),a=null)}),r(e,"keyup",function(e){u[e.keyCode]=null}),u||(u=Object.create(null),r(window,"focus",function(e){u=Object.create(null)}))}};if(window.postMessage&&!i.isOldIE){var f=1;t.nextTick=function(e,n){n=n||window;var r="zero-timeout-message-"+f;t.addListener(n,"message",function i(s){s.data==r&&(t.stopPropagation(s),t.removeListener(n,"message",i),e())}),n.postMessage(r,"*")}}t.nextFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame,t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}}),define("ace/lib/keys",["require","exports","module","ace/lib/oop"],function(e,t,n){var r=e("./oop"),i=function(){var e={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,meta:8,command:8,cmd:8},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",188:",",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}};for(var t in e.FUNCTION_KEYS){var n=e.FUNCTION_KEYS[t].toLowerCase();e[n]=parseInt(t,10)}return r.mixin(e,e.MODIFIER_KEYS),r.mixin(e,e.PRINTABLE_KEYS),r.mixin(e,e.FUNCTION_KEYS),e.enter=e["return"],e.escape=e.esc,e.del=e["delete"],e[173]="-",e}();r.mixin(t,i),t.keyCodeToString=function(e){return(i[e]||String.fromCharCode(e)).toLowerCase()}}),define("ace/lib/oop",["require","exports","module"],function(e,t,n){t.inherits=function(){var e=function(){};return function(t,n){e.prototype=n.prototype,t.super_=n.prototype,t.prototype=new e,t.prototype.constructor=t}}(),t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}}),define("ace/lib/useragent",["require","exports","module"],function(e,t,n){t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS};if(typeof navigator!="object")return;var r=(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase(),i=navigator.userAgent;t.isWin=r=="win",t.isMac=r=="mac",t.isLinux=r=="linux",t.isIE=(navigator.appName=="Microsoft Internet Explorer"||navigator.appName.indexOf("MSAppHost")>=0)&&parseFloat(navigator.userAgent.match(/MSIE ([0-9]+[\.0-9]+)/)[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=window.controllers&&window.navigator.product==="Gecko",t.isOldGecko=t.isGecko&&parseInt((navigator.userAgent.match(/rv\:(\d+)/)||[])[1],10)<4,t.isOpera=window.opera&&Object.prototype.toString.call(window.opera)=="[object Opera]",t.isWebKit=parseFloat(i.split("WebKit/")[1])||undefined,t.isChrome=parseFloat(i.split(" Chrome/")[1])||undefined,t.isAIR=i.indexOf("AdobeAIR")>=0,t.isIPad=i.indexOf("iPad")>=0,t.isTouchPad=i.indexOf("TouchPad")>=0}),define("ace/editor",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/keyboard/textinput","ace/mouse/mouse_handler","ace/mouse/fold_handler","ace/keyboard/keybinding","ace/edit_session","ace/search","ace/range","ace/lib/event_emitter","ace/commands/command_manager","ace/commands/default_commands","ace/config"],function(e,t,n){e("./lib/fixoldbrowsers");var r=e("./lib/oop"),i=e("./lib/dom"),s=e("./lib/lang"),o=e("./lib/useragent"),u=e("./keyboard/textinput").TextInput,a=e("./mouse/mouse_handler").MouseHandler,f=e("./mouse/fold_handler").FoldHandler,l=e("./keyboard/keybinding").KeyBinding,c=e("./edit_session").EditSession,h=e("./search").Search,p=e("./range").Range,d=e("./lib/event_emitter").EventEmitter,v=e("./commands/command_manager").CommandManager,m=e("./commands/default_commands").commands,g=e("./config"),y=function(e,t){var n=e.getContainerElement();this.container=n,this.renderer=e,this.commands=new v(o.isMac?"mac":"win",m),this.textInput=new u(e.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.keyBinding=new l(this),this.$mouseHandler=new a(this),new f(this),this.$blockScrolling=0,this.$search=(new h).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=s.delayedCall(function(){this._signal("input",{}),this.session.bgTokenizer&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",function(e,t){t._$emitInputEvent.schedule(31)}),this.setSession(t||new c("")),g.resetOptions(this),g._emit("editor",this)};(function(){r.implement(this,d),this.$initOperationListeners=function(){function e(e){return e[e.length-1]}this.selections=[],this.commands.on("exec",function(t){this.startOperation(t);var n=t.command;if(n.group=="fileJump"){var r=this.prevOp;if(!r||r.command.group!="fileJump")this.lastFileJumpPos=e(this.selections)}else this.lastFileJumpPos=null}.bind(this),!0),this.commands.on("afterExec",function(e){var t=e.command;if(t.group=="fileJump"&&this.lastFileJumpPos&&!this.curOp.selectionChanged){this.selection.fromJSON(this.lastFileJumpPos);return}this.endOperation(e)}.bind(this),!0),this.$opResetTimer=s.delayedCall(this.endOperation.bind(this)),this.on("change",function(){this.curOp||this.startOperation(),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||this.startOperation(),this.curOp.selectionChanged=!0}.bind(this),!0)},this.curOp=null,this.prevOp={},this.startOperation=function(e){if(this.curOp){if(!e||this.curOp.command)return;this.prevOp=this.curOp}e||(this.previousCommand=null,e={}),this.$opResetTimer.schedule(),this.curOp={command:e.command||{},args:e.args},this.selections.push(this.selection.toJSON())},this.endOperation=function(){this.curOp&&(this.prevOp=this.curOp,this.curOp=null)},this.$historyTracker=function(e){if(!this.$mergeUndoDeltas)return;var t=this.prevOp,n=["backspace","del","insertstring"],r=t.command&&e.command.name==t.command.name;if(e.command.name=="insertstring"){var i=e.args;this.mergeNextCommand===undefined&&(this.mergeNextCommand=!0),r=r&&this.mergeNextCommand&&(!/\s/.test(i)||/\s/.test(t.args)),this.mergeNextCommand=!0}else r=r&&n.indexOf(e.command.name)!==-1;this.$mergeUndoDeltas!="always"&&Date.now()-this.sequenceStartTime>2e3&&(r=!1),r?this.session.mergeUndoDeltas=!0:n.indexOf(e.command.name)!==-1&&(this.sequenceStartTime=Date.now())},this.setKeyboardHandler=function(e){if(!e)this.keyBinding.setKeyboardHandler(null);else if(typeof e=="string"){this.$keybindingId=e;var t=this;g.loadModule(["keybinding",e],function(n){t.$keybindingId==e&&t.keyBinding.setKeyboardHandler(n&&n.handler)})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e)},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(e){if(this.session==e)return;if(this.session){var t=this.session;this.session.removeEventListener("change",this.$onDocumentChange),this.session.removeEventListener("changeMode",this.$onChangeMode),this.session.removeEventListener("tokenizerUpdate",this.$onTokenizerUpdate),this.session.removeEventListener("changeTabSize",this.$onChangeTabSize),this.session.removeEventListener("changeWrapLimit",this.$onChangeWrapLimit),this.session.removeEventListener("changeWrapMode",this.$onChangeWrapMode),this.session.removeEventListener("onChangeFold",this.$onChangeFold),this.session.removeEventListener("changeFrontMarker",this.$onChangeFrontMarker),this.session.removeEventListener("changeBackMarker",this.$onChangeBackMarker),this.session.removeEventListener("changeBreakpoint",this.$onChangeBreakpoint),this.session.removeEventListener("changeAnnotation",this.$onChangeAnnotation),this.session.removeEventListener("changeOverwrite",this.$onCursorChange),this.session.removeEventListener("changeScrollTop",this.$onScrollTopChange),this.session.removeEventListener("changeScrollLeft",this.$onScrollLeftChange);var n=this.session.getSelection();n.removeEventListener("changeCursor",this.$onCursorChange),n.removeEventListener("changeSelection",this.$onSelectionChange)}this.session=e,this.$onDocumentChange=this.onDocumentChange.bind(this),e.addEventListener("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.addEventListener("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.addEventListener("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.addEventListener("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.addEventListener("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.addEventListener("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.addEventListener("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.addEventListener("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.addEventListener("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.addEventListener("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.addEventListener("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.addEventListener("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.addEventListener("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.addEventListener("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.addEventListener("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.addEventListener("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.$blockScrolling+=1,this.onCursorChange(),this.$blockScrolling-=1,this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull(),this._emit("changeSession",{session:e,oldSession:t})},this.getSession=function(){return this.session},this.setValue=function(e,t){return this.session.doc.setValue(e),t?t==1?this.navigateFileEnd():t==-1&&this.navigateFileStart():this.selectAll(),e},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(e){this.renderer.onResize(e)},this.setTheme=function(e){this.renderer.setTheme(e)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(e){this.renderer.setStyle(e)},this.unsetStyle=function(e){this.renderer.unsetStyle(e)},this.getFontSize=function(){return this.getOption("fontSize")||i.computedStyle(this.container,"fontSize")},this.setFontSize=function(e){this.setOption("fontSize",e)},this.$highlightBrackets=function(){this.session.$bracketHighlight&&(this.session.removeMarker(this.session.$bracketHighlight),this.session.$bracketHighlight=null);if(this.$highlightPending)return;var e=this;this.$highlightPending=!0,setTimeout(function(){e.$highlightPending=!1;var t=e.session.findMatchingBracket(e.getCursorPosition());if(t)var n=new p(t.row,t.column,t.row,t.column+1);else if(e.session.$mode.getMatching)var n=e.session.$mode.getMatching(e.session);n&&(e.session.$bracketHighlight=e.session.addMarker(n,"ace_bracket","text"))},50)},this.focus=function(){var e=this;setTimeout(function(){e.textInput.focus()}),this.textInput.focus()},this.isFocused=function(){return this.textInput.isFocused()},this.blur=function(){this.textInput.blur()},this.onFocus=function(){if(this.$isFocused)return;this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus")},this.onBlur=function(){if(!this.$isFocused)return;this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur")},this.$cursorChange=function(){this.renderer.updateCursor()},this.onDocumentChange=function(e){var t=e.data,n=t.range,r;n.start.row==n.end.row&&t.action!="insertLines"&&t.action!="removeLines"?r=n.end.row:r=Infinity,this.renderer.updateLines(n.start.row,r),this._emit("change",e),this.$cursorChange()},this.onTokenizerUpdate=function(e){var t=e.data;this.renderer.updateLines(t.first,t.last)},this.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},this.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},this.onCursorChange=function(){this.$cursorChange(),this.$blockScrolling||this.renderer.scrollCursorIntoView(),this.$highlightBrackets(),this.$updateHighlightActiveLine(),this._emit("changeSelection")},this.$updateHighlightActiveLine=function(){var e=this.getSession(),t;if(this.$highlightActiveLine){if(this.$selectionStyle!="line"||!this.selection.isMultiLine())t=this.getCursorPosition();this.renderer.$maxLines&&this.session.getLength()===1&&(t=!1)}if(e.$highlightLineMarker&&!t)e.removeMarker(e.$highlightLineMarker.id),e.$highlightLineMarker=null;else if(!e.$highlightLineMarker&&t){var n=new p(t.row,t.column,t.row,Infinity);n.id=e.addMarker(n,"ace_active-line","screenLine"),e.$highlightLineMarker=n}else t&&(e.$highlightLineMarker.start.row=t.row,e.$highlightLineMarker.end.row=t.row,e.$highlightLineMarker.start.column=t.column,e._emit("changeBackMarker"))},this.onSelectionChange=function(e){var t=this.session;t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null;if(!this.selection.isEmpty()){var n=this.selection.getRange(),r=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,"ace_selection",r)}else this.$updateHighlightActiveLine();var i=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(i),this._emit("changeSelection")},this.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(t.isEmpty()||t.isMultiLine())return;var n=t.start.column-1,r=t.end.column+1,i=e.getLine(t.start.row),s=i.length,o=i.substring(Math.max(n,0),Math.min(r,s));if(n>=0&&/^[\w\d]/.test(o)||r<=s&&/[\w\d]$/.test(o))return;o=i.substring(t.start.column,t.end.column);if(!/^[\w\d]+$/.test(o))return;var u=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:o});return u},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var e=this.getSelectedText();return this._signal("copy",e),e},this.onCopy=function(){this.commands.exec("copy",this)},this.onCut=function(){this.commands.exec("cut",this)},this.onPaste=function(e){if(this.$readOnly)return;this._emit("paste",e),this.insert(e)},this.execCommand=function(e,t){this.commands.exec(e,this,t)},this.insert=function(e){var t=this.session,n=t.getMode(),r=this.getCursorPosition();if(this.getBehavioursEnabled()){var i=n.transformAction(t.getState(r.row),"insertion",this,t,e);i&&(e!==i.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),e=i.text)}e=="   "&&(e=this.session.getTabString());if(!this.selection.isEmpty()){var s=this.getSelectionRange();r=this.session.remove(s),this.clearSelection()}else if(this.session.getOverwrite()){var s=new p.fromPoints(r,r);s.end.column+=e.length,this.session.remove(s)}if(e=="\n"||e=="\r\n"){var o=t.getLine(r.row);if(r.column>o.search(/\S|$/)){var u=o.substr(r.column).search(/\S|$/);t.doc.removeInLine(r.row,r.column,r.column+u)}}this.clearSelection();var a=r.column,f=t.getState(r.row),o=t.getLine(r.row),l=n.checkOutdent(f,o,e),c=t.insert(r,e);i&&i.selection&&(i.selection.length==2?this.selection.setSelectionRange(new p(r.row,a+i.selection[0],r.row,a+i.selection[1])):this.selection.setSelectionRange(new p(r.row+i.selection[0],i.selection[1],r.row+i.selection[2],i.selection[3])));if(t.getDocument().isNewLine(e)){var h=n.getNextLineIndent(f,o.slice(0,r.column),t.getTabString());t.insert({row:r.row+1,column:0},h)}l&&n.autoOutdent(f,t,r.row)},this.onTextInput=function(e){this.keyBinding.onTextInput(e)},this.onCommandKey=function(e,t,n){this.keyBinding.onCommandKey(e,t,n)},this.setOverwrite=function(e){this.session.setOverwrite(e)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(e){this.setOption("dragDelay",e)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(e){this.setOption("readOnly",e)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(e){this.selection.isEmpty()&&(e=="left"?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var n=this.session,r=n.getState(t.start.row),i=n.getMode().transformAction(r,"deletion",this,n,t);if(t.end.column==0){var s=n.getTextRange(t);if(s[s.length-1]=="\n"){var o=n.getLine(t.end.row);/^\s+$/.test(o)&&(t.end.column=o.length)}}i&&(t=i)}this.session.remove(t),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},this.transposeLetters=function(){if(!this.selection.isEmpty())return;var e=this.getCursorPosition(),t=e.column;if(t===0)return;var n=this.session.getLine(e.row),r,i;t<n.length?(r=n.charAt(t)+n.charAt(t-1),i=new p(e.row,t-1,e.row,t+1)):(r=n.charAt(t-1)+n.charAt(t-2),i=new p(e.row,t-2,e.row,t)),this.session.replace(i,r)},this.toLowerCase=function(){var e=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var t=this.getSelectionRange(),n=this.session.getTextRange(t);this.session.replace(t,n.toLowerCase()),this.selection.setSelectionRange(e)},this.toUpperCase=function(){var e=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var t=this.getSelectionRange(),n=this.session.getTextRange(t);this.session.replace(t,n.toUpperCase()),this.selection.setSelectionRange(e)},this.indent=function(){var e=this.session,t=this.getSelectionRange();if(t.start.row<t.end.row){var n=this.$getSelectedRows();e.indentRows(n.first,n.last," ");return}if(t.start.column<t.end.column){var r=e.getTextRange(t);if(!/^\s+$/.test(r)){var n=this.$getSelectedRows();e.indentRows(n.first,n.last,"      ");return}}var i=e.getLine(t.start.row),o=t.start,u=e.getTabSize(),a=e.documentToScreenColumn(o.row,o.column);if(this.session.getUseSoftTabs())var f=u-a%u,l=s.stringRepeat(" ",f);else{var f=a%u;while(i[t.start.column]==" "&&f)t.start.column--,f--;this.selection.setSelectionRange(t),l="  "}return this.insert(l)},this.blockIndent=function(){var e=this.$getSelectedRows();this.session.indentRows(e.first,e.last,"     ")},this.blockOutdent=function(){var e=this.session.getSelection();this.session.outdentRows(e.getRange())},this.sortLines=function(){var e=this.$getSelectedRows(),t=this.session,n=[];for(i=e.first;i<=e.last;i++)n.push(t.getLine(i));n.sort(function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:e.toLowerCase()>t.toLowerCase()?1:0});var r=new p(0,0,0,0);for(var i=e.first;i<=e.last;i++){var s=t.getLine(i);r.start.row=i,r.end.row=i,r.end.column=s.length,t.replace(r,n[i-e.first])}},this.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},this.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},this.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;var r=this.session.getLine(e);while(n.lastIndex<t){var i=n.exec(r);if(i.index<=t&&i.index+i[0].length>=t){var s={value:i[0],start:i.index,end:i.index+i[0].length};return s}}return null},this.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,r=new p(t,n-1,t,n),i=this.session.getTextRange(r);if(!isNaN(parseFloat(i))&&isFinite(i)){var s=this.getNumberAt(t,n);if(s){var o=s.value.indexOf(".")>=0?s.start+s.value.indexOf(".")+1:s.end,u=s.start+s.value.length-o,a=parseFloat(s.value);a*=Math.pow(10,u),o!==s.end&&n<o?e*=Math.pow(10,s.end-n-1):e*=Math.pow(10,s.end-n),a+=e,a/=Math.pow(10,u);var f=a.toFixed(u),l=new p(t,s.start,t,s.end);this.session.replace(l,f),this.moveCursorTo(t,Math.max(s.start+1,n+f.length-s.value.length))}}},this.removeLines=function(){var e=this.$getSelectedRows(),t;e.first===0||e.last+1<this.session.getLength()?t=new p(e.first,0,e.last+1,0):t=new p(e.first-1,this.session.getLine(e.first-1).length,e.last,this.session.getLine(e.last).length),this.session.remove(t),this.clearSelection()},this.duplicateSelection=function(){var e=this.selection,t=this.session,n=e.getRange(),r=e.isBackwards();if(n.isEmpty()){var i=n.start.row;t.duplicateLines(i,i)}else{var s=r?n.start:n.end,o=t.insert(s,t.getTextRange(n),!1);n.start=s,n.end=o,e.setSelectionRange(n,r)}},this.moveLinesDown=function(){this.$moveLines(function(e,t){return this.session.moveLinesDown(e,t)})},this.moveLinesUp=function(){this.$moveLines(function(e,t){return this.session.moveLinesUp(e,t)})},this.moveText=function(e,t,n){return this.session.moveText(e,t,n)},this.copyLinesUp=function(){this.$moveLines(function(e,t){return this.session.duplicateLines(e,t),0})},this.copyLinesDown=function(){this.$moveLines(function(e,t){return this.session.duplicateLines(e,t)})},this.$moveLines=function(e){var t=this.selection;if(!t.inMultiSelectMode||this.inVirtualSelectionMode){var n=t.toOrientedRange(),r=this.$getSelectedRows(n),i=e.call(this,r.first,r.last);n.moveBy(i,0),t.fromOrientedRange(n)}else{var s=t.rangeList.ranges;t.rangeList.detach(this.session);for(var o=s.length;o--;){var u=o,r=s[o].collapseRows(),a=r.end.row,f=r.start.row;while(o--){var r=s[o].collapseRows();if(!(f-r.end.row<=1))break;f=r.end.row}o++;var i=e.call(this,f,a);while(u>=o)s[u].moveBy(i,0),u--}t.fromOrientedRange(t.ranges[0]),t.rangeList.attach(this.session)}},this.$getSelectedRows=function(){var e=this.getSelectionRange().collapseRows();return{first:e.start.row,last:e.end.row}},this.onCompositionStart=function(e){this.renderer.showComposition(this.getCursorPosition())},this.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},this.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(e,t){var n=this.renderer,r=this.renderer.layerConfig,i=e*Math.floor(r.height/r.lineHeight);this.$blockScrolling++,t==1?this.selection.$moveSelection(function(){this.moveCursorBy(i,0)}):t==0&&(this.selection.moveCursorBy(i,0),this.selection.clearSelection()),this.$blockScrolling--;var s=n.scrollTop;n.scrollBy(0,i*r.lineHeight),t!=null&&n.scrollCursorIntoView(null,.5),n.animateScrolling(s)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(e){this.renderer.scrollToRow(e)},this.scrollToLine=function(e,t,n,r){this.renderer.scrollToLine(e,t,n,r)},this.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.$blockScrolling+=1,this.selection.selectAll(),this.$blockScrolling-=1},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},this.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},this.jumpToMatching=function(e){var t=this.getCursorPosition(),n=this.session.getBracketRange(t);if(!n){n=this.find({needle:/[{}()\[\]]/g,preventScroll:!0,start:{row:t.row,column:t.column-1}});if(!n)return;var r=n.start;r.row==t.row&&Math.abs(r.column-t.column)<2&&(n=this.session.getBracketRange(r))}r=n&&n.cursor||r,r&&(e?n&&n.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(r.row,r.column):(this.clearSelection(),this.moveCursorTo(r.row,r.column)))},this.gotoLine=function(e,t,n){this.selection.clearSelection(),this.session.unfold({row:e-1,column:t||0}),this.$blockScrolling+=1,this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(e-1,t||0),this.$blockScrolling-=1,this.isRowFullyVisible(e-1)||this.scrollToLine(e-1,!0,n)},this.navigateTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.navigateUp=function(e){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}this.selection.clearSelection(),e=e||1,this.selection.moveCursorBy(-e,0)},this.navigateDown=function(e){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var t=this.selection.anchor.getPosition();return this.moveCursorToPosition(t)}this.selection.clearSelection(),e=e||1,this.selection.moveCursorBy(e,0)},this.navigateLeft=function(e){if(!this.selection.isEmpty()){var t=this.getSelectionRange().start;this.moveCursorToPosition(t)}else{e=e||1;while(e--)this.selection.moveCursorLeft()}this.clearSelection()},this.navigateRight=function(e){if(!this.selection.isEmpty()){var t=this.getSelectionRange().end;this.moveCursorToPosition(t)}else{e=e||1;while(e--)this.selection.moveCursorRight()}this.clearSelection()},this.navigateLineStart=function(){this.selection.moveCursorLineStart(),this.clearSelection()},this.navigateLineEnd=function(){this.selection.moveCursorLineEnd(),this.clearSelection()},this.navigateFileEnd=function(){var e=this.renderer.scrollTop;this.selection.moveCursorFileEnd(),this.clearSelection(),this.renderer.animateScrolling(e)},this.navigateFileStart=function(){var e=this.renderer.scrollTop;this.selection.moveCursorFileStart(),this.clearSelection(),this.renderer.animateScrolling(e)},this.navigateWordRight=function(){this.selection.moveCursorWordRight(),this.clearSelection()},this.navigateWordLeft=function(){this.selection.moveCursorWordLeft(),this.clearSelection()},this.replace=function(e,t){t&&this.$search.set(t);var n=this.$search.find(this.session),r=0;return n?(this.$tryReplace(n,e)&&(r=1),n!==null&&(this.selection.setSelectionRange(n),this.renderer.scrollSelectionIntoView(n.start,n.end)),r):r},this.replaceAll=function(e,t){t&&this.$search.set(t);var n=this.$search.findAll(this.session),r=0;if(!n.length)return r;this.$blockScrolling+=1;var i=this.getSelectionRange();this.clearSelection(),this.selection.moveCursorTo(0,0);for(var s=n.length-1;s>=0;--s)this.$tryReplace(n[s],e)&&r++;return this.selection.setSelectionRange(i),this.$blockScrolling-=1,r},this.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return t=this.$search.replace(n,t),t!==null?(e.end=this.session.replace(e,t),e):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(e,t,n){t||(t={}),typeof e=="string"||e instanceof RegExp?t.needle=e:typeof e=="object"&&r.mixin(t,e);var i=this.selection.getRange();t.needle==null&&(e=this.session.getTextRange(i)||this.$search.$options.needle,e||(i=this.session.getWordRange(i.start.row,i.start.column),e=this.session.getTextRange(i)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:i});var s=this.$search.find(this.session);if(t.preventScroll)return s;if(s)return this.revealRange(s,n),s;t.backwards?i.start=i.end:i.end=i.start,this.selection.setRange(i)},this.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},this.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},this.revealRange=function(e,t){this.$blockScrolling+=1,this.session.unfold(e),this.selection.setSelectionRange(e),this.$blockScrolling-=1;var n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),t!=0&&this.renderer.animateScrolling(n)},this.undo=function(){this.$blockScrolling++,this.session.getUndoManager().undo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.$blockScrolling++,this.session.getUndoManager().redo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.renderer.destroy(),this._emit("destroy",this)},this.setAutoScrollEditorIntoView=function(e){if(e===!1)return;var t,n=this,r=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var i=this.$scrollAnchor;i.style.cssText="position:absolute",this.container.insertBefore(i,this.container.firstChild);var s=this.on("changeSelection",function(){r=!0}),o=this.renderer.on("beforeRender",function(){r&&(t=n.renderer.container.getBoundingClientRect())}),u=this.renderer.on("afterRender",function(){if(r&&t&&n.isFocused()){var e=n.renderer,s=e.$cursorLayer.$pixelPos,o=e.layerConfig,u=s.top-o.offset;s.top>=0&&u+t.top<0?r=!0:s.top<o.height&&s.top+t.top+o.lineHeight>window.innerHeight?r=!1:r=null,r!=null&&(i.style.top=u+"px",i.style.left=s.left+"px",i.style.height=o.lineHeight+"px",i.scrollIntoView(r)),r=t=null}});this.setAutoScrollEditorIntoView=function(e){if(e===!0)return;delete this.setAutoScrollEditorIntoView,this.removeEventListener("changeSelection",s),this.renderer.removeEventListener("afterRender",u),this.renderer.removeEventListener("beforeRender",o)}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;if(!t)return;t.setSmoothBlinking(e=="smooth"),t.isBlinking=!this.$readOnly&&e!="wide"}}).call(y.prototype),g.defineOptions(y.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._emit("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.textInput.setReadOnly(e),this.$resetCursorStyle()},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",showGutter:"renderer",displayIndentGuides:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimout:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",tabSize:"session",wrap:"session",foldStyle:"session"}),t.Editor=y}),define("ace/lib/lang",["require","exports","module"],function(e,t,n){t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){var n="";while(t>0){t&1&&(n+=e);if(t>>=1)e+=e}return n};var r=/^\s\s*/,i=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(r,"")},t.stringTrimRight=function(e){return e.replace(i,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){var t=[];for(var n=0,r=e.length;n<r;n++)e[n]&&typeof e[n]=="object"?t[n]=this.copyObject(e[n]):t[n]=e[n];return t},t.deepCopy=function(e){if(typeof e!="object")return e;var t=e.constructor();for(var n in e)typeof e[n]=="object"?t[n]=this.deepCopy(e[n]):t[n]=e[n];return t},t.arrayToMap=function(e){var t={};for(var n=0;n<e.length;n++)t[e[n]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var n in e)t[n]=e[n];return t},t.arrayRemove=function(e,t){for(var n=0;n<=e.length;n++)t===e[n]&&e.splice(n,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},t.getMatchOffsets=function(e,t){var n=[];return e.replace(t,function(e){n.push({offset:arguments[arguments.length-2],length:e.length})}),n},t.deferredCall=function(e){var t=null,n=function(){t=null,e()},r=function(e){return r.cancel(),t=setTimeout(n,e||0),r};return r.schedule=r,r.call=function(){return this.cancel(),e(),r},r.cancel=function(){return clearTimeout(t),t=null,r},r},t.delayedCall=function(e,t){var n=null,r=function(){n=null,e()},i=function(e){n&&clearTimeout(n),n=setTimeout(r,e||t)};return i.delay=i,i.schedule=function(e){n==null&&(n=setTimeout(r,e||0))},i.call=function(){this.cancel(),e()},i.cancel=function(){n&&clearTimeout(n),n=null},i.isPending=function(){return n},i}}),define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang"],function(e,t,n){var r=e("../lib/event"),i=e("../lib/useragent"),s=e("../lib/dom"),o=e("../lib/lang"),u=i.isChrome<18,a=function(e,t){function b(e){if(h)return;if(k)t=0,r=e?0:n.value.length-1;else var t=e?2:1,r=2;try{n.setSelectionRange(t,r)}catch(i){}}function w(){if(h)return;n.value=a,i.isWebKit&&y.schedule()}function F(){setTimeout(function(){p&&(n.style.cssText=p,p=""),t.renderer.$keepTextAreaAtCursor==null&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},0)}var n=s.createElement("textarea");n.className="ace_text-input",i.isTouchPad&&n.setAttribute("x-palm-disable-auto-cap",!0),n.wrap="off",n.autocorrect="off",n.autocapitalize="off",n.spellcheck=!1,n.style.opacity="0",e.insertBefore(n,e.firstChild);var a="\ 1\ 1",f=!1,l=!1,c=!1,h=!1,p="",d=!0;try{var v=document.activeElement===n}catch(m){}r.addListener(n,"blur",function(){t.onBlur(),v=!1}),r.addListener(n,"focus",function(){v=!0,t.onFocus(),b()}),this.focus=function(){n.focus()},this.blur=function(){n.blur()},this.isFocused=function(){return v};var g=o.delayedCall(function(){v&&b(d)}),y=o.delayedCall(function(){h||(n.value=a,v&&b())});i.isWebKit||t.addEventListener("changeSelection",function(){t.selection.isEmpty()!=d&&(d=!d,g.schedule())}),w(),v&&t.onFocus();var E=function(e){return e.selectionStart===0&&e.selectionEnd===e.value.length};!n.setSelectionRange&&n.createTextRange&&(n.setSelectionRange=function(e,t){var n=this.createTextRange();n.collapse(!0),n.moveStart("character",e),n.moveEnd("character",t),n.select()},E=function(e){try{var t=e.ownerDocument.selection.createRange()}catch(n){}return!t||t.parentElement()!=e?!1:t.text==e.value});if(i.isOldIE){var S=!1,x=function(e){if(S)return;var t=n.value;if(h||!t||t==a)return;if(e&&t==a[0])return T.schedule();A(t),S=!0,w(),S=!1},T=o.delayedCall(x);r.addListener(n,"propertychange",x);var N={13:1,27:1};r.addListener(n,"keyup",function(e){h&&(!n.value||N[e.keyCode])&&setTimeout(B,0);if((n.value.charCodeAt(0)||0)<129)return T.call();h?H():P()}),r.addListener(n,"keydown",function(e){T.schedule(50)})}var C=function(e){f?f=!1:l?l=!1:E(n)?(t.selectAll(),b()):k&&b(t.selection.isEmpty())},k=null;this.setInputHandler=function(e){k=e},this.getInputHandler=function(){return k};var L=!1,A=function(e){k&&(e=k(e),k=null),c?(b(),e&&t.onPaste(e),c=!1):e==a.charAt(0)?L&&t.execCommand("del",{source:"ace"}):(e.substring(0,2)==a?e=e.substr(2):e.charAt(0)==a.charAt(0)?e=e.substr(1):e.charAt(e.length-1)==a.charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)==a.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),L&&(L=!1)},O=function(e){if(h)return;var t=n.value;A(t),w()},M=function(e){var i=t.getCopyText();if(!i){r.preventDefault(e);return}var s=e.clipboardData||window.clipboardData;if(s&&!u){var o=s.setData("Text",i);o&&(t.onCut(),r.preventDefault(e))}o||(f=!0,n.value=i,n.select(),setTimeout(function(){f=!1,w(),b(),t.onCut()}))},_=function(e){var i=t.getCopyText();if(!i){r.preventDefault(e);return}var s=e.clipboardData||window.clipboardData;if(s&&!u){var o=s.setData("Text",i);o&&(t.onCopy(),r.preventDefault(e))}o||(l=!0,n.value=i,n.select(),setTimeout(function(){l=!1,w(),b(),t.onCopy()}))},D=function(e){var s=e.clipboardData||window.clipboardData;if(s){var o=s.getData("Text");o&&t.onPaste(o),i.isIE&&setTimeout(b),r.preventDefault(e)}else n.value="",c=!0};r.addCommandKeyListener(n,t.onCommandKey.bind(t)),r.addListener(n,"select",C),r.addListener(n,"input",O),r.addListener(n,"cut",M),r.addListener(n,"copy",_),r.addListener(n,"paste",D),(!("oncut"in n)||!("oncopy"in n)||!("onpaste"in n))&&r.addListener(e,"keydown",function(e){if(i.isMac&&!e.metaKey||!e.ctrlKey)return;switch(e.keyCode){case 67:_(e);break;case 86:D(e);break;case 88:M(e)}});var P=function(e){if(h)return;h={},t.onCompositionStart(),setTimeout(H,0),t.on("mousedown",B),t.selection.isEmpty()||(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup()},H=function(){if(!h)return;var e=n.value.replace(/\x01/g,"");if(h.lastValue===e)return;t.onCompositionUpdate(e),h.lastValue&&t.undo(),h.lastValue=e;if(h.lastValue){var r=t.selection.getRange();t.insert(h.lastValue),t.session.markUndoGroup(),h.range=t.selection.getRange(),t.selection.setRange(r),t.selection.clearSelection()}},B=function(e){var r=h;h=!1;var i=setTimeout(function(){i=null;var e=n.value.replace(/\x01/g,"");if(h)return;e==r.lastValue?w():!r.lastValue&&e&&(w(),A(e))});k=function(n){return i&&clearTimeout(i),n=n.replace(/\x01/g,""),n==r.lastValue?"":(r.lastValue&&i&&t.undo(),n)},t.onCompositionEnd(),t.removeListener("mousedown",B),e.type=="compositionend"&&r.range&&t.selection.setRange(r.range)},j=o.delayedCall(H,50);r.addListener(n,"compositionstart",P),i.isGecko?r.addListener(n,"text",function(){j.schedule()}):(r.addListener(n,"keyup",function(){j.schedule()}),r.addListener(n,"keydown",function(){j.schedule()})),r.addListener(n,"compositionend",B),this.getElement=function(){return n},this.setReadOnly=function(e){n.readOnly=e},this.onContextMenu=function(e){L=!0,p||(p=n.style.cssText),n.style.cssText="z-index:100000;"+(i.isIE?"opacity:0.1;":""),b(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e});var o=t.container.getBoundingClientRect(),u=s.computedStyle(t.container),a=o.top+(parseInt(u.borderTopWidth)||0),f=o.left+(parseInt(o.borderLeftWidth)||0),l=o.bottom-a-n.clientHeight,c=function(e){n.style.left=e.clientX-f-2+"px",n.style.top=Math.min(e.clientY-a-2,l)+"px"};c(e);if(e.type!="mousedown")return;t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),i.isWin&&r.capture(t.container,c,F)},this.onContextMenuClose=F;if(!i.isGecko||i.isMac){var I=function(e){t.textInput.onContextMenu(e),F()};r.addListener(t.renderer.scroller,"contextmenu",I),r.addListener(n,"contextmenu",I)}};t.TextInput=a}),define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/config"],function(e,t,n){var r=e("../lib/event"),i=e("../lib/useragent"),s=e("./default_handlers").DefaultHandlers,o=e("./default_gutter_handler").GutterHandler,u=e("./mouse_event").MouseEvent,a=e("./dragdrop_handler").DragdropHandler,f=e("../config"),l=function(e){this.editor=e,new s(this),new o(this),new a(this);var t=e.renderer.getMouseEventTarget();r.addListener(t,"click",this.onMouseEvent.bind(this,"click")),r.addListener(t,"mousemove",this.onMouseMove.bind(this,"mousemove")),r.addMultiMouseDownListener(t,[300,300,250],this,"onMouseEvent"),e.renderer.scrollBarV&&(r.addMultiMouseDownListener(e.renderer.scrollBarV.inner,[300,300,250],this,"onMouseEvent"),r.addMultiMouseDownListener(e.renderer.scrollBarH.inner,[300,300,250],this,"onMouseEvent")),r.addMouseWheelListener(e.container,this.onMouseWheel.bind(this,"mousewheel"));var n=e.renderer.$gutter;r.addListener(n,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),r.addListener(n,"click",this.onMouseEvent.bind(this,"gutterclick")),r.addListener(n,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),r.addListener(n,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),r.addListener(t,"mousedown",function(t){e.focus()}),r.addListener(n,"mousedown",function(t){return e.focus(),r.preventDefault(t)})};(function(){this.onMouseEvent=function(e,t){this.editor._emit(e,new u(t,this.editor))},this.onMouseMove=function(e,t){var n=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;if(!n||!n.length)return;this.editor._emit(e,new u(t,this.editor))},this.onMouseWheel=function(e,t){var n=new u(t,this.editor);n.speed=this.$scrollSpeed*2,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.setState=function(e){this.state=e},this.captureMouse=function(e,t){this.x=e.x,this.y=e.y,this.isMousePressed=!0;var n=this.editor.renderer;n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=null);var s=this,o=function(e){s.x=e.clientX,s.y=e.clientY,t&&t(e)},u=function(e){clearInterval(f),a(),s[s.state+"End"]&&s[s.state+"End"](e),s.$clickSelection=null,n.$keepTextAreaAtCursor==null&&(n.$keepTextAreaAtCursor=!0,n.$moveTextAreaToCursor()),s.isMousePressed=!1,s.onMouseEvent("mouseup",e)},a=function(){s[s.state]&&s[s.state]()};if(i.isOldIE&&e.domEvent.type=="dblclick")return setTimeout(function(){u(e)});r.capture(this.editor.container,o,u);var f=setInterval(a,20)}}).call(l.prototype),f.defineOptions(l.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:150},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0}}),t.MouseHandler=l}),define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t,n){function u(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e));var n=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];n.forEach(function(t){e[t]=this[t]},this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function a(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))}function f(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else if(e.start.row==e.end.row-1&&!e.start.column&&!e.end.column)var n=t.column-4;else var n=2*t.row-e.start.row-e.end.row;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}var r=e("../lib/dom"),i=e("../lib/event"),s=e("../lib/useragent"),o=0;(function(){this.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var r=this.editor,i=e.getButton();if(i!==0){var s=r.getSelectionRange(),o=s.isEmpty();o&&(r.moveCursorToPosition(n),r.selection.clearSelection()),r.textInput.onContextMenu(e.domEvent);return}if(t&&!r.isFocused()){r.focus();if(this.$focusTimout&&!this.$clickSelection&&!r.inMultiSelectMode){this.mousedownEvent.time=(new Date).getTime(),this.setState("focusWait"),this.captureMouse(e);return}}return!t||this.$clickSelection||e.getShiftKey()||r.inMultiSelectMode?this.startSelect(n):t&&(this.mousedownEvent.time=(new Date).getTime(),this.startSelect(n)),this.captureMouse(e),e.preventDefault()},this.startSelect=function(e){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var t=this.editor;setTimeout(function(){this.mousedownEvent.getShiftKey()?t.selection.selectToPosition(e):this.$clickSelection||(t.moveCursorToPosition(e),t.selection.clearSelection())}.bind(this),0),t.renderer.scroller.setCapture&&t.renderer.scroller.setCapture(),t.setStyle("ace_selecting"),this.setState("select")},this.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var r=this.$clickSelection.comparePoint(n);if(r==-1)e=this.$clickSelection.end;else if(r==1)e=this.$clickSelection.start;else{var i=f(this.$clickSelection,n);n=i.cursor,e=i.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,n=this.editor,r=n.renderer.screenToTextCoordinates(this.x,this.y),i=n.selection[e](r.row,r.column);if(this.$clickSelection){var s=this.$clickSelection.comparePoint(i.start),o=this.$clickSelection.comparePoint(i.end);if(s==-1&&o<=0){t=this.$clickSelection.end;if(i.end.row!=r.row||i.end.column!=r.column)r=i.start}else if(o==1&&s>=0){t=this.$clickSelection.start;if(i.start.row!=r.row||i.start.column!=r.column)r=i.end}else if(s==-1&&o==1)r=i.end,t=i.start;else{var u=f(this.$clickSelection,r);r=u.cursor,t=u.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(r),n.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e=a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),t=(new Date).getTime();(e>o||t-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,r=n.session,i=r.getBracketRange(t);if(i){i.isEmpty()&&(i.start.column--,i.end.column++),this.$clickSelection=i,this.setState("select");return}this.$clickSelection=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")},this.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines"),this.$clickSelection=n.selection.getLineRange(t.row)},this.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(e.getShiftKey()||e.getAccelKey())return;var t=e.domEvent.timeStamp,n=t-(this.$lastScrollTime||0),r=this.editor,i=r.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed);if(i||n<200)return this.$lastScrollTime=t,r.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()}}).call(u.prototype),t.DefaultHandlers=u}),define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/event"],function(e,t,n){function s(e){function f(){u=r.createElement("div"),u.className="ace_gutter-tooltip",u.style.display="none",t.container.appendChild(u)}function l(){u||f();var e=o.getDocumentPosition().row,r=n.$annotations[e];if(!r)return c();var i=t.session.getLength();if(e==i){var s=t.renderer.pixelToScreenCoordinates(0,o.y).row,l=o.$pos;if(s>t.session.documentToScreenRow(l.row,l.column))return c()}if(a==r)return;a=r.text.join("<br/>"),u.style.display="block",u.innerHTML=a,t.on("mousewheel",c),h(o)}function c(){s&&(s=clearTimeout(s)),a&&(u.style.display="none",a=null,t.removeEventListener("mousewheel",c))}function h(e){var n=t.renderer.$gutter.getBoundingClientRect();u.style.left=e.x+15+"px";if(e.y+3*t.renderer.lineHeight+15<n.bottom)u.style.bottom="",u.style.top=e.y+15+"px";else{u.style.top="";var r=window.innerHeight||document.documentElement.clientHeight;u.style.bottom=r-e.y+5+"px"}}var t=e.editor,n=t.renderer.$gutterLayer;e.editor.setDefaultHandler("guttermousedown",function(r){if(!t.isFocused()||r.getButton()!=0)return;var i=n.getRegion(r);if(i=="foldWidgets")return;var s=r.getDocumentPosition().row,o=t.session.selection;if(r.getShiftKey())o.selectTo(s,0);else{if(r.domEvent.detail==2)return t.selectAll(),r.preventDefault();e.$clickSelection=t.selection.getLineRange(s)}return e.setState("selectByLines"),e.captureMouse(r),r.preventDefault()});var s,o,u,a;e.editor.setDefaultHandler("guttermousemove",function(t){var n=t.domEvent.target||t.domEvent.srcElement;if(r.hasCssClass(n,"ace_fold-widget"))return c();a&&h(t),o=t;if(s)return;s=setTimeout(function(){s=null,o&&!e.isMousePressed?l():c()},50)}),i.addListener(t.renderer.$gutter,"mouseout",function(e){o=null;if(!a||s)return;s=setTimeout(function(){s=null,c()},50)}),t.on("changeSession",c)}var r=e("../lib/dom"),i=e("../lib/event");t.GutterHandler=s}),define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(e,t,n){var r=e("../lib/event"),i=e("../lib/useragent"),s=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){r.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){r.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},this.inSelection=function(){if(this.$inSelection!==null)return this.$inSelection;var e=this.editor,t=e.getSelectionRange();if(t.isEmpty())this.$inSelection=!1;else{var n=this.getDocumentPosition();this.$inSelection=t.contains(n.row,n.column)}return this.$inSelection},this.getButton=function(){return r.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=i.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(s.prototype)}),define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t,n){function f(e){function T(e,n){var r=(new Date).getTime(),i=!n||e.row!=n.row,s=!n||e.column!=n.column;if(!S||i||s)t.$blockScrolling+=1,t.moveCursorToPosition(e),t.$blockScrolling-=1,S=r,x={x:p,y:d};else{var o=l(x.x,x.y,p,d);o>a?S=null:r-S>=u&&(t.renderer.scrollCursorIntoView(),S=null)}}function N(e,n){var r=(new Date).getTime(),i=t.renderer.layerConfig.lineHeight,s=t.renderer.layerConfig.characterWidth,u=t.renderer.scroller.getBoundingClientRect(),a={x:{left:p-u.left,right:u.right-p},y:{top:d-u.top,bottom:u.bottom-d}},f=Math.min(a.x.left,a.x.right),l=Math.min(a.y.top,a.y.bottom),c={row:e.row,column:e.column};f/s<=2&&(c.column+=a.x.left<a.x.right?-3:2),l/i<=1&&(c.row+=a.y.top<a.y.bottom?-1:1);var h=e.row!=c.row,v=e.column!=c.column,m=!n||e.row!=n.row;h||v&&!m?E?r-E>=o&&t.renderer.scrollCursorIntoView(c):E=r:E=null}function C(){var e=g;g=t.renderer.screenToTextCoordinates(p,d),T(g,e),N(g,e)}function k(){m=t.selection.toOrientedRange(),h=t.session.addMarker(m,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(v),v=setInterval(C,20),y=0,i.addListener(document,"mousemove",O)}function L(){clearInterval(v),t.session.removeMarker(h),h=null,t.$blockScrolling+=1,t.selection.fromOrientedRange(m),t.$blockScrolling-=1,t.isFocused()&&!w&&t.renderer.$cursorLayer.setBlinking(!t.getReadOnly()),m=null,y=0,E=null,S=null,i.removeListener(document,"mousemove",O)}function O(){A==null&&(A=setTimeout(function(){A!=null&&h&&L()},20))}function M(e){var t=e.types;return!t||Array.prototype.some.call(t,function(e){return e=="text/plain"||e=="Text"})}function _(e){var t=["copy","copymove","all","uninitialized"],n=["move","copymove","linkmove","all","uninitialized"],r=s.isMac?e.altKey:e.ctrlKey,i="uninitialized";try{i=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var o="none";return r&&t.indexOf(i)>=0?o="copy":n.indexOf(i)>=0?o="move":t.indexOf(i)>=0&&(o="copy"),o}var t=e.editor,n=r.createElement("img");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",s.isOpera&&(n.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;");var f=["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"];f.forEach(function(t){e[t]=this[t]},this),t.addEventListener("mousedown",this.onMouseDown.bind(e));var c=t.container,h,p,d,v,m,g,y=0,b,w,E,S,x;this.onDragStart=function(e){if(this.cancelDrag||!c.draggable){var r=this;return setTimeout(function(){r.startSelect(),r.captureMouse(e)},0),e.preventDefault()}m=t.getSelectionRange();var i=e.dataTransfer;i.effectAllowed=t.getReadOnly()?"copy":"copyMove",s.isOpera&&(t.container.appendChild(n),n._top=n.offsetTop),i.setDragImage&&i.setDragImage(n,0,0),s.isOpera&&t.container.removeChild(n),i.clearData(),i.setData("Text",t.session.getTextRange()),w=!0,this.setState("drag")},this.onDragEnd=function(e){c.draggable=!1,w=!1,this.setState(null);if(!t.getReadOnly()){var n=e.dataTransfer.dropEffect;!b&&n=="move"&&t.session.remove(t.getSelectionRange()),t.renderer.$cursorLayer.setBlinking(!0)}this.editor.unsetStyle("ace_dragging")},this.onDragEnter=function(e){if(t.getReadOnly()||!M(e.dataTransfer))return;return h||k(),y++,e.dataTransfer.dropEffect=b=_(e),i.preventDefault(e)},this.onDragOver=function(e){if(t.getReadOnly()||!M(e.dataTransfer))return;return h||(k(),y++),A!==null&&(A=null),p=e.clientX,d=e.clientY,e.dataTransfer.dropEffect=b=_(e),i.preventDefault(e)},this.onDragLeave=function(e){y--;if(y<=0&&h)return L(),b=null,i.preventDefault(e)},this.onDrop=function(e){if(!h)return;var n=e.dataTransfer;if(w)switch(b){case"move":m.contains(g.row,g.column)?m={start:g,end:g}:m=t.moveText(m,g);break;case"copy":m=t.moveText(m,g,!0)}else{var r=n.getData("Text");m={start:g,end:t.session.insert(g,r)},t.focus(),b=null}return L(),i.preventDefault(e)},i.addListener(c,"dragstart",this.onDragStart.bind(e)),i.addListener(c,"dragend",this.onDragEnd.bind(e)),i.addListener(c,"dragenter",this.onDragEnter.bind(e)),i.addListener(c,"dragover",this.onDragOver.bind(e)),i.addListener(c,"dragleave",this.onDragLeave.bind(e)),i.addListener(c,"drop",this.onDrop.bind(e));var A=null}function l(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))}var r=e("../lib/dom"),i=e("../lib/event"),s=e("../lib/useragent"),o=200,u=200,a=5;(function(){this.dragWait=function(){var e=(new Date).getTime()-this.mousedownEvent.time;e>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var e=this.editor.container;e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle("ace_dragging"),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor.container;e.draggable=!0,this.editor.renderer.$cursorLayer.setBlinking(!1),this.editor.setStyle("ace_dragging"),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;if(s.isIE&&this.state=="dragReady"){var n=l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);n>3&&t.dragDrop()}if(this.state==="dragWait"){var n=l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);n>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(e){if(!this.$dragEnabled)return;this.mousedownEvent=e;var t=this.editor,n=e.inSelection(),r=e.getButton(),i=e.domEvent.detail||1;if(i===1&&r===0&&n){this.mousedownEvent.time=(new Date).getTime();var o=e.domEvent.target||e.domEvent.srcElement;"unselectable"in o&&(o.unselectable="on");if(t.getDragDelay()){if(s.isWebKit){self.cancelDrag=!0;var u=t.container;u.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}).call(f.prototype),t.DragdropHandler=f}),define("ace/config",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/lib/net","ace/lib/event_emitter"],function(e,t,n){"no use strict";function f(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})}var r=e("./lib/lang"),i=e("./lib/oop"),s=e("./lib/net"),o=e("./lib/event_emitter").EventEmitter,u=function(){return this}(),a={packaged:!1,workerPath:null,modePath:null,themePath:null,basePath:"",suffix:".js",$moduleUrls:{}};t.get=function(e){if(!a.hasOwnProperty(e))throw new Error("Unknown config key: "+e);return a[e]},t.set=function(e,t){if(!a.hasOwnProperty(e))throw new Error("Unknown config key: "+e);a[e]=t},t.all=function(){return r.copyObject(a)},i.implement(t,o),t.moduleUrl=function(e,t){if(a.$moduleUrls[e])return a.$moduleUrls[e];var n=e.split("/");t=t||n[n.length-2]||"";var r=t=="snippets"?"/":"-",i=n[n.length-1];if(r=="-"){var s=new RegExp("^"+t+"[\\-_]|[\\-_]"+t+"$","g");i=i.replace(s,"")}(!i||i==t)&&n.length>1&&(i=n[n.length-2]);var o=a[t+"Path"];return o==null?o=a.basePath:r=="/"&&(t=r=""),o&&o.slice(-1)!="/"&&(o+="/"),o+t+r+i+this.get("suffix")},t.setModuleUrl=function(e,t){return a.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(n,r){var i,o;Array.isArray(n)&&(o=n[0],n=n[1]);try{i=e(n)}catch(u){}if(i&&!t.$loading[n])return r&&r(i);t.$loading[n]||(t.$loading[n]=[]),t.$loading[n].push(r);if(t.$loading[n].length>1)return;var a=function(){e([n],function(e){t._emit("load.module",{name:n,module:e});var r=t.$loading[n];t.$loading[n]=null,r.forEach(function(t){t&&t(e)})})};if(!t.get("packaged"))return a();s.loadScript(t.moduleUrl(n,o),a)},t.init=function(){a.packaged=e.packaged||n.packaged||u.define&&define.packaged;if(!u.document)return"";var r={},i="",s=document.getElementsByTagName("script");for(var o=0;o<s.length;o++){var l=s[o],c=l.src||l.getAttribute("src");if(!c)continue;var h=l.attributes;for(var p=0,d=h.length;p<d;p++){var v=h[p];v.name.indexOf("data-ace-")===0&&(r[f(v.name.replace(/^data-ace-/,""))]=v.value)}var m=c.match(/^(.*)\/ace(\-\w+)?\.js(\?|$)/);m&&(i=m[1])}i&&(r.base=r.base||i,r.packaged=!0),r.basePath=r.base,r.workerPath=r.workerPath||r.base,r.modePath=r.modePath||r.base,r.themePath=r.themePath||r.base,delete r.base;for(var g in r)typeof r[g]!="undefined"&&t.set(g,r[g])};var l={setOptions:function(e){Object.keys(e).forEach(function(t){this.setOption(t,e[t])},this)},getOptions:function(e){var t={};return e?Array.isArray(e)||(t=e,e=Object.keys(t)):e=Object.keys(this.$options),e.forEach(function(e){t[e]=this.getOption(e)},this),t},setOption:function(e,t){if(this["$"+e]===t)return;var n=this.$options[e];if(!n)return typeof console!="undefined"&&console.warn&&console.warn('misspelled option "'+e+'"'),undefined;if(n.forwardTo)return this[n.forwardTo]&&this[n.forwardTo].setOption(e,t);n.handlesSet||(this["$"+e]=t),n&&n.set&&n.set.call(this,t)},getOption:function(e){var t=this.$options[e];return t?t.forwardTo?this[t.forwardTo]&&this[t.forwardTo].getOption(e):t&&t.get?t.get.call(this):this["$"+e]:(typeof console!="undefined"&&console.warn&&console.warn('misspelled option "'+e+'"'),undefined)}},c={};t.defineOptions=function(e,t,n){return e.$options||(c[t]=e.$options={}),Object.keys(n).forEach(function(t){var r=n[t];typeof r=="string"&&(r={forwardTo:r}),r.name||(r.name=t),e.$options[r.name]=r,"initialValue"in r&&(e["$"+r.name]=r.initialValue)}),i.implement(e,l),this},t.resetOptions=function(e){Object.keys(e.$options).forEach(function(t){var n=e.$options[t];"value"in n&&e.setOption(t,n.value)})},t.setDefaultValue=function(e,n,r){var i=c[e]||(c[e]={});i[n]&&(i.forwardTo?t.setDefaultValue(i.forwardTo,n,r):i[n].value=r)},t.setDefaultValues=function(e,n){Object.keys(n).forEach(function(r){t.setDefaultValue(e,r,n[r])})}}),define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(e,t,n){var r=e("./dom");t.get=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){n.readyState===4&&t(n.responseText)},n.send(null)},t.loadScript=function(e,t){var n=r.getDocumentHead(),i=document.createElement("script");i.src=e,n.appendChild(i),i.onload=i.onreadystatechange=function(e,n){if(n||!i.readyState||i.readyState=="loaded"||i.readyState=="complete")i=i.onload=i.onreadystatechange=null,n||t()}}}),define("ace/lib/event_emitter",["require","exports","module"],function(e,t,n){var r={},i=function(){this.propagationStopped=!0},s=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],r=this._defaultHandlers[e];if(!n.length&&!r)return;if(typeof t!="object"||!t)t={};t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=i),t.preventDefault||(t.preventDefault=s),n=n.slice();for(var o=0;o<n.length;o++){n[o](t,this);if(t.propagationStopped)break}if(r&&!t.defaultPrevented)return r(t,this)},r._signal=function(e,t){var n=(this._eventRegistry||{})[e];if(!n)return;n=n.slice();for(var r=0;r<n.length;r++)n[r](t,this)},r.once=function(e,t){var n=this;t&&this.addEventListener(e,function r(){n.removeEventListener(e,r),t.apply(null,arguments)})},r.setDefaultHandler=function(e,t){var n=this._defaultHandlers;n||(n=this._defaultHandlers={_disabled_:{}});if(n[e]){var r=n[e],i=n._disabled_[e];i||(n._disabled_[e]=i=[]),i.push(r);var s=i.indexOf(t);s!=-1&&i.splice(s,1)}n[e]=t},r.removeDefaultHandler=function(e,t){var n=this._defaultHandlers;if(!n)return;var r=n._disabled_[e];if(n[e]==t){var i=n[e];r&&this.setDefaultHandler(e,r.pop())}else if(r){var s=r.indexOf(t);s!=-1&&r.splice(s,1)}},r.on=r.addEventListener=function(e,t,n){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[e];return r||(r=this._eventRegistry[e]=[]),r.indexOf(t)==-1&&r[n?"unshift":"push"](t),t},r.off=r.removeListener=r.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];if(!n)return;var r=n.indexOf(t);r!==-1&&n.splice(r,1)},r.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=r}),define("ace/mouse/fold_handler",["require","exports","module"],function(e,t,n){function r(e){e.on("click",function(t){var n=t.getDocumentPosition(),r=e.session,i=r.getFoldAt(n.row,n.column,1);i&&(t.getAccelKey()?r.removeFold(i):r.expandFold(i),t.stop())}),e.on("gutterclick",function(t){var n=e.renderer.$gutterLayer.getRegion(t);if(n=="foldWidgets"){var r=t.getDocumentPosition().row,i=e.session;i.foldWidgets&&i.foldWidgets[r]&&e.session.onFoldWidgetClick(r,t),e.isFocused()||e.focus(),t.stop()}}),e.on("gutterdblclick",function(t){var n=e.renderer.$gutterLayer.getRegion(t);if(n=="foldWidgets"){var r=t.getDocumentPosition().row,i=e.session,s=i.getParentFoldRangeData(r,!0),o=s.range||s.firstRange;if(o){var r=o.start.row,u=i.getFoldAt(r,i.getLine(r).length,1);u?i.removeFold(u):(i.addFold("...",o),e.renderer.scrollCursorIntoView({row:o.start.row,column:0}))}t.stop()}})}t.FoldHandler=r}),define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],function(e,t,n){var r=e("../lib/keys"),i=e("../lib/event"),s=function(e){this.$editor=e,this.$data={},this.$handlers=[],this.setDefaultHandler(e.commands)};(function(){this.setDefaultHandler=function(e){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=e,this.addKeyboardHandler(e,0),this.$data={editor:this.$editor}},this.setKeyboardHandler=function(e){var t=this.$handlers;if(t[t.length-1]==e)return;while(t[t.length-1]&&t[t.length-1]!=this.$defaultHandler)this.removeKeyboardHandler(t[t.length-1]);this.addKeyboardHandler(e,1)},this.addKeyboardHandler=function(e,t){if(!e)return;var n=this.$handlers.indexOf(e);n!=-1&&this.$handlers.splice(n,1),t==undefined?this.$handlers.push(e):this.$handlers.splice(t,0,e),n==-1&&e.attach&&e.attach(this.$editor)},this.removeKeyboardHandler=function(e){var t=this.$handlers.indexOf(e);return t==-1?!1:(this.$handlers.splice(t,1),e.detach&&e.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.$callKeyboardHandlers=function(e,t,n,r){var s,o=!1,u=this.$editor.commands;for(var a=this.$handlers.length;a--;){s=this.$handlers[a].handleKeyboard(this.$data,e,t,n,r);if(!s||!s.command)continue;s.command=="null"?o=!0:o=u.exec(s.command,this.$editor,s.args,r),o&&r&&e!=-1&&s.passEvent!=1&&s.command.passEvent!=1&&i.stopEvent(r);if(o)break}return o},this.onCommandKey=function(e,t,n){var i=r.keyCodeToString(n);this.$callKeyboardHandlers(t,i,n,e)},this.onTextInput=function(e){var t=this.$callKeyboardHandlers(-1,e);t||this.$editor.commands.exec("insertstring",this.$editor,e)}}).call(s.prototype),t.KeyBinding=s}),define("ace/edit_session",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/config","ace/lib/event_emitter","ace/selection","ace/mode/text","ace/range","ace/document","ace/background_tokenizer","ace/search_highlight","ace/edit_session/folding","ace/edit_session/bracket_match"],function(e,t,n){var r=e("./lib/oop"),i=e("./lib/lang"),s=e("./config"),o=e("./lib/event_emitter").EventEmitter,u=e("./selection").Selection,a=e("./mode/text").Mode,f=e("./range").Range,l=e("./document").Document,c=e("./background_tokenizer").BackgroundTokenizer,h=e("./search_highlight").SearchHighlight,p=function(e,t){this.$breakpoints=[],this.$decorations=[],this.$frontMarkers={},this.$backMarkers={},this.$markerId=1,this.$undoSelect=!0,this.$foldData=[],this.$foldData.toString=function(){return this.join("\n")},this.on("changeFold",this.onChangeFold.bind(this)),this.$onChange=this.onChange.bind(this);if(typeof e!="object"||!e.getLine)e=new l(e);this.setDocument(e),this.selection=new u(this),s.resetOptions(this),this.setMode(t),s._emit("session",this)};(function(){function g(e){return e<4352?!1:e>=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510}r.implement(this,o),this.setDocument=function(e){this.doc&&this.doc.removeListener("change",this.$onChange),this.doc=e,e.on("change",this.$onChange),this.bgTokenizer&&this.bgTokenizer.setDocument(this.getDocument()),this.resetCaches()},this.getDocument=function(){return this.doc},this.$resetRowCache=function(e){if(!e){this.$docRowCache=[],this.$screenRowCache=[];return}var t=this.$docRowCache.length,n=this.$getRowCacheIndex(this.$docRowCache,e)+1;t>n&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},this.$getRowCacheIndex=function(e,t){var n=0,r=e.length-1;while(n<=r){var i=n+r>>1,s=e[i];if(t>s)n=i+1;else{if(!(t<s))return i;r=i-1}}return n-1},this.resetCaches=function(){this.$modified=!0,this.$wrapData=[],this.$rowLengthCache=[],this.$resetRowCache(0),this.bgTokenizer&&this.bgTokenizer.start(0)},this.onChangeFold=function(e){var t=e.data;this.$resetRowCache(t.start.row)},this.onChange=function(e){var t=e.data;this.$modified=!0,this.$resetRowCache(t.range.start.row);var n=this.$updateInternalDataOnChange(e);!this.$fromUndo&&this.$undoManager&&!t.ignore&&(this.$deltasDoc.push(t),n&&n.length!=0&&this.$deltasFold.push({action:"removeFolds",folds:n}),this.$informUndoManager.schedule()),this.bgTokenizer.$updateOnChange(t),this._emit("change",e)},this.setValue=function(e){this.doc.setValue(e),this.selection.moveCursorTo(0,0),this.selection.clearSelection(),this.$resetRowCache(0),this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.getUndoManager().reset()},this.getValue=this.toString=function(){return this.doc.getValue()},this.getSelection=function(){return this.selection},this.getState=function(e){return this.bgTokenizer.getState(e)},this.getTokens=function(e){return this.bgTokenizer.getTokens(e)},this.getTokenAt=function(e,t){var n=this.bgTokenizer.getTokens(e),r,i=0;if(t==null)s=n.length-1,i=this.getLine(e).length;else for(var s=0;s<n.length;s++){i+=n[s].value.length;if(i>=t)break}return r=n[s],r?(r.index=s,r.start=i-r.value.length,r):null},this.setUndoManager=function(e){this.$undoManager=e,this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.$informUndoManager&&this.$informUndoManager.cancel();if(e){var t=this;this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.$deltasFold.length&&(t.$deltas.push({group:"fold",deltas:t.$deltasFold}),t.$deltasFold=[]),t.$deltasDoc.length&&(t.$deltas.push({group:"doc",deltas:t.$deltasDoc}),t.$deltasDoc=[]),t.$deltas.length>0&&e.execute({action:"aceupdate",args:[t.$deltas,t],merge:t.mergeUndoDeltas}),t.mergeUndoDeltas=!1,t.$deltas=[]},this.$informUndoManager=i.delayedCall(this.$syncInformUndoManager)}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},reset:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?i.stringRepeat(" ",this.getTabSize()):"  "},this.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(e){this.setOption("tabSize",e)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize==0},this.$overwrite=!1,this.setOverwrite=function(e){this.setOption("overwrite",e)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._emit("changeBreakpoint",{})},this.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._emit("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t<e.length;t++)this.$breakpoints[e[t]]="ace_breakpoint";this._emit("changeBreakpoint",{})},this.clearBreakpoints=function(){this.$breakpoints=[],this._emit("changeBreakpoint",{})},this.setBreakpoint=function(e,t){t===undefined&&(t="ace_breakpoint"),t?this.$breakpoints[e]=t:delete this.$breakpoints[e],this._emit("changeBreakpoint",{})},this.clearBreakpoint=function(e){delete this.$breakpoints[e],this._emit("changeBreakpoint",{})},this.addMarker=function(e,t,n,r){var i=this.$markerId++,s={range:e,type:n||"line",renderer:typeof n=="function"?n:null,clazz:t,inFront:!!r,id:i};return r?(this.$frontMarkers[i]=s,this._emit("changeFrontMarker")):(this.$backMarkers[i]=s,this._emit("changeBackMarker")),i},this.addDynamicMarker=function(e,t){if(!e.update)return;var n=this.$markerId++;return e.id=n,e.inFront=!!t,t?(this.$frontMarkers[n]=e,this._emit("changeFrontMarker")):(this.$backMarkers[n]=e,this._emit("changeBackMarker")),e},this.removeMarker=function(e){var t=this.$frontMarkers[e]||this.$backMarkers[e];if(!t)return;var n=t.inFront?this.$frontMarkers:this.$backMarkers;t&&(delete n[e],this._emit(t.inFront?"changeFrontMarker":"changeBackMarker"))},this.getMarkers=function(e){return e?this.$frontMarkers:this.$backMarkers},this.highlight=function(e){if(!this.$searchHighlight){var t=new h(null,"ace_selected-word","text");this.$searchHighlight=this.addDynamicMarker(t)}this.$searchHighlight.setRegexp(e)},this.highlightLines=function(e,t,n,r){typeof t!="number"&&(n=t,t=e),n||(n="ace_step");var i=new f(e,0,t,Infinity);return i.id=this.addMarker(i,n,"fullLine",r),i},this.setAnnotations=function(e){this.$annotations=e,this._emit("changeAnnotation",{})},this.getAnnotations=function(){return this.$annotations||[]},this.clearAnnotations=function(){this.setAnnotations([])},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r?\n)/m);t?this.$autoNewLine=t[1]:this.$autoNewLine="\n"},this.getWordRange=function(e,t){var n=this.getLine(e),r=!1;t>0&&(r=!!n.charAt(t-1).match(this.tokenRe)),r||(r=!!n.charAt(t).match(this.tokenRe));if(r)var i=this.tokenRe;else if(/^\s+$/.test(n.slice(t-1,t+1)))var i=/\s/;else var i=this.nonTokenRe;var s=t;if(s>0){do s--;while(s>=0&&n.charAt(s).match(i));s++}var o=t;while(o<n.length&&n.charAt(o).match(i))o++;return new f(e,s,e,o)},this.getAWordRange=function(e,t){var n=this.getWordRange(e,t),r=this.getLine(n.end.row);while(r.charAt(n.end.column).match(/[ \t]/))n.end.column+=1;return n},this.setNewLineMode=function(e){this.doc.setNewLineMode(e)},this.getNewLineMode=function(){return this.doc.getNewLineMode()},this.setUseWorker=function(e){this.setOption("useWorker",e)},this.getUseWorker=function(){return this.$useWorker},this.onReloadTokenizer=function(e){var t=e.data;this.bgTokenizer.start(t.first),this._emit("tokenizerUpdate",e)},this.$modes={},this.$mode=null,this.$modeId=null,this.setMode=function(e,t){if(e&&typeof e=="object"){if(e.getTokenizer)return this.$onChangeMode(e);var n=e,r=n.path}else r=e||"ace/mode/text";this.$modes["ace/mode/text"]||(this.$modes["ace/mode/text"]=new a);if(this.$modes[r]&&!n){this.$onChangeMode(this.$modes[r]),t&&t();return}this.$modeId=r,s.loadModule(["mode",r],function(e){if(this.$modeId!==r)return t&&t();if(this.$modes[r]&&!n)return this.$onChangeMode(this.$modes[r]);e&&e.Mode&&(e=new e.Mode(n),n||(this.$modes[r]=e,e.$id=r),this.$onChangeMode(e),t&&t())}.bind(this)),this.$mode||this.$onChangeMode(this.$modes["ace/mode/text"],!0)},this.$onChangeMode=function(e,t){t||(this.$modeId=e.$id);if(this.$mode===e)return;this.$mode=e,this.$stopWorker(),this.$useWorker&&this.$startWorker();var n=e.getTokenizer();if(n.addEventListener!==undefined){var r=this.onReloadTokenizer.bind(this);n.addEventListener("update",r)}if(!this.bgTokenizer){this.bgTokenizer=new c(n);var i=this;this.bgTokenizer.addEventListener("update",function(e){i._emit("tokenizerUpdate",e)})}else this.bgTokenizer.setTokenizer(n);this.bgTokenizer.setDocument(this.getDocument()),this.tokenRe=e.tokenRe,this.nonTokenRe=e.nonTokenRe,this.$options.wrapMethod.set.call(this,this.$wrapMethod),t||(this.$setFolding(e.foldingRules),this._emit("changeMode"),this.bgTokenizer.start(0))},this.$stopWorker=function(){this.$worker&&this.$worker.terminate(),this.$worker=null},this.$startWorker=function(){if(typeof Worker!="undefined"&&!e.noWorker)try{this.$worker=this.$mode.createWorker(this)}catch(t){console.log("Could not load worker"),console.log(t),this.$worker=null}else this.$worker=null},this.getMode=function(){return this.$mode},this.$scrollTop=0,this.setScrollTop=function(e){if(this.$scrollTop===e||isNaN(e))return;this.$scrollTop=e,this._signal("changeScrollTop",e)},this.getScrollTop=function(){return this.$scrollTop},this.$scrollLeft=0,this.setScrollLeft=function(e){if(this.$scrollLeft===e||isNaN(e))return;this.$scrollLeft=e,this._signal("changeScrollLeft",e)},this.getScrollLeft=function(){return this.$scrollLeft},this.getScreenWidth=function(){return this.$computeWidth(),this.screenWidth},this.$computeWidth=function(e){if(this.$modified||e){this.$modified=!1;if(this.$useWrapMode)return this.screenWidth=this.$wrapLimit;var t=this.doc.getAllLines(),n=this.$rowLengthCache,r=0,i=0,s=this.$foldData[i],o=s?s.start.row:Infinity,u=t.length;for(var a=0;a<u;a++){if(a>o){a=s.end.row+1;if(a>=u)break;s=this.$foldData[i++],o=s?s.start.row:Infinity}n[a]==null&&(n[a]=this.$getStringScreenWidth(t[a])[0]),n[a]>r&&(r=n[a])}this.screenWidth=r}},this.getLine=function(e){return this.doc.getLine(e)},this.getLines=function(e,t){return this.doc.getLines(e,t)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},this.insert=function(e,t){return this.doc.insert(e,t)},this.remove=function(e){return this.doc.remove(e)},this.undoChanges=function(e,t){if(!e.length)return;this.$fromUndo=!0;var n=null;for(var r=e.length-1;r!=-1;r--){var i=e[r];i.group=="doc"?(this.doc.revertDeltas(i.deltas),n=this.$getUndoSelection(i.deltas,!0,n)):i.deltas.forEach(function(e){this.addFolds(e.folds)},this)}return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n},this.redoChanges=function(e,t){if(!e.length)return;this.$fromUndo=!0;var n=null;for(var r=0;r<e.length;r++){var i=e[r];i.group=="doc"&&(this.doc.applyDeltas(i.deltas),n=this.$getUndoSelection(i.deltas,!1,n))}return this.$fromUndo=!1,n&&this.$undoSelect&&!t&&this.selection.setSelectionRange(n),n},this.setUndoSelect=function(e){this.$undoSelect=e},this.$getUndoSelection=function(e,t,n){function r(e){var n=e.action==="insertText"||e.action==="insertLines";return t?!n:n}var i=e[0],s,o,u=!1;r(i)?(s=f.fromPoints(i.range.start,i.range.end),u=!0):(s=f.fromPoints(i.range.start,i.range.start),u=!1);for(var a=1;a<e.length;a++)i=e[a],r(i)?(o=i.range.start,s.compare(o.row,o.column)==-1&&s.setStart(i.range.start),o=i.range.end,s.compare(o.row,o.column)==1&&s.setEnd(i.range.end),u=!0):(o=i.range.start,s.compare(o.row,o.column)==-1&&(s=f.fromPoints(i.range.start,i.range.start)),u=!1);if(n!=null){f.comparePoints(n.start,s.start)==0&&(n.start.column+=s.end.column-s.start.column,n.end.column+=s.end.column-s.start.column);var l=n.compareRange(s);l==1?s.setStart(n.start):l==-1&&s.setEnd(n.end)}return s},this.replace=function(e,t){return this.doc.replace(e,t)},this.moveText=function(e,t,n){var r=this.getTextRange(e),i=this.getFoldsInRange(e),s=f.fromPoints(t,t);if(!n){this.remove(e);var o=e.start.row-e.end.row,u=o?-e.end.column:e.start.column-e.end.column;u&&(s.start.row==e.end.row&&s.start.column>e.end.column&&(s.start.column+=u),s.end.row==e.end.row&&s.end.column>e.end.column&&(s.end.column+=u)),o&&s.start.row>=e.end.row&&(s.start.row+=o,s.end.row+=o)}s.end=this.insert(s.start,r);if(i.length){var a=e.start,l=s.start,o=l.row-a.row,u=l.column-a.column;this.addFolds(i.map(function(e){return e=e.clone(),e.start.row==a.row&&(e.start.column+=u),e.end.row==a.row&&(e.end.column+=u),e.start.row+=o,e.end.row+=o,e}))}return s},this.indentRows=function(e,t,n){n=n.replace(/\t/g,this.getTabString());for(var r=e;r<=t;r++)this.insert({row:r,column:0},n)},this.outdentRows=function(e){var t=e.collapseRows(),n=new f(0,0,0,0),r=this.getTabSize();for(var i=t.start.row;i<=t.end.row;++i){var s=this.getLine(i);n.start.row=i,n.end.row=i;for(var o=0;o<r;++o)if(s.charAt(o)!=" ")break;o<r&&s.charAt(o)=="      "?(n.start.column=o,n.end.column=o+1):(n.start.column=0,n.end.column=o),this.remove(n)}},this.$moveLines=function(e,t,n){e=this.getRowFoldStart(e),t=this.getRowFoldEnd(t);if(n<0){var r=this.getRowFoldStart(e+n);if(r<0)return 0;var i=r-e}else if(n>0){var r=this.getRowFoldEnd(t+n);if(r>this.doc.getLength()-1)return 0;var i=r-t}else{e=this.$clipRowToDocument(e),t=this.$clipRowToDocument(t);var i=t-e+1}var s=new f(e,0,t,Number.MAX_VALUE),o=this.getFoldsInRange(s).map(function(e){return e=e.clone(),e.start.row+=i,e.end.row+=i,e}),u=n==0?this.doc.getLines(e,t):this.doc.removeLines(e,t);return this.doc.insertLines(e+i,u),o.length&&this.addFolds(o),i},this.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},this.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},this.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},this.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},this.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},this.$clipPositionToDocument=function(e,t){t=Math.max(0,t);if(e<0)e=0,t=0;else{var n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},this.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(e){if(e!=this.$useWrapMode){this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0);if(e){var t=this.getLength();this.$wrapData=[];for(var n=0;n<t;n++)this.$wrapData.push([]);this.$updateWrapData(0,t-1)}this._emit("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(e,t){if(this.$wrapLimitRange.min!==e||this.$wrapLimitRange.max!==t)this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this._emit("changeWrapMode")},this.adjustWrapLimit=function(e,t){var n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var r=this.$constrainWrapLimit(e,n.min,n.max);return r!=this.$wrapLimit&&r>1?(this.$wrapLimit=r,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._emit("changeWrapLimit")),!0):!1},this.$constrainWrapLimit=function(e,t,n){return t&&(e=Math.max(t,e)),n&&(e=Math.min(n,e)),e},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,n,r=e.data.action,i=e.data.range.start.row,s=e.data.range.end.row,o=e.data.range.start,u=e.data.range.end,a=null;r.indexOf("Lines")!=-1?(r=="insertLines"?s=i+e.data.lines.length:s=i,n=e.data.lines?e.data.lines.length:s-i):n=s-i,this.$updating=!0;if(n!=0)if(r.indexOf("remove")!=-1){this[t?"$wrapData":"$rowLengthCache"].splice(i,n);var f=this.$foldData;a=this.getFoldsInRange(e.data.range),this.removeFolds(a);var l=this.getFoldLine(u.row),c=0;if(l){l.addRemoveChars(u.row,u.column,o.column-u.column),l.shiftRow(-n);var h=this.getFoldLine(i);h&&h!==l&&(h.merge(l),l=h),c=f.indexOf(l)+1}for(c;c<f.length;c++){var l=f[c];l.start.row>=u.row&&l.shiftRow(-n)}s=i}else{var p;if(t){p=[i,0];for(var d=0;d<n;d++)p.push([]);this.$wrapData.splice.apply(this.$wrapData,p)}else p=Array(n),p.unshift(i,0),this.$rowLengthCache.splice.apply(this.$rowLengthCache,p);var f=this.$foldData,l=this.getFoldLine(i),c=0;if(l){var v=l.range.compareInside(o.row,o.column);v==0?(l=l.split(o.row,o.column),l.shiftRow(n),l.addRemoveChars(s,0,u.column-o.column)):v==-1&&(l.addRemoveChars(i,0,u.column-o.column),l.shiftRow(n)),c=f.indexOf(l)+1}for(c;c<f.length;c++){var l=f[c];l.start.row>=i&&l.shiftRow(n)}}else{n=Math.abs(e.data.range.start.column-e.data.range.end.column),r.indexOf("remove")!=-1&&(a=this.getFoldsInRange(e.data.range),this.removeFolds(a),n=-n);var l=this.getFoldLine(i);l&&l.addRemoveChars(i,o.column,n)}return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(i,s):this.$updateRowLengthCache(i,s),a},this.$updateRowLengthCache=function(e,t,n){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(e,t){var n=this.doc.getAllLines(),r=this.getTabSize(),i=this.$wrapData,s=this.$wrapLimit,o,a,f=e;t=Math.min(t,n.length-1);while(f<=t)a=this.getFoldLine(f,a),a?(o=[],a.walk(function(e,t,r,i){var s;if(e!=null){s=this.$getDisplayTokens(e,o.length),s[0]=u;for(var a=1;a<s.length;a++)s[a]=l}else s=this.$getDisplayTokens(n[t].substring(i,r),o.length);o=o.concat(s)}.bind(this),a.end.row,n[a.end.row].length+1),i[a.start.row]=this.$computeWrapSplits(o,s,r),f=a.end.row+1):(o=this.$getDisplayTokens(n[f]),i[f]=this.$computeWrapSplits(o,s,r),f++)};var t=1,n=2,u=3,l=4,p=9,d=10,v=11,m=12;this.$computeWrapSplits=function(e,t){function a(t){var r=e.slice(i,t),o=r.length;r.join("").replace(/12/g,function(){o-=1}).replace(/2/g,function(){o-=1}),s+=o,n.push(s),i=t}if(e.length==0)return[];var n=[],r=e.length,i=0,s=0,o=this.$wrapAsCode;while(r-i>t){var f=i+t;if(e[f-1]>=d&&e[f]>=d){a(f);continue}if(e[f]==u||e[f]==l){for(f;f!=i-1;f--)if(e[f]==u)break;if(f>i){a(f);continue}f=i+t;for(f;f<e.length;f++)if(e[f]!=l)break;if(f==e.length)break;a(f);continue}var c=Math.max(f-(o?10:t-(t>>2)),i-1);while(f>c&&e[f]<u)f--;if(o){while(f>c&&e[f]<u)f--;while(f>c&&e[f]==p)f--}else while(f>c&&e[f]<d)f--;if(f>c){a(++f);continue}f=i+t,a(f)}return n},this.$getDisplayTokens=function(e,r){var i=[],s;r=r||0;for(var o=0;o<e.length;o++){var u=e.charCodeAt(o);if(u==9){s=this.getScreenTabSize(i.length+r),i.push(v);for(var a=1;a<s;a++)i.push(m)}else u==32?i.push(d):u>39&&u<48||u>57&&u<64?i.push(p):u>=4352&&g(u)?i.push(t,n):i.push(t)}return i},this.$getStringScreenWidth=function(e,t,n){if(t==0)return[0,0];t==null&&(t=Infinity),n=n||0;var r,i;for(i=0;i<e.length;i++){r=e.charCodeAt(i),r==9?n+=this.getScreenTabSize(n):r>=4352&&g(r)?n+=2:n+=1;if(n>t)break}return[n,i]},this.getRowLength=function(e){return!this.$useWrapMode||!this.$wrapData[e]?1:this.$wrapData[e].length+1},this.getScreenLastRowColumn=function(e){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE);return this.documentToScreenColumn(t.row,t.column)},this.getDocumentLastRowColumn=function(e,t){var n=this.documentToScreenRow(e,t);return this.getScreenLastRowColumn(n)},this.getDocumentLastRowColumnPosition=function(e,t){var n=this.documentToScreenRow(e,t);return this.screenToDocumentPosition(n,Number.MAX_VALUE/10)},this.getRowSplitData=function(e){return this.$useWrapMode?this.$wrapData[e]:undefined},this.getScreenTabSize=function(e){return this.$tabSize-e%this.$tabSize},this.screenToDocumentRow=function(e,t){return this.screenToDocumentPosition(e,t).row},this.screenToDocumentColumn=function(e,t){return this.screenToDocumentPosition(e,t).column},this.screenToDocumentPosition=function(e,t){if(e<0)return{row:0,column:0};var n,r=0,i=0,s,o=0,u=0,a=this.$screenRowCache,f=this.$getRowCacheIndex(a,e),l=a.length;if(l&&f>=0)var o=a[f],r=this.$docRowCache[f],c=e>a[l-1];else var c=!l;var h=this.getLength()-1,p=this.getNextFoldLine(r),d=p?p.start.row:Infinity;while(o<=e){u=this.getRowLength(r);if(o+u-1>=e||r>=h)break;o+=u,r++,r>d&&(r=p.end.row+1,p=this.getNextFoldLine(r,p),d=p?p.start.row:Infinity),c&&(this.$docRowCache.push(r),this.$screenRowCache.push(o))}if(p&&p.start.row<=r)n=this.getFoldDisplayLine(p),r=p.start.row;else{if(o+u<=e||r>h)return{row:h,column:this.getLine(h).length};n=this.getLine(r),p=null}if(this.$useWrapMode){var v=this.$wrapData[r];v&&(s=v[e-o],e>o&&v.length&&(i=v[e-o-1]||v[v.length-1],n=n.substring(i)))}return i+=this.$getStringScreenWidth(n,t)[1],this.$useWrapMode&&i>=s&&(i=s-1),p?p.idxToPosition(i):{row:r,column:i}},this.documentToScreenPosition=function(e,t){if(typeof t=="undefined")var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);e=n.row,t=n.column;var r=0,i=null,s=null;s=this.getFoldAt(e,t,1),s&&(e=s.start.row,t=s.start.column);var o,u=0,a=this.$docRowCache,f=this.$getRowCacheIndex(a,e),l=a.length;if(l&&f>=0)var u=a[f],r=this.$screenRowCache[f],c=e>a[l-1];else var c=!l;var h=this.getNextFoldLine(u),p=h?h.start.row:Infinity;while(u<e){if(u>=p){o=h.end.row+1;if(o>e)break;h=this.getNextFoldLine(o,h),p=h?h.start.row:Infinity}else o=u+1;r+=this.getRowLength(u),u=o,c&&(this.$docRowCache.push(u),this.$screenRowCache.push(r))}var d="";h&&u>=p?(d=this.getFoldDisplayLine(h,e,t),i=h.start.row):(d=this.getLine(e).substring(0,t),i=e);if(this.$useWrapMode){var v=this.$wrapData[i],m=0;while(d.length>=v[m])r++,m++;d=d.substring(v[m-1]||0,d.length)}return{row:r,column:this.$getStringScreenWidth(d)[0]}},this.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},this.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},this.getScreenLength=function(){var e=0,t=null;if(!this.$useWrapMode){e=this.getLength();var n=this.$foldData;for(var r=0;r<n.length;r++)t=n[r],e-=t.end.row-t.start.row}else{var i=this.$wrapData.length,s=0,r=0,t=this.$foldData[r++],o=t?t.start.row:Infinity;while(s<i)e+=this.$wrapData[s].length+1,s++,s>o&&(s=t.end.row+1,t=this.$foldData[r++],o=t?t.start.row:Infinity)}return e}}).call(p.prototype),e("./edit_session/folding").Folding.call(p.prototype),e("./edit_session/bracket_match").BracketMatch.call(p.prototype),s.defineOptions(p.prototype,"session",{wrap:{set:function(e){!e||e=="off"?e=!1:e=="free"?e=!0:e=="printMargin"?e=-1:typeof e=="string"&&(e=parseInt(e,10)||!1);if(this.$wrap==e)return;if(!e)this.setUseWrapMode(!1);else{var t=typeof e=="number"?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}this.$wrap=e},get:function(){return this.getUseWrapMode()?this.getWrapLimitRange().min||"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){e=="auto"?this.$wrapAsCode=this.$mode.type!="text":this.$wrapAsCode=e!="text"},initialValue:"auto"},firstLineNumber:{set:function(){this._emit("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){if(isNaN(e)||this.$tabSize===e)return;this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._emit("changeTabSize")},initialValue:4,handlesSet:!0},overwrite:{set:function(e){this._emit("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0}}),t.EditSession=p}),define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(e,t,n){var r=e("./lib/oop"),i=e("./lib/lang"),s=e("./lib/event_emitter").EventEmitter,o=e("./range").Range,u=function(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.lead=this.selectionLead=this.doc.createAnchor(0,0),this.anchor=this.selectionAnchor=this.doc.createAnchor(0,0);var t=this;this.lead.on("change",function(e){t._emit("changeCursor"),t.$isEmpty||t._emit("changeSelection"),!t.$keepDesiredColumnOnChange&&e.old.column!=e.value.column&&(t.$desiredColumn=null)}),this.selectionAnchor.on("change",function(){t.$isEmpty||t._emit("changeSelection")})};(function(){r.implement(this,s),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return this.isEmpty()?!1:this.getRange().isMultiLine()},this.getCursor=function(){return this.lead.getPosition()},this.setSelectionAnchor=function(e,t){this.anchor.setPosition(e,t),this.$isEmpty&&(this.$isEmpty=!1,this._emit("changeSelection"))},this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.shiftSelection=function(e){if(this.$isEmpty){this.moveCursorTo(this.lead.row,this.lead.column+e);return}var t=this.getSelectionAnchor(),n=this.getSelectionLead(),r=this.isBackwards();(!r||t.column!==0)&&this.setSelectionAnchor(t.row,t.column+e),(r||n.column!==0)&&this.$moveSelection(function(){this.moveCursorTo(n.row,n.column+e)})},this.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?o.fromPoints(t,t):this.isBackwards()?o.fromPoints(t,e):o.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){var e=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(e,this.doc.getLine(e).length)},this.setRange=this.setSelectionRange=function(e,t){t?(this.setSelectionAnchor(e.end.row,e.end.column),this.selectTo(e.start.row,e.start.column)):(this.setSelectionAnchor(e.start.row,e.start.column),this.selectTo(e.end.row,e.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection(function(){this.moveCursorTo(e,t)})},this.selectToPosition=function(e){this.$moveSelection(function(){this.moveCursorToPosition(e)})},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if(typeof t=="undefined"){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var n=typeof e=="number"?e:this.lead.row,r,i=this.session.getFoldLine(n);return i?(n=i.start.row,r=i.end.row):r=n,t===!0?new o(n,0,r,this.session.getLine(r).length):new o(n,0,r+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.moveCursorLeft=function(){var e=this.lead.getPosition(),t;if(t=this.session.getFoldAt(e.row,e.column,-1))this.moveCursorTo(t.start.row,t.start.column);else if(e.column==0)e.row>0&&this.moveCursorTo(e.row-1,this.doc.getLine(e.row-1).length);else{var n=this.session.getTabSize();this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(e.column-n,e.column).split(" ").length-1==n?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e=this.lead.getPosition(),t;if(t=this.session.getFoldAt(e.row,e.column,1))this.moveCursorTo(t.end.row,t.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row<this.doc.getLength()-1&&this.moveCursorTo(this.lead.row+1,0);else{var n=this.session.getTabSize(),e=this.lead;this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(e.column,e.column+n).split(" ").length-1==n?this.moveCursorBy(0,n):this.moveCursorBy(0,1)}},this.moveCursorLineStart=function(){var e=this.lead.row,t=this.lead.column,n=this.session.documentToScreenRow(e,t),r=this.session.screenToDocumentPosition(n,0),i=this.session.getDisplayLine(e,null,r.row,r.column),s=i.match(/^\s*/);s[0].length!=t&&!this.session.$useEmacsStyleLineStart&&(r.column+=s[0].length),this.moveCursorToPosition(r)},this.moveCursorLineEnd=function(){var e=this.lead,t=this.session.getDocumentLastRowColumnPosition(e.row,e.column);if(this.lead.column==t.column){var n=this.session.getLine(t.row);if(t.column==n.length){var r=n.search(/\s+$/);r>0&&(t.column=r)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t),i;this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var s=this.session.getFoldAt(e,t,1);if(s){this.moveCursorTo(s.end.row,s.end.column);return}if(i=this.session.nonTokenRe.exec(r))t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=n.substring(t);if(t>=n.length){this.moveCursorTo(e,n.length),this.moveCursorRight(),e<this.doc.getLength()-1&&this.moveCursorWordRight();return}if(i=this.session.tokenRe.exec(r))t+=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0;this.moveCursorTo(e,t)},this.moveCursorLongWordLeft=function(){var e=this.lead.row,t=this.lead.column,n;if(n=this.session.getFoldAt(e,t,-1)){this.moveCursorTo(n.start.row,n.start.column);return}var r=this.session.getFoldStringAt(e,t,-1);r==null&&(r=this.doc.getLine(e).substring(0,t));var s=i.stringReverse(r),o;this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;if(o=this.session.nonTokenRe.exec(s))t-=this.session.nonTokenRe.lastIndex,s=s.slice(this.session.nonTokenRe.lastIndex),this.session.nonTokenRe.lastIndex=0;if(t<=0){this.moveCursorTo(e,0),this.moveCursorLeft(),e>0&&this.moveCursorWordLeft();return}if(o=this.session.tokenRe.exec(s))t-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0;this.moveCursorTo(e,t)},this.$shortWordEndIndex=function(e){var t,n=0,r,i=/\s/,s=this.session.tokenRe;s.lastIndex=0;if(t=this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{while((r=e[n])&&i.test(r))n++;if(n<1){s.lastIndex=0;while((r=e[n])&&!s.test(r)){s.lastIndex=0,n++;if(i.test(r)){if(n>2){n--;break}while((r=e[n])&&i.test(r))n++;if(n>2)break}}}}return s.lastIndex=0,n},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t),i=this.session.getFoldAt(e,t,1);if(i)return this.moveCursorTo(i.end.row,i.end.column);if(t==n.length){var s=this.doc.getLength();do e++,r=this.doc.getLine(e);while(e<s&&/^\s*$/.test(r));/^\s+/.test(r)||(r=""),t=0}var o=this.$shortWordEndIndex(r);this.moveCursorTo(e,t+o)},this.moveCursorShortWordLeft=function(){var e=this.lead.row,t=this.lead.column,n;if(n=this.session.getFoldAt(e,t,-1))return this.moveCursorTo(n.start.row,n.start.column);var r=this.session.getLine(e).substring(0,t);if(t==0){do e--,r=this.doc.getLine(e);while(e>0&&/^\s*$/.test(r));t=r.length,/\s+$/.test(r)||(r="")}var s=i.stringReverse(r),o=this.$shortWordEndIndex(s);return this.moveCursorTo(e,t-o)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var n=this.session.documentToScreenPosition(this.lead.row,this.lead.column);t===0&&(this.$desiredColumn?n.column=this.$desiredColumn:this.$desiredColumn=n.column);var r=this.session.screenToDocumentPosition(n.row+e,n.column);this.moveCursorTo(r.row,r.column+t,t===0)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,n){var r=this.session.getFoldAt(e,t,1);r&&(e=r.start.row,t=r.start.column),this.$keepDesiredColumnOnChange=!0,this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,n){var r=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(r.row,r.column,n)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},this.toJSON=function(){if(this.rangeCount)var e=this.ranges.map(function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t});else{var e=this.getRange();e.isBackwards=this.isBackwards()}return e},this.fromJSON=function(e){if(e.start==undefined){if(this.rangeList){this.toSingleRange(e[0]);for(var t=e.length;t--;){var n=o.fromPoints(e[t].start,e[t].end);e.isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0}}).call(u.prototype),t.Selection=u}),define("ace/range",["require","exports","module"],function(e,t,n){var r=function(e,t){return e.row-t.row||e.column-t.column},i=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return this.compare(e,t)==0},this.compareRange=function(e){var t,n=e.end,r=e.start;return t=this.compare(n.row,n.column),t==1?(t=this.compare(r.row,r.column),t==1?2:t==0?1:0):t==-1?-2:(t=this.compare(r.row,r.column),t==-1?-1:t==1?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return this.comparePoint(e.start)==0&&this.comparePoint(e.end)==0},this.intersects=function(e){var t=this.compareRange(e);return t==-1||t==0||t==1},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){typeof e=="object"?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){typeof e=="object"?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)||this.isStart(e,t)?!1:!0:!1},this.insideStart=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)?!1:!0:!1},this.insideEnd=function(e,t){return this.compare(e,t)==0?this.isStart(e,t)?!1:!0:!1},this.compare=function(e,t){return!this.isMultiLine()&&e===this.start.row?t<this.start.column?-1:t>this.end.column?1:0:e<this.start.row?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else if(this.end.row<e)var n={row:e,column:0};if(this.start.row>t)var r={row:t+1,column:0};else if(this.start.row<e)var r={row:e,column:0};return i.fromPoints(r||this.start,n||this.end)},this.extend=function(e,t){var n=this.compare(e,t);if(n==0)return this;if(n==-1)var r={row:e,column:t};else var s={row:e,column:t};return i.fromPoints(r||this.start,s||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return i.fromPoints(this.start,this.end)},this.collapseRows=function(){return this.end.column==0?new i(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new i(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),n=e.documentToScreenPosition(this.end);return new i(t.row,t.column,n.row,n.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(i.prototype),i.fromPoints=function(e,t){return new i(e.row,e.column,t.row,t.column)},i.comparePoints=r,i.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=i}),define("ace/mode/text",["require","exports","module","ace/tokenizer","ace/mode/text_highlight_rules","ace/mode/behaviour","ace/unicode","ace/lib/lang","ace/token_iterator","ace/range"],function(e,t,n){var r=e("../tokenizer").Tokenizer,i=e("./text_highlight_rules").TextHighlightRules,s=e("./behaviour").Behaviour,o=e("../unicode"),u=e("../lib/lang"),a=e("../token_iterator").TokenIterator,f=e("../range").Range,l=function(){this.HighlightRules=i,this.$behaviour=new s};(function(){this.tokenRe=new RegExp("^["+o.packages.L+o.packages.Mn+o.packages.Mc+o.packages.Nd+o.packages.Pc+"\\$_]+","g"),this.nonTokenRe=new RegExp("^(?:[^"+o.packages.L+o.packages.Mn+o.packages.Mc+o.packages.Nd+o.packages.Pc+"\\$_]|s])+","g"),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=new this.HighlightRules,this.$tokenizer=new r(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart="",this.blockComment="",this.toggleCommentLines=function(e,t,n,r){function w(e){for(var t=n;t<=r;t++)e(i.getLine(t),t)}var i=t.doc,s=!0,o=!0,a=Infinity,f=t.getTabSize(),l=!1;if(!this.lineCommentStart){if(!this.blockComment)return!1;var c=this.blockComment.start,h=this.blockComment.end,p=new RegExp("^(\\s*)(?:"+u.escapeRegExp(c)+")"),d=new RegExp("(?:"+u.escapeRegExp(h)+")\\s*$"),v=function(e,t){if(g(e,t))return;if(!s||/\S/.test(e))i.insertInLine({row:t,column:e.length},h),i.insertInLine({row:t,column:a},c)},m=function(e,t){var n;(n=e.match(d))&&i.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(p))&&i.removeInLine(t,n[1].length,n[0].length)},g=function(e,n){if(p.test(e))return!0;var r=t.getTokens(n);for(var i=0;i<r.length;i++)if(r[i].type==="comment")return!0}}else{if(Array.isArray(this.lineCommentStart))var p=this.lineCommentStart.map(u.escapeRegExp).join("|"),c=this.lineCommentStart[0];else var p=u.escapeRegExp(this.lineCommentStart),c=this.lineCommentStart;p=new RegExp("^(\\s*)(?:"+p+") ?"),l=t.getUseSoftTabs();var m=function(e,t){var n=e.match(p);if(!n)return;var r=n[1].length,s=n[0].length;!b(e,r,s)&&n[0][s-1]==" "&&s--,i.removeInLine(t,r,s)},y=c+" ",v=function(e,t){if(!s||/\S/.test(e))b(e,a,a)?i.insertInLine({row:t,column:a},y):i.insertInLine({row:t,column:a},c)},g=function(e,t){return p.test(e)},b=function(e,t,n){var r=0;while(t--&&e.charAt(t)==" ")r++;if(r%f!=0)return!1;var r=0;while(e.charAt(n++)==" ")r++;return f>2?r%f!=f-1:r%f==0}}var E=Infinity;w(function(e,t){var n=e.search(/\S/);n!==-1?(n<a&&(a=n),o&&!g(e,t)&&(o=!1)):E>e.length&&(E=e.length)}),a==Infinity&&(a=E,s=!1,o=!1),l&&a%f!=0&&(a=Math.floor(a/f)*f),w(o?m:v)},this.toggleBlockComment=function(e,t,n,r){var i=this.blockComment;if(!i)return;!i.start&&i[0]&&(i=i[0]);var s=new a(t,r.row,r.column),o=s.getCurrentToken(),u=t.selection,l=t.selection.toOrientedRange(),c,h;if(o&&/comment/.test(o.type)){var p,d;while(o&&/comment/.test(o.type)){var v=o.value.indexOf(i.start);if(v!=-1){var m=s.getCurrentTokenRow(),g=s.getCurrentTokenColumn()+v;p=new f(m,g,m,g+i.start.length);break}o=s.stepBackward()}var s=new a(t,r.row,r.column),o=s.getCurrentToken();while(o&&/comment/.test(o.type)){var v=o.value.indexOf(i.end);if(v!=-1){var m=s.getCurrentTokenRow(),g=s.getCurrentTokenColumn()+v;d=new f(m,g,m,g+i.end.length);break}o=s.stepForward()}d&&t.remove(d),p&&(t.remove(p),c=p.start.row,h=-i.start.length)}else h=i.start.length,c=n.start.row,t.insert(n.end,i.end),t.insert(n.start,i.start);l.start.row==c&&(l.start.column+=h),l.end.row==c&&(l.end.column+=h),t.selection.fromOrientedRange(l)},this.getNextLineIndent=function(e,t,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return!1},this.autoOutdent=function(e,t,n){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){this.$embeds=[],this.$modes={};for(var t in e)e[t]&&(this.$embeds.push(t),this.$modes[t]=new e[t]);var n=["toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(var t=0;t<n.length;t++)(function(e){var r=n[t],i=e[r];e[n[t]]=function(){return this.$delegator(r,arguments,i)}})(this)},this.$delegator=function(e,t,n){var r=t[0];typeof r!="string"&&(r=r[0]);for(var i=0;i<this.$embeds.length;i++){if(!this.$modes[this.$embeds[i]])continue;var s=r.split(this.$embeds[i]);if(!s[0]&&s[1]){t[0]=s[1];var o=this.$modes[this.$embeds[i]];return o[e].apply(o,t)}}var u=n.apply(this,t);return n?u:undefined},this.transformAction=function(e,t,n,r,i){if(this.$behaviour){var s=this.$behaviour.getBehaviours();for(var o in s)if(s[o][t]){var u=s[o][t].apply(this,arguments);if(u)return u}}},this.getKeywords=function(e){if(!this.completionKeywords){var t=this.$tokenizer.rules,n=[];for(var r in t){var i=t[r];for(var s=0,o=i.length;s<o;s++)if(typeof i[s].token=="string")/keyword|support|storage/.test(i[s].token)&&n.push(i[s].regex);else if(typeof i[s].token=="object")for(var u=0,a=i[s].token.length;u<a;u++)if(/keyword|support|storage/.test(i[s].token[u])){var r=i[s].regex.match(/\(.+?\)/g)[u];n.push(r.substr(1,r.length-2))}}this.completionKeywords=n}return e?n.concat(this.$keywordList||[]):this.$keywordList},this.$createKeywordList=function(){return this.$highlightRules||this.getTokenizer(),this.$keywordList=this.$highlightRules.$keywordList||[]},this.getCompletions=function(e,t,n,r){var i=this.$keywordList||this.$createKeywordList();return i.map(function(e){return{name:e,value:e,score:0,meta:"keyword"}})}}).call(l.prototype),t.Mode=l}),define("ace/tokenizer",["require","exports","module"],function(e,t,n){var r=1e3,i=function(e){this.states=e,this.regExps={},this.matchMappings={};for(var t in this.states){var n=this.states[t],r=[],i=0,s=this.matchMappings[t]={defaultToken:"text"},o="g",u=[];for(var a=0;a<n.length;a++){var f=n[a];f.defaultToken&&(s.defaultToken=f.defaultToken),f.caseInsensitive&&(o="gi");if(f.regex==null)continue;f.regex instanceof RegExp&&(f.regex=f.regex.toString().slice(1,-1));var l=f.regex,c=(new RegExp("(?:("+l+")|(.))")).exec("a").length-2;if(Array.isArray(f.token))if(f.token.length==1||c==1)f.token=f.token[0];else{if(c-1!=f.token.length)throw new Error("number of classes and regexp groups in '"+f.token+"'\n'"+f.regex+"' doesn't match\n"+(c-1)+"!="+f.token.length);f.tokenArray=f.token,f.token=null,f.onMatch=this.$arrayTokens}else typeof f.token=="function"&&!f.onMatch&&(c>1?f.onMatch=this.$applyToken:f.onMatch=f.token);c>1&&(/\\\d/.test(f.regex)?l=f.regex.replace(/\\([0-9]+)/g,function(e,t){return"\\"+(parseInt(t,10)+i+1)}):(c=1,l=this.removeCapturingGroups(f.regex)),!f.splitRegex&&typeof f.token!="string"&&u.push(f)),s[i]=a,i+=c,r.push(l),f.onMatch||(f.onMatch=null),f.__proto__=null}u.forEach(function(e){e.splitRegex=this.createSplitterRegexp(e.regex,o)},this),this.regExps[t]=new RegExp("("+r.join(")|(")+")|($)",o)}};(function(){this.$setMaxTokenCount=function(e){r=e|0},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if(typeof n=="string")return[{type:n,value:e}];var r=[];for(var i=0,s=n.length;i<s;i++)t[i]&&(r[r.length]={type:n[i],value:t[i]});return r},this.$arrayTokens=function(e){if(!e)return[];var t=this.splitRegex.exec(e);if(!t)return"text";var n=[],r=this.tokenArray;for(var i=0,s=r.length;i<s;i++)t[i+1]&&(n[n.length]={type:r[i],value:t[i+1]});return n},this.removeCapturingGroups=function(e){var t=e.replace(/\[(?:\\.|[^\]])*?\]|\\.|\(\?[:=!]|(\()/g,function(e,t){return t?"(?:":e});return t},this.createSplitterRegexp=function(e,t){if(e.indexOf("(?=")!=-1){var n=0,r=!1,i={};e.replace(/(\\.)|(\((?:\?[=!])?)|(\))|([\[\]])/g,function(e,t,s,o,u,a){return r?r=u!="]":u?r=!0:o?(n==i.stack&&(i.end=a+1,i.stack=-1),n--):s&&(n++,s.length!=1&&(i.stack=n,i.start=a)),e}),i.end!=null&&/^\)*$/.test(e.substr(i.end))&&(e=e.substring(0,i.start)+e.substr(i.end))}return new RegExp(e,(t||"").replace("g",""))},this.getLineTokens=function(e,t){if(t&&typeof t!="string"){var n=t.slice(0);t=n[0]}else var n=[];var i=t||"start",s=this.states[i],o=this.matchMappings[i],u=this.regExps[i];u.lastIndex=0;var a,f=[],l=0,c={type:null,value:""};while(a=u.exec(e)){var h=o.defaultToken,p=null,d=a[0],v=u.lastIndex;if(v-d.length>l){var m=e.substring(l,v-d.length);c.type==h?c.value+=m:(c.type&&f.push(c),c={type:h,value:m})}for(var g=0;g<a.length-2;g++){if(a[g+1]===undefined)continue;p=s[o[g]],p.onMatch?h=p.onMatch(d,i,n):h=p.token,p.next&&(typeof p.next=="string"?i=p.next:i=p.next(i,n),s=this.states[i],s||(window.console&&console.error&&console.error(i,"doesn't exist"),i="start",s=this.states[i]),o=this.matchMappings[i],l=v,u=this.regExps[i],u.lastIndex=v);break}if(d)if(typeof h=="string")!!p&&p.merge===!1||c.type!==h?(c.type&&f.push(c),c={type:h,value:d}):c.value+=d;else if(h){c.type&&f.push(c),c={type:null,value:""};for(var g=0;g<h.length;g++)f.push(h[g])}if(l==e.length)break;l=v;if(f.length>r){while(l<e.length)c.type&&f.push(c),c={value:e.substring(l,l+=2e3),type:"overflow"};i="start",n=[];break}}return c.type&&f.push(c),{tokens:f,state:n.length?n:i}}}).call(i.prototype),t.Tokenizer=i}),define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(e,t,n){var r=e("../lib/lang"),i=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(e,t){if(!t){for(var n in e)this.$rules[n]=e[n];return}for(var n in e){var r=e[n];for(var i=0;i<r.length;i++){var s=r[i];s.next&&(typeof s.next!="string"?s.nextState&&s.nextState.indexOf(t)!==0&&(s.nextState=t+s.nextState):s.next.indexOf(t)!==0&&(s.next=t+s.next))}this.$rules[t+n]=r}},this.getRules=function(){return this.$rules},this.embedRules=function(e,t,n,i,s){var o=(new e).getRules();if(i)for(var u=0;u<i.length;u++)i[u]=t+i[u];else{i=[];for(var a in o)i.push(t+a)}this.addRules(o,t);if(n){var f=Array.prototype[s?"push":"unshift"];for(var u=0;u<i.length;u++)f.apply(this.$rules[i[u]],r.deepCopy(n))}this.$embeds||(this.$embeds=[]),this.$embeds.push(t)},this.getEmbeds=function(){return this.$embeds};var e=function(e,t){return e!="start"&&t.unshift(this.nextState,e),this.nextState},t=function(e,t){return t[0]!==e?"start":(t.shift(),t.shift())};this.normalizeRules=function(){function i(s){var o=r[s];o.processed=!0;for(var u=0;u<o.length;u++){var a=o[u];!a.regex&&a.start&&(a.regex=a.start,a.next||(a.next=[]),a.next.push({defaultToken:a.token},{token:a.token+".end",regex:a.end||a.start,next:"pop"}),a.token=a.token+".start",a.push=!0);var f=a.next||a.push;if(f&&Array.isArray(f)){var l=a.stateName;l||(l=a.token,typeof l!="string"&&(l=l[0]||""),r[l]&&(l+=n++)),r[l]=f,a.next=l,i(l)}else f=="pop"&&(a.next=t);a.push&&(a.nextState=a.next||a.push,a.next=e,delete a.push);if(a.rules)for(var c in a.rules)r[c]?r[c].push&&r[c].push.apply(r[c],a.rules[c]):r[c]=a.rules[c];if(a.include||typeof a=="string")var h=a.include||a,p=r[h];else Array.isArray(a)&&(p=a);if(p){var d=[u,1].concat(p);a.noEscape&&(d=d.filter(function(e){return!e.next})),o.splice.apply(o,d),u--,p=null}a.keywordMap&&(a.token=this.createKeywordMapper(a.keywordMap,a.defaultToken||"text",a.caseInsensitive),delete a.defaultToken)}}var n=0,r=this.$rules;Object.keys(r).forEach(i,this)},this.createKeywordMapper=function(e,t,n,r){var i=Object.create(null);return Object.keys(e).forEach(function(t){var s=e[t];n&&(s=s.toLowerCase());var o=s.split(r||"|");for(var u=o.length;u--;)i[o[u]]=t}),Object.getPrototypeOf(i)&&(i.__proto__=null),this.$keywordList=Object.keys(i),e=null,n?function(e){return i[e.toLowerCase()]||t}:function(e){return i[e]||t}},this.getKeywords=function(){return this.$keywords}}).call(i.prototype),t.TextHighlightRules=i}),define("ace/mode/behaviour",["require","exports","module"],function(e,t,n){var r=function(){this.$behaviours={}};(function(){this.add=function(e,t,n){switch(undefined){case this.$behaviours:this.$behaviours={};case this.$behaviours[e]:this.$behaviours[e]={}}this.$behaviours[e][t]=n},this.addBehaviours=function(e){for(var t in e)for(var n in e[t])this.add(t,n,e[t][n])},this.remove=function(e){this.$behaviours&&this.$behaviours[e]&&delete this.$behaviours[e]},this.inherit=function(e,t){if(typeof e=="function")var n=(new e).getBehaviours(t);else var n=e.getBehaviours(t);this.addBehaviours(n)},this.getBehaviours=function(e){if(!e)return this.$behaviours;var t={};for(var n=0;n<e.length;n++)this.$behaviours[e[n]]&&(t[e[n]]=this.$behaviours[e[n]]);return t}}).call(r.prototype),t.Behaviour=r}),define("ace/unicode",["require","exports","module"],function(e,t,n){function r(e){var n=/\w{4}/g;for(var r in e)t.packages[r]=e[r].replace(n,"\\u$&")}t.packages={},r({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Ll:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7C2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2D00-2D25A641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CFB00-FB06FB13-FB17FF41-FF5A",Lu:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E0520052205240531-055610A0-10C51E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CEDA640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BFF21-FF3A",Lt:"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC",Lm:"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D611D781D9B-1DBF2071207F2090-20942C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A9CFAA70AADDFF70FF9EFF9F",Lo:"01BB01C0-01C3029405D0-05EA05F0-05F20621-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150904-0939093D09500958-096109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF12135-21382D30-2D652D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",M:"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DE-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0903093C093E-094E0951-0955096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F90-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135F1712-17141732-1734175217531772177317B6-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAA1C24-1C371CD0-1CD21CD4-1CE81CED1CF21DC0-1DE61DFD-1DFF20D0-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66F-A672A67CA67DA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26",Mn:"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0902093C0941-0948094D0951-095509620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F90-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135F1712-17141732-1734175217531772177317B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1DC0-1DE61DFD-1DFF20D0-20DC20E120E5-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66FA67CA67DA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26",Mc:"0903093E-09400949-094C094E0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1C24-1C2B1C341C351CE11CF2A823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BABE3ABE4ABE6ABE7ABE9ABEAABEC",Me:"0488048906DE20DD-20E020E2-20E4A670-A672",N:"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nd:"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nl:"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF",No:"00B200B300B900BC-00BE09F4-09F90BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F920702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293251-325F3280-328932B1-32BFA830-A835",P:"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100AB00B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F3A-0F3D0F850FD0-0FD4104A-104F10FB1361-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2E00-2E2E2E302E313001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65",Pd:"002D058A05BE140018062010-20152E172E1A301C303030A0FE31FE32FE58FE63FF0D",Ps:"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62",Pe:"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63",Pi:"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20",Pf:"00BB2019201D203A2E032E052E0A2E0D2E1D2E21",Pc:"005F203F20402054FE33FE34FE4D-FE4FFF3F",Po:"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F850FD0-0FD4104A-104F10FB1361-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E302E313001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65",S:"0024002B003C-003E005E0060007C007E00A2-00A900AC00AE-00B100B400B600B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F604820606-0608060B060E060F06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0CF10CF20D790E3F0F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-139917DB194019E0-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B8210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23E82400-24262440-244A249C-24E92500-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE27C0-27C427C7-27CA27CC27D0-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD",Sm:"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C2140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27CA27CC27D0-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC",Sc:"002400A2-00A5060B09F209F309FB0AF10BF90E3F17DB20A0-20B8A838FDFCFE69FF04FFE0FFE1FFE5FFE6",Sk:"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFF3EFF40FFE3",So:"00A600A700A900AE00B000B60482060E060F06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0CF10CF20D790F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-1399194019E0-19FF1B61-1B6A1B74-1B7C210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23E82400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD",Z:"002000A01680180E2000-200A20282029202F205F3000",Zs:"002000A01680180E2000-200A202F205F3000",Zl:"2028",Zp:"2029",C:"0000-001F007F-009F00AD03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-0605061C061D0620065F06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17B417B517DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF",Cc:"0000-001F007F-009F",Cf:"00AD0600-060306DD070F17B417B5200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB",Co:"E000-F8FF",Cs:"D800-DFFF",Cn:"03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-05FF06040605061C061D0620065F070E074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF"})}),define("ace/token_iterator",["require","exports","module"],function(e,t,n){var r=function(e,t,n){this.$session=e,this.$row=t,this.$rowTokens=e.getTokens(t);var r=e.getTokenAt(t,n);this.$tokenIndex=r?r.index:-1};(function(){this.stepBackward=function(){this.$tokenIndex-=1;while(this.$tokenIndex<0){this.$row-=1;if(this.$row<0)return this.$row=0,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=this.$rowTokens.length-1}return this.$rowTokens[this.$tokenIndex]},this.stepForward=function(){this.$tokenIndex+=1;var e;while(this.$tokenIndex>=this.$rowTokens.length){this.$row+=1,e||(e=this.$session.getLength());if(this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(n!==undefined)return n;n=0;while(t>0)t-=1,n+=e[t].value.length;return n}}).call(r.prototype),t.TokenIterator=r}),define("ace/document",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/range","ace/anchor"],function(e,t,n){var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,s=e("./range").Range,o=e("./anchor").Anchor,u=function(e){this.$lines=[],e.length==0?this.$lines=[""]:Array.isArray(e)?this._insertLines(0,e):this.insert({row:0,column:0},e)};(function(){r.implement(this,i),this.setValue=function(e){var t=this.getLength();this.remove(new s(0,0,t,this.getLine(t-1).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new o(this,e,t)},"aaa".split(/a/).length==0?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n"},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine}},this.$autoNewLine="\n",this.$newLineMode="auto",this.setNewLineMode=function(e){if(this.$newLineMode===e)return;this.$newLineMode=e},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return e=="\r\n"||e=="\r"||e=="\n"},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){if(e.start.row==e.end.row)return this.getLine(e.start.row).substring(e.start.column,e.end.column);var t=this.getLines(e.start.row,e.end.row);t[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;return e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column)),t.join(this.getNewLineCharacter())},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):e.row<0&&(e.row=0),e},this.insert=function(e,t){if(!t||t.length===0)return e;e=this.$clipPosition(e),this.getLength()<=1&&this.$detectNewLine(t);var n=this.$split(t),r=n.splice(0,1)[0],i=n.length==0?null:n.splice(n.length-1,1)[0];return e=this.insertInLine(e,r),i!==null&&(e=this.insertNewLine(e),e=this._insertLines(e.row,n),e=this.insertInLine(e,i||"")),e},this.insertLines=function(e,t){return e>=this.getLength()?this.insert({row:e,column:0},"\n"+t.join("\n")):this._insertLines(Math.max(e,0),t)},this._insertLines=function(e,t){if(t.length==0)return{row:e,column:0};if(t.length>65535){var n=this._insertLines(e,t.slice(65535));t=t.slice(0,65535)}var r=[e,0];r.push.apply(r,t),this.$lines.splice.apply(this.$lines,r);var i=new s(e,0,e+t.length,0),o={action:"insertLines",range:i,lines:t};return this._emit("change",{data:o}),n||i.end},this.insertNewLine=function(e){e=this.$clipPosition(e);var t=this.$lines[e.row]||"";this.$lines[e.row]=t.substring(0,e.column),this.$lines.splice(e.row+1,0,t.substring(e.column,t.length));var n={row:e.row+1,column:0},r={action:"insertText",range:s.fromPoints(e,n),text:this.getNewLineCharacter()};return this._emit("change",{data:r}),n},this.insertInLine=function(e,t){if(t.length==0)return e;var n=this.$lines[e.row]||"";this.$lines[e.row]=n.substring(0,e.column)+t+n.substring(e.column);var r={row:e.row,column:e.column+t.length},i={action:"insertText",range:s.fromPoints(e,r),text:t};return this._emit("change",{data:i}),r},this.remove=function(e){!e instanceof s&&(e=s.fromPoints(e.start,e.end)),e.start=this.$clipPosition(e.start),e.end=this.$clipPosition(e.end);if(e.isEmpty())return e.start;var t=e.start.row,n=e.end.row;if(e.isMultiLine()){var r=e.start.column==0?t:t+1,i=n-1;e.end.column>0&&this.removeInLine(n,0,e.end.column),i>=r&&this._removeLines(r,i),r!=t&&(this.removeInLine(t,e.start.column,this.getLine(t).length),this.removeNewLine(e.start.row))}else this.removeInLine(t,e.start.column,e.end.column);return e.start},this.removeInLine=function(e,t,n){if(t==n)return;var r=new s(e,t,e,n),i=this.getLine(e),o=i.substring(t,n),u=i.substring(0,t)+i.substring(n,i.length);this.$lines.splice(e,1,u);var a={action:"removeText",range:r,text:o};return this._emit("change",{data:a}),r.start},this.removeLines=function(e,t){return e<0||t>=this.getLength()?this.remove(new s(e,0,t+1,0)):this._removeLines(e,t)},this._removeLines=function(e,t){var n=new s(e,0,t+1,0),r=this.$lines.splice(e,t-e+1),i={action:"removeLines",range:n,nl:this.getNewLineCharacter(),lines:r};return this._emit("change",{data:i}),r},this.removeNewLine=function(e){var t=this.getLine(e),n=this.getLine(e+1),r=new s(e,t.length,e+1,0),i=t+n;this.$lines.splice(e,2,i);var o={action:"removeText",range:r,text:this.getNewLineCharacter()};this._emit("change",{data:o})},this.replace=function(e,t){!e instanceof s&&(e=s.fromPoints(e.start,e.end));if(t.length==0&&e.isEmpty())return e.start;if(t==this.getTextRange(e))return e.end;this.remove(e);if(t)var n=this.insert(e.start,t);else n=e.start;return n},this.applyDeltas=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=s.fromPoints(n.range.start,n.range.end);n.action=="insertLines"?this.insertLines(r.start.row,n.lines):n.action=="insertText"?this.insert(r.start,n.text):n.action=="removeLines"?this._removeLines(r.start.row,r.end.row-1):n.action=="removeText"&&this.remove(r)}},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t],r=s.fromPoints(n.range.start,n.range.end);n.action=="insertLines"?this._removeLines(r.start.row,r.end.row-1):n.action=="insertText"?this.remove(r):n.action=="removeLines"?this._insertLines(r.start.row,n.lines):n.action=="removeText"&&this.insert(r.start,n.text)}},this.indexToPosition=function(e,t){var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length;for(var i=t||0,s=n.length;i<s;i++){e-=n[i].length+r;if(e<0)return{row:i,column:e+n[i].length+r}}return{row:s-1,column:n[s-1].length}},this.positionToIndex=function(e,t){var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=0,s=Math.min(e.row,n.length);for(var o=t||0;o<s;++o)i+=n[o].length+r;return i+e.column}}).call(u.prototype),t.Document=u}),define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,s=t.Anchor=function(e,t,n){this.$onChange=this.onChange.bind(this),this.attach(e),typeof n=="undefined"?this.setPosition(t.row,t.column):this.setPosition(t,n)};(function(){r.implement(this,i),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){var t=e.data,n=t.range;if(n.start.row==n.end.row&&n.start.row!=this.row)return;if(n.start.row>this.row)return;if(n.start.row==this.row&&n.start.column>this.column)return;var r=this.row,i=this.column,s=n.start,o=n.end;if(t.action==="insertText")if(s.row===r&&s.column<=i){if(s.column!==i||!this.$insertRight)s.row===o.row?i+=o.column-s.column:(i-=s.column,r+=o.row-s.row)}else s.row!==o.row&&s.row<r&&(r+=o.row-s.row);else t.action==="insertLines"?s.row<=r&&(r+=o.row-s.row):t.action==="removeText"?s.row===r&&s.column<i?o.column>=i?i=s.column:i=Math.max(0,i-(o.column-s.column)):s.row!==o.row&&s.row<r?(o.row===r&&(i=Math.max(0,i-o.column)+s.column),r-=o.row-s.row):o.row===r&&(r-=o.row-s.row,i=Math.max(0,i-o.column)+s.column):t.action=="removeLines"&&s.row<=r&&(o.row<=r?r-=o.row-s.row:(r=s.row,i=0));this.setPosition(r,i,!0)},this.setPosition=function(e,t,n){var r;n?r={row:e,column:t}:r=this.$clipPositionToDocument(e,t);if(this.row==r.row&&this.column==r.column)return;var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._emit("change",{old:i,value:r})},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(s.prototype)}),define("ace/background_tokenizer",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,s=function(e,t){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.tokenizer=e;var n=this;this.$worker=function(){if(!n.running)return;var e=new Date,t=n.currentLine,r=-1,i=n.doc;while(n.lines[t])t++;var s=t,o=i.getLength(),u=0;n.running=!1;while(t<o){n.$tokenizeRow(t),r=t;do t++;while(n.lines[t]);u++;if(u%5==0&&new Date-e>20){n.running=setTimeout(n.$worker,20),n.currentLine=t;return}}n.currentLine=t,s<=r&&n.fireUpdateEvent(s,r)}};(function(){r.implement(this,i),this.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(e,t){var n={first:e,last:t};this._emit("update",{data:n})},this.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(e){var t=e.range,n=t.start.row,r=t.end.row-n;if(r===0)this.lines[n]=null;else if(e.action=="removeText"||e.action=="removeLines")this.lines.splice(n,r+1,null),this.states.splice(n,r+1,null);else{var i=Array(r+1);i.unshift(n,1),this.lines.splice.apply(this.lines,i),this.states.splice.apply(this.states,i)}this.currentLine=Math.min(n,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},this.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},this.$tokenizeRow=function(e){var t=this.doc.getLine(e),n=this.states[e-1],r=this.tokenizer.getLineTokens(t,n,e);return this.states[e]+""!=r.state+""?(this.states[e]=r.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=r.tokens}}).call(s.prototype),t.BackgroundTokenizer=s}),define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(e,t,n){var r=e("./lib/lang"),i=e("./lib/oop"),s=e("./range").Range,o=function(e,t,n){this.setRegexp(e),this.clazz=t,this.type=n||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(e){if(this.regExp+""==e+"")return;this.regExp=e,this.cache=[]},this.update=function(e,t,n,i){if(!this.regExp)return;var o=i.firstRow,u=i.lastRow;for(var a=o;a<=u;a++){var f=this.cache[a];f==null&&(f=r.getMatchOffsets(n.getLine(a),this.regExp),f.length>this.MAX_RANGES&&(f=f.slice(0,this.MAX_RANGES)),f=f.map(function(e){return new s(a,e.offset,a,e.offset+e.length)}),this.cache[a]=f.length?f:"");for(var l=f.length;l--;)t.drawSingleLineMarker(e,f[l].toScreenRange(n),this.clazz,i)}}}).call(o.prototype),t.SearchHighlight=o}),define("ace/edit_session/folding",["require","exports","module","ace/range","ace/edit_session/fold_line","ace/edit_session/fold","ace/token_iterator"],function(e,t,n){function u(){this.getFoldAt=function(e,t,n){var r=this.getFoldLine(e);if(!r)return null;var i=r.folds;for(var s=0;s<i.length;s++){var o=i[s];if(o.range.contains(e,t)){if(n==1&&o.range.isEnd(e,t))continue;if(n==-1&&o.range.isStart(e,t))continue;return o}}},this.getFoldsInRange=function(e){var t=e.start,n=e.end,r=this.$foldData,i=[];t.column+=1,n.column-=1;for(var s=0;s<r.length;s++){var o=r[s].range.compareRange(e);if(o==2)continue;if(o==-2)break;var u=r[s].folds;for(var a=0;a<u.length;a++){var f=u[a];o=f.range.compareRange(e);if(o==-2)break;if(o==2)continue;if(o==42)break;i.push(f)}}return t.column-=1,n.column+=1,i},this.getAllFolds=function(){function n(t){e.push(t)}var e=[],t=this.$foldData;for(var r=0;r<t.length;r++)for(var i=0;i<t[r].folds.length;i++)n(t[r].folds[i]);return e},this.getFoldStringAt=function(e,t,n,r){r=r||this.getFoldLine(e);if(!r)return null;var i={end:{column:0}},s,o;for(var u=0;u<r.folds.length;u++){o=r.folds[u];var a=o.range.compareEnd(e,t);if(a==-1){s=this.getLine(o.start.row).substring(i.end.column,o.start.column);break}if(a===0)return null;i=o}return s||(s=this.getLine(o.start.row).substring(i.end.column)),n==-1?s.substring(0,t-i.end.column):n==1?s.substring(t-i.end.column):s},this.getFoldLine=function(e,t){var n=this.$foldData,r=0;t&&(r=n.indexOf(t)),r==-1&&(r=0);for(r;r<n.length;r++){var i=n[r];if(i.start.row<=e&&i.end.row>=e)return i;if(i.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,r=0;t&&(r=n.indexOf(t)),r==-1&&(r=0);for(r;r<n.length;r++){var i=n[r];if(i.end.row>=e)return i}return null},this.getFoldedRowCount=function(e,t){var n=this.$foldData,r=t-e+1;for(var i=0;i<n.length;i++){var s=n[i],o=s.end.row,u=s.start.row;if(o>=t){u<t&&(u>=e?r-=t-u:r=0);break}o>=e&&(u>=e?r-=o-u:r-=o-e+1)}return r},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort(function(e,t){return e.start.row-t.start.row}),e},this.addFold=function(e,t){var n=this.$foldData,r=!1,o;e instanceof s?o=e:(o=new s(t,e),o.collapseChildren=t.collapseChildren),this.$clipRangeToDocument(o.range);var u=o.start.row,a=o.start.column,f=o.end.row,l=o.end.column;if(u<f||u==f&&a<=l-2){var c=this.getFoldAt(u,a,1),h=this.getFoldAt(f,l,-1);if(c&&h==c)return c.addSubFold(o);if(c&&!c.range.isStart(u,a)||h&&!h.range.isEnd(f,l))throw new Error("A fold can't intersect already existing fold"+o.range+c.range);var p=this.getFoldsInRange(o.range);p.length>0&&(this.removeFolds(p),p.forEach(function(e){o.addSubFold(e)}));for(var d=0;d<n.length;d++){var v=n[d];if(f==v.start.row){v.addFold(o),r=!0;break}if(u==v.end.row){v.addFold(o),r=!0;if(!o.sameRow){var m=n[d+1];if(m&&m.start.row==f){v.merge(m);break}}break}if(f<=v.start.row)break}return r||(v=this.$addFoldLine(new i(this.$foldData,o))),this.$useWrapMode?this.$updateWrapData(v.start.row,v.start.row):this.$updateRowLengthCache(v.start.row,v.start.row),this.$modified=!0,this._emit("changeFold",{data:o,action:"add"}),o}throw new Error("The range has to be at least 2 characters width")},this.addFolds=function(e){e.forEach(function(e){this.addFold(e)},this)},this.removeFold=function(e){var t=e.foldLine,n=t.start.row,r=t.end.row,i=this.$foldData,s=t.folds;if(s.length==1)i.splice(i.indexOf(t),1);else if(t.range.isEnd(e.end.row,e.end.column))s.pop(),t.end.row=s[s.length-1].end.row,t.end.column=s[s.length-1].end.column;else if(t.range.isStart(e.start.row,e.start.column))s.shift(),t.start.row=s[0].start.row,t.start.column=s[0].start.column;else if(e.sameRow)s.splice(s.indexOf(e),1);else{var o=t.split(e.start.row,e.start.column);s=o.folds,s.shift(),o.start.row=s[0].start.row,o.start.column=s[0].start.column}this.$updating||(this.$useWrapMode?this.$updateWrapData(n,r):this.$updateRowLengthCache(n,r)),this.$modified=!0,this._emit("changeFold",{data:e,action:"remove"})},this.removeFolds=function(e){var t=[];for(var n=0;n<e.length;n++)t.push(e[n]);t.forEach(function(e){this.removeFold(e)},this),this.$modified=!0},this.expandFold=function(e){this.removeFold(e),e.subFolds.forEach(function(t){e.restoreRange(t),this.addFold(t)},this),e.collapseChildren>0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach(function(e){this.expandFold(e)},this)},this.unfold=function(e,t){var n,i;e==null?(n=new r(0,0,this.getLength(),0),t=!0):typeof e=="number"?n=new r(e,0,e,this.getLine(e).length):"row"in e?n=r.fromPoints(e,e):n=e,i=this.getFoldsInRange(n);if(t)this.removeFolds(i);else while(i.length)this.expandFolds(i),i=this.getFoldsInRange(n)},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var n=this.getFoldLine(e,t);return n?n.end.row:e},this.getRowFoldStart=function(e,t){var n=this.getFoldLine(e,t);return n?n.start.row:e},this.getFoldDisplayLine=function(e,t,n,r,i){r==null&&(r=e.start.row,i=0),t==null&&(t=e.end.row,n=this.getLine(t).length);var s=this.doc,o="";return e.walk(function(e,t,n,u){if(t<r)return;if(t==r){if(n<i)return;u=Math.max(i,u)}e!=null?o+=e:o+=s.getLine(t).substring(u,n)},t,n),o},this.getDisplayLine=function(e,t,n,r){var i=this.getFoldLine(e);if(!i){var s;return s=this.doc.getLine(e),s.substring(r||0,t||s.length)}return this.getFoldDisplayLine(i,e,t,n,r)},this.$cloneFoldData=function(){var e=[];return e=this.$foldData.map(function(t){var n=t.folds.map(function(e){return e.clone()});return new i(e,n)}),e},this.toggleFold=function(e){var t=this.selection,n=t.getRange(),r,i;if(n.isEmpty()){var s=n.start;r=this.getFoldAt(s.row,s.column);if(r){this.expandFold(r);return}(i=this.findMatchingBracket(s))?n.comparePoint(i)==1?n.end=i:(n.start=i,n.start.column++,n.end.column--):(i=this.findMatchingBracket({row:s.row,column:s.column+1}))?(n.comparePoint(i)==1?n.end=i:n.start=i,n.start.column++):n=this.getCommentFoldRange(s.row,s.column)||n}else{var o=this.getFoldsInRange(n);if(e&&o.length){this.expandFolds(o);return}o.length==1&&(r=o[0])}r||(r=this.getFoldAt(n.start.row,n.start.column));if(r&&r.range.toString()==n.toString()){this.expandFold(r);return}var u="...";if(!n.isMultiLine()){u=this.getTextRange(n);if(u.length<4)return;u=u.trim().substring(0,2)+".."}this.addFold(u,n)},this.getCommentFoldRange=function(e,t,n){var i=new o(this,e,t),s=i.getCurrentToken();if(s&&/^comment|string/.test(s.type)){var u=new r,a=new RegExp(s.type.replace(/\..*/,"\\."));if(n!=1){do s=i.stepBackward();while(s&&a.test(s.type));i.stepForward()}u.start.row=i.getCurrentTokenRow(),u.start.column=i.getCurrentTokenColumn()+2,i=new o(this,e,t);if(n!=-1){do s=i.stepForward();while(s&&a.test(s.type));s=i.stepBackward()}else s=i.getCurrentToken();return u.end.row=i.getCurrentTokenRow(),u.end.column=i.getCurrentTokenColumn()+s.value.length-2,u}},this.foldAll=function(e,t,n){n==undefined&&(n=1e5);var r=this.foldWidgets;t=t||this.getLength(),e=e||0;for(var i=e;i<t;i++){r[i]==null&&(r[i]=this.getFoldWidget(i));if(r[i]!="start")continue;var s=this.getFoldWidgetRange(i),o=s.end.row;if(s&&s.isMultiLine()&&o<=t&&s.start.row>=e)try{var u=this.addFold("...",s);u.collapseChildren=n,i=o}catch(a){}}},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle="markbegin",this.setFoldStyle=function(e){if(!this.$foldStyles[e])throw new Error("invalid fold style: "+e+"["+Object.keys(this.$foldStyles).join(", ")+"]");if(this.$foldStyle==e)return;this.$foldStyle=e,e=="manual"&&this.unfold();var t=this.$foldMode;this.$setFolding(null),this.$setFolding(t)},this.$setFolding=function(e){if(this.$foldMode==e)return;this.$foldMode=e,this.removeListener("change",this.$updateFoldWidgets),this._emit("changeAnnotation");if(!e||this.$foldStyle=="manual"){this.foldWidgets=null;return}this.foldWidgets=[],this.getFoldWidget=e.getFoldWidget.bind(e,this,this.$foldStyle),this.getFoldWidgetRange=e.getFoldWidgetRange.bind(e,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.on("change",this.$updateFoldWidgets)},this.getParentFoldRangeData=function(e,t){var n=this.foldWidgets;if(!n||t&&n[e])return{};var r=e-1,i;while(r>=0){var s=n[r];s==null&&(s=n[r]=this.getFoldWidget(r));if(s=="start"){var o=this.getFoldWidgetRange(r);i||(i=o);if(o&&o.end.row>=e)break}r--}return{range:r!==-1&&o,firstRange:i}},this.onFoldWidgetClick=function(e,t){var n=this.getFoldWidget(e),r=this.getLine(e);t=t.domEvent;var i=t.shiftKey,s=t.ctrlKey||t.metaKey,o=t.altKey,u=n==="end"?-1:1,a=this.getFoldAt(e,u===-1?0:r.length,u);if(a){i||s?this.removeFold(a):this.expandFold(a);return}var f=this.getFoldWidgetRange(e);if(f&&!f.isMultiLine()){a=this.getFoldAt(f.start.row,f.start.column,1);if(a&&f.isEqual(a.range)){this.removeFold(a);return}}if(o){var l=this.getParentFoldRangeData(e);if(l.range)var c=l.range.start.row+1,h=l.range.end.row;this.foldAll(c,h,s?1e4:0)}else if(i){var h=f?f.end.row:this.getLength();this.foldAll(e+1,f.end.row,s?1e4:0)}else f&&(s&&(f.collapseChildren=1e4),this.addFold("...",f));f||((t.target||t.srcElement).className+=" ace_invalid")},this.updateFoldWidgets=function(e){var t=e.data,n=t.range,r=n.start.row,i=n.end.row-r;if(i===0)this.foldWidgets[r]=null;else if(t.action=="removeText"||t.action=="removeLines")this.foldWidgets.splice(r,i+1,null);else{var s=Array(i+1);s.unshift(r,1),this.foldWidgets.splice.apply(this.foldWidgets,s)}}}var r=e("../range").Range,i=e("./fold_line").FoldLine,s=e("./fold").Fold,o=e("../token_iterator").TokenIterator;t.Folding=u}),define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(e,t,n){function i(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var n=t[t.length-1];this.range=new r(t[0].start.row,t[0].start.column,n.end.row,n.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(e){e.setFoldLine(this)},this)}var r=e("../range").Range;(function(){this.shiftRow=function(e){this.start.row+=e,this.end.row+=e,this.folds.forEach(function(t){t.start.row+=e,t.end.row+=e})},this.addFold=function(e){if(e.sameRow){if(e.start.row<this.startRow||e.endRow>this.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort(function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)}),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},this.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},this.walk=function(e,t,n){var r=0,i=this.folds,s,o,u,a=!0;t==null&&(t=this.end.row,n=this.end.column);for(var f=0;f<i.length;f++){s=i[f],o=s.range.compareStart(t,n);if(o==-1){e(null,t,n,r,a);return}u=e(null,s.start.row,s.start.column,r,a),u=!u&&e(s.placeholder,s.start.row,s.start.column,r);if(u||o==0)return;a=!s.sameRow,r=s.end.column}e(null,t,n,r,a)},this.getNextFoldTo=function(e,t){var n,r;for(var i=0;i<this.folds.length;i++){n=this.folds[i],r=n.range.compareEnd(e,t);if(r==-1)return{fold:n,kind:"after"};if(r==0)return{fold:n,kind:"inside"}}return null},this.addRemoveChars=function(e,t,n){var r=this.getNextFoldTo(e,t),i,s;if(r){i=r.fold;if(r.kind=="inside"&&i.start.column!=t&&i.start.row!=e)window.console&&window.console.log(e,t,i);else if(i.start.row==e){s=this.folds;var o=s.indexOf(i);o==0&&(this.start.column+=n);for(o;o<s.length;o++){i=s[o],i.start.column+=n;if(!i.sameRow)return;i.end.column+=n}this.end.column+=n}}},this.split=function(e,t){var n=this.getNextFoldTo(e,t).fold,r=this.folds,s=this.foldData;if(!n)return null;var o=r.indexOf(n),u=r[o-1];this.end.row=u.end.row,this.end.column=u.end.column,r=r.splice(o,r.length-o);var a=new i(s,r);return s.splice(s.indexOf(this)+1,0,a),a},this.merge=function(e){var t=e.folds;for(var n=0;n<t.length;n++)this.addFold(t[n]);var r=this.foldData;r.splice(r.indexOf(e),1)},this.toString=function(){var e=[this.range.toString()+": ["];return this.folds.forEach(function(t){e.push("  "+t.toString())}),e.push("]"),e.join("\n")},this.idxToPosition=function(e){var t=0,n;for(var r=0;r<this.folds.length;r++){var n=this.folds[r];e-=n.start.column-t;if(e<0)return{row:n.start.row,column:n.start.column+e};e-=n.placeholder.length;if(e<0)return n.start;t=n.end.column}return{row:this.end.row,column:this.end.column+e}}}).call(i.prototype),t.FoldLine=i}),define("ace/edit_session/fold",["require","exports","module","ace/range","ace/range_list","ace/lib/oop"],function(e,t,n){function u(e,t){e.row-=t.row,e.row==0&&(e.column-=t.column)}function a(e,t){u(e.start,t),u(e.end,t)}function f(e,t){e.row==0&&(e.column+=t.column),e.row+=t.row}function l(e,t){f(e.start,t),f(e.end,t)}var r=e("../range").Range,i=e("../range_list").RangeList,s=e("../lib/oop"),o=t.Fold=function(e,t){this.foldLine=null,this.placeholder=t,this.range=e,this.start=e.start,this.end=e.end,this.sameRow=e.start.row==e.end.row,this.subFolds=this.ranges=[]};s.inherits(o,i),function(){this.toString=function(){return'"'+this.placeholder+'" '+this.range.toString()},this.setFoldLine=function(e){this.foldLine=e,this.subFolds.forEach(function(t){t.setFoldLine(e)})},this.clone=function(){var e=this.range.clone(),t=new o(e,this.placeholder);return this.subFolds.forEach(function(e){t.subFolds.push(e.clone())}),t.collapseChildren=this.collapseChildren,t},this.addSubFold=function(e){if(this.range.isEqual(e))return;if(!this.range.containsRange(e))throw new Error("A fold can't intersect already existing fold"+e.range+this.range);a(e,this.start);var t=e.start.row,n=e.start.column;for(var r=0,i=-1;r<this.subFolds.length;r++){i=this.subFolds[r].range.compare(t,n);if(i!=1)break}var s=this.subFolds[r];if(i==0)return s.addSubFold(e);var t=e.range.end.row,n=e.range.end.column;for(var o=r,i=-1;o<this.subFolds.length;o++){i=this.subFolds[o].range.compare(t,n);if(i!=1)break}var u=this.subFolds[o];if(i==0)throw new Error("A fold can't intersect already existing fold"+e.range+this.range);var f=this.subFolds.splice(r,o-r,e);return e.setFoldLine(this.foldLine),e},this.restoreRange=function(e){return l(e,this.start)}}.call(o.prototype)}),define("ace/range_list",["require","exports","module","ace/range"],function(e,t,n){var r=e("./range").Range,i=r.comparePoints,s=function(){this.ranges=[]};(function(){this.comparePoints=i,this.pointIndex=function(e,t,n){var r=this.ranges;for(var s=n||0;s<r.length;s++){var o=r[s],u=i(e,o.end);if(u>0)continue;var a=i(e,o.start);return u===0?t&&a!==0?-s-2:s:a>0||a===0&&!t?s:-s-1}return-s-1},this.add=function(e){var t=!e.isEmpty(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var r=this.pointIndex(e.end,t,n);return r<0?r=-r-1:r++,this.ranges.splice(n,r-n,e)},this.addList=function(e){var t=[];for(var n=e.length;n--;)t.push.call(t,this.add(e[n]));return t},this.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},this.merge=function(){var e=[],t=this.ranges;t=t.sort(function(e,t){return i(e.start,t.start)});var n=t[0],r;for(var s=1;s<t.length;s++){r=n,n=t[s];var o=i(r.end,n.start);if(o<0)continue;if(o==0&&!r.isEmpty()&&!n.isEmpty())continue;i(r.end,n.end)<0&&(r.end.row=n.end.row,r.end.column=n.end.column),t.splice(s,1),e.push(n),n=r,s--}return this.ranges=t,e},this.contains=function(e,t){return this.pointIndex({row:e,column:t})>=0},this.containsPoint=function(e){return this.pointIndex(e)>=0},this.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},this.clipRows=function(e,t){var n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.row<e)return[];var r=this.pointIndex({row:e,column:0});r<0&&(r=-r-1);var i=this.pointIndex({row:t,column:0},r);i<0&&(i=-i-1);var s=[];for(var o=r;o<i;o++)s.push(n[o]);return s},this.removeAll=function(){return this.ranges.splice(0,this.ranges.length)},this.attach=function(e){this.session&&this.detach(),this.session=e,this.onChange=this.$onChange.bind(this),this.session.on("change",this.onChange)},this.detach=function(){if(!this.session)return;this.session.removeListener("change",this.onChange),this.session=null},this.$onChange=function(e){var t=e.data.range;if(e.data.action[0]=="i")var n=t.start,r=t.end;else var r=t.start,n=t.end;var i=n.row,s=r.row,o=s-i,u=-n.column+r.column,a=this.ranges;for(var f=0,l=a.length;f<l;f++){var c=a[f];if(c.end.row<i)continue;if(c.start.row>i)break;c.start.row==i&&c.start.column>=n.column&&(c.start.column!=n.column||!this.$insertRight)&&(c.start.column+=u,c.start.row+=o);if(c.end.row==i&&c.end.column>=n.column){if(c.end.column==n.column&&this.$insertRight)continue;c.end.column==n.column&&u>0&&f<l-1&&c.end.column>c.start.column&&c.end.column==a[f+1].start.column&&(c.end.column-=u),c.end.column+=u,c.end.row+=o}}if(o!=0&&f<l)for(;f<l;f++){var c=a[f];c.start.row+=o,c.end.row+=o}}}).call(s.prototype),t.RangeList=s}),define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(e,t,n){function s(){this.findMatchingBracket=function(e,t){if(e.column==0)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(n=="")return null;var r=n.match(/([\(\[\{])|([\)\]\}])/);return r?r[1]?this.$findClosingBracket(r[1],e):this.$findOpeningBracket(r[2],e):null},this.getBracketRange=function(e){var t=this.getLine(e.row),n=!0,r,s=t.charAt(e.column-1),o=s&&s.match(/([\(\[\{])|([\)\]\}])/);o||(s=t.charAt(e.column),e={row:e.row,column:e.column+1},o=s&&s.match(/([\(\[\{])|([\)\]\}])/),n=!1);if(!o)return null;if(o[1]){var u=this.$findClosingBracket(o[1],e);if(!u)return null;r=i.fromPoints(e,u),n||(r.end.column++,r.start.column--),r.cursor=r.end}else{var u=this.$findOpeningBracket(o[2],e);if(!u)return null;r=i.fromPoints(u,e),n||(r.start.column++,r.end.column--),r.cursor=r.start}return r},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{"},this.$findOpeningBracket=function(e,t,n){var i=this.$brackets[e],s=1,o=new r(this,t.row,t.column),u=o.getCurrentToken();u||(u=o.stepForward());if(!u)return;n||(n=new RegExp("(\\.?"+u.type.replace(".","\\.").replace("rparen",".paren")+")+"));var a=t.column-o.getCurrentTokenColumn()-2,f=u.value;for(;;){while(a>=0){var l=f.charAt(a);if(l==i){s-=1;if(s==0)return{row:o.getCurrentTokenRow(),column:a+o.getCurrentTokenColumn()}}else l==e&&(s+=1);a-=1}do u=o.stepBackward();while(u&&!n.test(u.type));if(u==null)break;f=u.value,a=f.length-1}return null},this.$findClosingBracket=function(e,t,n){var i=this.$brackets[e],s=1,o=new r(this,t.row,t.column),u=o.getCurrentToken();u||(u=o.stepForward());if(!u)return;n||(n=new RegExp("(\\.?"+u.type.replace(".","\\.").replace("lparen",".paren")+")+"));var a=t.column-o.getCurrentTokenColumn();for(;;){var f=u.value,l=f.length;while(a<l){var c=f.charAt(a);if(c==i){s-=1;if(s==0)return{row:o.getCurrentTokenRow(),column:a+o.getCurrentTokenColumn()}}else c==e&&(s+=1);a+=1}do u=o.stepForward();while(u&&!n.test(u.type));if(u==null)break;a=0}return null}}var r=e("../token_iterator").TokenIterator,i=e("../range").Range;t.BracketMatch=s}),define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(e,t,n){var r=e("./lib/lang"),i=e("./lib/oop"),s=e("./range").Range,o=function(){this.$options={}};(function(){this.set=function(e){return i.mixin(this.$options,e),this},this.getOptions=function(){return r.copyObject(this.$options)},this.setOptions=function(e){this.$options=e},this.find=function(e){var t=this.$matchIterator(e,this.$options);if(!t)return!1;var n=null;return t.forEach(function(e,t,r){if(!e.start){var i=e.offset+(r||0);n=new s(t,i,t,i+e.length)}else n=e;return!0}),n},this.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,i=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),o=[],u=t.re;if(t.$isMultiLine){var a=u.length,f=i.length-a;for(var l=u.offset||0;l<=f;l++){for(var c=0;c<a;c++)if(i[l+c].search(u[c])==-1)break;var h=i[l],p=i[l+a-1],d=h.match(u[0])[0].length,v=p.match(u[a-1])[0].length;o.push(new s(l,h.length-d,l+a-1,v))}}else for(var m=0;m<i.length;m++){var g=r.getMatchOffsets(i[m],u);for(var c=0;c<g.length;c++){var y=g[c];o.push(new s(m,y.offset,m,y.offset+y.length))}}if(n){var b=n.start.column,w=n.start.column,m=0,c=o.length-1;while(m<c&&o[m].start.column<b&&o[m].start.row==n.start.row)m++;while(m<c&&o[c].end.column>w&&o[c].end.row==n.end.row)c--;o=o.slice(m,c+1);for(m=0,c=o.length;m<c;m++)o[m].start.row+=n.start.row,o[m].end.row+=n.start.row}return o},this.replace=function(e,t){var n=this.$options,r=this.$assembleRegExp(n);if(n.$isMultiLine)return t;if(!r)return;var i=r.exec(e);if(!i||i[0].length!=e.length)return null;t=e.replace(r,t);if(n.preserveCase){t=t.split("");for(var s=Math.min(e.length,e.length);s--;){var o=e[s];o&&o.toLowerCase()!=o?t[s]=t[s].toUpperCase():t[s]=t[s].toLowerCase()}t=t.join("")}return t},this.$matchIterator=function(e,t){var n=this.$assembleRegExp(t);if(!n)return!1;var i=this,o,u=t.backwards;if(t.$isMultiLine)var a=n.length,f=function(t,r,i){var u=t.search(n[0]);if(u==-1)return;for(var f=1;f<a;f++){t=e.getLine(r+f);if(t.search(n[f])==-1)return}var l=t.match(n[a-1])[0].length,c=new s(r,u,r+a-1,l);n.offset==1?(c.start.row--,c.start.column=Number.MAX_VALUE):i&&(c.start.column+=i);if(o(c))return!0};else if(u)var f=function(e,t,i){var s=r.getMatchOffsets(e,n);for(var u=s.length-1;u>=0;u--)if(o(s[u],t,i))return!0};else var f=function(e,t,i){var s=r.getMatchOffsets(e,n);for(var u=0;u<s.length;u++)if(o(s[u],t,i))return!0};return{forEach:function(n){o=n,i.$lineIterator(e,t).forEach(f)}}},this.$assembleRegExp=function(e,t){if(e.needle instanceof RegExp)return e.re=e.needle;var n=e.needle;if(!e.needle)return e.re=!1;e.regExp||(n=r.escapeRegExp(n)),e.wholeWord&&(n="\\b"+n+"\\b");var i=e.caseSensitive?"g":"gi";e.$isMultiLine=!t&&/[\n\r]/.test(n);if(e.$isMultiLine)return e.re=this.$assembleMultilineRegExp(n,i);try{var s=new RegExp(n,i)}catch(o){s=!1}return e.re=s},this.$assembleMultilineRegExp=function(e,t){var n=e.replace(/\r\n|\r|\n/g,"$\n^").split("\n"),r=[];for(var i=0;i<n.length;i++)try{r.push(new RegExp(n[i],t))}catch(s){return!1}return n[0]==""?(r.shift(),r.offset=1):r.offset=0,r},this.$lineIterator=function(e,t){var n=t.backwards==1,r=t.skipCurrent!=0,i=t.range,s=t.start;s||(s=i?i[n?"end":"start"]:e.selection.getRange()),s.start&&(s=s[r!=n?"end":"start"]);var o=i?i.start.row:0,u=i?i.end.row:e.getLength()-1,a=n?function(n){var r=s.row,i=e.getLine(r).substring(0,s.column);if(n(i,r))return;for(r--;r>=o;r--)if(n(e.getLine(r),r))return;if(t.wrap==0)return;for(r=u,o=s.row;r>=o;r--)if(n(e.getLine(r),r))return}:function(n){var r=s.row,i=e.getLine(r).substr(s.column);if(n(i,r,s.column))return;for(r+=1;r<=u;r++)if(n(e.getLine(r),r))return;if(t.wrap==0)return;for(r=o,u=s.row;r<=u;r++)if(n(e.getLine(r),r))return};return{forEach:a}}}).call(o.prototype),t.Search=o}),define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(e,t,n){var r=e("../lib/oop"),i=e("../keyboard/hash_handler").HashHandler,s=e("../lib/event_emitter").EventEmitter,o=function(e,t){i.call(this,t,e),this.byName=this.commands,this.setDefaultHandler("exec",function(e){return e.command.exec(e.editor,e.args||{})})};r.inherits(o,i),function(){r.implement(this,s),this.exec=function(e,t,n){typeof e=="string"&&(e=this.commands[e]);if(!e)return!1;if(t&&t.$readOnly&&!e.readOnly)return!1;var r={editor:t,command:e,args:n},i=this._emit("exec",r);return this._signal("afterExec",r),i===!1?!1:!0},this.toggleRecording=function(e){if(this.$inReplay)return;return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.removeEventListener("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(e){if(this.$inReplay||!this.macro)return;if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach(function(t){typeof t=="string"?this.exec(t,e):this.exec(t[0],e,t[1])},this)}finally{this.$inReplay=!1}},this.trimMacro=function(e){return e.map(function(e){return typeof e[0]!="string"&&(e[0]=e[0].name),e[1]||(e=e[0]),e})}}.call(o.prototype),t.CommandManager=o}),define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t,n){function s(e,t){this.platform=t||(i.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={};if(this.__defineGetter__&&this.__defineSetter__&&typeof console!="undefined"&&console.error){var n=!1,r=function(){n||(n=!0,console.error("commmandKeyBinding has too many m's. use commandKeyBinding"))};this.__defineGetter__("commmandKeyBinding",function(){return r(),this.commandKeyBinding}),this.__defineSetter__("commmandKeyBinding",function(e){return r(),this.commandKeyBinding=e})}else this.commmandKeyBinding=this.commandKeyBinding;this.addCommands(e)}var r=e("../lib/keys"),i=e("../lib/useragent");(function(){this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e){var t=typeof e=="string"?e:e.name;e=this.commands[t],delete this.commands[t];var n=this.commandKeyBinding;for(var r in n)for(var i in n[r])n[r][i]==e&&delete n[r][i]},this.bindKey=function(e,t){if(!e)return;if(typeof t=="function"){this.addCommand({exec:t,bindKey:e,name:t.name||e});return}var n=this.commandKeyBinding;e.split("|").forEach(function(e){var r=this.parseKeys(e,t),i=r.hashId;(n[i]||(n[i]={}))[r.key]=t},this)},this.addCommands=function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];if(!n)return;if(typeof n=="string")return this.bindKey(n,t);typeof n=="function"&&(n={exec:n}),n.name||(n.name=t),this.addCommand(n)},this)},this.removeCommands=function(e){Object.keys(e).forEach(function(t){this.removeCommand(e[t])},this)},this.bindKeys=function(e){Object.keys(e).forEach(function(t){this.bindKey(t,e[t])},this)},this._buildKeyHash=function(e){var t=e.bindKey;if(!t)return;var n=typeof t=="string"?t:t[this.platform];this.bindKey(n,e)},this.parseKeys=function(e){e.indexOf(" ")!=-1&&(e=e.split(/\s+/).pop());var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(e){return e}),n=t.pop(),i=r[n];if(r.FUNCTION_KEYS[i])n=r.FUNCTION_KEYS[i].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(t.length==1&&t[0]=="shift")return{key:n.toUpperCase(),hashId:-1}}var s=0;for(var o=t.length;o--;){var u=r.KEY_MODS[t[o]];if(u==null)return typeof console!="undefined"&&console.error("invalid modifier "+t[o]+" in "+e),!1;s|=u}return{key:n,hashId:s}},this.findKeyCommand=function(t,n){var r=this.commandKeyBinding;return r[t]&&r[t][n]},this.handleKeyboard=function(e,t,n,r){return{command:this.findKeyCommand(t,n)}}}).call(s.prototype),t.HashHandler=s}),define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config"],function(e,t,n){function s(e,t){return{win:e,mac:t}}var r=e("../lib/lang"),i=e("../config");t.commands=[{name:"showSettingsMenu",bindKey:s("Ctrl-,","Command-,"),exec:function(e){i.loadModule("ace/ext/settings_menu",function(t){t.init(e),e.showSettingsMenu()})},readOnly:!0},{name:"selectall",bindKey:s("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",bindKey:s(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",bindKey:s("Ctrl-L","Command-L"),exec:function(e){var t=parseInt(prompt("Enter line number:"),10);isNaN(t)||e.gotoLine(t)},readOnly:!0},{name:"fold",bindKey:s("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},readOnly:!0},{name:"unfold",bindKey:s("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},readOnly:!0},{name:"foldall",bindKey:s("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll()},readOnly:!0},{name:"unfoldall",bindKey:s("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},readOnly:!0},{name:"findnext",bindKey:s("Ctrl-K","Command-G"),exec:function(e){e.findNext()},readOnly:!0},{name:"findprevious",bindKey:s("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},readOnly:!0},{name:"find",bindKey:s("Ctrl-F","Command-F"),exec:function(e){i.loadModule("ace/ext/searchbox",function(t){t.Search(e)})},readOnly:!0},{name:"overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",bindKey:s("Ctrl-Shift-Home","Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,group:"fileJump"},{name:"gotostart",bindKey:s("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,group:"fileJump"},{name:"selectup",bindKey:s("Shift-Up","Shift-Up"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",readOnly:!0},{name:"golineup",bindKey:s("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",readOnly:!0},{name:"selecttoend",bindKey:s("Ctrl-Shift-End","Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,group:"fileJump"},{name:"gotoend",bindKey:s("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,group:"fileJump"},{name:"selectdown",bindKey:s("Shift-Down","Shift-Down"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",readOnly:!0},{name:"golinedown",bindKey:s("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",readOnly:!0},{name:"selectwordleft",bindKey:s("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",readOnly:!0},{name:"gotowordleft",bindKey:s("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",readOnly:!0},{name:"selecttolinestart",bindKey:s("Alt-Shift-Left","Command-Shift-Left"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",readOnly:!0},{name:"gotolinestart",bindKey:s("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",readOnly:!0},{name:"selectleft",bindKey:s("Shift-Left","Shift-Left"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",readOnly:!0},{name:"gotoleft",bindKey:s("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",readOnly:!0},{name:"selectwordright",bindKey:s("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",readOnly:!0},{name:"gotowordright",bindKey:s("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",readOnly:!0},{name:"selecttolineend",bindKey:s("Alt-Shift-Right","Command-Shift-Right"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",readOnly:!0},{name:"gotolineend",bindKey:s("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",readOnly:!0},{name:"selectright",bindKey:s("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",readOnly:!0},{name:"gotoright",bindKey:s("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",readOnly:!0},{name:"selectpagedown",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",bindKey:s(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",bindKey:s("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",bindKey:s(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",bindKey:s("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",bindKey:s("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",readOnly:!0},{name:"selectlineend",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",readOnly:!0},{name:"togglerecording",bindKey:s("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",bindKey:s("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",bindKey:s("Ctrl-P","Ctrl-Shift-P"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",readOnly:!0},{name:"selecttomatching",bindKey:s("Ctrl-Shift-P",null),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",readOnly:!0},{name:"cut",exec:function(e){var t=e.getSelectionRange();e._emit("cut",t),e.selection.isEmpty()||(e.session.remove(t),e.clearSelection())},multiSelectAction:"forEach"},{name:"removeline",bindKey:s("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},multiSelectAction:"forEachLine"},{name:"duplicateSelection",bindKey:s("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},multiSelectAction:"forEach"},{name:"sortlines",bindKey:s("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},multiSelectAction:"forEachLine"},{name:"togglecomment",bindKey:s("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine"},{name:"toggleBlockComment",bindKey:s("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach"},{name:"modifyNumberUp",bindKey:s("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},multiSelectAction:"forEach"},{name:"modifyNumberDown",bindKey:s("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},multiSelectAction:"forEach"},{name:"replace",bindKey:s("Ctrl-H","Command-Option-F"),exec:function(e){i.loadModule("ace/ext/searchbox",function(t){t.Search(e,!0)})}},{name:"undo",bindKey:s("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",bindKey:s("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",bindKey:s("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()}},{name:"movelinesup",bindKey:s("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()}},{name:"copylinesdown",bindKey:s("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()}},{name:"movelinesdown",bindKey:s("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()}},{name:"del",bindKey:s("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach"},{name:"backspace",bindKey:s("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach"},{name:"cut_or_delete",bindKey:s("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach"},{name:"removetolinestart",bindKey:s("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach"},{name:"removetolineend",bindKey:s("Alt-Delete","Ctrl-K"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach"},{name:"removewordleft",bindKey:s("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach"},{name:"removewordright",bindKey:s("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach"},{name:"outdent",bindKey:s("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach"},{name:"indent",bindKey:s("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach"},{name:"blockoutdent",bindKey:s("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine"},{name:"blockindent",bindKey:s("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine"},{name:"insertstring",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach"},{name:"inserttext",exec:function(e,t){e.insert(r.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach"},{name:"splitline",bindKey:s(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach"},{name:"transposeletters",bindKey:s("Ctrl-T","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)}},{name:"touppercase",bindKey:s("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach"},{name:"tolowercase",bindKey:s("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach"}]}),define("ace/undomanager",["require","exports","module"],function(e,t,n){var r=function(){this.reset()};(function(){this.execute=function(e){var t=e.args[0];this.$doc=e.args[1],e.merge&&this.hasUndo()&&(t=this.$undoStack.pop().concat(t)),this.$undoStack.push(t),this.$redoStack=[],this.dirtyCounter<0&&(this.dirtyCounter=NaN),this.dirtyCounter++},this.undo=function(e){var t=this.$undoStack.pop(),n=null;return t&&(n=this.$doc.undoChanges(t,e),this.$redoStack.push(t),this.dirtyCounter--),n},this.redo=function(e){var t=this.$redoStack.pop(),n=null;return t&&(n=this.$doc.redoChanges(t,e),this.$undoStack.push(t),this.dirtyCounter++),n},this.reset=function(){this.$undoStack=[],this.$redoStack=[],this.dirtyCounter=0},this.hasUndo=function(){return this.$undoStack.length>0},this.hasRedo=function(){return this.$redoStack.length>0},this.markClean=function(){this.dirtyCounter=0},this.isClean=function(){return this.dirtyCounter===0}}).call(r.prototype),t.UndoManager=r}),define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/useragent","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/renderloop","ace/lib/event_emitter"],function(e,t,n){var r=e("./lib/oop"),i=e("./lib/dom"),s=e("./lib/useragent"),o=e("./config"),u=e("./layer/gutter").Gutter,a=e("./layer/marker").Marker,f=e("./layer/text").Text,l=e("./layer/cursor").Cursor,c=e("./scrollbar").ScrollBarH,h=e("./scrollbar").ScrollBarV,p=e("./renderloop").RenderLoop,d=e("./lib/event_emitter").EventEmitter,v=".ace_editor {position: relative;overflow: hidden;font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;font-size: 12px;line-height: normal;color: black;}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;}.ace_content {position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: text;}.ace_dragging, .ace_dragging * {cursor: move !important;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: '';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUM2OEZDQTQ4RTU0MTFFMUEzM0VFRTM2RUY1M0RBMjYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUM2OEZDQTU4RTU0MTFFMUEzM0VFRTM2RUY1M0RBMjYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBQzY4RkNBMjhFNTQxMUUxQTMzRUVFMzZFRjUzREEyNiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBQzY4RkNBMzhFNTQxMUUxQTMzRUVFMzZFRjUzREEyNiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PkgXxbAAAAJbSURBVHjapFNNaBNBFH4zs5vdZLP5sQmNpT82QY209heh1ioWisaDRcSKF0WKJ0GQnrzrxasHsR6EnlrwD0TagxJabaVEpFYxLWlLSS822tr87m66ccfd2GKyVhA6MMybgfe97/vmPUQphd0sZjto9XIn9OOsvlu2nkqRzVU+6vvlzPf8W6bk8dxQ0NPbxAALgCgg2JkaQuhzQau/El0zbmUA7U0Es8v2CiYmKQJHGO1QICCLoqilMhkmurDAyapKgqItezi/USRdJqEYY4D5jCy03ht2yMkkvL91jTTX10qzyyu2hruPRN7jgbH+EOsXcMLgYiThEgAMhABW85oqy1DXdRIdvP1AHJ2acQXvDIrVHcdQNrEKNYSVMSZGMjEzIIAwDXIo+6G/FxcGnzkC3T2oMhLjre49sBB+RRcHLqdafK6sYdE/GGBwU1VpFNj0aN8pJbe+BkZyevUrvLl6Xmm0W9IuTc0DxrDNAJd5oEvI/KRsNC3bQyNjPO9yQ1YHcfj2QvfQc/5TUhJTBc2iM0U7AWDQtc1nJHvD/cfO2s7jaGkiTEfa/Ep8coLu7zmNmh8+dc5lZDuUeFAGUNA/OY6JVaypQ0vjr7XYjUvJM37vt+j1vuTK5DgVfVUoTjVe+y3/LxMxY2GgU+CSLy4cpfsYorRXuXIOi0Vt40h67uZFTdIo6nLaZcwUJWAzwNS0tBnqqKzQDnjdG/iPyZxo46HaKUpbvYkj8qYRTZsBhge+JHhZyh0x9b95JqjVJkT084kZIPwu/mPWqPgfQ5jXh2+92Ay7HedfAgwA6KDWafb4w3cAAAAASUVORK5CYII=\");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUM2OEZDQTg4RTU0MTFFMUEzM0VFRTM2RUY1M0RBMjYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUM2OEZDQTk4RTU0MTFFMUEzM0VFRTM2RUY1M0RBMjYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBQzY4RkNBNjhFNTQxMUUxQTMzRUVFMzZFRjUzREEyNiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBQzY4RkNBNzhFNTQxMUUxQTMzRUVFMzZFRjUzREEyNiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pgd7PfIAAAGmSURBVHjaYvr//z8DJZiJgUIANoCRkREb9gLiSVAaQx4OQM7AAkwd7XU2/v++/rOttdYGEB9dASEvOMydGKfH8Gv/p4XTkvRBfLxeQAP+1cUhXopyvzhP7P/IoSj7g7Mw09cNKO6J1QQ0L4gICPIv/veg/8W+JdFvQNLHVsW9/nmn9zk7B+cCkDwhL7gt6knSZnx9/LuCEOcvkIAMP+cvto9nfqyZmmUAksfnBUtbM60gX/3/kgyv3/xSFOL5DZT+L8vP+Yfh5cvfPvp/xUHyQHXGyAYwgpwBjZYFT3Y1OEl/OfCH4ffv3wzc4iwMvNIsDJ+f/mH4+vIPAxsb631WW0Yln6ZpQLXdMK/DXGDflh+sIv37EivD5x//Gb7+YWT4y86sl7BCCkSD+Z++/1dkvsFRl+HnD1Rvje4F8whjMXmGj58YGf5zsDMwcnAwfPvKcml62DsQDeaDxN+/Y0qwlpEHqrdB94IRNIDUgfgfKJChGK4OikEW3gTiXUB950ASLFAF54AC94A0G9QAfOnmF9DCDzABFqS08IHYDIScdijOjQABBgC+/9awBH96jwAAAABJRU5ErkJggg==\");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url(\"data:image/gif;base64,R0lGODlhEAAQAMQAAAAAAEFBQVJSUl5eXmRkZGtra39/f4WFhYmJiZGRkaampry8vMPDw8zMzNXV1dzc3OTk5Orq6vDw8P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABQALAAAAAAQABAAAAUuICWOZGmeaBml5XGwFCQSBGyXRSAwtqQIiRuiwIM5BoYVbEFIyGCQoeJGrVptIQA7\");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpGRTk5MTVGREIxNDkxMUUxOTc5Q0FFREQyMTNGMjBFQyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpGRTk5MTVGRUIxNDkxMUUxOTc5Q0FFREQyMTNGMjBFQyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkZFOTkxNUZCQjE0OTExRTE5NzlDQUVERDIxM0YyMEVDIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkZFOTkxNUZDQjE0OTExRTE5NzlDQUVERDIxM0YyMEVDIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+SIDkjAAAAJ1JREFUeNpi/P//PwMlgImBQkB7A6qrq/+DMC55FkIGKCoq4pVnpFkgTp069f/+/fv/r1u37r+tre1/kg0A+ptn9uzZYLaRkRHpLvjw4cNXWVlZhufPnzOcO3eOdAO0tbVPAjHDmzdvGA4fPsxIsgGSkpJmv379Ynj37h2DjIyMCMkG3LhxQ/T27dsMampqDHZ2dq/pH41DxwCAAAMAFdc68dUsFZgAAAAASUVORK5CYII=\");}.ace_scrollbar {position: absolute;overflow-x: hidden;overflow-y: auto;right: 0;top: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-h {position: absolute;overflow-x: auto;overflow-y: hidden;right: 0;left: 0;bottom: 0;z-index: 6;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;text-indent: -1em;}.ace_text-input.ace_composition {background: #f8f8f8;color: #111;z-index: 1000;opacity: 1;text-indent: 0;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;white-space: nowrap;height: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;/* setting pointer-events: auto; on node under the mouse, which changesduring scroll, will break mouse wheel scrolling in Safari */pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;}.ace_text-layer {font: inherit !important;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;border-left: 2px solid}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0px;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {-moz-transition: opacity 0.18s;-webkit-transition: opacity 0.18s;-o-transition: opacity 0.18s;-ms-transition: opacity 0.18s;transition: opacity 0.18s;}.ace_cursor[style*=\"opacity: 0\"]{-ms-filter: \"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)\";}.ace_editor.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_line {white-space: nowrap;}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.ace_line .ace_fold {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url(\"data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%11%00%00%00%09%08%06%00%00%00%D4%E8%C7%0C%00%00%03%1EiCCPICC%20Profile%00%00x%01%85T%DFk%D3P%14%FE%DAe%9D%B0%E1%8B%3Ag%11%09%3Eh%91ndStC%9C%B6kW%BA%CDZ%EA6%B7!H%9B%A6m%5C%9A%C6%24%ED~%B0%07%D9%8Bo%3A%C5w%F1%07%3E%F9%07%0C%D9%83o%7B%92%0D%C6%14a%F8%AC%88%22L%F6%22%B3%9E%9B4M'S%03%B9%F7%BB%DF%F9%EE9'%E7%E4%5E%A0%F9qZ%D3%14%2F%0F%14USO%C5%C2%FC%C4%E4%14%DF%F2%01%5E%1CC%2B%FChM%8B%86%16J%26G%40%0F%D3%B2y%EF%B3%F3%0E%1E%C6lt%EEo%DF%AB%FEc%D5%9A%95%0C%11%F0%1C%20%BE%945%C4%22%E1Y%A0i%5C%D4t%13%E0%D6%89%EF%9D15%C2%CDLsX%A7%04%09%1Fg8oc%81%E1%8C%8D%23%96f45%40%9A%09%C2%07%C5B%3AK%B8%408%98i%E0%F3%0D%D8%CE%81%14%E4'%26%A9%92.%8B%3C%ABER%2F%E5dE%B2%0C%F6%F0%1Fs%83%F2_%B0%A8%94%E9%9B%AD%E7%10%8Dm%9A%19N%D1%7C%8A%DE%1F9%7Dp%8C%E6%00%D5%C1%3F_%18%BDA%B8%9DpX6%E3%A35~B%CD%24%AE%11%26%BD%E7%EEti%98%EDe%9A%97Y)%12%25%1C%24%BCbT%AE3li%E6%0B%03%89%9A%E6%D3%ED%F4P%92%B0%9F4%BF43Y%F3%E3%EDP%95%04%EB1%C5%F5%F6KF%F4%BA%BD%D7%DB%91%93%07%E35%3E%A7)%D6%7F%40%FE%BD%F7%F5r%8A%E5y%92%F0%EB%B4%1E%8D%D5%F4%5B%92%3AV%DB%DB%E4%CD%A6%23%C3%C4wQ%3F%03HB%82%8E%1Cd(%E0%91B%0Ca%9Ac%C4%AA%F8L%16%19%22J%A4%D2itTy%B28%D6%3B(%93%96%ED%1CGx%C9_%0E%B8%5E%16%F5%5B%B2%B8%F6%E0%FB%9E%DD%25%D7%8E%BC%15%85%C5%B7%A3%D8Q%ED%B5%81%E9%BA%B2%13%9A%1B%7Fua%A5%A3n%E17%B9%E5%9B%1Bm%AB%0B%08Q%FE%8A%E5%B1H%5Ee%CAO%82Q%D7u6%E6%90S%97%FCu%0B%CF2%94%EE%25v%12X%0C%BA%AC%F0%5E%F8*l%0AO%85%17%C2%97%BF%D4%C8%CE%DE%AD%11%CB%80q%2C%3E%AB%9ES%CD%C6%EC%25%D2L%D2%EBd%B8%BF%8A%F5B%C6%18%F9%901CZ%9D%BE%24M%9C%8A9%F2%DAP%0B'%06w%82%EB%E6%E2%5C%2F%D7%07%9E%BB%CC%5D%E1%FA%B9%08%AD.r%23%8E%C2%17%F5E%7C!%F0%BE3%BE%3E_%B7o%88a%A7%DB%BE%D3d%EB%A31Z%EB%BB%D3%91%BA%A2%B1z%94%8F%DB'%F6%3D%8E%AA%13%19%B2%B1%BE%B1~V%08%2B%B4%A2cjJ%B3tO%00%03%25mN%97%F3%05%93%EF%11%84%0B%7C%88%AE-%89%8F%ABbW%90O%2B%0Ao%99%0C%5E%97%0CI%AFH%D9.%B0%3B%8F%ED%03%B6S%D6%5D%E6i_s9%F3*p%E9%1B%FD%C3%EB.7U%06%5E%19%C0%D1s.%17%A03u%E4%09%B0%7C%5E%2C%EB%15%DB%1F%3C%9E%B7%80%91%3B%DBc%AD%3Dma%BA%8B%3EV%AB%DBt.%5B%1E%01%BB%0F%AB%D5%9F%CF%AA%D5%DD%E7%E4%7F%0Bx%A3%FC%06%A9%23%0A%D6%C2%A1_2%00%00%00%09pHYs%00%00%0B%13%00%00%0B%13%01%00%9A%9C%18%00%00%00%B5IDAT(%15%A5%91%3D%0E%02!%10%85ac%E1%05%D6%CE%D6%C6%CE%D2%E8%ED%CD%DE%C0%C6%D6N.%E0V%F8%3D%9Ca%891XH%C2%BE%D9y%3F%90!%E6%9C%C3%BFk%E5%011%C6-%F5%C8N%04%DF%BD%FF%89%DFt%83DN%60%3E%F3%AB%A0%DE%1A%5Dg%BE%10Q%97%1B%40%9C%A8o%10%8F%5E%828%B4%1B%60%87%F6%02%26%85%1Ch%1E%C1%2B%5Bk%FF%86%EE%B7j%09%9A%DA%9B%ACe%A3%F9%EC%DA!9%B4%D5%A6%81%86%86%98%CC%3C%5B%40%FA%81%B3%E9%CB%23%94%C16Azo%05%D4%E1%C1%95a%3B%8A'%A0%E8%CC%17%22%85%1D%BA%00%A2%FA%DC%0A%94%D1%D1%8D%8B%3A%84%17B%C7%60%1A%25Z%FC%8D%00%00%00%00IEND%AEB%60%82\"),url(\"data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%05%00%00%007%08%06%00%00%00%C4%DD%80C%00%00%03%1EiCCPICC%20Profile%00%00x%01%85T%DFk%D3P%14%FE%DAe%9D%B0%E1%8B%3Ag%11%09%3Eh%91ndStC%9C%B6kW%BA%CDZ%EA6%B7!H%9B%A6m%5C%9A%C6%24%ED~%B0%07%D9%8Bo%3A%C5w%F1%07%3E%F9%07%0C%D9%83o%7B%92%0D%C6%14a%F8%AC%88%22L%F6%22%B3%9E%9B4M'S%03%B9%F7%BB%DF%F9%EE9'%E7%E4%5E%A0%F9qZ%D3%14%2F%0F%14USO%C5%C2%FC%C4%E4%14%DF%F2%01%5E%1CC%2B%FChM%8B%86%16J%26G%40%0F%D3%B2y%EF%B3%F3%0E%1E%C6lt%EEo%DF%AB%FEc%D5%9A%95%0C%11%F0%1C%20%BE%945%C4%22%E1Y%A0i%5C%D4t%13%E0%D6%89%EF%9D15%C2%CDLsX%A7%04%09%1Fg8oc%81%E1%8C%8D%23%96f45%40%9A%09%C2%07%C5B%3AK%B8%408%98i%E0%F3%0D%D8%CE%81%14%E4'%26%A9%92.%8B%3C%ABER%2F%E5dE%B2%0C%F6%F0%1Fs%83%F2_%B0%A8%94%E9%9B%AD%E7%10%8Dm%9A%19N%D1%7C%8A%DE%1F9%7Dp%8C%E6%00%D5%C1%3F_%18%BDA%B8%9DpX6%E3%A35~B%CD%24%AE%11%26%BD%E7%EEti%98%EDe%9A%97Y)%12%25%1C%24%BCbT%AE3li%E6%0B%03%89%9A%E6%D3%ED%F4P%92%B0%9F4%BF43Y%F3%E3%EDP%95%04%EB1%C5%F5%F6KF%F4%BA%BD%D7%DB%91%93%07%E35%3E%A7)%D6%7F%40%FE%BD%F7%F5r%8A%E5y%92%F0%EB%B4%1E%8D%D5%F4%5B%92%3AV%DB%DB%E4%CD%A6%23%C3%C4wQ%3F%03HB%82%8E%1Cd(%E0%91B%0Ca%9Ac%C4%AA%F8L%16%19%22J%A4%D2itTy%B28%D6%3B(%93%96%ED%1CGx%C9_%0E%B8%5E%16%F5%5B%B2%B8%F6%E0%FB%9E%DD%25%D7%8E%BC%15%85%C5%B7%A3%D8Q%ED%B5%81%E9%BA%B2%13%9A%1B%7Fua%A5%A3n%E17%B9%E5%9B%1Bm%AB%0B%08Q%FE%8A%E5%B1H%5Ee%CAO%82Q%D7u6%E6%90S%97%FCu%0B%CF2%94%EE%25v%12X%0C%BA%AC%F0%5E%F8*l%0AO%85%17%C2%97%BF%D4%C8%CE%DE%AD%11%CB%80q%2C%3E%AB%9ES%CD%C6%EC%25%D2L%D2%EBd%B8%BF%8A%F5B%C6%18%F9%901CZ%9D%BE%24M%9C%8A9%F2%DAP%0B'%06w%82%EB%E6%E2%5C%2F%D7%07%9E%BB%CC%5D%E1%FA%B9%08%AD.r%23%8E%C2%17%F5E%7C!%F0%BE3%BE%3E_%B7o%88a%A7%DB%BE%D3d%EB%A31Z%EB%BB%D3%91%BA%A2%B1z%94%8F%DB'%F6%3D%8E%AA%13%19%B2%B1%BE%B1~V%08%2B%B4%A2cjJ%B3tO%00%03%25mN%97%F3%05%93%EF%11%84%0B%7C%88%AE-%89%8F%ABbW%90O%2B%0Ao%99%0C%5E%97%0CI%AFH%D9.%B0%3B%8F%ED%03%B6S%D6%5D%E6i_s9%F3*p%E9%1B%FD%C3%EB.7U%06%5E%19%C0%D1s.%17%A03u%E4%09%B0%7C%5E%2C%EB%15%DB%1F%3C%9E%B7%80%91%3B%DBc%AD%3Dma%BA%8B%3EV%AB%DBt.%5B%1E%01%BB%0F%AB%D5%9F%CF%AA%D5%DD%E7%E4%7F%0Bx%A3%FC%06%A9%23%0A%D6%C2%A1_2%00%00%00%09pHYs%00%00%0B%13%00%00%0B%13%01%00%9A%9C%18%00%00%00%3AIDAT8%11c%FC%FF%FF%7F%18%03%1A%60%01%F2%3F%A0%891%80%04%FF%11-%F8%17%9BJ%E2%05%B1ZD%81v%26t%E7%80%F8%A3%82h%A12%1A%20%A3%01%02%0F%01%BA%25%06%00%19%C0%0D%AEF%D5%3ES%00%00%00%00IEND%AEB%60%82\");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;-moz-border-radius: 2px;-webkit-border-radius: 2px;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url(\"data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%11%00%00%00%09%08%06%00%00%00%D4%E8%C7%0C%00%00%03%1EiCCPICC%20Profile%00%00x%01%85T%DFk%D3P%14%FE%DAe%9D%B0%E1%8B%3Ag%11%09%3Eh%91ndStC%9C%B6kW%BA%CDZ%EA6%B7!H%9B%A6m%5C%9A%C6%24%ED~%B0%07%D9%8Bo%3A%C5w%F1%07%3E%F9%07%0C%D9%83o%7B%92%0D%C6%14a%F8%AC%88%22L%F6%22%B3%9E%9B4M'S%03%B9%F7%BB%DF%F9%EE9'%E7%E4%5E%A0%F9qZ%D3%14%2F%0F%14USO%C5%C2%FC%C4%E4%14%DF%F2%01%5E%1CC%2B%FChM%8B%86%16J%26G%40%0F%D3%B2y%EF%B3%F3%0E%1E%C6lt%EEo%DF%AB%FEc%D5%9A%95%0C%11%F0%1C%20%BE%945%C4%22%E1Y%A0i%5C%D4t%13%E0%D6%89%EF%9D15%C2%CDLsX%A7%04%09%1Fg8oc%81%E1%8C%8D%23%96f45%40%9A%09%C2%07%C5B%3AK%B8%408%98i%E0%F3%0D%D8%CE%81%14%E4'%26%A9%92.%8B%3C%ABER%2F%E5dE%B2%0C%F6%F0%1Fs%83%F2_%B0%A8%94%E9%9B%AD%E7%10%8Dm%9A%19N%D1%7C%8A%DE%1F9%7Dp%8C%E6%00%D5%C1%3F_%18%BDA%B8%9DpX6%E3%A35~B%CD%24%AE%11%26%BD%E7%EEti%98%EDe%9A%97Y)%12%25%1C%24%BCbT%AE3li%E6%0B%03%89%9A%E6%D3%ED%F4P%92%B0%9F4%BF43Y%F3%E3%EDP%95%04%EB1%C5%F5%F6KF%F4%BA%BD%D7%DB%91%93%07%E35%3E%A7)%D6%7F%40%FE%BD%F7%F5r%8A%E5y%92%F0%EB%B4%1E%8D%D5%F4%5B%92%3AV%DB%DB%E4%CD%A6%23%C3%C4wQ%3F%03HB%82%8E%1Cd(%E0%91B%0Ca%9Ac%C4%AA%F8L%16%19%22J%A4%D2itTy%B28%D6%3B(%93%96%ED%1CGx%C9_%0E%B8%5E%16%F5%5B%B2%B8%F6%E0%FB%9E%DD%25%D7%8E%BC%15%85%C5%B7%A3%D8Q%ED%B5%81%E9%BA%B2%13%9A%1B%7Fua%A5%A3n%E17%B9%E5%9B%1Bm%AB%0B%08Q%FE%8A%E5%B1H%5Ee%CAO%82Q%D7u6%E6%90S%97%FCu%0B%CF2%94%EE%25v%12X%0C%BA%AC%F0%5E%F8*l%0AO%85%17%C2%97%BF%D4%C8%CE%DE%AD%11%CB%80q%2C%3E%AB%9ES%CD%C6%EC%25%D2L%D2%EBd%B8%BF%8A%F5B%C6%18%F9%901CZ%9D%BE%24M%9C%8A9%F2%DAP%0B'%06w%82%EB%E6%E2%5C%2F%D7%07%9E%BB%CC%5D%E1%FA%B9%08%AD.r%23%8E%C2%17%F5E%7C!%F0%BE3%BE%3E_%B7o%88a%A7%DB%BE%D3d%EB%A31Z%EB%BB%D3%91%BA%A2%B1z%94%8F%DB'%F6%3D%8E%AA%13%19%B2%B1%BE%B1~V%08%2B%B4%A2cjJ%B3tO%00%03%25mN%97%F3%05%93%EF%11%84%0B%7C%88%AE-%89%8F%ABbW%90O%2B%0Ao%99%0C%5E%97%0CI%AFH%D9.%B0%3B%8F%ED%03%B6S%D6%5D%E6i_s9%F3*p%E9%1B%FD%C3%EB.7U%06%5E%19%C0%D1s.%17%A03u%E4%09%B0%7C%5E%2C%EB%15%DB%1F%3C%9E%B7%80%91%3B%DBc%AD%3Dma%BA%8B%3EV%AB%DBt.%5B%1E%01%BB%0F%AB%D5%9F%CF%AA%D5%DD%E7%E4%7F%0Bx%A3%FC%06%A9%23%0A%D6%C2%A1_2%00%00%00%09pHYs%00%00%0B%13%00%00%0B%13%01%00%9A%9C%18%00%00%00%B5IDAT(%15%A5%91%3D%0E%02!%10%85ac%E1%05%D6%CE%D6%C6%CE%D2%E8%ED%CD%DE%C0%C6%D6N.%E0V%F8%3D%9Ca%891XH%C2%BE%D9y%3F%90!%E6%9C%C3%BFk%E5%011%C6-%F5%C8N%04%DF%BD%FF%89%DFt%83DN%60%3E%F3%AB%A0%DE%1A%5Dg%BE%10Q%97%1B%40%9C%A8o%10%8F%5E%828%B4%1B%60%87%F6%02%26%85%1Ch%1E%C1%2B%5Bk%FF%86%EE%B7j%09%9A%DA%9B%ACe%A3%F9%EC%DA!9%B4%D5%A6%81%86%86%98%CC%3C%5B%40%FA%81%B3%E9%CB%23%94%C16Azo%05%D4%E1%C1%95a%3B%8A'%A0%E8%CC%17%22%85%1D%BA%00%A2%FA%DC%0A%94%D1%D1%8D%8B%3A%84%17B%C7%60%1A%25Z%FC%8D%00%00%00%00IEND%AEB%60%82\"),url(\"data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%05%00%00%007%08%06%00%00%00%C4%DD%80C%00%00%03%1EiCCPICC%20Profile%00%00x%01%85T%DFk%D3P%14%FE%DAe%9D%B0%E1%8B%3Ag%11%09%3Eh%91ndStC%9C%B6kW%BA%CDZ%EA6%B7!H%9B%A6m%5C%9A%C6%24%ED~%B0%07%D9%8Bo%3A%C5w%F1%07%3E%F9%07%0C%D9%83o%7B%92%0D%C6%14a%F8%AC%88%22L%F6%22%B3%9E%9B4M'S%03%B9%F7%BB%DF%F9%EE9'%E7%E4%5E%A0%F9qZ%D3%14%2F%0F%14USO%C5%C2%FC%C4%E4%14%DF%F2%01%5E%1CC%2B%FChM%8B%86%16J%26G%40%0F%D3%B2y%EF%B3%F3%0E%1E%C6lt%EEo%DF%AB%FEc%D5%9A%95%0C%11%F0%1C%20%BE%945%C4%22%E1Y%A0i%5C%D4t%13%E0%D6%89%EF%9D15%C2%CDLsX%A7%04%09%1Fg8oc%81%E1%8C%8D%23%96f45%40%9A%09%C2%07%C5B%3AK%B8%408%98i%E0%F3%0D%D8%CE%81%14%E4'%26%A9%92.%8B%3C%ABER%2F%E5dE%B2%0C%F6%F0%1Fs%83%F2_%B0%A8%94%E9%9B%AD%E7%10%8Dm%9A%19N%D1%7C%8A%DE%1F9%7Dp%8C%E6%00%D5%C1%3F_%18%BDA%B8%9DpX6%E3%A35~B%CD%24%AE%11%26%BD%E7%EEti%98%EDe%9A%97Y)%12%25%1C%24%BCbT%AE3li%E6%0B%03%89%9A%E6%D3%ED%F4P%92%B0%9F4%BF43Y%F3%E3%EDP%95%04%EB1%C5%F5%F6KF%F4%BA%BD%D7%DB%91%93%07%E35%3E%A7)%D6%7F%40%FE%BD%F7%F5r%8A%E5y%92%F0%EB%B4%1E%8D%D5%F4%5B%92%3AV%DB%DB%E4%CD%A6%23%C3%C4wQ%3F%03HB%82%8E%1Cd(%E0%91B%0Ca%9Ac%C4%AA%F8L%16%19%22J%A4%D2itTy%B28%D6%3B(%93%96%ED%1CGx%C9_%0E%B8%5E%16%F5%5B%B2%B8%F6%E0%FB%9E%DD%25%D7%8E%BC%15%85%C5%B7%A3%D8Q%ED%B5%81%E9%BA%B2%13%9A%1B%7Fua%A5%A3n%E17%B9%E5%9B%1Bm%AB%0B%08Q%FE%8A%E5%B1H%5Ee%CAO%82Q%D7u6%E6%90S%97%FCu%0B%CF2%94%EE%25v%12X%0C%BA%AC%F0%5E%F8*l%0AO%85%17%C2%97%BF%D4%C8%CE%DE%AD%11%CB%80q%2C%3E%AB%9ES%CD%C6%EC%25%D2L%D2%EBd%B8%BF%8A%F5B%C6%18%F9%901CZ%9D%BE%24M%9C%8A9%F2%DAP%0B'%06w%82%EB%E6%E2%5C%2F%D7%07%9E%BB%CC%5D%E1%FA%B9%08%AD.r%23%8E%C2%17%F5E%7C!%F0%BE3%BE%3E_%B7o%88a%A7%DB%BE%D3d%EB%A31Z%EB%BB%D3%91%BA%A2%B1z%94%8F%DB'%F6%3D%8E%AA%13%19%B2%B1%BE%B1~V%08%2B%B4%A2cjJ%B3tO%00%03%25mN%97%F3%05%93%EF%11%84%0B%7C%88%AE-%89%8F%ABbW%90O%2B%0Ao%99%0C%5E%97%0CI%AFH%D9.%B0%3B%8F%ED%03%B6S%D6%5D%E6i_s9%F3*p%E9%1B%FD%C3%EB.7U%06%5E%19%C0%D1s.%17%A03u%E4%09%B0%7C%5E%2C%EB%15%DB%1F%3C%9E%B7%80%91%3B%DBc%AD%3Dma%BA%8B%3EV%AB%DBt.%5B%1E%01%BB%0F%AB%D5%9F%CF%AA%D5%DD%E7%E4%7F%0Bx%A3%FC%06%A9%23%0A%D6%C2%A1_2%00%00%00%09pHYs%00%00%0B%13%00%00%0B%13%01%00%9A%9C%18%00%00%003IDAT8%11c%FC%FF%FF%7F%3E%03%1A%60%01%F2%3F%A3%891%80%04%FFQ%26%F8w%C0%B43%A1%DB%0C%E2%8F%0A%A2%85%CAh%80%8C%06%08%3C%04%E8%96%18%00%A3S%0D%CD%CF%D8%C1%9D%00%00%00%00IEND%AEB%60%82\");background-repeat: no-repeat, repeat-x;background-position: center center, top left;}.ace_gutter-tooltip {background-color: #FFF;background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;display: inline-block;max-width: 500px;padding: 4px;position: fixed;z-index: 999999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: default;white-space: pre-line;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url(\"data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%05%00%00%00%05%08%06%00%00%00%8Do%26%E5%00%00%004IDATx%DAe%8A%B1%0D%000%0C%C2%F2%2CK%96%BC%D0%8F9%81%88H%E9%D0%0E%96%C0%10%92%3E%02%80%5E%82%E4%A9*-%EEsw%C8%CC%11%EE%96w%D8%DC%E9*Eh%0C%151(%00%00%00%00IEND%AEB%60%82\");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block;   }.ace_fold-widget.ace_end {background-image: url(\"data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%05%00%00%00%05%08%06%00%00%00%8Do%26%E5%00%00%004IDATx%DAm%C7%C1%09%000%08C%D1%8C%ECE%C8E(%8E%EC%02)%1EZJ%F1%C1'%04%07I%E1%E5%EE%CAL%F5%A2%99%99%22%E2%D6%1FU%B5%FE0%D9x%A7%26Wz5%0E%D5%00%00%00%00IEND%AEB%60%82\");}.ace_fold-widget.ace_closed {background-image: url(\"data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%03%00%00%00%06%08%06%00%00%00%06%E5%24%0C%00%00%009IDATx%DA5%CA%C1%09%000%08%03%C0%AC*(%3E%04%C1%0D%BA%B1%23%A4Uh%E0%20%81%C0%CC%F8%82%81%AA%A2%AArGfr%88%08%11%11%1C%DD%7D%E0%EE%5B%F6%F6%CB%B8%05Q%2F%E9tai%D9%00%00%00%00IEND%AEB%60%82\");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);-moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);-webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);-moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);-webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}/*** Dark version for fold widgets*/.ace_dark .ace_fold-widget {background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC\");}.ace_dark .ace_fold-widget.ace_end {background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==\");}.ace_dark .ace_fold-widget.ace_closed {background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==\");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {-moz-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);-webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {-moz-transition: opacity 0.4s ease 0.05s;-webkit-transition: opacity 0.4s ease 0.05s;-o-transition: opacity 0.4s ease 0.05s;-ms-transition: opacity 0.4s ease 0.05s;transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {-moz-transition: opacity 0.05s ease 0.05s;-webkit-transition: opacity 0.05s ease 0.05s;-o-transition: opacity 0.05s ease 0.05s;-ms-transition: opacity 0.05s ease 0.05s;transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}";i.importCssString(v,"ace_editor");var m=function(e,t){var n=this;this.container=e||i.createElement("div"),this.$keepTextAreaAtCursor=!0,i.addCssClass(this.container,"ace_editor"),this.setTheme(t),this.$gutter=i.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.scroller=i.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=i.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new u(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new a(this.content);var r=this.$textLayer=new f(this.content);this.canvas=r.element,this.$markerFront=new a(this.content),this.$cursorLayer=new l(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new h(this.container,this),this.scrollBarH=new c(this.container,this),this.scrollBarV.addEventListener("scroll",function(e){n.$scrollAnimation||n.session.setScrollTop(e.data-n.scrollMargin.top)}),this.scrollBarH.addEventListener("scroll",function(e){n.$scrollAnimation||n.session.setScrollLeft(e.data-n.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$textLayer.addEventListener("changeCharacterSize",function(){n.updateCharacterSize(),n.onResize(!0),n._signal("changeCharacterSize")}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$loop=new p(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),o.resetOptions(this),o._emit("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,r.implement(this,d),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin()},this.setSession=function(e){this.session=e,this.scroller.className="ace_scroller",this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),this.$loop.schedule(this.CHANGE_FULL)},this.updateLines=function(e,t){t===undefined&&(t=Infinity),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRow<t&&(this.$changedLines.lastRow=t)):this.$changedLines={firstRow:e,lastRow:t};if(this.$changedLines.firstRow>this.layerConfig.lastRow||this.$changedLines.lastRow<this.layerConfig.firstRow)return;this.$loop.schedule(this.CHANGE_LINES)},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.onResize=function(e,t,n,r){if(this.resizing>2)return;this.resizing>0?this.resizing++:this.resizing=e?1:0;var i=this.container;r||(r=i.clientHeight||i.scrollHeight),n||(n=i.clientWidth||i.scrollWidth);var s=this.$updateCachedSize(e,t,n,r);if(!this.$size.scrollerHeight||!n&&!r)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(s,!0):this.$loop.schedule(s|this.$changes),this.resizing&&(this.resizing=0)},this.$updateCachedSize=function(e,t,n,r){var i=0,s=this.$size,o={width:s.width,height:s.height,scrollerHeight:s.scrollerHeight,scrollerWidth:s.scrollerWidth};r&&(e||s.height!=r)&&(s.height=r,i=this.CHANGE_SIZE,s.scrollerHeight=s.height,this.$horizScroll&&(s.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",this.session&&(this.session.setScrollTop(this.getScrollTop()),i|=this.CHANGE_SCROLL));if(n&&(e||s.width!=n)){i=this.CHANGE_SIZE,s.width=n,t==null&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,this.scrollBarH.element.style.left=this.scroller.style.left=t+"px",s.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()),this.scrollBarH.element.style.right=this.scroller.style.right=this.scrollBarV.getWidth()+"px",this.scroller.style.bottom=this.scrollBarH.getHeight()+"px";if(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)i|=this.CHANGE_FULL}return i&&this._signal("resize",o),i},this.onGutterResize=function(){var e=this.$showGutter?this.$gutter.offsetWidth:0;e!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,e,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):(this.$computeLayerConfig(),this.$loop.schedule(this.CHANGE_MARKER))},this.adjustWrapLimit=function(){var e=this.$size.scrollerWidth-this.$padding*2,t=Math.floor(e/this.characterWidth);return this.session.adjustWrapLimit(t,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(e){this.setOption("showInvisibles",e)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},this.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(e){return this.setOption("showGutter",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updateGutterLineHighlight=function(){var e=this.$cursorLayer.$pixelPos,t=this.layerConfig.lineHeight;if(this.session.getUseWrapMode()){var n=this.session.selection.getCursor();n.column=0,e=this.$cursorLayer.getPixelPosition(n,!0),t*=this.session.getRowLength(n.row)}this.$gutterLineHighlight.style.top=e.top-this.layerConfig.offset+"px",this.$gutterLineHighlight.style.height=t+"px"},this.$updatePrintMargin=function(){if(!this.$showPrintMargin&&!this.$printMarginEl)return;if(!this.$printMarginEl){var e=i.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=i.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=this.characterWidth*this.$printMarginColumn+this.$padding+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.content},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(!this.$keepTextAreaAtCursor)return;var e=this.layerConfig,t=this.$cursorLayer.$pixelPos.top,n=this.$cursorLayer.$pixelPos.left;t-=e.offset;var r=this.lineHeight;if(t<0||t>e.height-r)return;var i=this.characterWidth;if(this.$composition){var s=this.textarea.value.replace(/^\x01+/,"");i*=this.session.$getStringScreenWidth(s)[0]+2,r+=2,t-=1}n-=this.scrollLeft,n>this.$size.scrollerWidth-i&&(n=this.$size.scrollerWidth-i),n-=this.scrollBar.width,this.textarea.style.height=r+"px",this.textarea.style.width=i+"px",this.textarea.style.right=Math.max(0,this.$size.scrollerWidth-n-i)+"px",this.textarea.style.bottom=Math.max(0,this.$size.height-t-r)+"px"},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},this.getLastFullyVisibleRow=function(){var e=Math.floor((this.layerConfig.height+this.layerConfig.offset)/this.layerConfig.lineHeight);return this.layerConfig.firstRow-1+e},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(e,t,n,r){var i=this.scrollMargin;i.top=e|0,i.bottom=t|0,i.right=r|0,i.left=n|0,i.v=i.top+i.bottom,i.h=i.left+i.right,this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},this.getVScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},this.$updateScrollBarV=function(){this.scrollBarV.setInnerHeight(this.layerConfig.maxHeight+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setInnerWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$renderChanges=function(e,t){this.$changes&&(e|=this.$changes,this.$changes=0);if(!this.session||!this.container.offsetWidth||!e&&!t){this.$changes|=e;return}if(!this.$size.width)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender");if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL)e|=this.$computeLayerConfig();e&this.CHANGE_H_SCROLL&&(this.$updateScrollBarH(),this.content.style.marginLeft=-this.scrollLeft+"px",this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left");if(e&this.CHANGE_FULL){this.$updateScrollBarV(),this.$updateScrollBarH(),this.$textLayer.update(this.layerConfig),this.$showGutter&&this.$gutterLayer.update(this.layerConfig),this.$markerBack.update(this.layerConfig),this.$markerFront.update(this.layerConfig),this.$cursorLayer.update(this.layerConfig),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this._signal("afterRender");return}if(e&this.CHANGE_SCROLL){this.$updateScrollBarV(),e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(this.layerConfig):this.$textLayer.scrollLines(this.layerConfig),this.$showGutter&&this.$gutterLayer.update(this.layerConfig),this.$markerBack.update(this.layerConfig),this.$markerFront.update(this.layerConfig),this.$cursorLayer.update(this.layerConfig),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this.$moveTextAreaToCursor(),this._signal("afterRender");return}e&this.CHANGE_TEXT?(this.$textLayer.update(this.layerConfig),this.$showGutter&&this.$gutterLayer.update(this.layerConfig)):e&this.CHANGE_LINES?(this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(this.layerConfig):(e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(this.layerConfig),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(this.layerConfig),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(this.layerConfig),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(this.layerConfig);if(e&this.CHANGE_SIZE||e&this.CHANGE_LINES)this.$updateScrollBarV(),this.$updateScrollBarH();this._signal("afterRender")},this.$autosize=function(e,t){var e=this.session.getScreenLength()*this.lineHeight,n=this.$maxLines*this.lineHeight,r=Math.max((this.$minLines||1)*this.lineHeight,Math.min(n,e)),i=e>n;if(r!=this.desiredHeight||this.$size.height!=this.desiredHeight||i!=this.$vScroll){i!=this.$vScroll&&(this.$vScroll=i,this.scrollBarV.setVisible(i));var s=this.container.clientWidth;this.container.style.height=r+"px",this.$updateCachedSize(!0,this.$gutterWidth,s,r),this.desiredHeight=r}},this.$computeLayerConfig=function(){this.$maxLines&&this.lineHeight>1&&this.$autosize();var e=this.session,t=this.$size.height<=2*this.lineHeight,n=this.session.getScreenLength(),r=n*this.lineHeight,i=this.scrollTop%this.lineHeight,s=this.$size.scrollerHeight+this.lineHeight,o=this.$getLongestLine(),u=!t&&(this.$hScrollBarAlwaysVisible||this.$size.scrollerWidth-o-2*this.$padding<0),a=this.$horizScroll!==u;a&&(this.$horizScroll=u,this.scrollBarH.setVisible(u)),!this.$maxLines&&this.$scrollPastEnd&&this.scrollTop>r-this.$size.scrollerHeight&&(r+=Math.min((this.$size.scrollerHeight-this.lineHeight)*this.$scrollPastEnd,this.scrollTop-r+this.$size.scrollerHeight));var f=!t&&(this.$vScrollBarAlwaysVisible||this.$size.scrollerHeight-r<0),l=this.$vScroll!==f;l&&(this.$vScroll=f,this.scrollBarV.setVisible(f)),this.session.setScrollTop(Math.max(-this.scrollMargin.top,Math.min(this.scrollTop,r-this.$size.scrollerHeight+this.scrollMargin.v))),this.session.setScrollLeft(Math.max(-this.scrollMargin.left,Math.min(this.scrollLeft,o+2*this.$padding-this.$size.scrollerWidth+this.scrollMargin.h)));var c=Math.ceil(s/this.lineHeight)-1,h=Math.max(0,Math.round((this.scrollTop-i)/this.lineHeight)),p=h+c,d,v,m=this.lineHeight;h=e.screenToDocumentRow(h,0);var g=e.getFoldLine(h);g&&(h=g.start.row),d=e.documentToScreenRow(h,0),v=e.getRowLength(h)*m,p=Math.min(e.screenToDocumentRow(p,0),e.getLength()-1),s=this.$size.scrollerHeight+e.getRowLength(p)*m+v,i=this.scrollTop-d*m;var y=0;if(a||l)y=this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this._signal("scrollbarVisibilityChanged"),l&&(o=this.$getLongestLine());return this.layerConfig={width:o,padding:this.$padding,firstRow:h,firstRowScreen:d,lastRow:p,lineHeight:m,characterWidth:this.characterWidth,minHeight:s,maxHeight:r,offset:i,height:this.$size.scrollerHeight},this.$gutterLayer.element.style.marginTop=-i+"px",this.content.style.marginTop=-i+"px",this.content.style.width=o+2*this.$padding+"px",this.content.style.height=s+"px",y},this.$updateLines=function(){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(e>n.lastRow+1)return;if(t<n.firstRow)return;if(t===Infinity){this.$showGutter&&this.$gutterLayer.update(n),this.$textLayer.update(n);return}return this.$textLayer.updateLines(n,e,t),!0},this.$getLongestLine=function(){var e=this.session.getScreenWidth();return this.showInvisibles&&!this.session.$useWrapMode&&(e+=1),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(e*this.characterWidth))},this.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},this.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},this.addGutterDecoration=function(e,t){this.$gutterLayer.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){this.$gutterLayer.removeGutterDecoration(e,t)},this.updateBreakpoints=function(e){this.$loop.schedule(this.CHANGE_GUTTER)},this.setAnnotations=function(e){this.$gutterLayer.setAnnotations(e),this.$loop.schedule(this.CHANGE_GUTTER)},this.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},this.hideCursor=function(){this.$cursorLayer.hideCursor()},this.showCursor=function(){this.$cursorLayer.showCursor()},this.scrollSelectionIntoView=function(e,t,n){this.scrollCursorIntoView(e,n),this.scrollCursorIntoView(t,n)},this.scrollCursorIntoView=function(e,t){if(this.$size.scrollerHeight===0)return;var n=this.$cursorLayer.getPixelPosition(e),r=n.left,i=n.top,s=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;s>i?(t&&(i-=t*this.$size.scrollerHeight),i==0?i=-this.scrollMargin.top:i==0&&(i=+this.scrollMargin.bottom),this.session.setScrollTop(i)):s+this.$size.scrollerHeight<i+this.lineHeight&&(t&&(i+=t*this.$size.scrollerHeight),this.session.setScrollTop(i+this.lineHeight-this.$size.scrollerHeight));var o=this.scrollLeft;o>r?(r<this.$padding+2*this.layerConfig.characterWidth&&(r=-this.scrollMargin.left),this.session.setScrollLeft(r)):o+this.$size.scrollerWidth<r+this.characterWidth?this.session.setScrollLeft(Math.round(r+this.characterWidth-this.$size.scrollerWidth)):o<=this.$padding&&r-o<this.characterWidth&&this.session.setScrollLeft(0)},this.getScrollTop=function(){return this.session.getScrollTop()},this.getScrollLeft=function(){return this.session.getScrollLeft()},this.getScrollTopRow=function(){return this.scrollTop/this.lineHeight},this.getScrollBottomRow=function(){return Math.max(0,Math.floor((this.scrollTop+this.$size.scrollerHeight)/this.lineHeight)-1)},this.scrollToRow=function(e){this.session.setScrollTop(e*this.lineHeight)},this.alignCursor=function(e,t){typeof e=="number"&&(e={row:e,column:0});var n=this.$cursorLayer.getPixelPosition(e),r=this.$size.scrollerHeight-this.lineHeight,i=n.top-r*(t||0);return this.session.setScrollTop(i),i},this.STEPS=8,this.$calcSteps=function(e,t){var n=0,r=this.STEPS,i=[],s=function(e,t,n){return n*(Math.pow(e-1,3)+1)+t};for(n=0;n<r;++n)i.push(s(n/this.STEPS,e,t-e));return i},this.scrollToLine=function(e,t,n,r){var i=this.$cursorLayer.getPixelPosition({row:e,column:0}),s=i.top;t&&(s-=this.$size.scrollerHeight/2);var o=this.scrollTop;this.session.setScrollTop(s),n!==!1&&this.animateScrolling(o,r)},this.animateScrolling=function(e,t){var n=this.scrollTop;if(!this.$animatedScroll)return;var r=this;if(e==n)return;if(this.$scrollAnimation){var i=this.$scrollAnimation.steps;if(i.length){e=i[0];if(e==n)return}}var s=r.$calcSteps(e,n);this.$scrollAnimation={from:e,to:n,steps:s},clearInterval(this.$timer),r.session.setScrollTop(s.shift()),this.$timer=setInterval(function(){s.length?(r.session.setScrollTop(s.shift()),r.session.$scrollTop=n):n!=null?(r.session.$scrollTop=-1,r.session.setScrollTop(n),n=null):(r.$timer=clearInterval(r.$timer),r.$scrollAnimation=null,t&&t())},10)},this.scrollToY=function(e){this.scrollTop!==e&&(this.$loop.schedule(this.CHANGE_SCROLL),this.scrollTop=e)},this.scrollToX=function(e){this.scrollLeft!==e&&(this.scrollLeft=e),this.$loop.schedule(this.CHANGE_H_SCROLL)},this.scrollTo=function(e,t){this.session.setScrollTop(t),this.session.setScrollLeft(t)},this.scrollBy=function(e,t){t&&this.session.setScrollTop(this.session.getScrollTop()+t),e&&this.session.setScrollLeft(this.session.getScrollLeft()+e)},this.isScrollableBy=function(e,t){if(t<0&&this.session.getScrollTop()>=1-this.scrollMargin.top)return!0;if(t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight-(this.$size.scrollerHeight-this.lineHeight)*this.$scrollPastEnd<-1+this.scrollMargin.bottom)return!0;if(e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left)return!0;if(e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},this.pixelToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=(e+this.scrollLeft-n.left-this.$padding)/this.characterWidth,i=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),s=Math.round(r);return{row:i,column:s,side:r-s>0?1:-1}},this.screenToTextCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=Math.round((e+this.scrollLeft-n.left-this.$padding)/this.characterWidth),i=Math.floor((t+this.scrollTop-n.top)/this.lineHeight);return this.session.screenToDocumentPosition(i,Math.max(r,0))},this.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=this.session.documentToScreenPosition(e,t),i=this.$padding+Math.round(r.column*this.characterWidth),s=r.row*this.lineHeight;return{pageX:n.left+i-this.scrollLeft,pageY:n.top+s-this.scrollTop}},this.visualizeFocus=function(){i.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){i.removeCssClass(this.container,"ace_focus")},this.showComposition=function(e){this.$composition||(this.$composition={keepTextAreaAtCursor:this.$keepTextAreaAtCursor,cssText:this.textarea.style.cssText}),this.$keepTextAreaAtCursor=!0,i.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor()},this.setCompositionText=function(e){this.$moveTextAreaToCursor()},this.hideComposition=function(){if(!this.$composition)return;i.removeCssClass(this.textarea,"ace_composition"),this.$keepTextAreaAtCursor=this.$composition.keepTextAreaAtCursor,this.textarea.style.cssText=this.$composition.cssText,this.$composition=null},this.setTheme=function(e,t){function s(r){if(n.$themeValue!=e)return t&&t();if(!r.cssClass)return;i.importCssString(r.cssText,r.cssClass,n.container.ownerDocument),n.theme&&i.removeCssClass(n.container,n.theme.cssClass),n.$theme=r.cssClass,n.theme=r,i.addCssClass(n.container,r.cssClass),i.setCssClass(n.container,"ace_dark",r.isDark);var s="padding"in r?r.padding:4;n.$padding&&s!=n.$padding&&n.setPadding(s),n.$size&&(n.$size.width=0,n.onResize()),n._dispatchEvent("themeLoaded",{theme:r}),t&&t()}var n=this;this.$themeValue=e,n._dispatchEvent("themeChange",{theme:e});if(!e||typeof e=="string"){var r=e||"ace/theme/textmate";o.loadModule(["theme",r],s)}else s(e)},this.getTheme=function(){return this.$themeValue},this.setStyle=function(e,t){i.setCssClass(this.container,e,t!=0)},this.unsetStyle=function(e){i.removeCssClass(this.container,e)},this.setMouseCursor=function(e){this.content.style.cursor=e},this.destroy=function(){this.$textLayer.destroy(),this.$cursorLayer.destroy()}}).call(m.prototype),o.defineOptions(m.prototype,"renderer",{animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(e){typeof e=="number"&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?"block":"none",this.onGutterResize()},initialValue:!0},fadeFoldWidgets:{set:function(e){i.setCssClass(this.$gutter,"ace_fade-fold-widgets",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightGutterLine:{set:function(e){if(!this.$gutterLineHighlight){this.$gutterLineHighlight=i.createElement("div"),this.$gutterLineHighlight.className="ace_gutter-active-line",this.$gutter.appendChild(this.$gutterLineHighlight);return}this.$gutterLineHighlight.style.display=e?"":"none",this.$cursorLayer.$pixelPos&&this.$updateGutterLineHighlight()},initialValue:!1,value:!0},hScrollBarAlwaysVisible:{set:function(e){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){typeof e=="number"&&(e+="px"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.updateFull()}},scrollPastEnd:{set:function(e){e=+e||0;if(this.$scrollPastEnd==e)return;this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}}}),t.VirtualRenderer=m}),define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter"],function(e,t,n){var r=e("../lib/dom"),i=e("../lib/oop"),s=e("../lib/lang"),o=e("../lib/event_emitter").EventEmitter,u=function(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_gutter-layer",e.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$cells=[]};(function(){i.implement(this,o),this.setSession=function(e){this.session&&this.session.removeEventListener("change",this.$updateAnnotations),this.session=e,e.on("change",this.$updateAnnotations)},this.addGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(e,t)},this.setAnnotations=function(e){this.$annotations=[];var t,n;for(var r=0;r<e.length;r++){var i=e[r],n=i.row,t=this.$annotations[n];t||(t=this.$annotations[n]={text:[]});var o=i.text;o=o?s.escapeHTML(o):i.html||"",t.text.indexOf(o)===-1&&t.text.push(o);var u=i.type;u=="error"?t.className=" ace_error":u=="warning"&&t.className!=" ace_error"?t.className=" ace_warning":u=="info"&&!t.className&&(t.className=" ace_info")}},this.$updateAnnotations=function(e){if(!this.$annotations.length)return;var t=e.data,n=t.range,r=n.start.row,i=n.end.row-r;if(i!==0)if(t.action=="removeText"||t.action=="removeLines")this.$annotations.splice(r,i+1,null);else{var s=Array(i+1);s.unshift(r,1),this.$annotations.splice.apply(this.$annotations,s)}},this.update=function(e){var t=e.firstRow,n=e.lastRow,i=this.session.getNextFoldLine(t),s=i?i.start.row:Infinity,o=this.$showFoldWidgets&&this.session.foldWidgets,u=this.session.$breakpoints,a=this.session.$decorations,f=this.session.$firstLineNumber,l=0,c=null,h=-1,p=t;for(;;){p>s&&(p=i.end.row+1,i=this.session.getNextFoldLine(p,i),s=i?i.start.row:Infinity);if(p>n){while(this.$cells.length>h+1)c=this.$cells.pop(),this.element.removeChild(c.element);break}c=this.$cells[++h],c||(c={element:null,textNode:null,foldWidget:null},c.element=r.createElement("div"),c.textNode=document.createTextNode(""),c.element.appendChild(c.textNode),this.element.appendChild(c.element),this.$cells[h]=c);var d="ace_gutter-cell ";u[p]&&(d+=u[p]),a[p]&&(d+=a[p]),this.$annotations[p]&&(d+=this.$annotations[p].className),c.element.className!=d&&(c.element.className=d);var v=this.session.getRowLength(p)*e.lineHeight+"px";v!=c.element.style.height&&(c.element.style.height=v);var m=l=p+f;m!=c.textNode.data&&(c.textNode.data=m);if(o){var g=o[p];g==null&&(g=o[p]=this.session.getFoldWidget(p))}if(g){c.foldWidget||(c.foldWidget=r.createElement("span"),c.element.appendChild(c.foldWidget));var d="ace_fold-widget ace_"+g;g=="start"&&p==s&&p<i.end.row?d+=" ace_closed":d+=" ace_open",c.foldWidget.className!=d&&(c.foldWidget.className=d);var v=e.lineHeight+"px";c.foldWidget.style.height!=v&&(c.foldWidget.style.height=v)}else c.foldWidget!=null&&(c.element.removeChild(c.foldWidget),c.foldWidget=null);p++}this.element.style.height=e.minHeight+"px";if(this.$fixedWidth||this.session.$useWrapMode)l=this.session.getLength();var y=l.toString().length*e.characterWidth,b=this.$padding||this.$computePadding();y+=b.left+b.right,y!==this.gutterWidth&&!isNaN(y)&&(this.gutterWidth=y,this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._emit("changeGutterWidth",y))},this.$fixedWidth=!1,this.$showFoldWidgets=!0,this.setShowFoldWidgets=function(e){e?r.addCssClass(this.element,"ace_folding-enabled"):r.removeCssClass(this.element,"ace_folding-enabled"),this.$showFoldWidgets=e,this.$padding=null},this.getShowFoldWidgets=function(){return this.$showFoldWidgets},this.$computePadding=function(){if(!this.element.firstChild)return{left:0,right:0};var e=r.computedStyle(this.element.firstChild);return this.$padding={},this.$padding.left=parseInt(e.paddingLeft)+1||0,this.$padding.right=parseInt(e.paddingRight)||0,this.$padding},this.getRegion=function(e){var t=this.$padding||this.$computePadding(),n=this.element.getBoundingClientRect();if(e.x<t.left+n.left)return"markers";if(this.$showFoldWidgets&&e.x>n.right-t.right)return"foldWidgets"}}).call(u.prototype),t.Gutter=u}),define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(e,t,n){var r=e("../range").Range,i=e("../lib/dom"),s=function(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setMarkers=function(e){this.markers=e},this.update=function(e){var e=e||this.config;if(!e)return;this.config=e;var t=[];for(var n in this.markers){var r=this.markers[n];if(!r.range){r.update(t,this,this.session,e);continue}var s=r.range.clipRows(e.firstRow,e.lastRow);if(s.isEmpty())continue;s=s.toScreenRange(this.session);if(r.renderer){var o=this.$getTop(s.start.row,e),u=this.$padding+s.start.column*e.characterWidth;r.renderer(t,s,u,o,e)}else r.type=="fullLine"?this.drawFullLineMarker(t,s,r.clazz,e):r.type=="screenLine"?this.drawScreenLineMarker(t,s,r.clazz,e):s.isMultiLine()?r.type=="text"?this.drawTextMarker(t,s,r.clazz,e):this.drawMultiLineMarker(t,s,r.clazz,e):this.drawSingleLineMarker(t,s,r.clazz+" ace_start",e)}this.element=i.setInnerHtml(this.element,t.join(""))},this.$getTop=function(e,t){return(e-t.firstRowScreen)*t.lineHeight},this.drawTextMarker=function(e,t,n,i,s){var o=t.start.row,u=new r(o,t.start.column,o,this.session.getScreenLastRowColumn(o));this.drawSingleLineMarker(e,u,n+" ace_start",i,1,s),o=t.end.row,u=new r(o,0,o,t.end.column),this.drawSingleLineMarker(e,u,n,i,0,s);for(o=t.start.row+1;o<t.end.row;o++)u.start.row=o,u.end.row=o,u.end.column=this.session.getScreenLastRowColumn(o),this.drawSingleLineMarker(e,u,n,i,1,s)},this.drawMultiLineMarker=function(e,t,n,r,i){var s=this.$padding,o=r.lineHeight,u=this.$getTop(t.start.row,r),a=s+t.start.column*r.characterWidth;i=i||"",e.push("<div class='",n," ace_start' style='","height:",o,"px;","right:0;","top:",u,"px;","left:",a,"px;",i,"'></div>"),u=this.$getTop(t.end.row,r);var f=t.end.column*r.characterWidth;e.push("<div class='",n,"' style='","height:",o,"px;","width:",f,"px;","top:",u,"px;","left:",s,"px;",i,"'></div>"),o=(t.end.row-t.start.row-1)*r.lineHeight;if(o<0)return;u=this.$getTop(t.start.row+1,r),e.push("<div class='",n,"' style='","height:",o,"px;","right:0;","top:",u,"px;","left:",s,"px;",i,"'></div>")},this.drawSingleLineMarker=function(e,t,n,r,i,s){var o=r.lineHeight,u=(t.end.column+(i||0)-t.start.column)*r.characterWidth,a=this.$getTop(t.start.row,r),f=this.$padding+t.start.column*r.characterWidth;e.push("<div class='",n,"' style='","height:",o,"px;","width:",u,"px;","top:",a,"px;","left:",f,"px;",s||"","'></div>")},this.drawFullLineMarker=function(e,t,n,r,i){var s=this.$getTop(t.start.row,r),o=r.lineHeight;t.start.row!=t.end.row&&(o+=this.$getTop(t.end.row,r)-s),e.push("<div class='",n,"' style='","height:",o,"px;","top:",s,"px;","left:0;right:0;",i||"","'></div>")},this.drawScreenLineMarker=function(e,t,n,r,i){var s=this.$getTop(t.start.row,r),o=r.lineHeight;e.push("<div class='",n,"' style='","height:",o,"px;","top:",s,"px;","left:0;right:0;",i||"","'></div>")}}).call(s.prototype),t.Marker=s}),define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],function(e,t,n){var r=e("../lib/oop"),i=e("../lib/dom"),s=e("../lib/lang"),o=e("../lib/useragent"),u=e("../lib/event_emitter").EventEmitter,a=function(e){this.element=i.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$characterSize={width:0,height:0},this.checkForSizeChanges(),this.$pollSizeChanges()};(function(){r.implement(this,u),this.EOF_CHAR="¶",this.EOL_CHAR="¬",this.TAB_CHAR="→",this.SPACE_CHAR="·",this.$padding=0,this.setPadding=function(e){this.$padding=e,this.element.style.padding="0 "+e+"px"},this.getLineHeight=function(){return this.$characterSize.height||0},this.getCharacterWidth=function(){return this.$characterSize.width||0},this.checkForSizeChanges=function(){var e=this.$measureSizes();if(e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},this.$pollSizeChanges=function(){var e=this;this.$pollSizeChangesTimer=setInterval(function(){e.checkForSizeChanges()},500)},this.$fontStyles={fontFamily:1,fontSize:1,fontWeight:1,fontStyle:1,lineHeight:1},this.$measureSizes=o.isIE||o.isOldGecko?function(){var e=1e3;if(!this.$measureNode){var t=this.$measureNode=i.createElement("div"),n=t.style;n.width=n.height="auto",n.left=n.top=-e*40+"px",n.visibility="hidden",n.position="fixed",n.overflow="visible",n.whiteSpace="nowrap",t.innerHTML=s.stringRepeat("Xy",e);if(this.element.ownerDocument.body)this.element.ownerDocument.body.appendChild(t);else{var r=this.element.parentNode;while(!i.hasCssClass(r,"ace_editor"))r=r.parentNode;r.appendChild(t)}}if(!this.element.offsetWidth)return null;var n=this.$measureNode.style,o=i.computedStyle(this.element);for(var u in this.$fontStyles)n[u]=o[u];var a={height:this.$measureNode.offsetHeight,width:this.$measureNode.offsetWidth/(e*2)};return a.width==0||a.height==0?null:a}:function(){if(!this.$measureNode){var e=this.$measureNode=i.createElement("div"),t=e.style;t.width=t.height="auto",t.left=t.top="-100px",t.visibility="hidden",t.position="fixed",t.overflow="visible",t.whiteSpace="nowrap",e.innerHTML=s.stringRepeat("X",100);var n=this.element.parentNode;while(n&&!i.hasCssClass(n,"ace_editor"))n=n.parentNode;if(!n)return this.$measureNode=null;n.appendChild(e)}var r=this.$measureNode.getBoundingClientRect(),o={height:r.height,width:r.width/100};return o.width==0||o.height==0?null:o},this.setSession=function(e){this.session=e,this.$computeTabString()},this.showInvisibles=!1,this.setShowInvisibles=function(e){return this.showInvisibles==e?!1:(this.showInvisibles=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides==e?!1:(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;var t=this.$tabStrings=[0];for(var n=1;n<e+1;n++)this.showInvisibles?t.push("<span class='ace_invisible'>"+this.TAB_CHAR+s.stringRepeat(" ",n-1)+"</span>"):t.push(s.stringRepeat(" ",n));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var r="ace_indent-guide";if(this.showInvisibles){r+=" ace_invisible";var i=s.stringRepeat(this.SPACE_CHAR,this.tabSize),o=this.TAB_CHAR+s.stringRepeat(" ",this.tabSize-1)}else var i=s.stringRepeat(" ",this.tabSize),o=i;this.$tabStrings[" "]="<span class='"+r+"'>"+i+"</span>",this.$tabStrings["  "]="<span class='"+r+"'>"+o+"</span>"}},this.updateLines=function(e,t,n){(this.config.lastRow!=e.lastRow||this.config.firstRow!=e.firstRow)&&this.scrollLines(e),this.config=e;var r=Math.max(t,e.firstRow),s=Math.min(n,e.lastRow),o=this.element.childNodes,u=0;for(var a=e.firstRow;a<r;a++){var f=this.session.getFoldLine(a);if(f){if(f.containsRow(r)){r=f.start.row;break}a=f.end.row}u++}var a=r,f=this.session.getNextFoldLine(a),l=f?f.start.row:Infinity;for(;;){a>l&&(a=f.end.row+1,f=this.session.getNextFoldLine(a,f),l=f?f.start.row:Infinity);if(a>s)break;var c=o[u++];if(c){var h=[];this.$renderLine(h,a,!this.$useLineGroups(),a==l?f:!1),i.setInnerHtml(c,h.join(""))}a++}},this.scrollLines=function(e){var t=this.config;this.config=e;if(!t||t.lastRow<e.firstRow)return this.update(e);if(e.lastRow<t.firstRow)return this.update(e);var n=this.element;if(t.firstRow<e.firstRow)for(var r=this.session.getFoldedRowCount(t.firstRow,e.firstRow-1);r>0;r--)n.removeChild(n.firstChild);if(t.lastRow>e.lastRow)for(var r=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);r>0;r--)n.removeChild(n.lastChild);if(e.firstRow<t.firstRow){var i=this.$renderLinesFragment(e,e.firstRow,t.firstRow-1);n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i)}if(e.lastRow>t.lastRow){var i=this.$renderLinesFragment(e,t.lastRow+1,e.lastRow);n.appendChild(i)}},this.$renderLinesFragment=function(e,t,n){var r=this.element.ownerDocument.createDocumentFragment(),s=t,o=this.session.getNextFoldLine(s),u=o?o.start.row:Infinity;for(;;){s>u&&(s=o.end.row+1,o=this.session.getNextFoldLine(s,o),u=o?o.start.row:Infinity);if(s>n)break;var a=i.createElement("div"),f=[];this.$renderLine(f,s,!1,s==u?o:!1),a.innerHTML=f.join("");if(this.$useLineGroups())a.className="ace_line_group",r.appendChild(a);else{var l=a.childNodes;while(l.length)r.appendChild(l[0])}s++}return r},this.update=function(e){this.config=e;var t=[],n=e.firstRow,r=e.lastRow,s=n,o=this.session.getNextFoldLine(s),u=o?o.start.row:Infinity;for(;;){s>u&&(s=o.end.row+1,o=this.session.getNextFoldLine(s,o),u=o?o.start.row:Infinity);if(s>r)break;this.$useLineGroups()&&t.push("<div class='ace_line_group'>"),this.$renderLine(t,s,!1,s==u?o:!1),this.$useLineGroups()&&t.push("</div>"),s++}this.element=i.setInnerHtml(this.element,t.join(""))},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,n,r){var i=this,o=/\t|&|<|( +)|([\x00-\x1f\x80-\xa0\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\u3000\uFEFF])|[\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3000-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]/g,u=function(e,n,r,o,u){if(n)return i.showInvisibles?"<span class='ace_invisible'>"+s.stringRepeat(i.SPACE_CHAR,e.length)+"</span>":s.stringRepeat(" ",e.length);if(e=="&")return"&#38;";if(e=="<")return"&#60;";if(e=="     "){var a=i.session.getScreenTabSize(t+o);return t+=a-1,i.$tabStrings[a]}if(e==" "){var f=i.showInvisibles?"ace_cjk ace_invisible":"ace_cjk",l=i.showInvisibles?i.SPACE_CHAR:"";return t+=1,"<span class='"+f+"' style='width:"+i.config.characterWidth*2+"px'>"+l+"</span>"}return r?"<span class='ace_invisible ace_invalid'>"+i.SPACE_CHAR+"</span>":(t+=1,"<span class='ace_cjk' style='width:"+i.config.characterWidth*2+"px'>"+e+"</span>")},a=r.replace(o,u);if(!this.$textToken[n.type]){var f="ace_"+n.type.replace(/\./g," ace_"),l="";n.type=="fold"&&(l=" style='width:"+n.value.length*this.config.characterWidth+"px;' "),e.push("<span class='",f,"'",l,">",a,"</span>")}else e.push(a);return t+r.length},this.renderIndentGuide=function(e,t,n){var r=t.search(this.$indentGuideRe);return r<=0||r>=n?t:t[0]==" "?(r-=r%this.tabSize,e.push(s.stringRepeat(this.$tabStrings[" "],r/this.tabSize)),t.substr(r)):t[0]=="        "?(e.push(s.stringRepeat(this.$tabStrings["     "],r)),t.substr(r)):t},this.$renderWrappedLine=function(e,t,n,r){var i=0,s=0,o=n[0],u=0;for(var a=0;a<t.length;a++){var f=t[a],l=f.value;if(a==0&&this.displayIndentGuides){i=l.length,l=this.renderIndentGuide(e,l,o);if(!l)continue;i-=l.length}if(i+l.length<o)u=this.$renderToken(e,u,f,l),i+=l.length;else{while(i+l.length>=o)u=this.$renderToken(e,u,f,l.substring(0,o-i)),l=l.substring(o-i),i=o,r||e.push("</div>","<div class='ace_line' style='height:",this.config.lineHeight,"px'>"),s++,u=0,o=n[s]||Number.MAX_VALUE;l.length!=0&&(i+=l.length,u=this.$renderToken(e,u,f,l))}}},this.$renderSimpleLine=function(e,t){var n=0,r=t[0],i=r.value;this.displayIndentGuides&&(i=this.renderIndentGuide(e,i)),i&&(n=this.$renderToken(e,n,r,i));for(var s=1;s<t.length;s++)r=t[s],i=r.value,n=this.$renderToken(e,n,r,i)},this.$renderLine=function(e,t,n,r){!r&&r!=0&&(r=this.session.getFoldLine(t));if(r)var i=this.$getFoldLineTokens(t,r);else var i=this.session.getTokens(t);n||e.push("<div class='ace_line' style='height:",this.config.lineHeight,"px'>");if(i.length){var s=this.session.getRowSplitData(t);s&&s.length?this.$renderWrappedLine(e,i,s,n):this.$renderSimpleLine(e,i)}this.showInvisibles&&(r&&(t=r.end.row),e.push("<span class='ace_invisible'>",t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,"</span>")),n||e.push("</div>")},this.$getFoldLineTokens=function(e,t){function i(e,t,n){var i=0,s=0;while(s+e[i].value.length<t){s+=e[i].value.length,i++;if(i==e.length)return}if(s!=t){var o=e[i].value.substring(t-s);o.length>n-t&&(o=o.substring(0,n-t)),r.push({type:e[i].type,value:o}),s=t+o.length,i+=1}while(s<n&&i<e.length){var o=e[i].value;o.length+s>n?r.push({type:e[i].type,value:o.substring(0,n-s)}):r.push(e[i]),s+=o.length,i+=1}}var n=this.session,r=[],s=n.getTokens(e);return t.walk(function(e,t,o,u,a){e!=null?r.push({type:"fold",value:e}):(a&&(s=n.getTokens(t)),s.length&&i(s,u,o))},t.end.row,this.session.getLine(t.end.row).length),r},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$measureNode&&this.$measureNode.parentNode.removeChild(this.$measureNode),delete this.$measureNode}}).call(a.prototype),t.Text=a}),define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(e,t,n){var r=e("../lib/dom"),i=function(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),r.addCssClass(this.element,"ace_hidden-cursors")};(function(){this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},this.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},this.setSmoothBlinking=function(e){e!=this.smoothBlinking&&(this.smoothBlinking=e,e?r.addCssClass(this.element,"ace_smooth-blinking"):r.removeCssClass(this.element,"ace_smooth-blinking"),this.restartTimer())},this.addCursor=function(){var e=r.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},this.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},this.hideCursor=function(){this.isVisible=!1,r.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,r.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.smoothBlinking&&r.removeCssClass(this.element,"ace_smooth-blinking");for(var e=this.cursors.length;e--;)this.cursors[e].style.opacity="";if(!this.isBlinking||!this.blinkInterval||!this.isVisible)return;this.smoothBlinking&&setTimeout(function(){r.addCssClass(this.element,"ace_smooth-blinking")}.bind(this));var t=function(){this.timeoutId=setTimeout(function(){for(var e=this.cursors.length;e--;)this.cursors[e].style.opacity=0}.bind(this),.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){for(var e=this.cursors.length;e--;)this.cursors[e].style.opacity="";t()}.bind(this),this.blinkInterval),t()},this.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var n=this.session.documentToScreenPosition(e),r=this.$padding+n.column*this.config.characterWidth,i=(n.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:r,top:i}},this.update=function(e){this.config=e;var t=this.session.$selectionMarkers,n=0,r=0;if(t===undefined||t.length===0)t=[{cursor:null}];for(var n=0,i=t.length;n<i;n++){var s=this.getPixelPosition(t[n].cursor,!0);if((s.top>e.height+e.offset||s.top<-e.offset)&&n>1)continue;var o=(this.cursors[r++]||this.addCursor()).style;o.left=s.left+"px",o.top=s.top+"px",o.width=e.characterWidth+"px",o.height=e.lineHeight+"px"}while(this.cursors.length>r)this.removeCursor();var u=this.session.getOverwrite();this.$setOverwrite(u),this.$pixelPos=s,this.restartTimer()},this.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?r.addCssClass(this.element,"ace_overwrite-cursors"):r.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(i.prototype),t.Cursor=i}),define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(e,t,n){var r=e("./lib/oop"),i=e("./lib/dom"),s=e("./lib/event"),o=e("./lib/event_emitter").EventEmitter,u=function(e,t){this.element=i.createElement("div"),this.element.className="ace_scrollbar",this.inner=i.createElement("div"),this.inner.className="ace_scrollbar-inner",this.element.appendChild(this.inner),e.appendChild(this.element),t.$scrollbarWidth=this.width=i.scrollbarWidth(e.ownerDocument),t.$scrollbarWidth=this.width=i.scrollbarWidth(e.ownerDocument),this.fullWidth=this.width,this.inner.style.width=this.element.style.width=(this.width||15)+5+"px",this.setVisible(!1),this.element.style.overflowY="scroll",s.addListener(this.element,"scroll",this.onScrollV.bind(this)),s.addListener(this.element,"mousedown",s.preventDefault)},a=function(e,t){this.element=i.createElement("div"),this.element.className="ace_scrollbar-h",this.inner=i.createElement("div"),this.inner.className="ace_scrollbar-inner",this.element.appendChild(this.inner),e.appendChild(this.element),this.height=t.$scrollbarWidth,this.fullHeight=this.height,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px",this.setVisible(!1),this.element.style.overflowX="scroll",s.addListener(this.element,"scroll",this.onScrollH.bind(this)),s.addListener(this.element,"mousedown",s.preventDefault)};(function(){r.implement(this,o),this.setVisible=function(e){e?(this.element.style.display="",this.fullWidth&&(this.width=this.fullWidth),this.fullHeight&&(this.height=this.fullHeight)):(this.element.style.display="none",this.height=this.width=0)},this.onScrollV=function(){this.skipEvent||(this.scrollTop=this.element.scrollTop,this._emit("scroll",{data:this.scrollTop})),this.skipEvent=!1},this.onScrollH=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getWidth=function(){return this.width},this.getHeight=function(){return this.height},this.setHeight=function(e){this.element.style.height=e+"px"},this.setWidth=function(e){this.element.style.width=e+"px"},this.setInnerHeight=function(e){this.inner.style.height=e+"px"},this.setInnerWidth=function(e){this.inner.style.width=e+"px"},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=this.element.scrollTop=e)},this.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)}}).call(u.prototype),a.prototype=u.prototype,t.ScrollBar=u,t.ScrollBarV=u,t.ScrollBarH=a}),define("ace/renderloop",["require","exports","module","ace/lib/event"],function(e,t,n){var r=e("./lib/event"),i=function(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.window=t||window};(function(){this.schedule=function(e){this.changes=this.changes|e;if(!this.pending){this.pending=!0;var t=this;r.nextFrame(function(){t.pending=!1;var e;while(e=t.changes)t.changes=0,t.onRender(e)},this.window)}}}).call(i.prototype),t.RenderLoop=i}),define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(e,t,n){function h(e,t,n){return c.$options.wrap=!0,c.$options.needle=t,c.$options.backwards=n==-1,c.find(e)}function v(e,t){return e.row==t.row&&e.column==t.column}function m(e){if(e.$multiselectOnSessionChange)return;e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",o),e.commands.addCommands(f.defaultCommands),g(e)}function g(e){function r(t){n&&(e.renderer.setMouseCursor(""),n=!1)}var t=e.textInput.getElement(),n=!1;u.addListener(t,"keydown",function(t){t.keyCode==18&&!(t.ctrlKey||t.shiftKey||t.metaKey)?n||(e.renderer.setMouseCursor("crosshair"),n=!0):n&&r()}),u.addListener(t,"keyup",r),u.addListener(t,"blur",r)}var r=e("./range_list").RangeList,i=e("./range").Range,s=e("./selection").Selection,o=e("./mouse/multi_select_handler").onMouseDown,u=e("./lib/event"),a=e("./lib/lang"),f=e("./commands/multi_select_commands");t.commands=f.defaultCommands.concat(f.multiSelectCommands);var l=e("./search").Search,c=new l,p=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(p.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(e,t){if(!e)return;if(!this.inMultiSelectMode&&this.rangeCount==0){var n=this.toOrientedRange();this.rangeList.add(n),this.rangeList.add(e);if(this.rangeList.ranges.length!=2)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(n),this.$onAddRange(n)}e.cursor||(e.cursor=e.end);var r=this.rangeList.add(e);return this.$onAddRange(e),r.length&&this.$onRemoveRange(r),this.rangeCount>1&&!this.inMultiSelectMode&&(this._emit("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length?this.$onRemoveRange(e):this.ranges[0]&&this.fromOrientedRange(this.ranges[0])},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._emit("addRange",{range:e})},this.$onRemoveRange=function(e){this.rangeCount=this.rangeList.ranges.length;if(this.rangeCount==1&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var n=e.length;n--;){var r=this.ranges.indexOf(e[n]);this.ranges.splice(r,1)}this._emit("removeRange",{ranges:e}),this.rangeCount==0&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._emit("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),t=t||this.ranges[0],t&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){if(this.rangeList)return;this.rangeList=new r,this.ranges=[],this.rangeCount=0},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){if(this.rangeCount>1){var e=this.rangeList.ranges,t=e[e.length-1],n=i.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var n=this.getRange(),r=this.isBackwards(),s=n.start.row,o=n.end.row;if(s==o){if(r)var u=n.end,a=n.start;else var u=n.start,a=n.end;this.addRange(i.fromPoints(a,a)),this.addRange(i.fromPoints(u,u));return}var f=[],l=this.getLineRange(s,!0);l.start.column=n.start.column,f.push(l);for(var c=s+1;c<o;c++)f.push(this.getLineRange(c,!0));l=this.getLineRange(o,!0),l.end.column=n.end.column,f.push(l),f.forEach(this.addRange,this)}},this.toggleBlockSelection=function(){if(this.rangeCount>1){var e=this.rangeList.ranges,t=e[e.length-1],n=i.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var r=this.session.documentToScreenPosition(this.selectionLead),s=this.session.documentToScreenPosition(this.selectionAnchor),o=this.rectangularRangeBlock(r,s);o.forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var r=[],s=e.column<t.column;if(s)var o=e.column,u=t.column;else var o=t.column,u=e.column;var a=e.row<t.row;if(a)var f=e.row,l=t.row;else var f=t.row,l=e.row;o<0&&(o=0),f<0&&(f=0),f==l&&(n=!0);for(var c=f;c<=l;c++){var h=i.fromPoints(this.session.screenToDocumentPosition(c,o),this.session.screenToDocumentPosition(c,u));if(h.isEmpty()){if(p&&v(h.end,p))break;var p=h.end}h.cursor=s?h.start:h.end,r.push(h)}a&&r.reverse();if(!n){var d=r.length-1;while(r[d].isEmpty()&&d>0)d--;if(d>0){var m=0;while(r[m].isEmpty())m++}for(var g=d;g>=m;g--)r[g].isEmpty()&&r.splice(g,1)}return r}}.call(s.prototype);var d=e("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(!e.marker)return;this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);t!=-1&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length},this.removeSelectionMarkers=function(e){var t=this.session.$selectionMarkers;for(var n=e.length;n--;){var r=e[n];if(!r.marker)continue;this.session.removeMarker(r.marker);var i=t.indexOf(r);i!=-1&&t.splice(i,1)}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){if(this.inMultiSelectMode)return;this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(f.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onSingleSelect=function(e){if(this.session.multiSelect.inVirtualMode)return;this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(f.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelectExec=function(e){var t=e.command,n=e.editor;if(!n.multiSelect)return;if(!t.multiSelectAction){var r=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}else t.multiSelectAction=="forEach"?r=n.forEachSelection(t,e.args):t.multiSelectAction=="forEachLine"?r=n.forEachSelection(t,e.args,!0):t.multiSelectAction=="single"?(n.exitMultiSelectMode(),r=t.exec(n,e.args||{})):r=t.multiSelectAction(n,e.args||{});return r},this.forEachSelection=function(e,t,n){if(this.inVirtualSelectionMode)return;var r=this.session,i=this.selection,o=i.rangeList,u,a=i._eventRegistry;i._eventRegistry={};var f=new s(r);this.inVirtualSelectionMode=!0;for(var l=o.ranges.length;l--;){if(n)while(l>0&&o.ranges[l].start.row==o.ranges[l-1].end.row)l--;f.fromOrientedRange(o.ranges[l]),this.selection=r.selection=f;var c=e.exec(this,t||{});!u==undefined&&(u=c),f.toOrientedRange(o.ranges[l])}f.detach(),this.selection=r.selection=i,this.inVirtualSelectionMode=!1,i._eventRegistry=a,i.mergeOverlappingRanges();var h=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),h&&h.from==h.to&&this.renderer.animateScrolling(h.from),u},this.exitMultiSelectMode=function(){if(!this.inMultiSelectMode||this.inVirtualSelectionMode)return;this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){var t=this.multiSelect.rangeList.ranges,n=[];for(var r=0;r<t.length;r++)n.push(this.session.getTextRange(t[r]));var i=this.session.getDocument().getNewLineCharacter();e=n.join(i),e.length==(n.length-1)*i.length&&(e="")}else this.selection.isEmpty()||(e=this.session.getTextRange(this.getSelectionRange()));return e},this.onPaste=function(e){if(this.$readOnly)return;this._signal("paste",e);if(!this.inMultiSelectMode||this.inVirtualSelectionMode)return this.insert(e);var t=e.split(/\r\n|\r|\n/),n=this.selection.rangeList.ranges;if(t.length>n.length||t.length<2||!t[1])return this.commands.exec("insertstring",this,e);for(var r=n.length;r--;){var i=n[r];i.isEmpty()||this.session.remove(i),this.session.insert(i.start,t[r])}},this.findAll=function(e,t,n){t=t||{},t.needle=e||t.needle,this.$search.set(t);var r=this.$search.findAll(this.session);if(!r.length)return 0;this.$blockScrolling+=1;var i=this.multiSelect;n||i.toSingleRange(r[0]);for(var s=r.length;s--;)i.addRange(r[s],!0);return this.$blockScrolling-=1,r.length},this.selectMoreLines=function(e,t){var n=this.selection.toOrientedRange(),r=n.cursor==n.end,s=this.session.documentToScreenPosition(n.cursor);this.selection.$desiredColumn&&(s.column=this.selection.$desiredColumn);var o=this.session.screenToDocumentPosition(s.row+e,s.column);if(!n.isEmpty())var u=this.session.documentToScreenPosition(r?n.end:n.start),a=this.session.screenToDocumentPosition(u.row+e,u.column);else var a=o;if(r){var f=i.fromPoints(o,a);f.cursor=f.start}else{var f=i.fromPoints(a,o);f.cursor=f.end}f.desiredColumn=s.column;if(!this.selection.inMultiSelectMode)this.selection.addRange(n);else if(t)var l=n.cursor;this.selection.addRange(f),l&&this.selection.substractPoint(l)},this.transposeSelections=function(e){var t=this.session,n=t.multiSelect,r=n.ranges;for(var i=r.length;i--;){var s=r[i];if(s.isEmpty()){var o=t.getWordRange(s.start.row,s.start.column);s.start.row=o.start.row,s.start.column=o.start.column,s.end.row=o.end.row,s.end.column=o.end.column}}n.mergeOverlappingRanges();var u=[];for(var i=r.length;i--;){var s=r[i];u.unshift(t.getTextRange(s))}e<0?u.unshift(u.pop()):u.push(u.shift());for(var i=r.length;i--;){var s=r[i],o=s.clone();t.replace(s,u[i]),s.start.row=o.start.row,s.start.column=o.start.column}},this.selectMore=function(e,t){var n=this.session,r=n.multiSelect,i=r.toOrientedRange();if(i.isEmpty()){var i=n.getWordRange(i.start.row,i.start.column);i.cursor=e==-1?i.start:i.end,this.multiSelect.addRange(i);return}var s=n.getTextRange(i),o=h(n,s,e);o&&(o.cursor=e==-1?o.start:o.end,this.multiSelect.addRange(o)),t&&this.multiSelect.substractPoint(i.cursor)},this.alignCursors=function(){var e=this.session,t=e.multiSelect,n=t.ranges;if(!n.length){var r=this.selection.getRange(),s=r.start.row,o=r.end.row,u=this.session.doc.removeLines(s,o);u=this.$reAlignText(u),this.session.doc.insertLines(s,u),r.start.column=0,r.end.column=u[u.length-1].length,this.selection.setRange(r)}else{var f=-1,l=n.filter(function(e){if(e.cursor.row==f)return!0;f=e.cursor.row});t.$onRemoveRange(l);var c=0,h=Infinity,p=n.map(function(t){var n=t.cursor,r=e.getLine(n.row),i=r.substr(n.column).search(/\S/g);return i==-1&&(i=0),n.column>c&&(c=n.column),i<h&&(h=i),i});n.forEach(function(t,n){var r=t.cursor,s=c-r.column,o=p[n]-h;s>o?e.insert(r,a.stringRepeat(" ",s-o)):e.remove(new i(r.row,r.column,r.row,r.column-s+o)),t.start.column=t.end.column=c,t.start.row=t.end.row=r.row,t.cursor=t.end}),t.fromOrientedRange(n[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}},this.$reAlignText=function(e){function o(e){return a.stringRepeat(" ",e)}function u(e){return e[2]?o(r)+e[2]+o(i-e[2].length+s)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}function f(e){return e[2]?o(r+i-e[2].length)+e[2]+o(s," ")+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}function l(e){return e[2]?o(r)+e[2]+o(s)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}var t=!0,n=!0,r,i,s;return e.map(function(e){var o=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return o?r==null?(r=o[1].length,i=o[2].length,s=o[3].length,o):(r+i+s!=o[1].length+o[2].length+o[3].length&&(n=!1),r!=o[1].length&&(t=!1),r>o[1].length&&(r=o[1].length),i<o[2].length&&(i=o[2].length),s>o[3].length&&(s=o[3].length),o):[e]}).map(t?n?f:u:l)}}).call(d.prototype),t.onSessionChange=function(e){var t=e.session;t.multiSelect||(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t.multiSelect;var n=e.oldSession;n&&(n.multiSelect.removeEventListener("addRange",this.$onAddRange),n.multiSelect.removeEventListener("removeRange",this.$onRemoveRange),n.multiSelect.removeEventListener("multiSelect",this.$onMultiSelect),n.multiSelect.removeEventListener("singleSelect",this.$onSingleSelect)),t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=m,e("./config").defineOptions(d.prototype,"editor",{enableMultiselect:{set:function(e){m(this),e?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",o)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",o))},value:!0}})}),define("ace/mouse/multi_select_handler",["require","exports","module","ace/lib/event"],function(e,t,n){function i(e,t){return e.row==t.row&&e.column==t.column}function s(e){var t=e.domEvent,n=t.altKey,s=t.shiftKey,o=e.getAccelKey(),u=e.getButton();if(e.editor.inMultiSelectMode&&u==2){e.editor.textInput.onContextMenu(e.domEvent);return}if(!o&&!n){u==0&&e.editor.inMultiSelectMode&&e.editor.exitMultiSelectMode();return}var a=e.editor,f=a.selection,l=a.inMultiSelectMode,c=e.getDocumentPosition(),h=f.getCursor(),p=e.inSelection()||f.isEmpty()&&i(c,h),d=e.x,v=e.y,m=function(e){d=e.clientX,v=e.clientY},g=function(){var e=a.renderer.pixelToScreenCoordinates(d,v),t=y.screenToDocumentPosition(e.row,e.column);if(i(w,e)&&i(t,f.selectionLead))return;w=e,a.selection.moveCursorToPosition(t),a.selection.clearSelection(),a.renderer.scrollCursorIntoView(),a.removeSelectionMarkers(x),x=f.rectangularRangeBlock(w,b),x.forEach(a.addSelectionMarker,a),a.updateSelectionMarkers()},y=a.session,b=a.renderer.pixelToScreenCoordinates(d,v),w=b;if(o&&!s&&!n&&u==0){if(!l&&p)return;if(!l){var E=f.toOrientedRange();a.addSelectionMarker(E)}var S=f.rangeList.rangeAtPoint(c);a.once("mouseup",function(){var e=f.toOrientedRange();S&&e.isEmpty()&&i(S.cursor,e.cursor)?f.substractPoint(e.cursor):(E&&(a.removeSelectionMarker(E),f.addRange(E)),f.addRange(e))})}else if(n&&u==0){e.stop(),l&&!o?f.toSingleRange():!l&&o&&f.addRange();var x=[];s?(b=y.documentToScreenPosition(f.lead),g()):(f.moveCursorToPosition(c),f.clearSelection());var T=function(e){clearInterval(C),a.removeSelectionMarkers(x);for(var t=0;t<x.length;t++)f.addRange(x[t])},N=g;r.capture(a.container,m,T);var C=setInterval(function(){N()},20);return e.preventDefault()}}var r=e("../lib/event");t.onMouseDown=s}),define("ace/commands/multi_select_commands",["require","exports","module","ace/keyboard/hash_handler"],function(e,t,n){t.defaultCommands=[{name:"addCursorAbove",exec:function(e){e.selectMoreLines(-1)},bindKey:{win:"Ctrl-Alt-Up",mac:"Ctrl-Alt-Up"},readonly:!0},{name:"addCursorBelow",exec:function(e){e.selectMoreLines(1)},bindKey:{win:"Ctrl-Alt-Down",mac:"Ctrl-Alt-Down"},readonly:!0},{name:"addCursorAboveSkipCurrent",exec:function(e){e.selectMoreLines(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Up",mac:"Ctrl-Alt-Shift-Up"},readonly:!0},{name:"addCursorBelowSkipCurrent",exec:function(e){e.selectMoreLines(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Down",mac:"Ctrl-Alt-Shift-Down"},readonly:!0},{name:"selectMoreBefore",exec:function(e){e.selectMore(-1)},bindKey:{win:"Ctrl-Alt-Left",mac:"Ctrl-Alt-Left"},readonly:!0},{name:"selectMoreAfter",exec:function(e){e.selectMore(1)},bindKey:{win:"Ctrl-Alt-Right",mac:"Ctrl-Alt-Right"},readonly:!0},{name:"selectNextBefore",exec:function(e){e.selectMore(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Left",mac:"Ctrl-Alt-Shift-Left"},readonly:!0},{name:"selectNextAfter",exec:function(e){e.selectMore(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Right",mac:"Ctrl-Alt-Shift-Right"},readonly:!0},{name:"splitIntoLines",exec:function(e){e.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readonly:!0},{name:"alignCursors",exec:function(e){e.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"}}],t.multiSelectCommands=[{name:"singleSelection",bindKey:"esc",exec:function(e){e.exitMultiSelectMode()},readonly:!0,isAvailable:function(e){return e&&e.inMultiSelectMode}}];var r=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new r(t.multiSelectCommands)}),define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/config"],function(e,t,n){var r=e("../lib/oop"),i=e("../lib/event_emitter").EventEmitter,s=e("../config"),o=function(t,n,r){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.onError=this.onError.bind(this),e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl);var i;if(s.get("packaged")||!e.toUrl)i=s.moduleUrl(n,"worker");else{var o=this.$normalizePath;i=o(e.toUrl("ace/worker/worker.js",null,"_"));var u={};t.forEach(function(t){u[t]=o(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}this.$worker=new Worker(i),this.$worker.postMessage({init:!0,tlns:u,module:n,classname:r}),this.callbackId=1,this.callbacks={},this.$worker.onerror=this.onError,this.$worker.onmessage=this.onMessage};(function(){r.implement(this,i),this.onError=function(e){throw window.console&&console.log&&console.log(e),e},this.onMessage=function(e){var t=e.data;switch(t.type){case"log":window.console&&console.log&&console.log.apply(console,t.data);break;case"event":this._emit(t.name,{data:t.data});break;case"call":var n=this.callbacks[t.id];n&&(n(t.data),delete this.callbacks[t.id])}},this.$normalizePath=function(e){return location.host?(e=e.replace(/^[a-z]+:\/\/[^\/]+/,""),e=location.protocol+"//"+location.host+(e.charAt(0)=="/"?"":location.pathname.replace(/\/[^\/]*$/,""))+"/"+e.replace(/^[\/]+/,""),e):e},this.terminate=function(){this._emit("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker=null,this.$doc.removeEventListener("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,n){if(n){var r=this.callbackId++;this.callbacks[r]=n,t.push(r)}this.send(e,t)},this.emit=function(e,t){try{this.$worker.postMessage({event:e,data:{data:t.data}})}catch(n){}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener)},this.changeListener=function(e){this.deltaQueue?this.deltaQueue.push(e.data):(this.deltaQueue=[e.data],setTimeout(this.$sendDeltaQueue,1))},this.$sendDeltaQueue=function(){var e=this.deltaQueue;if(!e)return;this.deltaQueue=null,e.length>20&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e})}}).call(o.prototype);var u=function(e,t,n){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var r=null,o=Object.create(i),u=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(e){u.messageBuffer.push(e),r&&setTimeout(a)};var a=function(){var e=u.messageBuffer.shift();e.command?r[e.command].apply(r,e.args):e.event&&o._emit(e.event,e.data)};o.postMessage=function(e){u.onMessage({data:e})},o.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},o.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},s.loadModule(["worker",t],function(e){r=new e[n](o);while(u.messageBuffer.length)a()})};u.prototype=o.prototype,t.UIWorkerClient=u,t.WorkerClient=o}),define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(e,t,n){var r=e("./range").Range,i=e("./lib/event_emitter").EventEmitter,s=e("./lib/oop"),o=function(e,t,n,r,i,s){var o=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=i,this.othersClass=s,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=r,this.$onCursorChange=function(){setTimeout(function(){o.onCursorChange()})},this.$pos=n;var u=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=u.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)};(function(){s.implement(this,i),this.setup=function(){var e=this,t=this.doc,n=this.session,i=this.$pos;this.pos=t.createAnchor(i.row,i.column),this.markerId=n.addMarker(new r(i.row,i.column,i.row,i.column+this.length),this.mainClass,null,!1),this.pos.on("change",function(t){n.removeMarker(e.markerId),e.markerId=n.addMarker(new r(t.value.row,t.value.column,t.value.row,t.value.column+e.length),e.mainClass,null,!1)}),this.others=[],this.$others.forEach(function(n){var r=t.createAnchor(n.row,n.column);e.others.push(r)}),n.setUndoSelect(!1)},this.showOtherMarkers=function(){if(this.othersActive)return;var e=this.session,t=this;this.othersActive=!0,this.others.forEach(function(n){n.markerId=e.addMarker(new r(n.row,n.column,n.row,n.column+t.length),t.othersClass,null,!1),n.on("change",function(i){e.removeMarker(n.markerId),n.markerId=e.addMarker(new r(i.value.row,i.value.column,i.value.row,i.value.column+t.length),t.othersClass,null,!1)})})},this.hideOtherMarkers=function(){if(!this.othersActive)return;this.othersActive=!1;for(var e=0;e<this.others.length;e++)this.session.removeMarker(this.others[e].markerId)},this.onUpdate=function(e){var t=e.data,n=t.range;if(n.start.row!==n.end.row)return;if(n.start.row!==this.pos.row)return;if(this.$updating)return;this.$updating=!0;var i=t.action==="insertText"?n.end.column-n.start.column:n.start.column-n.end.column;if(n.start.column>=this.pos.column&&n.start.column<=this.pos.column+this.length+1){var s=n.start.column-this.pos.column;this.length+=i;if(!this.session.$fromUndo){if(t.action==="insertText")for(var o=this.others.length-1;o>=0;o--){var u=this.others[o],a={row:u.row,column:u.column+s};u.row===n.start.row&&n.start.column<u.column&&(a.column+=i),this.doc.insert(a,t.text)}else if(t.action==="removeText")for(var o=this.others.length-1;o>=0;o--){var u=this.others[o],a={row:u.row,column:u.column+s};u.row===n.start.row&&n.start.column<u.column&&(a.column+=i),this.doc.remove(new r(a.row,a.column,a.row,a.column-i))}n.start.column===this.pos.column&&t.action==="insertText"?setTimeout(function(){this.pos.setPosition(this.pos.row,this.pos.column-i);for(var e=0;e<this.others.length;e++){var t=this.others[e],r={row:t.row,column:t.column-i};t.row===n.start.row&&n.start.column<t.column&&(r.column+=i),t.setPosition(r.row,r.column)}}.bind(this),0):n.start.column===this.pos.column&&t.action==="removeText"&&setTimeout(function(){for(var e=0;e<this.others.length;e++){var t=this.others[e];t.row===n.start.row&&n.start.column<t.column&&t.setPosition(t.row,t.column-i)}}.bind(this),0)}this.pos._emit("change",{value:this.pos});for(var o=0;o<this.others.length;o++)this.others[o]._emit("change",{value:this.others[o]})}this.$updating=!1},this.onCursorChange=function(e){if(this.$updating)return;var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))},this.detach=function(){this.session.removeMarker(this.markerId),this.hideOtherMarkers(),this.doc.removeEventListener("change",this.$onUpdate),this.session.selection.removeEventListener("changeCursor",this.$onCursorChange),this.pos.detach();for(var e=0;e<this.others.length;e++)this.others[e].detach();this.session.setUndoSelect(!0)},this.cancel=function(){if(this.$undoStackDepth===-1)throw Error("Canceling placeholders only supported with undo manager attached to session.");var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth;for(var n=0;n<t;n++)e.undo(!0)}}).call(o.prototype),t.PlaceHolder=o}),define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(e,t,n){var r=e("../../range").Range,i=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);return this.foldingStartMarker.test(r)?"start":t=="markbeginend"&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?"end":""},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var i=/\S/,s=e.getLine(t),o=s.search(i);if(o==-1)return;var u=n||s.length,a=e.getLength(),f=t,l=t;while(++t<a){var c=e.getLine(t).search(i);if(c==-1)continue;if(c<=o)break;l=t}if(l>f){var h=e.getLine(l).length;return new r(f,u,l,h)}},this.openingBracketBlock=function(e,t,n,i,s){var o={row:n,column:i+1},u=e.$findClosingBracket(t,o,s);if(!u)return;var a=e.foldWidgets[u.row];return a==null&&(a=this.getFoldWidget(e,u.row)),a=="start"&&u.row>o.row&&(u.row--,u.column=e.getLine(u.row).length),r.fromPoints(o,u)},this.closingBracketBlock=function(e,t,n,i,s){var o={row:n,column:i},u=e.$findOpeningBracket(t,o);if(!u)return;return u.column++,o.column--,r.fromPoints(u,o)}}).call(i.prototype)}),define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!1,t.cssClass="ace-tm",t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;border-radius: 2px;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)});
+            (function() {
+                window.require(["ace/ace"], function(a) {
+                    a && a.config.init();
+                    if (!window.ace)
+                        window.ace = {};
+                    for (var key in a) if (a.hasOwnProperty(key))
+                        ace[key] = a[key];
+                });
+            })();
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/batteryDemo.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/batteryDemo.js
new file mode 100644 (file)
index 0000000..36cbd5c
--- /dev/null
@@ -0,0 +1,56 @@
+/*global Simulator, TWEEN*/
+
+/**
+ * Script operates battery level and exterior brightness in parallel using Tween.js as well as setting day/night mode based on brightness level.
+ * Battery status is eased over `Cubic.InOut` function during 50 seconds interval while exterior brightness is iterated over linear function
+ * from 5000 lux to 0 lux. Brightness over 2000 lux is identified day mode and bightness below 2000 lux is identified as night mode.
+ *
+ * @module AMBSimulatorApplication
+ * @class BatteryDemo
+ */
+
+var intervalID, batteryStatus, exteriorBrightness, nightMode, simulationLength;
+
+simulationLength = 50000;
+
+nightMode = false;
+Simulator.set("vcan0", "NightMode", nightMode, 0);
+
+intervalID = setInterval(function() {
+       "use strict";
+       TWEEN.update();
+}, 50);
+
+batteryStatus = new TWEEN.Tween({
+       battery : 100
+});
+batteryStatus.to({
+       battery : 0
+}, simulationLength);
+batteryStatus.easing(TWEEN.Easing.Cubic.InOut);
+batteryStatus.onUpdate(function() {
+       "use strict";
+       Simulator.set("vcan0", "BatteryStatus", this.battery, 0);
+});
+
+exteriorBrightness = new TWEEN.Tween({
+       brightness : 5000
+});
+exteriorBrightness.to({
+       brightness : 0
+}, simulationLength);
+exteriorBrightness.onUpdate(function() {
+       "use strict";
+       Simulator.set("vcan0", "ExteriorBrightness", this.brightness, 0);
+       if (this.brightness < 2000 && !nightMode) {
+               nightMode = true;
+               Simulator.set("vcan0", "NightMode", nightMode, 0);
+       }
+});
+exteriorBrightness.onComplete(function() {
+       "use strict";
+       clearInterval(intervalID);
+});
+
+batteryStatus.start();
+exteriorBrightness.start();
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/demoScriptsController.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/demoScriptsController.js
new file mode 100644 (file)
index 0000000..a563eef
--- /dev/null
@@ -0,0 +1,69 @@
+/*global ScriptController*/
+
+/**
+ * @module AMBSimulatorApplication
+ */
+
+/**
+ * Controller which copies demo scripts from application package to scripts folder during application startup. List of scripts
+ * which should be copied are specified by {{#crossLink "DemoScriptsController/demoScriptsList:property"}}{{/crossLink}} property.
+ *
+ * ** Demo scripts files in filesystem will be overwritten at each application startup! **
+ *
+ * @class DemoScriptsController
+ * @constructor
+ */
+function DemoScriptsController() {}
+
+/**
+ * List of known demo scripts packaged with application.
+ *
+ * @property demoScriptsList
+ * @type {Array}
+ * @static
+ */
+DemoScriptsController.demoScriptsList = [ 'speedDemo', 'speedDemo2', 'lightsDemo', 'batteryDemo', 'randomizerDemo', 'tirePresureDemo' ];
+
+/**
+ * Calls resolveFS on demo scripts directory.
+ *
+ * @method checkDemoScripts
+ * @static
+ */
+DemoScriptsController.checkDemoScripts = function() {
+       "use strict";
+       ScriptController.resolveFS(function(dir) {
+               for ( var i = 0; i < DemoScriptsController.demoScriptsList.length; i++) {
+                       DemoScriptsController.readAndWrite(dir, DemoScriptsController.demoScriptsList[i]);
+               }
+       });
+};
+
+/**
+ * Reads demo scripts from app dir and copy them into specified scripts dir.
+ *
+ * @method readAndWrite
+ * @param dir {tizen.File} Reference to directory into which script should be copied.
+ * @param fileName {String} File name which should be copied
+ * @static
+ */
+DemoScriptsController.readAndWrite = function(dir, fileName) {
+       "use strict";
+       $.get('./js/' + fileName + '.js', function(data) {
+               var file;
+
+               try {
+                       file = dir.resolve(fileName + '.config');
+               } catch (e) {
+                       if (e.name === 'NotFoundError') {
+                               file = dir.createFile(fileName + '.config');
+                       }
+               }
+               if (file) {
+                       file.openStream('w', function(fs) {
+                               fs.write(data);
+                               fs.close();
+                       }, ScriptController.error, 'UTF-8');
+               }
+       });
+};
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/lightsDemo.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/lightsDemo.js
new file mode 100644 (file)
index 0000000..78447a9
--- /dev/null
@@ -0,0 +1,35 @@
+/*global Simulator, async */
+
+/**
+ * Script operates head lights, parking lights and child lock status using async.js library in following sequence:
+ *
+ * * wait for 2 seconds
+ * * turn on head lights and wait 1 second
+ * * turn on parking lights and wait 1 second
+ * * turn on child locks and wait 1 second
+ * * turn off head lights and wait 1 second
+ * * turn off parking lights and wait 1 second
+ * * turn off child locks and wait 1 second
+ *
+ * @module AMBSimulatorApplication
+ * @class LightsDemo
+ */
+
+var properties = [ "LightHead", "LightParking", "ChildLockStatus" ];
+
+async.series([ function(startTimeout) {
+       "use strict";
+       window.setTimeout(startTimeout, 2000);
+}, function(turnOnCallback) {
+       "use strict";
+       async.eachSeries(properties, function(item, cb) {
+               Simulator.set("vcan0", item, true, 0);
+               window.setTimeout(cb, 1000);
+       }, turnOnCallback);
+}, function(turnOffCallback) {
+       "use strict";
+       async.eachSeries(properties, function(item, cb) {
+               Simulator.set("vcan0", item, false, 0);
+               window.setTimeout(cb, 1000);
+       }, turnOffCallback);
+} ]);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/main.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/main.js
new file mode 100644 (file)
index 0000000..f80ff07
--- /dev/null
@@ -0,0 +1,131 @@
+/*global Vehicle, PropertiesController, ScriptController, DemoScriptsController, Simulator, Bootstrap, ace */
+
+/**
+ * AMB Simulator application provides access to environment allowing users to simulate updates of AMB emulator over virtual CAN bus. Application provides
+ * [ACE editor](http://ace.c9.io/) to create or update scripts, allows {{#crossLink "ScriptController/saveScript:method"}}saving{{/crossLink}} and
+ * {{#crossLink "ScriptController/loadScript:method"}}loading{{/crossLink}} existing scripts and browser of available AMB properties.
+ *
+ * AMB Simulator allows users to send requests to special [AMB generator plugin](../../native/group__cangenplugin.html)
+ * over [WebSockets](http://www.w3.org/TR/websockets/) interface which are then translated into custom CAN frames and sent
+ * over specified CAN bus. [AMB generator plugin](../../native/group__cangenplugin.html) also acts as AMB source plugin which listens on all CAN buses
+ * and tries to identify custom CAN frames. Such CAN frames are then processed by [AMB simulator plugin](../../native/group__cansimplugin.html)
+ * and properties identified by custom CAN frames are send back to AMB as updates of AMB properties. This allows to send request
+ * for AMB property update from AMB simulator and process updates in other application like {{#crossLink "DashboardApplication"}}{{/crossLink}}.
+ *
+ * Simulated environment uses JavaScript `eval()` function which includes following libraries:
+ *
+ * * {{#crossLink "Simulator"}}{{/crossLink}} - interface for Simulator functionality in AMB (for sample code see script [speedDemo.js](../files/applications_ambsimulator_js_speedDemo.js.html))
+ * * [async.js](https://github.com/caolan/async) - simplifies asynchronouse operations with Javascript (for sample code see script [lightsDemo.js](../files/applications_ambsimulator_js_lightsDemo.js.html))
+ * * [Tween.js](https://github.com/sole/tween.js/) - provides values for various mathematical functions in defined time
+ * (for sample code see script [speedDemo2.js](../files/applications_ambsimulator_js_speedDemo2.js.html) or [batteryDemo.js](../files/applications_ambsimulator_js_batteryDemo.js.html))
+ * * [tizen.vehicle API](https://raw.github.com/otcshare/automotive-message-broker/master/docs/amb.idl)
+ * * {{#crossLink "Simulator/amblog:method"}}{{/crossLink}} - provides console for logging events occured during script execution
+ *
+ * To add additional libraries into environment add links into `<head>` section of application `index.html` file.
+ *
+ * Due to nature of asynchronous Javascript callback there is no way how to detect if script really finished AMB Simulator provides option to
+ * {{#crossLink "ScriptController/runScript:method"}}Stop script{{/crossLink}}. This method should be updated in case that additional libraries and require
+ * additional commands to stop running asychronous tasks.
+ *
+ * All demo scripts outlined above are running for limited amount of iterations and then finished. It's possible to write script running forever
+ * (for sample code see script [randomizerDemo.js](../files/applications_ambsimulator_js_randomizerDemo.js.html)) which must be terminated using
+ * Stop script function.
+ *
+ * Hover and click on elements in images below to navigate to components of AMB Simulator application.
+ *
+ * <img id="Image-Maps_1201312180420487" src="../assets/img/amb.png" usemap="#Image-Maps_1201312180420487" border="0" width="649" height="1152" alt="" />
+ *   <map id="_Image-Maps_1201312180420487" name="Image-Maps_1201312180420487">
+ *     <area shape="rect" coords="0,0,573,78" href="../classes/TopBarIcons.html" alt="top bar icons" title="Top bar icons" />
+ *     <area shape="rect" coords="0,994,644,1147" href="../classes/BottomPanel.html" alt="bottom panel" title="Bottom panel" />
+ *     <area shape="rect" coords="573,1,644,76" href="../modules/Settings.html" alt="Settings" title="Settings" />
+ *     <area  shape="rect" coords="6,87,134,128" alt="Load script" title="Load script" target="_self" href="../classes/ScriptController.html#method_loadScript"     >
+ *     <area  shape="rect" coords="146,85,274,126" alt="Save script" title="Save script" target="_self" href="../classes/ScriptController.html#method_saveScript"     >
+ *     <area  shape="rect" coords="286,87,414,128" alt="Run script" title="Run script" target="_self" href="../classes/ScriptController.html#method_runScript"     >
+ *     <area  shape="rect" coords="494,84,648,126" alt="AMB properties library" title="AMB properties library" target="_self" href="../classes/PropertiesController.html"     >
+ *     <area  shape="rect" coords="0,134,648,802" alt="Simulator editor" title="Simulator editor" target="_self" href="../classes/Simulator.html"     >
+ *     <area  shape="rect" coords="0,829,647,991" alt="AMB logger" title="AMB logger" target="_self" href="../classes/Simulator.html#method_amblog"     >
+ *  </map>
+ * </img>
+ *
+ * @module AMBSimulatorApplication
+ * @main AMBSimulatorApplication
+ * @class AMBSimulator
+ */
+
+/**
+ * Holds [ACE editor](http://ace.c9.io/) object.
+ *
+ * @property editor
+ * @type {Object}
+ * @static
+ * @default null
+ */
+var editor = null;
+
+/**
+ * Holds vehicle API object for comunication with AMB plugin through web sockets.
+ *
+ * @property vehicle
+ * @type {Object}
+ * @static
+ * @default null
+ */
+var vehicle = null;
+
+/**
+ * Initialize application components and register button events.
+ *
+ * @method init
+ * @static
+ */
+function init() {
+       "use strict";
+       console.log("init() called");
+
+       DemoScriptsController.checkDemoScripts();
+
+       $('#bottomPanel').bottomPanel('init');
+       $("#topBarIcons").topBarIconsPlugin('init');
+
+       $('#properties').library("init");
+       $('#properties').library('setAlphabetVisible', false);
+
+       $("#libraryButton").click(function() {
+               PropertiesController.initializeLibrary();
+       });
+
+       $('#loadConfigButton').on('click', function() {
+               ScriptController.loadScript();
+       });
+
+       $('#saveConfigButton').on('click', function() {
+               ScriptController.saveScript();
+       });
+
+       $('#runConfigButton').on('click', function() {
+               ScriptController.runScript();
+       });
+
+       $('#clearConsoleBtn').on('click', function() {
+               $('#ambConsole').empty();
+       });
+
+       //Simulator init
+       Simulator.ambConsole = $('#ambConsole');
+
+       // editor init - not used due to TIVI-2181
+       // editor = ace.edit("textArea");
+       // editor.setTheme("ace/theme/ambiance");
+       // editor.getSession().setMode("ace/mode/javascript");
+
+       // vehicle init
+       vehicle = new Vehicle(PropertiesController.wsStart, PropertiesController.wsError, "ws://localhost:23001");
+}
+
+$(document).ready(function() {
+       "use strict";
+
+       var bootstrap = new Bootstrap(function(status) {
+               init();
+       });
+});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/mode-javascript.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/mode-javascript.js
new file mode 100644 (file)
index 0000000..6c6632c
--- /dev/null
@@ -0,0 +1 @@
+define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/tokenizer","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/range","ace/worker/worker_client","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],function(e,t,n){var r=e("../lib/oop"),i=e("./text").Mode,s=e("../tokenizer").Tokenizer,o=e("./javascript_highlight_rules").JavaScriptHighlightRules,u=e("./matching_brace_outdent").MatchingBraceOutdent,a=e("../range").Range,f=e("../worker/worker_client").WorkerClient,l=e("./behaviour/cstyle").CstyleBehaviour,c=e("./folding/cstyle").FoldMode,h=function(){this.HighlightRules=o,this.$outdent=new u,this.$behaviour=new l,this.foldingRules=new c};r.inherits(h,i),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,n){var r=this.$getIndent(t),i=this.getTokenizer().getLineTokens(t,e),s=i.tokens,o=i.state;if(s.length&&s[s.length-1].type=="comment")return r;if(e=="start"||e=="no_regex"){var u=t.match(/^.*(?:\bcase\b.*\:|[\{\(\[])\s*$/);u&&(r+=n)}else if(e=="doc-start"){if(o=="start"||o=="no_regex")return"";var u=t.match(/^\s*(\/?)\*/);u&&(u[1]&&(r+=" "),r+="* ")}return r},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.createWorker=function(e){var t=new f(["ace"],"ace/mode/javascript_worker","JavaScriptWorker");return t.attachToDocument(e.getDocument()),t.on("jslint",function(t){e.setAnnotations(t.data)}),t.on("terminate",function(){e.clearAnnotations()}),t}}.call(h.prototype),t.Mode=h}),define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(e,t,n){var r=e("../lib/oop"),i=e("./doc_comment_highlight_rules").DocCommentHighlightRules,s=e("./text_highlight_rules").TextHighlightRules,o=function(){var e=this.createKeywordMapper({"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},"identifier"),t="case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void",n="[a-zA-Z\\$_¡-￿][a-zA-Z\\d\\$_¡-￿]*\\b",r="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)";this.$rules={no_regex:[{token:"comment",regex:"\\/\\/",next:"line_comment"},i.getStartRule("doc-start"),{token:"comment",regex:/\/\*/,next:"comment"},{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0[xX][0-9a-fA-F]+\b/},{token:"constant.numeric",regex:/[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?\b/},{token:["storage.type","punctuation.operator","support.function","punctuation.operator","entity.name.function","text","keyword.operator"],regex:"("+n+")(\\.)(prototype)(\\.)("+n+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+n+")(\\.)("+n+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+n+")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+n+")(\\.)("+n+")(\\s*)(=)(\\s*)(function)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function)(\\s+)("+n+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+n+")(\\s*)(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)(function)(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:"(?:"+t+")\\b",next:"start"},{token:["punctuation.operator","support.function"],regex:/(\.)(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:["punctuation.operator","support.function.dom"],regex:/(\.)(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:["punctuation.operator","support.constant"],regex:/(\.)(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|time|timeEnd|assert)\b/},{token:e,regex:n},{token:"keyword.operator",regex:/--|\+\+|[!$%&*+\-~]|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\|\||\?\:|\*=|%=|\+=|\-=|&=|\^=/,next:"start"},{token:"punctuation.operator",regex:/\?|\:|\,|\;|\./,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"keyword.operator",regex:/\/=?/,next:"start"},{token:"comment",regex:/^#!.*$/}],start:[i.getStartRule("doc-start"),{token:"comment",regex:"\\/\\*",next:"comment_regex_allowed"},{token:"comment",regex:"\\/\\/",next:"line_comment_regex_allowed"},{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/\\w*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],function_arguments:[{token:"variable.parameter",regex:n},{token:"punctuation.operator",regex:"[, ]+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],comment_regex_allowed:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],comment:[{token:"comment",regex:"\\*\\/",next:"no_regex"},{defaultToken:"comment"}],line_comment_regex_allowed:[{token:"comment",regex:"$|^",next:"start"},{defaultToken:"comment"}],line_comment:[{token:"comment",regex:"$|^",next:"no_regex"},{defaultToken:"comment"}],qqstring:[{token:"constant.language.escape",regex:r},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:r},{token:"string",regex:"\\\\$",next:"qstring"},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}]},this.embedRules(i,"doc-",[i.getEndRule("no_regex")])};r.inherits(o,s),t.JavaScriptHighlightRules=o}),define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},{token:"comment.doc.tag",regex:"\\bTODO\\b"},{defaultToken:"comment.doc"}]}};r.inherits(s,i),s.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},s.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=s}),define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){var r=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return/^\s+$/.test(e)?/^\s*\}/.test(t):!1},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\s*\})/);if(!i)return 0;var s=i[1].length,o=e.findMatchingBracket({row:t,column:s});if(!o||o.row==t)return 0;var u=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,s-1),u)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(e,t,n){var r=e("../../lib/oop"),i=e("../behaviour").Behaviour,s=e("../../token_iterator").TokenIterator,o=e("../../lib/lang"),u=["text","paren.rparen","punctuation.operator"],a=["text","paren.rparen","punctuation.operator","comment"],f=0,l=-1,c="",h=0,p=-1,d="",v="",m=function(){m.isSaneInsertion=function(e,t){var n=e.getCursorPosition(),r=new s(t,n.row,n.column);if(!this.$matchTokenType(r.getCurrentToken()||"text",u)){var i=new s(t,n.row,n.column+1);if(!this.$matchTokenType(i.getCurrentToken()||"text",u))return!1}return r.stepForward(),r.getCurrentTokenRow()!==n.row||this.$matchTokenType(r.getCurrentToken()||"text",a)},m.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},m.recordAutoInsert=function(e,t,n){var r=e.getCursorPosition(),i=t.doc.getLine(r.row);this.isAutoInsertedClosing(r,i,c[0])||(f=0),l=r.row,c=n+i.substr(r.column),f++},m.recordMaybeInsert=function(e,t,n){var r=e.getCursorPosition(),i=t.doc.getLine(r.row);this.isMaybeInsertedClosing(r,i)||(h=0),p=r.row,d=i.substr(0,r.column)+n,v=i.substr(r.column),h++},m.isAutoInsertedClosing=function(e,t,n){return f>0&&e.row===l&&n===c[0]&&t.substr(e.column)===c},m.isMaybeInsertedClosing=function(e,t){return h>0&&e.row===p&&t.substr(e.column)===v&&t.substr(0,e.column)==d},m.popAutoInsertedClosing=function(){c=c.substr(1),f--},m.clearMaybeInsertedClosing=function(){h=0,p=-1},this.add("braces","insertion",function(e,t,n,r,i){var s=n.getCursorPosition(),u=r.doc.getLine(s.row);if(i=="{"){var a=n.getSelectionRange(),f=r.doc.getTextRange(a);if(f!==""&&f!=="{"&&n.getWrapBehavioursEnabled())return{text:"{"+f+"}",selection:!1};if(m.isSaneInsertion(n,r))return/[\]\}\)]/.test(u[s.column])?(m.recordAutoInsert(n,r,"}"),{text:"{}",selection:[1,1]}):(m.recordMaybeInsert(n,r,"{"),{text:"{",selection:[1,1]})}else if(i=="}"){var l=u.substring(s.column,s.column+1);if(l=="}"){var c=r.$findOpeningBracket("}",{column:s.column+1,row:s.row});if(c!==null&&m.isAutoInsertedClosing(s,u,i))return m.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else if(i=="\n"||i=="\r\n"){var p="";m.isMaybeInsertedClosing(s,u)&&(p=o.stringRepeat("}",h),m.clearMaybeInsertedClosing());var l=u.substring(s.column,s.column+1);if(l=="}"||p!==""){var d=r.findMatchingBracket({row:s.row,column:s.column},"}");if(!d)return null;var v=this.getNextLineIndent(e,u.substring(0,s.column),r.getTabString()),g=this.$getIndent(u);return{text:"\n"+v+"\n"+g+p,selection:[1,v.length,1,v.length]}}}}),this.add("braces","deletion",function(e,t,n,r,i){var s=r.doc.getTextRange(i);if(!i.isMultiLine()&&s=="{"){var o=r.doc.getLine(i.start.row),u=o.substring(i.end.column,i.end.column+1);if(u=="}")return i.end.column++,i;h--}}),this.add("parens","insertion",function(e,t,n,r,i){if(i=="("){var s=n.getSelectionRange(),o=r.doc.getTextRange(s);if(o!==""&&n.getWrapBehavioursEnabled())return{text:"("+o+")",selection:!1};if(m.isSaneInsertion(n,r))return m.recordAutoInsert(n,r,")"),{text:"()",selection:[1,1]}}else if(i==")"){var u=n.getCursorPosition(),a=r.doc.getLine(u.row),f=a.substring(u.column,u.column+1);if(f==")"){var l=r.$findOpeningBracket(")",{column:u.column+1,row:u.row});if(l!==null&&m.isAutoInsertedClosing(u,a,i))return m.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function(e,t,n,r,i){var s=r.doc.getTextRange(i);if(!i.isMultiLine()&&s=="("){var o=r.doc.getLine(i.start.row),u=o.substring(i.start.column+1,i.start.column+2);if(u==")")return i.end.column++,i}}),this.add("brackets","insertion",function(e,t,n,r,i){if(i=="["){var s=n.getSelectionRange(),o=r.doc.getTextRange(s);if(o!==""&&n.getWrapBehavioursEnabled())return{text:"["+o+"]",selection:!1};if(m.isSaneInsertion(n,r))return m.recordAutoInsert(n,r,"]"),{text:"[]",selection:[1,1]}}else if(i=="]"){var u=n.getCursorPosition(),a=r.doc.getLine(u.row),f=a.substring(u.column,u.column+1);if(f=="]"){var l=r.$findOpeningBracket("]",{column:u.column+1,row:u.row});if(l!==null&&m.isAutoInsertedClosing(u,a,i))return m.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function(e,t,n,r,i){var s=r.doc.getTextRange(i);if(!i.isMultiLine()&&s=="["){var o=r.doc.getLine(i.start.row),u=o.substring(i.start.column+1,i.start.column+2);if(u=="]")return i.end.column++,i}}),this.add("string_dquotes","insertion",function(e,t,n,r,i){if(i=='"'||i=="'"){var s=i,o=n.getSelectionRange(),u=r.doc.getTextRange(o);if(u!==""&&u!=="'"&&u!='"'&&n.getWrapBehavioursEnabled())return{text:s+u+s,selection:!1};var a=n.getCursorPosition(),f=r.doc.getLine(a.row),l=f.substring(a.column-1,a.column);if(l=="\\")return null;var c=r.getTokens(o.start.row),h=0,p,d=-1;for(var v=0;v<c.length;v++){p=c[v],p.type=="string"?d=-1:d<0&&(d=p.value.indexOf(s));if(p.value.length+h>o.start.column)break;h+=c[v].value.length}if(!p||d<0&&p.type!=="comment"&&(p.type!=="string"||o.start.column!==p.value.length+h-1&&p.value.lastIndexOf(s)===p.value.length-1)){if(!m.isSaneInsertion(n,r))return;return{text:s+s,selection:[1,1]}}if(p&&p.type==="string"){var g=f.substring(a.column,a.column+1);if(g==s)return{text:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(e,t,n,r,i){var s=r.doc.getTextRange(i);if(!i.isMultiLine()&&(s=='"'||s=="'")){var o=r.doc.getLine(i.start.row),u=o.substring(i.start.column+1,i.start.column+2);if(u==s)return i.end.column++,i}})};r.inherits(m,i),t.CstyleBehaviour=m}),define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){var r=e("../../lib/oop"),i=e("../../range").Range,s=e("./fold_mode").FoldMode,o=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(o,s),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.getFoldWidgetRange=function(e,t,n){var r=e.getLine(n),i=r.match(this.foldingStartMarker);if(i){var s=i.index;return i[1]?this.openingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s+i[0].length,1)}if(t!=="markbeginend")return;var i=r.match(this.foldingStopMarker);if(i){var s=i.index+i[0].length;return i[1]?this.closingBracketBlock(e,i[1],n,s):e.getCommentFoldRange(n,s,-1)}}}.call(o.prototype)})
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/propertiesController.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/propertiesController.js
new file mode 100644 (file)
index 0000000..22d5f54
--- /dev/null
@@ -0,0 +1,375 @@
+/*global amblog, vehicle*/
+
+/**
+ * @module AMBSimulatorApplication
+ */
+
+/**
+ * Controller handles property library logic showing available AMB properties {{#crossLink "PropertiesController/getSignalsSpecification:method"}} retrieved from AMB plugin over WebSockets interface{{/crossLink}}.
+ * Property browser allows to browse and search through available AMB properties and provides UI for defining values for {{#crossLink "Simulator/set:method"}}{{/crossLink}} method.
+ *
+ * @class PropertiesController
+ * @constructor
+ */
+function PropertiesController() {
+}
+
+/**
+ * Holds properties mapping table after it's retrieved.
+ *
+ * @property signalsSpecification
+ * @type {Object}
+ * @static
+ * @default null
+ */
+PropertiesController.signalsSpecification = null;
+
+/**
+ * Holds currently opened source of properties.
+ *
+ * @property CurrentSourceSignals
+ * @type {Object}
+ * @static
+ * @default null
+ */
+PropertiesController.CurrentSourceSignals = null;
+
+/**
+ * Holds currently opened property detail.
+ *
+ * @property currentOpenedPropertyDetail
+ * @type {Object}
+ * @static
+ * @default null
+ */
+PropertiesController.currentOpenedPropertyDetail = null;
+
+/**
+ * Initialize library component for displaying properties list.
+ *
+ * @method initializeLibrary
+ * @static
+ */
+PropertiesController.initializeLibrary = function() {
+       "use strict";
+       $('#properties').library('clearContent');
+       $('#properties').off();
+
+       $('#properties').library('setSectionTitle', 'AMB PROPERTY LIBRARY');
+       $('#properties').library('setGridBtnDisabled', true);
+       $('#properties').library('setListBtnDisabled', false);
+       $('#properties').library('setSearchBtnDisabled', false);
+       $('#properties').library('setLeftTabIndex', 1);
+
+       $('#properties').on('eventClick_SearchViewBtn', function(e, data) {
+               $('#properties').library('showSubpanel');
+       });
+       $('#properties').on('eventClick_ListViewBtn', function(e, data) {
+               $('#searchInput').val('');
+               $('#properties').library('closeSubpanel');
+               PropertiesController.renderTabContent(0);
+       });
+       $('#properties').on('eventClick_menuItemBtn', function(e, data) {
+               PropertiesController.renderTabContent(data.Index);
+       });
+       PropertiesController.signalSpecificationLoaded();
+
+       $('#properties').library('tabMenuTemplateCompile', {
+               Tabs : [ {
+                       text : 'Properties',
+                       selected : true
+               } ]
+       });
+
+       $('#properties').library('setSubpanelContentDelegate', 'templates/searchSubPanelDelegate.html');
+       $('#properties').library('subpanelContentTemplateCompile', {}, function() {
+               $('#searchInput').on('input', PropertiesController.signalFilter);
+               $('#properties').library('closeSubpanel', function() {
+                       $('#properties').library("showPage");
+               });
+       });
+};
+
+/**
+ * Success callback method for vehicle API init.
+ *
+ * @method wsStart
+ * @param msg {String} WebSocket init message.
+ * @static
+ */
+PropertiesController.wsStart = function(msg) {
+       "use strict";
+       PropertiesController.getSignalsSpecification(PropertiesController.signalSpecificationLoaded);
+};
+
+/**
+ * Error callback method for vehicle API init.
+ *
+ * @method wsError
+ * @param msg {String} WebSockets error message.
+ * @static
+ */
+PropertiesController.wsError = function(msg) {
+       "use strict";
+       amblog(msg);
+};
+
+/**
+ * Gets properties mapping tabel from AMB plugin.
+ *
+ * @method getSignalsSpecification
+ * @param sucessCallback {Function} Sucess callback for getting properties mapping table.
+ * @static
+ */
+PropertiesController.getSignalsSpecification = function(sucessCallback) {
+       "use strict";
+       if (vehicle) {
+               PropertiesController.signalsSpecification = null;
+
+               vehicle.get([ 'MappingTable' ], 0, function(response) {
+                       try {
+                               response.value = response.value.replace(/'/g, '\"');
+                               PropertiesController.signalsSpecification = PropertiesController.translateMappingTable(JSON.parse(response.value));
+                       } catch (e) {
+                               console.log(e);
+                       }
+                       if (PropertiesController.signalsSpecification) {
+                               sucessCallback();
+                       }
+               }, function(error) {
+                       console.log(error);
+               });
+       }
+};
+
+/**
+ * Process obtained mapping table and merge properties with more than one zone into
+ * one property and then merge all sources into one.
+ *
+ * @method translateMappingTable
+ * @param mappingTable {String} Obtained mapping table in JSON format.
+ * @static
+ */
+PropertiesController.translateMappingTable = function(mappingTable) {
+       "use strict";
+       var testObject, i, j;
+
+       for ( i = 0; i < mappingTable.sources.length; i++) {
+               testObject = {};
+               for ( j = 0; j < mappingTable.sources[i].signals.length; j++) {
+                       if (!testObject[mappingTable.sources[i].signals[j].name]) {
+                               if (!mappingTable.sources[i].signals[j].hasZones) {
+                                       mappingTable.sources[i].signals[j].hasZones = [];
+                               }
+                               mappingTable.sources[i].signals[j].hasZones.push(mappingTable.sources[i].signals[j].zone);
+                               testObject[mappingTable.sources[i].signals[j].name] = mappingTable.sources[i].signals[j];
+                       } else {
+                               testObject[mappingTable.sources[i].signals[j].name].hasZones.push(mappingTable.sources[i].signals[j].zone);
+                               mappingTable.sources[i].signals.splice(j, 1);
+                               j--;
+                       }
+               }
+       }
+
+       // merge sources properties
+       for ( i = 1; i < mappingTable.sources.length; i++) {
+               for ( j = 0; j < mappingTable.sources[i].signals.length; j++) {
+                       var exists = false;
+
+                       for ( var k = 0; k < mappingTable.sources[0].signals.length; k++) {
+                               if (mappingTable.sources[0].signals[k].name === mappingTable.sources[i].signals[j].name) {
+                                       exists = true;
+                                       break;
+                               }
+                       }
+                       if (!exists) {
+                               mappingTable.sources[0].signals.push(mappingTable.sources[i].signals[j]);
+                       }
+                       mappingTable.sources[i].signals.splice(j, 1);
+                       j--;
+               }
+       }
+
+       //sorts merged array
+       mappingTable.sources[0].signals.sort(PropertiesController.propertyCompare);
+       return mappingTable;
+};
+
+/**
+ * Callback for method {{#crossLink "PropertiesController/getSignalsSpecification:method"}}{{/crossLink}}.
+ *
+ * @method signalSpecificationLoaded
+ * @static
+ */
+PropertiesController.signalSpecificationLoaded = function() {
+       "use strict";
+       PropertiesController.renderTabContent(0);
+};
+
+/**
+ * Fills properties list in library component from {{#crossLink "PropertiesController/signalsSpecification:property"}}{{/crossLink}}.
+ *
+ * @method renderTabContent
+ * @param index {Number} Index of source.
+ * @param filteredModel {Object} Model to render in library list.
+ * @static
+ */
+PropertiesController.renderTabContent = function(index, filteredModel) {
+       "use strict";
+
+       PropertiesController.CurrentSourceSignals = (filteredModel) ? filteredModel
+                       : PropertiesController.signalsSpecification.sources[index].signals;
+       $('#properties').library("setContentDelegate", "templates/propertiesListDelegate.html");
+       $('#properties').library("contentTemplateCompile", PropertiesController.CurrentSourceSignals, "ambPropertiesContentGrid", function() {
+               $('#libraryContent').find('.contactElement').on('click', PropertiesController.openPropertyDetail);
+               $('#properties').library('updateContentHeight');
+       });
+};
+
+/**
+ * Opens signal generator view in library component.
+ *
+ * @method openPropertyDetail
+ * @static
+ */
+PropertiesController.openPropertyDetail = function() {
+       "use strict";
+       PropertiesController.currentOpenedPropertyDetail = PropertiesController.CurrentSourceSignals[$(this).attr('data-index')];
+       $('#properties').library('clickOnListViewBtn');
+       $('#properties').library("setContentDelegate", "templates/signalGeneratorDelegate.html");
+       $('#properties').library("contentTemplateCompile", PropertiesController.currentOpenedPropertyDetail,
+                       'detail fontSizeSmall fontColorNormal', PropertiesController.propertyDetailCompilationDone);
+};
+
+/**
+ * Callback after signal generator view compilation is done. Creates proper signal
+ * generator view and registers buttons events.
+ *
+ * @method propertyDetailCompilationDone
+ * @static
+ */
+PropertiesController.propertyDetailCompilationDone = function() {
+       "use strict";
+
+       $('#properties').library('setSearchBtnDisabled', true);
+
+       if (PropertiesController.currentOpenedPropertyDetail.hasZones &&
+                       PropertiesController.currentOpenedPropertyDetail.hasZones !== 0 &&
+                       PropertiesController.currentOpenedPropertyDetail.hasZones !== [] &&
+                       PropertiesController.currentOpenedPropertyDetail.hasZones !== [ 0 ])
+       {
+               $('.zone').on('click', function() {
+                       var dataValue;
+
+                       $('.zone').removeClass('bgColorLight');
+                       dataValue = $(this).attr('data-value');
+                       switch (dataValue) {
+                       case '0':
+                               break;
+                       case '8':
+                               $('[data-value="9"], [data-value="10"], [data-value="24"]').addClass('bgColorLight');
+                               break;
+                       case '32':
+                               $('[data-value="33"], [data-value="34"], [data-value="48"]').addClass('bgColorLight');
+                               break;
+                       case '4':
+                               $('[data-value="5"], [data-value="6"], [data-value="20"]').addClass('bgColorLight');
+                               break;
+                       case '1':
+                               $('[data-value="9"], [data-value="33"], [data-value="5"]').addClass('bgColorLight');
+                               break;
+                       case '2':
+                               $('[data-value="10"], [data-value="34"], [data-value="6"]').addClass('bgColorLight');
+                               break;
+                       case '16':
+                               $('[data-value="24"], [data-value="48"], [data-value="20"]').addClass('bgColorLight');
+                               break;
+                       default:
+                               $(this).addClass('bgColorLight');
+                               break;
+                       }
+                       $('#signalText').find('#zone').text(dataValue);
+               });
+       }
+
+       $('.libraryContent').find('#source').text('"' + $('.libraryContent').find('#propertySourceInput').val() + '"');
+       $('.libraryContent').find('#property').text('"' + PropertiesController.currentOpenedPropertyDetail.name + '"');
+
+       $('.libraryContent').find('#propertySourceInput').on('input', function() {
+               $('.libraryContent').find('#source').text('"' + $(this).val() + '"');
+       });
+
+       $('.libraryContent').find('#propertyValueInput').on('input', function() {
+               var value, target;
+
+               target = $('.libraryContent').find('#value');
+               try {
+                       value = parseInt($(this).val(), 10);
+               } catch (e) {
+                       // $(this).addClass('wrongValue');
+                       target.text('0');
+               }
+               if (value + 1) {
+                       target.text(value);
+                       // $(this).removeClass('wrongValue');
+               } else {
+                       $(this).addClass('wrongValue');
+                       target.text('0');
+               }
+       });
+
+       $('.libraryContent').find('#addScriptBtn').on(
+                       'click',
+                       function() {
+                               $('#textArea').val(
+                                               $('#textArea').val() + '\n\n' + $('.libraryContent').find('#signalText').text().replace(/(\r\n|\n|\r|\t)/gm, ""));
+                               $('#properties').library('hidePage');
+                       });
+
+       $('.libraryContent').find('#backBtn').on('click', function() {
+               PropertiesController.renderTabContent(0);
+               $('#properties').library('setSearchBtnDisabled', false);
+       });
+};
+
+/**
+ * Provides filtering functionality for property list in library component.
+ *
+ * @method signalFilter
+ * @static
+ */
+PropertiesController.signalFilter = function() {
+       "use strict";
+
+       var index, value, filteredModel;
+
+       value = $(this).val().toLowerCase();
+       index = 0;
+       if (value !== '') {
+               filteredModel = PropertiesController.signalsSpecification.sources[index].signals.filter(function(item) {
+                       return new RegExp(value, 'g').test(item.name.toLowerCase());
+               });
+       } else {
+               filteredModel = PropertiesController.signalsSpecification.sources[index].signals;
+       }
+       PropertiesController.renderTabContent(index, filteredModel);
+};
+
+/**
+ * Comparsion function for property array sorting by property name.
+ *
+ * @method propertyCompare
+ * @param a {Object} First property object to comparsion.
+ * @param b {Object} Second property object to comparsion.
+ * @static
+ */
+PropertiesController.propertyCompare = function(a, b) {
+       "use strict";
+       if (a.name.toLowerCase() < b.name.toLowerCase()) {
+               return -1;
+       }
+       if (a.name.toLowerCase() > b.name.toLowerCase()) {
+               return 1;
+       }
+       return 0;
+};
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/randomizerDemo.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/randomizerDemo.js
new file mode 100644 (file)
index 0000000..c2189c4
--- /dev/null
@@ -0,0 +1,140 @@
+/*global Simulator, TWEEN */
+
+/**
+ * Script operates all indicators that are present in Dashboard application:
+ *
+ * * Vehicle speed similar as {{#crossLink "SpeedDemo2"}}speedDemo2{{/crossLink}}
+ * * Transmission gear similar as {{#crossLink "SpeedDemo2"}}speedDemo2{{/crossLink}}
+ * * Battery status same as {{#crossLink "BatteryDemo"}}batteryDemo{{/crossLink}}
+ * * Exterior brightness same as {{#crossLink "BatteryDemo"}}batteryDemo{{/crossLink}}
+ * * Head, parking lights
+ * * Front wheel radius
+ * * Child lock status
+ * * Exterior temperature
+ * * Tire pressure same as {{#crossLink "TirePressureDemo"}}tirePressureDemo{{/crossLink}}
+ *
+ * @module AMBSimulatorApplication
+ * @class RandomizerDemo
+ */
+
+setInterval(function() {
+       "use strict";
+       TWEEN.update();
+}, 200);
+
+//gear & speed
+var neutralGear, firstGear, secondGear, thirdGear, fourthGear;
+
+function getGearTween(time, gear, speedFrom, speedTo) {
+       "use strict";
+       return new TWEEN.Tween({
+               speed : speedFrom
+       }).to({
+               speed : speedTo
+       }, time).onStart(function() {
+               Simulator.set("vcan0", "TransmissionShiftPosition", gear, 0);
+       }).onUpdate(function() {
+               Simulator.set("vcan0", "VehicleSpeed", this.speed, 0);
+       });
+}
+neutralGear = getGearTween(3000, "0", 0, 0).onComplete(function() {
+       "use strict";
+       firstGear = getGearTween(2000, "1", 0, 20);
+       secondGear = getGearTween(3000, "2", 20, 40);
+       thirdGear = getGearTween(4000, "3", 40, 60);
+       fourthGear = getGearTween(5000, "4", 60, 100).onComplete(function() {
+               firstGear = getGearTween(2000, "1", 20, 0);
+               secondGear = getGearTween(3000, "2", 40, 20);
+               thirdGear = getGearTween(4000, "3", 60, 40);
+               fourthGear = getGearTween(5000, "4", 100, 60);
+               fourthGear.chain(thirdGear.chain(secondGear.chain(firstGear.chain(neutralGear)))).start();
+       });
+
+       firstGear.chain(secondGear.chain(thirdGear.chain(fourthGear))).start();
+});
+
+neutralGear.start();
+
+// battery level && exterior Brightness
+var batteryStatus, exteriorBrightness, headLights, parkingLights;
+
+batteryStatus = new TWEEN.Tween({
+       battery : 100
+}).to({
+       battery : 0
+}, 10000).easing(TWEEN.Easing.Cubic.Out).onUpdate(function() {
+       "use strict";
+       Simulator.set("vcan0", "BatteryStatus", this.battery, 0);
+}).repeat('Infinity').yoyo(true).start();
+
+exteriorBrightness = new TWEEN.Tween({
+       brightness : 5000
+}).to({
+       brightness : 0
+}, 10000).onUpdate(function() {
+       "use strict";
+       if (this.brightness < 2000 && !headLights) {
+               headLights = true;
+               parkingLights = true;
+               Simulator.set("vcan0", "LightHead", headLights, 0);
+               Simulator.set("vcan0", "LightParking", parkingLights, 0);
+       } else if (this.brightness >= 2000 && headLights) {
+               headLights = false;
+               parkingLights = false;
+               Simulator.set("vcan0", "LightHead", headLights, 0);
+               Simulator.set("vcan0", "LightParking", parkingLights, 0);
+       }
+       Simulator.set("vcan0", "ExteriorBrightness", this.brightness, 0);
+}).repeat('Infinity').yoyo(true).start();
+
+// front wheel radius
+var frontWheelRadius;
+
+frontWheelRadius = new TWEEN.Tween({
+       radius : 1
+}).to({
+       radius : 359
+}, 5000).onUpdate(function() {
+       "use strict";
+       Simulator.set("vcan0", "SteeringWheelAngle", this.radius, 0);
+}).repeat('Infinity').yoyo(true).start();
+
+// head lights, parking lights, childlock, exterior temperature, weather
+var childLock, extTemp, rand;
+
+parkingLights = false;
+childLock = false;
+extTemp = 30;
+function setRandomValues() {
+       "use strict";
+       rand = Math.random();
+       if (!headLights) {
+               parkingLights = !parkingLights;
+               Simulator.set("vcan0", "LightParking", parkingLights, 0);
+       }
+       extTemp = Math.floor(rand * 7) + (extTemp - 3);
+       extTemp = (extTemp < -21)? -21 : extTemp;
+       extTemp = (extTemp > 45)? 45 : extTemp;
+       Simulator.set("vcan0", "ExteriorTemperature", extTemp, 0);
+       Simulator.set("vcan0", "InteriorTemperature", extTemp+10, 0);
+       Simulator.set("vcan0", "Weather", Math.floor(rand * 3), 0);
+       childLock = !childLock;
+       Simulator.set("vcan0", "ChildLockStatus", childLock, 0);
+       setTimeout(setRandomValues, Math.floor(rand * 9500) + 500);
+}
+setRandomValues();
+
+//tire
+var tirePressure;
+
+tirePressure = new TWEEN.Tween({
+       pressure: 0
+}).to({
+       pressure: 3
+}, 5000).easing(TWEEN.Easing.Cubic.InOut).onUpdate(function() {
+       "use strict";
+       Simulator.set("vcan0", "TirePressureLeftFront", this.pressure, 0);
+       Simulator.set("vcan0", "TirePressureRightFront", this.pressure, 0);
+       Simulator.set("vcan0", "TirePressureLeftRear", this.pressure, 0);
+       Simulator.set("vcan0", "TirePressureRightRear", this.pressure, 0);
+}).repeat('Infinity').yoyo(true).start();
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/scriptController.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/scriptController.js
new file mode 100644 (file)
index 0000000..8f7c1f9
--- /dev/null
@@ -0,0 +1,297 @@
+/* global editor, TWEEN, Simulator */
+
+/**
+ * @module AMBSimulatorApplication
+ */
+
+/**
+ * Controller handles property library logic and loading and storing of scripts to file system through [Tizen Filesystem API](https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/filesystem.html).
+ * Scripts are stored in `/home/app` directory and scripts packaged with application are deployed to this folder after application
+ * startup overwriting any existing files with same names by {{#crossLink "DemoScriptsController"}}{{/crossLink}} class.
+ *
+ * @class ScriptController
+ * @constructor
+ */
+function ScriptController() {
+}
+
+/**
+ * State indicates if user wants save or load script.
+ *
+ * @property state
+ * @type {String}
+ * @static
+ * @default null
+ */
+ScriptController.state = null;
+
+/**
+ * State variable for controlling user scripts evaluation, detects if stop
+ * script button was pressed.
+ *
+ * @property stop
+ * @type {Boolean}
+ * @static
+ * @default true
+ */
+ScriptController.stop = true;
+
+/**
+ * State variable for controlling user scripts evaluation, detects if script
+ * evaluation is running;
+ *
+ * @property running
+ * @type {Boolean}
+ * @static
+ * @default false
+ */
+ScriptController.running = false;
+
+/**
+ * Initialize library component for loading/saving script.
+ *
+ * @method initializeLibrary
+ * @static
+ */
+ScriptController.initializeLibrary = function() {
+       "use strict";
+       $('#properties').library('setAlphabetVisible', false);
+       $('#properties').library('clearContent');
+       $('#properties').off();
+       $('#tabsWrapperID').empty();
+
+       $('#properties').library('setSectionTitle', 'Scripts managment');
+       $('#properties').library('setGridBtnDisabled', true);
+       $('#properties').library('setListBtnDisabled', true);
+       $('#properties').library('setSearchBtnDisabled', true);
+       $('#properties').library('setContentDelegate', 'templates/propertiesListDelegate.html');
+       $('#properties').library('closeSubpanel');
+};
+
+/**
+ * Callback for load button click.
+ *
+ * @method loadScript
+ */
+ScriptController.loadScript = function() {
+       "use strict";
+       ScriptController.state = 'load';
+       ScriptController.initializeLibrary();
+
+       $('#properties').library('tabMenuTemplateCompile', {
+               Tabs : [ {
+                       text : 'Load script',
+                       selected : true
+               } ]
+       });
+
+       ScriptController.resolveFS(ScriptController.fsResolved);
+};
+
+/**
+ * Resolves filesystem for scripts directory.
+ *
+ * @method loadScript
+ * @param resolvedCallback {Function} Callback for filesystem resolving.
+ * @private
+ */
+ScriptController.resolveFS = function(resolvedCallback) {
+       "use strict";
+       tizen.filesystem.resolve("/home/app", resolvedCallback, ScriptController.error);
+};
+
+/**
+ * Callback for resolved scripts directory.
+ *
+ * @method fsResolved
+ * @param dir {Object} Resolved scripts directory object.
+ * @private
+ */
+ScriptController.fsResolved = function(dir) {
+       "use strict";
+       dir.listFiles(ScriptController.dirListSuccess, ScriptController.error);
+};
+
+/**
+ * Callback for directory listing. Render file list into library component.
+ *
+ * @method dirListSuccess
+ * @param {Array} Array of listed files.
+ * @private
+ */
+ScriptController.dirListSuccess = function(files) {
+       "use strict";
+       files = files.filter(function(fileItem) {
+               return (new RegExp(/\.(config)$/i).test(fileItem.name) && fileItem.isFile);
+       });
+       for ( var i = 0; i < files.length; i++) {
+               files[i].visibleName = files[i].name.slice(0, -7);
+       }
+       $('#properties').library('setContentDelegate', 'templates/propertiesListDelegate.html');
+       $('#properties').library('contentTemplateCompile', files, '', function() {
+               if (ScriptController.state === 'load') {
+                       $('#libraryContent').find('.contactElement').on('click', function() {
+                               ScriptController.openFile(files[$(this).attr('data-index')]);
+                       });
+               } else if (ScriptController.state === 'save') {
+                       $('#libraryContent').find('.contactElement').on('click', function() {
+                               $('#fileNameInput').val(files[$(this).attr('data-index')].visibleName);
+                       });
+               }
+               $('#properties').library('updateContentHeight');
+               $('#properties').library('showPage');
+       });
+};
+
+/**
+ * Opens and read file from file system and place it's content into editor.
+ *
+ * @method openFile
+ * @param files {Object} File to read.
+ * @private
+ */
+ScriptController.openFile = function(file) {
+       "use strict";
+       if (file && !file.isDirectory) {
+               file.readAsText(function(text) {
+                       $('#textArea').val(text);
+                       $('#properties').library('hidePage');
+               }, ScriptController.error);
+       }
+};
+
+/**
+ * Callback for save script button.
+ *
+ * @method saveScript
+ */
+ScriptController.saveScript = function() {
+       "use strict";
+       ScriptController.state = 'save';
+       ScriptController.initializeLibrary();
+       $('#properties').library('tabMenuTemplateCompile', {
+               Tabs : [ {
+                       text : 'Save script',
+                       selected : true
+               } ]
+       });
+       $('#properties').library('setSubpanelContentDelegate', 'templates/fileSaveSubPanelDelegate.html');
+       $('#properties').library('subpanelContentTemplateCompile', {}, function() {
+               $('#saveButton').on('click', function() {
+                       ScriptController.saveFile();
+               });
+       });
+
+       ScriptController.resolveFS(ScriptController.fsResolved);
+};
+
+/**
+ * Saves file into scripts directory.
+ *
+ * @method saveFile
+ * @private
+ */
+ScriptController.saveFile = function() {
+       "use strict";
+       ScriptController.resolveFS(function(dir) {
+               var file, fileName, fileExists;
+
+               fileExists = true;
+               fileName = $('#fileNameInput').val() + '.config';
+               try {
+                       file = dir.resolve(fileName);
+               } catch (e) {
+                       if (e.name === 'NotFoundError') {
+                               file = dir.createFile(fileName);
+                               fileExists = false;
+                       }
+               }
+               if (fileExists) {
+                       var answer = confirm('Selected file name: ' + fileName + ' already exist!\nDo you want to replace it?');
+                       if (!answer) {
+                               return;
+                       }
+               }
+               if (file) {
+                       file.openStream('w', function(fs) {
+                               fs.write($('#textArea').val());
+                               fs.close();
+                       }, ScriptController.error, 'UTF-8');
+
+                       $('#properties').library('hidePage');
+               }
+       });
+};
+
+/**
+ * Callback for run script button. Runs script using eval function. Also
+ * provides logic for script evaluation controlling (stop script evaluation).
+ * Stop script evaluation is limited to clearing timers used in user script, stopping running Tweens and async.js tasks. It
+ * can't break infinitive loops or synchronous calls to external services.
+ *
+ * @method runScript
+ * @static
+ */
+ScriptController.runScript = function() {
+       "use strict";
+       var script;
+
+       ScriptController.stop = !ScriptController.stop;
+       if (!ScriptController.stop && !ScriptController.running) {
+               if (editor) {
+                       script = editor.getValue();
+               }
+               if ($('#textArea').val()) {
+                       script = $('#textArea').val();
+               }
+               if (script) {
+                       setInterval(function() {
+                               if (ScriptController.stop) {
+                                       var tmTsHiId, intHiId, i;
+
+                                       TWEEN.removeAll();
+                                       tmTsHiId = setTimeout(function() {
+                                       }, 1000);
+                                       for (i = 0; i <= tmTsHiId; i++) {
+                                               clearTimeout(i);
+                                       }
+
+                                       intHiId = setInterval(function() {
+                                       }, 1000);
+                                       for (i = 0; i <= intHiId; i++) {
+                                               clearInterval(i);
+                                       }
+                                       $('#runConfigButton').find('.buttonText').text('run script');
+                                       ScriptController.running = false;
+                               }
+                       }, 1000);
+                       $('#runConfigButton').find('.buttonText').text('stop script');
+                       ScriptController.running = true;
+                       Simulator.startConsoleCleaningInterval();
+                       /* jshint evil: true */
+                       try {
+                               eval(script);
+                       }
+                       catch (ex) {
+                               amblog(ex);
+                       }
+                       /* jshint evil: false */
+               }
+       }
+};
+
+/**
+ * Callback for ScriptController errors.
+ *
+ * @method error
+ * @param err
+ *            {Object} Error message object.
+ * @static
+ */
+ScriptController.error = function(err) {
+       "use strict";
+       /* global amblog */
+       // console.error("Error: " + err.message);
+       // alert('Error: ' + err.message);
+       amblog('Error: ' + err.message);
+};
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/simulator.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/simulator.js
new file mode 100644 (file)
index 0000000..a77785c
--- /dev/null
@@ -0,0 +1,112 @@
+/*global amblog, vehicle, ScriptController*/
+
+/**
+ * @module AMBSimulatorApplication
+ */
+
+/**
+ * Enclosures functionality of vehicle.js for setting signals to AMB plugin through WebSocket interface via {{#crossLink "Simulator/set:method"}}{{/crossLink}}.
+ * method. For example, to request update of AMB property `TransmissionShiftPosition` to position `1`:
+ *
+ *     Simulator.set("vcan0", "TransmissionShiftPosition", "1", 0);
+ *
+ * First parameter defines CAN bus to which CAN frame simulating setting AMB property should be set. Since `TransmissionShiftPosition` is not zoned
+ * use `0` as zone parameter which means `No zone`. In case that AMB property is zoned (e.g. `HVACTargetTemperature`) is't necessary to specify also zone
+ * (in this case left zone):
+ *
+ *     Simulator.set("vcan0", "HVACTargetTemperature", "1", 8);
+ *
+ * Zones are mapped as follows:
+ *
+ * * 0 - No zone
+ * * 1 - Front zone
+ * * 2 - Middle zone
+ * * 4 - Right zone
+ * * 8 - Left zone
+ * * 16 - Rear zone
+ * * 32 - Center zone
+ *
+ * These basic zones can be combined to specify exact position by adding values together, e.g. to specify front-left zone use value 9 (1 = front, 8 = left).
+ *
+ * @class Simulator
+ * @constructor
+ */
+
+function Simulator() {
+}
+
+/**
+ * Holds AMB console jQuery object for inserting logs.
+ *
+ * @property ambConsole
+ * @type {JQuery}
+ * @static
+ * @default null
+ */
+Simulator.ambConsole = null;
+
+/**
+ * Signal set enclosuring function for transmitting signals into AMB plugin.
+ *
+ * @method set
+ * @param source {String} Target CAN bus name (e.g. `vcan0`).
+ * @param property {String} AMB property name.
+ * @param value {Number} New property value.
+ * @param zone {Number} Property zone (see {{#crossLink "Simulator"}}{{/crossLink}}) for zones description.
+ */
+Simulator.set = function(source, property, value, zone) {
+       "use strict";
+       vehicle.set(source, [ property ], [ value ], [ zone ], amblog, amblog);
+};
+
+/**
+ * Removes old logs from amblog console, leaves 200 newest. Runs in intervals
+ * every 5s. Called after starting user script.
+ *
+ * @method startConsoleCleaningInterval
+ * @static
+ */
+Simulator.startConsoleCleaningInterval = function() {
+       "use strict";
+       var cleaninIntervalId, logCount;
+
+       cleaninIntervalId = setInterval(function() {
+               if (ScriptController.stop) {
+                       clearInterval(cleaninIntervalId);
+               }
+               logCount = $('.logItem').length;
+               if (logCount > 200) {
+                       logCount -= 200;
+                       Simulator.ambConsole.find('.logItem:lt(' + logCount + ')').remove();
+               }
+       }, 5000);
+};
+
+/**
+ * Global scope function for printing arguments into amblog console.
+ *
+ * @method amblog
+ * @param arguments {Array} Arguments array.
+ * @static
+ */
+function amblog() {
+       "use strict";
+       var d, text, timeStamp, miliseconds;
+
+       for ( var i = 0; i < arguments.length; i++) {
+               text = '';
+               d = new Date();
+               miliseconds = d.getMilliseconds().toString();
+               if (miliseconds.length < 3) {
+                       miliseconds = ('00' + miliseconds).slice(-3);
+               }
+               timeStamp = d.toTimeString().substr(0, 8) + '.' + miliseconds;
+               if (arguments[i][0].property) {
+                       text = arguments[i][0].property;
+               } else {
+                       text = arguments[i];
+               }
+               Simulator.ambConsole.append('<span class="logItem">' + text + '<span class="timestamp">' + timeStamp + '</span></span>');
+               Simulator.ambConsole.scrollTop(Simulator.ambConsole[0].scrollHeight);
+       }
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/speedDemo.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/speedDemo.js
new file mode 100644 (file)
index 0000000..6d7b2df
--- /dev/null
@@ -0,0 +1,44 @@
+/*global Simulator*/
+
+/**
+ * Operates vehicle speed and transmission shift properties in following manner:
+ *
+ * * Start with vehicle speed set to zero
+ * * Add 5 mph to speed each 1 second
+ * * Change transmission shift position base on speed:
+ *    * Gear 1 - speed within interval 0 and 20
+ *    * Gear 2 - speed within interval 20 and 40
+ *    * Gear 3 - speed within interval 40 and 60
+ *    * Gear 4 - speed over 60
+ *
+ * @module AMBSimulatorApplication
+ * @class SpeedDemo
+ */
+
+var speed, rpm, gear, interval;
+
+speed = 0;
+
+interval = setInterval(function() {
+       "use strict";
+       if (speed < 200) {
+               speed += 5;
+       } else {
+               clearInterval(interval);
+       }
+
+       Simulator.set("vcan0", "VehicleSpeed", speed, 0);
+
+       if (speed <= 20) {
+               gear = 1;
+       } else if (speed > 20 && speed <= 40) {
+               gear = 2;
+       } else if (speed > 40 && speed <= 60) {
+               gear = 3;
+       } else if (speed > 60) {
+               gear = 4;
+       }
+
+       Simulator.set("vcan0", "TransmissionShiftPosition", gear, 0);
+
+}, 1000);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/speedDemo2.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/speedDemo2.js
new file mode 100644 (file)
index 0000000..eaf1c97
--- /dev/null
@@ -0,0 +1,44 @@
+/*global TWEEN, Simulator, amblog */
+
+/**
+ * Operates vehicle speed and transmission shift properties using tween.js library in following manner:
+ *
+ * * Start with vehicle speed set to zero
+ * * On gear 1 interate over `Cubic.Out` function from 0 to 20 for 10 seconds
+ * * On gear 2 interate over `Cubic.Out` function from 20 to 40 for 10 seconds
+ * * On gear 3 interate over `Cubic.Out` function from 40 to 60 for 10 seconds
+ * * On gear 4 interate over `Cubic.Out` function from 60 to 100 for 10 seconds
+ *
+ * @module AMBSimulatorApplication
+ * @class SpeedDemo2
+ *
+ */
+
+var intervalId = window.setInterval(function() {
+       "use strict";
+       TWEEN.update();
+}, 50);
+
+function getGearTween(gear, speedFrom, speedTo) {
+       "use strict";
+       return new TWEEN.Tween({
+               speed : speedFrom
+       }).to({
+               speed : speedTo
+       }, 10000).easing(TWEEN.Easing.Cubic.Out).onStart(function() {
+               Simulator.set("vcan0", "TransmissionShiftPosition", gear, 0);
+       }).onUpdate(function() {
+               Simulator.set("vcan0", "VehicleSpeed", this.speed, 0);
+       });
+}
+
+var firstGear = getGearTween("1", 0, 20);
+var secondGear = getGearTween("2", 20, 40);
+var thirdGear = getGearTween("3", 40, 60);
+var fourthGear = getGearTween("4", 60, 100).onComplete(function() {
+       "use strict";
+       amblog("Done");
+       window.clearInterval(intervalId);
+});
+
+firstGear.chain(secondGear.chain(thirdGear.chain(fourthGear))).start();
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/theme-ambiance.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/theme-ambiance.js
new file mode 100644 (file)
index 0000000..87cde53
--- /dev/null
@@ -0,0 +1 @@
+define("ace/theme/ambiance",["require","exports","module","ace/lib/dom"],function(e,t,n){t.isDark=!0,t.cssClass="ace-ambiance",t.cssText=".ace-ambiance .ace_gutter {background-color: #3d3d3d;background-image: -moz-linear-gradient(left, #3D3D3D, #333);background-image: -ms-linear-gradient(left, #3D3D3D, #333);background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3D3D3D), to(#333));background-image: -webkit-linear-gradient(left, #3D3D3D, #333);background-image: -o-linear-gradient(left, #3D3D3D, #333);background-image: linear-gradient(left, #3D3D3D, #333);background-repeat: repeat-x;border-right: 1px solid #4d4d4d;text-shadow: 0px 1px 1px #4d4d4d;color: #222;}.ace-ambiance .ace_gutter-layer {background: repeat left top;}.ace-ambiance .ace_fold-widget {text-align: center;}.ace-ambiance .ace_fold-widget:hover {color: #777;}.ace-ambiance .ace_fold-widget.ace_start,.ace-ambiance .ace_fold-widget.ace_end,.ace-ambiance .ace_fold-widget.ace_closed{background: none;border: none;box-shadow: none;}.ace-ambiance .ace_fold-widget.ace_start:after {content: '▾'}.ace-ambiance .ace_fold-widget.ace_end:after {content: '▴'}.ace-ambiance .ace_fold-widget.ace_closed:after {content: '‣'}.ace-ambiance .ace_print-margin {border-left: 1px dotted #2D2D2D;right: 0;background: #262626;}.ace-ambiance .ace_scroller {-webkit-box-shadow: inset 0 0 10px black;-moz-box-shadow: inset 0 0 10px black;-o-box-shadow: inset 0 0 10px black;box-shadow: inset 0 0 10px black;}.ace-ambiance {color: #E6E1DC;background-color: #202020;}.ace-ambiance .ace_cursor {border-left: 1px solid #7991E8;}.ace-ambiance .ace_overwrite-cursors .ace_cursor {border: 1px solid #FFE300;background: #766B13;}.ace-ambiance.normal-mode .ace_cursor-layer {z-index: 0;}.ace-ambiance .ace_marker-layer .ace_selection {background: rgba(221, 240, 255, 0.20);}.ace-ambiance .ace_marker-layer .ace_selected-word {border-radius: 4px;border: 8px solid #3f475d;box-shadow: 0 0 4px black;}.ace-ambiance .ace_marker-layer .ace_step {background: rgb(198, 219, 174);}.ace-ambiance .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgba(255, 255, 255, 0.25);}.ace-ambiance .ace_marker-layer .ace_active-line {background: rgba(255, 255, 255, 0.031);}.ace-ambiance .ace_invisible {color: #333;}.ace-ambiance .ace_paren {color: #24C2C7;}.ace-ambiance .ace_keyword {color: #cda869;}.ace-ambiance .ace_keyword.ace_operator {color: #fa8d6a;}.ace-ambiance .ace_punctuation.ace_operator {color: #fa8d6a;}.ace-ambiance .ace_identifier {}.ace-ambiance .ace-statement {color: #cda869;}.ace-ambiance .ace_constant {color: #CF7EA9;}.ace-ambiance .ace_constant.ace_language {color: #CF7EA9;}.ace-ambiance .ace_constant.ace_library {}.ace-ambiance .ace_constant.ace_numeric {color: #78CF8A;}.ace-ambiance .ace_invalid {text-decoration: underline;}.ace-ambiance .ace_invalid.ace_illegal {color:#F8F8F8;background-color: rgba(86, 45, 86, 0.75);}.ace-ambiance .ace_invalid,.ace-ambiance .ace_deprecated {text-decoration: underline;font-style: italic;color: #D2A8A1;}.ace-ambiance .ace_support {color: #9B859D;}.ace-ambiance .ace_support.ace_function {color: #DAD085;}.ace-ambiance .ace_function.ace_buildin {color: #9b859d;}.ace-ambiance .ace_string {color: #8f9d6a;}.ace-ambiance .ace_string.ace_regexp {color: #DAD085;}.ace-ambiance .ace_comment {font-style: italic;color: #555;}.ace-ambiance .ace_comment.ace_doc {}.ace-ambiance .ace_comment.ace_doc.ace_tag {color: #666;font-style: normal;}.ace-ambiance .ace_definition,.ace-ambiance .ace_type {color: #aac6e3;}.ace-ambiance .ace_variable {color: #9999cc;}.ace-ambiance .ace_variable.ace_language {color: #9b859d;}.ace-ambiance .ace_xml-pe {color: #494949;}.ace-ambiance .ace_gutter-layer,.ace-ambiance .ace_text-layer {background-image: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAQAAAAHUWYVAABFFUlEQVQYGbzBCeDVU/74/6fj9HIcx/FRHx9JCFmzMyGRURhLZIkUsoeRfUjS2FNDtr6WkMhO9sm+S8maJfu+Jcsg+/o/c+Z4z/t97/vezy3z+z8ekGlnYICG/o7gdk+wmSHZ1z4pJItqapjoKXWahm8NmV6eOTbWUOp6/6a/XIg6GQqmenJ2lDHyvCFZ2cBDbmtHA043VFhHwXxClWmeYAdLhV00Bd85go8VmaFCkbVkzlQENzfBDZ5gtN7HwF0KDrTwJ0dypSOzpaKCMwQHKTIreYIxlmhXTzTWkVm+LTynZhiSBT3RZQ7aGfjGEd3qyXQ1FDymqbKxpspERQN2MiRjNZlFFQXfCNFm9nM1zpAsoYjmtRTc5ajwuaXc5xrWskT97RaKzAGe5ARHhVUsDbjKklziiX5WROcJwSNCNI+9w1Jwv4Zb2r7lCMZ4oq5C0EdTx+2GzNuKpJ+iFf38JEWkHJn9DNF7mmBDITrWEg0VWL3pHU20tSZnuqWu+R3BtYa8XxV1HO7GyD32UkOpL/yDloINFTmvtId+nmAjxRw40VMwVKiwrKLE4bK5UOVntYwhOcSSXKrJHKPJedocpGjVz/ZMIbnYUPB10/eKCrs5apqpgVmWzBYWpmtKHecJPjaUuEgRDDaU0oZghCJ6zNMQ5ZhDYx05r5v2muQdM0EILtXUsaKiQX9WMEUotagQzFbUNN6NUPC2nm5pxEWGCjMc3GdJHjSU2kORLK/JGSrkfGEIjncU/CYUnOipoYemwj8tST9NsJmB7TUVXtbUtXATJVZXBMvYeTXJfobgJUPmGMP/yFaWonaa6BcFO3nqcIqCozSZoZoSr1g4zJOzuyGnxTEX3lUEJ7WcZgme8ddaWvWJo2AJR9DZU3CUIbhCSG6ybSwN6qtJVnCU2svDTP2ZInOw2cBTrqtQahtNZn9NcJ4l2NaSmSkkP1noZWnVwkLmdUPOwLZEwy2Z3S3R+4rIG9hcbpPXHFVWcQdZkn2FOta3cKWQnNRC5g1LsJah4GCzSVsKnCOY5OAFRTBekyyryeyilhFKva75r4Mc0aWanGEaThcy31s439KKxTzJYY5WTHPU1FtIHjQU3Oip4xlNzj/lBw23dYZVliQa7WAXf4shetcQfatI+jWRDBPmyNeW6A1P5kdDgyYJlba0BIM8BZu1JfrFwItyjcAMR3K0BWOIrtMEXyhyrlVEx3ui5dUBjmB/Q3CXW85R4mBD0s7B+4q5tKUjOlb9qqmhi5AZ6GFIC5HXtOobdYGlVdMVbNJ8toNTFcHxnoL+muBagcctjWnbNMuR00uI7nQESwg5q2qqrKWIfrNUmeQocY6HuyxJV02wj36w00yhpmUFenv4p6fUkZYqLyuinx2RGOjhCXYyJF84oiU00YMOOhhquNdfbOB7gU88pY4xJO8LVdp6/q2voeB4R04vIdhSE40xZObx1HGGJ/ja0LBthFInKaLPPFzuCaYaoj8JjPME8yoyxo6zlBqkiUZYgq00OYMswbWO5NGmq+xhipxHLRW29ARjNKXO0wRnear8XSg4XFPLKEPUS1GqvyLwiuBUoa7zpZ0l5xxFwWmWZC1H5h5FwU8eQ7K+g8UcVY6TMQreVQT/8uQ8Z+ALIXnSEa2pYZQneE9RZbSBNYXfWYJzW/h/4j4Dp1tYVcFIC5019Vyi4ThPqSFCzjGWaHQTBU8q6vrVwgxP9Lkm840imWKpcLCjYTtrKuwvsKSnrvHCXGkSMk9p6lhckfRpIeis+N2PiszT+mFLspyGleUhDwcLrZqmyeylxwjBcKHEapqkmyangyLZRVOijwOtCY5SsG5zL0OwlCJ4y5KznF3EUNDDrinwiyLZRzOXtlBbK5ITHFGLp8Q0R6ab6mS7enI2cFrxOyHvOCFaT1HThS1krjCwqWeurCkk+willhCC+RSZnRXBiZaC5RXRIZYKp2lyfrHwiKPKR0JDzrdU2EFgpidawlFDR6FgXUMNa+g1FY3bUQh2cLCwosRdnuQTS/S+JVrGLeWIvtQUvONJxlqSQYYKpwoN2kaocLjdVsis4Mk80ESF2YpSkzwldjHkjFCUutI/r+EHDU8oCs6yzL3PhWiEooZdFMkymlas4AcI3KmoMMNSQ3tHzjGWCrcJJdYyZC7QFGwjRL9p+MrRkAGWzIaWCn9W0F3TsK01c2ZvQw0byvxuQU0r1lM0qJO7wW0kRIMdDTtXEdzi4VIh+EoIHm0mWtAtpCixlabgn83fKTI7anJe9ST7WIK1DMGpQmYeA58ImV6ezOGOzK2Kgq01pd60cKWiUi9Lievb/0vIDPHQ05Kzt4ddPckQBQtoaurjyHnek/nKzpQLrVgKPjIkh2v4uyezpv+Xoo7fPFXaGFp1vaLKxQ4uUpQQS5VuQs7BCq4xRJv7fwpVvvFEB3j+620haOuocqMhWd6TTPAEx+mdFNGHdranFe95WrWmIvlY4F1Dle2ECgc6cto7SryuqGGGha0tFQ5V53migUKmg6XKAo4qS3mik+0OZpAhOLeZKicacgaYcyx5hypYQE02ZA4xi/pNhOQxR4klNKyqacj+mpxnLTnnGSo85++3ZCZq6lrZkXlGEX3o+C9FieccJbZWVFjC0Yo1FZnJhoYMFoI1hEZ9r6hwg75HwzBNhbZCdJEfJwTPGzJvaKImw1yYX1HDAmpXR+ZJQ/SmgqMNVQb5vgamGwLtt7VwvP7Qk1xpiM5x5Cyv93E06MZmgs0Nya2azIKOYKCGBQQW97RmhKNKF02JZqHEJ4o58qp7X5EcZmc56trXEqzjCBZ1MFGR87Ql2tSTs6CGxS05PTzRQorkbw7aKoKXFDXsYW42VJih/q+FP2BdTzDTwVqOYB13liM50vG7wy28qagyuIXMeQI/Oqq8bcn5wJI50xH00CRntyfpL1T4hydYpoXgNiFzoIUTDZnLNRzh4TBHwbYGDvZkxmlyJloyr6tRihpeUG94GnKtIznREF0tzJG/OOr73JBcrSh1k6WuTprgLU+mnSGnv6Zge0NNz+kTDdH8nuAuTdJDCNb21LCiIuqlYbqGzT3RAoZofQfjFazkqeNWdYaGvYTM001EW2oKPvVk1ldUGSgUtHFwjKM1h9jnFcmy5lChoLNaQMGGDsYbKixlaMBmmsx1QjCfflwTfO/gckW0ruZ3jugKR3R5W9hGUWqCgxuFgsuaCHorotGKzGaeZB9DMsaTnKCpMtwTvOzhYk0rdrArKCqcaWmVk1+F372ur1YkKxgatI8Qfe1gIX9wE9FgS8ESmuABIXnRUbCapcKe+nO7slClSZFzpV/LkLncEb1qiO42fS3R855Su2mCLh62t1SYZZYVmKwIHjREF2uihTzB20JOkz7dkxzYQnK0UOU494wh+VWRc6Un2kpTaVgLDFEkJ/uhzRcI0YKGgpGWOlocBU/a4fKoJ/pEaNV6jip3+Es9VXY078rGnmAdf7t9ylPXS34RBSuYPs1UecZTU78WanhBCHpZ5sAoTz0LGZKjPf9TRypqWEiTvOFglL1fCEY3wY/++rbk7C8bWebA6p6om6PgOL2kp44TFJlVNBXae2rqqdZztOJpT87GQsE9jqCPIe9VReZuQ/CIgacsyZdCpIScSYqcZk8r+nsyCzhyfhOqHGOIvrLknC8wTpFcaYiGC/RU1NRbUeUpocQOnkRpGOrIOcNRx+1uA0UrzhSSt+VyS3SJpnFWkzNDqOFGIWcfR86DnmARTQ1HKIL33ExPiemeOhYSSjzlSUZZuE4TveoJLnBUOFof6KiysCbnAEcZgcUNTDOwkqWu3RWtmGpZwlHhJENdZ3miGz0lJlsKnjbwqSHQjpxnFDlTLLwqJPMZMjd7KrzkSG7VsxXBZE+F8YZkb01Oe00yyRK9psh5SYh29ySPKBo2ylNht7ZkZnsKenjKNJu9PNEyZpaCHv4Kt6RQsLvAVp7M9kIimmCUwGeWqLMmGuIotYMmWNpSahkhZw9FqZsVnKJhsjAHvtHMsTM9fCI06Dx/u3vfUXCqfsKRc4oFY2jMsoo/7DJDwZ1CsIKnJu+J9ldkpmiCxQx1rWjI+T9FwcWWzOuaYH0Hj7klNRVWEQpmaqosakiGNTFHdjS/qnUdmf0NJW5xsL0HhimCCZZSRzmSPTXJQ4aaztAwtZnoabebJ+htCaZ7Cm535ByoqXKbX1WRc4Eh2MkRXWzImVc96Cj4VdOKVxR84VdQsIUM8Psoou2byVHyZFuq7O8otbSQ2UAoeEWTudATLGSpZzVLlXVkPU2Jc+27lsw2jmg5T5VhbeE3BT083K9WsTTkFU/Osi0rC5lRlpwRHUiesNS0sOvmqGML1aRbPAxTJD9ZKtxuob+hhl8cwYGWpJ8nub7t5p6coYbMovZ1BTdaKn1jYD6h4GFDNFyT/Kqe1XCXphXHOKLZmuRSRdBPEfVUXQzJm5YGPGGJdvAEr7hHNdGZnuBvrpciGmopOLf5N0uVMy0FfYToJk90uUCbJupaVpO53UJXR2bVpoU00V2KOo4zMFrBd0Jtz2pa0clT5Q5L8IpQ177mWQejPMEJhuQjS10ref6HHjdEhy1P1EYR7GtO0uSsKJQYLiTnG1rVScj5lyazpqWGl5uBbRWl7m6ixGOOnEsMJR7z8J0n6KMnCdxhiNYQCoZ6CmYLnO8omC3MkW3bktlPmEt/VQQHejL3+dOE5FlPdK/Mq8hZxxJtLyRrepLThYKbLZxkSb5W52vYxNOaOxUF0yxMUPwBTYqCzy01XayYK0sJyWBLqX0MwU5CzoymRzV0EjjeUeLgDpTo6ij42ZAzvD01dHUUTPLU96MdLbBME8nFBn7zJCMtJcZokn8YoqU0FS5WFKyniHobguMcmW8N0XkWZjkyN3hqOMtS08r+/xTBwpZSZ3qiVRX8SzMHHjfUNFjgHEPmY9PL3ykEzxkSre/1ZD6z/NuznuB0RcE1TWTm9zRgfUWVJiG6yrzgmWPXC8EAR4Wxhlad0ZbgQyEz3pG5RVEwwDJH2mgKpjcTiCOzn1lfUWANFbZ2BA8balnEweJC9J0iuaeZoI+ippFCztEKVvckR2iice1JvhVytrQwUAZpgsubCPaU7xUe9vWnaOpaSBEspalykhC9bUlOMpT42ZHca6hyrqKmw/wMR8H5ZmdFoBVJb03O4UL0tSNnvIeRmkrLWqrs78gcrEn2tpcboh0UPOW3UUR9PMk4T4nnNKWmCjlrefhCwxRNztfmIQVdDElvS4m1/WuOujoZCs5XVOjtKPGokJzsYCtFYoWonSPT21DheU/wWhM19FcElwqNGOsp9Q8N/cwXaiND1MmeL1Q5XROtYYgGeFq1aTMsoMmcrKjQrOFQTQ1fmBYhmW6o8Jkjc7iDJRTBIo5kgJD5yMEYA3srCg7VFKwiVJkmRCc5ohGOKhsYMn/XBLdo5taZjlb9YAlGWRimqbCsoY7HFAXLa5I1HPRxMMsQDHFkWtRNniqT9UEeNjcE7RUlrCJ4R2CSJuqlKHWvJXjAUNcITYkenuBRB84TbeepcqTj3zZyFJzgYQdHnqfgI0ddUwS6GqWpsKWhjq9cV0vBAEMN2znq+EBfIWT+pClYw5xsTlJU6GeIBsjGmmANTzJZiIYpgrM0Oa8ZMjd7NP87jxhqGOhJlnQtjuQpB+8aEE00wZFznSJPyHxgH3HkPOsJFvYk8zqCHzTs1BYOa4J3PFU+UVRZxlHDM4YavlNUuMoRveiZA2d7grMNc2g+RbSCEKzmgYsUmWmazFJyoiOZ4KnyhKOGRzWJa0+moyV4TVHDzn51Awtqaphfk/lRQ08FX1iiqxTB/kLwd0VynKfEvI6cd4XMV5bMhZ7gZUWVzYQ6Nm2BYzxJbw3bGthEUUMfgbGeorae6DxHtJoZ6alhZ0+ytiVoK1R4z5PTrOECT/SugseEOlb1MMNR4VRNcJy+V1Hg9ONClSZFZjdHlc6W6FBLdJja2MC5hhpu0DBYEY1TFGwiFAxRRCsYkiM9JRb0JNMVkW6CZYT/2EiTGWmo8k+h4FhDNE7BvppoTSFnmCV5xZKzvcCdDo7VVPnIU+I+Rc68juApC90MwcFCsJ5hDqxgScYKreruyQwTqrzoqDCmhWi4IbhB0Yrt3RGa6GfDv52rKXWhh28dyZaWUvcZeMTBaZoSGyiCtRU5J8iviioHaErs7Jkj61syVzTTgOcUOQ8buFBTYWdL5g3T4qlpe0+wvD63heAXRfCCIed9RbCsp2CiI7raUOYOTU13N8PNHvpaGvayo4a3LLT1lDrVEPT2zLUlheB1R+ZTRfKWJ+dcocLJfi11vyJ51lLqJ0WD7tRwryezjiV5W28uJO9qykzX8JDe2lHl/9oyBwa2UMfOngpXCixvKdXTk3wrsKmiVYdZIqsoWEERjbcUNDuiaQomGoIbFdEHmsyWnuR+IeriKDVLnlawlyNHKwKlSU631PKep8J4Q+ayjkSLKYLhalNHlYvttb6fHm0p6OApsZ4l2VfdqZkjuysy6ysKLlckf1KUutCTs39bmCgEyyoasIWlVaMF7mgmWtBT8Kol5xpH9IGllo8cJdopcvZ2sImlDmMIbtDk3KIpeNiS08lQw11NFPTwVFlPP6pJ2gvRfI7gQUfmNAtf6Gs0wQxDsKGlVBdF8rCa3jzdwMaGHOsItrZk7hAyOzpK9VS06j5F49b0VNGOOfKs3lDToMsMBe9ZWtHFEgxTJLs7qrygKZjUnmCYoeAqeU6jqWuLJup4WghOdvCYJnrSkSzoyRkm5M2StQwVltPkfCAk58tET/CSg+8MUecmotMEnhBKfWBIZsg2ihruMJQaoIm+tkTLKEqspMh00w95gvFCQRtDwTT1gVDDSEVdlwqZfxoQRbK0g+tbiBZxzKlpnpypejdDwTaeOvorMk/IJE10h9CqRe28hhLbe0pMsdSwv4ZbhKivo2BjDWfL8UKJgeavwlwb5KlwhyE4u4XkGE2ytZCznKLCDZZq42VzT8HLCrpruFbIfOIINmh/qCdZ1ZBc65kLHR1Bkyf5zn6pN3SvGKIlFNGplhrO9QSXanLOMQTLCa0YJCRrCZm/CZmrLTm7WzCK4GJDiWUdFeYx1LCFg3NMd0XmCuF3Y5rITLDUsYS9zoHVzwnJoYpSTQoObyEzr4cFBNqYTopoaU/wkyLZ2lPhX/5Y95ulxGTV7KjhWrOZgl8MyUUafjYraNjNU1N3IWcjT5WzWqjwtoarHSUObGYO3GCJZpsBlnJGPd6ZYLyl1GdCA2625IwwJDP8GUKymbzuyPlZlvTUsaUh5zFDhRWFzPKKZLAlWdcQbObgF9tOqOsmB1dqcqYJmWstFbZRRI9poolmqiLnU0POvxScpah2iSL5UJNzgScY5+AuIbpO0YD3NCW+dLMszFSdFCWGqG6eVq2uYVNDdICGD6W7EPRWZEY5gpsE9rUkS3mijzzJnm6UpUFXG1hCUeVoS5WfNcFpblELL2qqrCvMvRfd45oalvKU2tiQ6ePJOVMRXase9iTtLJztPxJKLWpo2CRDcJwn2sWSLKIO1WQWNTCvpVUvOZhgSC40JD0dOctaSqzkCRbXsKlb11Oip6PCJ0IwSJM31j3akRxlP7Rwn6aGaUL0qiLnJkvB3xWZ2+Q1TfCwpQH3G0o92UzmX4o/oJNQMMSQc547wVHhdk+VCw01DFYEnTxzZKAm74QmeNNR1w6WzEhNK15VJzuCdxQ53dRUDws5KvwgBMOEgpcVNe0hZI6RXT1Jd0cyj5nsaEAHgVmGaJIlWdsc5Ui2ElrRR6jrRAttNMEAIWrTDFubkZaok7/AkzfIwfuWVq0jHzuCK4QabtLUMVPB3kJ0oyHTSVFlqMALilJf2Rf8k5aaHtMfayocLBS8L89oKoxpJvnAkDPa0qp5DAUTHKWmCcnthlou8iCKaFFLHWcINd1nyIwXqrSxMNmSs6KmoL2QrKuWtlQ5V0120xQ5vRyZS1rgFkWwhiOwiuQbR0OOVhQM9iS3tiXp4RawRPMp5tDletOOBL95MpM01dZTBM9pkn5qF010rIeHFcFZhmSGpYpTsI6nwhqe5C9ynhlpp5ophuRb6WcJFldkVnVEwwxVfrVkvnWUuNLCg5bgboFHPDlDPDmnK7hUrWiIbjadDclujlZcaokOFup4Ri1kacV6jmrrK1hN9bGwpKEBQ4Q6DvIUXOmo6U5LqQM6EPyiKNjVkPnJkDPNEaxhiFay5ExW1NXVUGqcpYYdPcGiCq7z/TSlbhL4pplWXKd7NZO5QQFrefhRQW/NHOsqcIglc4UhWklR8K0QzbAw08CBDnpbgqXdeD/QUsM4RZXDFBW6WJKe/mFPdH0LtBgiq57wFLzlyQzz82qYx5D5WJP5yVJDW01BfyHnS6HKO/reZqId1WGa4Hkh2kWodJ8i6KoIPlAj2hPt76CzXsVR6koPRzWTfKqIentatYpQw2me4AA3y1Kind3SwoOKZDcFXTwl9tWU6mfgRk9d71sKtlNwrjnYw5tC5n5LdKiGry3JKNlHEd3oaMCFHrazBPMp/uNJ+V7IudcSbeOIdjUEdwl0VHCOZo5t6YluEuaC9mQeMgSfOyKnYGFHcIeQ84yQWbuJYJpZw5CzglDH7gKnWqqM9ZTaXcN0TeYhR84eQtJT76JJ1lREe7WnnvsMmRc9FQ7SBBM9mV3lCUdmHk/S2RAMt0QjFNFqQpWjDPQ01DXWUdDBkXziKPjGEP3VP+zIWU2t7im41FOloyWzn/L6dkUy3VLDaZ6appgDLHPjJEsyvJngWEPUyVBiAaHCTEXwrLvSEbV1e1gKJniicWorC1MUrVjB3uDhJE/wgSOzk1DXpk0k73qCM8xw2UvD5kJmDUfOomqMpWCkJRlvKXGmoeBm18USjVIk04SClxTB6YrgLAPLWYK9HLUt5cmc0vYES8GnTeRc6skZbQkWdxRsIcyBRzx1DbTk9FbU0caTPOgJHhJKnOGIVhQqvKmo0llRw9sabrZkDtdg3PqaKi9oatjY8B+G371paMg6+mZFNNtQ04mWBq3rYLOmtWWQp8KJnpy9DdFensyjdqZ+yY40VJlH8wcdLzC8PZnvHMFUTZUrDTkLyQaGus5X5LzpYAf3i+e/ZlhqGqWhh6Ou6xTR9Z6oi5AZZtp7Mj2EEm8oSpxiYZCHU/1fbGdNNNRRoZMhmilEb2gqHOEJDtXkHK/JnG6IrvbPCwV3NhONVdS1thBMs1T4QOBcTWa2IzhMk2nW5Kyn9tXUtpv9RsG2msxk+ZsQzRQacJncpgke0+T8y5Fzj8BiGo7XlJjaTIlpQs7KFjpqGnKuoyEPeIKnFMkZHvopgh81ySxNFWvJWcKRs70j2FOT012IllEEO1n4pD1513Yg2ssQPOThOkvyrqHUdEXOSEsihmBbTbKX1kLBPWqWkLOqJbjB3GBIZmoa8qWl4CG/iZ7oiA72ZL7TJNeZUY7kFQftDcHHluBzRbCegzMtrRjVQpX2lgoPKKLJAkcbMl01XK2p7yhL8pCBbQ3BN2avJgKvttcrWDK3CiUOVxQ8ZP+pqXKyIxnmBymCg5vJjNfkPK4+c8cIfK8ocVt7kmfd/I5SR1hKvCzUtb+lhgc00ZaO6CyhIQP1Uv4yIZjload72PXX0OIJvnFU+0Zf6MhsJwTfW0r0UwQfW4LNLZl5HK261JCZ4qnBaAreVAS3WrjV0LBnNDUNNDToCEeFfwgcb4gOEqLRhirWkexrCEYKVV711DLYEE1XBEsp5tpTGjorkomKYF9FDXv7fR3BGwbettSxnyL53MBPjsxDZjMh+VUW9NRxq1DhVk+FSxQcaGjV9Pawv6eGByw5qzoy7xk4RsOShqjJwWKe/1pEEfzkobeD/dQJmpqedcyBTy2sr4nGNRH0c0SPWTLrqAc0OQcb/gemKgqucQT7ySWKCn2EUotoCvpZct7RO2sy/QW0IWcXd7pQRQyZVwT2USRO87uhjioTLKV2brpMUcMQRbKH/N2T+UlTpaMls6cmc6CCNy3JdYYSUzzJQ4oSD3oKLncULOiJvjBEC2oqnCJkJluCYy2ZQ5so9YYlZ1VLlQU1mXEW1jZERwj/MUSRc24TdexlqLKfQBtDTScJUV8FszXBEY5ktpD5Ur9hYB4Nb1iikw3JoYpkKX+RodRKFt53MMuRnKSpY31PwYaGaILh3wxJGz9TkTPEETxoCWZrgvOlmyMzxFEwVJE5xZKzvyJ4WxEc16Gd4Xe3Weq4XH2jKRikqOkGQ87hQnC7wBmGYLAnesX3M+S87eFATauuN+Qcrh7xIxXJbUIdMw3JGE3ylCWzrieaqCn4zhGM19TQ3z1oH1AX+pWEqIc7wNGAkULBo/ZxRaV9NNyh4Br3rCHZzbzmSfawBL0dNRwpW1kK9mxPXR9povcdrGSZK9c2k0xwFGzjuniCtRSZCZ6ccZ7gaktmgAOtKbG/JnOkJrjcQTdFMsxRQ2cLY3WTIrlCw1eWKn8R6pvt4GFDso3QoL4a3nLk3G6JrtME3dSenpx7PNFTmga0EaJTLQ061sEeQoWXhSo9LTXsaSjoJQRXeZLtDclbCrYzfzHHeaKjHCVOUkQHO3JeEepr56mhiyaYYKjjNU+Fed1wS5VlhWSqI/hYUdDOkaxiKehoyOnrCV5yBHtbWFqTHCCwtpDcYolesVR5yUzTZBb3RNMd0d6WP+SvhuBmRcGxnuQzT95IC285cr41cLGQ6aJJhmi4TMGempxeimBRQw1tFKV+8jd6KuzoSTqqDxzRtpZkurvKEHxlqXKRIjjfUNNXQsNOsRScoWFLT+YeRZVD3GRN0MdQcKqQjHDMrdGGVu3iYJpQx3WGUvfbmxwFfR20WBq0oYY7LMFhhgYtr8jpaEnaOzjawWWaTP8mMr0t/EPDPoqcnxTBI5o58L7uoWnMrpoqPwgVrlAUWE+V+TQl9rawoyP6QGAlQw2TPRX+YSkxyBC8Z6jhHkXBgQL7WII3DVFnRfCrBfxewv9D6xsyjys4VkhWb9pUU627JllV0YDNHMku/ldNMMXDEo4aFnAkk4U6frNEU4XgZUPmEKHUl44KrzmYamjAbh0JFvGnaTLPu1s9jPCwjFpYiN7z1DTOk/nc07CfDFzmCf7i+bfNHXhDtLeBXzTBT5rkMvWOIxpl4EMh2LGJBu2syDnAEx2naEhHDWMMzPZEhygyS1mS5RTJr5ZkoKbEUoYqr2kqdDUE8ztK7OaIntJkFrIECwv8LJTaVx5XJE86go8dFeZ3FN3rjabCAYpoYEeC9zzJVULBbmZhDyd7ko09ydpNZ3nm2Kee4FPPXHnYEF1nqOFEC08LUVcDvYXkJHW8gTaKCk9YGOeIJhqiE4ToPEepdp7IWFjdwnWaufGMwJJCMtUTTBBK9BGCOy2tGGrJTHIwyEOzp6aPzNMOtlZkDvcEWpP5SVNhfkvDxhmSazTJXYrM9U1E0xwFVwqZQwzJxw6+kGGGUj2FglGGmnb1/G51udRSMNlTw6GGnCcUwVcOpmsqTHa06o72sw1RL02p9z0VbnMLOaIX3QKaYKSCFQzBKEUNHTSc48k53RH9wxGMtpQa5KjjW0W0n6XCCCG4yxNNdhQ4R4l1Ff+2sSd6UFHiIEOyqqFgT01mEUMD+joy75jPhOA+oVVLm309FR4yVOlp4RhLiScNmSmaYF5Pw0STrOIoWMSR2UkRXOMp+M4SHW8o8Zoi6OZgjKOaFar8zZDzkWzvKOjkKBjmCXby8JahhjXULY4KlzgKLvAwxVGhvyd4zxB1d9T0piazmKLCVZY5sKiD0y2ZSYrkUEPUbIk+dlQ4SJHTR50k1DPaUWIdTZW9NJwnJMOECgd7ou/MnppMJ02O1VT4Wsh85MnZzcFTngpXGKo84qmwgKbCL/orR/SzJ2crA+t6Mp94KvxJUeIbT3CQu1uIdlQEOzlKfS3UMcrTiFmOuroocrZrT2AcmamOKg8YomeEKm/rlT2sociMaybaUlFhuqHCM2qIJ+rg4EcDFymiDSxzaHdPcpE62pD5kyM5SBMoA1PaUtfIthS85ig1VPiPPYXgYEMNk4Qq7TXBgo7oT57gPUdwgCHzhIVFPFU6OYJzHAX9m5oNrVjeE61miDrqQ4VSa1oiURTsKHC0IfjNwU2WzK6eqK8jWln4g15TVBnqmDteCJ501PGAocJhhqjZdtBEB6lnhLreFJKxmlKbeGrqLiSThVIbCdGzloasa6lpMQXHCME2boLpJgT7yWaemu6wBONbqGNVRS0PKIL7LckbjmQtR7K8I5qtqel+T/ChJTNIKLjdUMNIRyvOEko9YYl2cwQveBikCNawJKcLBbc7+JM92mysNvd/Fqp8a0k6CNEe7cnZrxlW0wQXaXjaktnRwNOGZKYiONwS7a1JVheq3WgJHlQUGKHKmp4KAxXR/ULURcNgoa4zhKSLpZR3kxRRb0NmD0OFn+UCS7CzI1nbP6+o4x47QZE5xRCt3ZagnYcvmpYQktXdk5YKXTzBC57kKEe0VVuiSYqapssMS3C9p2CKkHOg8B8Pa8p5atrIw3qezIWanMGa5HRDNF6RM9wcacl0N+Q8Z8hsIkSnaIIdHRUOEebAPy1zbCkhM062FCJtif7PU+UtoVXzWKqM1PxXO8cfdruhFQ/a6x3JKYagvVDhQEtNiyiiSQ7OsuRsZUku0CRNDs4Sog6KKjsZgk2bYJqijgsEenoKeniinRXBn/U3lgpPdyDZynQx8IiioMnCep5Ky8mjGs6Wty0l1hUQTcNWswS3WRp2kCNZwJG8omG8JphPUaFbC8lEfabwP7VtM9yoaNCAjpR41VNhrD9LkbN722v0CoZMByFzhaW+MyzRYEWFDQwN2M4/JiT76PuljT3VU/A36eaIThb+R9oZGOAJ9tewkgGvqOMNRWYjT/Cwu99Q8LqDE4TgbLWxJ1jaDDAERsFOFrobgjUsBScaguXU8kKm2RL19tRypSHnHNlHiIZqgufs4opgQdVdwxBNNFBR6kVFqb8ogimOzB6a6HTzrlDHEpYaxjiiA4TMQobkDg2vejjfwJGWmnbVFAw3H3hq2NyQfG7hz4aC+w3BbwbesG0swYayvpAs6++Ri1Vfzx93mFChvyN5xVHTS+0p9aqCAxyZ6ZacZyw5+7uuQkFPR9DDk9NOiE7X1PCYJVjVUqq7JlrHwWALF5nfHNGjApdpqgzx5OwilDhCiDYTgnc9waGW4BdLNNUQvOtpzDOWHDH8D7TR/A/85KljEQu3NREc4Pl/6B1Hhc8Umb5CsKMmGC9EPcxoT2amwHNCmeOEnOPbklnMkbOgIvO5UMOpQrS9UGVdt6iH/fURjhI/WOpaW9OKLYRod6HCUEdOX000wpDZQ6hwg6LgZfOqo1RfT/CrJzjekXOGhpc1VW71ZLbXyyp+93ILbC1kPtIEYx0FIx1VDrLoVzXRKRYWk809yYlC9ImcrinxtabKnzRJk3lAU1OLEN1j2zrYzr2myHRXJFf4h4QKT1qSTzTB5+ZNTzTRkAxX8FcLV2uS8eoQQ2aAkFzvCM72sJIcJET3WPjRk5wi32uSS9rfZajpWEvj9hW42F4o5NytSXYy8IKHay10VYdrcl4SkqscrXpMwyGOgtkajheSxdQqmpxP1L3t4R5PqasFnrQEjytq6qgp9Y09Qx9o4S1FzhUCn1kyHSzBWLemoSGvOqLNhZyBjmCaAUYpMgt4Ck7wBBMMwWKWgjsUwTaGVsxWC1mYoKiyqqeGKYqonSIRQ3KIkHO0pmAxTdBHkbOvfllfr+AA+7gnc50huVKYK393FOyg7rbPO/izI7hE4CnHHHnJ0ogNPRUGeUpsrZZTBJcrovUcJe51BPsr6GkJdhCCsZ6aTtMEb2pqWkqeVtDXE/QVggsU/Nl86d9RMF3DxvZTA58agu810RWawCiSzzXBeU3MMW9oyJUedvNEvQyNu1f10BSMddR1vaLCYpYa/mGocLSiYDcLbQz8aMn5iyF4xBNMs1P0QEOV7o5gaWGuzSeLue4tt3ro7y4Tgm4G/mopdZgl6q0o6KzJWE3mMksNr3r+a6CbT8g5wZNzT9O7fi/zpaOmnz3BRoqos+tv9zMbdpxsqDBOEewtJLt7cg5wtKKbvldpSzRRCD43VFheCI7yZLppggMVBS/KMAdHODJvOwq2NQSbKKKPLdFWQs7Fqo+mpl01JXYRgq8dnGLhTiFzqmWsUMdpllZdbKlyvSdYxhI9YghOtxR8LgSLWHK62mGGVoxzBE8LNWzqH9CUesQzFy5RQzTc56mhi6fgXEWwpKfE5Z7M05ZgZUPmo6auiv8YKzDYwWBLMErIbKHJvOwIrvEdhOBcQ9JdU1NHQ7CXn2XIDFBKU2WAgcX9UAUzDXWd5alwuyJ41Z9rjKLCL4aCp4WarhPm2rH+SaHUYE001JDZ2ZAzXPjdMpZWvC9wmqIB2lLhQ01D5jO06hghWMndbM7yRJMsoCj1vYbnFQVrW9jak3OlEJ3s/96+p33dEPRV5GxiqaGjIthUU6FFEZyqCa5qJrpBdzSw95IUnOPIrCUUjRZQFrbw5PR0R1qiYx3cb6nrWUMrBmmiBQxVHtTew5ICP/ip6g4hed/Akob/32wvBHsIOX83cI8hGeNeNPCIkPmXe8fPKx84OMSRM1MTdXSwjCZ4S30jVGhvqTRak/OVhgGazHuOCud5onEO1lJr6ecVyaOK6H7zqlBlIaHE0oroCgfvGJIdPcmfLNGLjpz7hZwZQpUbFME0A1cIJa7VNORkgfsMBatbKgwwJM9bSvQXeNOvbIjelg6WWvo5kvbKaJJNHexkKNHL9xRyFlH8Ti2riB5wVPhUk7nGkJnoCe428LR/wRGdYIlmWebCyxou1rCk4g/ShugBDX0V0ZQWkh0dOVsagkM0yV6OoLd5ye+pRlsCr0n+KiQrGuq5yJDzrTAXHtLUMduTDBVKrSm3eHL+6ijxhFDX9Z5gVU/wliHYTMiMFpKLNMEywu80wd3meoFmt6VbRMPenhrOc6DVe4pgXU8DnnHakLOIIrlF4FZPIw6R+zxBP0dyq6OOZ4Q5sLKCcz084ok+VsMMyQhNZmmBgX5xIXOEJTmi7VsGTvMTNdHHhpzdbE8Du2oKxgvBqQKdDDnTFOylCFaxR1syz2iqrOI/FEpNc3C6f11/7+ASS6l2inq2ciTrCCzgyemrCL5SVPjQkdPZUmGy2c9Sw9FtR1sS30RmsKPCS4rkIC/2U0MduwucYolGaPjKEyhzmiPYXagyWbYz8LWBDdzRimAXzxx4z8K9hpzlhLq+NiQ97HuKorMUfK/OVvC2JfiHUPCQI/q7J2gjK+tTDNxkCc4TMssqCs4TGtLVwQihyoAWgj9bosU80XGW6Ac9TJGziaUh5+hnFcHOnlaM1iRn29NaqGENTTTSUHCH2tWTeV0osUhH6psuVLjRUmGWhm6OZEshGeNowABHcJ2Bpy2ZszRcKkRXd2QuKVEeXnbfaEq825FguqfgfE2whlChSRMdron+LATTPQ2Z369t4B9C5gs/ylzv+CMmepIDPclFQl13W0rspPd1JOcbghGOEutqCv5qacURQl3dDKyvyJlqKXGPgcM9FfawJAMVmdcspcYKOZc4GjDYkFlK05olNMHyHn4zFNykyOxt99RkHlfwmiHo60l2EKI+mhreEKp080Tbug08BVPcgoqC5zWt+NLDTZ7oNSF51N1qie7Va3uCCwyZbkINf/NED6jzOsBdZjFN8oqG3wxVunqCSYYKf3EdhJyf9YWGf7tRU2oH3VHgPr1fe5J9hOgHd7xQ0y7qBwXr23aGErP0cm64JVjZwsOGqL+mhNgZmhJLW2oY4UhedsyBgzrCKrq7BmcpNVhR6jBPq64Vgi+kn6XE68pp8J5/+0wRHGOpsKenQn9DZntPzjRLZpDAdD2fnSgkG9tmIXnUwQ6WVighs7Yi2MxQ0N3CqYaCXkJ0oyOztMDJjmSSpcpvlrk0RMMOjmArQ04PRV1DO1FwhCVaUVPpKUM03JK5SxPsIWRu8/CGHi8UHChiqGFDTbSRJWeYUDDcH6vJWUxR4k1FXbMUwV6e4AJFXS8oMqsZKqzvYQ9DDQdZckY4aGsIhtlubbd2r3j4QBMoTamdPZk7O/Bf62lacZwneNjQoGcdVU7zJOd7ghsUHOkosagic6cnWc8+4gg285R6zZP5s1/LUbCKIznTwK36PkdwlOrl4U1LwfdCCa+IrvFkmgw1PCAUXKWo0sURXWcI2muKJlgyFzhynCY4RBOsqCjoI1R5zREco0n2Vt09BQtYSizgKNHfUmUrQ5UOCh51BFcLmY7umhYqXKQomOop8bUnWNNQcIiBcYaC6xzMNOS8JQQfeqKBmmglB+97ok/lfk3ygaHSyZaCRTzRxQo6GzLfa2jWBPepw+UmT7SQEJyiyRkhBLMVOfcoMjcK0eZChfUNzFAUzCsEN5vP/X1uP/n/aoMX+K+nw/Hjr/9xOo7j7Pju61tLcgvJpTWXNbfN5jLpi6VfCOviTktKlFusQixdEKWmEBUKNaIpjZRSSOXSgzaaKLdabrm1/9nZ+/f+vd/vz/v9+Xy+zZ7PRorYoZqyLrCwQdEAixxVOEXNNnjX2nUSRlkqGmWowk8lxR50JPy9Bo6qJXaXwNvREBvnThPEPrewryLhcAnj5WE15Fqi8W7R1sAuEu86S4ENikItFN4xkv9Af4nXSnUVcLiA9xzesFpivRRVeFKtsMRaKBhuSbjOELnAUtlSQUpXgdfB4Z1oSbnFEetbQ0IrAe+Y+pqnDcEJFj6S8LDZzZHwY4e3XONNlARraomNEt2bkvGsosA3ioyHm+6jCMbI59wqt4eeara28IzEmyPgoRaUOEDhTVdEJhmCoTWfC0p8aNkCp0oYqih2iqGi4yXeMkOsn4LdLLnmKfh/YogjNsPebeFGR4m9BJHLzB61XQ3BtpISfS2FugsK9FAtLWX1dCRcrCnUp44CNzuCowUZmxSRgYaE6Za0W2u/E7CVXCiI/UOR8aAm1+OSyE3mOUcwyc1zBBeoX1kiKy0Zfxck1Gsyulti11i83QTBF5Kg3pDQThFMVHiPSlK+0cSedng/VaS8bOZbtsBcTcZAR8JP5KeqQ1OYKAi20njdNNRpgnsU//K+JnaXJaGTomr7aYIphoRn9aeShJWKEq9LcozSF7QleEfDI5LYm5bgVkFkRwVDBCVu0DDIkGupo8TZBq+/pMQURYErJQmPKGKjNDkWOLx7Jd5QizdUweIaKrlP7SwJDhZvONjLkOsBBX9UpGxnydhXkfBLQ8IxgojQbLFnJf81JytSljclYYyEFyx0kVBvKWOFJmONpshGAcsduQY5giVNCV51eOdJYo/pLhbvM0uDHSevNKRcrKZIqnCtJeEsO95RoqcgGK4ocZcho1tTYtcZvH41pNQ7vA0WrhIfOSraIIntIAi+NXWCErdbkvrWwjRLrt0NKUdL6KSOscTOdMSOUtBHwL6OLA0vNSdynaWQEnCpIvKaIrJJEbvHkmuNhn6OjM8VkSGSqn1uYJCGHnq9I3aLhNME3t6GjIkO7xrNFumpyTNX/NrwX7CrIRiqqWijI9JO4d1iieykyfiposQIQ8YjjsjlBh6oHWbwRjgYJQn2NgSnNycmJAk3NiXhx44Sxykihxm8ybUwT1OVKySc7vi3OXVkdBJ4AyXBeksDXG0IhgtYY0lY5ahCD0ehborIk5aUWRJviMA7Xt5kyRjonrXENkm8yYqgs8VzgrJmClK20uMM3jRJ0FiQICQF9hdETlLQWRIb5ki6WDfWRPobvO6a4GP5mcOrNzDFELtTkONLh9dXE8xypEg7z8A9jkhrQ6Fhjlg/QVktJXxt4WXzT/03Q8IaQWSqIuEvloQ2mqC9Jfi7wRul4RX3pSPlzpoVlmCtI2jvKHCFhjcM3sN6lqF6HxnKelLjXWbwrpR4xzuCrTUZx2qq9oAh8p6ixCUGr78g8oyjRAtB5CZFwi80VerVpI0h+IeBxa6Zg6kWvpDHaioYYuEsRbDC3eOmC2JvGYLeioxGknL2UATNJN6hmtj1DlpLvDVmocYbrGCVJKOrg4X6DgddLA203BKMFngdJJFtFd7vJLm6KEpc5yjQrkk7M80SGe34X24nSex1Ra5Omgb71JKyg8SrU3i/kARKwWpH0kOGhKkObyfd0ZGjvyXlAkVZ4xRbYJ2irFMkFY1SwyWxr2oo4zlNiV+7zmaweFpT4kR3kaDAFW6xpSqzJay05FtYR4HmZhc9UxKbbfF2V8RG1MBmSaE+kmC6JnaRXK9gsiXhJHl/U0qM0WTcbyhwkYIvFGwjSbjfwhiJt8ZSQU+Bd5+marPMOkVkD0muxYLIfEuhh60x/J92itguihJSEMySVPQnTewnEm+620rTQEMsOfo4/kP/0ARvWjitlpSX7GxBgcMEsd3EEeYWvdytd+Saawi6aCIj1CkGb6Aj9rwhx16Cf3vAwFy5pyLhVonXzy51FDpdEblbkdJbUcEPDEFzQ8qNmhzzLTmmKWKbFCXeEuRabp6rxbvAtLF442QjQ+wEA9eL1xSR7Q0JXzlSHjJ4exq89yR0laScJ/FW6z4a73pFMEfDiRZvuvijIt86RaSFOl01riV2mD1UEvxGk/Geg5aWwGki1zgKPG9J2U8PEg8qYvMsZeytiTRXBMslCU8JSlxi8EabjwUldlDNLfzTUmCgxWsjqWCOHavYAqsknKFIO0yQ61VL5AVFxk6WhEaCAkdJgt9aSkzXlKNX2jEa79waYuc7gq0N3GDJGCBhoiTXUEPsdknCUE1CK0fwsiaylSF2uiDyO4XX3pFhNd7R4itFGc0k/ElBZwWvq+GC6szVeEoS/MZ+qylwpKNKv9Z469UOjqCjwlusicyTxG6VpNxcQ8IncoR4RhLbR+NdpGGmJWOcIzJGUuKPGpQg8rrG21dOMqQssJQ4RxH5jaUqnZuQ0F4Q+cjxLwPtpZbIAk3QTJHQWBE5S1BokoVtDd6lhqr9UpHSUxMcIYl9pojsb8h4SBOsMQcqvOWC2E8EVehqiJ1hrrAEbQxeK0NGZ0Gkq+guSRgniM23bIHVkqwx4hiHd7smaOyglyIyQuM978j4VS08J/A2G1KeMBRo4fBaSNhKUEZfQewVQ/C1I+MgfbEleEzCUw7mKXI0M3hd1EESVji8x5uQ41nxs1q4RMJCCXs7Iq9acpxn22oSDnQ/sJTxsCbHIYZiLyhY05TY0ZLIOQrGaSJDDN4t8pVaIrsqqFdEegtizc1iTew5Q4ayBDMUsQMkXocaYkc0hZua412siZ1rSXlR460zRJ5SlHGe5j801RLMlJTxtaOM3Q1pvxJ45zUlWFD7rsAbpfEm1JHxG0eh8w2R7QQVzBUw28FhFp5QZzq8t2rx2joqulYTWSuJdTYfWwqMFMcovFmSyJPNyLhE4E10pHzYjOC3huArRa571ZsGajQpQx38SBP5pyZB6lMU3khDnp0MBV51BE9o2E+TY5Ml2E8S7C0o6w1xvCZjf0HkVEHCzFoyNmqC+9wdcqN+Tp7jSDheE9ws8Y5V0NJCn2bk2tqSY4okdrEhx1iDN8cSudwepWmAGXKcJXK65H9to8jYQRH7SBF01ESUJdd0TayVInaWhLkOjlXE5irKGOnI6GSWGCJa482zBI9rCr0jyTVcEuzriC1vcr6mwFGSiqy5zMwxBH/TJHwjSPhL8+01kaaSUuMFKTcLEvaUePcrSmwn8DZrgikWb7CGPxkSjhQwrRk57tctmxLsb9sZvL9LSlyuSLlWkqOjwduo8b6Uv1DkmudIeFF2dHCgxVtk8dpIvHpBxhEOdhKk7OLIUSdJ+cSRY57B+0DgGUUlNfpthTfGkauzxrvTsUUaCVhlKeteTXCoJDCa2NOKhOmC4G1H8JBd4OBZReSRGkqcb/CO1PyLJTLB4j1q8JYaIutEjSLX8YKM+a6phdMsdLFUoV5RTm9JSkuDN8WcIon0NZMNZWh1q8C7SJEwV5HxrmnnTrf3KoJBlmCYI2ilSLlfEvlE4011NNgjgthzEua0oKK7JLE7HZHlEl60BLMVFewg4EWNt0ThrVNEVkkiTwpKXSWJzdRENgvKGq4IhjsiezgSFtsfCUq8qki5S1LRQeYQQ4nemmCkImWMw3tFUoUBZk4NOeZYEp4XRKTGa6wJjrWNHBVJR4m3FCnbuD6aak2WsMTh3SZImGCIPKNgsDpVwnsa70K31lCFJZYcwwSMFcQulGTsZuEaSdBXkPGZhu0FsdUO73RHjq8MPGGIfaGIbVTk6iuI3GFgucHrIQkmWSJdBd7BBu+uOryWAhY7+Lki9rK5wtEQzWwvtbqGhIMFwWRJsElsY4m9IIg9L6lCX0VklaPAYkfkZEGDnOWowlBJjtMUkcGK4Lg6EtoZInMUBVYLgn0UsdmCyCz7gIGHFfk+k1QwTh5We7A9x+IdJ6CvIkEagms0hR50eH9UnTQJ+2oiKyVlLFUE+8gBGu8MQ3CppUHesnjTHN4QB/UGPhCTHLFPHMFrCqa73gqObUJGa03wgbhHkrCfpEpzNLE7JDS25FMKhlhKKWKfCgqstLCPu1zBXy0J2ztwjtixBu8UTRn9LVtkmCN2iyFhtME70JHRQ1KVZXqKI/KNIKYMCYs1GUMEKbM1bKOI9LDXC7zbHS+bt+1MTWS9odA9DtrYtpbImQJ2VHh/lisEwaHqUk1kjKTAKknkBEXkbkdMGwq0dnhzLJF3NJH3JVwrqOB4Sca2hti75nmJN0WzxS6UxDYoEpxpa4htVlRjkYE7DZGzJVU72uC9IyhQL4i8YfGWSYLLNcHXloyz7QhNifmKSE9JgfGmuyLhc403Xm9vqcp6gXe3xuuv8F6VJNxkyTHEkHG2g0aKXL0MsXc1bGfgas2//dCONXiNLCX+5mB7eZIl1kHh7ajwpikyzlUUWOVOsjSQlsS+M0R+pPje/dzBXRZGO0rMtgQrLLG9VSu9n6CMXS3BhwYmSoIBhsjNBmZbgusE9BCPCP5triU4VhNbJfE+swSP27aayE8tuTpYYjtrYjMVGZdp2NpS1s6aBnKSHDsbKuplKbHM4a0wMFd/5/DmGyKrJSUaW4IBrqUhx0vyfzTBBLPIUcnZdrAkNsKR0sWRspumSns6Ch0v/qqIbBYUWKvPU/CFoyrDJGwSNFhbA/MlzKqjrO80hRbpKx0Jewsi/STftwGSlKc1JZyAzx05dhLEdnfQvhZOqiHWWEAHC7+30FuRcZUgaO5gpaIK+xsiHRUsqaPElTV40xQZQ107Q9BZE1nryDVGU9ZSQ47bmhBpLcYpUt7S+xuK/FiT8qKjwXYw5ypS2iuCv7q1gtgjhuBuB8LCFY5cUuCNtsQOFcT+4Ih9JX+k8Ea6v0iCIRZOtCT0Et00JW5UeC85Cg0ScK0k411HcG1zKtre3SeITBRk7WfwDhEvaYLTHP9le0m8By0JDwn4TlLW/aJOvGHxdjYUes+ScZigCkYQdNdEOhkiezgShqkx8ueKjI8lDfK2oNiOFvrZH1hS+tk7NV7nOmLHicGWEgubkXKdwdtZknCLJXaCpkrjZBtLZFsDP9CdxWsSr05Sxl6CMmoFbCOgryX40uDtamB7SVmXW4Ihlgpmq+00tBKUUa83WbjLUNkzDmY7cow1JDygyPGlhgGKYKz4vcV7QBNbJIgM11TUqZaMdwTeSguH6rOaw1JRKzaaGyxVm2EJ/uCIrVWUcZUkcp2grMsEjK+DMwS59jQk3Kd6SEq1d0S6uVmO4Bc1lDXTUcHjluCXEq+1OlBDj1pi9zgiXxnKuE0SqTXwhqbETW6RggMEnGl/q49UT2iCzgJvRwVXS2K/d6+ZkyUl7jawSVLit46EwxVljDZwoSQ20sDBihztHfk2yA8NVZghiXwrYHQdfKAOtzsayjhY9bY0yE2CWEeJ9xfzO423xhL5syS2TFJofO2pboHob0nY4GiAgRrvGQEDa/FWSsoaaYl0syRsEt3kWoH3B01shCXhTUWe9w3Bt44SC9QCh3eShQctwbaK2ApLroGCMlZrYqvlY3qYhM0aXpFkPOuoqJ3Dm6fxXrGwVF9gCWZagjPqznfkuMKQ8DPTQRO8ZqG1hPGKEm9IgpGW4DZDgTNriTxvFiq+Lz+0cKfp4wj6OCK9JSnzNSn9LFU7UhKZZMnYwcJ8s8yRsECScK4j5UOB95HFO0CzhY4xJxuCix0lDlEUeMdS6EZBkTsUkZ4K74dugyTXS7aNgL8aqjDfkCE0ZbwkCXpaWCKhl8P7VD5jxykivSyxyZrYERbe168LYu9ZYh86IkscgVLE7tWPKmJv11CgoyJltMEbrohtVAQfO4ImltiHEroYEs7RxAarVpY8AwXMcMReFOTYWe5iiLRQxJ5Q8DtJ8LQhWOhIeFESPGsILhbNDRljNbHzNRlTFbk2S3L0NOS6V1KFJYKUbSTcIIhM0wQ/s2TM0SRMNcQmSap3jCH4yhJZKSkwyRHpYYgsFeQ4U7xoCB7VVOExhXepo9ABBsYbvGWKXPME3lyH95YioZ0gssQRWWbI+FaSMkXijZXwgiTlYdPdkNLaETxlyDVIwqeaEus0aTcYcg0RVOkpR3CSJqIddK+90JCxzsDVloyrFd5ZAr4TBKfaWa6boEA7C7s6EpYaeFPjveooY72mjIccLHJ9HUwVlDhKkmutJDJBwnp1rvulJZggKDRfbXAkvC/4l3ozQOG9a8lxjx0i7nV4jSXc7vhe3OwIxjgSHjdEhhsif9YkPGlus3iLFDnWOFhtCZbJg0UbQcIaR67JjthoCyMEZRwhiXWyxO5QxI6w5NhT4U1WsJvDO60J34fW9hwzwlKij6ZAW9ne4L0s8C6XeBMEkd/LQy1VucBRot6QMlbivaBhoBgjqGiCJNhsqVp/S2SsG6DIONCR0dXhvWbJ+MRRZJkkuEjgDXJjFQW6SSL7GXK8Z2CZg7cVsbWGoKmEpzQ5elpiy8Ryg7dMkLLUEauzeO86CuwlSOlgYLojZWeJ9xM3S1PWfEfKl5ISLQ0MEKR8YOB2QfCxJBjrKPCN4f9MkaSsqoVXJBmP7EpFZ9UQfOoOFwSzBN4MQ8LsGrymlipcJQhmy0GaQjPqCHaXRwuCZwRbqK2Fg9wlClZqYicrIgMdZfxTQ0c7TBIbrChxmuzoKG8XRaSrIhhiyNFJkrC7oIAWMEOQa5aBekPCRknCo4IKPrYkvCDI8aYmY7WFtprgekcJZ3oLIqssCSMtFbQTJKwXYy3BY5oCh2iKPCpJOE+zRdpYgi6O2KmOAgvVCYaU4ySRek1sgyFhJ403QFHiVEmJHwtybO1gs8Hr5+BETQX3War0qZngYGgtVZtoqd6vFSk/UwdZElYqyjrF4HXUeFspIi9IGKf4j92pKGAdCYMVsbcV3kRF0N+R8LUd5PCsIGWoxDtBkCI0nKofdJQxT+LtZflvuc8Q3CjwWkq8KwUpHzkK/NmSsclCL0nseQdj5FRH5CNHSgtLiW80Of5HU9Hhlsga9bnBq3fEVltKfO5IaSTmGjjc4J0otcP7QsJUSQM8pEj5/wCuUuC2DWz8AAAAAElFTkSuQmCC\");}.ace-ambiance .ace_indent-guide {background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQUFD4z6Crq/sfAAuYAuYl+7lfAAAAAElFTkSuQmCC\") right repeat-y;}";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass)})
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/tirePresureDemo.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/tirePresureDemo.js
new file mode 100644 (file)
index 0000000..6895046
--- /dev/null
@@ -0,0 +1,29 @@
+/*global Simulator, TWEEN*/
+
+/**
+ * Script operates tires pressure level in parallel for all for tires using Tween.js.
+ * Tires pressure  is eased over `Cubic.InOut` function during 5 seconds interval,
+ * repeated in infinite mode through Tween().repeat('Infinity') from 0 bar to 3 bar.
+ *
+ * @module AMBSimulatorApplication
+ * @class TirePressureDemo
+ */
+
+var tirePressure;
+
+setInterval(function() {
+       "use strict";
+       TWEEN.update();
+}, 200);
+
+tirePressure = new TWEEN.Tween({
+       pressure: 0
+}).to({
+       pressure: 3
+}, 5000).easing(TWEEN.Easing.Cubic.InOut).onUpdate(function() {
+       "use strict";
+       Simulator.set("vcan0", "TirePressureLeftFront", this.pressure, 0);
+       Simulator.set("vcan0", "TirePressureRightFront", this.pressure, 0);
+       Simulator.set("vcan0", "TirePressureLeftRear", this.pressure, 0);
+       Simulator.set("vcan0", "TirePressureRightRear", this.pressure, 0);
+}).repeat('Infinity').yoyo(true).start();
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/vehicle.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/vehicle.js
new file mode 100644 (file)
index 0000000..504737e
--- /dev/null
@@ -0,0 +1,355 @@
+/*
+ * Copyright (c) 2012, Intel Corporation.
+ *
+ * This program is licensed under the terms and conditions of the
+ * Apache License, version 2.0.  The full text of the Apache License is at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ */
+
+/*
+ * Class name: Vehicle
+ * Description:
+ *    A javascript implementation of the IVI vehicle API that communicates
+ *    to the automotive message broker through a websocket
+ * Optional constructor arguments:
+ *    sCB: success callback, called when socket is connected, argument is
+ *         success message string
+ *    eCB: error callback, called on socket close or error, argument is error
+ *         message string
+ *    url: the URL to use for the websocket, in the form "ws://host:port/script"
+ *    protocol: the protocol to use for the websocket, default is "http-only"
+ *
+ * [Public Member functions]
+ *  Function name: getSupportedEventTypes(type, writeable, successCB, errorCB)
+ *    Description:
+ *        Retrieves a list of vehicle events for the requested type
+ *    Required arguments:
+ *        type: target event or group to query (use empty string for all events)
+ *        writeable: if true, return only writeable events, otherwise get all
+ *        successCB: success callback, gets called with a string list of names
+ *              for all the events and event groups that are children of the
+ *              target. e.g. "vehicle_info" returns all events/groups with the
+ *              vehicle_info prefix. If the target is an event group, it's
+ *              omitted from the returned list
+ *        errorCB: error callback, called with error message string
+ *
+ *  Function name: get(eventlist, successCB, errorCB)
+ *    Description:
+ *        Retrieves a list of event/value pairs for a target list of event names
+ *    Required arguments:
+ *        eventlist[]: list of events to read (use empty string for all events)
+ *        successCB: success callback, gets called with the event/value pair list
+ *                   for all requested events. The list is the in the
+ *                   form of data[n].name/data[n].value
+ *        errorCB: error callback, called with error message string
+ *
+ *  Function name: getHistory(event, startTime, endTime, successCB, errorCB)
+ *    Description:
+ *        Retrieves a list of event/value pairs for a target list of event names
+ *    Required arguments:
+ *        event: event to read
+ *        startTime: start date/time
+ *        endTime: end date/time
+ *        successCB: success callback, gets called with the event/value pair list
+ *                   for all requested events. The list is the in the
+ *                   form of data[n].name/data[n].value
+ *        errorCB: error callback, called with error message string
+ *
+ *
+ *  Function name: set(eventlist, valuelist, successCB, errorCB)
+ *    Description:
+ *        Sets a gourp of event's values (triggers error on read-only events)
+ *    Required arguments:
+ *        eventlist: target events to set
+ *        valuelist: target event values
+ *        successCB: success callback, gets called with the eventlist
+ *                   that was successfully set
+ *        errorCB: error callback, called with error message string
+ *
+ *  Function name: subscribe(eventlist, successCB, errorCB)
+ *    Description:
+ *        Subscribe to a list of events so you can listen to value changes, they
+ *        can be monitored with document.addEventListener(eventname, callback, false);
+ *        The Event object passed to the callback has two parameters, e.name and
+ *        e.value. Events are sent to the handler individually.
+ *    Required arguments:
+ *        eventlist: target events to listen to
+ *        successCB: success callback, gets called with the eventlist
+ *                   that was successfully subscribed
+ *        errorCB: error callback, called with the eventlist that failed to subscribe
+ *
+ *  Function name: unsubscribe(eventlist, successCB, errorCB)
+ *    Description:
+ *        Unsubscribe to a list of events to let the server know you're not listening,
+ *        they should stop being sent from the server if no other clients are using them,
+ *        but will at least stop being triggered in your app.
+ *    Required arguments:
+ *        eventlist: target events to stop listening to
+ *        successCB: success callback, gets called with the eventlist
+ *                   that was successfully unsubscribed
+ *        errorCB: error callback, called with the eventlist that failed to unsubscribe
+ *
+/*
+ (function () {
+ */
+function Vehicle(sCB, eCB, url, protocol) {
+       "use strict";
+       /* store a copy of Vehicle this for reference in callbacks */
+       var self = this;
+
+       this.iSuccessCB = sCB;
+       this.iErrorCB = eCB;
+
+       /* variables for call management, supports up to 100 simultaneously */
+       this.methodIdx = 0;
+       this.methodCalls = [];
+       for ( var i = 0; i < 100; i++) {
+               this.methodCalls[i] = null;
+       }
+
+       /* number of connection retries to attempt if the socket closes */
+       this.retries = 5;
+       this.connected = false;
+
+       /* timeout for method calls in milliseconds */
+       this.timeouttime = 5000;
+
+       /* default values for WebSocket */
+       this.socketUrl = "ws://localhost:23000/vehicle";
+       this.socketProtocol = "http-only";
+
+       /* override the websocket address if parameters are given */
+       if (url !== undefined) {
+               this.socketUrl = url;
+       }
+       if (protocol !== undefined) {
+               this.socketProtocol = protocol;
+       }
+
+       this.VehicleMethodCall = function(id, name, successCB, errorCB) {
+               var me = this;
+               this.successCB = successCB;
+               this.errorCB = errorCB;
+               this.transactionid = id;
+               this.name = name;
+               this.done = false;
+               this.start = function() {
+                       me.timeout = setTimeout(function() {
+                               if (me.errorCB !== undefined) {
+                                       me.errorCB("\"" + me.name + "\" method timed out after " + self.timeouttime + "ms");
+                               }
+                               me.finish();
+                       }, self.timeouttime);
+               };
+               this.finish = function() {
+                       if (me.timeout !== undefined) {
+                               clearTimeout(me.timeout);
+                       }
+                       me.done = true;
+               };
+       };
+
+       function init() {
+               if ("WebSocket" in window) {
+                       if (self.socketProtocol.length > 0) {
+                               self.socket = new WebSocket(self.socketUrl, self.socketProtocol);
+                       } else {
+                               self.socket = new WebSocket(self.socketUrl);
+                       }
+                       self.socket.onopen = function() {
+                               self.connected = true;
+                               self.iSuccessCB((self.retries < 5) ? "(RECONNECTED)" : "");
+                               self.retries = 5;
+                       };
+                       self.socket.onclose = function() {
+                               self.connected = false;
+                               self.iErrorCB("socket closed " + ((self.retries > 0) ? "retrying in 5 seconds ..." : ""));
+                               if (self.retries > 0) {
+                                       setTimeout(function() {
+                                               self.retries--;
+                                               init();
+                                       }, 5000);
+                               }
+                       };
+                       self.socket.onerror = function(e) {
+                               self.iErrorCB(e.data);
+                       };
+                       self.socket.onmessage = function(e) {
+                               self.receive(e.data);
+                       };
+               } else {
+                       console.log("This browser doesn't appear to support websockets!");
+               }
+       }
+       init();
+}
+
+Vehicle.prototype.generateTransactionId = function() {
+       "use strict";
+       var i, val = [];
+       for (i = 0; i < 8; i++) {
+               var num = Math.floor((Math.random() + 1) * 65536);
+               val[i] = num.toString(16).substring(1);
+       }
+       var uuid = val[0] + val[1] + "-" + val[2] + "-" + val[3] + "-" + val[4] + "-" + val[5] + val[6] + val[7];
+       return uuid;
+};
+
+Vehicle.prototype.send = function(obj, successCB, errorCB) {
+       "use strict";
+       if (!this.connected) {
+               if (errorCB !== undefined) {
+                       errorCB("\"" + obj.name + "\" method failed because socket is closed");
+               }
+               return;
+       }
+       var i = this.methodIdx;
+       this.methodIdx = (this.methodIdx + 1) % 100;
+       this.methodCalls[i] = new this.VehicleMethodCall(obj.transactionid, obj.name, successCB, errorCB);
+       this.socket.send(JSON.stringify(obj));
+       this.methodCalls[i].start();
+};
+
+Vehicle.prototype.getSupportedEventTypes = function(type, writeable, successCB, errorCB) {
+       "use strict";
+       var obj = {
+               "type" : "method",
+               "name" : "getSupportedEventTypes",
+               "writeable" : writeable,
+               "transactionid" : this.generateTransactionId(),
+               "data" : type
+       };
+       this.send(obj, successCB, errorCB);
+};
+
+Vehicle.prototype.get = function(namelist, zone, successCB, errorCB) {
+       "use strict";
+       if (namelist.length <= 0) {
+               return;
+       }
+
+       var properties = [];
+
+       for ( var i = 0; i < namelist.length; i++) {
+               properties[i] = {
+                       "property" : namelist[i],
+                       "zone" : zone
+               };
+       }
+       var obj = {
+               "type" : "method",
+               "name" : "get",
+               "transactionid" : this.generateTransactionId(),
+               "data" : properties
+       };
+       this.send(obj, successCB, errorCB);
+};
+
+Vehicle.prototype.getHistory = function(event, startTime, endTime, successCB, errorCB) {
+       "use strict";
+       var obj = {
+               "type" : "method",
+               "name" : "getHistory",
+               "transactionid" : this.generateTransactionId(),
+               "data" : [ event, (startTime.getTime() / 1000).toString(), (endTime.getTime() / 1000).toString() ]
+       };
+
+       this.send(obj, successCB, errorCB);
+
+};
+
+Vehicle.prototype.set = function(source, namelist, valuelist, zoneList, successCB, errorCB) {
+       "use strict";
+       if ((namelist.length !== valuelist.length) || (namelist.length <= 0)) {
+               return;
+       }
+
+       var obj = {
+               "type" : "method",
+               "name" : "set",
+               "transactionid" : this.generateTransactionId(),
+               "data" : []
+       };
+       var list = [];
+       for ( var i = 0; i < namelist.length; i++) {
+               var val = {
+                       "source" : source,
+                       "property" : namelist[i],
+                       "value" : valuelist[i],
+                       "zone" : zoneList[i]
+               };
+               list[list.length] = val;
+       }
+       obj.data = list;
+       this.send(obj, successCB, errorCB);
+};
+
+Vehicle.prototype.subscribe = function(namelist, zoneList, successCB, errorCB) {
+       "use strict";
+       var obj = {
+               "type" : "method",
+               "name" : "subscribe",
+               "transactionid" : this.generateTransactionId(),
+               "data" : namelist,
+               "zone" : zoneList
+       };
+       this.send(obj, successCB, errorCB);
+};
+
+Vehicle.prototype.unsubscribe = function(namelist, zoneList, successCB, errorCB) {
+       "use strict";
+       var obj = {
+               "type" : "method",
+               "name" : "unsubscribe",
+               "transactionid" : this.generateTransactionId(),
+               "data" : namelist,
+               "zone" : zoneList
+       };
+       this.send(obj, successCB, errorCB);
+};
+
+Vehicle.prototype.sendEvent = function(name, value) {
+       "use strict";
+       var evt = document.createEvent("Event");
+       evt.initEvent(name, true, true);
+       evt.name = name;
+       evt.value = value;
+       document.dispatchEvent(evt);
+       console.log(evt);
+};
+
+Vehicle.prototype.receive = function(msg) {
+       "use strict";
+       var self = this;
+       var event;
+       try {
+               event = JSON.parse(msg);
+       } catch (e) {
+               self.iErrorCB("GARBAGE MESSAGE: " + msg);
+               return;
+       }
+
+       if ((event === undefined) || (event.type === undefined) || (event.name === undefined)) {
+               self.iErrorCB("BADLY FORMED MESSAGE: " + msg);
+               return;
+       } else {
+               if (event.type === "methodReply") {
+                       var calls = this.methodCalls;
+                       for ( var i = 0; i < calls.length; i++) {
+                               var call = calls[i];
+                               if (call && (!call.done) && (call.transactionid === event.transactionid)) {
+                                       call.finish();
+                                       if (event.error !== undefined) {
+                                               call.errorCB(event.error);
+                                       } else if (event.data !== undefined && call.successCB !== undefined) {
+                                               call.successCB(event.data);
+                                       }
+                                       return;
+                               }
+                       }
+               } else if (event.type === "valuechanged") {
+                       self.sendEvent(event.name, event.data);
+               }
+       }
+};
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/worker-javascript.js b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/js/worker-javascript.js
new file mode 100644 (file)
index 0000000..28a76e7
--- /dev/null
@@ -0,0 +1 @@
+"no use strict";(function(e){if(typeof e.window!="undefined"&&e.document)return;e.console=function(){var e=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console,e.window=e,e.ace=e,e.normalizeModule=function(t,n){if(n.indexOf("!")!==-1){var r=n.split("!");return e.normalizeModule(t,r[0])+"!"+e.normalizeModule(t,r[1])}if(n.charAt(0)=="."){var i=t.split("/").slice(0,-1).join("/");n=(i?i+"/":"")+n;while(n.indexOf(".")!==-1&&s!=n){var s=n;n=n.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return n},e.require=function(t,n){n||(n=t,t=null);if(!n.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");n=e.normalizeModule(t,n);var r=e.require.modules[n];if(r)return r.initialized||(r.initialized=!0,r.exports=r.factory().exports),r.exports;var i=n.split("/");if(!e.require.tlns)return console.log("unable to load "+n);i[0]=e.require.tlns[i[0]]||i[0];var s=i.join("/")+".js";return e.require.id=n,importScripts(s),e.require(t,n)},e.require.modules={},e.require.tlns={},e.define=function(t,n,r){arguments.length==2?(r=n,typeof t!="string"&&(n=t,t=e.require.id)):arguments.length==1&&(r=t,n=[],t=e.require.id),n.length||(n=["require","exports","module"]);if(t.indexOf("text!")===0)return;var i=function(n){return e.require(t,n)};e.require.modules[t]={exports:{},factory:function(){var e=this,t=r.apply(this,n.map(function(t){switch(t){case"require":return i;case"exports":return e.exports;case"module":return e;default:return i(t)}}));return t&&(e.exports=t),e}}},e.define.amd={},e.initBaseUrls=function(e){require.tlns=e},e.initSender=function(){var t=e.require("ace/lib/event_emitter").EventEmitter,n=e.require("ace/lib/oop"),r=function(){};return function(){n.implement(this,t),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(r.prototype),new r},e.main=null,e.sender=null,e.onmessage=function(e){var t=e.data;if(t.command){if(!main[t.command])throw new Error("Unknown command:"+t.command);main[t.command].apply(main,t.args)}else if(t.init){initBaseUrls(t.tlns),require("ace/lib/es5-shim"),sender=initSender();var n=require(t.module)[t.classname];main=new n(sender)}else t.event&&sender&&sender._emit(t.event,t.data)}})(this),define("ace/lib/es5-shim",["require","exports","module"],function(e,t,n){function r(){}function i(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(t){}}function s(e){return e=+e,e!==e?e=0:e!==0&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}function o(e){var t=typeof e;return e===null||t==="undefined"||t==="boolean"||t==="number"||t==="string"}function u(e){var t,n,r;if(o(e))return e;n=e.valueOf;if(typeof n=="function"){t=n.call(e);if(o(t))return t}r=e.toString;if(typeof r=="function"){t=r.call(e);if(o(t))return t}throw new TypeError}Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if(typeof t!="function")throw new TypeError("Function.prototype.bind called on incompatible "+t);var n=c.call(arguments,1),i=function(){if(this instanceof i){var r=t.apply(this,n.concat(c.call(arguments)));return Object(r)===r?r:this}return t.apply(e,n.concat(c.call(arguments)))};return t.prototype&&(r.prototype=t.prototype,i.prototype=new r,r.prototype=null),i});var a=Function.prototype.call,f=Array.prototype,l=Object.prototype,c=f.slice,h=a.bind(l.toString),p=a.bind(l.hasOwnProperty),d,v,m,g,y;if(y=p(l,"__defineGetter__"))d=a.bind(l.__defineGetter__),v=a.bind(l.__defineSetter__),m=a.bind(l.__lookupGetter__),g=a.bind(l.__lookupSetter__);if([1,2].splice(0).length!=2)if(!function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t=[],n;t.splice.apply(t,e(20)),t.splice.apply(t,e(26)),n=t.length,t.splice(5,0,"XXX"),n+1==t.length;if(n+1==t.length)return!0}())Array.prototype.splice=function(e,t){var n=this.length;e>0?e>n&&(e=n):e==void 0?e=0:e<0&&(e=Math.max(n+e,0)),e+t<n||(t=n-e);var r=this.slice(e,e+t),i=c.call(arguments,2),s=i.length;if(e===n)s&&this.push.apply(this,i);else{var o=Math.min(t,n-e),u=e+o,a=u+s-o,f=n-u,l=n-o;if(a<u)for(var h=0;h<f;++h)this[a+h]=this[u+h];else if(a>u)for(h=f;h--;)this[a+h]=this[u+h];if(s&&e===l)this.length=l,this.push.apply(this,i);else{this.length=l+s;for(h=0;h<s;++h)this[e+h]=i[h]}}return r};else{var b=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?b.apply(this,[e===void 0?0:e,t===void 0?this.length-e:t].concat(c.call(arguments,2))):[]}}Array.isArray||(Array.isArray=function(e){return h(e)=="[object Array]"});var w=Object("a"),E=w[0]!="a"||!(0 in w);Array.prototype.forEach||(Array.prototype.forEach=function(e){var t=F(this),n=E&&h(this)=="[object String]"?this.split(""):t,r=arguments[1],i=-1,s=n.length>>>0;if(h(e)!="[object Function]")throw new TypeError;while(++i<s)i in n&&e.call(r,n[i],i,t)}),Array.prototype.map||(Array.prototype.map=function(e){var t=F(this),n=E&&h(this)=="[object String]"?this.split(""):t,r=n.length>>>0,i=Array(r),s=arguments[1];if(h(e)!="[object Function]")throw new TypeError(e+" is not a function");for(var o=0;o<r;o++)o in n&&(i[o]=e.call(s,n[o],o,t));return i}),Array.prototype.filter||(Array.prototype.filter=function(e){var t=F(this),n=E&&h(this)=="[object String]"?this.split(""):t,r=n.length>>>0,i=[],s,o=arguments[1];if(h(e)!="[object Function]")throw new TypeError(e+" is not a function");for(var u=0;u<r;u++)u in n&&(s=n[u],e.call(o,s,u,t)&&i.push(s));return i}),Array.prototype.every||(Array.prototype.every=function(e){var t=F(this),n=E&&h(this)=="[object String]"?this.split(""):t,r=n.length>>>0,i=arguments[1];if(h(e)!="[object Function]")throw new TypeError(e+" is not a function");for(var s=0;s<r;s++)if(s in n&&!e.call(i,n[s],s,t))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(e){var t=F(this),n=E&&h(this)=="[object String]"?this.split(""):t,r=n.length>>>0,i=arguments[1];if(h(e)!="[object Function]")throw new TypeError(e+" is not a function");for(var s=0;s<r;s++)if(s in n&&e.call(i,n[s],s,t))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(e){var t=F(this),n=E&&h(this)=="[object String]"?this.split(""):t,r=n.length>>>0;if(h(e)!="[object Function]")throw new TypeError(e+" is not a function");if(!r&&arguments.length==1)throw new TypeError("reduce of empty array with no initial value");var i=0,s;if(arguments.length>=2)s=arguments[1];else do{if(i in n){s=n[i++];break}if(++i>=r)throw new TypeError("reduce of empty array with no initial value")}while(!0);for(;i<r;i++)i in n&&(s=e.call(void 0,s,n[i],i,t));return s}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){var t=F(this),n=E&&h(this)=="[object String]"?this.split(""):t,r=n.length>>>0;if(h(e)!="[object Function]")throw new TypeError(e+" is not a function");if(!r&&arguments.length==1)throw new TypeError("reduceRight of empty array with no initial value");var i,s=r-1;if(arguments.length>=2)i=arguments[1];else do{if(s in n){i=n[s--];break}if(--s<0)throw new TypeError("reduceRight of empty array with no initial value")}while(!0);do s in this&&(i=e.call(void 0,i,n[s],s,t));while(s--);return i});if(!Array.prototype.indexOf||[0,1].indexOf(1,2)!=-1)Array.prototype.indexOf=function(e){var t=E&&h(this)=="[object String]"?this.split(""):F(this),n=t.length>>>0;if(!n)return-1;var r=0;arguments.length>1&&(r=s(arguments[1])),r=r>=0?r:Math.max(0,n+r);for(;r<n;r++)if(r in t&&t[r]===e)return r;return-1};if(!Array.prototype.lastIndexOf||[0,1].lastIndexOf(0,-3)!=-1)Array.prototype.lastIndexOf=function(e){var t=E&&h(this)=="[object String]"?this.split(""):F(this),n=t.length>>>0;if(!n)return-1;var r=n-1;arguments.length>1&&(r=Math.min(r,s(arguments[1]))),r=r>=0?r:n-Math.abs(r);for(;r>=0;r--)if(r in t&&e===t[r])return r;return-1};Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:l)});if(!Object.getOwnPropertyDescriptor){var S="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(e,t){if(typeof e!="object"&&typeof e!="function"||e===null)throw new TypeError(S+e);if(!p(e,t))return;var n,r,i;n={enumerable:!0,configurable:!0};if(y){var s=e.__proto__;e.__proto__=l;var r=m(e,t),i=g(e,t);e.__proto__=s;if(r||i)return r&&(n.get=r),i&&(n.set=i),n}return n.value=e[t],n}}Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)});if(!Object.create){var x;Object.prototype.__proto__===null?x=function(){return{__proto__:null}}:x=function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){var n;if(e===null)n=x();else{if(typeof e!="object")throw new TypeError("typeof prototype["+typeof e+"] != 'object'");var r=function(){};r.prototype=e,n=new r,n.__proto__=e}return t!==void 0&&Object.defineProperties(n,t),n}}if(Object.defineProperty){var T=i({}),N=typeof document=="undefined"||i(document.createElement("div"));if(!T||!N)var C=Object.defineProperty}if(!Object.defineProperty||C){var k="Property description must be an object: ",L="Object.defineProperty called on non-object: ",A="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(e,t,n){if(typeof e!="object"&&typeof e!="function"||e===null)throw new TypeError(L+e);if(typeof n!="object"&&typeof n!="function"||n===null)throw new TypeError(k+n);if(C)try{return C.call(Object,e,t,n)}catch(r){}if(p(n,"value"))if(y&&(m(e,t)||g(e,t))){var i=e.__proto__;e.__proto__=l,delete e[t],e[t]=n.value,e.__proto__=i}else e[t]=n.value;else{if(!y)throw new TypeError(A);p(n,"get")&&d(e,t,n.get),p(n,"set")&&v(e,t,n.set)}return e}}Object.defineProperties||(Object.defineProperties=function(e,t){for(var n in t)p(t,n)&&Object.defineProperty(e,n,t[n]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze(function(){})}catch(O){Object.freeze=function(e){return function(t){return typeof t=="function"?t:e(t)}}(Object.freeze)}Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(e){return!1}),Object.isFrozen||(Object.isFrozen=function(e){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;var t="";while(p(e,t))t+="?";e[t]=!0;var n=p(e,t);return delete e[t],n});if(!Object.keys){var M=!0,_=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],D=_.length;for(var P in{toString:null})M=!1;Object.keys=function I(e){if(typeof e!="object"&&typeof e!="function"||e===null)throw new TypeError("Object.keys called on a non-object");var I=[];for(var t in e)p(e,t)&&I.push(t);if(M)for(var n=0,r=D;n<r;n++){var i=_[n];p(e,i)&&I.push(i)}return I}}Date.now||(Date.now=function(){return(new Date).getTime()});var H="       \n\v\f\r   ᠎              \u2028\u2029";if(!String.prototype.trim||H.trim()){H="["+H+"]";var B=new RegExp("^"+H+H+"*"),j=new RegExp(H+H+"*$");String.prototype.trim=function(){return String(this).replace(B,"").replace(j,"")}}var F=function(e){if(e==null)throw new TypeError("can't convert "+e+" to object");return Object(e)}}),define("ace/mode/javascript_worker",["require","exports","module","ace/lib/oop","ace/worker/mirror","ace/mode/javascript/jshint"],function(require,exports,module){function startRegex(e){return RegExp("^("+e.join("|")+")")}var oop=require("../lib/oop"),Mirror=require("../worker/mirror").Mirror,lint=require("./javascript/jshint").JSHINT,disabledWarningsRe=startRegex(["Bad for in variable '(.+)'.",'Missing "use strict"']),errorsRe=startRegex(["Unexpected","Expected ","Confusing (plus|minus)","\\{a\\} unterminated regular expression","Unclosed ","Unmatched ","Unbegun comment","Bad invocation","Missing space after","Missing operator at"]),infoRe=startRegex(["Expected an assignment","Bad escapement of EOL","Unexpected comma","Unexpected space","Missing radix parameter.","A leading decimal point can","\\['{a}'\\] is better written in dot notation.","'{a}' used out of scope"]),JavaScriptWorker=exports.JavaScriptWorker=function(e){Mirror.call(this,e),this.setTimeout(500),this.setOptions()};oop.inherits(JavaScriptWorker,Mirror),function(){this.setOptions=function(e){this.options=e||{esnext:!0,moz:!0,devel:!0,browser:!0,node:!0,laxcomma:!0,laxbreak:!0,lastsemic:!0,onevar:!1,passfail:!1,maxerr:100,expr:!0,multistr:!0,globalstrict:!0},this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.changeOptions=function(e){oop.mixin(this.options,e),this.doc.getValue()&&this.deferredUpdate.schedule(100)},this.isValidJS=function(str){try{eval("throw 0;"+str)}catch(e){if(e===0)return!0}return!1},this.onUpdate=function(){var e=this.doc.getValue();e=e.replace(/^#!.*\n/,"\n");if(!e){this.sender.emit("jslint",[]);return}var t=[],n=this.isValidJS(e)?"warning":"error";lint(e,this.options);var r=lint.errors,i=!1;for(var s=0;s<r.length;s++){var o=r[s];if(!o)continue;var u=o.raw,a="warning";if(u=="Missing semicolon."){var f=o.evidence.substr(o.character);f=f.charAt(f.search(/\S/)),n=="error"&&f&&/[\w\d{(['"]/.test(f)?(o.reason='Missing ";" before statement',a="error"):a="info"}else{if(disabledWarningsRe.test(u))continue;infoRe.test(u)?a="info":errorsRe.test(u)?(i=!0,a=n):u=="'{a}' is not defined."?a="warning":u=="'{a}' is defined but never used."&&(a="info")}t.push({row:o.line-1,column:o.character-1,text:o.reason,type:a,raw:u}),i}this.sender.emit("jslint",t)}}.call(JavaScriptWorker.prototype)}),define("ace/lib/oop",["require","exports","module"],function(e,t,n){t.inherits=function(){var e=function(){};return function(t,n){e.prototype=n.prototype,t.super_=n.prototype,t.prototype=new e,t.prototype.constructor=t}}(),t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}}),define("ace/worker/mirror",["require","exports","module","ace/document","ace/lib/lang"],function(e,t,n){var r=e("../document").Document,i=e("../lib/lang"),s=t.Mirror=function(e){this.sender=e;var t=this.doc=new r(""),n=this.deferredUpdate=i.delayedCall(this.onUpdate.bind(this)),s=this;e.on("change",function(e){t.applyDeltas(e.data),n.schedule(s.$timeout)})};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){}}).call(s.prototype)}),define("ace/document",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/range","ace/anchor"],function(e,t,n){var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,s=e("./range").Range,o=e("./anchor").Anchor,u=function(e){this.$lines=[],e.length==0?this.$lines=[""]:Array.isArray(e)?this._insertLines(0,e):this.insert({row:0,column:0},e)};(function(){r.implement(this,i),this.setValue=function(e){var t=this.getLength();this.remove(new s(0,0,t,this.getLine(t-1).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new o(this,e,t)},"aaa".split(/a/).length==0?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n"},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine}},this.$autoNewLine="\n",this.$newLineMode="auto",this.setNewLineMode=function(e){if(this.$newLineMode===e)return;this.$newLineMode=e},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return e=="\r\n"||e=="\r"||e=="\n"},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){if(e.start.row==e.end.row)return this.getLine(e.start.row).substring(e.start.column,e.end.column);var t=this.getLines(e.start.row,e.end.row);t[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;return e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column)),t.join(this.getNewLineCharacter())},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):e.row<0&&(e.row=0),e},this.insert=function(e,t){if(!t||t.length===0)return e;e=this.$clipPosition(e),this.getLength()<=1&&this.$detectNewLine(t);var n=this.$split(t),r=n.splice(0,1)[0],i=n.length==0?null:n.splice(n.length-1,1)[0];return e=this.insertInLine(e,r),i!==null&&(e=this.insertNewLine(e),e=this._insertLines(e.row,n),e=this.insertInLine(e,i||"")),e},this.insertLines=function(e,t){return e>=this.getLength()?this.insert({row:e,column:0},"\n"+t.join("\n")):this._insertLines(Math.max(e,0),t)},this._insertLines=function(e,t){if(t.length==0)return{row:e,column:0};if(t.length>65535){var n=this._insertLines(e,t.slice(65535));t=t.slice(0,65535)}var r=[e,0];r.push.apply(r,t),this.$lines.splice.apply(this.$lines,r);var i=new s(e,0,e+t.length,0),o={action:"insertLines",range:i,lines:t};return this._emit("change",{data:o}),n||i.end},this.insertNewLine=function(e){e=this.$clipPosition(e);var t=this.$lines[e.row]||"";this.$lines[e.row]=t.substring(0,e.column),this.$lines.splice(e.row+1,0,t.substring(e.column,t.length));var n={row:e.row+1,column:0},r={action:"insertText",range:s.fromPoints(e,n),text:this.getNewLineCharacter()};return this._emit("change",{data:r}),n},this.insertInLine=function(e,t){if(t.length==0)return e;var n=this.$lines[e.row]||"";this.$lines[e.row]=n.substring(0,e.column)+t+n.substring(e.column);var r={row:e.row,column:e.column+t.length},i={action:"insertText",range:s.fromPoints(e,r),text:t};return this._emit("change",{data:i}),r},this.remove=function(e){!e instanceof s&&(e=s.fromPoints(e.start,e.end)),e.start=this.$clipPosition(e.start),e.end=this.$clipPosition(e.end);if(e.isEmpty())return e.start;var t=e.start.row,n=e.end.row;if(e.isMultiLine()){var r=e.start.column==0?t:t+1,i=n-1;e.end.column>0&&this.removeInLine(n,0,e.end.column),i>=r&&this._removeLines(r,i),r!=t&&(this.removeInLine(t,e.start.column,this.getLine(t).length),this.removeNewLine(e.start.row))}else this.removeInLine(t,e.start.column,e.end.column);return e.start},this.removeInLine=function(e,t,n){if(t==n)return;var r=new s(e,t,e,n),i=this.getLine(e),o=i.substring(t,n),u=i.substring(0,t)+i.substring(n,i.length);this.$lines.splice(e,1,u);var a={action:"removeText",range:r,text:o};return this._emit("change",{data:a}),r.start},this.removeLines=function(e,t){return e<0||t>=this.getLength()?this.remove(new s(e,0,t+1,0)):this._removeLines(e,t)},this._removeLines=function(e,t){var n=new s(e,0,t+1,0),r=this.$lines.splice(e,t-e+1),i={action:"removeLines",range:n,nl:this.getNewLineCharacter(),lines:r};return this._emit("change",{data:i}),r},this.removeNewLine=function(e){var t=this.getLine(e),n=this.getLine(e+1),r=new s(e,t.length,e+1,0),i=t+n;this.$lines.splice(e,2,i);var o={action:"removeText",range:r,text:this.getNewLineCharacter()};this._emit("change",{data:o})},this.replace=function(e,t){!e instanceof s&&(e=s.fromPoints(e.start,e.end));if(t.length==0&&e.isEmpty())return e.start;if(t==this.getTextRange(e))return e.end;this.remove(e);if(t)var n=this.insert(e.start,t);else n=e.start;return n},this.applyDeltas=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=s.fromPoints(n.range.start,n.range.end);n.action=="insertLines"?this.insertLines(r.start.row,n.lines):n.action=="insertText"?this.insert(r.start,n.text):n.action=="removeLines"?this._removeLines(r.start.row,r.end.row-1):n.action=="removeText"&&this.remove(r)}},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t],r=s.fromPoints(n.range.start,n.range.end);n.action=="insertLines"?this._removeLines(r.start.row,r.end.row-1):n.action=="insertText"?this.remove(r):n.action=="removeLines"?this._insertLines(r.start.row,n.lines):n.action=="removeText"&&this.insert(r.start,n.text)}},this.indexToPosition=function(e,t){var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length;for(var i=t||0,s=n.length;i<s;i++){e-=n[i].length+r;if(e<0)return{row:i,column:e+n[i].length+r}}return{row:s-1,column:n[s-1].length}},this.positionToIndex=function(e,t){var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=0,s=Math.min(e.row,n.length);for(var o=t||0;o<s;++o)i+=n[o].length+r;return i+e.column}}).call(u.prototype),t.Document=u}),define("ace/lib/event_emitter",["require","exports","module"],function(e,t,n){var r={},i=function(){this.propagationStopped=!0},s=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],r=this._defaultHandlers[e];if(!n.length&&!r)return;if(typeof t!="object"||!t)t={};t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=i),t.preventDefault||(t.preventDefault=s),n=n.slice();for(var o=0;o<n.length;o++){n[o](t,this);if(t.propagationStopped)break}if(r&&!t.defaultPrevented)return r(t,this)},r._signal=function(e,t){var n=(this._eventRegistry||{})[e];if(!n)return;n=n.slice();for(var r=0;r<n.length;r++)n[r](t,this)},r.once=function(e,t){var n=this;t&&this.addEventListener(e,function r(){n.removeEventListener(e,r),t.apply(null,arguments)})},r.setDefaultHandler=function(e,t){var n=this._defaultHandlers;n||(n=this._defaultHandlers={_disabled_:{}});if(n[e]){var r=n[e],i=n._disabled_[e];i||(n._disabled_[e]=i=[]),i.push(r);var s=i.indexOf(t);s!=-1&&i.splice(s,1)}n[e]=t},r.removeDefaultHandler=function(e,t){var n=this._defaultHandlers;if(!n)return;var r=n._disabled_[e];if(n[e]==t){var i=n[e];r&&this.setDefaultHandler(e,r.pop())}else if(r){var s=r.indexOf(t);s!=-1&&r.splice(s,1)}},r.on=r.addEventListener=function(e,t,n){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[e];return r||(r=this._eventRegistry[e]=[]),r.indexOf(t)==-1&&r[n?"unshift":"push"](t),t},r.off=r.removeListener=r.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];if(!n)return;var r=n.indexOf(t);r!==-1&&n.splice(r,1)},r.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=r}),define("ace/range",["require","exports","module"],function(e,t,n){var r=function(e,t){return e.row-t.row||e.column-t.column},i=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return this.compare(e,t)==0},this.compareRange=function(e){var t,n=e.end,r=e.start;return t=this.compare(n.row,n.column),t==1?(t=this.compare(r.row,r.column),t==1?2:t==0?1:0):t==-1?-2:(t=this.compare(r.row,r.column),t==-1?-1:t==1?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return this.comparePoint(e.start)==0&&this.comparePoint(e.end)==0},this.intersects=function(e){var t=this.compareRange(e);return t==-1||t==0||t==1},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){typeof e=="object"?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){typeof e=="object"?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)||this.isStart(e,t)?!1:!0:!1},this.insideStart=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)?!1:!0:!1},this.insideEnd=function(e,t){return this.compare(e,t)==0?this.isStart(e,t)?!1:!0:!1},this.compare=function(e,t){return!this.isMultiLine()&&e===this.start.row?t<this.start.column?-1:t>this.end.column?1:0:e<this.start.row?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else if(this.end.row<e)var n={row:e,column:0};if(this.start.row>t)var r={row:t+1,column:0};else if(this.start.row<e)var r={row:e,column:0};return i.fromPoints(r||this.start,n||this.end)},this.extend=function(e,t){var n=this.compare(e,t);if(n==0)return this;if(n==-1)var r={row:e,column:t};else var s={row:e,column:t};return i.fromPoints(r||this.start,s||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return i.fromPoints(this.start,this.end)},this.collapseRows=function(){return this.end.column==0?new i(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new i(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),n=e.documentToScreenPosition(this.end);return new i(t.row,t.column,n.row,n.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(i.prototype),i.fromPoints=function(e,t){return new i(e.row,e.column,t.row,t.column)},i.comparePoints=r,i.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=i}),define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,s=t.Anchor=function(e,t,n){this.$onChange=this.onChange.bind(this),this.attach(e),typeof n=="undefined"?this.setPosition(t.row,t.column):this.setPosition(t,n)};(function(){r.implement(this,i),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){var t=e.data,n=t.range;if(n.start.row==n.end.row&&n.start.row!=this.row)return;if(n.start.row>this.row)return;if(n.start.row==this.row&&n.start.column>this.column)return;var r=this.row,i=this.column,s=n.start,o=n.end;if(t.action==="insertText")if(s.row===r&&s.column<=i){if(s.column!==i||!this.$insertRight)s.row===o.row?i+=o.column-s.column:(i-=s.column,r+=o.row-s.row)}else s.row!==o.row&&s.row<r&&(r+=o.row-s.row);else t.action==="insertLines"?s.row<=r&&(r+=o.row-s.row):t.action==="removeText"?s.row===r&&s.column<i?o.column>=i?i=s.column:i=Math.max(0,i-(o.column-s.column)):s.row!==o.row&&s.row<r?(o.row===r&&(i=Math.max(0,i-o.column)+s.column),r-=o.row-s.row):o.row===r&&(r-=o.row-s.row,i=Math.max(0,i-o.column)+s.column):t.action=="removeLines"&&s.row<=r&&(o.row<=r?r-=o.row-s.row:(r=s.row,i=0));this.setPosition(r,i,!0)},this.setPosition=function(e,t,n){var r;n?r={row:e,column:t}:r=this.$clipPositionToDocument(e,t);if(this.row==r.row&&this.column==r.column)return;var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._emit("change",{old:i,value:r})},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(s.prototype)}),define("ace/lib/lang",["require","exports","module"],function(e,t,n){t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){var n="";while(t>0){t&1&&(n+=e);if(t>>=1)e+=e}return n};var r=/^\s\s*/,i=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(r,"")},t.stringTrimRight=function(e){return e.replace(i,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){var t=[];for(var n=0,r=e.length;n<r;n++)e[n]&&typeof e[n]=="object"?t[n]=this.copyObject(e[n]):t[n]=e[n];return t},t.deepCopy=function(e){if(typeof e!="object")return e;var t=e.constructor();for(var n in e)typeof e[n]=="object"?t[n]=this.deepCopy(e[n]):t[n]=e[n];return t},t.arrayToMap=function(e){var t={};for(var n=0;n<e.length;n++)t[e[n]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var n in e)t[n]=e[n];return t},t.arrayRemove=function(e,t){for(var n=0;n<=e.length;n++)t===e[n]&&e.splice(n,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},t.getMatchOffsets=function(e,t){var n=[];return e.replace(t,function(e){n.push({offset:arguments[arguments.length-2],length:e.length})}),n},t.deferredCall=function(e){var t=null,n=function(){t=null,e()},r=function(e){return r.cancel(),t=setTimeout(n,e||0),r};return r.schedule=r,r.call=function(){return this.cancel(),e(),r},r.cancel=function(){return clearTimeout(t),t=null,r},r},t.delayedCall=function(e,t){var n=null,r=function(){n=null,e()},i=function(e){n&&clearTimeout(n),n=setTimeout(r,e||t)};return i.delay=i,i.schedule=function(e){n==null&&(n=setTimeout(r,e||0))},i.call=function(){this.cancel(),e()},i.cancel=function(){n&&clearTimeout(n),n=null},i.isPending=function(){return n},i}}),define("ace/mode/javascript/jshint",["require","exports","module"],function(e,t,n){function r(){return e.apply(this,arguments)}e=null,e=function i(t,n,r){function s(u,a){if(!n[u]){if(!t[u]){var f=typeof e=="function"&&e;if(!a&&f)return f(u,!0);if(o)return o(u,!0);throw new Error("Cannot find module '"+u+"'")}var l=n[u]={exports:{}};t[u][0].call(l.exports,function(e){var n=t[u][1][e];return s(n?n:e)},l,l.exports,i,t,n,r)}return n[u].exports}var o=typeof e=="function"&&e;for(var u=0;u<r.length;u++)s(r[u]);return s}({9:[function(e,t,n){function r(){}["log","info","warn","error","time","timeEnd","trace","dir","assert"].forEach(function(e){n[e]=r})},{}],1:[function(e,t,n){(function(){var e=this,r=e._,i={},s=Array.prototype,o=Object.prototype,u=Function.prototype,a=s.push,f=s.slice,l=s.concat,c=o.toString,h=o.hasOwnProperty,p=s.forEach,d=s.map,v=s.reduce,m=s.reduceRight,g=s.filter,y=s.every,b=s.some,w=s.indexOf,E=s.lastIndexOf,S=Array.isArray,x=Object.keys,T=u.bind,N=function(e){if(e instanceof N)return e;if(!(this instanceof N))return new N(e);this._wrapped=e};typeof n!="undefined"?(typeof t!="undefined"&&t.exports&&(n=t.exports=N),n._=N):e._=N,N.VERSION="1.4.4";var C=N.each=N.forEach=function(e,t,n){if(e==null)return;if(p&&e.forEach===p)e.forEach(t,n);else if(e.length===+e.length){for(var r=0,s=e.length;r<s;r++)if(t.call(n,e[r],r,e)===i)return}else for(var o in e)if(N.has(e,o)&&t.call(n,e[o],o,e)===i)return};N.map=N.collect=function(e,t,n){var r=[];return e==null?r:d&&e.map===d?e.map(t,n):(C(e,function(e,i,s){r[r.length]=t.call(n,e,i,s)}),r)};var k="Reduce of empty array with no initial value";N.reduce=N.foldl=N.inject=function(e,t,n,r){var i=arguments.length>2;e==null&&(e=[]);if(v&&e.reduce===v)return r&&(t=N.bind(t,r)),i?e.reduce(t,n):e.reduce(t);C(e,function(e,s,o){i?n=t.call(r,n,e,s,o):(n=e,i=!0)});if(!i)throw new TypeError(k);return n},N.reduceRight=N.foldr=function(e,t,n,r){var i=arguments.length>2;e==null&&(e=[]);if(m&&e.reduceRight===m)return r&&(t=N.bind(t,r)),i?e.reduceRight(t,n):e.reduceRight(t);var s=e.length;if(s!==+s){var o=N.keys(e);s=o.length}C(e,function(u,a,f){a=o?o[--s]:--s,i?n=t.call(r,n,e[a],a,f):(n=e[a],i=!0)});if(!i)throw new TypeError(k);return n},N.find=N.detect=function(e,t,n){var r;return L(e,function(e,i,s){if(t.call(n,e,i,s))return r=e,!0}),r},N.filter=N.select=function(e,t,n){var r=[];return e==null?r:g&&e.filter===g?e.filter(t,n):(C(e,function(e,i,s){t.call(n,e,i,s)&&(r[r.length]=e)}),r)},N.reject=function(e,t,n){return N.filter(e,function(e,r,i){return!t.call(n,e,r,i)},n)},N.every=N.all=function(e,t,n){t||(t=N.identity);var r=!0;return e==null?r:y&&e.every===y?e.every(t,n):(C(e,function(e,s,o){if(!(r=r&&t.call(n,e,s,o)))return i}),!!r)};var L=N.some=N.any=function(e,t,n){t||(t=N.identity);var r=!1;return e==null?r:b&&e.some===b?e.some(t,n):(C(e,function(e,s,o){if(r||(r=t.call(n,e,s,o)))return i}),!!r)};N.contains=N.include=function(e,t){return e==null?!1:w&&e.indexOf===w?e.indexOf(t)!=-1:L(e,function(e){return e===t})},N.invoke=function(e,t){var n=f.call(arguments,2),r=N.isFunction(t);return N.map(e,function(e){return(r?t:e[t]).apply(e,n)})},N.pluck=function(e,t){return N.map(e,function(e){return e[t]})},N.where=function(e,t,n){return N.isEmpty(t)?n?null:[]:N[n?"find":"filter"](e,function(e){for(var n in t)if(t[n]!==e[n])return!1;return!0})},N.findWhere=function(e,t){return N.where(e,t,!0)},N.max=function(e,t,n){if(!t&&N.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.max.apply(Math,e);if(!t&&N.isEmpty(e))return-Infinity;var r={computed:-Infinity,value:-Infinity};return C(e,function(e,i,s){var o=t?t.call(n,e,i,s):e;o>=r.computed&&(r={value:e,computed:o})}),r.value},N.min=function(e,t,n){if(!t&&N.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.min.apply(Math,e);if(!t&&N.isEmpty(e))return Infinity;var r={computed:Infinity,value:Infinity};return C(e,function(e,i,s){var o=t?t.call(n,e,i,s):e;o<r.computed&&(r={value:e,computed:o})}),r.value},N.shuffle=function(e){var t,n=0,r=[];return C(e,function(e){t=N.random(n++),r[n-1]=r[t],r[t]=e}),r};var A=function(e){return N.isFunction(e)?e:function(t){return t[e]}};N.sortBy=function(e,t,n){var r=A(t);return N.pluck(N.map(e,function(e,t,i){return{value:e,index:t,criteria:r.call(n,e,t,i)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||n===void 0)return 1;if(n<r||r===void 0)return-1}return e.index<t.index?-1:1}),"value")};var O=function(e,t,n,r){var i={},s=A(t||N.identity);return C(e,function(t,o){var u=s.call(n,t,o,e);r(i,u,t)}),i};N.groupBy=function(e,t,n){return O(e,t,n,function(e,t,n){(N.has(e,t)?e[t]:e[t]=[]).push(n)})},N.countBy=function(e,t,n){return O(e,t,n,function(e,t){N.has(e,t)||(e[t]=0),e[t]++})},N.sortedIndex=function(e,t,n,r){n=n==null?N.identity:A(n);var i=n.call(r,t),s=0,o=e.length;while(s<o){var u=s+o>>>1;n.call(r,e[u])<i?s=u+1:o=u}return s},N.toArray=function(e){return e?N.isArray(e)?f.call(e):e.length===+e.length?N.map(e,N.identity):N.values(e):[]},N.size=function(e){return e==null?0:e.length===+e.length?e.length:N.keys(e).length},N.first=N.head=N.take=function(e,t,n){return e==null?void 0:t!=null&&!n?f.call(e,0,t):e[0]},N.initial=function(e,t,n){return f.call(e,0,e.length-(t==null||n?1:t))},N.last=function(e,t,n){return e==null?void 0:t!=null&&!n?f.call(e,Math.max(e.length-t,0)):e[e.length-1]},N.rest=N.tail=N.drop=function(e,t,n){return f.call(e,t==null||n?1:t)},N.compact=function(e){return N.filter(e,N.identity)};var M=function(e,t,n){return C(e,function(e){N.isArray(e)?t?a.apply(n,e):M(e,t,n):n.push(e)}),n};N.flatten=function(e,t){return M(e,t,[])},N.without=function(e){return N.difference(e,f.call(arguments,1))},N.uniq=N.unique=function(e,t,n,r){N.isFunction(t)&&(r=n,n=t,t=!1);var i=n?N.map(e,n,r):e,s=[],o=[];return C(i,function(n,r){if(t?!r||o[o.length-1]!==n:!N.contains(o,n))o.push(n),s.push(e[r])}),s},N.union=function(){return N.uniq(l.apply(s,arguments))},N.intersection=function(e){var t=f.call(arguments,1);return N.filter(N.uniq(e),function(e){return N.every(t,function(t){return N.indexOf(t,e)>=0})})},N.difference=function(e){var t=l.apply(s,f.call(arguments,1));return N.filter(e,function(e){return!N.contains(t,e)})},N.zip=function(){var e=f.call(arguments),t=N.max(N.pluck(e,"length")),n=new Array(t);for(var r=0;r<t;r++)n[r]=N.pluck(e,""+r);return n},N.object=function(e,t){if(e==null)return{};var n={};for(var r=0,i=e.length;r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n},N.indexOf=function(e,t,n){if(e==null)return-1;var r=0,i=e.length;if(n){if(typeof n!="number")return r=N.sortedIndex(e,t),e[r]===t?r:-1;r=n<0?Math.max(0,i+n):n}if(w&&e.indexOf===w)return e.indexOf(t,n);for(;r<i;r++)if(e[r]===t)return r;return-1},N.lastIndexOf=function(e,t,n){if(e==null)return-1;var r=n!=null;if(E&&e.lastIndexOf===E)return r?e.lastIndexOf(t,n):e.lastIndexOf(t);var i=r?n:e.length;while(i--)if(e[i]===t)return i;return-1},N.range=function(e,t,n){arguments.length<=1&&(t=e||0,e=0),n=arguments[2]||1;var r=Math.max(Math.ceil((t-e)/n),0),i=0,s=new Array(r);while(i<r)s[i++]=e,e+=n;return s},N.bind=function(e,t){if(e.bind===T&&T)return T.apply(e,f.call(arguments,1));var n=f.call(arguments,2);return function(){return e.apply(t,n.concat(f.call(arguments)))}},N.partial=function(e){var t=f.call(arguments,1);return function(){return e.apply(this,t.concat(f.call(arguments)))}},N.bindAll=function(e){var t=f.call(arguments,1);return t.length===0&&(t=N.functions(e)),C(t,function(t){e[t]=N.bind(e[t],e)}),e},N.memoize=function(e,t){var n={};return t||(t=N.identity),function(){var r=t.apply(this,arguments);return N.has(n,r)?n[r]:n[r]=e.apply(this,arguments)}},N.delay=function(e,t){var n=f.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},N.defer=function(e){return N.delay.apply(N,[e,1].concat(f.call(arguments,1)))},N.throttle=function(e,t){var n,r,i,s,o=0,u=function(){o=new Date,i=null,s=e.apply(n,r)};return function(){var a=new Date,f=t-(a-o);return n=this,r=arguments,f<=0?(clearTimeout(i),i=null,o=a,s=e.apply(n,r)):i||(i=setTimeout(u,f)),s}},N.debounce=function(e,t,n){var r,i;return function(){var s=this,o=arguments,u=function(){r=null,n||(i=e.apply(s,o))},a=n&&!r;return clearTimeout(r),r=setTimeout(u,t),a&&(i=e.apply(s,o)),i}},N.once=function(e){var t=!1,n;return function(){return t?n:(t=!0,n=e.apply(this,arguments),e=null,n)}},N.wrap=function(e,t){return function(){var n=[e];return a.apply(n,arguments),t.apply(this,n)}},N.compose=function(){var e=arguments;return function(){var t=arguments;for(var n=e.length-1;n>=0;n--)t=[e[n].apply(this,t)];return t[0]}},N.after=function(e,t){return e<=0?t():function(){if(--e<1)return t.apply(this,arguments)}},N.keys=x||function(e){if(e!==Object(e))throw new TypeError("Invalid object");var t=[];for(var n in e)N.has(e,n)&&(t[t.length]=n);return t},N.values=function(e){var t=[];for(var n in e)N.has(e,n)&&t.push(e[n]);return t},N.pairs=function(e){var t=[];for(var n in e)N.has(e,n)&&t.push([n,e[n]]);return t},N.invert=function(e){var t={};for(var n in e)N.has(e,n)&&(t[e[n]]=n);return t},N.functions=N.methods=function(e){var t=[];for(var n in e)N.isFunction(e[n])&&t.push(n);return t.sort()},N.extend=function(e){return C(f.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e},N.pick=function(e){var t={},n=l.apply(s,f.call(arguments,1));return C(n,function(n){n in e&&(t[n]=e[n])}),t},N.omit=function(e){var t={},n=l.apply(s,f.call(arguments,1));for(var r in e)N.contains(n,r)||(t[r]=e[r]);return t},N.defaults=function(e){return C(f.call(arguments,1),function(t){if(t)for(var n in t)e[n]==null&&(e[n]=t[n])}),e},N.clone=function(e){return N.isObject(e)?N.isArray(e)?e.slice():N.extend({},e):e},N.tap=function(e,t){return t(e),e};var _=function(e,t,n,r){if(e===t)return e!==0||1/e==1/t;if(e==null||t==null)return e===t;e instanceof N&&(e=e._wrapped),t instanceof N&&(t=t._wrapped);var i=c.call(e);if(i!=c.call(t))return!1;switch(i){case"[object String]":return e==String(t);case"[object Number]":return e!=+e?t!=+t:e==0?1/e==1/t:e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object RegExp]":return e.source==t.source&&e.global==t.global&&e.multiline==t.multiline&&e.ignoreCase==t.ignoreCase}if(typeof e!="object"||typeof t!="object")return!1;var s=n.length;while(s--)if(n[s]==e)return r[s]==t;n.push(e),r.push(t);var o=0,u=!0;if(i=="[object Array]"){o=e.length,u=o==t.length;if(u)while(o--)if(!(u=_(e[o],t[o],n,r)))break}else{var a=e.constructor,f=t.constructor;if(a!==f&&!(N.isFunction(a)&&a instanceof a&&N.isFunction(f)&&f instanceof f))return!1;for(var l in e)if(N.has(e,l)){o++;if(!(u=N.has(t,l)&&_(e[l],t[l],n,r)))break}if(u){for(l in t)if(N.has(t,l)&&!(o--))break;u=!o}}return n.pop(),r.pop(),u};N.isEqual=function(e,t){return _(e,t,[],[])},N.isEmpty=function(e){if(e==null)return!0;if(N.isArray(e)||N.isString(e))return e.length===0;for(var t in e)if(N.has(e,t))return!1;return!0},N.isElement=function(e){return!!e&&e.nodeType===1},N.isArray=S||function(e){return c.call(e)=="[object Array]"},N.isObject=function(e){return e===Object(e)},C(["Arguments","Function","String","Number","Date","RegExp"],function(e){N["is"+e]=function(t){return c.call(t)=="[object "+e+"]"}}),N.isArguments(arguments)||(N.isArguments=function(e){return!!e&&!!N.has(e,"callee")}),typeof /./!="function"&&(N.isFunction=function(e){return typeof e=="function"}),N.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},N.isNaN=function(e){return N.isNumber(e)&&e!=+e},N.isBoolean=function(e){return e===!0||e===!1||c.call(e)=="[object Boolean]"},N.isNull=function(e){return e===null},N.isUndefined=function(e){return e===void 0},N.has=function(e,t){return h.call(e,t)},N.noConflict=function(){return e._=r,this},N.identity=function(e){return e},N.times=function(e,t,n){var r=Array(e);for(var i=0;i<e;i++)r[i]=t.call(n,i);return r},N.random=function(e,t){return t==null&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))};var D={escape:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;"}};D.unescape=N.invert(D.escape);var P={escape:new RegExp("["+N.keys(D.escape).join("")+"]","g"),unescape:new RegExp("("+N.keys(D.unescape).join("|")+")","g")};N.each(["escape","unescape"],function(e){N[e]=function(t){return t==null?"":(""+t).replace(P[e],function(t){return D[e][t]})}}),N.result=function(e,t){if(e==null)return null;var n=e[t];return N.isFunction(n)?n.call(e):n},N.mixin=function(e){C(N.functions(e),function(t){var n=N[t]=e[t];N.prototype[t]=function(){var e=[this._wrapped];return a.apply(e,arguments),I.call(this,n.apply(N,e))}})};var H=0;N.uniqueId=function(e){var t=++H+"";return e?e+t:t},N.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var B=/(.)^/,j={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},F=/\\|'|\r|\n|\t|\u2028|\u2029/g;N.template=function(e,t,n){var r;n=N.defaults({},n,N.templateSettings);var i=new RegExp([(n.escape||B).source,(n.interpolate||B).source,(n.evaluate||B).source].join("|")+"|$","g"),s=0,o="__p+='";e.replace(i,function(t,n,r,i,u){return o+=e.slice(s,u).replace(F,function(e){return"\\"+j[e]}),n&&(o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'"),r&&(o+="'+\n((__t=("+r+"))==null?'':__t)+\n'"),i&&(o+="';\n"+i+"\n__p+='"),s=u+t.length,t}),o+="';\n",n.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{r=new Function(n.variable||"obj","_",o)}catch(u){throw u.source=o,u}if(t)return r(t,N);var a=function(e){return r.call(this,e,N)};return a.source="function("+(n.variable||"obj")+"){\n"+o+"}",a},N.chain=function(e){return N(e).chain()};var I=function(e){return this._chain?N(e).chain():e};N.mixin(N),C(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=s[e];N.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),(e=="shift"||e=="splice")&&n.length===0&&delete n[0],I.call(this,n)}}),C(["concat","join","slice"],function(e){var t=s[e];N.prototype[e]=function(){return I.call(this,t.apply(this._wrapped,arguments))}}),N.extend(N.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}})}).call(this)},{}],2:[function(e,t,n){var r=e("underscore"),i={E001:"Bad option: '{a}'.",E002:"Bad option value.",E003:"Expected a JSON value.",E004:"Input is neither a string nor an array of strings.",E005:"Input is empty.",E006:"Unexpected early end of program.",E007:'Missing "use strict" statement.',E008:"Strict violation.",E009:"Option 'validthis' can't be used in a global scope.",E010:"'with' is not allowed in strict mode.",E011:"const '{a}' has already been declared.",E012:"const '{a}' is initialized to 'undefined'.",E013:"Attempting to override '{a}' which is a constant.",E014:"A regular expression literal can be confused with '/='.",E015:"Unclosed regular expression.",E016:"Invalid regular expression.",E017:"Unclosed comment.",E018:"Unbegun comment.",E019:"Unmatched '{a}'.",E020:"Expected '{a}' to match '{b}' from line {c} and instead saw '{d}'.",E021:"Expected '{a}' and instead saw '{b}'.",E022:"Line breaking error '{a}'.",E023:"Missing '{a}'.",E024:"Unexpected '{a}'.",E025:"Missing ':' on a case clause.",E026:"Missing '}' to match '{' from line {a}.",E027:"Missing ']' to match '[' form line {a}.",E028:"Illegal comma.",E029:"Unclosed string.",E030:"Expected an identifier and instead saw '{a}'.",E031:"Bad assignment.",E032:"Expected a small integer or 'false' and instead saw '{a}'.",E033:"Expected an operator and instead saw '{a}'.",E034:"get/set are ES5 features.",E035:"Missing property name.",E036:"Expected to see a statement and instead saw a block.",E037:null,E038:null,E039:"Function declarations are not invocable. Wrap the whole function invocation in parens.",E040:"Each value should have its own case label.",E041:"Unrecoverable syntax error.",E042:"Stopping.",E043:"Too many errors.",E044:"'{a}' is already defined and can't be redefined.",E045:"Invalid for each loop.",E046:"A yield statement shall be within a generator function (with syntax: `function*`)",E047:"A generator function shall contain a yield statement.",E048:"Let declaration not directly within block.",E049:"A {a} cannot be named '{b}'.",E050:"Mozilla requires the yield expression to be parenthesized here.",E051:"Regular parameters cannot come after default parameters."},s={W001:"'hasOwnProperty' is a really bad name.",W002:"Value of '{a}' may be overwritten in IE 8 and earlier.",W003:"'{a}' was used before it was defined.",W004:"'{a}' is already defined.",W005:"A dot following a number can be confused with a decimal point.",W006:"Confusing minuses.",W007:"Confusing pluses.",W008:"A leading decimal point can be confused with a dot: '{a}'.",W009:"The array literal notation [] is preferrable.",W010:"The object literal notation {} is preferrable.",W011:"Unexpected space after '{a}'.",W012:"Unexpected space before '{a}'.",W013:"Missing space after '{a}'.",W014:"Bad line breaking before '{a}'.",W015:"Expected '{a}' to have an indentation at {b} instead at {c}.",W016:"Unexpected use of '{a}'.",W017:"Bad operand.",W018:"Confusing use of '{a}'.",W019:"Use the isNaN function to compare with NaN.",W020:"Read only.",W021:"'{a}' is a function.",W022:"Do not assign to the exception parameter.",W023:"Expected an identifier in an assignment and instead saw a function invocation.",W024:"Expected an identifier and instead saw '{a}' (a reserved word).",W025:"Missing name in function declaration.",W026:"Inner functions should be listed at the top of the outer function.",W027:"Unreachable '{a}' after '{b}'.",W028:"Label '{a}' on {b} statement.",W030:"Expected an assignment or function call and instead saw an expression.",W031:"Do not use 'new' for side effects.",W032:"Unnecessary semicolon.",W033:"Missing semicolon.",W034:'Unnecessary directive "{a}".',W035:"Empty block.",W036:"Unexpected /*member '{a}'.",W037:"'{a}' is a statement label.",W038:"'{a}' used out of scope.",W039:"'{a}' is not allowed.",W040:"Possible strict violation.",W041:"Use '{a}' to compare with '{b}'.",W042:"Avoid EOL escaping.",W043:"Bad escaping of EOL. Use option multistr if needed.",W044:"Bad or unnecessary escaping.",W045:"Bad number '{a}'.",W046:"Don't use extra leading zeros '{a}'.",W047:"A trailing decimal point can be confused with a dot: '{a}'.",W048:"Unexpected control character in regular expression.",W049:"Unexpected escaped character '{a}' in regular expression.",W050:"JavaScript URL.",W051:"Variables should not be deleted.",W052:"Unexpected '{a}'.",W053:"Do not use {a} as a constructor.",W054:"The Function constructor is a form of eval.",W055:"A constructor name should start with an uppercase letter.",W056:"Bad constructor.",W057:"Weird construction. Is 'new' unnecessary?",W058:"Missing '()' invoking a constructor.",W059:"Avoid arguments.{a}.",W060:"document.write can be a form of eval.",W061:"eval can be harmful.",W062:"Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.",W063:"Math is not a function.",W064:"Missing 'new' prefix when invoking a constructor.",W065:"Missing radix parameter.",W066:"Implied eval. Consider passing a function instead of a string.",W067:"Bad invocation.",W068:"Wrapping non-IIFE function literals in parens is unnecessary.",W069:"['{a}'] is better written in dot notation.",W070:"Extra comma. (it breaks older versions of IE)",W071:"This function has too many statements. ({a})",W072:"This function has too many parameters. ({a})",W073:"Blocks are nested too deeply. ({a})",W074:"This function's cyclomatic complexity is too high. ({a})",W075:"Duplicate key '{a}'.",W076:"Unexpected parameter '{a}' in get {b} function.",W077:"Expected a single parameter in set {a} function.",W078:"Setter is defined without getter.",W079:"Redefinition of '{a}'.",W080:"It's not necessary to initialize '{a}' to 'undefined'.",W081:"Too many var statements.",W082:"Function declarations should not be placed in blocks. Use a function expression or move the statement to the top of the outer function.",W083:"Don't make functions within a loop.",W084:"Assignment in conditional expression",W085:"Don't use 'with'.",W086:"Expected a 'break' statement before '{a}'.",W087:"Forgotten 'debugger' statement?",W088:"Creating global 'for' variable. Should be 'for (var {a} ...'.",W089:"The body of a for in should be wrapped in an if statement to filter unwanted properties from the prototype.",W090:"'{a}' is not a statement label.",W091:"'{a}' is out of scope.",W092:"Wrap the /regexp/ literal in parens to disambiguate the slash operator.",W093:"Did you mean to return a conditional instead of an assignment?",W094:"Unexpected comma.",W095:"Expected a string and instead saw {a}.",W096:"The '{a}' key may produce unexpected results.",W097:'Use the function form of "use strict".',W098:"'{a}' is defined but never used.",W099:"Mixed spaces and tabs.",W100:"This character may get silently deleted by one or more browsers.",W101:"Line is too long.",W102:"Trailing whitespace.",W103:"The '{a}' property is deprecated.",W104:"'{a}' is only available in JavaScript 1.7.",W105:"Unexpected {a} in '{b}'.",W106:"Identifier '{a}' is not in camel case.",W107:"Script URL.",W108:"Strings must use doublequote.",W109:"Strings must use singlequote.",W110:"Mixed double and single quotes.",W112:"Unclosed string.",W113:"Control character in string: {a}.",W114:"Avoid {a}.",W115:"Octal literals are not allowed in strict mode.",W116:"Expected '{a}' and instead saw '{b}'.",W117:"'{a}' is not defined.",W118:"'{a}' is only available in Mozilla JavaScript extensions (use moz option).",W119:"'{a}' is only available in ES6 (use esnext option).",W120:"You might be leaking a variable ({a}) here."},o={I001:"Comma warnings can be turned off with 'laxcomma'.",I002:"Reserved words as properties can be used under the 'es5' option.",I003:"ES5 option is now set per default"};n.errors={},n.warnings={},n.info={},r.each(i,function(e,t){n.errors[t]={code:t,desc:e}}),r.each(s,function(e,t){n.warnings[t]={code:t,desc:e}}),r.each(o,function(e,t){n.info[t]={code:t,desc:e}})},{underscore:1}],3:[function(e,t,n){n.reservedVars={arguments:!1,NaN:!1},n.ecmaIdentifiers={Array:!1,Boolean:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,isFinite:!1,isNaN:!1,JSON:!1,Math:!1,Map:!1,Number:!1,Object:!1,parseInt:!1,parseFloat:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,Set:!1,String:!1,SyntaxError:!1,TypeError:!1,URIError:!1,WeakMap:!1},n.browser={ArrayBuffer:!1,ArrayBufferView:!1,Audio:!1,Blob:!1,addEventListener:!1,applicationCache:!1,atob:!1,blur:!1,btoa:!1,clearInterval:!1,clearTimeout:!1,close:!1,closed:!1,CustomEvent:!1,DataView:!1,DOMParser:!1,defaultStatus:!1,document:!1,Element:!1,ElementTimeControl:!1,event:!1,FileReader:!1,Float32Array:!1,Float64Array:!1,FormData:!1,focus:!1,frames:!1,getComputedStyle:!1,HTMLElement:!1,HTMLAnchorElement:!1,HTMLBaseElement:!1,HTMLBlockquoteElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLIsIndexElement:!1,HTMLLabelElement:!1,HTMLLayerElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPreElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTextAreaElement:!1,HTMLTitleElement:!1,HTMLUListElement:!1,HTMLVideoElement:!1,history:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Image:!1,length:!1,localStorage:!1,location:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationObserver:!1,name:!1,Node:!1,NodeFilter:!1,navigator:!1,onbeforeunload:!0,onblur:!0,onerror:!0,onfocus:!0,onload:!0,onresize:!0,onunload:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,parent:!1,print:!1,removeEventListener:!1,resizeBy:!1,resizeTo:!1,screen:!1,scroll:!1,scrollBy:!1,scrollTo:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,SharedWorker:!1,status:!1,SVGAElement:!1,SVGAltGlyphDefElement:!1,SVGAltGlyphElement:!1,SVGAltGlyphItemElement:!1,SVGAngle:!1,SVGAnimateColorElement:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPathData:!1,SVGAnimatedPoints:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimationElement:!1,SVGCSSRule:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGColor:!1,SVGColorProfileElement:!1,SVGColorProfileRule:!1,SVGComponentTransferFunctionElement:!1,SVGCursorElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDocument:!1,SVGElement:!1,SVGElementInstance:!1,SVGElementInstanceList:!1,SVGEllipseElement:!1,SVGExternalResourcesRequired:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGFilterPrimitiveStandardAttributes:!1,SVGFitToViewBox:!1,SVGFontElement:!1,SVGFontFaceElement:!1,SVGFontFaceFormatElement:!1,SVGFontFaceNameElement:!1,SVGFontFaceSrcElement:!1,SVGFontFaceUriElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGlyphElement:!1,SVGGlyphRefElement:!1,SVGGradientElement:!1,SVGHKernElement:!1,SVGICCColor:!1,SVGImageElement:!1,SVGLangSpace:!1,SVGLength:!1,SVGLengthList:!1,SVGLineElement:!1,SVGLinearGradientElement:!1,SVGLocatable:!1,SVGMPathElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMissingGlyphElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPaint:!1,SVGPathElement:!1,SVGPathSeg:!1,SVGPathSegArcAbs:!1,SVGPathSegArcRel:!1,SVGPathSegClosePath:!1,SVGPathSegCurvetoCubicAbs:!1,SVGPathSegCurvetoCubicRel:!1,SVGPathSegCurvetoCubicSmoothAbs:!1,SVGPathSegCurvetoCubicSmoothRel:!1,SVGPathSegCurvetoQuadraticAbs:!1,SVGPathSegCurvetoQuadraticRel:!1,SVGPathSegCurvetoQuadraticSmoothAbs:!1,SVGPathSegCurvetoQuadraticSmoothRel:!1,SVGPathSegLinetoAbs:!1,SVGPathSegLinetoHorizontalAbs:!1,SVGPathSegLinetoHorizontalRel:!1,SVGPathSegLinetoRel:!1,SVGPathSegLinetoVerticalAbs:!1,SVGPathSegLinetoVerticalRel:!1,SVGPathSegList:!1,SVGPathSegMovetoAbs:!1,SVGPathSegMovetoRel:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGRenderingIntent:!1,SVGSVGElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStylable:!1,SVGStyleElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTRefElement:!1,SVGTSpanElement:!1,SVGTests:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTransformable:!1,SVGURIReference:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGVKernElement:!1,SVGViewElement:!1,SVGViewSpec:!1,SVGZoomAndPan:!1,TimeEvent:!1,top:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,WebSocket:!1,window:!1,Worker:!1,XMLHttpRequest:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathException:!1,XPathExpression:!1,XPathNamespace:!1,XPathNSResolver:!1,XPathResult:!1},n.devel={alert:!1,confirm:!1,console:!1,Debug:!1,opera:!1,prompt:!1},n.worker={importScripts:!0,postMessage:!0,self:!0},n.nonstandard={escape:!1,unescape:!1},n.couch={require:!1,respond:!1,getRow:!1,emit:!1,send:!1,start:!1,sum:!1,log:!1,exports:!1,module:!1,provides:!1},n.node={__filename:!1,__dirname:!1,Buffer:!1,DataView:!1,console:!1,exports:!0,GLOBAL:!1,global:!1,module:!1,process:!1,require:!1,setTimeout:!1,clearTimeout:!1,setInterval:!1,clearInterval:!1,setImmediate:!1,clearImmediate:!1},n.phantom={phantom:!0,require:!0,WebPage:!0},n.rhino={defineClass:!1,deserialize:!1,gc:!1,help:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},n.shelljs={target:!1,echo:!1,exit:!1,cd:!1,pwd:!1,ls:!1,find:!1,cp:!1,rm:!1,mv:!1,mkdir:!1,test:!1,cat:!1,sed:!1,grep:!1,which:!1,dirs:!1,pushd:!1,popd:!1,env:!1,exec:!1,chmod:!1,config:!1,error:!1,tempdir:!1},n.wsh={ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WSH:!0,WScript:!0,XDomainRequest:!0},n.dojo={dojo:!1,dijit:!1,dojox:!1,define:!1,require:!1},n.jquery={$:!1,jQuery:!1},n.mootools={$:!1,$$:!1,Asset:!1,Browser:!1,Chain:!1,Class:!1,Color:!1,Cookie:!1,Core:!1,Document:!1,DomReady:!1,DOMEvent:!1,DOMReady:!1,Drag:!1,Element:!1,Elements:!1,Event:!1,Events:!1,Fx:!1,Group:!1,Hash:!1,HtmlTable:!1,Iframe:!1,IframeShim:!1,InputValidator:!1,instanceOf:!1,Keyboard:!1,Locale:!1,Mask:!1,MooTools:!1,Native:!1,Options:!1,OverText:!1,Request:!1,Scroller:!1,Slick:!1,Slider:!1,Sortables:!1,Spinner:!1,Swiff:!1,Tips:!1,Type:!1,typeOf:!1,URI:!1,Window:!1},n.prototypejs={$:!1,$$:!1,$A:!1,$F:!1,$H:!1,$R:!1,$break:!1,$continue:!1,$w:!1,Abstract:!1,Ajax:!1,Class:!1,Enumerable:!1,Element:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Selector:!1,Template:!1,Toggle:!1,Try:!1,Autocompleter:!1,Builder:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Scriptaculous:!1},n.yui={YUI:!1,Y:!1,YUI_config:!1}},{}],n4bKNg:[function(e,t,n){var r=e("underscore"),i=e("events"),s=e("../shared/vars.js"),o=e("../shared/messages.js"),u=e("./lex.js").Lexer,a=e("./reg.js"),f=e("./state.js").state,l=e("./style.js"),c=e("console-browserify"),h=function(){function e(e,t){return e=e.trim(),/^[+-]W\d{3}$/g.test(e)?!0:Ot[e]===undefined&&At[e]===undefined&&t.type!=="jslint"?(E("E001",t,e),!1):!0}function t(e){return Object.prototype.toString.call(e)==="[object String]"}function n(e,t){return e?!e.identifier||e.value!==t?!1:!0:!1}function c(e){if(!e.reserved)return!1;var t=e.meta;if(t&&t.isFutureReservedWord&&f.option.inES5()){if(!t.es5)return!1;if(t.strictOnly&&!f.option.strict&&!f.directive["use strict"])return!1;if(e.isProperty)return!1}return!0}function p(e,t){return e.replace(/\{([^{}]*)\}/g,function(e,n){var r=t[n];return typeof r=="string"||typeof r=="number"?r:e})}function d(e,t){var n;for(n in t)r.has(t,n)&&!r.has(h.blacklist,n)&&(e[n]=t[n])}function v(){Object.keys(h.blacklist).forEach(function(e){delete $t[e]})}function m(){f.option.couch&&d($t,s.couch),f.option.rhino&&d($t,s.rhino),f.option.shelljs&&(d($t,s.shelljs),d($t,s.node)),f.option.phantom&&d($t,s.phantom),f.option.prototypejs&&d($t,s.prototypejs),f.option.node&&d($t,s.node),f.option.devel&&d($t,s.devel),f.option.dojo&&d($t,s.dojo),f.option.browser&&d($t,s.browser),f.option.nonstandard&&d($t,s.nonstandard),f.option.jquery&&d($t,s.jquery),f.option.mootools&&d($t,s.mootools),f.option.worker&&d($t,s.worker),f.option.wsh&&d($t,s.wsh),f.option.globalstrict&&f.option.strict!==!1&&(f.option.strict=!0),f.option.yui&&d($t,s.yui),f.option.inMoz=function(e){return f.option.moz},f.option.inESNext=function(e){return f.option.moz||f.option.esnext},f.option.inES5=function(){return!f.option.es3},f.option.inES3=function(e){return e?!f.option.moz&&!f.option.esnext&&f.option.es3:f.option.es3}}function g(e,t,n){var r=Math.floor(t/f.lines.length*100),i=o.errors[e].desc;throw{name:"JSHintError",line:t,character:n,message:i+" ("+r+"% scanned).",raw:i,code:e}}function y(e,t,n,r){return h.undefs.push([e,t,n,r])}function b(e,t,n,r,i,s){var u,a,l,c;if(/^W\d{3}$/.test(e)){if(f.ignored[e])return;c=o.warnings[e]}else/E\d{3}/.test(e)?c=o.errors[e]:/I\d{3}/.test(e)&&(c=o.info[e]);return t=t||f.tokens.next,t.id==="(end)"&&(t=f.tokens.curr),a=t.line||0,u=t.from||0,l={id:"(error)",raw:c.desc,code:c.code,evidence:f.lines[a-1]||"",line:a,character:u,scope:h.scope,a:n,b:r,c:i,d:s},l.reason=p(c.desc,l),h.errors.push(l),f.option.passfail&&g("E042",a,u),Yt+=1,Yt>=f.option.maxerr&&g("E043",a,u),l}function w(e,t,n,r,i,s,o){return b(e,{line:t,from:n},r,i,s,o)}function E(e,t,n,r,i,s){b(e,t,n,r,i,s)}function S(e,t,n,r,i,s,o){return E(e,{line:t,from:n},r,i,s,o)}function x(e,t){var n;return n={id:"(internal)",elem:e,value:t},h.internals.push(n),n}function T(e,t,n,i){t==="exception"&&r.has(Bt["(context)"],e)&&Bt[e]!==!0&&!f.option.node&&b("W002",f.tokens.next,e),r.has(Bt,e)&&!Bt["(global)"]&&(Bt[e]===!0?f.option.latedef&&(f.option.latedef===!0&&r.contains([Bt[e],t],"unction")||!r.contains([Bt[e],t],"unction"))&&b("W003",f.tokens.next,e):(!f.option.shadow&&t!=="exception"||Bt["(blockscope)"].getlabel(e))&&b("W004",f.tokens.next,e)),Bt["(blockscope)"]&&Bt["(blockscope)"].current.has(e)&&E("E044",f.tokens.next,e),i?Bt["(blockscope)"].current.add(e,t,f.tokens.curr):(Bt[e]=t,n&&(Bt["(tokens)"][e]=n),Bt["(global)"]?(Ft[e]=Bt,r.has(It,e)&&(f.option.latedef&&(f.option.latedef===!0&&r.contains([Bt[e],t],"unction")||!r.contains([Bt[e],t],"unction"))&&b("W003",f.tokens.next,e),delete It[e])):Jt[e]=Bt)}function N(){var t=f.tokens.next,n=t.body.match(/(-\s+)?[^\s,]+(?:\s*:\s*(-\s+)?[^\s,]+)?/g),i={};if(t.type==="globals"){n.forEach(function(e){e=e.split(":");var t=(e[0]||"").trim(),n=(e[1]||"").trim();t.charAt(0)==="-"?(t=t.slice(1),n=!1,h.blacklist[t]=t,v()):i[t]=n==="true"}),d($t,i);for(var s in i)r.has(i,s)&&(Dt[s]=t)}t.type==="exported"&&n.forEach(function(e){Pt[e]=!0}),t.type==="members"&&(Xt=Xt||{},n.forEach(function(e){var t=e.charAt(0),n=e.charAt(e.length-1);t===n&&(t==='"'||t==="'")&&(e=e.substr(1,e.length-2).replace("\\b","\b").replace("\\t","       ").replace("\\n","\n").replace("\\v","\v").replace("\\f","\f").replace("\\r","\r").replace("\\\\","\\").replace('\\"','"')),Xt[e]=!1}));var o=["maxstatements","maxparams","maxdepth","maxcomplexity","maxerr","maxlen","indent"];if(t.type==="jshint"||t.type==="jslint")n.forEach(function(n){n=n.split(":");var r=(n[0]||"").trim(),i=(n[1]||"").trim();if(!e(r,t))return;if(o.indexOf(r)>=0){if(i!=="false"){i=+i;if(typeof i!="number"||!isFinite(i)||i<=0||Math.floor(i)!==i){E("E032",t,n[1].trim());return}r==="indent"&&(f.option["(explicitIndent)"]=!0),f.option[r]=i}else r==="indent"?f.option["(explicitIndent)"]=!1:f.option[r]=!1;return}if(r==="validthis"){Bt["(global)"]?E("E009"):i==="true"||i==="false"?f.option.validthis=i==="true":E("E002",t);return}if(r==="quotmark"){switch(i){case"true":case"false":f.option.quotmark=i==="true";break;case"double":case"single":f.option.quotmark=i;break;default:E("E002",t)}return}if(r==="unused"){switch(i){case"true":f.option.unused=!0;break;case"false":f.option.unused=!1;break;case"vars":case"strict":f.option.unused=i;break;default:E("E002",t)}return}if(r==="latedef"){switch(i){case"true":f.option.latedef=!0;break;case"false":f.option.latedef=!1;break;case"nofunc":f.option.latedef="nofunc";break;default:E("E002",t)}return}var s=/^([+-])(W\d{3})$/g.exec(r);if(s){f.ignored[s[2]]=s[1]==="-";return}var u;if(i==="true"||i==="false"){t.type==="jslint"?(u=_t[r]||r,f.option[u]=i==="true",Mt[u]!==undefined&&(f.option[u]=!f.option[u])):f.option[r]=i==="true",r==="newcap"&&(f.option["(explicitNewcap)"]=!0);return}E("E002",t)}),m()}function C(e){var t=e||0,n=0,r;while(n<=t)r=Ut[n],r||(r=Ut[n]=zt.token()),n+=1;return r}function k(e,t){switch(f.tokens.curr.id){case"(number)":f.tokens.next.id==="."&&b("W005",f.tokens.curr);break;case"-":(f.tokens.next.id==="-"||f.tokens.next.id==="--")&&b("W006");break;case"+":(f.tokens.next.id==="+"||f.tokens.next.id==="++")&&b("W007")}if(f.tokens.curr.type==="(string)"||f.tokens.curr.identifier)Ct=f.tokens.curr.value;e&&f.tokens.next.id!==e&&(t?f.tokens.next.id==="(end)"?E("E019",t,t.id):E("E020",f.tokens.next,e,t.id,t.line,f.tokens.next.value):(f.tokens.next.type!=="(identifier)"||f.tokens.next.value!==e)&&b("W116",f.tokens.next,e,f.tokens.next.value)),f.tokens.prev=f.tokens.curr,f.tokens.curr=f.tokens.next;for(;;){f.tokens.next=Ut.shift()||zt.token(),f.tokens.next||g("E041",f.tokens.curr.line);if(f.tokens.next.id==="(end)"||f.tokens.next.id==="(error)")return;f.tokens.next.check&&f.tokens.next.check();if(f.tokens.next.isSpecial)N();else if(f.tokens.next.id!=="(endline)")break}}function L(e){return e.infix||!e.identifier&&!!e.led}function A(){var e=f.tokens.curr,t=f.tokens.next;return t.id===";"||t.id==="}"||t.id===":"?!0:L(t)===L(e)||e.id==="yield"&&f.option.inMoz(!0)?e.line!==t.line:!1}function O(e,t){var n,r=!1,i=!1,s=!1;!t&&f.tokens.next.value==="let"&&C(0).value==="("&&(f.option.inMoz(!0)||b("W118",f.tokens.next,"let expressions"),s=!0,Bt["(blockscope)"].stack(),k("let"),k("("),f.syntax.let.fud.call(f.syntax.let.fud,!1),k(")")),f.tokens.next.id==="(end)"&&E("E006",f.tokens.curr),k(),t&&(Ct="anonymous",Bt["(verb)"]=f.tokens.curr.value);if(t===!0&&f.tokens.curr.fud)n=f.tokens.curr.fud();else{f.tokens.curr.nud?n=f.tokens.curr.nud():E("E030",f.tokens.curr,f.tokens.curr.id);while(e<f.tokens.next.lbp&&!A())r=f.tokens.curr.value==="Array",i=f.tokens.curr.value==="Object",n&&(n.value||n.first&&n.first.value)&&(n.value!=="new"||n.first&&n.first.value&&n.first.value===".")&&(r=!1,n.value!==f.tokens.curr.value&&(i=!1)),k(),r&&f.tokens.curr.id==="("&&f.tokens.next.id===")"&&b("W009",f.tokens.curr),i&&f.tokens.curr.id==="("&&f.tokens.next.id===")"&&b("W010",f.tokens.curr),n&&f.tokens.curr.led?n=f.tokens.curr.led(n):E("E033",f.tokens.curr,f.tokens.curr.id)}return s&&Bt["(blockscope)"].unstack(),n}function M(e,t){e=e||f.tokens.curr,t=t||f.tokens.next,f.option.white&&e.character!==t.from&&e.line===t.line&&(e.from+=e.character-e.from,b("W011",e,e.value))}function _(e,t){e=e||f.tokens.curr,t=t||f.tokens.next,f.option.white&&(e.character!==t.from||e.line!==t.line)&&b("W012",t,t.value)}function D(e,t){e=e||f.tokens.curr,t=t||f.tokens.next,f.option.white&&!e.comment&&e.line===t.line&&M(e,t)}function P(e,t){if(f.option.white){e=e||f.tokens.curr,t=t||f.tokens.next;if(e.value===";"&&t.value===";")return;e.line===t.line&&e.character===t.from&&(e.from+=e.character-e.from,b("W013",e,e.value))}}function H(e,t){e=e||f.tokens.curr,t=t||f.tokens.next,!f.option.laxbreak&&e.line!==t.line?b("W014",t,t.value):f.option.white&&(e=e||f.tokens.curr,t=t||f.tokens.next,e.character===t.from&&(e.from+=e.character-e.from,b("W013",e,e.value)))}function B(e){if(!f.option.white&&!f.option["(explicitIndent)"])return;if(f.tokens.next.id==="(end)")return;var t=Rt+(e||0);f.tokens.next.from!==t&&b("W015",f.tokens.next,f.tokens.next.value,t,f.tokens.next.from)}function j(e){e=e||f.tokens.curr,e.line!==f.tokens.next.line&&b("E022",e,e.value)}function F(e,t){e.line!==t.line?f.option.laxcomma||(I.first&&(b("I001"),I.first=!1),b("W014",e,t.value)):!e.comment&&e.character!==t.from&&f.option.white&&(e.from+=e.character-e.from,b("W011",e,e.value))}function I(e){e=e||{},e.peek?F(f.tokens.prev,f.tokens.curr):(F(f.tokens.curr,f.tokens.next),k(",")),f.tokens.next.value!=="]"&&f.tokens.next.value!=="}"&&P(f.tokens.curr,f.tokens.next);if(f.tokens.next.identifier&&(!e.property||!f.option.inES5()))switch(f.tokens.next.value){case"break":case"case":case"catch":case"continue":case"default":case"do":case"else":case"finally":case"for":case"if":case"in":case"instanceof":case"return":case"switch":case"throw":case"try":case"var":case"let":case"while":case"with":return E("E024",f.tokens.next,f.tokens.next.value),!1}if(f.tokens.next.type==="(punctuator)")switch(f.tokens.next.value){case"}":case"]":case",":if(e.allowTrailing)return!0;case")":return E("E024",f.tokens.next,f.tokens.next.value),!1}return!0}function q(e,t){var n=f.syntax[e];if(!n||typeof n!="object")f.syntax[e]=n={id:e,lbp:t,value:e};return n}function R(e){return q(e,0)}function U(e,t){var n=R(e);return n.identifier=n.reserved=!0,n.fud=t,n}function z(e,t){var n=U(e,t);return n.block=!0,n}function W(e){var t=e.id.charAt(0);if(t>="a"&&t<="z"||t>="A"&&t<="Z")e.identifier=e.reserved=!0;return e}function X(e,t){var n=q(e,150);return W(n),n.nud=typeof t=="function"?t:function(){this.right=O(150),this.arity="unary";if(this.id==="++"||this.id==="--")f.option.plusplus?b("W016",this,this.id):(!this.right.identifier||c(this.right))&&this.right.id!=="."&&this.right.id!=="["&&b("W017",this);return this},n}function V(e,t){var n=R(e);return n.type=e,n.nud=t,n}function $(e,t){var n=V(e,t);return n.identifier=!0,n.reserved=!0,n}function J(e,t){var n=V(e,t&&t.nud||function(){return this});return t=t||{},t.isFutureReservedWord=!0,n.value=e,n.identifier=!0,n.reserved=!0,n.meta=t,n}function K(e,t){return $(e,function(){return typeof t=="function"&&t(this),this})}function Q(e,t,n,r){var i=q(e,n);return W(i),i.infix=!0,i.led=function(i){return r||(H(f.tokens.prev,f.tokens.curr),P(f.tokens.curr,f.tokens.next)),e==="in"&&i.id==="!"&&b("W018",i,"!"),typeof t=="function"?t(i,this):(this.left=i,this.right=O(n),this)},i}function G(e){var t=q(e,42);return t.led=function(e){return f.option.inESNext()||b("W104",f.tokens.curr,"arrow function syntax (=>)"),H(f.tokens.prev,f.tokens.curr),P(f.tokens.curr,f.tokens.next),this.left=e,this.right=mt(undefined,undefined,!1,e),this},t}function Y(e,t){var r=q(e,100);return r.led=function(e){H(f.tokens.prev,f.tokens.curr),P(f.tokens.curr,f.tokens.next);var r=O(100);return n(e,"NaN")||n(r,"NaN")?b("W019",this):t&&t.apply(this,[e,r]),(!e||!r)&&g("E041",f.tokens.curr.line),e.id==="!"&&b("W018",e,"!"),r.id==="!"&&b("W018",r,"!"),this.left=e,this.right=r,this},r}function Z(e){return e&&(e.type==="(number)"&&+e.value===0||e.type==="(string)"&&e.value===""||e.type==="null"&&!f.option.eqnull||e.type==="true"||e.type==="false"||e.type==="undefined")}function et(e,t,n){var r=Q(e,typeof t=="function"?t:function(e,t){t.left=e;if(e){$t[e.value]===!1&&Jt[e.value]["(global)"]===!0?b("W020",e):e["function"]&&b("W021",e,e.value),Bt[e.value]==="const"&&E("E013",e,e.value);if(e.id===".")return e.left?e.left.value==="arguments"&&!f.directive["use strict"]&&b("E031",t):b("E031",t),t.right=O(10),t;if(e.id==="[")return f.tokens.curr.left.first?f.tokens.curr.left.first.forEach(function(e){Bt[e.value]==="const"&&E("E013",e,e.value)}):e.left?e.left.value==="arguments"&&!f.directive["use strict"]&&b("E031",t):b("E031",t),t.right=O(10),t;if(e.identifier&&!c(e))return Bt[e.value]==="exception"&&b("W022",e),t.right=O(10),t;e===f.syntax["function"]&&b("W023",f.tokens.curr)}E("E031",t)},n);return r.exps=!0,r.assign=!0,r}function tt(e,t,n){var r=q(e,n);return W(r),r.led=typeof t=="function"?t:function(e){return f.option.bitwise&&b("W016",this,this.id),this.left=e,this.right=O(n),this},r}function nt(e){return et(e,function(e,t){f.option.bitwise&&b("W016",t,t.id),P(f.tokens.prev,f.tokens.curr),P(f.tokens.curr,f.tokens.next);if(e)return e.id==="."||e.id==="["||e.identifier&&!c(e)?(O(10),t):(e===f.syntax["function"]&&b("W023",f.tokens.curr),t);E("E031",t)},20)}function rt(e){var t=q(e,150);return t.led=function(e){return f.option.plusplus?b("W016",this,this.id):(!e.identifier||c(e))&&e.id!=="."&&e.id!=="["&&b("W017",this),this.left=e,this},t}function it(e,t){if(!f.tokens.next.identifier)return;k();var n=f.tokens.curr,r=f.tokens.curr.value;return c(n)?t&&f.option.inES5()?r:e&&r==="undefined"?r:(t&&!kt.getCache("displayed:I002")&&(kt.setCache("displayed:I002",!0),b("I002")),b("W024",f.tokens.curr,f.tokens.curr.id),r):r}function st(e,t){var n=it(e,t);if(n)return n;f.tokens.curr.id==="function"&&f.tokens.next.id==="("?b("W025"):E("E030",f.tokens.next,f.tokens.next.value)}function ot(e){var t=0,n;if(f.tokens.next.id!==";"||Vt)return;for(;;){n=C(t);if(n.reach)return;if(n.id!=="(endline)"){if(n.id==="function"){if(!f.option.latedef)break;b("W026",n);break}b("W027",n,n.value,e);break}t+=1}}function ut(e){var t,n=Rt,i,s=Jt,o=f.tokens.next;if(o.id===";"){k(";");return}var u=c(o);u&&o.meta&&o.meta.isFutureReservedWord&&C().id===":"&&(b("W024",o,o.id),u=!1);if(r.has(["[","{"],o.value)&&on().isDestAssign){f.option.inESNext()||b("W104",f.tokens.curr,"destructuring expression"),t=wt(),t.forEach(function(e){y(Bt,"W117",e.token,e.id)}),k("="),Et(t,O(10,!0)),k(";");return}o.identifier&&!u&&C().id===":"&&(k(),k(":"),Jt=Object.create(s),T(o.value,"label"),!f.tokens.next.labelled&&f.tokens.next.value!=="{"&&b("W028",f.tokens.next,o.value,f.tokens.next.value),f.tokens.next.label=o.value,o=f.tokens.next);if(o.id==="{"){lt(!0,!0);return}return e||B(),i=O(0,!0),o.block||(!f.option.expr&&(!i||!i.exps)?b("W030",f.tokens.curr):f.option.nonew&&i&&i.left&&i.id==="("&&i.left.id==="new"&&b("W031",o),f.tokens.next.id!==";"?f.option.asi||(!f.option.lastsemic||f.tokens.next.id!=="}"||f.tokens.next.line!==f.tokens.curr.line)&&w("W033",f.tokens.curr.line,f.tokens.curr.character):(M(f.tokens.curr,f.tokens.next),k(";"),P(f.tokens.curr,f.tokens.next))),Rt=n,Jt=s,i}function at(e){var t=[],n;while(!f.tokens.next.reach&&f.tokens.next.id!=="(end)")f.tokens.next.id===";"?(n=C(),(!n||n.id!=="("&&n.id!=="[")&&b("W032"),k(";")):t.push(ut(e===f.tokens.next.line));return t}function ft(){var e,t,n;for(;;){if(f.tokens.next.id==="(string)"){t=C(0);if(t.id==="(endline)"){e=1;do n=C(e),e+=1;while(n.id==="(endline)");if(n.id!==";"){if(n.id!=="(string)"&&n.id!=="(number)"&&n.id!=="(regexp)"&&n.identifier!==!0&&n.id!=="}")break;b("W033",f.tokens.next)}else t=n}else if(t.id==="}")b("W033",t);else if(t.id!==";")break;B(),k(),f.directive[f.tokens.curr.value]&&b("W034",f.tokens.curr,f.tokens.curr.value),f.tokens.curr.value==="use strict"&&(f.option["(explicitNewcap)"]||(f.option.newcap=!0),f.option.undef=!0),f.directive[f.tokens.curr.value]=!0,t.id===";"&&k(";");continue}break}}function lt(e,t,n,i){var s,o=qt,u=Rt,a,l=Jt,c,h,p;qt=e;if(!e||!f.option.funcscope)Jt=Object.create(Jt);P(f.tokens.curr,f.tokens.next),c=f.tokens.next;var d=Bt["(metrics)"];d.nestedBlockDepth+=1,d.verifyMaxNestedBlockDepthPerFunction();if(f.tokens.next.id==="{"){k("{"),Bt["(blockscope)"].stack(),h=f.tokens.curr.line;if(f.tokens.next.id!=="}"){Rt+=f.option.indent;while(!e&&f.tokens.next.from>Rt)Rt+=f.option.indent;if(n){a={};for(p in f.directive)r.has(f.directive,p)&&(a[p]=f.directive[p]);ft(),f.option.strict&&Bt["(context)"]["(global)"]&&!a["use strict"]&&!f.directive["use strict"]&&b("E007")}s=at(h),d.statementCount+=s.length,n&&(f.directive=a),Rt-=f.option.indent,h!==f.tokens.next.line&&B()}else h!==f.tokens.next.line&&B();k("}",c),Bt["(blockscope)"].unstack(),Rt=u}else if(!e)if(n){a={},t&&!i&&!f.option.inMoz(!0)&&E("W118",f.tokens.curr,"function closure expressions");if(!t)for(p in f.directive)r.has(f.directive,p)&&(a[p]=f.directive[p]);O(10),f.option.strict&&Bt["(context)"]["(global)"]&&!a["use strict"]&&!f.directive["use strict"]&&b("E007")}else E("E021",f.tokens.next,"{",f.tokens.next.value);else Bt["(nolet)"]=!0,(!t||f.option.curly)&&b("W116",f.tokens.next,"{",f.tokens.next.value),Vt=!0,Rt+=f.option.indent,s=[ut(f.tokens.next.line===f.tokens.curr.line)],Rt-=f.option.indent,Vt=!1,delete Bt["(nolet)"];Bt["(verb)"]=null;if(!e||!f.option.funcscope)Jt=l;return qt=o,e&&f.option.noempty&&(!s||s.length===0)&&b("W035"),d.nestedBlockDepth-=1,s}function ct(e){Xt&&typeof Xt[e]!="boolean"&&b("W036",f.tokens.curr,e),typeof Wt[e]=="number"?Wt[e]+=1:Wt[e]=1}function ht(e){var t=e.value,n=e.line,r=It[t];typeof r=="function"&&(r=!1),r?r[r.length-1]!==n&&r.push(n):(r=[n],It[t]=r)}function pt(){var e={};return e.exps=!0,Bt["(comparray)"].stack(),e.right=O(10),k("for"),f.tokens.next.value==="each"&&(k("each"),f.option.inMoz(!0)||b("W118",f.tokens.curr,"for each")),k("("),Bt["(comparray)"].setState("define"),e.left=O(10),k(")"),f.tokens.next.value==="if"&&(k("if"),k("("),Bt["(comparray)"].setState("filter"),e.filter=O(10),k(")")),k("]"),Bt["(comparray)"].unstack(),e}function dt(){var e=it(!1,!0);return e||(f.tokens.next.id==="(string)"?(e=f.tokens.next.value,k()):f.tokens.next.id==="(number)"&&(e=f.tokens.next.value.toString(),k())),e==="hasOwnProperty"&&b("W001"),e}function vt(e){var t,n,i=[],s,o=[],u,a=!1;if(e){if(e instanceof Array){for(var l in e){t=e[l];if(r.contains(["{","["],t.id))for(u in t.left)u=o[u],u.id&&(i.push(u.id),T(u.id,"unused",u.token));else{if(t.value==="..."){f.option.inESNext()||b("W104",t,"spread/rest operator");continue}T(t.value,"unused",t)}}return i}if(e.identifier===!0)return T(e.value,"unused",e),[e]}n=f.tokens.next,k("("),D();if(f.tokens.next.id===")"){k(")");return}for(;;){if(r.contains(["{","["],f.tokens.next.id)){o=wt();for(u in o)u=o[u],u.id&&(i.push(u.id),T(u.id,"unused",u.token))}else f.tokens.next.value==="..."?(f.option.inESNext()||b("W104",f.tokens.next,"spread/rest operator"),k("..."),D(),s=st(!0),i.push(s),T(s,"unused",f.tokens.curr)):(s=st(!0),i.push(s),T(s,"unused",f.tokens.curr));a&&f.tokens.next.id!=="="&&E("E051",f.tokens.current),f.tokens.next.id==="="&&(f.option.inESNext()||b("W119",f.tokens.next,"default parameters"),k("="),a=!0,O(10));if(f.tokens.next.id!==",")return k(")",n),D(f.tokens.prev,f.tokens.curr),i;I()}}function mt(e,t,n,r){var i,s=f.option,o=f.ignored,u=Jt;return f.option=Object.create(f.option),f.ignored=Object.create(f.ignored),Jt=Object.create(Jt),Bt={"(name)":e||'"'+Ct+'"',"(line)":f.tokens.next.line,"(character)":f.tokens.next.character,"(context)":Bt,"(breakage)":0,"(loopage)":0,"(metrics)":gt(f.tokens.next),"(scope)":Jt,"(statement)":t,"(tokens)":{},"(blockscope)":Bt["(blockscope)"],"(comparray)":Bt["(comparray)"]},n&&(Bt["(generator)"]=!0),i=Bt,f.tokens.curr.funct=Bt,jt.push(Bt),e&&T(e,"function"),Bt["(params)"]=vt(r),Bt["(metrics)"].verifyMaxParametersPerFunction(Bt["(params)"]),lt(!1,!0,!0,r?!0:!1),n&&Bt["(generator)"]!=="yielded"&&E("E047",f.tokens.curr),Bt["(metrics)"].verifyMaxStatementsPerFunction(),Bt["(metrics)"].verifyMaxComplexityPerFunction(),Bt["(unusedOption)"]=f.option.unused,Jt=u,f.option=s,f.ignored=o,Bt["(last)"]=f.tokens.curr.line,Bt["(lastcharacter)"]=f.tokens.curr.character,Bt=Bt["(context)"],i}function gt(e){return{statementCount:0,nestedBlockDepth:-1,ComplexityCount:1,verifyMaxStatementsPerFunction:function(){f.option.maxstatements&&this.statementCount>f.option.maxstatements&&b("W071",e,this.statementCount)},verifyMaxParametersPerFunction:function(t){t=t||[],f.option.maxparams&&t.length>f.option.maxparams&&b("W072",e,t.length)},verifyMaxNestedBlockDepthPerFunction:function(){f.option.maxdepth&&this.nestedBlockDepth>0&&this.nestedBlockDepth===f.option.maxdepth+1&&b("W073",null,this.nestedBlockDepth)},verifyMaxComplexityPerFunction:function(){var t=f.option.maxcomplexity,n=this.ComplexityCount;t&&n>t&&b("W074",e,n)}}}function yt(){Bt["(metrics)"].ComplexityCount+=1}function bt(e){var t,n;e&&(t=e.id,n=e.paren,t===","&&(e=e.exprs[e.exprs.length-1])&&(t=e.id,n=n||e.paren));switch(t){case"=":case"+=":case"-=":case"*=":case"%=":case"&=":case"|=":case"^=":case"/=":!n&&!f.option.boss&&b("W084")}}function wt(){var e,t,n=[];f.option.inESNext()||b("W104",f.tokens.curr,"destructuring expression");var i=function(){var e;if(r.contains(["[","{"],f.tokens.next.value)){t=wt();for(var i in t)i=t[i],n.push({id:i.id,token:i.token})}else f.tokens.next.value===","?n.push({id:null,token:f.tokens.curr}):(e=st(),e&&n.push({id:e,token:f.tokens.curr}))};if(f.tokens.next.value==="["){k("["),i();while(f.tokens.next.value!=="]")k(","),i();k("]")}else if(f.tokens.next.value==="{"){k("{"),e=st(),f.tokens.next.value===":"?(k(":"),i()):n.push({id:e,token:f.tokens.curr});while(f.tokens.next.value!=="}")k(","),e=st(),f.tokens.next.value===":"?(k(":"),i()):n.push({id:e,token:f.tokens.curr});k("}")}return n}function Et(e,t){t.first&&r.zip(e,t.first).forEach(function(e){var t=e[0],n=e[1];t&&n?t.first=n:t&&t.first&&!n&&b("W080",t.first,t.first.value)})}function St(e){return f.option.inESNext()||b("W104",f.tokens.curr,"class"),e?(this.name=st(),T(this.name,"unused",f.tokens.curr)):f.tokens.next.identifier&&f.tokens.next.value!=="extends"&&(this.name=st()),xt(this),this}function xt(e){var t=f.directive["use strict"];f.tokens.next.value==="extends"&&(k("extends"),e.heritage=O(10)),f.directive["use strict"]=!0,k("{"),e.body=f.syntax["{"].nud(!0),f.directive["use strict"]=t}function Tt(){var e=on();e.notJson?(!f.option.inESNext()&&e.isDestAssign&&b("W104",f.tokens.curr,"destructuring assignment"),at()):(f.option.laxbreak=!0,f.jsonMode=!0,Nt())}function Nt(){function e(){var e={},t=f.tokens.next;k("{");if(f.tokens.next.id!=="}")for(;;){if(f.tokens.next.id==="(end)")E("E026",f.tokens.next,t.line);else{if(f.tokens.next.id==="}"){b("W094",f.tokens.curr);break}f.tokens.next.id===","?E("E028",f.tokens.next):f.tokens.next.id!=="(string)"&&b("W095",f.tokens.next,f.tokens.next.value)}e[f.tokens.next.value]===!0?b("W075",f.tokens.next,f.tokens.next.value):f.tokens.next.value==="__proto__"&&!f.option.proto||f.tokens.next.value==="__iterator__"&&!f.option.iterator?b("W096",f.tokens.next,f.tokens.next.value):e[f.tokens.next.value]=!0,k(),k(":"),Nt();if(f.tokens.next.id!==",")break;k(",")}k("}")}function t(){var e=f.tokens.next;k("[");if(f.tokens.next.id!=="]")for(;;){if(f.tokens.next.id==="(end)")E("E027",f.tokens.next,e.line);else{if(f.tokens.next.id==="]"){b("W094",f.tokens.curr);break}f.tokens.next.id===","&&E("E028",f.tokens.next)}Nt();if(f.tokens.next.id!==",")break;k(",")}k("]")}switch(f.tokens.next.id){case"{":e();break;case"[":t();break;case"true":case"false":case"null":case"(number)":case"(string)":k();break;case"-":k("-"),f.tokens.curr.character!==f.tokens.next.from&&b("W011",f.tokens.curr),M(f.tokens.curr,f.tokens.next),k("(number)");break;default:E("E003",f.tokens.next)}}var Ct,kt,Lt={"<":!0,"<=":!0,"==":!0,"===":!0,"!==":!0,"!=":!0,">":!0,">=":!0,"+":!0,"-":!0,"*":!0,"/":!0,"%":!0},At={asi:!0,bitwise:!0,boss:!0,browser:!0,camelcase:!0,couch:!0,curly:!0,debug:!0,devel:!0,dojo:!0,eqeqeq:!0,eqnull:!0,es3:!0,es5:!0,esnext:!0,moz:!0,evil:!0,expr:!0,forin:!0,funcscope:!0,gcl:!0,globalstrict:!0,immed:!0,iterator:!0,jquery:!0,lastsemic:!0,laxbreak:!0,laxcomma:!0,loopfunc:!0,mootools:!0,multistr:!0,newcap:!0,noarg:!0,node:!0,noempty:!0,nonew:!0,nonstandard:!0,nomen:!0,onevar:!0,passfail:!0,phantom:!0,plusplus:!0,proto:!0,prototypejs:!0,rhino:!0,shelljs:!0,undef:!0,scripturl:!0,shadow:!0,smarttabs:!0,strict:!0,sub:!0,supernew:!0,trailing:!0,validthis:!0,withstmt:!0,white:!0,worker:!0,wsh:!0,yui:!0,onecase:!0,regexp:!0,regexdash:!0},Ot={maxlen:!1,indent:!1,maxerr:!1,predef:!1,quotmark:!1,scope:!1,maxstatements:!1,maxdepth:!1,maxparams:!1,maxcomplexity:!1,unused:!0,latedef:!1},Mt={bitwise:!0,forin:!0,newcap:!0,nomen:!0,plusplus:!0,regexp:!0,undef:!0,white:!0,eqeqeq:!0,onevar:!0,strict:!0},_t={eqeq:"eqeqeq",vars:"onevar",windows:"wsh",sloppy:"strict"},Dt,Pt,Ht=["closure","exception","global","label","outer","unused","var"],Bt,jt,Ft,It,qt,Rt,Ut,zt,Wt,Xt,Vt,$t,Jt,Kt,Qt,Gt,Yt,Zt=[],en=new i.EventEmitter;V("(number)",function(){return this}),V("(string)",function(){return this}),f.syntax["(identifier)"]={type:"(identifier)",lbp:0,identifier:!0,nud:function(){var e=this.value,t=Jt[e],n;typeof t=="function"?t=undefined:typeof t=="boolean"&&(n=Bt,Bt=jt[0],T(e,"var"),t=Bt,Bt=n);var i;r.has(Bt,"(blockscope)")&&(i=Bt["(blockscope)"].getlabel(e));if(Bt===t||i)switch(i?i[e]["(type)"]:Bt[e]){case"unused":i?i[e]["(type)"]="var":Bt[e]="var";break;case"unction":i?i[e]["(type)"]="function":Bt[e]="function",this["function"]=!0;break;case"function":this["function"]=!0;break;case"label":b("W037",f.tokens.curr,e)}else if(Bt["(global)"])typeof $t[e]!="boolean"&&(Ct!=="typeof"&&Ct!=="delete"||f.tokens.next&&(f.tokens.next.value==="."||f.tokens.next.value==="["))&&(Bt["(comparray)"].check(e)||y(Bt,"W117",f.tokens.curr,e)),ht(f.tokens.curr);else switch(Bt[e]){case"closure":case"function":case"var":case"unused":b("W038",f.tokens.curr,e);break;case"label":b("W037",f.tokens.curr,e);break;case"outer":case"global":break;default:if(t===!0)Bt[e]=!0;else if(t===null)b("W039",f.tokens.curr,e),ht(f.tokens.curr);else if(typeof t!="object")(Ct!=="typeof"&&Ct!=="delete"||f.tokens.next&&(f.tokens.next.value==="."||f.tokens.next.value==="["))&&y(Bt,"W117",f.tokens.curr,e),Bt[e]=!0,ht(f.tokens.curr);else switch(t[e]){case"function":case"unction":this["function"]=!0,t[e]="closure",Bt[e]=t["(global)"]?"global":"outer";break;case"var":case"unused":t[e]="closure",Bt[e]=t["(global)"]?"global":"outer";break;case"closure":Bt[e]=t["(global)"]?"global":"outer";break;case"label":b("W037",f.tokens.curr,e)}}return this},led:function(){E("E033",f.tokens.next,f.tokens.next.value)}},V("(regexp)",function(){return this}),R("(endline)"),R("(begin)"),R("(end)").reach=!0,R("(error)").reach=!0,R("}").reach=!0,R(")"),R("]"),R('"').reach=!0,R("'").reach=!0,R(";"),R(":").reach=!0,R("#"),$("else"),$("case").reach=!0,$("catch"),$("default").reach=!0,$("finally"),K("arguments",function(e){f.directive["use strict"]&&Bt["(global)"]&&b("E008",e)}),K("eval"),K("false"),K("Infinity"),K("null"),K("this",function(e){f.directive["use strict"]&&!f.option.validthis&&(Bt["(statement)"]&&Bt["(name)"].charAt(0)>"Z"||Bt["(global)"])&&b("W040",e)}),K("true"),K("undefined"),et("=","assign",20),et("+=","assignadd",20),et("-=","assignsub",20),et("*=","assignmult",20),et("/=","assigndiv",20).nud=function(){E("E014")},et("%=","assignmod",20),nt("&=","assignbitand",20),nt("|=","assignbitor",20),nt("^=","assignbitxor",20),nt("<<=","assignshiftleft",20),nt(">>=","assignshiftright",20),nt(">>>=","assignshiftrightunsigned",20),Q(",",function(e,t){var n;t.exprs=[e];if(!I({peek:!0}))return t;for(;;){if(!(n=O(10)))break;t.exprs.push(n);if(f.tokens.next.value!==","||!I())break}return t},10,!0),Q("?",function(e,t){return yt(),t.left=e,t.right=O(10),k(":"),t["else"]=O(10),t},30);var tn=40;Q("||",function(e,t){return yt(),t.left=e,t.right=O(tn),t},tn),Q("&&","and",50),tt("|","bitor",70),tt("^","bitxor",80),tt("&","bitand",90),Y("==",function(e,t){var n=f.option.eqnull&&(e.value==="null"||t.value==="null");return!n&&f.option.eqeqeq?b("W116",this,"===","=="):Z(e)?b("W041",this,"===",e.value):Z(t)&&b("W041",this,"===",t.value),this}),Y("==="),Y("!=",function(e,t){var n=f.option.eqnull&&(e.value==="null"||t.value==="null");return!n&&f.option.eqeqeq?b("W116",this,"!==","!="):Z(e)?b("W041",this,"!==",e.value):Z(t)&&b("W041",this,"!==",t.value),this}),Y("!=="),Y("<"),Y(">"),Y("<="),Y(">="),tt("<<","shiftleft",120),tt(">>","shiftright",120),tt(">>>","shiftrightunsigned",120),Q("in","in",120),Q("instanceof","instanceof",120),Q("+",function(e,t){var n=O(130);return e&&n&&e.id==="(string)"&&n.id==="(string)"?(e.value+=n.value,e.character=n.character,!f.option.scripturl&&a.javascriptURL.test(e.value)&&b("W050",e),e):(t.left=e,t.right=n,t)},130),X("+","num"),X("+++",function(){return b("W007"),this.right=O(150),this.arity="unary",this}),Q("+++",function(e){return b("W007"),this.left=e,this.right=O(130),this},130),Q("-","sub",130),X("-","neg"),X("---",function(){return b("W006"),this.right=O(150),this.arity="unary",this}),Q("---",function(e){return b("W006"),this.left=e,this.right=O(130),this},130),Q("*","mult",140),Q("/","div",140),Q("%","mod",140),rt("++","postinc"),X("++","preinc"),f.syntax["++"].exps=!0,rt("--","postdec"),X("--","predec"),f.syntax["--"].exps=!0,X("delete",function(){var e=O(10);return(!e||e.id!=="."&&e.id!=="[")&&b("W051"),this.first=e,this}).exps=!0,X("~",function(){return f.option.bitwise&&b("W052",this,"~"),O(150),this}),X("...",function(){return f.option.inESNext()||b("W104",this,"spread/rest operator"),f.tokens.next.identifier||E("E030",f.tokens.next,f.tokens.next.value),O(150),this}),X("!",function(){return this.right=O(150),this.arity="unary",this.right||g("E041",this.line||0),Lt[this.right.id]===!0&&b("W018",this,"!"),this}),X("typeof","typeof"),X("new",function(){var e=O(155),t;if(e&&e.id!=="function")if(e.identifier){e["new"]=!0;switch(e.value){case"Number":case"String":case"Boolean":case"Math":case"JSON":b("W053",f.tokens.prev,e.value);break;case"Function":f.option.evil||b("W054");break;case"Date":case"RegExp":break;default:e.id!=="function"&&(t=e.value.substr(0,1),f.option.newcap&&(t<"A"||t>"Z")&&!r.has(Ft,e.value)&&b("W055",f.tokens.curr))}}else e.id!=="."&&e.id!=="["&&e.id!=="("&&b("W056",f.tokens.curr);else f.option.supernew||b("W057",this);return M(f.tokens.curr,f.tokens.next),f.tokens.next.id!=="("&&!f.option.supernew&&b("W058",f.tokens.curr,f.tokens.curr.value),this.first=e,this}),f.syntax["new"].exps=!0,X("void").exps=!0,Q(".",function(e,t){M(f.tokens.prev,f.tokens.curr),_();var n=st(!1,!0);return typeof n=="string"&&ct(n),t.left=e,t.right=n,n&&n==="hasOwnProperty"&&f.tokens.next.value==="="&&b("W001"),!e||e.value!=="arguments"||n!=="callee"&&n!=="caller"?!f.option.evil&&e&&e.value==="document"&&(n==="write"||n==="writeln")&&b("W060",e):f.option.noarg?b("W059",e,n):f.directive["use strict"]&&E("E008"),!f.option.evil&&(n==="eval"||n==="execScript")&&b("W061"),t},160,!0),Q("(",function(e,t){f.tokens.prev.id!=="}"&&f.tokens.prev.id!==")"&&_(f.tokens.prev,f.tokens.curr),D(),f.option.immed&&e&&!e.immed&&e.id==="function"&&b("W062");var n=0,r=[];e&&e.type==="(identifier)"&&e.value.match(/^[A-Z]([A-Z0-9_$]*[a-z][A-Za-z0-9_$]*)?$/)&&"Number String Boolean Date Object".indexOf(e.value)===-1&&(e.value==="Math"?b("W063",e):f.option.newcap&&b("W064",e));if(f.tokens.next.id!==")")for(;;){r[r.length]=O(10),n+=1;if(f.tokens.next.id!==",")break;I()}return k(")"),D(f.tokens.prev,f.tokens.curr),typeof e=="object"&&(e.value==="parseInt"&&n===1&&b("W065",f.tokens.curr),f.option.evil||(e.value==="eval"||e.value==="Function"||e.value==="execScript"?(b("W061",e),r[0]&&[0].id==="(string)"&&x(e,r[0].value)):!r[0]||r[0].id!=="(string)"||e.value!=="setTimeout"&&e.value!=="setInterval"?r[0]&&r[0].id==="(string)"&&e.value==="."&&e.left.value==="window"&&(e.right==="setTimeout"||e.right==="setInterval")&&(b("W066",e),x(e,r[0].value)):(b("W066",e),x(e,r[0].value))),!e.identifier&&e.id!=="."&&e.id!=="["&&e.id!=="("&&e.id!=="&&"&&e.id!=="||"&&e.id!=="?"&&b("W067",e)),t.left=e,t},155,!0).exps=!0,X("(",function(){D();var e,t=[],n,r,i=0,s;do n=C(i),i+=1,r=C(i),i+=1;while(n.value!==")"&&r.value!=="=>"&&r.value!==";"&&r.type!=="(end)");f.tokens.next.id==="function"&&(f.tokens.next.immed=!0);var o=[];if(f.tokens.next.id!==")")for(;;){if(r.value==="=>"&&f.tokens.next.value==="{"){e=f.tokens.next,e.left=wt(),t.push(e);for(var u in e.left)o.push(e.left[u].token)}else o.push(O(10));if(f.tokens.next.id!==",")break;I()}k(")",this),D(f.tokens.prev,f.tokens.curr),f.option.immed&&o[0]&&o[0].id==="function"&&f.tokens.next.id!=="("&&(f.tokens.next.id!=="."||C().value!=="call"&&C().value!=="apply")&&b("W068",this);if(f.tokens.next.value==="=>")return o;if(!o.length)return;return o.length>1?(s=Object.create(f.syntax[","]),s.exprs=o):s=o[0],s&&(s.paren=!0),s}),G("=>"),Q("[",function(e,t){_(f.tokens.prev,f.tokens.curr),D();var n=O(10),r;return n&&n.type==="(string)"&&(!f.option.evil&&(n.value==="eval"||n.value==="execScript")&&b("W061",t),ct(n.value),!f.option.sub&&a.identifier.test(n.value)&&(r=f.syntax[n.value],(!r||!c(r))&&b("W069",f.tokens.prev,n.value))),k("]",t),n&&n.value==="hasOwnProperty"&&f.tokens.next.value==="="&&b("W001"),D(f.tokens.prev,f.tokens.curr),t.left=e,t.right=n,t},160,!0),X("[",function(){var e=on(!0);if(e.isCompArray)return f.option.inMoz(!0)||b("W118",f.tokens.curr,"array comprehension"),pt();e.isDestAssign&&!f.option.inESNext()&&b("W104",f.tokens.curr,"destructuring assignment");var t=f.tokens.curr.line!==f.tokens.next.line;this.first=[],t&&(Rt+=f.option.indent,f.tokens.next.from===Rt+f.option.indent&&(Rt+=f.option.indent));while(f.tokens.next.id!=="(end)"){while(f.tokens.next.id===",")f.option.inES5()||b("W070"),k(",");if(f.tokens.next.id==="]")break;t&&f.tokens.curr.line!==f.tokens.next.line&&B(),this.first.push(O(10));if(f.tokens.next.id!==",")break;I({allowTrailing:!0});if(f.tokens.next.id==="]"&&!f.option.inES5(!0)){b("W070",f.tokens.curr);break}}return t&&(Rt-=f.option.indent,B()),k("]",this),this},160),function(e){e.nud=function(e){function t(e,t){h[e]&&r.has(h,e)?b("W075",f.tokens.next,u):h[e]={},h[e].basic=!0,h[e].basictkn=t}function n(e,t){h[e]&&r.has(h,e)?(h[e].basic||h[e].setter)&&b("W075",f.tokens.next,u):h[e]={},h[e].setter=!0,h[e].setterToken=t}function i(e){h[e]&&r.has(h,e)?(h[e].basic||h[e].getter)&&b("W075",f.tokens.next,u):h[e]={},h[e].getter=!0,h[e].getterToken=f.tokens.curr}var s,o,u,a,l,c,h={},p="";s=f.tokens.curr.line!==f.tokens.next.line,s&&(Rt+=f.option.indent,f.tokens.next.from===Rt+f.option.indent&&(Rt+=f.option.indent));for(;;){if(f.tokens.next.id==="}")break;s&&B(),e&&f.tokens.next.value==="static"&&(k("static"),p="static ");if(f.tokens.next.value==="get"&&C().id!==":")k("get"),f.option.inES5(!e)||E("E034"),u=dt(),u||E("E035"),e&&u==="constructor"&&E("E049",f.tokens.next,"class getter method",u),i(p+u),l=f.tokens.next,M(f.tokens.curr,f.tokens.next),o=mt(),a=o["(params)"],a&&b("W076",l,a[0],u),M(f.tokens.curr,f.tokens.next);else if(f.tokens.next.value==="set"&&C().id!==":")k("set"),f.option.inES5(!e)||E("E034"),u=dt(),u||E("E035"),e&&u==="constructor"&&E("E049",f.tokens.next,"class setter method",u),n(p+u,f.tokens.next),l=f.tokens.next,M(f.tokens.curr,f.tokens.next),o=mt(),a=o["(params)"],(!a||a.length!==1)&&b("W077",l,u);else{c=!1,f.tokens.next.value==="*"&&f.tokens.next.type==="(punctuator)"&&(f.option.inESNext()||b("W104",f.tokens.next,"generator functions"),k("*"),c=!0),u=dt(),t(p+u,f.tokens.next);if(typeof u!="string")break;f.tokens.next.value==="("?(f.option.inESNext()||b("W104",f.tokens.curr,"concise methods"),mt(u,undefined,c)):e||(k(":"),P(f.tokens.curr,f.tokens.next),O(10))}e&&u==="prototype"&&E("E049",f.tokens.next,"class method",u),ct(u);if(e){p="";continue}if(f.tokens.next.id!==",")break;I({allowTrailing:!0,property:!0}),f.tokens.next.id===","?b("W070",f.tokens.curr):f.tokens.next.id==="}"&&!f.option.inES5(!0)&&b("W070",f.tokens.curr)}s&&(Rt-=f.option.indent,B()),k("}",this);if(f.option.inES5())for(var d in h)r.has(h,d)&&h[d].setter&&!h[d].getter&&b("W078",h[d].setterToken);return this},e.fud=function(){E("E036",f.tokens.curr)}}(R("{"));var nn=U("const",function(e){var t,n,i;f.option.inESNext()||b("W104",f.tokens.curr,"const"),this.first=[];for(;;){var s=[];P(f.tokens.curr,f.tokens.next),r.contains(["{","["],f.tokens.next.value)?(t=wt(),i=!1):(t=[{id:st(),token:f.tokens.curr}],i=!0);for(var o in t)o=t[o],Bt[o.id]==="const"&&b("E011",null,o.id),Bt["(global)"]&&$t[o.id]===!1&&b("W079",o.token,o.id),o.id&&(T(o.id,"const"),s.push(o.token));if(e)break;this.first=this.first.concat(s),f.tokens.next.id!=="="&&b("E012",f.tokens.curr,f.tokens.curr.value),f.tokens.next.id==="="&&(P(f.tokens.curr,f.tokens.next),k("="),P(f.tokens.curr,f.tokens.next),f.tokens.next.id==="undefined"&&b("W080",f.tokens.prev,f.tokens.prev.value),C(0).id==="="&&f.tokens.next.identifier&&b("W120",f.tokens.next,f.tokens.next.value),n=O(10),i?t[0].first=n:Et(s,n));if(f.tokens.next.id!==",")break;I()}return this});nn.exps=!0;var rn=U("var",function(e){var t,n,i;Bt["(onevar)"]&&f.option.onevar?b("W081"):Bt["(global)"]||(Bt["(onevar)"]=!0),this.first=[];for(;;){var s=[];P(f.tokens.curr,f.tokens.next),r.contains(["{","["],f.tokens.next.value)?(t=wt(),n=!1):(t=[{id:st(),token:f.tokens.curr}],n=!0);for(var o in t)o=t[o],f.option.inESNext()&&Bt[o.id]==="const"&&b("E011",null,o.id),Bt["(global)"]&&$t[o.id]===!1&&b("W079",o.token,o.id),o.id&&(T(o.id,"unused",o.token),s.push(o.token));if(e)break;this.first=this.first.concat(s),f.tokens.next.id==="="&&(P(f.tokens.curr,f.tokens.next),k("="),P(f.tokens.curr,f.tokens.next),f.tokens.next.id==="undefined"&&b("W080",f.tokens.prev,f.tokens.prev.value),C(0).id==="="&&f.tokens.next.identifier&&b("W120",f.tokens.next,f.tokens.next.value),i=O(10),n?t[0].first=i:Et(s,i));if(f.tokens.next.id!==",")break;I()}return this});rn.exps=!0;var sn=U("let",function(e){var t,n,i,s;f.option.inESNext()||b("W104",f.tokens.curr,"let"),f.tokens.next.value==="("?(f.option.inMoz(!0)||b("W118",f.tokens.next,"let block"),k("("),Bt["(blockscope)"].stack(),s=!0):Bt["(nolet)"]&&E("E048",f.tokens.curr),Bt["(onevar)"]&&f.option.onevar?b("W081"):Bt["(global)"]||(Bt["(onevar)"]=!0),this.first=[];for(;;){var o=[];P(f.tokens.curr,f.tokens.next),r.contains(["{","["],f.tokens.next.value)?(t=wt(),n=!1):(t=[{id:st(),token:f.tokens.curr.value}],n=!0);for(var u in t)u=t[u],f.option.inESNext()&&Bt[u.id]==="const"&&b("E011",null,u.id),Bt["(global)"]&&$t[u.id]===!1&&b("W079",u.token,u.id),u.id&&!Bt["(nolet)"]&&(T(u.id,"unused",u.token,!0),o.push(u.token));if(e)break;this.first=this.first.concat(o),f.tokens.next.id==="="&&(P(f.tokens.curr,f.tokens.next),k("="),P(f.tokens.curr,f.tokens.next),f.tokens.next.id==="undefined"&&b("W080",f.tokens.prev,f.tokens.prev.value),C(0).id==="="&&f.tokens.next.identifier&&b("W120",f.tokens.next,f.tokens.next.value),i=O(10),n?t[0].first=i:Et(o,i));if(f.tokens.next.id!==",")break;I()}return s&&(k(")"),lt(!0,!0),this.block=!0,Bt["(blockscope)"].unstack()),this});sn.exps=!0,z("class",function(){return St.call(this,!0)}),z("function",function(){var e=!1;f.tokens.next.value==="*"&&(k("*"),f.option.inESNext(!0)?e=!0:b("W119",f.tokens.curr,"function*")),qt&&b("W082",f.tokens.curr);var t=st();return Bt[t]==="const"&&b("E011",null,t),M(f.tokens.curr,f.tokens.next),T(t,"unction",f.tokens.curr),mt(t,{statement:!0},e),f.tokens.next.id==="("&&f.tokens.next.line===f.tokens.curr.line&&E("E039"),this}),X("function",function(){var e=!1;f.tokens.next.value==="*"&&(f.option.inESNext()||b("W119",f.tokens.curr,"function*"),k("*"),e=!0);var t=it();return t||f.option.gcl?M(f.tokens.curr,f.tokens.next):P(f.tokens.curr,f.tokens.next),mt(t,undefined,e),!f.option.loopfunc&&Bt["(loopage)"]&&b("W083"),this}),z("if",function(){var e=f.tokens.next;return yt(),f.condition=!0,k("("),P(this,e),D(),bt(O(0)),k(")",e),f.condition=!1,D(f.tokens.prev,f.tokens.curr),lt(!0,!0),f.tokens.next.id==="else"&&(P(f.tokens.curr,f.tokens.next),k("else"),f.tokens.next.id==="if"||f.tokens.next.id==="switch"?ut(!0):lt(!0,!0)),this}),z("try",function(){function e(){var e=Jt,t;k("catch"),P(f.tokens.curr,f.tokens.next),k("("),Jt=Object.create(e),t=f.tokens.next.value,f.tokens.next.type!=="(identifier)"&&(t=null,b("E030",f.tokens.next,t)),k(),Bt={"(name)":"(catch)","(line)":f.tokens.next.line,"(character)":f.tokens.next.character,"(context)":Bt,"(breakage)":Bt["(breakage)"],"(loopage)":Bt["(loopage)"],"(scope)":Jt,"(statement)":!1,"(metrics)":gt(f.tokens.next),"(catch)":!0,"(tokens)":{},"(blockscope)":Bt["(blockscope)"],"(comparray)":Bt["(comparray)"]},t&&T(t,"exception"),f.tokens.next.value==="if"&&(f.option.inMoz(!0)||b("W118",f.tokens.curr,"catch filter"),k("if"),O(0)),k(")"),f.tokens.curr.funct=Bt,jt.push(Bt),lt(!1),Jt=e,Bt["(last)"]=f.tokens.curr.line,Bt["(lastcharacter)"]=f.tokens.curr.character,Bt=Bt["(context)"]}var t;lt(!1);while(f.tokens.next.id==="catch")yt(),t&&!f.option.inMoz(!0)&&b("W118",f.tokens.next,"multiple catch blocks"),e(),t=!0;if(f.tokens.next.id==="finally"){k("finally"),lt(!1);return}return t||E("E021",f.tokens.next,"catch",f.tokens.next.value),this}),z("while",function(){var e=f.tokens.next;return Bt["(breakage)"]+=1,Bt["(loopage)"]+=1,yt(),k("("),P(this,e),D(),bt(O(0)),k(")",e),D(f.tokens.prev,f.tokens.curr),lt(!0,!0),Bt["(breakage)"]-=1,Bt["(loopage)"]-=1,this}).labelled=!0,z("with",function(){var e=f.tokens.next;return f.directive["use strict"]?E("E010",f.tokens.curr):f.option.withstmt||b("W085",f.tokens.curr),k("("),P(this,e),D(),O(0),k(")",e),D(f.tokens.prev,f.tokens.curr),lt(!0,!0),this}),z("switch",function(){var e=f.tokens.next,t=!1;Bt["(breakage)"]+=1,k("("),P(this,e),D(),bt(O(0)),k(")",e),D(f.tokens.prev,f.tokens.curr),P(f.tokens.curr,f.tokens.next),e=f.tokens.next,k("{"),P(f.tokens.curr,f.tokens.next),Rt+=f.option.indent,this.cases=[];for(;;)switch(f.tokens.next.id){case"case":switch(Bt["(verb)"]){case"yield":case"break":case"case":case"continue":case"return":case"switch":case"throw":break;default:a.fallsThrough.test(f.lines[f.tokens.next.line-2])||b("W086",f.tokens.curr,"case")}B(-f.option.indent),k("case"),this.cases.push(O(20)),yt(),t=!0,k(":"),Bt["(verb)"]="case";break;case"default":switch(Bt["(verb)"]){case"yield":case"break":case"continue":case"return":case"throw":break;default:this.cases.length&&(a.fallsThrough.test(f.lines[f.tokens.next.line-2])||b("W086",f.tokens.curr,"default"))}B(-f.option.indent),k("default"),t=!0,k(":");break;case"}":Rt-=f.option.indent,B(),k("}",e),Bt["(breakage)"]-=1,Bt["(verb)"]=undefined;return;case"(end)":E("E023",f.tokens.next,"}");return;default:if(t)switch(f.tokens.curr.id){case",":E("E040");return;case":":t=!1,at();break;default:E("E025",f.tokens.curr);return}else{if(f.tokens.curr.id!==":"){E("E021",f.tokens.next,"case",f.tokens.next.value);return}k(":"),E("E024",f.tokens.curr,":"),at()}}}).labelled=!0,U("debugger",function(){return f.option.debug||b("W087"),this}).exps=!0,function(){var e=U("do",function(){Bt["(breakage)"]+=1,Bt["(loopage)"]+=1,yt(),this.first=lt(!0,!0),k("while");var e=f.tokens.next;return P(f.tokens.curr,e),k("("),D(),bt(O(0)),k(")",e),D(f.tokens.prev,f.tokens.curr),Bt["(breakage)"]-=1,Bt["(loopage)"]-=1,this});e.labelled=!0,e.exps=!0}(),z("for",function(){var e,t=f.tokens.next,n=!1,i=null;t.value==="each"&&(i=t,k("each"),f.option.inMoz(!0)||b("W118",f.tokens.curr,"for each")),Bt["(breakage)"]+=1,Bt["(loopage)"]+=1,yt(),k("("),P(this,t),D();var s,o=0,u=["in","of"];do s=C(o),++o;while(!r.contains(u,s.value)&&s.value!==";"&&s.type!=="(end)");if(r.contains(u,s.value)){!f.option.inESNext()&&s.value==="of"&&E("W104",s,"for of");if(f.tokens.next.id==="var")k("var"),f.syntax["var"].fud.call(f.syntax["var"].fud,!0);else if(f.tokens.next.id==="let")k("let"),n=!0,Bt["(blockscope)"].stack(),f.syntax.let.fud.call(f.syntax.let.fud,!0);else{switch(Bt[f.tokens.next.value]){case"unused":Bt[f.tokens.next.value]="var";break;case"var":break;default:Bt["(blockscope)"].getlabel(f.tokens.next.value)||b("W088",f.tokens.next,f.tokens.next.value)}k()}k(s.value),O(20),k(")",t),e=lt(!0,!0),f.option.forin&&e&&(e.length>1||typeof e[0]!="object"||e[0].value!=="if")&&b("W089",this),Bt["(breakage)"]-=1,Bt["(loopage)"]-=1}else{i&&E("E045",i);if(f.tokens.next.id!==";")if(f.tokens.next.id==="var")k("var"),f.syntax["var"].fud.call(f.syntax["var"].fud);else if(f.tokens.next.id==="let")k("let"),n=!0,Bt["(blockscope)"].stack(),f.syntax.let.fud.call(f.syntax.let.fud);else for(;;){O(0,"for");if(f.tokens.next.id!==",")break;I()}j(f.tokens.curr),k(";"),f.tokens.next.id!==";"&&bt(O(0)),j(f.tokens.curr),k(";"),f.tokens.next.id===";"&&E("E021",f.tokens.next,")",";");if(f.tokens.next.id!==")")for(;;){O(0,"for");if(f.tokens.next.id!==",")break;I()}k(")",t),D(f.tokens.prev,f.tokens.curr),lt(!0,!0),Bt["(breakage)"]-=1,Bt["(loopage)"]-=1}return n&&Bt["(blockscope)"].unstack(),this}).labelled=!0,U("break",function(){var e=f.tokens.next.value;return Bt["(breakage)"]===0&&b("W052",f.tokens.next,this.value),f.option.asi||j(this),f.tokens.next.id!==";"&&!f.tokens.next.reach&&f.tokens.curr.line===f.tokens.next.line&&(Bt[e]!=="label"?b("W090",f.tokens.next,e):Jt[e]!==Bt&&b("W091",f.tokens.next,e),this.first=f.tokens.next,k()),ot("break"),this}).exps=!0,U("continue",function(){var e=f.tokens.next.value;return Bt["(breakage)"]===0&&b("W052",f.tokens.next,this.value),f.option.asi||j(this),f.tokens.next.id!==";"&&!f.tokens.next.reach?f.tokens.curr.line===f.tokens.next.line&&(Bt[e]!=="label"?b("W090",f.tokens.next,e):Jt[e]!==Bt&&b("W091",f.tokens.next,e),this.first=f.tokens.next,k()):Bt["(loopage)"]||b("W052",f.tokens.next,this.value),ot("continue"),this}).exps=!0,U("return",function(){return this.line===f.tokens.next.line?(f.tokens.next.id==="(regexp)"&&b("W092"),f.tokens.next.id!==";"&&!f.tokens.next.reach&&(P(f.tokens.curr,f.tokens.next),this.first=O(0),this.first&&this.first.type==="(punctuator)"&&this.first.value==="="&&!f.option.boss&&w("W093",this.first.line,this.first.character))):f.tokens.next.type==="(punctuator)"&&["[","{","+","-"].indexOf(f.tokens.next.value)>-1&&j(this),ot("return"),this}).exps=!0,function(e){e.exps=!0,e.lbp=25}(X("yield",function(){var e=f.tokens.prev;return f.option.inESNext(!0)&&!Bt["(generator)"]?E("E046",f.tokens.curr,"yield"):f.option.inESNext()||b("W104",f.tokens.curr,"yield"),Bt["(generator)"]="yielded",this.line===f.tokens.next.line||!f.option.inMoz(!0)?(f.tokens.next.id==="(regexp)"&&b("W092"),f.tokens.next.id!==";"&&!f.tokens.next.reach&&f.tokens.next.nud&&(H(f.tokens.curr,f.tokens.next),this.first=O(10),this.first.type==="(punctuator)"&&this.first.value==="="&&!f.option.boss&&w("W093",this.first.line,this.first.character)),f.option.inMoz(!0)&&f.tokens.next.id!==")"&&(e.lbp>30||!e.assign&&!A()||e.id==="yield")&&E("E050",this)):f.option.asi||j(this),this})),U("throw",function(){return j(this),P(f.tokens.curr,f.tokens.next),this.first=O(20),ot("throw"),this}).exps=!0,U("import",function(){f.option.inESNext()||b("W119",f.tokens.curr,"import");if(f.tokens.next.identifier)this.name=st(),T(this.name,"unused",f.tokens.curr);else{k("{");for(;;){var e;f.tokens.next.type==="default"?(e="default",k("default")):e=st(),f.tokens.next.value==="as"&&(k("as"),e=st()),T(e,"unused",f.tokens.curr);if(f.tokens.next.value!==","){if(f.tokens.next.value==="}"){k("}");break}E("E024",f.tokens.next,f.tokens.next.value);break}k(",")}}return k("from"),k("(string)"),this}).exps=!0,U("export",function(){f.option.inESNext()||b("W119",f.tokens.curr,"export");if(f.tokens.next.type==="default"){k("default");if(f.tokens.next.id==="function"||f.tokens.next.id==="class")this.block=!0;return this.exportee=O(10),this}if(f.tokens.next.value==="{"){k("{");for(;;){st();if(f.tokens.next.value!==","){if(f.tokens.next.value==="}"){k("}");break}E("E024",f.tokens.next,f.tokens.next.value);break}k(",")}return this}return f.tokens.next.id==="var"?(k("var"),f.syntax["var"].fud.call(f.syntax["var"].fud)):f.tokens.next.id==="let"?(k("let"),f.syntax.let.fud.call(f.syntax.let.fud)):f.tokens.next.id==="const"?(k("const"),f.syntax["const"].fud.call(f.syntax["const"].fud)):f.tokens.next.id==="function"?(this.block=!0,k("function"),f.syntax["function"].fud()):f.tokens.next.id==="class"?(this.block=!0,k("class"),f.syntax["class"].fud()):E("E024",f.tokens.next,f.tokens.next.value),this}).exps=!0,J("abstract"),J("boolean"),J("byte"),J("char"),J("class",{es5:!0,nud:St}),J("double"),J("enum",{es5:!0}),J("export",{es5:!0}),J("extends",{es5:!0}),J("final"),J("float"),J("goto"),J("implements",{es5:!0,strictOnly:!0}),J("import",{es5:!0}),J("int"),J("interface",{es5:!0,strictOnly:!0}),J("long"),J("native"),J("package",{es5:!0,strictOnly:!0}),J("private",{es5:!0,strictOnly:!0}),J("protected",{es5:!0,strictOnly:!0}),J("public",{es5:!0,strictOnly:!0}),J("short"),J("static",{es5:!0,strictOnly:!0}),J("super",{es5:!0}),J("synchronized"),J("throws"),J("transient"),J("volatile");var on=function(){var e,t,n=0,i=0,s={};r.contains(["[","{"],f.tokens.curr.value)&&(i+=1),r.contains(["[","{"],f.tokens.next.value)&&(i+=1),r.contains(["]","}"],f.tokens.next.value)&&(i-=1);do{e=C(n),t=C(n+1),n+=1,r.contains(["[","{"],e.value)?i+=1:r.contains(["]","}"],e.value)&&(i-=1);if(e.identifier&&e.value==="for"&&i===1){s.isCompArray=!0,s.notJson=!0;break}if(r.contains(["}","]"],e.value)&&t.value==="="){s.isDestAssign=!0,s.notJson=!0;break}e.value===";"&&(s.isBlock=!0,s.notJson=!0)}while(i>0&&e.id!=="(end)"&&n<15);return s},un=function(){function e(e){var t=s.variables.filter(function(t){if(t.value===e)return t.undef=!1,e}).length;return t!==0}function t(e){var t=s.variables.filter(function(t){if(t.value===e&&!t.undef)return t.unused===!0&&(t.unused=!1),e}).length;return t===0}var n=function(){this.mode="use",this.variables=[]},i=[],s;return{stack:function(){s=new n,i.push(s)},unstack:function(){s.variables.filter(function(e){e.unused&&b("W098",e.token,e.value),e.undef&&y(e.funct,"W117",e.token,e.value)}),i.splice(i[i.length-1],1),s=i[i.length-1]},setState:function(e){r.contains(["use","define","filter"],e)&&(s.mode=e)},check:function(n){return s&&s.mode==="use"?(s.variables.push({funct:Bt,token:f.tokens.curr,value:n,undef:!0,unused:!1}),!0):s&&s.mode==="define"?(e(n)||s.variables.push({funct:Bt,token:f.tokens.curr,value:n,undef:!1,unused:!0}),!0):s&&s.mode==="filter"?(t(n)&&y(Bt,"W117",f.tokens.curr,n),!0):!1}}},an=function(){function e(){for(var e in t)if(t[e]["(type)"]==="unused"&&f.option.unused){var n=t[e]["(token)"],r=n.line,i=n.character;w("W098",r,i,e)}}var t={},n=[t];return{stack:function(){t={},n.push(t)},unstack:function(){e(),n.splice(n.length-1,1),t=r.last(n)},getlabel:function(e){for(var t=n.length-1;t>=0;--t)if(r.has(n[t],e))return n[t]},current:{has:function(e){return r.has(t,e)},add:function(e,n,r){t[e]={"(type)":n,"(token)":r}}}}},fn=function(n,i,o){function a(e,t){if(!e)return;!Array.isArray(e)&&typeof e=="object"&&(e=Object.keys(e)),e.forEach(t)}var l,c,p,v,y={},E={};f.reset(),i&&i.scope?h.scope=i.scope:(h.errors=[],h.undefs=[],h.internals=[],h.blacklist={},h.scope="(main)"),$t=Object.create(null),d($t,s.ecmaIdentifiers),d($t,s.reservedVars),d($t,o||{}),Dt=Object.create(null),Pt=Object.create(null);if(i){a(i.predef||null,function(e){var t,n;e[0]==="-"?(t=e.slice(1),h.blacklist[t]=t):(n=Object.getOwnPropertyDescriptor(i.predef,e),$t[e]=n?n.value:!1)}),a(i.exported||null,function(e){Pt[e]=!0}),delete i.predef,delete i.exported,v=Object.keys(i);for(p=0;p<v.length;p++)/^-W\d{3}$/g.test(v[p])?E[v[p].slice(1)]=!0:(y[v[p]]=i[v[p]],v[p]==="newcap"&&i[v[p]]===!1&&(y["(explicitNewcap)"]=!0),v[p]==="indent"&&(y["(explicitIndent)"]=i[v[p]]===!1?!1:!0))}f.option=y,f.ignored=E,f.option.indent=f.option.indent||4,f.option.maxerr=f.option.maxerr||50,Rt=1,Ft=Object.create($t),Jt=Ft,Bt={"(global)":!0,"(name)":"(global)","(scope)":Jt,"(breakage)":0,"(loopage)":0,"(tokens)":{},"(metrics)":gt(f.tokens.next),"(blockscope)":an(),"(comparray)":un()},jt=[Bt],Gt=[],Kt=null,Wt={},Xt=null,It={},qt=!1,Ut=[],Yt=0,Qt=[];if(!t(n)&&!Array.isArray(n))return S("E004",0),!1;kt={get isJSON(){return f.jsonMode},getOption:function(e){return f.option[e]||null},getCache:function(e){return f.cache[e]},setCache:function(e,t){f.cache[e]=t},warn:function(e,t){w.apply(null,[e,t.line,t.char].concat(t.data))},on:function(e,t){e.split(" ").forEach(function(e){en.on(e,t)}.bind(this))}},en.removeAllListeners(),(Zt||[]).forEach(function(e){e(kt)}),f.tokens.prev=f.tokens.curr=f.tokens.next=f.syntax["(begin)"],zt=new u(n),zt.on("warning",function(e){w.apply(null,[e.code,e.line,e.character].concat(e.data))}),zt.on("error",function(e){S.apply(null,[e.code,e.line,e.character].concat(e.data))}),zt.on("fatal",function(e){g("E041",e.line,e.from)}),zt.on("Identifier",function(e){en.emit("Identifier",e)}),zt.on("String",function(e){en.emit("String",e)}),zt.on("Number",function(e){en.emit("Number",e)}),zt.start();for(var x in i)r.has(i,x)&&e(x,f.tokens.curr);m(),d($t,o||{}),I.first=!0;try{k();switch(f.tokens.next.id){case"{":case"[":Tt();break;default:ft(),f.directive["use strict"]&&!f.option.globalstrict&&!f.option.node&&b("W097",f.tokens.prev),at()}k(f.tokens.next&&f.tokens.next.value!=="."?"(end)":undefined),Bt["(blockscope)"].unstack();var T=function(e,t){do{if(typeof t[e]=="string")return t[e]==="unused"?t[e]="var":t[e]==="unction"&&(t[e]="closure"),!0;t=t["(context)"]}while(t);return!1},N=function(e,t){if(!It[e])return;var n=[];for(var r=0;r<It[e].length;r+=1)It[e][r]!==t&&n.push(It[e][r]);n.length===0?delete It[e]:It[e]=n},C=function(e,t,n,r){var i=t.line,s=t.character;r===undefined&&(r=f.option.unused),r===!0&&(r="last-param");var o={vars:["var"],"last-param":["var","param"],strict:["var","param","last-param"]};r&&o[r]&&o[r].indexOf(n)!==-1&&w("W098",i,s,e),Qt.push({name:e,line:i,character:s})},L=function(e,t){var n=e[t],i=e["(tokens)"][t];if(t.charAt(0)==="(")return;if(n!=="unused"&&n!=="unction")return;if(e["(params)"]&&e["(params)"].indexOf(t)!==-1)return;if(e["(global)"]&&r.has(Pt,t))return;C(t,i,"var")};for(l=0;l<h.undefs.length;l+=1)c=h.undefs[l].slice(0),T(c[2].value,c[0])?N(c[2].value,c[2].line):f.option.undef&&b.apply(b,c.slice(1));jt.forEach(function(e){if(e["(unusedOption)"]===!1)return;for(var t in e)r.has(e,t)&&L(e,t);if(!e["(params)"])return;var n=e["(params)"].slice(),i=n.pop(),s,o;while(i){s=e[i],o=e["(unusedOption)"]||f.option.unused,o=o===!0?"last-param":o;if(i==="undefined")return;if(s==="unused"||s==="unction")C(i,e["(tokens)"][i],"param",e["(unusedOption)"]);else if(o==="last-param")return;i=n.pop()}});for(var A in Dt)r.has(Dt,A)&&!r.has(Ft,A)&&C(A,Dt[A],"var")}catch(O){if(!O||O.name!=="JSHintError")throw O;var M=f.tokens.next||{};h.errors.push({scope:"(main)",raw:O.raw,code:O.code,reason:O.message,line:O.line||M.line,character:O.character||M.from},null)}if(h.scope==="(main)"){i=i||{};for(l=0;l<h.internals.length;l+=1)c=h.internals[l],i.scope=c.elem,fn(c.value,i,o)}return h.errors.length===0};return fn.addModule=function(e){Zt.push(e)},fn.addModule(l.register),fn.data=function(){var e={functions:[],options:f.option},t=[],n=[],i,s,o,u,a,l;fn.errors.length&&(e.errors=fn.errors),f.jsonMode&&(e.json=!0);for(a in It)r.has(It,a)&&t.push({name:a,line:It[a]});t.length>0&&(e.implieds=t),Gt.length>0&&(e.urls=Gt),l=Object.keys(Jt),l.length>0&&(e.globals=l);for(o=1;o<jt.length;o+=1){s=jt[o],i={};for(u=0;u<Ht.length;u+=1)i[Ht[u]]=[];for(u=0;u<Ht.length;u+=1)i[Ht[u]].length===0&&delete i[Ht[u]];i.name=s["(name)"],i.param=s["(params)"],i.line=s["(line)"],i.character=s["(character)"],i.last=s["(last)"],i.lastcharacter=s["(lastcharacter)"],e.functions.push(i)}Qt.length>0&&(e.unused=Qt),n=[];for(a in Wt)if(typeof Wt[a]=="number"){e.member=Wt;break}return e},fn.jshint=fn,fn}();typeof n=="object"&&n&&(n.JSHINT=h)},{"../shared/messages.js":2,"../shared/vars.js":3,"./lex.js":5,"./reg.js":6,"./state.js":7,"./style.js":8,"console-browserify":9,events:10,underscore:1}],5:[function(e,t,n){function r(){var e=[];return{push:function(t){e.push(t)},check:function(){for(var t=0;t<e.length;++t)e[t]();e.splice(0,e.length)}}}function i(e){var t=e;typeof t=="string"&&(t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split("\n")),t[0]&&t[0].substr(0,2)==="#!"&&(t[0]=""),this.emitter=new o.EventEmitter,this.source=e,this.setLines(t),this.prereg=!0,this.line=0,this.char=1,this.from=1,this.input="";for(var n=0;n<a.option.indent;n+=1)a.tab+=" "}var s=e("underscore"),o=e("events"),u=e("./reg.js"),a=e("./state.js").state,f={Identifier:1,Punctuator:2,NumericLiteral:3,StringLiteral:4,Comment:5,Keyword:6,NullLiteral:7,BooleanLiteral:8,RegExp:9},l=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4304,4346,4348,4348,4352,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7104,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11520,11557,11568,11621,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,13312,19893,19893,19968,19968,40907,40907,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42897,42912,42921,43002,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,44032,55203,55203,55216,55238,55243,55291,63744,64045,64048,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66334,66352,66378,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67840,67861,67872,67897,68096,68096,68112,68115,68117,68119,68121,68147,68192,68220,68352,68405,68416,68437,68448,68466,68608,68680,69635,69687,69763,69807,73728,74606,74752,74850,77824,78894,92160,92728,110592,110593,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,131072,131072,173782,173782,173824,173824,177972,177972,177984,177984,178205,178205,194560,195101],c=[];for(var h=0;h<128;h++)c[h]=h===36||h>=65&&h<=90||h===95||h>=97&&h<=122;var p=[];for(var h=0;h<128;h++)p[h]=c[h]||h>=48&&h<=57;i.prototype={_lines:[],getLines:function(){return this._lines=a.lines,this._lines},setLines:function(e){this._lines=e,a.lines=this._lines},peek:function(e){return this.input.charAt(e||0)},skip:function(e){e=e||1,this.char+=e,this.input=this.input.slice(e)},on:function(e,t){e.split(" ").forEach(function(e){this.emitter.on(e,t)}.bind(this))},trigger:function(){this.emitter.emit.apply(this.emitter,Array.prototype.slice.call(arguments))},triggerAsync:function(e,t,n,r){n.push(function(){r()&&this.trigger(e,t)}.bind(this))},scanPunctuator:function(){var e=this.peek(),t,n,r;switch(e){case".":if(/^[0-9]$/.test(this.peek(1)))return null;if(this.peek(1)==="."&&this.peek(2)===".")return{type:f.Punctuator,value:"..."};case"(":case")":case";":case",":case"{":case"}":case"[":case"]":case":":case"~":case"?":return{type:f.Punctuator,value:e};case"#":return{type:f.Punctuator,value:e};case"":return null}return t=this.peek(1),n=this.peek(2),r=this.peek(3),e===">"&&t===">"&&n===">"&&r==="="?{type:f.Punctuator,value:">>>="}:e==="="&&t==="="&&n==="="?{type:f.Punctuator,value:"==="}:e==="!"&&t==="="&&n==="="?{type:f.Punctuator,value:"!=="}:e===">"&&t===">"&&n===">"?{type:f.Punctuator,value:">>>"}:e==="<"&&t==="<"&&n==="="?{type:f.Punctuator,value:"<<="}:e===">"&&t===">"&&n==="="?{type:f.Punctuator,value:">>="}:e==="="&&t===">"?{type:f.Punctuator,value:e+t}:e===t&&"+-<>&|".indexOf(e)>=0?{type:f.Punctuator,value:e+t}:"<>=!+-*%&|^".indexOf(e)>=0?t==="="?{type:f.Punctuator,value:e+t}:{type:f.Punctuator,value:e}:e==="/"?t==="="&&/\/=(?!(\S*\/[gim]?))/.test(this.input)?{type:f.Punctuator,value:"/="}:{type:f.Punctuator,value:"/"}:null},scanComments:function(){function e(e,t,n){var r=["jshint","jslint","members","member","globals","global","exported"],i=!1,s=e+t,o="plain";return n=n||{},n.isMultiline&&(s+="*/"),r.forEach(function(n){if(i)return;if(e==="//"&&n!=="jshint")return;t.substr(0,n.length)===n&&(i=!0,e+=n,t=t.substr(n.length)),!i&&t.charAt(0)===" "&&t.substr(1,n.length)===n&&(i=!0,e=e+" "+n,t=t.substr(n.length+1));if(!i)return;switch(n){case"member":o="members";break;case"global":o="globals";break;default:o=n}}),{type:f.Comment,commentType:o,value:s,body:t,isSpecial:i,isMultiline:n.isMultiline||!1,isMalformed:n.isMalformed||!1}}var t=this.peek(),n=this.peek(1),r=this.input.substr(2),i=this.line,s=this.char;if(t==="*"&&n==="/")return this.trigger("error",{code:"E018",line:i,character:s}),this.skip(2),null;if(t!=="/"||n!=="*"&&n!=="/")return null;if(n==="/")return this.skip(this.input.length),e("//",r);var o="";if(n==="*"){this.skip(2);while(this.peek()!=="*"||this.peek(1)!=="/")if(this.peek()===""){o+="\n";if(!this.nextLine())return this.trigger("error",{code:"E017",line:i,character:s}),e("/*",o,{isMultiline:!0,isMalformed:!0})}else o+=this.peek(),this.skip();return this.skip(2),e("/*",o,{isMultiline:!0})}},scanKeyword:function(){var e=/^[a-zA-Z_$][a-zA-Z0-9_$]*/.exec(this.input),t=["if","in","do","var","for","new","try","let","this","else","case","void","with","enum","while","break","catch","throw","const","yield","class","super","return","typeof","delete","switch","export","import","default","finally","extends","function","continue","debugger","instanceof"];return e&&t.indexOf(e[0])>=0?{type:f.Keyword,value:e[0]}:null},scanIdentifier:function(){function e(e){for(var t=0;t<l.length;){if(e<l[t++])return!1;if(e<=l[t++])return!0}return!1}function t(e){return/^[0-9a-fA-F]$/.test(e)}var n="",r=0,i,s,o=function(){r+=1;if(this.peek(r)!=="u")return null;var n=this.peek(r+1),i=this.peek(r+2),s=this.peek(r+3),o=this.peek(r+4),u;return t(n)&&t(i)&&t(s)&&t(o)?(u=parseInt(n+i+s+o,16),e(u)?(r+=5,"\\u"+n+i+s+o):null):null}.bind(this),u=function(){var t=this.peek(r),n=t.charCodeAt(0);return n===92?o():n<128?c[n]?(r+=1,t):null:e(n)?(r+=1,t):null}.bind(this),a=function(){var t=this.peek(r),n=t.charCodeAt(0);return n===92?o():n<128?p[n]?(r+=1,t):null:e(n)?(r+=1,t):null}.bind(this);s=u();if(s===null)return null;n=s;for(;;){s=a();if(s===null)break;n+=s}switch(n){case"true":case"false":i=f.BooleanLiteral;break;case"null":i=f.NullLiteral;break;default:i=f.Identifier}return{type:i,value:n}},scanNumericLiteral:function(){function e(e){return/^[0-9]$/.test(e)}function t(e){return/^[0-7]$/.test(e)}function n(e){return/^[0-9a-fA-F]$/.test(e)}function r(e){return e==="$"||e==="_"||e==="\\"||e>="a"&&e<="z"||e>="A"&&e<="Z"}var i=0,s="",o=this.input.length,u=this.peek(i),a;if(u!=="."&&!e(u))return null;if(u!=="."){s=this.peek(i),i+=1,u=this.peek(i);if(s==="0"){if(u==="x"||u==="X"){i+=1,s+=u;while(i<o){u=this.peek(i);if(!n(u))break;s+=u,i+=1}if(s.length<=2)return{type:f.NumericLiteral,value:s,isMalformed:!0};if(i<o){u=this.peek(i);if(r(u))return null}return{type:f.NumericLiteral,value:s,base:16,isMalformed:!1}}if(t(u)){i+=1,s+=u,a=!1;while(i<o){u=this.peek(i);if(e(u))a=!0;else if(!t(u))break;s+=u,i+=1}if(i<o){u=this.peek(i);if(r(u))return null}return{type:f.NumericLiteral,value:s,base:8,isMalformed:!1}}e(u)&&(i+=1,s+=u)}while(i<o){u=this.peek(i);if(!e(u))break;s+=u,i+=1}}if(u==="."){s+=u,i+=1;while(i<o){u=this.peek(i);if(!e(u))break;s+=u,i+=1}}if(u==="e"||u==="E"){s+=u,i+=1,u=this.peek(i);if(u==="+"||u==="-")s+=this.peek(i),i+=1;u=this.peek(i);if(!e(u))return null;s+=u,i+=1;while(i<o){u=this.peek(i);if(!e(u))break;s+=u,i+=1}}if(i<o){u=this.peek(i);if(r(u))return null}return{type:f.NumericLiteral,value:s,base:10,isMalformed:!isFinite(s)}},scanStringLiteral:function(e){var t=this.peek();if(t!=='"'&&t!=="'")return null;this.triggerAsync("warning",{code:"W108",line:this.line,character:this.char},e,function(){return a.jsonMode&&t!=='"'});var n="",r=this.line,i=this.char,s=!1;this.skip();while(this.peek()!==t){while(this.peek()===""){s?(s=!1,this.triggerAsync("warning",{code:"W043",line:this.line,character:this.char},e,function(){return!a.option.multistr}),this.triggerAsync("warning",{code:"W042",line:this.line,character:this.char},e,function(){return a.jsonMode&&a.option.multistr})):this.trigger("warning",{code:"W112",line:this.line,character:this.char});if(!this.nextLine())return this.trigger("error",{code:"E029",line:r,character:i}),{type:f.StringLiteral,value:n,isUnclosed:!0,quote:t}}s=!1;var o=this.peek(),u=1;o<" "&&this.trigger("warning",{code:"W113",line:this.line,character:this.char,data:["<non-printable>"]});if(o==="\\"){this.skip(),o=this.peek();switch(o){case"'":this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\'"]},e,function(){return a.jsonMode});break;case"b":o="\b";break;case"f":o="\f";break;case"n":o="\n";break;case"r":o="\r";break;case"t":o="        ";break;case"0":o="\0";var l=parseInt(this.peek(1),10);this.triggerAsync("warning",{code:"W115",line:this.line,character:this.char},e,function(){return l>=0&&l<=7&&a.directive["use strict"]});break;case"u":o=String.fromCharCode(parseInt(this.input.substr(1,4),16)),u=5;break;case"v":this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\v"]},e,function(){return a.jsonMode}),o="\v";break;case"x":var c=parseInt(this.input.substr(1,2),16);this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["\\x-"]},e,function(){return a.jsonMode}),o=String.fromCharCode(c),u=3;break;case"\\":case'"':case"/":break;case"":s=!0,o="";break;case"!":if(n.slice(n.length-2)==="<")break;default:this.trigger("warning",{code:"W044",line:this.line,character:this.char})}}n+=o,this.skip(u)}return this.skip(),{type:f.StringLiteral,value:n,isUnclosed:!1,quote:t}},scanRegExp:function(){var e=0,t=this.input.length,n=this.peek(),r=n,i="",s=[],o=!1,u=!1,a,l=function(){n<" "&&(o=!0,this.trigger("warning",{code:"W048",line:this.line,character:this.char})),n==="<"&&(o=!0,this.trigger("warning",{code:"W049",line:this.line,character:this.char,data:[n]}))}.bind(this);if(!this.prereg||n!=="/")return null;e+=1,a=!1;while(e<t){n=this.peek(e),r+=n,i+=n;if(u){n==="]"&&(this.peek(e-1)!=="\\"||this.peek(e-2)==="\\")&&(u=!1),n==="\\"&&(e+=1,n=this.peek(e),i+=n,r+=n,l()),e+=1;continue}if(n==="\\"){e+=1,n=this.peek(e),i+=n,r+=n,l();if(n==="/"){e+=1;continue}if(n==="["){e+=1;continue}}if(n==="["){u=!0,e+=1;continue}if(n==="/"){i=i.substr(0,i.length-1),a=!0,e+=1;break}e+=1}if(!a)return this.trigger("error",{code:"E015",line:this.line,character:this.from}),void this.trigger("fatal",{line:this.line,from:this.from});while(e<t){n=this.peek(e);if(!/[gim]/.test(n))break;s.push(n),r+=n,e+=1}try{new RegExp(i,s.join(""))}catch(c){o=!0,this.trigger("error",{code:"E016",line:this.line,character:this.char,data:[c.message]})}return{type:f.RegExp,value:r,flags:s,isMalformed:o}},scanMixedSpacesAndTabs:function(){var e,t;return a.option.smarttabs?(t=this.input.match(/(\/\/|^\s?\*)? \t/),e=t&&!t[1]?0:-1):e=this.input.search(/ \t|\t [^\*]/),e},scanUnsafeChars:function(){return this.input.search(u.unsafeChars)},next:function(e){this.from=this.char;var t;if(/\s/.test(this.peek())){t=this.char;while(/\s/.test(this.peek()))this.from+=1,this.skip();this.peek()===""&&!/^\s*$/.test(this.getLines()[this.line-1])&&a.option.trailing&&this.trigger("warning",{code:"W102",line:this.line,character:t})}var n=this.scanComments()||this.scanStringLiteral(e);return n?n:(n=this.scanRegExp()||this.scanPunctuator()||this.scanKeyword()||this.scanIdentifier()||this.scanNumericLiteral(),n?(this.skip(n.value.length),n):null)},nextLine:function(){var e;return this.line>=this.getLines().length?!1:(this.input=this.getLines()[this.line],this.line+=1,this.char=1,this.from=1,e=this.scanMixedSpacesAndTabs(),e>=0&&this.trigger("warning",{code:"W099",line:this.line,character:e+1}),this.input=this.input.replace(/\t/g,a.tab),e=this.scanUnsafeChars(),e>=0&&this.trigger("warning",{code:"W100",line:this.line,character:e}),a.option.maxlen&&a.option.maxlen<this.input.length&&this.trigger("warning",{code:"W101",line:this.line,character:this.input.length}),!0)},start:function(){this.nextLine()},token:function(){function e(e,t){if(!e.reserved)return!1;var n=e.meta;if(n&&n.isFutureReservedWord&&a.option.inES5()){if(!n.es5)return!1;if(n.strictOnly&&!a.option.strict&&!a.directive["use strict"])return!1;if(t)return!1}return!0}var t=r(),n,i=function(n,r,i){var o;n!=="(endline)"&&n!=="(end)"&&(this.prereg=!1);if(n==="(punctuator)"){switch(r){case".":case")":case"~":case"#":case"]":this.prereg=!1;break;default:this.prereg=!0}o=Object.create(a.syntax[r]||a.syntax["(error)"])}if(n==="(identifier)"){if(r==="return"||r==="case"||r==="typeof")this.prereg=!0;s.has(a.syntax,r)&&(o=Object.create(a.syntax[r]||a.syntax["(error)"]),e(o,i&&n==="(identifier)")||(o=null))}return o||(o=Object.create(a.syntax[n])),o.identifier=n==="(identifier)",o.type=o.type||n,o.value=r,o.line=this.line,o.character=this.char,o.from=this.from,i&&o.identifier&&(o.isProperty=i),o.check=t.check,o}.bind(this);for(;;){if(!this.input.length)return i(this.nextLine()?"(endline)":"(end)","");n=this.next(t);if(!n){this.input.length&&(this.trigger("error",{code:"E024",line:this.line,character:this.char,data:[this.peek()]}),this.input="");continue}switch(n.type){case f.StringLiteral:return this.triggerAsync("String",{line:this.line,"char":this.char,from:this.from,value:n.value,quote:n.quote},t,function(){return!0}),i("(string)",n.value);case f.Identifier:this.trigger("Identifier",{line:this.line,"char":this.char,from:this.form,name:n.value,isProperty:a.tokens.curr.id==="."});case f.Keyword:case f.NullLiteral:case f.BooleanLiteral:return i("(identifier)",n.value,a.tokens.curr.id===".");case f.NumericLiteral:return n.isMalformed&&this.trigger("warning",{code:"W045",line:this.line,character:this.char,data:[n.value]}),this.triggerAsync("warning",{code:"W114",line:this.line,character:this.char,data:["0x-"]},t,function(){return n.base===16&&a.jsonMode}),this.triggerAsync("warning",{code:"W115",line:this.line,character:this.char},t,function(){return a.directive["use strict"]&&n.base===8}),this.trigger("Number",{line:this.line,"char":this.char,from:this.from,value:n.value,base:n.base,isMalformed:n.malformed}),i("(number)",n.value);case f.RegExp:return i("(regexp)",n.value);case f.Comment:a.tokens.curr.comment=!0;if(n.isSpecial)return{value:n.value,body:n.body,type:n.commentType,isSpecial:n.isSpecial,line:this.line,character:this.char,from:this.from};break;case"":break;default:return i("(punctuator)",n.value)}}}},n.Lexer=i},{"./reg.js":6,"./state.js":7,events:10,underscore:1}],6:[function(e,t,n){"use string";n.unsafeString=/@cc|<\/?|script|\]\s*\]|<\s*!|&lt/i,n.unsafeChars=/[\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/,n.needEsc=/[\u0000-\u001f&<"\/\\\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/,n.needEscGlobal=/[\u0000-\u001f&<"\/\\\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n.starSlash=/\*\//,n.identifier=/^([a-zA-Z_$][a-zA-Z0-9_$]*)$/,n.javascriptURL=/^(?:javascript|jscript|ecmascript|vbscript|mocha|livescript)\s*:/i,n.fallsThrough=/^\s*\/\*\s*falls?\sthrough\s*\*\/\s*$/},{}],7:[function(e,t,n){var r={syntax:{},reset:function(){this.tokens={prev:null,next:null,curr:null},this.option={},this.ignored={},this.directive={},this.jsonMode=!1,this.jsonWarnings=[],this.lines=[],this.tab="",this.cache={}}};n.state=r},{}],8:[function(e,t,n){n.register=function(e){e.on("Identifier",function(t){if(e.getOption("proto"))return;t.name==="__proto__"&&e.warn("W103",{line:t.line,"char":t.char,data:[t.name]})}),e.on("Identifier",function(t){if(e.getOption("iterator"))return;t.name==="__iterator__"&&e.warn("W104",{line:t.line,"char":t.char,data:[t.name]})}),e.on("Identifier",function(t){if(!e.getOption("nomen"))return;if(t.name==="_")return;if(e.getOption("node")&&/^(__dirname|__filename)$/.test(t.name)&&!t.isProperty)return;/^(_+.*|.*_+)$/.test(t.name)&&e.warn("W105",{line:t.line,"char":t.from,data:["dangling '_'",t.name]})}),e.on("Identifier",function(t){if(!e.getOption("camelcase"))return;t.name.replace(/^_+/,"").indexOf("_")>-1&&!t.name.match(/^[A-Z0-9_]*$/)&&e.warn("W106",{line:t.line,"char":t.from,data:[t.name]})}),e.on("String",function(t){var n=e.getOption("quotmark"),r;if(!n)return;n==="single"&&t.quote!=="'"&&(r="W109"),n==="double"&&t.quote!=='"'&&(r="W108"),n===!0&&(e.getCache("quotmark")||e.setCache("quotmark",t.quote),e.getCache("quotmark")!==t.quote&&(r="W110")),r&&e.warn(r,{line:t.line,"char":t.char})}),e.on("Number",function(t){t.value.charAt(0)==="."&&e.warn("W008",{line:t.line,"char":t.char,data:[t.value]}),t.value.substr(t.value.length-1)==="."&&e.warn("W047",{line:t.line,"char":t.char,data:[t.value]}),/^00+/.test(t.value)&&e.warn("W046",{line:t.line,"char":t.char,data:[t.value]})}),e.on("String",function(t){var n=/^(?:javascript|jscript|ecmascript|vbscript|mocha|livescript)\s*:/i;if(e.getOption("scripturl"))return;n.test(t.value)&&e.warn("W107",{line:t.line,"char":t.char})})}},{}],9:[function(e,t,n){},{}],10:[function(e,t,n){function r(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;n++)if(t===e[n])return n;return-1}var i=e("__browserify_process");i.EventEmitter||(i.EventEmitter=function(){});var s=n.EventEmitter=i.EventEmitter,o=typeof Array.isArray=="function"?Array.isArray:function(e){return Object.prototype.toString.call(e)==="[object Array]"},u=200;s.prototype.setMaxListeners=function(e){this._events||(this._events={}),this._events.maxListeners=e},s.prototype.emit=function(e){if(e==="error")if(!this._events||!this._events.error||o(this._events.error)&&!this._events.error.length)throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");if(!this._events)return!1;var t=this._events[e];if(!t)return!1;if(typeof t=="function"){switch(arguments.length){case 1:t.call(this);break;case 2:t.call(this,arguments[1]);break;case 3:t.call(this,arguments[1],arguments[2]);break;default:var n=Array.prototype.slice.call(arguments,1);t.apply(this,n)}return!0}if(o(t)){var n=Array.prototype.slice.call(arguments,1),r=t.slice();for(var i=0,s=r.length;i<s;i++)r[i].apply(this,n);return!0}return!1},s.prototype.addListener=function(e,t){if("function"!=typeof t)throw new Error("addListener only takes instances of Function");this._events||(this._events={}),this.emit("newListener",e,t);if(!this._events[e])this._events[e]=t;else if(o(this._events[e])){if(!this._events[e].warned){var n;this._events.maxListeners!==undefined?n=this._events.maxListeners:n=u,n&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),console.trace())}this._events[e].push(t)}else this._events[e]=[this._events[e],t];return this},s.prototype.on=s.prototype.addListener,s.prototype.once=function(e,t){var n=this;return n.on(e,function r(){n.removeListener(e,r),t.apply(this,arguments)}),this},s.prototype.removeListener=function(e,t){if("function"!=typeof t)throw new Error("removeListener only takes instances of Function");if(!this._events||!this._events[e])return this;var n=this._events[e];if(o(n)){var i=r(n,t);if(i<0)return this;n.splice(i,1),n.length==0&&delete this._events[e]}else this._events[e]===t&&delete this._events[e];return this},s.prototype.removeAllListeners=function(e){return arguments.length===0?(this._events={},this):(e&&this._events&&this._events[e]&&(this._events[e]=null),this)},s.prototype.listeners=function(e){return this._events||(this._events={}),this._events[e]||(this._events[e]=[]),o(this._events[e])||(this._events[e]=[this._events[e]]),this._events[e]},s.listenerCount=function(e,t){var n;return!e._events||!e._events[t]?n=0:typeof e._events[t]=="function"?n=1:n=e._events[t].length,n}},{__browserify_process:11}],11:[function(e,t,n){var r=t.exports={};r.nextTick=function(){var e=typeof window!="undefined"&&window.setImmediate,t=typeof window!="undefined"&&window.postMessage&&window.addEventListener;if(e)return function(e){return window.setImmediate(e)};if(t){var n=[];return window.addEventListener("message",function(e){if(e.source===window&&e.data==="process-tick"){e.stopPropagation();if(n.length>0){var t=n.shift();t()}}},!0),function(e){n.push(e),window.postMessage("process-tick","*")}}return function(e){setTimeout(e,0)}}(),r.title="browser",r.browser=!0,r.env={},r.argv=[],r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")}},{}],jshint:[function(e,t,n){t.exports=e("n4bKNg")},{}]},{},["n4bKNg"]),n.exports=r("jshint")})
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/manifest.json b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/manifest.json
new file mode 100644 (file)
index 0000000..880b1d1
--- /dev/null
@@ -0,0 +1,12 @@
+{
+  "name": "Modello AMB Simulator",
+  "version": "0.0.2",
+  "app": {
+    "launch":{
+      "local_path": "index.html"
+    }
+  },
+  "icons": {
+    "128": "AMB_Simulator_icon.png"
+  }
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/packaging/modello-ambsimulator.changes b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/packaging/modello-ambsimulator.changes
new file mode 100644 (file)
index 0000000..017bcf7
--- /dev/null
@@ -0,0 +1,12 @@
+* Thu May 22 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.232447@3a76a49
+- Fixes for IVI-3190 - To get things to render normally
+
+* Thu May 08 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140507.212809@fe174f0
+- Adding Modello to the app name to easily identify it
+
+* Tue May 06 2014 brianjjones <brian.j.jones@intel.com> accepted/tizen/ivi/20140409.182109@68fe932
+- Updated to work with Crosswalk.  TIVI-3078
+
+* Thu Apr 03 2014 brianjjones <brian.j.jones@intel.com> e59b9ad
+- Initial commit of Modello AMBSimulator app
+
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/packaging/modello-ambsimulator.spec b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/packaging/modello-ambsimulator.spec
new file mode 100644 (file)
index 0000000..45a4a01
--- /dev/null
@@ -0,0 +1,29 @@
+Name:       Modello_AMBSimulator
+Summary:    A proof of concept pure html5 UI
+Version:    0.0.2
+Release:    1
+Group:      Applications/System
+License:    Apache 2.0
+URL:        http://www.tizen.org
+Source0:    %{name}-%{version}.tar.bz2
+BuildRequires:  zip
+Requires:   Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_AMBSimulator.wgt
+/opt/usr/apps/_common/icons/AMB_Simulator_icon.png
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/templates/fileSaveSubPanelDelegate.html b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/templates/fileSaveSubPanelDelegate.html
new file mode 100644 (file)
index 0000000..810c757
--- /dev/null
@@ -0,0 +1,10 @@
+<div class="fontSizeMedium fontColorNormal fontWeightBold">
+       <span class="subPanelElement">Save As... </span>
+       <div class="inputBox">
+               <input id="fileNameInput" class="subPanelElement input fontSizeLarge fontSizeBold fontColorNormal boxShadow4 boxShadow4Active userSelectable" />
+       </div>
+       <div id="saveButton" class="button subPanelElement">
+               <div class="bgColorThemeTransparent boxShadowInset button buttonOpacity"></div>
+               <div class="buttonText fontColorNormal fontSizeSmaller fontWeightBold">Save</div>
+       </div>
+</div>
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/templates/propertiesListDelegate.html b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/templates/propertiesListDelegate.html
new file mode 100644 (file)
index 0000000..d9bbf8e
--- /dev/null
@@ -0,0 +1,10 @@
+<div class="contactElement boxShadow4 borderColorTheme" data-index="{{:#index}}">
+       <!--  onClick="PropertiesController.openPropertyDetail('{{:#index}}', this);"> -->
+       <div class="propertyText fontSizeLarge fontWeightBold fontColorNormal textBgColorNormalTransparent">
+       {{if visibleName}}
+               {{:visibleName}}
+       {{else}}
+               {{:name}}
+       {{/if}}
+       </div>
+</div>
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/templates/searchSubPanelDelegate.html b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/templates/searchSubPanelDelegate.html
new file mode 100644 (file)
index 0000000..427d117
--- /dev/null
@@ -0,0 +1,6 @@
+<div class="fontSizeMedium fontColorNormal fontWeightBold">
+       <span class="subPanelElement">Search:</span>
+       <div class="inputBox">
+               <input id="searchInput" class="subPanelElement input fontSizeLarge fontSizeBold fontColorNormal boxShadow4 boxShadow4Active userSelectable" />
+       </div>
+</div>
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/templates/signalGeneratorDelegate.html b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/project/templates/signalGeneratorDelegate.html
new file mode 100644 (file)
index 0000000..55794a4
--- /dev/null
@@ -0,0 +1,107 @@
+<div
+       class="propertyDetail fontSizeSmall fontColorNormal textBgColorNormalTransparent">
+       <div class="marginBtm20 fontSizeLarge fontColorTheme">{{:name}}</div>
+       <table class="marginBtm20" style="width: 100%;">
+               <tr>
+                       <td>Source</td>
+                       <td>Value</td>
+                       <td>Zone </td>
+               </tr>
+               <tr>
+                       <td>
+                               <div class="inputBox">
+                                       <input id="propertySourceInput"
+                                               class="fontSizeSmall input fontSizeBold fontColorNormal boxShadow4 boxShadow4Active userSelectable"
+                                               type="text" size="10" value="vcan0" />
+                               </div>
+                       </td>
+                       <td>
+                               <div class="inputBox">
+                                       <input id="propertyValueInput"
+                                               class="fontSizeSmall input fontSizeBold fontColorNormal boxShadow4 boxShadow4Active userSelectable"
+                                               type="text" placeholder="new value" />
+                               </div>
+                       </td>
+                       <td>
+                               <table id="propertyZonesContainer" class="zonesContainer">
+                                       <tr>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="0">N</td>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="8">L</td>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="32">C</td>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="4">Ri</td>
+                                       </tr>
+                                       <tr>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="1">F</td>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="9"></td>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="33"></td>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="5"></td>
+                                       </tr>
+                                       <tr>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="2">M</td>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="10"></td>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="34"></td>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="6"></td>
+                                       </tr>
+                                       <tr>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="16">Re</td>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="24"></td>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="48"></td>
+                                               <td class="zone bgColorThemeTransparent boxShadowInset"
+                                                       data-value="20"></td>
+                                       </tr>
+                               </table>
+                       </td>
+               </tr>
+               <tr>
+                       <td></td>
+                       <td></td>
+                       <td><span class="fontSizeSmaller"><b class="fontColorTheme">N</b>one, <b
+                                       class="fontColorTheme">L</b>eft, <b class="fontColorTheme">C</b>enter,
+                                       <b class="fontColorTheme">Ri</b>ght, <b class="fontColorTheme">F</b>ront,
+                                       <b class="fontColorTheme">M</b>iddle, <b class="fontColorTheme">Re</b>ar
+                       </span></td>
+               </tr>
+       </table>
+       <div style="width: 100%;">
+               <div class="fontColorNormal fontSizeSmall fontColorTheme marginBtm20">Generated
+                       signal:</div>
+               <div id="signalText"
+                       class="fontColorNormal fontSizeSmaller marginBtm20">
+                       Simulator.set( <span id="source"></span>, <span id="property"></span>,
+                       <span id="value">0</span>, <span id="zone">0</span>);
+               </div>
+               <div class="button propertyDetailTwoBtnWrapper">
+                       <div id="addScriptBtn" class="button propertyDetailBtn"
+                               style="right: 0;">
+                               <div
+                                       class="bgColorThemeTransparent boxShadowInset button buttonOpacity">
+                               </div>
+                               <div
+                                       class="buttonText fontColorNormal fontSizeSmaller fontWeightBold">Add
+                                       script</div>
+                       </div>
+                       <div id="backBtn" class="button propertyDetailBtn">
+                               <div
+                                       class="bgColorThemeTransparent boxShadowInset button buttonOpacity">
+                               </div>
+                               <div
+                                       class="buttonText fontColorNormal fontSizeSmaller fontWeightBold">Back</div>
+                       </div>
+               </div>
+       </div>
+</div>
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/tizen-app-template.xml b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/tizen-app-template.xml
new file mode 100644 (file)
index 0000000..1795dc6
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<tizen-app-template xmlns="http://www.tizen.org/tizen-app-template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" template-version="" sdk-version="" icon32="tizen_32.png" icon64="tizen_64.png" xsi:schemaLocation="http://www.tizen.org/tizen-app-template tizen-app-template.xsd ">
+    <template-name>Modello_AMBSimulator</template-name>
+    <widget-type>TIZEN</widget-type>
+    <build-property key="usedLibraryType" value="Modello"/>
+    <description-file-name>description.xml</description-file-name>
+    <options>
+        <supportLibraries>
+        <library name="modello"/>
+        </supportLibraries>
+    </options>
+</tizen-app-template>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/tizen_32.png b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/tizen_32.png
new file mode 100644 (file)
index 0000000..a37c33e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/tizen_32.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/tizen_64.png b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/tizen_64.png
new file mode 100644 (file)
index 0000000..f80f2ec
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_AMBSimulator/tizen_64.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/description.xml b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/description.xml
new file mode 100644 (file)
index 0000000..af43693
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<?xml-stylesheet type="text/xsl" href="description.xsl"?>\r
+<Overview version="1.0">\r
+  <SampleName>Modello_Appmanager</SampleName>\r
+  <SampleVersion>1.0.0</SampleVersion>\r
+  <Preview>Modello_Appmanager-snapshot.png</Preview>\r
+  <Description>\r
+         Modello Appmanager\r
+  </Description>\r
+</Overview>\r
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/description.xsl b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/description.xsl
new file mode 100644 (file)
index 0000000..1f4f57f
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+    This file provides a functionality to show template's description.xml in the project wizard.
+    Don't delete or move this file.
+ -->
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:template match="/">
+    <html>
+      <head>
+        <style type="text/css">
+          html,body {
+          font-family:Arial;
+          margin: 0px;
+          }
+          td
+          {
+          font-size:13px;
+          }
+          .samplename
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:26px;
+          background-color:#6d96ac;
+          }
+          .category
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:30px;
+          background-color:#6d96ac;
+          }
+          .contents
+          {
+          padding: 6px 10px 14px 10px;
+          }
+          table#widgets td
+          {
+          border: solid 1px #6d96ac;
+          border-collapse: collapse;
+          }
+          .widgetname
+          {
+          font-weight: bold;
+          text-align: center;
+          width: 20%;
+          word-break:break-all;
+          }
+          table#references td
+          {
+          width: 100%;
+          border: 0px;
+          border-spacing: 0px;
+          padding: 5px;
+          }
+          .refname
+          {
+          width: 100%;
+          font-weight: bold;
+          }
+        </style>
+      </head>
+      <body>
+        <table width="400px" border="0" cellspacing="0">
+          <tr>
+            <td class="samplename" align="center">
+              <xsl:value-of select="Overview/SampleName"/>
+              <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
+                         <!--
+              <xsl:value-of select="Overview/SampleVersion"/>
+                         -->
+            </td>
+          </tr>
+          <tr bgcolor="#FFFFFF">
+            <td class="contents">
+                         <strong>Type</strong>: JavaScript
+                         <p>
+              <xsl:value-of select="Overview/Description"/>
+                         </p>
+            </td>
+          </tr>
+          <tr>
+            <td align="center" bgcolor="#FFFFFF" height="260px">
+              <img>
+                <xsl:attribute name="src">
+                  <xsl:value-of select="Overview/Preview"/>
+                </xsl:attribute>
+              </img>
+            </td>
+          </tr>
+        </table>
+      </body>
+    </html>
+  </xsl:template>
+
+</xsl:stylesheet>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/AppManager_icon.png b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/AppManager_icon.png
new file mode 100644 (file)
index 0000000..ccd5624
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/AppManager_icon.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/DISCLAIMER b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/DISCLAIMER
new file mode 100644 (file)
index 0000000..b652aac
--- /dev/null
@@ -0,0 +1,8 @@
+The HTML 'Application Manager' application is not a fully functional
+'Applications Store'. It is an HTML front-end that uses a REST API to
+manage applications hosted by a 'Package Server'. The 'Package Server'
+provides a list of applications available including some predefined
+application metadata such as version, description, screenshots, etc.
+There is no qualification or verification done on these applications and
+such 'Package Server' is not a service provided in any means and is not
+meant to be used in any kind of production environment.
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/Makefile b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/Makefile
new file mode 100644 (file)
index 0000000..9717ebb
--- /dev/null
@@ -0,0 +1,20 @@
+PROJECT = Modello_Appmanager
+
+VERSION := 0.0.2
+PACKAGE = $(PROJECT)-$(VERSION)
+
+INSTALL_FILES = $(PROJECT).wgt
+INSTALL_DIR = ${DESTDIR}/opt/usr/apps/.preinstallWidgets
+
+wgtPkg:
+       zip -r $(PROJECT).wgt config.xml css AppManagericon.png index.html js templates
+
+install:
+       @echo "Installing Appmanager, stand by..."
+       mkdir -p $(INSTALL_DIR)/
+       mkdir -p ${DESTDIR}/opt/usr/apps/_common/icons
+       cp $(PROJECT).wgt $(INSTALL_DIR)/
+       cp AppManager_icon.png ${DESTDIR}/opt/usr/apps/_common/icons
+
+dist:
+       tar czf ../$(PACKAGE).tar.bz2 .
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/config.xml b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/config.xml
new file mode 100644 (file)
index 0000000..8db026c
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://com.intel.tizen/store" version="0.5.0" viewmodes="fullscreen">
+       <name>Modello AppManager</name>
+       <tizen:application id="Modello003.AppManager" package="Modello003" required_version="2.1"/>
+    <feature name="http://tizen.org/feature/network.wifi"/>
+    <feature name="http://tizen.org/feature/network.telephony"/>
+    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
+    <tizen:privilege name="http://tizen.org/privilege/package.info"/>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+    <tizen:privilege name="http://tizen.org/privilege/packagemanager.install"/>
+    <tizen:privilege name="http://tizen.org/privilege/download"/>
+    <tizen:privilege name="http://tizen.org/privilege/content.read" />
+    <tizen:privilege name="http://tizen.org/privilege/speech" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap" />
+       <content src="index.html"/>
+       <icon src="icon.png"/>
+       <access origin="*" subdomains="true"/>
+</widget>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/css/carouselview.css b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/css/carouselview.css
new file mode 100644 (file)
index 0000000..3fecf1c
--- /dev/null
@@ -0,0 +1,65 @@
+.carousel {
+       -webkit-transition: 2s;
+       position: absolute;
+       top: 230px;
+       left: -15px;
+       width: 12000px;
+       padding: 0;
+       margin: 0;
+}
+
+.appsCarousel li {
+       display: block;
+       float: left;
+}
+
+.carouselItem {
+       /*float: left;*/
+       width: 240px;
+       height: 240px;
+       margin-right: 15px;
+       padding: 0;
+       white-space: normal;
+       background-color: rgb(0, 0, 0);
+       background-color: rgba(0, 0, 0, 0.2);
+       box-shadow: 0 2px 30px rgba(0, 0, 0, .7);
+       border-width: 1px;
+       border-style: solid;
+       text-transform: uppercase;
+}
+
+.carouselItemSelected {
+       box-shadow: 0 0 5px 1px #1DA2FF /*background-color:#BFBFFF;*/
+}
+
+.carouselImage {
+       width: 100%;
+       height: 100%;
+}
+
+.albumCarouselDescription {
+       position: absolute;
+       width: 100%;
+       top: 145px;
+       left: 0;
+       height: 95px;
+       text-align: center;
+}
+
+.albumCarouselDescriptionText {
+       width: 220px;
+       margin: 18px auto 0 auto;
+       text-align: center;
+       overflow: hidden;
+}
+
+.carouselShadow {
+       position: relative;
+       width: 246px;
+       height: 110px;
+       top: -100px;
+       opacity: 0.2;
+       -webkit-transform: rotateX(180deg);
+       -webkit-transform-origin: 50% 50%;
+       display: none;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/css/popularApps.css b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/css/popularApps.css
new file mode 100644 (file)
index 0000000..52e6dcc
--- /dev/null
@@ -0,0 +1,83 @@
+.divider {
+       border-bottom: solid 1px;
+       margin-top: 50px;
+       position: absolute;
+       top: 480px;
+       width: 100%;
+}
+
+.popularHeader {
+       position: absolute;
+       top: 80px;
+}
+
+.popularAppsContainer {
+       margin-left: -30px;
+       position: absolute;
+       width: 720px;
+       top: 145px;
+       overflow-x: hidden;
+       overflow-y: scroll;
+       height: 80%;
+       right: -40px;
+}
+
+.popularItem {
+       height: 182px;
+       width: 182px;
+       margin: 0 29px 58px 29px;
+       float: left;
+}
+
+.detailPopIcon {
+       width: 182px;
+       height: 182px;
+       margin: 0 auto;
+}
+
+.storePopAppInfo {
+       float: left;
+       position: relative;
+       width: 100%;
+       height: 96px;
+       left: 0;
+       top: -95px;
+       text-transform: uppercase;
+       text-align: center;
+       z-index: 9;
+}
+
+.storePopAppTitle {
+       margin-top: 5px;
+       overflow: hidden;
+       height: 28px;
+}
+
+
+.storePopAppInfoImage {
+       width: 182px;
+       height: 182px;
+}
+
+.ratingPopTable
+{
+    width:182px;
+    height:36px;
+       margin: 3px 45px;
+}
+
+.iconPopStarActive
+{
+       display:inline-block;
+}
+
+
+.transparent {
+       background-color: #111;
+       position: relative;
+       opacity: 0.65;
+       z-index: 8;
+       top: -95px;
+}
+
+
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/css/store_library.css b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/css/store_library.css
new file mode 100644 (file)
index 0000000..4a9b7c6
--- /dev/null
@@ -0,0 +1,104 @@
+.storeLibraryContentList .appElement {
+       padding: 10px 0 10px 0;
+       height: 70px;
+       box-shadow: none;
+       border-bottom-style: solid;
+       border-bottom-width: 2px;
+       overflow: hidden;
+       white-space: nowrap;
+       line-height: 0;
+       text-align: left;
+       cursor: pointer;
+}
+
+.storeLibraryContentList .appImage {
+       width: 70px;
+       height: 70px;
+       display: inline-block;
+       margin-right: 20px;
+       background-position: center center;
+       background-repeat: no-repeat;
+       background-size: 100% 100%;
+}
+
+.storeLibraryContentList .appImage img {
+       width: 100%;
+       height: 100%;
+}
+
+.storeLibraryContentList .appInfoBox {
+       display: inline-block;
+       vertical-align: top;
+       padding-top: 11px;
+       background-color: transparent !important;
+}
+
+.storeLibraryContentList .appTitle {
+       text-transform: uppercase;
+}
+
+.storeLibraryContentList .appSubtitle {
+       text-transform: uppercase;
+       display: inline-block;
+       vertical-align: middle;
+}
+
+.storeLibraryContentList .appRating {
+       display: inline-block;
+       vertical-align: middle;
+}
+
+.storeLibraryContentGrid {
+       line-height: 0;
+}
+
+.storeLibraryContentGrid .appElement {
+       width: 180px;
+       height: 180px;
+       display: inline-block;
+       margin-right: 7px;
+       margin-bottom: 10px;
+       line-height: 0;
+       vertical-align: top;
+       cursor: pointer;
+}
+
+.storeLibraryContentGrid .appImage {
+       width: 100%;
+       height: 100%;
+       background-position: center center;
+       background-repeat: no-repeat;
+       background-size: 100% 100%;
+}
+
+.storeLibraryContentGrid .appImage img {
+       width: 100%;
+       height: 100%;
+}
+
+.storeLibraryContentGrid .appInfoBox {
+       position: absolute;
+       top: 95px;
+       left: 0;
+       width: 180px;
+       height: 85px;
+       text-align: center;
+}
+
+.storeLibraryContentGrid .appTitle {
+       white-space: nowrap;
+       overflow: hidden;
+       width: 160px;
+       margin: 10px auto 0 auto;
+       text-transform: uppercase;
+}
+
+.storeLibraryContentGrid .appSubtitle {
+       text-transform: uppercase;
+}
+
+.storeLibraryContentGrid .appRating {
+       width: 100px;
+       text-align: center;
+       margin: 0 auto;
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/css/style.css b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/css/style.css
new file mode 100644 (file)
index 0000000..ebf5512
--- /dev/null
@@ -0,0 +1,175 @@
+#backgroundStore
+{
+       position: absolute;
+       width: 720px;
+       height: 1280px;
+
+}
+#appDetailWraper{
+       /*position: absolute;*/
+       top:480px;
+       left :30px;
+       width:660px;
+       height:600px;
+}
+
+.storePromotedAppsCellHidden {
+       display: none;
+}
+
+.storePromotedAppsCellImage {
+       height: 148px;
+       width: 181px;
+       margin: 3px;
+}
+.storePromotedAppsCellText {
+       text-align: center;
+       font-size: x-large;
+       color: white;
+       text-shadow: none;
+       position: relative;
+       background-color: #111111;
+       width: 100%;
+       height: 30px;
+       opacity: 0.6;
+       left: 0;
+       top: -30px;
+
+}
+.ratingIcons
+{
+       width: 20px;
+       height: 18px;
+       background-repeat: no-repeat;
+}
+
+
+/*new added after code clear in detailApplication.css*/
+.iconElement {
+       position: absolute;
+       top: 30px;
+       left: 15px;
+       width: 145px;
+       height: 136px;
+       margin: 0 auto;
+}
+
+.detailIcon {
+       width: 145px;
+       height: 145px;
+       margin: 0 auto;
+}
+
+.ratingTableDetail {
+       position: absolute;
+       top: 155px;
+       left: 20px;
+       width: 250px;
+       height: 40px;
+}
+
+.ratingIcons {
+       float: left;
+}
+.iconStarActive {
+       display: block;
+               background-repeat: no-repeat;
+}
+.iconStarInActive {
+       display: block;
+       background-repeat: no-repeat;
+}
+
+.priceElement {
+       position: absolute;
+       left: 250px;
+       top: 35px;
+       width: 250px;
+}
+.priceTitle {
+       display: inline-block;
+       width: 100px;
+}
+.priceAmount {
+       position: relative;
+       display: inline-block;
+}
+.installButtons{
+       position: relative;
+       top:20px;
+       width:150px;
+       height:30px;
+       padding:10px;
+       border:5px;
+       border-style:solid;
+}
+.btnText {
+               text-align:center;
+}
+.infoWrapper {
+       left: 15px;
+       /*width: 900px;*/
+}
+.descriptionElement {
+       position: relative;
+       top: 80px;
+}
+.versionElement {
+       position: relative;
+       top: 100px;
+}
+.detailDescription {
+       position: relative;
+       top: 3px;
+       width: 600px;
+}
+.versionTitle {
+       position: relative;
+       display: inline-block;
+
+}
+.versionNumber {
+       position: relative;
+       display: inline-block;
+}
+.imagesElement {
+       position: relative;
+       top: 120px;
+       left: 0;
+
+}
+
+.imageElement {
+       width: 180px;
+       height: 400px;
+       float: left;
+       overflow: hidden;
+       margin-top: 10px;
+       margin-left: 5px;
+       background-repeat:no-repeat;
+}
+
+.textPanel {
+       position: relative;
+       width: 405px;
+       top: 50px;
+       display: none;
+}
+
+.installText {
+       text-align: left;
+}
+
+.progressBar {
+       position: absolute;
+       top: 40px;
+       left: 0;
+       width: 325px;
+       height: 10px;
+       border-style: solid;
+       border-width: 0 0 4px 0;
+}
+
+.appDetail {
+       height: 200px;
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/index.html b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/index.html
new file mode 100644 (file)
index 0000000..82b03b9
--- /dev/null
@@ -0,0 +1,77 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8" />
+<meta name="viewport" content="width=720, height=1280, user-scalable=no" />
+<meta name="description"
+       content="A single-page template generated by Tizen Web IDE" />
+
+<title>Store</title>
+
+<script type="text/javascript" src="./css/car/components/jQuery/jquery-1.8.2.js"></script>
+<script type="text/javascript" src="./css/car/components/knockout/knockout.js"></script>
+
+<!-- jsRender Library Import -->
+<script type="text/javascript" src="./css/car/components/jsViews/jsrender.js"></script>
+<script type="text/javascript" src="./css/car/components/jsViews/template.js"></script>
+<script type="text/javascript" src="./css/car/components/carousel/jquery.carouFredSel-6.2.1-packed.js"></script>
+<script type="text/javascript" src="./css/car/components/carousel/jquery.touchSwipe.min.js"></script>
+
+<script type="text/javascript" src="./js/main.js"></script>
+<script type="text/javascript" src="./js/popularController.js"></script>
+<script type="text/javascript" src="./js/store_library.js"></script>
+<script type="text/javascript" src='./js/packagerepository.js'></script>
+
+<!-- CarouselView -->
+
+<link rel="stylesheet" href="./css/carouselview.css" />
+<link rel="stylesheet" href="./css/style.css" />
+<link rel="stylesheet" href="./css/store_library.css" />
+<link rel="stylesheet" href="./css/popularApps.css" />
+<link rel="stylesheet" href="./css/car/components/incomingCall/incomingCall.css" />
+
+<link rel="stylesheet" href="./css/car/car.css">
+<link rel="stylesheet" href="./css/car/car.css" />
+<script type="text/javascript" src='./css/car/car.js'></script>
+<script type='text/javascript' src='./js/services/bootstrap.js'></script>
+
+<script type='text/javascript' src='./css/car/components/boxCaption/boxCaption.js'></script>
+<link rel="stylesheet" href="./css/car/components/boxCaption/boxCaption.css" />
+
+<script type="text/javascript" src='./css/car/components/alphabetBookmark/alphabetBookmark.js'></script>
+<link rel="stylesheet" href="./css/car/components/alphabetBookmark/alphabetBookmark.css" />
+
+<script type="text/javascript" src='./css/car/components/library/library.js'></script>
+<link rel="stylesheet" href="./css/car/components/library/library.css" />
+
+<script type='text/javascript' src='./css/car/components/topBarIcons/topBarIcons.js'></script>
+<link rel="stylesheet" href="./css/car/components/topBarIcons/topBarIcons.css" />
+
+<script type="text/javascript" src="./css/car/components/bottomPanel/bottomPanel.js"></script>
+
+<script type='text/javascript' src='./css/car/components/dateTime/dateTime.js'></script>
+<link rel="stylesheet" href="./css/car/components/dateTime/dateTime.css" />
+</head>
+
+<body>
+       <div id="backgroundStore" class="storeBackground">
+               <div id="clockElement"></div>
+       <div id="carouselObject" class="carousel">
+               <ul id="carousel_wrap" class="appsCarousel"></ul>
+       </div>
+
+               <div onClick="openStoreLibrary();"
+                       class="button libraryButton fontSizeSmaller fontWeightBold fontColorNormal">MORE
+                       APPS</div>
+
+               <div class="divider borderColorDark boxShadow1"></div>
+
+               <div id="appDetailWraper"></div>
+
+               <div id="topBarIcons"></div>
+               <div id="bottomPanel" class="bottomPanel bottomPanelImg"></div>
+
+               <div id="storeLibrary" class="library pageBgColorNormalTransparent"></div>
+       </div>
+</body>
+</html>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/js/main.js b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/js/main.js
new file mode 100644 (file)
index 0000000..d9b175b
--- /dev/null
@@ -0,0 +1,399 @@
+/*global Bootstrap, StoreLibrary, PackageRepository, packageRepository, template, Speech, AppModel, ThemeKeyColor, _applicationDetail, _categories, popularAppsModel, popularController */
+
+/**
+ * Store application provides access to [remote package server](../../package_server/index.html) with installable WGT packages. Packages are grouped
+ * into package categories like *System*, *Utilities* or *Media*. Package server takes following information from WGT
+ * package `config.xml` file:
+ *
+ * * application icon
+ * * application name
+ * * application version
+ *
+ * Package server provides additional metadata processed by Store application:
+ *
+ * * application rating
+ * * category
+ * * application description
+ * * price for application
+ * * application screenshots
+ * * flag assigning application into Promoted and/or Popular groups
+ *
+ * Store application uses {{#crossLink "PackageRepository"}}{{/crossLink}} class to download, install and uninstall applications.
+ *
+ * Package server address and credentials can be configured by updating {{#crossLink "Store/Config:property"}}{{/crossLink}} property.
+ * Please refer to [Package server documenation](../../package_server/index.html) for more details.
+ *
+ * Hover and click on elements in images below to navigate to components of Store application.
+ *
+ * <img id="Image-Maps_1201312180420487" src="../assets/img/store.png" usemap="#Image-Maps_1201312180420487" border="0" width="649" height="1152" alt="" />
+ *   <map id="_Image-Maps_1201312180420487" name="Image-Maps_1201312180420487">
+ *     <area shape="rect" coords="0,0,573,78" href="../classes/TopBarIcons.html" alt="top bar icons" title="Top bar icons" />
+ *     <area shape="rect" coords="0,77,644,132" href="../classes/Clock.html" alt="clock" title="Clock"    />
+ *     <area shape="rect" coords="0,994,644,1147" href="../classes/BottomPanel.html" alt="bottom panel" title="Bottom panel" />
+ *     <area shape="rect" coords="573,1,644,76" href="../modules/Settings.html" alt="Settings" title="Settings" />
+ *     <area  shape="rect" coords="497,135,648,178" alt="Store Library" title="Store Library" target="_self" href="../classes/StoreLibrary.html"     >
+ *     <area  shape="rect" coords="0,476,648,1001" alt="Popular applications" title="Popular applications" target="_self" href="../classes/popularController.html"     >
+ *     <area  shape="rect" coords="1,188,648,457" alt="Promoted applications" title="Promoted applications" target="_self" href="../classes/Store.html#property_promotedApplicationsModel"     >
+ *   </map>
+ *
+ * @module StoreApplication
+ * @main StoreApplication
+ * @class Store
+ **/
+
+var moved = false;
+
+/**
+ * Configuration object holding url and authentication access to remote store server
+ * @property Config
+ * @static
+ **/
+var Config = {
+       httpPrefix: "http://localhost:80",
+       username: "intel",
+       pwd: "TiZ3N456!",
+       defaultIcon: "css/car/images/default_icon.png"
+};
+
+/**
+ * Reference to instance of object holding data about promoted applications
+ * @property promotedApplicationsModel {Object}
+ */
+var promotedApplicationsModel;
+
+/**
+ * Object handling speech commands to install or uninstall application
+ * @property speechObj {Object}
+ */
+var speechObj;
+
+/**
+ * Object holding data about apps installed on the device
+ * @property installedApps {Object}
+ */
+var installedApps;
+
+var bootstrap;
+
+/**
+ * Method fills Promoted Applications carousel with data and rendering
+ * @method setupCarousel
+ * @static
+ **/
+function setupCarousel() {
+       "use strict";
+       template.compile(promotedApplicationsModel, "templates/carouselDelegate.html", "#carousel_wrap", function() {
+               $('#carousel_wrap').carouFredSel({
+                       auto: false,
+                       width: 720,
+                       items: {
+                               visible: 3
+                       },
+                       swipe: {
+                               onMouse: true,
+                               onTouch: true
+                       },
+                       scroll: {
+                               items: 1
+                       }
+               });
+
+               $('.carouselItem').on("touchstart", function (event) {
+                       moved = false;
+               });
+
+               $('.carouselItem').on("touchmove", function (event) {
+                       moved = true;
+               });
+       });
+}
+
+/**
+ * Function invoked after `touchend` event on the carousel item
+ * @method triggerTouchEnd
+ * @param cat {String} Category
+ * @param app {String} Application
+ * @static
+ **/
+function triggerTouchEnd(cat, app) {
+       "use strict";
+       if (moved === false) {
+               StoreLibrary.setAppDetailAndCategory(cat, app);
+       }
+}
+
+/**
+ * Adds http prefix to application icons' urls for apps from the store
+ * @method enhanceModelUrls
+ * @static
+ **/
+function enhanceModelUrls(model) {
+       "use strict";
+       $.each(model, function (itemIndex, item) {
+               if (item.iconUrl.indexOf(Config.httpPrefix) < 0) {
+                       item.iconUrl = Config.httpPrefix + item.iconUrl;
+               }
+       });
+}
+
+/**
+ * Looks for application icon file and provides a path to default one if not found
+ * @method getAppIcon
+ * @static
+ **/
+function getAppIcon(appIconPath, callback) {
+       "use strict";
+       try {
+               tizen.filesystem.resolve(appIconPath, function (iconFile) {
+                       callback(iconFile.fullPath);
+               }, function (error) {
+                       callback(Config.defaultIcon);
+               });
+       } catch(ex) {
+               console.log("EXCEPTION when trying to find icon file: " + ex.message);
+       }
+}
+
+/**
+ * Applies selected theme to application icons
+ * @method setThemeImageColor
+ * @static
+ **/
+function setThemeImageColor() {
+       "use strict";
+       var imageSource;
+       $('body').find('img').each(function() {
+               var self = this;
+               imageSource = $(this).attr('src');
+
+               if (typeof(imageSource) !== 'undefined' && $(this.parentElement).hasClass('themeImage') === false &&
+                       (imageSource.indexOf(Config.httpPrefix) >= 0 || imageSource.indexOf('base64') >= 0)) {
+                       var img = new Image();
+                       var ctx = document.createElement('canvas').getContext('2d');
+                       img.onload = function () {
+                               var w = ctx.canvas.width = img.width;
+                               var h = ctx.canvas.height = img.height;
+                               ctx.fillStyle = ThemeKeyColor;
+                               ctx.fillRect(0, 0, w, h);
+                               ctx.globalCompositeOperation = 'destination-in';
+                               ctx.drawImage(img, 0, 0);
+
+                               $(self).attr('src', ctx.canvas.toDataURL());
+                               $(self).hide(0, function() { $(self).show();});
+                       };
+
+                       img.src = imageSource;
+               }
+       });
+}
+
+/**
+ * Sets up voice recognition listeners for un/installing applications
+ * @method setupSpeechRecognition
+ * @static
+ **/
+function setupSpeechRecognition() {
+       "use strict";
+       console.log("Store setupSpeechRecognition");
+       Speech.addVoiceRecognitionListener({
+               onapplicationinstall : function() {
+                       console.log("Speech application install invoked");
+                       if (_applicationDetail.id !== undefined && $('#storeLibrary').library('isVisible') &&
+                               (!_applicationDetail.installed || _applicationDetail.installed === false)) {
+                               StoreLibrary.installApp(_applicationDetail.id);
+                       }
+               },
+               onapplicationuninstall : function() {
+                       console.log("Speech application uninstall invoked");
+                       if (_applicationDetail.id !== undefined && $('#storeLibrary').library('isVisible') && _applicationDetail.installed === true) {
+                               StoreLibrary.uninstallApp(_applicationDetail.id);
+                       }
+               }
+
+       });
+}
+
+/**
+ * Applies Base64 conversion to icon urls in the model
+ * @method setThemeIconColorBeforeRender
+ * @static
+ **/
+function setThemeIconColorBeforeRender(model) {
+       "use strict";
+       if (!!model) {
+               $.each(model, function (itemIndex, item) {
+                       if (item.iconUrl.indexOf(Config.httpPrefix) >= 0 || item.iconUrl.indexOf('base64') >= 0 || item.iconUrl.indexOf('intelPoc') >= 0) {
+                               var img = new Image();
+                               var aIcon = item.iconUrl;
+                               var ctx = document.createElement('canvas').getContext('2d');
+                               img.onload = function () {
+                                       var w = ctx.canvas.width = img.width;
+                                       var h = ctx.canvas.height = img.height;
+                                       ctx.fillStyle = ThemeKeyColor;
+                                       ctx.fillRect(0, 0, w, h);
+                                       ctx.globalCompositeOperation = 'destination-in';
+                                       ctx.drawImage(img, 0, 0);
+                                       item.iconUrl = ctx.canvas.toDataURL();
+                               };
+
+                               img.src = item.iconUrl;
+                       }
+               });
+       }
+}
+
+/**
+ * Loads store data and builds the page based on the data
+ * @method loadUi
+ * @static
+ **/
+function loadUi() {
+       "use strict";
+       var self;
+       packageRepository = new PackageRepository();
+       packageRepository.availableApplications(function (appData) {
+               AppModel = appData;
+               enhanceModelUrls(AppModel);
+               setThemeIconColorBeforeRender(AppModel);
+
+               promotedApplicationsModel = packageRepository.getPromotedApplications();
+               setTimeout(function() {
+                       setupCarousel();
+
+                       packageRepository.getAppsInfo(function (appsInfo) {
+                               installedApps = appsInfo;
+                               var appsNotInStore = [];
+                               var foundInStore = false;
+                               var appsLength = appsInfo.length;
+                               var appModelLength = AppModel.length;
+
+                               var processApplication = function(i) {
+                                       for (var j = 0; j < appModelLength; j++) {
+                                               if (appsInfo[i].name === AppModel[j].name) {
+                                                       foundInStore = true;
+                                                       AppModel[j].installed = true;
+
+                                                       break;
+                                               } else if (!AppModel[j].installed) {
+                                                       AppModel[j].installed = false;
+                                               }
+                                       }
+                                       if (foundInStore === false &&
+                                               (appsInfo[i].name.toLowerCase() !== "store" && appsInfo[i].name.toLowerCase() !== "homescreen" && appsInfo[i].name.toLowerCase() !== "home screen")) {
+                                               var appNotInStore = {};
+                                               appNotInStore.id = appsInfo[i].id;
+                                               appNotInStore.name = appsInfo[i].name;
+                                               appNotInStore.version = 0;
+                                               appNotInStore.silentInstall = false;
+                                               /* jshint camelcase: false */
+                                               appNotInStore.category_id = "system";
+                                               /* jshint camelcase: true */
+                                               appNotInStore.price = "0";
+                                               appNotInStore.rating = "0";
+                                               appNotInStore.description = "";
+                                               appNotInStore.isPromoted = false;
+                                               appNotInStore.isPopular = false;
+                                               appNotInStore.screenshots = [];
+                                               appNotInStore.downloadUrl = "";
+                                               getAppIcon(appsInfo[i].iconPath, function(resolvedPath) {
+                                                       appNotInStore.iconUrl = resolvedPath;
+                                               });
+                                               appNotInStore.installed = true;
+                                               AppModel.push(appNotInStore);
+                                       }
+                                       foundInStore = false;
+                               };
+
+                               for (var i = 0; i < appsLength; i++) {
+                                       processApplication(i);
+                               }
+                               popularAppsModel = packageRepository.getPopularApplications();
+                               popularController.addHeader();
+                               popularController.fillView(popularAppsModel);
+                       });
+
+               },500);
+       }, function() {
+                       packageRepository.getAppsInfo(function (appsInfo) {
+                               installedApps = appsInfo;
+                               var appsNotInStore = [];
+                               var appsLength = appsInfo.length;
+
+                               var processApplication = function(i) {
+                                       if (appsInfo[i].name.toLowerCase() !== "store" && appsInfo[i].name.toLowerCase() !== "homescreen" && appsInfo[i].name.toLowerCase() !== "home screen") {
+                                               var appNotInStore = {};
+                                               appNotInStore.id = appsInfo[i].id;
+                                               appNotInStore.name = appsInfo[i].name;
+                                               appNotInStore.version = 0;
+                                               appNotInStore.silentInstall = false;
+                                               /* jshint camelcase: false */
+                                               appNotInStore.category_id = "system";
+                                               /* jshint camelcase: true */
+                                               appNotInStore.price = "0";
+                                               appNotInStore.rating = "0";
+                                               appNotInStore.description = "";
+                                               appNotInStore.isPromoted = false;
+                                               appNotInStore.isPopular = false;
+                                               appNotInStore.screenshots = [];
+                                               appNotInStore.downloadUrl = "";
+                                               getAppIcon(appsInfo[i].iconPath, function(resolvedPath) {
+                                                       appNotInStore.iconUrl = resolvedPath;
+                                               });
+                                               appNotInStore.installed = true;
+                                               AppModel.push(appNotInStore);
+                                       }
+                               };
+
+                               for (var i = 0; i < appsLength; i++) {
+                                       processApplication(i);
+                               }
+                       });
+       });
+       packageRepository.getCategories(function (catData) {
+               _categories = catData;
+       });
+
+}
+
+/**
+ * Initialize plugins and register events for Store app.
+ * @method init
+ * @static
+ **/
+var init = function () {
+       "use strict";
+       bootstrap = new Bootstrap(function (status) {
+               $("#topBarIcons").topBarIconsPlugin('init', 'store');
+               $("#clockElement").ClockPlugin('init', 5);
+               $("#clockElement").ClockPlugin('startTimer');
+               $('#bottomPanel').bottomPanel('init');
+
+               loadUi();
+               if (tizen.speech) {
+                       setupSpeechRecognition();
+               } else {
+                       console.log("Store: Speech Recognition not running, voice control will be unavailable");
+               }
+
+               bootstrap.themeEngine.addStatusListener(function (eData) {
+                       setThemeImageColor();
+               });
+       });
+};
+
+$(document).ready(init);
+
+/**
+ * Opens store library after it's initialization or initialize library if it's not.
+ * @method openStoreLibrary
+ * @static
+ **/
+function openStoreLibrary() {
+       "use strict";
+       if (!StoreLibrary.initialized) {
+               StoreLibrary.init();
+       } else {
+               StoreLibrary.show();
+       }
+       setThemeIconColorBeforeRender(AppModel);
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/js/packagerepository.js b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/js/packagerepository.js
new file mode 100644 (file)
index 0000000..b35846d
--- /dev/null
@@ -0,0 +1,333 @@
+/*global Config, StoreLibrary, _applicationDetail, installedApps */
+
+/**
+ * Provides Javascript wrapper around AJAX-based requests to package server providing categories, lists of applications,
+ * download (using [tizen.download API](https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/download.html))
+ * and allows installation or uninstallation of downloaded packages through
+ * [tizen.package API](https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/package.html).
+ *
+ * @class PackageRepository
+ * @module StoreApplication
+ **/
+
+/**
+ * object holding info about applications available on the server as well as apps installed in the system
+ * @property AppModel
+ * @static
+ **/
+var AppModel = [];
+
+var PackageRepository = (function() {
+    "use strict";
+    function PackageRepository() {
+        console.info("Starting up PackageRepository");
+    }
+
+    PackageRepository.prototype = function() {};
+
+    PackageRepository.prototype._storage = "downloads";
+
+    /**
+     * Gets only promoted applications from list of available apps
+     * @method getPromotedApplications
+     * @param callback {Function(results)} Callback function providing array of promoted applications.
+     **/
+       PackageRepository.prototype.getPromotedApplications = function (callback) {
+        if (AppModel.length === 0) {
+            this.availableApplications(function () {
+                var result = AppModel.filter(function (app) {
+                    return app.isPromoted === true;
+                });
+                if (callback) {
+                    callback(result);
+                } else {
+                    return result;
+                }
+            });
+        } else {
+            var result = AppModel.filter(function (app) {
+                return app.isPromoted === true;
+            });
+            if (callback) {
+                callback(result);
+            } else {
+                return result;
+            }
+        }
+       };
+
+    /**
+     * Gets only popular applications from list of available apps
+     * @method getPopularApplications
+     * @param callback {Function(results)} Callback function providing array of popular applications.
+     **/
+       PackageRepository.prototype.getPopularApplications = function (callback) {
+               var result = AppModel.filter(function (app) {
+            return app.isPopular === true;
+        });
+               if (callback) {
+                       callback(result);
+               } else {
+                       return result;
+               }
+       };
+
+    /**
+     * Gets list of available categories from package server.
+     * @method getCategories
+     * @param callback {Function(results)} Callback function providing array of categories.
+     * @param errorCallback {Function(error)} Callback function providing error in case if any issue was detected.
+     **/
+       PackageRepository.prototype.getCategories = function (callback, errorCallback) {
+        $.ajax({
+            type: 'GET',
+            url: Config.httpPrefix + '/packages/categories',
+            dataType: 'json',
+            async: true,
+            username: Config.username,
+            password: Config.pwd,
+            data:'{}'
+            }).done(function(resCategories) {
+                console.log('categories: ' + JSON.stringify(resCategories));
+                if (callback) {
+                    callback(resCategories);
+                } else {
+                    return resCategories;
+                }
+        }).fail(function (jqXHR, textStatus) {
+            console.log('getCategories fail: ' + textStatus);
+            if (errorCallback) {
+                errorCallback();
+            }
+        });
+
+       };
+
+    /**
+     * Gets only applications beloging to specified category from list of available apps
+     * @method getCategoryApplications
+     * @param catId {String} Category identifier.
+     * @param callback {Function(results)} Callback function providing array of popular applications.
+     **/
+       PackageRepository.prototype.getCategoryApplications = function (catId, callback) {
+               var result = AppModel.filter(function (app) {
+            /* jshint camelcase: false */
+            var res = app.category_id === catId;
+            /* jshint camelcase: true */
+            return res;
+        });
+               if (callback) {
+                       callback(result);
+               } else {
+                       return result;
+               }
+       };
+
+    /**
+     * Gets all application data for specified application.
+     * @method getApplicationDetail
+     * @param appId {String} Application identifier.
+     * @param callback {Function(result)} Callback function providing array of popular applications.
+     **/
+       PackageRepository.prototype.getApplicationDetail = function (appId, callback) {
+               var result = AppModel.filter(function (app) {
+             return app.id === appId;
+        });
+               if (callback) {
+                       callback(result);
+               } else {
+                       return result;
+               }
+       };
+
+    /**
+     * Gets list of available applications from package server.
+     * @method availableApplications
+     * @param callback {Function(results)} Callback function providing array of applications.
+     * @param errorCallback {Function(error)} Callback function providing error in case if any issue was detected.
+     **/
+    PackageRepository.prototype.availableApplications = function (callback, errorCallback) {
+        $.ajax({
+            type: 'GET',
+            url: Config.httpPrefix + '/packages/available',
+            dataType: 'json',
+            async: true,
+            username: Config.username,
+            password: Config.pwd,
+            data:'{}'
+        }).done(function(resp) {
+                if (callback) {
+                    callback(resp);
+                }
+        }).fail(function (jqXHR, textStatus) {
+                console.log('availableApplications fail: ' + textStatus);
+                if (errorCallback) {
+                    errorCallback();
+                }
+        });
+    };
+
+
+    /**
+     * Starts package download identified by applidation identifier via [tizen.download API]()
+     * @method downloadApplication
+     * @param appId {String} Application Id
+     * @param callback {Function(error, appId, packageUri)} Callback function providing information about status about download.
+     **/
+    PackageRepository.prototype.downloadApplication = function (appId, callback) {
+        var listener = {
+            onprogress: function(id, receivedSize, totalSize) {
+                console.log('Received with id: ' + id + ', ' + receivedSize + '/' + totalSize);
+            },
+            onpaused: function(id) {
+                console.log('Paused with id: ' + id);
+            },
+            oncanceled: function(id) {
+                console.log('Canceled with id: ' + id);
+            },
+            oncompleted: function(id, fullPath) {
+                console.log('Completed with id: ' + id + ', full path: ' + fullPath);
+                tizen.filesystem.resolve(fullPath, function (file) {
+                    callback(null, id, file.toURI());
+                });
+            },
+            onfailed: function(id, error) {
+                console.log('Failed with id: ' + id + ', error name: ' + error.name);
+            }
+        };
+
+        // Starts downloading of the file from the Web with the corresponding callbacks.
+        var downloadRequest = new tizen.DownloadRequest("http://"+Config.username+":"+Config.pwd+"@localhost:80" + _applicationDetail.downloadUrl, "downloads", appId.split("/").pop() + ".wgt");
+
+        var downloadId = tizen.download.start(downloadRequest, listener);
+    };
+
+    /**
+     * Provides list of installed application using [tizen application API]().
+     * @method getAppsInfo
+     * @param callback {Function(results)} Callback function providing array of installed applications.
+     **/
+    PackageRepository.prototype.getAppsInfo = function (callback) {
+        try {
+            tizen.application.getAppsInfo(function (installedAppData) {
+                callback(installedAppData);
+            }, function(err) {
+                console.log('Failed to get installed apps info.');
+            });
+        } catch (exc) {
+            console.error(exc.message);
+        }
+    };
+
+    /**
+     * Method performs installation of specified application ID using [tizen package API]() by following process:
+     *
+     * * download package
+     * * install package
+     * * cleanup of downloaded package
+     *
+     * @method install
+     * @param appId application Id
+     * @param callback {Function(error)} Callback function invoked after installation is finished or error occurs.
+     **/
+    PackageRepository.prototype.install = function (appId, callback) {
+        var installationFile;
+        var self = this;
+        callback = callback || function() {};
+
+        var cleanup = function(err) {
+            console.log("Removing installation file " + installationFile);
+            tizen.filesystem.resolve(self._storage, function(directory) {
+                directory.deleteFile(installationFile,
+                    function() {
+                        self.getAppsInfo(function (appsInfo) {
+                            installedApps = appsInfo;
+                            callback(err);
+                        });
+                    },
+                    function(error) { callback(err || error); }
+                );
+            });
+        };
+
+        var onInstallation = {
+            onprogress: function(packageId, percentage) {
+                console.log("On installation(" + packageId + ") : progress(" + percentage + ")");
+                StoreLibrary.displayInstallProgress(true, percentage);
+            },
+            oncomplete: function(packageId) {
+                console.log("Installation(" + packageId + ") Complete");
+                cleanup();
+                this.getAppsInfo(function (appsInfo) {
+                    installedApps = appsInfo;
+                    callback();
+                });
+            }
+        };
+
+        var onError = function (err) {
+            console.error("Error occurred on installation : " + err.name);
+            callback(err);
+        };
+
+        this.downloadApplication(appId, function(error, fileName, fullPath) {
+            if (error) {
+                this.cleanup(error);
+            } else {
+                installationFile = fullPath;
+                tizen.package.install(fullPath, onInstallation, onError);
+            }
+        });
+    };
+
+    /**
+     * Method performs uninstallation of specified application ID using [tizen package API]()
+     *
+     * @method uninstall
+     * @param appId application Id
+     * @param callback {Function(error)} Callback function invoked after installation is finished or error occurs.
+     **/
+    PackageRepository.prototype.uninstall = function (appId, callback) {
+        var onInstallation = {
+            onprogress: function(packageId, percentage) {
+                console.log("On uninstallation(" + packageId + ") : progress(" + percentage + ")");
+                StoreLibrary.displayInstallProgress(false, percentage);
+            },
+            oncomplete: function(packageId) {
+                console.log("Uninstallation(" + packageId + ") Complete");
+                if (callback) {
+                    callback(true);
+                }
+            }
+        };
+
+        var onError = function (err) {
+            console.log("Error occurred on uninstallation : " + err.name);
+            if (callback) {
+                callback(false);
+            }
+        };
+        var uninstPackageName = this.getPackageId(_applicationDetail.name);
+        console.log("Trying to uninstall "+ _applicationDetail.name);
+        if (uninstPackageName === undefined) {
+            console.log("Package name not available.");
+        } else {
+            tizen.package.uninstall(uninstPackageName, onInstallation, onError);
+        }
+    };
+
+    /**
+     * Function returns package id for specified application name.
+     * @method getPackageId
+     * @param appName {String} Application name
+     **/
+    PackageRepository.prototype.getPackageId = function (appName) {
+        for (var i in installedApps) {
+            if (installedApps[i].name === appName) {
+                return installedApps[i].packageId;
+            }
+        }
+    };
+
+       return PackageRepository;
+}());
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/js/popularController.js b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/js/popularController.js
new file mode 100644 (file)
index 0000000..0179d89
--- /dev/null
@@ -0,0 +1,53 @@
+/*global template, setThemeImageColor*/
+
+/**
+ * Provides controller for popular applications list.
+ * @class popularController
+ * @module StoreApplication
+ * @static
+ **/
+
+/**
+ * Hols popular apps model.
+ * @property popularAppsModel
+ * @type object
+ * @default null
+ * @static
+ **/
+var popularAppsModel = null;
+/**
+ * Holds popular apps model length.
+ * @property popularAppsModelLenght
+ * @type int
+ * @default null
+ * @static
+ **/
+var popularAppsModelLenght;
+var popularController = {
+               /**
+                * Adds header bar to store app.
+                * @method addHeader
+                **/
+               addHeader: function () {
+                       "use strict";
+                       $('#appDetailWraper').append('<div class="popularHeader fontSizeXLarge fontWeightBold fontColorDark">MOST POPULAR</div>');
+                       $('#appDetailWraper').append('<div id="popularApps" class="popularAppsContainer"></div>');
+               },
+               /**
+                * Creates store view based on model parameter.
+                * @method fillView
+                * @param model {array} Contains array of objects which holds popular apps informations.
+                **/
+               fillView: function (model) {
+                       "use strict";
+                       popularAppsModelLenght = model.length;
+                       console.log("filling popular view with " + popularAppsModelLenght + " items");
+                       var i;
+                       for (i = 0; i < popularAppsModelLenght; i++) {
+                               model[i].index = i;
+                       }
+                       template.compile(model, "templates/popularAppsContainer.html", "#popularApps", function () {
+                               setThemeImageColor();
+                       });
+               }
+       };
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/js/store_library.js b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/js/store_library.js
new file mode 100644 (file)
index 0000000..4150953
--- /dev/null
@@ -0,0 +1,487 @@
+/*global PackageRepository, setThemeImageColor, GRID_TAB, LIST_TAB, Config, AppModel, popularAppsModel, popularController */
+
+/**
+ * Provides implementation of {{#crossLink "Library"}}{{/crossLink}} object for Store application. Applications are displayed in
+ * following hierarchy:
+ *
+ * * List of application categories
+ *   * List of applications for one category
+ *      * Application detail
+ *
+ *
+ * @class StoreLibrary
+ * @module StoreApplication
+ * @static
+ **/
+
+/**
+ * Holds array of apps categories.
+ * @property _categories
+ * @type array
+ * @default empty
+ * @static
+ **/
+var _categories = [];
+
+/**
+ * Holds object of selected apps category.
+ * @property _selectedCategory
+ * @type object
+ * @default empty
+ * @static
+ **/
+var _selectedCategory = {};
+
+/**
+ * Hols array of apps in selected category.
+ * @property _categoryApplications
+ * @type array
+ * @default empty
+ * @static
+ **/
+var _categoryApplications = [];
+
+/**
+ * Hols object of selected app detailed informations.
+ * @property _selectedCategory
+ * @type object
+ * @default empty
+ * @static
+ **/
+var _applicationDetail = {};
+
+/**
+ * Hols object of instalation timer.
+ * @property _progress
+ * @type timer
+ * @default null
+ * @static
+ **/
+var _progress;
+
+/**
+ * Hols object of uninstalation timer.
+ * @property _unProgress
+ * @type timer
+ * @default null
+ * @static
+ **/
+var _unProgress;
+
+/**
+ * Hols object of package repository.
+ * @property packageRepository
+ * @type PackageRepository
+ * @default null
+ * @static
+ **/
+var packageRepository;
+
+var StoreLibrary = {
+               /**
+                * Indicates if store library is initialized.
+                * @property initialized
+                * @type bool
+                * @default false
+                **/
+               initialized: false,
+               /**
+                * Provides initialization of store library.
+                * @method init
+                * @param showApps {bool} If true shows apps in store library ordered by category ID.
+                **/
+               init: function (showApps) {
+                       "use strict";
+                       $('#storeLibrary').library("setSectionTitle", "APP STORE");
+                       $('#storeLibrary').library("init");
+
+                       if (_categories.length > 0 ) {
+                               StoreLibrary.showStoreLibrary(showApps);
+                       } else {
+                               if (typeof PackageRepository !== 'undefined') {
+                                       packageRepository = new PackageRepository();
+                                       packageRepository.getCategories(function (jsonObject) {
+                                               if ((typeof jsonObject).toLowerCase() === "string") {
+                                                       try {
+                                                               _categories = JSON.parse(jsonObject);
+                                                       } catch (error) {
+                                                               console.log("Unable to parse categories: " + error.message);
+                                                       }
+                                               } else {
+                                                       _categories = jsonObject;
+                                               }
+                                               StoreLibrary.showStoreLibrary();
+                                       }, function(error) {
+                                               _categories.length = 0;
+                                               _categories.push({"id": "system", "description": "", "name": "System", "url": "/packageRepository/category?id=system"});
+                                               StoreLibrary.showStoreLibrary();
+                                       });
+                               } else {
+                                       console.warn("packageRepository is not available.");
+                               }
+                       }
+               },
+
+               /**
+                * Shows library of apps in Store application.
+                * @method show
+                **/
+               show: function () {
+                       "use strict";
+                       $('#storeLibrary').library("showPage");
+               },
+
+               /**
+                * Builds and displays the Store library view
+                * @method showStoreLibrary
+                * @param showApps {bool} indicator
+                **/
+               showStoreLibrary: function (showApps) {
+                       "use strict";
+                       var i = 0;
+                       for (i = 0; i < _categories.length; ++i) {
+                               if (i === 0) {
+                                       _categories[i].selected = true;
+                                       _selectedCategory = _categories[i];
+                                       if (showApps === true || showApps === undefined) {
+                                               StoreLibrary.showAppsByCategoryId(_selectedCategory.id);
+                                       }
+                               }
+                               _categories[i].text = _categories[i].name;
+                               _categories[i].action = "StoreLibrary.showAppsByCategoryId('" + _categories[i].id + "');";
+                       }
+
+                       var tabMenuModel = {
+                                       Tabs: _categories
+                               };
+
+                       $('#storeLibrary').library("tabMenuTemplateCompile", tabMenuModel, function() {
+                               setThemeImageColor();
+                       });
+
+                       $('#storeLibrary').bind('eventClick_GridViewBtn', function () {
+                               $('#storeLibrary').library('closeSubpanel');
+                               StoreLibrary.showAppsByCategoryId(_categories[$('#storeLibrary').library('getSelectetTopTabIndex')].id);
+                       });
+
+                       $('#storeLibrary').bind('eventClick_ListViewBtn', function () {
+                               $('#storeLibrary').library('closeSubpanel');
+                               StoreLibrary.showAppsByCategoryId(_categories[$('#storeLibrary').library('getSelectetTopTabIndex')].id);
+                       });
+
+                       $('#storeLibrary').bind('eventClick_SearchViewBtn', function () {
+
+                       });
+
+                       $('#storeLibrary').bind('eventClick_menuItemBtn', function (e, data) {
+                               $('#storeLibrary').library('closeSubpanel');
+                               StoreLibrary.showAppsByCategoryId(_categories[$('#storeLibrary').library('getSelectetTopTabIndex')].id);
+                       });
+
+                       $('#storeLibrary').bind('eventClick_closeSubpanel', function () {
+                               StoreLibrary.showAppsByCategoryId(_categories[$('#storeLibrary').library('getSelectetTopTabIndex')].id);
+                       });
+
+                       var heightWithoutScrollbar = $('#libraryTabsID').scrollHeight;
+                       $('#libraryTopPanel').height($('#libraryTopPanel').height() - heightWithoutScrollbar);
+                       StoreLibrary.initialized = true;
+                       StoreLibrary.show();
+               },
+
+               /**
+                * Sets category and detail of application.
+                * @method setAppDetailAndCategory
+                * @param categoryID {int} Contains ID of category to set.
+                * @param applicationID {int} Contains ID of app to show details.
+                **/
+               setAppDetailAndCategory: function (categoryID, applicationID) {
+                       "use strict";
+                       var tabID = 0, i = 0;
+                       for (i = 0; i < _categories.length; i++) {
+                               if (_categories[i].id === categoryID) {
+                                       tabID = i;
+                                       break;
+                               }
+                       }
+                       $('#storeLibrary').library('setTopTabIndex', tabID);
+                       if (!StoreLibrary.initialized) {
+                               StoreLibrary.init(false);
+                       }
+                       StoreLibrary.openAppDetail(applicationID);
+                       setThemeImageColor();
+                       StoreLibrary.show();
+               },
+
+               /**
+                * Shows apps sorted by specific categry.
+                * @method showAppsByCategoryId
+                * @param categoryID {int} Contains ID of category.
+                **/
+               showAppsByCategoryId: function (categoryID) {
+                       "use strict";
+                       packageRepository.getCategoryApplications(categoryID, function (jsonObject) {
+                               if ((typeof jsonObject).toLowerCase() === "string") {
+                                       try {
+                                               _categoryApplications = JSON.parse(jsonObject);
+                                       } catch (error) {
+                                               console.log("Unable to parse category applications: " + error.message);
+                                       }
+                               } else {
+                                       _categoryApplications = jsonObject;
+                               }
+
+                               switch ($('#storeLibrary').library('getSelectetLeftTabIndex')) {
+                               case GRID_TAB:
+                                       StoreLibrary.renderAppsGridView(_categoryApplications);
+                                       break;
+                               case LIST_TAB:
+                                       StoreLibrary.renderAppsListView(_categoryApplications);
+                                       break;
+                               default:
+                                       break;
+                               }
+                       });
+               },
+
+               /**
+                * Shows apps in grid view.
+                * @method renderAppsGridView
+                * @param model {object} Contains model of applications.
+                **/
+               renderAppsGridView: function (model) {
+                       "use strict";
+                       $('#storeLibrary').library("setContentDelegate", "templates/storeLibraryAppsDelegate.html");
+                       $('#storeLibrary').library("contentTemplateCompile", model, "storeLibraryContentGrid", function() {
+                               setThemeImageColor();
+                       });
+               },
+
+               /**
+                * Shows apps in list view.
+                * @method renderAppsGridView
+                * @param model {object} Contains model of applications.
+                **/
+               renderAppsListView: function (model) {
+                       "use strict";
+                       $('#storeLibrary').library("setContentDelegate", "templates/storeLibraryAppsDelegate.html");
+                       $('#storeLibrary').library("contentTemplateCompile", model, "storeLibraryContentList", function() {
+                               setThemeImageColor();
+                       });
+               },
+
+               /**
+                * If model of an app dosen't contain screenshot, function set default one to model.
+                * @method enhanceModelsUrls
+                * @param appDetail {array} Contains array of objects which holds promotedapps informations.
+                * @return appDetail {array} Returns enhanced model of promoted apps.
+                **/
+               enhanceModelUrls: function (appDetail) {
+                       "use strict";
+                       appDetail.imageObjects = [];
+                       if (!!appDetail.screenshots) {
+                               $.each(appDetail.screenshots, function (imageIndex, urlobject) {
+                                       appDetail.imageObjects.push({
+                                               url: Config.httpPrefix + urlobject
+                                       });
+                               });
+                       }
+                       return appDetail;
+               },
+
+               /**
+                * Opens app detail view.
+                * @method openAppDetail
+                * @param appID {string} Contains ID of app to show detail of it.
+                **/
+               openAppDetail: function (appID) {
+                       "use strict";
+                       packageRepository.getApplicationDetail(appID, function (jsonObject) {
+                               // _applicationDetail = jsonObject;
+                               _applicationDetail = StoreLibrary.enhanceModelUrls(jsonObject[0]);
+                               StoreLibrary.renderAppDetailView(_applicationDetail);
+                       });
+               },
+
+               /**
+                * Creates detail view of app.
+                * @method renderAppDetailView
+                * @param app {object} Contains object with app data.
+                **/
+               renderAppDetailView: function (app) {
+                       "use strict";
+                       var subpanelModel = {
+                                       /* jshint camelcase: false */
+                                       textTitle: StoreLibrary.getCategoryTitleById(app.category_id),
+                                       /* jshint camelcase: true */
+                                       textSubtitle: app.name || "-"
+                               };
+                       $('#storeLibrary').library("subpanelContentTemplateCompile", subpanelModel, function () {
+                               $("#libraryTopSubPanelTitle").boxCaptionPlugin('initSmall', subpanelModel.textTitle);
+                       });
+                       $('#storeLibrary').library('showSubpanel');
+                       $('#storeLibrary').library("setContentDelegate", "templates/detailApplicationContainer.html");
+                       $('#storeLibrary').library("contentTemplateCompile", app, "", function () {
+                               setThemeImageColor();
+
+                               var height = $('#storeLibrary').height();
+                               if ($("#libraryTopPanel").is(":visible")) {
+                                       height = height - $("#libraryTopPanel").outerHeight();
+                               }
+                               if ($("#libraryTopSubPanel").is(":visible")) {
+                                       height = height - $("#libraryTopSubPanel").outerHeight();
+                               }
+                               height = height - $('.appDetail').outerHeight();
+                               $('.infoWrapper').height(height);
+                       });
+               },
+
+               /**
+                * Creates search view in store.
+                * @method renderSearchView
+                **/
+               renderSearchView: function () {
+                       "use strict";
+                       $('#storeLibrary').library("clearContent");
+               },
+
+               /**
+                * Returns title of a category based on category ID.
+                * @method getCategoryTitleById
+                * @param categoryID {string} Contains object with app data.
+                * @return {string} Title of category.
+                **/
+               getCategoryTitleById: function (categoryID) {
+                       "use strict";
+                       var i = 0;
+                       for (i = 0; i < _categories.length; i++) {
+                               if (_categories[i].id === categoryID) {
+                                       return _categories[i].name;
+                               }
+                       }
+                       return "-";
+               },
+
+               /**
+                * Install a new app based on app id.
+                * @method installApp
+                * @param id {string} Contains app id.
+                **/
+               installApp: function (id) {
+                       "use strict";
+                       console.log('INSTALL APP... ' + id);
+
+                       StoreLibrary.displayInstallProgress(true, 0);
+                       packageRepository.install(id, function (instError) {
+                               packageRepository.getApplicationDetail(id, function (appDetail) {
+                                       if (instError) {
+                                               appDetail[0].installed = false;
+                                               StoreLibrary.installResult(instError, true, appDetail[0]);
+                                       } else {
+                                               appDetail[0].installed = true;
+                                               StoreLibrary.installResult(null, true, appDetail[0]);
+                                       }
+                               });
+                       });
+               },
+
+               /**
+                * Uninstall a new app based on app id.
+                * @method uninstallApp
+                * @param id {string} Contains app id.
+                **/
+               uninstallApp: function (id) {
+                       "use strict";
+                       console.log('UNINSTALL APP... ' + id);
+                       StoreLibrary.displayInstallProgress(false, 0);
+                       packageRepository.uninstall(id, function (jsonObject) {
+                               var instError = jsonObject.error;
+                               if (!!instError) {
+                                       packageRepository.getApplicationDetail(id, function (appDetail) {
+                                               appDetail[0].installed = true;
+                                               StoreLibrary.installResult(instError, false, appDetail[0]);
+                                       });
+                               } else {
+                                       packageRepository.getApplicationDetail(id, function (appDetail) {
+                                               appDetail[0].installed = false;
+                                               StoreLibrary.installResult(instError, false, appDetail[0]);
+                                       });
+                               }
+                       });
+               },
+
+               /**
+                * Called as callback after installing or uninstalling application.
+                * @method installResult
+                * @param error {bool} Error indicator.
+                * @param install {bool} Indicates if app was installed (true) or uninstalled (false).
+                * @param app {object} Object of app which was installed/uninstalled.
+                **/
+               installResult: function (error, install, app) {
+                       "use strict";
+                       var instLabel1 = 'INSTALLATION';
+                       var instLabel2 = 'INSTALLED';
+                       if (install === false) {
+                               instLabel1 = 'UNINSTALLATION';
+                               instLabel2 = 'UNINSTALLED';
+                       }
+                       if (!!error) {
+                               $('#installText').html(instLabel1 + ' FAILED');
+                       } else {
+                               $('#installText').html(instLabel2 + ' SUCCESSFULLY');
+                               $('#installBar').css({
+                                       width: '100%'
+                               });
+                       }
+                       setTimeout(function () {
+                               /* jshint camelcase: false */
+                               if (app.category_id === "system") {
+                               /* jshint camelcase: true */
+                                       var appToRemoveIndex = AppModel.indexOf(app);
+                                       if (appToRemoveIndex >= 0) {
+                                               AppModel.splice(appToRemoveIndex, 1);
+                                       }
+                                       /* jshint camelcase: false */
+                                       StoreLibrary.showAppsByCategoryId(app.category_id);
+                                       /* jshint camelcase: true */
+                                       $('#storeLibrary').library('closeSubpanel');
+                               } else {
+                                       StoreLibrary.renderAppDetailView(app);
+                                       StoreLibrary.refreshPopularApps(app);
+                               }
+                       }, 3000);
+               },
+
+               /**
+                * Displays progress of installation or uninstallation.
+                * @method displayInstallProgress
+                * @param install {bool} Indicates if app was installed (true) or uninstalled (false).
+                **/
+               displayInstallProgress: function (install, percent) {
+                       "use strict";
+                       if (install === false) {
+                               $('#installText').html('UNINSTALLING...');
+                       }
+                       $('.textPanel').css('display', 'inline-block');
+                       $('.installButtons').css('display', 'none');
+                       $('#installBar').css({
+                               width: percent + '%'
+                       });
+
+               },
+
+               /**
+                * Updates the model object and rerenders popular apps view
+                * @method refreshPopularApps
+                * @param app updated application object
+                **/
+               refreshPopularApps: function (app) {
+                       "use strict";
+                       for (var i in popularAppsModel) {
+                               if (popularAppsModel[i].id === app.id) {
+                                       popularAppsModel[i].installed = app.installed;
+                                       popularController.fillView(popularAppsModel);
+                                       break;
+                               }
+                       }
+               }
+       };
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/manifest.json b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/manifest.json
new file mode 100644 (file)
index 0000000..bca2ec5
--- /dev/null
@@ -0,0 +1,12 @@
+{
+  "name": "Modello AppManager",
+  "version": "0.0.2",
+  "app": {
+    "launch":{
+      "local_path": "index.html"
+    }
+  },
+  "icons": {
+    "128": "AppManager_icon.png"
+  }
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/packaging/modello-appmanager.changes b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/packaging/modello-appmanager.changes
new file mode 100644 (file)
index 0000000..e8a7e54
--- /dev/null
@@ -0,0 +1,12 @@
+* Thu May 22 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.232454@931c063
+- Fixes for IVI-3190 - To get things to render normally
+
+* Thu May 08 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.164900@f38762b
+- Adding Modello to the app name to easily identify it
+
+* Tue May 06 2014 brianjjones <brian.j.jones@intel.com> accepted/tizen/ivi/20140409.182155@c377dff
+- Updated to work with Crosswalk.  TIVI-3075
+
+* Thu Apr 03 2014 brianjjones <brian.j.jones@intel.com> 43f85a9
+- Initial commit of Modello Appmanager app
+
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/packaging/modello-appmanager.spec b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/packaging/modello-appmanager.spec
new file mode 100644 (file)
index 0000000..1b7e0d0
--- /dev/null
@@ -0,0 +1,29 @@
+Name:       Modello_Appmanager
+Summary:    A proof of concept pure html5 UI
+Version:    0.0.2
+Release:    1
+Group:      Applications/System
+License:    Apache 2.0
+URL:        http://www.tizen.org
+Source0:    %{name}-%{version}.tar.bz2
+BuildRequires:  zip
+Requires:   Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_Appmanager.wgt
+/opt/usr/apps/_common/icons/AppManager_icon.png
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/templates/carouselDelegate.html b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/templates/carouselDelegate.html
new file mode 100644 (file)
index 0000000..5e7caf9
--- /dev/null
@@ -0,0 +1,12 @@
+<li>
+<!-- <li> -->
+       <div id="item_{{:index}}" class="carouselItem" ontouchend="triggerTouchEnd('{{:category_id}}','{{:id}}');">
+               <img class="carouselImage" src='{{:iconUrl}}' alt="">
+               <div class="albumCarouselDescription">
+                       <div
+                               class="albumCarouselDescriptionText fontColorNormal fontSizeLarge fontWeightBold">{{:name}}
+                       </div>
+               </div>
+       </div>
+</li>
+
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/templates/detailApplicationContainer.html b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/templates/detailApplicationContainer.html
new file mode 100644 (file)
index 0000000..9ec59b4
--- /dev/null
@@ -0,0 +1,68 @@
+<div class="appDetail">
+       <div class="iconElement">
+               <div class="detailIcon">
+                       <img src="{{:iconUrl}}"
+                               style="width: 100%; height: 100%;">
+               </div>
+               <div class="ratingTableDetail">
+                       <div
+                               class="ratingIcons {{if rating>0}}iconStarActive{{else}}iconStarInActive{{/if}}"></div>
+                       <div
+                               class="ratingIcons {{if rating>1}}iconStarActive{{else}}iconStarInActive{{/if}}"></div>
+                       <div
+                               class="ratingIcons {{if rating>2}}iconStarActive{{else}}iconStarInActive{{/if}}"></div>
+                       <div
+                               class="ratingIcons {{if rating>3}}iconStarActive{{else}}iconStarInActive{{/if}}"></div>
+                       <div
+                               class="ratingIcons {{if rating>4}}iconStarActive{{else}}iconStarInActive{{/if}}"></div>
+               </div>
+       </div>
+       <div class="priceElement">
+
+               <div class="priceTitle fontSizeLarge fontColorNormal fontWeightBold">PRICE:</div>
+               <div class="priceAmount  fontSizeLarge fontWeightBold fontColorTheme">{{if
+                       price ==0 }}FREE{{else}}{{:price}} EUR{{/if}}</div>
+                       <div id="installInfo" class="textPanel">
+                               <div id="installText" class="installText fontColorNormal fontSizeLarge fontWeightBold">INSTALLING...</div>
+                               <div id="installBar" class="installBarClass progressBar borderColorTheme"></div>
+                       </div>
+                       {{if category_id != "user_theme" && category_id != "system" && name.toLowerCase() != "store" && name.toLowerCase() != "home screen"}}
+                       <div class="installButtons borderColorDark bgColorDarkTransparent">
+                               {{if installed !=true}}
+
+                               <div onclick='StoreLibrary.installApp("{{:id}}");'>
+                                       <div class="btnText fontColorNormal fontSizeLarge fontWeightBold">INSTALL</div>
+                               </div>
+
+                               {{/if}}
+                               {{if installed ==true}}
+                               <div onclick='StoreLibrary.uninstallApp("{{:id}}");'>
+                                       <div class="btnText fontColorNormal fontSizeLarge fontWeightBold">UNINSTALL</div>
+                               </div>
+                               {{/if}}
+                       </div>
+                       {{/if}}
+               </div>
+
+       </div>
+       <div class="infoWrapper">
+               <div class="descriptionElement">
+                       <div class="fontSizeLarge fontColorNormal fontWeightBold">DESCRIPTION:</div>
+                       <div class="detailDescription fontSizeSmall fontColorDimmed fontWeightBold ">{{:description}}</div>
+               </div>
+               <div class="versionElement">
+                       <div class="versionTitle fontSizeLarge fontColorNormal fontWeightBold">VERSION:</div>
+                       <div class="versionNumber fontSizeLarge fontColorDimmed fontWeightBold">{{:version}}</div>
+               </div>
+
+               <div class="imagesElement">
+                       <div class="fontSizeLarge fontColorNormal fontWeightBold">SCREENSHOTS:</div>
+
+                       {{foreach imageObjects}}
+                               <div class="imageElement" style="background: url('{{:url}}'); background-repeat:no-repeat; color: white; ">
+                               </div>
+                               {{/foreach}}
+
+               </div>
+       </div>
+</div>
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/templates/popularAppsContainer.html b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/templates/popularAppsContainer.html
new file mode 100644 (file)
index 0000000..b3c0c9b
--- /dev/null
@@ -0,0 +1,33 @@
+<div id="{{:path}}"
+       class="popularItem fontSizeMedium fontWeightBold settingsItemBorder"
+       onClick="StoreLibrary.setAppDetailAndCategory('{{:category_id}}','{{:id}}')">
+       <div class="detailPopIcon storeAppInfoImage">
+               <img src="{{:iconUrl}}"
+                       style="width: 100%; height: 100%;">
+       </div>
+
+       <div class="storePopAppInfo">
+               <div
+                       class="storePopAppTitle fontSizeMedium fontWeightBold fontColorNormal">
+                       {{:name}}</div>
+               <div
+                       class="storePopAppMoreInfo fontSizeXSmall fontWeightBold fontColorDark">{{if
+                       installed==true}}Installed{{else if price ==0
+                       }}Free{{else}}{{:price}} Eur{{/if}}</div>
+               <div class="storePopAppMoreInfo">
+                       <div class="ratingPopTable">
+                               <div
+                                       class="ratingIcons {{if rating>0}}iconStarActive{{else}}iconStarInActive{{/if}}"></div>
+                               <div
+                                       class="ratingIcons {{if rating>1}}iconStarActive{{else}}iconStarInActive{{/if}}"></div>
+                               <div
+                                       class="ratingIcons {{if rating>2}}iconStarActive{{else}}iconStarInActive{{/if}}"></div>
+                               <div
+                                       class="ratingIcons {{if rating>3}}iconStarActive{{else}}iconStarInActive{{/if}}"></div>
+                               <div
+                                       class="ratingIcons {{if rating>4}}iconStarActive{{else}}iconStarInActive{{/if}}"></div>
+                       </div>
+               </div>
+       </div>
+       <div class="transparent"></div>
+</div>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/templates/storeLibraryAppsDelegate.html b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/project/templates/storeLibraryAppsDelegate.html
new file mode 100644 (file)
index 0000000..9357063
--- /dev/null
@@ -0,0 +1,24 @@
+<div class="appElement boxShadow4 borderColorTheme"
+       onClick='StoreLibrary.openAppDetail("{{:id}}");'>
+       <div class="appImage">
+               <img src="{{:iconUrl}}" />
+       </div>
+       <div class="appInfoBox textBgColorNormalTransparent">
+               <div class="appTitle fontSizeLarge fontWeightBold fontColorNormal">{{:name}}</div>
+               <div class="appSubtitle fontSizeXSmall fontWeightBold fontColorTheme">{{if
+                       installed==true}}Installed{{else if price ==0
+                       }}Free{{else}}{{:price}} Eur{{/if}}</div>
+               <div class="appRating">
+                       <div
+                               class="ratingIcons {{if rating>0}}iconStarActive{{else}}iconStarInActive{{/if}}"></div>
+                       <div
+                               class="ratingIcons {{if rating>1}}iconStarActive{{else}}iconStarInActive{{/if}}"></div>
+                       <div
+                               class="ratingIcons {{if rating>2}}iconStarActive{{else}}iconStarInActive{{/if}}"></div>
+                       <div
+                               class="ratingIcons {{if rating>3}}iconStarActive{{else}}iconStarInActive{{/if}}"></div>
+                       <div
+                               class="ratingIcons {{if rating>4}}iconStarActive{{else}}iconStarInActive{{/if}}"></div>
+               </div>
+       </div>
+</div>
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/tizen-app-template.xml b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/tizen-app-template.xml
new file mode 100644 (file)
index 0000000..f13f8aa
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<tizen-app-template xmlns="http://www.tizen.org/tizen-app-template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" template-version="" sdk-version="" icon32="tizen_32.png" icon64="tizen_64.png" xsi:schemaLocation="http://www.tizen.org/tizen-app-template tizen-app-template.xsd ">
+    <template-name>Modello_Appmanager</template-name>
+    <widget-type>TIZEN</widget-type>
+    <build-property key="usedLibraryType" value="Modello"/>
+    <description-file-name>description.xml</description-file-name>
+    <options>
+        <supportLibraries>
+        <library name="modello"/>
+        </supportLibraries>
+    </options>
+</tizen-app-template>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/tizen_32.png b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/tizen_32.png
new file mode 100644 (file)
index 0000000..a37c33e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/tizen_32.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Appmanager/tizen_64.png b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/tizen_64.png
new file mode 100644 (file)
index 0000000..f80f2ec
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Appmanager/tizen_64.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/description.xml b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/description.xml
new file mode 100644 (file)
index 0000000..f43ef1f
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<?xml-stylesheet type="text/xsl" href="description.xsl"?>\r
+<Overview version="1.0">\r
+  <SampleName>Modello_Dashboard</SampleName>\r
+  <SampleVersion>1.0.0</SampleVersion>\r
+  <Preview>Modello_Dashboard-snapshot.png</Preview>\r
+  <Description>\r
+         Modello Dashboard\r
+  </Description>\r
+</Overview>\r
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/description.xsl b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/description.xsl
new file mode 100644 (file)
index 0000000..1f4f57f
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+    This file provides a functionality to show template's description.xml in the project wizard.
+    Don't delete or move this file.
+ -->
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:template match="/">
+    <html>
+      <head>
+        <style type="text/css">
+          html,body {
+          font-family:Arial;
+          margin: 0px;
+          }
+          td
+          {
+          font-size:13px;
+          }
+          .samplename
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:26px;
+          background-color:#6d96ac;
+          }
+          .category
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:30px;
+          background-color:#6d96ac;
+          }
+          .contents
+          {
+          padding: 6px 10px 14px 10px;
+          }
+          table#widgets td
+          {
+          border: solid 1px #6d96ac;
+          border-collapse: collapse;
+          }
+          .widgetname
+          {
+          font-weight: bold;
+          text-align: center;
+          width: 20%;
+          word-break:break-all;
+          }
+          table#references td
+          {
+          width: 100%;
+          border: 0px;
+          border-spacing: 0px;
+          padding: 5px;
+          }
+          .refname
+          {
+          width: 100%;
+          font-weight: bold;
+          }
+        </style>
+      </head>
+      <body>
+        <table width="400px" border="0" cellspacing="0">
+          <tr>
+            <td class="samplename" align="center">
+              <xsl:value-of select="Overview/SampleName"/>
+              <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
+                         <!--
+              <xsl:value-of select="Overview/SampleVersion"/>
+                         -->
+            </td>
+          </tr>
+          <tr bgcolor="#FFFFFF">
+            <td class="contents">
+                         <strong>Type</strong>: JavaScript
+                         <p>
+              <xsl:value-of select="Overview/Description"/>
+                         </p>
+            </td>
+          </tr>
+          <tr>
+            <td align="center" bgcolor="#FFFFFF" height="260px">
+              <img>
+                <xsl:attribute name="src">
+                  <xsl:value-of select="Overview/Preview"/>
+                </xsl:attribute>
+              </img>
+            </td>
+          </tr>
+        </table>
+      </body>
+    </html>
+  </xsl:template>
+
+</xsl:stylesheet>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/Dashboard_icon.png b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/Dashboard_icon.png
new file mode 100644 (file)
index 0000000..aab3366
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/Dashboard_icon.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/Makefile b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/Makefile
new file mode 100644 (file)
index 0000000..db20233
--- /dev/null
@@ -0,0 +1,20 @@
+PROJECT = Modello_Dashboard
+
+VERSION := 0.0.2
+PACKAGE = $(PROJECT)-$(VERSION)
+
+INSTALL_FILES = $(PROJECT).wgt
+INSTALL_DIR = ${DESTDIR}/opt/usr/apps/.preinstallWidgets
+
+wgtPkg:
+       zip -r $(PROJECT).wgt components config.xml css Dashboard_icon.png index.html js
+
+install:
+       @echo "Installing Dashboard, stand by..."
+       mkdir -p $(INSTALL_DIR)/
+       mkdir -p ${DESTDIR}/opt/usr/apps/_common/icons
+       cp $(PROJECT).wgt $(INSTALL_DIR)/
+       cp Dashboard_icon.png ${DESTDIR}/opt/usr/apps/_common/icons
+
+dist:
+       tar czf ../$(PACKAGE).tar.bz2 .
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/components/statusBox/statusBox.css b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/components/statusBox/statusBox.css
new file mode 100644 (file)
index 0000000..312a3a1
--- /dev/null
@@ -0,0 +1,59 @@
+.statusIndicatorClass{
+       width:180px;
+       height:85px;
+}
+.statusIndicatorClass .boxIconText{
+       position: absolute;
+       top: 8px;
+       left: 15px;
+}
+.statusBox .textIndicator{
+       position: absolute;
+       left:15px;
+       top:30px
+}
+.statusBox .statusIndicator{
+       position: absolute;
+       left:15px;
+       top:60px;
+}
+.corner{
+       width:7px;
+       height:7px;
+}
+.leftTopCorner{
+       position: absolute;
+       left:0;
+       top:0;
+}
+.leftBottomCorner{
+       position: absolute;
+       left:0;
+       bottom:0;
+       -webkit-transform:rotate(270deg);
+       -moz-transform:rotate(270deg);
+       -ms-transform:rotate(270deg);
+       -o-transform:rotate(270deg);
+       transform:rotate(270deg);
+}
+.rightTopCorner{
+       position: absolute;
+       right:0;
+       top:0;
+       -webkit-transform:rotate(90deg);
+       -moz-transform:rotate(90deg);
+       -ms-transform:rotate(90deg);
+       -o-transform:rotate(90deg);
+       transform:rotate(90deg);
+
+}
+.rightBottomCorner{
+       position: absolute;
+       right:0;
+       bottom:0;
+       -webkit-transform:rotate(180deg);
+       -moz-transform:rotate(180deg);
+       -ms-transform:rotate(180deg);
+       -o-transform:rotate(180deg);
+       transform:rotate(180deg);
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/components/statusBox/statusBox.js b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/components/statusBox/statusBox.js
new file mode 100644 (file)
index 0000000..903cea1
--- /dev/null
@@ -0,0 +1,50 @@
+/**
+ * @module DashboardApplication
+ */
+
+(function ($) {
+       "use strict";
+       /**
+        * Class which provides methods to fill content of status box for JQuery plugin.
+        * @class statusBoxPluginObj
+        * @static
+        */
+       var statusBoxPluginObj = {
+                       /**
+                        * Method is initializing bottom panel.
+                        * @method init
+                        * @param caption {String} Caption of status box.
+                        * @param title {String} Title of status box.
+                        * @param status {String} Status info of status box.
+                        */
+                       init: function (caption, title, status) {
+                               this.empty();
+                               var appendText = '<div id="leftTopCorner" class="corner leftTopCorner"></div>';
+                               appendText += '<div id="leftBottomCorner" class="corner leftBottomCorner"></div>';
+                               appendText += '<div id="rightTopCorner" class="corner rightTopCorner"></div>';
+                               appendText += '<div id="rightBottomCorner" class="corner rightBottomCorner"></div>';
+                               appendText += '<div id="captionIndicator' + this[0].id + '" class="boxIconText captionIndicator"></div>';
+                               appendText += '<div id="textIndicator" class="fontSizeSmall fontWeightBold fontColorNormal textIndicator">' + title.toUpperCase() + '</div>';
+                               appendText += '<div id="statusIndicator" class="fontSizeXSmall fontWeightBold fontColorDimmed statusIndicator">' + status.toUpperCase() + '</div>';
+                               this.append(appendText);
+                               $("#captionIndicator" + this[0].id).boxCaptionPlugin('initSmall', caption);
+                       }
+               };
+       /**
+        * Class which provides acces to {{#crossLink "statusBoxPluginObj"}}{{/crossLink}} methods.
+        * @class statusBoxPlugin
+        * @constructor
+        * @param method {Object} Identificator (name) of method.
+        * @return Result of called method.
+        */
+       $.fn.statusBoxPlugin = function (method) {
+               // Method calling logic
+               if (statusBoxPluginObj[method]) {
+                       return statusBoxPluginObj[method].apply(this, Array.prototype.slice.call(arguments, 1));
+               } else if (typeof method === 'object' || !method) {
+                       return statusBoxPluginObj.init.apply(this, arguments);
+               } else {
+                       $.error('Method ' + method + ' does not exist on jQuery.boxCaptionPlugin ');
+               }
+       };
+}(jQuery));
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/config.xml b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/config.xml
new file mode 100644 (file)
index 0000000..6b266a0
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://com.intel.tizen/dashboard" version="0.5.0" viewmodes="fullscreen">
+       <access origin="*" subdomains="true"/>
+    <tizen:application id="Modello004.Dashboard" package="Modello004" required_version="2.1"/>
+    <content src="index.html"/>
+       <tizen:privilege name="http://tizen.org/privilege/tizen"/>
+    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
+    <tizen:privilege name="http://tizen.org/privilege/vehicle"/>
+    <tizen:privilege name="http://tizen.org/privilege/content.read" />
+    <tizen:privilege name="http://tizen.org/privilege/speech" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap" />
+       <icon src="icon.png"/>
+       <name>Modello Dashboard</name>
+    <tizen:setting screen-orientation="portrait"/>
+
+</widget>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/css/style.css b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/css/style.css
new file mode 100644 (file)
index 0000000..5d37a02
--- /dev/null
@@ -0,0 +1,549 @@
+.randomizer{
+       position: absolute;
+       left: 396px;
+       top: 564px;
+       opacity: 0.0;
+       width: 110px;
+       height: 110px;
+
+       -webkit-transition-timing-function: linear;
+       -webkit-transition: 1s;
+
+       -moz-transition-timing-function: linear;
+       -moz-transition: 1s;
+
+       -ms-transition-timing-function: linear;
+       -ms-transition: 1s;
+
+       -o-transition-timing-function: linear;
+       -o-transition: 1s
+
+}
+.dashboardBackGround {
+       position: absolute;
+       left: 0;
+       top: 0;
+       width: 720px;
+       height: 1280px;
+}
+
+.dashboardCircleAll {
+       position: absolute;
+       left: 0;
+       top: 0;
+       width: 720px;
+       height: 1280px;
+}
+.whelImage{
+       width: 65px;
+       height: 105px;
+       /*-webkit-transition: 0.1s;*/
+       -webkit-transition-timing-function: linear;
+
+       /*-moz-transition:0.1s;
+       -moz-transition-timing-function:linear;
+
+       -ms-transition:0.1s;
+       -ms-transition-timing-function:linear;
+
+       -o-transition:0.1s;
+       -o-transition-timing-function:linear;*/
+
+
+}
+.leftWhell{
+       position: absolute;
+       left: 225px;
+       top: 430px;
+}
+.rightWhell{
+       position: absolute;
+       left: 430px;
+       top: 430px;
+}
+
+.carImage {
+       position: absolute;
+       left: 0;
+       top: 0;
+       width: 720px;
+       height: 1280px;
+}
+
+.batteryLevelCaption {
+       position: absolute;
+       left: 15px;
+       top: 200px;
+}
+
+.weatherCaption {
+       position: absolute;
+       left: 545px;
+       top: 200px;
+}
+
+.dashboardLineLong {
+       width: 120px;
+       height: 10px;
+}
+
+.leftFrontPressure {
+       position: absolute;
+       left: 30px;
+       top: 370px;
+}
+
+.leftFrontLine {
+       position: absolute;
+       left: 130px;
+       top: 462px;
+       -webkit-transform: rotate(20deg);
+       -ms-transform: rotate(20deg);
+       -moz-transform: rotate(20deg);
+       -o-transform: rotate(20deg);
+       transform: rotate(20deg);
+}
+
+.rightFrontPressure {
+       position: absolute;
+       left: 500px;
+       top: 340px;
+}
+
+.rightFrontLine {
+       position: absolute;
+       left: 470px;
+       top: 445px;
+
+       -webkit-transform: rotate(150deg);
+       -moz-transform: rotate(150deg);
+       -ms-transform: rotate(150deg);
+       -o-transform: rotate(150deg);
+       transform: rotate(150deg);
+
+}
+
+.engineStatus {
+       position: absolute;
+       left: 520px;
+       top: 540px;
+}
+
+.engineStatus .gearboxStatus {
+       position: absolute;
+       left: 110px;
+       top: 22px;
+}
+
+.engineStatus .textIndicator {
+       position: absolute;
+       top: 32px;
+       right: 92px;
+
+       white-space: nowrap;
+       text-align: right;
+}
+
+.engineStatus .statusIndicator {
+       position: absolute;
+       top: 62px;
+       right: 92px;
+       white-space: nowrap;
+       text-align: right;
+}
+
+.leftRearPressure {
+       position: absolute;
+       left: 20px;
+       top: 750px;
+}
+
+.leftRearLine {
+       position: absolute;
+       left: 115px;
+       top: 842px;
+
+       -webkit-transform: rotate(15deg);
+       -moz-transform: rotate(15deg);
+       -ms-transform: rotate(15deg);
+       -o-transform: rotate(15deg);
+       transform: rotate(15deg);
+}
+
+.rightRearPressure {
+       position: absolute;
+       left: 510px;
+       top: 750px;
+}
+
+.rightRearLine {
+       position: absolute;
+       left: 480px;
+       top: 842px;
+
+       -webkit-transform: rotate(165deg);
+       -moz-transform: rotate(165deg);
+       -ms-transform: rotate(165deg);
+       -o-transform: rotate(165deg);
+       transform: rotate(165deg);
+}
+
+.avgEConsumption {
+       position: absolute;
+       left: 15px;
+       top: 960px;
+}
+
+.rearLDisplay {
+       position: absolute;
+       left: 280px;
+       top: 960px;
+}
+.rearRDisplay {
+       position: absolute;
+       left: 500px;
+       top: 960px;
+}
+
+.batteryImage {
+       width: 37px;
+       height: 23px;
+}
+.batteryProgressBar{
+       position: absolute;
+       left: -9px;
+       top: 205px;
+       width: 395px;
+       height: 50px;
+}
+.exteriorBrightnessElement{
+       position: absolute;
+       right: 30px;
+       top: 150px;
+}
+.exteriorBrightnessProgressBar{
+       position: absolute;
+       left: -25px;
+       top: 0;
+       width: 280px;
+       height: 50px;
+}
+.dayNightElement{
+       position: absolute;
+       top: 150px;
+       left: 30px;
+       width: 65px;
+       height: 65px;
+}
+.batteryElement{
+       position: absolute;
+       left: 15px;
+       top: 25px;
+       width: 300px;
+       height: 200px;
+}
+.batteryElement .batteryImage {
+       position: absolute;
+       left: 15px;
+       top: 260px;
+}
+
+.batteryElement        .batteryStatus {
+       position: absolute;
+       left: 65px;
+       top: 253px;
+}
+
+.batteryElement        .batteryRange {
+       position: absolute;
+       left: 150px;
+       top: 253px;
+}
+
+.weatherElement .weatherStatus {
+       position: absolute;
+       right: 30px;
+       top: 227px;
+}
+
+.weatherElement .weatherCity {
+       position: absolute;
+       right: 30px;
+       top: 275px;
+}
+
+.avgConsumptionElement .batteryImage {
+       position: absolute;
+       left: 15px;
+       top: 990px;
+}
+
+.avgConsumptionElement .avgConsumptionCaption {
+       position: absolute;
+       left: 65px;
+       top: 990px;
+}
+
+.avgConsumptionElement .avgConsumptionStatus {
+       position: absolute;
+       left: 15px;
+       top: 1020px;
+}
+
+.dashboardButton {
+       width: 90px;
+       height: 55px;
+}
+
+.dashboardButtonOpacity {
+       opacity: 0.5;
+}
+
+.dashboardButton .dashboardButtonText {
+       position: relative;
+       text-align: center;
+       top: -45px
+}
+
+.rearLButton {
+       position: absolute;
+       left: 280px;
+       top: 990px;
+}
+
+.rearRButton {
+       position: absolute;
+       left: 500px;
+       top: 990px;
+}
+
+.padlocInactive {
+       width: 45px;
+       height: 45px;
+}
+
+.padlocActive {
+       width: 45px;
+       height: 45px;
+}
+
+.leftPadlock {
+       position: absolute;
+       left: 200px;
+       top: 700px;
+       -webkit-transition-timing-function: linear;
+       -webkit-transition: 2s;
+
+       -moz-transition-timing-function: linear;
+       -moz-transition: 2s;
+
+       -ms-transition-timing-function: linear;
+       -ms-transition: 2s;
+
+       -o-transition-timing-function: linear;
+       -o-transition: 2s
+}
+
+.rightPadlock {
+       position: absolute;
+       left: 480px;
+       top: 700px;
+       -webkit-transition-timing-function: linear;
+       -webkit-transition: 2s;
+
+       -moz-transition-timing-function: linear;
+       -moz-transition: 2s;
+
+       -ms-transition-timing-function: linear;
+       -ms-transition: 2s;
+
+       -o-transition-timing-function: linear;
+       -o-transition: 2s;
+}
+
+.childLock {
+       position: absolute;
+       left: 45px;
+       top: 625px;
+       width: 150px;
+       height: 70px;
+}
+
+.childLockText {
+       position: absolute;
+       left: 0;
+       top: 10px;
+       width: 150px;
+       height: 80px;
+       text-align: center;
+       -webkit-transition-timing-function: linear;
+       -webkit-transition: 1s;
+
+       -moz-transition-timing-function: linear;
+       -moz-transition: 1s;
+
+       -ms-transition-timing-function: linear;
+       -ms-transition: 1s;
+
+       -o-transition-timing-function: linear;
+       -o-transition: 1s;
+}
+
+.dashboardLineShort {
+       width: 95px;
+       height: 11px;
+}
+
+.childLockLine {
+       position: absolute;
+       left: 75px;
+       top: 80px;
+
+       -webkit-transform: rotate(15deg);
+       -moz-transform: rotate(15deg);
+       -ms-transform: rotate(15deg);
+       -o-transform: rotate(15deg);
+       transform: rotate(15deg);
+}
+
+.dashboardCircle {
+       width: 110px;
+       height: 110px;
+}
+
+.frontLightsButton {
+       position: absolute;
+       left: 254px;
+       top: 313px;
+       opacity: 0.0;
+       width: 110px;
+       height: 110px;
+       -webkit-transition-timing-function: linear;
+       -webkit-transition: 1s;
+
+       -moz-transition-timing-function: linear;
+       -moz-transition: 1s;
+
+       -ms-transition-timing-function: linear;
+       -ms-transition: 1s;
+
+       -o-transition-timing-function: linear;
+       -o-transition: 1s;
+}
+
+.rearLightsButton {
+       position: absolute;
+       left: 230px;
+       top: 880px;
+       opacity: 0.0;
+       width: 110px;
+       height: 110px;
+       -webkit-transition-timing-function: linear;
+       -webkit-transition: 1s;
+
+       -moz-transition-timing-function: linear;
+       -moz-transition: 1s;
+
+       -ms-transition-timing-function: linear;
+       -ms-transition: 1s;
+
+       -o-transition-timing-function: linear;
+       -o-transition: 1s;
+}
+.dashboardFrontLightsActive {
+       position: absolute;
+       left: 0;
+       top: 0;
+       width: 720px;
+       height: 1280px;
+       -webkit-transition-timing-function: linear;
+       -webkit-transition: 1s;
+
+       -moz-transition-timing-function: linear;
+       -moz-transition: 1s;
+
+       -ms-transition-timing-function: linear;
+       -ms-transition: 1s;
+
+       -o-transition-timing-function: linear;
+       -o-transition: 1s;
+
+}
+.dashboardRearLightsActive {
+       position: absolute;
+       left: 0;
+       top: 0;
+       width: 720px;
+       height: 1280px;
+       -webkit-transition-timing-function: linear;
+       -webkit-transition: 1s;
+
+       -moz-transition-timing-function: linear;
+       -moz-transition: 1s;
+
+       -ms-transition-timing-function: linear;
+       -ms-transition: 1s;
+
+       -o-transition-timing-function: linear;
+       -o-transition: 1s;
+
+       }
+.dashboardBreakLightsActive {
+       position: absolute;
+       left: 0;
+       top: 0;
+       width: 720px;
+       height: 1280px;
+       -webkit-transition-timing-function: linear;
+       -webkit-transition: 1s;
+
+       -moz-transition-timing-function: linear;
+       -moz-transition: 1s;
+
+       -ms-transition-timing-function: linear;
+       -ms-transition: 1s;
+
+       -o-transition-timing-function: linear;
+       -o-transition: 1s;
+
+       }
+.rearLightsImage {
+       opacity: 0;
+}
+
+.frontLightsImage {
+       opacity: 0;
+}
+.dashBoardWeatherSun{
+       width: 110px;
+       height: 110px;
+}
+.dashBoardWeatherCloudy{
+       width: 110px;
+       height: 110px;
+}
+.dashBoardWeatherThunder{
+       width: 110px;
+       height: 110px;
+}
+.dashBoardWeatherIcon{
+       position: absolute;
+       left: 425px;
+       top: 165px;
+}
+.dayNight{
+       width:100%;
+       height: 100%;
+       -webkit-transition-timing-function: linear;
+       -webkit-transition: 1s;
+
+       -moz-transition-timing-function: linear;
+       -moz-transition: 1s;
+
+       -ms-transition-timing-function: linear;
+       -ms-transition: 1s;
+
+       -o-transition-timing-function: linear;
+       -o-transition: 1s
+}
+
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/index.html b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/index.html
new file mode 100644 (file)
index 0000000..ae7f5c5
--- /dev/null
@@ -0,0 +1,167 @@
+<!DOCTYPE html>
+<html>
+<head>
+<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
+<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+<title>DASHBOARD</title>
+<meta name="keywords" content="" />
+<meta name="description" content="" />
+<!-- <meta name = "viewport" content = "width = device-width,height = device-height, user-scalable = no"> -->
+<meta name="viewport" content="width=720, height=1280, user-scalable=no" />
+
+
+<link rel="stylesheet" href="./css/car/car.css" />
+<link rel="stylesheet" href="./css/style.css" />
+<link rel="stylesheet" href="./css/car/components/incomingCall/incomingCall.css" />
+
+<script type="text/javascript" src="./css/car/components/jQuery/jquery-1.8.2.js"></script>
+<script type="text/javascript" src="./css/car/components/knockout/knockout.js"></script>
+<script type='text/javascript' src='./css/car/car.js'></script>
+<!-- <script type='text/javascript' src='./css/user/blue/user.js'></script> -->
+<script type='text/javascript' src='./js/services/bootstrap.js'></script>
+
+<!-- jsRender Library Import -->
+<script type="text/javascript" src="./css/car/components/jsViews/jsrender.js"></script>
+<script type="text/javascript" src="./css/car/components/jsViews/template.js"></script>
+
+<!-- Components -->
+<script type='text/javascript' src='./css/car/components/dateTime/dateTime.js'></script>
+
+<link rel="stylesheet" href="./css/car/components/dateTime/dateTime.css" />
+
+<script type='text/javascript' src='./css/car/components/boxCaption/boxCaption.js'></script>
+<link rel="stylesheet" href="./css/car/components/boxCaption/boxCaption.css" />
+
+<script type='text/javascript' src='./css/car/components/topBarIcons/topBarIcons.js'></script>
+<link rel="stylesheet" href="./css/car/components/topBarIcons/topBarIcons.css" />
+
+<script type='text/javascript' src='./css/car/components/progressBar/progressBar.js'></script>
+<link rel="stylesheet" href="./css/car/components/progressBar/progressBar.css" />
+
+<script type="text/javascript" src="./css/car/components/bottomPanel/bottomPanel.js"></script>
+
+<script type='text/javascript' src='./components/statusBox/statusBox.js'></script>
+<link rel="stylesheet" href="./components/statusBox/statusBox.css" />
+<!-- end Components -->
+<script type='text/javascript' src='./js/dashboardControler.js'></script>
+<script type='text/javascript' src='./js/main.js'></script>
+
+</head>
+
+<body >
+       <div class="dashboardBackGround">
+               <div id="error" class="fontColorNormal fontSizeMedium" style="z-index: 100;"></div>
+               <div class="carImage"></div>
+               <!-- <div class="dashboardCircleAll"></div> -->
+               <div id="frontLightsImage" class="dashboardFrontLightsActive frontLightsImage"></div>
+               <div id="rearLightsImage" class="dashboardRearLightsActive rearLightsImage"></div>
+               <div id="breakLightsImage" class="dashboardBreakLightsActive rearLightsImage"></div>
+               <div id="clockElement"></div>
+               <div id="leftWhell" class="whelImage leftWhell"></div>
+               <div id="rightWhell" class="whelImage rightWhell"></div>
+               <div id="dayNightElement" class="dayNightElement">
+                       <div id="dayNight" class="dashboardSunElement dayNight"></div>
+               </div>
+               <div id="batteryElement" class = "batteryElement">
+                       <div id="batteryLevelCaption" class="boxIconText batteryLevelCaption"></div>
+                       <div id="batteryProgressBar" class = "batteryProgressBar"></div>
+                       <div class="batteryImage"></div>
+                       <div id="batteryStatus"
+                               class="fontSizeLarger fontWeightBold fontColorNormal batteryStatus">82%</div>
+                       <div id="batteryRange"
+                               class="fontSizeLarger fontWeightBold fontColorTheme batteryRange">~215MI</div>
+               </div>
+               <div id="weatherElement" class = "weatherElement">
+                       <div id="dashBoardWeatherIcon" class="dashBoardWeatherThunder dashBoardWeatherIcon"></div>
+                       <div id="weatherCaption" class="boxIconText weatherCaption"></div>
+                       <div id="weatherStatus"
+                               class="fontSizeXXLarge fontWeightBold fontColorNormal weatherStatus">15.20°C</div>
+                       <div id="weatherCity" class="fontSizeLarge fontColorDimmed weatherCity">SAN
+                               FRANCISCO</div>
+               </div>
+
+               <div id="leftFrontPressure" class="statusIndicatorClass leftFrontPressure statusBox"></div>
+               <div id="leftFrontLine" class="dashboardLineLong leftFrontLine"></div>
+
+               <div id="rightFrontPressure" class="statusIndicatorClass rightFrontPressure statusBox"></div>
+               <div id="rightFrontLine" class="dashboardLineLong rightFrontLine"></div>
+
+               <div id="leftRearPressure" class="statusIndicatorClass leftRearPressure statusBox"></div>
+               <div id="leftRearLine" class="dashboardLineLong leftRearLine"></div>
+
+               <div id="engineStatus" class="statusIndicatorClass engineStatus">
+                       <div id="leftTopCorner" class="corner leftTopCorner"></div>
+                       <div id="leftBottomCorner" class="corner leftBottomCorner"></div>
+                       <div id="rightTopCorner" class="corner rightTopCorner"></div>
+                       <div id="rightBottomCorner" class="corner rightBottomCorner"></div>
+                       <div class="boxIconText">
+                               <div class="boxIconRectangleSmall bgColorTheme"></div>
+                               <div class="boxIconCaptionSmall fontSizeXXSmall fontWeightBold fontColorLight">ENGINE STATUS</div>
+                       </div>
+                       <div id="gearboxStatus" class="fontSizeXXXLarge fontWeightBold fontColorNormal gearboxStatus">D</div>
+                       <div id="textIndicator" class="fontSizeSmall fontWeightBold fontColorNormal textIndicator">65 mph</div>
+                       <div id="statusIndicator" class="fontSizeXSmall fontWeightBold fontColorDimmed statusIndicator">78.123 mi</div>
+               </div>
+
+               <div id="rightRearPressure" class="statusIndicatorClass rightRearPressure statusBox"></div>
+               <div id="rightRearLine" class="dashboardLineLong rightRearLine"></div>
+               <div id="leftPadlock" class="padlocInactive leftPadlock"></div>
+               <div id="rightPadlock" class="padlocInactive rightPadlock"></div>
+               <div id="randomizer" class="dashboardCircle randomizer" ></div>
+
+               <div id="childLock" class="childLock">
+
+                       <div id="leftTopCorner" class="corner leftTopCorner"></div>
+                       <div id="leftBottomCorner" class="corner leftBottomCorner"></div>
+                       <div id="rightTopCorner" class="corner rightTopCorner"></div>
+                       <div id="rightBottomCorner" class="corner rightBottomCorner"></div>
+
+                       <div id="childLockText"
+                               class="fontColorNormal fontSizeSmall  fontWeightBold childLockText">CHILD
+                               LOCK ACTIVATED</div>
+                       <div id="childLockLine" class="dashboardLineShort childLockLine"></div>
+               </div>
+               <div id="frontLightsButton" class="dashboardCircle frontLightsButton"></div>
+               <div id="rearLightsButton" class="dashboardCircle rearLightsButton"></div>
+
+               <div id="avgConsumptionElement" class = "avgConsumptionElement">
+                       <div id="avgEConsumption" class = "avgEConsumption"></div>
+                       <div class="batteryImage"></div>
+                       <div id="avgConsumptionCaption"
+                               class="fontColorNormal  fontSizeSmall  fontWeightBold avgConsumptionCaption">0.28
+                               KW-H / MI</div>
+                       <div id="avgConsumptionStatus"
+                               class="fontColorDimmed  fontSizeXSmall fontWeightBold avgConsumptionStatus">~350 MI
+                               / FULL CHARGE</div>
+               </div>
+               <div id="rearLElement">
+                       <div id="rearLDisplay" class = "rearLDisplay"></div>
+                       <div id="rearLButton" class="dashboardButton rearLButton"
+                               onClick="dashBoardIndicator.onRearLDisplayClick();">
+
+                               <div
+                                       class="bgColorThemeTransparent boxShadowInset dashboardButton dashboardButtonOpacity"></div>
+
+                               <div id="rearLButtonText"
+                                       class="dashboardButtonText fontColorNormal fontSizeMedium fontWeightBold">OFF</div>
+                       </div>
+               </div>
+               <div id="rearRElement">
+                       <div id="rearRDisplay" class = "rearRDisplay"></div>
+                       <div id="rearRButton" class="dashboardButton rearRButton"
+                               onClick="dashBoardIndicator.onRearRDisplayClick();">
+                               <div
+                                       class="bgColorThemeTransparent boxShadowInset dashboardButton dashboardButtonOpacity"></div>
+                               <div id="rearRButtonText"
+                                       class="dashboardButtonText fontColorNormal fontSizeMedium fontWeightBold">OFF</div>
+                       </div>
+               </div>
+               <div id="exteriorBrightnessElement" class = "exteriorBrightnessElement">
+                       <div id="exteriorBrightnessCaption" class="boxIconText exteriorBrightnessCaption"></div>
+                       <div id="exteriorBrightnessProgressBar" class = "exteriorBrightnessProgressBar"></div>
+               </div>
+               <div id="topBarIcons"></div>
+               <div id="bottomPanel" class="bottomPanel bottomPanelImg"></div>
+       </div>
+</body>
+</html>
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/js/dashboardControler.js b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/js/dashboardControler.js
new file mode 100644 (file)
index 0000000..6d58288
--- /dev/null
@@ -0,0 +1,449 @@
+/**
+ * @module DashboardApplication
+ */
+
+/**
+ * Class which provides methods to fill content of dashboard's UI.
+ * @class dashBoardControler
+ * @static
+ */
+
+var dashBoardControler = function() {
+       "use strict";
+       this.initInfos();
+};
+
+/**
+ * Method handles click event on rear left indicator.
+ * @method onRearLDisplayClick
+ */
+dashBoardControler.prototype.onRearLDisplayClick = function() {
+       "use strict";
+       if (this.RearLDispaly) {
+               $('#rearLButtonText').removeClass("fontColorSelected");
+               $('#rearLButtonText').addClass("fontColorNormal");
+               $('#rearLButtonText').empty();
+               $('#rearLButtonText').append("OFF");
+               this.RearLDispaly = false;
+       } else {
+               $('#rearLButtonText').removeClass("fontColorNormal");
+               $('#rearLButtonText').addClass("fontColorSelected");
+               $('#rearLButtonText').empty();
+               $('#rearLButtonText').append("ON");
+               this.RearLDispaly = true;
+       }
+};
+
+/**
+ * Method handles click event on rear right indicator.
+ * @method onRearRDisplayClick
+ */
+dashBoardControler.prototype.onRearRDisplayClick = function() {
+       "use strict";
+       if (this.RearRDispaly) {
+               $('#rearRButtonText').removeClass("fontColorSelected");
+               $('#rearRButtonText').addClass("fontColorNormal");
+               $('#rearRButtonText').empty();
+               $('#rearRButtonText').append("OFF");
+               this.RearRDispaly = false;
+       } else {
+               $('#rearRButtonText').removeClass("fontColorNormal");
+               $('#rearRButtonText').addClass("fontColorSelected");
+               $('#rearRButtonText').empty();
+               $('#rearRButtonText').append("ON");
+               this.RearRDispaly = true;
+       }
+};
+
+/**
+ * Method is setting status of child lock.
+ * @method onChildLockChanged
+ * @param newStatus {Boolean} New status of child lock of the car.
+ */
+dashBoardControler.prototype.onChildLockChanged = function(newStatus) {
+       "use strict";
+       if (newStatus === false || newStatus === "false") {
+               $('#leftPadlock').removeClass("padlocActive");
+               $('#leftPadlock').addClass("padlocInactive");
+               $('#rightPadlock').removeClass("padlocActive");
+               $('#rightPadlock').addClass("padlocInactive");
+               $('#childLockText').removeClass("fontColorSelected");
+               $('#childLockText').addClass("fontColorNormal");
+               $('#childLockText').empty();
+               $('#childLockText').append("CHILD LOCK DEACTIVATED");
+       } else {
+               $('#leftPadlock').removeClass("padlocInactive");
+               $('#leftPadlock').addClass("padlocActive");
+               $('#rightPadlock').removeClass("padlocInactive");
+               $('#rightPadlock').addClass("padlocActive");
+               $('#childLockText').removeClass("fontColorNormal");
+               $('#childLockText').addClass("fontColorSelected");
+               $('#childLockText').empty();
+               $('#childLockText').append("CHILD LOCK ACTIVATED");
+       }
+};
+
+/**
+ * Method is setting status of front lights of the car.
+ * @method onFrontLightsChanged
+ * @param newStatus {Boolean} New status of front lights of car.
+ */
+dashBoardControler.prototype.onFrontLightsChanged = function(newStatus) {
+       "use strict";
+       if (newStatus === false || newStatus === "false") {
+               $('#frontLightsButton').css("opacity", "0");
+               $("#frontLightsImage").css("opacity", "0");
+       } else {
+               $('#frontLightsButton').css("opacity", "1");
+               $("#frontLightsImage").css("opacity", "1");
+       }
+};
+
+/**
+ * Method is setting value of trasmission gear of the car.
+ * @method onGearChanged
+ * @param newStatus {String} New status value for trasmission gear.
+ */
+dashBoardControler.prototype.onGearChanged = function(newStatus) {
+       "use strict";
+       $("#engineStatus #gearboxStatus").text(newStatus);
+};
+
+/**
+ * Method is setting value of speed of the car.
+ * @method onSpeedChanged
+ * @param newStatus {Number} New value for the speed.
+ */
+dashBoardControler.prototype.onSpeedChanged = function(newStatus) {
+       "use strict";
+       $("#engineStatus #textIndicator").text(newStatus + " mph");
+};
+
+/**
+ * Method is setting value of odometer of the car.
+ * @method onOdoMeterChanged
+ * @param newStatus {Number} New value for the odoMeter.
+ */
+dashBoardControler.prototype.onOdoMeterChanged = function(newStatus) {
+       "use strict";
+       $("#engineStatus #statusIndicator").text(newStatus + " mi");
+};
+
+/**
+ * Method  is setting status of rear lights of the car.
+ * @method onRearLightsChanged
+ * @param newStatus {Boolean} New status of rear lights of car.
+ */
+dashBoardControler.prototype.onRearLightsChanged = function(newStatus) {
+       "use strict";
+       if (newStatus === false || newStatus === "false") {
+               $('#rearLightsButton').css("opacity", "0");
+               $("#rearLightsImage").css("opacity", "0");
+       } else {
+               $('#rearLightsButton').css("opacity", "1");
+               $("#rearLightsImage").css("opacity", "1");
+       }
+};
+/**
+ * Method  is setting status of break lights of the car.
+ * @method onBreakLightsChanged
+ * @param newStatus {Boolean} New status of break lights of car.
+ */
+dashBoardControler.prototype.onBreakLightsChanged = function(newStatus) {
+       "use strict";
+       if (newStatus === false || newStatus === "false") {
+               $("#breakLightsImage").css("opacity", "0");
+       } else {
+               $("#breakLightsImage").css("opacity", "1");
+       }
+};
+/**
+ * Method  is setting status of fan in the car.
+ * @method onFanChanged
+ * @param newStatus {Boolean} New status of fan in the car.
+ */
+dashBoardControler.prototype.onFanChanged = function(newStatus) {
+       "use strict";
+       if (newStatus === false || newStatus === "false") {
+               $('#fanCircle').css("opacity", "0");
+               $("#fanIcon").css("opacity", "0");
+               $("#fanIcon").css("-webkit-transform", "rotate(0deg)");
+               $("#fanIcon").css("-moz-transform", "rotate(0deg)");
+               $("#fanIcon").css("-ms-transform", "rotate(0deg)");
+               $("#fanIcon").css("-o-transform", "rotate(0deg)");
+               $('#fanStatus').removeClass("fontColorSelected");
+               $('#fanStatus').addClass("fontColorNormal");
+       } else {
+               $('#fanCircle').css("opacity", "1");
+               $("#fanIcon").css("opacity", "1");
+               $("#fanIcon").css("-webkit-transform", "rotate(720deg)");
+               $("#fanIcon").css("-moz-transform", "rotate(720deg)");
+               $("#fanIcon").css("-ms-transform", "rotate(720deg)");
+               $("#fanIcon").css("-o-transform", "rotate(720deg)");
+               $('#fanStatus').removeClass("fontColorNormal");
+               $('#fanStatus').addClass("fontColorSelected");
+       }
+};
+
+/**
+ * Method is setting status of exterior brightness .
+ * @method onExteriorBrightnessChanged
+ * @param newStatus {Boolean} New exterior brightness value.
+ */
+dashBoardControler.prototype.onExteriorBrightnessChanged = function(newValue) {
+       "use strict";
+       var newValueP = (Math.abs(newValue) / 5000) * 100;
+       if (newValueP > 100) {
+               newValueP = 100;
+       }
+       $("#exteriorBrightnessProgressBar").progressBarPlugin('setPosition', newValueP);
+};
+
+/**
+ * Method is setting new value of battery status.
+ * @method onBatteryStatusChanged
+ * @param newValue {Integer} New battery status value.
+ * @param status {bootstrap.carIndicator.status} Current status object.
+ */
+dashBoardControler.prototype.onBatteryStatusChanged = function(newValue, status) {
+       "use strict";
+       $("#batteryProgressBar").progressBarPlugin('setPosition', newValue);
+       var newBatteryStatus = newValue.toString() + "%";
+       $('#batteryStatus').empty();
+       $('#batteryStatus').append(newBatteryStatus);
+       var newBatteryRange = "~" + Math.round(((newValue / 100) * status.fullBatteryRange)).toString() + " MI";
+       $('#batteryRange').empty();
+       $('#batteryRange').append(newBatteryRange);
+};
+
+/**
+ * Method is setting new value of full battery range.
+ * @method onBatteryRangeChanged
+ * @param newValue {Integer} New full battery range value.
+ * @param status {bootstrap.carIndicator.status} Current status object.
+ */
+dashBoardControler.prototype.onBatteryRangeChanged = function(newValue, status) {
+       "use strict";
+       var self = this;
+
+       $('#batteryStatus').empty();
+
+       $('#batteryStatus').append(newValue);
+       var newBatteryRange = "~" + Math.round(((status.batteryStatus / 100) * newValue)).toString() + " MI";
+       $('#batteryRange').empty();
+       $('#batteryRange').append(newBatteryRange);
+};
+
+/**
+ * Method is setting new value of outside temperature.
+ * @method onOutsiteTempChanged
+ * @param newValue {Number} New outside temperature status value.
+ */
+dashBoardControler.prototype.onOutsiteTempChanged = function(newValue) {
+       "use strict";
+       var newOutsiteTemp = newValue + "°C";
+       $("#weatherStatus").empty();
+       $("#weatherStatus").append(newOutsiteTemp);
+};
+
+/**
+ * Method is setting new value of Avg KW.
+ * @method onAvgKWChanged
+ * @param newValue {Number} New Avg KW status value.
+ */
+dashBoardControler.prototype.onAvgKWChanged = function(newValue) {
+       "use strict";
+       var newAvgKW = newValue + " KW-H / MI";
+       $("#avgConsumptionCaption").empty();
+       $("#avgConsumptionCaption").append(newAvgKW);
+};
+
+/**
+ * Method is setting new value of night mode indicator .
+ * @method onNightModeChanged
+ * @param newValue {Boolean} New value of day/night mode .
+ */
+dashBoardControler.prototype.onNightModeChanged = function(newValue) {
+       "use strict";
+       if (newValue) {
+               $("#dayNight").removeClass("dashboardSunElement");
+               $("#dayNight").addClass("dashboardMoonElement");
+       } else {
+               $("#dayNight").removeClass("dashboardMoonElement");
+               $("#dayNight").addClass("dashboardSunElement");
+       }
+
+};
+
+/**
+ * Method is setting new value of inside temperature.
+ * @method onInsideTempChanged
+ * @param newValue {Number} New inside temperature status value.
+ */
+dashBoardControler.prototype.onInsideTempChanged = function(newValue) {
+       "use strict";
+       var newInsiteTemp = newValue + "°F";
+       $("#fanStatus").empty();
+       $("#fanStatus").append(newInsiteTemp);
+};
+
+/**
+ * Method is setting new value of weather. Weather is coded to following values:
+ *
+ * * 1 - Cloudy weather
+ * * 2 - Sunny weather
+ * * 3 - Stormy weather
+ *
+ * @method onWeatherChanged
+ * @param newWeater {Integer} New weather status value.
+ */
+dashBoardControler.prototype.onWeatherChanged = function(newValue) {
+       "use strict";
+       if (newValue === 1) {
+               $("#dashBoardWeatherIcon").removeClass("dashBoardWeatherSun");
+               $("#dashBoardWeatherIcon").removeClass("dashBoardWeatherCloudy");
+               $("#dashBoardWeatherIcon").removeClass("dashBoardWeatherThunder");
+               $("#dashBoardWeatherIcon").addClass("dashBoardWeatherCloudy");
+
+       } else if (newValue === 2) {
+               $("#dashBoardWeatherIcon").removeClass("dashBoardWeatherSun");
+               $("#dashBoardWeatherIcon").removeClass("dashBoardWeatherCloudy");
+               $("#dashBoardWeatherIcon").removeClass("dashBoardWeatherThunder");
+               $("#dashBoardWeatherIcon").addClass("dashBoardWeatherSun");
+
+       } else {
+               $("#dashBoardWeatherIcon").removeClass("dashBoardWeatherSun");
+               $("#dashBoardWeatherIcon").removeClass("dashBoardWeatherCloudy");
+               $("#dashBoardWeatherIcon").removeClass("dashBoardWeatherThunder");
+               $("#dashBoardWeatherIcon").addClass("dashBoardWeatherThunder");
+       }
+};
+
+/**
+ * Method is setting new value of angle of front wheels.
+ * @method onWheelAngleChanged
+ * @param newAngle {Integer} New angle status value for wheels.
+ */
+dashBoardControler.prototype.onWheelAngleChanged = function(newAngle) {
+       "use strict";
+       var maxAngle = 30;
+       if (newAngle > 30) {
+               newAngle = (-1 * (360 - newAngle));
+       }
+       if (newAngle > maxAngle) {
+               newAngle = maxAngle;
+       } else if (newAngle < (-maxAngle)) {
+               newAngle = -maxAngle;
+       } else if (newAngle === "") {
+               newAngle = 0;
+       }
+
+       var newDuration = Math.round(Math.abs(newAngle) / 10);
+       if (newDuration === 0) {
+               newDuration = 0.1;
+       }
+       newDuration = 0;
+       $("#leftWhell").css("-webkit-transition", newDuration + "s");
+       $("#leftWhell").css("-webkit-transform", "rotate(" + newAngle + "deg)");
+       $("#rightWhell").css("-webkit-transition", newDuration + "s");
+       $("#rightWhell").css("-webkit-transform", "rotate(" + newAngle + "deg)");
+
+       $("#leftWhell").css("-moz-transition", newDuration + "s");
+       $("#leftWhell").css("-moz-transform", "rotate(" + newAngle + "deg)");
+       $("#rightWhell").css("-moz-transition", newDuration + "s");
+       $("#rightWhell").css("-moz-transform", "rotate(" + newAngle + "deg)");
+
+       $("#leftWhell").css("-ms-transition", newDuration + "s");
+       $("#leftWhell").css("-ms-transform", "rotate(" + newAngle + "deg)");
+       $("#rightWhell").css("-ms-transition", newDuration + "s");
+       $("#rightWhell").css("-ms-transform", "rotate(" + newAngle + "deg)");
+
+       $("#leftWhell").css("-o-transition", newDuration + "s");
+       $("#leftWhell").css("-o-transform", "rotate(" + newAngle + "deg)");
+       $("#rightWhell").css("-o-transition", newDuration + "s");
+       $("#rightWhell").css("-o-transform", "rotate(" + newAngle + "deg)");
+};
+
+/**
+ * Method is setting new value of randomizer.
+ * @method onRandomizerChanged
+ * @param newStatus {Boolean} New randomizer status.
+ */
+dashBoardControler.prototype.onRandomizerChanged = function(newStatus) {
+       "use strict";
+       if (newStatus === false || newStatus === "false") {
+               $('#randomizer').css("opacity", "0");
+               $("#randomizer").css("opacity", "0");
+       } else {
+               $('#randomizer').css("opacity", "1");
+               $("#randomizer").css("opacity", "1");
+       }
+};
+
+/**
+ * Method initialize info status on HTML and jQuery plugins.
+ * @method initInfos
+ */
+dashBoardControler.prototype.initInfos = function() {
+       "use strict";
+       $("#weatherCaption").boxCaptionPlugin('init', 'weather');
+
+       $("#exteriorBrightnessCaption").boxCaptionPlugin('init', 'Exterior Brightness');
+
+       $("#exteriorBrightnessProgressBar").progressBarPlugin('init', 'progressBar');
+       $("#exteriorBrightnessProgressBar").progressBarPlugin('setPosition', 30);
+
+       $("#batteryLevelCaption").boxCaptionPlugin('init', 'Battery level');
+
+       $("#batteryProgressBar").progressBarPlugin('init', 'progressBar');
+       $("#batteryProgressBar").progressBarPlugin('setPosition', 82);
+
+       $("#avgEConsumption").boxCaptionPlugin('init', 'avg e-consumtion');
+       $("#rearLDisplay").boxCaptionPlugin('init', 'Rear l Display');
+       $("#rearRDisplay").boxCaptionPlugin('init', 'Rear r Display');
+
+       $('#bottomPanel').bottomPanel('init');
+
+       $("#leftFrontPressure").statusBoxPlugin('init', 'PRESSSURE LEVEL', 'L FRONT TIRE', 'OK');
+       $("#rightFrontPressure").statusBoxPlugin('init', 'PRESSSURE LEVEL', 'R FRONT TIRE', 'ok');
+
+       $("#leftRearPressure").statusBoxPlugin('init', 'PRESSSURE LEVEL', 'L Rear TIRE', 'OK');
+       $("#rightRearPressure").statusBoxPlugin('init', 'PRESSSURE LEVEL', 'R Rear TIRE', 'ok');
+
+};
+/**
+ * Method is setting new value of left front tire pressure.
+ * @method onTirePressureLeftFrontChanged
+ * @param newValue {FLoat} new tire pressure status. If is status between 1.8 and 2.2 new status value is string "OK".
+ */
+dashBoardControler.prototype.onTirePressureLeftFrontChanged = function(newValue) {
+       "use strict";
+       $("#leftFrontPressure").statusBoxPlugin('init', 'PRESSSURE LEVEL', 'L FRONT TIRE', newValue);
+};
+/**
+ * Method is setting new value of right front tire pressure.
+ * @method onTirePressureRightFrontChanged
+ * @param newValue {FLoat} new tire pressure status. If is status between 1.8 and 2.2 new status value is string "OK".
+ */
+dashBoardControler.prototype.onTirePressureRightFrontChanged = function(newValue) {
+       "use strict";
+       $("#rightFrontPressure").statusBoxPlugin('init', 'PRESSSURE LEVEL', 'R FRONT TIRE', newValue);
+};
+/**
+ * Method is setting new value of left rear tire pressure.
+ * @method onTirePressureLeftRearChanged
+ * @param newValue {FLoat} new tire pressure status. If is status between 1.8 and 2.2 new status value is string "OK".
+ */
+dashBoardControler.prototype.onTirePressureLeftRearChanged = function(newValue) {
+       "use strict";
+       $("#leftRearPressure").statusBoxPlugin('init', 'PRESSSURE LEVEL', 'L Rear TIRE', newValue);
+};
+/**
+ * Method is setting new value of right rear tire pressure.
+ * @method onTirePressureRightRearChanged
+ * @param newValue {FLoat} new tire pressure status. If is status between 1.8 and 2.2 new status value is string "OK".
+ */
+dashBoardControler.prototype.onTirePressureRightRearChanged = function(newValue) {
+       "use strict";
+       $("#rightRearPressure").statusBoxPlugin('init', 'PRESSSURE LEVEL', 'R Rear TIRE', newValue);
+};
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/js/main.js b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/js/main.js
new file mode 100644 (file)
index 0000000..45dff1d
--- /dev/null
@@ -0,0 +1,173 @@
+/*global Bootstrap, dashBoardControler */
+
+/**
+ * DashBoard application show information about vehicle from [tizen.vehicle API](https://raw.github.com/otcshare/automotive-message-broker/master/docs/amb.idl).
+ * Uses mainly {{#crossLink "CarIndicator"}}{{/crossLink}} module from {{#crossLink "Bootstrap/carIndicator:property"}}{{/crossLink}}. Dashboard application uses following
+ * AMB properties to show car data in display only mode:
+ *
+ * * SteeringWheelAngle
+ *   * SteeringWheelAngle
+ * * WheelBrake
+ *   * Engaged
+ * * TirePressure
+ *   * leftFront
+ *   * rightFront
+ *   * leftRear
+ *   * rightRear
+ * * DoorStatus
+ *   * ChildLockStatus
+ * * LightStatus
+ *   * Hazard
+ *   * Head
+ *   * Parking
+ * * BatteryStatus
+ * * FullBatteryRange
+ * * ExteriorTemperature
+ *   * Exterior
+ * * InteriorTemperature
+ *   * Interior
+ * * WheelInformation
+ *   * FrontWheelRadius
+ * * AvgKW
+ *   * AvgKW
+ * * VehicleSpeed
+ * * Odometer
+ * * Transmission
+ *   * ShiftPosition
+ * * ExteriorBrightness
+ * * NightMode
+ *
+ *
+ * Hover and click on elements in images below to navigate to components of Home screen application.
+ *
+ * <img id="Image-Maps_1201312180420487" src="../assets/img/dashboard.png" usemap="#Image-Maps_1201312180420487" border="0" width="649" height="1152" alt="" />
+ *   <map id="_Image-Maps_1201312180420487" name="Image-Maps_1201312180420487">
+ *     <area shape="rect" coords="0,0,573,78" href="../classes/TopBarIcons.html" alt="top bar icons" title="Top bar icons" />
+ *     <area shape="rect" coords="0,77,644,132" href="../classes/Clock.html" alt="clock" title="Clock"    />
+ *     <area shape="rect" coords="0,994,644,1147" href="../classes/BottomPanel.html" alt="bottom panel" title="Bottom panel" />
+ *     <area shape="rect" coords="573,1,644,76" href="../modules/Settings.html" alt="Settings" title="Settings" />
+ *     <area  shape="rect" coords="21,132,90,194" alt="Day/Night mode" title="Day/Night mode" target="_self" href="../classes/dashBoardControler.html#method_onNightModeChanged"     >
+ *     <area  shape="rect" coords="415,128,648,173" alt="Exterior Brightness" title="Exterior Brightness" target="_self" href="../classes/dashBoardControler.html#method_onExteriorBrightnessChanged"     >
+ *     <area  shape="rect" coords="372,173,638,279" alt="Weather" title="Weather" target="_self" href="../classes/dashBoardControler.html#method_onWeatherChanged"     >
+ *     <area  shape="rect" coords="21,196,348,292" alt="Battery Level" title="Battery Level" target="_self" href="../classes/dashBoardControler.html#method_onBatteryStatusChanged"     >
+ *     <area  shape="rect" coords="193,395,451,477" alt="Wheel radius" title="Wheel radius" target="_self" href="../classes/dashBoardControler.html#method_onWheelAngleChanged"     >
+ *     <area  shape="rect" coords="224,320,425,398" alt="Front lights status" title="Front lights status" target="_self" href="../classes/dashBoardControler.html#method_onFrontLightsChanged"     >
+ *     <area  shape="rect" coords="472,509,557,541" alt="Speed" title="Speed" target="_self" href="../classes/dashBoardControler.html#method_onSpeedChanged"     >
+ *     <area  shape="rect" coords="556,509,613,558" alt="Transmission Gear" title="Transmission Gear" target="_self" href="../classes/dashBoardControler.html#method_onGearChanged"     >
+ *     <area  shape="rect" coords="34,564,215,664" alt="Child lock status" title="Child lock status" target="_self" href="../classes/dashBoardControler.html#method_onChildLockChanged"     >
+ *     <area  shape="rect" coords="9,904,212,940" alt="Average KW" title="Average KW" target="_self" href="..//classes/dashBoardControler.html#method_onAvgKWChanged"     >
+ *     <area  shape="rect" coords="11,937,200,962" alt="Battery range" title="Battery range" target="_self" href="../classes/dashBoardControler.html#method_onBatteryRangeChanged"     >
+ *     <area  shape="rect" coords="477,540,556,562" alt="Odometer" title="Odometer" target="_self" href="../classes/dashBoardControler.html#method_onOdoMeterChanged"     >
+ *     <area  shape="rect" coords="204,767,441,805" alt="Rear lights" title="Rear lights" target="_self" href="../classes/dashBoardControler.html#method_onRearLightsChanged"     >
+ *     <area  shape="rect" coords="205,823,442,861" alt="Break lights" title="Break lights" target="_self" href="../classes/dashBoardControler.html#method_onBreakLightsChanged"     >
+ *     <area  shape="rect" coords="27,332,188,410" alt="Left front tire pressure" title="Left front tire pressure" target="_self" href="../classes/dashBoardControler.html#method_onTirePressureLeftFrontChanged"     >
+ *     <area  shape="rect" coords="447,304,608,382" alt="Right front tire pressure" title="Right front tire pressure" target="_self" href="../classes/dashBoardControler.html#method_onTirePressureRightFrontChanged"     >
+ *     <area  shape="rect" coords="18,676,179,754" alt="Left rear tire pressure" title="Left rear tire pressure" target="_self" href="../classes/dashBoardControler.html#method_onTirePressureLeftRearChanged"     >
+ *     <area  shape="rect" coords="458,677,621,752" alt="Right rear tire pressure" title="Right rear tire pressure" target="_self" href="../classes/dashBoardControler.html#method_onTirePressureRightRearChanged"     >
+ *   </map>
+ * @module DashboardApplication
+ * @main DashboardApplication
+ * @class Dashboard
+ */
+
+/**
+ * Reference to instance of dashBoardIndicator this class manage graphics elements on dasboard
+ * @property dashBoardIndicator {dashBoardIndicator}
+ */
+var dashBoardIndicator;
+
+/**
+ * Reference to instance of bootstrap class this class help booting  theme , config and carIndicator
+ * @property bootstrap {Bootstrap}
+ * @private
+ */
+var bootstrap;
+
+/**
+ * Method initializes user interface and create events listeners for status indicators.
+ * @method init
+ */
+var init = function () {
+    "use strict";
+    dashBoardIndicator = new dashBoardControler();
+    bootstrap = new Bootstrap(function (status) {
+        $('#clockElement').ClockPlugin('init', 60);
+        $('#clockElement').ClockPlugin('startTimer');
+
+        $('#bottomPanel').bottomPanel('init', 'withoutBack');
+        $("#topBarIcons").topBarIconsPlugin('init');
+
+        bootstrap.carIndicator.addListener({
+            /* this si for steeringWheel game controler */
+            onSteeringWheelAngleChanged : function(newValue){
+                dashBoardIndicator.onWheelAngleChanged(newValue,bootstrap.carIndicator.status);
+            },
+            onWheelBrakeChanged : function(newValue){
+                dashBoardIndicator.onBreakLightsChanged(newValue);
+            },
+            /* end steeringWheel game controler*/
+            onTirePressureLeftFrontChanged : function (newValue){
+                dashBoardIndicator.onTirePressureLeftFrontChanged(newValue);
+            },
+            onTirePressureRightFrontChanged : function (newValue){
+                dashBoardIndicator.onTirePressureRightFrontChanged(newValue);
+            },
+            onTirePressureLeftRearChanged : function (newValue){
+                dashBoardIndicator.onTirePressureLeftRearChanged(newValue);
+            },
+            onTirePressureRightRearChanged : function (newValue){
+                dashBoardIndicator.onTirePressureRightRearChanged(newValue);
+            },
+            onChildLockChanged : function(newValue){
+                dashBoardIndicator.onChildLockChanged(newValue);
+            },
+            onFrontLightsChanged : function(newValue){
+                dashBoardIndicator.onFrontLightsChanged(newValue);
+            },
+            onRearLightsChanged : function(newValue){
+                dashBoardIndicator.onRearLightsChanged(newValue);
+            },
+            onBatteryStatusChanged : function(newValue) {
+                dashBoardIndicator.onBatteryStatusChanged(newValue,bootstrap.carIndicator.status);
+            },
+            onFullBatteryRange : function(newValue) {
+                dashBoardIndicator.onBatteryRangeChanged(newValue,bootstrap.carIndicator.status);
+            },
+            onOutsideTempChanged : function(newValue) {
+               dashBoardIndicator.onOutsiteTempChanged(newValue);
+            },
+            onInsideTempChanged : function(newValue) {
+                dashBoardIndicator.onInsideTempChanged(newValue);
+            },
+            onWheelAngleChanged : function(newValue){
+                dashBoardIndicator.onWheelAngleChanged(newValue,bootstrap.carIndicator.status);
+            },
+            onWeatherChanged : function(newValue){
+                dashBoardIndicator.onWeatherChanged(newValue);
+            },
+            onSpeedChanged : function(newValue) {
+                dashBoardIndicator.onSpeedChanged(newValue);
+            },
+            onOdoMeterChanged : function(newValue){
+                dashBoardIndicator.onOdoMeterChanged(newValue);
+            },
+            onGearChanged : function(newValue){
+                dashBoardIndicator.onGearChanged(newValue);
+            },
+            onRandomizeChanged : function(newValue) {
+                dashBoardIndicator.onRandomizerChanged(newValue);
+            },
+            onNightModeChanged : function(newValue) {
+                dashBoardIndicator.onNightModeChanged(newValue);
+            },
+            onExteriorBrightnessChanged : function(newValue) {
+                dashBoardIndicator.onExteriorBrightnessChanged(newValue);
+            },
+            onAvgKWChanged : function(newValue) {
+                dashBoardIndicator.onAvgKWChanged(newValue);
+            }
+        });
+    });
+};
+
+$(document).ready(init);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/manifest.json b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/manifest.json
new file mode 100644 (file)
index 0000000..a5bab5f
--- /dev/null
@@ -0,0 +1,12 @@
+{
+  "name": "Modello Dashboard",
+  "version": "0.0.2",
+  "app": {
+    "launch":{
+      "local_path": "index.html"
+    }
+  },
+  "icons": {
+    "128": "Dashboard_icon.png"
+  }
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/packaging/modello-dashboard.changes b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/packaging/modello-dashboard.changes
new file mode 100644 (file)
index 0000000..a70e50b
--- /dev/null
@@ -0,0 +1,12 @@
+* Thu May 22 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.232502@b29a4bd
+- Fixes for IVI-3190 - To get things to render normally
+
+* Thu May 08 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.172439@c71b9ba
+- Adding Modello to the app name to easily identify it
+
+* Tue May 06 2014 brianjjones <brian.j.jones@intel.com> accepted/tizen/ivi/20140409.182209@83dc2fb
+- Updated to work with Crosswalk.  TIVI-3072
+
+* Thu Apr 03 2014 brianjjones <brian.j.jones@intel.com> cc46ff5
+- Initial commit of the Modello Dashboard app
+
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/packaging/modello-dashboard.spec b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/project/packaging/modello-dashboard.spec
new file mode 100644 (file)
index 0000000..d463dbf
--- /dev/null
@@ -0,0 +1,29 @@
+Name:       Modello_Dashboard
+Summary:    A proof of concept pure html5 UI
+Version:    0.0.2
+Release:    1
+Group:      Applications/System
+License:    Apache 2.0
+URL:        http://www.tizen.org
+Source0:    %{name}-%{version}.tar.bz2
+BuildRequires:  zip
+Requires:   Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_Dashboard.wgt
+/opt/usr/apps/_common/icons/Dashboard_icon.png
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/tizen-app-template.xml b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/tizen-app-template.xml
new file mode 100644 (file)
index 0000000..fd1cb11
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<tizen-app-template xmlns="http://www.tizen.org/tizen-app-template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" template-version="" sdk-version="" icon32="tizen_32.png" icon64="tizen_64.png" xsi:schemaLocation="http://www.tizen.org/tizen-app-template tizen-app-template.xsd ">
+    <template-name>Modello_Dashboard</template-name>
+    <widget-type>TIZEN</widget-type>
+    <build-property key="usedLibraryType" value="Modello"/>
+    <description-file-name>description.xml</description-file-name>
+    <options>
+        <supportLibraries>
+        <library name="modello"/>
+        </supportLibraries>
+    </options>
+</tizen-app-template>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/tizen_32.png b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/tizen_32.png
new file mode 100644 (file)
index 0000000..a37c33e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/tizen_32.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Dashboard/tizen_64.png b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/tizen_64.png
new file mode 100644 (file)
index 0000000..f80f2ec
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Dashboard/tizen_64.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/description.xml b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/description.xml
new file mode 100644 (file)
index 0000000..084f656
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<?xml-stylesheet type="text/xsl" href="description.xsl"?>\r
+<Overview version="1.0">\r
+  <SampleName>Modello_Homescreen</SampleName>\r
+  <SampleVersion>1.0.0</SampleVersion>\r
+  <Preview>Modello_Homescreen-snapshot.png</Preview>\r
+  <Description>\r
+         Modello Homescreen\r
+  </Description>\r
+</Overview>\r
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/description.xsl b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/description.xsl
new file mode 100644 (file)
index 0000000..1f4f57f
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+    This file provides a functionality to show template's description.xml in the project wizard.
+    Don't delete or move this file.
+ -->
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:template match="/">
+    <html>
+      <head>
+        <style type="text/css">
+          html,body {
+          font-family:Arial;
+          margin: 0px;
+          }
+          td
+          {
+          font-size:13px;
+          }
+          .samplename
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:26px;
+          background-color:#6d96ac;
+          }
+          .category
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:30px;
+          background-color:#6d96ac;
+          }
+          .contents
+          {
+          padding: 6px 10px 14px 10px;
+          }
+          table#widgets td
+          {
+          border: solid 1px #6d96ac;
+          border-collapse: collapse;
+          }
+          .widgetname
+          {
+          font-weight: bold;
+          text-align: center;
+          width: 20%;
+          word-break:break-all;
+          }
+          table#references td
+          {
+          width: 100%;
+          border: 0px;
+          border-spacing: 0px;
+          padding: 5px;
+          }
+          .refname
+          {
+          width: 100%;
+          font-weight: bold;
+          }
+        </style>
+      </head>
+      <body>
+        <table width="400px" border="0" cellspacing="0">
+          <tr>
+            <td class="samplename" align="center">
+              <xsl:value-of select="Overview/SampleName"/>
+              <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
+                         <!--
+              <xsl:value-of select="Overview/SampleVersion"/>
+                         -->
+            </td>
+          </tr>
+          <tr bgcolor="#FFFFFF">
+            <td class="contents">
+                         <strong>Type</strong>: JavaScript
+                         <p>
+              <xsl:value-of select="Overview/Description"/>
+                         </p>
+            </td>
+          </tr>
+          <tr>
+            <td align="center" bgcolor="#FFFFFF" height="260px">
+              <img>
+                <xsl:attribute name="src">
+                  <xsl:value-of select="Overview/Preview"/>
+                </xsl:attribute>
+              </img>
+            </td>
+          </tr>
+        </table>
+      </body>
+    </html>
+  </xsl:template>
+
+</xsl:stylesheet>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/Homescreen_icon.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/Homescreen_icon.png
new file mode 100644 (file)
index 0000000..0b2f067
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/Homescreen_icon.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/Makefile b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/Makefile
new file mode 100644 (file)
index 0000000..50a3c7e
--- /dev/null
@@ -0,0 +1,20 @@
+PROJECT = Modello_Homescreen
+
+VERSION := 0.0.2
+PACKAGE = $(PROJECT)-$(VERSION)
+
+INSTALL_FILES = $(PROJECT).wgt
+INSTALL_DIR = ${DESTDIR}/opt/usr/apps/.preinstallWidgets
+
+wgtPkg:
+       zip -r $(PROJECT).wgt config.xml manifest.json css Homescreen_icon.png index.html js
+
+install:
+       @echo "Installing Homescreen, stand by..."
+       mkdir -p $(INSTALL_DIR)/
+       mkdir -p ${DESTDIR}/opt/usr/apps/_common/icons
+       cp $(PROJECT).wgt $(INSTALL_DIR)/
+       cp Homescreen_icon.png ${DESTDIR}/opt/usr/apps/_common/icons
+
+dist:
+       tar czf ../$(PACKAGE).tar.bz2 .
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/config.xml b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/config.xml
new file mode 100644 (file)
index 0000000..028a8f6
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets"
+       id="http://com.intel.tizen/homescreen" version="1.0.0" viewmodes="fullscreen">
+       <access origin="*" subdomains="true"></access>
+       <tizen:application id="Modello005.Homescreen"
+               package="Modello005" required_version="2.1" />
+       <content src="index.html" />
+       <icon src="icon.png" />
+       <name>Modello Home Screen</name>
+       <tizen:privilege name="http://tizen.org/privilege/application.launch" />
+       <tizen:privilege name="http://tizen.org/privilege/filesystem.read" />
+       <tizen:privilege name="http://tizen.org/privilege/filesystem.write" />
+       <tizen:privilege name="http://tizen.org/privilege/fullscreen" />
+       <tizen:privilege name="http://tizen.org/privilege/content.read" />
+        <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin" />
+        <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp" />
+        <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap" />
+        <tizen:privilege name="http://tizen.org/privilege/speech" />
+       <tizen:privilege name="http://tizen.org/privilege/vehicle" />
+       <tizen:setting screen-orientation="portrait"
+               context-menu="enable" background-support="disable" encryption="disable"
+               install-location="auto" hwkey-event="enable" />
+</widget>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/dashboard_selector.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/dashboard_selector.png
new file mode 100644 (file)
index 0000000..7d442ad
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/dashboard_selector.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/default_icon.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/default_icon.png
new file mode 100644 (file)
index 0000000..9765b1b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/default_icon.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_direction_left.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_direction_left.png
new file mode 100644 (file)
index 0000000..5ad8dba
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_direction_left.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_facebook.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_facebook.png
new file mode 100644 (file)
index 0000000..9dd64b8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_facebook.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_speedmeter.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_speedmeter.png
new file mode 100644 (file)
index 0000000..677f035
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_speedmeter.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_twitter.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_twitter.png
new file mode 100644 (file)
index 0000000..f67ca72
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/icon_twitter.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/music_selector.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/music_selector.png
new file mode 100644 (file)
index 0000000..0358b17
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/music_selector.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/navigation_selector.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/navigation_selector.png
new file mode 100644 (file)
index 0000000..6cb1c50
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/navigation_selector.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/phone_selector.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/phone_selector.png
new file mode 100644 (file)
index 0000000..7c0262e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/phone_selector.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/radio_selector.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/radio_selector.png
new file mode 100644 (file)
index 0000000..fcec8eb
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/radio_selector.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/social_selector.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/social_selector.png
new file mode 100644 (file)
index 0000000..b889cd1
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/social_selector.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/video_selector.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/video_selector.png
new file mode 100644 (file)
index 0000000..f0d0177
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/images/video_selector.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/style.css b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/css/style.css
new file mode 100644 (file)
index 0000000..09c5b7b
--- /dev/null
@@ -0,0 +1,519 @@
+.wrapper {
+       width: 720px;
+       height: 1280px;
+       overflow: hidden;
+       position: absolute;
+       top: 0;
+       left: 0;
+}
+
+.wrapper .backGround {
+       position: absolute;
+       width: 720px;
+       height: 1280px;
+       top: 0;
+       left: 0;
+       -webkit-perspective: 1000;
+       -webkit-transition: -webkit-transform, opacity 1000ms ease-out;
+       -webkit-transition-duration: 500ms;
+       opacity: 0;
+}
+
+.wrapper .live {
+       -webkit-transition: -webkit-transform, opacity 2000ms ease-out;
+}
+
+.dateTime {
+       top: 0;
+       opacity: 0.3;
+       z-index: 2;
+       -webkit-transform: translate3d(0px, -200px, 0);
+       transform: translate3d(0px, -200px, 0);
+}
+
+.showDT {
+       opacity: 1;
+       -webkit-transform: translate3d(0px, 0px, 0);
+       transform: translate3d(0px, 0px, 0);
+       -webkit-transition: -webkit-transform 400ms ease-out, opacity 400ms
+               ease-in;
+}
+
+.topBarIcons {
+       opacity: 0.3;
+       z-index: 4;
+       -webkit-transform: translate3d(0px, -200px, 0);
+       transform: translate3d(0px, -200px, 0);
+       -webkit-transition: -webkit-transform 400ms ease-out, opacity 400ms
+               ease-in;
+}
+
+.showTBI {
+       opacity: 1;
+       -webkit-transform: translate3d(0px, 0px, 0);
+       transform: translate3d(0px, 0px, 0);
+}
+
+.indSize {
+       position: absolute;
+       width: 200px;
+       height: 200px;
+}
+
+.indicator {
+       -webkit-transition: -webkit-transform 300ms ease-out, opacity 500ms;
+       -webkit-transform: translate3d(260px, 575px, 0) scale(0);
+       transform: translate3d(260px, 575px, 0) scale(0);
+       -webkit-perspective: 10000;
+       float: left;
+       opacity: 0;
+       z-index: 2;
+}
+
+.showI {
+       -webkit-transform: translate3d(260px, 575px, 0) scale(1);
+       transform: translate3d(260px, 575px, 0) scale(1);
+       opacity: 1;
+}
+
+.centerIco {
+       position: absolute;
+       top: 60px;
+       left: 60px;
+       width: 80px;
+       height: 80px;
+       display: block;
+}
+
+.corpus {
+       -webkit-perspective: 1000;
+       -webkit-transition: -webkit-transform;
+       -webkit-transform: translate3d(0px, 0px, 0);
+       transform: translate3d(0px, 0px, 0);
+       -webkit-transition-duration: 1500ms;
+}
+
+.item {
+       position: absolute;
+       -webkit-transition: -webkit-transform 400ms ease-out, opacity 700ms
+               ease-out;
+       /*      -webkit-transform: translate3d(0px,0px,0);*/
+       -webkit-perspective: 1000;
+       opacity: 0;
+       height: 535px;
+       width: 528px;
+       text-transform: uppercase;
+}
+
+.abs {
+       position: absolute;
+}
+
+.item.selected img {
+       opacity: 0.8;
+       -webkit-transition: opacity 300ms ease-in
+}
+
+.item img {
+       position: absolute;
+       top: 0;
+       left: 0;
+       opacity : 0;
+       -webkit-transition: opacity 500ms ease-out;
+}
+
+.sector1 {
+       -webkit-transform: translate3d(110px, 148px, 0px);
+       transform: translate3d(110px, 148px, 0px);
+}
+
+.sector1icon {
+       top: 110px;
+       left: 120px;
+       width: 44px;
+       height: 33px;
+}
+
+.sector1street {
+       top: 110px;
+       left: 180px;
+       width: 280px;
+       overflow: hidden;
+       text-align: left;
+}
+
+.sector1distance {
+       top: 140px;
+       left: 180px;
+}
+
+.sector2 {
+       -webkit-transform: translate3d(392px, 324px, 0px);
+       transform: translate3d(392px, 324px, 0px);
+       text-align: center;
+}
+
+.sector2valInterior {
+       top: 120px;
+       left: 160px;
+       width: 150px;
+       overflow: hidden;
+}
+
+.sector2Interior {
+       top: 170px;
+       left: 160px;
+       width: 150px;
+}
+
+.sector2valExterior {
+       top: 210px;
+       left: 100px;
+       width: 150px;
+       overflow: hidden;
+}
+
+.sector2Exterior {
+       top: 260px;
+       left: 100px;
+       width: 150px;
+}
+
+.sector3 {
+       -webkit-transform: translate3d(402px, 630px, 0px);
+       transform: translate3d(402px, 630px, 0px);
+       overflow: hidden;
+       text-align: center;
+}
+
+.sector3header {
+       top: 65px;
+       left: 65px;
+       width: 250px;
+}
+
+.sector3title {
+       top: 85px;
+       left: 65px;
+       width: 250px;
+}
+
+.sector3subHeader {
+       top: 115px;
+       left: 90px;
+       width: 200px;
+}
+
+.sector4 {
+/*     -webkit-transform: translate3d(314px, 724px, 0px);
+       transform: translate3d(314px, 724px, 0px);
+*/     -webkit-transform: translate3d(340px, 703px, 0px) rotateZ(-5deg);
+       transform: translate3d(340px, 703px, 0px) rotateZ(-5deg);
+}
+
+.sector4name {
+       top: 200px;
+       left: 60px;
+       width: 150px;
+       height: 80px;
+       text-align: left;
+       overflow: hidden;
+}
+
+.sector5 {
+       -webkit-transform: translate3d(44px, 702px, 0px);
+       transform: translate3d(44px, 702px, 0px);
+}
+
+.sector6 {
+       -webkit-transform: translate3d(0px, 590px, 0px);
+       transform: translate3d(0px, 590px, 0px);
+}
+
+.sector6postsWrapper {
+       top: 70px;
+       left: 25px;
+       width: 205px;
+       height: 90px;
+}
+
+.sector6row {
+       width: 100%;
+       height: 18px;
+       overflow: hidden;
+       text-align: left;
+}
+
+.sector6icon {
+       top: 1px;
+       width: 15px;
+       height: 15px;
+       float: left;
+}
+
+.sector6time {
+       width: 65px;
+       float: left;
+       margin-right: 5px;
+       text-align: right;
+}
+
+.sector6text {
+       float: left;
+       text-align: right;
+}
+
+.sector7 {
+       -webkit-transform: translate3d(0px, 316px, 0px);
+       transform: translate3d(0px, 316px, 0px);
+}
+
+.sector7iconSpeed {
+       top: 135px;
+       left: 10px;
+       width: 37px;
+       height: 35px;
+}
+
+.sector7valSpeed {
+       top: 115px;
+       right: 390px;
+       text-align: right;
+}
+
+.sector7SpeedUnits {
+       top: 155px;
+       left: 145px;
+       text-transform: lowercase;
+}
+
+.sector7iconBattery {
+       top: 200px;
+       left: 10px;
+       width: 37px;
+       height: 23px;
+}
+
+.sector7valBatteryPerc {
+       top: 197px;
+       left: 50px;
+       width: 70px;
+       text-align: right;
+}
+
+.sector7valRange {
+       top: 197px;
+       left: 125px;
+}
+
+.bottomPanel {
+       opacity: 0.3;
+       z-index: 4;
+       -webkit-transform: translate3d(0px, 200px, 0);
+       transform: translate3d(0px, 200px, 0);
+}
+
+.showBP {
+       opacity: 1;
+       -webkit-transform: translate3d(0px, 0px, 0);
+       transform: translate3d(0px, 0px, 0);
+       -webkit-transition: -webkit-transform 400ms ease-out, opacity 400ms
+               ease-in;
+}
+
+.volumeControl {
+       z-index: 4;
+       position: absolute;
+       top: 100px;
+       left: 450px;
+       width: 240px;
+       height: 50px;
+}
+
+.audioButtons {
+       position: absolute;
+       top: 110px;
+       left: 53px;
+}
+
+.controlsBtn {
+       z-index: 4;
+       position: absolute;
+       width: 28px;
+       height: 28px;
+}
+
+.previousBtn {
+       opacity: 1;
+}
+
+.prevBtnInactive {
+       opacity: 0.5;
+}
+
+.previousBtnActive {
+       opacity: 1;
+}
+
+.pauseBtn {
+       opacity: 1;
+       left: 96px;
+}
+
+.playBtn {
+       opacity: 1;
+       left: 96px;
+}
+
+.nextBtn {
+       opacity: 1;
+       left: 191px;
+}
+
+.nextBtnInactive {
+       opacity: 0.5;
+       left: 191px;
+}
+
+.nextBtnActive {
+       opacity: 1;
+       left: 191px;
+}
+
+.actionsCatcher {
+       position: absolute;
+       width: 100%;
+       height: 100%;
+       z-index: 3;
+       opacity: 0;
+}
+
+.homeScrAppGridView {
+       position: absolute;
+       top: 0;
+       left: 0;
+       width: 654px;
+       height: 1214px;
+       z-index: 5;
+       padding: 33px;
+       display: none;
+       overflow-x: hidden;
+       overflow-y: scroll;
+}
+
+.HSAGWHeading {
+       text-transform: uppercase;
+       margin: 0 0 25px 0;
+}
+
+.homeScrAppGridFrame {
+       width: 212px;
+       height: 212px;
+       background-color: rgb(0, 0, 0);
+       background-color: rgba(0, 0, 0, 0.2);
+       float: left;
+       margin: 3px;
+       text-align: center;
+}
+
+.homeScrAppGridText {
+       background-color: rgb(0, 0, 0);
+       background-color: rgba(0, 0, 0, 0.4);
+       position: absolute;
+       bottom: 0;
+       left: 0;
+       width: 100%;
+       height: 80px;
+}
+
+.homeScrAppGridView .exitButton {
+       position: absolute;
+       top: 25px;
+       right: 25px;
+       width: 42px;
+       height: 42px;
+}
+
+.homeScrAppGridTitle {
+       position: absolute;
+       bottom: 29px;
+       right: 0;
+       left: 0;
+       text-transform: uppercase;
+       line-height: 25px;
+}
+
+.homeScrAppGridCategory {
+       font-weight: normal;
+       line-height: 25px;
+       font-size: 16px;
+       display: none;
+}
+
+.homeScrAppGridImg img {
+       margin: 0 auto;
+       width: 120px;
+       height: 120px;
+}
+
+/* ICONS */
+.iconSpeed {
+       background-image: url("./images/icon_speedmeter.png");
+}
+
+.iconLeftImg {
+       background-image: url("./images/icon_direction_left.png");
+}
+
+.iconFacebook {
+       background-image: url("images/icon_facebook.png");
+}
+
+.iconTwitter {
+       background-image: url("images/icon_twitter.png");
+}
+
+/* Animations */
+.rollRight {
+    -webkit-animation-name: rotateR;
+    -webkit-animation-duration: 10s;
+    -webkit-animation-delay: 0s;
+    -webkit-animation-timing-function: linear;
+    -webkit-animation-iteration-count: 1;/*infinite;*/
+}
+
+.rollLeft {
+    -webkit-animation-name: rotateL;
+    -webkit-animation-duration: 10s;
+    -webkit-animation-delay: 0s;
+    -webkit-animation-timing-function: linear;
+    -webkit-animation-iteration-count: 1;/*infinite;*/
+}
+
+.liveBg {
+    -webkit-animation-name: live;
+    -webkit-animation-duration: 7s;
+    -webkit-animation-delay: 0s;
+    -webkit-animation-timing-function: ease-out;
+    -webkit-animation-iteration-count: 1;
+    -webkit-transition: opacity 500ms ease-out;
+}
+
+@-webkit-keyframes rotateR {
+    0%         {-webkit-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);}
+    50%                {-webkit-transform: rotateX(0deg) rotateY(0deg) rotateZ(180deg);}
+    100%       {-webkit-transform: rotateX(0deg) rotateY(0deg) rotateZ(360deg);}
+}
+
+@-webkit-keyframes rotateL {
+    0%         {-webkit-transform: rotateX(0deg) rotateY(0deg) rotateZ(360deg);}
+    50%                {-webkit-transform: rotateX(0deg) rotateY(0deg) rotateZ(180deg);}
+    100%       {-webkit-transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);}
+}
+
+@-webkit-keyframes live {
+       0%              {opacity: 0.4;}
+       15%             {opacity: 1;}
+       55%             {opacity: 0.4;}
+       100%    {opacity: 0.4;}
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/dashboard_selector.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/dashboard_selector.png
new file mode 100644 (file)
index 0000000..7d442ad
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/dashboard_selector.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/default_icon.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/default_icon.png
new file mode 100644 (file)
index 0000000..9765b1b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/default_icon.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_direction_left.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_direction_left.png
new file mode 100644 (file)
index 0000000..5ad8dba
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_direction_left.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_facebook.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_facebook.png
new file mode 100644 (file)
index 0000000..9dd64b8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_facebook.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_speedmeter.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_speedmeter.png
new file mode 100644 (file)
index 0000000..677f035
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_speedmeter.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_twitter.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_twitter.png
new file mode 100644 (file)
index 0000000..f67ca72
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/icon_twitter.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/music_selector.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/music_selector.png
new file mode 100644 (file)
index 0000000..0358b17
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/music_selector.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/navigation_selector.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/navigation_selector.png
new file mode 100644 (file)
index 0000000..6cb1c50
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/navigation_selector.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/phone_selector.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/phone_selector.png
new file mode 100644 (file)
index 0000000..7c0262e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/phone_selector.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/radio_selector.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/radio_selector.png
new file mode 100644 (file)
index 0000000..fcec8eb
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/radio_selector.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/social_selector.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/social_selector.png
new file mode 100644 (file)
index 0000000..b889cd1
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/social_selector.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/video_selector.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/video_selector.png
new file mode 100644 (file)
index 0000000..f0d0177
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/images/video_selector.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/index.html b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/index.html
new file mode 100644 (file)
index 0000000..50dd8df
--- /dev/null
@@ -0,0 +1,124 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=utf-8" />
+<title>HOMESCREEN</title>
+<meta name="keywords" content="" />
+<meta name="description" content="" />
+<!-- <meta name = "viewport" content = "width = device-width,height =device-height, user-scalable = no"> -->
+<meta name="viewport" content="width=720, height=1280, user-scalable=no" />
+
+
+<link rel="stylesheet" href="./css/car/car.css" />
+<link rel="stylesheet" href="./css/car/components/incomingCall/incomingCall.css" />
+
+<link rel="stylesheet" href="./css/car/components/dateTime/dateTime.css" />
+<link rel="stylesheet" href="./css/car/components/progressBar/progressBar.css" />
+<link rel="stylesheet" href="./css/car/components/topBarIcons/topBarIcons.css" />
+<link rel="stylesheet" href="./css/style.css"/>
+
+<script type="text/javascript" src="./css/car/components/jQuery/jquery-1.8.2.js"></script>
+<script type="text/javascript" src="./css/car/components/knockout/knockout.js"></script>
+<script type="text/javascript" src="./css/car/components/jsViews/jsrender.js"></script>
+<script type="text/javascript" src="./css/car/components/jsViews/template.js"></script>
+<script type="text/javascript" src="./css/car/car.js"></script>
+
+<script type='text/javascript' src='./js/services/bootstrap.js'></script>
+
+<script type="text/javascript" src="./css/car/components/bottomPanel/bottomPanel.js"></script>
+<script type="text/javascript" src="./css/car/components/progressBar/progressBar.js"></script>
+<script type="text/javascript" src="./css/car/components/buttonControls/buttonControls.js"></script>
+<script type="text/javascript" src="./css/car/components/audioPlayer/audioPlayer.js"></script>
+<script type="text/javascript" src="./css/car/components/topBarIcons/topBarIcons.js"></script>
+<script type="text/javascript" src="./css/car/components/dateTime/dateTime.js"></script>
+
+<script type="text/javascript" src="./js/predefAppModel.js"></script>
+<script type="text/javascript" src="./js/installedApps.js"></script>
+<script type="text/javascript" src="./js/keyControl.js"></script>
+<script type="text/javascript" src="./js/actionCatcher.js"></script>
+<script type="text/javascript" src="./js/main.js"></script>
+
+
+</head>
+
+<body class="homeScr_body">
+       <div id="wrapper" class="wrapper">
+               <div id="topBarIcons" class="topBarIcons"></div>
+               <div id="actionsCatcher" class="actionsCatcher" onmouseup="actionCatcher.touchEnd();" onmousedown="actionCatcher.touchStart();" onmousemove="actionCatcher.over();">
+               </div>
+
+               <div id="homeScrAppGridView" class="homeScrAppGridView pageBgColorNormalTransparent">
+                       <div class="HSAGWHeading fontColorNormal fontSizeLarger ">Apps</div>
+                       <div class="exitButton tabsCloseButton"></div>
+               </div>
+               <div id="dateTime" class="dateTime"></div>
+               <div id="viewPort">
+                       <div id="corpus" class="corpus">
+                               <ul id="content_ul">
+                                       <li class="item sector1 fontWeightBold fontColorNormal">
+                                               <div class="sector1icon iconLeftImg abs"></div>
+                                               <div class="sector1street abs fontSizeLarge">45 south ave</div>
+                                               <div class="sector1distance abs fontSizeXSmall">600 ft</div>
+                                               <img src="./css/images/navigation_selector.png"></img>
+                                       </li>
+                                       <li class="item sector2 fontWeightBold fontColorNormal">
+                                               <div id="fanStatus" class="sector2valInterior abs fontSizeXXLarge">0°C</div>
+                                               <div class="sector2Interior abs fontSizeXSmall">interior</div>
+                                               <div id="weatherStatus" class="sector2valExterior abs fontSizeXXLarge fontColorDark">0°F</div>
+                                               <div class="sector2Exterior abs fontSizeXSmall fontColorDark">exterior</div>
+                                               <img src="./css/images/music_selector.png"></img>
+                                       </li>
+                                       <li class="item sector3 fontWeightBold fontColorNormal">
+                                               <div id="audioHeader" class="sector3header abs fontSizeNormal">author</div>
+                                               <div id="audioTitle" class="sector3title abs fontSizeLarge">title</div>
+                                               <div id="audioAlbum"class="sector3subHeader abs fontSizeXSmall fontColorDark">album</div>
+                                               <img src="./css/images/radio_selector.png"></img>
+                                       </li>
+                                       <li class="item sector4 fontWeightBold fontColorNormal">
+                                               <!-- <div class="sector4name abs fontSizeXSmall">Smart Device Link</div> -->
+                                               <img src="./css/images/video_selector.png"></img>
+                                       </li>
+                                       <li class="item sector5 fontWeightBold fontColorNormal">
+                                               <img src="./css/images/social_selector.png"></img>
+                                       </li>
+                                       <li class="item sector6 fontWeightBold fontColorNormal">
+<!--                                           <div class="sector6postsWrapper abs">
+                                                       <div class="sector6row">
+                                                               <div class="sector6icon iconFacebook"></div>
+                                                               <div class="sector6time">9:23 AM</div>
+                                                               <div class="sector6text"></div>
+                                                       </div>
+                                                       <div class="sector6row">
+                                                               <div class="sector6icon iconFacebook"></div>
+                                                               <div class="sector6time">9:45 AM</div>
+                                                               <div class="sector6text">Cheryl Johnson</div>
+                                                       </div>
+                                                       <div class="sector6row">
+                                                               <div class="sector6icon iconTwitter"></div>
+                                                               <div class="sector6time">10:01 AM</div>
+                                                               <div class="sector6text">CNN</div>
+                                                       </div>
+                                               </div>
+ -->                                           <img src="./css/images/phone_selector.png"></img>
+                                       </li>
+                                       <li class="item sector7 fontWeightBold fontColorNormal">
+                                               <div class="sector7iconSpeed abs iconSpeed"></div>
+                                               <div id="homeScrSpeed" class="sector7valSpeed fontSizeXXXLarge abs">0</div>
+                                               <div id="sector7SpeedUnits" class="sector7SpeedUnits fontSizeXSmall abs">mph</div>
+                                               <div class="sector7iconBattery abs batteryImage"></div>
+                                               <div id="batteryStatus" class="sector7valBatteryPerc abs fontSizeLarge">0%</div>
+                                               <div id="batteryRange" class="sector7valRange abs fontSizeLarge">0 mi</div>
+                                               <img src="./css/images/dashboard_selector.png"></img>
+                                       </li>
+                               </ul>
+                       </div>
+                       <div id="indicator" class="indicator indSize colorBasic fontSizeNormal fontWeightBold">
+                               <div id="centerIco" class="centerIco"></div>
+                               <div id="innerRing" class="innerRing indSize rollLeft"></div>
+                               <div id="outerRing" class="outerRing indSize rollRight"></div>
+                       </div>
+               </div>
+               <div id="bottomPanel" class="bottomPanel bottomPanelImg"></div>
+       </div>
+</body>
+</html>
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/js/actionCatcher.js b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/js/actionCatcher.js
new file mode 100644 (file)
index 0000000..21c5028
--- /dev/null
@@ -0,0 +1,155 @@
+/*global  areasDefinitions, onFrameClick, centerPoint */
+
+/**
+ * @module HomescreenApplication
+ **/
+
+/**
+ * Compute distance between two points in 2D.
+ * @method pointsDistance
+ * @for window
+ * @private
+ * @param pointA {object} Contains X and Y coordinate of first point.
+ * @param pointB {object} Contains X and Y coordinate of second point.
+ * @return float distance in points
+ **/
+var pointsDistance = function (pointA, pointB) {
+       "use strict";
+       return Math.sqrt(Math.pow(Math.abs(pointA.y - pointB.y), 2) + Math.pow(Math.abs(pointA.x - pointB.x), 2));
+};
+
+/**
+ * Compute angle of click point from  zero angle (zero angle has a line, which is horizontal and starts in the center point).
+ * @method pointAngle
+ * @for window
+ * @private
+ * @param point {object} Contains X and Y coordinate of clicked/touched point.
+ * @param centerPoint {object} Contains X and Y coordinate of center point.
+ * @return float angle in degrees
+ **/
+var pointAngle = function (point, centerPoint) {
+       "use strict";
+       var tmpPoint = {};
+       tmpPoint.x = centerPoint.x + 200; //to define zero vector
+       tmpPoint.y = centerPoint.y;
+       var u1 = tmpPoint.x - centerPoint.x,
+               u2 = tmpPoint.y - centerPoint.y,
+               v1 = point.x - centerPoint.x,
+               v2 = point.y - centerPoint.y,
+               su = pointsDistance(centerPoint, tmpPoint),
+               sv = pointsDistance(centerPoint, point),
+               angle = Math.acos((u1 * v1 + u2 * v2) / (su * sv)) * (180 / Math.PI);
+       if (point.y > centerPoint.y) {
+               angle = 360 - angle;
+       }
+       return angle;
+};
+
+/**
+ * Gets app sector from click based on predefAppModel, clickDistance from center and click angle.
+ * @method getClickedItem
+ * @for window
+ * @private
+ * @param touchPoint {object} Contains X and Y coordinate of clicked/touched point.
+ **/
+var getClickedItem = function (touchPoint) {
+       "use strict";
+       var dst = pointsDistance(touchPoint, centerPoint),
+               angle = pointAngle(touchPoint, centerPoint),
+               i = 0;
+       for (i = 0; i < areasDefinitions.length; i++) {
+               switch (areasDefinitions[i].shape) {
+               case 'cenerCircle':
+                       if (dst < areasDefinitions[i].lc) {
+                               return areasDefinitions[i];
+                       }
+                       break;
+               case 'pieWithoutCenter':
+                       if ((areasDefinitions[i].sc < dst) && (areasDefinitions[i].lc > dst) && (areasDefinitions[i].sa < angle) && (areasDefinitions[i].la > angle)) {
+                               return areasDefinitions[i];
+                       }
+                       break;
+               }
+       }
+       return null;
+};
+
+
+/**
+ * Provides functions for catching mouse events and translating them to correct calls for launching applications displayed in radial menu. Applications and locations
+ * which should be displayed are defined in class [predefAppModel](../classes/predefAppModel.html). Reading applications from Tizen system is handled by class
+ * [installedApps](../classes/installedApps.html). As alternative method to launching applicatins with mouse events applications can be launched by key events which are
+ * processed by class [keyControl](../classes/keyControl.html).
+ * @class actionCatcher
+ * @static
+ **/
+var actionCatcher = {
+       /**
+        * Holds clicked item Object.
+        * @property clickedItem
+        * @type Object
+        * @default null
+        **/
+       clickedItem: null,
+       /**
+        * Indicates if mouse button is pressed.
+        * @property mouseDown
+        * @type bool
+        * @default false
+        **/
+       mouseDown: false,
+
+       /**
+        * Provides highlighting sectors if mouse cursor is over.
+        * @method over
+        **/
+       over: function () {
+               "use strict";
+               var i = 0;
+               if (!actionCatcher.mouseDown) {
+                       var mousePosition = {x: window.event.pageX, y: window.event.pageY};
+                       var overItem = getClickedItem(mousePosition);
+                       if (overItem !== actionCatcher.clickedItem) {
+                               for (i = 0; i < areasDefinitions.length; i++) {
+                                       if (areasDefinitions[i].sectorId !== null) {
+                                               $('.sector' + areasDefinitions[i].sectorId).removeClass('selected');
+                                       }
+                               }
+                               if (overItem !== null) {
+                                       $('.sector' + overItem.sectorId).addClass('selected');
+                               }
+                               actionCatcher.clickedItem = overItem;
+                       }
+               }
+       },
+       /**
+        * Sets mouseDown property to true and sets clickedItem property if click to some sector.
+        * @method touchStart
+        **/
+       touchStart: function () {
+               "use strict";
+               actionCatcher.mouseDown = true;
+               var mousePosition = {x: window.event.pageX, y: window.event.pageY};
+               actionCatcher.clickedItem = getClickedItem(mousePosition);
+       },
+       /**
+        * Sets mouseDown property to false and starts app if click to some sector.
+        * @method touchEnd
+        **/
+       touchEnd: function () {
+               "use strict";
+               actionCatcher.mouseDown = false;
+               if (actionCatcher.clickedItem !== null) {
+                       switch (actionCatcher.clickedItem.shape) {
+                       case 'cenerCircle':
+                               actionCatcher.clickedItem.action();
+                               break;
+                       case 'pieWithoutCenter':
+                               if (actionCatcher.clickedItem.id !== null) {
+                                       onFrameClick(actionCatcher.clickedItem);
+                               }
+                               break;
+                       }
+               }
+       }
+};
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/js/installedApps.js b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/js/installedApps.js
new file mode 100644 (file)
index 0000000..3509eef
--- /dev/null
@@ -0,0 +1,265 @@
+/*global ThemeKeyColor, Settings, loadScript */
+
+/**
+ * @module HomescreenApplication
+ **/
+/**
+ * Retrieves list of installed apps from [Tizen Application API](https://developer.tizen.org/dev-guide/2.2.0/org.tizen.web.device.apireference/tizen/application.html)
+ * and manages displaing it in app grid view. Class also provides launching of installed app by clicking on app representation in grid view.
+ * @class installedApps
+ * @static
+ **/
+/**
+ * Global variable which holds the list component in the UI
+ * @property appList
+ * @type array
+ **/
+var appList = [];
+/**
+ * Global variable which holds the identifier of the application information event listener
+ * @property listenerID
+ * @type string
+ * @default null
+ **/
+var listenerID = null;
+/**
+ * Global variable which holds the current index of last element in appList
+ * @property index
+ * @type int
+ * @default 0
+ **/
+var index = 0;
+
+/**
+ * Provides hiding installed app grid afted click out of app cells.
+ * @method $
+ * @static
+ **/
+$(function() {
+       "use strict";
+       $("#homeScrAppGridView").live("click", function() {
+               $(this).fadeOut();
+       });
+});
+
+/**
+ * Provide logging of app launch success.
+ * @method onLaunchSuccess
+ * @static
+ **/
+function onLaunchSuccess() {
+       "use strict";
+       console.log("App launched...");
+}
+
+/**
+ * Provide logging of app launch error.
+ * @method onError
+ * @param err {string} Error message.
+ * @static
+ **/
+function onError(err) {
+       "use strict";
+       console.error(err.message);
+}
+
+/**
+ * Provide launch of application.
+ * @method onFrameClick
+ * @param appData {object} Contains Object of specific app.
+ * @static
+ **/
+function onFrameClick(appData) {
+       "use strict";
+       //launch application
+       var i;
+       try {
+               var scriptCallback = function(path, status) {
+                       if (status === "ok") {
+                               Settings.init();
+                       }
+               };
+
+               for (i = 0; i < appList.length; ++i) {
+                       if (appList[i].id === appData.id) {
+                               if (appData.id === "http://com.intel.tizen/intelPocSettings") {
+                                       if (typeof Settings === 'undefined') {
+                                               loadScript('./css/car/components/settings/js/settings.js', scriptCallback);
+                                       } else {
+                                               Settings.show();
+                                       }
+                               } else {
+                                       tizen.application.launch(appData.id, onLaunchSuccess, onError);
+                               }
+                               break;
+                       }
+               }
+       } catch (exc) {
+               console.error(exc.message);
+       }
+}
+
+/**
+ * Create app grid view based on appList.
+ * @method insertAppFrame
+ * @param appFrame {object} Contains Object of specific app from appList property.
+ * @static
+ **/
+function insertAppFrame(appFrame) {
+       "use strict";
+       var rootDiv = $("<div></div>").addClass("homeScrAppGridFrame boxShadow3").data("app-data", appFrame).click(function() {
+               onFrameClick($(this).data("app-data"));
+       });
+
+       var innerDiv = $("<div></div>").addClass("homeScrAppGridImg").appendTo(rootDiv);
+       $("<img />").data("src", appFrame.iconPath).appendTo(innerDiv);
+       var textDiv = $("<div />").addClass("homeScrAppGridText").appendTo(rootDiv);
+       $("<div />").addClass("homeScrAppGridTitle fontColorNormal fontSizeSmaller fontWeightBold").text(appFrame.appName).appendTo(textDiv);
+       $("<div />").addClass("homeScrAppGridCategory").text(appFrame.appName).appendTo(textDiv);
+
+       $('#homeScrAppGridView').append(rootDiv);
+
+       var img = new Image();
+       var ctx = document.createElement('canvas').getContext('2d');
+
+       img.onload = function() {
+               var w = ctx.canvas.width = img.width;
+               var h = ctx.canvas.height = img.height;
+
+               // Change icon only in case of Intel POC apps
+               if (appFrame.appName.indexOf("Modello") >= 0) {
+                       ctx.fillStyle = ThemeKeyColor;
+                       ctx.fillRect(0, 0, w, h);
+                       ctx.globalCompositeOperation = 'destination-in';
+               }
+               ctx.drawImage(img, 0, 0);
+
+               $("div.homeScrAppGridImg img").each(function() {
+                       if ($(this).data("src") === appFrame.iconPath) {
+                               $(this)[0].src = ctx.canvas.toDataURL();
+                       }
+               });
+       };
+
+       img.onerror = img.onabort = function() {
+               $("div.homeScrAppGridImg img").each(function() {
+                       if ($(this).data("src") === appFrame.iconPath) {
+                               $(this).attr("src", "./css/images/default_icon.png");
+                       }
+               });
+       };
+
+       img.src = appFrame.iconPath;
+
+       index++;
+       appList.push(appFrame);
+}
+
+var evalInstalledApps = null;
+
+/**
+ * Callback method for getting and resorting appList array for Homescreen app using.
+ * @method onAppInfoSuccess
+ * @param list {array} Contains Objects of apps from evalInstalledApps listener.
+ * @static
+ **/
+function onAppInfoSuccess(list) {
+       "use strict";
+       var i = 0;
+       try {
+               index = 0;
+               var applications = [];
+
+               applications.push({
+                       id: "http://com.intel.tizen/intelPocSettings",
+                       appName: "Settings",
+                       show: true,
+                       iconPath: "./css/car/components/settings/icon.png"
+               });
+
+               list.sort(function(x, y) {
+                       return x.appName > y.appName ? 1 : -1;
+               });
+
+               for (i = 0; i < list.length; i++) {
+
+                       var app = list[i];
+                       var newApp = {
+                               id: app.id,
+                               appName: app.name,
+                               style: "background-image: url('file://" + app.iconPath + "');",
+                               iconPath: app.iconPath,
+                               css: "app_" + app.id.replace(/\./g, "_").replace(/\ /g, "_"),
+                               installed: true
+                       };
+                       applications.push(newApp);
+               }
+               var equals = applications.length === appList.length;
+
+               if (equals) {
+                       for (var j = 0; j < applications.length; j++) {
+                               equals = applications[j].id === appList[j].id ? equals : false;
+                               equals = applications[j].appName === appList[j].appName ? equals : false;
+                               equals = applications[j].css === appList[j].css ? equals : false;
+                               equals = applications[j].iconPath === appList[j].iconPath ? equals : false;
+                       }
+               }
+
+               if (!equals) {
+                       appList = [];
+                       $('#homeScrAppGridView .homeScrAppGridFrame').remove();
+
+                       for (i = 0; i < applications.length; i++) {
+                               insertAppFrame(applications[i]);
+                       }
+               }
+       } catch (exc) {
+               console.log(exc.message);
+       } finally {
+               //Workaround due to https://bugs.tizen.org/jira/browse/TIVI-2018
+               window.setTimeout(function() {
+                       evalInstalledApps();
+               }, 1000);
+
+               if (null === listenerID) {
+                       listenerID = tizen.application.addAppInfoEventListener({
+                               oninstalled: function(appInfo) {
+                                       console.log('The application ' + appInfo.name + ' is installed');
+                                       evalInstalledApps();
+                               },
+                               onupdated: function(appInfo) {
+                                       console.log('The application ' + appInfo.name + ' is updated');
+                                       evalInstalledApps();
+                               },
+                               onuninstalled: function(appid) {
+                                       console.log('The application ' + appid + ' is uninstalled');
+                                       evalInstalledApps();
+                               }
+                       });
+               }
+       }
+}
+
+/**
+ * Listener for installed apps events.
+ * @method evalInstalledApps
+ * @static
+ **/
+evalInstalledApps = function() {
+       "use strict";
+       if (typeof tizen !== 'undefined') {
+               try {
+                       // get the installed applications list
+                       tizen.application.getAppsInfo(onAppInfoSuccess, function(err) {
+                               // Workaround due to https://bugs.tizen.org/jira/browse/TIVI-2018
+                               window.setTimeout(function() {
+                                       evalInstalledApps();
+                               }, 1000);
+
+                               onError(err);
+                       });
+               } catch (exc) {
+                       console.error(exc.message);
+               }
+       }
+};
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/js/keyControl.js b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/js/keyControl.js
new file mode 100644 (file)
index 0000000..220d76f
--- /dev/null
@@ -0,0 +1,154 @@
+/*global areasDefinitions, onFrameClick */
+
+/**
+ * @module HomescreenApplication
+ **/
+/**
+ * Allows to select radial menu items and start selected application by keyboard. Following keys are intecepted:
+ * * A - Previous application
+ * * D - Next application
+ * * Enter - Launch application
+ * * 1 - 7 - Launch application 1-7 from radial menu starting from 12 o'clock application in clockwise direction
+ * @class keyControl
+ * @static
+ **/
+var KeyControl = {
+       /**
+        * Define selected sector (pie, app).
+        * @property homeScreenselectedIndex
+        * @type int
+        * @default 1
+        **/
+       homeScreenselectedIndex: 1,
+       /**
+        * Indicate if some sector is selected.
+        * @property sectionHighlited
+        * @type bool
+        * @default false
+        **/
+       sectionHighlited: false,
+       /**
+        * Timer for reset highlited pie after predefined timer interval in timerInteval property.
+        * @property timer
+        * @type Object
+        * @default null
+        **/
+       timer: null,
+       /**
+        * Define interval for unhighlight and unselect selected sector if keyboard is inactive more than defined interval.
+        * @property timerIterval
+        * @type int
+        * @default 5000 (ms)
+        **/
+       timerIterval: 5000,
+       /**
+        * Provides changing of selected sector, highlights it and unhighlight previous higlighted. Also provides setting of timer.
+        * @method changeIndex
+        * @param direction {string} Could be 'prev', 'next' for change highigting for prev or next sector and 'null' only for unhighligting sector
+        **/
+       changeIndex: function (direction) {
+               "use strict";
+               var i = 0;
+               for (i = 0; i < areasDefinitions.length; i++) {
+                       if (areasDefinitions[i].sectorId !== null) {
+                               $('.sector' + areasDefinitions[i].sectorId).removeClass('selected');
+                       }
+               }
+               if (direction !== null) {
+                       if (KeyControl.sectionHighlited) {
+                               clearTimeout(KeyControl.timer);
+                               KeyControl.timer = setTimeout(function() { KeyControl.changeIndex(); }, KeyControl.timerIterval);
+                               switch (direction) {
+                               case 'prev':
+                                       KeyControl.prevIndex();
+                                       break;
+                               case 'next':
+                                       KeyControl.nextIndex();
+                                       break;
+                               }
+                               $('.sector' + KeyControl.homeScreenselectedIndex).addClass('selected');
+                       } else {
+                               KeyControl.sectionHighlited = true;
+                               $('.sector' + KeyControl.homeScreenselectedIndex).addClass('selected');
+                               KeyControl.timer = setTimeout(function() { KeyControl.changeIndex(); }, KeyControl.timerIterval);
+                       }
+               } else {
+                       KeyControl.sectionHighlited = false;
+               }
+       },
+       /**
+        * Provides changing index of selected sector to next one in circle.
+        * @method nextIndex
+        * **/
+       nextIndex: function () {
+               "use strict";
+               KeyControl.homeScreenselectedIndex++;
+               if (KeyControl.homeScreenselectedIndex > 7) {
+                       KeyControl.homeScreenselectedIndex = 1;
+               }
+       },
+       /**
+        * Provides changing index of selected sector to previous one in circle.
+        * @method prevIndex
+        **/
+       prevIndex: function () {
+               "use strict";
+               KeyControl.homeScreenselectedIndex--;
+               if (KeyControl.homeScreenselectedIndex < 1) {
+                       KeyControl.homeScreenselectedIndex = 7;
+               }
+       },
+       /**
+        * Provides start of app by confirmation of selected sector with keyboard.
+        * @method prevIndex
+        **/
+       confirmed: function () {
+               "use strict";
+               if (KeyControl.sectionHighlited) {
+                       switch (KeyControl.homeScreenselectedIndex) {
+                       case 1:
+                               onFrameClick(areasDefinitions[1]);
+                               break;//maps
+                       case 2:
+                               onFrameClick(areasDefinitions[2]);
+                               break;//maps
+                       case 3:
+                               onFrameClick(areasDefinitions[3]);
+                               break;//musicPlayer
+                       case 4:
+                               onFrameClick(areasDefinitions[4]);
+                               break;//sdl
+                       case 5:
+                               onFrameClick(areasDefinitions[5]);
+                               break;//phone
+                       case 6:
+                               onFrameClick(areasDefinitions[6]);
+                               break;//store
+                       case 7:
+                               onFrameClick(areasDefinitions[7]);
+                               break;//dashboard
+                       }
+               }
+       }
+};
+
+/**
+ * Provides catching and sorting of keyboard events.
+ * @method $(document).keypress
+ * @param callback {function} For calling functions on specific key press.
+ * @static
+ **/
+$(document).keypress(function (event) {
+       "use strict";
+       switch (event.keyCode) {
+       case 97:
+               KeyControl.changeIndex('prev'); // a
+               break;
+       case 100:
+               KeyControl.changeIndex('next');  // d
+               break;
+       case 13:
+               KeyControl.confirmed();
+               break;
+       }
+});
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/js/main.js b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/js/main.js
new file mode 100644 (file)
index 0000000..1c397c6
--- /dev/null
@@ -0,0 +1,236 @@
+/*global Bootstrap, evalInstalledApps, appList:true, wrapper, viewPort */
+
+/**
+ * Home screen application is launched after system is completely booted up and provides access to available applications as well as to selected information from
+ * car CAN bus (via {{#crossLink "Bootstrap/carIndicator:property"}}{{/crossLink}} object). Hover and click on elements in images below to navigate to components of Home screen application.
+ *
+ * <img id="Image-Maps_1201312180420487" src="../assets/img/homescreen.png" usemap="#Image-Maps_1201312180420487" border="0" width="649" height="1152" alt="" />
+ *   <map id="_Image-Maps_1201312180420487" name="Image-Maps_1201312180420487">
+ *     <area shape="rect" coords="0,0,573,78" href="../classes/topbaricons.html" alt="top bar icons" title="Top bar icons" />
+ *     <area shape="rect" coords="0,77,644,132" href="../classes/clock.html" alt="clock" title="Clock"    />
+ *     <area shape="rect" coords="0,994,644,1147" href="../classes/bottompanel.html" alt="bottom panel" title="Bottom panel" />
+ *     <area shape="rect" coords="0,159,644,961" href="../classes/actionCatcher.html" alt="Action catcher" title="Action catcher" />
+ *     <area shape="rect" coords="573,1,644,76" href="../modules/Settings.html" alt="Settings" title="Settings"    />
+ *   </map>
+ * @module HomescreenApplication
+ * @main HomescreenApplication
+ **/
+
+/**
+ * Provides inicialization of application and startup animations.
+ * @class main
+ * @static
+ **/
+
+var isPc = true,
+    audioVolumeService,
+    audioObj;
+
+var bootstrap;
+
+if (typeof tizen !== 'undefined') {
+    isPc = false;
+}
+//main
+if (!window.intelIVI) {
+    window.intelIVI = {};
+}
+var animationOngoing = false;
+
+/**
+ * Initialize plugins, register events for Homescreen app.
+ * @method init
+ * @static
+ **/
+var init = function() {
+    "use strict";
+
+    bootstrap = new Bootstrap(function(status) {
+        $('#dateTime').ClockPlugin('init', 60);
+        $('#dateTime').ClockPlugin('startTimer');
+
+        $('#bottomPanel').bottomPanel('init', true);
+        $("#topBarIcons").topBarIconsPlugin('init', 'dashboard');
+
+        evalInstalledApps();
+        window.intelIVI.main.init();
+
+        bootstrap.carIndicator.addListener({
+            onBatteryStatusChanged: function(newValue) {
+                var newBatteryStatus = newValue.toString() + "%";
+                $('#batteryStatus').html(newBatteryStatus);
+                var newBatteryRange = "~" + Math.round(((newValue / 100) * bootstrap.carIndicator.status.fullBatteryRange)).toString() + " MI";
+                $('#batteryRange').html(newBatteryRange);
+            },
+            onOutsideTempChanged: function(newValue) {
+                $("#weatherStatus").html(newValue + "°C");
+            },
+            onInsideTempChanged: function(newValue) {
+                $("#fanStatus").html(newValue + "°C");
+            },
+            onSpeedChanged: function(newValue) {
+                $("#homeScrSpeed").html(newValue);
+            },
+            onFullBatteryRange: function() {
+
+            }
+        });
+        bootstrap.themeEngine.addStatusListener(function() {
+            appList = [];
+            evalInstalledApps();
+        });
+
+    });
+
+    /* fixed webkit animation bugs */
+    window.setTimeout(function() {
+        window.setInterval(function() {
+            $("#innerRing").removeClass("rollLeft");
+            $("#outerRing").removeClass("rollRight");
+            window.setTimeout(function() {
+                $("#innerRing").addClass("rollLeft");
+                $("#outerRing").addClass("rollRight");
+            }, 50);
+
+        }, 10000);
+   }, 1000);
+    window.setTimeout(function() {
+        window.setInterval(function() {
+          $('#wrapper .step9').removeClass('liveBg');
+            window.setTimeout(function() {
+                $('#wrapper .step9').addClass('liveBg');
+            }, 50);
+
+        }, 7000);
+    }, 500);
+    /* end fixed webkit animation bugs */
+};
+
+$(function() {
+    "use strict";
+    // debug mode - window.setTimeout("init()", 20000);
+    init();
+});
+
+/**
+ * Store state of audio plugin before application closing.
+ * @method window.onbeforeunload
+ * @static
+ **/
+window.onbeforeunload = function() {
+    "use strict";
+    $('#audioPlayer').audioAPI('setStatusAll');
+};
+
+/**
+ * Provides inicialization of application content and starts animation.
+ * @class intelIVI.main
+ * @static
+ **/
+window.intelIVI.main = (window.intelIVI.main || {
+
+    /**
+     * Calls initialization of content.
+     * @method init
+     **/
+
+    init: function() {
+        "use strict";
+        var viewPort = window.intelIVI.corpus.init();
+        document.body.appendChild(viewPort);
+        window.intelIVI.utility.startAnimation(1);
+    },
+    /**
+     * Provides reloading of content.
+     * @method counterEnd
+     **/
+
+    counterEnd: function() {
+        "use strict";
+        window.location.reload();
+    }
+});
+
+function untouchable(param) {
+    "use strict";
+
+    setTimeout(function() {
+        animationOngoing = false;
+    }, param);
+}
+
+/**
+ * Provides initialization of animated application components.
+ * @class intelIVI.utility
+ * @static
+ **/
+window.intelIVI.utility = (window.intelIVI.utility || {
+    /**
+     * Starts initial animations on Homescreen.
+     * @method startAnimation
+     **/
+
+    startAnimation: function(index) {
+        "use strict";
+        $('#wrapper .step' + (index - 2)).css('opacity', '0');
+        $('#wrapper .step' + index).css('opacity', '0.4');
+        if (index === 10) {
+            $('#indicator').addClass('showI');
+            window.intelIVI.utility.showContent(1);
+            return;
+        }
+        var time = 40;
+        setTimeout(function() {
+            index++;
+            window.intelIVI.utility.startAnimation(index);
+        }, time);
+    },
+    /**
+     * Shows animated content pies one by one.
+     * @method showContent
+     **/
+
+    showContent: function(index) {
+        "use strict";
+        $('#content_ul .sector' + index).css('opacity', '1');
+        if (index === 4) {
+            $('#bottomPanel').addClass('showBP');
+            $('#dateTime').addClass('showDT');
+            $('#topBarIcons').addClass('showTBI');
+        }
+        if (index === 8) {
+            $('#wrapper .step9').css('opacity', '0.4');
+            $('#wrapper .step9').addClass('liveBg');
+            return;
+        }
+        setTimeout(function() {
+            index++;
+            window.intelIVI.utility.showContent(index);
+        }, 80);
+    }
+});
+
+/**
+ * Provides initialization of pie.
+ * @class intelIVI.corpus
+ * @static
+ **/
+window.intelIVI.corpus = (window.intelIVI.corpus || {
+    /**
+     * Create HTML elements of pie.
+     * @method init
+     **/
+    init: function() {
+        "use strict";
+        var i;
+        for (i = 1; i < 10; i++) {
+            var viewPortBg = document.createElement('div');
+            viewPortBg.className = "backGround step" + i;
+            /*global wrapper*/
+            wrapper.appendChild(viewPortBg);
+        }
+        /* global viewPort*/
+        wrapper.appendChild(viewPort);
+        return wrapper;
+    }
+});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/js/predefAppModel.js b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/js/predefAppModel.js
new file mode 100644 (file)
index 0000000..d69bb40
--- /dev/null
@@ -0,0 +1,152 @@
+/**
+ * Contains area definitions for applications radial menu and apps definitions.
+ * @class predefAppModel
+ * @module HomescreenApplication
+ **/
+/**
+ * Define center point of radial menu
+ * @property centerPoint
+ * @type Object
+ * @default {x: 360, y: 675}
+ * @static
+ **/
+var centerPoint = {x: 360, y: 675};
+
+/**
+ * Definitions of radial pie.
+ * Possible properties in contained Objects:
+ * name, id, action, sectorID, iconPath, shape, sc, lc, sa, la
+ * @property areasDefinitions
+ * @type Array
+ **/
+/**
+ * Name of an application
+ * @property name
+ * @type string
+ **/
+/**
+ * Id of an application
+ * @property id
+ * @type string
+ **/
+/**
+ * Action after click to defined area.
+ * @property action
+ * @type function
+ **/
+/**
+ * Sector id in context to homescreen pie sectors
+ * @property sectorID
+ * @type int
+ **/
+/**
+ * Path to app icon
+ * @property iconPath
+ * @type string
+ **/
+/**
+ * Define shape of clicking area
+ * @property shape
+ * @type string
+ **/
+/**
+ * Small circle - define distance from center, where pie sector starts (influence only if shape is pieWithoutCenter)
+ * @property sc
+ * @type int
+ **/
+/**
+ * Large circle - define distance from center, where pie sector ends
+ * @property lc
+ * @type int
+ **/
+/**
+ * Start angle - define starting ange of pie sector. Angle is based on zero angle(zero angle has a line, which is horizontal and starts in the center point) (influence only if shape is pieWithoutCenter).
+ * @property sa
+ * @type int
+ **/
+/**
+ * End angle - define ending angle of pie sector (influence only if shape is pieWithoutCenter).
+ * @property la
+ * @type int
+ **/
+var areasDefinitions = [ {
+       name: 'center',
+       id: null,
+       action: function () {
+               "use strict";
+               $("#homeScrAppGridView").fadeIn();
+       },
+       sectorId: 0,
+       lc: 70,
+       shape: 'cenerCircle'
+}, {
+       name: 'navigation',
+       id: 'xwalk.epacfkhfnnlaamkbaiedmohaeogbedkf',
+       iconPath: '../navigation/icon.png',
+       sectorId: 1,
+       sc: 104,
+       lc: 497,
+       sa:     61,
+       la:     117,
+       shape: 'pieWithoutCenter'
+}, {
+       name: "airconditioning",
+       id: 'xwalk.fmpbbfhmnlghfghbblcobiiedfbjgegp',
+       iconPath: '../dashboard/icon.png',
+       sectorId: 2,
+       sc: 94,         //small circle border
+       lc: 437,        //large circle border
+       sa:     11,             //smaller angle based on horizontal line which starts in center and continue right (right border)
+       la:     55,             //larger angle (left border)
+       shape: 'pieWithoutCenter'
+}, {
+       name: 'MultimediaPlayer',
+       id: 'xwalk.ilflnmejfmcdcdnjjgejnfbhhbfaaefb',
+       iconPath: '../musicplayer/icon.png',
+       sectorId: 3,
+       sc: 80,
+       lc: 392,
+       sa:     321,
+       la:     359.9,
+       shape: 'pieWithoutCenter'
+}, {
+       name: 'SmartDeviceLink',
+       id: 'xwalk.kiefmdieeelkgmnjldgklhlemjdkgpbm',
+       iconPath: '../smartdevicelink/icon.png',
+       sectorId: 4,
+       sc: 80,
+       lc: 384,
+       sa:     268,
+       la:     306,
+       shape: 'pieWithoutCenter'
+}, {
+       name: 'phone',
+       id: 'xwalk.nejoidhifdhhbogkaoimdcalkmllicab',
+       iconPath: '../phone/icon.png',
+       sectorId: 5,
+       sc: 82,
+       lc: 364,
+       sa:     217,
+       la:     264,
+       shape: 'pieWithoutCenter'
+}, {
+       name: 'store',
+       id: 'xwalk.ofalfnmcoplngiipflmdhdegilbfepoh',
+       iconPath: '../store/icon.png',
+       sectorId: 6,
+       sc: 82,
+       lc: 364,
+       sa:     170,
+       la:     212,
+       shape: 'pieWithoutCenter'
+}, {
+       name: 'dashboard',
+       id: 'xwalk.knojblgeighiodojgihegbmkbbadfpnk',
+       iconPath: '../dashboard/icon.png',
+       sectorId: 7,
+       sc: 105,
+       lc: 433,
+       sa:     126,
+       la:     160,
+       shape: 'pieWithoutCenter'
+} ];
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/manifest.json b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/manifest.json
new file mode 100644 (file)
index 0000000..cb899cd
--- /dev/null
@@ -0,0 +1,12 @@
+{
+  "name": "Modello Homescreen",
+  "version": "0.0.2",
+  "app": {
+    "launch":{
+      "local_path": "index.html"
+    }
+  },
+  "icons": {
+    "128": "Homescreen_icon.png"
+  }
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/packaging/modello-homescreen.changes b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/packaging/modello-homescreen.changes
new file mode 100644 (file)
index 0000000..6f3e813
--- /dev/null
@@ -0,0 +1,34 @@
+* Thu Jun 05 2014 brianjjones <brian.j.jones@intel.com> accepted/tizen/ivi/20140526.131006@dabff47
+- Fix for TIVI-3114.  Refactor Modello to start at launch with Xwalk
+
+* Thu May 22 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.232610@8b497ad
+- Fixes for IVI-3190 - To get things to render normally
+
+* Thu May 08 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.172522@617d429
+- Adding Modello to the app name to easily identify it
+
+* Tue May 06 2014 brianjjones <brian.j.jones@intel.com> submit/tizen/20140424.181930@b99f7ff
+- Updated to work with Crosswalk.  TIVI-3074
+
+* Thu Apr 24 2014 brianjjones <brian.j.jones@intel.com> submit/tizen/20140422.195849@b2c4efc
+- Adding a delay to the startup script to allow WRT to be ready
+
+* Mon Apr 21 2014 brianjjones <brian.j.jones@intel.com> submit/tizen/20140421.221822@b9ca10d
+- Removing weston / kernel changes. They may cause problems with different hardware.
+  User needs to set these manually based on their setup
+
+* Mon Apr 21 2014 brianjjones <brian.j.jones@intel.com> submit/tizen/20140417.163457@7c31faa
+- Fix for TIVI-2932 - Modello will now start automatically at boot.  It also sets up the
+  weston.ini file to work with it and disables VGA.  Upon deletion of the package all
+  settings will be restored to their previous state.
+
+* Wed Apr 16 2014 brianjjones <brian.j.jones@intel.com> submit/tizen/20140416.223008@796ffc4
+- Fixes TIVI-3004.  Now center pie buttons will launch their apps
+
+* Mon Apr 14 2014 brianjjones <brian.j.jones@intel.com> submit/tizen/20140404.163847@1ee31c5
+- Fixing image files
+- Changing file names
+
+* Thu Apr 03 2014 brianjjones <brian.j.jones@intel.com> 20280b5
+- Initial checkin of the Modello Homescreen UI
+
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/packaging/modello-homescreen.spec b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/packaging/modello-homescreen.spec
new file mode 100644 (file)
index 0000000..8e4f9a0
--- /dev/null
@@ -0,0 +1,38 @@
+Name:       Modello_Homescreen
+Summary:    A proof of concept pure html5 UI
+Version:    0.0.2
+Release:    1
+Group:      Applications/System
+License:    Apache 2.0
+URL:        http://www.tizen.org
+Source0:    %{name}-%{version}.tar.bz2
+BuildRequires:  zip
+Requires:   Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+    %make_install
+    mkdir -p %{buildroot}%{_bindir}
+    mkdir -p %{buildroot}%{_libdir}/systemd/user/weston.target.wants/
+    install -m 755 systemd/modello_launcher.sh %{buildroot}%{_bindir}
+    install -m 0644 systemd/Modello_Homescreen-launchpad-ready.path %{buildroot}%{_libdir}/systemd/user
+    install -m 0644 systemd/Modello_Homescreen.service %{buildroot}%{_libdir}/systemd/user
+    ln -sf systemd/Modello_Homescreen-launchpad-ready.path %{buildroot}%{_libdir}/systemd/user/weston.target.wants/
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_Homescreen.wgt
+/opt/usr/apps/_common/icons/Homescreen_icon.png
+%{_libdir}/systemd/user/Modello_Homescreen.service
+%{_libdir}/systemd/user/Modello_Homescreen-launchpad-ready.path
+%{_bindir}/modello_launcher.sh
+%{_libdir}/systemd/user/weston.target.wants
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/systemd/Modello_Homescreen-launchpad-ready.path b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/systemd/Modello_Homescreen-launchpad-ready.path
new file mode 100644 (file)
index 0000000..70d3a96
--- /dev/null
@@ -0,0 +1,8 @@
+# Description=Path activation for Modello_Homescreen
+
+[Path]
+PathExists=/run/user/%U/wayland-0
+Unit=Modello_Homescreen.service
+
+[Install]
+WantedBy=weston.target
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/systemd/Modello_Homescreen.service b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/systemd/Modello_Homescreen.service
new file mode 100644 (file)
index 0000000..7e5bc56
--- /dev/null
@@ -0,0 +1,8 @@
+[Unit]
+Description=Modello Homescreen
+Requires=weston.service
+After=weston.service
+
+[Service]
+Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/dbus/user_bus_socket
+ExecStart=/usr/bin/modello_launcher.sh --user app
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/systemd/modello_launcher.sh b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/project/systemd/modello_launcher.sh
new file mode 100644 (file)
index 0000000..5d1e02e
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+xwalk-launcher gomjednplfobbadlpflcmcglndlenbep -f
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/tizen-app-template.xml b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/tizen-app-template.xml
new file mode 100644 (file)
index 0000000..7f6749a
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<tizen-app-template xmlns="http://www.tizen.org/tizen-app-template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" template-version="" sdk-version="" icon32="tizen_32.png" icon64="tizen_64.png" xsi:schemaLocation="http://www.tizen.org/tizen-app-template tizen-app-template.xsd ">
+    <template-name>Modello_Homescreen</template-name>
+    <widget-type>TIZEN</widget-type>
+    <build-property key="usedLibraryType" value="Modello"/>
+    <description-file-name>description.xml</description-file-name>
+    <options>
+        <supportLibraries>
+        <library name="modello"/>
+        </supportLibraries>
+    </options>
+</tizen-app-template>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/tizen_32.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/tizen_32.png
new file mode 100644 (file)
index 0000000..a37c33e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/tizen_32.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Homescreen/tizen_64.png b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/tizen_64.png
new file mode 100644 (file)
index 0000000..f80f2ec
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Homescreen/tizen_64.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/description.xml b/samples/web/Sample/Tizen/Web App/Modello_Hvac/description.xml
new file mode 100644 (file)
index 0000000..dc8a3ec
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<?xml-stylesheet type="text/xsl" href="description.xsl"?>\r
+<Overview version="1.0">\r
+  <SampleName>Modello_Hvac</SampleName>\r
+  <SampleVersion>1.0.0</SampleVersion>\r
+  <Preview>Modello_Hvac-snapshot.png</Preview>\r
+  <Description>\r
+         Modello Hvac\r
+  </Description>\r
+</Overview>\r
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/description.xsl b/samples/web/Sample/Tizen/Web App/Modello_Hvac/description.xsl
new file mode 100644 (file)
index 0000000..1f4f57f
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+    This file provides a functionality to show template's description.xml in the project wizard.
+    Don't delete or move this file.
+ -->
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:template match="/">
+    <html>
+      <head>
+        <style type="text/css">
+          html,body {
+          font-family:Arial;
+          margin: 0px;
+          }
+          td
+          {
+          font-size:13px;
+          }
+          .samplename
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:26px;
+          background-color:#6d96ac;
+          }
+          .category
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:30px;
+          background-color:#6d96ac;
+          }
+          .contents
+          {
+          padding: 6px 10px 14px 10px;
+          }
+          table#widgets td
+          {
+          border: solid 1px #6d96ac;
+          border-collapse: collapse;
+          }
+          .widgetname
+          {
+          font-weight: bold;
+          text-align: center;
+          width: 20%;
+          word-break:break-all;
+          }
+          table#references td
+          {
+          width: 100%;
+          border: 0px;
+          border-spacing: 0px;
+          padding: 5px;
+          }
+          .refname
+          {
+          width: 100%;
+          font-weight: bold;
+          }
+        </style>
+      </head>
+      <body>
+        <table width="400px" border="0" cellspacing="0">
+          <tr>
+            <td class="samplename" align="center">
+              <xsl:value-of select="Overview/SampleName"/>
+              <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
+                         <!--
+              <xsl:value-of select="Overview/SampleVersion"/>
+                         -->
+            </td>
+          </tr>
+          <tr bgcolor="#FFFFFF">
+            <td class="contents">
+                         <strong>Type</strong>: JavaScript
+                         <p>
+              <xsl:value-of select="Overview/Description"/>
+                         </p>
+            </td>
+          </tr>
+          <tr>
+            <td align="center" bgcolor="#FFFFFF" height="260px">
+              <img>
+                <xsl:attribute name="src">
+                  <xsl:value-of select="Overview/Preview"/>
+                </xsl:attribute>
+              </img>
+            </td>
+          </tr>
+        </table>
+      </body>
+    </html>
+  </xsl:template>
+
+</xsl:stylesheet>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/HVAC_icon.png b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/HVAC_icon.png
new file mode 100644 (file)
index 0000000..e376e9a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/HVAC_icon.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/Makefile b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/Makefile
new file mode 100644 (file)
index 0000000..4e5e48c
--- /dev/null
@@ -0,0 +1,20 @@
+PROJECT = Modello_Hvac
+
+VERSION := 0.0.2
+PACKAGE = $(PROJECT)-$(VERSION)
+
+INSTALL_FILES = $(PROJECT).wgt
+INSTALL_DIR = ${DESTDIR}/opt/usr/apps/.preinstallWidgets
+
+wgtPkg:
+       zip -r $(PROJECT).wgt config.xml css HVAC_icon.png index.html js
+
+install:
+       @echo "Installing HVAC, stand by..."
+       mkdir -p $(INSTALL_DIR)/
+       mkdir -p ${DESTDIR}/opt/usr/apps/_common/icons
+       cp $(PROJECT).wgt $(INSTALL_DIR)/
+       cp HVAC_icon.png ${DESTDIR}/opt/usr/apps/_common/icons
+
+dist:
+       tar czf ../$(PACKAGE).tar.bz2 .
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/config.xml b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/config.xml
new file mode 100644 (file)
index 0000000..a637dfe
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://com.intel.tizen/hvac" version="1.0.0" viewmodes="fullscreen">
+    <tizen:application id="Modello006.Hvac" package="Modello006" required_version="2.1"/>
+    <content src="index.html"/>
+    <icon src="icon.png"/>
+    <name>Modello HVAC</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
+    <feature name="http://tizen.org/privilege/vehicle"/>
+    <tizen:privilege name="http://tizen.org/privilege/content.read" />
+    <tizen:privilege name="http://tizen.org/privilege/speech" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap" />
+    <tizen:setting screen-orientation="portrait" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/>
+</widget>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/index.html b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/index.html
new file mode 100644 (file)
index 0000000..e1dce97
--- /dev/null
@@ -0,0 +1,116 @@
+<!DOCTYPE HTML>
+<html>
+       <head>
+               <title>HVAC</title>
+               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+               <meta name="viewport" content="width=720, height=1280, user-scalable=no" />
+
+               <link rel="stylesheet" href="./css/car/car.css" />
+               <link rel="stylesheet" href="./css/car/components/topBarIcons/topBarIcons.css" />
+               <link rel="stylesheet" href="./css/car/components/incomingCall/incomingCall.css" />
+
+       <script type="text/javascript" src="./css/car/components/jQuery/jquery-1.8.2.js"></script>
+               <script type="text/javascript" src="./css/car/components/knockout/knockout.js"></script>
+
+       <script type="text/javascript" src="./css/car/car.js"></script>
+               <script type="text/javascript" src='./js/services/bootstrap.js'></script>
+               <script type='text/javascript' src='./js/services/carIndicator.js'></script>
+
+               <script type='text/javascript' src='./css/car/components/topBarIcons/topBarIcons.js'></script>
+               <script type="text/javascript" src="./css/car/components/bottomPanel/bottomPanel.js"></script>
+
+               <script type="text/javascript" src="js/ui/jquery-ui.min.js"></script>
+               <script type="text/javascript" src="js/jquery.event.drag-2.2.js"></script>
+               <script type="text/javascript" src="js/jquery.infinite-drag-carousel_noinfinite.js"></script>
+               <script type="text/javascript" src="js/jquery.nouislider.js"></script>
+
+               <script type='text/javascript' src='./js/hvacControler.js'></script>
+               <script type="text/javascript" src='./js/main.js'></script>
+       </head>
+       <body>
+               <div id="topBarIcons"></div>
+               <div class="wrapper">
+               <!--<div id="consoleLogger" style="color:#fff;"></div>-->
+                       <div class="static_parts_bg"></div>
+                       <div id="hazard_btn" class="hazard_btn"></div>
+
+                       <div id="left_seat_btn" class="left_seat_btn">
+                               <div class="left_heat_seat_off"></div>
+                               <div id="left_seat_btn_stage" class="left_heat_seat_on stage1"></div>
+                       </div>
+
+                       <div id="right_seat_btn" class="right_seat_btn">
+                               <div class="right_heat_seat_off"></div>
+                               <div id="right_seat_btn_stage" class="right_heat_seat_on stage1"></div>
+                       </div>
+
+                       <div class="left_num_cover"></div>
+                       <div class="left_num_bg">
+                               <div id="viewport" class="scrollable left">
+                                       <ul class="temperature">
+                                               <li>LO</li>
+                                               <li>16°</li>
+                                               <li>17°</li>
+                                               <li>18°</li>
+                                               <li>19°</li>
+                                               <li>20°</li>
+                                               <li>21°</li>
+                                               <li>22°</li>
+                                               <li>23°</li>
+                                               <li>24°</li>
+                                               <li>25°</li>
+                                               <li>26°</li>
+                                               <li>27°</li>
+                                               <li>28°</li>
+                                               <li>HI</li>
+                                               <li></li>
+                                       </ul>
+                               </div>
+                       </div>
+
+                       <div class="right_heat_seat"></div>
+                       <div class="right_num_cover"></div>
+                       <div class="right_num_bg">
+                               <div id="viewport" class="scrollable right">
+                                       <ul class="temperature">
+                                               <li>LO</li>
+                                               <li>16°</li>
+                                               <li>17°</li>
+                                               <li>18°</li>
+                                               <li>19°</li>
+                                               <li>20°</li>
+                                               <li>21°</li>
+                                               <li>22°</li>
+                                               <li>23°</li>
+                                               <li>24°</li>
+                                               <li>25°</li>
+                                               <li>26°</li>
+                                               <li>27°</li>
+                                               <li>28°</li>
+                                               <li>HI</li>
+                                               <li></li>
+                                       </ul>
+                               </div>
+                       </div>
+
+                       <div id="noUiSliderLeft" class="noUiSliderLeft"></div>
+                       <div id="noUiSliderRight" class="noUiSliderRight"></div>
+                       <div class="fanSpeedOn"></div>
+                       <div id ="fanSpeedSlider" class="noUiSliderFan"></div>
+
+                       <!-- buttons bottom-->
+                       <div id="fan_dir_up_btn" class="fan_dir_up_btn"></div>
+                       <div id="fan_dir_down_btn" class="fan_dir_down_btn"></div>
+                       <div id="fan_dir_right_btn" class="fan_dir_right_btn"></div>
+
+                       <div id="fan_control_ac" class="fan_control_ac"></div>
+                       <div id="fan_control_auto" class="fan_control_auto"></div>
+                       <div id="fan_control_circ" class="fan_control_circ"></div>
+
+                       <div id="defrost_max_btn" class="defrost_max_btn"></div>
+                       <div id="defrost_front_btn" class="defrost_front_btn"></div>
+                       <div id="defrost_rear_btn" class="defrost_rear_btn"></div>
+           </div>
+               <div id="bottomPanel" class="bottomPanel bottomPanelImg"></div>
+       </body>
+</html>
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/.DS_Store b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/.DS_Store
new file mode 100644 (file)
index 0000000..5008ddf
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/.DS_Store differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/hvacControler.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/hvacControler.js
new file mode 100644 (file)
index 0000000..f518953
--- /dev/null
@@ -0,0 +1,668 @@
+/*global bootstrap*/
+
+/**
+ * Class provides methods to fill the content of HVAC's UI.
+ * @class hvacControler
+ * @module HVACApplication
+ */
+var hvacControler = function() {
+       "use strict";
+       this.initButtons();
+};
+
+/**
+ * Holds statuses of connected buttons when turning Auto AC button ON.
+ * @property autoACStatus {Object}
+ */
+var autoACStatus = {
+       fanSpeed : 0,
+       airflowDirection : 0,
+       fan : false,
+       airRecirculation : false,
+       targetTemperatureRight : 0,
+       targetTemperatureLeft : 0,
+       maxDefrost : false
+};
+
+/**
+ * Holds hazard timer object.
+ * @property hazardTimer {Object}
+ */
+var hazardTimer;
+
+/**
+ * Holds interval value for hazard timer in ms.
+ * @property hazardTimerInterval {Integer}
+ * @default 1000
+ */
+var hazardTimerInterval = 1000;
+
+/**
+ * Implements hazard light blinking functionality.
+ * @property hazardLight
+ */
+var hazardLight = {
+       currentIndex : 1,
+       change : function() {
+               "use strict";
+               if (hazardLight.currentIndex === 0) {
+                       $("#hazard_btn").removeClass("blink");
+                       hazardLight.currentIndex = 1;
+               } else if (hazardLight.currentIndex === 1) {
+                       $("#hazard_btn").addClass("blink");
+                       hazardLight.currentIndex = 0;
+               }
+       }
+};
+
+/**
+ * Changes the status of AirflowDirection.
+ * @method changeAirflowDirectionStatus
+ * @param button {Object} AirflowDirection button
+ * @param currentStatus {Integer} current status of AirflowDirection
+ * @param value {Integer} AirflowDirection button value
+ * @return newStatus {Integer} a new status of AirflowDirection
+ */
+function changeAirflowDirectionStatus(button, currentStatus, value) {
+       "use strict";
+       var newStatus;
+       if ($(button).hasClass("on") === true) {
+               newStatus = currentStatus - value;
+       } else {
+               newStatus = currentStatus + value;
+       }
+       return newStatus;
+}
+
+/**
+ * Toggles the SeatHeater button to its corresponding value.
+ * @method toggleSeatHeaterButton
+ * @param status {Integer} status to toggle the SeatHeater button to
+ * @param button {Object} SeatHeater button to toggle
+ */
+function toggleSeatHeaterButton(status, button) {
+       "use strict";
+       if ((status >= 0) && (status <= 3)) {
+
+               // Setting SeatHeater button to OFF state
+               if ($(button).hasClass("stage4")) {
+                       $(button).removeClass("stage4");
+               }
+               if ($(button).hasClass("stage3")) {
+                       $(button).removeClass("stage3");
+               }
+               if ($(button).hasClass("stage2")) {
+                       $(button).removeClass("stage2");
+               }
+               if (!$(button).hasClass("stage1")) {
+                       $(button).addClass("stage1");
+               }
+
+               switch (status) {
+               case 0:
+                       // Nothing to do as SeatHeater button was set to OFF state above
+                       break;
+               case 1:
+                       $(button).addClass("stage2");
+                       break;
+               case 2:
+                       $(button).addClass("stage3");
+                       break;
+               case 3:
+                       $(button).addClass("stage4");
+                       break;
+               }
+       }
+}
+
+/**
+ * Toggles the button ON/OFF.
+ * @method toggleButton
+ * @param buttonStatus {Boolean} ON/OFF status of the button
+ * @param button {Object} button to toggle ON/OFF
+ */
+function toggleButton(buttonStatus, button) {
+       "use strict";
+       if (buttonStatus === true || buttonStatus === "true") {
+               $(button).addClass("on");
+       } else {
+               $(button).removeClass("on");
+       }
+}
+
+/**
+ * Turns the Auto AC button OFF.
+ * @method switchAutoACOff
+ */
+function switchAutoACOff() {
+       "use strict";
+       if ($("#fan_control_auto").hasClass("on")) {
+               $("#fan_control_auto").removeClass("on");
+       }
+}
+
+/**
+ * Gets the TargetTemperature slider value depending on temperature.
+ * @method getTargetTemperatureSliderValue
+ * @param temperature {Integer} temperature in Celsius degrees
+ * @return value {Integer} TargetTemperature slider value
+ */
+function getTargetTemperatureSliderValue(temperature) {
+       "use strict";
+       var value;
+       if (temperature > 28) {
+               value = 0;
+               switchAutoACOff();
+       } else if (temperature < 16) {
+               value = 14;
+               switchAutoACOff();
+       } else {
+               value = (temperature + 29) - (temperature * 2);
+       }
+       return value;
+}
+
+/**
+ * Sets AirflowDirection status to all the corresponding signals.
+ * @method setAirFlowDirectionStatus
+ * @param newStatus {Integer} a new AirflowDirection status value
+ */
+function setAirFlowDirectionStatus(newStatus) {
+       "use strict";
+       bootstrap.carIndicator.setStatus("airflowDirection", newStatus);
+       bootstrap.carIndicator.setStatus("FLHSDistrCmd", newStatus);
+       bootstrap.carIndicator.setStatus("FRHSDistrCmd", newStatus);
+}
+
+/**
+ * Sets the status of AirRecirculation button. Allows following values:
+ *
+ * * `true` - `ON` - also turns off Automatic AC mode
+ * * `false` - `OFF`
+ *
+ * @method onAirRecirculationChanged
+ * @param newStatus {Boolean} New status of AirRecirculation
+ */
+hvacControler.prototype.onAirRecirculationChanged = function(newStatus) {
+       "use strict";
+       if (newStatus === false || newStatus === "false") {
+               $("#fan_control_circ").removeClass("on");
+       } else {
+               $("#fan_control_circ").addClass("on");
+               switchAutoACOff();
+       }
+};
+
+/**
+ * Sets the status of A/C button. Allows following values:
+ *
+ * * `true` - `ON`
+ * * `false` - `OFF` - also turns off Automatic AC mode
+ *
+ * @method onFanChanged
+ * @param newStatus {Boolean} New status of AirConditioning
+ */
+hvacControler.prototype.onFanChanged = function(newStatus) {
+       "use strict";
+       if (newStatus === false || newStatus === "false") {
+               $("#fan_control_ac").removeClass("on");
+               switchAutoACOff();
+       } else {
+               $("#fan_control_ac").addClass("on");
+       }
+};
+
+/**
+ * Sets the status of FanSpeed button. Allows following values:
+ *
+ * * `0` = `OFF`
+ * * `1` - `8` = sets fan speed to this value and also turns off Automatic AC mode
+ *
+ * @method onFanSpeedChanged
+ * @param newStatus {Integer} new status of FanSpeed
+ */
+hvacControler.prototype.onFanSpeedChanged = function(newStatus) {
+       "use strict";
+       $("#fanSpeedSlider").val(newStatus);
+       $(".fanSpeedOn").css('width', parseInt($(".noUiSliderFan.horizontal.connect").find("a").css('left'), 10));
+       if (newStatus === 0) {
+               bootstrap.carIndicator.setStatus("airflowDirection", 0);
+       } else if (newStatus > 0) {
+               switchAutoACOff();
+       }
+};
+
+/**
+ * Sets the status of Right TargetTemperature slider and Right Temperature scrollable box.
+ * Temperature can be set to following values:
+ *
+ * * below `16` - `LOW`, also turns off Automatic AC mode
+ * * between `16` and `28` - exact temperature in Celsius degrees
+ * * above `28` - `HIGH`, also turns off Automatic AC mode
+ *
+ * @method onTargetTemperatureRightChanged
+ * @param newStatus {Integer} new status of Right TargetTemperature in Celsius degrees
+ */
+hvacControler.prototype.onTargetTemperatureRightChanged = function(newStatus) {
+       "use strict";
+       var value = getTargetTemperatureSliderValue(newStatus);
+       $("#noUiSliderRight").val(value);
+       $(".scrollable.right").find(".temperature").stop(true, true).animate({
+               "top" : (-680.0606 + (value * +48.57) + '%')
+       });
+};
+
+/**
+ * Sets the status of Left TargetTemperature slider and Left Temperature scrollable box.
+ * Temperature can be set to following values:
+ *
+ * * below `16` - `LOW`, also turns off Automatic AC mode
+ * * between `16` and `28` - exact temperature in Celsius degrees
+ * * above `28` - `HIGH`, also turns off Automatic AC mode
+ *
+ * @method onTargetTemperatureLeftChanged
+ * @param newStatus {Integer} new status of Left TargetTemperature in Celsius degrees
+ */
+hvacControler.prototype.onTargetTemperatureLeftChanged = function(newStatus) {
+       "use strict";
+       var value = getTargetTemperatureSliderValue(newStatus);
+       $("#noUiSliderLeft").val(value);
+       $(".scrollable.left").find(".temperature").stop(true, true).animate({
+               "top" : (-680.0606 + (value * +48.57) + '%')
+       });
+};
+
+/**
+ * Sets the status of Hazard button. Blink interval of hazard light can be configured
+ * using [hazardTimerInterval](../classes/hvacControler.html#property_hazardTimerInterval).
+ * @method onHazardChanged
+ * @param newStatus {Boolean} new status of the Hazard
+ */
+hvacControler.prototype.onHazardChanged = function(newStatus) {
+       "use strict";
+       if (newStatus === true || newStatus === "true") {
+               $("#hazard_btn").addClass("on");
+               hazardTimer = setInterval(hazardLight.change, hazardTimerInterval);
+       } else {
+               clearInterval(hazardTimer);
+               hazardTimer = null;
+               $("#hazard_btn").removeClass("on");
+               if ($("#hazard_btn").hasClass("blink") === true) {
+                       $("#hazard_btn").removeClass("blink");
+               }
+       }
+};
+
+/**
+ * Sets the status of Right SeatHeater button. Allows 4 levels of heating:
+ *
+ * * `0` - Off
+ * * `1` - Low
+ * * `2` - Normal
+ * * `3` - High
+ *
+ * @method onSeatHeaterRightChanged
+ * @param status {Integer} new status of Right SeatHeater
+ */
+hvacControler.prototype.onSeatHeaterRightChanged = function(status) {
+       "use strict";
+       toggleSeatHeaterButton(status, "#right_seat_btn_stage");
+};
+
+/**
+ * Sets the status of Left SeatHeater button. Allows 4 levels of heating:
+ *
+ * * `0` - Off
+ * * `1` - Low
+ * * `2` - Normal
+ * * `3` - High
+ *
+ * @method onSeatHeaterLeftChanged
+ * @param status {Integer} new status of Left SeatHeater
+ */
+hvacControler.prototype.onSeatHeaterLeftChanged = function(status) {
+       "use strict";
+       toggleSeatHeaterButton(status, "#left_seat_btn_stage");
+};
+
+/**
+ * Sets the status of AirflowDirection buttons to one of the following values:
+ *
+ * * `1` - `FOOT`
+ * * `2` - `FACE`
+ * * `4` - `SCREEN` - when disabled Max defrost mode is turned off as well.
+ *
+ * Values can be combined, e.g. `3` is `FOOT` + `FACE`. If any of these values is
+ * set Automatic AC mode is turned off.
+ *
+ * @method onAirflowDirectionChanged
+ * @param newStatus {Integer} new status of the AirflowDirection
+ */
+hvacControler.prototype.onAirflowDirectionChanged = function(newStatus) {
+       "use strict";
+       if ((newStatus >= 0) && (newStatus <= 7)) {
+
+               if (newStatus === 7) {
+                       // Setting all the buttons to ON state
+                       if ($("#fan_dir_up_btn").hasClass("on") === false) {
+                               $("#fan_dir_up_btn").addClass("on");
+                       }
+                       if ($("#fan_dir_down_btn").hasClass("on") === false) {
+                               $("#fan_dir_down_btn").addClass("on");
+                       }
+                       if ($("#fan_dir_right_btn").hasClass("on") === false) {
+                               $("#fan_dir_right_btn").addClass("on");
+                       }
+               } else {
+                       // Setting all the buttons to OFF state
+                       if ($("#fan_dir_up_btn").hasClass("on") === true) {
+                               $("#fan_dir_up_btn").removeClass("on");
+                       }
+                       if ($("#fan_dir_down_btn").hasClass("on") === true) {
+                               $("#fan_dir_down_btn").removeClass("on");
+                       }
+                       if ($("#fan_dir_right_btn").hasClass("on") === true) {
+                               $("#fan_dir_right_btn").removeClass("on");
+                       }
+               }
+
+               switch (newStatus) {
+               // AUTO state when all the buttons are OFF
+               case 0:
+                       // Nothing to do as all the buttons were set to OFF state above
+                       break;
+               // FOOT ON
+               case 1:
+                       $("#fan_dir_down_btn").addClass("on");
+                       break;
+               // FACE ON
+               case 2:
+                       $("#fan_dir_right_btn").addClass("on");
+                       break;
+               // FOOT ON, FACE ON
+               case 3:
+                       $("#fan_dir_down_btn").addClass("on");
+                       $("#fan_dir_right_btn").addClass("on");
+                       break;
+               // SCREEN ON
+               case 4:
+                       $("#fan_dir_up_btn").addClass("on");
+                       break;
+               // FOOT ON, SCREEN ON
+               case 5:
+                       $("#fan_dir_down_btn").addClass("on");
+                       $("#fan_dir_up_btn").addClass("on");
+                       break;
+               // SCREEN ON, FACE ON
+               case 6:
+                       $("#fan_dir_up_btn").addClass("on");
+                       $("#fan_dir_right_btn").addClass("on");
+                       break;
+               // FOOT ON, FACE ON, SCREEN ON
+               case 7:
+                       // Nothing to do as this option is handled above
+                       break;
+               }
+
+               // If SCREEN OFF, Max Defrost OFF
+               if ((newStatus >= 0) && (newStatus <= 3)) {
+                       if ($("#defrost_max_btn").hasClass("on")) {
+                               $("#defrost_max_btn").removeClass("on");
+                       }
+               }
+
+               if (newStatus > 0) {
+                       switchAutoACOff();
+               }
+       }
+};
+
+/**
+ * Sets the status of Rear Defrost button. Allows following values:
+ *
+ * * `true` - `ON`
+ * * `false` - `OFF`
+ *
+ * @method onRearDefrostChanged
+ * @param newStatus {Boolean} new status of the Rear Defrost
+ */
+hvacControler.prototype.onRearDefrostChanged = function(newStatus) {
+       "use strict";
+       toggleButton(newStatus, "#defrost_rear_btn");
+};
+
+/**
+ * Sets the status of Front Defrost button. Allows following values:
+ *
+ * * `true` - `ON`
+ * * `false` - `OFF`
+ *
+ * @method onFrontDefrostChanged
+ * @param newStatus {Boolean} new status of the Front Defrost
+ */
+hvacControler.prototype.onFrontDefrostChanged = function(newStatus) {
+       "use strict";
+       toggleButton(newStatus, "#defrost_front_btn");
+};
+
+/**
+ * HVAC buttons initialisation.
+ * @method initButtons
+ */
+hvacControler.prototype.initButtons = function() {
+       "use strict";
+       // Hazard
+       $("#hazard_btn").bind('click', function() {
+               bootstrap.carIndicator.setStatus("hazard", !bootstrap.carIndicator.status.hazard);
+               bootstrap.carIndicator.setStatus("DirectionIndicationINST", !bootstrap.carIndicator.status.hazard ? 3 : 0);
+               bootstrap.carIndicator.setStatus("DirectionIndicationMS", !bootstrap.carIndicator.status.hazard ? 3 : 0);
+       });
+       // A/C
+       $("#fan_control_ac").bind('click', function() {
+               bootstrap.carIndicator.setStatus("Fan", !bootstrap.carIndicator.status.fan);
+               bootstrap.carIndicator.setStatus("ACCommand", !bootstrap.carIndicator.status.fan);
+       });
+       // AUTO AC
+       $("#fan_control_auto").bind('click', function() {
+               if (!$("#fan_control_auto").hasClass("on")) {
+                       autoACStatus.fanSpeed = bootstrap.carIndicator.status.fanSpeed;
+                       autoACStatus.airflowDirection = bootstrap.carIndicator.status.airflowDirection;
+                       autoACStatus.fan = bootstrap.carIndicator.status.fan;
+                       autoACStatus.airRecirculation = bootstrap.carIndicator.status.airRecirculation;
+                       autoACStatus.targetTemperatureRight = bootstrap.carIndicator.status.targetTemperatureRight;
+                       autoACStatus.targetTemperatureLeft = bootstrap.carIndicator.status.targetTemperatureLeft;
+                       autoACStatus.maxDefrost = $("#defrost_max_btn").hasClass("on") ? true : false;
+
+                       if (autoACStatus.maxDefrost) {
+                               $("#defrost_max_btn").removeClass("on");
+                       }
+
+                       $("#fan_control_auto").addClass("on");
+
+                       bootstrap.carIndicator.setStatus("fanSpeed", 0);
+
+                       setAirFlowDirectionStatus(0);
+
+                       bootstrap.carIndicator.setStatus("Fan", true);
+                       bootstrap.carIndicator.setStatus("ACCommand", true);
+
+                       bootstrap.carIndicator.setStatus("airRecirculation", false);
+                       bootstrap.carIndicator.setStatus("RecircReq", 0);
+
+                       if (autoACStatus.targetTemperatureRight < 16 || autoACStatus.targetTemperatureRight > 28) {
+                               bootstrap.carIndicator.setStatus("targetTemperatureRight", 22);
+                               bootstrap.carIndicator.setStatus("FrontTSetRightCmd", 22);
+                       }
+                       if (autoACStatus.targetTemperatureLeft < 16 || autoACStatus.targetTemperatureLeft > 28) {
+                               bootstrap.carIndicator.setStatus("targetTemperatureLeft", 22);
+                               bootstrap.carIndicator.setStatus("FrontTSetLeftCmd", 22);
+                       }
+               } else {
+                       $("#fan_control_auto").removeClass("on");
+
+                       bootstrap.carIndicator.setStatus("fanSpeed", autoACStatus.fanSpeed);
+                       if (autoACStatus.fanSpeed > 0 && autoACStatus.fanSpeed < 9) {
+                               bootstrap.carIndicator.setStatus("FrontBlwrSpeedCmd", (autoACStatus.fanSpeed * 2) - 1);
+                       }
+
+                       setAirFlowDirectionStatus(autoACStatus.airflowDirection);
+
+                       bootstrap.carIndicator.setStatus("Fan", autoACStatus.fan);
+                       bootstrap.carIndicator.setStatus("ACCommand", autoACStatus.fan);
+
+                       bootstrap.carIndicator.setStatus("airRecirculation", autoACStatus.airRecirculation);
+                       bootstrap.carIndicator.setStatus("RecircReq", autoACStatus.airRecirculation ? 1 : 0);
+
+                       bootstrap.carIndicator.setStatus("targetTemperatureRight", autoACStatus.targetTemperatureRight);
+                       bootstrap.carIndicator.setStatus("FrontTSetRightCmd", autoACStatus.targetTemperatureRight);
+
+                       bootstrap.carIndicator.setStatus("targetTemperatureLeft", autoACStatus.targetTemperatureLeft);
+                       bootstrap.carIndicator.setStatus("FrontTSetLeftCmd", autoACStatus.targetTemperatureRight);
+
+                       if (autoACStatus.maxDefrost) {
+                               $("#defrost_max_btn").addClass("on");
+                       }
+               }
+       });
+       // AirRecirculation
+       $("#fan_control_circ").bind('click', function() {
+               bootstrap.carIndicator.setStatus("airRecirculation", !bootstrap.carIndicator.status.airRecirculation);
+               bootstrap.carIndicator.setStatus("RecircReq", !bootstrap.carIndicator.status.airRecirculation ? 1 : 0);
+       });
+       // SeatHeater - front right
+       $("#right_seat_btn").bind('click', function() {
+               var status = bootstrap.carIndicator.status.seatHeaterRight;
+               if (((status) >= 0) && ((status) <= 3)) {
+                       switch (status) {
+                       case 0:
+                       case 1:
+                       case 2:
+                               status = status + 1;
+                               break;
+                       case 3:
+                               status = 0;
+                               break;
+                       }
+                       bootstrap.carIndicator.setStatus("seatHeaterRight", status);
+
+                       if (status === 0) {
+                               bootstrap.carIndicator.setStatus("HeatedSeatFRModeRequest", 3);
+                       } else {
+                               bootstrap.carIndicator.setStatus("HeatedSeatFRModeRequest", 0);
+                       }
+
+                       var request;
+
+                       switch (status) {
+                       case 0:
+                       case 1:
+                               request = status;
+                               break;
+                       case 2:
+                               request = 3;
+                               break;
+                       case 3:
+                               request = 5;
+                               break;
+                       }
+
+                       bootstrap.carIndicator.setStatus("HeatedSeatFRRequest", request);
+               }
+       });
+       // SeatHeater - front left
+       $("#left_seat_btn").bind('click', function() {
+               var status = bootstrap.carIndicator.status.seatHeaterLeft;
+               if (((status) >= 0) && ((status) <= 3)) {
+                       switch (status) {
+                       case 0:
+                       case 1:
+                       case 2:
+                               status = status + 1;
+                               break;
+                       case 3:
+                               status = 0;
+                               break;
+                       }
+                       bootstrap.carIndicator.setStatus("seatHeaterLeft", status);
+
+                       if (status === 0) {
+                               bootstrap.carIndicator.setStatus("HeatedSeatFLModeRequest", 3);
+                       } else {
+                               bootstrap.carIndicator.setStatus("HeatedSeatFLModeRequest", 0);
+                       }
+
+                       var request;
+
+                       switch (status) {
+                       case 0:
+                       case 1:
+                               request = status;
+                               break;
+                       case 2:
+                               request = 3;
+                               break;
+                       case 3:
+                               request = 5;
+                               break;
+                       }
+
+                       bootstrap.carIndicator.setStatus("HeatedSeatFLRequest", request);
+               }
+       });
+       // AirflowDirection - FloorDuct - 1 (FOOT)
+       $("#fan_dir_down_btn").bind('click', function() {
+               var currentStatus = bootstrap.carIndicator.status.airflowDirection;
+               if ((currentStatus >= 0) && (currentStatus <= 7) && (bootstrap.carIndicator.status.fanSpeed !== 0)) {
+                       var newStatus = changeAirflowDirectionStatus("#fan_dir_down_btn", currentStatus, 1);
+                       setAirFlowDirectionStatus(newStatus);
+               }
+       });
+       // AirflowDirection - Defroster - 4 (SCREEN)
+       $("#fan_dir_up_btn").bind('click', function() {
+               var currentStatus = bootstrap.carIndicator.status.airflowDirection;
+               if ((currentStatus >= 0) && (currentStatus <= 7) && (bootstrap.carIndicator.status.fanSpeed !== 0)) {
+                       var newStatus = changeAirflowDirectionStatus("#fan_dir_up_btn", currentStatus, 4);
+                       setAirFlowDirectionStatus(newStatus);
+               }
+       });
+       // AirflowDirection - Front - 2 (FACE)
+       $("#fan_dir_right_btn").bind('click', function() {
+               var currentStatus = bootstrap.carIndicator.status.airflowDirection;
+               if ((currentStatus >= 0) && (currentStatus <= 7) && (bootstrap.carIndicator.status.fanSpeed !== 0)) {
+                       var newStatus = changeAirflowDirectionStatus("#fan_dir_right_btn", currentStatus, 2);
+                       setAirFlowDirectionStatus(newStatus);
+               }
+       });
+       // Max Defrost
+       $("#defrost_max_btn").bind('click', function() {
+               if ($("#defrost_max_btn").hasClass("on")) {
+                       $("#defrost_max_btn").removeClass("on");
+               } else {
+                       $("#defrost_max_btn").addClass("on");
+
+                       if (bootstrap.carIndicator.status.targetTemperatureLeft < 16) {
+                               bootstrap.carIndicator.setStatus("targetTemperatureLeft", 16);
+                               bootstrap.carIndicator.setStatus("FrontTSetLeftCmd", 16);
+                       }
+                       if (bootstrap.carIndicator.status.targetTemperatureLeft > 28) {
+                               bootstrap.carIndicator.setStatus("targetTemperatureLeft", 28);
+                               bootstrap.carIndicator.setStatus("FrontTSetLeftCmd", 28);
+                       }
+
+                       bootstrap.carIndicator.setStatus("fanSpeed", 8);
+                       bootstrap.carIndicator.setStatus("FrontBlwrSpeedCmd", 15);
+
+                       setAirFlowDirectionStatus(7);
+
+                       switchAutoACOff();
+               }
+       });
+       // Defrost - Rear
+       $("#defrost_rear_btn").bind('click', function() {
+               bootstrap.carIndicator.setStatus("rearDefrost", !bootstrap.carIndicator.status.rearDefrost);
+       });
+       // Defrost - Front
+       $("#defrost_front_btn").bind('click', function() {
+               bootstrap.carIndicator.setStatus("frontDefrost", !bootstrap.carIndicator.status.frontDefrost);
+       });
+};
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/jquery-1.9.1.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/jquery-1.9.1.min.js
new file mode 100644 (file)
index 0000000..006e953
--- /dev/null
@@ -0,0 +1,5 @@
+/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license
+//@ sourceMappingURL=jquery.min.map
+*/(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return new b.fn.init(e,t,r)},x=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^[\],:{}\s]*$/,E=/(?:^|:|,)(?:\s*\[)+/g,S=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,A=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,j=/^-ms-/,D=/-([\da-z])/gi,L=function(e,t){return t.toUpperCase()},H=function(e){(o.addEventListener||"load"===e.type||"complete"===o.readyState)&&(q(),b.ready())},q=function(){o.addEventListener?(o.removeEventListener("DOMContentLoaded",H,!1),e.removeEventListener("load",H,!1)):(o.detachEvent("onreadystatechange",H),e.detachEvent("onload",H))};b.fn=b.prototype={jquery:p,constructor:b,init:function(e,n,r){var i,a;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof b?n[0]:n,b.merge(this,b.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:o,!0)),C.test(i[1])&&b.isPlainObject(n))for(i in n)b.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(a=o.getElementById(i[2]),a&&a.parentNode){if(a.id!==i[2])return r.find(e);this.length=1,this[0]=a}return this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):b.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),b.makeArray(e,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return h.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return b.each(this,e,t)},ready:function(e){return b.ready.promise().done(e),this},slice:function(){return this.pushStack(h.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(b.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:d,sort:[].sort,splice:[].splice},b.fn.init.prototype=b.fn,b.extend=b.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},u=2),"object"==typeof s||b.isFunction(s)||(s={}),l===u&&(s=this,--u);l>u;u++)if(null!=(o=arguments[u]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(b.isPlainObject(r)||(n=b.isArray(r)))?(n?(n=!1,a=e&&b.isArray(e)?e:[]):a=e&&b.isPlainObject(e)?e:{},s[i]=b.extend(c,a,r)):r!==t&&(s[i]=r));return s},b.extend({noConflict:function(t){return e.$===b&&(e.$=u),t&&e.jQuery===b&&(e.jQuery=s),b},isReady:!1,readyWait:1,holdReady:function(e){e?b.readyWait++:b.ready(!0)},ready:function(e){if(e===!0?!--b.readyWait:!b.isReady){if(!o.body)return setTimeout(b.ready);b.isReady=!0,e!==!0&&--b.readyWait>0||(n.resolveWith(o,[b]),b.fn.trigger&&b(o).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===b.type(e)},isArray:Array.isArray||function(e){return"array"===b.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[m.call(e)]||"object":typeof e},isPlainObject:function(e){if(!e||"object"!==b.type(e)||e.nodeType||b.isWindow(e))return!1;try{if(e.constructor&&!y.call(e,"constructor")&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||y.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||o;var r=C.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=b.buildFragment([e],t,i),i&&b(i).remove(),b.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=b.trim(n),n&&k.test(n.replace(S,"@").replace(A,"]").replace(E,"")))?Function("return "+n)():(b.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||b.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&b.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(j,"ms-").replace(D,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:v&&!v.call("\ufeff\u00a0")?function(e){return null==e?"":v.call(e)}:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?b.merge(n,"string"==typeof e?[e]:e):d.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(g)return g.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return f.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),b.isFunction(e)?(r=h.call(arguments,2),i=function(){return e.apply(n||this,r.concat(h.call(arguments)))},i.guid=e.guid=e.guid||b.guid++,i):t},access:function(e,n,r,i,o,a,s){var u=0,l=e.length,c=null==r;if("object"===b.type(r)){o=!0;for(u in r)b.access(e,n,u,r[u],!0,a,s)}else if(i!==t&&(o=!0,b.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(b(e),n)})),n))for(;l>u;u++)n(e[u],r,s?i:i.call(e[u],u,n(e[u],r)));return o?e:c?n.call(e):l?n(e[0],r):a},now:function(){return(new Date).getTime()}}),b.ready.promise=function(t){if(!n)if(n=b.Deferred(),"complete"===o.readyState)setTimeout(b.ready);else if(o.addEventListener)o.addEventListener("DOMContentLoaded",H,!1),e.addEventListener("load",H,!1);else{o.attachEvent("onreadystatechange",H),e.attachEvent("onload",H);var r=!1;try{r=null==e.frameElement&&o.documentElement}catch(i){}r&&r.doScroll&&function a(){if(!b.isReady){try{r.doScroll("left")}catch(e){return setTimeout(a,50)}q(),b.ready()}}()}return n.promise(t)},b.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=b.type(e);return b.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=b(o);var _={};function F(e){var t=_[e]={};return b.each(e.match(w)||[],function(e,n){t[n]=!0}),t}b.Callbacks=function(e){e="string"==typeof e?_[e]||F(e):b.extend({},e);var n,r,i,o,a,s,u=[],l=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=u.length,n=!0;u&&o>a;a++)if(u[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,u&&(l?l.length&&c(l.shift()):r?u=[]:p.disable())},p={add:function(){if(u){var t=u.length;(function i(t){b.each(t,function(t,n){var r=b.type(n);"function"===r?e.unique&&p.has(n)||u.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=u.length:r&&(s=t,c(r))}return this},remove:function(){return u&&b.each(arguments,function(e,t){var r;while((r=b.inArray(t,u,r))>-1)u.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?b.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],this},disable:function(){return u=l=r=t,this},disabled:function(){return!u},lock:function(){return l=t,r||p.disable(),this},locked:function(){return!l},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!u||i&&!l||(n?l.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},b.extend({Deferred:function(e){var t=[["resolve","done",b.Callbacks("once memory"),"resolved"],["reject","fail",b.Callbacks("once memory"),"rejected"],["notify","progress",b.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return b.Deferred(function(n){b.each(t,function(t,o){var a=o[0],s=b.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&b.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?b.extend(e,r):r}},i={};return r.pipe=r.then,b.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=h.call(arguments),r=n.length,i=1!==r||e&&b.isFunction(e.promise)?r:0,o=1===i?e:b.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?h.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,u,l;if(r>1)for(s=Array(r),u=Array(r),l=Array(r);r>t;t++)n[t]&&b.isFunction(n[t].promise)?n[t].promise().done(a(t,l,n)).fail(o.reject).progress(a(t,u,s)):--i;return i||o.resolveWith(l,n),o.promise()}}),b.support=function(){var t,n,r,a,s,u,l,c,p,f,d=o.createElement("div");if(d.setAttribute("className","t"),d.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*"),r=d.getElementsByTagName("a")[0],!n||!r||!n.length)return{};s=o.createElement("select"),l=s.appendChild(o.createElement("option")),a=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={getSetAttribute:"t"!==d.className,leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:"/a"===r.getAttribute("href"),opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:!!a.value,optSelected:l.selected,enctype:!!o.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==o.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===o.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!l.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}a=o.createElement("input"),a.setAttribute("value",""),t.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","t"),a.setAttribute("name","t"),u=o.createDocumentFragment(),u.appendChild(a),t.appendChecked=a.checked,t.checkClone=u.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;return d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip,b(function(){var n,r,a,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",u=o.getElementsByTagName("body")[0];u&&(n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",u.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",a=d.getElementsByTagName("td"),a[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===a[0].offsetHeight,a[0].style.display="",a[1].style.display="none",t.reliableHiddenOffsets=p&&0===a[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=4===d.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==u.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(o.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(u.style.zoom=1)),u.removeChild(n),n=d=a=r=null)}),n=s=u=l=r=a=null,t}();var O=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,B=/([A-Z])/g;function P(e,n,r,i){if(b.acceptData(e)){var o,a,s=b.expando,u="string"==typeof n,l=e.nodeType,p=l?b.cache:e,f=l?e[s]:e[s]&&s;if(f&&p[f]&&(i||p[f].data)||!u||r!==t)return f||(l?e[s]=f=c.pop()||b.guid++:f=s),p[f]||(p[f]={},l||(p[f].toJSON=b.noop)),("object"==typeof n||"function"==typeof n)&&(i?p[f]=b.extend(p[f],n):p[f].data=b.extend(p[f].data,n)),o=p[f],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[b.camelCase(n)]=r),u?(a=o[n],null==a&&(a=o[b.camelCase(n)])):a=o,a}}function R(e,t,n){if(b.acceptData(e)){var r,i,o,a=e.nodeType,s=a?b.cache:e,u=a?e[b.expando]:b.expando;if(s[u]){if(t&&(o=n?s[u]:s[u].data)){b.isArray(t)?t=t.concat(b.map(t,b.camelCase)):t in o?t=[t]:(t=b.camelCase(t),t=t in o?[t]:t.split(" "));for(r=0,i=t.length;i>r;r++)delete o[t[r]];if(!(n?$:b.isEmptyObject)(o))return}(n||(delete s[u].data,$(s[u])))&&(a?b.cleanData([e],!0):b.support.deleteExpando||s!=s.window?delete s[u]:s[u]=null)}}}b.extend({cache:{},expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?b.cache[e[b.expando]]:e[b.expando],!!e&&!$(e)},data:function(e,t,n){return P(e,t,n)},removeData:function(e,t){return R(e,t)},_data:function(e,t,n){return P(e,t,n,!0)},_removeData:function(e,t){return R(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&b.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),b.fn.extend({data:function(e,n){var r,i,o=this[0],a=0,s=null;if(e===t){if(this.length&&(s=b.data(o),1===o.nodeType&&!b._data(o,"parsedAttrs"))){for(r=o.attributes;r.length>a;a++)i=r[a].name,i.indexOf("data-")||(i=b.camelCase(i.slice(5)),W(o,i,s[i]));b._data(o,"parsedAttrs",!0)}return s}return"object"==typeof e?this.each(function(){b.data(this,e)}):b.access(this,function(n){return n===t?o?W(o,e,b.data(o,e)):null:(this.each(function(){b.data(this,e,n)}),t)},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function W(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(B,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:O.test(r)?b.parseJSON(r):r}catch(o){}b.data(e,n,r)}else r=t}return r}function $(e){var t;for(t in e)if(("data"!==t||!b.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}b.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=b._data(e,n),r&&(!i||b.isArray(r)?i=b._data(e,n,b.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=b.queue(e,t),r=n.length,i=n.shift(),o=b._queueHooks(e,t),a=function(){b.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),o.cur=i,i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return b._data(e,n)||b._data(e,n,{empty:b.Callbacks("once memory").add(function(){b._removeData(e,t+"queue"),b._removeData(e,n)})})}}),b.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?b.queue(this[0],e):n===t?this:this.each(function(){var t=b.queue(this,e,n);b._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&b.dequeue(this,e)})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},delay:function(e,t){return e=b.fx?b.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=b.Deferred(),a=this,s=this.length,u=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=b._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(u));return u(),o.promise(n)}});var I,z,X=/[\t\r\n]/g,U=/\r/g,V=/^(?:input|select|textarea|button|object)$/i,Y=/^(?:a|area)$/i,J=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,G=/^(?:checked|selected)$/i,Q=b.support.getSetAttribute,K=b.support.input;b.fn.extend({attr:function(e,t){return b.access(this,b.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,t){return b.access(this,b.prop,e,t,arguments.length>1)},removeProp:function(e){return e=b.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,u="string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=b.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,u=0===arguments.length||"string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?b.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return b.isFunction(e)?this.each(function(n){b(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var o,a=0,s=b(this),u=t,l=e.match(w)||[];while(o=l[a++])u=r?u:!s.hasClass(o),s[u?"addClass":"removeClass"](o)}else(n===i||"boolean"===n)&&(this.className&&b._data(this,"__className__",this.className),this.className=this.className||e===!1?"":b._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(X," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=b.isFunction(e),this.each(function(n){var o,a=b(this);1===this.nodeType&&(o=i?e.call(this,n,a.val()):e,null==o?o="":"number"==typeof o?o+="":b.isArray(o)&&(o=b.map(o,function(e){return null==e?"":e+""})),r=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=b.valHooks[o.type]||b.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(U,""):null==n?"":n)}}}),b.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,u=0>i?s:o?i:0;for(;s>u;u++)if(n=r[u],!(!n.selected&&u!==i||(b.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&b.nodeName(n.parentNode,"optgroup"))){if(t=b(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n=b.makeArray(t);return b(e).find("option").each(function(){this.selected=b.inArray(b(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attr:function(e,n,r){var o,a,s,u=e.nodeType;if(e&&3!==u&&8!==u&&2!==u)return typeof e.getAttribute===i?b.prop(e,n,r):(a=1!==u||!b.isXMLDoc(e),a&&(n=n.toLowerCase(),o=b.attrHooks[n]||(J.test(n)?z:I)),r===t?o&&a&&"get"in o&&null!==(s=o.get(e,n))?s:(typeof e.getAttribute!==i&&(s=e.getAttribute(n)),null==s?t:s):null!==r?o&&a&&"set"in o&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r):(b.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(w);if(o&&1===e.nodeType)while(n=o[i++])r=b.propFix[n]||n,J.test(n)?!Q&&G.test(n)?e[b.camelCase("default-"+n)]=e[r]=!1:e[r]=!1:b.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!b.support.radioValue&&"radio"===t&&b.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},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(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!b.isXMLDoc(e),a&&(n=b.propFix[n]||n,o=b.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):V.test(e.nodeName)||Y.test(e.nodeName)&&e.href?0:t}}}}),z={get:function(e,n){var r=b.prop(e,n),i="boolean"==typeof r&&e.getAttribute(n),o="boolean"==typeof r?K&&Q?null!=i:G.test(n)?e[b.camelCase("default-"+n)]:!!i:e.getAttributeNode(n);return o&&o.value!==!1?n.toLowerCase():t},set:function(e,t,n){return t===!1?b.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&b.propFix[n]||n,n):e[b.camelCase("default-"+n)]=e[n]=!0,n}},K&&Q||(b.attrHooks.value={get:function(e,n){var r=e.getAttributeNode(n);return b.nodeName(e,"input")?e.defaultValue:r&&r.specified?r.value:t},set:function(e,n,r){return b.nodeName(e,"input")?(e.defaultValue=n,t):I&&I.set(e,n,r)}}),Q||(I=b.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&("id"===n||"name"===n||"coords"===n?""!==r.value:r.specified)?r.value:t},set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},b.attrHooks.contenteditable={get:I.get,set:function(e,t,n){I.set(e,""===t?!1:t,n)}},b.each(["width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}})})),b.support.hrefNormalized||(b.each(["href","src","width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return null==r?t:r}})}),b.each(["href","src"],function(e,t){b.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}})),b.support.style||(b.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),b.support.optSelected||(b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),b.support.enctype||(b.propFix.enctype="encoding"),b.support.checkOn||b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,n){return b.isArray(n)?e.checked=b.inArray(b(e).val(),n)>=0:t}})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}b.event={global:{},add:function(e,n,r,o,a){var s,u,l,c,p,f,d,h,g,m,y,v=b._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=b.guid++),(u=v.events)||(u=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof b===i||e&&b.event.triggered===e.type?t:b.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(w)||[""],l=n.length;while(l--)s=rt.exec(n[l])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),p=b.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=b.event.special[g]||{},d=b.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&b.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=u[g])||(h=u[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),b.event.global[g]=!0;e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,p,f,d,h,g,m=b.hasData(e)&&b._data(e);if(m&&(c=m.events)){t=(t||"").match(w)||[""],l=t.length;while(l--)if(s=rt.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=b.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));u&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||b.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)b.event.remove(e,d+t[l],n,r,!0);b.isEmptyObject(c)&&(delete m.handle,b._removeData(e,"events"))}},trigger:function(n,r,i,a){var s,u,l,c,p,f,d,h=[i||o],g=y.call(n,"type")?n.type:n,m=y.call(n,"namespace")?n.namespace.split("."):[];if(l=f=i=i||o,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+b.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),u=0>g.indexOf(":")&&"on"+g,n=n[b.expando]?n:new b.Event(g,"object"==typeof n&&n),n.isTrigger=!0,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:b.makeArray(r,[n]),p=b.event.special[g]||{},a||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!a&&!p.noBubble&&!b.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(l=l.parentNode);l;l=l.parentNode)h.push(l),f=l;f===(i.ownerDocument||o)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((l=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(b._data(l,"events")||{})[n.type]&&b._data(l,"handle"),s&&s.apply(l,r),s=u&&l[u],s&&b.acceptData(l)&&s.apply&&s.apply(l,r)===!1&&n.preventDefault();if(n.type=g,!(a||n.isDefaultPrevented()||p._default&&p._default.apply(i.ownerDocument,r)!==!1||"click"===g&&b.nodeName(i,"a")||!b.acceptData(i)||!u||!i[g]||b.isWindow(i))){f=i[u],f&&(i[u]=null),b.event.triggered=g;try{i[g]()}catch(v){}b.event.triggered=t,f&&(i[u]=f)}return n.result}},dispatch:function(e){e=b.event.fix(e);var n,r,i,o,a,s=[],u=h.call(arguments),l=(b._data(this,"events")||{})[e.type]||[],c=b.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=b.event.handlers.call(this,e,l),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((b.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,u),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],u=n.delegateCount,l=e.target;if(u&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==e.type)){for(o=[],a=0;u>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?b(r,this).index(l)>=0:b.find(r,this,null,[l]).length),o[r]&&o.push(i);o.length&&s.push({elem:l,handlers:o})}return n.length>u&&s.push({elem:this,handlers:n.slice(u)}),s},fix:function(e){if(e[b.expando])return e;var t,n,r,i=e.type,a=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new b.Event(a),t=r.length;while(t--)n=r[t],e[n]=a[n];return e.target||(e.target=a.srcElement||o),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,a):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,a,s=n.button,u=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||o,a=i.documentElement,r=i.body,e.pageX=n.clientX+(a&&a.scrollLeft||r&&r.scrollLeft||0)-(a&&a.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(a&&a.scrollTop||r&&r.scrollTop||0)-(a&&a.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&u&&(e.relatedTarget=u===e.target?n.toElement:u),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},click:{trigger:function(){return b.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t}},focus:{trigger:function(){if(this!==o.activeElement&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===o.activeElement&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=b.extend(new b.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?b.event.trigger(i,null,t):b.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},b.removeEvent=o.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},b.Event=function(e,n){return this instanceof b.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&b.extend(this,n),this.timeStamp=e&&e.timeStamp||b.now(),this[b.expando]=!0,t):new b.Event(e,n)},b.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){b.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;
+return(!i||i!==r&&!b.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),b.support.submitBubbles||(b.event.special.submit={setup:function(){return b.nodeName(this,"form")?!1:(b.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=b.nodeName(n,"input")||b.nodeName(n,"button")?n.form:t;r&&!b._data(r,"submitBubbles")&&(b.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),b._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&b.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return b.nodeName(this,"form")?!1:(b.event.remove(this,"._submit"),t)}}),b.support.changeBubbles||(b.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(b.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),b.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),b.event.simulate("change",this,e,!0)})),!1):(b.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!b._data(t,"changeBubbles")&&(b.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||b.event.simulate("change",this.parentNode,e,!0)}),b._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return b.event.remove(this,"._change"),!Z.test(this.nodeName)}}),b.support.focusinBubbles||b.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){b.event.simulate(t,e.target,b.event.fix(e),!0)};b.event.special[t]={setup:function(){0===n++&&o.addEventListener(e,r,!0)},teardown:function(){0===--n&&o.removeEventListener(e,r,!0)}}}),b.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return b().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=b.guid++)),this.each(function(){b.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,b(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){b.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){b.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?b.event.trigger(e,n,r,!0):t}}),function(e,t){var n,r,i,o,a,s,u,l,c,p,f,d,h,g,m,y,v,x="sizzle"+-new Date,w=e.document,T={},N=0,C=0,k=it(),E=it(),S=it(),A=typeof t,j=1<<31,D=[],L=D.pop,H=D.push,q=D.slice,M=D.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},_="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=F.replace("w","w#"),B="([*^$|!~]?=)",P="\\["+_+"*("+F+")"+_+"*(?:"+B+_+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+O+")|)|)"+_+"*\\]",R=":("+F+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+P.replace(3,8)+")*)|.*)\\)|)",W=RegExp("^"+_+"+|((?:^|[^\\\\])(?:\\\\.)*)"+_+"+$","g"),$=RegExp("^"+_+"*,"+_+"*"),I=RegExp("^"+_+"*([\\x20\\t\\r\\n\\f>+~])"+_+"*"),z=RegExp(R),X=RegExp("^"+O+"$"),U={ID:RegExp("^#("+F+")"),CLASS:RegExp("^\\.("+F+")"),NAME:RegExp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:RegExp("^("+F.replace("w","w*")+")"),ATTR:RegExp("^"+P),PSEUDO:RegExp("^"+R),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+_+"*(even|odd|(([+-]|)(\\d*)n|)"+_+"*(?:([+-]|)"+_+"*(\\d+)|))"+_+"*\\)|)","i"),needsContext:RegExp("^"+_+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+_+"*((?:-\\d)?\\d*)"+_+"*\\)|)(?=[^-]|$)","i")},V=/[\x20\t\r\n\f]*[+~]/,Y=/^[^{]+\{\s*\[native code/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,K=/'|\\/g,Z=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,et=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,tt=function(e,t){var n="0x"+t-65536;return n!==n?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(55296|n>>10,56320|1023&n)};try{q.call(w.documentElement.childNodes,0)[0].nodeType}catch(nt){q=function(e){var t,n=[];while(t=this[e++])n.push(t);return n}}function rt(e){return Y.test(e+"")}function it(){var e,t=[];return e=function(n,r){return t.push(n+=" ")>i.cacheLength&&delete e[t.shift()],e[n]=r}}function ot(e){return e[x]=!0,e}function at(e){var t=p.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}}function st(e,t,n,r){var i,o,a,s,u,l,f,g,m,v;if((t?t.ownerDocument||t:w)!==p&&c(t),t=t||p,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(!d&&!r){if(i=J.exec(e))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&y(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return H.apply(n,q.call(t.getElementsByTagName(e),0)),n;if((a=i[3])&&T.getByClassName&&t.getElementsByClassName)return H.apply(n,q.call(t.getElementsByClassName(a),0)),n}if(T.qsa&&!h.test(e)){if(f=!0,g=x,m=t,v=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){l=ft(e),(f=t.getAttribute("id"))?g=f.replace(K,"\\$&"):t.setAttribute("id",g),g="[id='"+g+"'] ",u=l.length;while(u--)l[u]=g+dt(l[u]);m=V.test(e)&&t.parentNode||t,v=l.join(",")}if(v)try{return H.apply(n,q.call(m.querySelectorAll(v),0)),n}catch(b){}finally{f||t.removeAttribute("id")}}}return wt(e.replace(W,"$1"),t,n,r)}a=st.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},c=st.setDocument=function(e){var n=e?e.ownerDocument||e:w;return n!==p&&9===n.nodeType&&n.documentElement?(p=n,f=n.documentElement,d=a(n),T.tagNameNoComments=at(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),T.attributes=at(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),T.getByClassName=at(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",e.getElementsByClassName&&e.getElementsByClassName("e").length?(e.lastChild.className="e",2===e.getElementsByClassName("e").length):!1}),T.getByName=at(function(e){e.id=x+0,e.innerHTML="<a name='"+x+"'></a><div name='"+x+"'></div>",f.insertBefore(e,f.firstChild);var t=n.getElementsByName&&n.getElementsByName(x).length===2+n.getElementsByName(x+0).length;return T.getIdNotName=!n.getElementById(x),f.removeChild(e),t}),i.attrHandle=at(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==A&&"#"===e.firstChild.getAttribute("href")})?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},T.getIdNotName?(i.find.ID=function(e,t){if(typeof t.getElementById!==A&&!d){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){return e.getAttribute("id")===t}}):(i.find.ID=function(e,n){if(typeof n.getElementById!==A&&!d){var r=n.getElementById(e);return r?r.id===e||typeof r.getAttributeNode!==A&&r.getAttributeNode("id").value===e?[r]:t:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){var n=typeof e.getAttributeNode!==A&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=T.tagNameNoComments?function(e,n){return typeof n.getElementsByTagName!==A?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},i.find.NAME=T.getByName&&function(e,n){return typeof n.getElementsByName!==A?n.getElementsByName(name):t},i.find.CLASS=T.getByClassName&&function(e,n){return typeof n.getElementsByClassName===A||d?t:n.getElementsByClassName(e)},g=[],h=[":focus"],(T.qsa=rt(n.querySelectorAll))&&(at(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+_+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||h.push(":checked")}),at(function(e){e.innerHTML="<input type='hidden' i=''/>",e.querySelectorAll("[i^='']").length&&h.push("[*^$]="+_+"*(?:\"\"|'')"),e.querySelectorAll(":enabled").length||h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")})),(T.matchesSelector=rt(m=f.matchesSelector||f.mozMatchesSelector||f.webkitMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&at(function(e){T.disconnectedMatch=m.call(e,"div"),m.call(e,"[s!='']:x"),g.push("!=",R)}),h=RegExp(h.join("|")),g=RegExp(g.join("|")),y=rt(f.contains)||f.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},v=f.compareDocumentPosition?function(e,t){var r;return e===t?(u=!0,0):(r=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t))?1&r||e.parentNode&&11===e.parentNode.nodeType?e===n||y(w,e)?-1:t===n||y(w,t)?1:0:4&r?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return u=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:0;if(o===a)return ut(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?ut(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},u=!1,[0,0].sort(v),T.detectDuplicates=u,p):p},st.matches=function(e,t){return st(e,null,null,t)},st.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&c(e),t=t.replace(Z,"='$1']"),!(!T.matchesSelector||d||g&&g.test(t)||h.test(t)))try{var n=m.call(e,t);if(n||T.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(r){}return st(t,p,null,[e]).length>0},st.contains=function(e,t){return(e.ownerDocument||e)!==p&&c(e),y(e,t)},st.attr=function(e,t){var n;return(e.ownerDocument||e)!==p&&c(e),d||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):d||T.attributes?e.getAttribute(t):((n=e.getAttributeNode(t))||e.getAttribute(t))&&e[t]===!0?t:n&&n.specified?n.value:null},st.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},st.uniqueSort=function(e){var t,n=[],r=1,i=0;if(u=!T.detectDuplicates,e.sort(v),u){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));while(i--)e.splice(n[i],1)}return e};function ut(e,t){var n=t&&e,r=n&&(~t.sourceIndex||j)-(~e.sourceIndex||j);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function lt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function ct(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pt(e){return ot(function(t){return t=+t,ot(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}o=st.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=o(t);return n},i=st.selectors={cacheLength:50,createPseudo:ot,match:U,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(et,tt),e[3]=(e[4]||e[5]||"").replace(et,tt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||st.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&st.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return U.CHILD.test(e[0])?null:(e[4]?e[2]=e[4]:n&&z.test(n)&&(t=ft(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(et,tt).toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[e+" "];return t||(t=RegExp("(^|"+_+")"+e+"("+_+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==A&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=st.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[x]||(m[x]={}),l=c[e]||[],d=l[0]===N&&l[1],f=l[0]===N&&l[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[N,d,f];break}}else if(v&&(l=(t[x]||(t[x]={}))[e])&&l[0]===N)f=l[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[x]||(p[x]={}))[e]=[N,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||st.error("unsupported pseudo: "+e);return r[x]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ot(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=M.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ot(function(e){var t=[],n=[],r=s(e.replace(W,"$1"));return r[x]?ot(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:ot(function(e){return function(t){return st(e,t).length>0}}),contains:ot(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:ot(function(e){return X.test(e||"")||st.error("unsupported lang: "+e),e=e.replace(et,tt).toLowerCase(),function(t){var n;do if(n=d?t.getAttribute("xml:lang")||t.getAttribute("lang"):t.lang)return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:pt(function(){return[0]}),last:pt(function(e,t){return[t-1]}),eq:pt(function(e,t,n){return[0>n?n+t:n]}),even:pt(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:pt(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:pt(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:pt(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}};for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[n]=lt(n);for(n in{submit:!0,reset:!0})i.pseudos[n]=ct(n);function ft(e,t){var n,r,o,a,s,u,l,c=E[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=i.preFilter;while(s){(!n||(r=$.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),u.push(o=[])),n=!1,(r=I.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(W," ")}),s=s.slice(n.length));for(a in i.filter)!(r=U[a].exec(s))||l[a]&&!(r=l[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?st.error(e):E(e,u).slice(0)}function dt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function ht(e,t,n){var i=t.dir,o=n&&"parentNode"===i,a=C++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,s){var u,l,c,p=N+" "+a;if(s){while(t=t[i])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[i])if(1===t.nodeType||o)if(c=t[x]||(t[x]={}),(l=c[i])&&l[0]===p){if((u=l[1])===!0||u===r)return u===!0}else if(l=c[i]=[p],l[1]=e(t,n,s)||r,l[1]===!0)return!0}}function gt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function mt(e,t,n,r,i){var o,a=[],s=0,u=e.length,l=null!=t;for(;u>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),l&&t.push(s));return a}function yt(e,t,n,r,i,o){return r&&!r[x]&&(r=yt(r)),i&&!i[x]&&(i=yt(i,o)),ot(function(o,a,s,u){var l,c,p,f=[],d=[],h=a.length,g=o||xt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:mt(g,f,e,s,u),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,u),r){l=mt(y,d),r(l,[],s,u),c=l.length;while(c--)(p=l[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){l=[],c=y.length;while(c--)(p=y[c])&&l.push(m[c]=p);i(null,y=[],l,u)}c=y.length;while(c--)(p=y[c])&&(l=i?M.call(o,p):f[c])>-1&&(o[l]=!(a[l]=p))}}else y=mt(y===a?y.splice(h,y.length):y),i?i(null,a,y,u):H.apply(a,y)})}function vt(e){var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],u=a?1:0,c=ht(function(e){return e===t},s,!0),p=ht(function(e){return M.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;o>u;u++)if(n=i.relative[e[u].type])f=[ht(gt(f),n)];else{if(n=i.filter[e[u].type].apply(null,e[u].matches),n[x]){for(r=++u;o>r;r++)if(i.relative[e[r].type])break;return yt(u>1&&gt(f),u>1&&dt(e.slice(0,u-1)).replace(W,"$1"),n,r>u&&vt(e.slice(u,r)),o>r&&vt(e=e.slice(r)),o>r&&dt(e))}f.push(n)}return gt(f)}function bt(e,t){var n=0,o=t.length>0,a=e.length>0,s=function(s,u,c,f,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,T=l,C=s||a&&i.find.TAG("*",d&&u.parentNode||u),k=N+=null==T?1:Math.random()||.1;for(w&&(l=u!==p&&u,r=n);null!=(h=C[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,u,c)){f.push(h);break}w&&(N=k,r=++n)}o&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,o&&b!==v){g=0;while(m=t[g++])m(x,y,u,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=L.call(f));y=mt(y)}H.apply(f,y),w&&!s&&y.length>0&&v+t.length>1&&st.uniqueSort(f)}return w&&(N=k,l=T),x};return o?ot(s):s}s=st.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=ft(e)),n=t.length;while(n--)o=vt(t[n]),o[x]?r.push(o):i.push(o);o=S(e,bt(i,r))}return o};function xt(e,t,n){var r=0,i=t.length;for(;i>r;r++)st(e,t[r],n);return n}function wt(e,t,n,r){var o,a,u,l,c,p=ft(e);if(!r&&1===p.length){if(a=p[0]=p[0].slice(0),a.length>2&&"ID"===(u=a[0]).type&&9===t.nodeType&&!d&&i.relative[a[1].type]){if(t=i.find.ID(u.matches[0].replace(et,tt),t)[0],!t)return n;e=e.slice(a.shift().value.length)}o=U.needsContext.test(e)?0:a.length;while(o--){if(u=a[o],i.relative[l=u.type])break;if((c=i.find[l])&&(r=c(u.matches[0].replace(et,tt),V.test(a[0].type)&&t.parentNode||t))){if(a.splice(o,1),e=r.length&&dt(a),!e)return H.apply(n,q.call(r,0)),n;break}}}return s(e,p)(r,t,d,n,V.test(e)),n}i.pseudos.nth=i.pseudos.eq;function Tt(){}i.filters=Tt.prototype=i.pseudos,i.setFilters=new Tt,c(),st.attr=b.attr,b.find=st,b.expr=st.selectors,b.expr[":"]=b.expr.pseudos,b.unique=st.uniqueSort,b.text=st.getText,b.isXMLDoc=st.isXML,b.contains=st.contains}(e);var at=/Until$/,st=/^(?:parents|prev(?:Until|All))/,ut=/^.[^:#\[\.,]*$/,lt=b.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({find:function(e){var t,n,r,i=this.length;if("string"!=typeof e)return r=this,this.pushStack(b(e).filter(function(){for(t=0;i>t;t++)if(b.contains(r[t],this))return!0}));for(n=[],t=0;i>t;t++)b.find(e,this[t],n);return n=this.pushStack(i>1?b.unique(n):n),n.selector=(this.selector?this.selector+" ":"")+e,n},has:function(e){var t,n=b(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(b.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e,!1))},filter:function(e){return this.pushStack(ft(this,e,!0))},is:function(e){return!!e&&("string"==typeof e?lt.test(e)?b(e,this.context).index(this[0])>=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,o=[],a=lt.test(e)||"string"!=typeof e?b(e,t||this.context):0;for(;i>r;r++){n=this[r];while(n&&n.ownerDocument&&n!==t&&11!==n.nodeType){if(a?a.index(n)>-1:b.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}}return this.pushStack(o.length>1?b.unique(o):o)},index:function(e){return e?"string"==typeof e?b.inArray(this[0],b(e)):b.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?b(e,t):b.makeArray(e&&e.nodeType?[e]:e),r=b.merge(this.get(),n);return this.pushStack(b.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),b.fn.andSelf=b.fn.addBack;function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}b.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(e,t,n){return b.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(e,t,n){return b.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return b.dir(e,"previousSibling",n)},siblings:function(e){return b.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.merge([],e.childNodes)}},function(e,t){b.fn[e]=function(n,r){var i=b.map(this,t,n);return at.test(e)||(r=n),r&&"string"==typeof r&&(i=b.filter(r,i)),i=this.length>1&&!ct[e]?b.unique(i):i,this.length>1&&st.test(e)&&(i=i.reverse()),this.pushStack(i)}}),b.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?b.find.matchesSelector(t[0],e)?[t[0]]:[]:b.find.matches(e,t)},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!b(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(t=t||0,b.isFunction(t))return b.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return b.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=b.grep(e,function(e){return 1===e.nodeType});if(ut.test(t))return b.filter(t,r,!n);t=b.filter(t,r)}return b.grep(e,function(e){return b.inArray(e,t)>=0===n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Nt=/^(?:checkbox|radio)$/i,Ct=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:b.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(o),Dt=jt.appendChild(o.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,b.fn.extend({text:function(e){return b.access(this,function(e){return e===t?b.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(b.isFunction(e))return this.each(function(t){b(this).wrapAll(e.call(this,t))});if(this[0]){var t=b(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return b.isFunction(e)?this.each(function(t){b(this).wrapInner(e.call(this,t))}):this.each(function(){var t=b(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=b.isFunction(e);return this.each(function(n){b(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=0;for(;null!=(n=this[r]);r++)(!e||b.filter(e,[n]).length>0)&&(t||1!==n.nodeType||b.cleanData(Ot(n)),n.parentNode&&(t&&b.contains(n.ownerDocument,n)&&Mt(Ot(n,"script")),n.parentNode.removeChild(n)));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&b.cleanData(Ot(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&b.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return b.clone(this,e,t)})},html:function(e){return b.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!b.support.htmlSerialize&&mt.test(e)||!b.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(b.cleanData(Ot(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){var t=b.isFunction(e);return t||"string"==typeof e||(e=b(e).not(this).detach()),this.domManip([e],!0,function(e){var t=this.nextSibling,n=this.parentNode;n&&(b(this).remove(),n.insertBefore(e,t))})},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=f.apply([],e);var i,o,a,s,u,l,c=0,p=this.length,d=this,h=p-1,g=e[0],m=b.isFunction(g);if(m||!(1>=p||"string"!=typeof g||b.support.checkClone)&&Ct.test(g))return this.each(function(i){var o=d.eq(i);m&&(e[0]=g.call(this,i,n?o.html():t)),o.domManip(e,n,r)});if(p&&(l=b.buildFragment(e,this[0].ownerDocument,!1,this),i=l.firstChild,1===l.childNodes.length&&(l=i),i)){for(n=n&&b.nodeName(i,"tr"),s=b.map(Ot(l,"script"),Ht),a=s.length;p>c;c++)o=l,c!==h&&(o=b.clone(o,!0,!0),a&&b.merge(s,Ot(o,"script"))),r.call(n&&b.nodeName(this[c],"table")?Lt(this[c],"tbody"):this[c],o,c);if(a)for(u=s[s.length-1].ownerDocument,b.map(s,qt),c=0;a>c;c++)o=s[c],kt.test(o.type||"")&&!b._data(o,"globalEval")&&b.contains(u,o)&&(o.src?b.ajax({url:o.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):b.globalEval((o.text||o.textContent||o.innerHTML||"").replace(St,"")));l=i=null}return this}});function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function Ht(e){var t=e.getAttributeNode("type");return e.type=(t&&t.specified)+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Mt(e,t){var n,r=0;for(;null!=(n=e[r]);r++)b._data(n,"globalEval",!t||b._data(t[r],"globalEval"))}function _t(e,t){if(1===t.nodeType&&b.hasData(e)){var n,r,i,o=b._data(e),a=b._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)b.event.add(t,n,s[n][r])}a.data&&(a.data=b.extend({},a.data))}}function Ft(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!b.support.noCloneEvent&&t[b.expando]){i=b._data(t);for(r in i.events)b.removeEvent(t,r,i.handle);t.removeAttribute(b.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),b.support.html5Clone&&e.innerHTML&&!b.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Nt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){b.fn[e]=function(e){var n,r=0,i=[],o=b(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),b(o[r])[t](n),d.apply(i,n.get());return this.pushStack(i)}});function Ot(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||b.nodeName(o,n)?s.push(o):b.merge(s,Ot(o,n));return n===t||n&&b.nodeName(e,n)?b.merge([e],s):s}function Bt(e){Nt.test(e.type)&&(e.defaultChecked=e.checked)}b.extend({clone:function(e,t,n){var r,i,o,a,s,u=b.contains(e.ownerDocument,e);if(b.support.html5Clone||b.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(b.support.noCloneEvent&&b.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||b.isXMLDoc(e)))for(r=Ot(o),s=Ot(e),a=0;null!=(i=s[a]);++a)r[a]&&Ft(i,r[a]);if(t)if(n)for(s=s||Ot(e),r=r||Ot(o),a=0;null!=(i=s[a]);a++)_t(i,r[a]);else _t(e,o);return r=Ot(o,"script"),r.length>0&&Mt(r,!u&&Ot(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,u,l,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===b.type(o))b.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),u=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[u]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!b.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!b.support.tbody){o="table"!==u||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)b.nodeName(l=o.childNodes[i],"tbody")&&!l.childNodes.length&&o.removeChild(l)
+}b.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),b.support.appendChecked||b.grep(Ot(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===b.inArray(o,r))&&(a=b.contains(o.ownerDocument,o),s=Ot(f.appendChild(o),"script"),a&&Mt(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,u=b.expando,l=b.cache,p=b.support.deleteExpando,f=b.event.special;for(;null!=(n=e[s]);s++)if((t||b.acceptData(n))&&(o=n[u],a=o&&l[o])){if(a.events)for(r in a.events)f[r]?b.event.remove(n,r):b.removeEvent(n,r,a.handle);l[o]&&(delete l[o],p?delete n[u]:typeof n.removeAttribute!==i?n.removeAttribute(u):n[u]=null,c.push(o))}}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+x+")(.*)$","i"),Yt=RegExp("^("+x+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+x+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===b.css(e,"display")||!b.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=b._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=b._data(r,"olddisplay",un(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&b._data(r,"olddisplay",i?n:b.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}b.fn.extend({css:function(e,n){return b.access(this,function(e,n,r){var i,o,a={},s=0;if(b.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=b.css(e,n[s],!1,o);return a}return r!==t?b.style(e,n,r):b.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:nn(this))?b(this).show():b(this).hide()})}}),b.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,u=b.camelCase(n),l=e.style;if(n=b.cssProps[u]||(b.cssProps[u]=tn(l,u)),s=b.cssHooks[n]||b.cssHooks[u],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:l[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(b.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||b.cssNumber[u]||(r+="px"),b.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(l[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{l[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,u=b.camelCase(n);return n=b.cssProps[u]||(b.cssProps[u]=tn(e.style,u)),s=b.cssHooks[n]||b.cssHooks[u],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||b.isNumeric(o)?o||0:a):a},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s.getPropertyValue(n)||s[n]:t,l=e.style;return s&&(""!==u||b.contains(e.ownerDocument,e)||(u=b.style(e,n)),Yt.test(u)&&Ut.test(n)&&(i=l.width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=u,u=s.width,l.width=i,l.minWidth=o,l.maxWidth=a)),u}):o.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s[n]:t,l=e.style;return null==u&&l&&l[n]&&(u=l[n]),Yt.test(u)&&!zt.test(n)&&(i=l.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),l.left="fontSize"===n?"1em":u,u=l.pixelLeft+"px",l.left=i,a&&(o.left=a)),""===u?"auto":u});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=b.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=b.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=b.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=b.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=b.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=b.support.boxSizing&&"border-box"===b.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(b.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function un(e){var t=o,n=Gt[e];return n||(n=ln(e,t),"none"!==n&&n||(Pt=(Pt||b("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=ln(e,t),Pt.detach()),Gt[e]=n),n}function ln(e,t){var n=b(t.createElement(e)).appendTo(t.body),r=b.css(n[0],"display");return n.remove(),r}b.each(["height","width"],function(e,n){b.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(b.css(e,"display"))?b.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,b.support.boxSizing&&"border-box"===b.css(e,"boxSizing",!1,i),i):0)}}}),b.support.opacity||(b.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=b.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===b.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),b(function(){b.support.reliableMarginRight||(b.cssHooks.marginRight={get:function(e,n){return n?b.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!b.support.pixelPosition&&b.fn.position&&b.each(["top","left"],function(e,n){b.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?b(e).position()[n]+"px":r):t}}})}),b.expr&&b.expr.filters&&(b.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!b.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||b.css(e,"display"))},b.expr.filters.visible=function(e){return!b.expr.filters.hidden(e)}),b.each({margin:"",padding:"",border:"Width"},function(e,t){b.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(b.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=b.prop(this,"elements");return e?b.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!b(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Nt.test(e))}).map(function(e,t){var n=b(this).val();return null==n?null:b.isArray(n)?b.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),b.param=function(e,n){var r,i=[],o=function(e,t){t=b.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=b.ajaxSettings&&b.ajaxSettings.traditional),b.isArray(e)||e.jquery&&!b.isPlainObject(e))b.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(b.isArray(t))b.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==b.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}b.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){b.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),b.fn.hover=function(e,t){return this.mouseenter(e).mouseleave(t||e)};var mn,yn,vn=b.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Nn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Cn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=b.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=a.href}catch(Ln){yn=o.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(w)||[];if(b.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(u){var l;return o[u]=!0,b.each(e[u]||[],function(e,u){var c=u(n,r,i);return"string"!=typeof c||a||o[c]?a?!(l=c):t:(n.dataTypes.unshift(c),s(c),!1)}),l}return s(n.dataTypes[0])||!o["*"]&&s("*")}function Mn(e,n){var r,i,o=b.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&b.extend(!0,e,r),e}b.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,u=e.indexOf(" ");return u>=0&&(i=e.slice(u,e.length),e=e.slice(0,u)),b.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&b.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?b("<div>").append(b.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){b.fn[t]=function(e){return this.on(t,e)}}),b.each(["get","post"],function(e,n){b[n]=function(e,r,i,o){return b.isFunction(r)&&(o=o||i,i=r,r=t),b.ajax({url:e,type:n,dataType:o,data:r,success:i})}}),b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Nn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Mn(Mn(e,b.ajaxSettings),t):Mn(b.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,u,l,c,p=b.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?b(f):b.event,h=b.Deferred(),g=b.Callbacks("once memory"),m=p.statusCode||{},y={},v={},x=0,T="canceled",N={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return x||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>x)for(t in e)m[t]=[m[t],e[t]];else N.always(e[N.status]);return this},abort:function(e){var t=e||T;return l&&l.abort(t),k(0,t),this}};if(h.promise(N).complete=g.add,N.success=N.done,N.error=N.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=b.trim(p.dataType||"*").toLowerCase().match(w)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?80:443))==(mn[3]||("http:"===mn[1]?80:443)))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=b.param(p.data,p.traditional)),qn(An,p,n,N),2===x)return N;u=p.global,u&&0===b.active++&&b.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Cn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(b.lastModified[o]&&N.setRequestHeader("If-Modified-Since",b.lastModified[o]),b.etag[o]&&N.setRequestHeader("If-None-Match",b.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&N.setRequestHeader("Content-Type",p.contentType),N.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)N.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,N,p)===!1||2===x))return N.abort();T="abort";for(i in{success:1,error:1,complete:1})N[i](p[i]);if(l=qn(jn,p,n,N)){N.readyState=1,u&&d.trigger("ajaxSend",[N,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){N.abort("timeout")},p.timeout));try{x=1,l.send(y,k)}catch(C){if(!(2>x))throw C;k(-1,C)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,C=n;2!==x&&(x=2,s&&clearTimeout(s),l=t,a=i||"",N.readyState=e>0?4:0,r&&(w=_n(p,N,r)),e>=200&&300>e||304===e?(p.ifModified&&(T=N.getResponseHeader("Last-Modified"),T&&(b.lastModified[o]=T),T=N.getResponseHeader("etag"),T&&(b.etag[o]=T)),204===e?(c=!0,C="nocontent"):304===e?(c=!0,C="notmodified"):(c=Fn(p,w),C=c.state,y=c.data,v=c.error,c=!v)):(v=C,(e||!C)&&(C="error",0>e&&(e=0))),N.status=e,N.statusText=(n||C)+"",c?h.resolveWith(f,[y,C,N]):h.rejectWith(f,[N,C,v]),N.statusCode(m),m=t,u&&d.trigger(c?"ajaxSuccess":"ajaxError",[N,p,c?y:v]),g.fireWith(f,[N,C]),u&&(d.trigger("ajaxComplete",[N,p]),--b.active||b.event.trigger("ajaxStop")))}return N},getScript:function(e,n){return b.get(e,t,n,"script")},getJSON:function(e,t,n){return b.get(e,t,n,"json")}});function _n(e,n,r){var i,o,a,s,u=e.contents,l=e.dataTypes,c=e.responseFields;for(s in c)s in r&&(n[c[s]]=r[s]);while("*"===l[0])l.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in u)if(u[s]&&u[s].test(o)){l.unshift(s);break}if(l[0]in r)a=l[0];else{for(s in r){if(!l[0]||e.converters[s+" "+l[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==l[0]&&l.unshift(a),r[a]):t}function Fn(e,t){var n,r,i,o,a={},s=0,u=e.dataTypes.slice(),l=u[0];if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u[1])for(i in e.converters)a[i.toLowerCase()]=e.converters[i];for(;r=u[++s];)if("*"!==r){if("*"!==l&&l!==r){if(i=a[l+" "+r]||a["* "+r],!i)for(n in a)if(o=n.split(" "),o[1]===r&&(i=a[l+" "+o[0]]||a["* "+o[0]])){i===!0?i=a[n]:a[n]!==!0&&(r=o[0],u.splice(s--,0,r));break}if(i!==!0)if(i&&e["throws"])t=i(t);else try{t=i(t)}catch(c){return{state:"parsererror",error:i?c:"No conversion from "+l+" to "+r}}}l=r}return{state:"success",data:t}}b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return b.globalEval(e),e}}}),b.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),b.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=o.head||b("head")[0]||o.documentElement;return{send:function(t,i){n=o.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var On=[],Bn=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=On.pop()||b.expando+"_"+vn++;return this[e]=!0,e}}),b.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,u=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return u||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=b.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,u?n[u]=n[u].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||b.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,On.push(o)),s&&b.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}b.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=b.ajaxSettings.xhr(),b.support.cors=!!Rn&&"withCredentials"in Rn,Rn=b.support.ajax=!!Rn,Rn&&b.ajaxTransport(function(n){if(!n.crossDomain||b.support.cors){var r;return{send:function(i,o){var a,s,u=n.xhr();if(n.username?u.open(n.type,n.url,n.async,n.username,n.password):u.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)u[s]=n.xhrFields[s];n.mimeType&&u.overrideMimeType&&u.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)u.setRequestHeader(s,i[s])}catch(l){}u.send(n.hasContent&&n.data||null),r=function(e,i){var s,l,c,p;try{if(r&&(i||4===u.readyState))if(r=t,a&&(u.onreadystatechange=b.noop,$n&&delete Pn[a]),i)4!==u.readyState&&u.abort();else{p={},s=u.status,l=u.getAllResponseHeaders(),"string"==typeof u.responseText&&(p.text=u.responseText);try{c=u.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,l)},n.async?4===u.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},b(e).unload($n)),Pn[a]=r),u.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+x+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n,r,i=this.createTween(e,t),o=Yn.exec(t),a=i.cur(),s=+a||0,u=1,l=20;if(o){if(n=+o[2],r=o[3]||(b.cssNumber[e]?"":"px"),"px"!==r&&s){s=b.css(i.elem,e,!0)||n||1;do u=u||".5",s/=u,b.style(i.elem,e,s+r);while(u!==(u=i.cur()/a)&&1!==u&&--l)}i.unit=r,i.start=s,i.end=o[1]?s+(o[1]+1)*n:n}return i}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=b.now()}function Zn(e,t){b.each(t,function(t,n){var r=(Qn[t]||[]).concat(Qn["*"]),i=0,o=r.length;for(;o>i;i++)if(r[i].call(e,t,n))return})}function er(e,t,n){var r,i,o=0,a=Gn.length,s=b.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;for(;u>a;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),1>o&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:b.extend({},t),opts:b.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=b.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)l.tweens[n].run(1);return t?s.resolveWith(e,[l,t]):s.rejectWith(e,[l,t]),this}}),c=l.props;for(tr(c,l.opts.specialEasing);a>o;o++)if(r=Gn[o].call(l,e,c,l.opts))return r;return Zn(l,c),b.isFunction(l.opts.start)&&l.opts.start.call(e,l),b.fx.timer(b.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function tr(e,t){var n,r,i,o,a;for(i in e)if(r=b.camelCase(i),o=t[r],n=e[i],b.isArray(n)&&(o=n[1],n=e[i]=n[0]),i!==r&&(e[r]=n,delete e[i]),a=b.cssHooks[r],a&&"expand"in a){n=a.expand(n),delete e[r];for(i in n)i in e||(e[i]=n[i],t[i]=o)}else t[r]=o}b.Animation=b.extend(er,{tweener:function(e,t){b.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,u,l,c,p,f=this,d=e.style,h={},g=[],m=e.nodeType&&nn(e);n.queue||(c=b._queueHooks(e,"fx"),null==c.unqueued&&(c.unqueued=0,p=c.empty.fire,c.empty.fire=function(){c.unqueued||p()}),c.unqueued++,f.always(function(){f.always(function(){c.unqueued--,b.queue(e,"fx").length||c.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===b.css(e,"display")&&"none"===b.css(e,"float")&&(b.support.inlineBlockNeedsLayout&&"inline"!==un(e.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",b.support.shrinkWrapBlocks||f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(i in t)if(a=t[i],Vn.exec(a)){if(delete t[i],u=u||"toggle"===a,a===(m?"hide":"show"))continue;g.push(i)}if(o=g.length){s=b._data(e,"fxshow")||b._data(e,"fxshow",{}),"hidden"in s&&(m=s.hidden),u&&(s.hidden=!m),m?b(e).show():f.done(function(){b(e).hide()}),f.done(function(){var t;b._removeData(e,"fxshow");for(t in h)b.style(e,t,h[t])});for(i=0;o>i;i++)r=g[i],l=f.createTween(r,m?s[r]:0),h[r]=s[r]||b.style(e,r),r in s||(s[r]=l.start,m&&(l.end=l.start,l.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}b.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(b.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?b.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=b.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){b.fx.step[e.prop]?b.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[b.cssProps[e.prop]]||b.cssHooks[e.prop])?b.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},b.each(["toggle","show","hide"],function(e,t){var n=b.fn[t];b.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),b.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=b.isEmptyObject(e),o=b.speed(t,n,r),a=function(){var t=er(this,b.extend({},e),o);a.finish=function(){t.stop(!0)},(i||b._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=b.timers,a=b._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&b.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=b._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=b.timers,a=r?r.length:0;for(n.finish=!0,b.queue(this,e,[]),i&&i.cur&&i.cur.finish&&i.cur.finish.call(this),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}b.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){b.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),b.speed=function(e,t,n){var r=e&&"object"==typeof e?b.extend({},e):{complete:n||!n&&t||b.isFunction(e)&&e,duration:e,easing:n&&t||t&&!b.isFunction(t)&&t};return r.duration=b.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in b.fx.speeds?b.fx.speeds[r.duration]:b.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){b.isFunction(r.old)&&r.old.call(this),r.queue&&b.dequeue(this,r.queue)},r},b.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},b.timers=[],b.fx=rr.prototype.init,b.fx.tick=function(){var e,n=b.timers,r=0;for(Xn=b.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||b.fx.stop(),Xn=t},b.fx.timer=function(e){e()&&b.timers.push(e)&&b.fx.start()},b.fx.interval=13,b.fx.start=function(){Un||(Un=setInterval(b.fx.tick,b.fx.interval))},b.fx.stop=function(){clearInterval(Un),Un=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fx.step={},b.expr&&b.expr.filters&&(b.expr.filters.animated=function(e){return b.grep(b.timers,function(t){return e===t.elem}).length}),b.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){b.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,b.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},b.offset={setOffset:function(e,t,n){var r=b.css(e,"position");"static"===r&&(e.style.position="relative");var i=b(e),o=i.offset(),a=b.css(e,"top"),s=b.css(e,"left"),u=("absolute"===r||"fixed"===r)&&b.inArray("auto",[a,s])>-1,l={},c={},p,f;u?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),b.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(l.top=t.top-o.top+p),null!=t.left&&(l.left=t.left-o.left+f),"using"in t?t.using.call(e,l):i.css(l)}},b.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===b.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),b.nodeName(e[0],"html")||(n=e.offset()),n.top+=b.css(e[0],"borderTopWidth",!0),n.left+=b.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-b.css(r,"marginTop",!0),left:t.left-n.left-b.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||o.documentElement;while(e&&!b.nodeName(e,"html")&&"static"===b.css(e,"position"))e=e.offsetParent;return e||o.documentElement})}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);b.fn[e]=function(i){return b.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?b(a).scrollLeft():o,r?o:b(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return b.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}b.each({Height:"height",Width:"width"},function(e,n){b.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){b.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return b.access(this,function(n,r,i){var o;return b.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?b.css(n,r,s):b.style(n,r,i,s)},n,a?i:t,a,null)}})}),e.jQuery=e.$=b,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return b})})(window);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/jquery.event.drag-2.2.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/jquery.event.drag-2.2.js
new file mode 100644 (file)
index 0000000..e270653
--- /dev/null
@@ -0,0 +1,402 @@
+/*!
+ * jquery.event.drag - v 2.2
+ * Copyright (c) 2010 Three Dub Media - http://threedubmedia.com
+ * Open Source MIT License - http://threedubmedia.com/code/license
+ */
+// Created: 2008-06-04
+// Updated: 2012-05-21
+// REQUIRES: jquery 1.7.x
+
+;(function( $ ){
+
+// add the jquery instance method
+$.fn.drag = function( str, arg, opts ){
+       // figure out the event type
+       var type = typeof str == "string" ? str : "",
+       // figure out the event handler...
+       fn = $.isFunction( str ) ? str : $.isFunction( arg ) ? arg : null;
+       // fix the event type
+       if ( type.indexOf("drag") !== 0 )
+               type = "drag"+ type;
+       // were options passed
+       opts = ( str == fn ? arg : opts ) || {};
+       // trigger or bind event handler
+       return fn ? this.bind( type, opts, fn ) : this.trigger( type );
+};
+
+// local refs (increase compression)
+var $event = $.event,
+$special = $event.special,
+// configure the drag special event
+drag = $special.drag = {
+
+       // these are the default settings
+       defaults: {
+               which: 1, // mouse button pressed to start drag sequence
+               distance: 0, // distance dragged before dragstart
+               not: ':input', // selector to suppress dragging on target elements
+               handle: null, // selector to match handle target elements
+               relative: false, // true to use "position", false to use "offset"
+               drop: true, // false to suppress drop events, true or selector to allow
+               click: false // false to suppress click events after dragend (no proxy)
+       },
+
+       // the key name for stored drag data
+       datakey: "dragdata",
+
+       // prevent bubbling for better performance
+       noBubble: true,
+
+       // count bound related events
+       add: function( obj ){
+               // read the interaction data
+               var data = $.data( this, drag.datakey ),
+               // read any passed options
+               opts = obj.data || {};
+               // count another realted event
+               data.related += 1;
+               // extend data options bound with this event
+               // don't iterate "opts" in case it is a node
+               $.each( drag.defaults, function( key, def ){
+                       if ( opts[ key ] !== undefined )
+                               data[ key ] = opts[ key ];
+               });
+       },
+
+       // forget unbound related events
+       remove: function(){
+               $.data( this, drag.datakey ).related -= 1;
+       },
+
+       // configure interaction, capture settings
+       setup: function(){
+               // check for related events
+               if ( $.data( this, drag.datakey ) )
+                       return;
+               // initialize the drag data with copied defaults
+               var data = $.extend({ related:0 }, drag.defaults );
+               // store the interaction data
+               $.data( this, drag.datakey, data );
+               // bind the mousedown event, which starts drag interactions
+               $event.add( this, "touchstart mousedown", drag.init, data );
+               // prevent image dragging in IE...
+               if ( this.attachEvent )
+                       this.attachEvent("ondragstart", drag.dontstart );
+       },
+
+       // destroy configured interaction
+       teardown: function(){
+               var data = $.data( this, drag.datakey ) || {};
+               // check for related events
+               if ( data.related )
+                       return;
+               // remove the stored data
+               $.removeData( this, drag.datakey );
+               // remove the mousedown event
+               $event.remove( this, "touchstart mousedown", drag.init );
+               // enable text selection
+               drag.textselect( true );
+               // un-prevent image dragging in IE...
+               if ( this.detachEvent )
+                       this.detachEvent("ondragstart", drag.dontstart );
+       },
+
+       // initialize the interaction
+       init: function( event ){
+               // sorry, only one touch at a time
+               if ( drag.touched )
+                       return;
+               // the drag/drop interaction data
+               var dd = event.data, results;
+               // check the which directive
+               if ( event.which != 0 && dd.which > 0 && event.which != dd.which )
+                       return;
+               // check for suppressed selector
+               if ( $( event.target ).is( dd.not ) )
+                       return;
+               // check for handle selector
+               if ( dd.handle && !$( event.target ).closest( dd.handle, event.currentTarget ).length )
+                       return;
+
+               drag.touched = event.type == 'touchstart' ? this : null;
+               dd.propagates = 1;
+               dd.mousedown = this;
+               dd.interactions = [ drag.interaction( this, dd ) ];
+               dd.target = event.target;
+               dd.pageX = event.pageX;
+               dd.pageY = event.pageY;
+               dd.dragging = null;
+               // handle draginit event...
+               results = drag.hijack( event, "draginit", dd );
+               // early cancel
+               if ( !dd.propagates )
+                       return;
+               // flatten the result set
+               results = drag.flatten( results );
+               // insert new interaction elements
+               if ( results && results.length ){
+                       dd.interactions = [];
+                       $.each( results, function(){
+                               dd.interactions.push( drag.interaction( this, dd ) );
+                       });
+               }
+               // remember how many interactions are propagating
+               dd.propagates = dd.interactions.length;
+               // locate and init the drop targets
+               if ( dd.drop !== false && $special.drop )
+                       $special.drop.handler( event, dd );
+               // disable text selection
+               drag.textselect( false );
+               // bind additional events...
+               if ( drag.touched )
+                       $event.add( drag.touched, "touchmove touchend", drag.handler, dd );
+               else
+                       $event.add( document, "mousemove mouseup", drag.handler, dd );
+               // helps prevent text selection or scrolling
+               if ( !drag.touched || dd.live )
+                       return false;
+       },
+
+       // returns an interaction object
+       interaction: function( elem, dd ){
+               var offset = $( elem )[ dd.relative ? "position" : "offset" ]() || { top:0, left:0 };
+               return {
+                       drag: elem,
+                       callback: new drag.callback(),
+                       droppable: [],
+                       offset: offset
+               };
+       },
+
+       // handle drag-releatd DOM events
+       handler: function( event ){
+               // read the data before hijacking anything
+               var dd = event.data;
+               // handle various events
+               switch ( event.type ){
+                       // mousemove, check distance, start dragging
+                       case !dd.dragging && 'touchmove':
+                               event.preventDefault();
+                       case !dd.dragging && 'mousemove':
+                               //  drag tolerance, x² + y² = distance²
+                               if ( Math.pow(  event.pageX-dd.pageX, 2 ) + Math.pow(  event.pageY-dd.pageY, 2 ) < Math.pow( dd.distance, 2 ) )
+                                       break; // distance tolerance not reached
+                               event.target = dd.target; // force target from "mousedown" event (fix distance issue)
+                               drag.hijack( event, "dragstart", dd ); // trigger "dragstart"
+                               if ( dd.propagates ) // "dragstart" not rejected
+                                       dd.dragging = true; // activate interaction
+                       // mousemove, dragging
+                       case 'touchmove':
+                               event.preventDefault();
+                       case 'mousemove':
+                               if ( dd.dragging ){
+                                       // trigger "drag"
+                                       drag.hijack( event, "drag", dd );
+                                       if ( dd.propagates ){
+                                               // manage drop events
+                                               if ( dd.drop !== false && $special.drop )
+                                                       $special.drop.handler( event, dd ); // "dropstart", "dropend"
+                                               break; // "drag" not rejected, stop
+                                       }
+                                       event.type = "mouseup"; // helps "drop" handler behave
+                               }
+                       // mouseup, stop dragging
+                       case 'touchend':
+                       case 'mouseup':
+                       default:
+                               if ( drag.touched )
+                                       $event.remove( drag.touched, "touchmove touchend", drag.handler ); // remove touch events
+                               else
+                                       $event.remove( document, "mousemove mouseup", drag.handler ); // remove page events
+                               if ( dd.dragging ){
+                                       if ( dd.drop !== false && $special.drop )
+                                               $special.drop.handler( event, dd ); // "drop"
+                                       drag.hijack( event, "dragend", dd ); // trigger "dragend"
+                               }
+                               drag.textselect( true ); // enable text selection
+                               // if suppressing click events...
+                               if ( dd.click === false && dd.dragging )
+                                       $.data( dd.mousedown, "suppress.click", new Date().getTime() + 5 );
+                               dd.dragging = drag.touched = false; // deactivate element
+                               break;
+               }
+       },
+
+       // re-use event object for custom events
+       hijack: function( event, type, dd, x, elem ){
+               // not configured
+               if ( !dd )
+                       return;
+               // remember the original event and type
+               var orig = { event:event.originalEvent, type:event.type },
+               // is the event drag related or drog related?
+               mode = type.indexOf("drop") ? "drag" : "drop",
+               // iteration vars
+               result, i = x || 0, ia, $elems, callback,
+               len = !isNaN( x ) ? x : dd.interactions.length;
+               // modify the event type
+               event.type = type;
+               // remove the original event
+               event.originalEvent = null;
+               // initialize the results
+               dd.results = [];
+               // handle each interacted element
+               do if ( ia = dd.interactions[ i ] ){
+                       // validate the interaction
+                       if ( type !== "dragend" && ia.cancelled )
+                               continue;
+                       // set the dragdrop properties on the event object
+                       callback = drag.properties( event, dd, ia );
+                       // prepare for more results
+                       ia.results = [];
+                       // handle each element
+                       $( elem || ia[ mode ] || dd.droppable ).each(function( p, subject ){
+                               // identify drag or drop targets individually
+                               callback.target = subject;
+                               // force propagtion of the custom event
+                               event.isPropagationStopped = function(){ return false; };
+                               // handle the event
+                               result = subject ? $event.dispatch.call( subject, event, callback ) : null;
+                               // stop the drag interaction for this element
+                               if ( result === false ){
+                                       if ( mode == "drag" ){
+                                               ia.cancelled = true;
+                                               dd.propagates -= 1;
+                                       }
+                                       if ( type == "drop" ){
+                                               ia[ mode ][p] = null;
+                                       }
+                               }
+                               // assign any dropinit elements
+                               else if ( type == "dropinit" )
+                                       ia.droppable.push( drag.element( result ) || subject );
+                               // accept a returned proxy element
+                               if ( type == "dragstart" )
+                                       ia.proxy = $( drag.element( result ) || ia.drag )[0];
+                               // remember this result
+                               ia.results.push( result );
+                               // forget the event result, for recycling
+                               delete event.result;
+                               // break on cancelled handler
+                               if ( type !== "dropinit" )
+                                       return result;
+                       });
+                       // flatten the results
+                       dd.results[ i ] = drag.flatten( ia.results );
+                       // accept a set of valid drop targets
+                       if ( type == "dropinit" )
+                               ia.droppable = drag.flatten( ia.droppable );
+                       // locate drop targets
+                       if ( type == "dragstart" && !ia.cancelled )
+                               callback.update();
+               }
+               while ( ++i < len )
+               // restore the original event & type
+               event.type = orig.type;
+               event.originalEvent = orig.event;
+               // return all handler results
+               return drag.flatten( dd.results );
+       },
+
+       // extend the callback object with drag/drop properties...
+       properties: function( event, dd, ia ){
+               var obj = ia.callback;
+               // elements
+               obj.drag = ia.drag;
+               obj.proxy = ia.proxy || ia.drag;
+               // starting mouse position
+               obj.startX = dd.pageX;
+               obj.startY = dd.pageY;
+               // current distance dragged
+               obj.deltaX = event.pageX - dd.pageX;
+               obj.deltaY = event.pageY - dd.pageY;
+               // original element position
+               obj.originalX = ia.offset.left;
+               obj.originalY = ia.offset.top;
+               // adjusted element position
+               obj.offsetX = obj.originalX + obj.deltaX;
+               obj.offsetY = obj.originalY + obj.deltaY;
+               // assign the drop targets information
+               obj.drop = drag.flatten( ( ia.drop || [] ).slice() );
+               obj.available = drag.flatten( ( ia.droppable || [] ).slice() );
+               return obj;
+       },
+
+       // determine is the argument is an element or jquery instance
+       element: function( arg ){
+               if ( arg && ( arg.jquery || arg.nodeType == 1 ) )
+                       return arg;
+       },
+
+       // flatten nested jquery objects and arrays into a single dimension array
+       flatten: function( arr ){
+               return $.map( arr, function( member ){
+                       return member && member.jquery ? $.makeArray( member ) :
+                               member && member.length ? drag.flatten( member ) : member;
+               });
+       },
+
+       // toggles text selection attributes ON (true) or OFF (false)
+       textselect: function( bool ){
+               $( document )[ bool ? "unbind" : "bind" ]("selectstart", drag.dontstart )
+                       .css("MozUserSelect", bool ? "" : "none" );
+               // .attr("unselectable", bool ? "off" : "on" )
+               document.unselectable = bool ? "off" : "on";
+       },
+
+       // suppress "selectstart" and "ondragstart" events
+       dontstart: function(){
+               return false;
+       },
+
+       // a callback instance contructor
+       callback: function(){}
+
+};
+
+// callback methods
+drag.callback.prototype = {
+       update: function(){
+               if ( $special.drop && this.available.length )
+                       $.each( this.available, function( i ){
+                               $special.drop.locate( this, i );
+                       });
+       }
+};
+
+// patch $.event.$dispatch to allow suppressing clicks
+var $dispatch = $event.dispatch;
+$event.dispatch = function( event ){
+       if ( $.data( this, "suppress."+ event.type ) - new Date().getTime() > 0 ){
+               $.removeData( this, "suppress."+ event.type );
+               return;
+       }
+       return $dispatch.apply( this, arguments );
+};
+
+// event fix hooks for touch events...
+var touchHooks =
+$event.fixHooks.touchstart =
+$event.fixHooks.touchmove =
+$event.fixHooks.touchend =
+$event.fixHooks.touchcancel = {
+       props: "clientX clientY pageX pageY screenX screenY".split( " " ),
+       filter: function( event, orig ) {
+               if ( orig ){
+                       var touched = ( orig.touches && orig.touches[0] )
+                               || ( orig.changedTouches && orig.changedTouches[0] )
+                               || null;
+                       // iOS webkit: touchstart, touchmove, touchend
+                       if ( touched )
+                               $.each( touchHooks.props, function( i, prop ){
+                                       event[ prop ] = touched[ prop ];
+                               });
+               }
+               return event;
+       }
+};
+
+// share the same special event configuration with related events...
+$special.draginit = $special.dragstart = $special.dragend = drag;
+
+})( jQuery );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/jquery.infinite-drag-carousel_noinfinite.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/jquery.infinite-drag-carousel_noinfinite.js
new file mode 100644 (file)
index 0000000..b8519b3
--- /dev/null
@@ -0,0 +1,165 @@
+/**
+ * @author Stéphane Roucheray, Pol Cámara
+ * @extends jquery
+ */
+
+jQuery.fn.carousel = function(containerH, drag, options){
+       var sliderList = jQuery(this).children()[0];
+
+       if (sliderList) {
+
+               var top = 0;
+               var sum = 0;
+               var increment = jQuery(sliderList).children().outerHeight(true);
+               var elmnts = jQuery(sliderList).children();
+               var numElmts = elmnts.length;
+               var sizeFirstElmnt = increment;
+               var shownInViewport = Math.round(jQuery(this).height() / sizeFirstElmnt);
+               var firstElementOnViewPort = 1;
+               var probableElementOnViewPort = 0;
+               var isAnimating = false;
+               var totalHeight = increment * numElmts;
+               var mouseY;
+               var startMouseY;
+               var endMouseY;
+               if (isNaN(parseInt(jQuery(sliderList).css("top")))) {//.replace("px","")
+                       jQuery(sliderList).css("top","0");
+               }
+               var startYUP;
+               var startYDOWN;
+               $(document).mousemove(function(e){
+                       mouseY = e.pageY;
+           });
+               jQuery(sliderList).css("top",0);
+               if (!(typeof drag == "boolean" &&  drag == false)) {
+                       jQuery(this)
+                       .drag("start",function(){
+                               top = parseInt(jQuery(sliderList).css("top"));//.replace("px","")
+                               //added by EE. This variable is created on first page of index and set here to true
+                               isDragging = true;
+                               startMouseY = mouseY;
+                       })
+                       .drag("dragend", function() {
+                               top = parseInt(jQuery(sliderList).css("top"));//.replace("px","")
+                               probableElementOnViewPort = Math.abs(top/increment);
+                               firstElementOnViewPort = parseInt(probableElementOnViewPort);
+                               probableElementOnViewPort -= firstElementOnViewPort;
+                               if (probableElementOnViewPort > .5) {
+                                       firstElementOnViewPort++;
+                               }
+                               //added by EE. This variable is created on first page of index and set here to false after 30 miliseconds
+                               setTimeout(function(){isDragging = false},30);
+                               endMouseY = mouseY;
+                               //console.log(startMouseY);
+                               //console.log(endMouseY);
+                               if(Math.abs(endMouseY-startMouseY)<60){//this is not a drag but a click
+                                       isDragging = false
+                               }
+
+                               var sliderH = (((numElmts+shownInViewport)*increment + increment)/containerH)*100;
+                               var sliderT = ((firstElementOnViewPort*increment)/containerH)*100;
+
+                               //Calculate the first viewable element when the slider is at top
+                               var amountShownAtOneTime = Math.floor(containerH/increment);
+                               var firstElementWhenSliderIsAtTop = numElmts - amountShownAtOneTime;
+
+                               var theCapIncrement = (sliderH - (((firstElementWhenSliderIsAtTop*increment)/containerH)*100)) / 2;
+
+                               //alert(sliderT);
+                               var bottomCap = (theCapIncrement*2)-sliderH;
+
+                               if(parseInt(jQuery(sliderList).css('top')) > 0){
+                                       jQuery(sliderList).animate({top: "0"});
+                               }else if(-(sliderT) < bottomCap ){
+                                       //((sliderH-sliderT)/2)=93.75; cap
+                                       jQuery(sliderList).animate({top: bottomCap+'%'});
+
+                               }else{
+                                       jQuery(sliderList).animate({top: "-"+((firstElementOnViewPort*increment)/containerH)*100+'%'});
+                               }
+                               startYUP = undefined;
+                               startYDOWN = undefined;
+
+                       })
+                       .drag(function( ev, dd ){
+                               if (!isAnimating) {
+                                       //console.log(dd.deltaY);
+                                       if (sum >= 0) {
+                                               //top -= totalHeight
+                                       } else if (sum <= -totalHeight) {
+                                               //top += totalHeight;
+                                       }
+                                       var sliderH = (((numElmts+shownInViewport)*increment + increment)/containerH)*100;
+                                       var sliderT = ((firstElementOnViewPort*increment)/containerH)*100;
+
+                                       var amountShownAtOneTime = Math.floor(containerH/increment);
+                                       var firstElementWhenSliderIsAtTop = numElmts - amountShownAtOneTime;
+                                       var theCapIncrement = (sliderH - (((firstElementWhenSliderIsAtTop*increment)/containerH)*100)) / 2;
+
+                                       var bottomCap = (theCapIncrement*2)-sliderH;
+                                       var decreaseRate = 0;
+                                       var distancePast = 0;
+                                       if(parseInt(jQuery(sliderList).css('top')) > 0){
+                                               if(startYUP == undefined) {
+                                                       startYUP = dd.deltaY;
+                                               }
+                                               var change = - ( startYUP - dd.deltaY ) / dd.deltaY ;
+                                               decreaseRate = - ( startYUP - dd.deltaY ) * ( change * .75 );
+
+                                               sum = top + ( dd.deltaY - decreaseRate );
+                                       } else if ( ( sum/containerH ) * 100 < bottomCap ){
+                                               if( startYDOWN == undefined) {
+                                                       startYDOWN = dd.deltaY;
+                                               }
+                                               decreaseRate = ( startYDOWN - dd.deltaY ) * .75;
+                                               sum = top + ( dd.deltaY + decreaseRate );
+                                       }else{
+                                               sum = top + dd.deltaY;
+                                       }
+
+                                       //console.log(sum);
+                                       var toPercent = ( ( sum / containerH ) * 100 ) + '%';
+                                       //console.log(toPercent);
+                                       jQuery(sliderList).css({
+                                               top: toPercent
+                                       });
+
+                                       /*
+                                       if(parseInt(jQuery(sliderList).css('top')) > 0){
+                                               if(startYUP == undefined) {
+                                                       startYUP = mouseY;
+                                               }
+                                               var change = -(startYUP - mouseY)/dd.deltaY;
+                                               decreaseRate = -(startYUP - mouseY)*(change*.75);
+
+                                               //console.log(Math.log(dd.deltaY)/2);
+                                               //sum = top + (Math.log(dd.deltaY)/2);
+                                               sum = top + (dd.deltaY-decreaseRate);
+                                       }else if((sum/containerH)*100 < bottomCap ){
+                                               if(startYDOWN == undefined) {
+                                                       startYDOWN = mouseY;
+                                               }
+                                               decreaseRate = (startYDOWN - mouseY)*.75;
+                                               sum = top + (dd.deltaY+decreaseRate);
+                                       }else{
+                                               sum = top + dd.deltaY;
+                                       }
+
+                                       //console.log(sum);
+                                       var toPercent = ((sum/containerH)*100)+'%';
+                                       //console.log(toPercent);
+                                       jQuery(sliderList).css({
+                                               top: toPercent
+                                       });
+                                       //console.log(jQuery(sliderList).css('top'));
+                                       */
+                               }
+                       });
+               }
+
+               for (i = 0; i < shownInViewport; i++) {
+                       jQuery(sliderList).css('height',(((numElmts+shownInViewport)*increment + increment)/containerH)*100 + "%");
+                       //jQuery(sliderList).append(jQuery(elmnts[i]).clone());
+               }
+       }
+};
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/jquery.nouislider.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/jquery.nouislider.js
new file mode 100644 (file)
index 0000000..6673ccc
--- /dev/null
@@ -0,0 +1,364 @@
+/* noUiSlider 3.2.1 */
+(function ($) {
+
+       $.fn.noUiSlider = function (options, flag) {
+
+               // test for mouse, pointer or touch
+               var EVENT = window.navigator.msPointerEnabled ? 2 : 'ontouchend' in document ? 3 : 1;
+               if (window.debug && console) {
+                       console.log(EVENT);
+               }
+
+               // shorthand for test=function, calling
+               function call(f, scope, args) {
+                       if (typeof f === "function") {
+                               f.call(scope, args);
+                       }
+               }
+
+               // function wrapper for calculating to and from range values
+               var percentage = {
+                       to : function (range, value) {
+                               value = range[0] < 0 ? value + Math.abs(range[0]) : value - range[0];
+                               return (value * 100) / this._length(range);
+                       },
+                       from : function (range, value) {
+                               return (value * 100) / this._length(range);
+                       },
+                       is : function (range, value) {
+                               return ((value * this._length(range)) / 100) + range[0];
+                       },
+                       _length : function (range) {
+                               return (range[0] > range[1] ? range[0] - range[1] : range[1] - range[0]);
+                       }
+               }
+
+               // bounce handles of eachother, the edges of the slider
+               function correct(proposal, slider, handle) {
+
+                       var
+                       setup = slider.data('setup'),
+                       handles = setup.handles,
+                       settings = setup.settings,
+                       pos = setup.pos;
+
+                       proposal = proposal < 0 ? 0 : proposal > 100 ? 100 : proposal;
+
+                       if (settings.handles == 2) {
+                               if (handle.is(':first-child')) {
+                                       var other = parseFloat(handles[1][0].style[pos]) - settings.margin;
+                                       proposal = proposal > other ? other : proposal;
+                               } else {
+                                       var other = parseFloat(handles[0][0].style[pos]) + settings.margin;
+                                       proposal = proposal < other ? other : proposal;
+                               }
+                       }
+
+                       if (settings.step) {
+                               var per = percentage.from(settings.range, settings.step);
+                               proposal = Math.round(proposal / per) * per;
+                       }
+
+                       return proposal;
+
+               }
+
+               // get standarised clientX and clientY
+               function client(f) {
+                       try {
+                               return [(f.clientX || f.originalEvent.clientX || f.originalEvent.touches[0].clientX), (f.clientY || f.originalEvent.clientY || f.originalEvent.touches[0].clientY)];
+                       } catch (e) {
+                               return ['x', 'y'];
+                       }
+               }
+
+               // get native inline style value in %
+               function place(handle, pos) {
+                       return parseFloat(handle[0].style[pos]);
+               }
+
+               // simplified defaults
+               var defaults = {
+                       handles : 2,
+                       serialization : {
+                               to : ['', ''],
+                               resolution : 0.01
+                       }
+               };
+
+               // contains all methods
+               methods = {
+                       create : function () {
+
+                               return this.each(function () {
+
+                                       // set handle to position
+                                       function setHandle(handle, to, slider) {
+                                               handle.css(pos, to + '%').data('input').val(percentage.is(settings.range, to).toFixed(res));
+                                       }
+
+                                       var
+                                       settings = $.extend(defaults, options),
+                                       // handles
+                                       handlehtml = '<a><div></div></a>',
+                                       // save this to variable, // allows identification
+                                       slider = $(this).data('_isnS_', true),
+                                       // array of handles
+                                       handles = [],
+                                       // the way the handles are positioned for this slider, top/left
+                                       pos,
+                                       // for quick orientation testing and array matching
+                                       orientation,
+                                       // append classes
+                                       classes = "",
+                                       // tests numerical
+                                       num = function (e) {
+                                               return !isNaN(parseFloat(e)) && isFinite(e);
+                                       },
+                                       // counts decimals in serialization, sets default
+                                       split = (settings.serialization.resolution = settings.serialization.resolution || 0.01).toString().split('.'),
+                                       res = split[0] == 1 ? 0 : split[1].length;
+
+                                       settings.start = num(settings.start) ? [settings.start, 0] : settings.start;
+
+                                       // logs bad input values, if possible
+                                       $.each(settings, function (a, b) {
+
+                                               if (num(b)) {
+                                                       settings[a] = parseFloat(b);
+                                               } else if (typeof b == "object" && num(b[0])) {
+                                                       b[0] = parseFloat(b[0]);
+                                                       if (num(b[1])) {
+                                                               b[1] = parseFloat(b[1]);
+                                                       }
+                                               }
+
+                                               var e = false;
+                                               b = typeof b == "undefined" ? "x" : b;
+
+                                               switch (a) {
+                                               case 'range':
+                                               case 'start':
+                                                       e = b.length != 2 || !num(b[0]) || !num(b[1]);
+                                                       break;
+                                               case 'handles':
+                                                       e = (b < 1 || b > 2 || !num(b));
+                                                       break;
+                                               case 'connect':
+                                                       e = b != "lower" && b != "upper" && typeof b != "boolean";
+                                                       break;
+                                               case 'orientation':
+                                                       e = (b != "vertical" && b != "horizontal");
+                                                       break;
+                                               case 'margin':
+                                               case 'step':
+                                                       e = typeof b != "undefined" && !num(b);
+                                                       break;
+                                               case 'serialization':
+                                                       e = typeof b != "object" || !num(b.resolution) || (typeof b.to == 'object' && b.to.length < settings.handles);
+                                                       break;
+                                               case 'slide':
+                                                       e = typeof b != "function";
+                                                       break;
+                                               }
+
+                                               if (e && console) {
+                                                       console.error('Bad input for ' + a + ' on slider:', slider);
+                                               }
+
+                                       });
+
+                                       settings.margin = settings.margin ? percentage.from(settings.range, settings.margin) : 0;
+
+                                       // tests serialization to be strings or jQuery objects
+                                       if (settings.serialization.to instanceof jQuery || typeof settings.serialization.to == 'string' || settings.serialization.to === false) {
+                                               settings.serialization.to = [settings.serialization.to];
+                                       }
+
+                                       if (settings.orientation == "vertical") {
+                                               classes += "vertical";
+                                               pos = 'top';
+                                               orientation = 1;
+                                       } else {
+                                               classes += "horizontal";
+                                               pos = 'left';
+                                               orientation = 0;
+                                       }
+
+                                       classes += settings.connect ? settings.connect == "lower" ? " connect lower" : " connect" : "";
+
+                                       slider.addClass(classes);
+
+                                       for (var i = 0; i < settings.handles; i++) {
+
+                                               handles[i] = slider.append(handlehtml).children(':last');
+                                               var setTo = percentage.to(settings.range, settings.start[i]);
+                                               handles[i].css(pos, setTo + '%');
+                                               if (setTo == 100 && handles[i].is(':first-child')) {
+                                                       handles[i].css('z-index', 2);
+                                               }
+
+                                               var bind = '.noUiSlider',
+                                               onEvent = (EVENT === 1 ? 'mousedown' : EVENT === 2 ? 'MSPointerDown' : EVENT === 3 ? 'mousedown' : 'touchstart') + bind + 'X',
+                                               moveEvent = (EVENT === 1 ? 'mousemove' : EVENT === 2 ? 'MSPointerMove' : EVENT === 3 ? 'mousemove' : 'touchmove') + bind,
+                                               offEvent = (EVENT === 1 ? 'mouseup' : EVENT === 2 ? 'MSPointerUp' : EVENT === 3 ? 'mouseup' :'touchend') + bind
+
+                                               handles[i].find('div').on(onEvent, function (e) {
+
+                                                       $('body').bind('selectstart' + bind, function () {
+                                                               return false;
+                                                       });
+
+                                                       if (!slider.hasClass('disabled')) {
+
+                                                               $('body').addClass('TOUCH');
+
+                                                               var handle = $(this).addClass('active').parent(),
+                                                               unbind = handle.add($(document)).add('body'),
+                                                               originalPosition = parseFloat(handle[0].style[pos]),
+                                                               originalClick = client(e),
+                                                               previousClick = originalClick,
+                                                               previousProposal = false;
+
+                                                               $(document).on(moveEvent, function (f) {
+
+                                                                       f.preventDefault();
+
+                                                                       var currentClick = client(f);
+
+                                                                       if (currentClick[0] == "x") {
+                                                                               return;
+                                                                       }
+
+                                                                       currentClick[0] -= originalClick[0];
+                                                                       currentClick[1] -= originalClick[1];
+
+                                                                       var movement = [
+                                                                               previousClick[0] != currentClick[0], previousClick[1] != currentClick[1]
+                                                                       ],
+                                                                       proposal = originalPosition + ((currentClick[orientation] * 100) / (orientation ? slider.height() : slider.width()));
+                                                                       proposal = correct(proposal, slider, handle);
+
+                                                                       if (movement[orientation] && proposal != previousProposal) {
+                                                                               handle.css(pos, proposal + '%').data('input').val(percentage.is(settings.range, proposal).toFixed(res));
+                                                                               call(settings.slide, slider.data('_n', true));
+                                                                               previousProposal = proposal;
+                                                                               handle.css('z-index', handles.length == 2 && proposal == 100 && handle.is(':first-child') ? 2 : 1);
+                                                                       }
+
+                                                                       previousClick = currentClick;
+
+                                                               }).on(offEvent, function () {
+
+                                                                       unbind.off(bind);
+                                                                       $('body').removeClass('TOUCH');
+                                                                       if (slider.find('.active').removeClass('active').end().data('_n')) {
+                                                                               slider.data('_n', false).change();
+                                                                       }
+
+                                                               });
+
+                                                       }
+                                               }).on('click', function (e) {
+                                                       e.stopPropagation();
+                                               });
+
+                                       }
+
+                                       if (EVENT == 1) {
+                                               slider.on('click', function (f) {
+                                                       if (!slider.hasClass('disabled')) {
+                                                               var currentClick = client(f),
+                                                               proposal = ((currentClick[orientation] - slider.offset()[pos]) * 100) / (orientation ? slider.height() : slider.width()),
+                                                               handle = handles.length > 1 ? (currentClick[orientation] < (handles[0].offset()[pos] + handles[1].offset()[pos]) / 2 ? handles[0] : handles[1]) : handles[0];
+                                                               setHandle(handle, correct(proposal, slider, handle), slider);
+                                                               call(settings.slide, slider);
+                                                               slider.change();
+                                                       }
+                                               });
+                                       }
+
+                                       for (var i = 0; i < handles.length; i++) {
+                                               var val = percentage.is(settings.range, place(handles[i], pos)).toFixed(res);
+                                               if (typeof settings.serialization.to[i] == 'string') {
+                                                       handles[i].data('input',
+                                                               slider.append('<input type="hidden" name="' + settings.serialization.to[i] + '">').find('input:last')
+                                                               .val(val)
+                                                               .change(function (a) {
+                                                                       a.stopPropagation();
+                                                               }));
+                                               } else if (settings.serialization.to[i] == false) {
+                                                       handles[i].data('input', {
+                                                               val : function (a) {
+                                                                       if (typeof a != 'undefined') {
+                                                                               this.handle.data('noUiVal', a);
+                                                                       } else {
+                                                                               return this.handle.data('noUiVal');
+                                                                       }
+                                                               },
+                                                               handle : handles[i]
+                                                       });
+                                               } else {
+                                                       handles[i].data('input', settings.serialization.to[i].data('handleNR', i).val(val).change(function () {
+                                                                       var arr = [null, null];
+                                                                       arr[$(this).data('handleNR')] = $(this).val();
+                                                                       slider.val(arr);
+                                                               }));
+                                               }
+                                       }
+
+                                       $(this).data('setup', {
+                                               settings : settings,
+                                               handles : handles,
+                                               pos : pos,
+                                               res : res
+                                       });
+
+                               });
+                       },
+                       val : function () {
+
+                               if (typeof arguments[0] !== 'undefined') {
+
+                                       var val = typeof arguments[0] == 'number' ? [arguments[0]] : arguments[0];
+
+                                       return this.each(function () {
+
+                                               var setup = $(this).data('setup');
+
+                                               for (var i = 0; i < setup.handles.length; i++) {
+                                                       if (val[i] != null) {
+                                                               var proposal = correct(percentage.to(setup.settings.range, val[i]), $(this), setup.handles[i]);
+                                                               setup.handles[i].css(setup.pos, proposal + '%').data('input').val(percentage.is(setup.settings.range, proposal).toFixed(setup.res));
+                                                       }
+                                               }
+                                       });
+
+                               } else {
+
+                                       var handles = $(this).data('setup').handles,
+                                       re = [];
+                                       for (var i = 0; i < handles.length; i++) {
+                                               re.push(parseFloat(handles[i].data('input').val()));
+                                       }
+                                       return re.length == 1 ? re[0] : re;
+
+                               }
+                       },
+                       disabled : function () {
+                               return flag ? $(this).addClass('disabled') : $(this).removeClass('disabled');
+                       }
+               }
+
+               // remap the native/current val function to noUiSlider
+               var $_val = jQuery.fn.val;
+
+               jQuery.fn.val = function () {
+                       return this.data('_isnS_') ? methods.val.apply(this, arguments) : $_val.apply(this, arguments);
+               }
+
+               return options == "disabled" ? methods.disabled.apply(this) : methods.create.apply(this);
+
+       }
+
+})(jQuery);
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/jquery.nouislider.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/jquery.nouislider.min.js
new file mode 100644 (file)
index 0000000..18a5b94
--- /dev/null
@@ -0,0 +1,11 @@
+(function(f){f.fn.noUiSlider=function(n,r){function s(a,e,c){var g=e.data("setup"),l=g.handles;e=g.settings;g=g.pos;a=0>a?0:100<a?100:a;2==e.handles&&(c.is(":first-child")?(c=parseFloat(l[1][0].style[g])-e.margin,a=a>c?c:a):(c=parseFloat(l[0][0].style[g])+e.margin,a=a<c?c:a));e.step&&(c=m.from(e.range,e.step),a=Math.round(a/c)*c);return a}function t(a){try{return[a.clientX||a.originalEvent.clientX||a.originalEvent.touches[0].clientX,a.clientY||a.originalEvent.clientY||a.originalEvent.touches[0].clientY]}catch(e){return["x",
+"y"]}}var j=window.navigator.msPointerEnabled?2:"ontouchend"in document?3:1;window.debug&&console&&console.log(j);var m={to:function(a,e){e=0>a[0]?e+Math.abs(a[0]):e-a[0];return 100*e/this._length(a)},from:function(a,e){return 100*e/this._length(a)},is:function(a,e){return e*this._length(a)/100+a[0]},_length:function(a){return a[0]>a[1]?a[0]-a[1]:a[1]-a[0]}},w={handles:2,serialization:{to:["",""],resolution:0.01}};methods={create:function(){return this.each(function(){var a=f.extend(w,n),e=f(this).data("_isnS_",
+!0),c=[],g,l,b="",h=function(a){return!isNaN(parseFloat(a))&&isFinite(a)},k=(a.serialization.resolution=a.serialization.resolution||0.01).toString().split("."),q=1==k[0]?0:k[1].length;a.start=h(a.start)?[a.start,0]:a.start;f.each(a,function(b,d){h(d)?a[b]=parseFloat(d):"object"==typeof d&&h(d[0])&&(d[0]=parseFloat(d[0]),h(d[1])&&(d[1]=parseFloat(d[1])));var c=!1;d="undefined"==typeof d?"x":d;switch(b){case "range":case "start":c=2!=d.length||!h(d[0])||!h(d[1]);break;case "handles":c=1>d||2<d||!h(d);
+break;case "connect":c="lower"!=d&&"upper"!=d&&"boolean"!=typeof d;break;case "orientation":c="vertical"!=d&&"horizontal"!=d;break;case "margin":case "step":c="undefined"!=typeof d&&!h(d);break;case "serialization":c="object"!=typeof d||!h(d.resolution)||"object"==typeof d.to&&d.to.length<a.handles;break;case "slide":c="function"!=typeof d}c&&console&&console.error("Bad input for "+b+" on slider:",e)});a.margin=a.margin?m.from(a.range,a.margin):0;if(a.serialization.to instanceof jQuery||"string"==
+typeof a.serialization.to||!1===a.serialization.to)a.serialization.to=[a.serialization.to];"vertical"==a.orientation?(b+="vertical",g="top",l=1):(b+="horizontal",g="left",l=0);b+=a.connect?"lower"==a.connect?" connect lower":" connect":"";e.addClass(b);for(b=0;b<a.handles;b++){c[b]=e.append("<a><div></div></a>").children(":last");k=m.to(a.range,a.start[b]);c[b].css(g,k+"%");100==k&&c[b].is(":first-child")&&c[b].css("z-index",2);var k=(1===j?"mousedown":2===j?"MSPointerDown":"touchstart")+".noUiSliderX",
+r=(1===j?"mousemove":2===j?"MSPointerMove":"touchmove")+".noUiSlider",v=(1===j?"mouseup":2===j?"MSPointerUp":"touchend")+".noUiSlider";c[b].find("div").on(k,function(b){f("body").bind("selectstart.noUiSlider",function(){return!1});if(!e.hasClass("disabled")){f("body").addClass("TOUCH");var d=f(this).addClass("active").parent(),h=d.add(f(document)).add("body"),k=parseFloat(d[0].style[g]),j=t(b),u=j,n=!1;f(document).on(r,function(b){b.preventDefault();b=t(b);if("x"!=b[0]){b[0]-=j[0];b[1]-=j[1];var p=
+[u[0]!=b[0],u[1]!=b[1]],f=k+100*b[l]/(l?e.height():e.width()),f=s(f,e,d);if(p[l]&&f!=n){d.css(g,f+"%").data("input").val(m.is(a.range,f).toFixed(q));var p=a.slide,h=e.data("_n",!0);"function"===typeof p&&p.call(h,void 0);n=f;d.css("z-index",2==c.length&&100==f&&d.is(":first-child")?2:1)}u=b}}).on(v,function(){h.off(".noUiSlider");f("body").removeClass("TOUCH");e.find(".active").removeClass("active").end().data("_n")&&e.data("_n",!1).change()})}}).on("click",function(a){a.stopPropagation()})}if(1==
+j)e.on("click",function(b){if(!e.hasClass("disabled")){var d=t(b);b=100*(d[l]-e.offset()[g])/(l?e.height():e.width());d=1<c.length?d[l]<(c[0].offset()[g]+c[1].offset()[g])/2?c[0]:c[1]:c[0];b=s(b,e,d);d.css(g,b+"%").data("input").val(m.is(a.range,b).toFixed(q));b=a.slide;"function"===typeof b&&b.call(e,void 0);e.change()}});for(b=0;b<c.length;b++)k=m.is(a.range,parseFloat(c[b][0].style[g])).toFixed(q),"string"==typeof a.serialization.to[b]?c[b].data("input",e.append('<input type="hidden" name="'+a.serialization.to[b]+
+'">').find("input:last").val(k).change(function(a){a.stopPropagation()})):!1==a.serialization.to[b]?c[b].data("input",{val:function(a){if("undefined"!=typeof a)this.handle.data("noUiVal",a);else return this.handle.data("noUiVal")},handle:c[b]}):c[b].data("input",a.serialization.to[b].data("handleNR",b).val(k).change(function(){var a=[null,null];a[f(this).data("handleNR")]=f(this).val();e.val(a)}));f(this).data("setup",{settings:a,handles:c,pos:g,res:q})})},val:function(a){if("undefined"!==typeof a){var e=
+"number"==typeof a?[a]:a;return this.each(function(){for(var a=f(this).data("setup"),b=0;b<a.handles.length;b++)if(null!=e[b]){var c=s(m.to(a.settings.range,e[b]),f(this),a.handles[b]);a.handles[b].css(a.pos,c+"%").data("input").val(m.is(a.settings.range,c).toFixed(a.res))}})}a=f(this).data("setup").handles;for(var c=[],g=0;g<a.length;g++)c.push(parseFloat(a[g].data("input").val()));return 1==c.length?c[0]:c},disabled:function(){return r?f(this).addClass("disabled"):f(this).removeClass("disabled")}};
+var v=jQuery.fn.val;jQuery.fn.val=function(){return this.data("_isnS_")?methods.val.apply(this,arguments):v.apply(this,arguments)};return"disabled"==n?methods.disabled.apply(this):methods.create.apply(this)}})(jQuery);
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/main.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/main.js
new file mode 100644 (file)
index 0000000..74e2e50
--- /dev/null
@@ -0,0 +1,195 @@
+/*global Bootstrap, hvacControler*/
+
+/**
+ * Heat, Ventilation and Air Conditioning provides UI controls to operate this subystem of the car from
+ * [tizen.vehicle API](https://raw.github.com/otcshare/automotive-message-broker/master/docs/amb.idl).
+ * Uses mainly {{#crossLink "CarIndicator"}}{{/crossLink}} module from {{#crossLink "Bootstrap/carIndicator:property"}}{{/crossLink}}.
+ *
+ * Application directly controls following AMB properties:
+ *
+ * * WindowStatus
+ *   * FrontDefrost
+ *   * RearDefrost
+ * * HVAC
+ *   * FanSpeed
+ *   * TargetTemperatureRight
+ *   * TargetTemperatureLeft
+ *   * SeatHeaterRight
+ *   * SeatHeaterLeft
+ *   * AirConditioning
+ *   * AirRecirculation
+ *   * AirflowDirection
+ * * LightStatus
+ *   * Hazard
+ * * DirectionIndicationINST
+ * * DirectionIndicationMS
+ * * ACCommand
+ * * RecircReq
+ * * FrontTSetRightCmd
+ * * FrontTSetLeftCmd
+ * * FrontBlwrSpeedCmd
+ * * HeatedSeatFRModeRequest
+ * * HeatedSeatFRRequest
+ * * HeatedSeatFLModeRequest
+ * * HeatedSeatFLRequest
+ * * FLHSDistrCmd
+ * * FRHSDistrCmd
+ *
+ * Additionaly HVAC application implements following scenarios:
+ *
+ * * Automatic AC mode - Sets Fan Speed to zero, Airflow direction to OFF, Air recirculation to off and both target temperatures to 22 degrees.
+ * Turning off Automatic AC mode will set all properties to their previous values. If any of properties are set separately Automatic AC mode is
+ * turned off.
+ * * Max defrost mode - Maximum defrost mode sets Fan speed to maximum value, Airflow direction to Screen and resets Left target temperature
+ * within range 16 to 28 degrees. If any of properties are set separately Max defrost mode is turned off.
+ *
+ * Hover and click on elements in images below to navigate to components of HVAC application.
+ *
+ * <img id="Image-Maps_1201312180420487" src="../assets/img/hvac.png" usemap="#Image-Maps_1201312180420487" border="0" width="649" height="1152" alt="" />
+ *   <map id="_Image-Maps_1201312180420487" name="Image-Maps_1201312180420487">
+ *     <area shape="rect" coords="0,0,573,78" href="../classes/TopBarIcons.html" alt="Top bar icons" title="Top bar icons" />
+ *     <area shape="rect" coords="0,994,644,1147" href="../classes/BottomPanel.html" alt="bottom panel" title="Bottom panel" />
+ *     <area shape="rect" coords="573,1,644,76" href="../modules/Settings.html" alt="Settings" title="Settings" />
+ *     <area  shape="rect" coords="138,103,513,176" alt="Hazard button" title="Hazard button" target="_self" href="../classes/hvacControler.html#method_onHazardChanged"     >
+ *     <area  shape="rect" coords="13,197,99,653" alt="Left target temperature" title="Left target temperature" target="_self" href="../classes/hvacControler.html#method_onTargetTemperatureLeftChanged"     >
+ *     <area  shape="rect" coords="551,194,637,650" alt="Right target temperature" title="Right target temperature" target="_self" href="../classes/hvacControler.html#method_onTargetTemperatureRightChanged"     >
+ *     <area  shape="rect" coords="369,403,512,612" alt="Right target temperature indicator" title="Right target temperature indicator" target="_self" href="../classes/hvacControler.html#method_onTargetTemperatureRightChanged"     >
+ *     <area  shape="rect" coords="135,404,278,614" alt="Left target temperature indicator" title="Left target temperature indicator" target="_self" href="../classes/hvacControler.html#method_onTargetTemperatureLeftChanged"     >
+ *     <area  shape="rect" coords="137,252,278,368" alt="Left seat heater" title="Left seat heater" target="_self" href="../classes/hvacControler.html#method_onSeatHeaterLeftChanged"     >
+ *     <area  shape="rect" coords="370,252,511,368" alt="Right seat heater" title="Right seat heater" target="_self" href="../classes/hvacControler.html#method_onSeatHeaterRightChanged"     >
+ *     <area  shape="rect" coords="391,780,491,860" alt="Air recirculation" title="Air recirculation" target="_self" href="../classes/hvacControler.html#method_onAirRecirculationChanged"     >
+ *     <area  shape="rect" coords="157,780,257,860" alt="Fan status" title="Fan status" target="_self" href="../classes/hvacControler.html#method_onFanChanged"     >
+ *     <area  shape="rect" coords="273,781,373,861" alt="Automatic AC mode" title="Automatic AC mode" target="_self" href="../classes/HVAC.html"     >
+ *     <area  shape="rect" coords="151,653,498,764" alt="Fan speed" title="Fan speed" target="_self" href="../classes/hvacControler.html#method_onFanSpeedChanged"     >
+ *     <area  shape="rect" coords="17,672,135,961" alt="Airflow direction" title="Airflow direction" target="_self" href="../classes/hvacControler.html#method_onAirflowDirectionChanged"     >
+ *     <area  shape="rect" coords="516,781,626,859" alt="Rear defrost" title="Rear defrost" target="_self" href="../classes/hvacControler.html#method_onRearDefrostChanged"     >
+ *     <area  shape="rect" coords="518,876,627,956" alt="Front defrost" title="Front defrost" target="_self" href="../classes/hvacControler.html#method_onFrontDefrostChanged"     >
+ *     <area  shape="rect" coords="515,676,627,764" alt="Max defrost mode" title="Max defrost mode" target="_self" href="../classes/HVAC.html"     >
+ *     <area shape="rect" coords="646,1150,648,1152" alt="Image Map" title="Image Map" href="http://www.image-maps.com/index.php?aff=mapped_users_0" >
+ *  </map>
+ * </img>
+ *
+ * @module HVACApplication
+ * @main HVACApplication
+ * @class HVAC
+ **/
+
+/**
+ * Reference to instance of bootstrap class.
+ * @property bootstrap {Bootstrap}
+ */
+var bootstrap;
+
+/**
+ * Initializes plugins and register events for HVAC app.
+ * @method init
+ * @static
+ **/
+var init = function() {
+       "use strict";
+       var hvacIndicator = new hvacControler();
+       bootstrap = new Bootstrap(function(status) {
+               $("#topBarIcons").topBarIconsPlugin('init');
+               $('#bottomPanel').bottomPanel('init');
+
+               $(".noUiSliderLeft").noUiSlider({
+                       range : [ 0, 14 ],
+                       step : 1,
+                       start : 14,
+                       handles : 1,
+                       connect : "upper",
+                       orientation : "vertical",
+                       slide : function() {
+                               if ($("#defrost_max_btn").hasClass("on")) {
+                                       switch ($(this).val()) {
+                                       case 0:
+                                               $(this).val(1);
+                                               break;
+                                       case 14:
+                                               $(this).val(13);
+                                               break;
+                                       }
+                               }
+                               bootstrap.carIndicator.setStatus("targetTemperatureLeft", ($(this).val() + 29) - ($(this).val() * 2));
+                               bootstrap.carIndicator.setStatus("FrontTSetLeftCmd", ($(this).val() + 29) - ($(this).val() * 2));
+                       }
+               });
+
+               $(".noUiSliderRight").noUiSlider({
+                       range : [ 0, 14 ],
+                       step : 1,
+                       start : 14,
+                       handles : 1,
+                       connect : "upper",
+                       orientation : "vertical",
+                       slide : function() {
+                               bootstrap.carIndicator.setStatus("targetTemperatureRight", ($(this).val() + 29) - ($(this).val() * 2));
+                               bootstrap.carIndicator.setStatus("FrontTSetRightCmd", ($(this).val() + 29) - ($(this).val() * 2));
+                       }
+               });
+
+               $(".noUiSliderFan").noUiSlider({
+                       range : [ 0, 8 ],
+                       step : 1,
+                       start : 0,
+                       handles : 1,
+                       connect : "upper",
+                       orientation : "horizontal",
+                       slide : function() {
+                               bootstrap.carIndicator.setStatus("fanSpeed", $(this).val());
+
+                               if ($(this).val() > 0 && $(this).val() < 9) {
+                                       bootstrap.carIndicator.setStatus("FrontBlwrSpeedCmd", ($(this).val() * 2) - 1);
+                               }
+                       }
+               });
+
+               bootstrap.carIndicator.addListener({
+                       onAirRecirculationChanged : function(newValue) {
+                               hvacIndicator.onAirRecirculationChanged(newValue);
+                       },
+                       onFanChanged : function(newValue) {
+                               hvacIndicator.onFanChanged(newValue);
+                       },
+                       onFanSpeedChanged : function(newValue) {
+                               hvacIndicator.onFanSpeedChanged(newValue);
+                       },
+                       onTargetTemperatureRightChanged : function(newValue) {
+                               hvacIndicator.onTargetTemperatureRightChanged(newValue);
+                       },
+                       onTargetTemperatureLeftChanged : function(newValue) {
+                               hvacIndicator.onTargetTemperatureLeftChanged(newValue);
+                       },
+                       onHazardChanged : function(newValue) {
+                               hvacIndicator.onHazardChanged(newValue);
+                       },
+                       onSeatHeaterRightChanged : function(newValue) {
+                               hvacIndicator.onSeatHeaterRightChanged(newValue);
+                       },
+                       onSeatHeaterLeftChanged : function(newValue) {
+                               hvacIndicator.onSeatHeaterLeftChanged(newValue);
+                       },
+                       onAirflowDirectionChanged : function(newValue) {
+                               hvacIndicator.onAirflowDirectionChanged(newValue);
+                       },
+                       onFrontDefrostChanged : function(newValue) {
+                               hvacIndicator.onFrontDefrostChanged(newValue);
+                       },
+                       onRearDefrostChanged : function(newValue) {
+                               hvacIndicator.onRearDefrostChanged(newValue);
+                       }
+               });
+       });
+};
+
+/**
+ * Calls initialization fuction after document is loaded.
+ * @method $(document).ready
+ * @param init {function} Callback function for initialize Homescreen.
+ * @static
+ **/
+$(function() {
+       "use strict";
+       // debug mode - window.setTimeout("init()", 20000);
+       init();
+});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery-ui-i18n.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery-ui-i18n.min.js
new file mode 100644 (file)
index 0000000..06ea84d
--- /dev/null
@@ -0,0 +1,6 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Includes: jquery.ui.datepicker-af.js, jquery.ui.datepicker-ar-DZ.js, jquery.ui.datepicker-ar.js, jquery.ui.datepicker-az.js, jquery.ui.datepicker-be.js, jquery.ui.datepicker-bg.js, jquery.ui.datepicker-bs.js, jquery.ui.datepicker-ca.js, jquery.ui.datepicker-cs.js, jquery.ui.datepicker-cy-GB.js, jquery.ui.datepicker-da.js, jquery.ui.datepicker-de.js, jquery.ui.datepicker-el.js, jquery.ui.datepicker-en-AU.js, jquery.ui.datepicker-en-GB.js, jquery.ui.datepicker-en-NZ.js, jquery.ui.datepicker-eo.js, jquery.ui.datepicker-es.js, jquery.ui.datepicker-et.js, jquery.ui.datepicker-eu.js, jquery.ui.datepicker-fa.js, jquery.ui.datepicker-fi.js, jquery.ui.datepicker-fo.js, jquery.ui.datepicker-fr-CA.js, jquery.ui.datepicker-fr-CH.js, jquery.ui.datepicker-fr.js, jquery.ui.datepicker-gl.js, jquery.ui.datepicker-he.js, jquery.ui.datepicker-hi.js, jquery.ui.datepicker-hr.js, jquery.ui.datepicker-hu.js, jquery.ui.datepicker-hy.js, jquery.ui.datepicker-id.js, jquery.ui.datepicker-is.js, jquery.ui.datepicker-it.js, jquery.ui.datepicker-ja.js, jquery.ui.datepicker-ka.js, jquery.ui.datepicker-kk.js, jquery.ui.datepicker-km.js, jquery.ui.datepicker-ko.js, jquery.ui.datepicker-ky.js, jquery.ui.datepicker-lb.js, jquery.ui.datepicker-lt.js, jquery.ui.datepicker-lv.js, jquery.ui.datepicker-mk.js, jquery.ui.datepicker-ml.js, jquery.ui.datepicker-ms.js, jquery.ui.datepicker-nb.js, jquery.ui.datepicker-nl-BE.js, jquery.ui.datepicker-nl.js, jquery.ui.datepicker-nn.js, jquery.ui.datepicker-no.js, jquery.ui.datepicker-pl.js, jquery.ui.datepicker-pt-BR.js, jquery.ui.datepicker-pt.js, jquery.ui.datepicker-rm.js, jquery.ui.datepicker-ro.js, jquery.ui.datepicker-ru.js, jquery.ui.datepicker-sk.js, jquery.ui.datepicker-sl.js, jquery.ui.datepicker-sq.js, jquery.ui.datepicker-sr-SR.js, jquery.ui.datepicker-sr.js, jquery.ui.datepicker-sv.js, jquery.ui.datepicker-ta.js, jquery.ui.datepicker-th.js, jquery.ui.datepicker-tj.js, jquery.ui.datepicker-tr.js, jquery.ui.datepicker-uk.js, jquery.ui.datepicker-vi.js, jquery.ui.datepicker-zh-CN.js, jquery.ui.datepicker-zh-HK.js, jquery.ui.datepicker-zh-TW.js
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.af={closeText:"Selekteer",prevText:"Vorige",nextText:"Volgende",currentText:"Vandag",monthNames:["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"],monthNamesShort:["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],dayNames:["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],dayNamesShort:["Son","Maa","Din","Woe","Don","Vry","Sat"],dayNamesMin:["So","Ma","Di","Wo","Do","Vr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.af)}),jQuery(function(e){e.datepicker.regional["ar-DZ"]={closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["ar-DZ"])}),jQuery(function(e){e.datepicker.regional.ar={closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["كانون الثاني","شباط","آذار","نيسان","مايو","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ar)}),jQuery(function(e){e.datepicker.regional.az={closeText:"Bağla",prevText:"&#x3C;Geri",nextText:"İrəli&#x3E;",currentText:"Bugün",monthNames:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],monthNamesShort:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],dayNames:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"],dayNamesShort:["B","Be","Ça","Ç","Ca","C","Ş"],dayNamesMin:["B","B","Ç","С","Ç","C","Ş"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.az)}),jQuery(function(e){e.datepicker.regional.be={closeText:"Зачыніць",prevText:"&larr;Папяр.",nextText:"Наст.&rarr;",currentText:"Сёньня",monthNames:["Студзень","Люты","Сакавік","Красавік","Травень","Чэрвень","Ліпень","Жнівень","Верасень","Кастрычнік","Лістапад","Сьнежань"],monthNamesShort:["Сту","Лют","Сак","Кра","Тра","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сьн"],dayNames:["нядзеля","панядзелак","аўторак","серада","чацьвер","пятніца","субота"],dayNamesShort:["ндз","пнд","аўт","срд","чцв","птн","сбт"],dayNamesMin:["Нд","Пн","Аў","Ср","Чц","Пт","Сб"],weekHeader:"Тд",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.be)}),jQuery(function(e){e.datepicker.regional.bg={closeText:"затвори",prevText:"&#x3C;назад",nextText:"напред&#x3E;",nextBigText:"&#x3E;&#x3E;",currentText:"днес",monthNames:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","Окт","Нов","Дек"],dayNames:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],dayNamesShort:["Нед","Пон","Вто","Сря","Чет","Пет","Съб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Съ"],weekHeader:"Wk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.bg)}),jQuery(function(e){e.datepicker.regional.bs={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Juni","Juli","August","Septembar","Oktobar","Novembar","Decembar"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Wk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.bs)}),jQuery(function(e){e.datepicker.regional.ca={closeText:"Tanca",prevText:"Anterior",nextText:"Següent",currentText:"Avui",monthNames:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],monthNamesShort:["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des"],dayNames:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],dayNamesShort:["dg","dl","dt","dc","dj","dv","ds"],dayNamesMin:["dg","dl","dt","dc","dj","dv","ds"],weekHeader:"Set",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ca)}),jQuery(function(e){e.datepicker.regional.cs={closeText:"Zavřít",prevText:"&#x3C;Dříve",nextText:"Později&#x3E;",currentText:"Nyní",monthNames:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],monthNamesShort:["led","úno","bře","dub","kvě","čer","čvc","srp","zář","říj","lis","pro"],dayNames:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],dayNamesShort:["ne","po","út","st","čt","pá","so"],dayNamesMin:["ne","po","út","st","čt","pá","so"],weekHeader:"Týd",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.cs)}),jQuery(function(e){e.datepicker.regional["cy-GB"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"],monthNamesShort:["Ion","Chw","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tac","Rha"],dayNames:["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"],dayNamesShort:["Sul","Llu","Maw","Mer","Iau","Gwe","Sad"],dayNamesMin:["Su","Ll","Ma","Me","Ia","Gw","Sa"],weekHeader:"Wy",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["cy-GB"])}),jQuery(function(e){e.datepicker.regional.da={closeText:"Luk",prevText:"&#x3C;Forrige",nextText:"Næste&#x3E;",currentText:"Idag",monthNames:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],dayNamesShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayNamesMin:["Sø","Ma","Ti","On","To","Fr","Lø"],weekHeader:"Uge",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.da)}),jQuery(function(e){e.datepicker.regional.de={closeText:"Schließen",prevText:"&#x3C;Zurück",nextText:"Vor&#x3E;",currentText:"Heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"KW",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.de)}),jQuery(function(e){e.datepicker.regional.el={closeText:"Κλείσιμο",prevText:"Προηγούμενος",nextText:"Επόμενος",currentText:"Τρέχων Μήνας",monthNames:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],monthNamesShort:["Ιαν","Φεβ","Μαρ","Απρ","Μαι","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],dayNames:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],dayNamesShort:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],dayNamesMin:["Κυ","Δε","Τρ","Τε","Πε","Πα","Σα"],weekHeader:"Εβδ",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.el)}),jQuery(function(e){e.datepicker.regional["en-AU"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["en-AU"])}),jQuery(function(e){e.datepicker.regional["en-GB"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["en-GB"])}),jQuery(function(e){e.datepicker.regional["en-NZ"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["en-NZ"])}),jQuery(function(e){e.datepicker.regional.eo={closeText:"Fermi",prevText:"&#x3C;Anta",nextText:"Sekv&#x3E;",currentText:"Nuna",monthNames:["Januaro","Februaro","Marto","Aprilo","Majo","Junio","Julio","Aŭgusto","Septembro","Oktobro","Novembro","Decembro"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aŭg","Sep","Okt","Nov","Dec"],dayNames:["Dimanĉo","Lundo","Mardo","Merkredo","Ĵaŭdo","Vendredo","Sabato"],dayNamesShort:["Dim","Lun","Mar","Mer","Ĵaŭ","Ven","Sab"],dayNamesMin:["Di","Lu","Ma","Me","Ĵa","Ve","Sa"],weekHeader:"Sb",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.eo)}),jQuery(function(e){e.datepicker.regional.es={closeText:"Cerrar",prevText:"&#x3C;Ant",nextText:"Sig&#x3E;",currentText:"Hoy",monthNames:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthNamesShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],dayNames:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mié","Juv","Vie","Sáb"],dayNamesMin:["Do","Lu","Ma","Mi","Ju","Vi","Sá"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.es)}),jQuery(function(e){e.datepicker.regional.et={closeText:"Sulge",prevText:"Eelnev",nextText:"Järgnev",currentText:"Täna",monthNames:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],monthNamesShort:["Jaan","Veebr","Märts","Apr","Mai","Juuni","Juuli","Aug","Sept","Okt","Nov","Dets"],dayNames:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev"],dayNamesShort:["Pühap","Esmasp","Teisip","Kolmap","Neljap","Reede","Laup"],dayNamesMin:["P","E","T","K","N","R","L"],weekHeader:"näd",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.et)}),jQuery(function(e){e.datepicker.regional.eu={closeText:"Egina",prevText:"&#x3C;Aur",nextText:"Hur&#x3E;",currentText:"Gaur",monthNames:["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua"],monthNamesShort:["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe."],dayNames:["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"],dayNamesShort:["ig.","al.","ar.","az.","og.","ol.","lr."],dayNamesMin:["ig","al","ar","az","og","ol","lr"],weekHeader:"As",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.eu)}),jQuery(function(e){e.datepicker.regional.fa={closeText:"بستن",prevText:"&#x3C;قبلی",nextText:"بعدی&#x3E;",currentText:"امروز",monthNames:["فروردين","ارديبهشت","خرداد","تير","مرداد","شهريور","مهر","آبان","آذر","دی","بهمن","اسفند"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["يکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],dayNamesShort:["ی","د","س","چ","پ","ج","ش"],dayNamesMin:["ی","د","س","چ","پ","ج","ش"],weekHeader:"هف",dateFormat:"yy/mm/dd",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.fa)}),jQuery(function(e){e.datepicker.regional.fi={closeText:"Sulje",prevText:"&#xAB;Edellinen",nextText:"Seuraava&#xBB;",currentText:"Tänään",monthNames:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],monthNamesShort:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"],dayNamesShort:["Su","Ma","Ti","Ke","To","Pe","La"],dayNames:["Sunnuntai","Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai"],dayNamesMin:["Su","Ma","Ti","Ke","To","Pe","La"],weekHeader:"Vk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.fi)}),jQuery(function(e){e.datepicker.regional.fo={closeText:"Lat aftur",prevText:"&#x3C;Fyrra",nextText:"Næsta&#x3E;",currentText:"Í dag",monthNames:["Januar","Februar","Mars","Apríl","Mei","Juni","Juli","August","September","Oktober","November","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],dayNames:["Sunnudagur","Mánadagur","Týsdagur","Mikudagur","Hósdagur","Fríggjadagur","Leyardagur"],dayNamesShort:["Sun","Mán","Týs","Mik","Hós","Frí","Ley"],dayNamesMin:["Su","Má","Tý","Mi","Hó","Fr","Le"],weekHeader:"Vk",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.fo)}),jQuery(function(e){e.datepicker.regional["fr-CA"]={closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["fr-CA"])}),jQuery(function(e){e.datepicker.regional["fr-CH"]={closeText:"Fermer",prevText:"&#x3C;Préc",nextText:"Suiv&#x3E;",currentText:"Courant",monthNames:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthNamesShort:["Jan","Fév","Mar","Avr","Mai","Jun","Jul","Aoû","Sep","Oct","Nov","Déc"],dayNames:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],dayNamesShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],dayNamesMin:["Di","Lu","Ma","Me","Je","Ve","Sa"],weekHeader:"Sm",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["fr-CH"])}),jQuery(function(e){e.datepicker.regional.fr={closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthNamesShort:["Janv.","Févr.","Mars","Avril","Mai","Juin","Juil.","Août","Sept.","Oct.","Nov.","Déc."],dayNames:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],dayNamesShort:["Dim.","Lun.","Mar.","Mer.","Jeu.","Ven.","Sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.fr)}),jQuery(function(e){e.datepicker.regional.gl={closeText:"Pechar",prevText:"&#x3C;Ant",nextText:"Seg&#x3E;",currentText:"Hoxe",monthNames:["Xaneiro","Febreiro","Marzo","Abril","Maio","Xuño","Xullo","Agosto","Setembro","Outubro","Novembro","Decembro"],monthNamesShort:["Xan","Feb","Mar","Abr","Mai","Xuñ","Xul","Ago","Set","Out","Nov","Dec"],dayNames:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mér","Xov","Ven","Sáb"],dayNamesMin:["Do","Lu","Ma","Mé","Xo","Ve","Sá"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.gl)}),jQuery(function(e){e.datepicker.regional.he={closeText:"סגור",prevText:"&#x3C;הקודם",nextText:"הבא&#x3E;",currentText:"היום",monthNames:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],monthNamesShort:["ינו","פבר","מרץ","אפר","מאי","יוני","יולי","אוג","ספט","אוק","נוב","דצמ"],dayNames:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"],dayNamesShort:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],dayNamesMin:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.he)}),jQuery(function(e){e.datepicker.regional.hi={closeText:"बंद",prevText:"पिछला",nextText:"अगला",currentText:"आज",monthNames:["जनवरी ","फरवरी","मार्च","अप्रेल","मई","जून","जूलाई","अगस्त ","सितम्बर","अक्टूबर","नवम्बर","दिसम्बर"],monthNamesShort:["जन","फर","मार्च","अप्रेल","मई","जून","जूलाई","अग","सित","अक्ट","नव","दि"],dayNames:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],dayNamesShort:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],dayNamesMin:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],weekHeader:"हफ्ता",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hi)}),jQuery(function(e){e.datepicker.regional.hr={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],monthNamesShort:["Sij","Velj","Ožu","Tra","Svi","Lip","Srp","Kol","Ruj","Lis","Stu","Pro"],dayNames:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Tje",dateFormat:"dd.mm.yy.",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hr)}),jQuery(function(e){e.datepicker.regional.hu={closeText:"bezár",prevText:"vissza",nextText:"előre",currentText:"ma",monthNames:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],monthNamesShort:["Jan","Feb","Már","Ápr","Máj","Jún","Júl","Aug","Szep","Okt","Nov","Dec"],dayNames:["Vasárnap","Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat"],dayNamesShort:["Vas","Hét","Ked","Sze","Csü","Pén","Szo"],dayNamesMin:["V","H","K","Sze","Cs","P","Szo"],weekHeader:"Hét",dateFormat:"yy.mm.dd.",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hu)}),jQuery(function(e){e.datepicker.regional.hy={closeText:"Փակել",prevText:"&#x3C;Նախ.",nextText:"Հաջ.&#x3E;",currentText:"Այսօր",monthNames:["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր"],monthNamesShort:["Հունվ","Փետր","Մարտ","Ապր","Մայիս","Հունիս","Հուլ","Օգս","Սեպ","Հոկ","Նոյ","Դեկ"],dayNames:["կիրակի","եկուշաբթի","երեքշաբթի","չորեքշաբթի","հինգշաբթի","ուրբաթ","շաբաթ"],dayNamesShort:["կիր","երկ","երք","չրք","հնգ","ուրբ","շբթ"],dayNamesMin:["կիր","երկ","երք","չրք","հնգ","ուրբ","շբթ"],weekHeader:"ՇԲՏ",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hy)}),jQuery(function(e){e.datepicker.regional.id={closeText:"Tutup",prevText:"&#x3C;mundur",nextText:"maju&#x3E;",currentText:"hari ini",monthNames:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agus","Sep","Okt","Nop","Des"],dayNames:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],dayNamesShort:["Min","Sen","Sel","Rab","kam","Jum","Sab"],dayNamesMin:["Mg","Sn","Sl","Rb","Km","jm","Sb"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.id)}),jQuery(function(e){e.datepicker.regional.is={closeText:"Loka",prevText:"&#x3C; Fyrri",nextText:"Næsti &#x3E;",currentText:"Í dag",monthNames:["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Maí","Jún","Júl","Ágú","Sep","Okt","Nóv","Des"],dayNames:["Sunnudagur","Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur"],dayNamesShort:["Sun","Mán","Þri","Mið","Fim","Fös","Lau"],dayNamesMin:["Su","Má","Þr","Mi","Fi","Fö","La"],weekHeader:"Vika",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.is)}),jQuery(function(e){e.datepicker.regional.it={closeText:"Chiudi",prevText:"&#x3C;Prec",nextText:"Succ&#x3E;",currentText:"Oggi",monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthNamesShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],dayNames:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],dayNamesShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayNamesMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.it)}),jQuery(function(e){e.datepicker.regional.ja={closeText:"閉じる",prevText:"&#x3C;前",nextText:"次&#x3E;",currentText:"今日",monthNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayNames:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],dayNamesShort:["日","月","火","水","木","金","土"],dayNamesMin:["日","月","火","水","木","金","土"],weekHeader:"週",dateFormat:"yy/mm/dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional.ja)}),jQuery(function(e){e.datepicker.regional.ka={closeText:"დახურვა",prevText:"&#x3c; წინა",nextText:"შემდეგი &#x3e;",currentText:"დღეს",monthNames:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"],monthNamesShort:["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],dayNames:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"],dayNamesShort:["კვ","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],dayNamesMin:["კვ","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],weekHeader:"კვირა",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ka)}),jQuery(function(e){e.datepicker.regional.kk={closeText:"Жабу",prevText:"&#x3C;Алдыңғы",nextText:"Келесі&#x3E;",currentText:"Бүгін",monthNames:["Қаңтар","Ақпан","Наурыз","Сәуір","Мамыр","Маусым","Шілде","Тамыз","Қыркүйек","Қазан","Қараша","Желтоқсан"],monthNamesShort:["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел"],dayNames:["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"],dayNamesShort:["жкс","дсн","ссн","срс","бсн","жма","снб"],dayNamesMin:["Жк","Дс","Сс","Ср","Бс","Жм","Сн"],weekHeader:"Не",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.kk)}),jQuery(function(e){e.datepicker.regional.km={closeText:"ធ្វើ​រួច",prevText:"មុន",nextText:"បន្ទាប់",currentText:"ថ្ងៃ​នេះ",monthNames:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],monthNamesShort:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],dayNames:["អាទិត្យ","ចន្ទ","អង្គារ","ពុធ","ព្រហស្បតិ៍","សុក្រ","សៅរ៍"],dayNamesShort:["អា","ច","អ","ពុ","ព្រហ","សុ","សៅ"],dayNamesMin:["អា","ច","អ","ពុ","ព្រហ","សុ","សៅ"],weekHeader:"សប្ដាហ៍",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.km)}),jQuery(function(e){e.datepicker.regional.ko={closeText:"닫기",prevText:"이전달",nextText:"다음달",currentText:"오늘",monthNames:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthNamesShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayNames:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],dayNamesShort:["일","월","화","수","목","금","토"],dayNamesMin:["일","월","화","수","목","금","토"],weekHeader:"Wk",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"년"},e.datepicker.setDefaults(e.datepicker.regional.ko)}),jQuery(function(e){e.datepicker.regional.ky={closeText:"Жабуу",prevText:"&#x3c;Мур",nextText:"Кий&#x3e;",currentText:"Бүгүн",monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["жекшемби","дүйшөмбү","шейшемби","шаршемби","бейшемби","жума","ишемби"],dayNamesShort:["жек","дүй","шей","шар","бей","жум","ише"],dayNamesMin:["Жк","Дш","Шш","Шр","Бш","Жм","Иш"],weekHeader:"Жум",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ky)}),jQuery(function(e){e.datepicker.regional.lb={closeText:"Fäerdeg",prevText:"Zréck",nextText:"Weider",currentText:"Haut",monthNames:["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"],dayNamesShort:["Son","Méi","Dën","Mët","Don","Fre","Sam"],dayNamesMin:["So","Mé","Dë","Më","Do","Fr","Sa"],weekHeader:"W",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.lb)}),jQuery(function(e){e.datepicker.regional.lt={closeText:"Uždaryti",prevText:"&#x3C;Atgal",nextText:"Pirmyn&#x3E;",currentText:"Šiandien",monthNames:["Sausis","Vasaris","Kovas","Balandis","Gegužė","Birželis","Liepa","Rugpjūtis","Rugsėjis","Spalis","Lapkritis","Gruodis"],monthNamesShort:["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rugp","Rugs","Spa","Lap","Gru"],dayNames:["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],dayNamesShort:["sek","pir","ant","tre","ket","pen","šeš"],dayNamesMin:["Se","Pr","An","Tr","Ke","Pe","Še"],weekHeader:"Wk",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.lt)}),jQuery(function(e){e.datepicker.regional.lv={closeText:"Aizvērt",prevText:"Iepr",nextText:"Nāka",currentText:"Šodien",monthNames:["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],monthNamesShort:["Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sep","Okt","Nov","Dec"],dayNames:["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],dayNamesShort:["svt","prm","otr","tre","ctr","pkt","sst"],dayNamesMin:["Sv","Pr","Ot","Tr","Ct","Pk","Ss"],weekHeader:"Nav",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.lv)}),jQuery(function(e){e.datepicker.regional.mk={closeText:"Затвори",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Денес",monthNames:["Јануари","Февруари","Март","Април","Мај","Јуни","Јули","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Јан","Фев","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Ное","Дек"],dayNames:["Недела","Понеделник","Вторник","Среда","Четврток","Петок","Сабота"],dayNamesShort:["Нед","Пон","Вто","Сре","Чет","Пет","Саб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Са"],weekHeader:"Сед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.mk)}),jQuery(function(e){e.datepicker.regional.ml={closeText:"ശരി",prevText:"മുന്നത്തെ",nextText:"അടുത്തത് ",currentText:"ഇന്ന്",monthNames:["ജനുവരി","ഫെബ്രുവരി","മാര്‍ച്ച്","ഏപ്രില്‍","മേയ്","ജൂണ്‍","ജൂലൈ","ആഗസ്റ്റ്","സെപ്റ്റംബര്‍","ഒക്ടോബര്‍","നവംബര്‍","ഡിസംബര്‍"],monthNamesShort:["ജനു","ഫെബ്","മാര്‍","ഏപ്രി","മേയ്","ജൂണ്‍","ജൂലാ","ആഗ","സെപ്","ഒക്ടോ","നവം","ഡിസ"],dayNames:["ഞായര്‍","തിങ്കള്‍","ചൊവ്വ","ബുധന്‍","വ്യാഴം","വെള്ളി","ശനി"],dayNamesShort:["ഞായ","തിങ്ക","ചൊവ്വ","ബുധ","വ്യാഴം","വെള്ളി","ശനി"],dayNamesMin:["ഞാ","തി","ചൊ","ബു","വ്യാ","വെ","ശ"],weekHeader:"ആ",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ml)}),jQuery(function(e){e.datepicker.regional.ms={closeText:"Tutup",prevText:"&#x3C;Sebelum",nextText:"Selepas&#x3E;",currentText:"hari ini",monthNames:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],monthNamesShort:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],dayNames:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],dayNamesShort:["Aha","Isn","Sel","Rab","kha","Jum","Sab"],dayNamesMin:["Ah","Is","Se","Ra","Kh","Ju","Sa"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ms)}),jQuery(function(e){e.datepicker.regional.nb={closeText:"Lukk",prevText:"&#xAB;Forrige",nextText:"Neste&#xBB;",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["søn","man","tir","ons","tor","fre","lør"],dayNames:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],dayNamesMin:["sø","ma","ti","on","to","fr","lø"],weekHeader:"Uke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.nb)
+}),jQuery(function(e){e.datepicker.regional["nl-BE"]={closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["nl-BE"])}),jQuery(function(e){e.datepicker.regional.nl={closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.nl)}),jQuery(function(e){e.datepicker.regional.nn={closeText:"Lukk",prevText:"&#xAB;Førre",nextText:"Neste&#xBB;",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["sun","mån","tys","ons","tor","fre","lau"],dayNames:["sundag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"],dayNamesMin:["su","må","ty","on","to","fr","la"],weekHeader:"Veke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.nn)}),jQuery(function(e){e.datepicker.regional.no={closeText:"Lukk",prevText:"&#xAB;Forrige",nextText:"Neste&#xBB;",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["søn","man","tir","ons","tor","fre","lør"],dayNames:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],dayNamesMin:["sø","ma","ti","on","to","fr","lø"],weekHeader:"Uke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.no)}),jQuery(function(e){e.datepicker.regional.pl={closeText:"Zamknij",prevText:"&#x3C;Poprzedni",nextText:"Następny&#x3E;",currentText:"Dziś",monthNames:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],monthNamesShort:["Sty","Lu","Mar","Kw","Maj","Cze","Lip","Sie","Wrz","Pa","Lis","Gru"],dayNames:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],dayNamesShort:["Nie","Pn","Wt","Śr","Czw","Pt","So"],dayNamesMin:["N","Pn","Wt","Śr","Cz","Pt","So"],weekHeader:"Tydz",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.pl)}),jQuery(function(e){e.datepicker.regional["pt-BR"]={closeText:"Fechar",prevText:"&#x3C;Anterior",nextText:"Próximo&#x3E;",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["pt-BR"])}),jQuery(function(e){e.datepicker.regional.pt={closeText:"Fechar",prevText:"&#x3C;Anterior",nextText:"Seguinte",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sem",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.pt)}),jQuery(function(e){e.datepicker.regional.rm={closeText:"Serrar",prevText:"&#x3C;Suandant",nextText:"Precedent&#x3E;",currentText:"Actual",monthNames:["Schaner","Favrer","Mars","Avrigl","Matg","Zercladur","Fanadur","Avust","Settember","October","November","December"],monthNamesShort:["Scha","Fev","Mar","Avr","Matg","Zer","Fan","Avu","Sett","Oct","Nov","Dec"],dayNames:["Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda"],dayNamesShort:["Dum","Gli","Mar","Mes","Gie","Ven","Som"],dayNamesMin:["Du","Gl","Ma","Me","Gi","Ve","So"],weekHeader:"emna",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.rm)}),jQuery(function(e){e.datepicker.regional.ro={closeText:"Închide",prevText:"&#xAB; Luna precedentă",nextText:"Luna următoare &#xBB;",currentText:"Azi",monthNames:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],monthNamesShort:["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Duminică","Luni","Marţi","Miercuri","Joi","Vineri","Sâmbătă"],dayNamesShort:["Dum","Lun","Mar","Mie","Joi","Vin","Sâm"],dayNamesMin:["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],weekHeader:"Săpt",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ro)}),jQuery(function(e){e.datepicker.regional.ru={closeText:"Закрыть",prevText:"&#x3C;Пред",nextText:"След&#x3E;",currentText:"Сегодня",monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],dayNamesShort:["вск","пнд","втр","срд","чтв","птн","сбт"],dayNamesMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Нед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ru)}),jQuery(function(e){e.datepicker.regional.sk={closeText:"Zavrieť",prevText:"&#x3C;Predchádzajúci",nextText:"Nasledujúci&#x3E;",currentText:"Dnes",monthNames:["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],monthNamesShort:["Jan","Feb","Mar","Apr","Máj","Jún","Júl","Aug","Sep","Okt","Nov","Dec"],dayNames:["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],dayNamesShort:["Ned","Pon","Uto","Str","Štv","Pia","Sob"],dayNamesMin:["Ne","Po","Ut","St","Št","Pia","So"],weekHeader:"Ty",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sk)}),jQuery(function(e){e.datepicker.regional.sl={closeText:"Zapri",prevText:"&#x3C;Prejšnji",nextText:"Naslednji&#x3E;",currentText:"Trenutni",monthNames:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljek","Torek","Sreda","Četrtek","Petek","Sobota"],dayNamesShort:["Ned","Pon","Tor","Sre","Čet","Pet","Sob"],dayNamesMin:["Ne","Po","To","Sr","Če","Pe","So"],weekHeader:"Teden",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sl)}),jQuery(function(e){e.datepicker.regional.sq={closeText:"mbylle",prevText:"&#x3C;mbrapa",nextText:"Përpara&#x3E;",currentText:"sot",monthNames:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"],monthNamesShort:["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gus","Sht","Tet","Nën","Dhj"],dayNames:["E Diel","E Hënë","E Martë","E Mërkurë","E Enjte","E Premte","E Shtune"],dayNamesShort:["Di","Hë","Ma","Më","En","Pr","Sh"],dayNamesMin:["Di","Hë","Ma","Më","En","Pr","Sh"],weekHeader:"Ja",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sq)}),jQuery(function(e){e.datepicker.regional["sr-SR"]={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljak","Utorak","Sreda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sre","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Sed",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["sr-SR"])}),jQuery(function(e){e.datepicker.regional.sr={closeText:"Затвори",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Данас",monthNames:["Јануар","Фебруар","Март","Април","Мај","Јун","Јул","Август","Септембар","Октобар","Новембар","Децембар"],monthNamesShort:["Јан","Феб","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Нов","Дец"],dayNames:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"],dayNamesShort:["Нед","Пон","Уто","Сре","Чет","Пет","Суб"],dayNamesMin:["Не","По","Ут","Ср","Че","Пе","Су"],weekHeader:"Сед",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sr)}),jQuery(function(e){e.datepicker.regional.sv={closeText:"Stäng",prevText:"&#xAB;Förra",nextText:"Nästa&#xBB;",currentText:"Idag",monthNames:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNamesShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],dayNames:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],dayNamesMin:["Sö","Må","Ti","On","To","Fr","Lö"],weekHeader:"Ve",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sv)}),jQuery(function(e){e.datepicker.regional.ta={closeText:"மூடு",prevText:"முன்னையது",nextText:"அடுத்தது",currentText:"இன்று",monthNames:["தை","மாசி","பங்குனி","சித்திரை","வைகாசி","ஆனி","ஆடி","ஆவணி","புரட்டாசி","ஐப்பசி","கார்த்திகை","மார்கழி"],monthNamesShort:["தை","மாசி","பங்","சித்","வைகா","ஆனி","ஆடி","ஆவ","புர","ஐப்","கார்","மார்"],dayNames:["ஞாயிற்றுக்கிழமை","திங்கட்கிழமை","செவ்வாய்க்கிழமை","புதன்கிழமை","வியாழக்கிழமை","வெள்ளிக்கிழமை","சனிக்கிழமை"],dayNamesShort:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"],dayNamesMin:["ஞா","தி","செ","பு","வி","வெ","ச"],weekHeader:"Не",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ta)}),jQuery(function(e){e.datepicker.regional.th={closeText:"ปิด",prevText:"&#xAB;&#xA0;ย้อน",nextText:"ถัดไป&#xA0;&#xBB;",currentText:"วันนี้",monthNames:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],monthNamesShort:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],dayNames:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],dayNamesShort:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],dayNamesMin:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.th)}),jQuery(function(e){e.datepicker.regional.tj={closeText:"Идома",prevText:"&#x3c;Қафо",nextText:"Пеш&#x3e;",currentText:"Имрӯз",monthNames:["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["якшанбе","душанбе","сешанбе","чоршанбе","панҷшанбе","ҷумъа","шанбе"],dayNamesShort:["якш","душ","сеш","чор","пан","ҷум","шан"],dayNamesMin:["Як","Дш","Сш","Чш","Пш","Ҷм","Шн"],weekHeader:"Хф",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.tj)}),jQuery(function(e){e.datepicker.regional.tr={closeText:"kapat",prevText:"&#x3C;geri",nextText:"ileri&#x3e",currentText:"bugün",monthNames:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],monthNamesShort:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],dayNames:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],dayNamesShort:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],dayNamesMin:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.tr)}),jQuery(function(e){e.datepicker.regional.uk={closeText:"Закрити",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Сьогодні",monthNames:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],monthNamesShort:["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру"],dayNames:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"],dayNamesShort:["нед","пнд","вів","срд","чтв","птн","сбт"],dayNamesMin:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Тиж",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.uk)}),jQuery(function(e){e.datepicker.regional.vi={closeText:"Đóng",prevText:"&#x3C;Trước",nextText:"Tiếp&#x3E;",currentText:"Hôm nay",monthNames:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"],monthNamesShort:["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],dayNames:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],dayNamesShort:["CN","T2","T3","T4","T5","T6","T7"],dayNamesMin:["CN","T2","T3","T4","T5","T6","T7"],weekHeader:"Tu",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.vi)}),jQuery(function(e){e.datepicker.regional["zh-CN"]={closeText:"关闭",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional["zh-CN"])}),jQuery(function(e){e.datepicker.regional["zh-HK"]={closeText:"關閉",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"dd-mm-yy",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional["zh-HK"])}),jQuery(function(e){e.datepicker.regional["zh-TW"]={closeText:"關閉",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy/mm/dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional["zh-TW"])});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-af.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-af.min.js
new file mode 100644 (file)
index 0000000..8c6279d
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.af={closeText:"Selekteer",prevText:"Vorige",nextText:"Volgende",currentText:"Vandag",monthNames:["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember"],monthNamesShort:["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],dayNames:["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],dayNamesShort:["Son","Maa","Din","Woe","Don","Vry","Sat"],dayNamesMin:["So","Ma","Di","Wo","Do","Vr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.af)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ar-DZ.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ar-DZ.min.js
new file mode 100644 (file)
index 0000000..839ede0
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional["ar-DZ"]={closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional["ar-DZ"])});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ar.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ar.min.js
new file mode 100644 (file)
index 0000000..9763a0f
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.ar={closeText:"إغلاق",prevText:"&#x3C;السابق",nextText:"التالي&#x3E;",currentText:"اليوم",monthNames:["كانون الثاني","شباط","آذار","نيسان","مايو","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesShort:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],dayNamesMin:["ح","ن","ث","ر","خ","ج","س"],weekHeader:"أسبوع",dateFormat:"dd/mm/yy",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.ar)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-az.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-az.min.js
new file mode 100644 (file)
index 0000000..953655f
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.az={closeText:"Bağla",prevText:"&#x3C;Geri",nextText:"İrəli&#x3E;",currentText:"Bugün",monthNames:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],monthNamesShort:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],dayNames:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"],dayNamesShort:["B","Be","Ça","Ç","Ca","C","Ş"],dayNamesMin:["B","B","Ç","С","Ç","C","Ş"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.az)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-be.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-be.min.js
new file mode 100644 (file)
index 0000000..86dd2d9
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.be={closeText:"Зачыніць",prevText:"&larr;Папяр.",nextText:"Наст.&rarr;",currentText:"Сёньня",monthNames:["Студзень","Люты","Сакавік","Красавік","Травень","Чэрвень","Ліпень","Жнівень","Верасень","Кастрычнік","Лістапад","Сьнежань"],monthNamesShort:["Сту","Лют","Сак","Кра","Тра","Чэр","Ліп","Жні","Вер","Кас","Ліс","Сьн"],dayNames:["нядзеля","панядзелак","аўторак","серада","чацьвер","пятніца","субота"],dayNamesShort:["ндз","пнд","аўт","срд","чцв","птн","сбт"],dayNamesMin:["Нд","Пн","Аў","Ср","Чц","Пт","Сб"],weekHeader:"Тд",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.be)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-bg.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-bg.min.js
new file mode 100644 (file)
index 0000000..f9c277b
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.bg={closeText:"затвори",prevText:"&#x3C;назад",nextText:"напред&#x3E;",nextBigText:"&#x3E;&#x3E;",currentText:"днес",monthNames:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Яну","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","Окт","Нов","Дек"],dayNames:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],dayNamesShort:["Нед","Пон","Вто","Сря","Чет","Пет","Съб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Съ"],weekHeader:"Wk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.bg)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-bs.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-bs.min.js
new file mode 100644 (file)
index 0000000..061154f
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.bs={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Juni","Juli","August","Septembar","Oktobar","Novembar","Decembar"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Wk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.bs)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ca.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ca.min.js
new file mode 100644 (file)
index 0000000..db2435b
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.ca={closeText:"Tanca",prevText:"Anterior",nextText:"Següent",currentText:"Avui",monthNames:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],monthNamesShort:["gen","feb","març","abr","maig","juny","jul","ag","set","oct","nov","des"],dayNames:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],dayNamesShort:["dg","dl","dt","dc","dj","dv","ds"],dayNamesMin:["dg","dl","dt","dc","dj","dv","ds"],weekHeader:"Set",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.ca)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-cs.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-cs.min.js
new file mode 100644 (file)
index 0000000..3f43cff
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.cs={closeText:"Zavřít",prevText:"&#x3C;Dříve",nextText:"Později&#x3E;",currentText:"Nyní",monthNames:["leden","únor","březen","duben","květen","červen","červenec","srpen","září","říjen","listopad","prosinec"],monthNamesShort:["led","úno","bře","dub","kvě","čer","čvc","srp","zář","říj","lis","pro"],dayNames:["neděle","pondělí","úterý","středa","čtvrtek","pátek","sobota"],dayNamesShort:["ne","po","út","st","čt","pá","so"],dayNamesMin:["ne","po","út","st","čt","pá","so"],weekHeader:"Týd",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.cs)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-cy-GB.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-cy-GB.min.js
new file mode 100644 (file)
index 0000000..59dfffb
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional["cy-GB"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin","Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"],monthNamesShort:["Ion","Chw","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tac","Rha"],dayNames:["Dydd Sul","Dydd Llun","Dydd Mawrth","Dydd Mercher","Dydd Iau","Dydd Gwener","Dydd Sadwrn"],dayNamesShort:["Sul","Llu","Maw","Mer","Iau","Gwe","Sad"],dayNamesMin:["Su","Ll","Ma","Me","Ia","Gw","Sa"],weekHeader:"Wy",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional["cy-GB"])});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-da.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-da.min.js
new file mode 100644 (file)
index 0000000..6ff2c5b
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.da={closeText:"Luk",prevText:"&#x3C;Forrige",nextText:"Næste&#x3E;",currentText:"Idag",monthNames:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNames:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],dayNamesShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayNamesMin:["Sø","Ma","Ti","On","To","Fr","Lø"],weekHeader:"Uge",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.da)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-de.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-de.min.js
new file mode 100644 (file)
index 0000000..c9574f0
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.de={closeText:"Schließen",prevText:"&#x3C;Zurück",nextText:"Vor&#x3E;",currentText:"Heute",monthNames:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],dayNamesShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekHeader:"KW",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.de)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-el.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-el.min.js
new file mode 100644 (file)
index 0000000..8586ded
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.el={closeText:"Κλείσιμο",prevText:"Προηγούμενος",nextText:"Επόμενος",currentText:"Τρέχων Μήνας",monthNames:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],monthNamesShort:["Ιαν","Φεβ","Μαρ","Απρ","Μαι","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],dayNames:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],dayNamesShort:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],dayNamesMin:["Κυ","Δε","Τρ","Τε","Πε","Πα","Σα"],weekHeader:"Εβδ",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.el)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-en-AU.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-en-AU.min.js
new file mode 100644 (file)
index 0000000..5ac374c
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional["en-AU"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional["en-AU"])});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-en-GB.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-en-GB.min.js
new file mode 100644 (file)
index 0000000..5337411
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional["en-GB"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional["en-GB"])});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-en-NZ.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-en-NZ.min.js
new file mode 100644 (file)
index 0000000..7e0258c
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional["en-NZ"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional["en-NZ"])});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-eo.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-eo.min.js
new file mode 100644 (file)
index 0000000..8f206b5
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.eo={closeText:"Fermi",prevText:"&#x3C;Anta",nextText:"Sekv&#x3E;",currentText:"Nuna",monthNames:["Januaro","Februaro","Marto","Aprilo","Majo","Junio","Julio","Aŭgusto","Septembro","Oktobro","Novembro","Decembro"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aŭg","Sep","Okt","Nov","Dec"],dayNames:["Dimanĉo","Lundo","Mardo","Merkredo","Ĵaŭdo","Vendredo","Sabato"],dayNamesShort:["Dim","Lun","Mar","Mer","Ĵaŭ","Ven","Sab"],dayNamesMin:["Di","Lu","Ma","Me","Ĵa","Ve","Sa"],weekHeader:"Sb",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.eo)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-es.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-es.min.js
new file mode 100644 (file)
index 0000000..ba08d63
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.es={closeText:"Cerrar",prevText:"&#x3C;Ant",nextText:"Sig&#x3E;",currentText:"Hoy",monthNames:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthNamesShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],dayNames:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mié","Juv","Vie","Sáb"],dayNamesMin:["Do","Lu","Ma","Mi","Ju","Vi","Sá"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.es)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-et.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-et.min.js
new file mode 100644 (file)
index 0000000..288888b
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.et={closeText:"Sulge",prevText:"Eelnev",nextText:"Järgnev",currentText:"Täna",monthNames:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],monthNamesShort:["Jaan","Veebr","Märts","Apr","Mai","Juuni","Juuli","Aug","Sept","Okt","Nov","Dets"],dayNames:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev"],dayNamesShort:["Pühap","Esmasp","Teisip","Kolmap","Neljap","Reede","Laup"],dayNamesMin:["P","E","T","K","N","R","L"],weekHeader:"näd",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.et)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-eu.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-eu.min.js
new file mode 100644 (file)
index 0000000..c17ff3a
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.eu={closeText:"Egina",prevText:"&#x3C;Aur",nextText:"Hur&#x3E;",currentText:"Gaur",monthNames:["urtarrila","otsaila","martxoa","apirila","maiatza","ekaina","uztaila","abuztua","iraila","urria","azaroa","abendua"],monthNamesShort:["urt.","ots.","mar.","api.","mai.","eka.","uzt.","abu.","ira.","urr.","aza.","abe."],dayNames:["igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata"],dayNamesShort:["ig.","al.","ar.","az.","og.","ol.","lr."],dayNamesMin:["ig","al","ar","az","og","ol","lr"],weekHeader:"As",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.eu)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fa.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fa.min.js
new file mode 100644 (file)
index 0000000..312ad91
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.fa={closeText:"بستن",prevText:"&#x3C;قبلی",nextText:"بعدی&#x3E;",currentText:"امروز",monthNames:["فروردين","ارديبهشت","خرداد","تير","مرداد","شهريور","مهر","آبان","آذر","دی","بهمن","اسفند"],monthNamesShort:["1","2","3","4","5","6","7","8","9","10","11","12"],dayNames:["يکشنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],dayNamesShort:["ی","د","س","چ","پ","ج","ش"],dayNamesMin:["ی","د","س","چ","پ","ج","ش"],weekHeader:"هف",dateFormat:"yy/mm/dd",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.fa)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fi.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fi.min.js
new file mode 100644 (file)
index 0000000..e0e5967
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.fi={closeText:"Sulje",prevText:"&#xAB;Edellinen",nextText:"Seuraava&#xBB;",currentText:"Tänään",monthNames:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],monthNamesShort:["Tammi","Helmi","Maalis","Huhti","Touko","Kesä","Heinä","Elo","Syys","Loka","Marras","Joulu"],dayNamesShort:["Su","Ma","Ti","Ke","To","Pe","La"],dayNames:["Sunnuntai","Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai"],dayNamesMin:["Su","Ma","Ti","Ke","To","Pe","La"],weekHeader:"Vk",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.fi)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fo.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fo.min.js
new file mode 100644 (file)
index 0000000..d8f10cc
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional.fo={closeText:"Lat aftur",prevText:"&#x3C;Fyrra",nextText:"Næsta&#x3E;",currentText:"Í dag",monthNames:["Januar","Februar","Mars","Apríl","Mei","Juni","Juli","August","September","Oktober","November","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],dayNames:["Sunnudagur","Mánadagur","Týsdagur","Mikudagur","Hósdagur","Fríggjadagur","Leyardagur"],dayNamesShort:["Sun","Mán","Týs","Mik","Hós","Frí","Ley"],dayNamesMin:["Su","Má","Tý","Mi","Hó","Fr","Le"],weekHeader:"Vk",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional.fo)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fr-CA.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fr-CA.min.js
new file mode 100644 (file)
index 0000000..f53d046
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional["fr-CA"]={closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthNamesShort:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],dayNames:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],dayNamesShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional["fr-CA"])});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fr-CH.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fr-CH.min.js
new file mode 100644 (file)
index 0000000..290dfa5
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(t){t.datepicker.regional["fr-CH"]={closeText:"Fermer",prevText:"&#x3C;Préc",nextText:"Suiv&#x3E;",currentText:"Courant",monthNames:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthNamesShort:["Jan","Fév","Mar","Avr","Mai","Jun","Jul","Aoû","Sep","Oct","Nov","Déc"],dayNames:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],dayNamesShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],dayNamesMin:["Di","Lu","Ma","Me","Je","Ve","Sa"],weekHeader:"Sm",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},t.datepicker.setDefaults(t.datepicker.regional["fr-CH"])});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fr.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-fr.min.js
new file mode 100644 (file)
index 0000000..df10b7e
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.fr={closeText:"Fermer",prevText:"Précédent",nextText:"Suivant",currentText:"Aujourd'hui",monthNames:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthNamesShort:["Janv.","Févr.","Mars","Avril","Mai","Juin","Juil.","Août","Sept.","Oct.","Nov.","Déc."],dayNames:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],dayNamesShort:["Dim.","Lun.","Mar.","Mer.","Jeu.","Ven.","Sam."],dayNamesMin:["D","L","M","M","J","V","S"],weekHeader:"Sem.",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.fr)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-gl.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-gl.min.js
new file mode 100644 (file)
index 0000000..a9465e9
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.gl={closeText:"Pechar",prevText:"&#x3C;Ant",nextText:"Seg&#x3E;",currentText:"Hoxe",monthNames:["Xaneiro","Febreiro","Marzo","Abril","Maio","Xuño","Xullo","Agosto","Setembro","Outubro","Novembro","Decembro"],monthNamesShort:["Xan","Feb","Mar","Abr","Mai","Xuñ","Xul","Ago","Set","Out","Nov","Dec"],dayNames:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"],dayNamesShort:["Dom","Lun","Mar","Mér","Xov","Ven","Sáb"],dayNamesMin:["Do","Lu","Ma","Mé","Xo","Ve","Sá"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.gl)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-he.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-he.min.js
new file mode 100644 (file)
index 0000000..a9e2cec
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.he={closeText:"סגור",prevText:"&#x3C;הקודם",nextText:"הבא&#x3E;",currentText:"היום",monthNames:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],monthNamesShort:["ינו","פבר","מרץ","אפר","מאי","יוני","יולי","אוג","ספט","אוק","נוב","דצמ"],dayNames:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"],dayNamesShort:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],dayNamesMin:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!0,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.he)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-hi.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-hi.min.js
new file mode 100644 (file)
index 0000000..97035c1
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.hi={closeText:"बंद",prevText:"पिछला",nextText:"अगला",currentText:"आज",monthNames:["जनवरी ","फरवरी","मार्च","अप्रेल","मई","जून","जूलाई","अगस्त ","सितम्बर","अक्टूबर","नवम्बर","दिसम्बर"],monthNamesShort:["जन","फर","मार्च","अप्रेल","मई","जून","जूलाई","अग","सित","अक्ट","नव","दि"],dayNames:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],dayNamesShort:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],dayNamesMin:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],weekHeader:"हफ्ता",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hi)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-hr.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-hr.min.js
new file mode 100644 (file)
index 0000000..434796d
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.hr={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],monthNamesShort:["Sij","Velj","Ožu","Tra","Svi","Lip","Srp","Kol","Ruj","Lis","Stu","Pro"],dayNames:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Tje",dateFormat:"dd.mm.yy.",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hr)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-hu.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-hu.min.js
new file mode 100644 (file)
index 0000000..1a69b69
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.hu={closeText:"bezár",prevText:"vissza",nextText:"előre",currentText:"ma",monthNames:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],monthNamesShort:["Jan","Feb","Már","Ápr","Máj","Jún","Júl","Aug","Szep","Okt","Nov","Dec"],dayNames:["Vasárnap","Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat"],dayNamesShort:["Vas","Hét","Ked","Sze","Csü","Pén","Szo"],dayNamesMin:["V","H","K","Sze","Cs","P","Szo"],weekHeader:"Hét",dateFormat:"yy.mm.dd.",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hu)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-hy.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-hy.min.js
new file mode 100644 (file)
index 0000000..85b0546
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.hy={closeText:"Փակել",prevText:"&#x3C;Նախ.",nextText:"Հաջ.&#x3E;",currentText:"Այսօր",monthNames:["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր"],monthNamesShort:["Հունվ","Փետր","Մարտ","Ապր","Մայիս","Հունիս","Հուլ","Օգս","Սեպ","Հոկ","Նոյ","Դեկ"],dayNames:["կիրակի","եկուշաբթի","երեքշաբթի","չորեքշաբթի","հինգշաբթի","ուրբաթ","շաբաթ"],dayNamesShort:["կիր","երկ","երք","չրք","հնգ","ուրբ","շբթ"],dayNamesMin:["կիր","երկ","երք","չրք","հնգ","ուրբ","շբթ"],weekHeader:"ՇԲՏ",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.hy)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-id.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-id.min.js
new file mode 100644 (file)
index 0000000..5236ac4
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.id={closeText:"Tutup",prevText:"&#x3C;mundur",nextText:"maju&#x3E;",currentText:"hari ini",monthNames:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","Nopember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agus","Sep","Okt","Nop","Des"],dayNames:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],dayNamesShort:["Min","Sen","Sel","Rab","kam","Jum","Sab"],dayNamesMin:["Mg","Sn","Sl","Rb","Km","jm","Sb"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.id)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-is.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-is.min.js
new file mode 100644 (file)
index 0000000..bbb70d5
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.is={closeText:"Loka",prevText:"&#x3C; Fyrri",nextText:"Næsti &#x3E;",currentText:"Í dag",monthNames:["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],monthNamesShort:["Jan","Feb","Mar","Apr","Maí","Jún","Júl","Ágú","Sep","Okt","Nóv","Des"],dayNames:["Sunnudagur","Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur"],dayNamesShort:["Sun","Mán","Þri","Mið","Fim","Fös","Lau"],dayNamesMin:["Su","Má","Þr","Mi","Fi","Fö","La"],weekHeader:"Vika",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.is)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-it.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-it.min.js
new file mode 100644 (file)
index 0000000..17ae709
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.it={closeText:"Chiudi",prevText:"&#x3C;Prec",nextText:"Succ&#x3E;",currentText:"Oggi",monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthNamesShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],dayNames:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],dayNamesShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayNamesMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.it)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ja.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ja.min.js
new file mode 100644 (file)
index 0000000..6b5023e
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.ja={closeText:"閉じる",prevText:"&#x3C;前",nextText:"次&#x3E;",currentText:"今日",monthNames:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthNamesShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayNames:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],dayNamesShort:["日","月","火","水","木","金","土"],dayNamesMin:["日","月","火","水","木","金","土"],weekHeader:"週",dateFormat:"yy/mm/dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional.ja)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ka.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ka.min.js
new file mode 100644 (file)
index 0000000..a0d0910
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.ka={closeText:"დახურვა",prevText:"&#x3c; წინა",nextText:"შემდეგი &#x3e;",currentText:"დღეს",monthNames:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"],monthNamesShort:["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],dayNames:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"],dayNamesShort:["კვ","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],dayNamesMin:["კვ","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],weekHeader:"კვირა",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ka)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-kk.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-kk.min.js
new file mode 100644 (file)
index 0000000..cb47337
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.kk={closeText:"Жабу",prevText:"&#x3C;Алдыңғы",nextText:"Келесі&#x3E;",currentText:"Бүгін",monthNames:["Қаңтар","Ақпан","Наурыз","Сәуір","Мамыр","Маусым","Шілде","Тамыз","Қыркүйек","Қазан","Қараша","Желтоқсан"],monthNamesShort:["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел"],dayNames:["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"],dayNamesShort:["жкс","дсн","ссн","срс","бсн","жма","снб"],dayNamesMin:["Жк","Дс","Сс","Ср","Бс","Жм","Сн"],weekHeader:"Не",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.kk)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-km.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-km.min.js
new file mode 100644 (file)
index 0000000..57ed9a4
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.km={closeText:"ធ្វើ​រួច",prevText:"មុន",nextText:"បន្ទាប់",currentText:"ថ្ងៃ​នេះ",monthNames:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],monthNamesShort:["មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],dayNames:["អាទិត្យ","ចន្ទ","អង្គារ","ពុធ","ព្រហស្បតិ៍","សុក្រ","សៅរ៍"],dayNamesShort:["អា","ច","អ","ពុ","ព្រហ","សុ","សៅ"],dayNamesMin:["អា","ច","អ","ពុ","ព្រហ","សុ","សៅ"],weekHeader:"សប្ដាហ៍",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.km)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ko.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ko.min.js
new file mode 100644 (file)
index 0000000..1b44530
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.ko={closeText:"닫기",prevText:"이전달",nextText:"다음달",currentText:"오늘",monthNames:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthNamesShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayNames:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],dayNamesShort:["일","월","화","수","목","금","토"],dayNamesMin:["일","월","화","수","목","금","토"],weekHeader:"Wk",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"년"},e.datepicker.setDefaults(e.datepicker.regional.ko)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ky.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ky.min.js
new file mode 100644 (file)
index 0000000..8c17fea
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.ky={closeText:"Жабуу",prevText:"&#x3c;Мур",nextText:"Кий&#x3e;",currentText:"Бүгүн",monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["жекшемби","дүйшөмбү","шейшемби","шаршемби","бейшемби","жума","ишемби"],dayNamesShort:["жек","дүй","шей","шар","бей","жум","ише"],dayNamesMin:["Жк","Дш","Шш","Шр","Бш","Жм","Иш"],weekHeader:"Жум",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ky)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-lb.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-lb.min.js
new file mode 100644 (file)
index 0000000..55748ba
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.lb={closeText:"Fäerdeg",prevText:"Zréck",nextText:"Weider",currentText:"Haut",monthNames:["Januar","Februar","Mäerz","Abrëll","Mee","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","Mäe","Abr","Mee","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],dayNames:["Sonndeg","Méindeg","Dënschdeg","Mëttwoch","Donneschdeg","Freideg","Samschdeg"],dayNamesShort:["Son","Méi","Dën","Mët","Don","Fre","Sam"],dayNamesMin:["So","Mé","Dë","Më","Do","Fr","Sa"],weekHeader:"W",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.lb)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-lt.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-lt.min.js
new file mode 100644 (file)
index 0000000..dc4cd65
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.lt={closeText:"Uždaryti",prevText:"&#x3C;Atgal",nextText:"Pirmyn&#x3E;",currentText:"Šiandien",monthNames:["Sausis","Vasaris","Kovas","Balandis","Gegužė","Birželis","Liepa","Rugpjūtis","Rugsėjis","Spalis","Lapkritis","Gruodis"],monthNamesShort:["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rugp","Rugs","Spa","Lap","Gru"],dayNames:["sekmadienis","pirmadienis","antradienis","trečiadienis","ketvirtadienis","penktadienis","šeštadienis"],dayNamesShort:["sek","pir","ant","tre","ket","pen","šeš"],dayNamesMin:["Se","Pr","An","Tr","Ke","Pe","Še"],weekHeader:"Wk",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.lt)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-lv.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-lv.min.js
new file mode 100644 (file)
index 0000000..80b9e0c
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.lv={closeText:"Aizvērt",prevText:"Iepr",nextText:"Nāka",currentText:"Šodien",monthNames:["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],monthNamesShort:["Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sep","Okt","Nov","Dec"],dayNames:["svētdiena","pirmdiena","otrdiena","trešdiena","ceturtdiena","piektdiena","sestdiena"],dayNamesShort:["svt","prm","otr","tre","ctr","pkt","sst"],dayNamesMin:["Sv","Pr","Ot","Tr","Ct","Pk","Ss"],weekHeader:"Nav",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.lv)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-mk.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-mk.min.js
new file mode 100644 (file)
index 0000000..db54cf1
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.mk={closeText:"Затвори",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Денес",monthNames:["Јануари","Февруари","Март","Април","Мај","Јуни","Јули","Август","Септември","Октомври","Ноември","Декември"],monthNamesShort:["Јан","Фев","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Ное","Дек"],dayNames:["Недела","Понеделник","Вторник","Среда","Четврток","Петок","Сабота"],dayNamesShort:["Нед","Пон","Вто","Сре","Чет","Пет","Саб"],dayNamesMin:["Не","По","Вт","Ср","Че","Пе","Са"],weekHeader:"Сед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.mk)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ml.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ml.min.js
new file mode 100644 (file)
index 0000000..245797e
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.ml={closeText:"ശരി",prevText:"മുന്നത്തെ",nextText:"അടുത്തത് ",currentText:"ഇന്ന്",monthNames:["ജനുവരി","ഫെബ്രുവരി","മാര്‍ച്ച്","ഏപ്രില്‍","മേയ്","ജൂണ്‍","ജൂലൈ","ആഗസ്റ്റ്","സെപ്റ്റംബര്‍","ഒക്ടോബര്‍","നവംബര്‍","ഡിസംബര്‍"],monthNamesShort:["ജനു","ഫെബ്","മാര്‍","ഏപ്രി","മേയ്","ജൂണ്‍","ജൂലാ","ആഗ","സെപ്","ഒക്ടോ","നവം","ഡിസ"],dayNames:["ഞായര്‍","തിങ്കള്‍","ചൊവ്വ","ബുധന്‍","വ്യാഴം","വെള്ളി","ശനി"],dayNamesShort:["ഞായ","തിങ്ക","ചൊവ്വ","ബുധ","വ്യാഴം","വെള്ളി","ശനി"],dayNamesMin:["ഞാ","തി","ചൊ","ബു","വ്യാ","വെ","ശ"],weekHeader:"ആ",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ml)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ms.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ms.min.js
new file mode 100644 (file)
index 0000000..4d6241b
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.ms={closeText:"Tutup",prevText:"&#x3C;Sebelum",nextText:"Selepas&#x3E;",currentText:"hari ini",monthNames:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],monthNamesShort:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],dayNames:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],dayNamesShort:["Aha","Isn","Sel","Rab","kha","Jum","Sab"],dayNamesMin:["Ah","Is","Se","Ra","Kh","Ju","Sa"],weekHeader:"Mg",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ms)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-nb.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-nb.min.js
new file mode 100644 (file)
index 0000000..c915227
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.nb={closeText:"Lukk",prevText:"&#xAB;Forrige",nextText:"Neste&#xBB;",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["søn","man","tir","ons","tor","fre","lør"],dayNames:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],dayNamesMin:["sø","ma","ti","on","to","fr","lø"],weekHeader:"Uke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.nb)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-nl-BE.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-nl-BE.min.js
new file mode 100644 (file)
index 0000000..24f5f6b
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional["nl-BE"]={closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["nl-BE"])});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-nl.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-nl.min.js
new file mode 100644 (file)
index 0000000..bebda9c
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.nl={closeText:"Sluiten",prevText:"←",nextText:"→",currentText:"Vandaag",monthNames:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthNamesShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],dayNames:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],dayNamesShort:["zon","maa","din","woe","don","vri","zat"],dayNamesMin:["zo","ma","di","wo","do","vr","za"],weekHeader:"Wk",dateFormat:"dd-mm-yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.nl)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-nn.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-nn.min.js
new file mode 100644 (file)
index 0000000..14aacfc
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.nn={closeText:"Lukk",prevText:"&#xAB;Førre",nextText:"Neste&#xBB;",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["sun","mån","tys","ons","tor","fre","lau"],dayNames:["sundag","måndag","tysdag","onsdag","torsdag","fredag","laurdag"],dayNamesMin:["su","må","ty","on","to","fr","la"],weekHeader:"Veke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.nn)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-no.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-no.min.js
new file mode 100644 (file)
index 0000000..fe6cba0
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.no={closeText:"Lukk",prevText:"&#xAB;Forrige",nextText:"Neste&#xBB;",currentText:"I dag",monthNames:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","november","desember"],monthNamesShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],dayNamesShort:["søn","man","tir","ons","tor","fre","lør"],dayNames:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],dayNamesMin:["sø","ma","ti","on","to","fr","lø"],weekHeader:"Uke",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.no)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-pl.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-pl.min.js
new file mode 100644 (file)
index 0000000..c61097e
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.pl={closeText:"Zamknij",prevText:"&#x3C;Poprzedni",nextText:"Następny&#x3E;",currentText:"Dziś",monthNames:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],monthNamesShort:["Sty","Lu","Mar","Kw","Maj","Cze","Lip","Sie","Wrz","Pa","Lis","Gru"],dayNames:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],dayNamesShort:["Nie","Pn","Wt","Śr","Czw","Pt","So"],dayNamesMin:["N","Pn","Wt","Śr","Cz","Pt","So"],weekHeader:"Tydz",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.pl)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-pt-BR.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-pt-BR.min.js
new file mode 100644 (file)
index 0000000..0bfcfd6
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional["pt-BR"]={closeText:"Fechar",prevText:"&#x3C;Anterior",nextText:"Próximo&#x3E;",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sm",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["pt-BR"])});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-pt.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-pt.min.js
new file mode 100644 (file)
index 0000000..5f57878
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.pt={closeText:"Fechar",prevText:"&#x3C;Anterior",nextText:"Seguinte",currentText:"Hoje",monthNames:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthNamesShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],dayNames:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],dayNamesShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayNamesMin:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],weekHeader:"Sem",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.pt)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-rm.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-rm.min.js
new file mode 100644 (file)
index 0000000..4f18028
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.rm={closeText:"Serrar",prevText:"&#x3C;Suandant",nextText:"Precedent&#x3E;",currentText:"Actual",monthNames:["Schaner","Favrer","Mars","Avrigl","Matg","Zercladur","Fanadur","Avust","Settember","October","November","December"],monthNamesShort:["Scha","Fev","Mar","Avr","Matg","Zer","Fan","Avu","Sett","Oct","Nov","Dec"],dayNames:["Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda"],dayNamesShort:["Dum","Gli","Mar","Mes","Gie","Ven","Som"],dayNamesMin:["Du","Gl","Ma","Me","Gi","Ve","So"],weekHeader:"emna",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.rm)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ro.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ro.min.js
new file mode 100644 (file)
index 0000000..2203c23
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.ro={closeText:"Închide",prevText:"&#xAB; Luna precedentă",nextText:"Luna următoare &#xBB;",currentText:"Azi",monthNames:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],monthNamesShort:["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Duminică","Luni","Marţi","Miercuri","Joi","Vineri","Sâmbătă"],dayNamesShort:["Dum","Lun","Mar","Mie","Joi","Vin","Sâm"],dayNamesMin:["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],weekHeader:"Săpt",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ro)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ru.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ru.min.js
new file mode 100644 (file)
index 0000000..f4ad710
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.ru={closeText:"Закрыть",prevText:"&#x3C;Пред",nextText:"След&#x3E;",currentText:"Сегодня",monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],dayNamesShort:["вск","пнд","втр","срд","чтв","птн","сбт"],dayNamesMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Нед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ru)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sk.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sk.min.js
new file mode 100644 (file)
index 0000000..c0c80b8
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.sk={closeText:"Zavrieť",prevText:"&#x3C;Predchádzajúci",nextText:"Nasledujúci&#x3E;",currentText:"Dnes",monthNames:["január","február","marec","apríl","máj","jún","júl","august","september","október","november","december"],monthNamesShort:["Jan","Feb","Mar","Apr","Máj","Jún","Júl","Aug","Sep","Okt","Nov","Dec"],dayNames:["nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota"],dayNamesShort:["Ned","Pon","Uto","Str","Štv","Pia","Sob"],dayNamesMin:["Ne","Po","Ut","St","Št","Pia","So"],weekHeader:"Ty",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sk)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sl.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sl.min.js
new file mode 100644 (file)
index 0000000..e9cdefc
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.sl={closeText:"Zapri",prevText:"&#x3C;Prejšnji",nextText:"Naslednji&#x3E;",currentText:"Trenutni",monthNames:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljek","Torek","Sreda","Četrtek","Petek","Sobota"],dayNamesShort:["Ned","Pon","Tor","Sre","Čet","Pet","Sob"],dayNamesMin:["Ne","Po","To","Sr","Če","Pe","So"],weekHeader:"Teden",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sl)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sq.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sq.min.js
new file mode 100644 (file)
index 0000000..d003657
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.sq={closeText:"mbylle",prevText:"&#x3C;mbrapa",nextText:"Përpara&#x3E;",currentText:"sot",monthNames:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"],monthNamesShort:["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gus","Sht","Tet","Nën","Dhj"],dayNames:["E Diel","E Hënë","E Martë","E Mërkurë","E Enjte","E Premte","E Shtune"],dayNamesShort:["Di","Hë","Ma","Më","En","Pr","Sh"],dayNamesMin:["Di","Hë","Ma","Më","En","Pr","Sh"],weekHeader:"Ja",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sq)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sr-SR.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sr-SR.min.js
new file mode 100644 (file)
index 0000000..40e3385
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional["sr-SR"]={closeText:"Zatvori",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],dayNames:["Nedelja","Ponedeljak","Utorak","Sreda","Četvrtak","Petak","Subota"],dayNamesShort:["Ned","Pon","Uto","Sre","Čet","Pet","Sub"],dayNamesMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],weekHeader:"Sed",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional["sr-SR"])});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sr.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sr.min.js
new file mode 100644 (file)
index 0000000..3e76c0a
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.sr={closeText:"Затвори",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Данас",monthNames:["Јануар","Фебруар","Март","Април","Мај","Јун","Јул","Август","Септембар","Октобар","Новембар","Децембар"],monthNamesShort:["Јан","Феб","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Нов","Дец"],dayNames:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"],dayNamesShort:["Нед","Пон","Уто","Сре","Чет","Пет","Суб"],dayNamesMin:["Не","По","Ут","Ср","Че","Пе","Су"],weekHeader:"Сед",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sr)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sv.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-sv.min.js
new file mode 100644 (file)
index 0000000..48f733d
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.sv={closeText:"Stäng",prevText:"&#xAB;Förra",nextText:"Nästa&#xBB;",currentText:"Idag",monthNames:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],dayNamesShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],dayNames:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],dayNamesMin:["Sö","Må","Ti","On","To","Fr","Lö"],weekHeader:"Ve",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.sv)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ta.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-ta.min.js
new file mode 100644 (file)
index 0000000..27ddaf4
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.ta={closeText:"மூடு",prevText:"முன்னையது",nextText:"அடுத்தது",currentText:"இன்று",monthNames:["தை","மாசி","பங்குனி","சித்திரை","வைகாசி","ஆனி","ஆடி","ஆவணி","புரட்டாசி","ஐப்பசி","கார்த்திகை","மார்கழி"],monthNamesShort:["தை","மாசி","பங்","சித்","வைகா","ஆனி","ஆடி","ஆவ","புர","ஐப்","கார்","மார்"],dayNames:["ஞாயிற்றுக்கிழமை","திங்கட்கிழமை","செவ்வாய்க்கிழமை","புதன்கிழமை","வியாழக்கிழமை","வெள்ளிக்கிழமை","சனிக்கிழமை"],dayNamesShort:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"],dayNamesMin:["ஞா","தி","செ","பு","வி","வெ","ச"],weekHeader:"Не",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ta)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-th.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-th.min.js
new file mode 100644 (file)
index 0000000..9e476ad
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.th={closeText:"ปิด",prevText:"&#xAB;&#xA0;ย้อน",nextText:"ถัดไป&#xA0;&#xBB;",currentText:"วันนี้",monthNames:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],monthNamesShort:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],dayNames:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์"],dayNamesShort:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],dayNamesMin:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],weekHeader:"Wk",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.th)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-tj.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-tj.min.js
new file mode 100644 (file)
index 0000000..6d4cb5f
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.tj={closeText:"Идома",prevText:"&#x3c;Қафо",nextText:"Пеш&#x3e;",currentText:"Имрӯз",monthNames:["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["якшанбе","душанбе","сешанбе","чоршанбе","панҷшанбе","ҷумъа","шанбе"],dayNamesShort:["якш","душ","сеш","чор","пан","ҷум","шан"],dayNamesMin:["Як","Дш","Сш","Чш","Пш","Ҷм","Шн"],weekHeader:"Хф",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.tj)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-tr.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-tr.min.js
new file mode 100644 (file)
index 0000000..bd78381
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.tr={closeText:"kapat",prevText:"&#x3C;geri",nextText:"ileri&#x3e",currentText:"bugün",monthNames:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],monthNamesShort:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],dayNames:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],dayNamesShort:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],dayNamesMin:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],weekHeader:"Hf",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.tr)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-uk.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-uk.min.js
new file mode 100644 (file)
index 0000000..ba0145e
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.uk={closeText:"Закрити",prevText:"&#x3C;",nextText:"&#x3E;",currentText:"Сьогодні",monthNames:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],monthNamesShort:["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру"],dayNames:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"],dayNamesShort:["нед","пнд","вів","срд","чтв","птн","сбт"],dayNamesMin:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Тиж",dateFormat:"dd/mm/yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.uk)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-vi.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-vi.min.js
new file mode 100644 (file)
index 0000000..590b0a5
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional.vi={closeText:"Đóng",prevText:"&#x3C;Trước",nextText:"Tiếp&#x3E;",currentText:"Hôm nay",monthNames:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"],monthNamesShort:["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],dayNames:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"],dayNamesShort:["CN","T2","T3","T4","T5","T6","T7"],dayNamesMin:["CN","T2","T3","T4","T5","T6","T7"],weekHeader:"Tu",dateFormat:"dd/mm/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.vi)});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-zh-CN.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-zh-CN.min.js
new file mode 100644 (file)
index 0000000..5843dd0
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional["zh-CN"]={closeText:"关闭",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy-mm-dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional["zh-CN"])});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-zh-HK.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-zh-HK.min.js
new file mode 100644 (file)
index 0000000..c75367c
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional["zh-HK"]={closeText:"關閉",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"dd-mm-yy",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional["zh-HK"])});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-zh-TW.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/i18n/jquery.ui.datepicker-zh-TW.min.js
new file mode 100644 (file)
index 0000000..9619bff
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+jQuery(function(e){e.datepicker.regional["zh-TW"]={closeText:"關閉",prevText:"&#x3C;上月",nextText:"下月&#x3E;",currentText:"今天",monthNames:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthNamesShort:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayNames:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayNamesShort:["周日","周一","周二","周三","周四","周五","周六"],dayNamesMin:["日","一","二","三","四","五","六"],weekHeader:"周",dateFormat:"yy/mm/dd",firstDay:1,isRTL:!1,showMonthAfterYear:!0,yearSuffix:"年"},e.datepicker.setDefaults(e.datepicker.regional["zh-TW"])});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery-ui.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery-ui.min.js
new file mode 100644 (file)
index 0000000..629f140
--- /dev/null
@@ -0,0 +1,12 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.position.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t,e){function i(e,i){var n,o,a,r=e.nodeName.toLowerCase();return"area"===r?(n=e.parentNode,o=n.name,e.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap=#"+o+"]")[0],!!a&&s(a)):!1):(/input|select|textarea|button|object/.test(r)?!e.disabled:"a"===r?e.href||i:i)&&s(e)}function s(e){return t.expr.filters.visible(e)&&!t(e).parents().addBack().filter(function(){return"hidden"===t.css(this,"visibility")}).length}var n=0,o=/^ui-id-\d+$/;t.ui=t.ui||{},t.extend(t.ui,{version:"1.10.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,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,SPACE:32,TAB:9,UP:38}}),t.fn.extend({focus:function(e){return function(i,s){return"number"==typeof i?this.each(function(){var e=this;setTimeout(function(){t(e).focus(),s&&s.call(e)},i)}):e.apply(this,arguments)}}(t.fn.focus),scrollParent:function(){var e;return e=t.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(t.css(this,"position"))&&/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!e.length?t(document):e},zIndex:function(i){if(i!==e)return this.css("zIndex",i);if(this.length)for(var s,n,o=t(this[0]);o.length&&o[0]!==document;){if(s=o.css("position"),("absolute"===s||"relative"===s||"fixed"===s)&&(n=parseInt(o.css("zIndex"),10),!isNaN(n)&&0!==n))return n;o=o.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++n)})},removeUniqueId:function(){return this.each(function(){o.test(this.id)&&t(this).removeAttr("id")})}}),t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])},focusable:function(e){return i(e,!isNaN(t.attr(e,"tabindex")))},tabbable:function(e){var s=t.attr(e,"tabindex"),n=isNaN(s);return(n||s>=0)&&i(e,!n)}}),t("<a>").outerWidth(1).jquery||t.each(["Width","Height"],function(i,s){function n(e,i,s,n){return t.each(o,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),n&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var o="Width"===s?["Left","Right"]:["Top","Bottom"],a=s.toLowerCase(),r={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+s]=function(i){return i===e?r["inner"+s].call(this):this.each(function(){t(this).css(a,n(this,i)+"px")})},t.fn["outer"+s]=function(e,i){return"number"!=typeof e?r["outer"+s].call(this,e):this.each(function(){t(this).css(a,n(this,e,!0,i)+"px")})}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(t.fn.removeData=function(e){return function(i){return arguments.length?e.call(this,t.camelCase(i)):e.call(this)}}(t.fn.removeData)),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),t.support.selectstart="onselectstart"in document.createElement("div"),t.fn.extend({disableSelection:function(){return this.bind((t.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),t.extend(t.ui,{plugin:{add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i){var s,n=t.plugins[e];if(n&&t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType)for(s=0;n.length>s;s++)t.options[n[s][0]]&&n[s][1].apply(t.element,i)}},hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)}})})(jQuery),function(t,e){var i=0,s=Array.prototype.slice,n=t.cleanData;t.cleanData=function(e){for(var i,s=0;null!=(i=e[s]);s++)try{t(i).triggerHandler("remove")}catch(o){}n(e)},t.widget=function(i,s,n){var o,a,r,h,l={},c=i.split(".")[0];i=i.split(".")[1],o=c+"-"+i,n||(n=s,s=t.Widget),t.expr[":"][o.toLowerCase()]=function(e){return!!t.data(e,o)},t[c]=t[c]||{},a=t[c][i],r=t[c][i]=function(t,i){return this._createWidget?(arguments.length&&this._createWidget(t,i),e):new r(t,i)},t.extend(r,a,{version:n.version,_proto:t.extend({},n),_childConstructors:[]}),h=new s,h.options=t.widget.extend({},h.options),t.each(n,function(i,n){return t.isFunction(n)?(l[i]=function(){var t=function(){return s.prototype[i].apply(this,arguments)},e=function(t){return s.prototype[i].apply(this,t)};return function(){var i,s=this._super,o=this._superApply;return this._super=t,this._superApply=e,i=n.apply(this,arguments),this._super=s,this._superApply=o,i}}(),e):(l[i]=n,e)}),r.prototype=t.widget.extend(h,{widgetEventPrefix:a?h.widgetEventPrefix:i},l,{constructor:r,namespace:c,widgetName:i,widgetFullName:o}),a?(t.each(a._childConstructors,function(e,i){var s=i.prototype;t.widget(s.namespace+"."+s.widgetName,r,i._proto)}),delete a._childConstructors):s._childConstructors.push(r),t.widget.bridge(i,r)},t.widget.extend=function(i){for(var n,o,a=s.call(arguments,1),r=0,h=a.length;h>r;r++)for(n in a[r])o=a[r][n],a[r].hasOwnProperty(n)&&o!==e&&(i[n]=t.isPlainObject(o)?t.isPlainObject(i[n])?t.widget.extend({},i[n],o):t.widget.extend({},o):o);return i},t.widget.bridge=function(i,n){var o=n.prototype.widgetFullName||i;t.fn[i]=function(a){var r="string"==typeof a,h=s.call(arguments,1),l=this;return a=!r&&h.length?t.widget.extend.apply(null,[a].concat(h)):a,r?this.each(function(){var s,n=t.data(this,o);return n?t.isFunction(n[a])&&"_"!==a.charAt(0)?(s=n[a].apply(n,h),s!==n&&s!==e?(l=s&&s.jquery?l.pushStack(s.get()):s,!1):e):t.error("no such method '"+a+"' for "+i+" widget instance"):t.error("cannot call methods on "+i+" prior to initialization; "+"attempted to call method '"+a+"'")}):this.each(function(){var e=t.data(this,o);e?e.option(a||{})._init():t.data(this,o,new n(a,this))}),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this.bindings=t(),this.hoverable=t(),this.focusable=t(),s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:t.noop,widget:function(){return this.element},option:function(i,s){var n,o,a,r=i;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof i)if(r={},n=i.split("."),i=n.shift(),n.length){for(o=r[i]=t.widget.extend({},this.options[i]),a=0;n.length-1>a;a++)o[n[a]]=o[n[a]]||{},o=o[n[a]];if(i=n.pop(),s===e)return o[i]===e?null:o[i];o[i]=s}else{if(s===e)return this.options[i]===e?null:this.options[i];r[i]=s}return this._setOptions(r),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!e).attr("aria-disabled",e),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(i,s,n){var o,a=this;"boolean"!=typeof i&&(n=s,s=i,i=!1),n?(s=o=t(s),this.bindings=this.bindings.add(s)):(n=s,s=this.element,o=this.widget()),t.each(n,function(n,r){function h(){return i||a.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof r?a[r]:r).apply(a,arguments):e}"string"!=typeof r&&(h.guid=r.guid=r.guid||h.guid||t.guid++);var l=n.match(/^(\w+)\s*(.*)$/),c=l[1]+a.eventNamespace,u=l[2];u?o.delegate(u,c,h):s.bind(c,h)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){t(e.currentTarget).addClass("ui-state-hover")},mouseleave:function(e){t(e.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){t(e.currentTarget).addClass("ui-state-focus")},focusout:function(e){t(e.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}})}(jQuery),function(t){var e=!1;t(document).mouseup(function(){e=!1}),t.widget("ui.mouse",{version:"1.10.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):undefined}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!e){this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var s=this,n=1===i.which,o="string"==typeof this.options.cancel&&i.target.nodeName?t(i.target).closest(this.options.cancel).length:!1;return n&&!o&&this._mouseCapture(i)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){s.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=this._mouseStart(i)!==!1,!this._mouseStarted)?(i.preventDefault(),!0):(!0===t.data(i.target,this.widgetName+".preventClickEvent")&&t.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return s._mouseMove(t)},this._mouseUpDelegate=function(t){return s._mouseUp(t)},t(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),e=!0,!0)):!0}},_mouseMove:function(e){return t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button?this._mouseUp(e):this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){return t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(jQuery),function(t){t.widget("ui.draggable",t.ui.mouse,{version:"1.10.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"!==this.options.helper||/^(?: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(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(e){var i=this.options;return this.helper||i.disabled||t(e.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(e),this.handle?(t(i.iframeFix===!0?"iframe":i.iframeFix).each(function(){t("<div class='ui-draggable-iframeFix' style='background: #fff;'></div>").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(t(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(e){var i=this.options;return this.helper=this._createHelper(e),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.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},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),i.containment&&this._setContainment(),this._trigger("start",e)===!1?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!i.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_mouseDrag:function(e,i){if(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),!i){var s=this._uiHash();if(this._trigger("drag",e,s)===!1)return this._mouseUp({}),!1;this.position=s.position}return this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var i,s=this,n=!1,o=!1;for(t.ui.ddmanager&&!this.options.dropBehaviour&&(o=t.ui.ddmanager.drop(this,e)),this.dropped&&(o=this.dropped,this.dropped=!1),i=this.element[0];i&&(i=i.parentNode);)i===document&&(n=!0);return n||"original"!==this.options.helper?("invalid"===this.options.revert&&!o||"valid"===this.options.revert&&o||this.options.revert===!0||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,o)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){s._trigger("stop",e)!==!1&&s._clear()}):this._trigger("stop",e)!==!1&&this._clear(),!1):!1},_mouseUp:function(e){return t("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(e){return this.options.handle?!!t(e.target).closest(this.element.find(this.options.handle)).length:!0},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return s.parents("body").length||s.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),s[0]===this.element[0]||/(fixed|absolute)/.test(s.css("position"))||s.css("position","absolute"),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.element.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}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,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;if("parent"===n.containment&&(n.containment=this.helper[0].parentNode),("document"===n.containment||"window"===n.containment)&&(this.containment=["document"===n.containment?0:t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,"document"===n.containment?0:t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,("document"===n.containment?0:t(window).scrollLeft())+t("document"===n.containment?document:window).width()-this.helperProportions.width-this.margins.left,("document"===n.containment?0:t(window).scrollTop())+(t("document"===n.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||n.containment.constructor===Array)n.containment.constructor===Array&&(this.containment=n.containment);else{if(i=t(n.containment),s=i[0],!s)return;e="hidden"!==t(s).css("overflow"),this.containment=[(parseInt(t(s).css("borderLeftWidth"),10)||0)+(parseInt(t(s).css("paddingLeft"),10)||0),(parseInt(t(s).css("borderTopWidth"),10)||0)+(parseInt(t(s).css("paddingTop"),10)||0),(e?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(t(s).css("borderRightWidth"),10)||0)-(parseInt(t(s).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(t(s).css("borderBottomWidth"),10)||0)-(parseInt(t(s).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=i}},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(n[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:n.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:n.scrollLeft())*s}},_generatePosition:function(e){var i,s,n,o,a=this.options,r="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(r[0].tagName),l=e.pageX,c=e.pageY;return this.originalPosition&&(this.containment&&(this.relative_container?(s=this.relative_container.offset(),i=[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):i=this.containment,e.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(c=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3]&&(c=i[3]+this.offset.click.top)),a.grid&&(n=a.grid[1]?this.originalPageY+Math.round((c-this.originalPageY)/a.grid[1])*a.grid[1]:this.originalPageY,c=i?n-this.offset.click.top>=i[1]||n-this.offset.click.top>i[3]?n:n-this.offset.click.top>=i[1]?n-a.grid[1]:n+a.grid[1]:n,o=a.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/a.grid[0])*a.grid[0]:this.originalPageX,l=i?o-this.offset.click.left>=i[0]||o-this.offset.click.left>i[2]?o:o-this.offset.click.left>=i[0]?o-a.grid[0]:o+a.grid[0]:o)),{top:c-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():h?0:r.scrollTop()),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():h?0:r.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(e,i,s){return s=s||this._uiHash(),t.ui.plugin.call(this,e,[i,s]),"drag"===e&&(this.positionAbs=this._convertPositionTo("absolute")),t.Widget.prototype._trigger.call(this,e,i,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,i){var s=t(this).data("ui-draggable"),n=s.options,o=t.extend({},i,{item:s.element});s.sortables=[],t(n.connectToSortable).each(function(){var i=t.data(this,"ui-sortable");i&&!i.options.disabled&&(s.sortables.push({instance:i,shouldRevert:i.options.revert}),i.refreshPositions(),i._trigger("activate",e,o))})},stop:function(e,i){var s=t(this).data("ui-draggable"),n=t.extend({},i,{item:s.element});t.each(s.sortables,function(){this.instance.isOver?(this.instance.isOver=0,s.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=this.shouldRevert),this.instance._mouseStop(e),this.instance.options.helper=this.instance.options._helper,"original"===s.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",e,n))})},drag:function(e,i){var s=t(this).data("ui-draggable"),n=this;t.each(s.sortables,function(){var o=!1,a=this;this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(o=!0,t.each(s.sortables,function(){return this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this!==a&&this.instance._intersectsWith(this.instance.containerCache)&&t.contains(a.instance.element[0],this.instance.element[0])&&(o=!1),o})),o?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=t(n).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return i.helper[0]},e.target=this.instance.currentItem[0],this.instance._mouseCapture(e,!0),this.instance._mouseStart(e,!0,!0),this.instance.offset.click.top=s.offset.click.top,this.instance.offset.click.left=s.offset.click.left,this.instance.offset.parent.left-=s.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=s.offset.parent.top-this.instance.offset.parent.top,s._trigger("toSortable",e),s.dropped=this.instance.element,s.currentItem=s.element,this.instance.fromOutside=s),this.instance.currentItem&&this.instance._mouseDrag(e)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",e,this.instance._uiHash(this.instance)),this.instance._mouseStop(e,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),s._trigger("fromSortable",e),s.dropped=!1)})}}),t.ui.plugin.add("draggable","cursor",{start:function(){var e=t("body"),i=t(this).data("ui-draggable").options;e.css("cursor")&&(i._cursor=e.css("cursor")),e.css("cursor",i.cursor)},stop:function(){var e=t(this).data("ui-draggable").options;e._cursor&&t("body").css("cursor",e._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,i){var s=t(i.helper),n=t(this).data("ui-draggable").options;s.css("opacity")&&(n._opacity=s.css("opacity")),s.css("opacity",n.opacity)},stop:function(e,i){var s=t(this).data("ui-draggable").options;s._opacity&&t(i.helper).css("opacity",s._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(){var e=t(this).data("ui-draggable");e.scrollParent[0]!==document&&"HTML"!==e.scrollParent[0].tagName&&(e.overflowOffset=e.scrollParent.offset())},drag:function(e){var i=t(this).data("ui-draggable"),s=i.options,n=!1;i.scrollParent[0]!==document&&"HTML"!==i.scrollParent[0].tagName?(s.axis&&"x"===s.axis||(i.overflowOffset.top+i.scrollParent[0].offsetHeight-e.pageY<s.scrollSensitivity?i.scrollParent[0].scrollTop=n=i.scrollParent[0].scrollTop+s.scrollSpeed:e.pageY-i.overflowOffset.top<s.scrollSensitivity&&(i.scrollParent[0].scrollTop=n=i.scrollParent[0].scrollTop-s.scrollSpeed)),s.axis&&"y"===s.axis||(i.overflowOffset.left+i.scrollParent[0].offsetWidth-e.pageX<s.scrollSensitivity?i.scrollParent[0].scrollLeft=n=i.scrollParent[0].scrollLeft+s.scrollSpeed:e.pageX-i.overflowOffset.left<s.scrollSensitivity&&(i.scrollParent[0].scrollLeft=n=i.scrollParent[0].scrollLeft-s.scrollSpeed))):(s.axis&&"x"===s.axis||(e.pageY-t(document).scrollTop()<s.scrollSensitivity?n=t(document).scrollTop(t(document).scrollTop()-s.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<s.scrollSensitivity&&(n=t(document).scrollTop(t(document).scrollTop()+s.scrollSpeed))),s.axis&&"y"===s.axis||(e.pageX-t(document).scrollLeft()<s.scrollSensitivity?n=t(document).scrollLeft(t(document).scrollLeft()-s.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())<s.scrollSensitivity&&(n=t(document).scrollLeft(t(document).scrollLeft()+s.scrollSpeed)))),n!==!1&&t.ui.ddmanager&&!s.dropBehaviour&&t.ui.ddmanager.prepareOffsets(i,e)}}),t.ui.plugin.add("draggable","snap",{start:function(){var e=t(this).data("ui-draggable"),i=e.options;e.snapElements=[],t(i.snap.constructor!==String?i.snap.items||":data(ui-draggable)":i.snap).each(function(){var i=t(this),s=i.offset();this!==e.element[0]&&e.snapElements.push({item:this,width:i.outerWidth(),height:i.outerHeight(),top:s.top,left:s.left})})},drag:function(e,i){var s,n,o,a,r,h,l,c,u,d,p=t(this).data("ui-draggable"),f=p.options,g=f.snapTolerance,m=i.offset.left,v=m+p.helperProportions.width,_=i.offset.top,b=_+p.helperProportions.height;for(u=p.snapElements.length-1;u>=0;u--)r=p.snapElements[u].left,h=r+p.snapElements[u].width,l=p.snapElements[u].top,c=l+p.snapElements[u].height,m>r-g&&h+g>m&&_>l-g&&c+g>_||m>r-g&&h+g>m&&b>l-g&&c+g>b||v>r-g&&h+g>v&&_>l-g&&c+g>_||v>r-g&&h+g>v&&b>l-g&&c+g>b?("inner"!==f.snapMode&&(s=g>=Math.abs(l-b),n=g>=Math.abs(c-_),o=g>=Math.abs(r-v),a=g>=Math.abs(h-m),s&&(i.position.top=p._convertPositionTo("relative",{top:l-p.helperProportions.height,left:0}).top-p.margins.top),n&&(i.position.top=p._convertPositionTo("relative",{top:c,left:0}).top-p.margins.top),o&&(i.position.left=p._convertPositionTo("relative",{top:0,left:r-p.helperProportions.width}).left-p.margins.left),a&&(i.position.left=p._convertPositionTo("relative",{top:0,left:h}).left-p.margins.left)),d=s||n||o||a,"outer"!==f.snapMode&&(s=g>=Math.abs(l-_),n=g>=Math.abs(c-b),o=g>=Math.abs(r-m),a=g>=Math.abs(h-v),s&&(i.position.top=p._convertPositionTo("relative",{top:l,left:0}).top-p.margins.top),n&&(i.position.top=p._convertPositionTo("relative",{top:c-p.helperProportions.height,left:0}).top-p.margins.top),o&&(i.position.left=p._convertPositionTo("relative",{top:0,left:r}).left-p.margins.left),a&&(i.position.left=p._convertPositionTo("relative",{top:0,left:h-p.helperProportions.width}).left-p.margins.left)),!p.snapElements[u].snapping&&(s||n||o||a||d)&&p.options.snap.snap&&p.options.snap.snap.call(p.element,e,t.extend(p._uiHash(),{snapItem:p.snapElements[u].item})),p.snapElements[u].snapping=s||n||o||a||d):(p.snapElements[u].snapping&&p.options.snap.release&&p.options.snap.release.call(p.element,e,t.extend(p._uiHash(),{snapItem:p.snapElements[u].item})),p.snapElements[u].snapping=!1)}}),t.ui.plugin.add("draggable","stack",{start:function(){var e,i=this.data("ui-draggable").options,s=t.makeArray(t(i.stack)).sort(function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)});s.length&&(e=parseInt(t(s[0]).css("zIndex"),10)||0,t(s).each(function(i){t(this).css("zIndex",e+i)}),this.css("zIndex",e+s.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i){var s=t(i.helper),n=t(this).data("ui-draggable").options;s.css("zIndex")&&(n._zIndex=s.css("zIndex")),s.css("zIndex",n.zIndex)},stop:function(e,i){var s=t(this).data("ui-draggable").options;s._zIndex&&t(i.helper).css("zIndex",s._zIndex)}})}(jQuery),function(t){function e(t,e,i){return t>e&&e+i>t}t.widget("ui.droppable",{version:"1.10.2",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e=this.options,i=e.accept;this.isover=!1,this.isout=!0,this.accept=t.isFunction(i)?i:function(t){return t.is(i)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},t.ui.ddmanager.droppables[e.scope]=t.ui.ddmanager.droppables[e.scope]||[],t.ui.ddmanager.droppables[e.scope].push(this),e.addClasses&&this.element.addClass("ui-droppable")
+},_destroy:function(){for(var e=0,i=t.ui.ddmanager.droppables[this.options.scope];i.length>e;e++)i[e]===this&&i.splice(e,1);this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(e,i){"accept"===e&&(this.accept=t.isFunction(i)?i:function(t){return t.is(i)}),t.Widget.prototype._setOption.apply(this,arguments)},_activate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),i&&this._trigger("activate",e,this.ui(i))},_deactivate:function(e){var i=t.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),i&&this._trigger("deactivate",e,this.ui(i))},_over:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",e,this.ui(i)))},_out:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",e,this.ui(i)))},_drop:function(e,i){var s=i||t.ui.ddmanager.current,n=!1;return s&&(s.currentItem||s.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var e=t.data(this,"ui-droppable");return e.options.greedy&&!e.options.disabled&&e.options.scope===s.options.scope&&e.accept.call(e.element[0],s.currentItem||s.element)&&t.ui.intersect(s,t.extend(e,{offset:e.element.offset()}),e.options.tolerance)?(n=!0,!1):undefined}),n?!1:this.accept.call(this.element[0],s.currentItem||s.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",e,this.ui(s)),this.element):!1):!1},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}}}),t.ui.intersect=function(t,i,s){if(!i.offset)return!1;var n,o,a=(t.positionAbs||t.position.absolute).left,r=a+t.helperProportions.width,h=(t.positionAbs||t.position.absolute).top,l=h+t.helperProportions.height,c=i.offset.left,u=c+i.proportions.width,d=i.offset.top,p=d+i.proportions.height;switch(s){case"fit":return a>=c&&u>=r&&h>=d&&p>=l;case"intersect":return a+t.helperProportions.width/2>c&&u>r-t.helperProportions.width/2&&h+t.helperProportions.height/2>d&&p>l-t.helperProportions.height/2;case"pointer":return n=(t.positionAbs||t.position.absolute).left+(t.clickOffset||t.offset.click).left,o=(t.positionAbs||t.position.absolute).top+(t.clickOffset||t.offset.click).top,e(o,d,i.proportions.height)&&e(n,c,i.proportions.width);case"touch":return(h>=d&&p>=h||l>=d&&p>=l||d>h&&l>p)&&(a>=c&&u>=a||r>=c&&u>=r||c>a&&r>u);default:return!1}},t.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(e,i){var s,n,o=t.ui.ddmanager.droppables[e.options.scope]||[],a=i?i.type:null,r=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();t:for(s=0;o.length>s;s++)if(!(o[s].options.disabled||e&&!o[s].accept.call(o[s].element[0],e.currentItem||e.element))){for(n=0;r.length>n;n++)if(r[n]===o[s].element[0]){o[s].proportions.height=0;continue t}o[s].visible="none"!==o[s].element.css("display"),o[s].visible&&("mousedown"===a&&o[s]._activate.call(o[s],i),o[s].offset=o[s].element.offset(),o[s].proportions={width:o[s].element[0].offsetWidth,height:o[s].element[0].offsetHeight})}},drop:function(e,i){var s=!1;return t.each((t.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&t.ui.intersect(e,this,this.options.tolerance)&&(s=this._drop.call(this,i)||s),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),s},dragStart:function(e,i){e.element.parentsUntil("body").bind("scroll.droppable",function(){e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)})},drag:function(e,i){e.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(e,i),t.each(t.ui.ddmanager.droppables[e.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var s,n,o,a=t.ui.intersect(e,this,this.options.tolerance),r=!a&&this.isover?"isout":a&&!this.isover?"isover":null;r&&(this.options.greedy&&(n=this.options.scope,o=this.element.parents(":data(ui-droppable)").filter(function(){return t.data(this,"ui-droppable").options.scope===n}),o.length&&(s=t.data(o[0],"ui-droppable"),s.greedyChild="isover"===r)),s&&"isover"===r&&(s.isover=!1,s.isout=!0,s._out.call(s,i)),this[r]=!0,this["isout"===r?"isover":"isout"]=!1,this["isover"===r?"_over":"_out"].call(this,i),s&&"isout"===r&&(s.isout=!1,s.isover=!0,s._over.call(s,i)))}})},dragStop:function(e,i){e.element.parentsUntil("body").unbind("scroll.droppable"),e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,i)}}}(jQuery),function(t){function e(t){return parseInt(t,10)||0}function i(t){return!isNaN(parseInt(t,10))}t.widget("ui.resizable",t.ui.mouse,{version:"1.10.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_create:function(){var e,i,s,n,o,a=this,r=this.options;if(this.element.addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!r.aspectRatio,aspectRatio:r.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:r.helper||r.ghost||r.animate?r.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(t("<div class='ui-wrapper' style='overflow: hidden;'></div>").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("ui-resizable",this.element.data("ui-resizable")),this.elementIsWrapper=!0,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=r.handles||(t(".ui-resizable-handle",this.element).length?{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"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),e=this.handles.split(","),this.handles={},i=0;e.length>i;i++)s=t.trim(e[i]),o="ui-resizable-"+s,n=t("<div class='ui-resizable-handle "+o+"'></div>"),n.css({zIndex:r.zIndex}),"se"===s&&n.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[s]=".ui-resizable-"+s,this.element.append(n);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String&&(this.handles[i]=t(this.handles[i],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),t(this.handles[i]).length},this._renderAxis(this.element),this._handles=t(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){a.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),a.axis=n&&n[1]?n[1]:"se")}),r.autoHide&&(this._handles.hide(),t(this.element).addClass("ui-resizable-autohide").mouseenter(function(){r.disabled||(t(this).removeClass("ui-resizable-autohide"),a._handles.show())}).mouseleave(function(){r.disabled||a.resizing||(t(this).addClass("ui-resizable-autohide"),a._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(i){var s,n,o,a=this.options,r=this.element.position(),h=this.element;return this.resizing=!0,/absolute/.test(h.css("position"))?h.css({position:"absolute",top:h.css("top"),left:h.css("left")}):h.is(".ui-draggable")&&h.css({position:"absolute",top:r.top,left:r.left}),this._renderProxy(),s=e(this.helper.css("left")),n=e(this.helper.css("top")),a.containment&&(s+=t(a.containment).scrollLeft()||0,n+=t(a.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:s,top:n},this.size=this._helper?{width:h.outerWidth(),height:h.outerHeight()}:{width:h.width(),height:h.height()},this.originalSize=this._helper?{width:h.outerWidth(),height:h.outerHeight()}:{width:h.width(),height:h.height()},this.originalPosition={left:s,top:n},this.sizeDiff={width:h.outerWidth()-h.width(),height:h.outerHeight()-h.height()},this.originalMousePosition={left:i.pageX,top:i.pageY},this.aspectRatio="number"==typeof a.aspectRatio?a.aspectRatio:this.originalSize.width/this.originalSize.height||1,o=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===o?this.axis+"-resize":o),h.addClass("ui-resizable-resizing"),this._propagate("start",i),!0},_mouseDrag:function(e){var i,s=this.helper,n={},o=this.originalMousePosition,a=this.axis,r=this.position.top,h=this.position.left,l=this.size.width,c=this.size.height,u=e.pageX-o.left||0,d=e.pageY-o.top||0,p=this._change[a];return p?(i=p.apply(this,[e,u,d]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),this.position.top!==r&&(n.top=this.position.top+"px"),this.position.left!==h&&(n.left=this.position.left+"px"),this.size.width!==l&&(n.width=this.size.width+"px"),this.size.height!==c&&(n.height=this.size.height+"px"),s.css(n),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(n)||this._trigger("resize",e,this.ui()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&t.ui.hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseInt(c.element.css("left"),10)+(c.position.left-c.originalPosition.left)||null,h=parseInt(c.element.css("top"),10)+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(t){var e,s,n,o,a,r=this.options;a={minWidth:i(r.minWidth)?r.minWidth:0,maxWidth:i(r.maxWidth)?r.maxWidth:1/0,minHeight:i(r.minHeight)?r.minHeight:0,maxHeight:i(r.maxHeight)?r.maxHeight:1/0},(this._aspectRatio||t)&&(e=a.minHeight*this.aspectRatio,n=a.minWidth/this.aspectRatio,s=a.maxHeight*this.aspectRatio,o=a.maxWidth/this.aspectRatio,e>a.minWidth&&(a.minWidth=e),n>a.minHeight&&(a.minHeight=n),a.maxWidth>s&&(a.maxWidth=s),a.maxHeight>o&&(a.maxHeight=o)),this._vBoundaries=a},_updateCache:function(t){this.offset=this.helper.offset(),i(t.left)&&(this.position.left=t.left),i(t.top)&&(this.position.top=t.top),i(t.height)&&(this.size.height=t.height),i(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,s=this.size,n=this.axis;return i(t.height)?t.width=t.height*this.aspectRatio:i(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===n&&(t.left=e.left+(s.width-t.width),t.top=null),"nw"===n&&(t.top=e.top+(s.height-t.height),t.left=e.left+(s.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,s=this.axis,n=i(t.width)&&e.maxWidth&&e.maxWidth<t.width,o=i(t.height)&&e.maxHeight&&e.maxHeight<t.height,a=i(t.width)&&e.minWidth&&e.minWidth>t.width,r=i(t.height)&&e.minHeight&&e.minHeight>t.height,h=this.originalPosition.left+this.originalSize.width,l=this.position.top+this.size.height,c=/sw|nw|w/.test(s),u=/nw|ne|n/.test(s);return a&&(t.width=e.minWidth),r&&(t.height=e.minHeight),n&&(t.width=e.maxWidth),o&&(t.height=e.maxHeight),a&&c&&(t.left=h-e.minWidth),n&&c&&(t.left=h-e.maxWidth),r&&u&&(t.top=l-e.minHeight),o&&u&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_proportionallyResize:function(){if(this._proportionallyResizeElements.length){var t,e,i,s,n,o=this.helper||this.element;for(t=0;this._proportionallyResizeElements.length>t;t++){if(n=this._proportionallyResizeElements[t],!this.borderDif)for(this.borderDif=[],i=[n.css("borderTopWidth"),n.css("borderRightWidth"),n.css("borderBottomWidth"),n.css("borderLeftWidth")],s=[n.css("paddingTop"),n.css("paddingRight"),n.css("paddingBottom"),n.css("paddingLeft")],e=0;i.length>e;e++)this.borderDif[e]=(parseInt(i[e],10)||0)+(parseInt(s[e],10)||0);n.css({height:o.height()-this.borderDif[0]-this.borderDif[2]||0,width:o.width()-this.borderDif[1]-this.borderDif[3]||0})}}},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("<div style='overflow:hidden;'></div>"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,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}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).data("ui-resizable"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&t.ui.hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-a},l=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,c=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(h,c&&l?{top:c,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var i,s,n,o,a,r,h,l=t(this).data("ui-resizable"),c=l.options,u=l.element,d=c.containment,p=d instanceof t?d.get(0):/parent/.test(d)?u.parent().get(0):d;p&&(l.containerElement=t(p),/document/.test(d)||d===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(i=t(p),s=[],t(["Top","Right","Left","Bottom"]).each(function(t,n){s[t]=e(i.css("padding"+n))}),l.containerOffset=i.offset(),l.containerPosition=i.position(),l.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},n=l.containerOffset,o=l.containerSize.height,a=l.containerSize.width,r=t.ui.hasScroll(p,"left")?p.scrollWidth:a,h=t.ui.hasScroll(p)?p.scrollHeight:o,l.parentData={element:p,left:n.left,top:n.top,width:r,height:h}))},resize:function(e){var i,s,n,o,a=t(this).data("ui-resizable"),r=a.options,h=a.containerOffset,l=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement;d[0]!==document&&/static/.test(d.css("position"))&&(u=h),l.left<(a._helper?h.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-h.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio),a.position.left=r.helper?h.left:0),l.top<(a._helper?h.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-h.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio),a.position.top=a._helper?h.top:0),a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top,i=Math.abs((a._helper?a.offset.left-u.left:a.offset.left-u.left)+a.sizeDiff.width),s=Math.abs((a._helper?a.offset.top-u.top:a.offset.top-h.top)+a.sizeDiff.height),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o&&(i-=a.parentData.left),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio))},stop:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),h=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).data("ui-resizable"),i=e.options,s=function(e){t(e).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseInt(e.width(),10),height:parseInt(e.height(),10),left:parseInt(e.css("left"),10),top:parseInt(e.css("top"),10)})})};"object"!=typeof i.alsoResize||i.alsoResize.parentNode?s(i.alsoResize):i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):t.each(i.alsoResize,function(t){s(t)})},resize:function(e,i){var s=t(this).data("ui-resizable"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0},h=function(e,s){t(e).each(function(){var e=t(this),n=t(this).data("ui-resizable-alsoresize"),o={},a=s&&s.length?s:e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(a,function(t,e){var i=(n[e]||0)+(r[e]||0);i&&i>=0&&(o[e]=i||null)}),e.css(o)})};"object"!=typeof n.alsoResize||n.alsoResize.nodeType?h(n.alsoResize):t.each(n.alsoResize,function(t,e){h(t,e)})},stop:function(){t(this).removeData("resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:s.height,width:s.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof i.ghost?i.ghost:""),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).data("ui-resizable");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).data("ui-resizable");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e=t(this).data("ui-resizable"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,a=e.axis,r="number"==typeof i.grid?[i.grid,i.grid]:i.grid,h=r[0]||1,l=r[1]||1,c=Math.round((s.width-n.width)/h)*h,u=Math.round((s.height-n.height)/l)*l,d=n.width+c,p=n.height+u,f=i.maxWidth&&d>i.maxWidth,g=i.maxHeight&&p>i.maxHeight,m=i.minWidth&&i.minWidth>d,v=i.minHeight&&i.minHeight>p;i.grid=r,m&&(d+=h),v&&(p+=l),f&&(d-=h),g&&(p-=l),/^(se|s|e)$/.test(a)?(e.size.width=d,e.size.height=p):/^(ne)$/.test(a)?(e.size.width=d,e.size.height=p,e.position.top=o.top-u):/^(sw)$/.test(a)?(e.size.width=d,e.size.height=p,e.position.left=o.left-c):(e.size.width=d,e.size.height=p,e.position.top=o.top-u,e.position.left=o.left-c)}})}(jQuery),function(t){t.widget("ui.selectable",t.ui.mouse,{version:"1.10.2",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e,i=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){e=t(i.options.filter,i.element[0]),e.addClass("ui-selectee"),e.each(function(){var e=t(this),i=e.offset();t.data(this,"selectable-item",{element:this,$element:e,left:i.left,top:i.top,right:i.left+e.outerWidth(),bottom:i.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=e.addClass("ui-selectee"),this._mouseInit(),this.helper=t("<div class='ui-selectable-helper'></div>")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(e){var i=this,s=this.options;this.opos=[e.pageX,e.pageY],this.options.disabled||(this.selectees=t(s.filter,this.element[0]),this._trigger("start",e),t(s.appendTo).append(this.helper),this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0}),s.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var s=t.data(this,"selectable-item");s.startselected=!0,e.metaKey||e.ctrlKey||(s.$element.removeClass("ui-selected"),s.selected=!1,s.$element.addClass("ui-unselecting"),s.unselecting=!0,i._trigger("unselecting",e,{unselecting:s.element}))}),t(e.target).parents().addBack().each(function(){var s,n=t.data(this,"selectable-item");return n?(s=!e.metaKey&&!e.ctrlKey||!n.$element.hasClass("ui-selected"),n.$element.removeClass(s?"ui-unselecting":"ui-selected").addClass(s?"ui-selecting":"ui-unselecting"),n.unselecting=!s,n.selecting=s,n.selected=s,s?i._trigger("selecting",e,{selecting:n.element}):i._trigger("unselecting",e,{unselecting:n.element}),!1):undefined}))},_mouseDrag:function(e){if(this.dragged=!0,!this.options.disabled){var i,s=this,n=this.options,o=this.opos[0],a=this.opos[1],r=e.pageX,h=e.pageY;return o>r&&(i=r,r=o,o=i),a>h&&(i=h,h=a,a=i),this.helper.css({left:o,top:a,width:r-o,height:h-a}),this.selectees.each(function(){var i=t.data(this,"selectable-item"),l=!1;i&&i.element!==s.element[0]&&("touch"===n.tolerance?l=!(i.left>r||o>i.right||i.top>h||a>i.bottom):"fit"===n.tolerance&&(l=i.left>o&&r>i.right&&i.top>a&&h>i.bottom),l?(i.selected&&(i.$element.removeClass("ui-selected"),i.selected=!1),i.unselecting&&(i.$element.removeClass("ui-unselecting"),i.unselecting=!1),i.selecting||(i.$element.addClass("ui-selecting"),i.selecting=!0,s._trigger("selecting",e,{selecting:i.element}))):(i.selecting&&((e.metaKey||e.ctrlKey)&&i.startselected?(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.$element.addClass("ui-selected"),i.selected=!0):(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.startselected&&(i.$element.addClass("ui-unselecting"),i.unselecting=!0),s._trigger("unselecting",e,{unselecting:i.element}))),i.selected&&(e.metaKey||e.ctrlKey||i.startselected||(i.$element.removeClass("ui-selected"),i.selected=!1,i.$element.addClass("ui-unselecting"),i.unselecting=!0,s._trigger("unselecting",e,{unselecting:i.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,t(".ui-unselecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");s.$element.removeClass("ui-unselecting"),s.unselecting=!1,s.startselected=!1,i._trigger("unselected",e,{unselected:s.element})}),t(".ui-selecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");s.$element.removeClass("ui-selecting").addClass("ui-selected"),s.selecting=!1,s.selected=!0,s.startselected=!0,i._trigger("selected",e,{selected:s.element})}),this._trigger("stop",e),this.helper.remove(),!1}})}(jQuery),function(t){function e(t,e,i){return t>e&&e+i>t}function i(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))}t.widget("ui.sortable",t.ui.mouse,{version:"1.10.2",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var t=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?"x"===t.axis||i(this.items[0].item):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_setOption:function(e,i){"disabled"===e?(this.options[e]=i,this.widget().toggleClass("ui-sortable-disabled",!!i)):t.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(e,i){var s=null,n=!1,o=this;return this.reverting?!1:this.options.disabled||"static"===this.options.type?!1:(this._refreshItems(e),t(e.target).parents().each(function(){return t.data(this,o.widgetName+"-item")===o?(s=t(this),!1):undefined}),t.data(e.target,o.widgetName+"-item")===o&&(s=t(e.target)),s?!this.options.handle||i||(t(this.options.handle,s).find("*").addBack().each(function(){this===e.target&&(n=!0)}),n)?(this.currentItem=s,this._removeCurrentsFromItems(),!0):!1:!1)},_mouseStart:function(e,i,s){var n,o,a=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),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},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(o=this.document.find("body"),this.storedCursor=o.css("cursor"),o.css("cursor",a.cursor),this.storedStylesheet=t("<style>*{ cursor: "+a.cursor+" !important; }</style>").appendTo(o)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!s)for(n=this.containers.length-1;n>=0;n--)this.containers[n]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!a.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var i,s,n,o,a=this.options,r=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<a.scrollSensitivity?this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop+a.scrollSpeed:e.pageY-this.overflowOffset.top<a.scrollSensitivity&&(this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop-a.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<a.scrollSensitivity?this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft+a.scrollSpeed:e.pageX-this.overflowOffset.left<a.scrollSensitivity&&(this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft-a.scrollSpeed)):(e.pageY-t(document).scrollTop()<a.scrollSensitivity?r=t(document).scrollTop(t(document).scrollTop()-a.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<a.scrollSensitivity&&(r=t(document).scrollTop(t(document).scrollTop()+a.scrollSpeed)),e.pageX-t(document).scrollLeft()<a.scrollSensitivity?r=t(document).scrollLeft(t(document).scrollLeft()-a.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())<a.scrollSensitivity&&(r=t(document).scrollLeft(t(document).scrollLeft()+a.scrollSpeed))),r!==!1&&t.ui.ddmanager&&!a.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),i=this.items.length-1;i>=0;i--)if(s=this.items[i],n=s.item[0],o=this._intersectsWithPointer(s),o&&s.instance===this.currentContainer&&n!==this.currentItem[0]&&this.placeholder[1===o?"next":"prev"]()[0]!==n&&!t.contains(this.placeholder[0],n)&&("semi-dynamic"===this.options.type?!t.contains(this.element[0],n):!0)){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(s))break;
+this._rearrange(e,s),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var s=this,n=this.placeholder.offset(),o=this.options.axis,a={};o&&"x"!==o||(a.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),o&&"y"!==o||(a.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(a,parseInt(this.options.revert,10)||500,function(){s._clear(e)})}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null}),"original"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},t(i).each(function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);i&&s.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))}),!s.length&&e.key&&s.push(e.key+"="),s.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},i.each(function(){s.push(t(e.item||this).attr(e.attribute||"id")||"")}),s},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,s=this.positionAbs.top,n=s+this.helperProportions.height,o=t.left,a=o+t.width,r=t.top,h=r+t.height,l=this.offset.click.top,c=this.offset.click.left,u=s+l>r&&h>s+l&&e+c>o&&a>e+c;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?u:e+this.helperProportions.width/2>o&&a>i-this.helperProportions.width/2&&s+this.helperProportions.height/2>r&&h>n-this.helperProportions.height/2},_intersectsWithPointer:function(t){var i="x"===this.options.axis||e(this.positionAbs.top+this.offset.click.top,t.top,t.height),s="y"===this.options.axis||e(this.positionAbs.left+this.offset.click.left,t.left,t.width),n=i&&s,o=this._getDragVerticalDirection(),a=this._getDragHorizontalDirection();return n?this.floating?a&&"right"===a||"down"===o?2:1:o&&("down"===o?2:1):!1},_intersectsWithSides:function(t){var i=e(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),s=e(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return this.floating&&o?"right"===o&&s||"left"===o&&!s:n&&("down"===n&&i||"up"===n&&!i)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var i,s,n,o,a=[],r=[],h=this._connectWith();if(h&&e)for(i=h.length-1;i>=0;i--)for(n=t(h[i]),s=n.length-1;s>=0;s--)o=t.data(n[s],this.widgetFullName),o&&o!==this&&!o.options.disabled&&r.push([t.isFunction(o.options.items)?o.options.items.call(o.element):t(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);for(r.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=r.length-1;i>=0;i--)r[i][0].each(function(){a.push(this)});return t(a)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(t){for(var i=0;e.length>i;i++)if(e[i]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var i,s,n,o,a,r,h,l,c=this.items,u=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(i=d.length-1;i>=0;i--)for(n=t(d[i]),s=n.length-1;s>=0;s--)o=t.data(n[s],this.widgetFullName),o&&o!==this&&!o.options.disabled&&(u.push([t.isFunction(o.options.items)?o.options.items.call(o.element[0],e,{item:this.currentItem}):t(o.options.items,o.element),o]),this.containers.push(o));for(i=u.length-1;i>=0;i--)for(a=u[i][1],r=u[i][0],s=0,l=r.length;l>s;s++)h=t(r[s]),h.data(this.widgetName+"-item",a),c.push({item:h,instance:a,width:0,height:0,left:0,top:0})},refreshPositions:function(e){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var i,s,n,o;for(i=this.items.length-1;i>=0;i--)s=this.items[i],s.instance!==this.currentContainer&&this.currentContainer&&s.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?t(this.options.toleranceElement,s.item):s.item,e||(s.width=n.outerWidth(),s.height=n.outerHeight()),o=n.offset(),s.left=o.left,s.top=o.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)o=this.containers[i].element.offset(),this.containers[i].containerCache.left=o.left,this.containers[i].containerCache.top=o.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(e){e=e||this;var i,s=e.options;s.placeholder&&s.placeholder.constructor!==String||(i=s.placeholder,s.placeholder={element:function(){var s=e.currentItem[0].nodeName.toLowerCase(),n=t(e.document[0].createElement(s)).addClass(i||e.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");return"tr"===s?n.append("<td colspan='99'>&#160;</td>"):"img"===s&&n.attr("src",e.currentItem.attr("src")),i||n.css("visibility","hidden"),n},update:function(t,n){(!i||s.forcePlaceholderSize)&&(n.height()||n.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),n.width()||n.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(s.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),s.placeholder.update(e,e.placeholder)},_contactContainers:function(s){var n,o,a,r,h,l,c,u,d,p,f=null,g=null;for(n=this.containers.length-1;n>=0;n--)if(!t.contains(this.currentItem[0],this.containers[n].element[0]))if(this._intersectsWith(this.containers[n].containerCache)){if(f&&t.contains(this.containers[n].element[0],f.element[0]))continue;f=this.containers[n],g=n}else this.containers[n].containerCache.over&&(this.containers[n]._trigger("out",s,this._uiHash(this)),this.containers[n].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[g].containerCache.over||(this.containers[g]._trigger("over",s,this._uiHash(this)),this.containers[g].containerCache.over=1);else{for(a=1e4,r=null,p=f.floating||i(this.currentItem),h=p?"left":"top",l=p?"width":"height",c=this.positionAbs[h]+this.offset.click[h],o=this.items.length-1;o>=0;o--)t.contains(this.containers[g].element[0],this.items[o].item[0])&&this.items[o].item[0]!==this.currentItem[0]&&(!p||e(this.positionAbs.top+this.offset.click.top,this.items[o].top,this.items[o].height))&&(u=this.items[o].item.offset()[h],d=!1,Math.abs(u-c)>Math.abs(u+this.items[o][l]-c)&&(d=!0,u+=this.items[o][l]),a>Math.abs(u-c)&&(a=Math.abs(u-c),r=this.items[o],this.direction=d?"up":"down"));if(!r&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[g])return;r?this._rearrange(s,r,null,!0):this._rearrange(s,null,this.containers[g].element,!0),this._trigger("change",s,this._uiHash()),this.containers[g]._trigger("change",s,this._uiHash(this)),this.currentContainer=this.containers[g],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[g]._trigger("over",s,this._uiHash(this)),this.containers[g].containerCache.over=1}},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return s.parents("body").length||t("parent"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(s[0]),s[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!s[0].style.width||i.forceHelperSize)&&s.width(this.currentItem.width()),(!s[0].style.height||i.forceHelperSize)&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),("document"===n.containment||"window"===n.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,t("document"===n.containment?document:window).width()-this.helperProportions.width-this.margins.left,(t("document"===n.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(e=t(n.containment)[0],i=t(n.containment).offset(),s="hidden"!==t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(s?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(s?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(n[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:n.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:n.scrollLeft())*s}},_generatePosition:function(e){var i,s,n=this.options,o=e.pageX,a=e.pageY,r="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(r[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(o=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(a=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(o=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),n.grid&&(i=this.originalPageY+Math.round((a-this.originalPageY)/n.grid[1])*n.grid[1],a=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-n.grid[1]:i+n.grid[1]:i,s=this.originalPageX+Math.round((o-this.originalPageX)/n.grid[0])*n.grid[0],o=this.containment?s-this.offset.click.left>=this.containment[0]&&s-this.offset.click.left<=this.containment[2]?s:s-this.offset.click.left>=this.containment[0]?s-n.grid[0]:s+n.grid[0]:s)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():h?0:r.scrollTop()),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():h?0:r.scrollLeft())}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var n=this.counter;this._delay(function(){n===this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){this.reverting=!1;var i,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)("auto"===this._storedCSS[i]||"static"===this._storedCSS[i])&&(this._storedCSS[i]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&s.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||s.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(s.push(function(t){this._trigger("remove",t,this._uiHash())}),s.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)e||s.push(function(t){return function(e){t._trigger("deactivate",e,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(s.push(function(t){return function(e){t._trigger("out",e,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!e){for(this._trigger("beforeStop",t,this._uiHash()),i=0;s.length>i;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!1}if(e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null,!e){for(i=0;s.length>i;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){t.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}})}(jQuery),function(t,e){var i="ui-effects-";t.effects={effect:{}},function(t,e){function i(t,e,i){var s=u[e.type]||{};return null==t?i||!e.def?null:e.def:(t=s.floor?~~t:parseFloat(t),isNaN(t)?e.def:s.mod?(t+s.mod)%s.mod:0>t?0:t>s.max?s.max:t)}function s(i){var s=l(),n=s._rgba=[];return i=i.toLowerCase(),f(h,function(t,o){var a,r=o.re.exec(i),h=r&&o.parse(r),l=o.space||"rgba";return h?(a=s[l](h),s[c[l].cache]=a[c[l].cache],n=s._rgba=a._rgba,!1):e}),n.length?("0,0,0,0"===n.join()&&t.extend(n,o.transparent),s):o[i]}function n(t,e,i){return i=(i+1)%1,1>6*i?t+6*(e-t)*i:1>2*i?e:2>3*i?t+6*(e-t)*(2/3-i):t}var o,a="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",r=/^([\-+])=\s*(\d+\.?\d*)/,h=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],l=t.Color=function(e,i,s,n){return new t.Color.fn.parse(e,i,s,n)},c={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},u={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},d=l.support={},p=t("<p>")[0],f=t.each;p.style.cssText="background-color:rgba(1,1,1,.5)",d.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(c,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),l.fn=t.extend(l.prototype,{parse:function(n,a,r,h){if(n===e)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=t(n).css(a),a=e);var u=this,d=t.type(n),p=this._rgba=[];return a!==e&&(n=[n,a,r,h],d="array"),"string"===d?this.parse(s(n)||o._default):"array"===d?(f(c.rgba.props,function(t,e){p[e.idx]=i(n[e.idx],e)}),this):"object"===d?(n instanceof l?f(c,function(t,e){n[e.cache]&&(u[e.cache]=n[e.cache].slice())}):f(c,function(e,s){var o=s.cache;f(s.props,function(t,e){if(!u[o]&&s.to){if("alpha"===t||null==n[t])return;u[o]=s.to(u._rgba)}u[o][e.idx]=i(n[t],e,!0)}),u[o]&&0>t.inArray(null,u[o].slice(0,3))&&(u[o][3]=1,s.from&&(u._rgba=s.from(u[o])))}),this):e},is:function(t){var i=l(t),s=!0,n=this;return f(c,function(t,o){var a,r=i[o.cache];return r&&(a=n[o.cache]||o.to&&o.to(n._rgba)||[],f(o.props,function(t,i){return null!=r[i.idx]?s=r[i.idx]===a[i.idx]:e})),s}),s},_space:function(){var t=[],e=this;return f(c,function(i,s){e[s.cache]&&t.push(i)}),t.pop()},transition:function(t,e){var s=l(t),n=s._space(),o=c[n],a=0===this.alpha()?l("transparent"):this,r=a[o.cache]||o.to(a._rgba),h=r.slice();return s=s[o.cache],f(o.props,function(t,n){var o=n.idx,a=r[o],l=s[o],c=u[n.type]||{};null!==l&&(null===a?h[o]=l:(c.mod&&(l-a>c.mod/2?a+=c.mod:a-l>c.mod/2&&(a-=c.mod)),h[o]=i((l-a)*e+a,n)))}),this[n](h)},blend:function(e){if(1===this._rgba[3])return this;var i=this._rgba.slice(),s=i.pop(),n=l(e)._rgba;return l(t.map(i,function(t,e){return(1-s)*n[e]+s*t}))},toRgbaString:function(){var e="rgba(",i=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===i[3]&&(i.pop(),e="rgb("),e+i.join()+")"},toHslaString:function(){var e="hsla(",i=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&3>e&&(t=Math.round(100*t)+"%"),t});return 1===i[3]&&(i.pop(),e="hsl("),e+i.join()+")"},toHexString:function(e){var i=this._rgba.slice(),s=i.pop();return e&&i.push(~~(255*s)),"#"+t.map(i,function(t){return t=(t||0).toString(16),1===t.length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,c.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,s=t[0]/255,n=t[1]/255,o=t[2]/255,a=t[3],r=Math.max(s,n,o),h=Math.min(s,n,o),l=r-h,c=r+h,u=.5*c;return e=h===r?0:s===r?60*(n-o)/l+360:n===r?60*(o-s)/l+120:60*(s-n)/l+240,i=0===l?0:.5>=u?l/c:l/(2-c),[Math.round(e)%360,i,u,null==a?1:a]},c.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],s=t[2],o=t[3],a=.5>=s?s*(1+i):s+i-s*i,r=2*s-a;return[Math.round(255*n(r,a,e+1/3)),Math.round(255*n(r,a,e)),Math.round(255*n(r,a,e-1/3)),o]},f(c,function(s,n){var o=n.props,a=n.cache,h=n.to,c=n.from;l.fn[s]=function(s){if(h&&!this[a]&&(this[a]=h(this._rgba)),s===e)return this[a].slice();var n,r=t.type(s),u="array"===r||"object"===r?s:arguments,d=this[a].slice();return f(o,function(t,e){var s=u["object"===r?t:e.idx];null==s&&(s=d[e.idx]),d[e.idx]=i(s,e)}),c?(n=l(c(d)),n[a]=d,n):l(d)},f(o,function(e,i){l.fn[e]||(l.fn[e]=function(n){var o,a=t.type(n),h="alpha"===e?this._hsla?"hsla":"rgba":s,l=this[h](),c=l[i.idx];return"undefined"===a?c:("function"===a&&(n=n.call(this,c),a=t.type(n)),null==n&&i.empty?this:("string"===a&&(o=r.exec(n),o&&(n=c+parseFloat(o[2])*("+"===o[1]?1:-1))),l[i.idx]=n,this[h](l)))})})}),l.hook=function(e){var i=e.split(" ");f(i,function(e,i){t.cssHooks[i]={set:function(e,n){var o,a,r="";if("transparent"!==n&&("string"!==t.type(n)||(o=s(n)))){if(n=l(o||n),!d.rgba&&1!==n._rgba[3]){for(a="backgroundColor"===i?e.parentNode:e;(""===r||"transparent"===r)&&a&&a.style;)try{r=t.css(a,"backgroundColor"),a=a.parentNode}catch(h){}n=n.blend(r&&"transparent"!==r?r:"_default")}n=n.toRgbaString()}try{e.style[i]=n}catch(h){}}},t.fx.step[i]=function(e){e.colorInit||(e.start=l(e.elem,i),e.end=l(e.end),e.colorInit=!0),t.cssHooks[i].set(e.elem,e.start.transition(e.end,e.pos))}})},l.hook(a),t.cssHooks.borderColor={expand:function(t){var e={};return f(["Top","Right","Bottom","Left"],function(i,s){e["border"+s+"Color"]=t}),e}},o=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function i(e){var i,s,n=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,o={};if(n&&n.length&&n[0]&&n[n[0]])for(s=n.length;s--;)i=n[s],"string"==typeof n[i]&&(o[t.camelCase(i)]=n[i]);else for(i in n)"string"==typeof n[i]&&(o[i]=n[i]);return o}function s(e,i){var s,n,a={};for(s in i)n=i[s],e[s]!==n&&(o[s]||(t.fx.step[s]||!isNaN(parseFloat(n)))&&(a[s]=n));return a}var n=["add","remove","toggle"],o={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,i){t.fx.step[i]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(jQuery.style(t.elem,i,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(e,o,a,r){var h=t.speed(o,a,r);return this.queue(function(){var o,a=t(this),r=a.attr("class")||"",l=h.children?a.find("*").addBack():a;l=l.map(function(){var e=t(this);return{el:e,start:i(this)}}),o=function(){t.each(n,function(t,i){e[i]&&a[i+"Class"](e[i])})},o(),l=l.map(function(){return this.end=i(this.el[0]),this.diff=s(this.start,this.end),this}),a.attr("class",r),l=l.map(function(){var e=this,i=t.Deferred(),s=t.extend({},h,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,s),i.promise()}),t.when.apply(t,l.get()).done(function(){o(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),h.complete.call(a[0])})})},t.fn.extend({addClass:function(e){return function(i,s,n,o){return s?t.effects.animateClass.call(this,{add:i},s,n,o):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(i,s,n,o){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},s,n,o):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(i){return function(s,n,o,a,r){return"boolean"==typeof n||n===e?o?t.effects.animateClass.call(this,n?{add:s}:{remove:s},o,a,r):i.apply(this,arguments):t.effects.animateClass.call(this,{toggle:s},n,o,a)}}(t.fn.toggleClass),switchClass:function(e,i,s,n,o){return t.effects.animateClass.call(this,{add:i,remove:e},s,n,o)}})}(),function(){function s(e,i,s,n){return t.isPlainObject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),t.isFunction(i)&&(n=i,s=null,i={}),("number"==typeof i||t.fx.speeds[i])&&(n=s,s=i,i={}),t.isFunction(s)&&(n=s,s=null),i&&t.extend(e,i),s=s||i.duration,e.duration=t.fx.off?0:"number"==typeof s?s:s in t.fx.speeds?t.fx.speeds[s]:t.fx.speeds._default,e.complete=n||i.complete,e}function n(e){return!e||"number"==typeof e||t.fx.speeds[e]?!0:"string"!=typeof e||t.effects.effect[e]?t.isFunction(e)?!0:"object"!=typeof e||e.effect?!1:!0:!0}t.extend(t.effects,{version:"1.10.2",save:function(t,e){for(var s=0;e.length>s;s++)null!==e[s]&&t.data(i+e[s],t[0].style[e[s]])},restore:function(t,s){var n,o;for(o=0;s.length>o;o++)null!==s[o]&&(n=t.data(i+s[o]),n===e&&(n=""),t.css(s[o],n))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},getBaseline:function(t,e){var i,s;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=t[1]/e.width}return{x:s,y:i}},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var i={width:e.outerWidth(!0),height:e.outerHeight(!0),"float":e.css("float")},s=t("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),n={width:e.width(),height:e.height()},o=document.activeElement;try{o.id}catch(a){o=document.body}return e.wrap(s),(e[0]===o||t.contains(e[0],o))&&t(o).focus(),s=e.parent(),"static"===e.css("position")?(s.css({position:"relative"}),e.css({position:"relative"})):(t.extend(i,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,s){i[s]=e.css(s),isNaN(parseInt(i[s],10))&&(i[s]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(n),s.css(i).show()},removeWrapper:function(e){var i=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===i||t.contains(e[0],i))&&t(i).focus()),e},setTransition:function(e,i,s,n){return n=n||{},t.each(i,function(t,i){var o=e.cssUnit(i);o[0]>0&&(n[i]=o[0]*s+o[1])}),n}}),t.fn.extend({effect:function(){function e(e){function s(){t.isFunction(o)&&o.call(n[0]),t.isFunction(e)&&e()}var n=t(this),o=i.complete,r=i.mode;(n.is(":hidden")?"hide"===r:"show"===r)?(n[r](),s()):a.call(n[0],i,s)}var i=s.apply(this,arguments),n=i.mode,o=i.queue,a=t.effects.effect[i.effect];return t.fx.off||!a?n?this[n](i.duration,i.complete):this.each(function(){i.complete&&i.complete.call(this)}):o===!1?this.each(e):this.queue(o||"fx",e)},show:function(t){return function(e){if(n(e))return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="show",this.effect.call(this,i)}}(t.fn.show),hide:function(t){return function(e){if(n(e))return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="hide",this.effect.call(this,i)}}(t.fn.hide),toggle:function(t){return function(e){if(n(e)||"boolean"==typeof e)return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="toggle",this.effect.call(this,i)}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),s=[];return t.each(["em","px","%","pt"],function(t,e){i.indexOf(e)>0&&(s=[parseFloat(i),e])}),s}})}(),function(){var e={};t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,i){e[i]=function(e){return Math.pow(e,t+2)}}),t.extend(e,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;((e=Math.pow(2,--i))-1)/11>t;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(e,function(e,i){t.easing["easeIn"+e]=i,t.easing["easeOut"+e]=function(t){return 1-i(1-t)},t.easing["easeInOut"+e]=function(t){return.5>t?i(2*t)/2:1-i(-2*t+2)/2}})}()}(jQuery),function(t){var e=0,i={},s={};i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth="hide",s.height=s.paddingTop=s.paddingBottom=s.borderTopWidth=s.borderBottomWidth="show",t.widget("ui.accordion",{version:"1.10.2",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),e.collapsible||e.active!==!1&&null!=e.active||(e.active=0),this._processPanels(),0>e.active&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t(),content:this.active.length?this.active.next():t()}},_createIcons:function(){var e=this.options.icons;e&&(t("<span>").addClass("ui-accordion-header-icon ui-icon "+e.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(e.header).addClass(e.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()
+},_destroy:function(){var t;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){return"active"===t?(this._activate(e),undefined):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||this.options.active!==!1||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons()),"disabled"===t&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!e),undefined)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var i=t.ui.keyCode,s=this.headers.length,n=this.headers.index(e.target),o=!1;switch(e.keyCode){case i.RIGHT:case i.DOWN:o=this.headers[(n+1)%s];break;case i.LEFT:case i.UP:o=this.headers[(n-1+s)%s];break;case i.SPACE:case i.ENTER:this._eventHandler(e);break;case i.HOME:o=this.headers[0];break;case i.END:o=this.headers[s-1]}o&&(t(e.target).attr("tabIndex",-1),t(o).attr("tabIndex",0),o.focus(),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().focus()},refresh:function(){var e=this.options;this._processPanels(),(e.active===!1&&e.collapsible===!0||!this.headers.length)&&(e.active=!1,this.active=t()),e.active===!1?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()},_refresh:function(){var i,s=this.options,n=s.heightStyle,o=this.element.parent(),a=this.accordionId="ui-accordion-"+(this.element.attr("id")||++e);this.active=this._findActive(s.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(e){var i=t(this),s=i.attr("id"),n=i.next(),o=n.attr("id");s||(s=a+"-header-"+e,i.attr("id",s)),o||(o=a+"-panel-"+e,n.attr("id",o)),i.attr("aria-controls",o),n.attr("aria-labelledby",s)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(s.event),"fill"===n?(i=o.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerHeight(!0))}),this.headers.each(function(){i-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===n&&(i=0,this.headers.next().each(function(){i=Math.max(i,t(this).css("height","").height())}).height(i))},_activate:function(e){var i=this._findActive(e)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var i=this.options,s=this.active,n=t(e.currentTarget),o=n[0]===s[0],a=o&&i.collapsible,r=a?t():n.next(),h=s.next(),l={oldHeader:s,oldPanel:h,newHeader:a?t():n,newPanel:r};e.preventDefault(),o&&!i.collapsible||this._trigger("beforeActivate",e,l)===!1||(i.active=a?!1:this.headers.index(n),this.active=o?t():n,this._toggle(l),s.removeClass("ui-accordion-header-active ui-state-active"),i.icons&&s.children(".ui-accordion-header-icon").removeClass(i.icons.activeHeader).addClass(i.icons.header),o||(n.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),i.icons&&n.children(".ui-accordion-header-icon").removeClass(i.icons.header).addClass(i.icons.activeHeader),n.next().addClass("ui-accordion-content-active")))},_toggle:function(e){var i=e.newPanel,s=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=s,this.options.animate?this._animate(i,s,e):(s.hide(),i.show(),this._toggleComplete(e)),s.attr({"aria-expanded":"false","aria-hidden":"true"}),s.prev().attr("aria-selected","false"),i.length&&s.length?s.prev().attr("tabIndex",-1):i.length&&this.headers.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),i.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(t,e,n){var o,a,r,h=this,l=0,c=t.length&&(!e.length||t.index()<e.index()),u=this.options.animate||{},d=c&&u.down||u,p=function(){h._toggleComplete(n)};return"number"==typeof d&&(r=d),"string"==typeof d&&(a=d),a=a||d.easing||u.easing,r=r||d.duration||u.duration,e.length?t.length?(o=t.show().outerHeight(),e.animate(i,{duration:r,easing:a,step:function(t,e){e.now=Math.round(t)}}),t.hide().animate(s,{duration:r,easing:a,complete:p,step:function(t,i){i.now=Math.round(t),"height"!==i.prop?l+=i.now:"content"!==h.options.heightStyle&&(i.now=Math.round(o-e.outerHeight()-l),l=0)}}),undefined):e.animate(i,r,a,p):t.animate(s,r,a,p)},_toggleComplete:function(t){var e=t.oldPanel;e.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger("activate",null,t)}})}(jQuery),function(t){var e=0;t.widget("ui.autocomplete",{version:"1.10.2",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var e,i,s,n=this.element[0].nodeName.toLowerCase(),o="textarea"===n,a="input"===n;this.isMultiLine=o?!0:a?!1:this.element.prop("isContentEditable"),this.valueMethod=this.element[o||a?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(n){if(this.element.prop("readOnly"))return e=!0,s=!0,i=!0,undefined;e=!1,s=!1,i=!1;var o=t.ui.keyCode;switch(n.keyCode){case o.PAGE_UP:e=!0,this._move("previousPage",n);break;case o.PAGE_DOWN:e=!0,this._move("nextPage",n);break;case o.UP:e=!0,this._keyEvent("previous",n);break;case o.DOWN:e=!0,this._keyEvent("next",n);break;case o.ENTER:case o.NUMPAD_ENTER:this.menu.active&&(e=!0,n.preventDefault(),this.menu.select(n));break;case o.TAB:this.menu.active&&this.menu.select(n);break;case o.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTimeout(n)}},keypress:function(s){if(e)return e=!1,s.preventDefault(),undefined;if(!i){var n=t.ui.keyCode;switch(s.keyCode){case n.PAGE_UP:this._move("previousPage",s);break;case n.PAGE_DOWN:this._move("nextPage",s);break;case n.UP:this._keyEvent("previous",s);break;case n.DOWN:this._keyEvent("next",s)}}},input:function(t){return s?(s=!1,t.preventDefault(),undefined):(this._searchTimeout(t),undefined)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,undefined):(clearTimeout(this.searching),this.close(t),this._change(t),undefined)}}),this._initSource(),this.menu=t("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({input:t(),role:null}).hide().data("ui-menu"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];t(e.target).closest(".ui-menu-item").length||this._delay(function(){var e=this;this.document.one("mousedown",function(s){s.target===e.element[0]||s.target===i||t.contains(i,s.target)||e.close()})})},menufocus:function(e,i){if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)}),undefined;var s=i.item.data("ui-autocomplete-item");!1!==this._trigger("focus",e,{item:s})?e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(s.value):this.liveRegion.text(s.value)},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=t("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertAfter(this.element),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e||(e=this.element.closest(".ui-front")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,i,s=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(i,s){s(t.ui.autocomplete.filter(e,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(e,n){s.xhr&&s.xhr.abort(),s.xhr=t.ajax({url:i,data:e,dataType:"json",success:function(t){n(t)},error:function(){n([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):this._trigger("search",e)!==!1?this._search(t):undefined},_search:function(t){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var t=this,i=++e;return function(s){i===e&&t.__response(s),t.pending--,t.pending||t.element.removeClass("ui-autocomplete-loading")}},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:t.map(e,function(e){return"string"==typeof e?{label:e,value:e}:t.extend({label:e.label||e.value,value:e.value||e.label},e)})},_suggest:function(e){var i=this.menu.element.empty();this._renderMenu(i,e),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(t.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(e,i){var s=this;t.each(i,function(t,i){s._renderItemData(e,i)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(e,i){return t("<li>").append(t("<a>").text(i.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this._value(this.term),this.menu.blur(),undefined):(this.menu[t](e),undefined):(this.search(null,e),undefined)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(t,e),e.preventDefault())}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,i){var s=RegExp(t.ui.autocomplete.escapeRegex(i),"i");return t.grep(e,function(t){return s.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var e;this._superApply(arguments),this.options.disabled||this.cancelSearch||(e=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.text(e))}})}(jQuery),function(t){var e,i,s,n,o="ui-button ui-widget ui-state-default ui-corner-all",a="ui-state-hover ui-state-active ",r="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",h=function(){var e=t(this).find(":ui-button");setTimeout(function(){e.button("refresh")},1)},l=function(e){var i=e.name,s=e.form,n=t([]);return i&&(i=i.replace(/'/g,"\\'"),n=s?t(s).find("[name='"+i+"']"):t("[name='"+i+"']",e.ownerDocument).filter(function(){return!this.form})),n};t.widget("ui.button",{version:"1.10.2",defaultElement:"<button>",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,h),"boolean"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop("disabled"):this.element.prop("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var a=this,r=this.options,c="checkbox"===this.type||"radio"===this.type,u=c?"":"ui-state-active",d="ui-state-focus";null===r.label&&(r.label="input"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(o).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){r.disabled||this===e&&t(this).addClass("ui-state-active")}).bind("mouseleave"+this.eventNamespace,function(){r.disabled||t(this).removeClass(u)}).bind("click"+this.eventNamespace,function(t){r.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}),this.element.bind("focus"+this.eventNamespace,function(){a.buttonElement.addClass(d)}).bind("blur"+this.eventNamespace,function(){a.buttonElement.removeClass(d)}),c&&(this.element.bind("change"+this.eventNamespace,function(){n||a.refresh()}),this.buttonElement.bind("mousedown"+this.eventNamespace,function(t){r.disabled||(n=!1,i=t.pageX,s=t.pageY)}).bind("mouseup"+this.eventNamespace,function(t){r.disabled||(i!==t.pageX||s!==t.pageY)&&(n=!0)})),"checkbox"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){return r.disabled||n?!1:undefined}):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(r.disabled||n)return!1;t(this).addClass("ui-state-active"),a.buttonElement.attr("aria-pressed","true");var e=a.element[0];l(e).not(e).map(function(){return t(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){return r.disabled?!1:(t(this).addClass("ui-state-active"),e=this,a.document.one("mouseup",function(){e=null}),undefined)}).bind("mouseup"+this.eventNamespace,function(){return r.disabled?!1:(t(this).removeClass("ui-state-active"),undefined)}).bind("keydown"+this.eventNamespace,function(e){return r.disabled?!1:((e.keyCode===t.ui.keyCode.SPACE||e.keyCode===t.ui.keyCode.ENTER)&&t(this).addClass("ui-state-active"),undefined)}).bind("keyup"+this.eventNamespace+" blur"+this.eventNamespace,function(){t(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(e){e.keyCode===t.ui.keyCode.SPACE&&t(this).click()})),this._setOption("disabled",r.disabled),this._resetButton()},_determineButtonType:function(){var t,e,i;this.type=this.element.is("[type=checkbox]")?"checkbox":this.element.is("[type=radio]")?"radio":this.element.is("input")?"input":"button","checkbox"===this.type||"radio"===this.type?(t=this.element.parents().last(),e="label[for='"+this.element.attr("id")+"']",this.buttonElement=t.find(e),this.buttonElement.length||(t=t.length?t.siblings():this.element.siblings(),this.buttonElement=t.filter(e),this.buttonElement.length||(this.buttonElement=t.find(e))),this.element.addClass("ui-helper-hidden-accessible"),i=this.element.is(":checked"),i&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.prop("aria-pressed",i)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(o+" "+a+" "+r).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title")},_setOption:function(t,e){return this._super(t,e),"disabled"===t?(e?this.element.prop("disabled",!0):this.element.prop("disabled",!1),undefined):(this._resetButton(),undefined)},refresh:function(){var e=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOption("disabled",e),"radio"===this.type?l(this.element[0]).each(function(){t(this).is(":checked")?t(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):t(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){if("input"===this.type)return this.options.label&&this.element.val(this.options.label),undefined;var e=this.buttonElement.removeClass(r),i=t("<span></span>",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(e.empty()).text(),s=this.options.icons,n=s.primary&&s.secondary,o=[];s.primary||s.secondary?(this.options.text&&o.push("ui-button-text-icon"+(n?"s":s.primary?"-primary":"-secondary")),s.primary&&e.prepend("<span class='ui-button-icon-primary ui-icon "+s.primary+"'></span>"),s.secondary&&e.append("<span class='ui-button-icon-secondary ui-icon "+s.secondary+"'></span>"),this.options.text||(o.push(n?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||e.attr("title",t.trim(i)))):o.push("ui-button-text-only"),e.addClass(o.join(" "))}}),t.widget("ui.buttonset",{version:"1.10.2",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(t,e){"disabled"===t&&this.buttons.button("option",t,e),this._super(t,e)},refresh:function(){var e="rtl"===this.element.css("direction");this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return t(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(e?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(e?"ui-corner-left":"ui-corner-right").end().end()},_destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return t(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")}})}(jQuery),function(t,e){function i(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.dpDiv=s(t("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function s(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.delegate(i,"mouseout",function(){t(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).removeClass("ui-datepicker-next-hover")}).delegate(i,"mouseover",function(){t.datepicker._isDisabledDatepicker(o.inline?e.parent()[0]:o.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).addClass("ui-datepicker-next-hover"))})}function n(e,i){t.extend(e,i);for(var s in i)null==i[s]&&(e[s]=i[s]);return e}t.extend(t.ui,{datepicker:{version:"1.10.2"}});var o,a="datepicker",r=(new Date).getTime();t.extend(i.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return n(this._defaults,t||{}),this},_attachDatepicker:function(e,i){var s,n,o;s=e.nodeName.toLowerCase(),n="div"===s||"span"===s,e.id||(this.uuid+=1,e.id="dp"+this.uuid),o=this._newInst(t(e),n),o.settings=t.extend({},i||{}),"input"===s?this._connectDatepicker(e,o):n&&this._inlineDatepicker(e,o)},_newInst:function(e,i){var n=e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:n,input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?s(t("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,i){var s=t(e);i.append=t([]),i.trigger=t([]),s.hasClass(this.markerClassName)||(this._attachments(s,i),s.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(i),t.data(e,a,i),i.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,i){var s,n,o,a=this._get(i,"appendText"),r=this._get(i,"isRTL");i.append&&i.append.remove(),a&&(i.append=t("<span class='"+this._appendClass+"'>"+a+"</span>"),e[r?"before":"after"](i.append)),e.unbind("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),s=this._get(i,"showOn"),("focus"===s||"both"===s)&&e.focus(this._showDatepicker),("button"===s||"both"===s)&&(n=this._get(i,"buttonText"),o=this._get(i,"buttonImage"),i.trigger=t(this._get(i,"buttonImageOnly")?t("<img/>").addClass(this._triggerClass).attr({src:o,alt:n,title:n}):t("<button type='button'></button>").addClass(this._triggerClass).html(o?t("<img/>").attr({src:o,alt:n,title:n}):n)),e[r?"before":"after"](i.trigger),i.trigger.click(function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,s,n,o=new Date(2009,11,20),a=this._get(t,"dateFormat");a.match(/[DM]/)&&(e=function(t){for(i=0,s=0,n=0;t.length>n;n++)t[n].length>i&&(i=t[n].length,s=n);return s},o.setMonth(e(this._get(t,a.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(e(this._get(t,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),t.input.attr("size",this._formatDate(t,o).length)}},_inlineDatepicker:function(e,i){var s=t(e);s.hasClass(this.markerClassName)||(s.addClass(this.markerClassName).append(i.dpDiv),t.data(e,a,i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(e),i.dpDiv.css("display","block"))},_dialogDatepicker:function(e,i,s,o,r){var h,l,c,u,d,p=this._dialogInst;return p||(this.uuid+=1,h="dp"+this.uuid,this._dialogInput=t("<input type='text' id='"+h+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.keydown(this._doKeyDown),t("body").append(this._dialogInput),p=this._dialogInst=this._newInst(this._dialogInput,!1),p.settings={},t.data(this._dialogInput[0],a,p)),n(p.settings,o||{}),i=i&&i.constructor===Date?this._formatDate(p,i):i,this._dialogInput.val(i),this._pos=r?r.length?r:[r.pageX,r.pageY]:null,this._pos||(l=document.documentElement.clientWidth,c=document.documentElement.clientHeight,u=document.documentElement.scrollLeft||document.body.scrollLeft,d=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[l/2-100+u,c/2-150+d]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),p.settings.onSelect=s,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],a,p),this},_destroyDatepicker:function(e){var i,s=t(e),n=t.data(e,a);s.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),t.removeData(e,a),"input"===i?(n.append.remove(),n.trigger.remove(),s.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"===i||"span"===i)&&s.removeClass(this.markerClassName).empty())},_enableDatepicker:function(e){var i,s,n=t(e),o=t.data(e,a);n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),"input"===i?(e.disabled=!1,o.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().removeClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var i,s,n=t(e),o=t.data(e,a);n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),"input"===i?(e.disabled=!0,o.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().addClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;this._disabledInputs.length>e;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(e){try{return t.data(e,a)}catch(i){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(i,s,o){var a,r,h,l,c=this._getInst(i);return 2===arguments.length&&"string"==typeof s?"defaults"===s?t.extend({},t.datepicker._defaults):c?"all"===s?t.extend({},c.settings):this._get(c,s):null:(a=s||{},"string"==typeof s&&(a={},a[s]=o),c&&(this._curInst===c&&this._hideDatepicker(),r=this._getDateDatepicker(i,!0),h=this._getMinMaxDate(c,"min"),l=this._getMinMaxDate(c,"max"),n(c.settings,a),null!==h&&a.dateFormat!==e&&a.minDate===e&&(c.settings.minDate=this._formatDate(c,h)),null!==l&&a.dateFormat!==e&&a.maxDate===e&&(c.settings.maxDate=this._formatDate(c,l)),"disabled"in a&&(a.disabled?this._disableDatepicker(i):this._enableDatepicker(i)),this._attachments(t(i),c),this._autoSize(c),this._setDate(c,r),this._updateAlternate(c),this._updateDatepicker(c)),e)},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(e){var i,s,n,o=t.datepicker._getInst(e.target),a=!0,r=o.dpDiv.is(".ui-datepicker-rtl");if(o._keyEvent=!0,t.datepicker._datepickerShowing)switch(e.keyCode){case 9:t.datepicker._hideDatepicker(),a=!1;break;case 13:return n=t("td."+t.datepicker._dayOverClass+":not(."+t.datepicker._currentClass+")",o.dpDiv),n[0]&&t.datepicker._selectDay(e.target,o.selectedMonth,o.selectedYear,n[0]),i=t.datepicker._get(o,"onSelect"),i?(s=t.datepicker._formatDate(o),i.apply(o.input?o.input[0]:null,[s,o])):t.datepicker._hideDatepicker(),!1;case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(o,"stepBigMonths"):-t.datepicker._get(o,"stepMonths"),"M");
+break;case 34:t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(o,"stepBigMonths"):+t.datepicker._get(o,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&t.datepicker._clearDate(e.target),a=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&t.datepicker._gotoToday(e.target),a=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,r?1:-1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(o,"stepBigMonths"):-t.datepicker._get(o,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,-7,"D"),a=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,r?-1:1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(o,"stepBigMonths"):+t.datepicker._get(o,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,7,"D"),a=e.ctrlKey||e.metaKey;break;default:a=!1}else 36===e.keyCode&&e.ctrlKey?t.datepicker._showDatepicker(this):a=!1;a&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(i){var s,n,o=t.datepicker._getInst(i.target);return t.datepicker._get(o,"constrainInput")?(s=t.datepicker._possibleChars(t.datepicker._get(o,"dateFormat")),n=String.fromCharCode(null==i.charCode?i.keyCode:i.charCode),i.ctrlKey||i.metaKey||" ">n||!s||s.indexOf(n)>-1):e},_doKeyUp:function(e){var i,s=t.datepicker._getInst(e.target);if(s.input.val()!==s.lastVal)try{i=t.datepicker.parseDate(t.datepicker._get(s,"dateFormat"),s.input?s.input.val():null,t.datepicker._getFormatConfig(s)),i&&(t.datepicker._setDateFromField(s),t.datepicker._updateAlternate(s),t.datepicker._updateDatepicker(s))}catch(n){}return!0},_showDatepicker:function(e){if(e=e.target||e,"input"!==e.nodeName.toLowerCase()&&(e=t("input",e.parentNode)[0]),!t.datepicker._isDisabledDatepicker(e)&&t.datepicker._lastInput!==e){var i,s,o,a,r,h,l;i=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==i&&(t.datepicker._curInst.dpDiv.stop(!0,!0),i&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),s=t.datepicker._get(i,"beforeShow"),o=s?s.apply(e,[e,i]):{},o!==!1&&(n(i.settings,o),i.lastVal=null,t.datepicker._lastInput=e,t.datepicker._setDateFromField(i),t.datepicker._inDialog&&(e.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),a=!1,t(e).parents().each(function(){return a|="fixed"===t(this).css("position"),!a}),r={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(i),r=t.datepicker._checkOffset(i,r,a),i.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":a?"fixed":"absolute",display:"none",left:r.left+"px",top:r.top+"px"}),i.inline||(h=t.datepicker._get(i,"showAnim"),l=t.datepicker._get(i,"duration"),i.dpDiv.zIndex(t(e).zIndex()+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[h]?i.dpDiv.show(h,t.datepicker._get(i,"showOptions"),l):i.dpDiv[h||"show"](h?l:null),i.input.is(":visible")&&!i.input.is(":disabled")&&i.input.focus(),t.datepicker._curInst=i))}},_updateDatepicker:function(e){this.maxRows=4,o=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e),e.dpDiv.find("."+this._dayOverClass+" a").mouseover();var i,s=this._getNumberOfMonths(e),n=s[1],a=17;e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),n>1&&e.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",a*n+"em"),e.dpDiv[(1!==s[0]||1!==s[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===t.datepicker._curInst&&t.datepicker._datepickerShowing&&e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&e.input[0]!==document.activeElement&&e.input.focus(),e.yearshtml&&(i=e.yearshtml,setTimeout(function(){i===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),i=e.yearshtml=null},0))},_getBorders:function(t){var e=function(t){return{thin:1,medium:2,thick:3}[t]||t};return[parseFloat(e(t.css("border-left-width"))),parseFloat(e(t.css("border-top-width")))]},_checkOffset:function(e,i,s){var n=e.dpDiv.outerWidth(),o=e.dpDiv.outerHeight(),a=e.input?e.input.outerWidth():0,r=e.input?e.input.outerHeight():0,h=document.documentElement.clientWidth+(s?0:t(document).scrollLeft()),l=document.documentElement.clientHeight+(s?0:t(document).scrollTop());return i.left-=this._get(e,"isRTL")?n-a:0,i.left-=s&&i.left===e.input.offset().left?t(document).scrollLeft():0,i.top-=s&&i.top===e.input.offset().top+r?t(document).scrollTop():0,i.left-=Math.min(i.left,i.left+n>h&&h>n?Math.abs(i.left+n-h):0),i.top-=Math.min(i.top,i.top+o>l&&l>o?Math.abs(o+r):0),i},_findPos:function(e){for(var i,s=this._getInst(e),n=this._get(s,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[n?"previousSibling":"nextSibling"];return i=t(e).offset(),[i.left,i.top]},_hideDatepicker:function(e){var i,s,n,o,r=this._curInst;!r||e&&r!==t.data(e,a)||this._datepickerShowing&&(i=this._get(r,"showAnim"),s=this._get(r,"duration"),n=function(){t.datepicker._tidyDialog(r)},t.effects&&(t.effects.effect[i]||t.effects[i])?r.dpDiv.hide(i,t.datepicker._get(r,"showOptions"),s,n):r.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?s:null,n),i||n(),this._datepickerShowing=!1,o=this._get(r,"onClose"),o&&o.apply(r.input?r.input[0]:null,[r.input?r.input.val():"",r]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var i=t(e.target),s=t.datepicker._getInst(i[0]);(i[0].id!==t.datepicker._mainDivId&&0===i.parents("#"+t.datepicker._mainDivId).length&&!i.hasClass(t.datepicker.markerClassName)&&!i.closest("."+t.datepicker._triggerClass).length&&t.datepicker._datepickerShowing&&(!t.datepicker._inDialog||!t.blockUI)||i.hasClass(t.datepicker.markerClassName)&&t.datepicker._curInst!==s)&&t.datepicker._hideDatepicker()}},_adjustDate:function(e,i,s){var n=t(e),o=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(o,i+("M"===s?this._get(o,"showCurrentAtPos"):0),s),this._updateDatepicker(o))},_gotoToday:function(e){var i,s=t(e),n=this._getInst(s[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(i=new Date,n.selectedDay=i.getDate(),n.drawMonth=n.selectedMonth=i.getMonth(),n.drawYear=n.selectedYear=i.getFullYear()),this._notifyChange(n),this._adjustDate(s)},_selectMonthYear:function(e,i,s){var n=t(e),o=this._getInst(n[0]);o["selected"+("M"===s?"Month":"Year")]=o["draw"+("M"===s?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(o),this._adjustDate(n)},_selectDay:function(e,i,s,n){var o,a=t(e);t(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||(o=this._getInst(a[0]),o.selectedDay=o.currentDay=t("a",n).html(),o.selectedMonth=o.currentMonth=i,o.selectedYear=o.currentYear=s,this._selectDate(e,this._formatDate(o,o.currentDay,o.currentMonth,o.currentYear)))},_clearDate:function(e){var i=t(e);this._selectDate(i,"")},_selectDate:function(e,i){var s,n=t(e),o=this._getInst(n[0]);i=null!=i?i:this._formatDate(o),o.input&&o.input.val(i),this._updateAlternate(o),s=this._get(o,"onSelect"),s?s.apply(o.input?o.input[0]:null,[i,o]):o.input&&o.input.trigger("change"),o.inline?this._updateDatepicker(o):(this._hideDatepicker(),this._lastInput=o.input[0],"object"!=typeof o.input[0]&&o.input.focus(),this._lastInput=null)},_updateAlternate:function(e){var i,s,n,o=this._get(e,"altField");o&&(i=this._get(e,"altFormat")||this._get(e,"dateFormat"),s=this._getDate(e),n=this.formatDate(i,s,this._getFormatConfig(e)),t(o).each(function(){t(this).val(n)}))},noWeekends:function(t){var e=t.getDay();return[e>0&&6>e,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(i,s,n){if(null==i||null==s)throw"Invalid arguments";if(s="object"==typeof s?""+s:s+"",""===s)return null;var o,a,r,h,l=0,c=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),d=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,p=(n?n.dayNames:null)||this._defaults.dayNames,f=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,g=(n?n.monthNames:null)||this._defaults.monthNames,m=-1,v=-1,_=-1,b=-1,y=!1,w=function(t){var e=i.length>o+1&&i.charAt(o+1)===t;return e&&o++,e},k=function(t){var e=w(t),i="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,n=RegExp("^\\d{1,"+i+"}"),o=s.substring(l).match(n);if(!o)throw"Missing number at position "+l;return l+=o[0].length,parseInt(o[0],10)},x=function(i,n,o){var a=-1,r=t.map(w(i)?o:n,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(t.each(r,function(t,i){var n=i[1];return s.substr(l,n.length).toLowerCase()===n.toLowerCase()?(a=i[0],l+=n.length,!1):e}),-1!==a)return a+1;throw"Unknown name at position "+l},D=function(){if(s.charAt(l)!==i.charAt(o))throw"Unexpected literal at position "+l;l++};for(o=0;i.length>o;o++)if(y)"'"!==i.charAt(o)||w("'")?D():y=!1;else switch(i.charAt(o)){case"d":_=k("d");break;case"D":x("D",d,p);break;case"o":b=k("o");break;case"m":v=k("m");break;case"M":v=x("M",f,g);break;case"y":m=k("y");break;case"@":h=new Date(k("@")),m=h.getFullYear(),v=h.getMonth()+1,_=h.getDate();break;case"!":h=new Date((k("!")-this._ticksTo1970)/1e4),m=h.getFullYear(),v=h.getMonth()+1,_=h.getDate();break;case"'":w("'")?D():y=!0;break;default:D()}if(s.length>l&&(r=s.substr(l),!/^\s+/.test(r)))throw"Extra/unparsed characters found in date: "+r;if(-1===m?m=(new Date).getFullYear():100>m&&(m+=(new Date).getFullYear()-(new Date).getFullYear()%100+(u>=m?0:-100)),b>-1)for(v=1,_=b;;){if(a=this._getDaysInMonth(m,v-1),a>=_)break;v++,_-=a}if(h=this._daylightSavingAdjust(new Date(m,v-1,_)),h.getFullYear()!==m||h.getMonth()+1!==v||h.getDate()!==_)throw"Invalid date";return h},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:1e7*60*60*24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(t,e,i){if(!e)return"";var s,n=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,o=(i?i.dayNames:null)||this._defaults.dayNames,a=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,r=(i?i.monthNames:null)||this._defaults.monthNames,h=function(e){var i=t.length>s+1&&t.charAt(s+1)===e;return i&&s++,i},l=function(t,e,i){var s=""+e;if(h(t))for(;i>s.length;)s="0"+s;return s},c=function(t,e,i,s){return h(t)?s[e]:i[e]},u="",d=!1;if(e)for(s=0;t.length>s;s++)if(d)"'"!==t.charAt(s)||h("'")?u+=t.charAt(s):d=!1;else switch(t.charAt(s)){case"d":u+=l("d",e.getDate(),2);break;case"D":u+=c("D",e.getDay(),n,o);break;case"o":u+=l("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":u+=l("m",e.getMonth()+1,2);break;case"M":u+=c("M",e.getMonth(),a,r);break;case"y":u+=h("y")?e.getFullYear():(10>e.getYear()%100?"0":"")+e.getYear()%100;break;case"@":u+=e.getTime();break;case"!":u+=1e4*e.getTime()+this._ticksTo1970;break;case"'":h("'")?u+="'":d=!0;break;default:u+=t.charAt(s)}return u},_possibleChars:function(t){var e,i="",s=!1,n=function(i){var s=t.length>e+1&&t.charAt(e+1)===i;return s&&e++,s};for(e=0;t.length>e;e++)if(s)"'"!==t.charAt(e)||n("'")?i+=t.charAt(e):s=!1;else switch(t.charAt(e)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":n("'")?i+="'":s=!0;break;default:i+=t.charAt(e)}return i},_get:function(t,i){return t.settings[i]!==e?t.settings[i]:this._defaults[i]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),s=t.lastVal=t.input?t.input.val():null,n=this._getDefaultDate(t),o=n,a=this._getFormatConfig(t);try{o=this.parseDate(i,s,a)||n}catch(r){s=e?"":s}t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(),t.drawYear=t.selectedYear=o.getFullYear(),t.currentDay=s?o.getDate():0,t.currentMonth=s?o.getMonth():0,t.currentYear=s?o.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(e,i,s){var n=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},o=function(i){try{return t.datepicker.parseDate(t.datepicker._get(e,"dateFormat"),i,t.datepicker._getFormatConfig(e))}catch(s){}for(var n=(i.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,o=n.getFullYear(),a=n.getMonth(),r=n.getDate(),h=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=h.exec(i);l;){switch(l[2]||"d"){case"d":case"D":r+=parseInt(l[1],10);break;case"w":case"W":r+=7*parseInt(l[1],10);break;case"m":case"M":a+=parseInt(l[1],10),r=Math.min(r,t.datepicker._getDaysInMonth(o,a));break;case"y":case"Y":o+=parseInt(l[1],10),r=Math.min(r,t.datepicker._getDaysInMonth(o,a))}l=h.exec(i)}return new Date(o,a,r)},a=null==i||""===i?s:"string"==typeof i?o(i):"number"==typeof i?isNaN(i)?s:n(i):new Date(i.getTime());return a=a&&"Invalid Date"==""+a?s:a,a&&(a.setHours(0),a.setMinutes(0),a.setSeconds(0),a.setMilliseconds(0)),this._daylightSavingAdjust(a)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var s=!e,n=t.selectedMonth,o=t.selectedYear,a=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=a.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=a.getMonth(),t.drawYear=t.selectedYear=t.currentYear=a.getFullYear(),n===t.selectedMonth&&o===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(s?"":this._formatDate(t))},_getDate:function(t){var e=!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return e},_attachHandlers:function(e){var i=this._get(e,"stepMonths"),s="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){window["DP_jQuery_"+r].datepicker._adjustDate(s,-i,"M")},next:function(){window["DP_jQuery_"+r].datepicker._adjustDate(s,+i,"M")},hide:function(){window["DP_jQuery_"+r].datepicker._hideDatepicker()},today:function(){window["DP_jQuery_"+r].datepicker._gotoToday(s)},selectDay:function(){return window["DP_jQuery_"+r].datepicker._selectDay(s,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return window["DP_jQuery_"+r].datepicker._selectMonthYear(s,this,"M"),!1},selectYear:function(){return window["DP_jQuery_"+r].datepicker._selectMonthYear(s,this,"Y"),!1}};t(this).bind(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,i,s,n,o,a,r,h,l,c,u,d,p,f,g,m,v,_,b,y,w,k,x,D,C,I,P,T,M,S,z,A,H,N,E,W,O,F,R,j=new Date,L=this._daylightSavingAdjust(new Date(j.getFullYear(),j.getMonth(),j.getDate())),Y=this._get(t,"isRTL"),B=this._get(t,"showButtonPanel"),V=this._get(t,"hideIfNoPrevNext"),K=this._get(t,"navigationAsDateFormat"),U=this._getNumberOfMonths(t),q=this._get(t,"showCurrentAtPos"),Q=this._get(t,"stepMonths"),X=1!==U[0]||1!==U[1],$=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),G=this._getMinMaxDate(t,"min"),J=this._getMinMaxDate(t,"max"),Z=t.drawMonth-q,te=t.drawYear;if(0>Z&&(Z+=12,te--),J)for(e=this._daylightSavingAdjust(new Date(J.getFullYear(),J.getMonth()-U[0]*U[1]+1,J.getDate())),e=G&&G>e?G:e;this._daylightSavingAdjust(new Date(te,Z,1))>e;)Z--,0>Z&&(Z=11,te--);for(t.drawMonth=Z,t.drawYear=te,i=this._get(t,"prevText"),i=K?this.formatDate(i,this._daylightSavingAdjust(new Date(te,Z-Q,1)),this._getFormatConfig(t)):i,s=this._canAdjustMonth(t,-1,te,Z)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")+"'>"+i+"</span></a>":V?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")+"'>"+i+"</span></a>",n=this._get(t,"nextText"),n=K?this.formatDate(n,this._daylightSavingAdjust(new Date(te,Z+Q,1)),this._getFormatConfig(t)):n,o=this._canAdjustMonth(t,1,te,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+n+"</span></a>":V?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+n+"</span></a>",a=this._get(t,"currentText"),r=this._get(t,"gotoCurrent")&&t.currentDay?$:L,a=K?this.formatDate(a,r,this._getFormatConfig(t)):a,h=t.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(t,"closeText")+"</button>",l=B?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(Y?h:"")+(this._isInRange(t,r)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+a+"</button>":"")+(Y?"":h)+"</div>":"",c=parseInt(this._get(t,"firstDay"),10),c=isNaN(c)?0:c,u=this._get(t,"showWeek"),d=this._get(t,"dayNames"),p=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),g=this._get(t,"monthNamesShort"),m=this._get(t,"beforeShowDay"),v=this._get(t,"showOtherMonths"),_=this._get(t,"selectOtherMonths"),b=this._getDefaultDate(t),y="",k=0;U[0]>k;k++){for(x="",this.maxRows=4,D=0;U[1]>D;D++){if(C=this._daylightSavingAdjust(new Date(te,Z,t.selectedDay)),I=" ui-corner-all",P="",X){if(P+="<div class='ui-datepicker-group",U[1]>1)switch(D){case 0:P+=" ui-datepicker-group-first",I=" ui-corner-"+(Y?"right":"left");break;case U[1]-1:P+=" ui-datepicker-group-last",I=" ui-corner-"+(Y?"left":"right");break;default:P+=" ui-datepicker-group-middle",I=""}P+="'>"}for(P+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+I+"'>"+(/all|left/.test(I)&&0===k?Y?o:s:"")+(/all|right/.test(I)&&0===k?Y?s:o:"")+this._generateMonthYearHeader(t,Z,te,G,J,k>0||D>0,f,g)+"</div><table class='ui-datepicker-calendar'><thead>"+"<tr>",T=u?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",w=0;7>w;w++)M=(w+c)%7,T+="<th"+((w+c+6)%7>=5?" class='ui-datepicker-week-end'":"")+">"+"<span title='"+d[M]+"'>"+p[M]+"</span></th>";for(P+=T+"</tr></thead><tbody>",S=this._getDaysInMonth(te,Z),te===t.selectedYear&&Z===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,S)),z=(this._getFirstDayOfMonth(te,Z)-c+7)%7,A=Math.ceil((z+S)/7),H=X?this.maxRows>A?this.maxRows:A:A,this.maxRows=H,N=this._daylightSavingAdjust(new Date(te,Z,1-z)),E=0;H>E;E++){for(P+="<tr>",W=u?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(N)+"</td>":"",w=0;7>w;w++)O=m?m.apply(t.input?t.input[0]:null,[N]):[!0,""],F=N.getMonth()!==Z,R=F&&!_||!O[0]||G&&G>N||J&&N>J,W+="<td class='"+((w+c+6)%7>=5?" ui-datepicker-week-end":"")+(F?" ui-datepicker-other-month":"")+(N.getTime()===C.getTime()&&Z===t.selectedMonth&&t._keyEvent||b.getTime()===N.getTime()&&b.getTime()===C.getTime()?" "+this._dayOverClass:"")+(R?" "+this._unselectableClass+" ui-state-disabled":"")+(F&&!v?"":" "+O[1]+(N.getTime()===$.getTime()?" "+this._currentClass:"")+(N.getTime()===L.getTime()?" ui-datepicker-today":""))+"'"+(F&&!v||!O[2]?"":" title='"+O[2].replace(/'/g,"&#39;")+"'")+(R?"":" data-handler='selectDay' data-event='click' data-month='"+N.getMonth()+"' data-year='"+N.getFullYear()+"'")+">"+(F&&!v?"&#xa0;":R?"<span class='ui-state-default'>"+N.getDate()+"</span>":"<a class='ui-state-default"+(N.getTime()===L.getTime()?" ui-state-highlight":"")+(N.getTime()===$.getTime()?" ui-state-active":"")+(F?" ui-priority-secondary":"")+"' href='#'>"+N.getDate()+"</a>")+"</td>",N.setDate(N.getDate()+1),N=this._daylightSavingAdjust(N);P+=W+"</tr>"}Z++,Z>11&&(Z=0,te++),P+="</tbody></table>"+(X?"</div>"+(U[0]>0&&D===U[1]-1?"<div class='ui-datepicker-row-break'></div>":""):""),x+=P}y+=x}return y+=l,t._keyEvent=!1,y},_generateMonthYearHeader:function(t,e,i,s,n,o,a,r){var h,l,c,u,d,p,f,g,m=this._get(t,"changeMonth"),v=this._get(t,"changeYear"),_=this._get(t,"showMonthAfterYear"),b="<div class='ui-datepicker-title'>",y="";if(o||!m)y+="<span class='ui-datepicker-month'>"+a[e]+"</span>";else{for(h=s&&s.getFullYear()===i,l=n&&n.getFullYear()===i,y+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",c=0;12>c;c++)(!h||c>=s.getMonth())&&(!l||n.getMonth()>=c)&&(y+="<option value='"+c+"'"+(c===e?" selected='selected'":"")+">"+r[c]+"</option>");y+="</select>"}if(_||(b+=y+(!o&&m&&v?"":"&#xa0;")),!t.yearshtml)if(t.yearshtml="",o||!v)b+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(u=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),p=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e},f=p(u[0]),g=Math.max(f,p(u[1]||"")),f=s?Math.max(f,s.getFullYear()):f,g=n?Math.min(g,n.getFullYear()):g,t.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";g>=f;f++)t.yearshtml+="<option value='"+f+"'"+(f===i?" selected='selected'":"")+">"+f+"</option>";t.yearshtml+="</select>",b+=t.yearshtml,t.yearshtml=null}return b+=this._get(t,"yearSuffix"),_&&(b+=(!o&&m&&v?"":"&#xa0;")+y),b+="</div>"},_adjustInstDate:function(t,e,i){var s=t.drawYear+("Y"===i?e:0),n=t.drawMonth+("M"===i?e:0),o=Math.min(t.selectedDay,this._getDaysInMonth(s,n))+("D"===i?e:0),a=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,n,o)));t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),s=this._getMinMaxDate(t,"max"),n=i&&i>e?i:e;return s&&n>s?s:n},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,s){var n=this._getNumberOfMonths(t),o=this._daylightSavingAdjust(new Date(i,s+(0>e?e:n[0]*n[1]),1));return 0>e&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(t,o)},_isInRange:function(t,e){var i,s,n=this._getMinMaxDate(t,"min"),o=this._getMinMaxDate(t,"max"),a=null,r=null,h=this._get(t,"yearRange");return h&&(i=h.split(":"),s=(new Date).getFullYear(),a=parseInt(i[0],10),r=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(a+=s),i[1].match(/[+\-].*/)&&(r+=s)),(!n||e.getTime()>=n.getTime())&&(!o||e.getTime()<=o.getTime())&&(!a||e.getFullYear()>=a)&&(!r||r>=e.getFullYear())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),{shortYearCutoff:e,dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var n=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(s,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),n,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).mousedown(t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)}):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new i,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.10.2",window["DP_jQuery_"+r]=t}(jQuery),function(t){var e={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},i={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};t.widget("ui.dialog",{version:"1.10.2",options:{appendTo:"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var i=t(this).css(e).offset().top;0>i&&t(this).css("top",e.top-i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title=this.options.title||this.originalTitle,this._createWrapper(),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?t(e):this.document.find(e||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._destroyOverlay(),this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),t=e.parent.children().eq(e.index),t.length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(e){var i=this;this._isOpen&&this._trigger("beforeClose",e)!==!1&&(this._isOpen=!1,this._destroyOverlay(),this.opener.filter(":focusable").focus().length||t(this.document[0].activeElement).blur(),this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,e){var i=!!this.uiDialog.nextAll(":visible").insertBefore(this.uiDialog).length;return i&&!e&&this._trigger("focus",t),i},open:function(){var e=this;return this._isOpen?(this._moveToTop()&&this._focusTabbable(),undefined):(this._isOpen=!0,this.opener=t(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._trigger("open"),undefined)},_focusTabbable:function(){var t=this.element.find("[autofocus]");t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).focus()},_keepFocus:function(e){function i(){var e=this.document[0].activeElement,i=this.uiDialog[0]===e||t.contains(this.uiDialog[0],e);i||this._focusTabbable()}e.preventDefault(),i.call(this),this._delay(i)},_createWrapper:function(){this.uiDialog=t("<div>").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE)return e.preventDefault(),this.close(e),undefined;if(e.keyCode===t.ui.keyCode.TAB){var i=this.uiDialog.find(":tabbable"),s=i.filter(":first"),n=i.filter(":last");e.target!==n[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==s[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(n.focus(1),e.preventDefault()):(s.focus(1),e.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=t("<div>").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(e){t(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=t("<button></button>").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("<span>").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(e),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title||t.html("&#160;"),t.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=t("<div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("<div>").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var e=this,i=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(i)||t.isArray(i)&&!i.length?(this.uiDialog.removeClass("ui-dialog-buttons"),undefined):(t.each(i,function(i,s){var n,o;s=t.isFunction(s)?{click:s,text:i}:s,s=t.extend({type:"button"},s),n=s.click,s.click=function(){n.apply(e.element[0],arguments)},o={icons:s.icons,text:s.showText},delete s.icons,delete s.showText,t("<button></button>",s).button(o).appendTo(e.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog),undefined)},_makeDraggable:function(){function e(t){return{position:t.position,offset:t.offset}}var i=this,s=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(s,n){t(this).addClass("ui-dialog-dragging"),i._blockFrames(),i._trigger("dragStart",s,e(n))},drag:function(t,s){i._trigger("drag",t,e(s))},stop:function(n,o){s.position=[o.position.left-i.document.scrollLeft(),o.position.top-i.document.scrollTop()],t(this).removeClass("ui-dialog-dragging"),i._unblockFrames(),i._trigger("dragStop",n,e(o))
+}})},_makeResizable:function(){function e(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}var i=this,s=this.options,n=s.resizable,o=this.uiDialog.css("position"),a="string"==typeof n?n:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:this._minHeight(),handles:a,start:function(s,n){t(this).addClass("ui-dialog-resizing"),i._blockFrames(),i._trigger("resizeStart",s,e(n))},resize:function(t,s){i._trigger("resize",t,e(s))},stop:function(n,o){s.height=t(this).height(),s.width=t(this).width(),t(this).removeClass("ui-dialog-resizing"),i._unblockFrames(),i._trigger("resizeStop",n,e(o))}}).css("position",o)},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(s){var n=this,o=!1,a={};t.each(s,function(t,s){n._setOption(t,s),t in e&&(o=!0),t in i&&(a[t]=s)}),o&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",a)},_setOption:function(t,e){var i,s,n=this.uiDialog;"dialogClass"===t&&n.removeClass(this.options.dialogClass).addClass(e),"disabled"!==t&&(this._super(t,e),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:""+e}),"draggable"===t&&(i=n.is(":data(ui-draggable)"),i&&!e&&n.draggable("destroy"),!i&&e&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&(s=n.is(":data(ui-resizable)"),s&&!e&&n.resizable("destroy"),s&&"string"==typeof e&&n.resizable("option","handles",e),s||e===!1||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,s=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),s.minWidth>s.width&&(s.width=s.minWidth),t=this.uiDialog.css({height:"auto",width:s.width}).outerHeight(),e=Math.max(0,s.minHeight-t),i="number"==typeof s.maxHeight?Math.max(0,s.maxHeight-t):"none","auto"===s.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,s.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=t(this);return t("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return t(e.target).closest(".ui-dialog").length?!0:!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=this,i=this.widgetFullName;t.ui.dialog.overlayInstances||this._delay(function(){t.ui.dialog.overlayInstances&&this.document.bind("focusin.dialog",function(s){e._allowInteraction(s)||(s.preventDefault(),t(".ui-dialog:visible:last .ui-dialog-content").data(i)._focusTabbable())})}),this.overlay=t("<div>").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),t.ui.dialog.overlayInstances++}},_destroyOverlay:function(){this.options.modal&&this.overlay&&(t.ui.dialog.overlayInstances--,t.ui.dialog.overlayInstances||this.document.unbind("focusin.dialog"),this.overlay.remove(),this.overlay=null)}}),t.ui.dialog.overlayInstances=0,t.uiBackCompat!==!1&&t.widget("ui.dialog",t.ui.dialog,{_position:function(){var e,i=this.options.position,s=[],n=[0,0];i?(("string"==typeof i||"object"==typeof i&&"0"in i)&&(s=i.split?i.split(" "):[i[0],i[1]],1===s.length&&(s[1]=s[0]),t.each(["left","top"],function(t,e){+s[t]===s[t]&&(n[t]=s[t],s[t]=e)}),i={my:s[0]+(0>n[0]?n[0]:"+"+n[0])+" "+s[1]+(0>n[1]?n[1]:"+"+n[1]),at:s.join(" ")}),i=t.extend({},t.ui.dialog.prototype.options.position,i)):i=t.ui.dialog.prototype.options.position,e=this.uiDialog.is(":visible"),e||this.uiDialog.show(),this.uiDialog.position(i),e||this.uiDialog.hide()}})}(jQuery),function(t){var e=/up|down|vertical/,i=/up|left|vertical|horizontal/;t.effects.effect.blind=function(s,n){var o,a,r,h=t(this),l=["position","top","bottom","left","right","height","width"],c=t.effects.setMode(h,s.mode||"hide"),u=s.direction||"up",d=e.test(u),p=d?"height":"width",f=d?"top":"left",g=i.test(u),m={},v="show"===c;h.parent().is(".ui-effects-wrapper")?t.effects.save(h.parent(),l):t.effects.save(h,l),h.show(),o=t.effects.createWrapper(h).css({overflow:"hidden"}),a=o[p](),r=parseFloat(o.css(f))||0,m[p]=v?a:0,g||(h.css(d?"bottom":"right",0).css(d?"top":"left","auto").css({position:"absolute"}),m[f]=v?r:a+r),v&&(o.css(p,0),g||o.css(f,r+a)),o.animate(m,{duration:s.duration,easing:s.easing,queue:!1,complete:function(){"hide"===c&&h.hide(),t.effects.restore(h,l),t.effects.removeWrapper(h),n()}})}}(jQuery),function(t){t.effects.effect.bounce=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","height","width"],h=t.effects.setMode(a,e.mode||"effect"),l="hide"===h,c="show"===h,u=e.direction||"up",d=e.distance,p=e.times||5,f=2*p+(c||l?1:0),g=e.duration/f,m=e.easing,v="up"===u||"down"===u?"top":"left",_="up"===u||"left"===u,b=a.queue(),y=b.length;for((c||l)&&r.push("opacity"),t.effects.save(a,r),a.show(),t.effects.createWrapper(a),d||(d=a["top"===v?"outerHeight":"outerWidth"]()/3),c&&(o={opacity:1},o[v]=0,a.css("opacity",0).css(v,_?2*-d:2*d).animate(o,g,m)),l&&(d/=Math.pow(2,p-1)),o={},o[v]=0,s=0;p>s;s++)n={},n[v]=(_?"-=":"+=")+d,a.animate(n,g,m).animate(o,g,m),d=l?2*d:d/2;l&&(n={opacity:0},n[v]=(_?"-=":"+=")+d,a.animate(n,g,m)),a.queue(function(){l&&a.hide(),t.effects.restore(a,r),t.effects.removeWrapper(a),i()}),y>1&&b.splice.apply(b,[1,0].concat(b.splice(y,f+1))),a.dequeue()}}(jQuery),function(t){t.effects.effect.clip=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","height","width"],h=t.effects.setMode(a,e.mode||"hide"),l="show"===h,c=e.direction||"vertical",u="vertical"===c,d=u?"height":"width",p=u?"top":"left",f={};t.effects.save(a,r),a.show(),s=t.effects.createWrapper(a).css({overflow:"hidden"}),n="IMG"===a[0].tagName?s:a,o=n[d](),l&&(n.css(d,0),n.css(p,o/2)),f[d]=l?o:0,f[p]=l?0:o/2,n.animate(f,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){l||a.hide(),t.effects.restore(a,r),t.effects.removeWrapper(a),i()}})}}(jQuery),function(t){t.effects.effect.drop=function(e,i){var s,n=t(this),o=["position","top","bottom","left","right","opacity","height","width"],a=t.effects.setMode(n,e.mode||"hide"),r="show"===a,h=e.direction||"left",l="up"===h||"down"===h?"top":"left",c="up"===h||"left"===h?"pos":"neg",u={opacity:r?1:0};t.effects.save(n,o),n.show(),t.effects.createWrapper(n),s=e.distance||n["top"===l?"outerHeight":"outerWidth"](!0)/2,r&&n.css("opacity",0).css(l,"pos"===c?-s:s),u[l]=(r?"pos"===c?"+=":"-=":"pos"===c?"-=":"+=")+s,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===a&&n.hide(),t.effects.restore(n,o),t.effects.removeWrapper(n),i()}})}}(jQuery),function(t){t.effects.effect.explode=function(e,i){function s(){b.push(this),b.length===u*d&&n()}function n(){p.css({visibility:"visible"}),t(b).remove(),g||p.hide(),i()}var o,a,r,h,l,c,u=e.pieces?Math.round(Math.sqrt(e.pieces)):3,d=u,p=t(this),f=t.effects.setMode(p,e.mode||"hide"),g="show"===f,m=p.show().css("visibility","hidden").offset(),v=Math.ceil(p.outerWidth()/d),_=Math.ceil(p.outerHeight()/u),b=[];for(o=0;u>o;o++)for(h=m.top+o*_,c=o-(u-1)/2,a=0;d>a;a++)r=m.left+a*v,l=a-(d-1)/2,p.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-a*v,top:-o*_}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:v,height:_,left:r+(g?l*v:0),top:h+(g?c*_:0),opacity:g?0:1}).animate({left:r+(g?0:l*v),top:h+(g?0:c*_),opacity:g?1:0},e.duration||500,e.easing,s)}}(jQuery),function(t){t.effects.effect.fade=function(e,i){var s=t(this),n=t.effects.setMode(s,e.mode||"toggle");s.animate({opacity:n},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}}(jQuery),function(t){t.effects.effect.fold=function(e,i){var s,n,o=t(this),a=["position","top","bottom","left","right","height","width"],r=t.effects.setMode(o,e.mode||"hide"),h="show"===r,l="hide"===r,c=e.size||15,u=/([0-9]+)%/.exec(c),d=!!e.horizFirst,p=h!==d,f=p?["width","height"]:["height","width"],g=e.duration/2,m={},v={};t.effects.save(o,a),o.show(),s=t.effects.createWrapper(o).css({overflow:"hidden"}),n=p?[s.width(),s.height()]:[s.height(),s.width()],u&&(c=parseInt(u[1],10)/100*n[l?0:1]),h&&s.css(d?{height:0,width:c}:{height:c,width:0}),m[f[0]]=h?n[0]:c,v[f[1]]=h?n[1]:0,s.animate(m,g,e.easing).animate(v,g,e.easing,function(){l&&o.hide(),t.effects.restore(o,a),t.effects.removeWrapper(o),i()})}}(jQuery),function(t){t.effects.effect.highlight=function(e,i){var s=t(this),n=["backgroundImage","backgroundColor","opacity"],o=t.effects.setMode(s,e.mode||"show"),a={backgroundColor:s.css("backgroundColor")};"hide"===o&&(a.opacity=0),t.effects.save(s,n),s.show().css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(a,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===o&&s.hide(),t.effects.restore(s,n),i()}})}}(jQuery),function(t){t.effects.effect.pulsate=function(e,i){var s,n=t(this),o=t.effects.setMode(n,e.mode||"show"),a="show"===o,r="hide"===o,h=a||"hide"===o,l=2*(e.times||5)+(h?1:0),c=e.duration/l,u=0,d=n.queue(),p=d.length;for((a||!n.is(":visible"))&&(n.css("opacity",0).show(),u=1),s=1;l>s;s++)n.animate({opacity:u},c,e.easing),u=1-u;n.animate({opacity:u},c,e.easing),n.queue(function(){r&&n.hide(),i()}),p>1&&d.splice.apply(d,[1,0].concat(d.splice(p,l+1))),n.dequeue()}}(jQuery),function(t){t.effects.effect.puff=function(e,i){var s=t(this),n=t.effects.setMode(s,e.mode||"hide"),o="hide"===n,a=parseInt(e.percent,10)||150,r=a/100,h={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()};t.extend(e,{effect:"scale",queue:!1,fade:!0,mode:n,complete:i,percent:o?a:100,from:o?h:{height:h.height*r,width:h.width*r,outerHeight:h.outerHeight*r,outerWidth:h.outerWidth*r}}),s.effect(e)},t.effects.effect.scale=function(e,i){var s=t(this),n=t.extend(!0,{},e),o=t.effects.setMode(s,e.mode||"effect"),a=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"hide"===o?0:100),r=e.direction||"both",h=e.origin,l={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()},c={y:"horizontal"!==r?a/100:1,x:"vertical"!==r?a/100:1};n.effect="size",n.queue=!1,n.complete=i,"effect"!==o&&(n.origin=h||["middle","center"],n.restore=!0),n.from=e.from||("show"===o?{height:0,width:0,outerHeight:0,outerWidth:0}:l),n.to={height:l.height*c.y,width:l.width*c.x,outerHeight:l.outerHeight*c.y,outerWidth:l.outerWidth*c.x},n.fade&&("show"===o&&(n.from.opacity=0,n.to.opacity=1),"hide"===o&&(n.from.opacity=1,n.to.opacity=0)),s.effect(n)},t.effects.effect.size=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","width","height","overflow","opacity"],h=["position","top","bottom","left","right","overflow","opacity"],l=["width","height","overflow"],c=["fontSize"],u=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],d=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],p=t.effects.setMode(a,e.mode||"effect"),f=e.restore||"effect"!==p,g=e.scale||"both",m=e.origin||["middle","center"],v=a.css("position"),_=f?r:h,b={height:0,width:0,outerHeight:0,outerWidth:0};"show"===p&&a.show(),s={height:a.height(),width:a.width(),outerHeight:a.outerHeight(),outerWidth:a.outerWidth()},"toggle"===e.mode&&"show"===p?(a.from=e.to||b,a.to=e.from||s):(a.from=e.from||("show"===p?b:s),a.to=e.to||("hide"===p?b:s)),o={from:{y:a.from.height/s.height,x:a.from.width/s.width},to:{y:a.to.height/s.height,x:a.to.width/s.width}},("box"===g||"both"===g)&&(o.from.y!==o.to.y&&(_=_.concat(u),a.from=t.effects.setTransition(a,u,o.from.y,a.from),a.to=t.effects.setTransition(a,u,o.to.y,a.to)),o.from.x!==o.to.x&&(_=_.concat(d),a.from=t.effects.setTransition(a,d,o.from.x,a.from),a.to=t.effects.setTransition(a,d,o.to.x,a.to))),("content"===g||"both"===g)&&o.from.y!==o.to.y&&(_=_.concat(c).concat(l),a.from=t.effects.setTransition(a,c,o.from.y,a.from),a.to=t.effects.setTransition(a,c,o.to.y,a.to)),t.effects.save(a,_),a.show(),t.effects.createWrapper(a),a.css("overflow","hidden").css(a.from),m&&(n=t.effects.getBaseline(m,s),a.from.top=(s.outerHeight-a.outerHeight())*n.y,a.from.left=(s.outerWidth-a.outerWidth())*n.x,a.to.top=(s.outerHeight-a.to.outerHeight)*n.y,a.to.left=(s.outerWidth-a.to.outerWidth)*n.x),a.css(a.from),("content"===g||"both"===g)&&(u=u.concat(["marginTop","marginBottom"]).concat(c),d=d.concat(["marginLeft","marginRight"]),l=r.concat(u).concat(d),a.find("*[width]").each(function(){var i=t(this),s={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};f&&t.effects.save(i,l),i.from={height:s.height*o.from.y,width:s.width*o.from.x,outerHeight:s.outerHeight*o.from.y,outerWidth:s.outerWidth*o.from.x},i.to={height:s.height*o.to.y,width:s.width*o.to.x,outerHeight:s.height*o.to.y,outerWidth:s.width*o.to.x},o.from.y!==o.to.y&&(i.from=t.effects.setTransition(i,u,o.from.y,i.from),i.to=t.effects.setTransition(i,u,o.to.y,i.to)),o.from.x!==o.to.x&&(i.from=t.effects.setTransition(i,d,o.from.x,i.from),i.to=t.effects.setTransition(i,d,o.to.x,i.to)),i.css(i.from),i.animate(i.to,e.duration,e.easing,function(){f&&t.effects.restore(i,l)})})),a.animate(a.to,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){0===a.to.opacity&&a.css("opacity",a.from.opacity),"hide"===p&&a.hide(),t.effects.restore(a,_),f||("static"===v?a.css({position:"relative",top:a.to.top,left:a.to.left}):t.each(["top","left"],function(t,e){a.css(e,function(e,i){var s=parseInt(i,10),n=t?a.to.left:a.to.top;return"auto"===i?n+"px":s+n+"px"})})),t.effects.removeWrapper(a),i()}})}}(jQuery),function(t){t.effects.effect.shake=function(e,i){var s,n=t(this),o=["position","top","bottom","left","right","height","width"],a=t.effects.setMode(n,e.mode||"effect"),r=e.direction||"left",h=e.distance||20,l=e.times||3,c=2*l+1,u=Math.round(e.duration/c),d="up"===r||"down"===r?"top":"left",p="up"===r||"left"===r,f={},g={},m={},v=n.queue(),_=v.length;for(t.effects.save(n,o),n.show(),t.effects.createWrapper(n),f[d]=(p?"-=":"+=")+h,g[d]=(p?"+=":"-=")+2*h,m[d]=(p?"-=":"+=")+2*h,n.animate(f,u,e.easing),s=1;l>s;s++)n.animate(g,u,e.easing).animate(m,u,e.easing);n.animate(g,u,e.easing).animate(f,u/2,e.easing).queue(function(){"hide"===a&&n.hide(),t.effects.restore(n,o),t.effects.removeWrapper(n),i()}),_>1&&v.splice.apply(v,[1,0].concat(v.splice(_,c+1))),n.dequeue()}}(jQuery),function(t){t.effects.effect.slide=function(e,i){var s,n=t(this),o=["position","top","bottom","left","right","width","height"],a=t.effects.setMode(n,e.mode||"show"),r="show"===a,h=e.direction||"left",l="up"===h||"down"===h?"top":"left",c="up"===h||"left"===h,u={};t.effects.save(n,o),n.show(),s=e.distance||n["top"===l?"outerHeight":"outerWidth"](!0),t.effects.createWrapper(n).css({overflow:"hidden"}),r&&n.css(l,c?isNaN(s)?"-"+s:-s:s),u[l]=(r?c?"+=":"-=":c?"-=":"+=")+s,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===a&&n.hide(),t.effects.restore(n,o),t.effects.removeWrapper(n),i()}})}}(jQuery),function(t){t.effects.effect.transfer=function(e,i){var s=t(this),n=t(e.to),o="fixed"===n.css("position"),a=t("body"),r=o?a.scrollTop():0,h=o?a.scrollLeft():0,l=n.offset(),c={top:l.top-r,left:l.left-h,height:n.innerHeight(),width:n.innerWidth()},u=s.offset(),d=t("<div class='ui-effects-transfer'></div>").appendTo(document.body).addClass(e.className).css({top:u.top-r,left:u.left-h,height:s.innerHeight(),width:s.innerWidth(),position:o?"fixed":"absolute"}).animate(c,e.duration,e.easing,function(){d.remove(),i()})}}(jQuery),function(t){t.widget("ui.menu",{version:"1.10.2",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,t.proxy(function(t){this.options.disabled&&t.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(t){t.preventDefault()},"click .ui-state-disabled > a":function(t){t.preventDefault()},"click .ui-menu-item:has(a)":function(e){var i=t(e.target).closest(".ui-menu-item");!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.mouseHandled=!0,this.select(e),i.has(".ui-menu").length?this.expand(e):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){var i=t(e.currentTarget);i.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(e,i)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.children(".ui-menu-item").eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){t.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){t(e.target).closest(".ui-menu").length||this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var e=t(this);e.data("ui-menu-submenu-carat")&&e.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(e){function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var s,n,o,a,r,h=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:h=!1,n=this.previousFilter||"",o=String.fromCharCode(e.keyCode),a=!1,clearTimeout(this.filterTimer),o===n?a=!0:o=n+o,r=RegExp("^"+i(o),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())}),s=a&&-1!==s.index(this.active.next())?this.active.nextAll(".ui-menu-item"):s,s.length||(o=String.fromCharCode(e.keyCode),r=RegExp("^"+i(o),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())})),s.length?(this.focus(e,s),s.length>1?(this.previousFilter=o,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}h&&e.preventDefault()},_activate:function(t){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i=this.options.icons.submenu,s=this.element.find(this.options.menus);s.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),s=e.prev("a"),n=t("<span>").addClass("ui-menu-icon ui-icon "+i).data("ui-menu-submenu-carat",!0);s.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",s.attr("id"))}),e=s.add(this.element),e.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),e.children(":not(.ui-menu-item)").each(function(){var e=t(this);/[^\-\u2014\u2013\s]/.test(e.text())||e.addClass("ui-widget-content ui-menu-divider")}),e.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){"icons"===t&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(e.submenu),this._super(t,e)},focus:function(t,e){var i,s;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),s=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(".ui-menu"),i.length&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,s,n,o,a,r;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,n=e.offset().top-this.activeMenu.offset().top-i-s,o=this.activeMenu.scrollTop(),a=this.activeMenu.height(),r=e.height(),0>n?this.activeMenu.scrollTop(o+n):n+r>a&&this.activeMenu.scrollTop(o+n-a+r))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(e),this.activeMenu=s},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var s;this.active&&(s="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.children(".ui-menu-item")[e]()),this.focus(i,s)},nextPage:function(e){var i,s,n;return this.active?(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=t(this),0>i.offset().top-s-n}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())),undefined):(this.next(e),undefined)},previousPage:function(e){var i,s,n;return this.active?(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=t(this),i.offset().top-s+n>0}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item").first())),undefined):(this.next(e),undefined)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||t(e.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,i)}})}(jQuery),function(t,e){function i(t,e,i){return[parseFloat(t[0])*(p.test(t[0])?e/100:1),parseFloat(t[1])*(p.test(t[1])?i/100:1)]}function s(e,i){return parseInt(t.css(e,i),10)||0}function n(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}t.ui=t.ui||{};var o,a=Math.max,r=Math.abs,h=Math.round,l=/left|center|right/,c=/top|center|bottom/,u=/[\+\-]\d+(\.[\d]+)?%?/,d=/^\w+/,p=/%$/,f=t.fn.position;t.position={scrollbarWidth:function(){if(o!==e)return o;var i,s,n=t("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),a=n.children()[0];return t("body").append(n),i=a.offsetWidth,n.css("overflow","scroll"),s=a.offsetWidth,i===s&&(s=n[0].clientWidth),n.remove(),o=i-s},getScrollInfo:function(e){var i=e.isWindow?"":e.element.css("overflow-x"),s=e.isWindow?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth,o="scroll"===s||"auto"===s&&e.height<e.element[0].scrollHeight;return{width:o?t.position.scrollbarWidth():0,height:n?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),s=t.isWindow(i[0]);return{element:i,isWindow:s,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:s?i.width():i.outerWidth(),height:s?i.height():i.outerHeight()}}},t.fn.position=function(e){if(!e||!e.of)return f.apply(this,arguments);e=t.extend({},e);var o,p,g,m,v,_,b=t(e.of),y=t.position.getWithinInfo(e.within),w=t.position.getScrollInfo(y),k=(e.collision||"flip").split(" "),x={};return _=n(b),b[0].preventDefault&&(e.at="left top"),p=_.width,g=_.height,m=_.offset,v=t.extend({},m),t.each(["my","at"],function(){var t,i,s=(e[this]||"").split(" ");1===s.length&&(s=l.test(s[0])?s.concat(["center"]):c.test(s[0])?["center"].concat(s):["center","center"]),s[0]=l.test(s[0])?s[0]:"center",s[1]=c.test(s[1])?s[1]:"center",t=u.exec(s[0]),i=u.exec(s[1]),x[this]=[t?t[0]:0,i?i[0]:0],e[this]=[d.exec(s[0])[0],d.exec(s[1])[0]]}),1===k.length&&(k[1]=k[0]),"right"===e.at[0]?v.left+=p:"center"===e.at[0]&&(v.left+=p/2),"bottom"===e.at[1]?v.top+=g:"center"===e.at[1]&&(v.top+=g/2),o=i(x.at,p,g),v.left+=o[0],v.top+=o[1],this.each(function(){var n,l,c=t(this),u=c.outerWidth(),d=c.outerHeight(),f=s(this,"marginLeft"),_=s(this,"marginTop"),D=u+f+s(this,"marginRight")+w.width,C=d+_+s(this,"marginBottom")+w.height,I=t.extend({},v),P=i(x.my,c.outerWidth(),c.outerHeight());"right"===e.my[0]?I.left-=u:"center"===e.my[0]&&(I.left-=u/2),"bottom"===e.my[1]?I.top-=d:"center"===e.my[1]&&(I.top-=d/2),I.left+=P[0],I.top+=P[1],t.support.offsetFractions||(I.left=h(I.left),I.top=h(I.top)),n={marginLeft:f,marginTop:_},t.each(["left","top"],function(i,s){t.ui.position[k[i]]&&t.ui.position[k[i]][s](I,{targetWidth:p,targetHeight:g,elemWidth:u,elemHeight:d,collisionPosition:n,collisionWidth:D,collisionHeight:C,offset:[o[0]+P[0],o[1]+P[1]],my:e.my,at:e.at,within:y,elem:c})}),e.using&&(l=function(t){var i=m.left-I.left,s=i+p-u,n=m.top-I.top,o=n+g-d,h={target:{element:b,left:m.left,top:m.top,width:p,height:g},element:{element:c,left:I.left,top:I.top,width:u,height:d},horizontal:0>s?"left":i>0?"right":"center",vertical:0>o?"top":n>0?"bottom":"middle"};u>p&&p>r(i+s)&&(h.horizontal="center"),d>g&&g>r(n+o)&&(h.vertical="middle"),h.important=a(r(i),r(s))>a(r(n),r(o))?"horizontal":"vertical",e.using.call(this,t,h)}),c.offset(t.extend(I,{using:l}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,o=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-o-n;e.collisionWidth>o?h>0&&0>=l?(i=t.left+h+e.collisionWidth-o-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+o-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=a(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,o=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-o-n;e.collisionHeight>o?h>0&&0>=l?(i=t.top+h+e.collisionHeight-o-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+o-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=a(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,a=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-a-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-a-o,(0>i||r(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>r(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,a=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-a-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,g=-2*e.offset[1];0>c?(s=t.top+p+f+g+e.collisionHeight-a-o,t.top+p+f+g>c&&(0>s||r(c)>s)&&(t.top+=p+f+g)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+g-h,t.top+p+f+g>u&&(i>0||u>r(i))&&(t.top+=p+f+g))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}},function(){var e,i,s,n,o,a=document.getElementsByTagName("body")[0],r=document.createElement("div");e=document.createElement(a?"div":"body"),s={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},a&&t.extend(s,{position:"absolute",left:"-1000px",top:"-1000px"});for(o in s)e.style[o]=s[o];e.appendChild(r),i=a||document.documentElement,i.insertBefore(e,i.firstChild),r.style.cssText="position: absolute; left: 10.7432222px;",n=t(r).offset().left,t.support.offsetFractions=n>10&&11>n,e.innerHTML="",i.removeChild(e)}()}(jQuery),function(t,e){t.widget("ui.progressbar",{version:"1.10.2",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=t("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element),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()},value:function(t){return t===e?this.options.value:(this.options.value=this._constrainedValue(t),this._refreshValue(),e)},_constrainedValue:function(t){return t===e&&(t=this.options.value),this.indeterminate=t===!1,"number"!=typeof t&&(t=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(i.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=t("<div class='ui-progressbar-overlay'></div>").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}})}(jQuery),function(t){var e=5;t.widget("ui.slider",t.ui.mouse,{version:"1.10.2",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget"+" ui-widget-content"+" ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,s=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),o="<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",a=[];for(i=s.values&&s.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),e=n.length;i>e;e++)a.push(o);this.handles=n.add(t(a.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,i="";e.range?(e.range===!0&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=t("<div></div>").appendTo(this.element),i="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(i+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):this.range=t([])},_setupEvents:function(){var t=this.handles.add(this.range).filter("a");this._off(t),this._on(t,this._handleEvents),this._hoverable(t),this._focusable(t)},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var i,s,n,o,a,r,h,l,c=this,u=this.options;return u.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},s=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(s-c.values(e));(n>i||n===i&&(e===c._lastChangedValue||c.values(e)===u.min))&&(n=i,o=t(this),a=e)}),r=this._start(e,a),r===!1?!1:(this._mouseSliding=!0,this._handleIndex=a,o.addClass("ui-state-active").focus(),h=o.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-h.left-o.width()/2,top:e.pageY-h.top-o.height()/2-(parseInt(o.css("borderTopWidth"),10)||0)-(parseInt(o.css("borderBottomWidth"),10)||0)+(parseInt(o.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,a,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,s,n,o;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),s=i/e,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),n=this._valueMax()-this._valueMin(),o=this._valueMin()+s*n,this._trimAlignValue(o)},_start:function(t,e){var i={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("start",t,i)},_slide:function(t,e,i){var s,n,o;this.options.values&&this.options.values.length?(s=this.values(e?0:1),2===this.options.values.length&&this.options.range===!0&&(0===e&&i>s||1===e&&s>i)&&(i=s),i!==this.values(e)&&(n=this.values(),n[e]=i,o=this._trigger("slide",t,{handle:this.handles[e],value:i,values:n}),s=this.values(e?0:1),o!==!1&&this.values(e,i,!0))):i!==this.value()&&(o=this._trigger("slide",t,{handle:this.handles[e],value:i}),o!==!1&&this.value(i))},_stop:function(t,e){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("stop",t,i)},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._lastChangedValue=e,this._trigger("change",t,i)}},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0),undefined):this._value()},values:function(e,i){var s,n,o;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),this._change(null,e),undefined;if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(e):this.value();for(s=this.options.values,n=arguments[0],o=0;s.length>o;o+=1)s[o]=this._trimAlignValue(n[o]),this._change(null,o);this._refreshValue()},_setOption:function(e,i){var s,n=0;switch("range"===e&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(n=this.options.values.length),t.Widget.prototype._setOption.apply(this,arguments),e){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=0;n>s;s+=1)this._change(null,s);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,s;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(t){if(this._valueMin()>=t)return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,s=t-i;return 2*Math.abs(i)>=e&&(s+=i>0?e:-e),parseFloat(s.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,i,s,n,o,a=this.options.range,r=this.options,h=this,l=this._animateOff?!1:r.animate,c={};this.options.values&&this.options.values.length?this.handles.each(function(s){i=100*((h.values(s)-h._valueMin())/(h._valueMax()-h._valueMin())),c["horizontal"===h.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[l?"animate":"css"](c,r.animate),h.options.range===!0&&("horizontal"===h.orientation?(0===s&&h.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===s&&h.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(s=this.value(),n=this._valueMin(),o=this._valueMax(),i=o!==n?100*((s-n)/(o-n)):0,c["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](c,r.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===a&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:r.animate}),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===a&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:r.animate}))},_handleEvents:{keydown:function(i){var s,n,o,a,r=t(i.target).data("ui-slider-handle-index");switch(i.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i.preventDefault(),!this._keySliding&&(this._keySliding=!0,t(i.target).addClass("ui-state-active"),s=this._start(i,r),s===!1))return}switch(a=this.options.step,n=o=this.options.values&&this.options.values.length?this.values(r):this.value(),i.keyCode){case t.ui.keyCode.HOME:o=this._valueMin();break;case t.ui.keyCode.END:o=this._valueMax();break;case t.ui.keyCode.PAGE_UP:o=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.PAGE_DOWN:o=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(n===this._valueMax())return;o=this._trimAlignValue(n+a);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(n===this._valueMin())return;o=this._trimAlignValue(n-a)}this._slide(i,r,o)},click:function(t){t.preventDefault()},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),t(e.target).removeClass("ui-state-active"))}}})}(jQuery),function(t){function e(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}t.widget("ui.spinner",{version:"1.10.2",defaultElement:"<input>",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e={},i=this.element;return t.each(["min","max","step"],function(t,s){var n=i.attr(s);void 0!==n&&n.length&&(e[s]=n)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,void 0):(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t),void 0)},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((e>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(e){function i(){var t=this.element[0]===this.document[0].activeElement;t||(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s}))}var s;s=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),e.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),this._start(e)!==!1&&this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){return t(e.currentTarget).hasClass("ui-state-active")?this._start(e)===!1?!1:(this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e),void 0):void 0},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var t=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=t.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(.5*t.height())&&t.height()>0&&t.height(t.height()),this.options.disabled&&this.disable()},_keydown:function(e){var i=this.options,s=t.ui.keyCode;switch(e.keyCode){case s.UP:return this._repeat(null,1,e),!0;case s.DOWN:return this._repeat(null,-1,e),!0;case s.PAGE_UP:return this._repeat(null,i.page,e),!0;case s.PAGE_DOWN:return this._repeat(null,-i.page,e),!0}return!1},_uiSpinnerHtml:function(){return"<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>"},_buttonHtml:function(){return"<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon "+this.options.icons.up+"'>&#9650;</span>"+"</a>"+"<a class='ui-spinner-button ui-spinner-down ui-corner-br'>"+"<span class='ui-icon "+this.options.icons.down+"'>&#9660;</span>"+"</a>"},_start:function(t){return this.spinning||this._trigger("start",t)!==!1?(this.counter||(this.counter=1),this.spinning=!0,!0):!1},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&this._trigger("spin",e,{value:i})===!1||(this._value(i),this.counter++)},_increment:function(e){var i=this.options.incremental;return i?t.isFunction(i)?i(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=""+t,i=e.indexOf(".");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,s=this.options;return e=null!==s.min?s.min:0,i=t-e,i=Math.round(i/s.step)*s.step,t=e+i,t=parseFloat(t.toFixed(this._precision())),null!==s.max&&t>s.max?s.max:null!==s.min&&s.min>t?s.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){if("culture"===t||"numberFormat"===t){var i=this._parse(this.element.val());return this.options[t]=e,this.element.val(this._format(i)),void 0}("max"===t||"min"===t||"step"===t)&&"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(e.up),this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(e.down)),this._super(t,e),"disabled"===t&&(e?(this.element.prop("disabled",!0),this.buttons.button("disable")):(this.element.prop("disabled",!1),this.buttons.button("enable")))},_setOptions:e(function(t){this._super(t),this._value(this.element.val())}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},_value:function(t,e){var i;""!==t&&(i=this._parse(t),null!==i&&(e||(i=this._adjustValue(i)),t=this._format(i))),this.element.val(t),this._refresh()},_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:e(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:e(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:e(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:e(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){return arguments.length?(e(this._value).call(this,t),void 0):this._parse(this.element.val())},widget:function(){return this.uiSpinner}})}(jQuery),function(t,e){function i(){return++n}function s(t){return t.hash.length>1&&decodeURIComponent(t.href.replace(o,""))===decodeURIComponent(location.href.replace(o,""))}var n=0,o=/#.*$/;t.widget("ui.tabs",{version:"1.10.2",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var e=this,i=this.options;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",i.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs(),i.active=this._initialActive(),t.isArray(i.disabled)&&(i.disabled=t.unique(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),this.active=this.options.active!==!1&&this.anchors.length?this._findActive(i.active):t(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var i=this.options.active,s=this.options.collapsible,n=location.hash.substring(1);return null===i&&(n&&this.tabs.each(function(s,o){return t(o).attr("aria-controls")===n?(i=s,!1):e}),null===i&&(i=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===i||-1===i)&&(i=this.tabs.length?0:!1)),i!==!1&&(i=this.tabs.index(this.tabs.eq(i)),-1===i&&(i=s?!1:0)),!s&&i===!1&&this.anchors.length&&(i=0),i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(i){var s=t(this.document[0].activeElement).closest("li"),n=this.tabs.index(s),o=!0;if(!this._handlePageNav(i)){switch(i.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:n++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:o=!1,n--;break;case t.ui.keyCode.END:n=this.anchors.length-1;break;case t.ui.keyCode.HOME:n=0;break;case t.ui.keyCode.SPACE:return i.preventDefault(),clearTimeout(this.activating),this._activate(n),e;case t.ui.keyCode.ENTER:return i.preventDefault(),clearTimeout(this.activating),this._activate(n===this.options.active?!1:n),e;default:return}i.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,o),i.ctrlKey||(s.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.focus())},_handlePageNav:function(i){return i.altKey&&i.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):i.altKey&&i.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):e},_findNextTab:function(e,i){function s(){return e>n&&(e=0),0>e&&(e=n),e}for(var n=this.tabs.length-1;-1!==t.inArray(s(),this.options.disabled);)e=i?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).focus(),t},_setOption:function(t,i){return"active"===t?(this._activate(i),e):"disabled"===t?(this._setupDisabled(i),e):(this._super(t,i),"collapsible"===t&&(this.element.toggleClass("ui-tabs-collapsible",i),i||this.options.active!==!1||this._activate(0)),"event"===t&&this._setupEvents(i),"heightStyle"===t&&this._setupHeightStyle(i),e)},_tabId:function(t){return t.attr("aria-controls")||"ui-tabs-"+i()},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,i=this.tablist.children(":has(a[href])");e.disabled=t.map(i.filter(".ui-state-disabled"),function(t){return i.index(t)}),this._processTabs(),e.active!==!1&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=t(),this.anchors.each(function(i,n){var o,a,r,h=t(n).uniqueId().attr("id"),l=t(n).closest("li"),c=l.attr("aria-controls");s(n)?(o=n.hash,a=e.element.find(e._sanitizeSelector(o))):(r=e._tabId(l),o="#"+r,a=e.element.find(o),a.length||(a=e._createPanel(r),a.insertAfter(e.panels[i-1]||e.tablist)),a.attr("aria-live","polite")),a.length&&(e.panels=e.panels.add(a)),c&&l.data("ui-tabs-aria-controls",c),l.attr({"aria-controls":o.substring(1),"aria-labelledby":h}),a.attr("aria-labelledby",h)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(e){return t("<div>").attr("id",e).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(e){t.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1);for(var i,s=0;i=this.tabs[s];s++)e===!0||-1!==t.inArray(s,e)?t(i).addClass("ui-state-disabled").attr("aria-disabled","true"):t(i).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=e},_setupEvents:function(e){var i={click:function(t){t.preventDefault()}};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,s=this.element.parent();"fill"===e?(i=s.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,t(this).height("").height())}).height(i))},_eventHandler:function(e){var i=this.options,s=this.active,n=t(e.currentTarget),o=n.closest("li"),a=o[0]===s[0],r=a&&i.collapsible,h=r?t():this._getPanelForTab(o),l=s.length?this._getPanelForTab(s):t(),c={oldTab:s,oldPanel:l,newTab:r?t():o,newPanel:h};e.preventDefault(),o.hasClass("ui-state-disabled")||o.hasClass("ui-tabs-loading")||this.running||a&&!i.collapsible||this._trigger("beforeActivate",e,c)===!1||(i.active=r?!1:this.tabs.index(o),this.active=a?t():o,this.xhr&&this.xhr.abort(),l.length||h.length||t.error("jQuery UI Tabs: Mismatching fragment identifier."),h.length&&this.load(this.tabs.index(o),e),this._toggle(e,c))},_toggle:function(e,i){function s(){o.running=!1,o._trigger("activate",e,i)}function n(){i.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),a.length&&o.options.show?o._show(a,o.options.show,s):(a.show(),s())}var o=this,a=i.newPanel,r=i.oldPanel;this.running=!0,r.length&&this.options.hide?this._hide(r,this.options.hide,function(){i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),n()}):(i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),r.hide(),n()),r.attr({"aria-expanded":"false","aria-hidden":"true"}),i.oldTab.attr("aria-selected","false"),a.length&&r.length?i.oldTab.attr("tabIndex",-1):a.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),a.attr({"aria-expanded":"true","aria-hidden":"false"}),i.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(e){var i,s=this._findActive(e);s[0]!==this.active[0]&&(s.length||(s=this.active),i=s.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return e===!1?t():this.tabs.eq(e)},_getIndex:function(t){return"string"==typeof t&&(t=this.anchors.index(this.anchors.filter("[href$='"+t+"']"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var e=t(this),i=e.data("ui-tabs-aria-controls");i?e.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var s=this.options.disabled;s!==!1&&(i===e?s=!1:(i=this._getIndex(i),s=t.isArray(s)?t.map(s,function(t){return t!==i?t:null}):t.map(this.tabs,function(t,e){return e!==i?e:null})),this._setupDisabled(s))},disable:function(i){var s=this.options.disabled;if(s!==!0){if(i===e)s=!0;else{if(i=this._getIndex(i),-1!==t.inArray(i,s))return;s=t.isArray(s)?t.merge([i],s).sort():[i]}this._setupDisabled(s)}},load:function(e,i){e=this._getIndex(e);var n=this,o=this.tabs.eq(e),a=o.find(".ui-tabs-anchor"),r=this._getPanelForTab(o),h={tab:o,panel:r};s(a[0])||(this.xhr=t.ajax(this._ajaxSettings(a,i,h)),this.xhr&&"canceled"!==this.xhr.statusText&&(o.addClass("ui-tabs-loading"),r.attr("aria-busy","true"),this.xhr.success(function(t){setTimeout(function(){r.html(t),n._trigger("load",i,h)},1)}).complete(function(t,e){setTimeout(function(){"abort"===e&&n.panels.stop(!1,!0),o.removeClass("ui-tabs-loading"),r.removeAttr("aria-busy"),t===n.xhr&&delete n.xhr},1)})))},_ajaxSettings:function(e,i,s){var n=this;return{url:e.attr("href"),beforeSend:function(e,o){return n._trigger("beforeLoad",i,t.extend({jqXHR:e,ajaxSettings:o},s))}}},_getPanelForTab:function(e){var i=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}})}(jQuery),function(t){function e(e,i){var s=(e.attr("aria-describedby")||"").split(/\s+/);s.push(i),e.data("ui-tooltip-id",i).attr("aria-describedby",t.trim(s.join(" ")))}function i(e){var i=e.data("ui-tooltip-id"),s=(e.attr("aria-describedby")||"").split(/\s+/),n=t.inArray(i,s);-1!==n&&s.splice(n,1),e.removeData("ui-tooltip-id"),s=t.trim(s.join(" ")),s?e.attr("aria-describedby",s):e.removeAttr("aria-describedby")}var s=0;t.widget("ui.tooltip",{version:"1.10.2",options:{content:function(){var e=t(this).attr("title")||"";return t("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable()},_setOption:function(e,i){var s=this;return"disabled"===e?(this[i?"_disable":"_enable"](),this.options[e]=i,void 0):(this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e){s._updateContent(e)}),void 0)},_disable:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s[0],e.close(n,!0)}),this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.is("[title]")&&e.data("ui-tooltip-title",e.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))})},open:function(e){var i=this,s=t(e?e.target:this.element).closest(this.options.items);s.length&&!s.data("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-title",s.attr("title")),s.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&s.parents().each(function(){var e,s=t(this);s.data("ui-tooltip-open")&&(e=t.Event("blur"),e.target=e.currentTarget=this,i.close(e,!0)),s.attr("title")&&(s.uniqueId(),i.parents[this.id]={element:this,title:s.attr("title")},s.attr("title",""))}),this._updateContent(s,e))},_updateContent:function(t,e){var i,s=this.options.content,n=this,o=e?e.type:null;return"string"==typeof s?this._open(e,t,s):(i=s.call(t[0],function(i){t.data("ui-tooltip-open")&&n._delay(function(){e&&(e.type=o),this._open(e,t,i)
+})}),i&&this._open(e,t,i),void 0)},_open:function(i,s,n){function o(t){l.of=t,a.is(":hidden")||a.position(l)}var a,r,h,l=t.extend({},this.options.position);if(n){if(a=this._find(s),a.length)return a.find(".ui-tooltip-content").html(n),void 0;s.is("[title]")&&(i&&"mouseover"===i.type?s.attr("title",""):s.removeAttr("title")),a=this._tooltip(s),e(s,a.attr("id")),a.find(".ui-tooltip-content").html(n),this.options.track&&i&&/^mouse/.test(i.type)?(this._on(this.document,{mousemove:o}),o(i)):a.position(t.extend({of:s},this.options.position)),a.hide(),this._show(a,this.options.show),this.options.show&&this.options.show.delay&&(h=this.delayedShow=setInterval(function(){a.is(":visible")&&(o(l.of),clearInterval(h))},t.fx.interval)),this._trigger("open",i,{tooltip:a}),r={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var i=t.Event(e);i.currentTarget=s[0],this.close(i,!0)}},remove:function(){this._removeTooltip(a)}},i&&"mouseover"!==i.type||(r.mouseleave="close"),i&&"focusin"!==i.type||(r.focusout="close"),this._on(!0,s,r)}},close:function(e){var s=this,n=t(e?e.currentTarget:this.element),o=this._find(n);this.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&n.attr("title",n.data("ui-tooltip-title")),i(n),o.stop(!0),this._hide(o,this.options.hide,function(){s._removeTooltip(t(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,i){t(i.element).attr("title",i.title),delete s.parents[e]}),this.closing=!0,this._trigger("close",e,{tooltip:o}),this.closing=!1)},_tooltip:function(e){var i="ui-tooltip-"+s++,n=t("<div>").attr({id:i,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return t("<div>").addClass("ui-tooltip-content").appendTo(n),n.appendTo(this.document[0].body),this.tooltips[i]=e,n},_find:function(e){var i=e.data("ui-tooltip-id");return i?t("#"+i):t()},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_destroy:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s[0],e.close(n,!0),t("#"+i).remove(),s.data("ui-tooltip-title")&&(s.attr("title",s.data("ui-tooltip-title")),s.removeData("ui-tooltip-title"))})}})}(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.accordion.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.accordion.min.js
new file mode 100644 (file)
index 0000000..9dd3862
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){var e=0,i={},s={};i.height=i.paddingTop=i.paddingBottom=i.borderTopWidth=i.borderBottomWidth="hide",s.height=s.paddingTop=s.paddingBottom=s.borderTopWidth=s.borderBottomWidth="show",t.widget("ui.accordion",{version:"1.10.2",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),e.collapsible||e.active!==!1&&null!=e.active||(e.active=0),this._processPanels(),0>e.active&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t(),content:this.active.length?this.active.next():t()}},_createIcons:function(){var e=this.options.icons;e&&(t("<span>").addClass("ui-accordion-header-icon ui-icon "+e.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(e.header).addClass(e.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){return"active"===t?(this._activate(e),undefined):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||this.options.active!==!1||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons()),"disabled"===t&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!e),undefined)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var i=t.ui.keyCode,s=this.headers.length,n=this.headers.index(e.target),a=!1;switch(e.keyCode){case i.RIGHT:case i.DOWN:a=this.headers[(n+1)%s];break;case i.LEFT:case i.UP:a=this.headers[(n-1+s)%s];break;case i.SPACE:case i.ENTER:this._eventHandler(e);break;case i.HOME:a=this.headers[0];break;case i.END:a=this.headers[s-1]}a&&(t(e.target).attr("tabIndex",-1),t(a).attr("tabIndex",0),a.focus(),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().focus()},refresh:function(){var e=this.options;this._processPanels(),(e.active===!1&&e.collapsible===!0||!this.headers.length)&&(e.active=!1,this.active=t()),e.active===!1?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()},_refresh:function(){var i,s=this.options,n=s.heightStyle,a=this.element.parent(),o=this.accordionId="ui-accordion-"+(this.element.attr("id")||++e);this.active=this._findActive(s.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(e){var i=t(this),s=i.attr("id"),n=i.next(),a=n.attr("id");s||(s=o+"-header-"+e,i.attr("id",s)),a||(a=o+"-panel-"+e,n.attr("id",a)),i.attr("aria-controls",a),n.attr("aria-labelledby",s)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(s.event),"fill"===n?(i=a.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerHeight(!0))}),this.headers.each(function(){i-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===n&&(i=0,this.headers.next().each(function(){i=Math.max(i,t(this).css("height","").height())}).height(i))},_activate:function(e){var i=this._findActive(e)[0];i!==this.active[0]&&(i=i||this.active[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var i=this.options,s=this.active,n=t(e.currentTarget),a=n[0]===s[0],o=a&&i.collapsible,r=o?t():n.next(),h=s.next(),l={oldHeader:s,oldPanel:h,newHeader:o?t():n,newPanel:r};e.preventDefault(),a&&!i.collapsible||this._trigger("beforeActivate",e,l)===!1||(i.active=o?!1:this.headers.index(n),this.active=a?t():n,this._toggle(l),s.removeClass("ui-accordion-header-active ui-state-active"),i.icons&&s.children(".ui-accordion-header-icon").removeClass(i.icons.activeHeader).addClass(i.icons.header),a||(n.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),i.icons&&n.children(".ui-accordion-header-icon").removeClass(i.icons.header).addClass(i.icons.activeHeader),n.next().addClass("ui-accordion-content-active")))},_toggle:function(e){var i=e.newPanel,s=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=i,this.prevHide=s,this.options.animate?this._animate(i,s,e):(s.hide(),i.show(),this._toggleComplete(e)),s.attr({"aria-expanded":"false","aria-hidden":"true"}),s.prev().attr("aria-selected","false"),i.length&&s.length?s.prev().attr("tabIndex",-1):i.length&&this.headers.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),i.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(t,e,n){var a,o,r,h=this,l=0,c=t.length&&(!e.length||t.index()<e.index()),u=this.options.animate||{},d=c&&u.down||u,p=function(){h._toggleComplete(n)};return"number"==typeof d&&(r=d),"string"==typeof d&&(o=d),o=o||d.easing||u.easing,r=r||d.duration||u.duration,e.length?t.length?(a=t.show().outerHeight(),e.animate(i,{duration:r,easing:o,step:function(t,e){e.now=Math.round(t)}}),t.hide().animate(s,{duration:r,easing:o,complete:p,step:function(t,i){i.now=Math.round(t),"height"!==i.prop?l+=i.now:"content"!==h.options.heightStyle&&(i.now=Math.round(a-e.outerHeight()-l),l=0)}}),undefined):e.animate(i,r,o,p):t.animate(s,r,o,p)},_toggleComplete:function(t){var e=t.oldPanel;e.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger("activate",null,t)}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.autocomplete.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.autocomplete.min.js
new file mode 100644 (file)
index 0000000..613f364
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(e){var t=0;e.widget("ui.autocomplete",{version:"1.10.2",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var t,i,s,n=this.element[0].nodeName.toLowerCase(),a="textarea"===n,o="input"===n;this.isMultiLine=a?!0:o?!1:this.element.prop("isContentEditable"),this.valueMethod=this.element[a||o?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(n){if(this.element.prop("readOnly"))return t=!0,s=!0,i=!0,undefined;t=!1,s=!1,i=!1;var a=e.ui.keyCode;switch(n.keyCode){case a.PAGE_UP:t=!0,this._move("previousPage",n);break;case a.PAGE_DOWN:t=!0,this._move("nextPage",n);break;case a.UP:t=!0,this._keyEvent("previous",n);break;case a.DOWN:t=!0,this._keyEvent("next",n);break;case a.ENTER:case a.NUMPAD_ENTER:this.menu.active&&(t=!0,n.preventDefault(),this.menu.select(n));break;case a.TAB:this.menu.active&&this.menu.select(n);break;case a.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(n),n.preventDefault());break;default:i=!0,this._searchTimeout(n)}},keypress:function(s){if(t)return t=!1,s.preventDefault(),undefined;if(!i){var n=e.ui.keyCode;switch(s.keyCode){case n.PAGE_UP:this._move("previousPage",s);break;case n.PAGE_DOWN:this._move("nextPage",s);break;case n.UP:this._keyEvent("previous",s);break;case n.DOWN:this._keyEvent("next",s)}}},input:function(e){return s?(s=!1,e.preventDefault(),undefined):(this._searchTimeout(e),undefined)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){return this.cancelBlur?(delete this.cancelBlur,undefined):(clearTimeout(this.searching),this.close(e),this._change(e),undefined)}}),this._initSource(),this.menu=e("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({input:e(),role:null}).hide().data("ui-menu"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];e(t.target).closest(".ui-menu-item").length||this._delay(function(){var t=this;this.document.one("mousedown",function(s){s.target===t.element[0]||s.target===i||e.contains(i,s.target)||t.close()})})},menufocus:function(t,i){if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),this.document.one("mousemove",function(){e(t.target).trigger(t.originalEvent)}),undefined;var s=i.item.data("ui-autocomplete-item");!1!==this._trigger("focus",t,{item:s})?t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(s.value):this.liveRegion.text(s.value)},menuselect:function(e,t){var i=t.item.data("ui-autocomplete-item"),s=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger("select",e,{item:i})&&this._value(i.value),this.term=this._value(),this.close(e),this.selectedItem=i}}),this.liveRegion=e("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertAfter(this.element),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?e(t):this.document.find(t).eq(0)),t||(t=this.element.closest(".ui-front")),t.length||(t=this.document[0].body),t},_initSource:function(){var t,i,s=this;e.isArray(this.options.source)?(t=this.options.source,this.source=function(i,s){s(e.ui.autocomplete.filter(t,i.term))}):"string"==typeof this.options.source?(i=this.options.source,this.source=function(t,n){s.xhr&&s.xhr.abort(),s.xhr=e.ajax({url:i,data:t,dataType:"json",success:function(e){n(e)},error:function(){n([])}})}):this.source=this.options.source},_searchTimeout:function(e){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,e))},this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):this._trigger("search",t)!==!1?this._search(e):undefined},_search:function(e){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var e=this,i=++t;return function(s){i===t&&e.__response(s),e.pending--,e.pending||e.element.removeClass("ui-autocomplete-loading")}},__response:function(e){e&&(e=this._normalize(e)),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:e.map(t,function(t){return"string"==typeof t?{label:t,value:t}:e.extend({label:t.label||t.value,value:t.value||t.label},t)})},_suggest:function(t){var i=this.menu.element.empty();this._renderMenu(i,t),this.isNewMenu=!0,this.menu.refresh(),i.show(),this._resizeMenu(),i.position(e.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,i){var s=this;e.each(i,function(e,i){s._renderItemData(t,i)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(t,i){return e("<li>").append(e("<a>").text(i.label)).appendTo(t)},_move:function(e,t){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this._value(this.term),this.menu.blur(),undefined):(this.menu[e](t),undefined):(this.search(null,t),undefined)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(e,t),t.preventDefault())}}),e.extend(e.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,i){var s=RegExp(e.ui.autocomplete.escapeRegex(i),"i");return e.grep(t,function(e){return s.test(e.label||e.value||e)})}}),e.widget("ui.autocomplete",e.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(e>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var t;this._superApply(arguments),this.options.disabled||this.cancelSearch||(t=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.text(t))}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.button.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.button.min.js
new file mode 100644 (file)
index 0000000..17dbe28
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){var e,i,s,n,a="ui-button ui-widget ui-state-default ui-corner-all",o="ui-state-hover ui-state-active ",r="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",h=function(){var e=t(this).find(":ui-button");setTimeout(function(){e.button("refresh")},1)},l=function(e){var i=e.name,s=e.form,n=t([]);return i&&(i=i.replace(/'/g,"\\'"),n=s?t(s).find("[name='"+i+"']"):t("[name='"+i+"']",e.ownerDocument).filter(function(){return!this.form})),n};t.widget("ui.button",{version:"1.10.2",defaultElement:"<button>",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,h),"boolean"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop("disabled"):this.element.prop("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var o=this,r=this.options,c="checkbox"===this.type||"radio"===this.type,u=c?"":"ui-state-active",d="ui-state-focus";null===r.label&&(r.label="input"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(a).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){r.disabled||this===e&&t(this).addClass("ui-state-active")}).bind("mouseleave"+this.eventNamespace,function(){r.disabled||t(this).removeClass(u)}).bind("click"+this.eventNamespace,function(t){r.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}),this.element.bind("focus"+this.eventNamespace,function(){o.buttonElement.addClass(d)}).bind("blur"+this.eventNamespace,function(){o.buttonElement.removeClass(d)}),c&&(this.element.bind("change"+this.eventNamespace,function(){n||o.refresh()}),this.buttonElement.bind("mousedown"+this.eventNamespace,function(t){r.disabled||(n=!1,i=t.pageX,s=t.pageY)}).bind("mouseup"+this.eventNamespace,function(t){r.disabled||(i!==t.pageX||s!==t.pageY)&&(n=!0)})),"checkbox"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){return r.disabled||n?!1:undefined}):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(r.disabled||n)return!1;t(this).addClass("ui-state-active"),o.buttonElement.attr("aria-pressed","true");var e=o.element[0];l(e).not(e).map(function(){return t(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){return r.disabled?!1:(t(this).addClass("ui-state-active"),e=this,o.document.one("mouseup",function(){e=null}),undefined)}).bind("mouseup"+this.eventNamespace,function(){return r.disabled?!1:(t(this).removeClass("ui-state-active"),undefined)}).bind("keydown"+this.eventNamespace,function(e){return r.disabled?!1:((e.keyCode===t.ui.keyCode.SPACE||e.keyCode===t.ui.keyCode.ENTER)&&t(this).addClass("ui-state-active"),undefined)}).bind("keyup"+this.eventNamespace+" blur"+this.eventNamespace,function(){t(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(e){e.keyCode===t.ui.keyCode.SPACE&&t(this).click()})),this._setOption("disabled",r.disabled),this._resetButton()},_determineButtonType:function(){var t,e,i;this.type=this.element.is("[type=checkbox]")?"checkbox":this.element.is("[type=radio]")?"radio":this.element.is("input")?"input":"button","checkbox"===this.type||"radio"===this.type?(t=this.element.parents().last(),e="label[for='"+this.element.attr("id")+"']",this.buttonElement=t.find(e),this.buttonElement.length||(t=t.length?t.siblings():this.element.siblings(),this.buttonElement=t.filter(e),this.buttonElement.length||(this.buttonElement=t.find(e))),this.element.addClass("ui-helper-hidden-accessible"),i=this.element.is(":checked"),i&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.prop("aria-pressed",i)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(a+" "+o+" "+r).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title")},_setOption:function(t,e){return this._super(t,e),"disabled"===t?(e?this.element.prop("disabled",!0):this.element.prop("disabled",!1),undefined):(this._resetButton(),undefined)},refresh:function(){var e=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOption("disabled",e),"radio"===this.type?l(this.element[0]).each(function(){t(this).is(":checked")?t(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):t(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){if("input"===this.type)return this.options.label&&this.element.val(this.options.label),undefined;var e=this.buttonElement.removeClass(r),i=t("<span></span>",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(e.empty()).text(),s=this.options.icons,n=s.primary&&s.secondary,a=[];s.primary||s.secondary?(this.options.text&&a.push("ui-button-text-icon"+(n?"s":s.primary?"-primary":"-secondary")),s.primary&&e.prepend("<span class='ui-button-icon-primary ui-icon "+s.primary+"'></span>"),s.secondary&&e.append("<span class='ui-button-icon-secondary ui-icon "+s.secondary+"'></span>"),this.options.text||(a.push(n?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||e.attr("title",t.trim(i)))):a.push("ui-button-text-only"),e.addClass(a.join(" "))}}),t.widget("ui.buttonset",{version:"1.10.2",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(t,e){"disabled"===t&&this.buttons.button("option",t,e),this._super(t,e)},refresh:function(){var e="rtl"===this.element.css("direction");this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return t(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(e?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(e?"ui-corner-left":"ui-corner-right").end().end()},_destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return t(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.core.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.core.min.js
new file mode 100644 (file)
index 0000000..e1bfdc5
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(e,t){function i(t,i){var a,n,r,o=t.nodeName.toLowerCase();return"area"===o?(a=t.parentNode,n=a.name,t.href&&n&&"map"===a.nodeName.toLowerCase()?(r=e("img[usemap=#"+n+"]")[0],!!r&&s(r)):!1):(/input|select|textarea|button|object/.test(o)?!t.disabled:"a"===o?t.href||i:i)&&s(t)}function s(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}var a=0,n=/^ui-id-\d+$/;e.ui=e.ui||{},e.extend(e.ui,{version:"1.10.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,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,SPACE:32,TAB:9,UP:38}}),e.fn.extend({focus:function(t){return function(i,s){return"number"==typeof i?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),s&&s.call(t)},i)}):t.apply(this,arguments)}}(e.fn.focus),scrollParent:function(){var t;return t=e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(i){if(i!==t)return this.css("zIndex",i);if(this.length)for(var s,a,n=e(this[0]);n.length&&n[0]!==document;){if(s=n.css("position"),("absolute"===s||"relative"===s||"fixed"===s)&&(a=parseInt(n.css("zIndex"),10),!isNaN(a)&&0!==a))return a;n=n.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++a)})},removeUniqueId:function(){return this.each(function(){n.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(i){return!!e.data(i,t)}}):function(t,i,s){return!!e.data(t,s[3])},focusable:function(t){return i(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var s=e.attr(t,"tabindex"),a=isNaN(s);return(a||s>=0)&&i(t,!a)}}),e("<a>").outerWidth(1).jquery||e.each(["Width","Height"],function(i,s){function a(t,i,s,a){return e.each(n,function(){i-=parseFloat(e.css(t,"padding"+this))||0,s&&(i-=parseFloat(e.css(t,"border"+this+"Width"))||0),a&&(i-=parseFloat(e.css(t,"margin"+this))||0)}),i}var n="Width"===s?["Left","Right"]:["Top","Bottom"],r=s.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+s]=function(i){return i===t?o["inner"+s].call(this):this.each(function(){e(this).css(r,a(this,i)+"px")})},e.fn["outer"+s]=function(t,i){return"number"!=typeof t?o["outer"+s].call(this,t):this.each(function(){e(this).css(r,a(this,t,!0,i)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(i){return arguments.length?t.call(this,e.camelCase(i)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.support.selectstart="onselectstart"in document.createElement("div"),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,i,s){var a,n=e.ui[t].prototype;for(a in s)n.plugins[a]=n.plugins[a]||[],n.plugins[a].push([i,s[a]])},call:function(e,t,i){var s,a=e.plugins[t];if(a&&e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType)for(s=0;a.length>s;s++)e.options[a[s][0]]&&a[s][1].apply(e.element,i)}},hasScroll:function(t,i){if("hidden"===e(t).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",a=!1;return t[s]>0?!0:(t[s]=1,a=t[s]>0,t[s]=0,a)}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.datepicker.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.datepicker.min.js
new file mode 100644 (file)
index 0000000..0da8c41
--- /dev/null
@@ -0,0 +1,5 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t,e){function i(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.dpDiv=s(t("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function s(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.delegate(i,"mouseout",function(){t(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).removeClass("ui-datepicker-next-hover")}).delegate(i,"mouseover",function(){t.datepicker._isDisabledDatepicker(a.inline?e.parent()[0]:a.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).addClass("ui-datepicker-next-hover"))})}function n(e,i){t.extend(e,i);for(var s in i)null==i[s]&&(e[s]=i[s]);return e}t.extend(t.ui,{datepicker:{version:"1.10.2"}});var a,r="datepicker",o=(new Date).getTime();t.extend(i.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return n(this._defaults,t||{}),this},_attachDatepicker:function(e,i){var s,n,a;s=e.nodeName.toLowerCase(),n="div"===s||"span"===s,e.id||(this.uuid+=1,e.id="dp"+this.uuid),a=this._newInst(t(e),n),a.settings=t.extend({},i||{}),"input"===s?this._connectDatepicker(e,a):n&&this._inlineDatepicker(e,a)},_newInst:function(e,i){var n=e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1");return{id:n,input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?s(t("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,i){var s=t(e);i.append=t([]),i.trigger=t([]),s.hasClass(this.markerClassName)||(this._attachments(s,i),s.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(i),t.data(e,r,i),i.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,i){var s,n,a,r=this._get(i,"appendText"),o=this._get(i,"isRTL");i.append&&i.append.remove(),r&&(i.append=t("<span class='"+this._appendClass+"'>"+r+"</span>"),e[o?"before":"after"](i.append)),e.unbind("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),s=this._get(i,"showOn"),("focus"===s||"both"===s)&&e.focus(this._showDatepicker),("button"===s||"both"===s)&&(n=this._get(i,"buttonText"),a=this._get(i,"buttonImage"),i.trigger=t(this._get(i,"buttonImageOnly")?t("<img/>").addClass(this._triggerClass).attr({src:a,alt:n,title:n}):t("<button type='button'></button>").addClass(this._triggerClass).html(a?t("<img/>").attr({src:a,alt:n,title:n}):n)),e[o?"before":"after"](i.trigger),i.trigger.click(function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,s,n,a=new Date(2009,11,20),r=this._get(t,"dateFormat");r.match(/[DM]/)&&(e=function(t){for(i=0,s=0,n=0;t.length>n;n++)t[n].length>i&&(i=t[n].length,s=n);return s},a.setMonth(e(this._get(t,r.match(/MM/)?"monthNames":"monthNamesShort"))),a.setDate(e(this._get(t,r.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())),t.input.attr("size",this._formatDate(t,a).length)}},_inlineDatepicker:function(e,i){var s=t(e);s.hasClass(this.markerClassName)||(s.addClass(this.markerClassName).append(i.dpDiv),t.data(e,r,i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(e),i.dpDiv.css("display","block"))},_dialogDatepicker:function(e,i,s,a,o){var h,l,c,u,d,p=this._dialogInst;return p||(this.uuid+=1,h="dp"+this.uuid,this._dialogInput=t("<input type='text' id='"+h+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.keydown(this._doKeyDown),t("body").append(this._dialogInput),p=this._dialogInst=this._newInst(this._dialogInput,!1),p.settings={},t.data(this._dialogInput[0],r,p)),n(p.settings,a||{}),i=i&&i.constructor===Date?this._formatDate(p,i):i,this._dialogInput.val(i),this._pos=o?o.length?o:[o.pageX,o.pageY]:null,this._pos||(l=document.documentElement.clientWidth,c=document.documentElement.clientHeight,u=document.documentElement.scrollLeft||document.body.scrollLeft,d=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[l/2-100+u,c/2-150+d]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),p.settings.onSelect=s,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],r,p),this},_destroyDatepicker:function(e){var i,s=t(e),n=t.data(e,r);s.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),t.removeData(e,r),"input"===i?(n.append.remove(),n.trigger.remove(),s.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):("div"===i||"span"===i)&&s.removeClass(this.markerClassName).empty())},_enableDatepicker:function(e){var i,s,n=t(e),a=t.data(e,r);n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),"input"===i?(e.disabled=!1,a.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().removeClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var i,s,n=t(e),a=t.data(e,r);n.hasClass(this.markerClassName)&&(i=e.nodeName.toLowerCase(),"input"===i?(e.disabled=!0,a.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===i||"span"===i)&&(s=n.children("."+this._inlineClass),s.children().addClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;this._disabledInputs.length>e;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(e){try{return t.data(e,r)}catch(i){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(i,s,a){var r,o,h,l,c=this._getInst(i);return 2===arguments.length&&"string"==typeof s?"defaults"===s?t.extend({},t.datepicker._defaults):c?"all"===s?t.extend({},c.settings):this._get(c,s):null:(r=s||{},"string"==typeof s&&(r={},r[s]=a),c&&(this._curInst===c&&this._hideDatepicker(),o=this._getDateDatepicker(i,!0),h=this._getMinMaxDate(c,"min"),l=this._getMinMaxDate(c,"max"),n(c.settings,r),null!==h&&r.dateFormat!==e&&r.minDate===e&&(c.settings.minDate=this._formatDate(c,h)),null!==l&&r.dateFormat!==e&&r.maxDate===e&&(c.settings.maxDate=this._formatDate(c,l)),"disabled"in r&&(r.disabled?this._disableDatepicker(i):this._enableDatepicker(i)),this._attachments(t(i),c),this._autoSize(c),this._setDate(c,o),this._updateAlternate(c),this._updateDatepicker(c)),e)},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(e){var i,s,n,a=t.datepicker._getInst(e.target),r=!0,o=a.dpDiv.is(".ui-datepicker-rtl");if(a._keyEvent=!0,t.datepicker._datepickerShowing)switch(e.keyCode){case 9:t.datepicker._hideDatepicker(),r=!1;break;case 13:return n=t("td."+t.datepicker._dayOverClass+":not(."+t.datepicker._currentClass+")",a.dpDiv),n[0]&&t.datepicker._selectDay(e.target,a.selectedMonth,a.selectedYear,n[0]),i=t.datepicker._get(a,"onSelect"),i?(s=t.datepicker._formatDate(a),i.apply(a.input?a.input[0]:null,[s,a])):t.datepicker._hideDatepicker(),!1;case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(a,"stepBigMonths"):-t.datepicker._get(a,"stepMonths"),"M");break;case 34:t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(a,"stepBigMonths"):+t.datepicker._get(a,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&t.datepicker._clearDate(e.target),r=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&t.datepicker._gotoToday(e.target),r=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,o?1:-1,"D"),r=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(a,"stepBigMonths"):-t.datepicker._get(a,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,-7,"D"),r=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,o?-1:1,"D"),r=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(a,"stepBigMonths"):+t.datepicker._get(a,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,7,"D"),r=e.ctrlKey||e.metaKey;break;default:r=!1}else 36===e.keyCode&&e.ctrlKey?t.datepicker._showDatepicker(this):r=!1;r&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(i){var s,n,a=t.datepicker._getInst(i.target);return t.datepicker._get(a,"constrainInput")?(s=t.datepicker._possibleChars(t.datepicker._get(a,"dateFormat")),n=String.fromCharCode(null==i.charCode?i.keyCode:i.charCode),i.ctrlKey||i.metaKey||" ">n||!s||s.indexOf(n)>-1):e},_doKeyUp:function(e){var i,s=t.datepicker._getInst(e.target);if(s.input.val()!==s.lastVal)try{i=t.datepicker.parseDate(t.datepicker._get(s,"dateFormat"),s.input?s.input.val():null,t.datepicker._getFormatConfig(s)),i&&(t.datepicker._setDateFromField(s),t.datepicker._updateAlternate(s),t.datepicker._updateDatepicker(s))}catch(n){}return!0},_showDatepicker:function(e){if(e=e.target||e,"input"!==e.nodeName.toLowerCase()&&(e=t("input",e.parentNode)[0]),!t.datepicker._isDisabledDatepicker(e)&&t.datepicker._lastInput!==e){var i,s,a,r,o,h,l;i=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==i&&(t.datepicker._curInst.dpDiv.stop(!0,!0),i&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),s=t.datepicker._get(i,"beforeShow"),a=s?s.apply(e,[e,i]):{},a!==!1&&(n(i.settings,a),i.lastVal=null,t.datepicker._lastInput=e,t.datepicker._setDateFromField(i),t.datepicker._inDialog&&(e.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),r=!1,t(e).parents().each(function(){return r|="fixed"===t(this).css("position"),!r}),o={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(i),o=t.datepicker._checkOffset(i,o,r),i.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":r?"fixed":"absolute",display:"none",left:o.left+"px",top:o.top+"px"}),i.inline||(h=t.datepicker._get(i,"showAnim"),l=t.datepicker._get(i,"duration"),i.dpDiv.zIndex(t(e).zIndex()+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[h]?i.dpDiv.show(h,t.datepicker._get(i,"showOptions"),l):i.dpDiv[h||"show"](h?l:null),i.input.is(":visible")&&!i.input.is(":disabled")&&i.input.focus(),t.datepicker._curInst=i))}},_updateDatepicker:function(e){this.maxRows=4,a=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e),e.dpDiv.find("."+this._dayOverClass+" a").mouseover();var i,s=this._getNumberOfMonths(e),n=s[1],r=17;e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),n>1&&e.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",r*n+"em"),e.dpDiv[(1!==s[0]||1!==s[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===t.datepicker._curInst&&t.datepicker._datepickerShowing&&e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&e.input[0]!==document.activeElement&&e.input.focus(),e.yearshtml&&(i=e.yearshtml,setTimeout(function(){i===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),i=e.yearshtml=null},0))},_getBorders:function(t){var e=function(t){return{thin:1,medium:2,thick:3}[t]||t};return[parseFloat(e(t.css("border-left-width"))),parseFloat(e(t.css("border-top-width")))]},_checkOffset:function(e,i,s){var n=e.dpDiv.outerWidth(),a=e.dpDiv.outerHeight(),r=e.input?e.input.outerWidth():0,o=e.input?e.input.outerHeight():0,h=document.documentElement.clientWidth+(s?0:t(document).scrollLeft()),l=document.documentElement.clientHeight+(s?0:t(document).scrollTop());return i.left-=this._get(e,"isRTL")?n-r:0,i.left-=s&&i.left===e.input.offset().left?t(document).scrollLeft():0,i.top-=s&&i.top===e.input.offset().top+o?t(document).scrollTop():0,i.left-=Math.min(i.left,i.left+n>h&&h>n?Math.abs(i.left+n-h):0),i.top-=Math.min(i.top,i.top+a>l&&l>a?Math.abs(a+o):0),i},_findPos:function(e){for(var i,s=this._getInst(e),n=this._get(s,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[n?"previousSibling":"nextSibling"];return i=t(e).offset(),[i.left,i.top]},_hideDatepicker:function(e){var i,s,n,a,o=this._curInst;!o||e&&o!==t.data(e,r)||this._datepickerShowing&&(i=this._get(o,"showAnim"),s=this._get(o,"duration"),n=function(){t.datepicker._tidyDialog(o)},t.effects&&(t.effects.effect[i]||t.effects[i])?o.dpDiv.hide(i,t.datepicker._get(o,"showOptions"),s,n):o.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?s:null,n),i||n(),this._datepickerShowing=!1,a=this._get(o,"onClose"),a&&a.apply(o.input?o.input[0]:null,[o.input?o.input.val():"",o]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var i=t(e.target),s=t.datepicker._getInst(i[0]);(i[0].id!==t.datepicker._mainDivId&&0===i.parents("#"+t.datepicker._mainDivId).length&&!i.hasClass(t.datepicker.markerClassName)&&!i.closest("."+t.datepicker._triggerClass).length&&t.datepicker._datepickerShowing&&(!t.datepicker._inDialog||!t.blockUI)||i.hasClass(t.datepicker.markerClassName)&&t.datepicker._curInst!==s)&&t.datepicker._hideDatepicker()}},_adjustDate:function(e,i,s){var n=t(e),a=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(a,i+("M"===s?this._get(a,"showCurrentAtPos"):0),s),this._updateDatepicker(a))},_gotoToday:function(e){var i,s=t(e),n=this._getInst(s[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(i=new Date,n.selectedDay=i.getDate(),n.drawMonth=n.selectedMonth=i.getMonth(),n.drawYear=n.selectedYear=i.getFullYear()),this._notifyChange(n),this._adjustDate(s)},_selectMonthYear:function(e,i,s){var n=t(e),a=this._getInst(n[0]);a["selected"+("M"===s?"Month":"Year")]=a["draw"+("M"===s?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(a),this._adjustDate(n)},_selectDay:function(e,i,s,n){var a,r=t(e);t(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(r[0])||(a=this._getInst(r[0]),a.selectedDay=a.currentDay=t("a",n).html(),a.selectedMonth=a.currentMonth=i,a.selectedYear=a.currentYear=s,this._selectDate(e,this._formatDate(a,a.currentDay,a.currentMonth,a.currentYear)))},_clearDate:function(e){var i=t(e);this._selectDate(i,"")},_selectDate:function(e,i){var s,n=t(e),a=this._getInst(n[0]);i=null!=i?i:this._formatDate(a),a.input&&a.input.val(i),this._updateAlternate(a),s=this._get(a,"onSelect"),s?s.apply(a.input?a.input[0]:null,[i,a]):a.input&&a.input.trigger("change"),a.inline?this._updateDatepicker(a):(this._hideDatepicker(),this._lastInput=a.input[0],"object"!=typeof a.input[0]&&a.input.focus(),this._lastInput=null)},_updateAlternate:function(e){var i,s,n,a=this._get(e,"altField");a&&(i=this._get(e,"altFormat")||this._get(e,"dateFormat"),s=this._getDate(e),n=this.formatDate(i,s,this._getFormatConfig(e)),t(a).each(function(){t(this).val(n)}))},noWeekends:function(t){var e=t.getDay();return[e>0&&6>e,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(i,s,n){if(null==i||null==s)throw"Invalid arguments";if(s="object"==typeof s?""+s:s+"",""===s)return null;var a,r,o,h,l=0,c=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),d=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,p=(n?n.dayNames:null)||this._defaults.dayNames,f=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,m=(n?n.monthNames:null)||this._defaults.monthNames,g=-1,v=-1,_=-1,b=-1,y=!1,w=function(t){var e=i.length>a+1&&i.charAt(a+1)===t;return e&&a++,e},k=function(t){var e=w(t),i="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,n=RegExp("^\\d{1,"+i+"}"),a=s.substring(l).match(n);if(!a)throw"Missing number at position "+l;return l+=a[0].length,parseInt(a[0],10)},x=function(i,n,a){var r=-1,o=t.map(w(i)?a:n,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(t.each(o,function(t,i){var n=i[1];return s.substr(l,n.length).toLowerCase()===n.toLowerCase()?(r=i[0],l+=n.length,!1):e}),-1!==r)return r+1;throw"Unknown name at position "+l},D=function(){if(s.charAt(l)!==i.charAt(a))throw"Unexpected literal at position "+l;l++};for(a=0;i.length>a;a++)if(y)"'"!==i.charAt(a)||w("'")?D():y=!1;else switch(i.charAt(a)){case"d":_=k("d");break;case"D":x("D",d,p);break;case"o":b=k("o");break;case"m":v=k("m");break;case"M":v=x("M",f,m);break;case"y":g=k("y");break;case"@":h=new Date(k("@")),g=h.getFullYear(),v=h.getMonth()+1,_=h.getDate();break;case"!":h=new Date((k("!")-this._ticksTo1970)/1e4),g=h.getFullYear(),v=h.getMonth()+1,_=h.getDate();break;case"'":w("'")?D():y=!0;break;default:D()}if(s.length>l&&(o=s.substr(l),!/^\s+/.test(o)))throw"Extra/unparsed characters found in date: "+o;if(-1===g?g=(new Date).getFullYear():100>g&&(g+=(new Date).getFullYear()-(new Date).getFullYear()%100+(u>=g?0:-100)),b>-1)for(v=1,_=b;;){if(r=this._getDaysInMonth(g,v-1),r>=_)break;v++,_-=r}if(h=this._daylightSavingAdjust(new Date(g,v-1,_)),h.getFullYear()!==g||h.getMonth()+1!==v||h.getDate()!==_)throw"Invalid date";return h},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:1e7*60*60*24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(t,e,i){if(!e)return"";var s,n=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,a=(i?i.dayNames:null)||this._defaults.dayNames,r=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,o=(i?i.monthNames:null)||this._defaults.monthNames,h=function(e){var i=t.length>s+1&&t.charAt(s+1)===e;return i&&s++,i},l=function(t,e,i){var s=""+e;if(h(t))for(;i>s.length;)s="0"+s;return s},c=function(t,e,i,s){return h(t)?s[e]:i[e]},u="",d=!1;if(e)for(s=0;t.length>s;s++)if(d)"'"!==t.charAt(s)||h("'")?u+=t.charAt(s):d=!1;else switch(t.charAt(s)){case"d":u+=l("d",e.getDate(),2);break;case"D":u+=c("D",e.getDay(),n,a);break;case"o":u+=l("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":u+=l("m",e.getMonth()+1,2);break;case"M":u+=c("M",e.getMonth(),r,o);break;case"y":u+=h("y")?e.getFullYear():(10>e.getYear()%100?"0":"")+e.getYear()%100;break;case"@":u+=e.getTime();break;case"!":u+=1e4*e.getTime()+this._ticksTo1970;break;case"'":h("'")?u+="'":d=!0;break;default:u+=t.charAt(s)}return u},_possibleChars:function(t){var e,i="",s=!1,n=function(i){var s=t.length>e+1&&t.charAt(e+1)===i;return s&&e++,s};for(e=0;t.length>e;e++)if(s)"'"!==t.charAt(e)||n("'")?i+=t.charAt(e):s=!1;else switch(t.charAt(e)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":n("'")?i+="'":s=!0;break;default:i+=t.charAt(e)}return i},_get:function(t,i){return t.settings[i]!==e?t.settings[i]:this._defaults[i]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),s=t.lastVal=t.input?t.input.val():null,n=this._getDefaultDate(t),a=n,r=this._getFormatConfig(t);try{a=this.parseDate(i,s,r)||n}catch(o){s=e?"":s}t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),t.currentDay=s?a.getDate():0,t.currentMonth=s?a.getMonth():0,t.currentYear=s?a.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(e,i,s){var n=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},a=function(i){try{return t.datepicker.parseDate(t.datepicker._get(e,"dateFormat"),i,t.datepicker._getFormatConfig(e))}catch(s){}for(var n=(i.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,a=n.getFullYear(),r=n.getMonth(),o=n.getDate(),h=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,l=h.exec(i);l;){switch(l[2]||"d"){case"d":case"D":o+=parseInt(l[1],10);break;case"w":case"W":o+=7*parseInt(l[1],10);break;case"m":case"M":r+=parseInt(l[1],10),o=Math.min(o,t.datepicker._getDaysInMonth(a,r));break;case"y":case"Y":a+=parseInt(l[1],10),o=Math.min(o,t.datepicker._getDaysInMonth(a,r))}l=h.exec(i)}return new Date(a,r,o)},r=null==i||""===i?s:"string"==typeof i?a(i):"number"==typeof i?isNaN(i)?s:n(i):new Date(i.getTime());return r=r&&"Invalid Date"==""+r?s:r,r&&(r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0)),this._daylightSavingAdjust(r)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var s=!e,n=t.selectedMonth,a=t.selectedYear,r=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=r.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=r.getMonth(),t.drawYear=t.selectedYear=t.currentYear=r.getFullYear(),n===t.selectedMonth&&a===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(s?"":this._formatDate(t))},_getDate:function(t){var e=!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return e},_attachHandlers:function(e){var i=this._get(e,"stepMonths"),s="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){window["DP_jQuery_"+o].datepicker._adjustDate(s,-i,"M")},next:function(){window["DP_jQuery_"+o].datepicker._adjustDate(s,+i,"M")},hide:function(){window["DP_jQuery_"+o].datepicker._hideDatepicker()},today:function(){window["DP_jQuery_"+o].datepicker._gotoToday(s)},selectDay:function(){return window["DP_jQuery_"+o].datepicker._selectDay(s,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return window["DP_jQuery_"+o].datepicker._selectMonthYear(s,this,"M"),!1},selectYear:function(){return window["DP_jQuery_"+o].datepicker._selectMonthYear(s,this,"Y"),!1}};t(this).bind(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,i,s,n,a,r,o,h,l,c,u,d,p,f,m,g,v,_,b,y,w,k,x,D,T,C,S,M,N,I,P,A,z,H,E,F,O,W,j,R=new Date,L=this._daylightSavingAdjust(new Date(R.getFullYear(),R.getMonth(),R.getDate())),Y=this._get(t,"isRTL"),B=this._get(t,"showButtonPanel"),J=this._get(t,"hideIfNoPrevNext"),Q=this._get(t,"navigationAsDateFormat"),K=this._getNumberOfMonths(t),V=this._get(t,"showCurrentAtPos"),U=this._get(t,"stepMonths"),q=1!==K[0]||1!==K[1],X=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),G=this._getMinMaxDate(t,"min"),$=this._getMinMaxDate(t,"max"),Z=t.drawMonth-V,te=t.drawYear;if(0>Z&&(Z+=12,te--),$)for(e=this._daylightSavingAdjust(new Date($.getFullYear(),$.getMonth()-K[0]*K[1]+1,$.getDate())),e=G&&G>e?G:e;this._daylightSavingAdjust(new Date(te,Z,1))>e;)Z--,0>Z&&(Z=11,te--);for(t.drawMonth=Z,t.drawYear=te,i=this._get(t,"prevText"),i=Q?this.formatDate(i,this._daylightSavingAdjust(new Date(te,Z-U,1)),this._getFormatConfig(t)):i,s=this._canAdjustMonth(t,-1,te,Z)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")+"'>"+i+"</span></a>":J?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"e":"w")+"'>"+i+"</span></a>",n=this._get(t,"nextText"),n=Q?this.formatDate(n,this._daylightSavingAdjust(new Date(te,Z+U,1)),this._getFormatConfig(t)):n,a=this._canAdjustMonth(t,1,te,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+n+"</span></a>":J?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(Y?"w":"e")+"'>"+n+"</span></a>",r=this._get(t,"currentText"),o=this._get(t,"gotoCurrent")&&t.currentDay?X:L,r=Q?this.formatDate(r,o,this._getFormatConfig(t)):r,h=t.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(t,"closeText")+"</button>",l=B?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(Y?h:"")+(this._isInRange(t,o)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+r+"</button>":"")+(Y?"":h)+"</div>":"",c=parseInt(this._get(t,"firstDay"),10),c=isNaN(c)?0:c,u=this._get(t,"showWeek"),d=this._get(t,"dayNames"),p=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),m=this._get(t,"monthNamesShort"),g=this._get(t,"beforeShowDay"),v=this._get(t,"showOtherMonths"),_=this._get(t,"selectOtherMonths"),b=this._getDefaultDate(t),y="",k=0;K[0]>k;k++){for(x="",this.maxRows=4,D=0;K[1]>D;D++){if(T=this._daylightSavingAdjust(new Date(te,Z,t.selectedDay)),C=" ui-corner-all",S="",q){if(S+="<div class='ui-datepicker-group",K[1]>1)switch(D){case 0:S+=" ui-datepicker-group-first",C=" ui-corner-"+(Y?"right":"left");break;case K[1]-1:S+=" ui-datepicker-group-last",C=" ui-corner-"+(Y?"left":"right");break;default:S+=" ui-datepicker-group-middle",C=""}S+="'>"}for(S+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+C+"'>"+(/all|left/.test(C)&&0===k?Y?a:s:"")+(/all|right/.test(C)&&0===k?Y?s:a:"")+this._generateMonthYearHeader(t,Z,te,G,$,k>0||D>0,f,m)+"</div><table class='ui-datepicker-calendar'><thead>"+"<tr>",M=u?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",w=0;7>w;w++)N=(w+c)%7,M+="<th"+((w+c+6)%7>=5?" class='ui-datepicker-week-end'":"")+">"+"<span title='"+d[N]+"'>"+p[N]+"</span></th>";for(S+=M+"</tr></thead><tbody>",I=this._getDaysInMonth(te,Z),te===t.selectedYear&&Z===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,I)),P=(this._getFirstDayOfMonth(te,Z)-c+7)%7,A=Math.ceil((P+I)/7),z=q?this.maxRows>A?this.maxRows:A:A,this.maxRows=z,H=this._daylightSavingAdjust(new Date(te,Z,1-P)),E=0;z>E;E++){for(S+="<tr>",F=u?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(H)+"</td>":"",w=0;7>w;w++)O=g?g.apply(t.input?t.input[0]:null,[H]):[!0,""],W=H.getMonth()!==Z,j=W&&!_||!O[0]||G&&G>H||$&&H>$,F+="<td class='"+((w+c+6)%7>=5?" ui-datepicker-week-end":"")+(W?" ui-datepicker-other-month":"")+(H.getTime()===T.getTime()&&Z===t.selectedMonth&&t._keyEvent||b.getTime()===H.getTime()&&b.getTime()===T.getTime()?" "+this._dayOverClass:"")+(j?" "+this._unselectableClass+" ui-state-disabled":"")+(W&&!v?"":" "+O[1]+(H.getTime()===X.getTime()?" "+this._currentClass:"")+(H.getTime()===L.getTime()?" ui-datepicker-today":""))+"'"+(W&&!v||!O[2]?"":" title='"+O[2].replace(/'/g,"&#39;")+"'")+(j?"":" data-handler='selectDay' data-event='click' data-month='"+H.getMonth()+"' data-year='"+H.getFullYear()+"'")+">"+(W&&!v?"&#xa0;":j?"<span class='ui-state-default'>"+H.getDate()+"</span>":"<a class='ui-state-default"+(H.getTime()===L.getTime()?" ui-state-highlight":"")+(H.getTime()===X.getTime()?" ui-state-active":"")+(W?" ui-priority-secondary":"")+"' href='#'>"+H.getDate()+"</a>")+"</td>",H.setDate(H.getDate()+1),H=this._daylightSavingAdjust(H);S+=F+"</tr>"}Z++,Z>11&&(Z=0,te++),S+="</tbody></table>"+(q?"</div>"+(K[0]>0&&D===K[1]-1?"<div class='ui-datepicker-row-break'></div>":""):""),x+=S}y+=x}return y+=l,t._keyEvent=!1,y},_generateMonthYearHeader:function(t,e,i,s,n,a,r,o){var h,l,c,u,d,p,f,m,g=this._get(t,"changeMonth"),v=this._get(t,"changeYear"),_=this._get(t,"showMonthAfterYear"),b="<div class='ui-datepicker-title'>",y="";if(a||!g)y+="<span class='ui-datepicker-month'>"+r[e]+"</span>";else{for(h=s&&s.getFullYear()===i,l=n&&n.getFullYear()===i,y+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",c=0;12>c;c++)(!h||c>=s.getMonth())&&(!l||n.getMonth()>=c)&&(y+="<option value='"+c+"'"+(c===e?" selected='selected'":"")+">"+o[c]+"</option>");
+y+="</select>"}if(_||(b+=y+(!a&&g&&v?"":"&#xa0;")),!t.yearshtml)if(t.yearshtml="",a||!v)b+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(u=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),p=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e},f=p(u[0]),m=Math.max(f,p(u[1]||"")),f=s?Math.max(f,s.getFullYear()):f,m=n?Math.min(m,n.getFullYear()):m,t.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";m>=f;f++)t.yearshtml+="<option value='"+f+"'"+(f===i?" selected='selected'":"")+">"+f+"</option>";t.yearshtml+="</select>",b+=t.yearshtml,t.yearshtml=null}return b+=this._get(t,"yearSuffix"),_&&(b+=(!a&&g&&v?"":"&#xa0;")+y),b+="</div>"},_adjustInstDate:function(t,e,i){var s=t.drawYear+("Y"===i?e:0),n=t.drawMonth+("M"===i?e:0),a=Math.min(t.selectedDay,this._getDaysInMonth(s,n))+("D"===i?e:0),r=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,n,a)));t.selectedDay=r.getDate(),t.drawMonth=t.selectedMonth=r.getMonth(),t.drawYear=t.selectedYear=r.getFullYear(),("M"===i||"Y"===i)&&this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),s=this._getMinMaxDate(t,"max"),n=i&&i>e?i:e;return s&&n>s?s:n},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,s){var n=this._getNumberOfMonths(t),a=this._daylightSavingAdjust(new Date(i,s+(0>e?e:n[0]*n[1]),1));return 0>e&&a.setDate(this._getDaysInMonth(a.getFullYear(),a.getMonth())),this._isInRange(t,a)},_isInRange:function(t,e){var i,s,n=this._getMinMaxDate(t,"min"),a=this._getMinMaxDate(t,"max"),r=null,o=null,h=this._get(t,"yearRange");return h&&(i=h.split(":"),s=(new Date).getFullYear(),r=parseInt(i[0],10),o=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(r+=s),i[1].match(/[+\-].*/)&&(o+=s)),(!n||e.getTime()>=n.getTime())&&(!a||e.getTime()<=a.getTime())&&(!r||e.getFullYear()>=r)&&(!o||o>=e.getFullYear())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),{shortYearCutoff:e,dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var n=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(s,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),n,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).mousedown(t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)}):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new i,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.10.2",window["DP_jQuery_"+o]=t})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.dialog.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.dialog.min.js
new file mode 100644 (file)
index 0000000..e563533
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){var e={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},i={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};t.widget("ui.dialog",{version:"1.10.2",options:{appendTo:"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var i=t(this).css(e).offset().top;0>i&&t(this).css("top",e.top-i)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title=this.options.title||this.originalTitle,this._createWrapper(),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?t(e):this.document.find(e||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._destroyOverlay(),this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),t=e.parent.children().eq(e.index),t.length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(e){var i=this;this._isOpen&&this._trigger("beforeClose",e)!==!1&&(this._isOpen=!1,this._destroyOverlay(),this.opener.filter(":focusable").focus().length||t(this.document[0].activeElement).blur(),this._hide(this.uiDialog,this.options.hide,function(){i._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,e){var i=!!this.uiDialog.nextAll(":visible").insertBefore(this.uiDialog).length;return i&&!e&&this._trigger("focus",t),i},open:function(){var e=this;return this._isOpen?(this._moveToTop()&&this._focusTabbable(),undefined):(this._isOpen=!0,this.opener=t(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._trigger("open"),undefined)},_focusTabbable:function(){var t=this.element.find("[autofocus]");t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).focus()},_keepFocus:function(e){function i(){var e=this.document[0].activeElement,i=this.uiDialog[0]===e||t.contains(this.uiDialog[0],e);i||this._focusTabbable()}e.preventDefault(),i.call(this),this._delay(i)},_createWrapper:function(){this.uiDialog=t("<div>").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE)return e.preventDefault(),this.close(e),undefined;if(e.keyCode===t.ui.keyCode.TAB){var i=this.uiDialog.find(":tabbable"),s=i.filter(":first"),n=i.filter(":last");e.target!==n[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==s[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(n.focus(1),e.preventDefault()):(s.focus(1),e.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=t("<div>").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(e){t(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=t("<button></button>").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("<span>").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(e),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title||t.html("&#160;"),t.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=t("<div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("<div>").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var e=this,i=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(i)||t.isArray(i)&&!i.length?(this.uiDialog.removeClass("ui-dialog-buttons"),undefined):(t.each(i,function(i,s){var n,a;s=t.isFunction(s)?{click:s,text:i}:s,s=t.extend({type:"button"},s),n=s.click,s.click=function(){n.apply(e.element[0],arguments)},a={icons:s.icons,text:s.showText},delete s.icons,delete s.showText,t("<button></button>",s).button(a).appendTo(e.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog),undefined)},_makeDraggable:function(){function e(t){return{position:t.position,offset:t.offset}}var i=this,s=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(s,n){t(this).addClass("ui-dialog-dragging"),i._blockFrames(),i._trigger("dragStart",s,e(n))},drag:function(t,s){i._trigger("drag",t,e(s))},stop:function(n,a){s.position=[a.position.left-i.document.scrollLeft(),a.position.top-i.document.scrollTop()],t(this).removeClass("ui-dialog-dragging"),i._unblockFrames(),i._trigger("dragStop",n,e(a))}})},_makeResizable:function(){function e(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}var i=this,s=this.options,n=s.resizable,a=this.uiDialog.css("position"),o="string"==typeof n?n:"n,e,s,w,se,sw,ne,nw";this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:this._minHeight(),handles:o,start:function(s,n){t(this).addClass("ui-dialog-resizing"),i._blockFrames(),i._trigger("resizeStart",s,e(n))},resize:function(t,s){i._trigger("resize",t,e(s))},stop:function(n,a){s.height=t(this).height(),s.width=t(this).width(),t(this).removeClass("ui-dialog-resizing"),i._unblockFrames(),i._trigger("resizeStop",n,e(a))}}).css("position",a)},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(s){var n=this,a=!1,o={};t.each(s,function(t,s){n._setOption(t,s),t in e&&(a=!0),t in i&&(o[t]=s)}),a&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",o)},_setOption:function(t,e){var i,s,n=this.uiDialog;"dialogClass"===t&&n.removeClass(this.options.dialogClass).addClass(e),"disabled"!==t&&(this._super(t,e),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:""+e}),"draggable"===t&&(i=n.is(":data(ui-draggable)"),i&&!e&&n.draggable("destroy"),!i&&e&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&(s=n.is(":data(ui-resizable)"),s&&!e&&n.resizable("destroy"),s&&"string"==typeof e&&n.resizable("option","handles",e),s||e===!1||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,s=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),s.minWidth>s.width&&(s.width=s.minWidth),t=this.uiDialog.css({height:"auto",width:s.width}).outerHeight(),e=Math.max(0,s.minHeight-t),i="number"==typeof s.maxHeight?Math.max(0,s.maxHeight-t):"none","auto"===s.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,s.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=t(this);return t("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return t(e.target).closest(".ui-dialog").length?!0:!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=this,i=this.widgetFullName;t.ui.dialog.overlayInstances||this._delay(function(){t.ui.dialog.overlayInstances&&this.document.bind("focusin.dialog",function(s){e._allowInteraction(s)||(s.preventDefault(),t(".ui-dialog:visible:last .ui-dialog-content").data(i)._focusTabbable())})}),this.overlay=t("<div>").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),t.ui.dialog.overlayInstances++}},_destroyOverlay:function(){this.options.modal&&this.overlay&&(t.ui.dialog.overlayInstances--,t.ui.dialog.overlayInstances||this.document.unbind("focusin.dialog"),this.overlay.remove(),this.overlay=null)}}),t.ui.dialog.overlayInstances=0,t.uiBackCompat!==!1&&t.widget("ui.dialog",t.ui.dialog,{_position:function(){var e,i=this.options.position,s=[],n=[0,0];i?(("string"==typeof i||"object"==typeof i&&"0"in i)&&(s=i.split?i.split(" "):[i[0],i[1]],1===s.length&&(s[1]=s[0]),t.each(["left","top"],function(t,e){+s[t]===s[t]&&(n[t]=s[t],s[t]=e)}),i={my:s[0]+(0>n[0]?n[0]:"+"+n[0])+" "+s[1]+(0>n[1]?n[1]:"+"+n[1]),at:s.join(" ")}),i=t.extend({},t.ui.dialog.prototype.options.position,i)):i=t.ui.dialog.prototype.options.position,e=this.uiDialog.is(":visible"),e||this.uiDialog.show(),this.uiDialog.position(i),e||this.uiDialog.hide()}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.draggable.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.draggable.min.js
new file mode 100644 (file)
index 0000000..7b9eff8
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(e){e.widget("ui.draggable",e.ui.mouse,{version:"1.10.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"!==this.options.helper||/^(?: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(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(t){var i=this.options;return this.helper||i.disabled||e(t.target).closest(".ui-resizable-handle").length>0?!1:(this.handle=this._getHandle(t),this.handle?(e(i.iframeFix===!0?"iframe":i.iframeFix).each(function(){e("<div class='ui-draggable-iframeFix' style='background: #fff;'></div>").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(e(this).offset()).appendTo("body")}),!0):!1)},_mouseStart:function(t){var i=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),e.ui.ddmanager&&(e.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},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,i.cursorAt&&this._adjustOffsetFromHelper(i.cursorAt),i.containment&&this._setContainment(),this._trigger("start",t)===!1?(this._clear(),!1):(this._cacheHelperProportions(),e.ui.ddmanager&&!i.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),e.ui.ddmanager&&e.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,i){if(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),!i){var s=this._uiHash();if(this._trigger("drag",t,s)===!1)return this._mouseUp({}),!1;this.position=s.position}return this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var i,s=this,n=!1,a=!1;for(e.ui.ddmanager&&!this.options.dropBehaviour&&(a=e.ui.ddmanager.drop(this,t)),this.dropped&&(a=this.dropped,this.dropped=!1),i=this.element[0];i&&(i=i.parentNode);)i===document&&(n=!0);return n||"original"!==this.options.helper?("invalid"===this.options.revert&&!a||"valid"===this.options.revert&&a||this.options.revert===!0||e.isFunction(this.options.revert)&&this.options.revert.call(this.element,a)?e(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){s._trigger("stop",t)!==!1&&s._clear()}):this._trigger("stop",t)!==!1&&this._clear(),!1):!1},_mouseUp:function(t){return e("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),e.ui.ddmanager&&e.ui.ddmanager.dragStop(this,t),e.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){return this.options.handle?!!e(t.target).closest(this.element.find(this.options.handle)).length:!0},_createHelper:function(t){var i=this.options,s=e.isFunction(i.helper)?e(i.helper.apply(this.element[0],[t])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return s.parents("body").length||s.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),s[0]===this.element[0]||/(fixed|absolute)/.test(s.css("position"))||s.css("position","absolute"),s},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),e.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&e.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&e.ui.ie)&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var e=this.element.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}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,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,i,s,n=this.options;if("parent"===n.containment&&(n.containment=this.helper[0].parentNode),("document"===n.containment||"window"===n.containment)&&(this.containment=["document"===n.containment?0:e(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,"document"===n.containment?0:e(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,("document"===n.containment?0:e(window).scrollLeft())+e("document"===n.containment?document:window).width()-this.helperProportions.width-this.margins.left,("document"===n.containment?0:e(window).scrollTop())+(e("document"===n.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||n.containment.constructor===Array)n.containment.constructor===Array&&(this.containment=n.containment);else{if(i=e(n.containment),s=i[0],!s)return;t="hidden"!==e(s).css("overflow"),this.containment=[(parseInt(e(s).css("borderLeftWidth"),10)||0)+(parseInt(e(s).css("paddingLeft"),10)||0),(parseInt(e(s).css("borderTopWidth"),10)||0)+(parseInt(e(s).css("paddingTop"),10)||0),(t?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(e(s).css("borderRightWidth"),10)||0)-(parseInt(e(s).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(e(s).css("borderBottomWidth"),10)||0)-(parseInt(e(s).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=i}},_convertPositionTo:function(t,i){i||(i=this.position);var s="absolute"===t?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,a=/(html|body)/i.test(n[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():a?0:n.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():a?0:n.scrollLeft())*s}},_generatePosition:function(t){var i,s,n,a,o=this.options,r="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&e.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(r[0].tagName),l=t.pageX,u=t.pageY;return this.originalPosition&&(this.containment&&(this.relative_container?(s=this.relative_container.offset(),i=[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):i=this.containment,t.pageX-this.offset.click.left<i[0]&&(l=i[0]+this.offset.click.left),t.pageY-this.offset.click.top<i[1]&&(u=i[1]+this.offset.click.top),t.pageX-this.offset.click.left>i[2]&&(l=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(u=i[3]+this.offset.click.top)),o.grid&&(n=o.grid[1]?this.originalPageY+Math.round((u-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY,u=i?n-this.offset.click.top>=i[1]||n-this.offset.click.top>i[3]?n:n-this.offset.click.top>=i[1]?n-o.grid[1]:n+o.grid[1]:n,a=o.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX,l=i?a-this.offset.click.left>=i[0]||a-this.offset.click.left>i[2]?a:a-this.offset.click.left>=i[0]?a-o.grid[0]:a+o.grid[0]:a)),{top:u-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():h?0:r.scrollTop()),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():h?0:r.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(t,i,s){return s=s||this._uiHash(),e.ui.plugin.call(this,t,[i,s]),"drag"===t&&(this.positionAbs=this._convertPositionTo("absolute")),e.Widget.prototype._trigger.call(this,t,i,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),e.ui.plugin.add("draggable","connectToSortable",{start:function(t,i){var s=e(this).data("ui-draggable"),n=s.options,a=e.extend({},i,{item:s.element});s.sortables=[],e(n.connectToSortable).each(function(){var i=e.data(this,"ui-sortable");i&&!i.options.disabled&&(s.sortables.push({instance:i,shouldRevert:i.options.revert}),i.refreshPositions(),i._trigger("activate",t,a))})},stop:function(t,i){var s=e(this).data("ui-draggable"),n=e.extend({},i,{item:s.element});e.each(s.sortables,function(){this.instance.isOver?(this.instance.isOver=0,s.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=this.shouldRevert),this.instance._mouseStop(t),this.instance.options.helper=this.instance.options._helper,"original"===s.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",t,n))})},drag:function(t,i){var s=e(this).data("ui-draggable"),n=this;e.each(s.sortables,function(){var a=!1,o=this;this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(a=!0,e.each(s.sortables,function(){return this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this!==o&&this.instance._intersectsWith(this.instance.containerCache)&&e.contains(o.instance.element[0],this.instance.element[0])&&(a=!1),a})),a?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=e(n).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return i.helper[0]},t.target=this.instance.currentItem[0],this.instance._mouseCapture(t,!0),this.instance._mouseStart(t,!0,!0),this.instance.offset.click.top=s.offset.click.top,this.instance.offset.click.left=s.offset.click.left,this.instance.offset.parent.left-=s.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=s.offset.parent.top-this.instance.offset.parent.top,s._trigger("toSortable",t),s.dropped=this.instance.element,s.currentItem=s.element,this.instance.fromOutside=s),this.instance.currentItem&&this.instance._mouseDrag(t)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",t,this.instance._uiHash(this.instance)),this.instance._mouseStop(t,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),s._trigger("fromSortable",t),s.dropped=!1)})}}),e.ui.plugin.add("draggable","cursor",{start:function(){var t=e("body"),i=e(this).data("ui-draggable").options;t.css("cursor")&&(i._cursor=t.css("cursor")),t.css("cursor",i.cursor)},stop:function(){var t=e(this).data("ui-draggable").options;t._cursor&&e("body").css("cursor",t._cursor)}}),e.ui.plugin.add("draggable","opacity",{start:function(t,i){var s=e(i.helper),n=e(this).data("ui-draggable").options;s.css("opacity")&&(n._opacity=s.css("opacity")),s.css("opacity",n.opacity)},stop:function(t,i){var s=e(this).data("ui-draggable").options;s._opacity&&e(i.helper).css("opacity",s._opacity)}}),e.ui.plugin.add("draggable","scroll",{start:function(){var t=e(this).data("ui-draggable");t.scrollParent[0]!==document&&"HTML"!==t.scrollParent[0].tagName&&(t.overflowOffset=t.scrollParent.offset())},drag:function(t){var i=e(this).data("ui-draggable"),s=i.options,n=!1;i.scrollParent[0]!==document&&"HTML"!==i.scrollParent[0].tagName?(s.axis&&"x"===s.axis||(i.overflowOffset.top+i.scrollParent[0].offsetHeight-t.pageY<s.scrollSensitivity?i.scrollParent[0].scrollTop=n=i.scrollParent[0].scrollTop+s.scrollSpeed:t.pageY-i.overflowOffset.top<s.scrollSensitivity&&(i.scrollParent[0].scrollTop=n=i.scrollParent[0].scrollTop-s.scrollSpeed)),s.axis&&"y"===s.axis||(i.overflowOffset.left+i.scrollParent[0].offsetWidth-t.pageX<s.scrollSensitivity?i.scrollParent[0].scrollLeft=n=i.scrollParent[0].scrollLeft+s.scrollSpeed:t.pageX-i.overflowOffset.left<s.scrollSensitivity&&(i.scrollParent[0].scrollLeft=n=i.scrollParent[0].scrollLeft-s.scrollSpeed))):(s.axis&&"x"===s.axis||(t.pageY-e(document).scrollTop()<s.scrollSensitivity?n=e(document).scrollTop(e(document).scrollTop()-s.scrollSpeed):e(window).height()-(t.pageY-e(document).scrollTop())<s.scrollSensitivity&&(n=e(document).scrollTop(e(document).scrollTop()+s.scrollSpeed))),s.axis&&"y"===s.axis||(t.pageX-e(document).scrollLeft()<s.scrollSensitivity?n=e(document).scrollLeft(e(document).scrollLeft()-s.scrollSpeed):e(window).width()-(t.pageX-e(document).scrollLeft())<s.scrollSensitivity&&(n=e(document).scrollLeft(e(document).scrollLeft()+s.scrollSpeed)))),n!==!1&&e.ui.ddmanager&&!s.dropBehaviour&&e.ui.ddmanager.prepareOffsets(i,t)}}),e.ui.plugin.add("draggable","snap",{start:function(){var t=e(this).data("ui-draggable"),i=t.options;t.snapElements=[],e(i.snap.constructor!==String?i.snap.items||":data(ui-draggable)":i.snap).each(function(){var i=e(this),s=i.offset();this!==t.element[0]&&t.snapElements.push({item:this,width:i.outerWidth(),height:i.outerHeight(),top:s.top,left:s.left})})},drag:function(t,i){var s,n,a,o,r,h,l,u,c,d,p=e(this).data("ui-draggable"),f=p.options,m=f.snapTolerance,g=i.offset.left,v=g+p.helperProportions.width,y=i.offset.top,b=y+p.helperProportions.height;for(c=p.snapElements.length-1;c>=0;c--)r=p.snapElements[c].left,h=r+p.snapElements[c].width,l=p.snapElements[c].top,u=l+p.snapElements[c].height,g>r-m&&h+m>g&&y>l-m&&u+m>y||g>r-m&&h+m>g&&b>l-m&&u+m>b||v>r-m&&h+m>v&&y>l-m&&u+m>y||v>r-m&&h+m>v&&b>l-m&&u+m>b?("inner"!==f.snapMode&&(s=m>=Math.abs(l-b),n=m>=Math.abs(u-y),a=m>=Math.abs(r-v),o=m>=Math.abs(h-g),s&&(i.position.top=p._convertPositionTo("relative",{top:l-p.helperProportions.height,left:0}).top-p.margins.top),n&&(i.position.top=p._convertPositionTo("relative",{top:u,left:0}).top-p.margins.top),a&&(i.position.left=p._convertPositionTo("relative",{top:0,left:r-p.helperProportions.width}).left-p.margins.left),o&&(i.position.left=p._convertPositionTo("relative",{top:0,left:h}).left-p.margins.left)),d=s||n||a||o,"outer"!==f.snapMode&&(s=m>=Math.abs(l-y),n=m>=Math.abs(u-b),a=m>=Math.abs(r-g),o=m>=Math.abs(h-v),s&&(i.position.top=p._convertPositionTo("relative",{top:l,left:0}).top-p.margins.top),n&&(i.position.top=p._convertPositionTo("relative",{top:u-p.helperProportions.height,left:0}).top-p.margins.top),a&&(i.position.left=p._convertPositionTo("relative",{top:0,left:r}).left-p.margins.left),o&&(i.position.left=p._convertPositionTo("relative",{top:0,left:h-p.helperProportions.width}).left-p.margins.left)),!p.snapElements[c].snapping&&(s||n||a||o||d)&&p.options.snap.snap&&p.options.snap.snap.call(p.element,t,e.extend(p._uiHash(),{snapItem:p.snapElements[c].item})),p.snapElements[c].snapping=s||n||a||o||d):(p.snapElements[c].snapping&&p.options.snap.release&&p.options.snap.release.call(p.element,t,e.extend(p._uiHash(),{snapItem:p.snapElements[c].item})),p.snapElements[c].snapping=!1)}}),e.ui.plugin.add("draggable","stack",{start:function(){var t,i=this.data("ui-draggable").options,s=e.makeArray(e(i.stack)).sort(function(t,i){return(parseInt(e(t).css("zIndex"),10)||0)-(parseInt(e(i).css("zIndex"),10)||0)});s.length&&(t=parseInt(e(s[0]).css("zIndex"),10)||0,e(s).each(function(i){e(this).css("zIndex",t+i)}),this.css("zIndex",t+s.length))}}),e.ui.plugin.add("draggable","zIndex",{start:function(t,i){var s=e(i.helper),n=e(this).data("ui-draggable").options;s.css("zIndex")&&(n._zIndex=s.css("zIndex")),s.css("zIndex",n.zIndex)},stop:function(t,i){var s=e(this).data("ui-draggable").options;s._zIndex&&e(i.helper).css("zIndex",s._zIndex)}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.droppable.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.droppable.min.js
new file mode 100644 (file)
index 0000000..4e50774
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(e){function t(e,t,i){return e>t&&t+i>e}e.widget("ui.droppable",{version:"1.10.2",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t=this.options,i=t.accept;this.isover=!1,this.isout=!0,this.accept=e.isFunction(i)?i:function(e){return e.is(i)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},e.ui.ddmanager.droppables[t.scope]=e.ui.ddmanager.droppables[t.scope]||[],e.ui.ddmanager.droppables[t.scope].push(this),t.addClasses&&this.element.addClass("ui-droppable")},_destroy:function(){for(var t=0,i=e.ui.ddmanager.droppables[this.options.scope];i.length>t;t++)i[t]===this&&i.splice(t,1);this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(t,i){"accept"===t&&(this.accept=e.isFunction(i)?i:function(e){return e.is(i)}),e.Widget.prototype._setOption.apply(this,arguments)},_activate:function(t){var i=e.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),i&&this._trigger("activate",t,this.ui(i))},_deactivate:function(t){var i=e.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),i&&this._trigger("deactivate",t,this.ui(i))},_over:function(t){var i=e.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",t,this.ui(i)))},_out:function(t){var i=e.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",t,this.ui(i)))},_drop:function(t,i){var s=i||e.ui.ddmanager.current,n=!1;return s&&(s.currentItem||s.element)[0]!==this.element[0]?(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var t=e.data(this,"ui-droppable");return t.options.greedy&&!t.options.disabled&&t.options.scope===s.options.scope&&t.accept.call(t.element[0],s.currentItem||s.element)&&e.ui.intersect(s,e.extend(t,{offset:t.element.offset()}),t.options.tolerance)?(n=!0,!1):undefined}),n?!1:this.accept.call(this.element[0],s.currentItem||s.element)?(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",t,this.ui(s)),this.element):!1):!1},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}}}),e.ui.intersect=function(e,i,s){if(!i.offset)return!1;var n,a,o=(e.positionAbs||e.position.absolute).left,r=o+e.helperProportions.width,h=(e.positionAbs||e.position.absolute).top,l=h+e.helperProportions.height,u=i.offset.left,c=u+i.proportions.width,d=i.offset.top,p=d+i.proportions.height;switch(s){case"fit":return o>=u&&c>=r&&h>=d&&p>=l;case"intersect":return o+e.helperProportions.width/2>u&&c>r-e.helperProportions.width/2&&h+e.helperProportions.height/2>d&&p>l-e.helperProportions.height/2;case"pointer":return n=(e.positionAbs||e.position.absolute).left+(e.clickOffset||e.offset.click).left,a=(e.positionAbs||e.position.absolute).top+(e.clickOffset||e.offset.click).top,t(a,d,i.proportions.height)&&t(n,u,i.proportions.width);case"touch":return(h>=d&&p>=h||l>=d&&p>=l||d>h&&l>p)&&(o>=u&&c>=o||r>=u&&c>=r||u>o&&r>c);default:return!1}},e.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(t,i){var s,n,a=e.ui.ddmanager.droppables[t.options.scope]||[],o=i?i.type:null,r=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();e:for(s=0;a.length>s;s++)if(!(a[s].options.disabled||t&&!a[s].accept.call(a[s].element[0],t.currentItem||t.element))){for(n=0;r.length>n;n++)if(r[n]===a[s].element[0]){a[s].proportions.height=0;continue e}a[s].visible="none"!==a[s].element.css("display"),a[s].visible&&("mousedown"===o&&a[s]._activate.call(a[s],i),a[s].offset=a[s].element.offset(),a[s].proportions={width:a[s].element[0].offsetWidth,height:a[s].element[0].offsetHeight})}},drop:function(t,i){var s=!1;return e.each((e.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&e.ui.intersect(t,this,this.options.tolerance)&&(s=this._drop.call(this,i)||s),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,i)))}),s},dragStart:function(t,i){t.element.parentsUntil("body").bind("scroll.droppable",function(){t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,i)})},drag:function(t,i){t.options.refreshPositions&&e.ui.ddmanager.prepareOffsets(t,i),e.each(e.ui.ddmanager.droppables[t.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var s,n,a,o=e.ui.intersect(t,this,this.options.tolerance),r=!o&&this.isover?"isout":o&&!this.isover?"isover":null;r&&(this.options.greedy&&(n=this.options.scope,a=this.element.parents(":data(ui-droppable)").filter(function(){return e.data(this,"ui-droppable").options.scope===n}),a.length&&(s=e.data(a[0],"ui-droppable"),s.greedyChild="isover"===r)),s&&"isover"===r&&(s.isover=!1,s.isout=!0,s._out.call(s,i)),this[r]=!0,this["isout"===r?"isover":"isout"]=!1,this["isover"===r?"_over":"_out"].call(this,i),s&&"isout"===r&&(s.isout=!1,s.isover=!0,s._over.call(s,i)))}})},dragStop:function(t,i){t.element.parentsUntil("body").unbind("scroll.droppable"),t.options.refreshPositions||e.ui.ddmanager.prepareOffsets(t,i)}}})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-blind.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-blind.min.js
new file mode 100644 (file)
index 0000000..4a6b400
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){var e=/up|down|vertical/,i=/up|left|vertical|horizontal/;t.effects.effect.blind=function(s,n){var a,o,r,h=t(this),l=["position","top","bottom","left","right","height","width"],c=t.effects.setMode(h,s.mode||"hide"),u=s.direction||"up",d=e.test(u),p=d?"height":"width",f=d?"top":"left",m=i.test(u),g={},v="show"===c;h.parent().is(".ui-effects-wrapper")?t.effects.save(h.parent(),l):t.effects.save(h,l),h.show(),a=t.effects.createWrapper(h).css({overflow:"hidden"}),o=a[p](),r=parseFloat(a.css(f))||0,g[p]=v?o:0,m||(h.css(d?"bottom":"right",0).css(d?"top":"left","auto").css({position:"absolute"}),g[f]=v?r:o+r),v&&(a.css(p,0),m||a.css(f,r+o)),a.animate(g,{duration:s.duration,easing:s.easing,queue:!1,complete:function(){"hide"===c&&h.hide(),t.effects.restore(h,l),t.effects.removeWrapper(h),n()}})}})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-bounce.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-bounce.min.js
new file mode 100644 (file)
index 0000000..69aa006
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){t.effects.effect.bounce=function(e,i){var s,n,a,o=t(this),r=["position","top","bottom","left","right","height","width"],h=t.effects.setMode(o,e.mode||"effect"),l="hide"===h,c="show"===h,u=e.direction||"up",d=e.distance,p=e.times||5,f=2*p+(c||l?1:0),m=e.duration/f,g=e.easing,v="up"===u||"down"===u?"top":"left",_="up"===u||"left"===u,b=o.queue(),y=b.length;for((c||l)&&r.push("opacity"),t.effects.save(o,r),o.show(),t.effects.createWrapper(o),d||(d=o["top"===v?"outerHeight":"outerWidth"]()/3),c&&(a={opacity:1},a[v]=0,o.css("opacity",0).css(v,_?2*-d:2*d).animate(a,m,g)),l&&(d/=Math.pow(2,p-1)),a={},a[v]=0,s=0;p>s;s++)n={},n[v]=(_?"-=":"+=")+d,o.animate(n,m,g).animate(a,m,g),d=l?2*d:d/2;l&&(n={opacity:0},n[v]=(_?"-=":"+=")+d,o.animate(n,m,g)),o.queue(function(){l&&o.hide(),t.effects.restore(o,r),t.effects.removeWrapper(o),i()}),y>1&&b.splice.apply(b,[1,0].concat(b.splice(y,f+1))),o.dequeue()}})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-clip.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-clip.min.js
new file mode 100644 (file)
index 0000000..f0ec8b8
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){t.effects.effect.clip=function(e,i){var s,n,a,o=t(this),r=["position","top","bottom","left","right","height","width"],h=t.effects.setMode(o,e.mode||"hide"),l="show"===h,c=e.direction||"vertical",u="vertical"===c,d=u?"height":"width",p=u?"top":"left",f={};t.effects.save(o,r),o.show(),s=t.effects.createWrapper(o).css({overflow:"hidden"}),n="IMG"===o[0].tagName?s:o,a=n[d](),l&&(n.css(d,0),n.css(p,a/2)),f[d]=l?a:0,f[p]=l?0:a/2,n.animate(f,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){l||o.hide(),t.effects.restore(o,r),t.effects.removeWrapper(o),i()}})}})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-drop.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-drop.min.js
new file mode 100644 (file)
index 0000000..6c5a002
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){t.effects.effect.drop=function(e,i){var s,n=t(this),a=["position","top","bottom","left","right","opacity","height","width"],o=t.effects.setMode(n,e.mode||"hide"),r="show"===o,h=e.direction||"left",l="up"===h||"down"===h?"top":"left",c="up"===h||"left"===h?"pos":"neg",u={opacity:r?1:0};t.effects.save(n,a),n.show(),t.effects.createWrapper(n),s=e.distance||n["top"===l?"outerHeight":"outerWidth"](!0)/2,r&&n.css("opacity",0).css(l,"pos"===c?-s:s),u[l]=(r?"pos"===c?"+=":"-=":"pos"===c?"-=":"+=")+s,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===o&&n.hide(),t.effects.restore(n,a),t.effects.removeWrapper(n),i()}})}})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-explode.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-explode.min.js
new file mode 100644 (file)
index 0000000..b6b3be8
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){t.effects.effect.explode=function(e,i){function s(){b.push(this),b.length===u*d&&n()}function n(){p.css({visibility:"visible"}),t(b).remove(),m||p.hide(),i()}var a,o,r,h,l,c,u=e.pieces?Math.round(Math.sqrt(e.pieces)):3,d=u,p=t(this),f=t.effects.setMode(p,e.mode||"hide"),m="show"===f,g=p.show().css("visibility","hidden").offset(),v=Math.ceil(p.outerWidth()/d),_=Math.ceil(p.outerHeight()/u),b=[];for(a=0;u>a;a++)for(h=g.top+a*_,c=a-(u-1)/2,o=0;d>o;o++)r=g.left+o*v,l=o-(d-1)/2,p.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-o*v,top:-a*_}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:v,height:_,left:r+(m?l*v:0),top:h+(m?c*_:0),opacity:m?0:1}).animate({left:r+(m?0:l*v),top:h+(m?0:c*_),opacity:m?1:0},e.duration||500,e.easing,s)}})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-fade.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-fade.min.js
new file mode 100644 (file)
index 0000000..2a2d1e2
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){t.effects.effect.fade=function(e,i){var s=t(this),n=t.effects.setMode(s,e.mode||"toggle");s.animate({opacity:n},{queue:!1,duration:e.duration,easing:e.easing,complete:i})}})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-fold.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-fold.min.js
new file mode 100644 (file)
index 0000000..b55ec6a
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){t.effects.effect.fold=function(e,i){var s,n,a=t(this),o=["position","top","bottom","left","right","height","width"],r=t.effects.setMode(a,e.mode||"hide"),h="show"===r,l="hide"===r,c=e.size||15,u=/([0-9]+)%/.exec(c),d=!!e.horizFirst,p=h!==d,f=p?["width","height"]:["height","width"],m=e.duration/2,g={},v={};t.effects.save(a,o),a.show(),s=t.effects.createWrapper(a).css({overflow:"hidden"}),n=p?[s.width(),s.height()]:[s.height(),s.width()],u&&(c=parseInt(u[1],10)/100*n[l?0:1]),h&&s.css(d?{height:0,width:c}:{height:c,width:0}),g[f[0]]=h?n[0]:c,v[f[1]]=h?n[1]:0,s.animate(g,m,e.easing).animate(v,m,e.easing,function(){l&&a.hide(),t.effects.restore(a,o),t.effects.removeWrapper(a),i()})}})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-highlight.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-highlight.min.js
new file mode 100644 (file)
index 0000000..500f99c
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){t.effects.effect.highlight=function(e,i){var s=t(this),n=["backgroundImage","backgroundColor","opacity"],a=t.effects.setMode(s,e.mode||"show"),o={backgroundColor:s.css("backgroundColor")};"hide"===a&&(o.opacity=0),t.effects.save(s,n),s.show().css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===a&&s.hide(),t.effects.restore(s,n),i()}})}})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-pulsate.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-pulsate.min.js
new file mode 100644 (file)
index 0000000..da7b9a4
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){t.effects.effect.pulsate=function(e,i){var s,n=t(this),a=t.effects.setMode(n,e.mode||"show"),o="show"===a,r="hide"===a,h=o||"hide"===a,l=2*(e.times||5)+(h?1:0),c=e.duration/l,u=0,d=n.queue(),p=d.length;for((o||!n.is(":visible"))&&(n.css("opacity",0).show(),u=1),s=1;l>s;s++)n.animate({opacity:u},c,e.easing),u=1-u;n.animate({opacity:u},c,e.easing),n.queue(function(){r&&n.hide(),i()}),p>1&&d.splice.apply(d,[1,0].concat(d.splice(p,l+1))),n.dequeue()}})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-scale.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-scale.min.js
new file mode 100644 (file)
index 0000000..f18ff0f
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){t.effects.effect.puff=function(e,i){var s=t(this),n=t.effects.setMode(s,e.mode||"hide"),a="hide"===n,o=parseInt(e.percent,10)||150,r=o/100,h={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()};t.extend(e,{effect:"scale",queue:!1,fade:!0,mode:n,complete:i,percent:a?o:100,from:a?h:{height:h.height*r,width:h.width*r,outerHeight:h.outerHeight*r,outerWidth:h.outerWidth*r}}),s.effect(e)},t.effects.effect.scale=function(e,i){var s=t(this),n=t.extend(!0,{},e),a=t.effects.setMode(s,e.mode||"effect"),o=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"hide"===a?0:100),r=e.direction||"both",h=e.origin,l={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()},c={y:"horizontal"!==r?o/100:1,x:"vertical"!==r?o/100:1};n.effect="size",n.queue=!1,n.complete=i,"effect"!==a&&(n.origin=h||["middle","center"],n.restore=!0),n.from=e.from||("show"===a?{height:0,width:0,outerHeight:0,outerWidth:0}:l),n.to={height:l.height*c.y,width:l.width*c.x,outerHeight:l.outerHeight*c.y,outerWidth:l.outerWidth*c.x},n.fade&&("show"===a&&(n.from.opacity=0,n.to.opacity=1),"hide"===a&&(n.from.opacity=1,n.to.opacity=0)),s.effect(n)},t.effects.effect.size=function(e,i){var s,n,a,o=t(this),r=["position","top","bottom","left","right","width","height","overflow","opacity"],h=["position","top","bottom","left","right","overflow","opacity"],l=["width","height","overflow"],c=["fontSize"],u=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],d=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],p=t.effects.setMode(o,e.mode||"effect"),f=e.restore||"effect"!==p,m=e.scale||"both",g=e.origin||["middle","center"],v=o.css("position"),_=f?r:h,b={height:0,width:0,outerHeight:0,outerWidth:0};"show"===p&&o.show(),s={height:o.height(),width:o.width(),outerHeight:o.outerHeight(),outerWidth:o.outerWidth()},"toggle"===e.mode&&"show"===p?(o.from=e.to||b,o.to=e.from||s):(o.from=e.from||("show"===p?b:s),o.to=e.to||("hide"===p?b:s)),a={from:{y:o.from.height/s.height,x:o.from.width/s.width},to:{y:o.to.height/s.height,x:o.to.width/s.width}},("box"===m||"both"===m)&&(a.from.y!==a.to.y&&(_=_.concat(u),o.from=t.effects.setTransition(o,u,a.from.y,o.from),o.to=t.effects.setTransition(o,u,a.to.y,o.to)),a.from.x!==a.to.x&&(_=_.concat(d),o.from=t.effects.setTransition(o,d,a.from.x,o.from),o.to=t.effects.setTransition(o,d,a.to.x,o.to))),("content"===m||"both"===m)&&a.from.y!==a.to.y&&(_=_.concat(c).concat(l),o.from=t.effects.setTransition(o,c,a.from.y,o.from),o.to=t.effects.setTransition(o,c,a.to.y,o.to)),t.effects.save(o,_),o.show(),t.effects.createWrapper(o),o.css("overflow","hidden").css(o.from),g&&(n=t.effects.getBaseline(g,s),o.from.top=(s.outerHeight-o.outerHeight())*n.y,o.from.left=(s.outerWidth-o.outerWidth())*n.x,o.to.top=(s.outerHeight-o.to.outerHeight)*n.y,o.to.left=(s.outerWidth-o.to.outerWidth)*n.x),o.css(o.from),("content"===m||"both"===m)&&(u=u.concat(["marginTop","marginBottom"]).concat(c),d=d.concat(["marginLeft","marginRight"]),l=r.concat(u).concat(d),o.find("*[width]").each(function(){var i=t(this),s={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};f&&t.effects.save(i,l),i.from={height:s.height*a.from.y,width:s.width*a.from.x,outerHeight:s.outerHeight*a.from.y,outerWidth:s.outerWidth*a.from.x},i.to={height:s.height*a.to.y,width:s.width*a.to.x,outerHeight:s.height*a.to.y,outerWidth:s.width*a.to.x},a.from.y!==a.to.y&&(i.from=t.effects.setTransition(i,u,a.from.y,i.from),i.to=t.effects.setTransition(i,u,a.to.y,i.to)),a.from.x!==a.to.x&&(i.from=t.effects.setTransition(i,d,a.from.x,i.from),i.to=t.effects.setTransition(i,d,a.to.x,i.to)),i.css(i.from),i.animate(i.to,e.duration,e.easing,function(){f&&t.effects.restore(i,l)})})),o.animate(o.to,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){0===o.to.opacity&&o.css("opacity",o.from.opacity),"hide"===p&&o.hide(),t.effects.restore(o,_),f||("static"===v?o.css({position:"relative",top:o.to.top,left:o.to.left}):t.each(["top","left"],function(t,e){o.css(e,function(e,i){var s=parseInt(i,10),n=t?o.to.left:o.to.top;return"auto"===i?n+"px":s+n+"px"})})),t.effects.removeWrapper(o),i()}})}})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-shake.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-shake.min.js
new file mode 100644 (file)
index 0000000..8919d0a
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){t.effects.effect.shake=function(e,i){var s,n=t(this),a=["position","top","bottom","left","right","height","width"],o=t.effects.setMode(n,e.mode||"effect"),r=e.direction||"left",h=e.distance||20,l=e.times||3,c=2*l+1,u=Math.round(e.duration/c),d="up"===r||"down"===r?"top":"left",p="up"===r||"left"===r,f={},m={},g={},v=n.queue(),_=v.length;for(t.effects.save(n,a),n.show(),t.effects.createWrapper(n),f[d]=(p?"-=":"+=")+h,m[d]=(p?"+=":"-=")+2*h,g[d]=(p?"-=":"+=")+2*h,n.animate(f,u,e.easing),s=1;l>s;s++)n.animate(m,u,e.easing).animate(g,u,e.easing);n.animate(m,u,e.easing).animate(f,u/2,e.easing).queue(function(){"hide"===o&&n.hide(),t.effects.restore(n,a),t.effects.removeWrapper(n),i()}),_>1&&v.splice.apply(v,[1,0].concat(v.splice(_,c+1))),n.dequeue()}})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-slide.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-slide.min.js
new file mode 100644 (file)
index 0000000..82a0767
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){t.effects.effect.slide=function(e,i){var s,n=t(this),a=["position","top","bottom","left","right","width","height"],o=t.effects.setMode(n,e.mode||"show"),r="show"===o,h=e.direction||"left",l="up"===h||"down"===h?"top":"left",c="up"===h||"left"===h,u={};t.effects.save(n,a),n.show(),s=e.distance||n["top"===l?"outerHeight":"outerWidth"](!0),t.effects.createWrapper(n).css({overflow:"hidden"}),r&&n.css(l,c?isNaN(s)?"-"+s:-s:s),u[l]=(r?c?"+=":"-=":c?"-=":"+=")+s,n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===o&&n.hide(),t.effects.restore(n,a),t.effects.removeWrapper(n),i()}})}})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-transfer.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect-transfer.min.js
new file mode 100644 (file)
index 0000000..0dd1718
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){t.effects.effect.transfer=function(e,i){var s=t(this),n=t(e.to),a="fixed"===n.css("position"),o=t("body"),r=a?o.scrollTop():0,h=a?o.scrollLeft():0,l=n.offset(),c={top:l.top-r,left:l.left-h,height:n.innerHeight(),width:n.innerWidth()},u=s.offset(),d=t("<div class='ui-effects-transfer'></div>").appendTo(document.body).addClass(e.className).css({top:u.top-r,left:u.left-h,height:s.innerHeight(),width:s.innerWidth(),position:a?"fixed":"absolute"}).animate(c,e.duration,e.easing,function(){d.remove(),i()})}})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.effect.min.js
new file mode 100644 (file)
index 0000000..1c5e52a
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t,e){var i="ui-effects-";t.effects={effect:{}},function(t,e){function i(t,e,i){var s=u[e.type]||{};return null==t?i||!e.def?null:e.def:(t=s.floor?~~t:parseFloat(t),isNaN(t)?e.def:s.mod?(t+s.mod)%s.mod:0>t?0:t>s.max?s.max:t)}function s(i){var s=l(),n=s._rgba=[];return i=i.toLowerCase(),f(h,function(t,a){var o,r=a.re.exec(i),h=r&&a.parse(r),l=a.space||"rgba";return h?(o=s[l](h),s[c[l].cache]=o[c[l].cache],n=s._rgba=o._rgba,!1):e}),n.length?("0,0,0,0"===n.join()&&t.extend(n,a.transparent),s):a[i]}function n(t,e,i){return i=(i+1)%1,1>6*i?t+6*(e-t)*i:1>2*i?e:2>3*i?t+6*(e-t)*(2/3-i):t}var a,o="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor",r=/^([\-+])=\s*(\d+\.?\d*)/,h=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],l=t.Color=function(e,i,s,n){return new t.Color.fn.parse(e,i,s,n)},c={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},u={"byte":{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},d=l.support={},p=t("<p>")[0],f=t.each;p.style.cssText="background-color:rgba(1,1,1,.5)",d.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(c,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),l.fn=t.extend(l.prototype,{parse:function(n,o,r,h){if(n===e)return this._rgba=[null,null,null,null],this;(n.jquery||n.nodeType)&&(n=t(n).css(o),o=e);var u=this,d=t.type(n),p=this._rgba=[];return o!==e&&(n=[n,o,r,h],d="array"),"string"===d?this.parse(s(n)||a._default):"array"===d?(f(c.rgba.props,function(t,e){p[e.idx]=i(n[e.idx],e)}),this):"object"===d?(n instanceof l?f(c,function(t,e){n[e.cache]&&(u[e.cache]=n[e.cache].slice())}):f(c,function(e,s){var a=s.cache;f(s.props,function(t,e){if(!u[a]&&s.to){if("alpha"===t||null==n[t])return;u[a]=s.to(u._rgba)}u[a][e.idx]=i(n[t],e,!0)}),u[a]&&0>t.inArray(null,u[a].slice(0,3))&&(u[a][3]=1,s.from&&(u._rgba=s.from(u[a])))}),this):e},is:function(t){var i=l(t),s=!0,n=this;return f(c,function(t,a){var o,r=i[a.cache];return r&&(o=n[a.cache]||a.to&&a.to(n._rgba)||[],f(a.props,function(t,i){return null!=r[i.idx]?s=r[i.idx]===o[i.idx]:e})),s}),s},_space:function(){var t=[],e=this;return f(c,function(i,s){e[s.cache]&&t.push(i)}),t.pop()},transition:function(t,e){var s=l(t),n=s._space(),a=c[n],o=0===this.alpha()?l("transparent"):this,r=o[a.cache]||a.to(o._rgba),h=r.slice();return s=s[a.cache],f(a.props,function(t,n){var a=n.idx,o=r[a],l=s[a],c=u[n.type]||{};null!==l&&(null===o?h[a]=l:(c.mod&&(l-o>c.mod/2?o+=c.mod:o-l>c.mod/2&&(o-=c.mod)),h[a]=i((l-o)*e+o,n)))}),this[n](h)},blend:function(e){if(1===this._rgba[3])return this;var i=this._rgba.slice(),s=i.pop(),n=l(e)._rgba;return l(t.map(i,function(t,e){return(1-s)*n[e]+s*t}))},toRgbaString:function(){var e="rgba(",i=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===i[3]&&(i.pop(),e="rgb("),e+i.join()+")"},toHslaString:function(){var e="hsla(",i=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&3>e&&(t=Math.round(100*t)+"%"),t});return 1===i[3]&&(i.pop(),e="hsl("),e+i.join()+")"},toHexString:function(e){var i=this._rgba.slice(),s=i.pop();return e&&i.push(~~(255*s)),"#"+t.map(i,function(t){return t=(t||0).toString(16),1===t.length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,c.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,s=t[0]/255,n=t[1]/255,a=t[2]/255,o=t[3],r=Math.max(s,n,a),h=Math.min(s,n,a),l=r-h,c=r+h,u=.5*c;return e=h===r?0:s===r?60*(n-a)/l+360:n===r?60*(a-s)/l+120:60*(s-n)/l+240,i=0===l?0:.5>=u?l/c:l/(2-c),[Math.round(e)%360,i,u,null==o?1:o]},c.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],s=t[2],a=t[3],o=.5>=s?s*(1+i):s+i-s*i,r=2*s-o;return[Math.round(255*n(r,o,e+1/3)),Math.round(255*n(r,o,e)),Math.round(255*n(r,o,e-1/3)),a]},f(c,function(s,n){var a=n.props,o=n.cache,h=n.to,c=n.from;l.fn[s]=function(s){if(h&&!this[o]&&(this[o]=h(this._rgba)),s===e)return this[o].slice();var n,r=t.type(s),u="array"===r||"object"===r?s:arguments,d=this[o].slice();return f(a,function(t,e){var s=u["object"===r?t:e.idx];null==s&&(s=d[e.idx]),d[e.idx]=i(s,e)}),c?(n=l(c(d)),n[o]=d,n):l(d)},f(a,function(e,i){l.fn[e]||(l.fn[e]=function(n){var a,o=t.type(n),h="alpha"===e?this._hsla?"hsla":"rgba":s,l=this[h](),c=l[i.idx];return"undefined"===o?c:("function"===o&&(n=n.call(this,c),o=t.type(n)),null==n&&i.empty?this:("string"===o&&(a=r.exec(n),a&&(n=c+parseFloat(a[2])*("+"===a[1]?1:-1))),l[i.idx]=n,this[h](l)))})})}),l.hook=function(e){var i=e.split(" ");f(i,function(e,i){t.cssHooks[i]={set:function(e,n){var a,o,r="";if("transparent"!==n&&("string"!==t.type(n)||(a=s(n)))){if(n=l(a||n),!d.rgba&&1!==n._rgba[3]){for(o="backgroundColor"===i?e.parentNode:e;(""===r||"transparent"===r)&&o&&o.style;)try{r=t.css(o,"backgroundColor"),o=o.parentNode}catch(h){}n=n.blend(r&&"transparent"!==r?r:"_default")}n=n.toRgbaString()}try{e.style[i]=n}catch(h){}}},t.fx.step[i]=function(e){e.colorInit||(e.start=l(e.elem,i),e.end=l(e.end),e.colorInit=!0),t.cssHooks[i].set(e.elem,e.start.transition(e.end,e.pos))}})},l.hook(o),t.cssHooks.borderColor={expand:function(t){var e={};return f(["Top","Right","Bottom","Left"],function(i,s){e["border"+s+"Color"]=t}),e}},a=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){function i(e){var i,s,n=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,a={};if(n&&n.length&&n[0]&&n[n[0]])for(s=n.length;s--;)i=n[s],"string"==typeof n[i]&&(a[t.camelCase(i)]=n[i]);else for(i in n)"string"==typeof n[i]&&(a[i]=n[i]);return a}function s(e,i){var s,n,o={};for(s in i)n=i[s],e[s]!==n&&(a[s]||(t.fx.step[s]||!isNaN(parseFloat(n)))&&(o[s]=n));return o}var n=["add","remove","toggle"],a={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,i){t.fx.step[i]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(jQuery.style(t.elem,i,t.end),t.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(e,a,o,r){var h=t.speed(a,o,r);return this.queue(function(){var a,o=t(this),r=o.attr("class")||"",l=h.children?o.find("*").addBack():o;l=l.map(function(){var e=t(this);return{el:e,start:i(this)}}),a=function(){t.each(n,function(t,i){e[i]&&o[i+"Class"](e[i])})},a(),l=l.map(function(){return this.end=i(this.el[0]),this.diff=s(this.start,this.end),this}),o.attr("class",r),l=l.map(function(){var e=this,i=t.Deferred(),s=t.extend({},h,{queue:!1,complete:function(){i.resolve(e)}});return this.el.animate(this.diff,s),i.promise()}),t.when.apply(t,l.get()).done(function(){a(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),h.complete.call(o[0])})})},t.fn.extend({addClass:function(e){return function(i,s,n,a){return s?t.effects.animateClass.call(this,{add:i},s,n,a):e.apply(this,arguments)}}(t.fn.addClass),removeClass:function(e){return function(i,s,n,a){return arguments.length>1?t.effects.animateClass.call(this,{remove:i},s,n,a):e.apply(this,arguments)}}(t.fn.removeClass),toggleClass:function(i){return function(s,n,a,o,r){return"boolean"==typeof n||n===e?a?t.effects.animateClass.call(this,n?{add:s}:{remove:s},a,o,r):i.apply(this,arguments):t.effects.animateClass.call(this,{toggle:s},n,a,o)}}(t.fn.toggleClass),switchClass:function(e,i,s,n,a){return t.effects.animateClass.call(this,{add:i,remove:e},s,n,a)}})}(),function(){function s(e,i,s,n){return t.isPlainObject(e)&&(i=e,e=e.effect),e={effect:e},null==i&&(i={}),t.isFunction(i)&&(n=i,s=null,i={}),("number"==typeof i||t.fx.speeds[i])&&(n=s,s=i,i={}),t.isFunction(s)&&(n=s,s=null),i&&t.extend(e,i),s=s||i.duration,e.duration=t.fx.off?0:"number"==typeof s?s:s in t.fx.speeds?t.fx.speeds[s]:t.fx.speeds._default,e.complete=n||i.complete,e}function n(e){return!e||"number"==typeof e||t.fx.speeds[e]?!0:"string"!=typeof e||t.effects.effect[e]?t.isFunction(e)?!0:"object"!=typeof e||e.effect?!1:!0:!0}t.extend(t.effects,{version:"1.10.2",save:function(t,e){for(var s=0;e.length>s;s++)null!==e[s]&&t.data(i+e[s],t[0].style[e[s]])},restore:function(t,s){var n,a;for(a=0;s.length>a;a++)null!==s[a]&&(n=t.data(i+s[a]),n===e&&(n=""),t.css(s[a],n))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},getBaseline:function(t,e){var i,s;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=t[1]/e.width}return{x:s,y:i}},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var i={width:e.outerWidth(!0),height:e.outerHeight(!0),"float":e.css("float")},s=t("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),n={width:e.width(),height:e.height()},a=document.activeElement;try{a.id}catch(o){a=document.body}return e.wrap(s),(e[0]===a||t.contains(e[0],a))&&t(a).focus(),s=e.parent(),"static"===e.css("position")?(s.css({position:"relative"}),e.css({position:"relative"})):(t.extend(i,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,s){i[s]=e.css(s),isNaN(parseInt(i[s],10))&&(i[s]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(n),s.css(i).show()},removeWrapper:function(e){var i=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===i||t.contains(e[0],i))&&t(i).focus()),e},setTransition:function(e,i,s,n){return n=n||{},t.each(i,function(t,i){var a=e.cssUnit(i);a[0]>0&&(n[i]=a[0]*s+a[1])}),n}}),t.fn.extend({effect:function(){function e(e){function s(){t.isFunction(a)&&a.call(n[0]),t.isFunction(e)&&e()}var n=t(this),a=i.complete,r=i.mode;(n.is(":hidden")?"hide"===r:"show"===r)?(n[r](),s()):o.call(n[0],i,s)}var i=s.apply(this,arguments),n=i.mode,a=i.queue,o=t.effects.effect[i.effect];return t.fx.off||!o?n?this[n](i.duration,i.complete):this.each(function(){i.complete&&i.complete.call(this)}):a===!1?this.each(e):this.queue(a||"fx",e)},show:function(t){return function(e){if(n(e))return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="show",this.effect.call(this,i)}}(t.fn.show),hide:function(t){return function(e){if(n(e))return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="hide",this.effect.call(this,i)}}(t.fn.hide),toggle:function(t){return function(e){if(n(e)||"boolean"==typeof e)return t.apply(this,arguments);var i=s.apply(this,arguments);return i.mode="toggle",this.effect.call(this,i)}}(t.fn.toggle),cssUnit:function(e){var i=this.css(e),s=[];return t.each(["em","px","%","pt"],function(t,e){i.indexOf(e)>0&&(s=[parseFloat(i),e])}),s}})}(),function(){var e={};t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,i){e[i]=function(e){return Math.pow(e,t+2)}}),t.extend(e,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;((e=Math.pow(2,--i))-1)/11>t;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(e,function(e,i){t.easing["easeIn"+e]=i,t.easing["easeOut"+e]=function(t){return 1-i(1-t)},t.easing["easeInOut"+e]=function(t){return.5>t?i(2*t)/2:1-i(-2*t+2)/2}})}()})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.menu.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.menu.min.js
new file mode 100644 (file)
index 0000000..3977e1b
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){t.widget("ui.menu",{version:"1.10.2",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,t.proxy(function(t){this.options.disabled&&t.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(t){t.preventDefault()},"click .ui-state-disabled > a":function(t){t.preventDefault()},"click .ui-menu-item:has(a)":function(e){var i=t(e.target).closest(".ui-menu-item");!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.mouseHandled=!0,this.select(e),i.has(".ui-menu").length?this.expand(e):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){var i=t(e.currentTarget);i.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(e,i)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.children(".ui-menu-item").eq(0);e||this.focus(t,i)},blur:function(e){this._delay(function(){t.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){t(e.target).closest(".ui-menu").length||this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var e=t(this);e.data("ui-menu-submenu-carat")&&e.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(e){function i(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}var s,n,a,o,r,h=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:h=!1,n=this.previousFilter||"",a=String.fromCharCode(e.keyCode),o=!1,clearTimeout(this.filterTimer),a===n?o=!0:a=n+a,r=RegExp("^"+i(a),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())}),s=o&&-1!==s.index(this.active.next())?this.active.nextAll(".ui-menu-item"):s,s.length||(a=String.fromCharCode(e.keyCode),r=RegExp("^"+i(a),"i"),s=this.activeMenu.children(".ui-menu-item").filter(function(){return r.test(t(this).children("a").text())})),s.length?(this.focus(e,s),s.length>1?(this.previousFilter=a,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}h&&e.preventDefault()},_activate:function(t){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,i=this.options.icons.submenu,s=this.element.find(this.options.menus);s.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),s=e.prev("a"),n=t("<span>").addClass("ui-menu-icon ui-icon "+i).data("ui-menu-submenu-carat",!0);s.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",s.attr("id"))}),e=s.add(this.element),e.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),e.children(":not(.ui-menu-item)").each(function(){var e=t(this);/[^\-\u2014\u2013\s]/.test(e.text())||e.addClass("ui-widget-content ui-menu-divider")}),e.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){"icons"===t&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(e.submenu),this._super(t,e)},focus:function(t,e){var i,s;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),s=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),i=e.children(".ui-menu"),i.length&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var i,s,n,a,o,r;this._hasScroll()&&(i=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,n=e.offset().top-this.activeMenu.offset().top-i-s,a=this.activeMenu.scrollTop(),o=this.activeMenu.height(),r=e.height(),0>n?this.activeMenu.scrollTop(a+n):n+r>o&&this.activeMenu.scrollTop(a+n-o+r))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var i=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var s=i?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(e),this.activeMenu=s},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var s;this.active&&(s="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.children(".ui-menu-item")[e]()),this.focus(i,s)},nextPage:function(e){var i,s,n;return this.active?(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return i=t(this),0>i.offset().top-s-n}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())),undefined):(this.next(e),undefined)},previousPage:function(e){var i,s,n;return this.active?(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return i=t(this),i.offset().top-s+n>0}),this.focus(e,i)):this.focus(e,this.activeMenu.children(".ui-menu-item").first())),undefined):(this.next(e),undefined)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||t(e.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,i)}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.mouse.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.mouse.min.js
new file mode 100644 (file)
index 0000000..7c365ec
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(e){var t=!1;e(document).mouseup(function(){t=!1}),e.widget("ui.mouse",{version:"1.10.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.bind("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).bind("click."+this.widgetName,function(i){return!0===e.data(i.target,t.widgetName+".preventClickEvent")?(e.removeData(i.target,t.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):undefined}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(i){if(!t){this._mouseStarted&&this._mouseUp(i),this._mouseDownEvent=i;var s=this,n=1===i.which,a="string"==typeof this.options.cancel&&i.target.nodeName?e(i.target).closest(this.options.cancel).length:!1;return n&&!a&&this._mouseCapture(i)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){s.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(i)&&this._mouseDelayMet(i)&&(this._mouseStarted=this._mouseStart(i)!==!1,!this._mouseStarted)?(i.preventDefault(),!0):(!0===e.data(i.target,this.widgetName+".preventClickEvent")&&e.removeData(i.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return s._mouseMove(e)},this._mouseUpDelegate=function(e){return s._mouseUp(e)},e(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),i.preventDefault(),t=!0,!0)):!0}},_mouseMove:function(t){return e.ui.ie&&(!document.documentMode||9>document.documentMode)&&!t.button?this._mouseUp(t):this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,t)!==!1,this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){return e(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.position.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.position.min.js
new file mode 100644 (file)
index 0000000..0451d53
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t,e){function i(t,e,i){return[parseFloat(t[0])*(p.test(t[0])?e/100:1),parseFloat(t[1])*(p.test(t[1])?i/100:1)]}function s(e,i){return parseInt(t.css(e,i),10)||0}function n(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}t.ui=t.ui||{};var a,o=Math.max,r=Math.abs,h=Math.round,l=/left|center|right/,c=/top|center|bottom/,u=/[\+\-]\d+(\.[\d]+)?%?/,d=/^\w+/,p=/%$/,f=t.fn.position;t.position={scrollbarWidth:function(){if(a!==e)return a;var i,s,n=t("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),o=n.children()[0];return t("body").append(n),i=o.offsetWidth,n.css("overflow","scroll"),s=o.offsetWidth,i===s&&(s=n[0].clientWidth),n.remove(),a=i-s},getScrollInfo:function(e){var i=e.isWindow?"":e.element.css("overflow-x"),s=e.isWindow?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth,a="scroll"===s||"auto"===s&&e.height<e.element[0].scrollHeight;return{width:a?t.position.scrollbarWidth():0,height:n?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),s=t.isWindow(i[0]);return{element:i,isWindow:s,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:s?i.width():i.outerWidth(),height:s?i.height():i.outerHeight()}}},t.fn.position=function(e){if(!e||!e.of)return f.apply(this,arguments);e=t.extend({},e);var a,p,m,g,v,_,b=t(e.of),y=t.position.getWithinInfo(e.within),w=t.position.getScrollInfo(y),x=(e.collision||"flip").split(" "),k={};return _=n(b),b[0].preventDefault&&(e.at="left top"),p=_.width,m=_.height,g=_.offset,v=t.extend({},g),t.each(["my","at"],function(){var t,i,s=(e[this]||"").split(" ");1===s.length&&(s=l.test(s[0])?s.concat(["center"]):c.test(s[0])?["center"].concat(s):["center","center"]),s[0]=l.test(s[0])?s[0]:"center",s[1]=c.test(s[1])?s[1]:"center",t=u.exec(s[0]),i=u.exec(s[1]),k[this]=[t?t[0]:0,i?i[0]:0],e[this]=[d.exec(s[0])[0],d.exec(s[1])[0]]}),1===x.length&&(x[1]=x[0]),"right"===e.at[0]?v.left+=p:"center"===e.at[0]&&(v.left+=p/2),"bottom"===e.at[1]?v.top+=m:"center"===e.at[1]&&(v.top+=m/2),a=i(k.at,p,m),v.left+=a[0],v.top+=a[1],this.each(function(){var n,l,c=t(this),u=c.outerWidth(),d=c.outerHeight(),f=s(this,"marginLeft"),_=s(this,"marginTop"),D=u+f+s(this,"marginRight")+w.width,T=d+_+s(this,"marginBottom")+w.height,C=t.extend({},v),M=i(k.my,c.outerWidth(),c.outerHeight());"right"===e.my[0]?C.left-=u:"center"===e.my[0]&&(C.left-=u/2),"bottom"===e.my[1]?C.top-=d:"center"===e.my[1]&&(C.top-=d/2),C.left+=M[0],C.top+=M[1],t.support.offsetFractions||(C.left=h(C.left),C.top=h(C.top)),n={marginLeft:f,marginTop:_},t.each(["left","top"],function(i,s){t.ui.position[x[i]]&&t.ui.position[x[i]][s](C,{targetWidth:p,targetHeight:m,elemWidth:u,elemHeight:d,collisionPosition:n,collisionWidth:D,collisionHeight:T,offset:[a[0]+M[0],a[1]+M[1]],my:e.my,at:e.at,within:y,elem:c})}),e.using&&(l=function(t){var i=g.left-C.left,s=i+p-u,n=g.top-C.top,a=n+m-d,h={target:{element:b,left:g.left,top:g.top,width:p,height:m},element:{element:c,left:C.left,top:C.top,width:u,height:d},horizontal:0>s?"left":i>0?"right":"center",vertical:0>a?"top":n>0?"bottom":"middle"};u>p&&p>r(i+s)&&(h.horizontal="center"),d>m&&m>r(n+a)&&(h.vertical="middle"),h.important=o(r(i),r(s))>o(r(n),r(a))?"horizontal":"vertical",e.using.call(this,t,h)}),c.offset(t.extend(C,{using:l}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-a-n;e.collisionWidth>a?h>0&&0>=l?(i=t.left+h+e.collisionWidth-a-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+a-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-a-n;e.collisionHeight>a?h>0&&0>=l?(i=t.top+h+e.collisionHeight-a-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+a-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,a=n.offset.left+n.scrollLeft,o=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-o-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-o-a,(0>i||r(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>r(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,a=n.offset.top+n.scrollTop,o=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-o-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];0>c?(s=t.top+p+f+m+e.collisionHeight-o-a,t.top+p+f+m>c&&(0>s||r(c)>s)&&(t.top+=p+f+m)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+m-h,t.top+p+f+m>u&&(i>0||u>r(i))&&(t.top+=p+f+m))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}},function(){var e,i,s,n,a,o=document.getElementsByTagName("body")[0],r=document.createElement("div");e=document.createElement(o?"div":"body"),s={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},o&&t.extend(s,{position:"absolute",left:"-1000px",top:"-1000px"});for(a in s)e.style[a]=s[a];e.appendChild(r),i=o||document.documentElement,i.insertBefore(e,i.firstChild),r.style.cssText="position: absolute; left: 10.7432222px;",n=t(r).offset().left,t.support.offsetFractions=n>10&&11>n,e.innerHTML="",i.removeChild(e)}()})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.progressbar.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.progressbar.min.js
new file mode 100644 (file)
index 0000000..4abf2d9
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t,e){t.widget("ui.progressbar",{version:"1.10.2",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=t("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element),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()},value:function(t){return t===e?this.options.value:(this.options.value=this._constrainedValue(t),this._refreshValue(),e)},_constrainedValue:function(t){return t===e&&(t=this.options.value),this.indeterminate=t===!1,"number"!=typeof t&&(t=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,i=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(i.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=t("<div class='ui-progressbar-overlay'></div>").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.resizable.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.resizable.min.js
new file mode 100644 (file)
index 0000000..a071199
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(e){function t(e){return parseInt(e,10)||0}function i(e){return!isNaN(parseInt(e,10))}e.widget("ui.resizable",e.ui.mouse,{version:"1.10.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_create:function(){var t,i,s,n,a,o=this,r=this.options;if(this.element.addClass("ui-resizable"),e.extend(this,{_aspectRatio:!!r.aspectRatio,aspectRatio:r.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:r.helper||r.ghost||r.animate?r.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(e("<div class='ui-wrapper' style='overflow: hidden;'></div>").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("ui-resizable",this.element.data("ui-resizable")),this.elementIsWrapper=!0,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=r.handles||(e(".ui-resizable-handle",this.element).length?{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"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),t=this.handles.split(","),this.handles={},i=0;t.length>i;i++)s=e.trim(t[i]),a="ui-resizable-"+s,n=e("<div class='ui-resizable-handle "+a+"'></div>"),n.css({zIndex:r.zIndex}),"se"===s&&n.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[s]=".ui-resizable-"+s,this.element.append(n);this._renderAxis=function(t){var i,s,n,a;t=t||this.element;for(i in this.handles)this.handles[i].constructor===String&&(this.handles[i]=e(this.handles[i],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(s=e(this.handles[i],this.element),a=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),t.css(n,a),this._proportionallyResize()),e(this.handles[i]).length},this._renderAxis(this.element),this._handles=e(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){o.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),o.axis=n&&n[1]?n[1]:"se")}),r.autoHide&&(this._handles.hide(),e(this.element).addClass("ui-resizable-autohide").mouseenter(function(){r.disabled||(e(this).removeClass("ui-resizable-autohide"),o._handles.show())}).mouseleave(function(){r.disabled||o.resizing||(e(this).addClass("ui-resizable-autohide"),o._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var t,i=function(t){e(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),t=this.element,this.originalElement.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_mouseCapture:function(t){var i,s,n=!1;for(i in this.handles)s=e(this.handles[i])[0],(s===t.target||e.contains(s,t.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(i){var s,n,a,o=this.options,r=this.element.position(),h=this.element;return this.resizing=!0,/absolute/.test(h.css("position"))?h.css({position:"absolute",top:h.css("top"),left:h.css("left")}):h.is(".ui-draggable")&&h.css({position:"absolute",top:r.top,left:r.left}),this._renderProxy(),s=t(this.helper.css("left")),n=t(this.helper.css("top")),o.containment&&(s+=e(o.containment).scrollLeft()||0,n+=e(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:s,top:n},this.size=this._helper?{width:h.outerWidth(),height:h.outerHeight()}:{width:h.width(),height:h.height()},this.originalSize=this._helper?{width:h.outerWidth(),height:h.outerHeight()}:{width:h.width(),height:h.height()},this.originalPosition={left:s,top:n},this.sizeDiff={width:h.outerWidth()-h.width(),height:h.outerHeight()-h.height()},this.originalMousePosition={left:i.pageX,top:i.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,a=e(".ui-resizable-"+this.axis).css("cursor"),e("body").css("cursor","auto"===a?this.axis+"-resize":a),h.addClass("ui-resizable-resizing"),this._propagate("start",i),!0},_mouseDrag:function(t){var i,s=this.helper,n={},a=this.originalMousePosition,o=this.axis,r=this.position.top,h=this.position.left,l=this.size.width,u=this.size.height,c=t.pageX-a.left||0,d=t.pageY-a.top||0,p=this._change[o];return p?(i=p.apply(this,[t,c,d]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(i=this._updateRatio(i,t)),i=this._respectSize(i,t),this._updateCache(i),this._propagate("resize",t),this.position.top!==r&&(n.top=this.position.top+"px"),this.position.left!==h&&(n.left=this.position.left+"px"),this.size.width!==l&&(n.width=this.size.width+"px"),this.size.height!==u&&(n.height=this.size.height+"px"),s.css(n),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),e.isEmptyObject(n)||this._trigger("resize",t,this.ui()),!1):!1},_mouseStop:function(t){this.resizing=!1;var i,s,n,a,o,r,h,l=this.options,u=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&e.ui.hasScroll(i[0],"left")?0:u.sizeDiff.height,a=s?0:u.sizeDiff.width,o={width:u.helper.width()-a,height:u.helper.height()-n},r=parseInt(u.element.css("left"),10)+(u.position.left-u.originalPosition.left)||null,h=parseInt(u.element.css("top"),10)+(u.position.top-u.originalPosition.top)||null,l.animate||this.element.css(e.extend(o,{top:h,left:r})),u.helper.height(u.size.height),u.helper.width(u.size.width),this._helper&&!l.animate&&this._proportionallyResize()),e("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(e){var t,s,n,a,o,r=this.options;o={minWidth:i(r.minWidth)?r.minWidth:0,maxWidth:i(r.maxWidth)?r.maxWidth:1/0,minHeight:i(r.minHeight)?r.minHeight:0,maxHeight:i(r.maxHeight)?r.maxHeight:1/0},(this._aspectRatio||e)&&(t=o.minHeight*this.aspectRatio,n=o.minWidth/this.aspectRatio,s=o.maxHeight*this.aspectRatio,a=o.maxWidth/this.aspectRatio,t>o.minWidth&&(o.minWidth=t),n>o.minHeight&&(o.minHeight=n),o.maxWidth>s&&(o.maxWidth=s),o.maxHeight>a&&(o.maxHeight=a)),this._vBoundaries=o},_updateCache:function(e){this.offset=this.helper.offset(),i(e.left)&&(this.position.left=e.left),i(e.top)&&(this.position.top=e.top),i(e.height)&&(this.size.height=e.height),i(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,s=this.size,n=this.axis;return i(e.height)?e.width=e.height*this.aspectRatio:i(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===n&&(e.left=t.left+(s.width-e.width),e.top=null),"nw"===n&&(e.top=t.top+(s.height-e.height),e.left=t.left+(s.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,s=this.axis,n=i(e.width)&&t.maxWidth&&t.maxWidth<e.width,a=i(e.height)&&t.maxHeight&&t.maxHeight<e.height,o=i(e.width)&&t.minWidth&&t.minWidth>e.width,r=i(e.height)&&t.minHeight&&t.minHeight>e.height,h=this.originalPosition.left+this.originalSize.width,l=this.position.top+this.size.height,u=/sw|nw|w/.test(s),c=/nw|ne|n/.test(s);return o&&(e.width=t.minWidth),r&&(e.height=t.minHeight),n&&(e.width=t.maxWidth),a&&(e.height=t.maxHeight),o&&u&&(e.left=h-t.minWidth),n&&u&&(e.left=h-t.maxWidth),r&&c&&(e.top=l-t.minHeight),a&&c&&(e.top=l-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_proportionallyResize:function(){if(this._proportionallyResizeElements.length){var e,t,i,s,n,a=this.helper||this.element;for(e=0;this._proportionallyResizeElements.length>e;e++){if(n=this._proportionallyResizeElements[e],!this.borderDif)for(this.borderDif=[],i=[n.css("borderTopWidth"),n.css("borderRightWidth"),n.css("borderBottomWidth"),n.css("borderLeftWidth")],s=[n.css("paddingTop"),n.css("paddingRight"),n.css("paddingBottom"),n.css("paddingLeft")],t=0;i.length>t;t++)this.borderDif[t]=(parseInt(i[t],10)||0)+(parseInt(s[t],10)||0);n.css({height:a.height()-this.borderDif[0]-this.borderDif[2]||0,width:a.width()-this.borderDif[1]-this.borderDif[3]||0})}}},_renderProxy:function(){var t=this.element,i=this.options;this.elementOffset=t.offset(),this._helper?(this.helper=this.helper||e("<div style='overflow:hidden;'></div>"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var i=this.originalSize,s=this.originalPosition;return{left:s.left+t,width:i.width-t}},n:function(e,t,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(e,t,i){return{height:this.originalSize.height+i}},se:function(t,i,s){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,i,s]))},sw:function(t,i,s){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,i,s]))},ne:function(t,i,s){return e.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,i,s]))},nw:function(t,i,s){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,i,s]))}},_propagate:function(t,i){e.ui.plugin.call(this,t,[i,this.ui()]),"resize"!==t&&this._trigger(t,i,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.ui.plugin.add("resizable","animate",{stop:function(t){var i=e(this).data("ui-resizable"),s=i.options,n=i._proportionallyResizeElements,a=n.length&&/textarea/i.test(n[0].nodeName),o=a&&e.ui.hasScroll(n[0],"left")?0:i.sizeDiff.height,r=a?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-o},l=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,u=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(e.extend(h,u&&l?{top:u,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};n&&n.length&&e(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",t)}})}}),e.ui.plugin.add("resizable","containment",{start:function(){var i,s,n,a,o,r,h,l=e(this).data("ui-resizable"),u=l.options,c=l.element,d=u.containment,p=d instanceof e?d.get(0):/parent/.test(d)?c.parent().get(0):d;p&&(l.containerElement=e(p),/document/.test(d)||d===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:e(document),left:0,top:0,width:e(document).width(),height:e(document).height()||document.body.parentNode.scrollHeight}):(i=e(p),s=[],e(["Top","Right","Left","Bottom"]).each(function(e,n){s[e]=t(i.css("padding"+n))}),l.containerOffset=i.offset(),l.containerPosition=i.position(),l.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},n=l.containerOffset,a=l.containerSize.height,o=l.containerSize.width,r=e.ui.hasScroll(p,"left")?p.scrollWidth:o,h=e.ui.hasScroll(p)?p.scrollHeight:a,l.parentData={element:p,left:n.left,top:n.top,width:r,height:h}))},resize:function(t){var i,s,n,a,o=e(this).data("ui-resizable"),r=o.options,h=o.containerOffset,l=o.position,u=o._aspectRatio||t.shiftKey,c={top:0,left:0},d=o.containerElement;d[0]!==document&&/static/.test(d.css("position"))&&(c=h),l.left<(o._helper?h.left:0)&&(o.size.width=o.size.width+(o._helper?o.position.left-h.left:o.position.left-c.left),u&&(o.size.height=o.size.width/o.aspectRatio),o.position.left=r.helper?h.left:0),l.top<(o._helper?h.top:0)&&(o.size.height=o.size.height+(o._helper?o.position.top-h.top:o.position.top),u&&(o.size.width=o.size.height*o.aspectRatio),o.position.top=o._helper?h.top:0),o.offset.left=o.parentData.left+o.position.left,o.offset.top=o.parentData.top+o.position.top,i=Math.abs((o._helper?o.offset.left-c.left:o.offset.left-c.left)+o.sizeDiff.width),s=Math.abs((o._helper?o.offset.top-c.top:o.offset.top-h.top)+o.sizeDiff.height),n=o.containerElement.get(0)===o.element.parent().get(0),a=/relative|absolute/.test(o.containerElement.css("position")),n&&a&&(i-=o.parentData.left),i+o.size.width>=o.parentData.width&&(o.size.width=o.parentData.width-i,u&&(o.size.height=o.size.width/o.aspectRatio)),s+o.size.height>=o.parentData.height&&(o.size.height=o.parentData.height-s,u&&(o.size.width=o.size.height*o.aspectRatio))},stop:function(){var t=e(this).data("ui-resizable"),i=t.options,s=t.containerOffset,n=t.containerPosition,a=t.containerElement,o=e(t.helper),r=o.offset(),h=o.outerWidth()-t.sizeDiff.width,l=o.outerHeight()-t.sizeDiff.height;t._helper&&!i.animate&&/relative/.test(a.css("position"))&&e(this).css({left:r.left-n.left-s.left,width:h,height:l}),t._helper&&!i.animate&&/static/.test(a.css("position"))&&e(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),e.ui.plugin.add("resizable","alsoResize",{start:function(){var t=e(this).data("ui-resizable"),i=t.options,s=function(t){e(t).each(function(){var t=e(this);t.data("ui-resizable-alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})};"object"!=typeof i.alsoResize||i.alsoResize.parentNode?s(i.alsoResize):i.alsoResize.length?(i.alsoResize=i.alsoResize[0],s(i.alsoResize)):e.each(i.alsoResize,function(e){s(e)})},resize:function(t,i){var s=e(this).data("ui-resizable"),n=s.options,a=s.originalSize,o=s.originalPosition,r={height:s.size.height-a.height||0,width:s.size.width-a.width||0,top:s.position.top-o.top||0,left:s.position.left-o.left||0},h=function(t,s){e(t).each(function(){var t=e(this),n=e(this).data("ui-resizable-alsoresize"),a={},o=s&&s.length?s:t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];e.each(o,function(e,t){var i=(n[t]||0)+(r[t]||0);i&&i>=0&&(a[t]=i||null)}),t.css(a)})};"object"!=typeof n.alsoResize||n.alsoResize.nodeType?h(n.alsoResize):e.each(n.alsoResize,function(e,t){h(e,t)})},stop:function(){e(this).removeData("resizable-alsoresize")}}),e.ui.plugin.add("resizable","ghost",{start:function(){var t=e(this).data("ui-resizable"),i=t.options,s=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:s.height,width:s.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof i.ghost?i.ghost:""),t.ghost.appendTo(t.helper)},resize:function(){var t=e(this).data("ui-resizable");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=e(this).data("ui-resizable");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),e.ui.plugin.add("resizable","grid",{resize:function(){var t=e(this).data("ui-resizable"),i=t.options,s=t.size,n=t.originalSize,a=t.originalPosition,o=t.axis,r="number"==typeof i.grid?[i.grid,i.grid]:i.grid,h=r[0]||1,l=r[1]||1,u=Math.round((s.width-n.width)/h)*h,c=Math.round((s.height-n.height)/l)*l,d=n.width+u,p=n.height+c,f=i.maxWidth&&d>i.maxWidth,m=i.maxHeight&&p>i.maxHeight,g=i.minWidth&&i.minWidth>d,v=i.minHeight&&i.minHeight>p;i.grid=r,g&&(d+=h),v&&(p+=l),f&&(d-=h),m&&(p-=l),/^(se|s|e)$/.test(o)?(t.size.width=d,t.size.height=p):/^(ne)$/.test(o)?(t.size.width=d,t.size.height=p,t.position.top=a.top-c):/^(sw)$/.test(o)?(t.size.width=d,t.size.height=p,t.position.left=a.left-u):(t.size.width=d,t.size.height=p,t.position.top=a.top-c,t.position.left=a.left-u)}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.selectable.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.selectable.min.js
new file mode 100644 (file)
index 0000000..3f15284
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(e){e.widget("ui.selectable",e.ui.mouse,{version:"1.10.2",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var t,i=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){t=e(i.options.filter,i.element[0]),t.addClass("ui-selectee"),t.each(function(){var t=e(this),i=t.offset();e.data(this,"selectable-item",{element:this,$element:t,left:i.left,top:i.top,right:i.left+t.outerWidth(),bottom:i.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=t.addClass("ui-selectee"),this._mouseInit(),this.helper=e("<div class='ui-selectable-helper'></div>")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(t){var i=this,s=this.options;this.opos=[t.pageX,t.pageY],this.options.disabled||(this.selectees=e(s.filter,this.element[0]),this._trigger("start",t),e(s.appendTo).append(this.helper),this.helper.css({left:t.pageX,top:t.pageY,width:0,height:0}),s.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var s=e.data(this,"selectable-item");s.startselected=!0,t.metaKey||t.ctrlKey||(s.$element.removeClass("ui-selected"),s.selected=!1,s.$element.addClass("ui-unselecting"),s.unselecting=!0,i._trigger("unselecting",t,{unselecting:s.element}))}),e(t.target).parents().addBack().each(function(){var s,n=e.data(this,"selectable-item");return n?(s=!t.metaKey&&!t.ctrlKey||!n.$element.hasClass("ui-selected"),n.$element.removeClass(s?"ui-unselecting":"ui-selected").addClass(s?"ui-selecting":"ui-unselecting"),n.unselecting=!s,n.selecting=s,n.selected=s,s?i._trigger("selecting",t,{selecting:n.element}):i._trigger("unselecting",t,{unselecting:n.element}),!1):undefined}))},_mouseDrag:function(t){if(this.dragged=!0,!this.options.disabled){var i,s=this,n=this.options,a=this.opos[0],o=this.opos[1],r=t.pageX,h=t.pageY;return a>r&&(i=r,r=a,a=i),o>h&&(i=h,h=o,o=i),this.helper.css({left:a,top:o,width:r-a,height:h-o}),this.selectees.each(function(){var i=e.data(this,"selectable-item"),l=!1;i&&i.element!==s.element[0]&&("touch"===n.tolerance?l=!(i.left>r||a>i.right||i.top>h||o>i.bottom):"fit"===n.tolerance&&(l=i.left>a&&r>i.right&&i.top>o&&h>i.bottom),l?(i.selected&&(i.$element.removeClass("ui-selected"),i.selected=!1),i.unselecting&&(i.$element.removeClass("ui-unselecting"),i.unselecting=!1),i.selecting||(i.$element.addClass("ui-selecting"),i.selecting=!0,s._trigger("selecting",t,{selecting:i.element}))):(i.selecting&&((t.metaKey||t.ctrlKey)&&i.startselected?(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.$element.addClass("ui-selected"),i.selected=!0):(i.$element.removeClass("ui-selecting"),i.selecting=!1,i.startselected&&(i.$element.addClass("ui-unselecting"),i.unselecting=!0),s._trigger("unselecting",t,{unselecting:i.element}))),i.selected&&(t.metaKey||t.ctrlKey||i.startselected||(i.$element.removeClass("ui-selected"),i.selected=!1,i.$element.addClass("ui-unselecting"),i.unselecting=!0,s._trigger("unselecting",t,{unselecting:i.element})))))}),!1}},_mouseStop:function(t){var i=this;return this.dragged=!1,e(".ui-unselecting",this.element[0]).each(function(){var s=e.data(this,"selectable-item");s.$element.removeClass("ui-unselecting"),s.unselecting=!1,s.startselected=!1,i._trigger("unselected",t,{unselected:s.element})}),e(".ui-selecting",this.element[0]).each(function(){var s=e.data(this,"selectable-item");s.$element.removeClass("ui-selecting").addClass("ui-selected"),s.selecting=!1,s.selected=!0,s.startselected=!0,i._trigger("selected",t,{selected:s.element})}),this._trigger("stop",t),this.helper.remove(),!1}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.slider.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.slider.min.js
new file mode 100644 (file)
index 0000000..25cbc4b
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){var e=5;t.widget("ui.slider",t.ui.mouse,{version:"1.10.2",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget"+" ui-widget-content"+" ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,s=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),a="<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>",o=[];for(i=s.values&&s.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),e=n.length;i>e;e++)o.push(a);this.handles=n.add(t(o.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,i="";e.range?(e.range===!0&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=t("<div></div>").appendTo(this.element),i="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(i+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):this.range=t([])},_setupEvents:function(){var t=this.handles.add(this.range).filter("a");this._off(t),this._on(t,this._handleEvents),this._hoverable(t),this._focusable(t)},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var i,s,n,a,o,r,h,l,u=this,c=this.options;return c.disabled?!1:(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},s=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(s-u.values(e));(n>i||n===i&&(e===u._lastChangedValue||u.values(e)===c.min))&&(n=i,a=t(this),o=e)}),r=this._start(e,o),r===!1?!1:(this._mouseSliding=!0,this._handleIndex=o,a.addClass("ui-state-active").focus(),h=a.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-h.left-a.width()/2,top:e.pageY-h.top-a.height()/2-(parseInt(a.css("borderTopWidth"),10)||0)-(parseInt(a.css("borderBottomWidth"),10)||0)+(parseInt(a.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,o,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,s,n,a;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),s=i/e,s>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),n=this._valueMax()-this._valueMin(),a=this._valueMin()+s*n,this._trimAlignValue(a)},_start:function(t,e){var i={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("start",t,i)},_slide:function(t,e,i){var s,n,a;this.options.values&&this.options.values.length?(s=this.values(e?0:1),2===this.options.values.length&&this.options.range===!0&&(0===e&&i>s||1===e&&s>i)&&(i=s),i!==this.values(e)&&(n=this.values(),n[e]=i,a=this._trigger("slide",t,{handle:this.handles[e],value:i,values:n}),s=this.values(e?0:1),a!==!1&&this.values(e,i,!0))):i!==this.value()&&(a=this._trigger("slide",t,{handle:this.handles[e],value:i}),a!==!1&&this.value(i))},_stop:function(t,e){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("stop",t,i)},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._lastChangedValue=e,this._trigger("change",t,i)}},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),this._change(null,0),undefined):this._value()},values:function(e,i){var s,n,a;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),this._change(null,e),undefined;if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(e):this.value();for(s=this.options.values,n=arguments[0],a=0;s.length>a;a+=1)s[a]=this._trimAlignValue(n[a]),this._change(null,a);this._refreshValue()},_setOption:function(e,i){var s,n=0;switch("range"===e&&this.options.range===!0&&("min"===i?(this.options.value=this._values(0),this.options.values=null):"max"===i&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(n=this.options.values.length),t.Widget.prototype._setOption.apply(this,arguments),e){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=0;n>s;s+=1)this._change(null,s);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,s;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),s=0;i.length>s;s+=1)i[s]=this._trimAlignValue(i[s]);return i}return[]},_trimAlignValue:function(t){if(this._valueMin()>=t)return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,s=t-i;return 2*Math.abs(i)>=e&&(s+=i>0?e:-e),parseFloat(s.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,i,s,n,a,o=this.options.range,r=this.options,h=this,l=this._animateOff?!1:r.animate,u={};this.options.values&&this.options.values.length?this.handles.each(function(s){i=100*((h.values(s)-h._valueMin())/(h._valueMax()-h._valueMin())),u["horizontal"===h.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[l?"animate":"css"](u,r.animate),h.options.range===!0&&("horizontal"===h.orientation?(0===s&&h.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:r.animate})):(0===s&&h.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===s&&h.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:r.animate}))),e=i}):(s=this.value(),n=this._valueMin(),a=this._valueMax(),i=a!==n?100*((s-n)/(a-n)):0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](u,r.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===o&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:r.animate}),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===o&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:r.animate}))},_handleEvents:{keydown:function(i){var s,n,a,o,r=t(i.target).data("ui-slider-handle-index");switch(i.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i.preventDefault(),!this._keySliding&&(this._keySliding=!0,t(i.target).addClass("ui-state-active"),s=this._start(i,r),s===!1))return}switch(o=this.options.step,n=a=this.options.values&&this.options.values.length?this.values(r):this.value(),i.keyCode){case t.ui.keyCode.HOME:a=this._valueMin();break;case t.ui.keyCode.END:a=this._valueMax();break;case t.ui.keyCode.PAGE_UP:a=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.PAGE_DOWN:a=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/e);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(n===this._valueMax())return;a=this._trimAlignValue(n+o);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(n===this._valueMin())return;a=this._trimAlignValue(n-o)}this._slide(i,r,a)},click:function(t){t.preventDefault()},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),t(e.target).removeClass("ui-state-active"))}}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.sortable.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.sortable.min.js
new file mode 100644 (file)
index 0000000..ee3388b
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){function e(t,e,i){return t>e&&e+i>t}function i(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))}t.widget("ui.sortable",t.ui.mouse,{version:"1.10.2",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var t=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?"x"===t.axis||i(this.items[0].item):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_setOption:function(e,i){"disabled"===e?(this.options[e]=i,this.widget().toggleClass("ui-sortable-disabled",!!i)):t.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(e,i){var s=null,n=!1,a=this;return this.reverting?!1:this.options.disabled||"static"===this.options.type?!1:(this._refreshItems(e),t(e.target).parents().each(function(){return t.data(this,a.widgetName+"-item")===a?(s=t(this),!1):undefined}),t.data(e.target,a.widgetName+"-item")===a&&(s=t(e.target)),s?!this.options.handle||i||(t(this.options.handle,s).find("*").addBack().each(function(){this===e.target&&(n=!0)}),n)?(this.currentItem=s,this._removeCurrentsFromItems(),!0):!1:!1)},_mouseStart:function(e,i,s){var n,a,o=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),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},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),o.containment&&this._setContainment(),o.cursor&&"auto"!==o.cursor&&(a=this.document.find("body"),this.storedCursor=a.css("cursor"),a.css("cursor",o.cursor),this.storedStylesheet=t("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(a)),o.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),o.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",o.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!s)for(n=this.containers.length-1;n>=0;n--)this.containers[n]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var i,s,n,a,o=this.options,r=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<o.scrollSensitivity?this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop+o.scrollSpeed:e.pageY-this.overflowOffset.top<o.scrollSensitivity&&(this.scrollParent[0].scrollTop=r=this.scrollParent[0].scrollTop-o.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<o.scrollSensitivity?this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft+o.scrollSpeed:e.pageX-this.overflowOffset.left<o.scrollSensitivity&&(this.scrollParent[0].scrollLeft=r=this.scrollParent[0].scrollLeft-o.scrollSpeed)):(e.pageY-t(document).scrollTop()<o.scrollSensitivity?r=t(document).scrollTop(t(document).scrollTop()-o.scrollSpeed):t(window).height()-(e.pageY-t(document).scrollTop())<o.scrollSensitivity&&(r=t(document).scrollTop(t(document).scrollTop()+o.scrollSpeed)),e.pageX-t(document).scrollLeft()<o.scrollSensitivity?r=t(document).scrollLeft(t(document).scrollLeft()-o.scrollSpeed):t(window).width()-(e.pageX-t(document).scrollLeft())<o.scrollSensitivity&&(r=t(document).scrollLeft(t(document).scrollLeft()+o.scrollSpeed))),r!==!1&&t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),i=this.items.length-1;i>=0;i--)if(s=this.items[i],n=s.item[0],a=this._intersectsWithPointer(s),a&&s.instance===this.currentContainer&&n!==this.currentItem[0]&&this.placeholder[1===a?"next":"prev"]()[0]!==n&&!t.contains(this.placeholder[0],n)&&("semi-dynamic"===this.options.type?!t.contains(this.element[0],n):!0)){if(this.direction=1===a?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(s))break;this._rearrange(e,s),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,i){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var s=this,n=this.placeholder.offset(),a=this.options.axis,o={};a&&"x"!==a||(o.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),a&&"y"!==a||(o.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(o,parseInt(this.options.revert,10)||500,function(){s._clear(e)})}else this._clear(e,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null}),"original"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},t(i).each(function(){var i=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);i&&s.push((e.key||i[1]+"[]")+"="+(e.key&&e.expression?i[1]:i[2]))}),!s.length&&e.key&&s.push(e.key+"="),s.join("&")},toArray:function(e){var i=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},i.each(function(){s.push(t(e.item||this).attr(e.attribute||"id")||"")}),s},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,s=this.positionAbs.top,n=s+this.helperProportions.height,a=t.left,o=a+t.width,r=t.top,h=r+t.height,l=this.offset.click.top,c=this.offset.click.left,u=s+l>r&&h>s+l&&e+c>a&&o>e+c;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?u:e+this.helperProportions.width/2>a&&o>i-this.helperProportions.width/2&&s+this.helperProportions.height/2>r&&h>n-this.helperProportions.height/2},_intersectsWithPointer:function(t){var i="x"===this.options.axis||e(this.positionAbs.top+this.offset.click.top,t.top,t.height),s="y"===this.options.axis||e(this.positionAbs.left+this.offset.click.left,t.left,t.width),n=i&&s,a=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return n?this.floating?o&&"right"===o||"down"===a?2:1:a&&("down"===a?2:1):!1},_intersectsWithSides:function(t){var i=e(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),s=e(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this._getDragVerticalDirection(),a=this._getDragHorizontalDirection();return this.floating&&a?"right"===a&&s||"left"===a&&!s:n&&("down"===n&&i||"up"===n&&!i)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var i,s,n,a,o=[],r=[],h=this._connectWith();if(h&&e)for(i=h.length-1;i>=0;i--)for(n=t(h[i]),s=n.length-1;s>=0;s--)a=t.data(n[s],this.widgetFullName),a&&a!==this&&!a.options.disabled&&r.push([t.isFunction(a.options.items)?a.options.items.call(a.element):t(a.options.items,a.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),a]);for(r.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=r.length-1;i>=0;i--)r[i][0].each(function(){o.push(this)});return t(o)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(t){for(var i=0;e.length>i;i++)if(e[i]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var i,s,n,a,o,r,h,l,c=this.items,u=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],d=this._connectWith();if(d&&this.ready)for(i=d.length-1;i>=0;i--)for(n=t(d[i]),s=n.length-1;s>=0;s--)a=t.data(n[s],this.widgetFullName),a&&a!==this&&!a.options.disabled&&(u.push([t.isFunction(a.options.items)?a.options.items.call(a.element[0],e,{item:this.currentItem}):t(a.options.items,a.element),a]),this.containers.push(a));for(i=u.length-1;i>=0;i--)for(o=u[i][1],r=u[i][0],s=0,l=r.length;l>s;s++)h=t(r[s]),h.data(this.widgetName+"-item",o),c.push({item:h,instance:o,width:0,height:0,left:0,top:0})},refreshPositions:function(e){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());var i,s,n,a;for(i=this.items.length-1;i>=0;i--)s=this.items[i],s.instance!==this.currentContainer&&this.currentContainer&&s.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?t(this.options.toleranceElement,s.item):s.item,e||(s.width=n.outerWidth(),s.height=n.outerHeight()),a=n.offset(),s.left=a.left,s.top=a.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)a=this.containers[i].element.offset(),this.containers[i].containerCache.left=a.left,this.containers[i].containerCache.top=a.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(e){e=e||this;var i,s=e.options;s.placeholder&&s.placeholder.constructor!==String||(i=s.placeholder,s.placeholder={element:function(){var s=e.currentItem[0].nodeName.toLowerCase(),n=t(e.document[0].createElement(s)).addClass(i||e.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");return"tr"===s?n.append("<td colspan='99'>&#160;</td>"):"img"===s&&n.attr("src",e.currentItem.attr("src")),i||n.css("visibility","hidden"),n},update:function(t,n){(!i||s.forcePlaceholderSize)&&(n.height()||n.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),n.width()||n.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(s.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),s.placeholder.update(e,e.placeholder)},_contactContainers:function(s){var n,a,o,r,h,l,c,u,d,p,f=null,m=null;for(n=this.containers.length-1;n>=0;n--)if(!t.contains(this.currentItem[0],this.containers[n].element[0]))if(this._intersectsWith(this.containers[n].containerCache)){if(f&&t.contains(this.containers[n].element[0],f.element[0]))continue;f=this.containers[n],m=n}else this.containers[n].containerCache.over&&(this.containers[n]._trigger("out",s,this._uiHash(this)),this.containers[n].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[m].containerCache.over||(this.containers[m]._trigger("over",s,this._uiHash(this)),this.containers[m].containerCache.over=1);else{for(o=1e4,r=null,p=f.floating||i(this.currentItem),h=p?"left":"top",l=p?"width":"height",c=this.positionAbs[h]+this.offset.click[h],a=this.items.length-1;a>=0;a--)t.contains(this.containers[m].element[0],this.items[a].item[0])&&this.items[a].item[0]!==this.currentItem[0]&&(!p||e(this.positionAbs.top+this.offset.click.top,this.items[a].top,this.items[a].height))&&(u=this.items[a].item.offset()[h],d=!1,Math.abs(u-c)>Math.abs(u+this.items[a][l]-c)&&(d=!0,u+=this.items[a][l]),o>Math.abs(u-c)&&(o=Math.abs(u-c),r=this.items[a],this.direction=d?"up":"down"));if(!r&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[m])return;r?this._rearrange(s,r,null,!0):this._rearrange(s,null,this.containers[m].element,!0),this._trigger("change",s,this._uiHash()),this.containers[m]._trigger("change",s,this._uiHash(this)),this.currentContainer=this.containers[m],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[m]._trigger("over",s,this._uiHash(this)),this.containers[m].containerCache.over=1}},_createHelper:function(e){var i=this.options,s=t.isFunction(i.helper)?t(i.helper.apply(this.element[0],[e,this.currentItem])):"clone"===i.helper?this.currentItem.clone():this.currentItem;return s.parents("body").length||t("parent"!==i.appendTo?i.appendTo:this.currentItem[0].parentNode)[0].appendChild(s[0]),s[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!s[0].style.width||i.forceHelperSize)&&s.width(this.currentItem.width()),(!s[0].style.height||i.forceHelperSize)&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,s,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),("document"===n.containment||"window"===n.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,t("document"===n.containment?document:window).width()-this.helperProportions.width-this.margins.left,(t("document"===n.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(e=t(n.containment)[0],i=t(n.containment).offset(),s="hidden"!==t(e).css("overflow"),this.containment=[i.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(s?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(s?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,i){i||(i=this.position);var s="absolute"===e?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,a=/(html|body)/i.test(n[0].tagName);return{top:i.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():a?0:n.scrollTop())*s,left:i.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():a?0:n.scrollLeft())*s}},_generatePosition:function(e){var i,s,n=this.options,a=e.pageX,o=e.pageY,r="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,h=/(html|body)/i.test(r[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(a=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(o=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(a=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top)),n.grid&&(i=this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1],o=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-n.grid[1]:i+n.grid[1]:i,s=this.originalPageX+Math.round((a-this.originalPageX)/n.grid[0])*n.grid[0],a=this.containment?s-this.offset.click.left>=this.containment[0]&&s-this.offset.click.left<=this.containment[2]?s:s-this.offset.click.left>=this.containment[0]?s-n.grid[0]:s+n.grid[0]:s)),{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():h?0:r.scrollTop()),left:a-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():h?0:r.scrollLeft())}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var n=this.counter;this._delay(function(){n===this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){this.reverting=!1;var i,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)("auto"===this._storedCSS[i]||"static"===this._storedCSS[i])&&(this._storedCSS[i]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&s.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||s.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(s.push(function(t){this._trigger("remove",t,this._uiHash())}),s.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)e||s.push(function(t){return function(e){t._trigger("deactivate",e,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(s.push(function(t){return function(e){t._trigger("out",e,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!e){for(this._trigger("beforeStop",t,this._uiHash()),i=0;s.length>i;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!1}if(e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null,!e){for(i=0;s.length>i;i++)s[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!0},_trigger:function(){t.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.spinner.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.spinner.min.js
new file mode 100644 (file)
index 0000000..2b9e5d2
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){function e(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}t.widget("ui.spinner",{version:"1.10.2",defaultElement:"<input>",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e={},i=this.element;return t.each(["min","max","step"],function(t,s){var n=i.attr(s);void 0!==n&&n.length&&(e[s]=n)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){return this.cancelBlur?(delete this.cancelBlur,void 0):(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t),void 0)},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((e>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(e){function i(){var t=this.element[0]===this.document[0].activeElement;t||(this.element.focus(),this.previous=s,this._delay(function(){this.previous=s}))}var s;s=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),e.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),this._start(e)!==!1&&this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){return t(e.currentTarget).hasClass("ui-state-active")?this._start(e)===!1?!1:(this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e),void 0):void 0},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var t=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=t.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(.5*t.height())&&t.height()>0&&t.height(t.height()),this.options.disabled&&this.disable()},_keydown:function(e){var i=this.options,s=t.ui.keyCode;switch(e.keyCode){case s.UP:return this._repeat(null,1,e),!0;case s.DOWN:return this._repeat(null,-1,e),!0;case s.PAGE_UP:return this._repeat(null,i.page,e),!0;case s.PAGE_DOWN:return this._repeat(null,-i.page,e),!0}return!1},_uiSpinnerHtml:function(){return"<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>"},_buttonHtml:function(){return"<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon "+this.options.icons.up+"'>&#9650;</span>"+"</a>"+"<a class='ui-spinner-button ui-spinner-down ui-corner-br'>"+"<span class='ui-icon "+this.options.icons.down+"'>&#9660;</span>"+"</a>"},_start:function(t){return this.spinning||this._trigger("start",t)!==!1?(this.counter||(this.counter=1),this.spinning=!0,!0):!1},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&this._trigger("spin",e,{value:i})===!1||(this._value(i),this.counter++)},_increment:function(e){var i=this.options.incremental;return i?t.isFunction(i)?i(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=""+t,i=e.indexOf(".");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,s=this.options;return e=null!==s.min?s.min:0,i=t-e,i=Math.round(i/s.step)*s.step,t=e+i,t=parseFloat(t.toFixed(this._precision())),null!==s.max&&t>s.max?s.max:null!==s.min&&s.min>t?s.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){if("culture"===t||"numberFormat"===t){var i=this._parse(this.element.val());return this.options[t]=e,this.element.val(this._format(i)),void 0}("max"===t||"min"===t||"step"===t)&&"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(e.up),this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(e.down)),this._super(t,e),"disabled"===t&&(e?(this.element.prop("disabled",!0),this.buttons.button("disable")):(this.element.prop("disabled",!1),this.buttons.button("enable")))},_setOptions:e(function(t){this._super(t),this._value(this.element.val())}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},_value:function(t,e){var i;""!==t&&(i=this._parse(t),null!==i&&(e||(i=this._adjustValue(i)),t=this._format(i))),this.element.val(t),this._refresh()},_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:e(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:e(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:e(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:e(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){return arguments.length?(e(this._value).call(this,t),void 0):this._parse(this.element.val())},widget:function(){return this.uiSpinner}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.tabs.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.tabs.min.js
new file mode 100644 (file)
index 0000000..ec8dd69
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t,e){function i(){return++n}function s(t){return t.hash.length>1&&decodeURIComponent(t.href.replace(a,""))===decodeURIComponent(location.href.replace(a,""))}var n=0,a=/#.*$/;t.widget("ui.tabs",{version:"1.10.2",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var e=this,i=this.options;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",i.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs(),i.active=this._initialActive(),t.isArray(i.disabled)&&(i.disabled=t.unique(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),this.active=this.options.active!==!1&&this.anchors.length?this._findActive(i.active):t(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var i=this.options.active,s=this.options.collapsible,n=location.hash.substring(1);return null===i&&(n&&this.tabs.each(function(s,a){return t(a).attr("aria-controls")===n?(i=s,!1):e}),null===i&&(i=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===i||-1===i)&&(i=this.tabs.length?0:!1)),i!==!1&&(i=this.tabs.index(this.tabs.eq(i)),-1===i&&(i=s?!1:0)),!s&&i===!1&&this.anchors.length&&(i=0),i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(i){var s=t(this.document[0].activeElement).closest("li"),n=this.tabs.index(s),a=!0;if(!this._handlePageNav(i)){switch(i.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:n++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:a=!1,n--;break;case t.ui.keyCode.END:n=this.anchors.length-1;break;case t.ui.keyCode.HOME:n=0;break;case t.ui.keyCode.SPACE:return i.preventDefault(),clearTimeout(this.activating),this._activate(n),e;case t.ui.keyCode.ENTER:return i.preventDefault(),clearTimeout(this.activating),this._activate(n===this.options.active?!1:n),e;default:return}i.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,a),i.ctrlKey||(s.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.focus())},_handlePageNav:function(i){return i.altKey&&i.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):i.altKey&&i.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):e},_findNextTab:function(e,i){function s(){return e>n&&(e=0),0>e&&(e=n),e}for(var n=this.tabs.length-1;-1!==t.inArray(s(),this.options.disabled);)e=i?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).focus(),t},_setOption:function(t,i){return"active"===t?(this._activate(i),e):"disabled"===t?(this._setupDisabled(i),e):(this._super(t,i),"collapsible"===t&&(this.element.toggleClass("ui-tabs-collapsible",i),i||this.options.active!==!1||this._activate(0)),"event"===t&&this._setupEvents(i),"heightStyle"===t&&this._setupHeightStyle(i),e)},_tabId:function(t){return t.attr("aria-controls")||"ui-tabs-"+i()},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,i=this.tablist.children(":has(a[href])");e.disabled=t.map(i.filter(".ui-state-disabled"),function(t){return i.index(t)}),this._processTabs(),e.active!==!1&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=t(),this.anchors.each(function(i,n){var a,o,r,h=t(n).uniqueId().attr("id"),l=t(n).closest("li"),u=l.attr("aria-controls");s(n)?(a=n.hash,o=e.element.find(e._sanitizeSelector(a))):(r=e._tabId(l),a="#"+r,o=e.element.find(a),o.length||(o=e._createPanel(r),o.insertAfter(e.panels[i-1]||e.tablist)),o.attr("aria-live","polite")),o.length&&(e.panels=e.panels.add(o)),u&&l.data("ui-tabs-aria-controls",u),l.attr({"aria-controls":a.substring(1),"aria-labelledby":h}),o.attr("aria-labelledby",h)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(e){return t("<div>").attr("id",e).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(e){t.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1);for(var i,s=0;i=this.tabs[s];s++)e===!0||-1!==t.inArray(s,e)?t(i).addClass("ui-state-disabled").attr("aria-disabled","true"):t(i).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=e},_setupEvents:function(e){var i={click:function(t){t.preventDefault()}};e&&t.each(e.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,s=this.element.parent();"fill"===e?(i=s.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,i-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,t(this).height("").height())}).height(i))},_eventHandler:function(e){var i=this.options,s=this.active,n=t(e.currentTarget),a=n.closest("li"),o=a[0]===s[0],r=o&&i.collapsible,h=r?t():this._getPanelForTab(a),l=s.length?this._getPanelForTab(s):t(),u={oldTab:s,oldPanel:l,newTab:r?t():a,newPanel:h};e.preventDefault(),a.hasClass("ui-state-disabled")||a.hasClass("ui-tabs-loading")||this.running||o&&!i.collapsible||this._trigger("beforeActivate",e,u)===!1||(i.active=r?!1:this.tabs.index(a),this.active=o?t():a,this.xhr&&this.xhr.abort(),l.length||h.length||t.error("jQuery UI Tabs: Mismatching fragment identifier."),h.length&&this.load(this.tabs.index(a),e),this._toggle(e,u))},_toggle:function(e,i){function s(){a.running=!1,a._trigger("activate",e,i)}function n(){i.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),o.length&&a.options.show?a._show(o,a.options.show,s):(o.show(),s())}var a=this,o=i.newPanel,r=i.oldPanel;this.running=!0,r.length&&this.options.hide?this._hide(r,this.options.hide,function(){i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),n()}):(i.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),r.hide(),n()),r.attr({"aria-expanded":"false","aria-hidden":"true"}),i.oldTab.attr("aria-selected","false"),o.length&&r.length?i.oldTab.attr("tabIndex",-1):o.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),o.attr({"aria-expanded":"true","aria-hidden":"false"}),i.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(e){var i,s=this._findActive(e);s[0]!==this.active[0]&&(s.length||(s=this.active),i=s.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:t.noop}))},_findActive:function(e){return e===!1?t():this.tabs.eq(e)},_getIndex:function(t){return"string"==typeof t&&(t=this.anchors.index(this.anchors.filter("[href$='"+t+"']"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var e=t(this),i=e.data("ui-tabs-aria-controls");i?e.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var s=this.options.disabled;s!==!1&&(i===e?s=!1:(i=this._getIndex(i),s=t.isArray(s)?t.map(s,function(t){return t!==i?t:null}):t.map(this.tabs,function(t,e){return e!==i?e:null})),this._setupDisabled(s))},disable:function(i){var s=this.options.disabled;if(s!==!0){if(i===e)s=!0;else{if(i=this._getIndex(i),-1!==t.inArray(i,s))return;s=t.isArray(s)?t.merge([i],s).sort():[i]}this._setupDisabled(s)}},load:function(e,i){e=this._getIndex(e);var n=this,a=this.tabs.eq(e),o=a.find(".ui-tabs-anchor"),r=this._getPanelForTab(a),h={tab:a,panel:r};s(o[0])||(this.xhr=t.ajax(this._ajaxSettings(o,i,h)),this.xhr&&"canceled"!==this.xhr.statusText&&(a.addClass("ui-tabs-loading"),r.attr("aria-busy","true"),this.xhr.success(function(t){setTimeout(function(){r.html(t),n._trigger("load",i,h)},1)}).complete(function(t,e){setTimeout(function(){"abort"===e&&n.panels.stop(!1,!0),a.removeClass("ui-tabs-loading"),r.removeAttr("aria-busy"),t===n.xhr&&delete n.xhr},1)})))},_ajaxSettings:function(e,i,s){var n=this;return{url:e.attr("href"),beforeSend:function(e,a){return n._trigger("beforeLoad",i,t.extend({jqXHR:e,ajaxSettings:a},s))}}},_getPanelForTab:function(e){var i=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.tooltip.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.tooltip.min.js
new file mode 100644 (file)
index 0000000..b0db793
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(t){function e(e,i){var s=(e.attr("aria-describedby")||"").split(/\s+/);s.push(i),e.data("ui-tooltip-id",i).attr("aria-describedby",t.trim(s.join(" ")))}function i(e){var i=e.data("ui-tooltip-id"),s=(e.attr("aria-describedby")||"").split(/\s+/),n=t.inArray(i,s);-1!==n&&s.splice(n,1),e.removeData("ui-tooltip-id"),s=t.trim(s.join(" ")),s?e.attr("aria-describedby",s):e.removeAttr("aria-describedby")}var s=0;t.widget("ui.tooltip",{version:"1.10.2",options:{content:function(){var e=t(this).attr("title")||"";return t("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable()},_setOption:function(e,i){var s=this;return"disabled"===e?(this[i?"_disable":"_enable"](),this.options[e]=i,void 0):(this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e){s._updateContent(e)}),void 0)},_disable:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s[0],e.close(n,!0)}),this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.is("[title]")&&e.data("ui-tooltip-title",e.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))})},open:function(e){var i=this,s=t(e?e.target:this.element).closest(this.options.items);s.length&&!s.data("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-title",s.attr("title")),s.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&s.parents().each(function(){var e,s=t(this);s.data("ui-tooltip-open")&&(e=t.Event("blur"),e.target=e.currentTarget=this,i.close(e,!0)),s.attr("title")&&(s.uniqueId(),i.parents[this.id]={element:this,title:s.attr("title")},s.attr("title",""))}),this._updateContent(s,e))},_updateContent:function(t,e){var i,s=this.options.content,n=this,a=e?e.type:null;return"string"==typeof s?this._open(e,t,s):(i=s.call(t[0],function(i){t.data("ui-tooltip-open")&&n._delay(function(){e&&(e.type=a),this._open(e,t,i)})}),i&&this._open(e,t,i),void 0)},_open:function(i,s,n){function a(t){l.of=t,o.is(":hidden")||o.position(l)}var o,r,h,l=t.extend({},this.options.position);if(n){if(o=this._find(s),o.length)return o.find(".ui-tooltip-content").html(n),void 0;s.is("[title]")&&(i&&"mouseover"===i.type?s.attr("title",""):s.removeAttr("title")),o=this._tooltip(s),e(s,o.attr("id")),o.find(".ui-tooltip-content").html(n),this.options.track&&i&&/^mouse/.test(i.type)?(this._on(this.document,{mousemove:a}),a(i)):o.position(t.extend({of:s},this.options.position)),o.hide(),this._show(o,this.options.show),this.options.show&&this.options.show.delay&&(h=this.delayedShow=setInterval(function(){o.is(":visible")&&(a(l.of),clearInterval(h))},t.fx.interval)),this._trigger("open",i,{tooltip:o}),r={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var i=t.Event(e);i.currentTarget=s[0],this.close(i,!0)}},remove:function(){this._removeTooltip(o)}},i&&"mouseover"!==i.type||(r.mouseleave="close"),i&&"focusin"!==i.type||(r.focusout="close"),this._on(!0,s,r)}},close:function(e){var s=this,n=t(e?e.currentTarget:this.element),a=this._find(n);this.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&n.attr("title",n.data("ui-tooltip-title")),i(n),a.stop(!0),this._hide(a,this.options.hide,function(){s._removeTooltip(t(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,i){t(i.element).attr("title",i.title),delete s.parents[e]}),this.closing=!0,this._trigger("close",e,{tooltip:a}),this.closing=!1)},_tooltip:function(e){var i="ui-tooltip-"+s++,n=t("<div>").attr({id:i,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return t("<div>").addClass("ui-tooltip-content").appendTo(n),n.appendTo(this.document[0].body),this.tooltips[i]=e,n},_find:function(e){var i=e.data("ui-tooltip-id");return i?t("#"+i):t()},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_destroy:function(){var e=this;t.each(this.tooltips,function(i,s){var n=t.Event("blur");n.target=n.currentTarget=s[0],e.close(n,!0),t("#"+i).remove(),s.data("ui-tooltip-title")&&(s.attr("title",s.data("ui-tooltip-title")),s.removeData("ui-tooltip-title"))})}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.widget.min.js b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/js/ui/jquery.ui.widget.min.js
new file mode 100644 (file)
index 0000000..483796c
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery UI - v1.10.2 - 2013-03-14
+* http://jqueryui.com
+* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
+(function(e,t){var i=0,s=Array.prototype.slice,n=e.cleanData;e.cleanData=function(t){for(var i,s=0;null!=(i=t[s]);s++)try{e(i).triggerHandler("remove")}catch(a){}n(t)},e.widget=function(i,s,n){var a,r,o,h,l={},u=i.split(".")[0];i=i.split(".")[1],a=u+"-"+i,n||(n=s,s=e.Widget),e.expr[":"][a.toLowerCase()]=function(t){return!!e.data(t,a)},e[u]=e[u]||{},r=e[u][i],o=e[u][i]=function(e,i){return this._createWidget?(arguments.length&&this._createWidget(e,i),t):new o(e,i)},e.extend(o,r,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),h=new s,h.options=e.widget.extend({},h.options),e.each(n,function(i,n){return e.isFunction(n)?(l[i]=function(){var e=function(){return s.prototype[i].apply(this,arguments)},t=function(e){return s.prototype[i].apply(this,e)};return function(){var i,s=this._super,a=this._superApply;return this._super=e,this._superApply=t,i=n.apply(this,arguments),this._super=s,this._superApply=a,i}}(),t):(l[i]=n,t)}),o.prototype=e.widget.extend(h,{widgetEventPrefix:r?h.widgetEventPrefix:i},l,{constructor:o,namespace:u,widgetName:i,widgetFullName:a}),r?(e.each(r._childConstructors,function(t,i){var s=i.prototype;e.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete r._childConstructors):s._childConstructors.push(o),e.widget.bridge(i,o)},e.widget.extend=function(i){for(var n,a,r=s.call(arguments,1),o=0,h=r.length;h>o;o++)for(n in r[o])a=r[o][n],r[o].hasOwnProperty(n)&&a!==t&&(i[n]=e.isPlainObject(a)?e.isPlainObject(i[n])?e.widget.extend({},i[n],a):e.widget.extend({},a):a);return i},e.widget.bridge=function(i,n){var a=n.prototype.widgetFullName||i;e.fn[i]=function(r){var o="string"==typeof r,h=s.call(arguments,1),l=this;return r=!o&&h.length?e.widget.extend.apply(null,[r].concat(h)):r,o?this.each(function(){var s,n=e.data(this,a);return n?e.isFunction(n[r])&&"_"!==r.charAt(0)?(s=n[r].apply(n,h),s!==n&&s!==t?(l=s&&s.jquery?l.pushStack(s.get()):s,!1):t):e.error("no such method '"+r+"' for "+i+" widget instance"):e.error("cannot call methods on "+i+" prior to initialization; "+"attempted to call method '"+r+"'")}):this.each(function(){var t=e.data(this,a);t?t.option(r||{})._init():e.data(this,a,new n(r,this))}),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,s){s=e(s||this.defaultElement||this)[0],this.element=e(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=e(),this.hoverable=e(),this.focusable=e(),s!==this&&(e.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===s&&this.destroy()}}),this.document=e(s.style?s.ownerDocument:s.document||s),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled "+"ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(i,s){var n,a,r,o=i;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof i)if(o={},n=i.split("."),i=n.shift(),n.length){for(a=o[i]=e.widget.extend({},this.options[i]),r=0;n.length-1>r;r++)a[n[r]]=a[n[r]]||{},a=a[n[r]];if(i=n.pop(),s===t)return a[i]===t?null:a[i];a[i]=s}else{if(s===t)return this.options[i]===t?null:this.options[i];o[i]=s}return this._setOptions(o),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return this.options[e]=t,"disabled"===e&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!t).attr("aria-disabled",t),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(i,s,n){var a,r=this;"boolean"!=typeof i&&(n=s,s=i,i=!1),n?(s=a=e(s),this.bindings=this.bindings.add(s)):(n=s,s=this.element,a=this.widget()),e.each(n,function(n,o){function h(){return i||r.options.disabled!==!0&&!e(this).hasClass("ui-state-disabled")?("string"==typeof o?r[o]:o).apply(r,arguments):t}"string"!=typeof o&&(h.guid=o.guid=o.guid||h.guid||e.guid++);var l=n.match(/^(\w+)\s*(.*)$/),u=l[1]+r.eventNamespace,c=l[2];c?a.delegate(c,u,h):s.bind(u,h)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.unbind(t).undelegate(t)},_delay:function(e,t){function i(){return("string"==typeof e?s[e]:e).apply(s,arguments)}var s=this;return setTimeout(i,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){e(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){e(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){e(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){e(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,s){var n,a,r=this.options[t];if(s=s||{},i=e.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],a=i.originalEvent)for(n in a)n in i||(i[n]=a[n]);return this.element.trigger(i,s),!(e.isFunction(r)&&r.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(s,n,a){"string"==typeof n&&(n={effect:n});var r,o=n?n===!0||"number"==typeof n?i:n.effect||i:t;n=n||{},"number"==typeof n&&(n={duration:n}),r=!e.isEmptyObject(n),n.complete=a,n.delay&&s.delay(n.delay),r&&e.effects&&e.effects.effect[o]?s[t](n):o!==t&&s[o]?s[o](n.duration,n.easing,a):s.queue(function(i){e(this)[t](),a&&a.call(s[0]),i()})}})})(jQuery);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/manifest.json b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/manifest.json
new file mode 100644 (file)
index 0000000..3eb7677
--- /dev/null
@@ -0,0 +1,12 @@
+{
+  "name": "Modello HVAC",
+  "version": "0.0.2",
+  "app": {
+    "launch":{
+      "local_path": "index.html"
+    }
+  },
+  "icons": {
+    "128": "HVAC_icon.png"
+  }
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/packaging/modello-hvac.changes b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/packaging/modello-hvac.changes
new file mode 100644 (file)
index 0000000..d6c1da2
--- /dev/null
@@ -0,0 +1,12 @@
+* Thu May 22 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.232618@f5ca6c4
+- Fixes for IVI-3190 - To get things to render normally
+
+* Thu May 08 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.172541@0238446
+- Adding Modello to the app name to easily identify it
+
+* Tue May 06 2014 brianjjones <brian.j.jones@intel.com> accepted/tizen/ivi/20140409.182221@9866621
+- Updated to work with Crosswalk.  TIVI-3076
+
+* Thu Apr 03 2014 brianjjones <brian.j.jones@intel.com> 10e3cb6
+- Initial checkin of the Modello HVAC app
+
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/packaging/modello-hvac.spec b/samples/web/Sample/Tizen/Web App/Modello_Hvac/project/packaging/modello-hvac.spec
new file mode 100644 (file)
index 0000000..7b6df49
--- /dev/null
@@ -0,0 +1,29 @@
+Name:       Modello_Hvac
+Summary:    A proof of concept pure html5 UI
+Version:    0.0.2
+Release:    1
+Group:      Applications/System
+License:    Apache 2.0
+URL:        http://www.tizen.org
+Source0:    %{name}-%{version}.tar.bz2
+BuildRequires:  zip
+Requires:   Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_Hvac.wgt
+/opt/usr/apps/_common/icons/HVAC_icon.png
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/tizen-app-template.xml b/samples/web/Sample/Tizen/Web App/Modello_Hvac/tizen-app-template.xml
new file mode 100644 (file)
index 0000000..c46d388
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<tizen-app-template xmlns="http://www.tizen.org/tizen-app-template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" template-version="" sdk-version="" icon32="tizen_32.png" icon64="tizen_64.png" xsi:schemaLocation="http://www.tizen.org/tizen-app-template tizen-app-template.xsd ">
+    <template-name>Modello_Hvac</template-name>
+    <widget-type>TIZEN</widget-type>
+    <build-property key="usedLibraryType" value="Modello"/>
+    <description-file-name>description.xml</description-file-name>
+    <options>
+        <supportLibraries>
+        <library name="modello"/>
+        </supportLibraries>
+    </options>
+</tizen-app-template>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/tizen_32.png b/samples/web/Sample/Tizen/Web App/Modello_Hvac/tizen_32.png
new file mode 100644 (file)
index 0000000..a37c33e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Hvac/tizen_32.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Hvac/tizen_64.png b/samples/web/Sample/Tizen/Web App/Modello_Hvac/tizen_64.png
new file mode 100644 (file)
index 0000000..f80f2ec
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Hvac/tizen_64.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/description.xml b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/description.xml
new file mode 100644 (file)
index 0000000..e982464
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<?xml-stylesheet type="text/xsl" href="description.xsl"?>\r
+<Overview version="1.0">\r
+  <SampleName>Modello_Multimediaplayer</SampleName>\r
+  <SampleVersion>1.0.0</SampleVersion>\r
+  <Preview>Modello_Multimediaplayer-snapshot.png</Preview>\r
+  <Description>\r
+         Modello Multimediaplayer\r
+  </Description>\r
+</Overview>\r
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/description.xsl b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/description.xsl
new file mode 100644 (file)
index 0000000..1f4f57f
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+    This file provides a functionality to show template's description.xml in the project wizard.
+    Don't delete or move this file.
+ -->
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:template match="/">
+    <html>
+      <head>
+        <style type="text/css">
+          html,body {
+          font-family:Arial;
+          margin: 0px;
+          }
+          td
+          {
+          font-size:13px;
+          }
+          .samplename
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:26px;
+          background-color:#6d96ac;
+          }
+          .category
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:30px;
+          background-color:#6d96ac;
+          }
+          .contents
+          {
+          padding: 6px 10px 14px 10px;
+          }
+          table#widgets td
+          {
+          border: solid 1px #6d96ac;
+          border-collapse: collapse;
+          }
+          .widgetname
+          {
+          font-weight: bold;
+          text-align: center;
+          width: 20%;
+          word-break:break-all;
+          }
+          table#references td
+          {
+          width: 100%;
+          border: 0px;
+          border-spacing: 0px;
+          padding: 5px;
+          }
+          .refname
+          {
+          width: 100%;
+          font-weight: bold;
+          }
+        </style>
+      </head>
+      <body>
+        <table width="400px" border="0" cellspacing="0">
+          <tr>
+            <td class="samplename" align="center">
+              <xsl:value-of select="Overview/SampleName"/>
+              <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
+                         <!--
+              <xsl:value-of select="Overview/SampleVersion"/>
+                         -->
+            </td>
+          </tr>
+          <tr bgcolor="#FFFFFF">
+            <td class="contents">
+                         <strong>Type</strong>: JavaScript
+                         <p>
+              <xsl:value-of select="Overview/Description"/>
+                         </p>
+            </td>
+          </tr>
+          <tr>
+            <td align="center" bgcolor="#FFFFFF" height="260px">
+              <img>
+                <xsl:attribute name="src">
+                  <xsl:value-of select="Overview/Preview"/>
+                </xsl:attribute>
+              </img>
+            </td>
+          </tr>
+        </table>
+      </body>
+    </html>
+  </xsl:template>
+
+</xsl:stylesheet>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/Makefile b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/Makefile
new file mode 100644 (file)
index 0000000..e6ae5e6
--- /dev/null
@@ -0,0 +1,20 @@
+PROJECT = Modello_Multimediaplayer
+
+VERSION := 0.0.2
+PACKAGE = $(PROJECT)-$(VERSION)
+
+INSTALL_FILES = $(PROJECT).wgt
+INSTALL_DIR = ${DESTDIR}/opt/usr/apps/.preinstallWidgets
+
+wgtPkg:
+       zip -r $(PROJECT).wgt components config.xml css Multimedia_Player_icon.png images index.html js
+
+install:
+       @echo "Installing Multimediaplayer, stand by..."
+       mkdir -p $(INSTALL_DIR)/
+       mkdir -p ${DESTDIR}/opt/usr/apps/_common/icons
+       cp $(PROJECT).wgt $(INSTALL_DIR)/
+       cp Multimedia_Player_icon.png ${DESTDIR}/opt/usr/apps/_common/icons
+
+dist:
+       tar czf ../$(PACKAGE).tar.bz2 .
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/Multimedia_Player_icon.png b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/Multimedia_Player_icon.png
new file mode 100644 (file)
index 0000000..4716719
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/Multimedia_Player_icon.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/components/infoPanel/infoPanel.js b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/components/infoPanel/infoPanel.js
new file mode 100644 (file)
index 0000000..6d8c45a
--- /dev/null
@@ -0,0 +1,52 @@
+//audio info panel JQuery Plugin
+
+/**
+ * @module MultimediaPlayerApplication
+ */
+(function ($) {
+       "use strict";
+       /**
+        * Class which provides methods to fill content of info panel for JQuery plugin.
+        * @class InfoPanelObj
+        * @static
+        */
+       var InfoPanelObj = {
+                       title: 'NOW PLAYING',
+                       artist: 'ARTIST',
+                       album: 'ALBUM',
+                       name: 'SONG NAME',
+                       /**
+                        * Method is initializing info panel.
+                        * @method show
+                        * @param obj {Object} Object which contains properties title, artist, album and name.
+                        */
+                       show: function (obj) {
+                               InfoPanelObj.title = obj.title;
+                               InfoPanelObj.artist = obj.artist;
+                               InfoPanelObj.album = obj.album;
+                               InfoPanelObj.name = obj.name;
+                               this.empty();
+                               this.append('<div class="nowPlaying"></div><div class="fontColorNormal fontSizeLarger fontWeightBold artistNameTextMargin oneLineEllipsis">' + obj.artist.toUpperCase() + '</div>' +
+                                               '<div class="fontSizeSmaller fontColorTheme fontWeightBold oneLineEllipsis">' + obj.album.toUpperCase() + '</div>' +
+                                               '<div class="fontSizeXXLarge fontColorNormal fontWeightBold songNameTextPosition oneLineEllipsis">' + obj.name.toUpperCase() + '</div>');
+                               $(".nowPlaying").boxCaptionPlugin('init', obj.title.toUpperCase());
+                       }
+               };
+       /**
+        * Class which provides acces to InfoPanelObj methods.
+        * @class infoPanel
+        * @constructor
+        * @param method {Object} Identificator (name) of method.
+        * @return Result of called method.
+        */
+       $.fn.infoPanel = function (method) {
+               // Method calling logic
+               if (InfoPanelObj[method]) {
+                       return InfoPanelObj[method].apply(this, Array.prototype.slice.call(arguments, 1));
+               } else if (typeof method === 'object' || !method) {
+                       return InfoPanelObj.init.apply(this, arguments);
+               } else {
+                       $.error('Method ' +  method + ' does not exist on jQuery.infoPanelAPI');
+               }
+       };
+}(jQuery));
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/components/spectrumAnalyzer/spectrumAnalyzer.js b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/components/spectrumAnalyzer/spectrumAnalyzer.js
new file mode 100644 (file)
index 0000000..3131bd0
--- /dev/null
@@ -0,0 +1,253 @@
+/**
+ * @module MultimediaPlayerApplication
+ */
+(function ($) {
+       "use strict";
+       /**
+        * Class which provides methods to fill content of spectrum analyzer for JQuery plugin.
+        * @class SpectrumAnalyzerObj
+        * @static
+        */
+       var SpectrumAnalyzerObj = {
+                       /**
+                        * Holds value of spectrum analyzer bar.
+                        * @property bar1 {Integer}
+                        */
+                       bar1 : 0,
+                       /**
+                        * Holds value of spectrum analyzer bar.
+                        * @property bar2 {Integer}
+                        */
+                       bar2 : 0,
+                       /**
+                        * Holds value of spectrum analyzer bar.
+                        * @property bar3 {Integer}
+                        */
+                       bar3 : 0,
+                       /**
+                        * Holds value of spectrum analyzer bar.
+                        * @property bar4 {Integer}
+                        */
+                       bar4 : 0,
+                       /**
+                        * Holds value of spectrum analyzer bar.
+                        * @property bar5 {Integer}
+                        */
+                       bar5 : 0,
+                       /**
+                        * Holds value of spectrum analyzer bar.
+                        * @property bar6 {Integer}
+                        */
+                       bar6 : 0,
+                       /**
+                        * Holds value of spectrum analyzer bar.
+                        * @property bar7 {Integer}
+                        */
+                       bar7 : 0,
+                       /**
+                        * Holds value of spectrum analyzer bar.
+                        * @property bar8 {Integer}
+                        */
+                       bar8 : 0,
+                       /**
+                        * Holds value of spectrum analyzer bar.
+                        * @property bar9 {Integer}
+                        */
+                       bar9 : 0,
+                       /**
+                        * Holds value of spectrum analyzer bar.
+                        * @property bar10 {Integer}
+                        */
+                       bar10 : 0,
+                       /**
+                        * Method provides randomization for spectrum analyzer bars.
+                        * @method spectrumAnalyzerRandomize
+                        */
+                       spectrumAnalyzerRandomize : function () {
+                               SpectrumAnalyzerObj.bar1 = Math.floor((Math.random() *  6) + 1);
+                               SpectrumAnalyzerObj.bar2 = Math.floor((Math.random() * 6) + 1);
+                               SpectrumAnalyzerObj.bar3 = Math.floor((Math.random() * 6) + 1);
+                               SpectrumAnalyzerObj.bar4 = Math.floor((Math.random() * 6) + 1);
+                               SpectrumAnalyzerObj.bar5 = Math.floor((Math.random() * 6) + 1);
+                               SpectrumAnalyzerObj.bar6 = Math.floor((Math.random() * 6) + 1);
+                               SpectrumAnalyzerObj.bar7 = Math.floor((Math.random() * 6) + 1);
+                               SpectrumAnalyzerObj.bar8 = Math.floor((Math.random() * 6) + 1);
+                               SpectrumAnalyzerObj.bar9 = Math.floor((Math.random() * 6) + 1);
+                               SpectrumAnalyzerObj.bar10 = Math.floor((Math.random() * 6) + 1);
+                               SpectrumAnalyzerObj.showSpectrumAnalyzer(this);
+                       },
+                       /**
+                        * Method provides randomization for spectrum analyzer bars.
+                        * @method showSpectrumAnalyzer
+                        * @param thisObj {Object} Object which contains current object of this JQuery plugin.
+                        */
+                       showSpectrumAnalyzer : function (thisObj) {
+                               var bar1Count, bar2Count, bar3Count, bar4Count, bar5Count, bar6Count, bar7Count, bar8Count, bar9Count, bar10Count, bottom, i;
+                               bar1Count = 2 * SpectrumAnalyzerObj.bar1;
+                               bar2Count = 2 * SpectrumAnalyzerObj.bar2;
+                               bar3Count = 2 * SpectrumAnalyzerObj.bar3;
+                               bar4Count = 2 * SpectrumAnalyzerObj.bar4;
+                               bar5Count = 2 * SpectrumAnalyzerObj.bar5;
+                               bar6Count = 2 * SpectrumAnalyzerObj.bar6;
+                               bar7Count = 2 * SpectrumAnalyzerObj.bar7;
+                               bar8Count = 2 * SpectrumAnalyzerObj.bar8;
+                               bar9Count = 2 * SpectrumAnalyzerObj.bar9;
+                               bar10Count = 2 * SpectrumAnalyzerObj.bar10;
+                               if (bar1Count  > 12) {
+                                       bar1Count = 12;
+                               }
+                               if (bar2Count  > 12) {
+                                       bar2Count = 12;
+                               }
+                               if (bar3Count  > 12) {
+                                       bar3Count = 12;
+                               }
+                               if (bar4Count  > 12) {
+                                       bar4Count = 12;
+                               }
+                               if (bar5Count  > 12) {
+                                       bar5Count = 12;
+                               }
+                               if (bar6Count  > 12) {
+                                       bar6Count = 12;
+                               }
+                               if (bar7Count  > 12) {
+                                       bar7Count = 12;
+                               }
+                               if (bar8Count  > 12) {
+                                       bar8Count = 12;
+                               }
+                               if (bar9Count  > 12) {
+                                       bar9Count = 12;
+                               }
+                               if (bar10Count  > 12) {
+                                       bar10Count = 12;
+                               }
+                               thisObj.empty();
+                               bottom = 0;
+                               for (i = 0; i < bar1Count; i++) {
+                                       bottom = bottom + 5;
+                                       if ((i % 2) === 0) {
+                                               thisObj.append('<div id="bar1" class="bar1Class barAnalyzer" style="bottom:' + bottom + 'px;"></div>');
+                                       } else {
+                                               thisObj.append('<div id="bar1" class="bar1Class barAnalyzer bgColorTheme boxShadow1" style="bottom:' + bottom + 'px;"></div>');
+                                       }
+                               }
+                               bottom = 0;
+                               for (i = 0; i < bar2Count; i++) {
+                                       bottom = bottom + 5;
+                                       if ((i % 2) === 0) {
+                                               thisObj.append('<div id="bar2" class="bar2Class barAnalyzer" style="bottom:' + bottom + 'px;"></div>');
+                                       } else {
+                                               thisObj.append('<div id="bar2" class="bar2Class barAnalyzer bgColorTheme boxShadow1" style="bottom:' + bottom + 'px;"></div>');
+                                       }
+                               }
+                               bottom = 0;
+                               for (i = 0; i < bar3Count; i++) {
+                                       bottom = bottom + 5;
+                                       if ((i % 2) === 0) {
+                                               thisObj.append('<div id="bar3" class="bar3Class barAnalyzer" style="bottom:' + bottom + 'px;"></div>');
+                                       } else {
+                                               thisObj.append('<div id="bar3" class="bar3Class barAnalyzer bgColorTheme boxShadow1" style="bottom:' + bottom + 'px;"></div>');
+                                       }
+                               }
+                               bottom = 0;
+                               for (i = 0; i < bar4Count; i++) {
+                                       bottom = bottom + 5;
+                                       if ((i % 2) === 0) {
+                                               thisObj.append('<div id="bar4" class="bar4Class barAnalyzer" style="bottom:' + bottom + 'px;"></div>');
+                                       } else {
+                                               thisObj.append('<div id="bar4" class="bar4Class barAnalyzer bgColorTheme boxShadow1" style="bottom:' + bottom + 'px;"></div>');
+                                       }
+                               }
+                               bottom = 0;
+                               for (i = 0; i < bar5Count; i++) {
+                                       bottom = bottom + 5;
+                                       if ((i % 2) === 0) {
+                                               thisObj.append('<div id="bar5" class="bar5Class barAnalyzer" style="bottom:' + bottom + 'px;"></div>');
+                                       } else {
+                                               thisObj.append('<div id="bar5" class="bar5Class barAnalyzer bgColorTheme boxShadow1" style="bottom:' + bottom + 'px;"></div>');
+                                       }
+                               }
+                               bottom = 0;
+                               for (i = 0; i < bar6Count; i++) {
+                                       bottom = bottom + 5;
+                                       if ((i % 2) === 0) {
+                                               thisObj.append('<div id="bar6" class="bar6Class barAnalyzer" style="bottom:' + bottom + 'px;"></div>');
+                                       } else {
+                                               thisObj.append('<div id="bar6" class="bar6Class barAnalyzer bgColorTheme boxShadow1" style="bottom:' + bottom + 'px;"></div>');
+                                       }
+                               }
+                               bottom = 0;
+                               for (i = 0; i < bar7Count; i++) {
+                                       bottom = bottom + 5;
+                                       if ((i % 2) === 0) {
+                                               thisObj.append('<div id="bar7" class="bar7Class barAnalyzer" style="bottom:' + bottom + 'px;"></div>');
+                                       } else {
+                                               thisObj.append('<div id="bar7" class="bar7Class barAnalyzer bgColorTheme boxShadow1" style="bottom:' + bottom + 'px;"></div>');
+                                       }
+                               }
+                               bottom = 0;
+                               for (i = 0; i < bar8Count; i++) {
+                                       bottom = bottom + 5;
+                                       if ((i % 2) === 0) {
+                                               thisObj.append('<div id="bar8" class="bar8Class barAnalyzer" style="bottom:' + bottom + 'px;"></div>');
+                                       } else {
+                                               thisObj.append('<div id="bar8" class="bar8Class barAnalyzer bgColorTheme boxShadow1" style="bottom:' + bottom + 'px;"></div>');
+                                       }
+                               }
+                               bottom = 0;
+                               for (i = 0; i < bar9Count; i++) {
+                                       bottom = bottom + 5;
+                                       if ((i % 2) === 0) {
+                                               thisObj.append('<div id="bar9" class="bar9Class barAnalyzer" style="bottom:' + bottom + 'px;"></div>');
+                                       } else {
+                                               thisObj.append('<div id="bar9" class="bar9Class barAnalyzer bgColorTheme boxShadow1" style="bottom:' + bottom + 'px;"></div>');
+                                       }
+                               }
+                               bottom = 0;
+                               for (i = 0; i < bar10Count; i++) {
+                                       bottom = bottom + 5;
+                                       if ((i % 2) === 0) {
+                                               thisObj.append('<div id="bar10" class="bar10Class barAnalyzer" style="bottom:' + bottom + 'px;"></div>');
+                                       } else {
+                                               thisObj.append('<div id="bar10" class="bar10Class barAnalyzer bgColorTheme boxShadow1" style="bottom:' + bottom + 'px;"></div>');
+                                       }
+                               }
+                       },
+                       /**
+                        * Method provides clear for spectrum analyzer bars.
+                        * @method clearSpectrumAnalyzer
+                        */
+                       clearSpectrumAnalyzer : function () {
+                               SpectrumAnalyzerObj.bar1 = 0;
+                               SpectrumAnalyzerObj.bar2 = 0;
+                               SpectrumAnalyzerObj.bar3 = 0;
+                               SpectrumAnalyzerObj.bar4 = 0;
+                               SpectrumAnalyzerObj.bar5 = 0;
+                               SpectrumAnalyzerObj.bar6 = 0;
+                               SpectrumAnalyzerObj.bar7 = 0;
+                               SpectrumAnalyzerObj.bar8 = 0;
+                               SpectrumAnalyzerObj.bar9 = 0;
+                               SpectrumAnalyzerObj.bar10 = 0;
+                               SpectrumAnalyzerObj.showSpectrumAnalyzer(this);
+                       }
+               };
+       /**
+        * Class which provides acces to SpectrumAnalyzerObj methods.
+        * @class spectrumAnalyzer
+        * @constructor
+        * @param method {Object} Identificator (name) of method.
+        * @return Result of called method.
+        */
+       $.fn.spectrumAnalyzer = function (method) {
+               // Method calling logic
+               if (SpectrumAnalyzerObj[method]) {
+                       return SpectrumAnalyzerObj[method].apply(this, Array.prototype.slice.call(arguments, 1));
+               } else if (typeof method === 'object' || !method) {
+                       return SpectrumAnalyzerObj.init.apply(this, arguments);
+               } else {
+                       $.error('Method ' +  method + ' does not exist on jQuery.spectrumAnalyzerAPI');
+               }
+       };
+}(jQuery));
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/components/timeProgressBar/timeProgressBar.js b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/components/timeProgressBar/timeProgressBar.js
new file mode 100644 (file)
index 0000000..01cf3f2
--- /dev/null
@@ -0,0 +1,119 @@
+//audio time progress bar JQuery Plugin
+/**
+ * @module MultimediaPlayerApplication
+ */
+(function ($) {
+       "use strict";
+       /**
+        * Class which provides methods to fill content of time progress bar for JQuery plugin.
+        * @class TimeProgressBarObj
+        * @static
+        */
+       var TimeProgressBarObj = {
+                       /**
+                        * Holds current object of this JQuery plugin.
+                        * @property thisObj {Object}
+                        */
+                       thisObj: null,
+                       /**
+                        * Holds current object of position indicator.
+                        * @property positionIndicator {Object}
+                        */
+                       positionIndicator: null,
+                       /**
+                        * Holds current text of top right caption.
+                        * @property rightText {String}
+                        */
+                       rightText: null,
+                       /**
+                        * Holds current text of top left caption.
+                        * @property leftText {String}
+                        */
+                       leftText: null,
+                       /**
+                        * Holds current count of songs in playlist.
+                        * @property count {Integer}
+                        */
+                       count: 0,
+                       /**
+                        * Holds current index of song from playlist.
+                        * @property index {Integer}
+                        */
+                       index: 0,
+                       /**
+                        * Holds current estimation of song from playlist.
+                        * @property estimation {String}
+                        */
+                       estimation: "",
+                       /**
+                        * Holds current position of song from playlist.
+                        * @property position {Integer}
+                        */
+                       position: 0,
+                       /**
+                        * Method is initializing time progress bar.
+                        * @method init
+                        */
+                       init: function () {
+                               this.empty();
+                               this.append('<div id="songIndex" class="leftText fontColorNormal fontSizeLarge fontWeightBold">' +
+                                               '0/0' +
+                                               '</div>' +
+                                               '<div id="songTime" class="rightText fontColorTheme fontSizeLarge fontWeightBold">' +
+                                               '-0:00' +
+                                               '</div>' +
+                                               '<div id="songProgress" class="progressBar borderColorTheme">' +
+                                               '<div id="songSeek"     class="progressPot bgColorTheme boxShadow3"></div>' +
+                                       '</div>');
+
+                               TimeProgressBarObj.positionIndicator = $('#songProgress #songSeek');
+                               TimeProgressBarObj.leftText = $('#songIndex');
+                               TimeProgressBarObj.rightText = $('#songTime');
+                               TimeProgressBarObj.positionIndicator.css({width: '0 %'});
+                               TimeProgressBarObj.thisObj = this;
+
+                               $("#songProgress").click(function (e) {
+                                       var elWidth = $(this).width(),
+                                               parentOffset = $(this).parent().offset(),
+                                               relativeXPosition = (e.pageX - parentOffset.left), //offset -> method allows you to retrieve the current position of an element 'relative' to the document
+                                               progress = 0.00;
+                                       if (elWidth > 0) {
+                                               progress = relativeXPosition / elWidth;
+                                       }
+                                       TimeProgressBarObj.thisObj.trigger('positionChanged', {position: (progress * 100)});
+                               });
+                       },
+                       /**
+                        * Method is rendering position bar and position information from song.
+                        * @method show
+                        */
+                       show: function (objSong) {
+                               $("#songIndex").empty();
+                               $("#songIndex").append(objSong.index + '/' + objSong.count);
+                               $("#songTime").empty();
+                               $("#songTime").append(objSong.estimation);
+                               TimeProgressBarObj.count = objSong.count;
+                               TimeProgressBarObj.index = objSong.index;
+                               TimeProgressBarObj.estimation = objSong.estimation;
+                               TimeProgressBarObj.positionIndicator.css({width:  objSong.position + '%'});
+                               TimeProgressBarObj.position = objSong.position;
+                       }
+               };
+       /**
+        * Class which provides acces to TimeProgressBarObj methods.
+        * @class timeProgressBar
+        * @constructor
+        * @param method {Object} Identificator (name) of method.
+        * @return Result of called method.
+        */
+       $.fn.timeProgressBar = function (method) {
+               // Method calling logic
+               if (TimeProgressBarObj[method]) {
+                       return TimeProgressBarObj[method].apply(this, Array.prototype.slice.call(arguments, 1));
+               } else if (typeof method === 'object' || !method) {
+                       return TimeProgressBarObj.init.apply(this, arguments);
+               } else {
+                       $.error('Method ' +  method + ' does not exist on jQuery.infoPanelAPI');
+               }
+       };
+}(jQuery));
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/config.xml b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/config.xml
new file mode 100644 (file)
index 0000000..a5fa091
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets"
+       id="http://com.intel.tizen/multimediaplayer" version="1.0.0" viewmodes="fullscreen">
+       <access origin="*" subdomains="true" />
+       <tizen:application id="Modello007.Multimediaplayer"
+               package="Modello007" required_version="2.1" />
+       <content src="index.html" />
+       <icon src="icon.png" />
+       <name>Modello Multimedia Player</name>
+       <tizen:privilege name="http://tizen.org/privilege/application.launch" />
+       <tizen:privilege name="http://tizen.org/privilege/filesystem.read" />
+       <tizen:privilege name="http://tizen.org/privilege/filesystem.write" />
+       <tizen:privilege name="http://tizen.org/privilege/fullscreen" />
+       <tizen:privilege name="http://tizen.org/privilege/content.read" />
+       <tizen:privilege name="http://tizen.org/privilege/speech" />
+       <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin" />
+       <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp" />
+       <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap" />
+       <tizen:setting screen-orientation="portrait"
+               context-menu="enable" background-support="disable" encryption="disable"
+               install-location="auto" />
+</widget>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/css/music_library.css b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/css/music_library.css
new file mode 100644 (file)
index 0000000..66ef5fe
--- /dev/null
@@ -0,0 +1,87 @@
+/* ARTISTS */
+.musicLibraryContentList .musicElement {
+       padding: 10px 0 10px 0;
+       height: 70px;
+       box-shadow: none;
+       border-bottom-style: solid;
+       border-bottom-width: 2px;
+       line-height: 0;
+       text-align: left;
+       cursor: pointer;
+}
+
+.musicLibraryContentList .musicImage {
+       width: 70px;
+       height: 70px;
+       display: inline-block;
+       margin-right: 20px;
+       background-position: center center;
+       background-repeat: no-repeat;
+       background-size: 100% 100%;
+}
+
+.musicLibraryContentList .musicImage img {
+       width: 100%;
+       height: 100%;
+}
+
+.musicLibraryContentList .musicInfoBox {
+       display: inline-block;
+       vertical-align: top;
+       padding-top: 11px;
+       background-color: transparent !important;
+}
+
+.musicLibraryContentList .musicInfoBox.musicInfoBoxCentered {
+       padding-top: 20px;
+}
+
+.musicInfoBoxShort {
+       max-width: 470px;
+}
+
+.musicLibraryContentGrid {
+       line-height: 0;
+}
+
+.musicLibraryContentGrid .musicElement {
+       width: 180px;
+       height: 180px;
+       display: inline-block;
+       margin-right: 7px;
+       margin-bottom: 10px;
+       line-height: 0;
+       vertical-align: top;
+       cursor: pointer;
+}
+
+.musicLibraryContentGrid .musicImage {
+       width: 100%;
+       height: 100%;
+       background-position: center center;
+       background-repeat: no-repeat;
+       background-size: 100% 100%;
+}
+
+.musicLibraryContentGrid .musicImage img {
+       width: 100%;
+       height: 100%;
+}
+
+.musicLibraryContentGrid .musicInfoBox {
+       position: absolute;
+       top: 110px;
+       left: 0;
+       width: 180px;
+       height: 70px;
+       text-align: center;
+}
+
+.musicLibraryContentGrid .musicElement .contentTitle {
+       width: 160px;
+       margin: 10px auto 0 auto;
+}
+
+.textTransformUppercase {
+       text-transform: uppercase;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/css/style.css b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/css/style.css
new file mode 100644 (file)
index 0000000..40aecb8
--- /dev/null
@@ -0,0 +1,359 @@
+.playerWrapper video {
+       position: absolute;
+       top: 230px;
+       left: 55px;
+       width: 610px;
+       height: 300px;
+       padding: 0;
+       margin: 0;
+       display: none;
+}
+
+.carouselWrapper {
+       width: 765px;
+       height: 300px;
+       position: absolute;
+       top: 230px;
+       left: -15px;
+       padding: 0;
+       margin: 0;
+       display: block;
+       border-bottom-style: solid;
+       border-bottom-width: 1px;
+}
+
+.carouselList {
+       margin: 0;
+       padding: 0;
+       list-style: none;
+       display: block;
+}
+
+.carouselList li {
+       display: block;
+       float: left;
+}
+
+.carouselItem {
+       margin-right: 15px;
+       display: block;
+       width: 240px;
+       height: 300px;
+       overflow: hidden;
+}
+
+.carouselItemSelected {
+       box-shadow: 0 0 5px 1px #1DA2FF;
+}
+
+.carouselImage {
+       width: 240px;
+       height: 240px;
+}
+
+.carouselImageReflect {
+       -webkit-box-reflect: below 1px
+               -webkit-gradient(linear, left top, left bottom, from(transparent),
+               to(rgba(250, 250, 225, 0.4) ) )
+}
+
+.albumCarouselDescription {
+       width: 230px;
+       height: 95px;
+       bottom: 95px;
+       padding: 0 5px;
+}
+
+.albumCarouselDescriptionText {
+       text-align: center;
+       top: 15px;
+}
+
+.backgroundAudioClass {
+       position: absolute;
+       top: 0;
+       left: 0;
+       width: 720px;
+       height: 1280px;
+       -webkit-background-size: cover;
+       -moz-background-size: cover;
+       -ms-background-size: cover;
+       -o-background-size: cover;
+       background-size: cover;
+}
+
+/* spectrum analyzer */
+.spectrumAnalyzer {
+       position: absolute;
+       top: 775px;
+       left: 300px;
+       width: 400px;
+       height: 110px;
+}
+
+.barAnalyzer {
+       position: absolute;
+       width: 33px;
+       height: 5px;
+       float: left;
+       margin-left: 5px;
+}
+
+.bar1Class {
+       left: 0;
+}
+
+.bar2Class {
+       left: 38px;
+}
+
+.bar3Class {
+       left: 76px;
+}
+
+.bar4Class {
+       left: 114px;
+}
+
+.bar5Class {
+       left: 152px;
+}
+
+.bar6Class {
+       left: 190px;
+}
+
+.bar7Class {
+       left: 228px;
+}
+
+.bar8Class {
+       left: 266px;
+}
+
+.bar9Class {
+       left: 304px;
+}
+
+.bar10Class {
+       left: 342px;
+}
+
+/* text panel artist, album, song title */
+.currentlyPlayingPreviewClass {
+       position: absolute;
+       top: 0;
+       left: 0;
+}
+
+.textPanel {
+       position: absolute;
+       width: 405px;
+       top: 577px;
+       left: 55px;
+}
+
+.blueIconText {
+       position: relative;
+       height: 25px;
+}
+
+/* time progress bar and remaining time */
+.timeBarClass {
+       position: absolute;
+       top: 0;
+       left: 283px;
+       width: 325px;
+       height: 80px;
+       font-size: large;
+}
+
+.infoPanelClass {
+       position: absolute;
+       left: 283px;
+       top: 80px;
+       width: 325px;
+}
+
+.volumeControlClass {
+       position: absolute;
+       top: 928px;
+       left: 35px;
+       width: 660px;
+       height: 55px;
+       background: none;
+}
+
+.progressPot {
+       position: absolute;
+       top: 4px;
+       left: 0;
+       width: 100%;
+       height: 3px;
+}
+
+.progressBar {
+       position: absolute;
+       top: 50px;
+       left: 0;
+       width: 325px;
+       height: 10px;
+       border-style: solid;
+       border-width: 0 0 1px 0;
+}
+
+.leftText {
+       position: absolute;
+       top: 10px;
+       left: 0;
+       width: 40px;
+       height: 15px;
+}
+
+.rightText {
+       position: absolute;
+       top: 10px;
+       right: 25px;
+       width: 40px;
+       height: 15px;
+}
+
+/*audio controls*/
+.audioControlsButtons {
+       position: absolute;
+       top: 1000px;
+       left: 0;
+       width: 610px;
+       padding: 0 55px;
+       background-repeat: no-repeat;
+       background-position: 50%;
+}
+
+.previousBtn {
+       opacity: 1;
+       width: 66px;
+       height: 66px;
+       float: left;
+       margin: 0;
+       margin-right: 35px;
+       background-repeat: no-repeat;
+       background-position: 50%;
+}
+
+.previousBtnActive {
+       opacity: 1;
+       width: 66px;
+       height: 66px;
+       float: left;
+       margin: 0;
+       margin-right: 35px;
+       background-repeat: no-repeat;
+       background-position: 50%;
+}
+
+.prevBtnInactive {
+       opacity: 0.5;
+       width: 66px;
+       height: 66px;
+       float: left;
+       margin: 0;
+       margin-right: 35px;
+       background-repeat: no-repeat;
+       background-position: 50%;
+}
+
+.pauseBtn {
+       opacity: 1;
+       width: 66px;
+       height: 66px;
+       float: left;
+       margin: 0 35px;
+       background-repeat: no-repeat;
+       background-position: 50%;
+}
+
+.playBtn {
+       opacity: 1;
+       width: 66px;
+       height: 66px;
+       float: left;
+       margin: 0 35px;
+       background-repeat: no-repeat;
+       background-position: 50%;
+}
+
+.nextBtn {
+       opacity: 1;
+       width: 66px;
+       height: 66px;
+       float: left;
+       margin: 0 35px;
+       background-repeat: no-repeat;
+       background-position: 50%;
+}
+
+.nextBtnActive {
+       opacity: 1;
+       width: 66px;
+       height: 66px;
+       float: left;
+       margin: 0 35px;
+       background-repeat: no-repeat;
+       background-position: 50%;
+}
+
+.nextBtnInactive {
+       opacity: 0.5;
+       width: 66px;
+       height: 66px;
+       float: left;
+       margin: 0 35px;
+       background-repeat: no-repeat;
+       background-position: 50%;
+}
+
+.shuffleBtn {
+       width: 66px;
+       height: 66px;
+       float: left;
+       margin: 0 35px;
+       background-repeat: no-repeat;
+       background-position: 50%;
+}
+
+.shuffleBtnActive {
+       width: 66px;
+       height: 66px;
+       float: left;
+       margin: 0 35px;
+       background-repeat: no-repeat;
+       background-position: 50%;
+}
+
+.repeatBtn {
+       width: 66px;
+       height: 66px;
+       float: left;
+       margin: 0;
+       margin-left: 35px;
+       background-repeat: no-repeat;
+       background-position: 50%;
+}
+
+.repeatBtnActive {
+       width: 66px;
+       height: 66px;
+       float: left;
+       margin: 0;
+       margin-left: 35px;
+       background-repeat: no-repeat;
+       background-position: 50%;
+}
+
+.songNameTextPosition {
+       top: 12px;
+}
+
+.artistNameTextMargin {
+       margin-bottom: 5px;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/audio-placeholder.jpg b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/audio-placeholder.jpg
new file mode 100644 (file)
index 0000000..1372390
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/audio-placeholder.jpg differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/container-placeholder.jpg b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/container-placeholder.jpg
new file mode 100644 (file)
index 0000000..f3c4b0a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/container-placeholder.jpg differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/default-placeholder.jpg b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/default-placeholder.jpg
new file mode 100644 (file)
index 0000000..187cf40
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/default-placeholder.jpg differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/video-placeholder.jpg b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/video-placeholder.jpg
new file mode 100644 (file)
index 0000000..fba88f8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/images/video-placeholder.jpg differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/index.html b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/index.html
new file mode 100644 (file)
index 0000000..912d8c0
--- /dev/null
@@ -0,0 +1,206 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8" />
+<meta name="viewport" content="width=720, height=1280, user-scalable=no" />
+<meta http-equiv="cache-control" content="no-cache" />
+<title>Multimedia Player</title>
+
+<!--  jquery and plugins  -->
+<script type="text/javascript"
+       src="./css/car/components/jQuery/jquery-1.8.2.js"></script>
+<script type="text/javascript"
+       src="./css/car/components/knockout/knockout.js"></script>
+<script type="text/javascript"
+       src="./css/car/components/carousel/jquery.carouFredSel-6.2.1-packed.js"></script>
+<script type="text/javascript"
+       src="./css/car/components/carousel/jquery.touchSwipe.min.js"></script>
+
+<!-- jsRender Library Import -->
+<script type="text/javascript"
+       src="./css/car/components/jsViews/jsrender.js"></script>
+<script type="text/javascript"
+       src="./css/car/components/jsViews/template.js"></script>
+
+<!-- User and car theme and javascripts  -->
+<link rel="stylesheet" href="./css/car/car.css" />
+<link rel="stylesheet"
+       href="./css/car/components/incomingCall/incomingCall.css" />
+<script type="text/javascript" src="./css/car/car.js"></script>
+<script type="text/javascript" src='./js/services/bootstrap.js'></script>
+
+<link rel="stylesheet" href="./css/style.css" />
+<link rel="stylesheet" href="./css/music_library.css" />
+
+<!-- Music Player -->
+<script type="text/javascript" src="./js/utils.js"></script>
+<script type="text/javascript" src="./js/carousel.js"></script>
+<script type="text/javascript" src="./js/localcontent.js"></script>
+<script type="text/javascript" src="./js/mediacontent.js"></script>
+<script type="text/javascript" src="./js/remotecontent.js"></script>
+<script type="text/javascript" src="./js/multimedialibrary.js"></script>
+<script type="text/javascript" src="./js/main.js"></script>
+
+<!-- Components -->
+<script type="text/javascript"
+       src="./css/car/components/audioPlayer/audioPlayer.js"></script>
+<script type="text/javascript" src="./components/infoPanel/infoPanel.js"></script>
+<script type="text/javascript"
+       src="./components/timeProgressBar/timeProgressBar.js"></script>
+<script type="text/javascript"
+       src="./components/spectrumAnalyzer/spectrumAnalyzer.js"></script>
+<script type="text/javascript"
+       src="./css/car/components/configuration/configuration.js"></script>
+<script type="text/javascript"
+       src="./css/car/components/bottomPanel/bottomPanel.js"></script>
+<script type="text/javascript"
+       src="./css/car/components/buttonControls/buttonControls.js"></script>
+<script type='text/javascript'
+       src='./css/car/components/progressBar/progressBar.js'></script>
+<link rel="stylesheet"
+       href="./css/car/components/progressBar/progressBar.css" />
+<script type='text/javascript'
+       src='./css/car/components/topBarIcons/topBarIcons.js'></script>
+<link rel="stylesheet"
+       href="./css/car/components/topBarIcons/topBarIcons.css" />
+<script type='text/javascript'
+       src='./css/car/components/boxCaption/boxCaption.js'></script>
+<link rel="stylesheet"
+       href="./css/car/components/boxCaption/boxCaption.css" />
+<script type='text/javascript'
+       src='./css/car/components/dateTime/dateTime.js'></script>
+<link rel="stylesheet" href="./css/car/components/dateTime/dateTime.css" />
+<script type="text/javascript"
+       src='./css/car/components/alphabetBookmark/alphabetBookmark.js'></script>
+<link rel="stylesheet"
+       href="./css/car/components/alphabetBookmark/alphabetBookmark.css" />
+<script type="text/javascript"
+       src='./css/car/components/library/library.js'></script>
+<link rel="stylesheet" href="./css/car/components/library/library.css" />
+
+<link rel="stylesheet"
+       href="./css/car/components/progressBar/volumeSlider.css" />
+<script type="text/javascript"
+       src="./css/car/components/jQuery/jquery.nouisliderix.js"></script>
+
+</head>
+
+<body>
+       <div id="topBarIcons"></div>
+
+       <div id="backgroundAudio"
+               class="backgroundAudioClass defaultPageBackgroundColor">
+               <div id="clockElement"></div>
+
+               <div id="libraryButton"
+                       class="button libraryButton fontSizeSmaller fontWeightBold fontColorNormal">LIBRARY</div>
+
+               <div id="multimediaPlayer" class="playerWrapper">
+                       <div id="carouselWrapper" class="carouselWrapper borderColorDark">
+                               <ul id="carouselList" class="carouselList"></ul>
+                       </div>
+
+                       <audio id="audioPlayer" src=""></audio>
+
+                       <video id="videoPlayer" src=""></video>
+
+                       <div id="volumeControl" class="volumeControlClass">
+                               <div id="VCicon"></div>
+                               <div class="sliderStart"></div>
+                               <div id="VCline" class="bgColorTheme"></div>
+                               <div id="VCinner" class="bgColorTheme boxShadow3"></div>
+                               <div class="noVolumeSlider"></div>
+                       </div>
+
+                       <div id="controlButtons" class="audioControlsButtons"></div>
+
+                       <div id="infoPanelWrapper" class="textPanel">
+                               <img id="thumbnail"
+                                       class="currentlyPlayingPreviewClass albumThumbnail carouselImage boxShadow2" />
+                               <div id="timeBar" class="timeBarClass"></div>
+                               <div id="infoPanel" class="infoPanelClass"></div>
+                       </div>
+
+                       <div id="spectAnalyzer" class="spectrumAnalyzer"></div>
+               </div>
+
+               <div id="bottomPanel" class="bottomPanel bottomPanelImg"></div>
+       </div>
+
+       <div id="musicLibrary" class="library pageBgColorNormalTransparent"></div>
+
+       <script type="text/html" id="localContentCategoryItemTemplate">
+               <div class="musicElement boxShadow4 borderColorTheme" data-bind='click: MultimediaLibrary.selectLocalContent'>
+                       <div class="musicInfoBox musicInfoBoxCentered textBgColorNormalTransparent">
+                               <div class="contentTitle fontSizeLarge fontWeightBold fontColorNormal oneLineEllipsis textTransformUppercase" data-bind="text: title"></div>
+                       </div>
+               </div>
+       </script>
+
+       <script type="text/html" id="localContentSubCategoryItemTemplate">
+               <div class="musicElement boxShadow4 borderColorTheme" data-bind='click: MultimediaLibrary.selectLocalContent'>
+                       <div class="musicInfoBox musicInfoBoxCentered textBgColorNormalTransparent">
+                               <div class="contentTitle fontSizeLarge fontWeightBold fontColorNormal oneLineEllipsis textTransformUppercase" data-bind="text: title"></div>
+                       </div>
+               </div>
+       </script>
+
+       <script type="text/html" id="localContentArtistItemTemplate">
+               <div class="musicElement boxShadow4 borderColorTheme" data-bind='click: MultimediaLibrary.selectLocalContent'>
+                       <div class="musicInfoBox textBgColorNormalTransparent">
+                               <div class="contentTitle fontSizeLarge fontWeightBold fontColorNormal oneLineEllipsis textTransformUppercase" data-bind="text: title"></div>
+                               <div class="contentSubtitle fontSizeXSmall fontWeightBold fontColorTheme oneLineEllipsis textTransformUppercase" data-bind="text: subtitle"></div>
+                       </div>
+               </div>
+       </script>
+
+       <script type="text/html" id="localContentAlbumItemTemplate">
+               <div class="musicElement boxShadow4 borderColorTheme" data-bind='click: MultimediaLibrary.selectLocalContent'>
+                       <div class="musicImage albumThumbnail">
+                               <img data-bind="attr:{src: thumbnail}" />
+                       </div>
+                       <div class="musicInfoBox musicInfoBoxShort textBgColorNormalTransparent">
+                               <div class="contentTitle fontSizeLarge fontWeightBold fontColorNormal oneLineEllipsis textTransformUppercase" data-bind="text: title"></div>
+                               <div class="contentSubtitle fontSizeXSmall fontWeightBold fontColorTheme oneLineEllipsis textTransformUppercase" data-bind="text: subtitle"></div>
+                       </div>
+               </div>
+       </script>
+
+       <script type="text/html" id="localContentAudioVideoItemTemplate">
+               <div class="musicElement boxShadow4 borderColorTheme" data-bind='click: MultimediaLibrary.selectLocalMediaContent'>
+                       <div class="musicImage albumThumbnail">
+                               <img data-bind="attr:{src: Utils.getThumbnailPath($data)}" />
+                       </div>
+                       <div class="musicInfoBox musicInfoBoxShort textBgColorNormalTransparent">
+                               <div class="contentTitle fontSizeLarge fontWeightBold fontColorNormal oneLineEllipsis textTransformUppercase" data-bind="text: title"></div>
+                               <div class="contentSubtitle fontSizeXSmall fontWeightBold fontColorTheme oneLineEllipsis textTransformUppercase" data-bind="text: Utils.getArtistName($data)"></div>
+                       </div>
+               </div>
+       </script>
+
+       <script type="text/html" id="mediaSourceItemTemplate">
+               <div class="musicElement boxShadow4 borderColorTheme" data-bind='click: MultimediaLibrary.selectRemoteMediaSource'>
+                       <div class="musicInfoBox musicInfoBoxCentered textBgColorNormalTransparent">
+                               <div class="contentTitle fontSizeLarge fontWeightBold fontColorNormal oneLineEllipsis textTransformUppercase" data-bind="text: friendlyName"></div>
+                       </div>
+               </div>
+       </script>
+
+       <script type="text/html" id="mediaContentItemTemplate">
+               <div class="musicElement boxShadow4 borderColorTheme" data-bind='click: MultimediaLibrary.selectRemoteContent'>
+                       <div class="musicImage albumThumbnail">
+                               <img data-bind="attr:{src: Utils.getThumbnailPath($data)}" />
+                       </div>
+                       <div class="musicInfoBox musicInfoBoxShort textBgColorNormalTransparent" data-bind="css: { musicInfoBoxCentered: type == 'CONTAINER' }">
+                               <!-- ko if: type == "CONTAINER" -->
+                                       <div class="contentTitle fontSizeLarge fontWeightBold fontColorNormal oneLineEllipsis textTransformUppercase" data-bind="text: title"></div>
+                               <!-- /ko -->
+                               <!-- ko if: type != "CONTAINER" -->
+                                       <div class="contentTitle fontSizeLarge fontWeightBold fontColorNormal oneLineEllipsis textTransformUppercase" data-bind="text: title"></div>
+                                       <div class="contentSubtitle fontSizeXSmall fontWeightBold fontColorTheme oneLineEllipsis textTransformUppercase" data-bind="text: Utils.getArtistName($data)"></div>
+                               <!-- /ko -->
+                       </div>
+               </div>
+       </script>
+</body>
+</html>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/carousel.js b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/carousel.js
new file mode 100644 (file)
index 0000000..915f515
--- /dev/null
@@ -0,0 +1,221 @@
+/*global Utils */
+
+/**
+ * @module MultimediaPlayerApplication
+ */
+
+/**
+ * This class provides basic methods to operate with media content carousel (carouFredSel) like load and fill carousel with supplied audio content, scroll carousel to a given position, get current carousel position.
+ * Media content carousel represents a playlist of audio tracks and allows user to browse tracks by swiping to left (next track) or right (previous track). Each carousel's item contains thumbnail, artist name and title.
+ *
+ * @class Carousel
+ * @constructor
+ */
+var Carousel = function() {
+       "use strict";
+       this.initializeSwipe();
+};
+/**
+* This property holds audio media content array that carousel is filled with.
+* @property callHistory {Array}
+* @default []
+*/
+Carousel.prototype.allMediaContent = [];
+/**
+* This property holds carouFredSel object for internal use in carousel.
+* @property swipe {Object}
+* @private
+*/
+Carousel.prototype.swipe = null;
+/**
+* This property holds callback function which is called after current element/position in carousel is changed.
+* @property indexChangeCallback {Object}
+* @private
+*/
+Carousel.prototype.indexChangeCallback = null;
+/**
+ * This method adds listener that will be called right after the carousel finished scrolling and current element/position is changed.
+ *
+ * @method addIndexChangeListener
+ * @param indexChangeCallback {function()} Callback function to be invoked when current element/position of carousel is changed.
+ */
+Carousel.prototype.addIndexChangeListener = function(indexChangeCallback) {
+       "use strict";
+
+       this.indexChangeCallback = indexChangeCallback;
+};
+
+/**
+ * Initializes and configures carouFredSel carousel object.
+ *
+ * @method initializeSwipe
+ * @private
+ */
+ Carousel.prototype.initializeSwipe = function() {
+       "use strict";
+
+       var self = this;
+       if (!this.swipe) {
+               this.swipe = $('#carouselList').carouFredSel({
+                       auto : false,
+                       circular : false,
+                       infinite : false,
+                       width : 765,
+                       items : {
+                               visible : 3
+                       },
+                       swipe : {
+                               items : 1,
+                               duration : 150,
+                               onMouse : true,
+                               onTouch : true
+                       },
+                       scroll : {
+                               items : 1,
+                               duration : 150,
+                               onAfter : function(data) {
+                                       if (!!self.indexChangeCallback) {
+                                               self.indexChangeCallback(self.getCurrentPosition());
+                                       }
+                               }
+                       }
+               });
+               if (!this.swipe.length) {
+                       this.swipe = null;
+               }
+       }
+};
+
+/**
+ * Gets the position of selected carousel item.
+ *
+ * @method getCurrentPosition
+ */
+Carousel.prototype.getCurrentPosition = function() {
+       "use strict";
+       var self = this;
+       if (!!self.swipe) {
+               var pos = parseInt(self.swipe.triggerHandler("currentPosition"), 10);
+               return pos;
+       }
+       return null;
+};
+
+/**
+ * Scrolls the carousel to given index.
+ *
+ * @method slideTo
+ * @param index {Integer} New position to be scrolled to.
+ */
+Carousel.prototype.slideTo = function(index) {
+       "use strict";
+       if (!!this.swipe && index >= 0 && index < this.allMediaContent.length) {
+               this.swipe.trigger("slideTo", index);
+       }
+};
+/**
+ * This method fills carousel with audio media content and scrolls immediately the carousel to the designated position.
+ *
+ * @method loadMediaContent
+ * @param  allMediaContent {Array} Audio media content array to be filled in the carousel.
+ * @param  index {Integer} Position to be scrolled to.
+ */
+Carousel.prototype.loadMediaContent = function(allMediaContent, index) {
+       "use strict";
+       this.removeAllItems();
+       this.allMediaContent = allMediaContent;
+       this.insertPagesToSwipe();
+       if (index >= 0 && index < this.allMediaContent.length && !!this.swipe) {
+               this.swipe.trigger("slideTo", [ index, 0, {
+                       duration : 0
+               } ]);
+       }
+};
+
+/**
+ * Creates an HTML snippet representing one carousel item to be inserted into the carousel.
+ *
+ * @method createSwipeItem
+ * @param  mediaItem {Object} Object representing audio media item's information.
+ * @param  index {Integer} Position of item in carousel used to identify supplied audio media item's HTML DOM representation.
+ * @return {Object} jQuery DOM object representation of audio media item.
+ * @private
+ */
+Carousel.prototype.createSwipeItem = function(mediaItem, index) {
+       "use strict";
+
+       if (!!mediaItem) {
+               var carouselItem;
+               var thumbnail = Utils.getThumbnailPath(mediaItem);
+               var artist = Utils.getArtistName(mediaItem);
+               var album = Utils.getAlbumName(mediaItem);
+               var title = Utils.getMediaItemTitle(mediaItem);
+
+               carouselItem = '<li><div id="item_' + index + '" class="carouselItem">';
+               carouselItem += '<img class="carouselImage albumThumbnail carouselImageReflect" src="' + thumbnail + '" alt="">';
+               carouselItem += '<div class="albumCarouselDescription">';
+               carouselItem += '<div class="albumCarouselDescriptionText oneLineEllipsis fontColorNormal fontSizeLarge fontWeightBold">' + artist + '</div>';
+               carouselItem += '<div class="albumCarouselDescriptionText twoLinesEllipsis fontColorDimmedLight fontSizeXSmall fontWeightBold">' + title + '</div>';
+               carouselItem += '</div>';
+               carouselItem += '</div></li>';
+
+               carouselItem = $(carouselItem);
+               return carouselItem;
+       }
+
+       return null;
+};
+
+/**
+ * Inserts new carousel item into carousel.
+ *
+ * @method insertPagesToSwipe
+ * @private
+ */
+Carousel.prototype.insertPagesToSwipe = function() {
+       "use strict";
+       var self = this;
+       var carouselItem;
+       var clickHandler = function() {
+               self.swipe.trigger("slideTo", [ $(this), -1 ]);
+       };
+
+       for ( var index = this.allMediaContent.length - 1; index >= 0; --index) {
+               carouselItem = this.createSwipeItem(this.allMediaContent[index], index);
+               if (!!carouselItem && !!this.swipe) {
+                       this.swipe.trigger("insertItem", [ carouselItem, 0 ]);
+                       carouselItem.click(clickHandler);
+               }
+       }
+       this.addCarouselEdges();
+};
+
+/**
+ * Removes all items from the carousel.
+ *
+ * @method removeAllItems
+ */
+Carousel.prototype.removeAllItems = function() {
+       "use strict";
+       var carouselItem;
+
+       if (!!this.swipe) {
+               for ( var index = this.allMediaContent.length + 1; index >= 0; --index) {
+                       this.swipe.trigger("removeItem", index);
+               }
+       }
+};
+
+/**
+ * Adds emty carousel items to the beginning and the end of the carousel
+ * (to make sure first and last visible items appear in the middle of screen instead of at the edges when swiped to edges of carousel).
+ * @method addCarouselEdges
+ */
+Carousel.prototype.addCarouselEdges = function() {
+       "use strict";
+       if (!!this.swipe) {
+               var html = "<li><div class='carouselItem'></div></li>";
+               this.swipe.trigger("insertItem", [ html, 0 ]);
+               this.swipe.trigger("insertItem", [ html, "end", true ]);
+       }
+};
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/localcontent.js b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/localcontent.js
new file mode 100644 (file)
index 0000000..9bf8028
--- /dev/null
@@ -0,0 +1,590 @@
+/*global ko */
+
+/**
+ * @module MultimediaPlayerApplication
+ */
+
+/**
+ * Class representing local media content for MultiMedia Player.
+ *
+ * @class LocalContent
+ * @constructor
+ */
+var LocalContent = function() {
+       "use strict";
+       var self = this;
+       this.content = tizen.content;
+       this.localContent = ko.observableArray([]);
+       this.history = ko.observableArray([]);
+
+       this.audioType = "AUDIO";
+       this.allAudioContent = ko.observableArray([]);
+       this.findAllAudioContent();
+
+       this.videoType = "VIDEO";
+       this.allVideoContent = ko.observableArray([]);
+       this.findAllVideoContent();
+
+       this.alphabetFilter = ko.observable("");
+
+       this.localContentComputed = ko.computed(function() {
+               if (self.alphabetFilter() !== "") {
+                       return ko.utils.arrayFilter(self.localContent(), function(content) {
+                               return content.title.toString().toLowerCase().trim().indexOf(self.alphabetFilter().toString().toLowerCase().trim()) === 0;
+                       });
+               }
+               return self.localContent();
+       });
+};
+
+/**
+ * This method fills local content with media categories.
+ *
+ * @method fillCategories
+ */
+LocalContent.prototype.fillCategories = function() {
+       "use strict";
+       var self = this;
+       var resultCategories = self.getCategories();
+       self.localContent(resultCategories);
+};
+
+/**
+ * This method provides media categories content.
+ *
+ * @method getCategories
+ * @return {Array} categories array
+ */
+LocalContent.prototype.getCategories = function() {
+       "use strict";
+       var self = this;
+       var categories = [];
+       categories.push({
+               title : "MUSIC",
+               subtitle : "",
+               operation : "browse_category",
+               type : self.audioType
+       });
+       categories.push({
+               title : "VIDEOS",
+               subtitle : "",
+               operation : "browse_category",
+               type : self.videoType
+       });
+       console.log(categories);
+       return categories;
+};
+
+/**
+ * This method fills local content array with media sub categories based on the content type.
+ *
+ * @method getCategories
+ */
+LocalContent.prototype.fillSubCategories = function(content) {
+       "use strict";
+       var self = this, resultCategories = [];
+       switch (content.type) {
+       case self.audioType:
+               resultCategories = self.getAudioSubCategories(content.type);
+               break;
+       case self.videoType:
+               resultCategories = self.getVideoSubCategories(content.type);
+               break;
+       default:
+               console.log("Type not supported");
+               break;
+       }
+       self.localContent(resultCategories);
+};
+
+/**
+ * This method provides audio categories content by type.
+ *
+ * @method getAudioSubCategories
+ * @param type {Object} media content type
+ * @return {Array} result categories array
+ */
+LocalContent.prototype.getAudioSubCategories = function(type) {
+       "use strict";
+       var self = this;
+       var categories = [ "ARTISTS", "ALBUMS", "ALL" ];
+       var resultCategories = [];
+       for ( var i = 0; i < categories.length; ++i) {
+               resultCategories.push({
+                       title : categories[i],
+                       subtitle : "",
+                       operation : "browse_" + categories[i].toLowerCase(),
+                       type : type
+               });
+       }
+       console.log(resultCategories);
+       return resultCategories;
+};
+
+/**
+ * This method provides video categories content by type.
+ *
+ * @method getVideoSubCategories
+ * @param type {Object} media content type
+ * @return {Array} result categories array
+ */
+LocalContent.prototype.getVideoSubCategories = function(type) {
+       "use strict";
+       var self = this;
+       var categories = [ "ARTISTS", "ALBUMS", "ALL" ];
+       var resultCategories = [];
+       for ( var i = 0; i < categories.length; ++i) {
+               resultCategories.push({
+                       title : categories[i],
+                       subtitle : "",
+                       operation : "browse_" + categories[i].toLowerCase(),
+                       type : type
+               });
+       }
+       console.log(resultCategories);
+       return resultCategories;
+};
+
+/**
+ * This method fills local content array with artists.
+ *
+ * @method fillArtists
+ * @param content {Object} media content
+ */
+LocalContent.prototype.fillArtists = function(content) {
+       "use strict";
+       var self = this;
+       var resultArtists = self.getAllArtists(content.type);
+       self.localContent(resultArtists);
+       self.localContent.sort(self.compareByTitle);
+};
+
+/**
+ * This method provides media content based on the type.
+ *
+ * @method getMediaContentByType
+ * @param type {String} media content type
+ * @return {Object} media content
+ */
+LocalContent.prototype.getMediaContentByType = function(type) {
+       "use strict";
+       var self = this, mediaContent = null;
+       switch (type) {
+       case self.audioType:
+               mediaContent = self.allAudioContent;
+               break;
+       case self.videoType:
+               mediaContent = self.allVideoContent;
+               break;
+       default:
+               console.log("Type not supported");
+               break;
+       }
+       return mediaContent.slice(0);
+};
+
+/**
+ * This method provides all artists content by type.
+ *
+ * @method getAllArtists
+ * @param type {String} media content type
+ * @return {Array} artists array
+ */
+LocalContent.prototype.getAllArtists = function(type) {
+       "use strict";
+       var self = this, resultArtists = [], mediaContent;
+       mediaContent = self.getMediaContentByType(type);
+       if (!!mediaContent && mediaContent.length) {
+               var artists = ko.utils.arrayMap(mediaContent, function(content) {
+                       if (!!content.artists && content.artists.length) {
+                               return content.artists.join(", ");
+                       }
+                       return "Unknown";
+               });
+
+               if (artists.length) {
+                       var uniqueArtists = ko.utils.arrayGetDistinctValues(artists);
+                       ko.utils.arrayForEach(uniqueArtists, function(artist) {
+                               var artistAlbumsAndContent = self.getArtistAlbumsAndContent(artist, type);
+                               resultArtists.push({
+                                       artist : artist,
+                                       type : type,
+                                       title : artist,
+                                       subtitle : artistAlbumsAndContent.albums.length + (artistAlbumsAndContent.albums.length === 1 ? " ALBUM, " : " ALBUMS, ") +
+                                                       artistAlbumsAndContent.content.length +
+                                                       (type === self.audioType ? (artistAlbumsAndContent.content.length === 1 ? " TRACK" : " TRACKS") :
+                                                       (artistAlbumsAndContent.content.length === 1 ? " MOVIE" : " MOVIES")),
+                                       operation : "browse_artist"
+                               });
+                       });
+               }
+       }
+       console.log(resultArtists);
+       return resultArtists;
+};
+
+/**
+ * This method provides albums and media content for a given artist and type of content.
+ *
+ * @method getArtistAlbumsAndContent
+ * @param artist {String} artist
+ * @param type {String} media content type
+ * @return {Object} a result object
+ */
+LocalContent.prototype.getArtistAlbumsAndContent = function(artist, type) {
+       "use strict";
+       var self = this;
+       var result = {
+               artist : artist,
+               albums : [],
+               content : []
+       };
+       var mediaContent = self.getMediaContentByType(type);
+       if (!!mediaContent && mediaContent.length && !!artist && artist !== "") {
+               var artistContent = ko.utils.arrayFilter(mediaContent, function(content) {
+                       /*global Utils */
+                       var artistName = Utils.getArtistName(content);
+                       return artistName === artist;
+               });
+               var artistAlbums = ko.utils.arrayMap(artistContent, function(content) {
+                       var artistAlbumName = Utils.getAlbumName(content);
+                       return artistAlbumName;
+               });
+               var uniqueArtistAlbums = ko.utils.arrayGetDistinctValues(artistAlbums);
+               if (!!uniqueArtistAlbums && uniqueArtistAlbums.length) {
+                       result.albums = uniqueArtistAlbums;
+               }
+               if (!!artistContent && artistContent.length) {
+                       result.content = artistContent;
+               }
+       }
+       console.log(result);
+       return result;
+};
+
+/**
+ * This method fills local content with albums for a given artist and type of content.
+ *
+ * @method fillArtistAlbums
+ * @param content {Object} media content info
+ */
+LocalContent.prototype.fillArtistAlbums = function(content) {
+       "use strict";
+       var self = this;
+       var artistAlbums = self.getArtistAlbums(content.artist, content.type);
+       self.localContent(artistAlbums);
+       self.localContent.sort(self.compareByTitle);
+};
+
+/**
+ * This method provides albums for a given artist and type of content.
+ *
+ * @method getArtistAlbums
+ * @param artist {String} artist
+ * @param type {String} media content type
+ * @return {Array} albums array
+ */
+LocalContent.prototype.getArtistAlbums = function(artist, type) {
+       "use strict";
+       var self = this, resultAlbums = [];
+       var artistAlbumsAndContent = self.getArtistAlbumsAndContent(artist, type);
+       ko.utils.arrayForEach(artistAlbumsAndContent.albums, function(album) {
+               var newAlbum = self.createAlbum(artist, album, type);
+               resultAlbums.push(newAlbum);
+       });
+       console.log(resultAlbums);
+       return resultAlbums;
+};
+
+/**
+ * This method creates a new album object for a given artist, album and type of content.
+ *
+ * @method getArtistAlbums
+ * @param artist {String} artist
+ * @param album {String} album title
+ * @param type {String} media content type
+ * @return {Object} album object
+ */
+LocalContent.prototype.createAlbum = function(artist, album, type) {
+       "use strict";
+       var self = this;
+       var newAlbum = {
+               artist : artist,
+               album : album,
+               title : album,
+               subtitle : artist,
+               thumbnail : self.getArtistAlbumThumbnail(artist, album, type),
+               operation : "browse_album",
+               type : type
+       };
+       return newAlbum;
+};
+
+/**
+ * This method fills local content with album for a given artist, album and type of content.
+ *
+ * @method fillArtistAlbumContent
+ * @param content {Object} media content
+ */
+LocalContent.prototype.fillArtistAlbumContent = function(content) {
+       "use strict";
+       var self = this;
+       var artistAlbumContent = self.getArtistAlbumContent(content.artist, content.album, content.type);
+       self.localContent(artistAlbumContent);
+       self.localContent.sort(self.compareByTitle);
+};
+
+/**
+ * This method provides album content for a given artist, album and type of content.
+ *
+ * @method getArtistAlbumContent
+ * @param artist {String} artist
+ * @param album {String} album title
+ * @param type {String} media content type
+ * @return {Object} content object
+ */
+LocalContent.prototype.getArtistAlbumContent = function(artist, album, type) {
+       "use strict";
+       var self = this, resultContent = [], mediaContent;
+       mediaContent = self.getMediaContentByType(type);
+       if (!!mediaContent && mediaContent.length) {
+               resultContent = ko.utils.arrayFilter(mediaContent, function(content) {
+                       var artistName = Utils.getArtistName(content);
+                       var artistAlbumName = Utils.getAlbumName(content);
+                       return artistName === artist && artistAlbumName === album;
+               });
+       }
+       console.log(resultContent);
+       return resultContent;
+};
+
+/**
+ * This method fills local content with albums for a given type of content.
+ *
+ * @method fillAlbums
+ * @param content {Object} media content
+ */
+LocalContent.prototype.fillAlbums = function(content) {
+       "use strict";
+       var self = this;
+       var allAlbums = self.getAllAlbums(content.type);
+       self.localContent(allAlbums);
+       self.localContent.sort(self.compareByTitle);
+};
+
+/**
+ * This method provides all albums for a given type of content.
+ *
+ * @method getAllAlbums
+ * @param type {String} media content type
+ * @return {Array} albums array
+ */
+LocalContent.prototype.getAllAlbums = function(type) {
+       "use strict";
+       var self = this, resultAlbums = [], mediaContent;
+       mediaContent = self.getMediaContentByType(type);
+       if (!!mediaContent && mediaContent.length) {
+               var albums = ko.utils.arrayMap(mediaContent, function(content) {
+                       var artistName = Utils.getArtistName(content);
+                       var artistAlbumName = Utils.getAlbumName(content);
+                       var album = {
+                               artist : artistName,
+                               album : artistAlbumName
+                       };
+                       return JSON.stringify(album);
+               });
+               if (!!albums && albums.length) {
+                       var uniqueAlbums = ko.utils.arrayGetDistinctValues(albums);
+                       ko.utils.arrayForEach(uniqueAlbums, function(albumJSON) {
+                               var album = JSON.parse(albumJSON);
+                               var newAlbum = self.createAlbum(album.artist, album.album, type);
+                               resultAlbums.push(newAlbum);
+                       });
+               }
+       }
+       console.log(resultAlbums);
+       return resultAlbums;
+};
+
+/**
+ * This method fills local content with albums for a given type of content.
+ *
+ * @method fillAlbums
+ * @param content {Object} media content
+ */
+LocalContent.prototype.fillAll = function(content) {
+       "use strict";
+       var self = this, mediaContent;
+       mediaContent = self.getMediaContentByType(content.type);
+       self.localContent(mediaContent);
+       self.localContent.sort(self.compareByTitle);
+};
+
+/**
+ * This method empties local content.
+ *
+ * @method clearLocalContent
+ */
+LocalContent.prototype.clearLocalContent = function() {
+       "use strict";
+       var self = this;
+       self.localContent.removeAll();
+       self.localContent([]);
+};
+
+/**
+ * This method empties history of opened local content.
+ *
+ * @method clearLocalContent
+ */
+LocalContent.prototype.clearHistory = function() {
+       "use strict";
+       var self = this;
+       self.history.removeAll();
+       self.history([]);
+};
+
+/**
+ * This method adds given local content to history of opened local content and clears local content.
+ *
+ * @method pushToHistory
+ * @param content {Object} media content
+ */
+LocalContent.prototype.pushToHistory = function(content) {
+       "use strict";
+       var self = this;
+       self.clearLocalContent();
+       self.history.push(content);
+};
+
+/**
+ * This method gets a thumbnail for a given artist, album and type of media content.
+ *
+ * @method getArtistAlbumThumbnail
+ * @param artist {String} artist
+ * @param album {String} album title
+ * @param type {String} media content type
+ */
+LocalContent.prototype.getArtistAlbumThumbnail = function(artist, album, type) {
+       "use strict";
+       var self = this;
+       var artistAlbumContent = this.getArtistAlbumContent(artist, album, type);
+       var contentWithThumbnail = ko.utils.arrayFirst(artistAlbumContent, function(content) {
+               return !!content.thumbnailURIs && content.thumbnailURIs.length;
+       });
+       return Utils.getThumbnailPath(contentWithThumbnail, type);
+};
+
+/**
+ * This method filters audio content out of all content.
+ *
+ * @method findAllAudioContent
+ */
+LocalContent.prototype.findAllAudioContent = function() {
+       "use strict";
+       var self = this;
+       if (!!self.content) {
+               var filter = new tizen.AttributeFilter("type", "EXACTLY", self.audioType);
+               self.content.find(function(content) {
+                       self.onContentArraySuccess(content, self.audioType);
+               }, function(error) {
+                       self.onError(error);
+               }, null, filter);
+       }
+};
+
+/**
+ * This method filters video content out of all content.
+ *
+ * @method findAllVideoContent
+ */
+LocalContent.prototype.findAllVideoContent = function() {
+       "use strict";
+       var self = this;
+       if (!!self.content) {
+               var filter = new tizen.AttributeFilter("type", "EXACTLY", self.videoType);
+               self.content.find(function(content) {
+                       self.onContentArraySuccess(content, self.videoType);
+               }, function(error) {
+                       self.onError(error);
+               }, null, filter);
+       }
+};
+
+/**
+ * This method is success callback for find content methods (findAllAudioContent and findAllVideoContent).
+ *
+ * @method onContentArraySuccess
+ * @param content {Object} media content
+ * @param type {String} content type
+ */
+LocalContent.prototype.onContentArraySuccess = function(content, type) {
+       "use strict";
+       var self = this;
+       console.log(content);
+
+       content.sort(self.compareByTitle);
+
+       switch (type) {
+       case self.audioType:
+               self.allAudioContent(content);
+               break;
+       case self.videoType:
+               self.allVideoContent(content);
+               break;
+       default:
+               break;
+       }
+};
+
+/**
+ * This method compares neighbouring content items by their titles for sorting.
+ *
+ * @method compareByTitle
+ * @param left {Object} media content
+ * @param right {Object} media content
+ */
+LocalContent.prototype.compareByTitle = function(left, right) {
+       "use strict";
+       var leftTitle = "Unknown";
+       if (!!left.title && left.title !== "") {
+               leftTitle = left.title;
+       }
+       leftTitle = leftTitle.toString().trim().toLowerCase();
+       var rightTitle = "Unknown";
+       if (!!right.title && right.title !== "") {
+               rightTitle = right.title;
+       }
+       rightTitle = rightTitle.toString().trim().toLowerCase();
+       return leftTitle === rightTitle ? 0 : (leftTitle < rightTitle) ? -1 : 1;
+};
+
+/**
+ * This method is error callback for find content methods (findAllAudioContent and findAllVideoContent).
+ *
+ * @method onError
+ * @param error {Object} returned error
+ */
+LocalContent.prototype.onError = function(error) {
+       "use strict";
+       var self = this;
+       console.log(error);
+};
+
+/**
+ * This method gets selected local content based on the content type.
+ *
+ * @method getSelectedLocalContent
+ * @param type {String} media content type
+ * @return {Object} mediaItem object
+ */
+LocalContent.prototype.getSelectedLocalContent = function(type) {
+       "use strict";
+       var self = this;
+       if (!!self.localContent() && self.localContent().length) {
+               return ko.utils.arrayFilter(self.localContent(), function(mediaItem) {
+                       return mediaItem.type === type;
+               });
+       }
+       return [];
+};
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/main.js b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/main.js
new file mode 100644 (file)
index 0000000..b41b6ad
--- /dev/null
@@ -0,0 +1,112 @@
+/*global MultimediaLibrary, Utils*/
+
+/**
+ * Multimedia player application allows user to play back audio and video content from local sources via
+ * [tizen.content API](https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.device.apireference/tizen/content.html) and
+ * remote DLNA content via [IVI WRT MediaServer API](https://review.tizen.org/git/?p=profile/ivi/wrt-plugins-ivi.git;a=tree;f=src/MediaServer).
+ * Application uses HTML5 [audio](http://www.w3.org/wiki/HTML/Elements/audio) and [video](http://www.w3.org/wiki/HTML/Elements/video) elements
+ * to playback content from sources.
+ *
+ * Upper part of application contains a media content carousel (carouFredSel) in case audio content is selected or a rendered video (HTML5 video element).
+ *
+ * Lower part of application contains basic information about played audio/video content like thumbnail, title, artist name, album name, duration and controls like play, pause, next, previous, volume.
+ * Additionaly Multimedia player application can be controlled using speech recognition via {{#crossLink "Speech"}}{{/crossLink}} component.
+ *
+ * Audio/video content to be played can be selected from {{#crossLink "MultimediaLibrary"}}{{/crossLink}} component. Playback of audio and video content is controlled by {{#crossLink "AudioPlayer"}}{{/crossLink}} component.
+ *
+ * Hover and click on elements in images below to navigate to components of Multimedia Player application.
+ *
+ * <img id="Image-Maps_1201312180420487" src="../assets/img/music.png" usemap="#Image-Maps_1201312180420487" border="0" width="649" height="1152" alt="" />
+ *   <map id="_Image-Maps_1201312180420487" name="Image-Maps_1201312180420487">
+ *     <area shape="rect" coords="0,0,573,78" href="../classes/TopBarIcons.html" alt="top bar icons" title="Top bar icons" />
+ *     <area shape="rect" coords="0,77,644,132" href="../classes/Clock.html" alt="clock" title="Clock"    />
+ *     <area shape="rect" coords="0,994,644,1147" href="../classes/BottomPanel.html" alt="bottom panel" title="Bottom panel" />
+ *     <area shape="rect" coords="573,1,644,76" href="../modules/Settings.html" alt="Settings" title="Settings"    />
+ *     <area  shape="rect" coords="512,135,648,181" href="../classes/MultimediaLibrary.html" alt="Multimedia library" title="Multimedia library" />
+ *     <area  shape="rect" coords="0,206,648,476" href="../classes/Carousel.html" alt="Multimedia carousel" title="Multimedia Carousel" />
+ *     <area  shape="rect" coords="21,823,634,885" href="../classes/AudioPlayer.html#method_setVolumeControlSelector" alt="Volume control" title="Volume control" />
+ *     <area  shape="rect" coords="23,890,636,961" href="../classes/AudioPlayer.html#method_setControlButtonsSelector" alt="Control buttons" title="Control buttons" />
+ *     <area  shape="rect" coords="298,530,612,585" href="../classes/AudioPlayer.html#method_setTimeProgressBarSelector" alt="Time progress bar" title="Time progress bar" />
+ *     <area  shape="rect" coords="297,589,611,721" href="../classes/AudioPlayer.html#method_setInfoPanelSelector" alt="Info panel" title="Info panel" />
+ *     <area  shape="rect" coords="267,725,626,818" href="../classes/AudioPlayer.html#method_setSpectrumAnalyzerSelector" alt="Spectrum analyzer" title="Spectrum analyzer" />
+ *     <area  shape="rect" coords="45,517,267,738" href="../classes/AudioPlayer.html#method_setThumbnailSelector" alt="Thumbnail" title="Thumbnail" />
+ *   </map>
+ *
+ * @module MultimediaPlayerApplication
+ * @main MultimediaPlayerApplication
+ * @class MultimediaPlayer
+ */
+
+ /**
+ * Adds the listener object to receive notifications when the speech recognizer returns a speech command to control multimedia player: PLAY, STOP, NEXT, PREVIOUS.
+ *
+ * @method initVoiceRecognition
+ */
+var initVoiceRecognition = function() {
+    "use strict";
+    /* global Speech */
+    if (typeof (Speech) !== 'undefined') {
+        Speech.addVoiceRecognitionListener({
+            onplay : function() {
+                $('#multimediaPlayer').audioAPI('playPause', true);
+            },
+            onstop : function() {
+                $('#multimediaPlayer').audioAPI('playPause', false);
+            },
+            onnext : function() {
+                $('#multimediaPlayer').audioAPI('next');
+                $('#multimediaPlayer').audioAPI('playPause', true);
+            },
+            onprevious : function() {
+                $('#multimediaPlayer').audioAPI('previous');
+                $('#multimediaPlayer').audioAPI('playPause', true);
+            }
+        });
+    } else {
+        console.warn("Speech API is not available.");
+    }
+};
+
+/**
+ * Method which provides methods to initialize UI and create listener for
+ * changing themes of music player.
+ *
+ * @method init
+ * @constructor
+ */
+var bootstrap;
+var init = function() {
+    "use strict";
+    /*global Bootstrap */
+    bootstrap = new Bootstrap(function(status) {
+        $("#libraryButton").on("click", function() {
+            MultimediaLibrary.show();
+        });
+
+        $("#videoPlayer").on("click", function() {
+            Utils.launchFullScreen(this);
+        });
+
+        $("#topBarIcons").topBarIconsPlugin('init');
+        $("#clockElement").ClockPlugin('init', 5);
+        $("#clockElement").ClockPlugin('startTimer');
+        $('#bottomPanel').bottomPanel('init');
+
+        $('#multimediaPlayer').audioAPI('setControlButtonsSelector', '#controlButtons');
+        $('#multimediaPlayer').audioAPI('setTimeProgressBarSelector', '#timeBar');
+        $('#multimediaPlayer').audioAPI('setSpectrumAnalyzerSelector', '#spectAnalyzer');
+        $('#multimediaPlayer').audioAPI('setInfoPanelSelector', '#infoPanel');
+        $('#multimediaPlayer').audioAPI('setThumbnailSelector', '#thumbnail');
+        $('#multimediaPlayer').audioAPI('setVolumeControlSelector', '.noVolumeSlider');
+        $('#multimediaPlayer').audioAPI('init', [], "#audioPlayer", "#videoPlayer");
+
+        MultimediaLibrary.init();
+        initVoiceRecognition();
+    });
+};
+
+$(document).ready(function() {
+    "use strict";
+    // debug mode - window.setTimeout("init()", 20000);
+    init();
+});
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/mediacontent.js b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/mediacontent.js
new file mode 100644 (file)
index 0000000..c76a35c
--- /dev/null
@@ -0,0 +1,225 @@
+/******************************************************************************
+ * Copyright 2012 Intel Corporation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *****************************************************************************/
+
+/**
+ * @module MultimediaPlayerApplication
+ */
+
+/**
+ * Class providing objects mapping the org.gnome.UPnP MediaObject2 and MediaItem2 interfaces.
+ *
+ * @class mediacontent
+ */
+var mediacontent = window.mediacontent = {};
+
+/**
+ * Generic media object.
+ *
+ * @class MediaObject
+ * @return {Object} MediaObject objects
+ */
+mediacontent.MediaObject = function(proxy) {
+       "use strict";
+       this.proxy = proxy;
+       if (proxy) {
+               this.id = proxy.Path;
+               this.type = proxy.Type;
+               this.title = proxy.DisplayName;
+       }
+       return this;
+};
+
+/**
+ * Gets the MediaObject metadata info.
+ *
+ * @method getMetaData
+ * @return {Object} metadata object
+ */
+mediacontent.MediaObject.prototype.getMetaData = function() {
+       "use strict";
+       return this.proxy.callMethod("org.gnome.UPnP.MediaObject2", "GetMetaData", []);
+};
+
+/**
+ * Mediacontent object of type container.
+ *
+ * @class MediaContainer
+ * @param proxy {Object} media source object
+ * @return {Object} MediaContainer object
+ */
+mediacontent.MediaContainer = function(proxy) {
+       "use strict";
+       mediacontent.MediaObject.call(this, proxy);
+       this.type = "CONTAINER";
+       this.directoryURI = "";
+       this.storageType = "EXTERNAL";
+       return this;
+};
+
+mediacontent.MediaContainer.prototype = new mediacontent.MediaObject();
+mediacontent.MediaContainer.prototype.constructor = mediacontent.MediaContainer;
+
+/**
+ * Mediacontent object of type media item. Provides access to properties of media items.
+ *
+ * @class MediaItem
+ * @param proxy {Object} media source object
+ * @return {Object} MediaItem object
+ */
+mediacontent.MediaItem = function(proxy) {
+       "use strict";
+       mediacontent.MediaObject.call(this, proxy);
+       if (proxy) {
+               this.mimeType = proxy.MIMEType;
+               if (proxy.URLs) {
+                       this.contentURI = proxy.URLs[0];
+               } else {
+                       this.contentURI = "";
+               }
+               this.size = proxy.Size;
+               this.releaseDate = proxy.Date;
+               this.modifiedDate = null;
+               this.name = this.title;
+               this.editableAttributes = [];
+               this.thumbnailURIs = [];
+               if (!!proxy.AlbumArtURL && proxy.AlbumArtURL !== "") {
+                       this.thumbnailURIs.push(proxy.AlbumArtURL);
+               }
+               this.description = "Unknown";
+               this.rating = 0;
+       }
+       this.type = "OTHER";
+       return this;
+};
+
+mediacontent.MediaItem.prototype = new mediacontent.MediaObject();
+mediacontent.MediaItem.prototype.constructor = mediacontent.MediaItem;
+
+/**
+ * Mediacontent object of type video. Extends a basic media item object with video-specific attributes.
+ *
+ * @class MediaVideo
+ * @param proxy {Object} media source object
+ * @return {Object} MediaVideo object
+ */
+mediacontent.MediaVideo = function(proxy) {
+       "use strict";
+       mediacontent.MediaItem.call(this, proxy);
+       if (proxy) {
+               this.duration = proxy.Duration * 1000; //Tizen's ContentVideo is in ms
+               this.width = proxy.Width;
+               this.height = proxy.Height;
+               if (proxy.Album) {
+                       this.album = proxy.Album;
+               } else {
+                       this.album = "Unknown";
+               }
+               if (proxy.Artist) {
+                       this.artists = [ proxy.Artist ];
+               } else {
+                       this.artists = [ "Unknown" ];
+               }
+               this.geolocation = null;
+       }
+       this.type = "VIDEO";
+       return this;
+};
+
+mediacontent.MediaVideo.prototype = new mediacontent.MediaItem();
+mediacontent.MediaVideo.prototype.constructor = mediacontent.MediaVideo;
+
+/**
+ * Mediacontent object of type audio. Extends a basic media item object with audio-specific attributes.
+ *
+ * @class MediaAudio
+ * @param proxy {Object} media source object
+ * @return {Object} MediaAudio object
+ */
+mediacontent.MediaAudio = function(proxy) {
+       "use strict";
+       mediacontent.MediaItem.call(this, proxy);
+       if (proxy) {
+               this.bitrate = proxy.SampleRate;
+               this.duration = proxy.Duration * 1000; //Tizen's ContentAudio is in ms
+               if (proxy.Album) {
+                       this.album = proxy.Album;
+               } else {
+                       this.album = "Unknown";
+               }
+               //this;
+               if (proxy.Artist) {
+                       this.artists = [ proxy.Artist ];
+               } else {
+                       this.artists = [ "Unknown" ];
+               }
+               this.genres = [];
+               this.composers = [ "Unknown" ];
+               this.lyrics = null;
+               this.copyright = "Unknown";
+               this.trackNumber = 0;
+       }
+       this.type = "AUDIO";
+       return this;
+};
+
+mediacontent.MediaAudio.prototype = new mediacontent.MediaItem();
+mediacontent.MediaAudio.prototype.constructor = mediacontent.MediaAudio;
+
+/**
+ * Mediacontent object of type image. Extends a basic media item object with image-specific attributes.
+ *
+ * @class MediaImage
+ * @param proxy {Object} media source object
+ * @return {Object} MediaImage object
+ */
+mediacontent.MediaImage = function(proxy) {
+       "use strict";
+       mediacontent.MediaItem.call(this, proxy);
+       if (proxy) {
+               this.width = proxy.Width;
+               this.height = proxy.Height;
+               this.orientation = "NORMAL";
+       }
+       this.type = "IMAGE";
+       return this;
+};
+
+mediacontent.MediaImage.prototype = new mediacontent.MediaItem();
+mediacontent.MediaImage.prototype.constructor = mediacontent.MediaImage;
+
+/**
+ * Returns appropriate media object based on the given parameter media type.
+ *
+ * @class mediaObjectForProps
+ * @param props {Object} media source object
+ * @return {Object} correct media object by props.type
+ */
+mediacontent.mediaObjectForProps = function(props) {
+       "use strict";
+       if (props.Type.indexOf("container") === 0 || props.Type.indexOf("album") === 0 || props.Type.indexOf("person") === 0 || props.Type.indexOf("genre") === 0){
+               return new mediacontent.MediaContainer(props);
+       }
+       if (props.Type.indexOf("video") === 0){
+               return new mediacontent.MediaVideo(props);
+       }
+       if (props.Type.indexOf("audio") === 0 || props.Type.indexOf("music") === 0){
+               return new mediacontent.MediaAudio(props);
+       }
+       if (props.Type.indexOf("image") === 0){
+               return new mediacontent.MediaImage(props);
+       }
+       return new mediacontent.MediaItem(props);
+};
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/multimedialibrary.js b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/multimedialibrary.js
new file mode 100644 (file)
index 0000000..4336428
--- /dev/null
@@ -0,0 +1,484 @@
+/**
+ * @module MultimediaPlayerApplication
+ */
+
+/**
+ * Class which provides methods to operate with Multimedia player library that utilizes {{#crossLink "Library"}}{{/crossLink}} component.
+ * Library allows user to select either LOCAL or REMOTE content.
+ * LOCAL content tab is devided by content type into 2 categories: MUSIC and VIDEOS. Each content type can be browsed by ARTISTS, ALBUMS or ALL (all audio tracks / all video files). Moreover ARTISTS can be browsed by ALBUMS.
+ * Following hierarchical list represents structure of LOCAL content:
+ *
+ * * LOCAL
+ *  * MUSIC
+ *      * ARTISTS
+ *          * ALBUMS
+ *      * ALBUMS
+ *      * ALL
+ *  * VIDEOS
+ *      * ARTISTS
+ *          * ALBUMS
+ *      * ALBUMS
+ *      * ALL
+ *
+ * REMOTE content tab contains alphabetically sorted list of available DLNA media servers and integrates browsing of DLNA Media Container of selected DLNA media server
+ * starting from root element and drill down through folders (keeps the structure as is defined by remote server).
+ *
+ * Clicking audio track in library selects all audio items from the current list, creates and sets audio player playlist, shows and fills in the media carousel and starts playing selected track.
+ * Clicking video file in library selects all video items from the current list, creates a sets video player playlist, shows video element and starts playing selected video. Clicking on the rendered video or back button lets the user toggle between windowed and fullscreen presentation of the video.
+ *
+ * @class MultimediaLibrary
+ * @static
+ */
+var MultimediaLibrary = {
+       remoteContent : null,
+       remoteContentReScanInterval : null,
+       localContent : null,
+       carousel : null,
+       speechObj : null,
+       /*global ko */
+       mediaContentTemplate : ko.observable(""),
+       /**
+        * Holds status of music library initialization.
+        *
+        * @property initialized {Boolean}
+        */
+       initialized : false,
+       /**
+        * Method is initializing music library.
+        *
+        * @method init
+        */
+       init : function() {
+               "use strict";
+               /*global RemoteContent*/
+               MultimediaLibrary.remoteContent = new RemoteContent();
+               MultimediaLibrary.remoteContent.setMediaSourceLostListener(function(mediaSourceId) {
+                       if ($("#mediaContentList").length) {
+                               if (!!MultimediaLibrary.remoteContent.selectedMediaSource() && MultimediaLibrary.remoteContent.selectedMediaSource().id === mediaSourceId) {
+                                       MultimediaLibrary.showMediaSources();
+                               }
+                       }
+               });
+               /*global LocalContent*/
+               MultimediaLibrary.localContent = new LocalContent();
+               /*global Carousel*/
+               MultimediaLibrary.carousel = new Carousel();
+               MultimediaLibrary.carousel.addIndexChangeListener(function(index) {
+                       console.log("NEW CAROUSEL INDEX " + index);
+                       if ($('#multimediaPlayer').audioAPI('getCurrentPlayerType') === MultimediaLibrary.localContent.audioType) {
+                               $('#multimediaPlayer').audioAPI('play', index);
+                       }
+               });
+               $('#multimediaPlayer').audioAPI('addIndexChangeListener', function(index) {
+                       console.log("NEW PLAYER INDEX " + index);
+                       if ($('#multimediaPlayer').audioAPI('getCurrentPlayerType') === MultimediaLibrary.localContent.audioType) {
+                               MultimediaLibrary.carousel.slideTo(index);
+                       }
+               });
+
+               $('#musicLibrary').library("setSectionTitle", "MULTIMEDIA LIBRARY");
+               $('#musicLibrary').library("init");
+
+               var tabMenuItems = [ {
+                       text : "LOCAL",
+                       selected : true
+               }, {
+                       text : "REMOTE",
+                       selected : false
+               } ];
+
+               var tabMenuModel = {
+                       Tabs : tabMenuItems
+               };
+               $('#library').library("setAlphabetVisible", true);
+               $('#musicLibrary').library("tabMenuTemplateCompile", tabMenuModel);
+               $('#musicLibrary').bind('eventClick_GridViewBtn', function() {
+                       $('#musicLibrary').library('changeContentClass', "musicLibraryContentGrid");
+               });
+               $('#musicLibrary').bind('eventClick_ListViewBtn', function() {
+                       $('#musicLibrary').library('changeContentClass', "musicLibraryContentList");
+               });
+               $('#musicLibrary').bind('eventClick_SearchViewBtn', function() {
+                       // search code here
+               });
+               $('#musicLibrary').bind('eventClick_menuItemBtn', function(e, data) {
+                       MultimediaLibrary.renderTabContent(data.Index);
+               });
+               $('#musicLibrary').bind('eventClick_closeSubpanel', function() {
+               });
+               $("#alphabetBookmarkList").on("letterClick", function(event, letter) {
+                       console.log(letter);
+                       MultimediaLibrary.remoteContent.alphabetFilter(letter === "*" ? "" : letter);
+                       MultimediaLibrary.localContent.alphabetFilter(letter === "*" ? "" : letter);
+               });
+               MultimediaLibrary.renderTabContent($('#musicLibrary').library('getSelectetTopTabIndex'));
+               MultimediaLibrary.initialized = true;
+       },
+       /**
+        * Shows music library panel.
+        *
+        * @method show
+        */
+       show : function() {
+               "use strict";
+               $('#musicLibrary').library("showPage");
+       },
+       /**
+        * Hides music library panel.
+        *
+        * @method hide
+        */
+       hide : function() {
+               "use strict";
+               $('#musicLibrary').library("hidePage");
+       },
+       /**
+        * Renders the Multimedia library content for given library tab.
+        *
+        * @method renderTabContent
+        */
+       renderTabContent : function(tabIndex) {
+               "use strict";
+               switch (tabIndex) {
+               case 0:
+                       MultimediaLibrary.showLocalContent();
+                       break;
+               case 1:
+                       MultimediaLibrary.showMediaSources();
+                       break;
+               default:
+                       break;
+               }
+       },
+       /**
+        * Shows local content categories [Music, Videos] in grid or list view.
+        *
+        * @method showLocalContent
+        */
+       showLocalContent : function() {
+               "use strict";
+               var view = "";
+               switch ($('#musicLibrary').library('getSelectetLeftTabIndex')) {
+               /*global GRID_TAB, LIST_TAB*/
+               case GRID_TAB:
+                       view = "musicLibraryContentGrid";
+                       break;
+               case LIST_TAB:
+                       view = "musicLibraryContentList";
+                       break;
+               default:
+                       view = "musicLibraryContentList";
+                       break;
+               }
+               MultimediaLibrary.localContent.clearLocalContent();
+               MultimediaLibrary.localContent.clearHistory();
+               $('#musicLibrary').library('closeSubpanel');
+               $('#musicLibrary').library("clearContent");
+               $('#musicLibrary').library("changeContentClass", view);
+               MultimediaLibrary.mediaContentTemplate("localContentCategoryItemTemplate");
+               var localContentElement = '<div data-bind="template: { name: function() { return MultimediaLibrary.mediaContentTemplate(); }, foreach: MultimediaLibrary.localContent.localContentComputed }"></div>';
+               $(localContentElement).appendTo($('.' + view));
+               ko.applyBindings(MultimediaLibrary.localContent);
+               MultimediaLibrary.localContent.fillCategories();
+       },
+       /**
+        * Shows available media sources/servers in grid or list view.
+        *
+        * @method showMediaSources
+        */
+       showMediaSources : function() {
+               "use strict";
+               var view = "";
+               switch ($('#musicLibrary').library('getSelectetLeftTabIndex')) {
+               case GRID_TAB:
+                       view = "musicLibraryContentGrid";
+                       break;
+               case LIST_TAB:
+                       view = "musicLibraryContentList";
+                       break;
+               default:
+                       view = "musicLibraryContentList";
+                       break;
+               }
+               $('#musicLibrary').library('closeSubpanel');
+               $('#musicLibrary').library("clearContent");
+               $('#musicLibrary').library("changeContentClass", view);
+               var mediaSourcesElement = '<div id="remoteMediaServers" data-bind="template: { name: \'mediaSourceItemTemplate\', foreach: MultimediaLibrary.remoteContent.mediaSourcesComputed }"></div>';
+               $(mediaSourcesElement).appendTo($('.' + view));
+               ko.applyBindings(MultimediaLibrary.remoteContent);
+               MultimediaLibrary.remoteContent.selectedMediaSource(null);
+               MultimediaLibrary.remoteContent.resetMediaContainers();
+               MultimediaLibrary.remoteContent.resetMediaContainerItems();
+               MultimediaLibrary.remoteContent.scanMediaServerNetwork();
+               if (!MultimediaLibrary.remoteContentReScanInterval) {
+                       MultimediaLibrary.remoteContentReScanInterval = setInterval(function() {
+                               if (($("#mediaContentList").length || $("#remoteMediaServers").length) && $('#musicLibrary').library('isVisible')) {
+                                       MultimediaLibrary.remoteContent.scanMediaServerNetwork();
+                               }
+                       }, 5000);
+               }
+       },
+       /**
+        * Opens the supplied media source/server, shows the content of its root
+        * directory and navigation bar containing the name of selected server and
+        * back button to navigate back to list of available media sources.
+        *
+        * @method selectRemoteMediaSource {Object} Representation of media
+        *         source/server to be opened.
+        * @param mediaSource {}
+        */
+       selectRemoteMediaSource : function(mediaSource) {
+               "use strict";
+               if (!!mediaSource) {
+                       MultimediaLibrary.remoteContent.selectMediaSource(mediaSource);
+                       var subpanelModel = {
+                               action : function() {
+                                       MultimediaLibrary.goBackRemoteContent();
+                               },
+                               actionName : "BACK",
+                               textTitle : "SERVER",
+                               textSubtitle : mediaSource.friendlyName ? mediaSource.friendlyName.toUpperCase() : "-"
+                       };
+                       $('#musicLibrary').library("subpanelContentTemplateCompile", subpanelModel);
+               }
+
+               $('#musicLibrary').library("clearContent");
+               var viewType = "";
+               if ($('#musicLibrary').library('getSelectetLeftTabIndex') === GRID_TAB) {
+                       viewType = "musicLibraryContentGrid";
+               } else {
+                       viewType = "musicLibraryContentList";
+               }
+               $('#musicLibrary').library("changeContentClass", viewType);
+               var mediaContainerItemsElement = '<div id="mediaContentList" data-bind="template: { name: \'mediaContentItemTemplate\', foreach: MultimediaLibrary.remoteContent.mediaContainerItemsComputed }"></div>';
+               $(mediaContainerItemsElement).appendTo($('.' + viewType));
+               ko.applyBindings(MultimediaLibrary.remoteContent);
+       },
+       /**
+        * In case the supplied media object is type of container the method browses
+        * and shows the content of container, shows a navigation bar containing the
+        * title of selected container and back button to navigate back in hierarchy
+        * of opened containers. Otherwise it closes the library and starts playing
+        * video/audio or show the image.
+        *
+        * @method selectRemoteContent {}
+        * @param mediaItem {MediaObject} Media container or media item to be
+        *         opened.
+        */
+       selectRemoteContent : function(mediaItem) {
+               "use strict";
+               if (!!mediaItem) {
+                       MultimediaLibrary.remoteContent.selectMediaContainerItem(mediaItem);
+                       if (mediaItem.type === "CONTAINER") {
+                               var textTitle = "FOLDER";
+                               var mediaContainersLength = MultimediaLibrary.remoteContent.mediaContainers().length;
+                               if (mediaContainersLength) {
+                                       if (mediaContainersLength > 2) {
+                                               textTitle = MultimediaLibrary.remoteContent.mediaContainers()[mediaContainersLength - 2].title.toUpperCase();
+                                       } else {
+                                               textTitle = MultimediaLibrary.remoteContent.selectedMediaSource().friendlyName.toUpperCase();
+                                       }
+                               }
+                               var subpanelModel = {
+                                       action : function() {
+                                               MultimediaLibrary.goBackRemoteContent();
+                                       },
+                                       actionName : "BACK",
+                                       textTitle : textTitle,
+                                       textSubtitle : mediaItem.title ? mediaItem.title.toUpperCase() : "-"
+                               };
+                               $('#musicLibrary').library("subpanelContentTemplateCompile", subpanelModel);
+                       } else {
+                               $('#playerWrapper').audioAPI('playPause', false);
+                               var index;
+                               switch (mediaItem.type) {
+                               case MultimediaLibrary.localContent.audioType:
+                                       MultimediaLibrary.showAudio();
+                                       var audioContent = MultimediaLibrary.remoteContent.getAudioFromSelectedContainer();
+                                       index = audioContent.indexOf(mediaItem);
+                                       MultimediaLibrary.carousel.loadMediaContent(audioContent, index);
+                                       $('#multimediaPlayer').audioAPI('playAudioContent', audioContent, index, true, mediaItem.type);
+                                       MultimediaLibrary.hide();
+                                       break;
+                               case MultimediaLibrary.localContent.videoType:
+                                       MultimediaLibrary.showVideo();
+                                       var videoContent = MultimediaLibrary.remoteContent.getVideoFromSelectedContainer();
+                                       index = videoContent.indexOf(mediaItem);
+                                       $('#multimediaPlayer').audioAPI('playAudioContent', videoContent, index, true, mediaItem.type);
+                                       MultimediaLibrary.hide();
+                                       break;
+                               default:
+                                       console.log("Media type not supported!");
+                                       break;
+                               }
+                       }
+               }
+       },
+       /**
+        * Navigates user back in hierarchy of opened containers/servers.
+        *
+        * @method goBackRemoteContent
+        */
+       goBackRemoteContent : function() {
+               "use strict";
+               if (MultimediaLibrary.remoteContent.mediaContainers().length > 1) {
+                       MultimediaLibrary.remoteContent.mediaContainers.pop();
+                       var remoteContent = MultimediaLibrary.remoteContent.mediaContainers.pop();
+                       if (remoteContent.title.toString().toLowerCase().trim() !== "root") {
+                               MultimediaLibrary.selectRemoteContent(remoteContent);
+                       } else {
+                               MultimediaLibrary.selectRemoteMediaSource(MultimediaLibrary.remoteContent.selectedMediaSource());
+                       }
+               } else {
+                       MultimediaLibrary.showMediaSources();
+               }
+       },
+       /**
+        * Loads and displays selected local content based on the given content data.
+        *
+        * @method selectLocalMediaContent
+        * @param content {object} media content
+        */
+       selectLocalMediaContent : function(content) {
+               "use strict";
+               if (!!content) {
+                       var index;
+                       switch (content.type) {
+                       case MultimediaLibrary.localContent.audioType:
+                               MultimediaLibrary.showAudio();
+                               var audioContent = MultimediaLibrary.localContent.getSelectedLocalContent(content.type);
+                               index = audioContent.indexOf(content);
+                               MultimediaLibrary.carousel.loadMediaContent(audioContent, index);
+                               $('#multimediaPlayer').audioAPI('playAudioContent', audioContent, index, true, content.type);
+                               MultimediaLibrary.hide();
+                               break;
+                       case MultimediaLibrary.localContent.videoType:
+                               MultimediaLibrary.showVideo();
+                               var videoContent = MultimediaLibrary.localContent.getSelectedLocalContent(content.type);
+                               index = videoContent.indexOf(content);
+                               $('#multimediaPlayer').audioAPI('playAudioContent', videoContent, index, true, content.type);
+                               MultimediaLibrary.hide();
+                               break;
+                       default:
+                               console.log("Not supported type!");
+                               break;
+                       }
+               }
+       },
+       /**
+        * Displays audio player, hides video player.
+        *
+        * @method showAudio
+        */
+       showAudio : function() {
+               "use strict";
+               $("#videoPlayer").css({
+                       display : "none"
+               });
+               $("#audioPlayer").css({
+                       display : "block"
+               });
+               $("#carouselWrapper").css({
+                       display : "block"
+               });
+       },
+       /**
+        * Displays video player, hides audio player.
+        *
+        * @method showVideo
+        */
+       showVideo : function() {
+               "use strict";
+               $("#audioPlayer").css({
+                       display : "none"
+               });
+               $("#carouselWrapper").css({
+                       display : "none"
+               });
+               $("#videoPlayer").css({
+                       display : "block"
+               });
+       },
+
+       /**
+        * Sets the local content for MultiMedia library based on the given content.
+        *
+        * @method selectLocalContent
+        * @param content {Object} media content
+        */
+       selectLocalContent : function(content) {
+               "use strict";
+               console.log(content);
+               var self = this;
+
+               var subpanelModel;
+
+               if (MultimediaLibrary.localContent.history().length) {
+                       var title = MultimediaLibrary.localContent.history()[MultimediaLibrary.localContent.history().length - 1].title;
+                       subpanelModel = {
+                               action : function() {
+                                       MultimediaLibrary.goBackLocalContent();
+                               },
+                               actionName : "BACK",
+                               textTitle : title.toUpperCase(),
+                               textSubtitle : content.title ? content.title.toUpperCase() : "-"
+                       };
+               } else {
+                       subpanelModel = {
+                               action : function() {
+                                       MultimediaLibrary.goBackLocalContent();
+                               },
+                               actionName : "BACK",
+                               textTitle : "LOCAL",
+                               textSubtitle : content.title ? content.title.toUpperCase() : "-"
+                       };
+               }
+               $('#musicLibrary').library("subpanelContentTemplateCompile", subpanelModel);
+
+               MultimediaLibrary.localContent.pushToHistory(content);
+
+               switch (content.operation) {
+               case "browse_category":
+                       MultimediaLibrary.mediaContentTemplate("localContentSubCategoryItemTemplate");
+                       MultimediaLibrary.localContent.fillSubCategories(content);
+                       break;
+               case "browse_artists":
+                       MultimediaLibrary.mediaContentTemplate("localContentArtistItemTemplate");
+                       MultimediaLibrary.localContent.fillArtists(content);
+                       break;
+               case "browse_artist":
+                       MultimediaLibrary.mediaContentTemplate("localContentAlbumItemTemplate");
+                       MultimediaLibrary.localContent.fillArtistAlbums(content);
+                       break;
+               case "browse_album":
+                       MultimediaLibrary.mediaContentTemplate("localContentAudioVideoItemTemplate");
+                       MultimediaLibrary.localContent.fillArtistAlbumContent(content);
+                       break;
+               case "browse_albums":
+                       MultimediaLibrary.mediaContentTemplate("localContentAlbumItemTemplate");
+                       MultimediaLibrary.localContent.fillAlbums(content);
+                       break;
+               case "browse_all":
+                       MultimediaLibrary.mediaContentTemplate("localContentAudioVideoItemTemplate");
+                       MultimediaLibrary.localContent.fillAll(content);
+                       break;
+               default:
+                       break;
+               }
+       },
+       /**
+        * Navigates user back in history of opened local content.
+        *
+        * @method goBackLocalContent
+        */
+       goBackLocalContent : function() {
+               "use strict";
+               if (MultimediaLibrary.localContent.history().length > 1) {
+                       MultimediaLibrary.localContent.history.pop();
+                       var localContent = MultimediaLibrary.localContent.history.pop();
+                       MultimediaLibrary.selectLocalContent(localContent);
+               } else {
+                       MultimediaLibrary.showLocalContent();
+               }
+       }
+};
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/remotecontent.js b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/remotecontent.js
new file mode 100644 (file)
index 0000000..86bbb84
--- /dev/null
@@ -0,0 +1,369 @@
+/* global ko */
+
+/**
+ * @module MultimediaPlayerApplication
+ */
+
+/**
+ * Class representing remote media content for MultiMedia Player.
+ *
+ * @class RemoteContent
+ * @constructor
+ */
+var RemoteContent = function() {
+       "use strict";
+       var self = this;
+       this.mediaServer = tizen.mediaserver;
+       this.mediaSources = ko.observableArray([]);
+       this.selectedMediaSource = ko.observable(null);
+
+       this.mediaContainers = ko.observableArray([]);
+       this.selectedMediaContainer = ko.observable(null);
+
+       this.mediaContainerItems = ko.observableArray([]);
+       this.selectedMediaContainerItem = ko.observable(null);
+
+       this.currentBrowseOperation = "";
+       this.alphabetFilter = ko.observable("");
+       this.onMediaSourceLost = null;
+
+       this.mediaSourcesComputed = ko.computed(function() {
+               if (self.alphabetFilter() !== "") {
+                       return ko.utils.arrayFilter(self.mediaSources(), function(mediaSource) {
+                               return mediaSource.friendlyName.toString().toLowerCase().trim().indexOf(self.alphabetFilter().toString().toLowerCase().trim()) === 0;
+                       });
+               }
+               return self.mediaSources();
+       });
+       this.mediaContainersComputed = ko.computed(function() {
+               if (self.alphabetFilter() !== "") {
+                       return ko.utils.arrayFilter(self.mediaContainers(), function(mediaContainer) {
+                               return mediaContainer.title.toString().toLowerCase().trim().indexOf(self.alphabetFilter().toString().toLowerCase().trim()) === 0;
+                       });
+               }
+               return self.mediaContainers();
+       });
+       this.mediaContainerItemsComputed = ko.computed(function() {
+               if (self.alphabetFilter() !== "") {
+                       return ko.utils.arrayFilter(self.mediaContainerItems(), function(mediaItem) {
+                               return mediaItem.title.toString().toLowerCase().trim().indexOf(self.alphabetFilter().toString().toLowerCase().trim()) === 0;
+                       });
+               }
+               return self.mediaContainerItems();
+       });
+};
+
+/**
+ * Scans network for available DLNA server and adds it to media sources.
+ *
+ * @method scanMediaServerNetwork
+ */
+RemoteContent.prototype.scanMediaServerNetwork = function() {
+       "use strict";
+       var self = this;
+       if (!!self.mediaServer) {
+               self.clearDisappearedMediaSources();
+               self.mediaServer.scanNetwork(function(source) {
+                       self.addMediaSource(source);
+               }, function(err) {
+                       console.log("An error has occured while scanning network: " + err.message);
+                       console.log(err);
+               });
+       }
+};
+
+/**
+ * Adds given media source to the list.
+ *
+ * @method addMediaSource
+ * @param source {Object} media source
+ */
+RemoteContent.prototype.addMediaSource = function(source) {
+       "use strict";
+       var self = this;
+       console.log(source);
+       if (!!source) {
+               if (!source.friendlyName) {
+                       return;
+               }
+               source.timestamp = new Date().getTime();
+               var sourceExists = false;
+               for ( var i = 0; i < self.mediaSources().length; ++i) {
+                       var src = self.mediaSources()[i];
+                       if (src.id === source.id) {
+                               self.mediaSources()[i] = source;
+                               sourceExists = true;
+                               break;
+                       }
+               }
+               if (!sourceExists) {
+                       self.mediaSources.push(source);
+               }
+
+               self.mediaSources.sort(function(left, right) {
+                       var leftFriendlyName = "Unknown";
+                       if (!!left.friendlyName && left.friendlyName !== "") {
+                               leftFriendlyName = left.friendlyName;
+                       }
+                       leftFriendlyName = leftFriendlyName.toString().trim().toLowerCase();
+                       var rightFriendlyName = "Unknown";
+                       if (!!right.friendlyName && right.friendlyName !== "") {
+                               rightFriendlyName = right.friendlyName;
+                       }
+                       rightFriendlyName = rightFriendlyName.toString().trim().toLowerCase();
+                       return leftFriendlyName === rightFriendlyName ? 0 : (leftFriendlyName < rightFriendlyName) ? -1 : 1;
+               });
+       }
+};
+
+/**
+ * Sets given media source as selected and adds new media container based on the media source and sets it as selected.
+ *
+ * @method selectMediaSource
+ * @param mediaSource {Object} media source
+ */
+RemoteContent.prototype.selectMediaSource = function(mediaSource) {
+       "use strict";
+       var self = this;
+       console.log(mediaSource);
+       self.selectedMediaSource(null);
+       if (!!mediaSource) {
+               self.selectedMediaSource(mediaSource);
+               self.resetMediaContainers();
+               self.resetMediaContainerItems();
+               var mediaSourceContainerProps = {
+                       DisplayName : mediaSource.root.title,
+                       Path : mediaSource.root.id,
+                       Type : mediaSource.root.type
+               };
+               /*global mediacontent*/
+               var mediaContainer = new mediacontent.MediaContainer(mediaSourceContainerProps);
+               self.mediaContainers.push(mediaContainer);
+               self.selectMediaContainer(mediaContainer);
+       }
+};
+
+/**
+ * Sets given media container as selected.
+ *
+ * @method selectMediaContainer
+ * @param mediaSourceContainer {Object} media source container
+ */
+RemoteContent.prototype.selectMediaContainer = function(mediaSourceContainer) {
+       "use strict";
+       var self = this;
+       console.log(mediaSourceContainer);
+       if (!!mediaSourceContainer) {
+               self.resetMediaContainerItems();
+
+               for ( var i = self.mediaContainers().length - 1; i >= 0; --i) {
+                       if (self.mediaContainers()[i] !== mediaSourceContainer) {
+                               self.mediaContainers.pop();
+                       } else {
+                               break;
+                       }
+               }
+               console.log(self.mediaContainers());
+               self.selectedMediaContainer(mediaSourceContainer);
+               self.browseMediaSourceContainer(self.selectedMediaSource(), mediaSourceContainer);
+       }
+};
+
+/**
+ * Sets given media container item as selected.
+ *
+ * @method selectMediaContainerItem
+ * @param mediaContainerItem {Object} media source container
+ */
+RemoteContent.prototype.selectMediaContainerItem = function(mediaContainerItem) {
+       "use strict";
+       var self = this;
+       console.log(mediaContainerItem);
+       if (!!mediaContainerItem) {
+               self.selectedMediaContainerItem(mediaContainerItem);
+               if (mediaContainerItem.type === "CONTAINER") {
+                       self.mediaContainers.push(mediaContainerItem);
+                       self.selectMediaContainer(mediaContainerItem);
+               }
+       }
+};
+
+/**
+ * Sets selected media source to null and empties media sources.
+ *
+ * @method resetMediaSource
+ */
+RemoteContent.prototype.resetMediaSource = function() {
+       "use strict";
+       var self = this;
+       self.selectedMediaSource(null);
+       self.mediaSources.removeAll();
+       self.mediaSources([]);
+};
+
+/**
+ * Removes expired media sources and invokes onMediaSourceLost listener.
+ *
+ * @method clearDisappearedMediaSources
+ */
+RemoteContent.prototype.clearDisappearedMediaSources = function() {
+       "use strict";
+       var self = this;
+       if (self.mediaSources().length) {
+               for ( var i = self.mediaSources().length - 1; i >= 0; --i) {
+                       if (new Date().getTime() - self.mediaSources()[i].timestamp > 10000) {
+                               var mediaSourceId = self.mediaSources()[i].id;
+                               self.mediaSources.remove(self.mediaSources()[i]);
+                               if (!!self.onMediaSourceLost) {
+                                       self.onMediaSourceLost(mediaSourceId);
+                               }
+                       }
+               }
+       }
+};
+
+/**
+ * Sets the listener to receive notifications when media source is lost.
+ *
+ * @method setMediaSourceLostListener
+ * @param onMediaSourceLost {Function(mediaSourceId)} Event listener to be set.
+ */
+RemoteContent.prototype.setMediaSourceLostListener = function(onMediaSourceLost) {
+       "use strict";
+       var self = this;
+       if (!!onMediaSourceLost) {
+               self.onMediaSourceLost = onMediaSourceLost;
+       }
+};
+
+/**
+ * Sets selected media container to null and empties media containers.
+ *
+ * @method resetMediaContainers
+ */
+RemoteContent.prototype.resetMediaContainers = function() {
+       "use strict";
+       var self = this;
+       self.selectedMediaContainer(null);
+       self.mediaContainers.removeAll();
+       self.mediaContainers([]);
+};
+
+/**
+ * Sets selected media container item to null and empties media container items.
+ *
+ * @method resetMediaContainerItems
+ */
+RemoteContent.prototype.resetMediaContainerItems = function() {
+       "use strict";
+       var self = this;
+       self.selectedMediaContainerItem(null);
+       self.mediaContainerItems.removeAll();
+       self.mediaContainerItems([]);
+};
+
+/**
+ * Gets media source by its id.
+ *
+ * @method getMediaSourceById
+ * @param id (String) media source id
+ */
+RemoteContent.prototype.getMediaSourceById = function(id) {
+       "use strict";
+       var self = this;
+       var mediaSource = ko.utils.arrayFirst(self.mediaSources(), function(ms) {
+               return ms.id === id;
+       });
+       return mediaSource;
+};
+
+/**
+ * Gets media container by its id.
+ *
+ * @method getMediaContainerById
+ * @param id {String} media container id
+ */
+RemoteContent.prototype.getMediaContainerById = function(id) {
+       "use strict";
+       var self = this;
+       var mediaContainer = ko.utils.arrayFirst(self.mediaContainers(), function(mc) {
+               return mc.id === id;
+       });
+       return mediaContainer;
+};
+
+/**
+ * Browses given media source container.
+ *
+ * @method browseMediaSourceContainer
+ * @param source {Object} media source
+ * @param container {Object} media container
+ */
+RemoteContent.prototype.browseMediaSourceContainer = function(source, container) {
+       "use strict";
+       var self = this;
+       var browseCount = 100;
+       var browseOffset = 0;
+       var localOp = "Browse_" + source.id + "_" + container.id;
+
+       function browseErrorCB(str) {
+               console.log("Error browsing " + container.id + " : " + str);
+       }
+
+       function browseContainerCB(jsonArray) {
+               console.log(jsonArray);
+               if (self.currentBrowseOperation !== localOp) {
+                       return;
+               }
+               for ( var i = 0; i < jsonArray.length; ++i) {
+                       self.mediaContainerItems.push(mediacontent.mediaObjectForProps(jsonArray[i]));
+               }
+
+               if (jsonArray.length === browseCount) {
+                       browseOffset += browseCount;
+                       source.browse(container.id, "+DisplayName", browseCount, browseOffset, browseContainerCB, browseErrorCB);
+               } else {
+                       self.currentBrowseOperation = "";
+               }
+       }
+
+       if (self.currentBrowseOperation === localOp) {
+               return;
+       }
+
+       self.currentBrowseOperation = localOp;
+
+       source.browse(container.id, "+DisplayName", browseCount, browseOffset, browseContainerCB, browseErrorCB);
+};
+
+/**
+ * Gets audio media items from selected container.
+ *
+ * @method getAudioFromSelectedContainer
+ */
+RemoteContent.prototype.getAudioFromSelectedContainer = function() {
+       "use strict";
+       var self = this;
+       if (!!self.mediaContainerItemsComputed() && self.mediaContainerItemsComputed().length) {
+               return ko.utils.arrayFilter(self.mediaContainerItemsComputed(), function(mediaItem) {
+                       return mediaItem.type === "AUDIO";
+               });
+       }
+       return [];
+};
+
+/**
+ * Gets video media items from selected container.
+ *
+ * @method getVideoFromSelectedContainer
+ */
+RemoteContent.prototype.getVideoFromSelectedContainer = function() {
+       "use strict";
+       var self = this;
+       if (!!self.mediaContainerItemsComputed() && self.mediaContainerItemsComputed().length) {
+               return ko.utils.arrayFilter(self.mediaContainerItemsComputed(), function(mediaItem) {
+                       return mediaItem.type === "VIDEO";
+               });
+       }
+       return [];
+};
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/utils.js b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/js/utils.js
new file mode 100644 (file)
index 0000000..33d0500
--- /dev/null
@@ -0,0 +1,118 @@
+/**
+ * @module MultimediaPlayerApplication
+ */
+
+/**
+ * Utility class with helper methods for Multimedia player.
+ *
+ * @class Utils
+ */
+var Utils = {
+       /**
+        * Provides default thumbnails for given media types.
+        *
+        * @method getDefaultThumbnailByType
+        * @param type {String} media type
+        */
+       getDefaultThumbnailByType : function(type) {
+               "use strict";
+               var thumbnail = "";
+               switch (type) {
+               case "AUDIO":
+                       thumbnail = "/images/audio-placeholder.jpg";
+                       break;
+               case "VIDEO":
+                       thumbnail = "/images/video-placeholder.jpg";
+                       break;
+               case "CONTAINER":
+                       thumbnail = "/images/container-placeholder.jpg";
+                       break;
+               default:
+                       thumbnail = "/images/default-placeholder.jpg";
+                       break;
+               }
+               return thumbnail;
+       },
+       /**
+        * Gets thumbnail path out of media item object if exists otherwise gets default placeholder by type.
+        *
+        * @method getThumbnailPath
+        * @param mediaItem {Object}  media item object
+        * @param type {String} media type
+        * @return {String} thumbnail path
+        */
+       getThumbnailPath : function(mediaItem, type) {
+               "use strict";
+               if (!!mediaItem) {
+                       if (!!mediaItem.thumbnailURIs && mediaItem.thumbnailURIs.length) {
+                               return mediaItem.thumbnailURIs[0];
+                       }
+                       if (!!mediaItem.type) {
+                               return this.getDefaultThumbnailByType(mediaItem.type);
+                       }
+               }
+               return this.getDefaultThumbnailByType(type || "");
+       },
+       /**
+        * Gets artist's name out of media item object.
+        *
+        * @method getArtistName
+        * @param mediaItem {Object} media item
+        * @return {String} artist name
+        */
+       getArtistName : function(mediaItem) {
+               "use strict";
+               if (!!mediaItem && !!mediaItem.artists && mediaItem.artists.length) {
+                       return mediaItem.artists.join(", ");
+               }
+               return "Unknown";
+       },
+       /**
+        * Gets album name out of media item object.
+        *
+        * @method getAlbumName
+        * @param mediaItem {Object} media item
+        * @return {String} album name
+        */
+       getAlbumName : function(mediaItem) {
+               "use strict";
+               if (!!mediaItem && !!mediaItem.album && mediaItem.album !== "") {
+                       return mediaItem.album;
+               }
+               return "Unknown";
+       },
+       /**
+        * Gets media item title out of media item object.
+        *
+        * @method getMediaItemTitle
+        * @param mediaItem {Object} media item
+        * @return {String} media title
+        */
+       getMediaItemTitle : function(mediaItem) {
+               "use strict";
+               if (!!mediaItem && !!mediaItem.title && mediaItem.title !== "") {
+                       return mediaItem.title;
+               }
+               if (!!mediaItem && !!mediaItem.name && mediaItem.name !== "") {
+                       return mediaItem.name;
+               }
+               return "Unknown";
+       },
+       /**
+        * Calls fullscreen request for given html element.
+        *
+        * @method launchFullScreen
+        * @param element {Object}
+        */
+       launchFullScreen : function(element) {
+               "use strict";
+               console.log("Launching full screen");
+               if (element.requestFullScreen) {
+                       element.requestFullScreen();
+               } else if (element.mozRequestFullScreen) {
+                       element.mozRequestFullScreen();
+               } else if (element.webkitRequestFullScreen) {
+                       element.webkitRequestFullScreen();
+               }
+       }
+};
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/manifest.json b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/manifest.json
new file mode 100644 (file)
index 0000000..e61c388
--- /dev/null
@@ -0,0 +1,12 @@
+{
+  "name": "Modello Multimedia Player",
+  "version": "0.0.2",
+  "app": {
+    "launch":{
+      "local_path": "index.html"
+    }
+  },
+  "icons": {
+    "128": "Multimedia_Player__icon.png"
+  }
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/packaging/modello-multimediaplayer.changes b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/packaging/modello-multimediaplayer.changes
new file mode 100644 (file)
index 0000000..a1be983
--- /dev/null
@@ -0,0 +1,16 @@
+* Thu May 22 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.232656@1f1125d
+- Fixes for IVI-3190 - To get things to render normally
+
+* Thu May 08 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.172639@00d8f22
+- Adding Modello to the app name to easily identify it
+
+* Tue May 06 2014 brianjjones <brian.j.jones@intel.com> submit/tizen/20140416.224147@e473052
+- Updated to work with Crosswalk.  TIVI-3077
+
+* Mon Apr 14 2014 brianjjones <brian.j.jones@intel.com> submit/tizen/20140404.163925@acf3535
+- Fixing image files
+- Changing file names
+
+* Thu Apr 03 2014 brianjjones <brian.j.jones@intel.com> 342ecd8
+- Initial commit of the Modello Multimedia app
+
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/packaging/modello-multimediaplayer.spec b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/project/packaging/modello-multimediaplayer.spec
new file mode 100644 (file)
index 0000000..5069b88
--- /dev/null
@@ -0,0 +1,29 @@
+Name:       Modello_Multimediaplayer
+Summary:    A proof of concept pure html5 UI
+Version:    0.0.2
+Release:    1
+Group:      Applications/System
+License:    Apache 2.0
+URL:        http://www.tizen.org
+Source0:    %{name}-%{version}.tar.bz2
+BuildRequires:  zip
+Requires:   Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_Multimediaplayer.wgt
+/opt/usr/apps/_common/icons/Multimedia_Player_icon.png
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/tizen-app-template.xml b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/tizen-app-template.xml
new file mode 100644 (file)
index 0000000..7c6a9e7
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<tizen-app-template xmlns="http://www.tizen.org/tizen-app-template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" template-version="" sdk-version="" icon32="tizen_32.png" icon64="tizen_64.png" xsi:schemaLocation="http://www.tizen.org/tizen-app-template tizen-app-template.xsd ">
+    <template-name>Modello_Multimediaplayer</template-name>
+    <widget-type>TIZEN</widget-type>
+    <build-property key="usedLibraryType" value="Modello"/>
+    <description-file-name>description.xml</description-file-name>
+    <options>
+        <supportLibraries>
+        <library name="modello"/>
+        </supportLibraries>
+    </options>
+</tizen-app-template>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/tizen_32.png b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/tizen_32.png
new file mode 100644 (file)
index 0000000..a37c33e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/tizen_32.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/tizen_64.png b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/tizen_64.png
new file mode 100644 (file)
index 0000000..f80f2ec
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Multimediaplayer/tizen_64.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/description.xml b/samples/web/Sample/Tizen/Web App/Modello_Nav/description.xml
new file mode 100644 (file)
index 0000000..a5a7537
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<?xml-stylesheet type="text/xsl" href="description.xsl"?>\r
+<Overview version="1.0">\r
+  <SampleName>Modello_Nav</SampleName>\r
+  <SampleVersion>1.0.0</SampleVersion>\r
+  <Preview>Modello_Nav-snapshot.png</Preview>\r
+  <Description>\r
+         Modello Navigation\r
+  </Description>\r
+</Overview>\r
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/description.xsl b/samples/web/Sample/Tizen/Web App/Modello_Nav/description.xsl
new file mode 100644 (file)
index 0000000..1f4f57f
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+    This file provides a functionality to show template's description.xml in the project wizard.
+    Don't delete or move this file.
+ -->
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:template match="/">
+    <html>
+      <head>
+        <style type="text/css">
+          html,body {
+          font-family:Arial;
+          margin: 0px;
+          }
+          td
+          {
+          font-size:13px;
+          }
+          .samplename
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:26px;
+          background-color:#6d96ac;
+          }
+          .category
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:30px;
+          background-color:#6d96ac;
+          }
+          .contents
+          {
+          padding: 6px 10px 14px 10px;
+          }
+          table#widgets td
+          {
+          border: solid 1px #6d96ac;
+          border-collapse: collapse;
+          }
+          .widgetname
+          {
+          font-weight: bold;
+          text-align: center;
+          width: 20%;
+          word-break:break-all;
+          }
+          table#references td
+          {
+          width: 100%;
+          border: 0px;
+          border-spacing: 0px;
+          padding: 5px;
+          }
+          .refname
+          {
+          width: 100%;
+          font-weight: bold;
+          }
+        </style>
+      </head>
+      <body>
+        <table width="400px" border="0" cellspacing="0">
+          <tr>
+            <td class="samplename" align="center">
+              <xsl:value-of select="Overview/SampleName"/>
+              <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
+                         <!--
+              <xsl:value-of select="Overview/SampleVersion"/>
+                         -->
+            </td>
+          </tr>
+          <tr bgcolor="#FFFFFF">
+            <td class="contents">
+                         <strong>Type</strong>: JavaScript
+                         <p>
+              <xsl:value-of select="Overview/Description"/>
+                         </p>
+            </td>
+          </tr>
+          <tr>
+            <td align="center" bgcolor="#FFFFFF" height="260px">
+              <img>
+                <xsl:attribute name="src">
+                  <xsl:value-of select="Overview/Preview"/>
+                </xsl:attribute>
+              </img>
+            </td>
+          </tr>
+        </table>
+      </body>
+    </html>
+  </xsl:template>
+
+</xsl:stylesheet>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/project/Makefile b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/Makefile
new file mode 100644 (file)
index 0000000..91c7cc4
--- /dev/null
@@ -0,0 +1,20 @@
+PROJECT = Modello_Nav
+
+VERSION := 0.0.2
+PACKAGE = $(PROJECT)-$(VERSION)
+
+INSTALL_FILES = $(PROJECT).wgt
+INSTALL_DIR = ${DESTDIR}/opt/usr/apps/.preinstallWidgets
+
+wgtPkg:
+       zip -r $(PROJECT).wgt config.xml css Navigation_icon.png images index.html js templates
+
+install:
+       @echo "Installing Navigation, stand by..."
+       mkdir -p $(INSTALL_DIR)/
+       mkdir -p ${DESTDIR}/opt/usr/apps/_common/icons
+       cp $(PROJECT).wgt $(INSTALL_DIR)/
+       cp Navigation_icon.png ${DESTDIR}/opt/usr/apps/_common/icons
+
+dist:
+       tar czf ../$(PACKAGE).tar.bz2 .
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/project/Navigation_icon.png b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/Navigation_icon.png
new file mode 100644 (file)
index 0000000..fda31dc
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/Navigation_icon.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/project/config.xml b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/config.xml
new file mode 100644 (file)
index 0000000..8c5421c
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://com.intel.tizen/navigationgoogle" version="1.0.0" viewmodes="fullscreen">
+    <access origin="*" subdomains="true"/>
+    <tizen:application id="Modello008.Nav" package="Modello008" required_version="2.1"/>
+    <content src="index.html"/>
+    <icon src="icon.png"/>
+    <name>Modello Navigation</name>
+    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
+       <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
+    <tizen:privilege name="http://tizen.org/privilege/content.read" />
+    <tizen:privilege name="http://tizen.org/privilege/speech" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap" />
+    <tizen:setting screen-orientation="portrait"
+               context-menu="enable" background-support="disable" encryption="disable"
+               install-location="auto" />
+</widget>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/project/css/style.css b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/css/style.css
new file mode 100644 (file)
index 0000000..aac127d
--- /dev/null
@@ -0,0 +1,134 @@
+.placesLibraryContentList .placesElement {
+       padding: 10px 0 10px 0;
+       height: 70px;
+       box-shadow: none;
+       border-bottom-style: solid;
+       border-bottom-width: 2px;
+       line-height: 0;
+       text-align: left;
+       cursor: pointer;
+}
+
+.placesLibraryContentList .placesBox {
+       display: inline-block;
+       vertical-align: top;
+       padding-top: 20px;
+       background-color: transparent !important;
+}
+
+#upNextRectangle {
+       position: absolute;
+       left: 35px;
+       top: 100px;
+}
+
+#turnArrow {
+       position: absolute;
+       top: 135px;
+       left: 45px;
+       width: 50px;
+       height: 37px;
+       background-repeat: no-repeat;
+       background-position: center center;
+}
+
+.navigationPanel {
+       position: absolute;
+       top: 128px;
+       left: 106px;
+       width: 470px;
+       text-transform: uppercase;
+}
+
+#distanceTo {
+       position: absolute;
+       top: 180px;
+       left: 35px;
+       width: 70px;
+       text-align: center;
+}
+
+#destinationProgress {
+       position: absolute;
+       left: 9px;
+       top: 189px;
+       width: 700px;
+       height: 62px;
+}
+
+#destinationItem {
+       position: absolute;
+       left: 35px;
+       top: 233px;
+       width: 410px;
+}
+
+#destinationAddress {
+       margin-top: 2px;
+}
+
+#destinationAddressTown {
+       margin-top: 2px;
+       display: none;
+}
+
+#stillToGoItem {
+       position: absolute;
+       left: 450px;
+       top: 232px;
+       max-width: 260px;
+}
+
+#stillToGoTimeAndDistance {
+       margin-top: 2px;
+}
+
+#arrivalText {
+       margin-top: 6px;
+}
+
+.mapPanel {
+       position: absolute;
+       top: 330px;
+       width: 720px;
+       height: 805px;
+}
+
+.iconBbox {
+       left: 590px;
+       top: 990px;
+       border-style: solid;
+       border-width: 2px;
+       position: absolute;
+       width: 110px;
+       height: 80px;
+}
+
+.iconBbox:active {
+       top: 991px;
+}
+
+.satelitteIcon {
+       width: 56px;
+       height: 54px;
+       position: absolute;
+       margin: auto;
+       top: 0;
+       bottom: 0;
+       left: 0;
+       right: 0;
+       display: none;
+       background-repeat: no-repeat;
+}
+
+.mapIcon {
+       margin: auto;
+       position: absolute;
+       top: 0;
+       bottom: 0;
+       left: 0;
+       right: 0;
+       width: 56px;
+       height: 40px;
+       background-repeat: no-repeat;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/project/images/icon_arrow_left.png b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/images/icon_arrow_left.png
new file mode 100644 (file)
index 0000000..335c759
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/images/icon_arrow_left.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/project/images/icon_arrow_right.png b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/images/icon_arrow_right.png
new file mode 100644 (file)
index 0000000..ca1c558
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/images/icon_arrow_right.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/project/images/icon_arrow_straight.png b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/images/icon_arrow_straight.png
new file mode 100644 (file)
index 0000000..d818060
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/images/icon_arrow_straight.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/project/index.html b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/index.html
new file mode 100644 (file)
index 0000000..0cb1f19
--- /dev/null
@@ -0,0 +1,110 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta name="viewport"
+       content="width=720, height=1280, user-scalable = no">
+<meta http-equiv="cache-control" content="no-cache" />
+<title>Navigation</title>
+
+<!--  jquery and plugins  -->
+<script type="text/javascript"
+       src="./css/car/components/jQuery/jquery-1.8.2.js"></script>
+<script type="text/javascript"
+       src="./css/car/components/knockout/knockout.js"></script>
+
+<!-- user and car theme, theme engine  -->
+<link rel="stylesheet" href="./css/car/car.css" />
+<link rel="stylesheet"
+       href="./css/car/components/incomingCall/incomingCall.css" />
+<script type="text/javascript" src='./css/car/car.js'></script>
+<script type='text/javascript' src='./js/services/bootstrap.js'></script>
+
+<script type='text/javascript'
+       src='./css/car/components/boxCaption/boxCaption.js'></script>
+<link rel="stylesheet"
+       href="./css/car/components/boxCaption/boxCaption.css" />
+<script type='text/javascript'
+       src='./css/car/components/topBarIcons/topBarIcons.js'></script>
+<link rel="stylesheet"
+       href="./css/car/components/topBarIcons/topBarIcons.css" />
+<script type="text/javascript"
+       src="./css/car/components/bottomPanel/bottomPanel.js"></script>
+<script type="text/javascript"
+       src="./css/car/components/progressBar/progressBar.js"></script>
+<link rel="stylesheet"
+       href="./css/car/components/progressBar/progressBar.css" />
+<script type="text/javascript"
+       src="http://maps.google.com/maps/api/js?sensor=false&language=en"></script>
+
+<!-- jsRender Library Import -->
+<script type="text/javascript"
+       src="./css/car/components/jsViews/jsrender.js"></script>
+<script type="text/javascript"
+       src="./css/car/components/jsViews/template.js"></script>
+
+<script type="text/javascript"
+       src='./css/car/components/alphabetBookmark/alphabetBookmark.js'></script>
+<link rel="stylesheet"
+       href="./css/car/components/alphabetBookmark/alphabetBookmark.css" />
+<script type="text/javascript"
+       src="./css/car/components/library/library.js"></script>
+<link rel="stylesheet" href="./css/car/components/library/library.css" />
+
+<!-- Navigation -->
+<script type="text/javascript" src="./js/main.js"></script>
+<script type="text/javascript" src="./js/v3_epoly.js"></script>
+<link rel="stylesheet" type="text/css" href="./css/style.css" />
+
+</head>
+
+<body>
+       <div id="wrapper" class="wrapper">
+               <div id="topBarIcons"></div>
+
+               <div id="placesButton"
+                       class="libraryButton fontSizeSmaller fontWeightBold fontColorNormal">PLACES</div>
+
+               <div id="upNextRectangle"></div>
+               <div id="turnArrow"></div>
+
+               <div id="navigationPanel"
+                       class="navigationPanel fontSizeLarge fontWeightBold fontColorNormal threeLinesEllipsis"></div>
+
+               <div id="distanceTo" class=" fontSizeSmaller fontColorDimmedLight "></div>
+
+               <div id="destinationProgress"></div>
+
+               <div id="destinationItem">
+                       <div id="destinationRectangle"></div>
+                       <div id="destinationAddress"
+                               class="fontSizeSmall fontWeightBold fontColorNormal twoLinesEllipsis"></div>
+
+                       <div id="destinationAddressTown"
+                               class="fontSizeXXSmall fontColorDimmedLight"></div>
+               </div>
+
+               <div id="stillToGoItem">
+                       <div id="stillToGoRectangle"></div>
+                       <div id="stillToGoTimeAndDistance"
+                               class="fontSizeXLarge fontColorNormal oneLineEllipsis"></div>
+                       <div id="arrivalText"
+                               class="fontSizeSmaller fontWeightBold fontColorNormal"></div>
+               </div>
+
+               <div data-role="content">
+                       <div id="map_div" class="mapPanel"></div>
+               </div>
+
+               <div
+                       class="iconBbox button bgColorDark borderColorDark boxShadow4Active"
+                       onClick="switchMapSatelitteView()">
+                       <div id="satelliteButton" class="satelitteIcon"></div>
+                       <div id="mapButton" class="mapIcon"></div>
+               </div>
+       </div>
+
+       <div id="placesLibrary" class="library pageBgColorNormalTransparent"></div>
+       <div id="bottomPanel" class="bottomPanel bottomPanelImg"></div>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/project/js/main.js b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/js/main.js
new file mode 100644 (file)
index 0000000..4e22ae3
--- /dev/null
@@ -0,0 +1,778 @@
+/*jshint eqnull:true*/
+/*global google*/
+
+/**
+ * Navigation application allows user to use Google Maps to navigate around in predefined set of waypoints in Places library with Text-To-Speech feature
+ * (via {{#crossLink "Speech"}}{{/crossLink}} object). Nvigation doesn't use GPS but updates position of marker along the route in periodic intervals.
+ * Default navigation waypoints are defined by:
+ *
+ * * start point: {{#crossLink "NavigationGoogle/originAddress:property"}}{{/crossLink}} property
+ * * end point: {{#crossLink "NavigationGoogle/destinationAddress:property"}}{{/crossLink}} property
+ *
+ * To add additional places or update existing ones please change property {{#crossLink "NavigationGoogle/places:property"}}{{/crossLink}}.
+ *
+ * Hover and click on elements in images below to navigate to components of Navigation application.
+ *
+ * <img id="Image-Maps_1201312180420487" src="../assets/img/navigation.png" usemap="#Image-Maps_1201312180420487" border="0" width="650" height="1148" alt="" />
+ *   <map id="_Image-Maps_1201312180420487" name="Image-Maps_1201312180420487">
+ *     <area shape="rect" coords="0,0,573,78" href="../classes/topbaricons.html" alt="Top bar icons" title="Top bar icons" />
+ *     <area shape="rect" coords="0,994,644,1147" href="../classes/bottompanel.html" alt="Bottom panel" title="Bottom panel" />
+ *     <area shape="rect" coords="521,133,645,186" href="../classes/Library.html" alt="Places library" title="Places library"    />
+ *     <area shape="poly" coords="1,78,512,80,514,191,648,192,646,291,0,292," href="../classes/NavigationGoogle.html#method_updateNavigationPanel" alt="Navigation panel" title="Navigation panel"   />
+ *     <area shape="poly" coords="1,298,648,301,644,890,530,887,528,970,648,969,647,1022,3,1022," href="../classes/NavigationGoogle.html#method_animate" alt="Animate along waypoints" title="Animate along waypoints"   />
+ *     <area shape="rect" coords="530,888,631,965" href="../classes/NavigationGoogle.html#method_switchMapSatelitteView" alt="Switch map mode" title="Switch map mode"    />
+ *   </map>
+ * @module NavigationGoogleApplication
+ * @main NavigationGoogleApplication
+ * @class NavigationGoogle
+ */
+
+/**
+ * Reference to instance of class object this class is inherited from dataModel {@link CarIndicator}.
+ * @property carInd {Object}
+ */
+var carInd;
+
+/**
+ * Array of destination addresses used in places library list.
+ * @property places {Object[String]}
+ * @for NavigationGoogle
+ */
+var places = [
+              {destinationAddress: "Golden Gate Bridge, San Francisco, CA 94129, USA"},
+              {destinationAddress: "Coit Tower, San Francisco, CA 94133, USA"},
+              {destinationAddress: "The Exploratorium, Pier 15, San Francisco, CA 94111, USA"},
+              {destinationAddress: "Steinhart Aquarium, 55 Music Concourse Drive, San Francisco, CA 94122, USA"}
+             ];
+
+/**
+ * Holds origin address value.
+ * @for NavigationGoogle
+ * @property originAddress {String}
+ */
+var originAddress = "Fell Street, San Francisco, CA, United States";
+
+/**
+ * Holds destination address value.
+ * @for NavigationGoogle
+ * @property destinationAddress {String}
+ */
+var destinationAddress = "75 Hagiwara Tea Garden Dr San Francisco, CA 94118";
+
+/**
+ * Holds origin object value.
+ * @for NavigationGoogle
+ * @private
+ * @property origin {String}
+ */
+var origin = null;
+
+/**
+ * Holds destination object value.
+ * @for NavigationGoogle
+ * @private
+ * @property destination {String}
+ */
+var destination = null;
+
+/**
+ * Holds map object.
+ * @for NavigationGoogle
+ * @private
+ * @property map {Object}
+ */
+var map;
+
+/**
+ * Holds geocoder object.
+ * @for NavigationGoogle
+ * @private
+ * @property geocoder {Object}
+ */
+var geocoder = null;
+
+/**
+ * Holds direction service method.
+ * @for NavigationGoogle
+ * @private
+ * @property directionsService {Object}
+ */
+var directionsService = null;
+
+/**
+ * Holds direction renderer method.
+ * @for NavigationGoogle
+ * @private
+ * @property directionRenderer {Object}
+ */
+var directionRenderer = null;
+
+/**
+ * Holds polyline method.
+ * @for NavigationGoogle
+ * @private
+ * @property polyline {Object}
+ */
+var polyline = null;
+
+/**
+ * Holds route object method.
+ * @for NavigationGoogle
+ * @private
+ * @property route {Object}
+ */
+var route = null;
+
+/**
+ * Holds marker object.
+ * @for NavigationGoogle
+ * @private
+ * @property marker {Object}
+ */
+var marker = null;
+
+/**
+ * Holds direction instructions objects array.
+ * @for NavigationGoogle
+ * @private
+ * @property instructions {Object[]}
+ */
+var instructions = [];
+
+/**
+ * Holds status if metric system is used.
+ * @for NavigationGoogle
+ * @private
+ * @property useMetricSystem {Boolean}
+ */
+var useMetricSystem = false;
+
+/**
+ * Holds step value in meters.
+ * @for NavigationGoogle
+ * @private
+ * @property step {Integer}
+ */
+var step = 10; // metres
+
+/**
+ * Holds tick value in milliseconds.
+ * @for NavigationGoogle
+ * @private
+ * @property tick {Integer}
+ */
+var tick = 200; // milliseconds
+
+/**
+ * Holds distance value.
+ * @for NavigationGoogle
+ * @private
+ * @property distance {Integer}
+ */
+var polDistance = 0;
+
+/**
+ * Holds remaining distance value.
+ * @for NavigationGoogle
+ * @private
+ * @property remainingDistance {Integer}
+ */
+var remainingDistance = 0;
+
+/**
+ * Holds remaining step distance value.
+ * @for NavigationGoogle
+ * @private
+ * @property remainingStepDistance {Integer}
+ */
+var remainingStepDistance = 0;
+
+/**
+ * Holds remaining time value.
+ * @for NavigationGoogle
+ * @private
+ * @property remainingTime {Integer}
+ */
+var remainingTime = 0;
+
+/**
+ * Holds route duration value.
+ * @for NavigationGoogle
+ * @private
+ * @property routeDuration {Integer}
+ */
+var routeDuration = 0;
+
+/**
+ * Holds average speed value.
+ * @for NavigationGoogle
+ * @private
+ * @property averageSpeed {Integer}
+ */
+var averageSpeed = 0;
+
+/**
+ * Holds instruction index value.
+ * @for NavigationGoogle
+ * @private
+ * @property instructionIndex {Integer}
+ */
+var instructionIndex = 0;
+
+/**
+ * Holds status value if instruction changed.
+ * @for NavigationGoogle
+ * @private
+ * @property instructionChanged {Boolean}
+ */
+var instructionChanged = true;
+
+/**
+ * Holds animation timer object.
+ * @for NavigationGoogle
+ * @private
+ * @property timerHandle {Object}
+ */
+var timerHandle;
+
+/**
+ * Instance of class Bootstrap, this class provides unified way to boot up the HTML applications by loading shared components in proper order.
+ * * {{#crossLink "Bootstrap"}}{{/crossLink}}
+ *
+ * @property bootstrap {Object}
+ */
+var bootstrap;
+
+/**
+ * Strips the HTML code removing all the HTML marks from it.
+ * @method strip
+ * @for NavigationGoogle
+ * @private
+ * @param html {String} HTML code
+ */
+function strip(html) {
+       "use strict";
+    var tmp = document.createElement("DIV");
+    tmp.innerHTML = html;
+    return tmp.textContent || tmp.innerText;
+}
+/**
+ * Method switches between satellite or classic map view.
+ * @method switchMapSatelitteView
+ * @for NavigationGoogle
+ */
+function switchMapSatelitteView() {
+       "use strict";
+       /*global google */
+       if (map.getMapTypeId() === google.maps.MapTypeId.ROADMAP) {
+               map.setMapTypeId(google.maps.MapTypeId.SATELLITE);
+               $(".mapIcon").css('display', 'none');
+               $(".satelitteIcon").css('display', 'inherit');
+       } else if (map.getMapTypeId() === google.maps.MapTypeId.SATELLITE) {
+               map.setMapTypeId(google.maps.MapTypeId.ROADMAP);
+               $(".satelitteIcon").css('display', 'none');
+               $(".mapIcon").css('display', 'inherit');
+       } else {
+               console.log("Othere map type is " + map.getMapTypeId());
+       }
+       console.log(map.getMapTypeId());
+}
+
+/**
+ * NMethod changes navigation arrow based on instruction text.
+ * @method changeNavigationArrow
+ * @for NavigationGoogle
+ * @param instructionText {String} Instruction text.
+ */
+function changeNavigationArrow(instructionText) {
+       "use strict";
+       var turnRight = instructionText.indexOf("right");
+       var turnLeft = instructionText.indexOf("left");
+
+       if (turnRight > 0 && turnRight < 10) {
+               //"left" or "right" is on the beginning of instruction step
+               $("#turnArrow").css("background-image", "url('images/icon_arrow_right.png')");
+       } else if (turnLeft > 0 && turnLeft < 10) {
+               //"left" or "right" is on the beginning of instruction step
+               $("#turnArrow").css("background-image", "url('images/icon_arrow_left.png')");
+       } else {
+               $("#turnArrow").css("background-image", "url('images/icon_arrow_straight.png')");
+       }
+}
+
+/**
+ * Method changes format of distance value text.
+ * @method formatMeters
+ * @for NavigationGoogle
+ * @param meters {Integer} Distance value in meters.
+ * @param fontSize {Integer} Font size.
+ * @return {String} Distance in meters width changed font format.
+ */
+function formatMeters(meters, fontSize) {
+       "use strict";
+       if (meters > 500) {
+               return (Math.round(meters / 100)) / 10 + "<span class=" + fontSize + ">KM</span>";
+       } else {
+               return Math.round(meters) + "<span class=" + fontSize + ">m</span>";
+       }
+}
+
+/**
+ * Method converts distance from meters to feets and changing formats of distance value text.
+ * @method convertMetersToFeetsMiles
+ * @for NavigationGoogle
+ * @param meters {Integer} Distance value in meters.
+ * @param fontSize {Integer} Font size.
+ * @return {String} Distance in feets width changed font format.
+ */
+function convertMetersToFeetsMiles(meters, fontSize) {
+       "use strict";
+       var feets = meters * 3.280839895;
+       if (feets > 528) {
+               return (Math.round(feets / 528)) / 10 + "<span class=" + fontSize + ">MI</span>";
+       } else {
+               return Math.round(feets) + "<span class=" + fontSize + ">ft</span>";
+       }
+}
+
+/**
+ * Method converts seconds to time.
+ * @method secondsToTime
+ * @for NavigationGoogle
+ * @param secs {Integer} Time value in seconds.
+ * @return {Object} Time in object with hours, minutes and second separated format.
+ */
+function secondsToTime(secs) {
+       "use strict";
+       var hours = Math.floor(secs / (60 * 60));
+
+       var divisorForMinutes = secs % (60 * 60);
+       var minutes = Math.floor(divisorForMinutes / 60);
+
+       var divisorForSeconds = divisorForMinutes % 60;
+       var seconds = Math.ceil(divisorForSeconds);
+
+       var obj = {
+                       "h" : hours,
+                       "m" : minutes,
+                       "s" : seconds
+               };
+       return obj;
+}
+
+/**
+ * Method provides leading 0 to time value.
+ * @method addLeading0ToTime
+ * @for NavigationGoogle
+ * @param time {Integer} Time value.
+ * @return time {String} Time with leading 0.
+ */
+function addLeading0ToTime(time) {
+       "use strict";
+       if (time < 10) {
+               return "0" + time;
+       } else {
+               return time;
+       }
+}
+
+/**
+ * Method formats time to HHMM format.
+ * @method formatTimeToHHMM
+ * @for NavigationGoogle
+ * @param seconds {Integer} Time value in seconds.
+ * @return formatedTime {String} Time in format HHMM.
+ */
+function formatTimeToHHMM(seconds) {
+       "use strict";
+       var hours = secondsToTime(seconds).h;
+       var minutes = secondsToTime(seconds).m;
+       var formatedTime;
+
+       if (hours > 0 || minutes > 0) {
+               formatedTime = addLeading0ToTime(hours) + ":" + addLeading0ToTime(minutes);
+       } else {
+               formatedTime = seconds + "<span class='fontSizeSmall'>s</span>";
+       }
+       return formatedTime;
+}
+
+/**
+ * Method adds seconds to current time.
+ * @method addSecondsToCurrentTime
+ * @for NavigationGoogle
+ * @param secs {Integer} Time value in seconds.
+ * @return result {String} Time in format HHMM.
+ */
+function addSecondsToCurrentTime(secs) {
+   "use strict";
+   var todayDate = new Date();
+   var hours = todayDate.getHours();
+   var minutes = todayDate.getMinutes();
+   var seconds = todayDate.getSeconds();
+   var newSec = parseInt(seconds, 10) + parseInt(secs, 10);
+   var newMin;
+   var mins;
+   var sec;
+   var min;
+   var newHrs;
+
+   if (newSec > 59) {
+      mins = parseInt(newSec / 60, 10);
+      sec = newSec - mins * 60;
+      newMin = parseInt(minutes, 10) + mins;
+
+      if (newMin > 59) {
+         var hrs = parseInt(newMin / 60, 10);
+         min = newMin - (hrs * 60);
+         newHrs = parseInt(hours, 10) + hrs;
+      } else {
+         newHrs = hours;
+         min = newMin;
+      }
+   } else {
+      newHrs = hours;
+      min = minutes;
+      sec = newSec;
+   }
+
+   var format = "AM";
+
+   if (newHrs > 11) {
+      format = "PM";
+   }
+   if (newHrs > 12) {
+      newHrs = newHrs - 12;
+   }
+   if (newHrs === 0) {
+      newHrs = 12;
+   }
+   if (min < 10) {
+      min = "0" + min;
+   }
+
+   return newHrs + ":" + min + format;
+}
+
+/**
+ * Method update the navigation panel.
+ * @method updateNavigationPanel
+ * @for NavigationGoogle
+ */
+function updateNavigationPanel() {
+       "use strict";
+       if (instructionChanged) {
+               var instruction = strip(instructions[instructionIndex].instruction);
+               console.log("Instruction changed to '" + instruction + "'.");
+               $("#navigationPanel").html(instruction);
+               /* global Speech*/
+               Speech.vocalizeString(instruction);
+               changeNavigationArrow(instruction);
+               instructionChanged = false;
+       }
+
+       if (useMetricSystem === true) {
+               remainingStepDistance = formatMeters(remainingStepDistance, 'fontSizeSmaller');
+       } else {
+               remainingStepDistance = convertMetersToFeetsMiles(remainingStepDistance, 'fontSizeSmaller');
+       }
+
+       $("#distanceTo").html(remainingStepDistance);
+       $("#destinationProgress").progressBarPlugin('setPosition', (remainingDistance / polDistance) * 100);
+
+       var remainingTime = Math.round(remainingDistance / averageSpeed); //time in seconds
+       remainingTime = formatTimeToHHMM(remainingTime);        //seconds to hh:mm
+
+       if (useMetricSystem === true) {
+               remainingDistance = formatMeters(remainingDistance, 'fontSizeSmall');
+       } else {
+               remainingDistance =  convertMetersToFeetsMiles(remainingDistance, 'fontSizeSmall');
+       }
+
+       $("#stillToGoTimeAndDistance").html(remainingTime + " / " + remainingDistance);
+}
+
+/**
+ * Method animates current position along the route.
+ * @method animate
+ * @for NavigationGoogle
+ * @param d {Integer}
+ */
+function animate(d) {
+       "use strict";
+       if (d + step > instructions[instructionIndex].distanceValue) {
+               if (instructionIndex < instructions.length - 1) {
+                       instructionChanged = true;
+                       instructionIndex++;
+               }
+       }
+
+       if (d > polDistance) {
+               instructionIndex = instructions.length - 1;
+               instructionChanged = false;
+
+               remainingDistance = 0;
+               remainingStepDistance = 0;
+               remainingTime = 0;
+
+               updateNavigationPanel();
+
+               map.panTo(polyline.getPath().getAt(polyline.getPath().length - 1));
+               marker.setPosition(polyline.getPath().getAt(polyline.getPath().length - 1));
+
+               var option = {draggable: true};
+               map.setOptions(option);
+               return;
+       }
+
+       remainingDistance = polDistance - d;
+       remainingStepDistance = instructions[instructionIndex].distanceValue - d;
+
+       updateNavigationPanel();
+
+       var p = polyline.GetPointAtDistance(d);
+       map.panTo(p);
+       marker.setPosition(p);
+       timerHandle = setTimeout("animate(" + (d + step) + ")", tick);
+}
+
+/**
+ * Method starts animation.
+ * @method startAnimation
+ * @for NavigationGoogle
+ * @constructor
+ */
+function startAnimation() {
+       "use strict";
+       var option = {
+                       draggable: false
+               };
+       map.setOptions(option);
+
+       marker = new google.maps.Marker();
+       marker.setMap(map);
+       marker.setPosition(polyline.getPath().getAt(0));
+       map.setCenter(polyline.getPath().getAt(0));
+       polDistance = polyline.Distance();
+
+       console.log(polyline.getPath());
+       console.log(polDistance);
+       console.log(instructions);
+
+       remainingDistance = polDistance;
+       remainingStepDistance = instructions[instructionIndex].distanceValue;
+       routeDuration = route.duration.value;
+       remainingTime = routeDuration;
+       averageSpeed = (route.distance.value / routeDuration);
+
+       /* jshint camelcase: false */
+       $("#destinationAddress").html(destination.formatted_address);
+       $("#destinationAddressTown").html(destination.address_components[2].short_name + ", " + destination.address_components[3].short_name);
+       /* jshint camelcase: true */
+
+       var averageSpeedText;
+
+       if (useMetricSystem === true) {
+               averageSpeedText = Math.round(averageSpeed * 3.6) + "<span class='fontSizeXXSmall'> km/h</span>" + ")";
+       } else {
+               averageSpeedText = Math.round(averageSpeed * 2.2369362920544) + "<span class='fontSizeXXSmall'> MPH</span>" + ")";
+       }
+
+       $("#arrivalText").html("ARRIVAL " + addSecondsToCurrentTime(routeDuration) + " (" + averageSpeedText);
+
+       updateNavigationPanel();
+       window.setTimeout(function(){
+               animate(0);
+               }, 2000); // Allow time for the initial map display
+}
+
+/**
+ * Method renders the route.
+ * @method renderRoute
+ * @for NavigationGoogle
+ * @param origin {Object} Origin position object.
+ * @param destination {Object} Destination position object.
+ */
+function renderRoute(origin, destination) {
+       "use strict";
+       if (directionsService === null) {
+               directionsService = new google.maps.DirectionsService();
+       }
+
+       if (directionRenderer === null) {
+               directionRenderer = new google.maps.DirectionsRenderer();
+       }
+
+       directionRenderer.setMap(map);
+
+       var request = {
+                       origin: origin,
+                       destination: destination,
+                       travelMode: google.maps.DirectionsTravelMode.DRIVING
+               };
+
+       directionsService.route(request, function (response, status) {
+               console.log(status);
+               console.log(response);
+               if (status === google.maps.DirectionsStatus.OK && response.routes.length) {
+                       if (response.routes && response.routes[0] && response.routes[0].legs && response.routes[0].legs[0]) {
+                               polyline = new google.maps.Polyline({
+                                       path : []
+                               });
+
+                               route = response.routes[0].legs[0];
+                               directionRenderer.setDirections(response);
+
+                               var steps = route.steps;
+                               var distanceStep = 0;
+                               var j;
+                               for (j = 0; j < steps.length; j++) {
+                                       var latLngs = steps[j].path;
+                                       distanceStep = distanceStep + (steps[j].distance.value || 0);
+
+                                       var instruction = {
+                                                       distance: (steps[j].distance || 0),
+                                                       distanceValue: distanceStep,
+                                                       instruction: (steps[j].instructions ? steps[j].instructions.trim() : "")
+                                               };
+
+                                       instructions.push(instruction);
+                                       var k;
+                                       for (k = 0; k < latLngs.length; k++) {
+                                               polyline.getPath().push(latLngs[k]);
+                                       }
+                               }
+                               startAnimation();
+                       }
+               } else {
+                       console.log('Route calculation failed: ' + status);
+               }
+       });
+}
+
+/**
+ * Starts the navigation.
+ * @method startNavigation
+ * @for NavigationGoogle
+ */
+function startNavigation(){
+       "use strict";
+       try {
+               if (geocoder == null) {
+                       geocoder = new google.maps.Geocoder();
+               }
+               geocoder.geocode({
+                       address: originAddress
+               }, function (results, status) {
+                       if (status === "OK" && results.length) {
+                               origin = results[0] || null;
+                               map.setCenter(origin.geometry.location);
+                               geocoder.geocode({
+                                       address: destinationAddress
+                               }, function (results, status) {
+                                       if (status === "OK" && results.length) {
+                                               destination = results[0] || null;
+
+                                               if (origin && destination) {
+                                                       renderRoute(origin.geometry.location, destination.geometry.location);
+                                               }
+                                       } else {
+                                               console.log("Destination not found. Unable to get the route.");
+                                       }
+                               });
+                       } else {
+                               console.log("Origin not found. Unable to get the route.");
+                       }
+               });
+       } catch (error) {
+               console.log(error.message);
+       }
+}
+var bootstrap;
+$(document).ready(function () {
+       "use strict";
+       /* global Bootstrap*/
+       bootstrap = new Bootstrap(function (status) {
+               $("#topBarIcons").topBarIconsPlugin('init', 'navigation');
+               $("#upNextRectangle").boxCaptionPlugin('init', 'up next');
+               $("#destinationProgress").progressBarPlugin('init', 'progressBar');
+               $("#destinationRectangle").boxCaptionPlugin('init', 'destination');
+               $("#stillToGoRectangle").boxCaptionPlugin('init', 'still to go');
+               $('#bottomPanel').bottomPanel('init');
+
+               var options = {
+                       backgroundColor: "transparent",
+                       mapTypeId: google.maps.MapTypeId.ROADMAP,
+                       mapTypeControl: false,
+                       streetViewControl: false,
+                       zoom: 18
+               };
+
+               map = new google.maps.Map(document.getElementById("map_div"), options);
+
+               startNavigation();
+
+               $("#placesLibrary").library("setSectionTitle", "PLACES LIBRARY");
+               $("#placesLibrary").library("init");
+               $("#placesLibrary").library("hideAlphabet");
+               $("#placesLibrary").library("setGridBtnDisabled", true);
+               $("#placesLibrary").library("setSearchBtnDisabled", true);
+
+               $("#placesButton").on("click", function() {
+                       $("#placesLibrary").library("showPage");
+               });
+
+               var tabMenuItems = [ {
+                       text : "DESTINATIONS",
+                       selected : true
+               } ];
+
+               var tabMenuModel = {
+                       Tabs : tabMenuItems
+               };
+
+               $("#placesLibrary").library("tabMenuTemplateCompile", tabMenuModel);
+               $("#placesLibrary").library("setContentDelegate", "templates/placesListDelegate.html");
+               $("#placesLibrary").library("contentTemplateCompile", places, "placesLibraryContentList");
+       });
+});
+
+/**
+ * Restarts the navigation with a new destination address taken into account.
+ * @method changeDestinationAddress
+ * @for NavigationGoogle
+ * @param newDestinationAddress {String} a new destination address
+ */
+function changeDestinationAddress(newDestinationAddress) {
+       "use strict";
+       $("#placesLibrary").library("hidePage");
+
+       destinationAddress = newDestinationAddress;
+
+       origin = null;
+       destination = null;
+       polyline = null;
+       route = null;
+
+       polDistance = 0;
+       remainingDistance = 0;
+       remainingStepDistance = 0;
+       remainingTime = 0;
+       routeDuration = 0;
+       averageSpeed = 0;
+
+       instructions = [];
+       instructionIndex = 0;
+       instructionChanged = true;
+
+       marker.setMap(null);
+       marker = null;
+
+       clearTimeout(timerHandle);
+    timerHandle = null;
+
+    directionRenderer.setMap(null);
+    directionRenderer = null;
+
+    startNavigation();
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/project/js/v3_epoly.js b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/js/v3_epoly.js
new file mode 100644 (file)
index 0000000..ca72e3b
--- /dev/null
@@ -0,0 +1,107 @@
+/*global google*/
+
+// The first support methods that don't (yet) exist in v3
+google.maps.LatLng.prototype.distanceFrom = function (newLatLng) {
+       "use strict";
+       var EarthRadiusMeters = 6378137.0; // meters
+       var lat1 = this.lat();
+       var lon1 = this.lng();
+       var lat2 = newLatLng.lat();
+       var lon2 = newLatLng.lng();
+       var dLat = (lat2 - lat1) * Math.PI / 180;
+       var dLon = (lon2 - lon1) * Math.PI / 180;
+       var a = Math.sin(dLat / 2) * Math.sin(dLat / 2) + Math.cos(lat1 * Math.PI / 180) * Math.cos(lat2 * Math.PI / 180) * Math.sin(dLon / 2) * Math.sin(dLon / 2);
+       var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));
+       var d = EarthRadiusMeters * c;
+       return d;
+};
+
+google.maps.LatLng.prototype.latRadians = function () {
+       "use strict";
+       return this.lat() * Math.PI / 180;
+};
+
+google.maps.LatLng.prototype.lngRadians = function () {
+       "use strict";
+       return this.lng() * Math.PI / 180;
+};
+
+/**
+ * Returns the length of a path in metres.
+ * @method Distance
+ */
+google.maps.Polygon.prototype.Distance = function () {
+       "use strict";
+       var dist = 0, i = 0;
+       for (i = 1; i < this.getPath().getLength(); i++) {
+               dist += this.getPath().getAt(i).distanceFrom(this.getPath().getAt(i - 1));
+       }
+       return dist;
+};
+
+/**
+ * Returns GLatLng of the point at the given distance along the path. Returns null if the path is shorter than the specified distance.
+ * @method GetPointAtDistance
+ * @param metres {Integer} distance in metres
+ */
+google.maps.Polygon.prototype.GetPointAtDistance = function (metres) {
+       "use strict";
+       // some awkward special cases
+       if (metres === 0) {
+               return this.getPath().getAt(0);
+       }
+       if (metres < 0) {
+               return null;
+       }
+       if (this.getPath().getLength() < 2) {
+               return null;
+       }
+
+       var dist = 0, olddist = 0, i = 0;
+
+       for (i = 1; (i < this.getPath().getLength() && dist < metres); i++) {
+               olddist = dist;
+               dist += this.getPath().getAt(i).distanceFrom(this.getPath().getAt(i - 1));
+       }
+       if (dist < metres) {
+               return null;
+       }
+       var p1 = this.getPath().getAt(i - 2);
+       var p2 = this.getPath().getAt(i - 1);
+       var m = (metres - olddist) / (dist - olddist);
+       return new google.maps.LatLng(p1.lat() + (p2.lat() - p1.lat()) * m, p1.lng() + (p2.lng() - p1.lng()) * m);
+};
+
+/**
+ * Returns the Vertex number at the given distance along the path. Returns null if the path is shorter than the specified distance.
+ * @method GetIndexAtDistance
+ * @param metres {Integer} distance in metres
+ */
+google.maps.Polygon.prototype.GetIndexAtDistance = function (metres) {
+       "use strict";
+       // some awkward special cases
+       if (metres === 0) {
+               return this.getPath().getAt(0);
+       }
+       if (metres < 0) {
+               return null;
+       }
+       var dist = 0, i = 0;
+       for (i = 1; (i < this.getPath().getLength() && dist < metres); i++) {
+               dist += this.getPath().getAt(i).distanceFrom(this.getPath().getAt(i - 1));
+       }
+       if (dist < metres) {
+               return null;
+       }
+       return i;
+};
+
+// Copy all the above functions to GPolyline
+google.maps.Polyline.prototype.Distance             = google.maps.Polygon.prototype.Distance;
+google.maps.Polyline.prototype.GetPointAtDistance   = google.maps.Polygon.prototype.GetPointAtDistance;
+google.maps.Polyline.prototype.GetIndexAtDistance   = google.maps.Polygon.prototype.GetIndexAtDistance;
+
+
+
+
+
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/project/manifest.json b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/manifest.json
new file mode 100644 (file)
index 0000000..2feedde
--- /dev/null
@@ -0,0 +1,12 @@
+{
+  "name": "Modello Navigation",
+  "version": "0.0.2",
+  "app": {
+    "launch":{
+      "local_path": "index.html"
+    }
+  },
+  "icons": {
+    "128": "Navigation_icon.png"
+  }
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/project/packaging/modello-nav.changes b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/packaging/modello-nav.changes
new file mode 100644 (file)
index 0000000..df0b845
--- /dev/null
@@ -0,0 +1,12 @@
+* Thu May 22 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.232701@8db0d1c
+- Fixes for IVI-3190 - To get things to render normally
+
+* Thu May 08 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.172712@ec61fb5
+- Adding Modello to the app name to easily identify it
+
+* Tue May 06 2014 brianjjones <brian.j.jones@intel.com> submit/tizen/20140404.163942@d276446
+- Updated to work with Crosswalk.  TIVI-3079
+
+* Thu Apr 03 2014 brianjjones <brian.j.jones@intel.com> 9a96c32
+- Initial checkin of the Modello Navigation app
+
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/project/packaging/modello-nav.spec b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/packaging/modello-nav.spec
new file mode 100644 (file)
index 0000000..d6c1529
--- /dev/null
@@ -0,0 +1,29 @@
+Name:       Modello_Nav
+Summary:    A proof of concept pure html5 UI
+Version:    0.0.2
+Release:    1
+Group:      Applications/System
+License:    Apache 2.0
+URL:        http://www.tizen.org
+Source0:    %{name}-%{version}.tar.bz2
+BuildRequires:  zip
+Requires:   Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_Nav.wgt
+/opt/usr/apps/_common/icons/Navigation_icon.png
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/project/templates/placesListDelegate.html b/samples/web/Sample/Tizen/Web App/Modello_Nav/project/templates/placesListDelegate.html
new file mode 100644 (file)
index 0000000..b0adc03
--- /dev/null
@@ -0,0 +1,5 @@
+<div class="placesElement borderColorTheme">
+       <div class="placesBox">
+               <div class="fontSizeLarge fontWeightBold fontColorNormal oneLineEllipsis" onClick="changeDestinationAddress('{{:destinationAddress}}');">{{:destinationAddress}}</div>
+       </div>
+</div>
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/tizen-app-template.xml b/samples/web/Sample/Tizen/Web App/Modello_Nav/tizen-app-template.xml
new file mode 100644 (file)
index 0000000..ffc155c
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<tizen-app-template xmlns="http://www.tizen.org/tizen-app-template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" template-version="" sdk-version="" icon32="tizen_32.png" icon64="tizen_64.png" xsi:schemaLocation="http://www.tizen.org/tizen-app-template tizen-app-template.xsd ">
+    <template-name>Modello_Nav</template-name>
+    <widget-type>TIZEN</widget-type>
+    <build-property key="usedLibraryType" value="Modello"/>
+    <description-file-name>description.xml</description-file-name>
+    <options>
+        <supportLibraries>
+        <library name="modello"/>
+        </supportLibraries>
+    </options>
+</tizen-app-template>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/tizen_32.png b/samples/web/Sample/Tizen/Web App/Modello_Nav/tizen_32.png
new file mode 100644 (file)
index 0000000..a37c33e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Nav/tizen_32.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Nav/tizen_64.png b/samples/web/Sample/Tizen/Web App/Modello_Nav/tizen_64.png
new file mode 100644 (file)
index 0000000..f80f2ec
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Nav/tizen_64.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/description.xml b/samples/web/Sample/Tizen/Web App/Modello_Phone/description.xml
new file mode 100644 (file)
index 0000000..2e87de7
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<?xml-stylesheet type="text/xsl" href="description.xsl"?>\r
+<Overview version="1.0">\r
+  <SampleName>Modello_Phone</SampleName>\r
+  <SampleVersion>1.0.0</SampleVersion>\r
+  <Preview>Modello_Phone-snapshot.png</Preview>\r
+  <Description>\r
+         Modello Phone\r
+  </Description>\r
+</Overview>\r
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/description.xsl b/samples/web/Sample/Tizen/Web App/Modello_Phone/description.xsl
new file mode 100644 (file)
index 0000000..1f4f57f
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+    This file provides a functionality to show template's description.xml in the project wizard.
+    Don't delete or move this file.
+ -->
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:template match="/">
+    <html>
+      <head>
+        <style type="text/css">
+          html,body {
+          font-family:Arial;
+          margin: 0px;
+          }
+          td
+          {
+          font-size:13px;
+          }
+          .samplename
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:26px;
+          background-color:#6d96ac;
+          }
+          .category
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:30px;
+          background-color:#6d96ac;
+          }
+          .contents
+          {
+          padding: 6px 10px 14px 10px;
+          }
+          table#widgets td
+          {
+          border: solid 1px #6d96ac;
+          border-collapse: collapse;
+          }
+          .widgetname
+          {
+          font-weight: bold;
+          text-align: center;
+          width: 20%;
+          word-break:break-all;
+          }
+          table#references td
+          {
+          width: 100%;
+          border: 0px;
+          border-spacing: 0px;
+          padding: 5px;
+          }
+          .refname
+          {
+          width: 100%;
+          font-weight: bold;
+          }
+        </style>
+      </head>
+      <body>
+        <table width="400px" border="0" cellspacing="0">
+          <tr>
+            <td class="samplename" align="center">
+              <xsl:value-of select="Overview/SampleName"/>
+              <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
+                         <!--
+              <xsl:value-of select="Overview/SampleVersion"/>
+                         -->
+            </td>
+          </tr>
+          <tr bgcolor="#FFFFFF">
+            <td class="contents">
+                         <strong>Type</strong>: JavaScript
+                         <p>
+              <xsl:value-of select="Overview/Description"/>
+                         </p>
+            </td>
+          </tr>
+          <tr>
+            <td align="center" bgcolor="#FFFFFF" height="260px">
+              <img>
+                <xsl:attribute name="src">
+                  <xsl:value-of select="Overview/Preview"/>
+                </xsl:attribute>
+              </img>
+            </td>
+          </tr>
+        </table>
+      </body>
+    </html>
+  </xsl:template>
+
+</xsl:stylesheet>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/Makefile b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/Makefile
new file mode 100644 (file)
index 0000000..f82f8ea
--- /dev/null
@@ -0,0 +1,20 @@
+PROJECT = Modello_Phone
+
+VERSION := 0.0.2
+PACKAGE = $(PROJECT)-$(VERSION)
+
+INSTALL_FILES = $(PROJECT).wgt
+INSTALL_DIR = ${DESTDIR}/opt/usr/apps/.preinstallWidgets
+
+wgtPkg:
+       zip -r $(PROJECT).wgt config.xml css data Phone_icon.png index.html js templates
+
+install:
+       @echo "Installing Phone, stand by..."
+       mkdir -p $(INSTALL_DIR)/
+       mkdir -p ${DESTDIR}/opt/usr/apps/_common/icons
+       cp $(PROJECT).wgt $(INSTALL_DIR)/
+       cp Phone_icon.png ${DESTDIR}/opt/usr/apps/_common/icons
+
+dist:
+       tar czf ../$(PACKAGE).tar.bz2 .
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/Phone_icon.png b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/Phone_icon.png
new file mode 100644 (file)
index 0000000..625a128
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/Phone_icon.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/config.xml b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/config.xml
new file mode 100644 (file)
index 0000000..1756ea0
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://com.intel.tizen/phone" version="0.5.0" viewmodes="fullscreen">
+    <tizen:application id="Modello009.Phone" package="Modello009" required_version="2.1"/>
+    <icon src="icon.png"/>
+    <content src="index.html"/>
+    <name>Modello Phone</name>
+    <tizen:privilege name="http://tizen.org/privilege/tizen"/>
+    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
+    <tizen:privilege name="http://tizen.org/privilege/contact.read"/>
+    <tizen:privilege name="http://tizen.org/privilege/contact.write"/>
+    <tizen:privilege name="http://tizen.org/privilege/content.read" />
+    <tizen:privilege name="http://tizen.org/privilege/speech" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap" />
+</widget>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/css/contacts_library.css b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/css/contacts_library.css
new file mode 100644 (file)
index 0000000..5cee618
--- /dev/null
@@ -0,0 +1,216 @@
+.contactsLibraryContentList .contactElement {
+       padding: 10px;
+       height: 70px;
+       box-shadow: none;
+       border-bottom-style: solid;
+       border-bottom-width: 2px;
+       overflow: hidden;
+       white-space: nowrap;
+       cursor: pointer;
+}
+
+.phoneIcon {
+       background-repeat: no-repeat;
+       background-position: center center;
+       width: 44px;
+       height: 44px;
+       display: inline-block;
+}
+
+.emailIcon {
+       background-repeat: no-repeat;
+       background-position: center center;
+       width: 44px;
+       height: 44px;
+       display: inline-block;
+}
+
+.addressIcon {
+       background-repeat: no-repeat;
+       background-position: center center;
+       width: 44px;
+       height: 44px;
+       display: inline-block;
+}
+
+.contactsLibraryContentList .phoneIcon {
+       padding-top: 23px;
+}
+
+.contactsLibraryContentList .contactPhotoBox {
+       width: 70px;
+       height: 70px;
+       display: inline-block;
+       margin-left: 22px;
+       background-position: center center;
+       background-repeat: no-repeat;
+       background-size: 100% 100%;
+}
+
+.contactsLibraryContentList .contactPhoto {
+       width: 100%;
+       height: 100%;
+}
+
+.contactsLibraryContentList .contactName {
+       display: inline-block;
+       vertical-align: top;
+       padding-left: 18px;
+       line-height: 70px;
+       background-color: transparent !important;
+       text-transform: uppercase;
+}
+
+.contactsLibraryContentGrid {
+       line-height: 0;
+}
+
+.contactsLibraryContentGrid .contactElement {
+       width: 180px;
+       height: 180px;
+       display: inline-block;
+       margin-right: 7px;
+       margin-bottom: 10px;
+       cursor: pointer;
+}
+
+.contactsLibraryContentGrid .phoneIcon {
+       display: none;
+}
+
+.contactsLibraryContentGrid .contactPhotoBox {
+       width: 100%;
+       height: 100%;
+       background-size: 100% 100%;
+}
+
+.contactsLibraryContentGrid .contactPhoto {
+       width: 100%;
+       height: 100%;
+}
+
+.contactsLibraryContentGrid .contactName {
+       position: relative;
+       padding-left: 10px;
+       padding-right: 10px;
+       padding-top: 10px;
+       top: -80px;
+       left: 0;
+       height: 70px;
+       overflow: hidden;
+       text-transform: uppercase;
+}
+
+.contactDetail {
+       margin-top: 48px;
+}
+
+.contactDetailBox1 {
+       margin-left: 45px;
+       width: 120px;
+       display: inline-block;
+       vertical-align: top;
+}
+
+.contactDetailPhotoBox {
+       width: 120px;
+       height: 120px;
+       display: block;
+       background-position: center center;
+       background-repeat: no-repeat;
+       background-size: 100% 100%;
+}
+
+.contactDetailPhoto {
+       width: 100%;
+       height: 100%;
+}
+
+.contactDetailFavorite {
+       width: 48px;
+       height: 48px;
+       margin: 30px auto 0 auto;
+       background-position: center center;
+       background-repeat: no-repeat;
+       background-size: 100% 100%;
+}
+
+.contactDetailBox2 {
+       display: inline-block;
+       vertical-align: top;
+       margin-left: 53px;
+       width: 385px;
+}
+
+.contactDetailBox3 {
+       margin-bottom: 30px;
+}
+
+
+.contactDetailBox4 {
+       margin-left: 15px;
+       vertical-align: top;
+       display: inline-block;
+       width: 320px;
+}
+
+.missedCallIcon {
+       background-repeat: no-repeat;
+       background-position: center center;
+       width: 42px;
+       height: 36px;
+       display: inline-block;
+}
+
+.missedNewCallIcon {
+       background-repeat: no-repeat;
+       background-position: center center;
+       width: 42px;
+       height: 36px;
+       display: inline-block;
+}
+
+.receivedCallIcon {
+       background-repeat: no-repeat;
+       background-position: center center;
+       width: 42px;
+       height: 36px;
+       display: inline-block;
+}
+
+.dialedCallIcon {
+       background-repeat: no-repeat;
+       background-position: center center;
+       width: 42px;
+       height: 36px;
+       display: inline-block;
+}
+
+.callHistoryBox {
+       margin-top: 20px;
+       border-top-style: solid;
+       border-top-width: 2px;
+}
+
+.callHistoryElement {
+       padding: 18px 0 18px 0;
+       box-shadow: none;
+       border-bottom-style: solid;
+       border-bottom-width: 2px;
+       overflow: hidden;
+       white-space: nowrap;
+}
+
+.callHistoryIcon {
+       padding-top: 8px;
+       margin-left: 20px;
+}
+.callHistoryIconGen {
+       top: -10px;
+       background-size: 70%;
+}
+
+.callHistoryDetails {
+       display: inline-block;
+       vertical-align: top;
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/css/images/null.png b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/css/images/null.png
new file mode 100644 (file)
index 0000000..95007b9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/css/images/null.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/css/phone_style.css b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/css/phone_style.css
new file mode 100644 (file)
index 0000000..fe5cf59
--- /dev/null
@@ -0,0 +1,277 @@
+.phoneBody {
+       width: 720px;
+       margin: 0;
+       min-height: 1280px;
+       height: auto !important;
+       height: 100%;
+       background-position: center top;
+       background-repeat: no-repeat;
+       background-size: 100% 100%;
+}
+
+.inputPhoneNumberBox {
+       padding-top: 195px;
+       padding-left: 190px;
+}
+
+.inputPhoneNumber {
+       width: 215px;
+       height: 75px;
+       line-height: 75px;
+       padding-right: 90px;
+       padding-left: 30px;
+       border: none;
+       background-color: rgb(0, 0, 0);
+       background-color: rgba(0, 0, 0, 0.2);
+}
+
+.inputPhoneNumber:focus {
+       outline: none;
+}
+
+.inputPhoneNumberBox .deleteButton {
+       display: inline-block;
+       vertical-align: top;
+       margin: 18px 0 0 -73px;
+       padding: 0;
+       width: 55px;
+       height: 36px;
+       background-position: center center;
+       background-repeat: no-repeat;
+       cursor: pointer;
+}
+.noPairedDevice{
+       top:130px;
+       left: 200px;
+       margin-top: 20px;
+       width:100%;
+       height:100%;
+}
+.loadingSpinnerHistory {
+       top:130px;
+       width:100%;
+       height:100%;
+}
+.numbersBox {
+       margin-top: 7px;
+       display: inline-block;
+       width: 430px;
+       font-size: 0;
+       margin-bottom: 44px;
+}
+
+.numberButton {
+       float: left;
+       padding: 0;
+       padding-top: 20px;
+       width: 105px;
+       height: 80px;
+       margin-right: 10px;
+       margin-bottom: 10px;
+       background-color: rgb(0, 0, 0);
+       background-color: rgba(0, 0, 0, 0.2);
+       text-transform: uppercase;
+}
+
+.numberButtonLetters {
+       margin-top: -3px;
+}
+
+.specialChar {
+       padding-top: 30px;
+       height: 70px;
+}
+
+.contactsCarousel {
+       margin: 0;
+       padding: 0;
+       list-style: none;
+       display: block;
+}
+
+.contactsCarousel li {
+       display: block;
+       float: left;
+}
+
+.carouselBox {
+       width: 240px;
+       height: 315px;
+       margin: 0 15px 20px 0;
+       white-space: normal;
+       background-color: rgb(0, 0, 0);
+       background-color: rgba(0, 0, 0, 0.2);
+       box-shadow: 0 2px 30px rgba(0, 0, 0, .7);
+       border-width: 1px;
+       border-style: solid;
+       text-transform: uppercase;
+}
+
+.carouselEdgeBox {
+       width: 240px;
+       height: 315px;
+       margin: 0 15px 20px 0;
+       white-space: normal;
+       visibility: hidden;
+}
+
+.carouselPhotoArea {
+       margin: 5px;
+       text-align: center;
+       border-style: solid;
+       border-width: 0;
+       border-bottom-width: 2px;
+}
+
+.carouselPhotoBox {
+       margin: 32px auto 28px auto;
+       width: 120px;
+       height: 120px;
+       background-position: center center;
+       background-repeat: no-repeat;
+       background-size: 100% 100%;
+}
+
+.carouselPhoto {
+       width: 100%;
+       height: 100%;
+}
+
+.carouselInfoBox {
+       width: 205px;
+       text-align: left;
+       white-space: nowrap;
+       overflow: hidden;
+       margin: 0 auto;
+}
+
+.carouselCallContact {
+       margin-top: 15px;
+       margin-bottom: -5px;
+}
+
+.carouselName {
+       margin-top: 5px;
+       margin-bottom: 10px;
+}
+
+.carouselNumber {
+       background-repeat: no-repeat;
+       background-position: left center;
+       width: 160px;
+       padding-left: 45px;
+       line-height: 38px;
+       cursor: pointer;
+}
+
+.callBox {
+       position: absolute;
+       margin: 0;
+       margin-left: 61px;
+       top: 770px;
+       width: 720px;
+       height: 160px;
+       z-index: 100;
+       -webkit-transition-timing-function: linear;
+       -webkit-transition: left 1s;
+       -moz-transition-timing-function: linear;
+       -moz-transition: left 1s;
+       -ms-transition-timing-function: linear;
+       -ms-transition: left 1s;
+       -o-transition-timing-function: linear;
+       -o-transition: left 1s
+}
+
+.callBoxShow {
+       left: 0;
+}
+
+.callBoxHidden {
+       left: 720px;
+}
+
+.callInfoBox {
+       width: 300px;
+       vertical-align: top;
+       white-space: nowrap;
+       overflow: hidden;
+       display: inline-block;
+}
+
+.callPhotoBox {
+       width: 120px;
+       height: 120px;
+       display: inline-block;
+       background-position: center center;
+       background-repeat: no-repeat;
+       background-size: 100% 100%;
+}
+
+.callPhoto {
+       width: 100%;
+       height: 100%;
+}
+
+.callDuration {
+       margin-left: 60px;
+       display: inline-block;
+       vertical-align: top;
+       padding-top: 46px;
+}
+
+.inCallWith {
+       margin-top: 11px;
+}
+
+.callName {
+       margin-top: 5px;
+       text-transform: uppercase;
+}
+
+.callControlsBox {
+       width: 328px;
+       display: inline-block;
+       vertical-align: top;
+       margin-top: 5px;
+       margin-left: 13px;
+       font-size: 0;
+}
+
+.controlButton {
+       display: inline-block;
+       padding: 70px 0 13px 0;
+       width: 140px;
+       margin-right: 6px;
+       margin-bottom: 8px;
+       background-repeat: no-repeat;
+       background-position: center 15px;
+       box-shadow: 10px 10px 100px rgba(0, 0, 0, .7);
+}
+
+#callVolumeControl {
+       margin-left: 0;
+       margin-top: 25px;
+       width: 600px;
+       height: 55px;
+       top: 20px;
+}
+
+.contactsCarouselBox {
+       width: 765px;
+       position: absolute;
+       top: 770px;
+       left: -16px;
+       padding: 0;
+       margin: 0;
+       display: block;
+       transition: left 1s;
+       -webkit-transition: left 1s;
+}
+
+.contactsCarouselBoxShow {
+       left: -16px;
+}
+
+.contactsCarouselBoxHide {
+       left: -765px;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/data/contacts.json b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/data/contacts.json
new file mode 100644 (file)
index 0000000..5859fdf
--- /dev/null
@@ -0,0 +1,202 @@
+{
+    "contacts": [{
+        "id": "F926BBEC-9FE7-4360-831B-814A03DAC655",
+        "lastUpdated": "2012-10-05T12:05:57.386Z",
+        "name": {
+            "prefix": "",
+            "firstName": "Erick",
+            "middleName": "",
+            "lastName": "Briar",
+            "nicknames": ["ebi"],
+            "phoneticName": "",
+            "displayName": null
+        },
+        "account": null,
+        "addresses": [],
+        "photoURI": "",
+        "phoneNumbers": [{
+            "number": "+123 422 789",
+            "types": []
+        }],
+        "emails": [{
+            "email": "erick@hgost.com",
+            "types": []
+        }],
+        "birthday": null,
+        "anniversaries": null,
+        "organization": null,
+        "notes": [],
+        "urls": [],
+        "isFavorite": true,
+        "ringtoneURI": null,
+        "categories": []
+    },
+    {
+        "id": "F926BBEC-9FE7-4360-831B-814A03DAC632",
+        "lastUpdated": "2012-10-05T12:05:57.386Z",
+        "name": {
+            "prefix": "",
+            "firstName": "Gilbert",
+            "middleName": "",
+            "lastName": "Ted",
+            "nicknames": ["gil"],
+            "phoneticName": "",
+            "displayName": null
+        },
+        "account": null,
+        "addresses": [],
+        "photoURI": "",
+        "phoneNumbers": [{
+            "number": "6548 523 574",
+            "types": []
+        }],
+        "emails": [{
+            "email": "ted@qqaa.com",
+            "types": []
+        }],
+        "birthday": null,
+        "anniversaries": null,
+        "organization": null,
+        "notes": [],
+        "urls": [],
+        "isFavorite": false,
+        "ringtoneURI": null,
+        "categories": []
+    },
+    {
+        "id": "F926BBEC-9FE7-4360-831B-814A03DAC631",
+        "lastUpdated": "2012-10-05T12:05:57.386Z",
+        "name": {
+            "prefix": "",
+            "firstName": "Ivor",
+            "middleName": "",
+            "lastName": "Kodey",
+            "nicknames": ["ivo"],
+            "phoneticName": "",
+            "displayName": null
+        },
+        "account": null,
+        "addresses": [],
+        "photoURI": "",
+        "phoneNumbers": [{
+            "number": "1234 555 666",
+            "types": []
+        }],
+        "emails": [{
+            "email": "ivor@srbhufc.net",
+            "types": []
+        }],
+        "birthday": null,
+        "anniversaries": null,
+        "organization": null,
+        "notes": [],
+        "urls": [],
+        "isFavorite": false,
+        "ringtoneURI": null,
+        "categories": []
+    },
+    {
+        "id": "A27F67A5-8879-49D4-9312-31510F018405",
+        "lastUpdated": "2012-10-05T09:03:27.781Z",
+        "name": {
+            "prefix": "",
+            "firstName": "Jonty",
+            "middleName": "",
+            "lastName": "Dana",
+            "nicknames": ["jodan"],
+            "phoneticName": "",
+            "displayName": null
+        },
+        "account": null,
+        "addresses": [],
+        "photoURI": "",
+        "phoneNumbers": [{
+            "number": "9659 421 777",
+            "types": []
+        }],
+        "emails": [{
+            "email": "jodan@lamxyx.org",
+            "types": []
+        }],
+        "birthday": null,
+        "anniversaries": null,
+        "organization": null,
+        "notes": [],
+        "urls": [],
+        "isFavorite": false,
+        "ringtoneURI": null,
+        "categories": []
+    },
+    {
+        "id": "F57AA60B-011D-4210-9450-08E6BEDEAE8B",
+        "lastUpdated": "2012-10-05T13:23:26.862Z",
+        "name": {
+            "prefix": "",
+            "firstName": "Brad",
+            "middleName": "",
+            "lastName": "Rob",
+            "nicknames": ["brob"],
+            "phoneticName": "",
+            "displayName": null
+        },
+        "account": null,
+        "addresses": [{
+            "country": "Kasabanan",
+            "region": "",
+            "city": "",
+            "streetAddress": "Crane 12",
+            "additionalInformation": "",
+            "postalCode": "478152",
+            "types": []
+        }],
+        "photoURI": "",
+        "phoneNumbers": [{
+            "number": "3456 124 231",
+            "types": []
+        }],
+        "emails": [{
+            "email": "rob@klatog.tr",
+            "types": []
+        }],
+        "birthday": null,
+        "anniversaries": null,
+        "organization": null,
+        "notes": [],
+        "urls": [],
+        "isFavorite": true,
+        "ringtoneURI": null,
+        "categories": []
+    },
+    {
+        "id": "6C8394CE-9CA5-4FB3-A97C-4D93BEFC5559",
+        "lastUpdated": "2012-10-05T12:05:46.783Z",
+        "name": {
+            "prefix": "",
+            "firstName": "Derick",
+            "middleName": "",
+            "lastName": "Jojo",
+            "nicknames": ["dejo"],
+            "phoneticName": "",
+            "displayName": null
+        },
+        "account": null,
+        "addresses": [],
+        "photoURI": "",
+        "phoneNumbers": [{
+            "number": "0123 456 865",
+            "types": []
+        }],
+        "emails": [{
+            "email": "dejo@waxxos.py",
+            "types": []
+        }],
+        "birthday": null,
+        "anniversaries": null,
+        "organization": null,
+        "notes": [],
+        "urls": [],
+        "isFavorite": false,
+        "ringtoneURI": null,
+        "categories": []
+    }]
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/data/history.json b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/data/history.json
new file mode 100644 (file)
index 0000000..690d613
--- /dev/null
@@ -0,0 +1,313 @@
+{
+       "history": [{
+               "serviceId": 1350052304188,
+               "callType": "tizen.tel",
+               "tags": ["call.voice",
+               "call.video"],
+               "callParticipants": [{
+                       "id": "F57AA60B-011D-4210-9450-08E6BEDEAE8B",
+                       "displayName": "Brad Rob",
+                       "contactRef": null
+               }],
+               "forwardedFrom": {
+
+               },
+               "startTime": "2012-10-12T14:31:44.188Z",
+               "duration": 0,
+               "endReason": "local",
+               "direction": "missed-new",
+               "recording": [],
+               "cost": 0,
+               "currency": null
+       },
+       {
+               "serviceId": 1350052299533,
+               "callType": "tizen.tel",
+               "tags": ["call.voice",
+               "call.video"],
+               "callParticipants": [{
+                       "displayName": "Brad Rob",
+                       "contactRef": null
+               }],
+               "forwardedFrom": {
+
+               },
+               "startTime": "2012-10-12T14:31:39.533Z",
+               "duration": 0,
+               "endReason": "rejected",
+               "direction": "dialed",
+               "recording": [],
+               "cost": 0,
+               "currency": null
+       },
+       {
+               "serviceId": 1349787460224,
+               "callType": "tizen.tel",
+               "tags": ["call.voice",
+               "call.video"],
+               "callParticipants": [{
+                       "id": "F57AA60B-011D-4210-9450-08E6BEDEAE8B",
+                       "displayName": "Brad Rob",
+                       "contactRef": null
+               }],
+               "forwardedFrom": {
+
+               },
+               "startTime": "2012-10-09T12:57:40.225Z",
+               "duration": 0,
+               "endReason": "remote",
+               "direction": "missed-new",
+               "recording": [],
+               "cost": 0,
+               "currency": null
+       },
+       {
+               "serviceId": 1349787449337,
+               "callType": "tizen.tel",
+               "tags": ["call.voice",
+               "call.video"],
+               "callParticipants": [{
+                       "id": "F57AA60B-011D-4210-9450-08E6BEDEAE8B",
+                       "displayName": "Brad Rob",
+                       "contactRef": null
+               }],
+               "forwardedFrom": {
+
+               },
+               "startTime": "2012-10-09T12:57:29.337Z",
+               "duration": 0,
+               "endReason": "local",
+               "direction": "dialed",
+               "recording": [],
+               "cost": 0,
+               "currency": null
+       },
+       {
+               "serviceId": 1349787440709,
+               "callType": "tizen.tel",
+               "tags": ["call.voice",
+               "call.video"],
+               "callParticipants": [{
+                       "id": "A27F67A5-8879-49D4-9312-31510F018405",
+                       "displayName": "Jonty Dana",
+                       "contactRef": null
+               }],
+               "forwardedFrom": {
+
+               },
+               "startTime": "2012-10-09T12:57:20.709Z",
+               "duration": 0,
+               "endReason": "local",
+               "direction": "dialed",
+               "recording": [],
+               "cost": 0,
+               "currency": null
+       },
+       {
+               "serviceId": 1349787435870,
+               "callType": "tizen.tel",
+               "tags": ["call.voice",
+               "call.video"],
+               "callParticipants": [{
+                       "id": "F926BBEC-9FE7-4360-831B-814A03DAC631",
+                       "displayName": "Ivor Kodey",
+                       "contactRef": null
+               }],
+               "forwardedFrom": {
+
+               },
+               "startTime": "2012-10-09T12:57:15.870Z",
+               "duration": 0,
+               "endReason": "local",
+               "direction": "dialed",
+               "recording": [],
+               "cost": 0,
+               "currency": null
+       },
+       {
+               "serviceId": 1349778842662,
+               "callType": "tizen.tel",
+               "tags": ["call.voice",
+               "call.video"],
+               "callParticipants": [{
+                       "displayName": "Ivor Kodey",
+                       "contactRef": null
+               }],
+               "forwardedFrom": {
+
+               },
+               "startTime": "2012-10-09T10:34:02.662Z",
+               "duration": 3849,
+               "endReason": "local",
+               "direction": "dialed",
+               "recording": [],
+               "cost": 0,
+               "currency": null
+       },
+       {
+               "serviceId": 1349771235969,
+               "callType": "tizen.tel",
+               "tags": ["call.voice",
+               "call.video"],
+               "callParticipants": [{
+                       "displayName": "Albert Test",
+                       "contactRef": null
+               }],
+               "forwardedFrom": {
+
+               },
+               "startTime": "2012-10-09T08:27:15.969Z",
+               "duration": 0,
+               "endReason": "local",
+               "direction": "dialed",
+               "recording": [],
+               "cost": 0,
+               "currency": null
+       },
+       {
+               "serviceId": 1349449039585,
+               "callType": "tizen.tel",
+               "tags": ["call.voice",
+               "call.video"],
+               "callParticipants": [{
+                       "id": "F57AA60B-011D-4210-9450-08E6BEDEAE8B",
+                       "displayName": "Brad Rob",
+                       "contactRef": null
+               }],
+               "forwardedFrom": {
+
+               },
+               "startTime": "2012-10-05T14:57:19.585Z",
+               "duration": 3007,
+               "endReason": "remote",
+               "direction": "received",
+               "recording": [],
+               "cost": 0,
+               "currency": null
+       },
+       {
+               "serviceId": 1349449026162,
+               "callType": "tizen.tel",
+               "tags": ["call.voice",
+               "call.video"],
+               "callParticipants": [{
+                       "id": "F57AA60B-011D-4210-9450-08E6BEDEAE8B",
+                       "displayName": "Brad Rob",
+                       "contactRef": null
+               }],
+               "forwardedFrom": {
+
+               },
+               "startTime": "2012-10-05T14:57:06.162Z",
+               "duration": 3879,
+               "endReason": "local",
+               "direction": "dialed",
+               "recording": [],
+               "cost": 0,
+               "currency": null
+       },
+       {
+               "serviceId": 1349449011962,
+               "callType": "tizen.tel",
+               "tags": ["call.voice",
+               "call.video"],
+               "callParticipants": [{
+                       "id": "F926BBEC-9FE7-4360-831B-814A03DAC631",
+                       "displayName": "Ivor Kodey",
+                       "contactRef": null
+               }],
+               "forwardedFrom": {
+
+               },
+               "startTime": "2012-10-05T14:56:51.962Z",
+               "duration": 2992,
+               "endReason": "local",
+               "direction": "dialed",
+               "recording": [],
+               "cost": 0,
+               "currency": null
+       },
+       {
+               "serviceId": 1349448097026,
+               "callType": "tizen.tel",
+               "tags": ["call.voice",
+               "call.video"],
+               "callParticipants": [{
+                       "id": "F926BBEC-9FE7-4360-831B-814A03DAC631",
+                       "displayName": "Ivor Kodey",
+                       "contactRef": null
+               }],
+               "forwardedFrom": {
+
+               },
+               "startTime": "2012-10-05T14:41:37.026Z",
+               "duration": 2792,
+               "endReason": "remote",
+               "direction": "received",
+               "recording": [],
+               "cost": 0,
+               "currency": null
+       },
+       {
+               "serviceId": 1350052304188,
+               "callType": "tizen.tel",
+               "tags": ["call.voice",
+               "call.video"],
+               "callParticipants": [{
+                       "id": "F57AA60B-011D-4210-9450-08E6BEDEAE8B",
+                       "displayName": "Brad Rob",
+                       "contactRef": null
+               }],
+               "forwardedFrom": {
+
+               },
+               "startTime": "2012-10-12T14:31:44.188Z",
+               "duration": 0,
+               "endReason": "local",
+               "direction": "missed-new",
+               "recording": [],
+               "cost": 0,
+               "currency": null
+       },
+       {
+               "serviceId": 1350052299533,
+               "callType": "tizen.tel",
+               "tags": ["call.voice",
+               "call.video"],
+               "callParticipants": [{
+                       "displayName": "Brad Rob",
+                       "contactRef": null
+               }],
+               "forwardedFrom": {
+
+               },
+               "startTime": "2012-10-12T14:31:39.533Z",
+               "duration": 0,
+               "endReason": "rejected",
+               "direction": "dialed",
+               "recording": [],
+               "cost": 0,
+               "currency": null
+       },
+       {
+               "serviceId": 1349787460224,
+               "callType": "tizen.tel",
+               "tags": ["call.voice",
+               "call.video"],
+               "callParticipants": [{
+                       "id": "F57AA60B-011D-4210-9450-08E6BEDEAE8B",
+                       "displayName": "Brad Rob",
+                       "contactRef": null
+               }],
+               "forwardedFrom": {
+
+               },
+               "startTime": "2012-10-09T12:57:40.225Z",
+               "duration": 0,
+               "endReason": "remote",
+               "direction": "missed-new",
+               "recording": [],
+               "cost": 0,
+               "currency": null
+       }]
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/data/photos/nophoto.png b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/data/photos/nophoto.png
new file mode 100644 (file)
index 0000000..d6597d3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/data/photos/nophoto.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/index.html b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/index.html
new file mode 100644 (file)
index 0000000..6e8b606
--- /dev/null
@@ -0,0 +1,182 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+<meta charset="utf-8" />
+<meta name="viewport" content="width=720, height=1280, user-scalable=no" />
+<meta name="description" content="Phone application" />
+<title>Phone application</title>
+
+<!--  jquery and plugins  -->
+<script type="text/javascript" src="./css/car/components/jQuery/jquery-1.8.2.js"></script>
+<script type="text/javascript" src="./css/car/components/knockout/knockout.js"></script>
+<script type="text/javascript" src="./css/car/components/jsViews/jsrender.js"></script>
+<script type="text/javascript" src="./css/car/components/jsViews/template.js"></script>
+<script type="text/javascript" src="./css/car/components/carousel/jquery.carouFredSel-6.2.1-packed.js"></script>
+<script type="text/javascript" src="./css/car/components/carousel/jquery.touchSwipe.min.js"></script>
+<script type="text/javascript" src="./css/car/components/dateTime/moment.min.js"></script>
+
+<!-- user and car theme, theme engine, ...  -->
+<link rel="stylesheet" href="./css/car/car.css" />
+<link rel="stylesheet" href="./css/car/components/incomingCall/incomingCall.css" />
+
+
+<link rel="stylesheet" href="./css/car/car.css" />
+<script type="text/javascript" src='./css/car/car.js'></script>
+<script type='text/javascript' src='./js/services/bootstrap.js'></script>
+
+<script type='text/javascript' src='./css/car/components/dateTime/dateTime.js'></script>
+<link rel="stylesheet" href="./css/car/components/dateTime/dateTime.css" />
+<script type='text/javascript' src='./css/car/components/boxCaption/boxCaption.js'></script>
+<link rel="stylesheet" href="./css/car/components/boxCaption/boxCaption.css" />
+<script type="text/javascript" src='./css/car/components/alphabetBookmark/alphabetBookmark.js'></script>
+<link rel="stylesheet" href="./css/car/components/alphabetBookmark/alphabetBookmark.css" />
+<script type="text/javascript" src='./css/car/components/library/library.js'></script>
+<link rel="stylesheet" href="./css/car/components/library/library.css" />
+<script type='text/javascript' src='./css/car/components/topBarIcons/topBarIcons.js'></script>
+<link rel="stylesheet" href="./css/car/components/topBarIcons/topBarIcons.css" />
+<script type="text/javascript" src="./css/car/components/bottomPanel/bottomPanel.js"></script>
+<script type='text/javascript' src='./css/car/components/progressBar/progressBar.js'></script>
+<link rel="stylesheet" href="./css/car/components/progressBar/progressBar.css" />
+<link rel="stylesheet" href="./css/car/components/progressBar/volumeSlider.css" />
+
+<script type="text/javascript" src="./js/main.js"></script>
+<script type="text/javascript" src="./js/callhistorycarousel.js"></script>
+<script type="text/javascript" src="./js/phone.js"></script>
+<script type="text/javascript" src="./js/contacts_library.js"></script>
+<script type="text/javascript" src="./css/car/components/jQuery/jquery.nouisliderix.js"></script>
+
+<link rel="stylesheet" type="text/css" href="./css/phone_style.css" />
+<link rel="stylesheet" type="text/css" href="./css/contacts_library.css" />
+
+</head>
+
+<body class="phoneBody">
+       <div id="contactsLibraryButton"
+               class="button libraryButton fontSizeSmaller fontWeightBold fontColorNormal">A-Z</div>
+       <div id="clockElement"></div>
+
+       <div class="inputPhoneNumberBox">
+               <input id="inputPhoneNumber"
+                       class="inputPhoneNumber fontSizeLarge fontSizeBold fontColorTheme boxShadow4 boxShadow4Active"
+                       type="text" />
+               <div id="deleteButton" class="button deleteButton"></div>
+       </div>
+
+       <div id="callButton"
+               class="button callButton callingFalse boxShadow4Active"></div>
+
+       <div class="numbersBox">
+               <div id="numberButton" data-id="1"
+                       class="button numberButton fontSizeXLarge fontWeightBold fontColorNormal boxShadow4 boxShadow4Active">1</div>
+               <div id="numberButton" data-id="2"
+                       class="button numberButton fontSizeXLarge fontWeightBold fontColorNormal boxShadow4 boxShadow4Active">
+                       2
+                       <div
+                               class="numberButtonLetters fontSizeSmall fontWeightBold fontColorTheme">ABC</div>
+               </div>
+               <div id="numberButton" data-id="3"
+                       class="button numberButton fontSizeXLarge fontWeightBold fontColorNormal boxShadow4 boxShadow4Active">
+                       3
+                       <div
+                               class="numberButtonLetters fontSizeSmall fontWeightBold fontColorTheme">DEF</div>
+               </div>
+               <div id="numberButton" data-id="4"
+                       class="button numberButton fontSizeXLarge fontWeightBold fontColorNormal boxShadow4 boxShadow4Active">
+                       4
+                       <div
+                               class="numberButtonLetters fontSizeSmall fontWeightBold fontColorTheme">GHI</div>
+               </div>
+               <div id="numberButton" data-id="5"
+                       class="button numberButton fontSizeXLarge fontWeightBold fontColorNormal boxShadow4 boxShadow4Active">
+                       5
+                       <div
+                               class="numberButtonLetters fontSizeSmall fontWeightBold fontColorTheme">JKL</div>
+               </div>
+               <div id="numberButton" data-id="6"
+                       class="button numberButton fontSizeXLarge fontWeightBold fontColorNormal boxShadow4 boxShadow4Active">
+                       6
+                       <div
+                               class="numberButtonLetters fontSizeSmall fontWeightBold fontColorTheme">MNO</div>
+               </div>
+               <div id="numberButton" data-id="7"
+                       class="button numberButton fontSizeXLarge fontWeightBold fontColorNormal boxShadow4 boxShadow4Active">
+                       7
+                       <div
+                               class="numberButtonLetters fontSizeSmall fontWeightBold fontColorTheme">PQRS</div>
+               </div>
+               <div id="numberButton" data-id="8"
+                       class="button numberButton fontSizeXLarge fontWeightBold fontColorNormal boxShadow4 boxShadow4Active">
+                       8
+                       <div
+                               class="numberButtonLetters fontSizeSmall fontWeightBold fontColorTheme">TUV</div>
+               </div>
+               <div id="numberButton" data-id="9"
+                       class="button numberButton fontSizeXLarge fontWeightBold fontColorNormal boxShadow4 boxShadow4Active">
+                       9
+                       <div
+                               class="numberButtonLetters fontSizeSmall fontWeightBold fontColorTheme">WXYZ</div>
+               </div>
+               <div id="numberButton" data-id="*"
+                       class="button numberButton fontSizeXLarge fontWeightBold fontColorTheme boxShadow4 boxShadow4Active specialChar">*</div>
+               <div id="numberButton" data-id="0"
+                       class="button numberButton fontSizeXLarge fontWeightBold fontColorNormal boxShadow4 boxShadow4Active">
+                       0
+                       <div
+                               class="numberButtonLetters fontSizeSmall fontWeightBold fontColorTheme">+</div>
+               </div>
+               <div id="numberButton" data-id="#"
+                       class="button numberButton fontSizeXLarge fontWeightBold fontColorTheme boxShadow4 boxShadow4Active specialChar">#</div>
+       </div>
+
+       <div id="contactsCarouselBox" class= "contactsCarouselBox">
+               <div id="loadingHistorySpinnerWrapper" class="loadingSpinnerHistory" style="display: none; ">
+                       <div id="loadingSpinner" class="loadingSpinner ">
+                               <div id="loadingSpinnerContent" class="loading-container">
+                               <div id="loadingSpinnerImg" class="loading"></div>
+                                       <div id="loadingHistorySpinnerText" class="loading-text fontSizeXXSmall fontWeightBold fontColorNormal">DOWNLOADING HISTORY</div>
+                               </div>
+               </div>
+               </div>
+               <div id = "noPairedDevice" class = "noPairedDevice fontSizeXLarge fontWeightBold fontColorNormal" style="display: none; ">NO BT DEVICE SELECTED</div>
+               <ul id="contactsCarousel" class="contactsCarousel"></ul>
+       </div>
+
+       <div id="callBox" class="callBox callBoxHidden">
+               <div class="callInfoBox">
+                       <div class="callPhotoBox noContactPhoto">
+                               <img id="callPhoto" class="callPhoto" />
+                       </div>
+                       <div id="callDuration"
+                               class="callDuration fontSizeLarge fontWeightBold fontColorNormal">00:00</div>
+                       <div id="inCallWith" class="inCallWith"></div>
+                       <div id="callName"
+                               class="callName fontSizeXLarge fontWeightBold fontColorNormal"></div>
+                       <div id="callNumber"
+                               class="callNumber fontSizeSmall fontWeightBold fontColorTheme"></div>
+               </div>
+               <div class="callControlsBox">
+                       <div
+                               class="button controlButton fontSizeSmaller fontColorNormal fontWeightBold bgColorDark boxShadow4Active speakerButton">SPEAKER</div>
+                       <div
+                               class="button controlButton fontSizeSmaller fontColorNormal fontWeightBold bgColorDark boxShadow4Active muteButton">MUTE</div>
+                       <div
+                               class="button controlButton fontSizeSmaller fontColorNormal fontWeightBold bgColorDark boxShadow4Active holdButton">HOLD</div>
+                       <div
+                               class="button controlButton fontSizeSmaller fontColorNormal fontWeightBold bgColorDark boxShadow4Active addCallButton">ADD
+                               CALL</div>
+               </div>
+               <div id="callVolumeControl">
+                       <div id = "VCicon"></div>
+                       <div class = "sliderStart"></div>
+                       <div id = "VCline" class =  "bgColorTheme"></div>
+                       <div id = "VCinner" class =  "bgColorTheme boxShadow3"></div>
+                       <div class="noVolumeSlider"></div>
+               </div>
+       </div>
+
+       <div id="topBarIcons"></div>
+       <div id="bottomPanel" class="bottomPanel bottomPanelImg"></div>
+       <div id="library" class="library pageBgColorNormalTransparent"></div>
+</body>
+</html>
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/js/callhistorycarousel.js b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/js/callhistorycarousel.js
new file mode 100644 (file)
index 0000000..9306bb9
--- /dev/null
@@ -0,0 +1,268 @@
+/*global Phone, callContactCarousel*/
+
+/**
+ */
+ /**
+ * This class provides methods to operate with call history carousel. It wrapps handling CarouFredSel object and provides
+ * following operations:
+ *
+ * * Show placed, received and missed phone calls ordered by date of phone call
+ * * For each call displays phone number, contact name, date and time of phone call
+ *
+ * @module PhoneApplication
+ * @class Carousel
+ * @constructor
+ */
+var Carousel = function() {
+       "use strict";
+       this.initializeSwipe();
+};
+/**
+* This property holds call history data array for show in html.
+* @property callHistory {Array}
+*/
+Carousel.prototype.callHistory = [];
+/**
+* This property holds swipe object for internal use in carousel.
+* @property swipe {Object}
+* @private
+*/
+Carousel.prototype.swipe = null;
+/**
+* This property holds callback function which is called after current element in carousel is changed.
+* @property indexChangeCallback {Object}
+* @private
+*/
+Carousel.prototype.indexChangeCallback = null;
+/**
+ * This method adds listener for current carousel element change.
+ *
+ * @method addIndexChangeListener
+ * @param indexChangeCallback {function()} Callback function called after current carousel element changed.
+ */
+Carousel.prototype.addIndexChangeListener = function(indexChangeCallback) {
+       "use strict";
+
+       this.indexChangeCallback = indexChangeCallback;
+};
+/**
+ * This method initializes and configures carousel object
+ *
+ * @method initializeSwipe
+ * @private
+ */
+Carousel.prototype.initializeSwipe = function() {
+       "use strict";
+
+       var self = this;
+       if (!this.swipe) {
+               this.swipe = $('#contactsCarousel').carouFredSel({
+                       auto : false,
+                       circular : false,
+                       infinite : false,
+                       width : 765,
+                       items : {
+                               visible : 3
+                       },
+                       swipe : {
+                               items : 1,
+                               duration : 150,
+                               onMouse : true,
+                               onTouch : true
+                       },
+                       scroll : {
+                               items : 1,
+                               duration : 150,
+                               onAfter : function(data) {
+                                       if (!!self.indexChangeCallback) {
+                                               self.indexChangeCallback(self.getCurrentPosition());
+                                       }
+                               }
+                       }
+               });
+               if (!this.swipe.length) {
+                       this.swipe = null;
+               }
+       }
+};
+/**
+ * This method provides the index of current selected item of the carousel.
+ *
+ * @method getCurrentPosition
+ * @return Current {Integer} index position in carousel.
+ */
+Carousel.prototype.getCurrentPosition = function() {
+       "use strict";
+       var self = this;
+       if (!!self.swipe) {
+               var pos = parseInt(self.swipe.triggerHandler("currentPosition"), 10);
+               return pos;
+       }
+       return null;
+};
+/**
+ * This method moves current position of the carousel to the given index.
+ *
+ * @method slideTo
+ * @param index {Integer}  New index position in carousel
+ */
+Carousel.prototype.slideTo = function(index) {
+       "use strict";
+       if (!!this.swipe && index >= 0 && index < this.callHistory.length) {
+               this.swipe.trigger("slideTo", index);
+       }
+};
+/**
+ * This method fills carousel with call history data and resets its current position to start.
+ *
+ * @method loadCallHistory
+ * @param  callHistory {Array} Call history array.
+ * @param  index {Integer} New index position in carousel.
+ */
+Carousel.prototype.loadCallHistory = function(callHistory, index) {
+       "use strict";
+       this.removeAllItems();
+       this.callHistory = callHistory;
+       this.insertPagesToSwipe();
+       if (index >= 0 && index < this.callHistory.length && !!this.swipe) {
+               this.swipe.trigger("slideTo", [ index, 0, {
+                       duration : 0
+               } ]);
+       }
+};
+/**
+ * This method creates one carousel item for swipe.
+ *
+ * @method createSwipeItem
+ * @param  callHistory {Array} Call history array.
+ * @param  index {Integer} Carousel item index it is use as div id in html.
+ * @return {String} New carousel item as html string.
+ * @private
+ */
+Carousel.prototype.createSwipeItem = function(callHistoryEntry, index) {
+       "use strict";
+       var self = this;
+
+       if (!!callHistoryEntry) {
+               var carouselItem;
+
+               var contact = null;
+               if (!!callHistoryEntry.remoteParties && callHistoryEntry.remoteParties.length) {
+                       contact = Phone.getContactByPersonId(callHistoryEntry.remoteParties[0].personId);
+               }
+
+               var id = "";
+               var name = "";
+               var photoURI = "";
+               var phoneNumber = "";
+               var startTime = callHistoryEntry.startTime || "";
+               var direction = callHistoryEntry.direction || "";
+
+               if (!!callHistoryEntry.remoteParties && callHistoryEntry.remoteParties.length) {
+                       // personId = phoneNumber
+                       phoneNumber = callHistoryEntry.remoteParties[0].personId;
+               }
+
+               if (!!contact) {
+                       if (!!contact.id) {
+                               id = contact.id;
+                       }
+                       if (!!contact.photoURI) {
+                               photoURI = contact.photoURI;
+                       }
+                       if (phoneNumber === "" && !!contact.phoneNumbers && contact.phoneNumbers.length) {
+                               phoneNumber = contact.phoneNumbers[0].number;
+                       }
+                       name = Phone.getDisplayNameStr(contact);
+               }
+
+               if (name === "") {
+                       name = "Unknown";
+               }
+
+               carouselItem = '<li>';
+               carouselItem += '<div id="carouselBox_' + index + '" class="carouselBox borderColorTheme" data-id="' + id + '">';
+               carouselItem += '<div class="carouselPhotoArea borderColorTheme">';
+               carouselItem += '<div class="carouselPhotoBox noContactPhoto">';
+               carouselItem += '<img class="carouselPhoto" src="' + photoURI + '" /></div></div>';
+               carouselItem += '<div class="carouselInfoBox carouselName fontSizeLarger fontWeightBold fontColorNormal">' + name + '</div>';
+               carouselItem += '<div class="carouselInfoBox carouselNumber fontSizeSmall fontWeightBold fontColorTheme">' + phoneNumber + '</div>';
+               carouselItem += '<div class="callHistoryElement borderColorTheme">';
+               carouselItem += '<div class="missedNewCallIcon callHistoryIcon callHistoryIconGen"></div>';
+               carouselItem += '<div class="callHistoryDetails">';
+               carouselItem += '<div class="fontSizeXXSmall fontColorNormal">' + startTime + '</div>';
+               carouselItem += '<div class="fontSizeXXSmall fontWeightBold fontColorTheme">' + direction + '</div></div></div></div>';
+               carouselItem += '</li>';
+
+               carouselItem = $(carouselItem);
+               carouselItem.data("callhistory", callHistoryEntry);
+               carouselItem.data("contact", contact);
+               carouselItem.click(function() {
+                       self.swipe.trigger("slideTo", [ $(this), -1 ]);
+                       var hystoryEntry = $(this).data("callhistory");
+                       var contactEntry = $(this).data("contact");
+                       var contact = {
+                               name : {
+                                       displayName : contactEntry.name.displayName,
+                                       firstName : contactEntry.name.firstName,
+                                       lastName : contactEntry.name.lastName
+                               },
+                               photoURI : contactEntry.photoURI,
+                               phoneNumbers : [ {
+                                       number : hystoryEntry.remoteParties[0].personId
+                               } ]
+
+                       };
+                       callContactCarousel(contact);
+               });
+               return carouselItem;
+       }
+
+       return null;
+};
+/**
+ * This method inserts pages whit carousel elements to swipe.
+ *
+ * @method insertPagesToSwipe
+ * @private
+ */
+Carousel.prototype.insertPagesToSwipe = function() {
+       "use strict";
+       var self = this;
+       var carouselItem;
+       for ( var index = this.callHistory.length - 1; index >= 0; --index) {
+               carouselItem = this.createSwipeItem(this.callHistory[index], index);
+               if (!!carouselItem && !!this.swipe) {
+                       this.swipe.trigger("insertItem", [ carouselItem, 0 ]);
+               }
+       }
+       this.addCarouselEdges();
+};
+/**
+ * This method removes all item from carousel.
+ *
+ * @method removeAllItems
+ */
+Carousel.prototype.removeAllItems = function() {
+       "use strict";
+       var carouselItem;
+
+       if (!!this.swipe) {
+               for ( var index = this.callHistory.length + 1; index >= 0; --index) {
+                       this.swipe.trigger("removeItem", index);
+               }
+       }
+};
+/**
+ * This method adds emty carousel items to the beginning and the end of the carousel
+ * (to make sure first and last visible items appear in the middle of screen instead of at the edges when swiped to edges of carousel).
+ * @method addCarouselEdges
+ */
+Carousel.prototype.addCarouselEdges = function() {
+       "use strict";
+       if (!!this.swipe) {
+               var html = "<li><div class='carouselEdgeBox'></div></li>";
+               this.swipe.trigger("insertItem", [ html, 0 ]);
+               this.swipe.trigger("insertItem", [ html, "end", true ]);
+       }
+};
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/js/contacts_library.js b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/js/contacts_library.js
new file mode 100644 (file)
index 0000000..172f879
--- /dev/null
@@ -0,0 +1,210 @@
+/*global Phone, callContactCarousel, GRID_TAB, LIST_TAB, loadTemplate, ko*/
+
+/**
+ * Class which provides methods to operate with contacts library which displays all contact information (name, phone number, photo) from paired device ordered by name.
+ *
+ * @class ContactsLibrary
+ * @module PhoneApplication
+ */
+var ContactsLibrary = {
+       currentSelectedContact : "",
+       /**
+        * Method initializes contacts library.
+        *
+        * @method init
+        */
+       init : function() {
+               "use strict";
+               $('#library').library("setSectionTitle", "PHONE CONTACTS");
+               $('#library').library("init");
+
+               var tabMenuModel = {
+                       Tabs : [ {
+                               text : "CONTACTS A-Z",
+                               selected : true
+                       } ]
+               };
+
+               $('#library').library("tabMenuTemplateCompile", tabMenuModel);
+
+               $('#library').bind('eventClick_GridViewBtn', function() {
+                       ContactsLibrary.showContacts();
+               });
+
+               $('#library').bind('eventClick_ListViewBtn', function() {
+                       ContactsLibrary.showContacts();
+               });
+
+               $('#library').bind('eventClick_SearchViewBtn', function() {
+               });
+
+               $('#library').bind('eventClick_menuItemBtn', function() {
+                       ContactsLibrary.showContacts();
+               });
+
+               $('#library').bind('eventClick_closeSubpanel', function() {
+               });
+
+               $("#alphabetBookmarkList").on("letterClick", function(event, letter) {
+                       console.log(letter);
+                       Phone.contactsAlphabetFilter(letter === "*" ? "" : letter);
+               });
+
+               ContactsLibrary.showContacts();
+       },
+       /**
+        * Method unhides library page.
+        *
+        * @method show
+        */
+       show : function() {
+               "use strict";
+               $('#library').library("showPage");
+       },
+       /**
+        * Method hides library page.
+        *
+        * @method hide
+        */
+       hide : function() {
+               "use strict";
+               $('#library').library("hidePage");
+       },
+       /**
+        * Method opens contact detail.
+        *
+        * @method openContactDetail
+        * @param contact
+        *            {Object} Object representing contact's information.
+        */
+       openContactDetail : function(contact) {
+               "use strict";
+               if (!!contact) {
+                       ContactsLibrary.currentSelectedContact  = contact;
+                       var history = Phone.getCallHistoryByPersonId(contact.personId);
+                       var formattedContact = ContactsLibrary.initContactDetail(contact);
+                       formattedContact.history = history;
+                       ContactsLibrary.renderContactDetailView(formattedContact);
+               } else {
+                       console.log("Supplied contact is null.");
+               }
+       },
+       /**
+        * Method renders search view.
+        *
+        * @method renderContactDetailView
+        * @param contact
+        *            {Object} Contact object.
+        */
+       renderContactDetailView : function(contact) {
+               "use strict";
+               console.log("open contact called");
+               var subpanelModel = {
+                       textTitle : "CONTACT",
+                       textSubtitle : contact.name || "Unknown",
+                       actionName : "BACK",
+                       action : function() {
+                               console.log("back clicked");
+                               ContactsLibrary.showContacts();
+                               ContactsLibrary.currentSelectedContact = "";
+                       }
+               };
+               $('#library').library("subpanelContentTemplateCompile", subpanelModel);
+               $('#library').library("clearContent");
+               $('#library').library("setContentDelegate", "templates/libraryContactDetailDelegate.html");
+               $('#library').library("contentTemplateCompile", contact, "contactDetail", function() {
+                       $("#contactDetailMobileTitle").boxCaptionPlugin('initSmall', "MOBILE");
+                       $("#contactDetailEmailTitle").boxCaptionPlugin('initSmall', "EMAIL");
+                       $("#contactDetailAddressTitle").boxCaptionPlugin('initSmall', "ADDRESS");
+               });
+       },
+       /**
+        * Method which shows contacts in grid or list view.
+        *
+        * @method showContacts
+        */
+       showContacts : function() {
+               "use strict";
+               console.log("show contacts called");
+               var view = "";
+               switch ($('#library').library('getSelectetLeftTabIndex')) {
+               case GRID_TAB:
+                       view = "contactsLibraryContentGrid";
+                       break;
+               case LIST_TAB:
+                       view = "contactsLibraryContentList";
+                       break;
+               default:
+                       view = "contactsLibraryContentList";
+                       break;
+               }
+               $('#library').library('closeSubpanel');
+               $('#library').library("clearContent");
+               $('#library').library("changeContentClass", view);
+               loadTemplate("templates/", "template-contacts", function() {
+                       var contactsElement = '<div data-bind="template: { name: \'template-contacts\', foreach: Phone.contactsComputed }"></div>';
+                       $(contactsElement).appendTo($('.' + view));
+                       ko.applyBindings(Phone);
+               });
+       },
+       /**
+        * Method which initializes contact detail.
+        *
+        * @method initContactDetail
+        * @param contact
+        *            {Object} Contact object.
+        */
+       initContactDetail : function(contact) {
+               "use strict";
+               var tempContact = {
+                       id : "",
+                       name : "",
+                       phoneNumber : "",
+                       email : "",
+                       photoURI : "",
+                       address : "",
+                       isFavorite : false,
+                       history : []
+               };
+
+               if (!!contact) {
+                       var str = "";
+
+                       if (!!contact.uid) {
+                               tempContact.id = contact.uid;
+                       }
+
+                       if (!!contact.name) {
+                               tempContact.name = Phone.getDisplayNameStr(contact);
+                       }
+
+                       if (!!contact.phoneNumbers && contact.phoneNumbers.length && !!contact.phoneNumbers[0].number) {
+                               tempContact.phoneNumber = contact.phoneNumbers[0].number.trim();
+                       }
+
+                       if (!!contact.emails && contact.emails.length && !!contact.emails[0].email) {
+                               tempContact.email = contact.emails[0].email.trim();
+                       }
+
+                       if (!!contact.photoURI) {
+                               tempContact.photoURI = contact.photoURI.trim();
+                       }
+
+                       if (!!contact.addresses && contact.addresses.length) {
+                               str = !!contact.addresses[0].streetAddress ? contact.addresses[0].streetAddress.trim() + "<br />" : "";
+                               str += !!contact.addresses[0].city ? contact.addresses[0].city.trim() + "<br />" : "";
+                               str += !!contact.addresses[0].country ? contact.addresses[0].country.trim() + "<br />" : "";
+                               str += !!contact.addresses[0].postalCode ? contact.addresses[0].postalCode.trim() : "";
+
+                               if (str.toString().trim() === "") {
+                                       str = "-";
+                               }
+
+                               tempContact.address = str.trim();
+                       }
+
+                       tempContact.isFavorite = contact.isFavorite;
+               }
+               return tempContact;
+       }
+};
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/js/main.js b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/js/main.js
new file mode 100644 (file)
index 0000000..38d4e8e
--- /dev/null
@@ -0,0 +1,814 @@
+/*global disconnectCall, Bootstrap, Carousel, ContactsLibrary, getAppByID, disconnectCall, Configuration, Speech, Phone, changeCssBgImageColor, ThemeKeyColorSelected */
+
+/**
+ * This application provides voice call from paired Bluetooth phone. Application uses following APIs:
+ *
+ * * {{#crossLink "Phone"}}{{/crossLink}} library
+ * * [tizen.bt]() as replacement of [tizen.bluetooth](https://developer.tizen.org/dev-guide/2.2.0/org.tizen.web.device.apireference/tizen/bluetooth.html) API due to
+ *   conficts in underlying framework
+ *
+ * Application supports multiple connected devices, however only one of the devices can be selected at the time.
+ * Selection is done from {{#crossLink "Bluetooth"}}{{/crossLink}} UI. In case that phone has active call additional {{#crossLink "Carousel"}}{{/crossLink}}
+ * element is replaced by {{#crossLink "CallDuration"}}{{/crossLink}} element.
+ *
+ * Application allows following operations:
+ *
+ * * {{#crossLink "Phone/acceptCall:method"}}Place call{{/crossLink}}
+ * * Handles incoming calls passed from {{#crossLink "IncomingCall"}}{{/crossLink}} widget
+ * * Display {{#crossLink "Carousel"}}call history{{/crossLink}}
+ * * Display {{#crossLink "ContactsLibrary"}}contact list{{/crossLink}}
+ * * Mute/unmute call - not working due to [TIVI-2448](https://bugs.tizen.org/jira/browse/TIVI-2448)
+ *
+ * Additionaly application can be controlled using speech recognition via {{#crossLink "Speech"}}{{/crossLink}} component.
+ *
+ * Hover and click on elements in images below to navigate to components of Phone application.
+ *
+ * <img id="Image-Maps_1201312180420487" src="../assets/img/phone.png" usemap="#Image-Maps_1201312180420487" border="0" width="649" height="1152" alt="" />
+ *   <map id="_Image-Maps_1201312180420487" name="Image-Maps_1201312180420487">
+ *     <area shape="rect" coords="0,0,573,78" href="../classes/TopBarIcons.html" alt="top bar icons" title="Top bar icons" />
+ *     <area shape="rect" coords="0,77,644,132" href="../classes/Clock.html" alt="clock" title="Clock"    />
+ *     <area shape="rect" coords="0,994,644,1147" href="../classes/BottomPanel.html" alt="bottom panel" title="Bottom panel" />
+ *     <area shape="rect" coords="573,1,644,76" href="../modules/Settings.html" alt="Settings" title="Settings"    />
+ *     <area shape="rect" coords="552,136,646,181" href="../classes/ContactsLibrary.html" alt="Contacts library" title="Contacts library" />
+ *     <area shape="rect" coords="95,345,164,491" href="../classes/Phone.html#method_acceptCall" alt="Call button" title="Call button" />
+ *     <area shape="rect" coords="1,668,644,984" href="../classes/Carousel.html" alt="" title="History carousel" />
+ *     <area shape="rect" coords="171,181,471,635" alt=""   href="../classes/keyboard.html" alt="Keyboard input" title="Keyboard input"    >
+ *   </map>
+ *
+ * @module PhoneApplication
+ * @main PhoneApplication
+ * @class Phone
+ */
+
+/**
+ * Holds object of input for dialing phone number.
+ *
+ * @property telInput {Object}
+ */
+var telInput;
+/**
+ * Instance of class Bootstrap, this class provides unified way to boot up the HTML applications by loading shared components in proper order.
+ * * {{#crossLink "Bootstrap"}}{{/crossLink}}
+ *
+ * @property bootstrap {Object}
+ */
+var bootstrap;
+
+/**
+* Instance of class Carousel, this class provides methods to operate with hystory carousel.
+* * {{#crossLink "Carousel"}}{{/crossLink}}
+*
+* @property callHistoryCarousel {Object}
+*/
+var callHistoryCarousel = null;
+
+/**
+* This property holds information about accept Phone call from Other widgets.
+* If is true, phone call came from another widget.
+* @property acceptPhoneCallFromOtherWidget {Boolean}
+*/
+var acceptPhoneCallFromOtherWidget = false;
+
+/**
+ * Class handling user input from keyboard
+ *
+ * @class keyboard
+ * @static
+ */
+var keyboard = {
+    /**
+     * property holding Interval within which next click on the same key is considered as rotating associated characters with the given key.
+     *
+     * @property clickInterval {int}
+     */
+    clickInterval: 1000,
+
+    /**
+     * property holding info about last pressed key
+     *
+     * @property pressedKey {string}
+     */
+    pressedKey: "-1",
+
+    /**
+     * Array of input object holding info about main key character, all associated characters with the given key and index of currently used key
+     *
+     * @property inputs {Array of Object}
+     */
+    inputs: [{
+        key: "1",
+        values: ["1"],
+        index: 0
+    }, {
+        key: "2",
+        values: ["2", "A", "B", "C"],
+        index: 0
+    }, {
+        key: "3",
+        values: ["3", "D", "E", "F"],
+        index: 0
+    }, {
+        key: "4",
+        values: ["4", "G", "H", "I"],
+        index: 0
+    }, {
+        key: "5",
+        values: ["5", "J", "K", "L"],
+        index: 0
+    }, {
+        key: "6",
+        values: ["6", "M", "N", "O"],
+        index: 0
+    }, {
+        key: "7",
+        values: ["7", "P", "Q", "R", "S"],
+        index: 0
+    }, {
+        key: "8",
+        values: ["8", "T", "U", "V"],
+        index: 0
+    }, {
+        key: "9",
+        values: ["9", "W", "X", "Y", "Z"],
+        index: 0
+    }, {
+        key: "*",
+        values: ["*"],
+        index: 0
+    }, {
+        key: "0",
+        values: ["0", "+"],
+        index: 0
+    }, {
+        key: "#",
+        values: ["#"],
+        index: 0
+    }],
+
+    /**
+     * property holding time of clickedInterval started
+     *
+     * @property startedTime {Date}
+     */
+    startedTime: null,
+
+    /**
+     * property holding input object associated with last pressed key
+     *
+     * @property selectedInput {Object}
+     */
+    selectedInput: null,
+
+    /**
+     * function starting clickInterval
+     *
+     * @method startTimer
+     */
+    startTimer: function() {
+        "use strict";
+        keyboard.startedTime = new Date();
+    },
+
+    /**
+     * function testing if clickInterval expired
+     *
+     * @method intervalExpired
+     * @param currTime {Date}
+     */
+    intervalExpired: function(currTime) {
+        "use strict";
+        if (currTime - keyboard.startedTime > keyboard.clickInterval) {
+            keyboard.resetIndices();
+            return true;
+        }
+        return false;
+    },
+
+    /**
+     * function reseting indices for all input objects to 0
+     *
+     * @method resetIndices
+     */
+    resetIndices: function() {
+        "use strict";
+        for (var i in keyboard.inputs) {
+            if (keyboard.inputs.hasOwnProperty(i)) {
+                keyboard.inputs[i].index = 0;
+            }
+        }
+    },
+
+    /**
+     * function cycling associated input characters within clickInterval
+     *
+     * @method nextKey
+     */
+    nextKey: function() {
+        "use strict";
+        for (var i in keyboard.inputs) {
+            if (keyboard.pressedKey === keyboard.inputs[i].key) {
+                if (keyboard.inputs[i].values.length > 1) {
+                    if (keyboard.inputs[i].index < keyboard.inputs[i].values.length - 1) {
+                        keyboard.inputs[i].index += 1;
+                    } else {
+                        keyboard.inputs[i].index = 0;
+                    }
+                } else {
+                    keyboard.inputs[i].index = 0;
+                }
+                keyboard.selectedInput = keyboard.inputs[i];
+                return keyboard.inputs[i].values[keyboard.inputs[i].index];
+            }
+        }
+        return keyboard.pressedKey;
+    },
+
+    /**
+     * function setting selected input object based on last pressed key
+     *
+     * @method selectInput
+     */
+    selectInput: function() {
+        "use strict";
+        for (var i in keyboard.inputs) {
+            if (keyboard.pressedKey === keyboard.inputs[i].key) {
+                keyboard.selectedInput = keyboard.inputs[i];
+            }
+        }
+    }
+};
+
+/**
+ * Holds status of calling panel initialization.
+ *
+ * @property callingPanelInitialized {Boolean}  if is true, calling panel is initialized
+ * @default false
+ */
+var callingPanelInitialized = false;
+
+/**
+ * Class which provides initialize call info.
+ *
+ * @method initializeCallInfo
+ * @param contact {Object} Contact object.
+ * @for Phone
+ */
+function initializeCallInfo(contact) {
+    "use strict";
+    var callNumber;
+    console.log(contact);
+    if ( !! contact) {
+
+        if ( !! contact.name) {
+            var nameStr;
+            if (contact.name.displayName) {
+                nameStr = contact.name.displayName;
+            } else {
+                nameStr = !! contact.name.firstName ? contact.name.firstName : "";
+                nameStr += !! contact.name.lastName ? " " + contact.name.lastName : "";
+            }
+            $("#callName").html(nameStr.trim());
+        } else {
+            $("#callName").html("Unknown");
+        }
+
+        if ( !! contact.phoneNumbers && contact.phoneNumbers.length) {
+            callNumber = !! contact.phoneNumbers[0].number ? contact.phoneNumbers[0].number : "";
+            $("#callNumber").html(callNumber);
+        } else {
+            $("#callNumber").html("Unknown");
+        }
+
+        if ( !! contact.photoURI) {
+            $("#callPhoto").attr("src", contact.photoURI);
+        }
+    } else {
+        $("#callName").html("Unknown");
+        $("#callNumber").html("Unknown");
+    }
+
+    if (!callingPanelInitialized) {
+        $(".noVolumeSlider").noUiSlider({
+            range: [0, 100],
+            step: 1,
+            start: 50,
+            handles: 1,
+            connect: "lower",
+            orientation: "horizontal",
+            slide: function() {
+                var VolumeSlider = parseInt($(".noVolumeSlider").val(), 10);
+                console.log("noVolumeSlider" + VolumeSlider);
+            }
+        });
+        callingPanelInitialized = true;
+    }
+
+    if ($("#callButton").hasClass("callingFalse")) {
+        $("#callButton").removeClass("callingFalse");
+        $("#callButton").addClass("callingTrue");
+    }
+}
+
+/**
+ * Class which provides methods to operate with call duration. Component show information about current call (call number or call contact, time duration of call).
+ *
+ * @class CallDuration
+ * @static
+ */
+var CallDuration = {
+    /**
+     * Holds value of seconds.
+     *
+     * @property sec {Integer}
+     */
+    sec: 0,
+    /**
+     * Holds value of minutes.
+     *
+     * @property min {Integer}
+     */
+    min: 0,
+    /**
+     * Holds value of hours.
+     *
+     * @property hour {Integer}
+     */
+    hour: 0,
+    /**
+     * Holds object of timer.
+     *
+     * @property timeout {Object}
+     */
+    timeout: null,
+    /**
+     * Method provides initialization of call timers.
+     *
+     * @method initialize
+     */
+    startWatch: function() {
+        "use strict";
+        var self = this;
+        if (!this.timeout) {
+            this.timeout = window.setInterval(function() {
+                self.stopwatch();
+            }, 1000);
+        } else {
+            this.resetIt();
+            this.timeout = window.setInterval(function() {
+                self.stopwatch();
+            }, 1000);
+        }
+    },
+
+    /**
+     * Method provides reset call timers.
+     *
+     * @method resetIt
+     */
+    resetIt: function() {
+        "use strict";
+        CallDuration.sec = 0;
+        CallDuration.min = 0;
+        CallDuration.hour = 0;
+        window.clearTimeout(CallDuration.timeout);
+        var activeCall = tizen.phone.activeCall();
+        var callStatus = activeCall.state.toLowerCase();
+        if (callStatus === "DIALING".toLowerCase()) {
+            $("#callDuration").html("DIALING");
+        } else if (callStatus === "DISCONNECTED".toLowerCase()) {
+            $("#callDuration").html("ENDED");
+        } else {
+            $("#callDuration").html(
+                ((CallDuration.min <= 9) ? "0" + CallDuration.min : CallDuration.min) + ":" + ((CallDuration.sec <= 9) ? "0" + CallDuration.sec : CallDuration.sec));
+        }
+
+    },
+    /**
+     * Method provides call stop watch.
+     *
+     * @method stopwatch
+     */
+    stopwatch: function() {
+        "use strict";
+
+        var activeCall = tizen.phone.activeCall();
+        var callStatus = activeCall.state.toLowerCase();
+        if (callStatus === "DIALING".toLowerCase()) {
+            $("#callDuration").html("DIALING");
+        } else if (callStatus === "DISCONNECTED".toLowerCase()) {
+            $("#callDuration").html("ENDED");
+
+        } else {
+            CallDuration.sec++;
+            if (CallDuration.sec === 60) {
+                CallDuration.sec = 0;
+                CallDuration.min++;
+            }
+
+            if (CallDuration.min === 60) {
+                CallDuration.min = 0;
+                CallDuration.hour++;
+            }
+            $("#callDuration").html(
+                ((CallDuration.min <= 9) ? "0" + CallDuration.min : CallDuration.min) + ":" + ((CallDuration.sec <= 9) ? "0" + CallDuration.sec : CallDuration.sec));
+        }
+    }
+};
+
+/**
+* This property holds information about mute of call. If is true, phone call is mute.
+*
+* @property VolumeMuteStatus
+* @default false
+*/
+var VolumeMuteStatus = false;
+
+/**
+ * Class provides a muting of a call
+ *
+ * @method muteCall
+ * @for Phone
+ */
+function muteCall() {
+    "use strict";
+    VolumeMuteStatus = VolumeMuteStatus ? false : true;
+
+    // Not working due to TIVI-2448
+    if (tizen.phone) {
+        //tizen.phone.muteCall(VolumeMuteStatus);
+    }
+    if (VolumeMuteStatus) {
+        changeCssBgImageColor(".muteButton", ThemeKeyColorSelected);
+        $(".muteButton").addClass("fontColorSelected");
+    } else {
+        changeCssBgImageColor(".muteButton", "#FFFFFF");
+        $(".muteButton").removeClass("fontColorSelected");
+    }
+}
+
+/**
+ * Class which provides methods to call contact.
+ *
+ * @method acceptCall
+ * @param contact {Object} Contact object.
+ * @for Phone
+ */
+function acceptCall(contact) {
+    "use strict";
+
+    ContactsLibrary.hide();
+    if ($("#settingsTabs").tabs) {
+        $("#settingsTabs").tabs("hidePage");
+    }
+    $("#callBox").removeClass("callBoxHidden");
+    $("#callBox").addClass("callBoxShow");
+    $('#contactsCarouselBox').removeClass("contactsCarouselBoxShow");
+    $('#contactsCarouselBox').addClass("contactsCarouselBoxHide");
+    if (tizen.phone) {
+        CallDuration.resetIt();
+
+        initializeCallInfo(contact);
+        var activeCall = tizen.phone.activeCall();
+        var callStatus = activeCall.state.toLowerCase();
+        if (callStatus !== "ACTIVE".toLowerCase() && callStatus !== "DIALING".toLowerCase()) {
+
+            if (callStatus === "INCOMING".toLowerCase()) {
+                tizen.phone.answerCall(function(result) {
+                    console.log(result.message);
+                });
+            } else if (callStatus === "DISCONNECTED".toLowerCase()) {
+
+                var callNumber = contact.phoneNumbers[0] && contact.phoneNumbers[0].number ? contact.phoneNumbers[0].number : "";
+                tizen.phone.invokeCall(callNumber, function(result) {
+                    console.log(result.message);
+                });
+
+            }
+
+        } else if (callStatus === "ACTIVE".toLowerCase()) {
+            CallDuration.startWatch();
+        }
+    }
+}
+
+/**
+ * Class which provides disconnect call.
+ *
+ * @method disconnectCall
+ * @for Phone
+ */
+function disconnectCall() {
+    "use strict";
+    $("#callButton").removeClass("callingTrue");
+    $("#callButton").addClass("callingFalse");
+    if (acceptPhoneCallFromOtherWidget !== true) {
+        $("#callBox").removeClass("callBoxShow");
+        $("#callBox").addClass("callBoxHidden");
+        $('#contactsCarouselBox').removeClass("contactsCarouselBoxHide");
+        $('#contactsCarouselBox').addClass("contactsCarouselBoxShow");
+    }
+    CallDuration.resetIt();
+    if (tizen.phone) {
+        tizen.phone.hangupCall(function(result) {
+            console.log(result.message);
+        });
+    }
+    $("#inputPhoneNumber").val('');
+}
+
+$(document).ready(
+    function() {
+        "use strict";
+        setTimeout(function() {
+            /* initialize phone widget by remote device status */
+            if (tizen.phone) {
+                tizen.phone.getSelectedRemoteDevice(function(selectedRemoteDevice){
+                if (selectedRemoteDevice !== "") {
+                    $("#noPairedDevice").hide();
+                    $("#loadingHistorySpinnerWrapper").show();
+                } else {
+                    $("#noPairedDevice").show();
+                }
+                });
+                /* initialize phone widget by active call status */
+                var activeCall = tizen.phone.activeCall();
+                var callStatus = activeCall.state.toLowerCase();
+                if (callStatus === "INCOMING".toLowerCase() || callStatus === "DIALING".toLowerCase() || callStatus === "ACTIVE".toLowerCase()) {
+                    var contact;
+                    if (tizen.phone.callState) {
+                        contact = activeCall.contact;
+                    }
+                    acceptPhoneCallFromOtherWidget = true;
+                    acceptCall(contact);
+                } else if (callStatus === "DISCONNECTED".toLowerCase()) {
+                    disconnectCall();
+                }
+            }
+            /* start keyboard timer */
+            keyboard.startTimer();
+            /* initialize bootstrap */
+            bootstrap = new Bootstrap(function(status) {
+                telInput = $("#inputPhoneNumber");
+                $("#clockElement").ClockPlugin('init', 5);
+                $("#clockElement").ClockPlugin('startTimer');
+                $("#topBarIcons").topBarIconsPlugin('init', 'phone');
+                $('#bottomPanel').bottomPanel('init');
+                if (!callHistoryCarousel) {
+
+                    callHistoryCarousel = new Carousel();
+                }
+
+                if (typeof Phone !== "undefined") {
+                    /* add listener to selected remote device */
+                    tizen.phone.addRemoteDeviceSelectedListener(function(returnID) {
+                        if ((!!returnID && !!returnID.error) || (!!returnID && !!returnID.value && returnID.value === "")) {
+                            $("#loadingHistorySpinnerWrapper").hide();
+                            $(".caroufredsel_wrapper").hide();
+                            $("#noPairedDevice").show();
+                        } else {
+                            $("#noPairedDevice").hide();
+                            $("#loadingHistorySpinnerWrapper").show();
+                            $(".caroufredsel_wrapper").show();
+                        }
+                    });
+                    /* initialize contacts and call history, if not accept phone call from another widget */
+                    if (acceptPhoneCallFromOtherWidget !== true) {
+                        window.setTimeout(function() {
+                            Phone.loadContacts(function(err) {
+                                if (!err) {
+                                    ContactsLibrary.init();
+                                    Phone.loadCallHistory(function(err) {
+                                        if (!err) {
+                                            $("#loadingHistorySpinnerWrapper").hide();
+                                            callHistoryCarousel.loadCallHistory(Phone.callHistory(), 0);
+                                        }
+                                    });
+                                }
+                            });
+
+                        }, 2000);
+                    }
+                    /* add listener to change contacts list  */
+                    tizen.phone.addContactsChangedListener(function() {
+                        if (acceptPhoneCallFromOtherWidget !== true) {
+                            window.setTimeout(function() {
+                                Phone.loadContacts(function(err) {
+                                    if (!err) {
+                                        ContactsLibrary.init();
+                                    }
+                                });
+                            }, 1000);
+                        }
+                    });
+                    /* add listener to change call history  */
+                    tizen.phone.addCallHistoryChangedListener(function() {
+                        $("#loadingHistorySpinnerWrapper").show();
+                        if (acceptPhoneCallFromOtherWidget !== true) {
+                            window.setTimeout(function() {
+                                Phone.loadCallHistory(function(err) {
+                                    if (!err) {
+                                        $("#loadingHistorySpinnerWrapper").hide();
+                                        callHistoryCarousel.loadCallHistory(Phone.callHistory(), 0);
+
+                                    }
+                                });
+                            }, 1000);
+                        }
+
+                    });
+                }
+
+                $("#contactsLibraryButton").bind('click', function() {
+
+                    ContactsLibrary.show();
+
+                });
+
+                $(".numbersBox").delegate("#numberButton", "click", function() {
+                    var pressTime = new Date(),
+                        number, oneCharPX = 32;
+                    if (keyboard.intervalExpired(pressTime)) {
+                        number = telInput.attr("value") + $(this).data("id");
+                        telInput.attr("value", number);
+                        $('#inputPhoneNumber').scrollLeft(number.length * oneCharPX);
+                        keyboard.pressedKey = $(this).data("id").toString();
+
+                    } else {
+                        if (keyboard.pressedKey === "-1" || keyboard.pressedKey !== $(this).data("id").toString()) {
+                            number = telInput.attr("value") + $(this).data("id");
+                            telInput.attr("value", number);
+                            $('#inputPhoneNumber').scrollLeft(number.length * oneCharPX);
+                            keyboard.pressedKey = $(this).data("id").toString();
+                        } else {
+                            var phoneNumText = telInput.attr("value");
+                            if (keyboard.pressedKey === $(this).data("id").toString() && keyboard.selectedInput !== null && keyboard.selectedInput.values.length === 1) {
+                                number = telInput.attr("value") + $(this).data("id");
+                                telInput.attr("value", number);
+                                $('#inputPhoneNumber').scrollLeft(number.length * oneCharPX);
+                            } else {
+                                var numToUpdate = phoneNumText.slice(0, phoneNumText.length - 1);
+                                numToUpdate += keyboard.nextKey();
+                                telInput.attr("value", numToUpdate);
+
+                            }
+                        }
+                    }
+                    keyboard.selectInput();
+                    keyboard.startTimer();
+                    return false;
+                });
+
+                $(".inputPhoneNumberBox").delegate("#deleteButton", "click", function() {
+                    var number = telInput.attr("value");
+                    number = number.slice(0, number.length - 1);
+                    telInput.attr("value", number);
+                    return false;
+                });
+
+                $('#callButton').bind('click', function() {
+                    var phoneNumber = $("#inputPhoneNumber").val();
+                    if ($("#callBox").hasClass("callBoxShow")) {
+                        disconnectCall();
+                    } else if (phoneNumber !== "") {
+                        var contact = Phone.getContactByPhoneNumber(phoneNumber);
+                        if (contact === null) {
+
+                            contact = {
+                                phoneNumbers: [{
+                                    number: phoneNumber
+                                }]
+                            };
+
+                        }
+                        acceptCall(contact);
+                    }
+                });
+                $('.muteButton').bind('click', function() {
+                    muteCall();
+                });
+                if (tizen.phone) {
+                    /* add listener to change call history entry, because if call is ended tizen.phone give back only last history object */
+                    tizen.phone.addCallHistoryEntryAddedListener(function(contact) {
+                        if (acceptPhoneCallFromOtherWidget !== true) {
+
+
+                            var tmpCallHistory = Phone.callHistory();
+                            var tmpContact = [];
+                            tmpContact.push(contact);
+                            tmpContact = Phone.formatCallHistory(tmpContact);
+                            tmpCallHistory.unshift(tmpContact[0]);
+                            Phone.callHistory(tmpCallHistory);
+
+                            callHistoryCarousel.loadCallHistory(Phone.callHistory(), 0);
+
+                        }
+                    });
+                    /* add listener to change call state */
+                    tizen.phone.addCallChangedListener(function(result) {
+                        var contact;
+                        var activeCall = tizen.phone.activeCall();
+                        if ( !! result.contact.name) {
+                            contact = result.contact;
+                        } else {
+                            contact = {
+                                phoneNumbers: [{
+                                    /* jshint camelcase: false */
+                                    number: activeCall.line_id
+                                    /* jshint camelcase: true */
+                                }]
+
+                            };
+                        }
+
+                        console.log("result.state " + result.state);
+
+                        switch (result.state.toLowerCase()) {
+                            case "DISCONNECTED".toLowerCase():
+
+                                disconnectCall(contact);
+
+                                if (acceptPhoneCallFromOtherWidget === true) {
+
+                                    window.setTimeout(function() {
+                                        if (typeof tizen !== "undefined") {
+                                            tizen.application.getCurrentApplication().exit();
+                                        }
+                                    }, 1000);
+                                }
+
+                                Configuration.set("acceptedCall", "false");
+
+                                break;
+                            case "ACTIVE".toLowerCase():
+                                if (Configuration._values.acceptedCall !== "true") {
+                                    /* global self */
+                                    self.incomingCall.acceptIncommingCall();
+                                    CallDuration.startWatch();
+                                    console.log("phone active");
+                                    Configuration.set("acceptedCall", "true");
+                                }
+                                break;
+                            case "DIALING".toLowerCase():
+                                acceptCall(contact);
+                                break;
+                        }
+                    });
+                }
+
+            if (typeof(Speech) !== 'undefined') {
+                /* add listener to voice recognition */
+                Speech.addVoiceRecognitionListener({
+                    oncall: function() {
+                        if (ContactsLibrary.currentSelectedContact !== "" && $('#library').library("isVisible")) {
+                            acceptCall(ContactsLibrary.currentSelectedContact);
+                        }
+                    }
+                });
+            } else {
+                console.warn("Speech API is not available.");
+            }
+
+            });
+        }, 0);
+
+    });
+
+/**
+ * Class which provides call contact carousel.
+ *
+ * @method callContactCarousel
+ * @param contact {Object} Contact object.
+ * @for Phone
+ *
+ */
+
+function callContactCarousel(contact) {
+    "use strict";
+
+    acceptCall(contact);
+}
+
+/**
+ * Class which provides call by contact ID.
+ *
+ * @method callContactById
+ * @param contactId {String} Contact id.
+ * @for Phone
+ */
+function callContactById(contactId) {
+    "use strict";
+    $("#contactDetailMobile").addClass("fontColorSelected ");
+    if (contactId !== "" && typeof contactId !== undefined) {
+
+        var contactObject = Phone.getContactById(contactId);
+        if ( !! contactObject) {
+            window.setTimeout(function() {
+                acceptCall(contactObject);
+                $("#contactDetailMobile").removeClass("fontColorSelected ");
+            }, 500);
+        } else {
+            console.log("contact not found");
+            $("#contactDetailMobile").removeClass("fontColorSelected ");
+        }
+    }
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/js/phone.js b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/js/phone.js
new file mode 100644 (file)
index 0000000..35ebedd
--- /dev/null
@@ -0,0 +1,361 @@
+/* global ko, formatPhoneNumber, moment */
+
+/**
+ * This class provides methods to operate with contacts and call history from [tizen.phone](./native/group__phoned.html).
+ * Sample contact object looks like:
+ *
+ *     {
+ *          uid: "JeremyMartinson15417543010",
+ *          personId: "15417543010",
+ *                     name: {
+ *                             firstName: "Jeremy",
+ *                             lastName: "Martinson"
+ *                             displayName :"Jeremy Martinson"
+ *                     },
+ *                     phoneNumbers: {
+ *                             number:"1-541-754-3010"
+ *                     },
+ *                     emails: {
+ *                             email: "Jeremy.Martinson@gmail.com"
+ *                     },
+ *                     photoURI: {
+ *                             photoURI: "url://"
+ *                     },
+ *                     addresses: {
+ *                             streetAddress: "455 Larkspur Dr.",
+ *                             city: "San Jose",
+ *                             country: "California",
+ *                             postalCode: " "
+ *                     }
+ *     }
+ *
+ * @class Phone
+ * @module PhoneApplication
+ * @constructor
+ */
+var Phone = (function() {
+       "use strict";
+
+       function Phone() {
+               var self = this;
+               if (typeof(tizen.phone) !== 'undefined') {
+                       this.phone = tizen.phone;
+               } else {
+                       this.phone = null;
+               }
+               this.contacts = ko.observableArray([]);
+               this.callHistory = ko.observableArray([]);
+
+               this.contactsAlphabetFilter = ko.observable("");
+
+               this.contactsComputed = ko.computed(function() {
+                       if (self.contactsAlphabetFilter() !== "") {
+                               return ko.utils.arrayFilter(self.contacts(), function(contact) {
+                                       if ( !! contact.name && !! contact.name.leftLastName) {
+                                               return contact.name.lastName.toString().toLowerCase().trim().indexOf(
+                                                       self.contactsAlphabetFilter().toString().toLowerCase().trim()) === 0;
+                                       }
+                                       return false;
+                               });
+                       }
+                       return self.contacts();
+               });
+       }
+
+/**
+ * This method download contacts from tizen.phone. Using  API method tizen.phone.getContacts.
+ * @method loadContacts
+ * @param callback {function(error)} Callback function called after method is finished. Parameter `error` will contain any error that was intercepted.
+ */
+
+       Phone.prototype.loadContacts = function(callback) {
+               var self = this;
+               var i, conntactsArrayLength;
+               if ( !! self.phone) {
+
+                       self.phone.getContacts(0, function(contactsArray) {
+
+                               contactsArray = self.formatContacts(contactsArray);
+                               self.contacts(contactsArray);
+                               if ( !! callback) {
+                                       callback(null);
+                               }
+                       }, function(err) {
+                               console.log("Error(" + err.code + "): " + err.message);
+                               if ( !! callback) {
+                                       callback(err);
+                               }
+                       });
+               } else {
+                       if ( !! callback) {
+                               callback("Phone API is not available.");
+                       }
+               }
+       };
+
+       /**
+        * This method provides compare contact by last name, it is use in observable array from [knockout library](http://knockoutjs.com/documentation/observableArrays.html).
+        * @method compareByLastName
+        * @param left {Object} left compare element
+        * @param right {Object} right compare element
+        */
+
+       Phone.prototype.compareByLastName = function(left, right) {
+
+               var leftLastName = "Unknown";
+               if ( !!left.name && !!left.name.lastName && left.name.lastName !== "") {
+                       leftLastName = left.name.lastName;
+               }
+               leftLastName = leftLastName.toString().trim().toLowerCase();
+               var rightLastName = "Unknown";
+               if ( !!right.name && !!right.name.lastName && right.name.lastName !== "") {
+                       rightLastName = right.name.lastName;
+               }
+               rightLastName = rightLastName.toString().trim().toLowerCase();
+               return leftLastName === rightLastName ? 0 : (leftLastName < rightLastName) ? -1 : 1;
+       };
+       /**
+        * This method compares call history items by date, it is used in observable array from [knockout library](http://knockoutjs.com/documentation/observableArrays.html).
+        * @method compareHistoryByDate
+        * @param left {Object} left compare element
+        * @param right {Object} right compare element
+        */
+       Phone.prototype.compareHistoryByDate = function(left, right) {
+
+               var monthNames = ["JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC"];
+
+               var tmpLeftDateTime = left.startTime.toUpperCase().split(" ");
+               var tmpLeftDate = tmpLeftDateTime[0].split("/");
+               tmpLeftDate[0] = tmpLeftDate[0].indexOf(tmpLeftDate[0]) + 1;
+               var tmpLeftTime = tmpLeftDateTime[1].split(":");
+               var leftDate = new Date(parseInt(tmpLeftDate[0], 10), parseInt(tmpLeftDate[1], 10), parseInt(tmpLeftDate[2], 10), parseInt(tmpLeftTime[0], 10), parseInt(tmpLeftTime[1], 10));
+
+               var tmpRightDateTime = right.startTime.toUpperCase().split(" ");
+               var tmpRightDate = tmpRightDateTime[0].split("/");
+               tmpRightDate[0] = tmpRightDate[0].indexOf(tmpRightDate[0]) + 1;
+               var tmpRightTime = tmpRightDateTime[1].split(":");
+               var rightDate = new Date(parseInt(tmpRightDate[0], 10), parseInt(tmpRightDate[1], 10), parseInt(tmpRightDate[2], 10), parseInt(tmpRightTime[0], 10), parseInt(tmpRightTime[1], 10));
+
+               return leftDate === rightDate ? 0 : (leftDate > rightDate) ? -1 : 1;
+
+       };
+       /**
+        * This method clear contacts array.
+        * @method clearContacts
+        */
+       Phone.prototype.clearContacts = function() {
+
+               var self = this;
+               self.contacts.removeAll();
+               self.contacts([]);
+       };
+       /**
+        * This method searches contact in contacts list by id .
+        * @method getContactById
+        * @param id {String} search contact id
+        * @return {Object} if contact is found, return contact. Else return first element from contacts list.
+        */
+       Phone.prototype.getContactById = function(id) {
+
+               var self = this;
+               var contact = ko.utils.arrayFirst(self.contacts(), function(contact) {
+                       return contact.uid === id;
+               });
+               return contact;
+       };
+       /**
+        * This method searches contact in contacts list by personId.
+        * @method getContactByPersonId
+        * @param id {String} search contact personId
+        * @return {Object} if contact is found, return contact. Else return first element from contacts list.
+        */
+       Phone.prototype.getContactByPersonId = function(personId) {
+
+               var self = this;
+               var contact = ko.utils.arrayFirst(self.contacts(), function(contact) {
+                       if (contact.personId === personId) {
+                               return true;
+                       }
+
+                       if ( !! contact.phoneNumbers && contact.phoneNumbers.length) {
+                               for (var i = 0; i < contact.phoneNumbers.length; ++i) {
+                                       if ( !! contact.phoneNumbers[i].number && contact.phoneNumbers[i].number === personId) {
+                                               return true;
+                                       }
+                               }
+                       }
+
+                       return false;
+               });
+               return contact;
+       };
+       /**
+        * This method searches contact in contacts list by phoneNumber.
+        * @method getContactByPhoneNumber
+        * @param id {String} search contact phoneNumber
+        * @return {Object} if contact is found, return contact. Else return first element from contacts list.
+        */
+       Phone.prototype.getContactByPhoneNumber = function(phoneNumber) {
+
+               var self = this;
+               if ( !! phoneNumber && phoneNumber !== "") {
+                       phoneNumber = formatPhoneNumber(phoneNumber);
+                       var foundContact = ko.utils.arrayFirst(self.contacts(), function(contact) {
+                               if ( !! contact.phoneNumbers && contact.phoneNumbers.length) {
+
+
+                                       for (var i = 0; i < contact.phoneNumbers.length; ++i) {
+                                               if ( !! contact.phoneNumbers[i].number && contact.phoneNumbers[i].number === phoneNumber) {
+                                                       return true;
+                                               }
+                                       }
+                               }
+                               return false;
+                       });
+                       return foundContact;
+               }
+               return null;
+       };
+       /**
+        * This method composes display name from contact names.
+        * @method getDisplayNameStr
+        * @param contact {Object} contact object
+        * @return {String} contact name for display
+        */
+       Phone.prototype.getDisplayNameStr = function(contact) {
+
+               var self = this;
+               if ( !! contact && !! contact.name) {
+                       var name = [];
+                       if ( !! contact.name.lastName && contact.name.lastName !== "") {
+                               name.push(contact.name.lastName);
+                       }
+                       if ( !! contact.name.firstName && contact.name.firstName !== "") {
+                               name.push(contact.name.firstName);
+                       }
+                       if (name.length === 0 && !! contact.name.displayName && contact.name.displayName !== "") {
+                               name.push(contact.name.displayName);
+                       }
+                       return name.join(" ");
+               }
+               return "Unknown";
+       };
+       /**
+ * This method downloads call history from tizen.phone. Using  API method tizen.phone.getCallHistory.
+
+ * @method loadCallHistory
+ * @param callback {function(error)} Callback function called after method is finished. Parameter `error` will contain any error that was intercepted.
+ */
+       Phone.prototype.loadCallHistory = function(callback) {
+
+               var self = this;
+               var i;
+               var callHistoryArrayLength;
+               if ( !! self.phone) {
+                       self.phone.getCallHistory(25, function(callHistoryArray) {
+                               callHistoryArray = self.formatCallHistory(callHistoryArray);
+
+                               self.callHistory(callHistoryArray);
+                               if ( !! callback) {
+                                       callback(null);
+                               }
+                       }, function(err) {
+                               console.log("Error(" + err.code + "): " + err.message);
+                               if ( !! callback) {
+                                       callback(err);
+                               }
+                       });
+               } else {
+                       if ( !! callback) {
+                               callback("Phone API is not available.");
+                       }
+               }
+       };
+       /**
+ * This method prepares contact data to be displayed in html.
+
+ * @method formatContacts
+ * @param contactsList {Array} list of contacts
+ * @return {Array} list of contacts
+ */
+       Phone.prototype.formatContacts = function(contactsList) {
+               var i, j;
+               var contactsListLength;
+               var phoneNumbersLength;
+               contactsListLength = contactsList.length;
+               for (i = 0; i < contactsListLength; i++) {
+                       if (!contactsList[i].photoURI) {
+                               contactsList[i].photoURI = null;
+                       }
+                       if (!contactsList[i].addresses) {
+                               contactsList[i].addresses = null;
+                       }
+
+                       if (!contactsList[i].emails) {
+                               contactsList[i].emails = null;
+                       }
+                       if ( !! contactsList[i].phoneNumbers) {
+                               phoneNumbersLength = contactsList[i].phoneNumbers.length;
+                               for (j = 0; j < phoneNumbersLength; j++) {
+                                       contactsList[i].phoneNumbers[j].number = formatPhoneNumber(contactsList[i].phoneNumbers[j].number);
+                               }
+                       }
+               }
+               return contactsList;
+       };
+       /**
+ * This method prepares call history data to be displayed in html.
+
+ * @method formatCallHistory
+ * @param callHistoryList {Array} list of call history
+ * @return {Array} call history array
+ */
+       Phone.prototype.formatCallHistory = function(callHistoryList) {
+
+               var callHistoryListLength;
+               var i;
+               callHistoryListLength = callHistoryList.length;
+               for (i = 0; i < callHistoryListLength; i++) {
+                       if ( !! callHistoryList[i].startTime) {
+                               var date = callHistoryList[i].startTime;
+                               callHistoryList[i].startTime = moment(date).format("MMM/DD/YYYY HH:mm");
+                       } else {
+                               callHistoryList[i].startTime = null;
+                       }
+               }
+               return callHistoryList;
+       };
+       /**
+        * This method clears call history.
+        * @method clearCallHistory
+        */
+       Phone.prototype.clearCallHistory = function() {
+
+               var self = this;
+               self.callHistory.removeAll();
+               self.callHistory([]);
+       };
+       /**
+        * This method searches call history by contact personID.
+        * @method getCallHistoryByPersonId
+        * @param personId {string} search contact personId
+        * @return {Array} call history array
+        */
+       Phone.prototype.getCallHistoryByPersonId = function(personId) {
+
+               var self = this;
+               var callHistory = ko.utils.arrayFilter(self.callHistory(), function(callHistoryEntry) {
+                       if ( !! callHistoryEntry.remoteParties) {
+                               for (var i = 0; i < callHistoryEntry.remoteParties.length; ++i) {
+                                       if (callHistoryEntry.remoteParties[i].personId === personId) {
+                                               return true;
+                                       }
+                               }
+                       }
+                       return false;
+               });
+               return callHistory;
+       };
+       window.__phone = undefined === window.__phone ? new Phone() : window.__phone;
+       return window.__phone;
+})();
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/manifest.json b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/manifest.json
new file mode 100644 (file)
index 0000000..1a8da7f
--- /dev/null
@@ -0,0 +1,12 @@
+{
+  "name": "Modello Phone",
+  "version": "0.0.2",
+  "app": {
+    "launch":{
+      "local_path": "index.html"
+    }
+  },
+  "icons": {
+    "128": "Phone_icon.png"
+  }
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/packaging/modello-phone.changes b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/packaging/modello-phone.changes
new file mode 100644 (file)
index 0000000..7dc936f
--- /dev/null
@@ -0,0 +1,12 @@
+* Thu May 22 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.232710@14d529a
+- Fixes for IVI-3190 - To get things to render normally
+
+* Thu May 08 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.172733@8f36d63
+- Adding Modello to the app name to easily identify it
+
+* Tue May 06 2014 brianjjones <brian.j.jones@intel.com> submit/tizen/20140404.164007@048ebca
+- Updated to work with Crosswalk.  TIVI-3070
+
+* Thu Apr 03 2014 brianjjones <brian.j.jones@intel.com> 2e62fa5
+- Initial commit of the Modello Phone app
+
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/packaging/modello-phone.spec b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/packaging/modello-phone.spec
new file mode 100644 (file)
index 0000000..9c82f5d
--- /dev/null
@@ -0,0 +1,30 @@
+Name:       Modello_Phone
+Summary:    A proof of concept pure html5 UI
+Version:    0.0.2
+Release:    1
+Group:      Applications/System
+License:    Apache 2.0
+URL:        http://www.tizen.org
+Source0:    %{name}-%{version}.tar.bz2
+BuildRequires:  zip
+Requires:   Modello_Common
+Requires:   phoned
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_Phone.wgt
+/opt/usr/apps/_common/icons/Phone_icon.png
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/templates/contactCarouselDelegate.html b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/templates/contactCarouselDelegate.html
new file mode 100644 (file)
index 0000000..54a4efd
--- /dev/null
@@ -0,0 +1,24 @@
+<li><div id="carouselBox_{{:#index}}" class="carouselBox borderColorTheme" data-id="{{:id}}" onclick="callContactById('{{:id}}');">
+               <div class="carouselPhotoArea borderColorTheme">
+                       <div class="carouselPhotoBox noContactPhoto">
+                               <img class="carouselPhoto" src="{{:photoURI}}" />
+                       </div>
+               </div>
+               <!-- <div class="carouselInfoBox carouselCallContact"></div> -->
+               <div
+                       class="carouselInfoBox carouselName fontSizeLarger fontWeightBold fontColorNormal">
+                       {{if name}} {{if name.firstName}} {{:name.firstName}} {{/if}} {{if
+                       name.lastName}} {{:name.lastName}} {{/if}} {{/if}}</div>
+               <div class="carouselInfoBox carouselNumber fontSizeSmall fontWeightBold fontColorTheme">
+                       {{if phoneNumbers}} {{if phoneNumbers[0]}}
+                       {{:phoneNumbers[0].number}} {{/if}} {{/if}}</div>
+               <div class="callHistoryElement borderColorTheme">
+                       <div class="{{if direction == 'missed-new'}}missedNew{{else}}{{:direction.toLowerCase()}}{{/if}}CallIcon callHistoryIcon callHistoryIconGen"></div>
+                       <div class="callHistoryDetails">
+                               <div class="fontSizeXXSmall fontColorNormal">{{:startTime.toString().toUpperCase()}}</div>
+                               <div class="fontSizeXXSmall fontWeightBold fontColorTheme">{{:direction.toString().toUpperCase()}}</div>
+                       </div>
+               </div>
+
+       </div>
+</li>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/templates/libraryContactDetailDelegate.html b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/templates/libraryContactDetailDelegate.html
new file mode 100644 (file)
index 0000000..4d46c86
--- /dev/null
@@ -0,0 +1,47 @@
+
+<div class="contactDetailBox1">
+       <div class="contactDetailPhotoBox noContactPhoto">
+               <img class="contactDetailPhoto" src="{{:photoURI}}" />
+       </div>
+       <div
+               class="contactDetailFavorite isFavorite{{if isFavorite}}True{{else}}False{{/if}}">
+       </div>
+</div>
+
+<div class="contactDetailBox2">
+       <div class="contactDetailBox3" onClick="callContactById('{{:id}}')">
+               <div class="phoneIcon"></div>
+               <div class="contactDetailBox4">
+                       <div id="contactDetailMobileTitle">MOBILE</div>
+                       <div id= "contactDetailMobile" class="fontSizeLarger fontWeightBold fontColorNormal">{{:phoneNumber}}</div>
+               </div>
+
+       </div>
+       <div class="contactDetailBox3">
+               <div class="emailIcon"></div>
+               <div class="contactDetailBox4">
+                       <div id="contactDetailEmailTitle">EMAIL</div>
+                       <div class="fontSizeLarger fontWeightBold fontColorNormal">{{:email}}</div>
+               </div>
+       </div>
+       <div class="contactDetailBox3">
+               <div class="addressIcon"></div>
+               <div class="contactDetailBox4">
+                       <div id="contactDetailAddressTitle">ADDRESS</div>
+                       <div class="fontSizeLarger fontWeightBold fontColorNormal">{{:address.toUpperCase()}}</div>
+               </div>
+       </div>
+</div>
+
+<div class="callHistoryBox borderColorTheme">
+       {{foreach history}}
+       <div class="callHistoryElement borderColorTheme">
+               <div
+                       class="{{if direction == 'missed-new'}}missedNew{{else}}{{:direction.toString().toLowerCase()}}{{/if}}CallIcon callHistoryIcon"></div>
+               <div class="callHistoryDetails">
+                       <div class="fontSizeLarge fontWeightBold fontColorNormal">{{:startTime.toString().toUpperCase()}}</div>
+                       <div class="fontSizeXSmall fontWeightBold fontColorTheme">{{:direction.toString().toUpperCase()}}</div>
+               </div>
+       </div>
+       {{/foreach}}
+</div>
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/project/templates/template-contacts.html b/samples/web/Sample/Tizen/Web App/Modello_Phone/project/templates/template-contacts.html
new file mode 100644 (file)
index 0000000..b14892a
--- /dev/null
@@ -0,0 +1,10 @@
+<div class="contactElement boxShadow4 borderColorTheme"
+       data-bind="click: ContactsLibrary.openContactDetail">
+       <div class="phoneIcon"></div>
+       <div class="contactPhotoBox noContactPhoto">
+               <img class="contactPhoto" data-bind="attr:{src: photoURI}" />
+       </div>
+       <div
+               class="contactName fontSizeLarge fontWeightBold fontColorNormal textBgColorNormalTransparent"
+               data-bind="text: Phone.getDisplayNameStr($data)"></div>
+</div>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/tizen-app-template.xml b/samples/web/Sample/Tizen/Web App/Modello_Phone/tizen-app-template.xml
new file mode 100644 (file)
index 0000000..3021158
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<tizen-app-template xmlns="http://www.tizen.org/tizen-app-template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" template-version="" sdk-version="" icon32="tizen_32.png" icon64="tizen_64.png" xsi:schemaLocation="http://www.tizen.org/tizen-app-template tizen-app-template.xsd ">
+    <template-name>Modello_Phone</template-name>
+    <widget-type>TIZEN</widget-type>
+    <build-property key="usedLibraryType" value="Modello"/>
+    <description-file-name>description.xml</description-file-name>
+    <options>
+        <supportLibraries>
+        <library name="modello"/>
+        </supportLibraries>
+    </options>
+</tizen-app-template>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/tizen_32.png b/samples/web/Sample/Tizen/Web App/Modello_Phone/tizen_32.png
new file mode 100644 (file)
index 0000000..a37c33e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Phone/tizen_32.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_Phone/tizen_64.png b/samples/web/Sample/Tizen/Web App/Modello_Phone/tizen_64.png
new file mode 100644 (file)
index 0000000..f80f2ec
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_Phone/tizen_64.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/description.xml b/samples/web/Sample/Tizen/Web App/Modello_SDL/description.xml
new file mode 100644 (file)
index 0000000..335afc1
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<?xml-stylesheet type="text/xsl" href="description.xsl"?>\r
+<Overview version="1.0">\r
+  <SampleName>Modello_SDL</SampleName>\r
+  <SampleVersion>1.0.0</SampleVersion>\r
+  <Preview>Modello_SDL-snapshot.png</Preview>\r
+  <Description>\r
+         Modello SDL\r
+  </Description>\r
+</Overview>\r
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/description.xsl b/samples/web/Sample/Tizen/Web App/Modello_SDL/description.xsl
new file mode 100644 (file)
index 0000000..1f4f57f
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- 
+    This file provides a functionality to show template's description.xml in the project wizard.
+    Don't delete or move this file.
+ -->
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:template match="/">
+    <html>
+      <head>
+        <style type="text/css">
+          html,body {
+          font-family:Arial;
+          margin: 0px;
+          }
+          td
+          {
+          font-size:13px;
+          }
+          .samplename
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:26px;
+          background-color:#6d96ac;
+          }
+          .category
+          {
+          font-size:16px;
+          color:#ffffff;
+          height:30px;
+          background-color:#6d96ac;
+          }
+          .contents
+          {
+          padding: 6px 10px 14px 10px;
+          }
+          table#widgets td
+          {
+          border: solid 1px #6d96ac;
+          border-collapse: collapse;
+          }
+          .widgetname
+          {
+          font-weight: bold;
+          text-align: center;
+          width: 20%;
+          word-break:break-all;
+          }
+          table#references td
+          {
+          width: 100%;
+          border: 0px;
+          border-spacing: 0px;
+          padding: 5px;
+          }
+          .refname
+          {
+          width: 100%;
+          font-weight: bold;
+          }
+        </style>
+      </head>
+      <body>
+        <table width="400px" border="0" cellspacing="0">
+          <tr>
+            <td class="samplename" align="center">
+              <xsl:value-of select="Overview/SampleName"/>
+              <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
+                         <!--
+              <xsl:value-of select="Overview/SampleVersion"/>
+                         -->
+            </td>
+          </tr>
+          <tr bgcolor="#FFFFFF">
+            <td class="contents">
+                         <strong>Type</strong>: JavaScript
+                         <p>
+              <xsl:value-of select="Overview/Description"/>
+                         </p>
+            </td>
+          </tr>
+          <tr>
+            <td align="center" bgcolor="#FFFFFF" height="260px">
+              <img>
+                <xsl:attribute name="src">
+                  <xsl:value-of select="Overview/Preview"/>
+                </xsl:attribute>
+              </img>
+            </td>
+          </tr>
+        </table>
+      </body>
+    </html>
+  </xsl:template>
+
+</xsl:stylesheet>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/Makefile b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/Makefile
new file mode 100644 (file)
index 0000000..f91278f
--- /dev/null
@@ -0,0 +1,20 @@
+PROJECT = Modello_SDL
+
+VERSION := 0.0.2
+PACKAGE = $(PROJECT)-$(VERSION)
+
+INSTALL_FILES = $(PROJECT).wgt
+INSTALL_DIR = ${DESTDIR}/opt/usr/apps/.preinstallWidgets
+
+wgtPkg:
+       zip -r $(PROJECT).wgt app audio config.xml css ffw SmartDeviceLink_icon.png images index.html js lib locale
+
+install:
+       @echo "Installing Smart Device Link, stand by..."
+       mkdir -p $(INSTALL_DIR)/
+       mkdir -p ${DESTDIR}/opt/usr/apps/_common/icons
+       cp $(PROJECT).wgt $(INSTALL_DIR)/
+       cp SmartDeviceLink_icon.png ${DESTDIR}/opt/usr/apps/_common/icons
+
+dist:
+       tar czf ../$(PACKAGE).tar.bz2 .
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/SmartDeviceLink_icon.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/SmartDeviceLink_icon.png
new file mode 100644 (file)
index 0000000..7d6d93e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/SmartDeviceLink_icon.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/AppViews.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/AppViews.js
new file mode 100644 (file)
index 0000000..5c1f8d1
--- /dev/null
@@ -0,0 +1,83 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL
+ * @desc Setup application container for all views
+ * @category Application
+ * @filesource app/AppViews.js
+ * @version 1.0
+ */
+
+/** Appending views */
+SDL.AppViews = Em.ContainerView.extend( {
+
+    elementId: 'app',
+
+    childViews:
+        [
+            SDL.HomeView,
+            SDL.MediaView,
+            SDL.InfoView,
+//            SDL.PhoneView,
+//            SDL.NavigationView,
+//            SDL.ClimateView,
+//            SDL.SettingsView,
+//            SDL.TurnByTurnView,
+//            SDL.TBTTurnList,
+//            SDL.OptionsView,
+//            SDL.InteractionChoicesView,
+//            SDL.ScrollableMessage,
+//            SDL.SliderView,
+//            SDL.StatusClimateView,
+//            SDL.StatusMediaView,
+//            SDL.StatusNavigationView,
+//            SDL.StatusInfoView,
+//            SDL.StatusPhoneView,
+//            SDL.TopControls,
+            SDL.BottomControls
+//            SDL.TTSPopUp,
+//            SDL.AlertPopUp,
+//            SDL.AlertManeuverPopUp,
+//            SDL.AudioPassThruPopUp,
+//            SDL.VRPopUp,
+//            SDL.VehicleInfo,
+//            SDL.TBTClientStateView,
+//            SDL.DriverDistraction,
+//            SDL.ControlButtons
+        ],
+
+    /*
+     * This method is called when the app is fully rendered and ready to be
+     * displayed. We notify the backend to hide the splash and load internal
+     * view modules
+     */
+    didInsertElement: function() {
+        this._super();
+
+        SDL.set( 'appReady', true );
+    }
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/Flags.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/Flags.js
new file mode 100644 (file)
index 0000000..437d76a
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL
+ * @desc flags for application flags used for diffeerent configurations of
+ *       application As the same code base is used fro Production and RnD work
+ *       pakackages, it is necessary to configare application for different
+ *       needs/releases It is NOT recommended to extend this object with new
+ *       flags. Each modification should be discussed with PM in advance
+ * @category Application
+ * @filesource app/AppFlags.js
+ * @version 1.0
+ */
+
+FLAGS = Em.Object.create( {
+    /**
+     * Set language for localization
+     */
+    SET_LOCALIZATION: 'eng'
+
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/SDLApp.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/SDLApp.js
new file mode 100644 (file)
index 0000000..3a178e2
--- /dev/null
@@ -0,0 +1,88 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL
+ * @desc Setup application namespace and settings
+ * @category Application
+ * @filesource app/App.js
+ * @version 1.0
+ */
+
+SDL = Em.Application.create( {
+
+    /** Override for mouse/touch events */
+    customEvents: ( 'ontouchstart' in document.documentElement ) ? {
+        touchstart: 'actionDown',
+        touchend: 'actionUp',
+        touchmove: 'actionMove'
+    } : {
+        mousedown: 'actionDown',
+        mouseup: 'actionUp',
+        mousemove: 'actionMove'
+    },
+
+    /** Help mode flag {boolean} */
+    helpMode: false,
+
+    // determine home view {string}
+    homeView: 'home',
+
+    /** Set language for localization */
+    localization: 'eng',
+
+    // Application ready flag
+    appReady: false,
+
+    // Debug text
+    debugText: 'debug&nbsp;mode',
+
+    init: function() {
+        Em.Logger.log( 'SDL: Application init!' );
+
+        FFW.Buttons.connect();
+        FFW.TTS.connect();
+        FFW.VR.connect();
+        FFW.BasicCommunication.connect();
+        FFW.UI.connect();
+        FFW.VehicleInfo.connect();
+
+        this._super();
+    },
+
+    /** Application ready event */
+    ready: function() {
+        Em.Logger.log( 'SDL: Application ready!' );
+
+        /** State manager init */
+        SDL.States = StateManager.create();
+
+        /** container for all views */
+        SDL.views = SDL.AppViews.create().appendTo( 'body' );
+
+        SDL.States.goToStates(SDL.InfoController.activeState);
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/StateManager.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/StateManager.js
new file mode 100644 (file)
index 0000000..bea8e3c
--- /dev/null
@@ -0,0 +1,195 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.States
+ * @desc State manager definition
+ * @category State Manager
+ * @filesource app/StateManager.js
+ * @version 1.0
+ */
+
+// Extend base Em.State object
+Em.State.reopen( {
+
+    // used for determine display status
+    active: false,
+
+    enter: function() {
+        this.set( 'active', true );
+    },
+
+    exit: function() {
+        this.set( 'active', false );
+    }
+} );
+
+// State Manager class
+var StateManager = Em.StateManager.extend( {
+
+    // default state
+    initialState: 'home',
+
+    /**
+     *  Name of the next state to which at the moment is a transition
+     */
+    nextState: 'home',
+
+    /**
+     * Method used for determine previous currentState and
+     * make
+     */
+    goToStates: function( stateName ){
+        this.set( 'nextState', stateName );
+        this.transitionTo( stateName );
+    },
+
+    /** Go to parent state */
+    back: function() {
+        if( this.currentState.parentState.hasOwnProperty( 'name' ) ){
+            this.goToStates( this.currentState.parentState.get( 'path' ) );
+        }else{
+            this.goToStates( 'home' );
+        }
+
+        SDL.StateVisitor.visit( this.currentState );
+    },
+
+    /** Home state */
+    home: Em.State.create( {
+
+    } ),
+
+    /** Climate state */
+    climate: Em.State.create( {
+
+    } ),
+
+    /** info state */
+    info: Em.State.create( {
+
+        exit: function() {
+            SDL.InfoController.set( 'activeState', SDL.States.currentState.get( 'path' ) );
+            this._super();
+        },
+
+        services: Em.State.create( {
+
+        } ),
+
+        travelLink: Em.State.create( {
+
+        } ),
+
+        alerts: Em.State.create( {
+
+        } ),
+
+        calendar: Em.State.create( {
+
+        } ),
+
+        apps: Em.State.create( {
+
+            /**
+             * Calls function from BasicCommunicationRPC to get new list of applications
+             */
+            enter: function() {
+                this._super();
+                FFW.BasicCommunication.getAppList();
+            }
+        } ),
+
+        devicelist: Em.State.create( {
+            /**
+             * Calls function to clear device list on DeviceListView
+             */
+            enter: function() {
+                this._super();
+                SDL.DeviceListView.clearDeviceList();
+            }
+        } ),
+
+        nonMedia: Em.State.create( {
+            enter: function() {
+                this._super();
+
+                SDL.NonMediaController.restoreCurrentApp();
+            },
+
+            exit: function(){
+                this._super();
+
+                SDL.SDLAppController.deactivateApp();
+            }
+        } )
+    } ),
+
+    /** settings state */
+    settings: Em.State.create( {
+
+    } ),
+
+    /** Media state */
+    media: Em.State.create( {
+
+        exit: function() {
+            SDL.MediaController.set( 'activeState', SDL.States.currentState.get( 'path' ) );
+            this._super();
+        },
+
+        player: Em.State.create( {} ),
+
+        sdlmedia: Em.State.create( {
+
+            enter: function() {
+                this._super();
+
+                SDL.SDLMediaController.restoreCurrentApp();
+            },
+
+            exit: function(){
+                this._super();
+
+                SDL.SDLAppController.deactivateApp();
+            }
+
+        } )
+    } ),
+
+    /** Navigation state */
+    navigation: Em.State.create( {
+
+    } ),
+
+    /** Phone state */
+    phone: Em.State.create( {
+
+        dialpad: Em.State.create( {
+
+        } )
+    } )
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/AppController.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/AppController.js
new file mode 100644 (file)
index 0000000..2c9d8f3
--- /dev/null
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.AppController
+ * @desc App general logic
+ * @category Controller
+ * @filesource app/controller/AppController.js
+ * @version 1.0
+ */
+
+SDL.AppController = Em.Object.create( {
+    active: false
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/InfoController.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/InfoController.js
new file mode 100644 (file)
index 0000000..54fc8bf
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.InfoController
+ * @desc Info Controller logic
+ * @category Controller
+ * @filesource app/controller/InfoController.js
+ * @version 1.0
+ */
+
+SDL.InfoController = Em.Object.create( {
+
+    activeState: 'info.apps',
+
+    hiddenLeftMenu: false,
+
+    onState: function( event ) {
+        SDL.States.goToStates( 'info.' + event.goToState );
+    },
+
+    onChildState: function( event ) {
+
+        SDL.States.goToStates( SDL.States.currentState.get( 'path' ) + '.' + event.goToState );
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/MediaController.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/MediaController.js
new file mode 100644 (file)
index 0000000..c7561b1
--- /dev/null
@@ -0,0 +1,74 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.MediaController
+ * @desc Media module logic
+ * @category Controller
+ * @filesource app/controller/MediaController.js
+ * @version 1.0
+ */
+SDL.MediaController = Em.Object.create( {
+
+    /**
+     * Initial substate
+     */
+    activeState: 'media.player',
+
+    /**
+     * Turn on CD
+     */
+    turnOnCD: function() {
+
+        if( !SDL.States.media.player.active ){
+            SDL.States.goToStates( 'media.player' );
+        }
+
+        if( SDL.SDLAppController.model ){
+            SDL.SDLAppController.model.set( 'active', false );
+        }
+        SDL.CDModel.set( 'active', true );
+    },
+
+    /**
+     * Switching on Application
+     */
+    turnOnSDL: function() {
+
+        SDL.CDModel.set( 'active', false );
+        /**
+         * Set SDL Data active, flag for status bar
+         */
+        if( SDL.SDLAppController.model ){
+            SDL.SDLAppController.model.set( 'active', true );
+        }
+        /**
+         * Go to SDL state
+         */
+        SDL.States.goToStates( 'media.sdlmedia' );
+
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/PhoneController.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/PhoneController.js
new file mode 100644 (file)
index 0000000..c5fc8a1
--- /dev/null
@@ -0,0 +1,54 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.PhoneController
+ * @desc Phone module logic
+ * @category Controller
+ * @filesource app/controller/PhoneController.js
+ * @version 1.0
+ */
+
+SDL.PhoneController = Em.Object.create( {
+
+    /** Model binding */
+    modelBinding: "SDL.PhoneModel",
+
+    /** Dialpad delete key press handeler */
+    onDelete: function() {
+        this.model.deleteDialpadNumber();
+    },
+
+    /** Dial call handeler */
+    onEndCall: function() {
+        this.model.endCall();
+    },
+
+    /** Dial call handeler */
+    onDialCall: function() {
+        this.model.dialCall();
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/sdl/AppController.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/sdl/AppController.js
new file mode 100644 (file)
index 0000000..9ba2ae3
--- /dev/null
@@ -0,0 +1,127 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.SDLAppController
+ * @desc SDL abstract application controller
+ * @category Controller
+ * @filesource app/controller/sdl/AppController.js
+ * @version 1.0
+ */
+
+SDL.SDLAppController = Em.Object.create( {
+
+    /**
+     * Active application model binding type {SDLAppModel}
+     */
+    model: null,
+
+    /**
+     * Handeler for command button press
+     *
+     * @param element: SDL.Button
+     */
+    onCommand: function( element ) {
+
+        // if submenu
+        if( element.menuId ){
+
+            // activate driver destruction if necessary
+            if( SDL.SDLModel.driverDistractionState ){
+                SDL.DriverDistraction.activate();
+            }else{
+                this.onSubMenu( element.menuId );
+            }
+
+            return;
+        }
+
+        FFW.UI.onCommand( element.commandId, this.model.appId );
+    },
+
+    /**
+     * Open commands submenu
+     *
+     * @param {Number}
+     */
+    onSubMenu: function( id ) {
+        this.model.set( 'currentSubMenuId', id );
+    },
+
+    /**
+     * Handeler for command button press
+     *
+     * @param element: SDL.Button
+     */
+    onVRCommand: function( element ) {
+        FFW.VR.onCommand( element.commandId, element.appId );
+    },
+
+    /**
+     * Handeler for preform interaction choice send response to device and
+     * deactivate interactions window
+     *
+     * @param element: SDL.Button
+     */
+    onChoiceInteraction: function( element ) {
+
+        FFW.UI.interactionResponse( 'SUCCESS', element.performInteractionRequestId, element.choiceId );
+
+        SDL.InteractionChoicesView.deactivate( false );
+    },
+
+    /**
+     * Open commands list
+     */
+    openCommandsList: function() {
+        SDL.OptionsView.activate();
+    },
+
+    /**
+     * Notification of deactivation of current application model initiated in
+     * StateManager
+     */
+    deactivateApp: function() {
+
+        if( this.model ){
+            SDL.SDLModel.onDeactivateApp( SDL.States.nextState, this.model.appId, this.model.appName );
+        }
+
+    },
+
+    /**
+     * Method clears all applications data and unregister models
+     */
+    onSDLDisconected: function() {
+        var i = 0, apps = SDL.SDLModel.registeredApps;
+
+        for( i = 0; i < apps.length; i++ ){
+            SDL.SDLModel.onAppUnregistered( {
+                "appId": apps[i].appId
+            } );
+        }
+    }
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/sdl/Controller.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/sdl/Controller.js
new file mode 100644 (file)
index 0000000..a766562
--- /dev/null
@@ -0,0 +1,467 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.SDLController
+ * @desc Main SDL Controller
+ * @category Controller
+ * @filesource app/controller/sdl/SDLController.js
+ * @version 1.0
+ */
+
+SDL.SDLController = Em.Object.create( {
+
+    /**
+     * Current system context
+     *
+     * @type {String}
+     */
+    sysContext: function() {
+
+        if( SDL.VRPopUp.VRActive ){
+            return 'VRSESSION';
+        }
+
+        if( SDL.AlertPopUp.active ){
+            return 'ALERT';
+        }
+
+        if( SDL.TBTClientStateView.active || SDL.VehicleInfo.active || SDL.DriverDistraction.active ){
+            return 'HMI_OBSCURED';
+        }
+
+        if( SDL.OptionsView.active ){
+            return 'MENU';
+        }
+
+        if( SDL.States.info.nonMedia.active || SDL.States.media.sdlmedia.active ){
+            return 'MAIN';
+        }else{
+            return 'MENU';
+        }
+
+    }.property( 'SDL.DriverDistraction.active', 'SDL.OptionsView.active', 'SDL.VRPopUp.VRActive', 'SDL.AlertPopUp.active', 'SDL.TBTClientStateView.active',
+                    'SDL.VehicleInfo.active', 'SDL.States.info.nonMedia.active', 'SDL.States.media.sdlmedia.active' ),
+
+    /**
+     * List of SDL application models
+     *
+     * @type object
+     */
+    applicationModels: {
+        0: SDL.SDLMediaModel,
+        1: SDL.SDLNonMediaModel
+    },
+
+    /**
+     * Default action for SoftButtons: closes window, popUp or clears
+     * applications screen
+     *
+     * @param {Object}
+     */
+    defaultActionSoftButton: function( element ) {
+        switch( element.groupName ){
+
+            case "AlertPopUp": {
+                SDL.AlertPopUp.deactivate( true );
+                break;
+            }
+            case "ScrollableMessage": {
+                SDL.ScrollableMessage.deactivate();
+                break;
+            }
+            case "TurnByTurnView": {
+                SDL.TurnByTurnView.deactivate();
+                break;
+            }
+            case "NonMediaView": {
+                SDL.SDLController.getApplicationModel( element.appId ).clearAppOverLay();
+                break;
+            }
+            case "MediaView": {
+                SDL.SDLController.getApplicationModel( element.appId ).clearAppOverLay();
+                break;
+            }
+
+        }
+    },
+
+    /**
+     * Action to show Voice Recognition PopUp
+     */
+    activateVRPopUp: function() {
+        SDL.VRPopUp.activateVRPopUp();
+    },
+
+    /**
+     * Action for SoftButtons that closes popUp or window and opens applications
+     * screen
+     *
+     * @param {Object}
+     */
+    stealFocusSoftButton: function( element ) {
+        switch( element.groupName ){
+
+            case "AlertPopUp": {
+                SDL.AlertPopUp.deactivate();
+                SDL.SDLController.getApplicationModel( element.appId ).turnOnSDL();
+                break;
+            }
+            case "ScrollableMessage": {
+                SDL.ScrollableMessage.deactivate();
+                SDL.SDLController.getApplicationModel( element.appId ).turnOnSDL();
+                break;
+            }
+
+        }
+    },
+
+    /**
+     * Action for SoftButtons that clears popUps timer and it become visible all
+     * the time until user user closes it
+     *
+     * @param {Object}
+     */
+    keepContextSoftButton: function( element ) {
+        switch( element.groupName ){
+
+            case "AlertPopUp": {
+                SDL.AlertPopUp.set( 'timer', 0 );
+                break;
+            }
+            case "ScrollableMessage": {
+                SDL.ScrollableMessage.set( 'timer', 0 );
+                break;
+            }
+
+        }
+    },
+
+    /**
+     * Method to close AlertMeneuverPopUp view
+     */
+    closeAlertMeneuverPopUp: function() {
+        SDL.AlertManeuverPopUp.set( 'activate', false );
+    },
+
+    /**
+     * Method to open Turn List view from TBT
+     *
+     * @param {Number} appId AppId of activated sdl application
+     */
+    tbtTurnList: function( appId ) {
+        SDL.TBTTurnList.activate( appId );
+    },
+
+    /**
+     * Method to sent notification with selected state of TBT Client State
+     *
+     * @param {String}
+     */
+    tbtClientStateSeleced: function( state ) {
+        FFW.UI.onTBTClientState( state, SDL.SDLAppController.model.appId );
+    },
+
+    /**
+     * Method to sent notification ABORTED for PerformInteractionChoise
+     */
+    interactionChoiseCloseResponse: function( result, performInteractionRequestId ) {
+        FFW.UI.interactionResponse( result, performInteractionRequestId );
+    },
+
+    /**
+     * Method to sent notification for Alert
+     *
+     * @param {String} result
+     * @param {Number} alertRequestId
+     */
+    alertResponse: function( result, alertRequestId ) {
+        FFW.UI.sendUIResult( result, alertRequestId, 'UI.Alert' );
+    },
+
+    /**
+     * Method to sent notification for Scrollable Message
+     *
+     * @param {String} result
+     * @param {Number} messageRequestId
+     */
+    scrollableMessageResponse: function( result, messageRequestId ) {
+        FFW.UI.sendUIResult( result, messageRequestId, 'UI.ScrollableMessage' );
+    },
+
+    /**
+     * Method to sent notification for Slider
+     *
+     * @param {String} result
+     * @param {Number} sliderRequestId
+     */
+    sliderResponse: function( result, sliderRequestId ) {
+        FFW.UI.sendUIResult( result, sliderRequestId, 'UI.Slider' );
+    },
+
+    /**
+     * Method to call performAudioPassThruResponse with Result code parameters
+     *
+     * @param {Object} element Button object
+     */
+    callPerformAudioPassThruPopUpResponse: function( element ) {
+        this.performAudioPassThruResponse( element.responseResult );
+    },
+
+    /**
+     * Method close PerformAudioPassThruPopUp and call response from UIRPC back
+     * to SDLCore
+     *
+     * @param {String} result Result code
+     */
+    performAudioPassThruResponse: function( result ) {
+        SDL.SDLModel.set( 'AudioPassThruState', false );
+        FFW.UI.sendUIResult( result, FFW.UI.performAudioPassThruRequestId, "UI.PerformAudioPassThru" );
+    },
+
+    /**
+     * Method to set language for UI component with parameters sent from SDLCore
+     * to UIRPC
+     */
+    onLanguageChangeUI: function() {
+        FFW.UI.OnLanguageChange( SDL.SDLModel.hmiUILanguage );
+    }.observes( 'SDL.SDLModel.hmiUILanguage' ),
+
+    /**
+     * Method to set language for TTS and VR components with parameters sent
+     * from SDLCore to UIRPC
+     */
+    onLanguageChangeTTSVR: function() {
+        FFW.TTS.OnLanguageChange( SDL.SDLModel.hmiTTSVRLanguage );
+        FFW.VR.OnLanguageChange( SDL.SDLModel.hmiTTSVRLanguage );
+    }.observes( 'SDL.SDLModel.hmiTTSVRLanguage' ),
+
+    /**
+     * Register application
+     *
+     * @param {Object} params
+     * @param {Number} applicationType
+     */
+    registerApplication: function( params, applicationType ) {
+
+        SDL.SDLModel.get( 'registeredApps' ).pushObject( SDL.SDLController.applicationModels[applicationType].create( {
+            appId: params.appId,
+            appName: params.appName,
+            deviceName: params.deviceName
+        } ) );
+
+    },
+
+    /**
+     * Unregister application
+     *
+     * @param {Number} appId
+     */
+    unregisterApplication: function( appId ) {
+
+        this.getApplicationModel( appId ).onDeleteApplication( appId );
+
+        this.getApplicationModel( appId ).set( 'active', false );
+
+        var index = SDL.SDLModel.registeredApps.indexOf( SDL.SDLModel.registeredApps.filterProperty( 'appId', appId )[0] );
+
+        SDL.SDLModel.registeredApps.replace( index, 1 );
+
+        this.set( 'model', null );
+
+    },
+
+    /**
+     * SDL Driver Distraction ON/OFF switcher
+     */
+    selectDriverDistraction: function() {
+        if( SDL.SDLModel.driverDistractionState ){
+            FFW.UI.onDriverDistraction( "DD_ON" );
+        }else{
+            FFW.UI.onDriverDistraction( "DD_OFF" );
+        }
+    }.observes( 'SDL.SDLModel.driverDistractionState' ),
+
+    /**
+     * SDL Protocol Version 2 ON/OFF switcher
+     */
+    selectProtocolVersion: function() {
+        if( SDL.SDLModel.protocolVersion2State ){
+            FFW.BasicCommunication.OnVersionChanged( 2 );
+        }else{
+            FFW.BasicCommunication.OnVersionChanged( 1 );
+        }
+    }.observes( 'SDL.SDLModel.protocolVersion2State' ),
+
+    /**
+     * Get application model
+     *
+     * @param {Number}
+     */
+    getApplicationModel: function( applicationId ) {
+        return SDL.SDLModel.registeredApps.filterProperty( 'appId', applicationId )[0];
+    },
+
+    /**
+     * Function returns ChangeDeviceView back to previous state
+     */
+    turnChangeDeviceViewBack: function() {
+        SDL.States.goToStates( 'info.apps' );
+    },
+
+    /**
+     * Enter screen vith list of devices application model
+     */
+    onGetDeviceList: function() {
+        SDL.States.goToStates( 'info.devicelist' );
+        FFW.BasicCommunication.getDeviceList();
+    },
+
+    /**
+     * Send notification if device was choosed
+     *
+     * @param element: SDL.Button
+     */
+    onDeviceChoosed: function( element ) {
+        FFW.UI.OnDeviceChosen( element.deviceName );
+        this.turnChangeDeviceViewBack();
+    },
+
+    /**
+     * Method creates list of Application ID's Then call HMI method for display
+     * a list of Applications
+     *
+     * @param {Object}
+     */
+    onGetAppList: function( appList ) {
+        SDL.SDLModel.onGetAppList( appList );
+    },
+
+    /**
+     * Method call's request to get list of applications
+     */
+    findNewApps: function() {
+        FFW.BasicCommunication.getAppList();
+    },
+
+    /**
+     * Method activates selected registered application
+     *
+     * @param {Object}
+     */
+    onActivateSDLApp: function( element ) {
+        this.getApplicationModel( element.appId ).turnOnSDL();
+    },
+
+    /**
+     * Method sent custom softButtons pressed and event status to RPC
+     *
+     * @param {Object}
+     */
+    onSoftButtonActionUpCustom: function( element ) {
+        if( element.time > 0 ){
+            FFW.Buttons.buttonEventCustom( "CUSTOM_BUTTON", "BUTTONUP", element.softButtonID );
+        }else{
+            FFW.Buttons.buttonEventCustom( "CUSTOM_BUTTON", "BUTTONUP", element.softButtonID );
+            FFW.Buttons.buttonPressedCustom( "CUSTOM_BUTTON", "SHORT", element.softButtonID );
+        }
+        clearTimeout( element.timer );
+        element.time = 0;
+    },
+
+    /**
+     * Method sent custom softButtons pressed and event status to RPC
+     *
+     * @param {Object}
+     */
+    onSoftButtonActionDownCustom: function( element ) {
+        FFW.Buttons.buttonEventCustom( "CUSTOM_BUTTON", "BUTTONDOWN", element.softButtonID );
+        element.time = 0;
+        element.timer = setTimeout( function() {
+            FFW.Buttons.buttonPressedCustom( "CUSTOM_BUTTON", "LONG", element.softButtonID );
+            element.time++;
+        }, 2000 );
+    },
+
+    /**
+     * Method sent softButtons pressed and event status to RPC
+     *
+     * @param {String}
+     * @param {Object}
+     */
+    onSoftButtonActionUp: function( element ) {
+        if( element.time > 0 ){
+            FFW.Buttons.buttonEvent( element.presetName, "BUTTONUP" );
+        }else{
+            FFW.Buttons.buttonEvent( element.presetName, "BUTTONUP" );
+            FFW.Buttons.buttonPressed( element.presetName, "SHORT" );
+        }
+        clearTimeout( element.timer );
+        element.time = 0;
+    },
+
+    /**
+     * Method sent softButtons Ok pressed and event status to RPC
+     *
+     * @param {String}
+     */
+    onSoftButtonOkActionDown: function( name ) {
+        FFW.Buttons.buttonEvent( name, "BUTTONDOWN" );
+    },
+
+    /**
+     * Method sent softButton OK pressed and event status to RPC
+     *
+     * @param {String}
+     */
+    onSoftButtonOkActionUp: function( name ) {
+        FFW.Buttons.buttonEvent( name, "BUTTONUP" );
+        FFW.Buttons.buttonPressed( name, "SHORT" );
+        SDL.SDLAppController.model.set( 'isPlaying', !SDL.SDLAppController.model.isPlaying );
+    },
+
+    /**
+     * Method sent softButtons pressed and event status to RPC
+     *
+     * @param {String}
+     * @param {Object}
+     */
+    onSoftButtonActionDown: function( element ) {
+        FFW.Buttons.buttonEvent( element.presetName, "BUTTONDOWN" );
+        element.time = 0;
+        element.timer = setTimeout( function() {
+            FFW.Buttons.buttonPressed( element.presetName, "LONG" );
+            element.time++;
+        }, 2000 );
+    },
+
+    /**
+     * Send system context
+     */
+    onSystemContextChange: function() {
+        FFW.UI.OnSystemContext( this.get( 'sysContext' ) );
+    }
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/sdl/MediaController.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/sdl/MediaController.js
new file mode 100644 (file)
index 0000000..3615124
--- /dev/null
@@ -0,0 +1,139 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.SDLMediaController
+ * @desc SDL Media Controller logic
+ * @category Controller
+ * @filesource app/controller/sdl/SDLMediaController.js
+ * @version 1.0
+ */
+
+SDL.SDLMediaController = Em.Object.create( {
+
+    /**
+     * Current Media application id
+     *
+     * @type {Number}
+     */
+    currentAppId: 0,
+
+    /**
+     * Return current Media application name used for application button
+     */
+    currentAppName: function() {
+        if( this.currentAppId ){
+            return SDL.SDLController.getApplicationModel( this.currentAppId ).appName;
+        }
+    }.property( 'this.currentAppId' ),
+
+    /**
+     * Return current Media application icon used for application button
+     */
+    currentAppIcon: function() {
+        if( this.currentAppId ){
+            return SDL.SDLController.getApplicationModel( this.currentAppId ).appIcon;
+        }
+    }.property( 'this.currentAppId', 'SDL.SDLAppController.model.appIcon' ),
+
+    /** Call notification OnCommand on UIRPC */
+    onCommand: function( element ) {
+        FFW.UI.onCommand( element.commandId, element.appId );
+    },
+
+    /** Call notification OnCommandSoftButton on UIRPC */
+    onCommandSoftButton: function( element ) {
+        FFW.UI.onCommandSoftButton( element.softButtonID, element.appId );
+    },
+
+    /** Switching on Application */
+    activateApp: function( applicationModel ) {
+
+        // store active application id
+        this.set( 'currentAppId', applicationModel.appId );
+
+        // set active model
+        SDL.SDLAppController.set( 'model', applicationModel );
+
+        // FFW.BasicCommunication.ActivateApp( applicationModel.appId );
+
+        // SDL.MediaController.listDown();
+
+        SDL.MediaController.turnOnSDL();
+
+    },
+
+    /**
+     * Restore current application to active state
+     */
+    restoreCurrentApp: function() {
+
+        if( SDL.SDLAppController.model.appId === this.currentAppId ){
+            FFW.BasicCommunication.ActivateApp( this.currentAppId );
+            return;
+        }
+        this.activateApp( SDL.SDLController.getApplicationModel( this.currentAppId ) );
+    },
+
+    /** SDL perform interaction action from VR */
+    onVRPerformInteractionChoosed: function( element ) {
+
+        if( SDL.States.media.sdl.sdlperforminteractionchoise.active ){
+            FFW.VR.onChoise( element.choiceID );
+            SDL.States.back();
+        }
+
+    },
+
+    /** SDL perform interaction action */
+    onPerformInteractionChoosed: function( element ) {
+
+        if( SDL.States.media.sdl.sdlperforminteractionchoise.active ){
+            FFW.UI.interactionResponse( "SUCCESS", element.choiceID );
+            SDL.States.back();
+        }
+
+    },
+
+    /**
+     * Method hides sdl activation button and sdl application
+     *
+     * @param {Number}
+     */
+    onDeleteApplication: function( appId ) {
+        if( this.currentAppId == appId ){
+
+            if( SDL.States.media.sdlmedia.active || SDL.SDLAppController.model.active ){
+
+                SDL.States.goToStates( 'info.apps' );
+
+                SDL.MediaController.set( 'activeState', 'media.player' );
+            }
+
+            this.set( 'currentAppId', 0 );
+        }
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/sdl/NonMediaController.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controller/sdl/NonMediaController.js
new file mode 100644 (file)
index 0000000..9ba1fa9
--- /dev/null
@@ -0,0 +1,106 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.NonMediaController
+ * @desc SDL NonMedia Controller logic
+ * @category Controller
+ * @filesource app/controller/sdl/NonMediaController.js
+ * @version 1.0
+ */
+
+SDL.NonMediaController = Em.Object.create( {
+
+    /**
+     * Current NonMedia application id
+     *
+     * @type {Number}
+     */
+    currentAppId: 0,
+
+    /**
+     * Return current NonMedia application name used for application button
+     */
+    currentAppName: function() {
+        if( this.currentAppId ){
+            return SDL.SDLController.getApplicationModel( this.currentAppId ).appName;
+        }
+    }.property( 'this.currentAppId' ),
+
+    /**
+     * Return current NonMedia application icon used for application button
+     */
+    currentAppIcon: function() {
+        if( this.currentAppId ){
+            return SDL.SDLController.getApplicationModel( this.currentAppId ).appIcon;
+        }
+    }.property( 'this.currentAppId', 'SDL.SDLAppController.model.appIcon' ),
+
+    /**
+     * Activate application model
+     *
+     * @param {SDLAppModel}
+     */
+    activateApp: function( applicationModel ) {
+
+        // store active application id
+        this.set( 'currentAppId', applicationModel.appId );
+
+        // set active model
+        SDL.SDLAppController.set( 'model', applicationModel );
+
+        // send response
+        // FFW.BasicCommunication.ActivateApp( applicationModel.appId );
+
+        // Go to SDL state
+        SDL.States.goToStates( 'info.nonMedia' );
+    },
+
+    /**
+     * Restore current application to active state
+     */
+    restoreCurrentApp: function() {
+        if( SDL.SDLAppController.model.appId === this.currentAppId ){
+            FFW.BasicCommunication.ActivateApp( this.currentAppId );
+            return;
+        }
+        this.activateApp( SDL.SDLController.getApplicationModel( this.currentAppId ) );
+    },
+
+    /**
+     * Method hides sdl activation button and sdl application
+     *
+     * @param {Number}
+     */
+    onDeleteApplication: function( appId ) {
+        if( this.currentAppId == appId ){
+            if( SDL.States.info.nonMedia.active ){
+                SDL.States.goToStates( 'info.apps' );
+            }
+            this.set( 'currentAppId', 0 );
+        }
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/Button.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/Button.js
new file mode 100644 (file)
index 0000000..143d748
--- /dev/null
@@ -0,0 +1,161 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.Button
+ * @desc Universal button component for SDL application
+ * @category Controlls
+ * @filesource app/controlls/Button.js
+ * @version 1.0
+ */
+
+SDL.Button = Em.View.extend( Ember.TargetActionSupport, {
+    classNames:
+        [
+            'ffw-button',
+            'notpressed'
+        ],
+
+    classNameBindings:
+        [
+            'pressed',
+            'disabled',
+            'hidden'
+        ],
+
+    /** Pressed state binding */
+    pressed: false,
+
+    /** Disable actions on button */
+    disabled: false,
+
+    /** Button icon class */
+    icon: null,
+
+    /** Button text */
+    text: null,
+
+    rightText: null,
+
+    target: this.target ? this.target : this,
+
+    /** Arrow icon */
+    arrow: false,
+
+    /** Button timer flag */
+    timer: 0,
+
+    timerId: null,
+    /** Touch leave event flag */
+    touchleave: false,
+
+    onDown: true,
+
+    helpMode: false,
+    /**  */
+    targetElement: null,
+
+    actionDown: function( event ) {
+        if( this.get( 'disabled' ) ){
+            return;
+        }
+
+        var self = this;
+
+        this.set( 'pressed', true );
+        /** Set Mouse Leave Event Flag to false */
+        this.set( 'mouseleave', false );
+
+
+        // Default trigger action
+        if( this.onDown ){
+            this.triggerAction();
+        }
+
+        // Call trigger with timeout
+        if( this.timer ){
+            this.timerId = setInterval( function() {
+                self.triggerAction();
+            }, this.timer );
+        }
+    },
+
+    actionUp: function( event ) {
+        this.set( 'pressed', false );
+
+        if( this.timer ){
+            clearInterval( this.timerId );
+        }
+
+        if( this.get( 'disabled' ) ){
+            if( this.touchleave == true ){
+                this.set( 'touchleave', false );
+            }
+            return;
+        }
+
+        if( !this.onDown ){
+            this.triggerAction();
+        }
+    },
+
+    /** Only for desktop */
+    mouseLeave: function( event ) {
+        this.set( 'pressed', false );
+
+        if( this.timer ){
+            clearInterval( this.timerId );
+        }
+    },
+
+    /**
+     * Only for IOS Simulation of mouseleave event for touch
+     * devices If target element looses focus during touch move
+     * event events dont trigger
+     */
+    touchMove: function( event ) {
+        /** Set Mouse Leave Event Flag to true */
+        this.set( 'touchleave', this.targetElement !== document.elementFromPoint( event.originalEvent.touches[0].pageX, event.originalEvent.touches[0].pageY ) );
+    },
+
+    // component default template
+    defaultTemplate: Em.Handlebars.compile( '<img class="ico" {{bindAttr src="view.icon"}} />' + '<span>{{view.text}}</span>' ),
+
+    templates: {
+        text: Em.Handlebars.compile( '<span>{{view.text}}</span>' ),
+
+        icon: Em.Handlebars.compile( '<img class="ico" {{bindAttr src="view.icon"}} />' ),
+
+        rightText: Em.Handlebars.compile( '<img class="ico" {{bindAttr src="view.icon"}} />' + '<span>{{view.text}}</span>'
+                        + '<span class="right_text">{{view.rightText}}</span>' ),
+
+        arrow: Em.Handlebars.compile( '<img class="ico" {{bindAttr src="view.icon"}} />' + '<span>{{view.text}}</span>'
+                        + '<img class="arrow-ico" src="images/common/arrow_ico.png" />' ),
+
+        rightIcon: Em.Handlebars.compile( '<img class="ico" {{bindAttr src="view.icon"}} />' + '<span>{{view.text}}</span>'
+                        + '<img class="right_ico" {{bindAttr src="view.righticon"}} />' )
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/Indicator.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/Indicator.js
new file mode 100644 (file)
index 0000000..4b6389e
--- /dev/null
@@ -0,0 +1,125 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.Indicator
+ * @desc Universal button component with value indicator for SDL application
+ * @category Controlls
+ * @filesource app/controlls/Indicator.js
+ * @version 1.0
+ */
+
+SDL.Indicator = Em.View.extend( Ember.TargetActionSupport, {
+
+    /** Content binding */
+    content: null,
+
+    /** internal indicators array */
+    indicators: null,
+
+    /** indicator active class */
+    indActiveClass: null,
+
+    /** indicator default class */
+    indDefaultClass: null,
+
+    /** Set active indicator from the start */
+    startFrom: null,
+
+    /** binding property to enable/disable indicators */
+    enabledBinding: 'content.enabled',
+
+    /**
+     * Before rendering view handeler need to generate indicators array based on
+     * indicator range value
+     */
+    beforeRender: function() {
+        // define variables
+        var length = this.content.range, view = this, i;
+
+        // generate indicators
+        this.indicators = [];
+
+        for( i = 0; i < length; i++ ){
+            this.indicators.push( Em.Object.create( {
+                index: i,
+                className: this.indDefaultClass
+            } ) );
+        }
+        // apply indicator visualization rule
+        view.setRecord();
+
+        if( this.startFrom ){
+            this.indicators[this.startFrom].set( 'className', this.indActiveClass );
+        }
+
+        // add observer to content record
+        this.addObserver( 'content', function() {
+            view.setRecord();
+        } );
+
+        // view internal call
+        this.applyAttributesToBuffer( this.buffer );
+    },
+
+    actionDown: function() {
+        this.triggerAction();
+    },
+
+    // change record binding
+    setRecord: function() {
+
+        var view = this;
+
+        if( this.content.observersForKey( 'value' ).length == 0 ){
+
+            this.content.addObserver( 'value', function() {
+                view.toggleIndicators();
+            } );
+
+        }
+
+        this.toggleIndicators();
+    },
+
+    // Toggle indicator handeler
+    toggleIndicators: function() {
+
+        var length = this.indicators.length, i;
+
+        for( i = 0; i < length; i++ ){
+            if( i >= this.content.value ){
+                this.indicators[i].set( 'className', 'SDL_indicator ' + this.indDefaultClass );
+            }else{
+                this.indicators[i].set( 'className', 'SDL_indicator ' + this.indActiveClass );
+            }
+        }
+    },
+
+    /** Define indicator template */
+    template: Ember.Handlebars.compile( '{{#with view}}' + '{{#each indicators}}' + '<div {{bindAttr class="className view.enabled:show"}}></div>' + '{{/each}}' + '{{/with}}' )
+
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/Label.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/Label.js
new file mode 100644 (file)
index 0000000..768aaa5
--- /dev/null
@@ -0,0 +1,55 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.Label
+ * @desc Universal label component for SDL application
+ * @category Controlls
+ * @filesource app/controlls/Label.js
+ * @version 1.0
+ */
+
+SDL.Label = Em.View.extend( {
+    classNameBindings:
+        [
+            'disabled'
+        ],
+    classNames: 'label',
+
+    // component default template
+    defaultTemplate: Em.Handlebars.compile( '<span>{{view.content}}</span>' ),
+
+    templates: {
+        icon: Em.Handlebars.compile( '<img class="ico" {{bindAttr src="view.icon"}} />' + '<span>{{view.content}}</span>' )
+    }
+
+/** Define button template */
+/*
+ * template: Ember.Handlebars.compile( '{{#with view}}'+ '{{#if icon}}<img
+ * class="ico" {{bindAttr src="icon"}} />{{/if}}'+ '<span>{{content}}</span>'+
+ * '{{/with}}' )
+ */
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/List.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/List.js
new file mode 100644 (file)
index 0000000..2977643
--- /dev/null
@@ -0,0 +1,174 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.List
+ * @desc General list component for SDL application
+ * @category Controlls
+ * @filesource app/controlls/List.js
+ * @version 1.0
+ */
+
+SDL.List = Em.ContainerView.extend( {
+
+    classNames: 'list',
+
+    /** flag for scrollbar */
+    disableScrollbar: true,
+
+    /** Set count of items at one time */
+    itemsOnPage: 0,
+
+    /** Speed of scrolling in milliseconds */
+    scrollBarSpeed: 200,
+
+    /** Number of columns on page */
+    columnsNumber: 1,
+
+    itemheight: 50,
+
+    /** Current scroll page */
+    currentPage: 0,
+
+    /** Css style of list */
+    listScrollingAttributes: '',
+
+    /** Count of items in menu */
+    /*
+     * listCount: function(){ if( this.items ) { return this.items.length; }
+     * }.property('items.@each.type'),
+     */
+    listCount: function() {
+        // console.log(this.get('this.list.childViews.length'));
+        return this.get( 'this.list.childViews.length' );
+    }.property( 'this.list.childViews.length' ),
+
+    /** Pages count */
+    pageCount: function() {
+        return Math.ceil( this.get( 'listCount' ) / this.get( 'columnsNumber' ) / this.get( 'itemsOnPage' ) );
+    }.property( 'listCount', 'itemsOnPage' ),
+
+    listHeight: function() {
+        return this.itemsOnPage * this.itemheight;
+    }.property( 'itemsOnPage' ),
+
+    /** Action of element "sb-top" which show previous list page */
+    sbUp: function() {
+        if( this.get( 'currentPage' ) > 0 ){
+            this.set( 'currentPage', this.get( 'currentPage' ) - 1 );
+        }
+    },
+
+    /** Action of element "sb-bottom" which show previous list page */
+    sbDown: function() {
+        if( this.get( 'currentPage' ) < this.get( 'pageCount' ) - 1 ){
+            this.set( 'currentPage', this.get( 'currentPage' ) + 1 );
+        }
+    },
+
+    /** Scroll content according to current page */
+    onCurrentPageChange: function() {
+        this.set( 'listScrollingAttributes', 'margin-top: ' + ( this.get( 'currentPage' ) * this.itemsOnPage * ( -50 ) ) + 'px' );
+    }.observes( 'currentPage' ),
+
+    /** Method for delete certain item from list */
+    deleteItem: function( id ) {
+        this.items.splice( id, 1 );
+        this.list.refresh();
+    },
+
+    /** List components */
+    childViews:
+        [
+            'list',
+            'scrollbar'
+        ],
+
+    /** List view */
+    list: Em.ContainerView.extend( {
+
+        classNames: 'list-content',
+
+        listStyleBinding: 'parentView.listScrollingAttributes',
+
+        attributeBindings:
+            [
+                'listStyle:style'
+            ],
+
+        refresh: function() {
+            this.rerender();
+        }.observes( '_parentView.items.@each.type' ),
+
+        afterRender: function() {
+            var items = this._parentView.items, element, i, key, binding;
+
+            for( i = 0; i < items.length; i++ ){
+
+                element = items[i].type.create( {
+                    // element id
+                    elementId: this._parentView.elementId + '_item' + i,
+
+                    // list item css class
+                    classNames: 'list-item',
+
+                    classNameBindings:
+                        [
+                            'this.voiceOver'
+                        ],
+
+                    // Dynamic property set
+                    init: function() {
+                        for( key in items[i].params ){
+                            if( key.match( 'Binding' ) != null ){
+                                binding = Ember.Binding.from( items[i].params[key] ).to( key.replace( 'Binding', '' ) );
+                                binding.connect( this );
+                                // Set one way binding
+                                binding.oneWay();
+                            }else{
+                                this.set( key, items[i].params[key] );
+                            }
+                        }
+                        this._super();
+                        // synchronize bindings
+                        Ember.run.sync();
+                    }
+                } )
+
+                // Push element to list
+                this.get( 'childViews' ).pushObject( element );
+            }
+        }
+    } ),
+
+    /** Scrollbar view */
+    scrollbar: SDL.ScrollBar.extend( {
+        currentPageBinding: 'parentView.currentPage',
+        pageCountBinding: 'parentView.pageCount',
+        listHeightBinding: 'parentView.listHeight',
+        scrollBarIsDisabledBinding: 'parentView.disableScrollbar'
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/MenuList.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/MenuList.js
new file mode 100644 (file)
index 0000000..b0e16d3
--- /dev/null
@@ -0,0 +1,189 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.MenuList
+ * @desc
+ * @category Controlls
+ * @filesource app/controlls/MenuList.js
+ * @version 1.0
+ */
+
+SDL.MenuList = Em.ContainerView.extend( {
+
+    /**
+     * Add new item to container
+     *
+     * @param buttons: SoftButton[]
+     */
+    addItems: function( buttons, appId ) {
+
+        this.deleteItems();
+
+        if( buttons ){
+            for( var i = 0; i < buttons.length; i++ ){
+                this.get( 'content.childViews' ).pushObject( SDL.Button.create( SDL.PresetEventsCustom, {
+                    text: buttons[i].text,
+                    icon: buttons[i].image,
+                    softButtonId: buttons[i].softButtonID,
+                    systemAction: buttons[i].systemAction,
+                    groupName: this.groupName,
+                    appId: appId
+                } ) );
+            }
+        }
+    },
+
+    /**
+     * Delete existing Soft Buttons from container
+     */
+    deleteItems: function() {
+
+        this.get( 'content.childViews' ).removeObjects( this.get( 'content.childViews' ).filterProperty( 'softButtonId' ) );
+    },
+
+    classNames:
+        [
+            'ffw_list_menu'
+        ],
+
+    attributeBindings:
+        [
+            'elementHeight:style'
+        ],
+
+    // Position of current page
+    page: 0,
+
+    // Items per one page
+    itemsOnPage: 5,
+
+    // Height of one item
+    ITEM_HEIGHT: 50,
+
+    pageHeight: function() {
+        return this.itemsOnPage * this.ITEM_HEIGHT;
+    }.property( 'this.itemsOnPage' ),
+
+    elementHeight: function() {
+        return 'height:' + String( this.get( 'pageHeight' ) + this.ITEM_HEIGHT - 2 ) + 'px;';
+    }.property( 'this.pageHeight' ),
+
+    // Position of content block
+    contentPositon: function() {
+        return 'top:' + String( -( this.get( 'page' ) * this.get( 'pageHeight' ) ) ) + 'px; height:'
+                        + String( this.get( 'pageHeight' ) - ( Boolean( this.get( 'onLastPage' ) && this.get( 'page' ) ) * this.ITEM_HEIGHT ) ) + 'px;';
+    }.property( 'onLastPage' ),
+
+    // Property for show or hide 'down' button
+    onLastPage: function() {
+        return( ( this.get( 'page' ) * this.itemsOnPage ) < ( this.get( 'content.childViews.length' ) - this.itemsOnPage ) );
+    }.property( 'page', 'content.childViews.length' ),
+
+    // Handeler to go previous page
+    pageUp: function() {
+        if( this.get( 'page' ) ){
+            this.set( 'page', ( this.get( 'page' ) - 1 ) );
+        }
+    },
+
+    // Handeler to go next page
+    pageDown: function() {
+        if( this.get( 'onLastPage' ) ){
+            this.set( 'page', ( this.get( 'page' ) + 1 ) );
+        }
+    },
+
+    childViews:
+        [
+            'upButton',
+            'content',
+            'downButton'
+        ],
+
+    upButton: SDL.Button.extend( {
+
+        classNames:
+            [
+                'control',
+                'up_button'
+            ],
+
+        hidden: function() {
+            if( this.get( 'parentView.page' ) ){
+                return false;
+            }else{
+                return true;
+            }
+        }.property( 'parentView.page' ),
+
+        templateName: 'icon',
+
+        icon: 'images/media/ico_arrow_up.png',
+
+        action: 'pageUp',
+
+        target: 'parentView'
+    } ),
+
+    downButton: SDL.Button.extend( {
+
+        classNames:
+            [
+                'control',
+                'down_button'
+            ],
+
+        hidden: function() {
+            if( this.get( 'parentView.onLastPage' ) ){
+                return false;
+            }else{
+                return true;
+            }
+        }.property( 'parentView.onLastPage' ),
+
+        templateName: 'icon',
+
+        icon: 'images/media/ico_arrow_down.png',
+
+        action: 'pageDown',
+
+        target: 'parentView'
+    } ),
+
+    content: Em.ContainerView.extend( {
+
+        classNames:
+            [
+                'content'
+            ],
+
+        attributeBindings:
+            [
+                'parentView.contentPositon:style'
+            ]
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/ScrollBar.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/ScrollBar.js
new file mode 100644 (file)
index 0000000..b917305
--- /dev/null
@@ -0,0 +1,161 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.ScrollBar
+ * @desc ScrollBar component for List component
+ * @category Controlls
+ * @filesource app/controlls/ScrollBar.js
+ * @version 1.0
+ */
+
+SDL.ScrollBar = Em.ContainerView.extend( {
+
+    /** Define enable/disable scrollbar */
+    classNameBindings:
+        [
+            'scrollBarIsDisabled:is-disabled'
+        ],
+
+    /** Componet class */
+    classNames: 'scrollbar',
+
+    /** Childs views */
+    childViews:
+        [
+            'upButton',
+            'bar',
+            'downButton'
+        ],
+
+    /** current page */
+    currentPage: 1,
+
+    /** Pages count */
+    pageCount: 0,
+
+    listHeight: 250,
+
+    /** On/OF scrollbar */
+    scrollBarIsDisabled: false,
+
+    /** Define bar height */
+    sbHeight: function() {
+        /** Max bar height */
+        this.maxHeight = this.listHeight - 102;
+        if( this.pageCount <= 1 ){
+            return this.maxHeight + 1;
+        }else{
+            return( this.maxHeight / this.pageCount );
+        }
+    }.property( 'pageCount' ),
+
+    /** Position of bar */
+    sbTop: function() {
+        if( this.get( 'currentPage' ) == 0 ){
+            return 0;
+        }else{
+            return ( this.maxHeight - this.get( 'sbHeight' ) ) / ( this.get( 'pageCount' ) - 1 ) * this.get( 'currentPage' ) + 1;
+        }
+    }.property( 'currentPage', 'pageCount' ),
+
+    /** Support function */
+    scrollbarBodyStyleAttributes: function() {
+        return 'height: ' + ( this.get( 'listHeight' ) - 1 ) + 'px;';
+    }.property( 'listHeight' ),
+
+    /** Support function */
+    sbBodyStyleAttributes: function() {
+        return 'height: ' + ( this.get( 'listHeight' ) - 100 - 1 ) + 'px;';
+    }.property( 'listHeight' ),
+
+    sbStyleAttributes: function() {
+        return 'height: ' + this.get( 'sbHeight' ) + 'px; ' + 'top: ' + this.get( 'sbTop' ) + 'px';
+    }.property( 'currentPage', 'pageCount' ),
+
+    /** Define scroll up button "disable" status */
+    sbUpButtonIsDisabled: function() {
+        if( this.get( 'currentPage' ) < 1 ){
+            return true;
+        }else{
+            return false;
+        }
+    }.property( 'currentPage', 'pageCount' ),
+
+    /** Define scroll down button "disable" status */
+    sbDownButtonIsDisabled: function() {
+        if( ( this.pageCount - 1 ) > this.get( 'currentPage' ) ){
+            return false;
+        }else{
+            return true;
+        }
+    }.property( 'currentPage', 'pageCount' ),
+
+    attributeBindings:
+        [
+            'scrollbarBodyStyleAttributes:style'
+        ],
+
+    /** Bottom for scroll up */
+    upButton: SDL.Button.extend( {
+        classNames:
+            [
+                'sb-top',
+                'button'
+            ],
+        action: 'sbUp',
+        target: 'parentView.parentView',
+        disabledBinding: 'parentView.sbUpButtonIsDisabled',
+        icon: 'images/list/scrollbar/button-up-active.png',
+        timer: 200
+    } ),
+
+    /** Bottom for scroll down */
+    downButton: SDL.Button.extend( {
+        classNames:
+            [
+                'sb-bottom',
+                'button'
+            ],
+        action: 'sbDown',
+        target: 'parentView.parentView',
+        disabledBinding: 'parentView.sbDownButtonIsDisabled',
+        icon: 'images/list/scrollbar/button-down-active.png',
+        timer: 200
+    } ),
+
+    /** Scrollbar track */
+    bar: Em.View.extend( {
+        barBodyStyleBinding: 'parentView.sbBodyStyleAttributes',
+        barStyleBinding: 'parentView.sbStyleAttributes',
+        cancelAnimationBinding: 'parentView.parentView.cancelAnimation',
+
+        layout: Em.Handlebars.compile( '<div class="sb-body" {{bindAttr style="view.barBodyStyle"}}>' + '{{yield}}' + '</div>' ),
+
+        template: Em.Handlebars
+                        .compile( '<div class="sb-bar" ' + '{{bindAttr style="view.barStyle"}}' + '{{bindAttr class="view.cancelAnimation:cancelBarAnimation"}}>' + '</div>' )
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/ScrollableText.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/ScrollableText.js
new file mode 100644 (file)
index 0000000..1551355
--- /dev/null
@@ -0,0 +1,188 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.ScrollableText
+ * @desc General ScrollableText component
+ * @category Controlls
+ * @filesource app/controlls/scrollableText.js
+ * @version 1.0
+ */
+
+SDL.ScrollableText = Em.ContainerView.extend( {
+
+    classNames: 'scrollableText',
+
+    /** flag for scrollbar */
+    disableScrollbar: false,
+
+    /** Set count of items at one time */
+    itemsOnPage: 0,
+
+    /** Speed of scrolling in milliseconds */
+    scrollBarSpeed: 200,
+
+    /** Number of columns on page */
+    columnsNumber: 1,
+
+    itemheight: 50,
+
+    /** Current scroll page */
+    currentPage: 0,
+
+    /** Css style of scrollableText */
+    scrollableTextScrollingAttributes: '',
+
+    /** Css style of line-height of rows */
+    linesHeght: 23,
+
+    linesCount: 1,
+
+    scrollHeight: null,
+
+    scrollableTextCount: function() {
+        if( $( '#' + this.get( 'childViews' )[1].elementId ) ){
+            $( '#' + this.get( 'childViews' )[1].elementId ).removeAttr( 'style' );
+            this.set( 'scrollHeight', $( '#' + this.get( 'childViews' )[1].elementId )[0].scrollHeight );
+            $( '#' + this.get( 'childViews' )[1].elementId ).height( this.scrollHeight );
+            this.set( 'linesCount', $( '#' + this.get( 'childViews' )[1].elementId )[0].scrollHeight / this.linesHeght );
+        }
+    },
+
+    /** Pages count */
+    pageCount: function() {
+        return Math.ceil( this.get( 'linesCount' ) / this.get( 'itemsOnPage' ) );
+    }.property( 'linesCount', 'itemsOnPage' ),
+
+    scrollableTextHeight: function() {
+        return this.itemsOnPage * this.itemheight;
+    }.property( 'itemsOnPage' ),
+
+    /** Action of element "sb-top" which show previous scrollableText page */
+    sbUp: function() {
+        if( this.get( 'currentPage' ) > 0 ){
+            this.set( 'currentPage', this.get( 'currentPage' ) - 1 );
+        }
+    },
+
+    /** Action of element "sb-bottom" which show previous scrollableText page */
+    sbDown: function() {
+        if( this.get( 'currentPage' ) < this.get( 'pageCount' ) - 1 ){
+            this.set( 'currentPage', this.get( 'currentPage' ) + 1 );
+        }
+    },
+
+    /** Scroll content according to current page */
+    onCurrentPageChange: function() {
+        this.set( 'scrollableTextScrollingAttributes', 'height: ' + this.scrollHeight + 'px; top: ' + ( this.get( 'currentPage' ) * this.itemsOnPage * ( -23 ) ) + 'px' );
+    }.observes( 'currentPage' ),
+
+    /** Method for delete certain item from scrollableText */
+    deleteItem: function( id ) {
+        this.items.splice( id, 1 );
+        this.scrollableText.refresh();
+    },
+
+    /** scrollableText components */
+    childViews:
+        [
+            'scrollbar',
+        // 'scrollableText'
+        ],
+
+    refreshTextArea: function() {
+        if( this.get( 'childViews' )[1] ){
+            this.get( 'childViews' ).removeObject( this.get( 'childViews' )[1] );
+        }
+
+        $( '#scrollableTextArea' ).height( 23 );
+        this.set( 'scrollHeight', 23 );
+        this.set( 'linesCount', 1 );
+        this.set( 'currentPage', 0 );
+
+        this.get( 'childViews' ).pushObject( Ember.TextArea.create( {
+
+            classNames: 'scrollableTextArea',
+
+            elementId: 'scrollableTextArea',
+
+            scrollableTextStyleBinding: 'parentView.scrollableTextScrollingAttributes',
+
+            attributeBindings:
+                [
+                    'scrollableTextStyle:style'
+                ],
+
+            valueBinding: 'this.parentView.items',
+
+            actionDown: function() {
+                return false;
+            },
+
+            didInsertElement: function() {
+                this.get( 'parentView' ).scrollableTextCount();
+            }
+        } ) );
+    }.observes( 'items' ),
+
+    /** scrollableText view */
+    scrollableText: Ember.TextArea.extend( {
+
+        classNames: 'scrollableTextArea',
+
+        elementId: 'scrollableTextArea',
+
+        scrollableTextStyleBinding: 'parentView.scrollableTextScrollingAttributes',
+
+        attributeBindings:
+            [
+                'scrollableTextStyle:style'
+            ],
+
+        valueBinding: 'this.parentView.items',
+
+        actionDown: function() {
+            return false;
+        },
+
+        didInsertElement: function() {
+            this._parentView.scrollableTextCount();
+        },
+
+        refresh: function() {
+            this.rerender();
+        }.observes( '_parentView.items' )
+
+    } ),
+
+    /** Scrollbar view */
+    scrollbar: SDL.ScrollBar.extend( {
+        currentPageBinding: 'parentView.currentPage',
+        pageCountBinding: 'parentView.pageCount',
+        scrollableTextHeightBinding: 'parentView.scrollableTextHeight',
+        scrollBarIsDisabledBinding: 'parentView.disableScrollbar'
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/sdl/PresetButton.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/controlls/sdl/PresetButton.js
new file mode 100644 (file)
index 0000000..7130f06
--- /dev/null
@@ -0,0 +1,59 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.Button
+ * @desc Universal button component for SDL application
+ * @category Controlls
+ * @filesource app/controlls/Button.js
+ * @version 1.0
+ */
+
+SDL.SDLPresetButton = SDL.Button.extend( {
+    actionDown: function() {
+        this._super();
+
+        FFW.Buttons.buttonEvent( this.presetName, "BUTTONDOWN" );
+        var self = this;
+        this.time = 0;
+        setTimeout( function() {
+            self.time++;
+        }, 1000 );
+    },
+
+    actionUp: function() {
+        this._super();
+
+        FFW.Buttons.buttonEvent( this.presetName, "BUTTONUP" );
+
+        if( this.time > 0 ){
+            FFW.Buttons.buttonPressed( this.presetName, "LONG" );
+        }else{
+            FFW.Buttons.buttonPressed( this.presetName, "SHORT" );
+        }
+        this.time = 0;
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/mixins/PresetEventCustom.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/mixins/PresetEventCustom.js
new file mode 100644 (file)
index 0000000..f5447b6
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.PresetEventsCustom
+ * @desc Handler of custom preset butons events
+ * @category mixin
+ * @filesource app/mixins/PresetEventsCustom.js
+ * @version 1.0
+ */
+SDL.PresetEventsCustom = Ember.Mixin.create( {
+    actionDown: function() {
+        this._super();
+        SDL.SDLController.onSoftButtonActionDownCustom( this );
+    },
+    actionUp: function() {
+        this._super();
+        SDL.SDLController.onSoftButtonActionUpCustom( this );
+        if( this.systemAction == 'DEFAULT_ACTION' ){
+
+            SDL.SDLController.defaultActionSoftButton( this );
+
+        }else if( this.systemAction == 'STEAL_FOCUS' ){
+
+            SDL.SDLController.stealFocusSoftButton( this );
+
+        }else if( this.systemAction == 'KEEP_CONTEXT' ){
+
+            SDL.SDLController.keepContextSoftButton( this );
+
+        }
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/mixins/PresetEvents.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/mixins/PresetEvents.js
new file mode 100644 (file)
index 0000000..3d9b234
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.PresetEvents
+ * @desc Handler of preset butons events
+ * @category mixin
+ * @filesource app/mixins/PresetEvents.js
+ * @version 1.0
+ */
+SDL.PresetEvents = Ember.Mixin.create( {
+    actionDown: function() {
+        this._super();
+        SDL.SDLController.onSoftButtonActionDown( this );
+    },
+    actionUp: function() {
+        this._super();
+        SDL.SDLController.onSoftButtonActionUp( this );
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/PhoneModel.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/PhoneModel.js
new file mode 100644 (file)
index 0000000..ed8303a
--- /dev/null
@@ -0,0 +1,83 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.PhoneModel
+ * @desc Phone model
+ * @category Model
+ * @filesource app/model/PhoneModel.js
+ * @version 1.0
+ */
+
+SDL.PhoneModel = Em.Object.create( {
+
+    /** Dial number */
+    dialpadNumber: '',
+
+    readyForCall: true,
+
+    onCall: false,
+
+    /** Text for phone status bar */
+    statusModeText: null,
+
+    /** Start call */
+    dialCall: function() {
+        if( this.dialpadNumber.length ){
+            this.set( 'onCall', true );
+            this.set( 'readyForCall', false );
+        }
+    },
+
+    /** End call */
+    endCall: function() {
+        this.set( 'onCall', false );
+        this.set( 'readyForCall', true );
+        this.set( 'dialpadNumber', '' );
+
+        this.set( 'statusModeText', null );
+
+        if( SDL.SDLModel.phoneCall ){
+            SDL.SDLModel.set( 'phoneCall', false );
+            SDL.SDLController.getApplicationModel( SDL.SDLAppController.model.appId ).turnOnSDL();
+        }
+    },
+
+    /** Add symbol to dial pad number */
+    setDialpadNumber: function( key ) {
+        if( this.dialpadNumber.length < 14 ){
+            key = this.dialpadNumber + key;
+            this.set( 'dialpadNumber', key );
+        }
+    },
+
+    /** Delete last number symbol */
+    deleteDialpadNumber: function() {
+        if( this.dialpadNumber.length ){
+            this.set( 'dialpadNumber', this.dialpadNumber.slice( 0, -1 ) );
+        }
+    }
+} )
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/abstract/RangedValue.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/abstract/RangedValue.js
new file mode 100644 (file)
index 0000000..284923f
--- /dev/null
@@ -0,0 +1,134 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name Ranged Value
+ * @desc Abstract ranged value class
+ * @category Model
+ * @filesource app/model/abstract/RangedValue.js
+ * @version 1.0
+ */
+
+SDL.RangedValue = Em.Object.extend( {
+
+    range: 3,
+    minValue: 1,
+    value: 0,
+    cycle: true,
+    enabled: true,
+
+    /**
+     * @desc Cyclically increases seat value until it reaches the range value
+     *       than value is switched to off (0)
+     */
+    increase: function() {
+        if( !this.enabled ){
+            this.enable();
+            return;
+        }
+
+        if( this.value < this.range ){
+            this.set( 'value', this.value + 1 );
+        }else{
+            if( !this.cycle ){
+                return;
+            }
+            this.set( 'value', 0 );
+        }
+    },
+    /**
+     * Toggle indicators one by one
+     */
+    toggleIndicators: function() {
+        if( !this.enabled ){
+            this.enable();
+            return;
+        }
+
+        if( this.value < this.range - 1 ){
+            this.set( 'value', this.value + 1 );
+        }else{
+            this.set( 'value', 0 );
+        }
+    },
+    /**
+     * @desc Cyclically increases seat value until it reaches zero value (off)
+     *       than value is changed to the range value
+     */
+    decrease: function() {
+        if( !this.enabled ){
+            this.enable();
+            return;
+        }
+
+        if( this.value >= this.minValue ){
+            if( !this.cycle && ( this.value == this.minValue ) ){
+                return;
+            }
+            this.set( 'value', this.value - 1 );
+        }else{
+            this.set( 'value', this.range );
+        }
+    },
+
+    /**
+     * @desc Switch off
+     */
+    off: function() {
+        this.set( 'beforeOff', this.value );
+        this.set( 'value', 0 );
+    },
+
+    /**
+     * Switch on
+     */
+    on: function() {
+        this.set( 'value', this.range );
+    },
+
+    /**
+     * Switch visual enable
+     */
+    enable: function() {
+        this.set( 'enabled', true );
+    },
+
+    /**
+     * Switch visual disable
+     */
+    disable: function() {
+        this.set( 'enabled', false );
+    },
+
+    /**
+     * Revert to value before toggle Off
+     */
+    revert: function() {
+        if( this.beforeOff ){
+            this.set( 'value', this.beforeOff );
+        }
+    }
+} )
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/media/CDModel.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/media/CDModel.js
new file mode 100644 (file)
index 0000000..fb5c237
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.CDModel
+ * @desc CD Media data model
+ * @category Model
+ * @filesource app/model/media/CDModel.js
+ * @version 1.0
+ */
+
+SDL.CDModel = Em.Object.create( {
+    active: true,
+
+    statusBar: 'The Electric Broncos',
+
+    init: function() {
+        this.set( 'active', true );
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/sdl/AppModel.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/sdl/AppModel.js
new file mode 100644 (file)
index 0000000..5ae10ed
--- /dev/null
@@ -0,0 +1,290 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.SDLAppModel
+ * @desc Abstarct model for SDL applications
+ * @category Model
+ * @filesource app/model/sdl/AppModel.js
+ * @version 1.0
+ */
+
+SDL.SDLAppModel = Em.Object.extend( {
+
+    /**
+     * Application Id
+     *
+     * @type {Number}
+     */
+    appId: null,
+
+    /**
+     * Application name
+     *
+     * @type {String}
+     */
+    appName: '',
+
+    /**
+     * Chosen device name
+     *
+     * @type {String}
+     */
+    deviceName: '',
+
+    /**
+     * Statusbar text
+     *
+     * @type {String}
+     */
+    statusText: '',
+
+    /**
+     * Info data
+     *
+     * @type: {Em.Object}
+     */
+    appInfo: null,
+
+    /**
+     * Current language of applications UI component
+     *
+     * @type {String}
+     */
+    UILanguage: 'EN-US',
+
+    /**
+     * Current language of applications TTS and applications VR component
+     *
+     * @type {String}
+     */
+    TTSVRLanguage: 'EN-US',
+
+    /**
+     * Array of Soft Buttons
+     *
+     * @type {Array}
+     */
+    softButtons: [],
+
+    /**
+     * Array of Objects for TBTTurnList
+     *
+     * @type {Array}
+     */
+    turnList: [],
+
+    /**
+     * URL to application Icon
+     *
+     * @type {String}
+     */
+    appIcon: 'images/info/info_leftMenu_apps_ico.png',
+
+    /**
+     * Application commands list
+     *
+     * @type {Array}
+     */
+    commandsList: [],
+
+    /**
+     * Return current menu commands
+     *
+     * @return {Array}
+     */
+    currentCommandsList: function() {
+        return this.get( 'commandsList' ).filterProperty( 'parent', this.get( 'currentSubMenuId' ) );
+    }.property( 'this.commandsList.@each', 'this.currentSubMenuId' ),
+
+    /**
+     * Current command submenu identificator
+     *
+     * @type {Number}
+     */
+    currentSubMenuId: 0,
+
+    /**
+     * Return current submenu name
+     *
+     * @return {String}
+     */
+    currentSubMenuLabel: function() {
+        var submenu = this.get( 'commandsList' ).filterProperty( 'menuId', this.get( 'currentSubMenuId' ) );
+        return submenu.length ? submenu[0].name : 'Options';
+    }.property( 'this.currentSubMenuId' ),
+
+    /**
+     * Interaction chooses data
+     *
+     * @type {Object}
+     */
+    interactionChoices: {},
+
+    /**
+     * Update Soft Buttons will handle on command Show
+     *
+     * @param {Array}
+     */
+    updateSoftButtons: function( buttons ) {
+        // delete existing buttons from array
+        this.softButtons.splice( 0 );
+
+        // push new buttons to array
+        this.get( 'softButtons' ).pushObjects( buttons );
+    },
+
+    /**
+     * Add command to list
+     *
+     * @param {Object}
+     */
+    addCommand: function( params ) {
+
+        this.get( 'commandsList' ).pushObject( {
+            commandId: params.cmdId,
+            name: params.menuParams.menuName,
+            parent: params.menuParams.parentID ? params.menuParams.parentID : 0,
+            position: params.menuParams.position,
+            icon: params.cmdIcon ? params.cmdIcon.value : null
+        } );
+    },
+
+    /**
+     * Delete command from list
+     *
+     * @param {Number}
+     */
+    deleteCommand: function( commandId ) {
+
+        this.get( 'commandsList' ).removeObjects( this.get( 'commandsList' ).filterProperty( 'commandId', commandId ) );
+    },
+
+    /**
+     * Add submenu to commands list
+     *
+     * @param {Object}
+     */
+    addSubMenu: function( params ) {
+
+        this.get( 'commandsList' ).pushObject( {
+            menuId: params.menuId,
+            name: params.menuName,
+            parent: 0,
+            position: params.position
+        } );
+    },
+
+    /**
+     * Delete submenu and related commands from list
+     *
+     * @param {Number}
+     */
+    deleteSubMenu: function( menuId ) {
+
+        // don't delete if current submenu active
+        if( this.get( 'currentSubMenuId' ) == menuId ){
+            return 'IN_USE';
+            // SDL.SDLAppController.onSubMenu(0);
+        }
+
+        // remove submenu
+        this.get( 'commandsList' ).removeObjects( this.get( 'commandsList' ).filterProperty( 'menuId', menuId ) );
+
+        // remove commands from deleted submenu
+        this.get( 'commandsList' ).removeObjects( this.get( 'commandsList' ).filterProperty( 'parent', menuId ) );
+
+        return 'SUCCESS';
+    },
+
+    /**
+     * SDL UI PreformInteraction response handeler open Perform Interaction
+     * screen and show choices
+     *
+     * @param {Object} message
+     * @param {Number} performInteractionRequestId
+     */
+    onPreformInteraction: function( message, performInteractionRequestId ) {
+
+        var i = 0, length = message.interactionChoiceSetIDList.length;
+
+        SDL.InteractionChoicesView.clean();
+
+        for( i = 0; i < length; i++ ){
+            var choiceSetId = message.interactionChoiceSetIDList[i];
+            SDL.InteractionChoicesView.preformChoices( this.interactionChoices[choiceSetId], performInteractionRequestId, message.timeout );
+
+            SDL.VRPopUp.CreateInteractionChoise( this.interactionChoices[choiceSetId], performInteractionRequestId );
+        }
+
+        SDL.InteractionChoicesView.activate( message.initialText );
+
+        // Show Initial prompt
+        SDL.SDLModel.onPrompt( message.initialPrompt );
+    },
+
+    /**
+     * SDL UI CreateInteraction response handeler push set of commands to voice
+     * recognition list
+     *
+     * @param {Object}
+     */
+    onCreateInteraction: function( message ) {
+
+        this.interactionChoices[message.interactionChoiceSetID] = message.choiceSet;
+
+    },
+
+    /**
+     * SDL UI DeleteInteraction response handeler close current interaction set
+     * window (if opened) and delete current set commands from voice recognition
+     * list
+     *
+     * @param {Object}
+     */
+    onDeleteInteraction: function( message ) {
+        delete this.interactionChoices[message.interactionChoiceSetID];
+    },
+
+    /**
+     * SDL UI Slider response handeler open Slider window with received
+     * parameters
+     *
+     * @param {Object}
+     */
+    onSlider: function( message ) {
+
+        SDL.SliderView.loadData( message );
+
+        SDL.SliderView.activate( this.appName );
+
+        setTimeout( function() {
+            if( SDL.SliderView.active ){
+                SDL.SliderView.deactivate();
+            }
+        }, message.params.timeout );
+    }
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/sdl/MediaModel.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/sdl/MediaModel.js
new file mode 100644 (file)
index 0000000..dd3ed6a
--- /dev/null
@@ -0,0 +1,256 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met: ·
+ * Redistributions of source code must retain the above copyright notice, this
+ * list of conditions and the following disclaimer. · Redistributions in binary
+ * form must reproduce the above copyright notice, this list of conditions and
+ * the following disclaimer in the documentation and/or other materials provided
+ * with the distribution. · Neither the name of the Ford Motor Company nor the
+ * names of its contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.SDLMediaModel
+ * @desc SDL data model
+ * @category Model
+ * @filesource app/model/media/SDLMediaModel.js
+ * @version 1.0
+ */
+
+SDL.SDLMediaModel = SDL.SDLAppModel.extend( {
+
+    init: function() {
+
+        this._super();
+
+        // init properties here
+        this.set( 'appInfo', Em.Object.create( {
+            field1: '<field1>',
+            field2: '<field2>',
+            field3: '<field3>',
+            mediaClock: '<mediaClock>',
+            trackIcon: 'images/sdl/audio_icon.jpg',
+            customPresets:
+                [
+                    '<no definition>',
+                    '<no definition>',
+                    '<no definition>',
+                    '<no definition>',
+                    '<no definition>',
+                    '<no definition>'
+                ]
+        } ) );
+
+        this.set( 'isPlaying', true );
+
+        this.set( 'commandsList', [] );
+        this.set( 'softButtons', [] );
+    },
+
+    /**
+     * Flag for media playing state
+     *
+     * @param {Boolean}
+     */
+    isPlaying: false,
+
+    /**
+     * Flag for model active state currently used for status bar
+     *
+     * @param {Boolean}
+     */
+    active: false,
+
+    /**
+     * Timer for Media Clock
+     */
+    timer: null,
+
+    /**
+     * Current sdl Sub Menu identificator
+     */
+    currentSDLSubMenuid: null,
+
+    /**
+     * Current sdl Perform Interaction Choise identificator
+     */
+    currentSDLPerformInteractionChoiseId: null,
+
+    countUp: true,
+    pause: false,
+    maxTimeValue: 68400, // 19 hours
+    duration: 0,
+    currTime: 0,
+
+    /**
+     * Method hides sdl activation button and sdl application
+     *
+     * @param {Number}
+     */
+    onDeleteApplication: function( appId ) {
+        SDL.SDLMediaController.onDeleteApplication( appId );
+    },
+
+    /**
+     * Activate current application model
+     */
+    turnOnSDL: function() {
+        SDL.SDLMediaController.activateApp( this );
+    },
+
+    startTimer: function() {
+
+        var self = this;
+
+        if( !this.pause ){
+            this.timer = setInterval( function() {
+                self.set( 'currTime', self.currTime + 1 );
+            }, 1000 );
+        }else{
+            clearInterval( this.timer );
+        }
+    }.observes( 'this.pause' ),
+
+    stopTimer: function() {
+        clearInterval( this.timer );
+        this.appInfo.set( 'mediaClock', '' );
+    },
+
+    setDuration: function() {
+
+        var number, str = '', hrs = 0, min = 0, sec = 0;
+        if( this.countUp ){
+            number = this.duration + this.currTime;
+        }else{
+            number = this.duration - this.currTime;
+        }
+
+        hrs = parseInt( number / 3600 ), // hours
+        min = parseInt( number / 60 ) % 60, // minutes
+        sec = number % 60; // seconds
+
+        str = ( hrs < 10 ? '0' : '' ) + hrs + ':';
+        str += ( min < 10 ? '0' : '' ) + min + ":";
+        str += ( sec < 10 ? '0' : '' ) + sec;
+        this.appInfo.set( 'mediaClock', str );
+
+        if( !this.get( 'countUp' ) && this.duration == this.currTime ){
+            clearInterval( this.timer );
+            return;
+        }
+
+    }.observes( 'this.currTime' ),
+
+    changeDuration: function() {
+        clearInterval( this.timer );
+        this.currTime = 0;
+        this.startTimer();
+    }.observes( 'this.duration' ),
+
+    /**
+     * SDL Setter for Media Clock Timer
+     *
+     * @param {Object}
+     */
+    sdlSetMediaClockTimer: function( params ) {
+
+        if( ( params.updateMode == "PAUSE" && this.pause ) || ( params.updateMode == "RESUME" && !this.pause ) ){
+            return 'IGNORED';
+        }
+
+        if( params.updateMode == "CLEAR" ){
+            this.stopTimer();
+            return 'SUCCESS';
+        }
+
+        if( params.updateMode == "PAUSE" ){
+            this.set( 'pause', true );
+        }else if( params.updateMode == "RESUME" ){
+            this.set( 'pause', false );
+        }else{
+            if( params.startTime ){
+                this.set( 'countUp', params.updateMode == "COUNTUP" ? true : false );
+                this.set( 'duration', 0 );
+                this.set( 'duration', params.startTime.hours * 3600 + params.startTime.minutes * 60 + params.startTime.seconds );
+            }
+            this.set( 'pause', false );
+        }
+
+        return 'SUCCESS';
+    },
+
+    /**
+     * Method to clear App OverLay
+     */
+    clearAppOverLay: function() {
+
+        clearInterval( this.timer );
+        this.appInfo.set( 'field1', '' );
+        this.appInfo.set( 'field2', '' );
+        this.appInfo.set( 'field3', '' );
+        this.appInfo.set( 'field4', '' );
+        this.appInfo.set( 'alignment', '' );
+        this.set( 'statusText', '' );
+        this.appInfo.set( 'mediaClock', '' );
+        this.appInfo.set( 'mediaTrack', '' );
+        this.appInfo.set( 'trackIcon', 'images/sdl/audio_icon.jpg' );
+        this.updateSoftButtons();
+        for( i = 0; i < 6; i++ ){
+            this.appInfo.set( 'customPresets.' + i, '' );
+        }
+        SDL.SDLModel.set( 'protocolVersion2State', false );
+
+    },
+
+    /**
+     * Applin UI Show handler
+     *
+     * @param {Object}
+     */
+    onSDLUIShow: function( params ) {
+        clearInterval( this.timer );
+        this.appInfo.set( 'field1', params.mainField1 );
+        this.appInfo.set( 'field2', params.mainField2 );
+        this.appInfo.set( 'field3', params.mainField3 );
+        this.appInfo.set( 'field4', params.mainField4 );
+        this.appInfo.set( 'alignment', params.alignment );
+        this.set( 'statusText', params.statusBar );
+        this.appInfo.set( 'mediaClock', params.mediaClock );
+        this.appInfo.set( 'mediaTrack', params.mediaTrack );
+        if( params.graphic ){
+            this.appInfo.set( 'trackIcon', params.graphic );
+        }else{
+            this.appInfo.set( 'trackIcon', 'images/sdl/audio_icon.jpg' );
+        }
+
+        this.updateSoftButtons( params.softButtons );
+
+        if( params.customPresets ){
+            var i = 0;
+            for( i = 0; i < 6; i++ ){
+                if( params.customPresets[i] != '' || params.customPresets[i] != null ){
+                    this.appInfo.set( 'customPresets.' + i, params.customPresets[i] );
+                }else{
+                    this.appInfo.set( 'customPresets.' + i, '' );
+                }
+            }
+            SDL.SDLModel.set( 'protocolVersion2State', true );
+        }else{
+            SDL.SDLModel.set( 'protocolVersion2State', false );
+        }
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/sdl/Model.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/sdl/Model.js
new file mode 100644 (file)
index 0000000..292a3a8
--- /dev/null
@@ -0,0 +1,567 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.SDLModel
+ * @desc General model for SDL applications
+ * @category Model
+ * @filesource app/model/sdl/SDLModel.js
+ * @version 1.0
+ */
+
+SDL.SDLModel = Em.Object.create( {
+
+    /**
+     * Flag to indicate AudioPassThruPopUp activity
+     *
+     * @param {Boolean}
+     */
+    AudioPassThruState: false,
+
+    /**
+     * Driver Distraction State
+     *
+     * @type bool
+     */
+    driverDistractionState: false,
+
+    /**
+     * Flag to sent Send Data extended params
+     *
+     * @param {Boolean}
+     */
+    sendDataExtend: false,
+
+    /**
+     * Protocol Version 2 State
+     *
+     * @type bool
+     */
+    protocolVersion2State: false,
+
+    /**
+     * Flag to be set true when phone call is initialised
+     *
+     * @param {Boolean}
+     */
+    phoneCall: false,
+
+    /**
+     * Default values for global properties
+     */
+    globalPropertiesDefault: {
+        helpPrompt:
+            [
+                {
+                    "text": "Some text for help prompt",
+                    "type": "TEXT"
+                }
+            ],
+
+        timeoutPrompt:
+            [
+                {
+                    "text": "Some text for timeout prompt",
+                    "type": "TEXT"
+                }
+            ]
+    },
+
+    /**
+     * List of states for OnTBTClientState notification
+     */
+    tbtClientStates:
+        [
+            {
+                name: "ROUTE_UPDATE_REQUEST",
+                id: 0
+            },
+            {
+                name: "ROUTE_ACCEPTED",
+                id: 1
+            },
+            {
+                name: "ROUTE_REFUSED",
+                id: 2
+            },
+            {
+                name: "ROUTE_CANCELLED",
+                id: 3
+            },
+            {
+                name: "ETA_REQUEST",
+                id: 4
+            },
+            {
+                name: "NEXT_TURN_REQUEST",
+                id: 5
+            },
+            {
+                name: "ROUTE_STATUS_REQUEST",
+                id: 6
+            },
+            {
+                name: "ROUTE_SUMMARY_REQUEST",
+                id: 7
+            },
+            {
+                name: "TRIP_STATUS_REQUEST",
+                id: 8
+            },
+            {
+                name: "ROUTE_UPDATE_REQUEST_TIMEOUT",
+                id: 9
+            }
+        ],
+
+    /**
+     * Data for AudioPassThruPopUp that contains params for visualisation
+     *
+     * @type {Object}
+     */
+    AudioPassThruData: {},
+
+    /**
+     * List of registered applications, To prevent errors without registered
+     * application "-1" used as test appId
+     *
+     * @type object
+     */
+    registeredApps: [],
+
+    /**
+     * List of icons
+     *
+     * @type {Object}
+     */
+    listOfIcons: {
+        // appId: syncFileName
+        0: "images/media/ico_li.png"
+    },
+
+    /**
+     * Array of active applications
+     *
+     * @type {Array}
+     */
+    applicationsList: [],
+
+    /**
+     * Array of connected devices
+     *
+     * @type {Array}
+     */
+    devicesList: [],
+
+    /**
+     * Global properties
+     *
+     * @type {Object}
+     */
+    globalProperties: {
+        helpPrompt: [],
+        timeoutPrompt: []
+    },
+
+    /**
+     * TTS + VR language
+     *
+     * @type {String}
+     */
+    hmiTTSVRLanguage: 'EN-US',
+
+    /**
+     * UI language
+     *
+     * @type {String}
+     */
+    hmiUILanguage: 'EN-US',
+
+    /**
+     * List of supported languages
+     *
+     * @type {Array}
+     */
+    sdlLanguagesList:
+        [
+            'EN-US',
+            'ES-MX',
+            'FR-CA',
+            'DE-EU',
+            'ES-EU',
+            'EN-EU',
+            'RU-RU',
+            'TR-TR',
+            'PL-EU',
+            'FR-EU',
+            'IT-EU',
+            'SV-EU',
+            'PT-EU',
+            'NL-EU',
+            'EN-AU',
+            'ZH-CN',
+            'ZH-TW',
+            'JA-JP',
+            'AR',
+            'KO-KR'
+        ],
+
+    /**
+     * Method to open Phone view and dial phone number
+     *
+     * @param {Object}
+     */
+    dialNumber: function( params ) {
+        this.set( 'phoneCall', true );
+        SDL.States.goToStates( 'phone.dialpad' );
+        SDL.PhoneModel.set( 'dialpadNumber', params.number );
+        SDL.PhoneController.onDialCall();
+    },
+
+    /**
+     * Method to open Turn By Turn view
+     *
+     * @param {Object}
+     */
+    tbtActivate: function( params ) {
+        SDL.TurnByTurnView.activate( params );
+    },
+
+    /**
+     * Method to set data for Turn List in applications model
+     *
+     * @param {Object}
+     */
+    tbtTurnListUpdate: function( params ) {
+        SDL.SDLController.getApplicationModel( params.appId ).turnList = params.turnList;
+        SDL.TBTTurnList.updateList( params.appId );
+    },
+
+    /**
+     * Method to set language for UI component with parameters sent from SDLCore
+     * to UIRPC
+     *
+     * @type {String} lang
+     */
+    changeRegistrationUI: function( lang ) {
+        SDL.SDLAppController.model.set( 'UILanguage', lang );
+    },
+
+    /**
+     * Method to set language for TTS and VR components with parameters sent
+     * from SDLCore to UIRPC
+     *
+     * @type {String} lang
+     */
+    changeRegistrationTTSVR: function( lang ) {
+        SDL.SDLAppController.model.set( 'TTSVRLanguage', lang );
+    },
+
+    /**
+     * Method to add activation button to VR commands and set device parameters
+     * to model
+     *
+     * @param {Object}
+     */
+    onAppRegistered: function( params ) {
+        var applicationType = 1;
+
+        if( SDL.SDLController.getApplicationModel( params.appId ) ){
+            return;
+        }
+
+        if( params.isMediaApplication ){
+            applicationType = 0;
+        }
+
+        SDL.SDLController.registerApplication( params, applicationType );
+
+        SDL.VRPopUp.AddActivateApp( params.appId, params.appName );
+    },
+
+    /**
+     * Method to delete activation button from VR commands and delete device
+     * parameters from model
+     *
+     * @param {Object}
+     */
+    onAppUnregistered: function( params ) {
+        if( SDL.SDLController.getApplicationModel( params.appId ) ){
+
+            SDL.VRPopUp.DeleteActivateApp( params.appId );
+
+            SDL.SDLController.unregisterApplication( params.appId );
+        }
+    },
+
+    /**
+     * SDL UI ScrolableMessage activation function dependent of Driver
+     * Distraction toggle state
+     *
+     * @param {Object} params Object with parameters come from SDLCore.
+     * @param {Number} messageRequestId Identification of unique request
+     */
+    onSDLScrolableMessage: function( params, messageRequestId ) {
+
+        if( !SDL.ScrollableMessage.active ){
+            if( SDL.SDLModel.driverDistractionState ){
+                SDL.DriverDistraction.activate();
+            }else{
+                SDL.ScrollableMessage.activate( SDL.SDLController.getApplicationModel( params.appId ).appName, params, messageRequestId );
+            }
+        }else{
+            SDL.SDLController.scrollableMessageResponse( 'REJECTED', messageRequestId );
+        }
+
+    },
+
+    /**
+     * Handler for reset globalProperties
+     *
+     * @param {Object}
+     */
+    resetProperties: function( params ) {
+
+        var i, len = params.properties.length;
+        for( i = 0; i < len; i++ ){
+            if( params.properties[i] == "HELPPROMPT" ){
+                this.set( 'globalProperties.helpPrompt', this.globalPropertiesDefault.helpPrompt );
+            }
+
+            if( params.properties[i] == "TIMEOUTPROMPT" ){
+                this.set( 'globalProperties.timeoutPrompt', this.globalPropertiesDefault.timeoutPrompt );
+            }
+        }
+    },
+
+    /**
+     * setGlobalProperties
+     *
+     * @param {Object} message Object with parameters come from SDLCore.
+     */
+    setProperties: function( message ) {
+
+        this.set( 'globalProperties.helpPrompt', message.helpPrompt );
+        this.set( 'globalProperties.timeoutPrompt', message.timeoutPrompt );
+
+    },
+
+    /**
+     * Method to call handler from model to show list of avaliable applications
+     *
+     * @param {Object} appList
+     */
+    onGetAppList: function( appList ) {
+
+        var i = 0, len = appList.length;
+        for( i = 0; i < len; i++ ){
+            if( appList[i] ){
+                SDL.SDLModel.onAppRegistered( appList[i] );
+            }
+        }
+
+    },
+
+    /**
+     * Method to call function from DeviceListView to show list of connected
+     * devices
+     *
+     * @param {Object} params
+     */
+    onGetDeviceList: function( params ) {
+        if( null == params.resultCode || ( null != params.resultCode && "SUCCESS" == params.resultCode ) ){
+            if( SDL.States.info.devicelist.active && params.deviceList && params.deviceList.length ){
+                SDL.DeviceListView.ShowDeviceList( params );
+            }
+        }
+    },
+
+    /**
+     * SDL UI SetAppIcon handler
+     *
+     * @param {Object} message
+     * @param {Number} id
+     * @param {String} method
+     */
+    onSDLSetAppIcon: function( message, id, method ) {
+        var img = new Image();
+        img.onload = function() {
+            // code to set the src on success
+            SDL.SDLController.getApplicationModel( message.appId ).set( 'appIcon', message.syncFileName );
+            FFW.UI.sendUIResult( "SUCCESS", id, method );
+        };
+        img.onerror = function( event ) {
+            // doesn't exist or error loading
+            FFW.UI.sendUIResult( "INVALID_DATA", id, method );
+            return false;
+        };
+
+        img.src = message.syncFileName;
+    },
+
+    /**
+     * SDL UI Alert Maneuver response handler show popup window
+     *
+     * @param {Object} message Object with parameters come from SDLCore
+     */
+    onUIAlertManeuver: function( message ) {
+
+        SDL.AlertManeuverPopUp.AlertManeuverActive( message );
+    },
+
+    /**
+     * SDL UI Alert response handler show popup window
+     *
+     * @param {Object} message Object with parameters come from SDLCore
+     * @param {Number} alertRequestId Id of current handled request
+     */
+    onUIAlert: function( message, alertRequestId ) {
+
+        if( !SDL.AlertPopUp.active ){
+            SDL.AlertPopUp.AlertActive( message, alertRequestId );
+        }else{
+            SDL.SDLController.alertResponse( 'REJECTED', alertRequestId );
+        }
+    },
+
+    /**
+     * SDL UI PerformInteraction response handler show popup window
+     *
+     * @param {Object} message Object with parameters come from SDLCore
+     * @param {Number} performInteractionRequestId Id of current handled request
+     */
+    uiPerformInteraction: function( message, performInteractionRequestId ) {
+
+        if( !SDL.InteractionChoicesView.active ){
+            SDL.SDLController.getApplicationModel( message.appId ).onPreformInteraction( message, performInteractionRequestId );
+        }else{
+            SDL.SDLController.interactionChoiseCloseResponse( 'ABORTED', performInteractionRequestId );
+        }
+    },
+
+    /**
+     * SDL UI Slider response handler show popup window
+     *
+     * @param {Object} message Object with parameters come from SDLCore
+     */
+    uiSlider: function( message ) {
+
+        if( !SDL.SliderView.active ){
+            SDL.SDLController.getApplicationModel( message.params.appId ).onSlider( message );
+        }else{
+            FFW.UI.sendSliderResult( 'ABORTED', message.id );
+        }
+    },
+
+    /**
+     * SDL UI AudioPassThru response handler show popup window
+     *
+     * @param {Object} message Object with parameters come from SDLCore.
+     */
+    UIPerformAudioPassThru: function( message ) {
+        this.set( 'AudioPassThruData', message );
+        this.set( 'AudioPassThruState', true );
+    },
+
+    /**
+     * Method ends processing of AudioPassThru and call AudioPassThru UI
+     * response handler
+     */
+    UIEndAudioPassThru: function() {
+        if( this.AudioPassThruState ){
+            FFW.UI.sendUIResult( "SUCCESS", FFW.UI.endAudioPassThruRequestId, "UI.EndAudioPassThru" );
+            SDL.SDLController.performAudioPassThruResponse( "SUCCESS" );
+        }else{
+            FFW.UI.sendUIResult( "GENERIC_ERROR", FFW.UI.endAudioPassThruRequestId, "UI.EndAudioPassThru" );
+        }
+    },
+
+    /**
+     * Prompt activation
+     *
+     * @param {Object}
+     * @param {Number}
+     */
+    onPrompt: function( ttsChunks, delay ) {
+        var message = '';
+        if( ttsChunks ){
+            for( var i = 0; i < ttsChunks.length; i++ ){
+                message += ttsChunks[i].text + '\n';
+            }
+            SDL.TTSPopUp.ActivateTTS( message, delay );
+        }
+    },
+
+    /**
+     * SDL VR AddCommand response handler add command to voice recognition
+     * window
+     *
+     * @param {Object}
+     */
+    addCommandVR: function( message ) {
+        SDL.VRPopUp.AddCommand( message.cmdId, message.vrCommands, message.appId );
+    },
+
+    /**
+     * SDL VR DeleteCommand response handler delete command from voice
+     * recognition window
+     *
+     * @param {Number}
+     */
+    deleteCommandVR: function( commandId ) {
+        SDL.VRPopUp.DeleteCommand( commandId );
+    },
+
+    onDeactivateApp: function( target, appId, appName ) {
+
+        var dest = target.split( '.' ), reason;
+
+        switch( dest[0] ){
+            case 'media': {
+                reason = 'AUDIO';
+                break;
+            }
+            case "phone": {
+                reason = 'PHONEMENU';
+                break;
+            }
+            case "navigation": {
+                reason = 'NAVIGATIONMAP';
+                break;
+            }
+            case "settings": {
+                reason = 'SYNCSETTINGS';
+                break;
+            }
+            default: {
+                reason = 'GENERAL';
+                break;
+            }
+        }
+
+        FFW.BasicCommunication.DeactivateApp( appName, reason, appId );
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/sdl/NonMediaModel.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/sdl/NonMediaModel.js
new file mode 100644 (file)
index 0000000..4c7df81
--- /dev/null
@@ -0,0 +1,122 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.SDLNonMediaModel
+ * @desc Concrate model for SDL NonMedia application
+ * @category Model
+ * @filesource app/model/sdl/NonMediaModel.js
+ * @version 1.0
+ */
+
+SDL.SDLNonMediaModel = SDL.SDLAppModel.extend( {
+
+    init: function() {
+
+        this._super();
+
+        // init properties here
+        this.set( 'appInfo', Em.Object.create( {
+            field1: '<field1>',
+            field2: '<field2>',
+            field3: '<field3>',
+            field4: '<field4>',
+            mainImage: 'images/sdl/audio_icon.jpg',
+            image: '',
+            customPresets: []
+        } ) );
+
+        // this.set('appIcon', 'images/info/info_leftMenu_apps_ico.png'),
+
+        this.set( 'commandsList', [] );
+        this.set( 'softButtons', [] );
+    },
+
+    /**
+     * Method hides sdl activation button and sdl application
+     *
+     * @param {Number}
+     */
+    onDeleteApplication: function( appId ) {
+        SDL.NonMediaController.onDeleteApplication( appId );
+    },
+
+    /**
+     * Activate current application model
+     */
+    turnOnSDL: function() {
+        SDL.NonMediaController.activateApp( this );
+    },
+
+    /**
+     * Method to clear App OverLay
+     */
+    clearAppOverLay: function() {
+
+        clearInterval( this.timer );
+        this.appInfo.set( 'field1', '' );
+        this.appInfo.set( 'field2', '' );
+        this.appInfo.set( 'field3', '' );
+        this.appInfo.set( 'field4', '' );
+        this.appInfo.set( 'alignment', '' );
+        this.appInfo.set( 'mainImage', 'images/sdl/audio_icon.jpg' );
+        this.updateSoftButtons();
+        for( i = 0; i < 6; i++ ){
+            this.appInfo.set( 'customPresets.' + i, '' );
+        }
+
+    },
+
+    /**
+     * Applin UI Show handler
+     *
+     * @param {Object}
+     */
+    onSDLUIShow: function( params ) {
+        this.appInfo.set( 'field1', params.mainField1 );
+        this.appInfo.set( 'field2', params.mainField2 );
+        this.appInfo.set( 'field3', params.mainField3 );
+        this.appInfo.set( 'field4', params.mainField4 );
+        if( params.graphic ){
+            this.appInfo.set( 'mainImage', params.graphic );
+        }else{
+            this.appInfo.set( 'mainImage', 'images/sdl/audio_icon.jpg' );
+        }
+
+        if( params.customPresets ){
+            this.appInfo.set( 'customPresets', params.customPresets );
+        }
+
+        // Get soft buttons if exists
+        if( params.softButtons ){
+            this.updateSoftButtons( params.softButtons );
+        }
+    },
+
+    sdlSetMediaClockTimer: function() {
+        return;
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/sdl/VehicleInfoModel.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/model/sdl/VehicleInfoModel.js
new file mode 100644 (file)
index 0000000..acc4039
--- /dev/null
@@ -0,0 +1,292 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.SDLVehicleInfoModel
+ * @desc SDL model with vehicle information used instead of CAN network.
+ *       VehicleInfoModel is simulation of real CAN network.
+ * @category Model
+ * @filesource app/model/sdl/SDLVehicleInfoModel.js
+ * @version 1.0
+ */
+
+SDL.SDLVehicleInfoModel = Em.Object.create( {
+
+    /**
+     * Stored VehicleInfo transmission state Data
+     *
+     * @type {Array}
+     */
+    vehicleInfoPRNDL:
+        [
+            "PARK",
+            "REVERSE",
+            "NEUTRAL",
+            "FORWARD_DRIVE_2",
+            "LOWGEAR"
+        ],
+
+    /**
+     * PRNDL state value
+     *
+     * @type {String}
+     */
+    prndlSelectState: 'PARK',
+
+    /**
+     * Stored VehicleInfo Data
+     *
+     * @type {Array}
+     */
+    ecuDIDData:
+        [
+            {
+                'data': "ECU 1 Test Data"
+            },
+            {
+                'data': "ECU 2 Test Data"
+            }
+        ],
+
+    /**
+     * Type of current vehicle: make of the vehicle, model of the vehicle, model
+     * Year of the vehicle, trim of the vehicle.
+     *
+     * @type {Object}
+     */
+    vehicleType: {
+        make: "Ford",
+        model: "Fiesta",
+        modelYear: "2013",
+        trim: "SE"
+    },
+
+    /**
+     * Stored VehicleInfo Data
+     *
+     * @type {Object}
+     */
+    vehicleData: {
+        'VEHICLEDATA_SPEED': {
+            data: 80.0,
+            type: 'speed'
+        },
+        'VEHICLEDATA_ENGINERPM': {
+            data: 5000,
+            type: 'rpm'
+        },
+        'VEHICLEDATA_FUELLEVEL': {
+            data: 0.2,
+            type: 'fuelLevel'
+        },
+        'VEHICLEDATA_FUELECONOMY': {
+            data: 0.1,
+            type: 'avgFuelEconomy'
+        },
+        'VEHICLEDATA_BATTVOLTS': {
+            data: 12.5,
+            type: 'batteryVoltage'
+        },
+        'VEHICLEDATA_EXTERNTEMP': {
+            data: 40.0,
+            type: 'externalTemperature'
+        },
+        'VEHICLEDATA_VIN': {
+            data: '52-452-52-752',
+            type: 'vin'
+        },
+        'VEHICLEDATA_PRNDLSTATUS': {
+            data: 'PARK',
+            type: 'prndl'
+        },
+        'VEHICLEDATA_BATTERYPACKVOLTAGE': {
+            data: 12.5,
+            type: 'batteryPackVoltage'
+        },
+        'VEHICLEDATA_BATTERYCURRENT': {
+            data: 7.0,
+            type: 'batteryPackCurrent'
+        },
+        'VEHICLEDATA_BATTERYTEMPERATURE': {
+            data: 30,
+            type: 'batteryPackTemperature'
+        },
+        'VEHICLEDATA_ENGINETORQUE': {
+            data: 650,
+            type: 'engineTorque'
+        },
+        'VEHICLEDATA_ODOMETER': {
+            data: 0,
+            type: 'odometer'
+        },
+        'VEHICLEDATA_TRIPODOMETER': {
+            data: 0,
+            type: 'tripOdometer'
+        },
+        'VEHICLEDATA_GENERICBINARY': {
+            data: '165165650',
+            type: 'genericbinary'
+        },
+        'VEHICLEDATA_SATESN': {
+            data: "165165650",
+            type: 'satRadioESN'
+        },
+        'VEHICLEDATA_RAINSENSOR': {
+            data: 165165650,
+            type: 'rainSensor'
+        },
+        'VEHICLEDATA_GPS': {
+            data: {
+                'longitudeDegrees': 423293,
+                'latitudeDegrees': -830464,
+                'utcYear': 2013,
+                'utcMonth': 2,
+                'utcDay': 14,
+                'utcHours': 13,
+                'utcMinutes': 16,
+                'utcSeconds': 54,
+                'compassDirection': 'SOUTHWEST',
+                'pdop': 15,
+                'hdop': 5,
+                'vdop': 30,
+                'actual': false,
+                'satellites': 8,
+                'dimension': '2D',
+                'altitude': 7,
+                'heading': 173,
+                'speed': 2
+            },
+            type: 'gps'
+        }
+    },
+
+    /**
+     * Method to set selected state of vehicle transmission to vehicleData
+     */
+    onPRNDLSelected: function() {
+        if( this.prndlSelectState ) {
+            this.set( 'vehicleData.VEHICLEDATA_PRNDLSTATUS.data', this.prndlSelectState );
+        }
+    }.observes( 'this.prndlSelectState' ),
+
+    /**
+     * Method calls GetVehicleType response
+     *
+     * @type {Number}
+     */
+    getVehicleType: function( id ) {
+        FFW.VehicleInfo.GetVehicleTypeResponse( this.vehicleType, id );
+    },
+
+    /**
+     * SDL VehicleInfo.GetDTCs handler fill data for response about vehicle
+     * errors
+     *
+     * @type {Object} params
+     * @type {Number} id
+     */
+    vehicleInfoGetDTCs: function( params, id ) {
+        var data = [], i = 0, info = "Inormation about reported DTC's", result = "";
+
+        for( i = 0; i < 3; i++ ){
+            data.push( params.encrypted ? "0" : {
+                "identifier": '0',
+                "statusByte": '0'
+            } );
+        }
+
+        result = "SUCCESS";
+
+        if( params.encrypted ){
+            result = 'ENCRYPTED';
+            FFW.BasicCommunication.SendData( data );
+            FFW.VehicleInfo.vehicleInfoGetDTCsResponse( null, info, result, id );
+        }else{
+            FFW.VehicleInfo.vehicleInfoGetDTCsResponse( data, info, result, id );
+        }
+    },
+
+    /**
+     * SDL VehicleInfo.ReadDID handler send response about vehicle conditions
+     *
+     * @type {Object} params
+     * @type {Number} id
+     */
+    vehicleInfoReadDID: function( params, id ) {
+        var data = [], i = 0, info = '', dataResult = [], resultCode = "";
+        // magic number used because there is no huge database on HMI of vehicle
+        // data
+        if( this.ecuDIDData[1].data ){
+            info = this.ecuDIDData[1].data;
+            result = "SUCCESS";
+        }else{
+            result = "INVALID_DATA";
+        }
+
+        for( i = 0; i < params.didLocation.length; i++ ){
+            if( i < 10 ){
+                dataResult[i] = 'SUCCESS';
+                data.push( '0' );
+            }else{
+                dataResult[i] = "INVALID_DATA";
+                data.push( '0' );
+            }
+        }
+
+        if( params.encrypted ){
+            result = 'ENCRYPTED';
+            FFW.BasicCommunication.SendData( data );
+            FFW.VehicleInfo.vehicleInfoReadDIDResponse( null, null, info, result, id );
+        }else{
+            FFW.VehicleInfo.vehicleInfoReadDIDResponse( dataResult, data, info, result, id );
+        }
+    },
+
+    /**
+     * Function returns response message to VehicleInfoRPC
+     *
+     * @type {Object} message
+     */
+    getVehicleData: function( message ) {
+
+        return this.vehicleData[message.dataType].data;
+
+    },
+
+    /**
+     * Function send all vehicle conditions on FFW.VehicleInfo.OnVehicleData fo
+     * notification when data changes
+     */
+    onVehicleDataChanged: function() {
+
+        var jsonData = {};
+        for( var i in this.vehicleData ){
+            jsonData[this.vehicleData[i].type] = this.vehicleData[i].data;
+        }
+        FFW.VehicleInfo.OnVehicleData( jsonData );
+
+    }.observes( 'this.vehicleData.VEHICLEDATA_PRNDLSTATUS.data' )
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/util/Audio.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/util/Audio.js
new file mode 100644 (file)
index 0000000..1dee6fd
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.Audio
+ * @desc HTML5 Audio player
+ * @category utils
+ * @filesource app/util/Audio.js
+ * @version 1.0
+ */
+
+SDL.Audio = {
+
+    audio: new Audio(),
+
+    play: function( path ) {
+        this.audio.src = path;
+        this.audio.play();
+    }
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/WarningView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/WarningView.js
new file mode 100644 (file)
index 0000000..b7a6ae6
--- /dev/null
@@ -0,0 +1,113 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.WarningViewg
+ * @desc Warning representation
+ * @category View
+ * @filesource app/view/WarningView.js
+ * @version 1.0
+ */
+
+SDL.warningView = Em.ContainerView.extend( {
+
+    classNameBindings:
+        [
+            'fade:fadeAnimation:fadeWarning',
+            'hide:inactive_state',
+        ],
+
+    elementId: 'warning_view',
+
+    childViews:
+        [
+            'content',
+            'button'
+        ],
+
+    content: Em.View.extend( {
+
+        classNames: 'message',
+
+        template: Ember.Handlebars.compile( '<div class="warning_text"> {{SDL.locale.label.view_warning}}</div>' + '<div class="text">' + '<br>'
+                        + '<p>{{SDL.locale.label.view_warning_paragraph1}} </p><br>' + '<p> {{SDL.locale.label.view_warning_paragraph2}} </p><br>' + '</div>' )
+    } ),
+
+    button: Em.View.create( {
+
+        elementId: 'warning_ok_button',
+
+        classNameBindings:
+            [
+                'isReady: visible_display',
+                'pressed:pressed'
+            ],
+
+        classNames:
+            [
+                'okbut',
+                'ffw-button'
+            ],
+        /**
+         * Check for webkit fillmode animation support Android < 4 version
+         * doesnt support webkit animation fillmode
+         */
+        checkForCCS3AnimationSupport: function() {
+            if( FFW.isAndroid ){
+                return $( 'body' )[0].style.webkitAnimationFillMode === '';
+            }else{
+                return false;
+            }
+        },
+
+        template: Ember.Handlebars.compile( '<span>OK</span>' ),
+
+        /* this method is called when the web part is fully loaded */
+        appLoaded: function() {
+            var self = this;
+            /** Show OK Button after 2 second delay */
+            setTimeout( function() {
+                self.set( 'isReady', true );
+            }, 2000 );
+        }.observes( 'SDL.appReady' ),
+
+        actionDown: function( event ) {
+            this.set( 'pressed', true );
+        },
+
+        actionUp: function( event ) {
+            this.set( 'pressed', false );
+
+            var self = this;
+
+            this._parentView.set( 'fade', this.checkForCCS3AnimationSupport() );
+
+            setTimeout( function() {
+                self._parentView.set( 'hide', true );
+            }, 1000 );
+        }
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/climateView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/climateView.js
new file mode 100644 (file)
index 0000000..2dd6c3d
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.PlayerControllsView
+ * @desc Video player visual representation
+ * @category View
+ * @filesource app/view/player/PlayerView.js
+ * @version 1.0
+ */
+SDL.ClimateView = Em.ContainerView.create( {
+    /** View Id */
+    elementId: 'climateView',
+
+    classNameBindings:
+        [
+             'SDL.States.climate.active:active_state:inactive_state'
+        ],
+
+    childViews:
+        [
+            'windowText'
+        ],
+
+
+    windowText: SDL.Label.extend( {
+
+        classNames: 'windowText',
+
+        content: 'Climate'
+    } )
+
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/bottomControls.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/bottomControls.js
new file mode 100644 (file)
index 0000000..381c4ce
--- /dev/null
@@ -0,0 +1,104 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.BottomControlls
+ * @desc BottomControlls module visual representation
+ * @category View
+ * @filesource app/view/BottomControls.js
+ * @version 1.0
+ */
+
+SDL.BottomControls = Em.ContainerView.extend({
+
+       elementId : 'app_bottom_controlls',
+
+       childViews : [ 'information' ],
+
+       information : Em.View.extend({
+               elementId : 'home_but',
+               classNameBindings : [ 'SDL.States.info.active:selected' ],
+
+               template : Em.Handlebars.compile('<div id="home_but_click"></div>'),
+
+               actionDown : function(event) {
+                       if (!SDL.States.info.active) {
+                               SDL.States.goToStates(SDL.InfoController.activeState);
+                       }
+               }
+       })
+
+//    childViews:
+//        [
+//            'information',
+//            'home',
+//            'settings'
+//        ],
+//
+//    information: Em.View.extend( {
+//        elementId: 'info_but',
+//        classNameBindings:
+//            [
+//                'SDL.States.info.active:selected'
+//            ],
+//
+//        template: Em.Handlebars.compile( '<div id="info_but_click"></div>' ),
+//
+//        actionDown: function( event ) {
+//            if( !SDL.States.info.active ){
+//                SDL.States.goToStates( SDL.InfoController.activeState );
+//            }
+//        }
+//    } ),
+//
+//    home: Em.View.extend( {
+//        elementId: 'home_but',
+//        classNameBindings:
+//            [
+//                'SDL.States.home.active:selected'
+//            ],
+//
+//        template: Em.Handlebars.compile( '<div id="home_but_click"></div>' ),
+//
+//        actionDown: function( event ) {
+//            SDL.States.goToStates( 'home' );
+//        }
+//    } ),
+//
+//    settings: Em.View.extend( {
+//        elementId: 'setting_but',
+//
+//        classNameBindings: 'SDL.States.settings.active:selected',
+//
+//        template: Em.Handlebars.compile( '<div id="setting_but_click"></div>' ),
+//
+//        actionDown: function( event ) {
+//            if( !SDL.States.settings.active ){
+//                SDL.States.goToStates( 'settings' );
+//            }
+//        }
+//    } )
+});
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/controlButtons.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/controlButtons.js
new file mode 100644 (file)
index 0000000..698a8df
--- /dev/null
@@ -0,0 +1,525 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.controlButtons
+ * @desc Climate module visual representation
+ * @category View
+ * @filesource app/view/home/controlButtons.js
+ * @version 1.0
+ */
+
+SDL.ControlButtons = Em.ContainerView.create( {
+
+    elementId: 'app_controlButtons',
+
+    childViews:
+        [
+            'VRButton',
+            'buttonControls',
+            'driverDistractionControl',
+            'protocolVersion',
+            'infoTable',
+            'sendData',
+            'sendDataCheckBox',
+            'sendDataLabel',
+            'vehicleInfo',
+            'tbtClientState',
+            'UILanguages',
+            'TTSVRLanguages',
+            'UILanguagesLabel',
+            'TTSVRLanguagesLabel',
+            'appUILanguagesLabel',
+            'appTTSVRLanguagesLabel',
+            'appUILang',
+            'appTTSVRLang'
+        ],
+
+    /*
+     * Label with name of UILanguages select
+     */
+    appUILang: SDL.Label.extend( {
+
+        elementId: 'appUILang',
+
+        classNames: 'appUILang',
+
+        contentBinding: 'SDL.SDLAppController.model.UILanguage'
+    } ),
+
+    /*
+     * Label with name of TTSVRLanguages select
+     */
+    appTTSVRLang: SDL.Label.extend( {
+
+        elementId: 'appTTSVRLang',
+
+        classNames: 'appTTSVRLang',
+
+        contentBinding: 'SDL.SDLAppController.model.TTSVRLanguage'
+    } ),
+
+    /*
+     * Label with name of UILanguages select
+     */
+    appUILanguagesLabel: SDL.Label.extend( {
+
+        elementId: 'appUILanguagesLabel',
+
+        classNames: 'appUILanguagesLabel',
+
+        content: 'application UI Languages'
+    } ),
+
+    /*
+     * Label with name of TTSVRLanguages select
+     */
+    appTTSVRLanguagesLabel: SDL.Label.extend( {
+
+        elementId: 'appTTSVRLanguagesLabel',
+
+        classNames: 'appTTSVRLanguagesLabel',
+
+        content: 'application (TTS + VR) Languages'
+    } ),
+
+    /*
+     * Label with name of UILanguages select
+     */
+    UILanguagesLabel: SDL.Label.extend( {
+
+        elementId: 'UILanguagesLabel',
+
+        classNames: 'UILanguagesLabel',
+
+        content: 'UI Languages'
+    } ),
+
+    /*
+     * Label with name of TTSVRLanguages select
+     */
+    TTSVRLanguagesLabel: SDL.Label.extend( {
+
+        elementId: 'TTSVRLanguagesLabel',
+
+        classNames: 'TTSVRLanguagesLabel',
+
+        content: 'TTS + VR Languages'
+    } ),
+
+    /*
+     * HMI element Select with list of supported UI component languages
+     */
+    UILanguages: Em.Select.extend( {
+
+        elementId: 'UILanguages',
+
+        classNames: 'languageSelect',
+
+        contentBinding: 'SDL.SDLModel.sdlLanguagesList',
+
+        valueBinding: 'SDL.SDLModel.hmiUILanguage'
+    } ),
+
+    /*
+     * HMI element Select with list of supported TTS and VR component languages
+     */
+    TTSVRLanguages: Em.Select.extend( {
+
+        elementId: 'TTSVRLanguages',
+
+        classNames: 'languageSelect',
+
+        contentBinding: 'SDL.SDLModel.sdlLanguagesList',
+
+        valueBinding: 'SDL.SDLModel.hmiTTSVRLanguage'
+    } ),
+
+    /**
+     * Sending data from HMI for processing in SDLCore
+     */
+    sendData: SDL.Button.create( {
+        elementId: 'sendData',
+        classNames: 'sendData btnNotPressed',
+        action: function() {
+            FFW.BasicCommunication.SendData( null );
+        },
+        text: 'Send Data'
+    } ),
+
+    /**
+     * Select for extended param of SendData
+     */
+    sendDataCheckBox: Em.Checkbox.extend( {
+
+        elementId: 'sendDataCheckBox',
+
+        classNames: 'sendDataCheckBox',
+
+        checkedBinding: 'SDL.SDLModel.sendDataExtend'
+
+    } ),
+
+    /*
+     * Label for sendDataCheckBox
+     */
+    sendDataLabel: SDL.Label.extend( {
+
+        elementId: 'sendDataLabel',
+
+        classNames: 'sendDataLabel',
+
+        content: 'Use URL'
+    } ),
+
+    /**
+     * VehicleInfo button
+     */
+    vehicleInfo: SDL.Button.create( {
+        elementId: 'vehicleInfoButton',
+        classNames: 'vehicleInfoButton btn',
+        text: 'Vehicle Info',
+        action: function() {
+            // this._super();
+            SDL.VehicleInfo.toggleActivity();
+        }
+    } ),
+
+    /**
+     * TBT Client State button
+     */
+    tbtClientState: SDL.Button.create( {
+        elementId: 'tbtClientStateButton',
+        classNames: 'tbtClientStateButton btn',
+        text: 'TBT Client State',
+        action: function() {
+            // this._super();
+            SDL.TBTClientStateView.toggleActivity();
+        }
+    } ),
+
+    /**
+     * Voice Recognition button
+     */
+    VRButton: SDL.Button.create( {
+        elementId: 'VRButton',
+        classNames: 'VRButton',
+        action: 'activateVRPopUp',
+        target: 'SDL.SDLController'
+    } ),
+
+    infoTable: Em.ContainerView.extend( {
+        elementId: 'infoTable',
+
+        classNames: 'infoTable',
+
+        childViews:
+            [
+                'globalPropertiesLabel',
+                'gpHelpData',
+                'gpTimeoutData'
+            ],
+
+        globalPropertiesLabel: SDL.Label.extend( {
+
+            elementId: 'sdlGPLabel',
+
+            classNames: 'sdlGPLabel',
+
+            content: 'HELP_PROMPT: TIMEOUT_PROMPT:'
+        } ),
+
+        gpHelpData: SDL.Label.extend( {
+
+            elementId: 'sdlGPHData',
+
+            classNames: 'sdlGPData',
+
+            contentBinding: 'this.propertiesData',
+
+            propertiesData: function() {
+                var str = '';
+                if( SDL.SDLModel.globalProperties.helpPrompt ){
+                    var i = 0;
+
+                    for( i = 0; i < SDL.SDLModel.globalProperties.helpPrompt.length; i++ ){
+                        str += SDL.SDLModel.globalProperties.helpPrompt[i].text + ' ';
+                    }
+                }
+                return str;
+            }.property( 'SDL.SDLModel.globalProperties.helpPrompt.@each.text' )
+        } ),
+
+        gpTimeoutData: SDL.Label.extend( {
+
+            elementId: 'sdlGPTData',
+
+            classNames: 'sdlGPData',
+
+            contentBinding: 'this.propertiesData',
+
+            propertiesData: function() {
+                var str = '';
+                if( SDL.SDLModel.globalProperties.timeoutPrompt ){
+                    var i = 0;
+                    for( i = 0; i < SDL.SDLModel.globalProperties.timeoutPrompt.length; i++ ){
+                        str += SDL.SDLModel.globalProperties.timeoutPrompt[i].text + ' ';
+                    }
+                }
+
+                return str;
+            }.property( 'SDL.SDLModel.globalProperties.timeoutPrompt.@each.text' )
+        } )
+    } ),
+
+    driverDistractionControl: Em.ContainerView.extend( {
+        elementId: 'driverDistractionControl',
+
+        classNames: 'driverDistractionControl',
+
+        childViews:
+            [
+                'driverDistractionLabel',
+                'driverDistractionCheckBox'
+            ],
+
+        driverDistractionLabel: SDL.Label.extend( {
+
+            elementId: 'driverDistractionControlLabel',
+
+            classNames: 'driverDistractionControlLabel',
+
+            content: 'Driver Distraction'
+        } ),
+
+        driverDistractionCheckBox: Em.Checkbox.extend( {
+
+            elementId: 'driverDistractionControlCheckBox',
+
+            classNames: 'driverDistractionControlCheckBox',
+
+            checkedBinding: 'SDL.SDLModel.driverDistractionState'
+
+        } )
+    } ),
+
+    protocolVersion: Em.ContainerView.extend( {
+        elementId: 'protocolVersion',
+
+        classNames: 'protocolVersion',
+
+        childViews:
+            [
+                'protocolVersionLabel',
+                'protocolVersionCheckBox'
+            ],
+
+        protocolVersionLabel: SDL.Label.extend( {
+
+            elementId: 'protocolVersionLabel',
+
+            classNames: 'protocolVersionLabel',
+
+            content: 'Protocol version V2'
+        } ),
+
+        protocolVersionCheckBox: Em.Checkbox.extend( {
+
+            elementId: 'protocolVersionCheckBox',
+
+            classNames: 'protocolVersionCheckBox',
+
+            checkedBinding: 'SDL.SDLModel.protocolVersion2State'
+
+        } )
+    } ),
+
+    buttonControls: Em.ContainerView.extend( {
+        elementId: 'buttonControls',
+
+        classNames: 'buttonControls',
+
+        childViews:
+            [
+                'ContainerControlls',
+                'OneBtn',
+                'TwoBtn',
+                'ThreeBtn',
+                'FourBtn',
+                'FiveBtn',
+                'SixBtn',
+                'SevenBtn',
+                'EightBtn',
+                'NineBtn',
+                'ZiroBtn'
+            ],
+
+        ContainerControlls: Em.ContainerView.extend( {
+            elementId: 'ContainerControlls',
+
+            classNames: 'ContainerControlls',
+
+            childViews:
+                [
+                    'UpBtn',
+                    'DownBtn',
+                    'LeftBtn',
+                    'RightBtn',
+                    'OkBtn'
+                ],
+
+            /** Up button */
+            UpBtn: SDL.Button.create( SDL.PresetEvents, {
+                elementId: 'TUNEUP',
+                classNames: 'UpBtn',
+                time: 0,
+                presetName: 'TUNEUP'
+            } ),
+
+            /** Down button */
+            DownBtn: SDL.Button.create( SDL.PresetEvents, {
+                elementId: 'TUNEDOWN',
+                classNames: 'DownBtn',
+                time: 0,
+                presetName: 'TUNEDOWN'
+            } ),
+
+            /** Left button */
+            LeftBtn: SDL.Button.create( SDL.PresetEvents, {
+                elementId: 'SEEKLEFT',
+                classNames: 'LeftBtn',
+                time: 0,
+                presetName: 'SEEKLEFT'
+            } ),
+
+            /** Right button */
+            RightBtn: SDL.Button.create( SDL.PresetEvents, {
+                elementId: 'SEEKRIGHT',
+                classNames: 'RightBtn',
+                time: 0,
+                presetName: 'SEEKRIGHT'
+            } ),
+
+            /** Ok button */
+            OkBtn: SDL.Button.create( SDL.PresetEvents, {
+                elementId: 'OK',
+                classNames: 'OkBtn',
+                time: 0,
+                presetName: 'OK'
+            } )
+        } ),
+
+        /** One button */
+        OneBtn: SDL.Button.create( SDL.PresetEvents, {
+            elementId: 'PRESET_1',
+            classNames: 'OneBtn btnNotPressed',
+            text: '1',
+            time: 0,
+            presetName: 'PRESET_1'
+        } ),
+
+        /** Two button */
+        TwoBtn: SDL.Button.create( SDL.PresetEvents, {
+            elementId: 'PRESET_2',
+            classNames: 'TwoBtn btnNotPressed',
+            text: '2',
+            time: 0,
+            presetName: 'PRESET_2'
+        } ),
+
+        /** Three button */
+        ThreeBtn: SDL.Button.create( SDL.PresetEvents, {
+            elementId: 'PRESET_3',
+            classNames: 'ThreeBtn btnNotPressed',
+            text: '3',
+            time: 0,
+            presetName: 'PRESET_3'
+        } ),
+
+        /** Four button */
+        FourBtn: SDL.Button.create( SDL.PresetEvents, {
+            elementId: 'PRESET_4',
+            classNames: 'FourBtn btnNotPressed',
+            text: '4',
+            time: 0,
+            presetName: 'PRESET_4'
+        } ),
+
+        /** Five button */
+        FiveBtn: SDL.Button.create( SDL.PresetEvents, {
+            elementId: 'PRESET_5',
+            classNames: 'FiveBtn btnNotPressed',
+            text: '5',
+            time: 0,
+            presetName: 'PRESET_5'
+        } ),
+
+        /** One button */
+        SixBtn: SDL.Button.create( SDL.PresetEvents, {
+            elementId: 'PRESET_6',
+            classNames: 'SixBtn btnNotPressed',
+            text: '6',
+            time: 0,
+            presetName: 'PRESET_6'
+        } ),
+
+        /** One button */
+        SevenBtn: SDL.Button.create( SDL.PresetEvents, {
+            elementId: 'PRESET_7',
+            classNames: 'SevenBtn btnNotPressed',
+            text: '7',
+            time: 0,
+            presetName: 'PRESET_7'
+        } ),
+
+        /** One button */
+        EightBtn: SDL.Button.create( SDL.PresetEvents, {
+            elementId: 'PRESET_8',
+            classNames: 'EightBtn btnNotPressed',
+            text: '8',
+            time: 0,
+            presetName: 'PRESET_8'
+        } ),
+
+        /** One button */
+        NineBtn: SDL.Button.create( SDL.PresetEvents, {
+            elementId: 'PRESET_9',
+            classNames: 'NineBtn btnNotPressed',
+            text: '9',
+            time: 0,
+            presetName: 'PRESET_9'
+        } ),
+
+        /** One button */
+        ZiroBtn: SDL.Button.create( SDL.PresetEvents, {
+            elementId: 'PRESET_0',
+            classNames: 'ZiroBtn btnNotPressed',
+            text: '0',
+            time: 0,
+            presetName: 'PRESET_0'
+        } )
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/statusClimateView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/statusClimateView.js
new file mode 100644 (file)
index 0000000..ad22e4a
--- /dev/null
@@ -0,0 +1,69 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.StatusClimateView
+ * @desc Climate statusbar visual representation
+ * @category View
+ * @filesource app/view/climate/StatusClimateView.js
+ * @version 1.0
+ */
+
+SDL.StatusClimateView = Em.ContainerView.extend( {
+
+    elementId: 'status_climate',
+
+    classNames:
+        [
+            'status_bar'
+        ],
+
+    /** Climate components */
+    childViews:
+        [
+            'statusHome'
+        ],
+
+    /** Label for Home screen */
+    statusHome: SDL.Label.create( {
+        elementId: 'status_climate_label',
+
+        classNames:
+            [
+                'visible'
+            ],
+
+        content: 'Climate'
+    } ),
+
+    /**
+     * Select phone state should be called when user press phone statusbar
+     */
+    actionUp: function( event ) {
+        SDL.States.goToStates( 'climate' );
+    }
+
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/statusInfoView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/statusInfoView.js
new file mode 100644 (file)
index 0000000..2e6224f
--- /dev/null
@@ -0,0 +1,64 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.StatusInfoView
+ * @desc Component for Information Status bar
+ * @category view
+ * @filesource app/view/navigation/StatusNavigationView.js
+ * @version 1.0
+ */
+SDL.StatusInfoView = Em.ContainerView.extend( {
+    /** View Id */
+    elementId: 'status_info',
+
+    classNames:
+        [
+            'status_bar',
+            'hidden'
+        ],
+
+    classNameBindings:
+        [
+            'SDL.States.info.active:selected'
+        ],
+
+    /** Navigation components */
+    childViews:
+        [
+            'statusHome'
+        ],
+
+    /** Label for Home screen */
+    statusHome: SDL.Label.create( {
+        elementId: 'status_info_label',
+        content: 'Information'
+    } ),
+
+    actionUp: function( event ) {
+        SDL.States.goToStates( SDL.InfoController.activeState );
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/statusMediaView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/statusMediaView.js
new file mode 100644 (file)
index 0000000..eab5061
--- /dev/null
@@ -0,0 +1,89 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.StatusMediaView
+ * @desc Component for Media Status bar
+ * @category view
+ * @filesource app/view/media/StatusMediaView.js
+ * @version 1.0
+ */
+SDL.StatusMediaView = Em.ContainerView.extend( {
+
+    elementId: 'media_status',
+
+    classNameBindings:
+        [
+            'SDL.States.media.active:selected'
+        ],
+
+    /** Climate components */
+    childViews:
+        [
+            'statusHome',
+            'statusInfo'
+        ],
+
+    /** Label for Home screen */
+    statusHome: SDL.Label.extend( {
+        elementId: 'media_status_homestatus',
+        classNameBindings:
+            [
+                'SDL.States.home.active:visible'
+            ],
+        contentBinding: Ember.Binding.oneWay( 'SDL.locale.label.view_mediaStatus_entertainment' )
+    } ),
+
+    statusInfo: Em.ContainerView.extend( {
+        elementId: 'media_status_radio_container',
+
+        childViews:
+            [
+                'info'
+            ],
+
+        info: Em.View.extend( {
+            elementId: 'media_status_radio_info',
+            controlerBinding: 'SDL.MediaController',
+            /** Bind class for visual representation */
+            classNameBindings:
+                [
+                    'SDL.States.home.active:hidden_display:visible_display'
+                ],
+            /** Define module layout */
+            template: Em.Handlebars.compile( '<div class="statusInfo">' + '<div class="station">'
+                            + '<span {{bindAttr class="SDL.CDModel.active:visible_display"}}>{{SDL.CDModel.statusBar}}</span>' + // title
+                            '<span {{bindAttr class="SDL.SDLAppController.model.active:visible_display"}}>{{SDL.SDLAppController.model.statusText}}</span>' + // SDL
+                            '</div>' + '<div class="icon cdIco"' + '{{bindAttr class="SDL.CDModel.active:cdIco"}}' + // CD
+                            // icon
+                            '{{bindAttr class="SDL.SDLAppController.model.active:appIco"}}>' + // SDL
+                            '</div>' + '</div>' )
+        } )
+    } ),
+    actionUp: function( event ) {
+        SDL.States.goToStates( SDL.MediaController.activeState );
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/statusNavigationView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/statusNavigationView.js
new file mode 100644 (file)
index 0000000..6e719f9
--- /dev/null
@@ -0,0 +1,60 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.StatusNavigationView
+ * @desc Component for Navigation Status bar
+ * @category view
+ * @filesource app/view/navigation/StatusNavigationView.js
+ * @version 1.0
+ */
+SDL.StatusNavigationView = Em.ContainerView.extend( {
+    /** View Id */
+    elementId: 'status_nav',
+
+    classNames: 'status_bar',
+
+    /** Navigation components */
+    childViews:
+        [
+            'statusHome'
+        ],
+
+    /** Label for Home screen */
+    statusHome: SDL.Label.create( {
+        elementId: 'navigation_status_label',
+        classNames: 'visible',
+        content: 'Navigation'
+    } ),
+
+    /**
+     * Select phone state should be called when user press phone statusbar
+     */
+    actionUp: function( event ) {
+        SDL.States.goToStates( 'navigation' );
+    }
+
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/statusPhoneView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/statusPhoneView.js
new file mode 100644 (file)
index 0000000..f6dd7e7
--- /dev/null
@@ -0,0 +1,71 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.StatusPhoneView
+ * @desc Phone statusbar visual representation
+ * @category View
+ * @filesource app/view/phone/StatusPhoneView.js
+ * @version 1.0
+ */
+
+SDL.StatusPhoneView = Em.ContainerView.extend( {
+
+    elementId: 'status_phone',
+
+    classNames:
+        [
+            'status_bar'
+        ],
+
+    /** Bind class for visual representation */
+    classNameBindings:
+        [
+            'SDL.States.phone.active:selected'
+        ],
+
+    /** Climate components */
+    childViews:
+        [
+            'statusHome',
+        ],
+
+    /** Label for Home screen */
+    statusHome: SDL.Label.extend( {
+        elementId: 'status_phone_label',
+
+        classNames: 'visible',
+
+        content: 'Phone'
+    } ),
+
+    /**
+     * Select phone state should be called when user press phone statusbar
+     */
+    actionUp: function( event ) {
+        SDL.States.goToStates( 'phone.dialpad' );
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/topControls.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/home/topControls.js
new file mode 100644 (file)
index 0000000..f0d0589
--- /dev/null
@@ -0,0 +1,59 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.ClimateView
+ * @desc Climate module visual representation
+ * @category View
+ * @filesource app/view/climate/ClimateView.js
+ * @version 1.0
+ */
+
+SDL.TopControls = Em.ContainerView.extend( {
+
+    elementId: 'app_top_menu_cont',
+
+    childViews:
+        [
+            'controls'
+        ],
+
+    controls: Em.ContainerView.extend( {
+        elementId: 'top_controls',
+
+        childViews:
+            [
+                'clock'
+            ],
+
+        clock: Em.View.extend( {
+            elementId: 'clock',
+
+            template: Em.Handlebars.compile( '<div id="time_num">1:47 86°</div>' )
+
+        } )
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/homeView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/homeView.js
new file mode 100644 (file)
index 0000000..e8534d3
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.HomeView
+ * @desc Home screen visual representation
+ * @category View
+ * @filesource app/view/home/HomeView.js
+ * @version 1.0
+ */
+
+SDL.HomeView = Em.ContainerView.create( {
+
+    classNameBindings: 'SDL.States.home.active:active_state:inactive_state',
+
+    elementId: 'home'
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/alertsView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/alertsView.js
new file mode 100644 (file)
index 0000000..eeefcc4
--- /dev/null
@@ -0,0 +1,129 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.InfoAlertsView
+ * @desc Info Alerts module visual representation
+ * @category View
+ * @filesource app/view/sinfo/InfoAlertsView.js
+ * @version 1.0
+ */
+
+SDL.InfoAlertsView = Em.ContainerView.create( {
+    /** Bind class for visual representation */
+    classNameBindings:
+        [
+            'SDL.States.info.alerts.active:active_state:inactive_state'
+        ],
+
+    elementId: 'info_alerts',
+
+    childViews:
+        [
+            'listCaption',
+            'mainlist',
+            'rightlist'
+        ],
+
+    listCaption: SDL.LabelPlusToggleButton.extend( {
+        elementId: 'info_alerts_listCaption',
+        labelContentBinding: 'SDL.locale.label.view_info_alerts_sort',
+        tButtonValue: 0,
+        tButtonRange: 2,
+        tButtonLabelsBinding: 'SDL.locale.label.view_info_alerts_dateIcon',
+        labelDisabled: true,
+        tButtonDisabled: true
+    } ),
+
+    mainlist: SDL.List.extend( {
+
+        elementId: 'info_alerts_list',
+
+        itemsOnPage: 6,
+
+        items:
+            [
+                {
+                    type: SDL.Label,
+
+                    params: {
+                        disabled: true
+                    }
+                },
+                {
+                    type: SDL.Button,
+                    params: {
+                        classNames:
+                            [
+                                'ember-view ffw-button notpressed list-item disabled active'
+                            ],
+                        textBinding: 'SDL.locale.label.view_info_alerts_911Assist',
+                        templateName: 'rightIcon',
+                        icon: 'images/info/ico_emergcyAndEnvelope.png',
+                        righticon: 'images/info/ico_arrowLock.png',
+                        disabled: true
+                    }
+                }
+            ]
+    } ),
+
+    rightlist: SDL.List.extend( {
+
+        elementId: 'info_alerts_rightList',
+
+        itemsOnPage: 5,
+
+        disableScrollbar: true,
+
+        items:
+            [
+                {
+                    type: SDL.Button,
+                    params: {
+                        className: 'button',
+                        textBinding: 'SDL.locale.label.view_info_alerts_view',
+                        disabled: true
+                    }
+                },
+                {
+                    type: SDL.Button,
+                    params: {
+                        className: 'button',
+                        textBinding: 'SDL.locale.label.view_info_alerts_delete',
+                        disabled: true
+                    }
+                },
+                {
+                    type: SDL.Button,
+                    params: {
+                        className: 'button',
+                        textBinding: 'SDL.locale.label.view_info_alerts_deleteAll',
+                        disabled: true
+                    }
+                }
+            ]
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/appsView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/appsView.js
new file mode 100644 (file)
index 0000000..f708c72
--- /dev/null
@@ -0,0 +1,144 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.InfoAppsview
+ * @desc Info Apps visual representation
+ * @category View
+ * @filesource app/view/info/AppsView.js
+ * @version 1.0
+ */
+
+SDL.InfoAppsView = Em.ContainerView.create( {
+
+    elementId: 'info_apps',
+
+    classNameBindings:
+        [
+            'SDL.States.info.apps.active:active_state:inactive_state'
+        ],
+
+    childViews:
+        [
+//            'vehicleHealthReport',
+//            'Asist911',
+//            'installButton',
+            'findNewApps',
+            'getDeviceList',
+            'listOfApplications'
+        ],
+
+    /**
+     * Function to add application to application list
+     */
+    showAppList: function() {
+
+        this.get( 'listOfApplications.list' ).removeAllChildren();
+
+        this.listOfApplications.list.refresh();
+
+        var i, apps = SDL.SDLModel.registeredApps, appIndex;
+
+        for( i = 0; i < apps.length; i++ ){
+
+            appIndex = SDL.SDLModel.registeredApps.indexOf( apps[i] );
+
+            this.get( 'listOfApplications.list.childViews' ).pushObject( SDL.Button.create( {
+                action: 'onActivateSDLApp',
+                target: 'SDL.SDLController',
+                text: apps[i].appName + " - " + apps[i].deviceName,
+                appName: apps[i].appName,
+                appId: apps[i].appId,
+                classNames: 'list-item button',
+                iconBinding: 'SDL.SDLModel.registeredApps.' + appIndex + '.appIcon'
+            } ) );
+        }
+
+    }.observes( 'SDL.SDLModel.registeredApps.@each' ),
+
+    vehicleHealthReport: SDL.Button.extend( {
+        goToState: 'vehicle.healthReport',
+        classNames: 'button vehicleHealthReport leftButtons',
+        icon: 'images/info/ico_vehicle.png',
+        textBinding: 'SDL.locale.label.view_info_apps_vehicle_VehicleHealthReport',
+        elementId: 'infoAppsVehicleHealthReport',
+        arrow: true,
+        onDown: false
+    } ),
+
+    Asist911: SDL.Button.extend( {
+        goToState: 'help.helpAssist',
+        classNames: 'button Asist911 leftButtons',
+        icon: 'images/info/ico_assist.png',
+        textBinding: 'SDL.locale.label.view_info_apps_911Assist',
+        elementId: 'infoAppsAsist911',
+        arrow: true,
+        onDown: false
+    } ),
+
+    installButton: SDL.Button.extend( {
+        goToState: 'settings.system.installApplications',
+        icon: 'images/info/ico_info_install.png',
+        textBinding: 'SDL.locale.label.view_info_apps_vehicle_InstallApplicationsUp',
+        elementId: 'infoAppsInstallButton',
+        classNames: 'button installButton leftButtons',
+        arrow: true,
+        onDown: false
+    } ),
+
+    findNewApps: SDL.Button.extend( {
+        goToState: 'settings.system.installApplications',
+        icon: 'images/sdl/new_apps.png',
+        textBinding: 'SDL.locale.label.view_info_apps_vehicle_FindNewApplications',
+        elementId: 'infoAppsFindNewApps',
+        classNames: 'button findNewApps leftButtons',
+        arrow: true,
+        action: 'findNewApps',
+        target: 'SDL.SDLController',
+        onDown: false
+    } ),
+
+    getDeviceList: SDL.Button.extend( {
+        icon: 'images/sdl/devices.png',
+        textBinding: 'SDL.locale.label.view_info_apps_vehicle_GetDeviceList',
+        elementId: 'infoAppsGetDeviceList',
+        classNames: 'button getDeviceList leftButtons',
+        arrow: true,
+        action: 'onGetDeviceList',
+        target: 'SDL.SDLController',
+        onDown: false
+    } ),
+
+    listOfApplications: SDL.List.extend( {
+
+        elementId: 'info_apps_list',
+
+        itemsOnPage: 5,
+
+        /** Items */
+        items: new Array()
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/calendarView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/calendarView.js
new file mode 100644 (file)
index 0000000..c604a16
--- /dev/null
@@ -0,0 +1,76 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.InfoCalendarView
+ * @desc Info Calendar module visual representation
+ * @category View
+ * @filesource app/view/sinfo/CalendarView.js
+ * @version 1.0
+ */
+
+SDL.InfoCalendarView = Em.View.create( {
+    /** Bind class for visual representation */
+    classNameBindings:
+        [
+            'SDL.States.info.calendar.active:active_state:inactive_state'
+        ],
+
+    elementId: 'info_calendar',
+
+    template: Ember.Handlebars.compile( '<div class="inner-wrapper">' + '<div class="label-20 disabled date">{{SDL.locale.label.view_info_calendar_date}}</div>' +
+
+    '{{view SDL.Button ' + 'class= "today button" ' + 'textBinding="SDL.locale.label.view_info_calendar_today" ' + 'disabled=true ' + '}}' +
+
+    '<div class="day day-1">{{SDL.locale.label.view_info_calendar_day1}}</div>' + '<div class="day day-2">{{SDL.locale.label.view_info_calendar_day2}}</div>'
+                    + '<div class="day day-3">{{SDL.locale.label.view_info_calendar_day3}}</div>' + '<div class="day day-4">{{SDL.locale.label.view_info_calendar_day4}}</div>'
+                    + '<div class="day day-5">{{SDL.locale.label.view_info_calendar_day5}}</div>' + '<div class="day day-6">{{SDL.locale.label.view_info_calendar_day6}}</div>'
+                    + '<div class="day day-7 active">{{SDL.locale.label.view_info_calendar_day7}}</div>' +
+
+                    '<div class="c-btn disabled btn-1">1</div>' + '<div class="c-btn disabled btn-8">8</div>' + '<div class="c-btn disabled btn-15">15</div>'
+                    + '<div class="c-btn disabled btn-22">22</div>' + '<div class="c-btn disabled btn-29">29</div>' +
+
+                    '<div class="c-btn disabled btn-7">7</div>' + '<div class="c-btn disabled btn-14">14</div>' + '<div class="c-btn disabled btn-21">21</div>'
+                    + '<div class="c-btn disabled active btn-28">28</div>' +
+
+                    '<div class="c-btn disabled btn-6">6</div>' + '<div class="c-btn disabled btn-13">13</div>' + '<div class="c-btn disabled btn-20">20</div>'
+                    + '<div class="c-btn disabled btn-27">27</div>' +
+
+                    '<div class="c-btn disabled btn-5">5</div>' + '<div class="c-btn disabled btn-12">12</div>' + '<div class="c-btn disabled btn-19">19</div>'
+                    + '<div class="c-btn disabled btn-26">26</div>' +
+
+                    '<div class="c-btn disabled btn-4">4</div>' + '<div class="c-btn disabled btn-11">11</div>' + '<div class="c-btn disabled btn-18">18</div>'
+                    + '<div class="c-btn disabled btn-25">25</div>' +
+
+                    '<div class="c-btn disabled btn-3">3</div>' + '<div class="c-btn disabled btn-10">10</div>' + '<div class="c-btn disabled btn-17">17</div>'
+                    + '<div class="c-btn disabled btn-24">24</div>' + '<div class="c-btn disabled btn-31">31</div>' +
+
+                    '<div class="c-btn disabled btn-2">2</div>' + '<div class="c-btn disabled btn-9">9</div>' + '<div class="c-btn disabled btn-16">16</div>'
+                    + '<div class="c-btn disabled btn-23">23</div>' + '<div class="c-btn disabled btn-30">30</div>' +
+
+                    '</div>' )
+
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/devicelistView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/devicelistView.js
new file mode 100644 (file)
index 0000000..9f38b78
--- /dev/null
@@ -0,0 +1,130 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.DeviceListView
+ * @desc Media App Options module visual representation
+ * @category View
+ * @filesource app/view/media/devicelistView.js
+ * @version 1.0
+ */
+
+SDL.DeviceListView = Em.ContainerView.create( {
+
+    classNames:
+        [
+            'info_apps_deviceList_view'
+        ],
+
+    classNameBindings:
+        [
+            'SDL.States.info.devicelist.active:active_state:inactive_state'
+        ],
+
+    /**
+     * View Id
+     */
+    elementId: 'info_apps_deviceList_view',
+
+    /**
+     * View Components
+     */
+    childViews:
+        [
+            'backButton',
+            'deviceListLabel',
+            'listOfDevices'
+        ],
+
+    /**
+     * Button to return to previous view
+     */
+    backButton: SDL.Button.extend( {
+        classNames:
+            [
+                'backButton',
+                'button'
+            ],
+        action: 'turnChangeDeviceViewBack',
+        target: 'SDL.SDLController',
+        icon: 'images/media/ico_back.png'
+    } ),
+
+    /**
+     * Label in title
+     */
+    deviceListLabel: SDL.Label.extend( {
+
+        elementId: 'deviceListLabel',
+
+        classNames: 'deviceListLabel',
+
+        content: 'Change Devices'
+    } ),
+
+    /*
+     * Function calls when notification from RPC comes and creates buttons to
+     * choose devices
+     */
+    ShowDeviceList: function( params ) {
+
+        var i, len = params.deviceList.length;
+        for( i = 0; i < len; i++ ){
+            this.get( 'listOfDevices.list.childViews' ).pushObject( SDL.Button.create( {
+                deviceName: params.deviceList[i],
+                icon: params.icon,
+                text: params.deviceList[i],
+                classNames: 'ffw-button notpressed list-item',
+                templateName: params.icon ? 'rightIcon' : 'text',
+                action: 'onDeviceChoosed',
+                target: 'SDL.SDLController',
+                onDown: false
+            } ) );
+        }
+    },
+
+    /*
+     * Function calls each time when user enters Change Device menu and clear
+     * all old data about devices
+     */
+    clearDeviceList: function() {
+        this.get( 'listOfDevices.list' ).removeAllChildren();
+        this.listOfDevices.rerender();
+    },
+
+    /**
+     * List for option on DeviceListView screen
+     */
+    listOfDevices: SDL.List.extend( {
+
+        elementId: 'info_apps_deviceList_list',
+
+        itemsOnPage: 5,
+
+        /** Items array */
+        items: []
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/nonMediaView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/nonMediaView.js
new file mode 100644 (file)
index 0000000..4c21804
--- /dev/null
@@ -0,0 +1,219 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.InfoNonMedia
+ * @desc NonMedia application visual representation
+ * @category View
+ * @filesource app/view/info/nonMedia.js
+ * @version 1.0
+ */
+
+SDL.InfoNonMedia = Em.ContainerView.create( {
+
+    elementId: 'info_nonMedia',
+
+    controller: SDL.SDLAppController,
+
+    childViews:
+        [
+            'content'
+        ],
+
+    classNameBindings:
+        [
+            'SDL.States.info.nonMedia.active:active_state:inactive_state'
+        ],
+
+    content: Em.ContainerView.extend( {
+        classNames:
+            [
+                'inner_content'
+            ],
+
+        childViews:
+            [
+                'deviceName',
+                'image',
+                'fields',
+                'innerMenu',
+                'presets'
+            ],
+
+        /**
+         * Deactivate View
+         */
+        deactivate: function() {
+            SDL.States.goToStates( 'info.apps' );
+        },
+
+        deviceName: SDL.Label.extend( {
+
+            classNames:
+                [
+                    'app_title'
+                ],
+
+            contentBinding: 'SDL.SDLAppController.model.deviceName'
+        } ),
+
+        image: Em.View.extend( {
+
+            classNames:
+                [
+                    'app_image'
+                ],
+
+            template: Ember.Handlebars.compile( '<img width="150px" {{bindAttr src="SDL.SDLAppController.model.appInfo.mainImage"}}>' )
+        } ),
+
+        fields: Em.ContainerView.extend( {
+
+            classNames:
+                [
+                    'app_fields'
+                ],
+
+            childViews:
+                [
+                    'field1',
+                    'field2',
+                    'field3',
+                    'field4'
+                ],
+
+            field1: SDL.Label.extend( {
+                contentBinding: 'controller.model.appInfo.field1'
+            } ),
+
+            field2: SDL.Label.extend( {
+                contentBinding: 'controller.model.appInfo.field2'
+            } ),
+
+            field3: SDL.Label.extend( {
+                contentBinding: 'controller.model.appInfo.field3'
+            } ),
+
+            field4: SDL.Label.extend( {
+                contentBinding: 'controller.model.appInfo.field4'
+            } )
+
+        } ),
+
+        innerMenu: SDL.MenuList.extend( {
+
+            refreshItems: function() {
+                if( SDL.SDLAppController.model.appId == SDL.NonMediaController.currentAppId ){
+                    this.addItems( SDL.SDLAppController.model.softButtons, SDL.SDLAppController.model.appId );
+                }
+            }.observes( 'SDL.SDLAppController.model.softButtons.@each' ),
+
+            groupName: "NonMediaView",
+
+            content: Em.ContainerView.extend( {
+
+                classNames:
+                    [
+                        'content'
+                    ],
+
+                attributeBindings:
+                    [
+                        'parentView.contentPositon:style'
+                    ],
+
+                childViews:
+                    [
+                        'optionsButton'
+                    ],
+
+                optionsButton: SDL.Button.extend( {
+                    text: 'Options',
+
+                    templateName: 'arrow',
+
+                    action: 'openCommandsList',
+                    target: 'SDL.SDLAppController'
+                } )
+            } )
+        } ),
+
+        presets: Em.ContainerView.extend( {
+            classNames:
+                [
+                    'presets'
+                ],
+
+            classNameBindings:
+                [
+                    'hidden'
+                ],
+
+            hidden: function() {
+
+                if( SDL.SDLAppController.model ){
+                    return !Boolean( SDL.SDLAppController.model.get( 'appInfo.customPresets' ).length );
+                }
+
+            }.property( 'SDL.SDLAppController.model.appInfo.customPresets.@each' ),
+
+            childViews:
+                [
+                    'perset1',
+                    'perset2',
+                    'perset3',
+                    'perset4',
+                    'perset5',
+                    'perset6'
+                ],
+
+            perset1: SDL.SDLPresetButton.extend( {
+                textBinding: 'SDL.SDLAppController.model.appInfo.customPresets.0',
+                presetName: 'PRESET_1'
+            } ),
+            perset2: SDL.SDLPresetButton.extend( {
+                textBinding: 'SDL.SDLAppController.model.appInfo.customPresets.1',
+                presetName: 'PRESET_2'
+            } ),
+            perset3: SDL.SDLPresetButton.extend( {
+                textBinding: 'SDL.SDLAppController.model.appInfo.customPresets.2',
+                presetName: 'PRESET_3'
+            } ),
+            perset4: SDL.SDLPresetButton.extend( {
+                textBinding: 'SDL.SDLAppController.model.appInfo.customPresets.3',
+                presetName: 'PRESET_4'
+            } ),
+            perset5: SDL.SDLPresetButton.extend( {
+                textBinding: 'SDL.SDLAppController.model.appInfo.customPresets.4',
+                presetName: 'PRESET_5'
+            } ),
+            perset6: SDL.SDLPresetButton.extend( {
+                textBinding: 'SDL.SDLAppController.model.appInfo.customPresets.5',
+                presetName: 'PRESET_6'
+            } )
+        } )
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/servicesView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/servicesView.js
new file mode 100644 (file)
index 0000000..de9e950
--- /dev/null
@@ -0,0 +1,54 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.ServicesView
+ * @desc Info Services module visual representation
+ * @category Info
+ * @filesource app/view/ServicesView.js
+ * @version 1.0
+ */
+
+SDL.InfoServicesView = Em.View.create( {
+
+    elementId: 'info_services_view',
+
+    classNameBindings:
+        [
+            'SDL.States.info.services.active:active_state:inactive_state'
+        ],
+
+    /** Define module template */
+    template: Ember.Handlebars
+                    .compile( '<div class="inner-content">'
+                                    + '<div id="info_sync_services" class="info-text">{{SDL.locale.label.view_info_services_syncServices}}</div>'
+                                    + '<div id="info_traff" class="info-text">{{SDL.locale.label.view_info_services_trafficDirectionsAndInformation}}</div>'
+                                    + '<div id="info_traffic_report" class="info-text">{{SDL.locale.label.view_info_services_getTheLatestTrafficRreport}}</div>'
+                                    + '<div id="info_traffic_pts" class="info-text">{{SDL.locale.label.view_info_services_findBusinessesAndDownloadSaved}}<br>{{SDL.locale.label.view_info_services_Pts}}</div>'
+                                    + '<div id="info_traffic_hear" class="info-text">{{SDL.locale.label.view_info_services_hearPersonalizedInformationMore}}</div>'
+                                    + '<div id="info_connect" class="info-text">{{SDL.locale.label.view_info_services_connecttoServices}}</div>'
+                                    + '<div id="info_log" class="info-text">{{SDL.locale.label.view_info_services_toActivate}}</div>' + '</div>' )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/travelLinkView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/info/travelLinkView.js
new file mode 100644 (file)
index 0000000..2ad267f
--- /dev/null
@@ -0,0 +1,168 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.InfoTravelLinkView
+ * @desc Info Travel Link Help module visual representation
+ * @category View
+ * @filesource app/view/settings/InfoTravelLinkView.js
+ * @version 1.0
+ */
+
+SDL.InfoTravelLinkView = Em.ContainerView.create( {
+
+    classNameBindings:
+        [
+            'SDL.States.info.travelLink.active:active_state:inactive_state'
+        ],
+
+    elementId: 'info_travelLink',
+
+    childViews:
+        [
+            'imageLogo',
+            'listLeft',
+            'listRight',
+        ],
+
+    imageLogo: SDL.Label.extend( {
+        elementId: 'info_travelLink_logo',
+        icon: 'images/info/info_travelLink_sirius_logo.png',
+        templateName: 'icon'
+    } ),
+
+    listLeft: SDL.List.extend( {
+        elementId: 'info_travelLink_listLeft',
+
+        disableScrollbar: true,
+
+        itemsOnPage: 5,
+
+        /** Items */
+        items:
+            [
+                {
+
+                    type: SDL.Button,
+
+                    params: {
+                        textBinding: 'SDL.locale.label.view_info_travelLink_trafficOnRoute',
+                        templateName: 'arrow',
+                        disabled: true
+                    }
+
+                },
+                {
+
+                    type: SDL.Button,
+
+                    params: {
+                        textBinding: 'SDL.locale.label.view_info_travelLink_trafficNearby',
+                        templateName: 'arrow',
+                        disabled: true
+                    }
+
+                },
+                {
+
+                    type: SDL.Button,
+
+                    params: {
+                        textBinding: 'SDL.locale.label.view_info_travelLink_fuelPrices',
+                        templateName: 'arrow',
+                        disabled: true
+                    }
+
+                },
+                {
+
+                    type: SDL.Button,
+
+                    params: {
+                        textBinding: 'SDL.locale.label.view_info_travelLink_movieListings',
+                        templateName: 'arrow',
+                        disabled: true
+                    }
+
+                },
+            ]
+    } ),
+
+    listRight: SDL.List.extend( {
+        elementId: 'info_travelLink_listRight',
+
+        disableScrollbar: true,
+
+        /** Items */
+        items:
+            [
+                {
+
+                    type: SDL.Button,
+
+                    params: {
+
+                        textBinding: 'SDL.locale.label.view_info_travelLink_subscriptionInfo',
+                        disabled: true
+                    }
+
+                },
+                {
+
+                    type: SDL.Button,
+
+                    params: {
+                        textBinding: 'SDL.locale.label.view_info_travelLink_weather',
+                        templateName: 'arrow',
+                        disabled: true
+                    }
+
+                },
+                {
+
+                    type: SDL.Button,
+
+                    params: {
+                        textBinding: 'SDL.locale.label.view_info_travelLink_sportsInfo',
+                        templateName: 'arrow',
+                        disabled: true
+                    }
+
+                },
+                {
+
+                    type: SDL.Button,
+
+                    params: {
+                        textBinding: 'SDL.locale.label.view_info_travelLink_skiConditions',
+                        templateName: 'arrow',
+                        disabled: true
+                    }
+
+                }
+            ]
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/infoView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/infoView.js
new file mode 100644 (file)
index 0000000..d5eb6d1
--- /dev/null
@@ -0,0 +1,180 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.InfoView
+ * @desc Info module visual representation
+ * @category Info
+ * @filesource app/view/InfoView.js
+ * @version 1.0
+ */
+
+SDL.InfoView = Em.ContainerView.create( {
+
+    elementId: 'info_view',
+
+    /** Bind class for visual representation */
+    classNameBindings:
+        [
+            'SDL.States.info.active:active_state:inactive_state'
+        ],
+
+    controllerBinding: Ember.Binding.oneWay( 'SDL.InfoController' ),
+
+    /** Settings components */
+    childViews:
+        [
+            'leftMenu',
+//            SDL.InfoServicesView,
+//            SDL.InfoTravelLinkView,
+//            SDL.InfoCalendarView,
+            SDL.InfoAppsView,
+//            SDL.InfoNonMedia,
+            SDL.DeviceListView
+        ],
+
+    /** Left menu */
+    leftMenu: Em.ContainerView.extend( {
+        elementId: 'info_leftMenu',
+
+        classNameBindings:
+            [
+                'parentView.controller.hiddenLeftMenu:hidden'
+            ],
+
+        classNames: 'menu-items',
+
+        childViews:
+            [
+                'border',
+                'items'
+            ],
+
+        border: Em.View.extend( {
+            classNames: 'ls_border'
+        } ),
+
+        items: Em.ContainerView.extend( {
+            classNames: 'ls-items',
+
+            childViews:
+                [
+                    'servicesButton',
+                    'travelLinkButton',
+                    'calendarButton',
+                    'appsButton',
+                    'sdlButton'
+                ],
+
+            servicesButton: SDL.Button.extend( {
+                elementId: 'info_leftMenu_services',
+                goToState: 'services',
+                classNames: 'menu-item lsp1_p',
+                classNameBindings:
+                    [
+                        'SDL.States.info.services.active:info_active'
+                    ],
+                textBinding: 'SDL.locale.label.view_info_leftmenu_services',
+                icon: 'images/info/info_leftMenu_services_ico.png',
+                action: 'onState',
+                target: 'SDL.InfoController'
+            } ),
+
+            travelLinkButton: SDL.Button.extend( {
+                elementId: 'info_leftMenu_travelLink',
+                goToState: 'travelLink',
+                classNames: 'menu-item lsp1_p',
+                classNameBindings:
+                    [
+                        'SDL.States.info.travelLink.active:info_active'
+                    ],
+                textBinding: 'SDL.locale.label.view_info_leftmenu_travelLink',
+                icon: 'images/info/info_leftMenu_travelLink_ico.png',
+                action: 'onState',
+                target: 'SDL.InfoController'
+            } ),
+
+            alertsButton: SDL.Button.extend( {
+                elementId: 'info_leftMenu_alerts',
+                goToState: 'alerts',
+                classNames: 'menu-item lsp1_p',
+                classNameBindings:
+                    [
+                        'SDL.States.info.alerts.active:info_active'
+                    ],
+                textBinding: 'SDL.locale.label.view_info_leftmenu_alerts',
+                icon: 'images/info/info_leftMenu_alerts_ico.png',
+                action: 'onState',
+                target: 'SDL.InfoController'
+            } ),
+
+            calendarButton: SDL.Button.extend( {
+                elementId: 'info_leftMenu_calendar',
+                goToState: 'calendar',
+                classNames: 'menu-item lsp1_p',
+                classNameBindings:
+                    [
+                        'SDL.States.info.calendar.active:info_active'
+                    ],
+                textBinding: 'SDL.locale.label.view_info_leftmenu_calendar',
+                icon: 'images/info/info_leftMenu_calendar_ico.png',
+                action: 'onState',
+                target: 'SDL.InfoController'
+            } ),
+
+            appsButton: SDL.Button.extend( {
+                elementId: 'info_leftMenu_apps',
+                goToState: 'apps',
+                classNames: 'menu-item lsp1_p',
+                classNameBindings:
+                    [
+                        'SDL.States.info.apps.active:info_active'
+                    ],
+                textBinding: 'SDL.locale.label.view_info_leftmenu_apps',
+                icon: 'images/info/info_leftMenu_apps_ico.png',
+                action: 'onState',
+                target: 'SDL.InfoController'
+            } ),
+
+            sdlButton: SDL.Button.extend( {
+                elementId: 'info_leftMenu_sdl',
+                goToState: 'nonMedia',
+                classNames: 'menu-item lsp1_p',
+                classNameBindings:
+                    [
+                        'SDL.States.info.nonMedia.active:info_active'
+                    ],
+                hidden: function() {
+                    return !SDL.NonMediaController.currentAppId;
+                }.property( 'SDL.NonMediaController.currentAppId' ),
+                textBinding: 'SDL.NonMediaController.currentAppName',
+                iconBinding: 'SDL.NonMediaController.currentAppIcon',
+                action: 'onState',
+                target: 'SDL.InfoController'
+            } )
+        } )
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/media/common/LeftMenuView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/media/common/LeftMenuView.js
new file mode 100644 (file)
index 0000000..ed11a85
--- /dev/null
@@ -0,0 +1,82 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.LeftMenuView
+ * @desc Media Left Menu module visual representation
+ * @category View
+ * @filesource app/view/media/SiriusView.js
+ * @version 1.0
+ */
+
+SDL.LeftMenuView = Em.ContainerView.extend( {
+    /** View ID */
+    elementId: 'media_leftmenu',
+
+    /** View components */
+    childViews:
+        [
+            'border',
+            'cdButton',
+            'sdlButton'
+        ],
+    /** Border decoration */
+    border: Em.View.extend( {
+        elementId: 'media_left_menu_border',
+        classNames: 'ls_border'
+    } ),
+
+    /** CD Station Button */
+    cdButton: SDL.Button.extend( {
+        classNameBindings:
+            [
+                'SDL.CDModel.active:active_state'
+            ],
+        elementId: 'media_cdButton',
+        classNames: 'media-ls-item',
+        action: 'turnOnCD',
+        icon: 'images/media/ico_cd.png',
+        target: 'SDL.MediaController',
+        textBinding: Ember.Binding.oneWay( 'SDL.locale.label.view_media_cd' )
+    } ),
+    /** SDL Button */
+    sdlButton: SDL.Button.extend( {
+        classNameBindings:
+            [
+                'SDL.States.media.sdlmedia.active:active_state'
+            ],
+        elementId: 'media_sdlButton',
+        classNames: 'media-ls-item',
+        hidden: function() {
+            return !SDL.SDLMediaController.currentAppId;
+        }.property( 'SDL.SDLMediaController.currentAppId' ),
+        textBinding: 'SDL.SDLMediaController.currentAppName',
+        iconBinding: 'SDL.SDLMediaController.currentAppIcon',
+        action: 'turnOnSDL',
+        target: 'SDL.MediaController'
+    } )
+
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/media/playerView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/media/playerView.js
new file mode 100644 (file)
index 0000000..e2bf548
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.MediaPlayerView
+ * @desc Media Player module visual representation
+ * @category View
+ * @filesource app/view/media/common/MediaPalyerView.js
+ * @version 1.0
+ */
+SDL.playerView = Em.View.create( {
+
+    elementId: 'media_player_view_container',
+
+    classNameBindings:
+        [
+            'SDL.States.media.player.active:active_state:inactive_state'
+        ]
+
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/media/sdl/controllsView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/media/sdl/controllsView.js
new file mode 100644 (file)
index 0000000..79f02f0
--- /dev/null
@@ -0,0 +1,210 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.SDLMediaControlls
+ * @desc SDLMediaControlls visual representation
+ * @category View
+ * @filesource app/view/media/sdl/controllsView.js
+ * @version 1.0
+ */
+
+SDL.SDLMediaControlls = Em.ContainerView.create( {
+
+    childViews:
+        [
+            'info',
+            'Controls',
+            'tuneButtons'
+        ],
+
+    /**
+     * Verification paramiter
+     */
+    sdlMediaControlls: "V2",
+
+    info: Em.View.extend( {
+
+        elementId: 'app_view_info',
+
+        template: Em.Handlebars
+                        .compile( '{{#with view}}'
+                                        + '<div class="track-info">'
+                                        + '<div class="device">{{SDL.SDLAppController.model.deviceName}}</div>'
+                                        + '<div class="divider_o"></div>'
+                                        + '<div class="title textLimit">{{SDL.SDLAppController.model.appInfo.field1}}</div>'
+                                        + '<div class="album textLimit">{{SDL.SDLAppController.model.appInfo.field2}}</div>'
+                                        + '<div class="artist textLimit"{{bindAttr class="SDL.SDLModel.protocolVersion2State:hidden"}}>{{SDL.SDLAppController.model.appInfo.field3}}</div>'
+                                        + '<div class="time"{{bindAttr class="SDL.SDLModel.protocolVersion2State:timeV2"}}>{{SDL.SDLAppController.model.appInfo.mediaClock}}</div>'
+                                        + '<img class="cd_logo" {{bindAttr src="SDL.SDLAppController.model.appInfo.trackIcon" class="SDL.SDLModel.protocolVersion2State:cd_logoV2"}} />'
+                                        + '</div>' + '{{/with}}' )
+    } ),
+
+    Controls: Em.ContainerView.create( {
+
+        elementId: 'app_view_controlls',
+
+        /** View components */
+        childViews:
+            [
+                'PrevTrackButton',
+                'PlayButton',
+                'NextTrackButton'
+            ],
+
+        classNames: 'player_controlls',
+
+        classNameBindings: 'SDL.SDLModel.protocolVersion2State:player_controllsV2',
+
+        PrevTrackButton: SDL.Button.extend( SDL.PresetEvents, {
+            elementId: 'app_view_controlls_prev_track_button_v2',
+            classNames:
+                [
+                    'bc-item-big',
+                    'prevcd'
+                ],
+            classNames:
+                [
+                    'bc-item-big',
+                    'prevcd'
+                ],
+            icon: 'images/media/ico_prew.png',
+            presetName: 'SEEKLEFT'
+        } ),
+        PlayButton: SDL.Button.extend( {
+            elementId: 'app_view_controlls_play_button_v2',
+            classNames:
+                [
+                    'bc-item-big',
+                    'playcd'
+                ],
+            presetName: 'OK',
+            actionUp: function() {
+                SDL.SDLController.onSoftButtonOkActionUp( this.presetName );
+            },
+            actionDown: function() {
+                SDL.SDLController.onSoftButtonOkActionDown( this.presetName );
+            },
+            /**
+             * Define button
+             * template
+             */
+            template: Ember.Handlebars
+                            .compile( '<img class="playIcon" {{bindAttr class="SDL.SDLAppController.model.isPlaying:visible:not-visible"}} src="images/media/ico_pause.png" />'
+                                            + '<img class="playIcon not-visible" {{bindAttr class="SDL.SDLAppController.model.isPlaying:not-visible:visible"}} src="images/media/ico-play.png" />' )
+        } ),
+        NextTrackButton: SDL.Button.extend( SDL.PresetEvents, {
+            elementId: 'app_view_controlls_next_track_button_v2',
+            classNames:
+                [
+                    'bc-item-big',
+                    'nextcd'
+                ],
+            icon: 'images/media/ico_next.png',
+            presetName: 'SEEKRIGHT'
+        } )
+    } ),
+
+    tuneButtons: Em.ContainerView.create( {
+
+        elementId: 'sdl_media_presetButtons',
+
+        classNameBindings:
+            [
+                'SDL.SDLModel.protocolVersion2State::hidden'
+            ],
+
+        classNames:
+            [
+                'main-preset-buttons-wraper'
+            ],
+
+        childViews:
+            [
+                'wrapper'
+            ],
+
+        wrapper: Em.ContainerView.extend( {
+
+            elementId: 'sdl_media_presetButtons_wrapper',
+
+            classNames: 'preset-items',
+
+            childViews:
+                [
+                    '1',
+                    '2',
+                    '3',
+                    '4',
+                    '5',
+                    '6'
+                ],
+
+            1: SDL.Button.extend( SDL.PresetEvents, {
+                elementId: 'sdl_media_preset_button1',
+                classNames: 'a0 preset-item',
+                textBinding: 'SDL.SDLAppController.model.appInfo.customPresets.0',
+                templateName: 'text',
+                presetName: 'PRESET_1'
+            } ),
+            2: SDL.Button.extend( SDL.PresetEvents, {
+                elementId: 'sdl_media_preset_button2',
+                classNames: 'a1 preset-item',
+                textBinding: 'SDL.SDLAppController.model.appInfo.customPresets.1',
+                templateName: 'text',
+                presetName: 'PRESET_2'
+            } ),
+            3: SDL.Button.extend( SDL.PresetEvents, {
+                elementId: 'sdl_media_preset_button3',
+                classNames: 'a2 preset-item',
+                textBinding: 'SDL.SDLAppController.model.appInfo.customPresets.2',
+                templateName: 'text',
+                presetName: 'PRESET_3'
+            } ),
+            4: SDL.Button.extend( SDL.PresetEvents, {
+                elementId: 'sdl_media_preset_button4',
+                classNames: 'a3 preset-item',
+                textBinding: 'SDL.SDLAppController.model.appInfo.customPresets.3',
+                templateName: 'text',
+                presetName: 'PRESET_4'
+            } ),
+            5: SDL.Button.extend( SDL.PresetEvents, {
+                elementId: 'sdl_media_preset_button5',
+                classNames: 'a4 preset-item',
+                textBinding: 'SDL.SDLAppController.model.appInfo.customPresets.4',
+                templateName: 'text',
+                presetName: 'PRESET_5'
+            } ),
+            6: SDL.Button.extend( SDL.PresetEvents, {
+                elementId: 'sdl_media_preset_button6',
+                classNames: 'a5 preset-item',
+                textBinding: 'SDL.SDLAppController.model.appInfo.customPresets.5',
+                templateName: 'text',
+                presetName: 'PRESET_6'
+            } )
+        } )
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/media/sdlmediaView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/media/sdlmediaView.js
new file mode 100644 (file)
index 0000000..715a03a
--- /dev/null
@@ -0,0 +1,111 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.sdlView
+ * @desc SDL Media application module visual representation
+ * @category View
+ * @filesource app/view/media/sdlView.js
+ * @version 1.0
+ */
+SDL.sdlView = Em.ContainerView.create( {
+
+    /**
+     * View Id
+     */
+    elementId: 'sdl_view_container',
+
+    classNameBindings:
+        [
+            'SDL.States.media.sdlmedia.active:active_state:inactive_state'
+        ],
+
+    /**
+     * View Components
+     */
+    childViews:
+        [
+            'innerMenu',
+            'controlls'
+        ],
+
+    controlls: SDL.SDLMediaControlls,
+
+    /**
+     * Deactivate View
+     */
+    deactivate: function() {
+        SDL.States.goToStates( 'info.apps' );
+    },
+
+    innerMenu: SDL.MenuList.extend( {
+
+        refreshItems: function() {
+            if( SDL.SDLAppController.model.appId == SDL.SDLMediaController.currentAppId ){
+                this.addItems( SDL.SDLAppController.model.softButtons, SDL.SDLAppController.model.appId );
+            }
+        }.observes( 'SDL.SDLAppController.model.softButtons.@each' ),
+
+        groupName: "MediaView",
+
+        content: Em.ContainerView.extend( {
+
+            classNames:
+                [
+                    'content'
+                ],
+
+            attributeBindings:
+                [
+                    'parentView.contentPositon:style'
+                ],
+
+            childViews:
+                [
+                    'optionsButton'
+                ],
+
+            optionsButton: SDL.Button.extend( {
+                text: 'Options',
+
+                templateName: 'arrow',
+
+                action: 'openCommandsList',
+                target: 'SDL.SDLAppController'
+            } )
+        } )
+    } )
+
+/** Calls SDL SystemContext switcher when turn On/Of SDL application */
+/*
+ * onTurnOnSDLApp: function(systemContextValue){
+ * if(SDL.States.media.sdl.active){
+ * SDL.SDLMediaController.onSystemContextSwitcher(SDL.SDLMediaController.eSystemContext.application);
+ * }else{
+ * SDL.SDLMediaController.onSystemContextSwitcher(SDL.SDLMediaController.eSystemContext.main); }
+ * }.observes('SDL.States.media.sdl.active')
+ */
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/mediaView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/mediaView.js
new file mode 100644 (file)
index 0000000..4cc2a13
--- /dev/null
@@ -0,0 +1,49 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.MediaView
+ * @desc Media module visual representation
+ * @category View
+ * @filesource app/view/media/MediaView.js
+ * @version 1.0
+ */
+SDL.MediaView = Em.ContainerView.create( {
+    /** View Id */
+    elementId: 'media',
+
+    classNameBindings: 'SDL.States.media.active:active_state:inactive_state',
+
+    /** Media components */
+    childViews:
+        [
+            'leftMenu',
+            SDL.playerView,
+            SDL.sdlView
+        ],
+    /** Left Menu view component */
+    leftMenu: SDL.LeftMenuView
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/navigationView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/navigationView.js
new file mode 100644 (file)
index 0000000..4de66ac
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.PlayerControllsView
+ * @desc Video player visual representation
+ * @category View
+ * @filesource app/view/player/PlayerView.js
+ * @version 1.0
+ */
+SDL.NavigationView = Em.ContainerView.create( {
+    /** View Id */
+    elementId: 'navigationView',
+
+    classNameBindings:
+        [
+             'SDL.States.navigation.active:active_state:inactive_state'
+        ],
+
+    childViews:
+        [
+            'windowText'
+        ],
+
+
+    windowText: SDL.Label.extend( {
+
+        classNames: 'windowText',
+
+        content: 'Navigation'
+    } )
+
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/phone/dialpadView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/phone/dialpadView.js
new file mode 100644 (file)
index 0000000..30eac82
--- /dev/null
@@ -0,0 +1,214 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.DialpadPhoneView
+ * @desc Phone Dialpad module visual representation
+ * @category View
+ * @filesource app/view/phone/DialpadView.js
+ * @version 1.0
+ */
+
+SDL.DialpadPhoneView = Em.ContainerView.create( {
+
+    elementId: 'phone_dialpad',
+
+    classNameBindings: 'SDL.States.phone.dialpad.active:active_state:inactive_state',
+
+    childViews:
+        [
+            'number',
+            'keypad',
+            'deleteButton',
+            'dialButton',
+            'endButton'
+        ],
+
+    /** Number area */
+    number: SDL.Label.extend( {
+        elementId: 'phone_dialpad_number',
+
+        contentBinding: Em.Binding.oneWay( 'SDL.PhoneController.model.dialpadNumber' )
+    } ),
+
+    /** Keypad block */
+    keypad: Em.ContainerView.extend( {
+        elementId: 'phone_dialpad_keypad',
+
+        childViews:
+            [
+                'key1',
+                'key2',
+                'key3',
+                'key4',
+                'key5',
+                'key6',
+                'key7',
+                'key8',
+                'key9',
+                'key0',
+                'keyStar',
+                'keyDiez'
+            ],
+
+        key1: SDL.Button.extend( {
+            elementId: 'phone_dialpad_keypad_key1',
+
+            classNames: 'left',
+
+            text: '1'
+        } ),
+
+        key2: SDL.Button.extend( {
+            elementId: 'phone_dialpad_keypad_key2',
+
+            classNames: 'center',
+
+            text: '2'
+        } ),
+
+        key3: SDL.Button.extend( {
+            elementId: 'phone_dialpad_keypad_key3',
+
+            classNames: 'right',
+
+            text: '3'
+
+        } ),
+
+        key4: SDL.Button.extend( {
+            elementId: 'phone_dialpad_keypad_key4',
+
+            classNames: 'left',
+
+            text: '4'
+        } ),
+
+        key5: SDL.Button.extend( {
+            elementId: 'phone_dialpad_keypad_key5',
+
+            classNames: 'center',
+
+            text: '5'
+        } ),
+
+        key6: SDL.Button.extend( {
+            elementId: 'phone_dialpad_keypad_key6',
+
+            classNames: 'right',
+
+            text: '6'
+        } ),
+
+        key7: SDL.Button.extend( {
+            elementId: 'phone_dialpad_keypad_key7',
+
+            classNames: 'left',
+
+            text: '7'
+        } ),
+
+        key8: SDL.Button.extend( {
+            elementId: 'phone_dialpad_keypad_key8',
+
+            classNames: 'center',
+
+            text: '8'
+        } ),
+
+        key9: SDL.Button.extend( {
+            elementId: 'phone_dialpad_keypad_key9',
+
+            classNames: 'right',
+
+            text: '9'
+        } ),
+
+        key0: SDL.Button.extend( {
+            elementId: 'phone_dialpad_keypad_key0',
+
+            classNames: 'center',
+
+            text: '0'
+        } ),
+
+        keyStar: SDL.Button.extend( {
+            elementId: 'phone_dialpad_keypad_keyStar',
+
+            classNames: 'left',
+
+            text: '*'
+        } ),
+
+        keyDiez: SDL.Button.extend( {
+            elementId: 'phone_dialpad_keypad_keyDiez',
+
+            classNames: 'right',
+
+            text: '#'
+        } )
+    } ),
+
+    deleteButton: SDL.Button.extend( {
+        elementId: 'phone_dialpad_deleteButton',
+
+        classNameBindings:
+            [
+                'SDL.PhoneController.model.dialpadNumber.length:show'
+            ],
+
+        icon: 'images/phone/del.png',
+
+        action: 'onDelete',
+        target: 'SDL.PhoneController',
+
+        disabledBinding: Em.Binding.oneWay( 'SDL.PhoneController.model.onCall' )
+    } ),
+
+    dialButton: SDL.Button.extend( {
+        elementId: 'phone_dialpad_dialButton',
+
+        textBinding: Em.Binding.oneWay( 'SDL.locale.label.view_phone_dial' ),
+        icon: 'images/phone/dial.png',
+
+        action: 'onDialCall',
+        target: 'SDL.PhoneController',
+
+        disabledBinding: Em.Binding.oneWay( 'SDL.PhoneController.model.onCall' )
+    } ),
+
+    endButton: SDL.Button.extend( {
+        elementId: 'phone_dialpad_endButton',
+
+        textBinding: Em.Binding.oneWay( 'SDL.locale.label.view_phone_end' ),
+        icon: 'images/phone/end.png',
+
+        action: 'onEndCall',
+        target: 'SDL.PhoneController',
+
+        disabledBinding: Em.Binding.oneWay( 'SDL.PhoneController.model.readyForCall' )
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/phoneView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/phoneView.js
new file mode 100644 (file)
index 0000000..3e86a9a
--- /dev/null
@@ -0,0 +1,102 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.PhoneView
+ * @desc Phone module visual representation
+ * @category View
+ * @filesource app/view/phone/PhoneView.js
+ * @version 1.0
+ */
+
+SDL.PhoneView = Em.ContainerView.create( {
+
+    elementId: 'phone',
+
+    /** Bind class for visual representation */
+    classNameBindings:
+        [
+            'SDL.States.phone.active:active_state:inactive_state'
+        ],
+
+    /** Initial phone components */
+    childViews:
+        [
+            'menu',
+            SDL.DialpadPhoneView
+        ],
+
+    /** Left menu */
+    menu: Em.ContainerView.extend( {
+        elementId: 'phone_menu',
+
+        // classNameBindings: ['SDL.PhoneController.hideMenu:hide'],
+
+        childViews:
+            [
+                'border',
+                'items'
+            ],
+
+        border: Em.View.extend( {
+            classNames: 'ls_border',
+
+            template: Ember.Handlebars.compile( '<img class="bg" src="images/common/ls_border.png">' )
+        } ),
+
+        items: Em.ContainerView.extend( {
+            classNames: 'ls-items',
+
+            childViews:
+                [
+                    'dialpadButton'
+                ],
+
+            dialpadButton: SDL.Button.extend( {
+                elementId: 'phone_menu_dialpadButton',
+
+                classNames: 'ls-item lsp1_p active_in_helpmode',
+                classNameBindings:
+                    [
+                        'SDL.States.phone.dialpad.active:phone_active'
+                    ],
+                textBinding: Em.Binding.oneWay( 'SDL.locale.label.view_phone_phone' ),
+                icon: 'images/phone/ico_phone.png',
+                action: 'subState',
+                target: 'SDL.PhoneController',
+
+                stateName: 'dialpad'
+            } )
+        } )
+    } ),
+
+    /** End call message window */
+    endCallMessage: SDL.Label.extend( {
+        elementId: 'phone_endCallMessage',
+
+        contentBinding: Em.Binding.oneWay( 'SDL.locale.label.view_phone_popUp_callEnded' )
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/AlertManeuverPopUp.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/AlertManeuverPopUp.js
new file mode 100644 (file)
index 0000000..1c60829
--- /dev/null
@@ -0,0 +1,191 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.AlertManeuverPopUp
+ * @desc AlertManeuverPopUp module visual representation
+ * @category View
+ * @filesource app/view/sdl/AlertManeuverPopUp.js
+ * @version 1.0
+ */
+
+SDL.AlertManeuverPopUp = Em.ContainerView.create( {
+
+    elementId: 'AlertManeuverPopUp',
+
+    classNames: 'AlertManeuverPopUp',
+
+    classNameBindings:
+        ['activate:AlertManeuverActive'
+        ],
+
+    childViews:
+        [
+            'applicationName',
+            // 'image',
+            // 'message1',
+            // 'message2',
+            // 'message3',
+            'softbuttons',
+            'closeButton'
+        ],
+
+    content1: 'Title',
+
+    content2: 'Text',
+
+    activate: false,
+
+    timer: null,
+
+    /**
+     * Wagning image on Alert Maneuver PopUp
+     */
+    image: Em.View.extend( {
+        elementId: 'alertManeuverPopUpImage',
+
+        classNames: 'alertManeuverPopUpImage'
+    } ),
+
+    applicationName: SDL.Label.extend( {
+
+        elementId: 'applicationName',
+
+        classNames: 'applicationName',
+
+        contentBinding: 'parentView.appName'
+    } ),
+
+    message1: SDL.Label.extend( {
+
+        elementId: 'message1',
+
+        classNames: 'message1',
+
+        contentBinding: 'parentView.content1'
+    } ),
+
+    message2: SDL.Label.extend( {
+
+        elementId: 'message2',
+
+        classNames: 'message2',
+
+        contentBinding: 'parentView.content2'
+    } ),
+
+    message3: SDL.Label.extend( {
+
+        elementId: 'message3',
+
+        classNames: 'message3',
+
+        contentBinding: 'parentView.content3'
+    } ),
+
+    /**
+     * Container for softbuttons
+     */
+    softbuttons: Em.ContainerView.extend( {
+        elementId: 'alertManeuverSoftButtons',
+
+        classNames: 'alertManeuverSoftButtons'
+    } ),
+
+    /**
+     * Close button
+     */
+    closeButton: SDL.Button.create( {
+        text: 'Close',
+        classNames: 'closeButton softButton',
+        action: 'closeAlertMeneuverPopUp',
+        target: 'SDL.SDLController',
+        templateName: 'text'
+    } ),
+
+    /**
+     * @desc Function creates Soft Buttons on AlertPoUp
+     * @param {Object} params
+     */
+    addSoftButtons: function( params ) {
+
+        var count = this.get( 'softbuttons' ).removeAllChildren();
+
+        if( params ){
+
+            var softButtonsClass;
+            switch( params.length ){
+                case 1:
+                    softButtonsClass = 'one';
+                    break;
+                case 2:
+                    softButtonsClass = 'two';
+                    break;
+                case 3:
+                    softButtonsClass = 'three';
+                    break;
+                case 4:
+                    softButtonsClass = 'four';
+                    break;
+            }
+
+            for( var i = 0; i < params.length; i++ ){
+                this.get( 'softbuttons.childViews' ).pushObject( SDL.Button.create( SDL.PresetEventsCustom, {
+                    softButtonID: params[i].softButtonID,
+                    icon: params[i].image,
+                    text: params[i].text,
+                    classNames: 'list-item softButton ' + softButtonsClass,
+                    elementId: 'softButton' + i,
+                    templateName: params[i].image ? 'rightIcon' : 'text',
+                    systemAction: params[i].systemAction
+                } ) );
+            }
+        }
+    },
+
+    AlertManeuverActive: function( message ) {
+        var self = this;
+
+        // play audio alert
+        if( message.playTone ){
+            SDL.Audio.play( 'audio/alert.wav' );
+        }
+
+        this.addSoftButtons( message.softButtons );
+        if( message.ttsChunks ){
+            SDL.SDLModel.onPrompt( message.ttsChunks.ttsChunks );
+        }
+
+        this.set( 'appName', SDL.SDLController.getApplicationModel( message.appId ).appName );
+
+        this.set( 'activate', true );
+
+        clearTimeout( this.timer );
+        this.timer = setTimeout( function() {
+            self.set( 'activate', false );
+        }, 5000 );
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/AlertPopUp.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/AlertPopUp.js
new file mode 100644 (file)
index 0000000..c753d99
--- /dev/null
@@ -0,0 +1,219 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.AlertPopUp
+ * @desc AlertPopUp module visual representation
+ * @category View
+ * @filesource app/view/sdl/AlertPopUp.js
+ * @version 1.0
+ */
+
+SDL.AlertPopUp = Em.ContainerView.create( {
+
+    elementId: 'AlertPopUp',
+
+    classNames: 'AlertPopUp',
+
+    classNameBindings:
+        [
+            'active:AlertActive'
+        ],
+
+    childViews:
+        [
+            'applicationName',
+            'image',
+            'message1',
+            'message2',
+            'message3',
+            'softbuttons'
+        ],
+
+    /**
+     * Id of current request
+     *
+     * @type {Number}
+     */
+    alertRequestId: null,
+
+    content1: 'Title',
+
+    content2: 'Text',
+
+    active: false,
+
+    timer: null,
+
+    /**
+     * Wagning image on Alert PopUp
+     */
+    image: Em.View.extend( {
+        elementId: 'alertPopUpImage',
+
+        classNames: 'alertPopUpImage'
+    } ),
+
+    applicationName: SDL.Label.extend( {
+
+        elementId: 'applicationName',
+
+        classNames: 'applicationName',
+
+        contentBinding: 'parentView.appName'
+    } ),
+
+    message1: SDL.Label.extend( {
+
+        elementId: 'message1',
+
+        classNames: 'message1',
+
+        contentBinding: 'parentView.content1'
+    } ),
+
+    message2: SDL.Label.extend( {
+
+        elementId: 'message2',
+
+        classNames: 'message2',
+
+        contentBinding: 'parentView.content2'
+    } ),
+
+    message3: SDL.Label.extend( {
+
+        elementId: 'message3',
+
+        classNames: 'message3',
+
+        contentBinding: 'parentView.content3'
+    } ),
+
+    /**
+     * Deactivate PopUp
+     */
+    deactivate: function( ABORTED ) {
+        this.set( 'active', false );
+        clearTimeout( this.timer );
+
+        SDL.SDLController.alertResponse( ABORTED ? 'ABORTED' : 'SUCCESS', this.alertRequestId );
+
+        SDL.SDLController.onSystemContextChange();
+    },
+
+    /**
+     * Container for softbuttons
+     */
+    softbuttons: Em.ContainerView.extend( {
+
+        childViews:
+            [
+                'buttons'
+            ],
+
+        buttons: Em.ContainerView.extend( {
+            elementId: 'alertSoftButtons',
+
+            classNames: 'alertSoftButtons'
+        } )
+    } ),
+
+    /**
+     * @desc Function creates Soft Buttons on AlertPoUp
+     * @param {Object} params
+     */
+    addSoftButtons: function( params, appId ) {
+
+        var count = this.get( 'softbuttons.buttons.childViews' ).length - 1;
+        for( var i = count; i >= 0; i-- ){
+            this.get( 'softbuttons.buttons.childViews' ).removeObject( this.get( 'softbuttons.buttons.childViews' )[0] );
+        }
+
+        if( params ){
+
+            var softButtonsClass;
+            switch( params.length ){
+                case 1:
+                    softButtonsClass = 'one';
+                    break;
+                case 2:
+                    softButtonsClass = 'two';
+                    break;
+                case 3:
+                    softButtonsClass = 'three';
+                    break;
+                case 4:
+                    softButtonsClass = 'four';
+                    break;
+            }
+
+            for( var i = 0; i < params.length; i++ ){
+                this.get( 'softbuttons.buttons.childViews' ).pushObject( SDL.Button.create( SDL.PresetEventsCustom, {
+                    systemAction: params[i].systemAction,
+                    groupName: "AlertPopUp",
+                    softButtonID: params[i].softButtonID,
+                    icon: params[i].image,
+                    text: params[i].text,
+                    classNames: 'list-item softButton ' + softButtonsClass,
+                    elementId: 'softButton' + i,
+                    templateName: params[i].image ? 'rightIcon' : 'text',
+                    appId: appId
+                } ) );
+            }
+        }
+    },
+
+    AlertActive: function( message, alertRequestId ) {
+        var self = this;
+
+        // play audio alert
+        if( message.playTone ){
+            SDL.Audio.play( 'audio/alert.wav' );
+        }
+
+        this.set( 'alertRequestId', alertRequestId );
+
+        this.addSoftButtons( message.softButtons, message.appId );
+
+        this.set( 'appName', SDL.SDLController.getApplicationModel( message.appId ).appName );
+
+        this.set( 'content1', message.AlertText1 );
+        this.set( 'content2', message.AlertText2 );
+        this.set( 'content3', message.AlertText3 );
+        this.set( 'active', true );
+        SDL.SDLController.onSystemContextChange();
+
+        clearTimeout( this.timer );
+        this.timer = setTimeout( function() {
+            self.deactivate();
+        }, message.duration );
+
+        if( message.ttsChunks ){
+            SDL.SDLModel.onPrompt( message.ttsChunks, message.duration - 100 );
+        }
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/AudioPassThruPopUp.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/AudioPassThruPopUp.js
new file mode 100644 (file)
index 0000000..c0f8c4d
--- /dev/null
@@ -0,0 +1,168 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.AudioPassThruPopUp
+ * @desc AudioPassThruPopUp module visual representation
+ * @category View
+ * @filesource app/view/sdl/AudioPassThruPopUp.js
+ * @version 1.0
+ */
+
+SDL.AudioPassThruPopUp = Em.ContainerView.create( {
+
+    elementId: 'AudioPassThruPopUp',
+
+    classNames: 'AudioPassThruPopUp',
+
+    classNameBindings:
+        [
+            'activate:AudioPassThruActive'
+        ],
+
+    childViews:
+        [
+            'applicationName',
+            'image',
+            'message1',
+            'message2',
+            'message3',
+            'buttonRetry',
+            'buttonDone',
+            'buttonCancel'
+        ],
+
+    content1: 'Title',
+
+    content2: 'Text',
+
+    activateBinding: 'SDL.SDLModel.AudioPassThruState',
+
+    timer: null,
+
+    applicationName: SDL.Label.extend( {
+
+        elementId: 'AudioPassThruPopUpApplicationName',
+
+        classNames: 'applicationName',
+
+        contentBinding: 'parentView.appName'
+    } ),
+
+    /**
+     * Wagning image on Alert PopUp
+     */
+    image: Em.View.extend( {
+        elementId: 'audioPassThruImage',
+
+        classNames: 'audioPassThruImage'
+    } ),
+
+    message1: SDL.Label.extend( {
+
+        elementId: 'AudioPassThruPopUpMessage1',
+
+        classNames: 'message1',
+
+        contentBinding: 'parentView.content1'
+    } ),
+
+    message2: SDL.Label.extend( {
+
+        elementId: 'AudioPassThruPopUpMessage2',
+
+        classNames: 'message2',
+
+        contentBinding: 'parentView.content2'
+    } ),
+
+    message3: SDL.Label.extend( {
+
+        elementId: 'AudioPassThruPopUpMessage3',
+
+        classNames: 'message3',
+
+        contentBinding: 'parentView.content3'
+    } ),
+
+    buttonRetry: SDL.Button.create( {
+        elementId: 'AudioPassThruPopUpButtonRetry',
+        classNames: 'buttonRetry softButton',
+        text: 'Retry',
+        responseResult: 'RETRY',
+        actionUp: function() {
+            SDL.SDLController.callPerformAudioPassThruPopUpResponse( this );
+        }
+    } ),
+
+    buttonDone: SDL.Button.create( {
+        elementId: 'AudioPassThruPopUpButtonDone',
+        classNames: 'buttonDone softButton',
+        text: 'Done',
+        responseResult: 'SUCCESS',
+        actionUp: function() {
+            SDL.SDLController.callPerformAudioPassThruPopUpResponse( this );
+        }
+    } ),
+
+    buttonCancel: SDL.Button.create( {
+        elementId: 'AudioPassThruPopUpButtonCancel',
+        classNames: 'buttonCancel softButton',
+        text: 'Cancel',
+        responseResult: 'ABORTED',
+        actionUp: function() {
+            SDL.SDLController.callPerformAudioPassThruPopUpResponse( this );
+        }
+    } ),
+
+    /**
+     * Method clears PopUp's timer when activity flag become false, and show
+     * PopUp with data come from SDLCorel when activity flag become true
+     */
+    AudioPassThruActivity: function() {
+
+        if( this.activate ){
+
+            var self = this, data = SDL.SDLModel.AudioPassThruData;
+
+            SDL.SDLModel.onPrompt( data.initialPrompt.ttsChunks );
+
+            this.set( 'appName', SDL.SDLController.getApplicationModel( data.appId ).appName );
+
+            this.set( 'content1', data.audioPassThruDisplayText1 );
+            this.set( 'content2', data.audioPassThruDisplayText2 );
+
+            clearTimeout( this.timer );
+            this.timer = setTimeout( function() {
+                SDL.SDLController.performAudioPassThruResponse( "SUCCESS" );
+            }, data.maxDuration );
+        }else{
+            if( this.timer ){
+                clearTimeout( this.timer );
+            }
+        }
+    }.observes( 'activate' )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/TTSPopUp.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/TTSPopUp.js
new file mode 100644 (file)
index 0000000..5bae2a4
--- /dev/null
@@ -0,0 +1,98 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.TTSPopUp
+ * @desc TTSPopUp module visual representation
+ * @category View
+ * @filesource app/view/sdl/TTSPopUp.js
+ * @version 1.0
+ */
+
+SDL.TTSPopUp = Em.ContainerView.create( {
+
+    elementId: 'TTSPopUp',
+
+    classNames: 'TTSPopUp',
+
+    classNameBindings:
+        [
+            'active'
+        ],
+
+    childViews:
+        [
+            'popUp',
+            'message'
+        ],
+
+    content: 'Messaage',
+
+    active: false,
+
+    timer: null,
+
+    popUp: Em.View.extend( {
+
+        elementId: 'popUp',
+
+        classNames: 'popUp'
+    } ),
+
+    message: SDL.Label.extend( {
+
+        elementId: 'message',
+
+        classNames: 'message',
+
+        contentBinding: 'parentView.content'
+    } ),
+
+    ActivateTTS: function( msg, delay ) {
+        var self = this;
+
+        // play audio alert
+        // SDL.Audio.play('audio/initial.wav');
+
+        this.set( 'content', msg );
+        this.set( 'active', true );
+
+        FFW.UI.OnSystemContext( 'NOT_AUDIBLE' );
+
+        clearTimeout( this.timer );
+        this.timer = setTimeout( function() {
+            self.set( 'active', false );
+            self.onStateChange();
+        }, delay ? delay : 10000 );
+    },
+
+    // send context notification
+    onStateChange: function() {
+        if( !SDL.AlertPopUp.active ){
+            FFW.UI.OnSystemContext( 'AUDIBLE' );
+        }
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/VRPopUp.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/VRPopUp.js
new file mode 100644 (file)
index 0000000..3f13662
--- /dev/null
@@ -0,0 +1,185 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.VRPopUp
+ * @desc VRPopUp module visual representation
+ * @category View
+ * @filesource app/view/sdl/VRPopUp.js
+ * @version 1.0
+ */
+
+SDL.VRPopUp = Em.ContainerView.create( {
+
+    elementId: 'VRPopUp',
+
+    classNames: 'VRPopUp',
+
+    classNameBindings:
+        [
+            'VRActive:active'
+        ],
+
+    childViews:
+        [
+            'popUp',
+            'VRLabel',
+            'VRImage',
+            'listOfCommands'
+        ],
+
+    VRImage: Em.View.extend( {
+
+        elementId: 'VRImage',
+
+        classNames: 'VRImage'
+    } ),
+
+    VRLabel: SDL.Label.extend( {
+
+        elementId: 'VRLabel',
+
+        classNames: 'VRLabel',
+
+        content: 'Speak the command'
+    } ),
+
+    VRActive: false,
+
+    popUp: Em.View.extend( {
+
+        elementId: 'popUp',
+
+        classNames: 'popUp'
+    } ),
+
+    AddActivateApp: function( appId, appName ) {
+
+        this.get( 'listOfCommands.list.childViews' ).pushObject( SDL.Button.create( {
+            action: 'onActivateSDLApp',
+            target: 'SDL.SDLController',
+            text: appName,
+            appName: appName,
+            appId: appId,
+            classNames: 'list-item',
+            templateName: 'text'
+        } ) );
+
+    },
+
+    DeleteActivateApp: function( appId ) {
+
+        this.get( 'listOfCommands.list.childViews' ).removeObjects( this.get( 'listOfCommands.list.childViews' ).filterProperty( 'activeAppId', appId ) );
+
+    },
+
+    AddCommand: function( commandId, vrCommands, appId ) {
+
+        for( var j = 0; j < vrCommands.length; j++ ){
+            this.get( 'listOfCommands.list.childViews' ).pushObject( SDL.Button.create( {
+                action: 'onVRCommand',
+                target: 'SDL.SDLAppController',
+                appId: appId,
+                commandId: commandId,
+                text: vrCommands[j],
+                classNames: 'list-item',
+                templateName: 'text'
+            } ) );
+        }
+
+    },
+
+    DeleteCommand: function( commandId ) {
+
+        this.get( 'listOfCommands.list.childViews' ).removeObjects( this.get( 'listOfCommands.list.childViews' ).filterProperty( 'commandId', commandId ) );
+
+    },
+
+    CreateInteractionChoise: function( params, performInteractionRequestId ) {
+
+        if( !params ){
+            return;
+        }
+
+        for( var i = 0; i < params.length; i++ ){
+            for( var j = 0; j < params[i].vrCommands.length; j++ ){
+                this.get( 'listOfCommands.list.childViews' ).pushObject( SDL.Button.create( {
+                    action: 'onChoiceInteraction',
+                    target: 'SDL.SDLAppController',
+                    choiceId: params[i].choiceID,
+                    btnType: 'interactionChoice',
+                    text: params[i].vrCommands[j],
+                    performInteractionRequestId: performInteractionRequestId,
+                    classNames: 'list-item',
+                    templateName: 'text'
+                } ) );
+            }
+        }
+    },
+
+    DeleteInteractionChoise: function() {
+
+        if( !SDL.InteractionChoicesView.active ){
+            this.get( 'listOfCommands.list.childViews' ).removeObjects( this.get( 'listOfCommands.list.childViews' ).filterProperty( 'btnType', 'interactionChoice' ) );
+        }
+
+    }.observes( 'SDL.InteractionChoicesView.active' ),
+
+    activateVRPopUp: function() {
+        var self = this;
+
+        if( this.VRActive ){
+            this.set( 'VRActive', false );
+        }else{
+            // play audio alert
+            SDL.Audio.play( 'audio/say.wav' );
+
+            this.set( 'VRActive', true );
+        }
+
+        SDL.SDLController.onSystemContextChange();
+    },
+
+    /**
+     * List for option on SDLOptionsView screen
+     */
+    listOfCommands: SDL.List.extend( {
+
+        elementId: 'VR_list',
+
+        itemsOnPage: 5,
+
+        /** Items array */
+        items: new Array()
+    } ),
+
+    // deactivate VR on change application state
+    onStateChange: function() {
+        if( this.VRActive ){
+            this.set( 'VRActive', false );
+        }
+    }.observes( 'SDL.TransitionIterator.ready' )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/VehicleInfoView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/VehicleInfoView.js
new file mode 100644 (file)
index 0000000..aa9b19b
--- /dev/null
@@ -0,0 +1,170 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.VehicleInfo
+ * @desc VehicleInfo module visual representation
+ * @category View
+ * @filesource app/view/sdl/VehicleInfo.js
+ * @version 1.0
+ */
+
+SDL.VehicleInfo = Em.ContainerView.create( {
+
+    elementId: 'VehicleInfo',
+
+    classNames: 'VehicleInfo',
+
+    classNameBindings:
+        [
+            'active'
+        ],
+
+    childViews:
+        [
+            'prndl',
+            'vehicleInfoLabel',
+            'prndlSelect',
+            'ecu1Title',
+            'ecu1',
+            'ecu2',
+            'ecu1Data',
+            'ecu2Data'
+
+        ],
+
+    /**
+     * Label with stored data in VehicleInfo model
+     */
+    ecu2Data: SDL.Label.extend( {
+
+        elementId: 'ecu2Data',
+
+        classNames: 'ecu2Data',
+
+        contentBinding: 'SDL.SDLVehicleInfoModel.ecuDIDData.1.data'
+    } ),
+
+    /**
+     * Label with stored data in VehicleInfo model
+     */
+    ecu1Data: SDL.Label.extend( {
+
+        elementId: 'ecu1Data',
+
+        classNames: 'ecu1Data',
+
+        contentBinding: 'SDL.SDLVehicleInfoModel.ecuDIDData.0.data'
+    } ),
+
+    /**
+     * Label with name of some parameter stored data in VehicleInfo model
+     */
+    ecu2: SDL.Label.extend( {
+
+        elementId: 'ecu2',
+
+        classNames: 'ecu2',
+
+        content: 'ECU 2:'
+    } ),
+
+    /**
+     * Label with name of some parameter stored data in VehicleInfo model
+     */
+    ecu1: SDL.Label.extend( {
+
+        elementId: 'ecu1',
+
+        classNames: 'ecu1',
+
+        content: 'ECU 1:'
+    } ),
+
+    /**
+     * Title of ecu group of parameters stored data in VehicleInfo model
+     */
+    ecu1Title: SDL.Label.extend( {
+
+        elementId: 'ecu1Title',
+
+        classNames: 'ecu1Title',
+
+        content: 'ECU'
+    } ),
+
+    /**
+     * Title of VehicleInfo PopUp view
+     */
+    vehicleInfoLabel: SDL.Label.extend( {
+
+        elementId: 'vehicleInfoLabel',
+
+        classNames: 'vehicleInfoLabel',
+
+        content: 'Vehicle Information'
+    } ),
+
+    /**
+     * Property indicates the activity state of VehicleInfo PopUp
+     */
+    active: false,
+
+    /**
+     * Title of prndl group of parameters stored in VehicleInfo model
+     */
+    prndl: SDL.Label.extend( {
+
+        elementId: 'prndl',
+
+        classNames: 'prndl',
+
+        content: 'PRNDL'
+    } ),
+
+    /**
+     * HMI element Select with parameters of transmission state from VehicleInfo
+     * Model
+     */
+    prndlSelect: Em.Select.extend( {
+
+        elementId: 'prndlSelect',
+
+        classNames: 'prndlSelect',
+
+        contentBinding: 'SDL.SDLVehicleInfoModel.vehicleInfoPRNDL',
+
+        valueBinding: 'SDL.SDLVehicleInfoModel.prndlSelectState'
+    } ),
+
+    /**
+     * Trigger function that activates and deactivates VehicleInfo PopUp
+     */
+    toggleActivity: function() {
+        this.set( 'active', !this.active );
+        SDL.SDLController.onSystemContextChange();
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/driverDistraction.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/driverDistraction.js
new file mode 100644 (file)
index 0000000..45a05fd
--- /dev/null
@@ -0,0 +1,84 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.DriverDistraction
+ * @desc DriverDistractionPopUp module visual representation
+ * @category View
+ * @filesource app/view/sdl/driverDistraction.js
+ * @version 1.0
+ */
+
+SDL.DriverDistraction = Em.ContainerView.create( {
+
+    elementId: 'driverDistraction',
+
+    classNames: 'driverDistractionWindow',
+
+    classNameBindings:
+        [
+            'active'
+        ],
+
+    childViews:
+        [
+            'driverDistractionPopUp',
+            'driverDistractionText'
+        ],
+
+    content: 'Not accessible while driving',
+
+    active: false,
+
+    driverDistractionPopUp: Em.View.create( {
+
+        classNames: 'driverDistraction'
+    } ),
+
+    driverDistractionText: SDL.Label.extend( {
+
+        elementId: 'driverDistractionText',
+
+        classNames: 'driverDistractionText',
+
+        contentBinding: 'parentView.content'
+    } ),
+
+    activate: function() {
+        this.set( 'active', true );
+        setTimeout( function() {
+            SDL.DriverDistraction.deactivate();
+        }, 3000 );
+
+        SDL.SDLController.onSystemContextChange();
+    },
+
+    deactivate: function() {
+        this.set( 'active', false );
+
+        SDL.SDLController.onSystemContextChange();
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/AbstractView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/AbstractView.js
new file mode 100644 (file)
index 0000000..06e1f1d
--- /dev/null
@@ -0,0 +1,95 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.SDLAbstractView
+ * @desc SDL application abstract shared view
+ * @category View
+ * @filesource app/view/sdl/shared/AbstractView.js
+ * @version 1.0
+ */
+
+SDL.SDLAbstractView = Em.ContainerView.extend( {
+
+    classNames:
+        [
+            'sdl-window'
+        ],
+
+    classNameBindings:
+        [
+            'active:active_state:inactive_state'
+        ],
+
+    active: false,
+
+    caption: 'Caption Text',
+
+    /**
+     * Activate window and set caption text
+     *
+     * @param text: String
+     */
+    activate: function( text ) {
+        if( text ){
+            this.set( 'caption', text );
+        }
+        this.set( 'active', true );
+    },
+
+    /**
+     * Deactivate window
+     */
+    deactivate: function() {
+        this.set( 'active', false );
+    },
+
+    onStateChange: function() {
+        if( this.active ){
+            this.deactivate();
+        }
+    }.observes( 'SDL.TransitionIterator.ready' ),
+
+    backButton: SDL.Button.extend( {
+        classNames:
+            [
+                'back-button'
+            ],
+        target: 'this.parentView',
+        action: 'deactivate',
+        icon: 'images/media/ico_back.png',
+        onDown: false
+    } ),
+
+    captionText: SDL.Label.extend( {
+        classNames:
+            [
+                'caption-text'
+            ],
+
+        contentBinding: 'this.parentView.caption'
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/interactionChoicesView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/interactionChoicesView.js
new file mode 100644 (file)
index 0000000..9ddb9f4
--- /dev/null
@@ -0,0 +1,120 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.InteractionChoicesView
+ * @desc Interaction Choices visual representation
+ * @category View
+ * @filesource app/view/sdl/shared/interactionChoicesView.js
+ * @version 1.0
+ */
+
+SDL.InteractionChoicesView = SDL.SDLAbstractView.create( {
+
+    elementId: 'perform_interaction_view',
+
+    childViews:
+        [
+            'backButton',
+            'captionText',
+            'listOfChoices'
+        ],
+
+    listOfChoices: SDL.List.extend( {
+        elementId: 'perform_interaction_view_list',
+        itemsOnPage: 5,
+        items: []
+    } ),
+
+    timer: null,
+
+    /**
+     * Identifier of current request
+     */
+    performInteractionRequestId: null,
+
+    /**
+     * Deactivate window
+     */
+    deactivate: function( ABORTED ) {
+
+        clearTimeout( this.timer );
+        this.set( 'active', false );
+
+        if( ABORTED ){
+            SDL.SDLController.interactionChoiseCloseResponse( 'ABORTED', this.performInteractionRequestId );
+        }
+    },
+
+    /**
+     * Clean choices caption and list before new proform
+     */
+    clean: function() {
+        this.set( 'captionText.content', 'Interaction Choices' );
+        this.listOfChoices.items = [];
+        this.listOfChoices.list.refresh();
+    },
+
+    /**
+     * Update choises list with actual set id
+     *
+     * @param data: Array
+     */
+    preformChoices: function( data, performInteractionRequestId, timeout ) {
+
+        if( !data ){
+            Em.Logger.error( 'No choices to preform' )
+            return;
+        }
+
+        this.set( 'performInteractionRequestId', performInteractionRequestId );
+
+        var i = 0, length = data.length, self = this;
+
+        // temp for testing
+        for( i = 0; i < length; i++ ){
+            this.listOfChoices.items.push( {
+                type: SDL.Button,
+                params: {
+                    text: data[i].menuName,
+                    choiceId: data[i].choiceID,
+                    action: 'onChoiceInteraction',
+                    onDown: false,
+                    target: 'SDL.SDLAppController',
+                    performInteractionRequestId: performInteractionRequestId,
+                    templateName: 'text'
+                }
+            } );
+        }
+
+        this.listOfChoices.list.refresh();
+
+        clearTimeout( this.timer );
+        this.timer = setTimeout( function() {
+            self.deactivate( true );
+        }, timeout );
+    }
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/optionsView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/optionsView.js
new file mode 100644 (file)
index 0000000..4d694b1
--- /dev/null
@@ -0,0 +1,115 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.SliderView
+ * @desc Options visual representation
+ * @category View
+ * @filesource app/view/sdl/shared/optionsView.js
+ * @version 1.0
+ */
+
+SDL.OptionsView = SDL.SDLAbstractView.create( {
+
+    elementId: 'sdl_options',
+
+    childViews:
+        [
+            'backButton',
+            'captionText',
+            'commands'
+        ],
+
+    // Menu caption text
+    captionBinding: 'SDL.SDLAppController.model.currentSubMenuLabel',
+
+    commands: SDL.List.extend( {
+
+        elementId: 'info_nonMedia_options_list',
+
+        itemsOnPage: 5,
+
+        items: [],
+
+        /*
+         * itemsDefault: [ { type: SDL.Button,
+         *
+         * params: { templateName: 'text', text: 'Exit', target:
+         * 'this.parentView.parentView.parentView', action: 'deactivate',
+         * onDown: false } }, { type: SDL.Button,
+         *
+         * params: { templateName: 'arrow', text: 'Device Information', } } ],
+         */
+
+        refreshItems: function() {
+            var commands = SDL.SDLAppController.model.get( 'currentCommandsList' ), i, len;
+
+            this.items = [];
+
+            len = commands.length;
+
+            for( i = 0; i < len; i++ ){
+                this.items.push( {
+                    type: SDL.Button,
+                    params: {
+                        templateName: commands[i].menuId ? 'arrow' : '',
+                        text: commands[i].name,
+                        commandId: commands[i].commandId,
+                        menuId: commands[i].menuId,
+                        icon: commands[i].icon,
+                        target: 'SDL.SDLAppController',
+                        action: 'onCommand',
+                        onDown: false
+                    }
+                } )
+            }
+
+            this.list.refresh();
+
+        }.observes( 'SDL.SDLAppController.model.currentCommandsList' )
+    } ),
+
+    activate: function( text ) {
+        this._super();
+
+        SDL.SDLController.onSystemContextChange();
+    },
+
+    // Extend deactivate window
+    deactivate: function() {
+
+        if( SDL.SDLAppController.model ){
+
+            if( SDL.SDLAppController.model.get( 'currentSubMenuId' ) ){
+                SDL.SDLAppController.onSubMenu( 0 );
+            }else{
+                this._super();
+                SDL.SDLController.onSystemContextChange();
+            }
+        }
+
+    }
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/scrollableMessage.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/scrollableMessage.js
new file mode 100644 (file)
index 0000000..d511946
--- /dev/null
@@ -0,0 +1,130 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.ScrollableMessage
+ * @desc ScrollableMessage module visual representation
+ * @category View
+ * @filesource app/view/sdl/shared/scrollableMessage.js
+ * @version 1.0
+ */
+
+SDL.ScrollableMessage = SDL.SDLAbstractView.create( {
+
+    elementId: 'ScrollableMessage',
+
+    classNames: 'ScrollableMessage',
+
+    classNameBindings:
+        [
+            'active:active'
+        ],
+
+    /**
+     * Id of current request
+     *
+     * @type {Number}
+     */
+    messageRequestId: null,
+
+    active: false,
+
+    appId: null,
+
+    timer: null,
+
+    childViews:
+        [
+            'backButton',
+            'captionText',
+            'softButtons',
+            'listOfCommands'
+        ],
+
+    /**
+     * Deactivate View
+     *
+     * @param {Object} ABORTED Parameter to indicate status for
+     *            UI.ScrollableMessageResponse
+     */
+    deactivate: function( ABORTED ) {
+        clearTimeout( this.timer );
+        this.set( 'active', false );
+
+        SDL.SDLController.scrollableMessageResponse( ABORTED ? 'ABORTED' : 'SUCCESS', this.messageRequestId );
+    },
+
+    activate: function( appName, params, messageRequestId ) {
+        if( appName ){
+
+            var self = this;
+
+            this.set( 'messageRequestId', messageRequestId );
+            this.set( 'captionText.content', appName );
+            this.softButtons.addItems( params.softButtons, params.appId );
+            this.set( 'listOfCommands.items', params.scrollableMessageBody );
+            this.set( 'active', true );
+            clearTimeout( this.timer );
+            this.timer = setTimeout( function() {
+                self.deactivate();
+            }, params.timeout );
+        }
+    },
+
+    softButtons: SDL.MenuList.extend( {
+
+        itemsOnPage: 4,
+
+        groupName: "ScrollableMessage",
+
+        content: Em.ContainerView.extend( {
+
+            classNames:
+                [
+                    'content'
+                ],
+
+            attributeBindings:
+                [
+                    'parentView.contentPositon:style'
+                ]
+
+        } )
+    } ),
+
+    /**
+     * List for option on SDLOptionsView screen
+     */
+    listOfCommands: SDL.ScrollableText.extend( {
+
+        elementId: 'scrollable_message_list',
+
+        itemsOnPage: 11,
+
+        /** Items array */
+        items: 'asdasdasd'
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/sliderView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/sliderView.js
new file mode 100644 (file)
index 0000000..d32b27e
--- /dev/null
@@ -0,0 +1,142 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.SliderView
+ * @desc Slider visual representation
+ * @category View
+ * @filesource app/view/sdl/shared/sliderView.js
+ * @version 1.0
+ */
+
+SDL.SliderView = SDL.SDLAbstractView.create( {
+
+    elementId: 'slider_view',
+
+    childViews:
+        [
+            'backButton',
+            'captionText',
+            'headerLabel',
+            'footerLabel',
+            'adjustControl'
+        ],
+
+    headerLabel: SDL.Label.extend( {
+        classNames: 'slider-header',
+        content: 'Header Label'
+    } ),
+
+    footerLabel: SDL.Label.extend( {
+        classNames: 'slider-footer',
+        content: 'Footer Label',
+        data: []
+    } ),
+
+    /**
+     * Identifier of current request
+     */
+    sliderRequestId: null,
+
+    /**
+     * Extend deactivate method send SUCCESS response on deactivate with current
+     * slider value
+     */
+    deactivate: function() {
+        this._super();
+        FFW.UI.sendSliderResult( "SUCCESS", this.get( 'sliderRequestId' ), this.get( 'adjustControl.sliderValue.value' ) );
+    },
+
+    adjustControl: Em.ContainerView.extend( {
+
+        classNames: 'sliderControl',
+
+        childViews:
+            [
+                'minusBtn',
+                'led',
+                'plusBtn'
+            ],
+
+        sliderValue: Em.Object.create( {
+            range: 10,
+            value: 0
+        } ),
+
+        minusBtn: SDL.Button.extend( {
+            classNames: 'control minus',
+            icon: 'images/common/minus-ico.png',
+            actionDown: function() {
+                this._super();
+                this.set( 'parentView.sliderValue.value', this._parentView.sliderValue.value - 1 );
+            }
+        } ),
+
+        led: SDL.Indicator.create( {
+            classNames: 'ledContainer ico',
+            contentBinding: 'parentView.sliderValue',
+            indActiveClass: 'led',
+            indDefaultClass: 'led-inactive'
+        } ),
+
+        plusBtn: SDL.Button.extend( {
+            classNames: 'control plus',
+            icon: 'images/common/plus-ico.png',
+            actionDown: function() {
+                this._super();
+                this.set( 'parentView.sliderValue.value', this._parentView.sliderValue.value + 1 );
+            }
+        } )
+    } ),
+
+    loadData: function( message ) {
+
+        var data = message.params;
+
+        this.set( 'sliderRequestId', message.id );
+
+        this.set( 'headerLabel.content', data.sliderHeader );
+        this.set( 'footerLabel.content', data.sliderFooter[0] );
+        this.get( 'adjustControl.sliderValue' ).set( 'range', data.numTicks );
+        this.get( 'adjustControl.sliderValue' ).set( 'value', data.position );
+
+        this.footerLabel.data = data.sliderFooter;
+
+        setTimeout( function() {
+            SDL.SliderView.adjustControl.rerender();
+        }, 1 );
+    },
+
+    /**
+     * Change footer text depends on current slider position works only for
+     * dynamic footer mode
+     */
+    changeFooterText: function() {
+        if( this.footerLabel.data.length > 1 ){
+            this.set( 'footerLabel.content', this.footerLabel.data[this.adjustControl.sliderValue.value - 1] );
+        }
+    }.observes( 'adjustControl.sliderValue.value' )
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/tbtTurnList.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/tbtTurnList.js
new file mode 100644 (file)
index 0000000..8bbda41
--- /dev/null
@@ -0,0 +1,92 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.TBTTurnList
+ * @desc TBT Turn List visual representation
+ * @category View
+ * @filesource app/view/sdl/shared/tbtTurnList.js
+ * @version 1.0
+ */
+
+SDL.TBTTurnList = SDL.SDLAbstractView.create( {
+
+    elementId: 'tbtTurnListView',
+
+    childViews:
+        [
+            'backButton',
+            'captionText',
+            'tbtTurnListList'
+        ],
+
+    /**
+     * Activate window
+     */
+    activate: function() {
+        this.set( 'active', true );
+    },
+
+    /**
+     * Title Labes of window
+     */
+    captionText: SDL.Label.extend( {
+        classNames: 'caption-text',
+
+        content: 'Turn List'
+    } ),
+
+    /**
+     * Turn List
+     */
+    tbtTurnListList: SDL.List.extend( {
+        elementId: 'tbtTurnListList',
+        itemsOnPage: 5,
+        items: []
+    } ),
+
+    /**
+     * Function updates content of Turn List with data from application's model
+     *
+     * @type {Number}
+     */
+    updateList: function( appId ) {
+        this.get( 'tbtTurnListList.list' ).removeAllChildren();
+
+        this.tbtTurnListList.list.refresh();
+
+        var i = 0, turnListArray = SDL.SDLController.getApplicationModel( appId ).turnList;
+        length = turnListArray.length;
+        for( i = 0; i < length; i++ ){
+            this.get( 'tbtTurnListList.list.childViews' ).pushObject( SDL.Label.create( {
+                icon: turnListArray[i].turnIcon.value,
+                content: turnListArray[i].navigationText,
+                templateName: turnListArray[i].turnIcon.value ? 'icon' : 'text',
+                classNames: 'list-item'
+            } ) );
+        }
+    }
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/turnByTurnView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/shared/turnByTurnView.js
new file mode 100644 (file)
index 0000000..cf1139f
--- /dev/null
@@ -0,0 +1,160 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.TurnByTurnView
+ * @desc TurnByTurnView module visual representation
+ * @category View
+ * @filesource app/view/sdl/shared/turnByTurnView.js
+ * @version 1.0
+ */
+
+SDL.TurnByTurnView = SDL.SDLAbstractView.create( {
+
+    elementId: 'TurnByTurnView',
+
+    classNames: 'TurnByTurnView',
+
+    classNameBindings:
+        [
+            'active:active'
+        ],
+
+    active: false,
+
+    childViews:
+        [
+            'captionText',
+            'softButtons',
+            'totalDistanceLabel',
+            'etaLabel',
+            'turnList',
+            'homeScreen',
+            'navigationText2',
+            'turnIconImage'
+        ],
+
+    appId: -1,
+    navigationText2: null,
+    eta: null,
+    totalDistance: null,
+    turnIcon: null,
+    distanceToManeuver: null,
+    distanceToManeuverScale: null,
+    maneuverComplete: null,
+
+    activate: function( params ) {
+        if( params ){
+            this.softButtons.addItems( params.softButtons );
+            this.set( 'captionText.content', params.navigationText1 );
+            this.set( 'appId', params.appId );
+            this.set( 'navigationText2', params.navigationText2 );
+            this.set( 'eta', params.eta );
+            this.set( 'totalDistance', params.totalDistance );
+            this.set( 'turnIcon', params.turnIcon );
+            this.set( 'distanceToManeuver', params.distanceToManeuver );
+            this.set( 'distanceToManeuverScale', params.distanceToManeuverScale );
+            this.set( 'maneuverComplete', params.maneuverComplete );
+
+            this.set( 'active', true );
+        }
+    },
+
+    /**
+     * Deactivate View
+     */
+    deactivate: function() {
+        this.set( 'active', false );
+    },
+
+    totalDistanceLabel: SDL.Label.extend( {
+        classNames: 'totalDistanceLabel',
+        contentBinding: 'parentView.totalDistance'
+    } ),
+
+    etaLabel: SDL.Label.extend( {
+        classNames: 'etaLabel',
+        contentBinding: 'parentView.eta'
+    } ),
+
+    turnList: SDL.Button.create( {
+        elementId: 'turnList',
+        classNames: 'turnList btn',
+        text: 'Turn List',
+        action: function() {
+            SDL.SDLController.tbtTurnList( this._parentView.appId );
+        },
+        target: '',
+        onDown: false,
+        templateName: 'arrow'
+    } ),
+
+    turnIconImage: Em.View.create( {
+        classNames: 'turnIcon btn',
+        attributeBindings:
+            [
+                'style'
+            ],
+        style: function() {
+            if( this._parentView.turnIcon ){
+                return 'background-image: URL(' + this._parentView.turnIcon + ');';
+            }else{
+                return '';
+            }
+        }.property( 'this.parentView.turnIcon' )
+    } ),
+
+    navigationText2: SDL.Label.extend( {
+        classNames: 'navigationText2',
+        contentBinding: 'parentView.navigationText2'
+    } ),
+
+    homeScreen: SDL.Button.create( {
+        elementId: 'homeScreen',
+        classNames: 'homeScreen btn',
+        text: 'Home Screen',
+        iconBinding: 'SDL.SDLAppController.model.appIcon',
+        target: 'this.parentView',
+        action: 'deactivate',
+        onDown: false
+    } ),
+
+    softButtons: SDL.MenuList.extend( {
+
+        itemsOnPage: 3,
+
+        groupName: "TurnByTurnView",
+
+        content: Em.ContainerView.extend( {
+
+            classNames:
+                [
+                    'content'
+                ]
+
+        } )
+    } )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/tbtClientStateView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/sdl/tbtClientStateView.js
new file mode 100644 (file)
index 0000000..1eb466f
--- /dev/null
@@ -0,0 +1,114 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.TBTClientStateView
+ * @desc TBTClientStateView module visual representation
+ * @category View
+ * @filesource app/view/sdl/TBTClientStateView.js
+ * @version 1.0
+ */
+
+SDL.TBTClientStateView = Em.ContainerView.create( {
+
+    elementId: 'tbtClientStateView',
+
+    classNames: 'tbtClientStateView',
+
+    classNameBindings:
+        [
+            'active'
+        ],
+
+    childViews:
+        [
+            'tbtClientStateLabel',
+            'tbtClientState',
+            'tbtClientStateSelect'
+        ],
+
+    /**
+     * Title of VehicleInfo PopUp view
+     */
+    tbtClientStateLabel: SDL.Label.extend( {
+
+        elementId: 'tbtClientStateLabel',
+
+        classNames: 'tbtClientStateLabel',
+
+        content: 'TBT Client State'
+    } ),
+
+    /**
+     * Property indicates the activity state of TBTClientStateView
+     */
+    active: false,
+
+    /**
+     * Title of tbtClientState group of parameters
+     */
+    tbtClientState: SDL.Label.extend( {
+
+        elementId: 'tbtClientState',
+
+        classNames: 'tbtClientState',
+
+        content: 'Client State'
+    } ),
+
+    /**
+     * HMI element Select with parameters of TBTClientStates
+     */
+    tbtClientStateSelect: Em.Select.extend( {
+
+        elementId: 'tbtClientStateSelect',
+
+        classNames: 'tbtClientStateSelect',
+
+        contentBinding: 'SDL.SDLModel.tbtClientStates',
+
+        optionValuePath: 'content.id',
+
+        optionLabelPath: 'content.name',
+
+        /**
+         * Selected data sent on model for further processing
+         */
+        click: function() {
+
+            SDL.SDLController.tbtClientStateSeleced( this.selection.name );
+
+        }
+    } ),
+
+    /**
+     * Trigger function that activates and deactivates tbtClientStateView
+     */
+    toggleActivity: function() {
+        this.toggleProperty( 'active' );
+        SDL.SDLController.onSystemContextChange();
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/settingsView.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/app/view/settingsView.js
new file mode 100644 (file)
index 0000000..21cbbb7
--- /dev/null
@@ -0,0 +1,56 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.PlayerControllsView
+ * @desc Video player visual representation
+ * @category View
+ * @filesource app/view/player/PlayerView.js
+ * @version 1.0
+ */
+SDL.SettingsView = Em.ContainerView.create( {
+    /** View Id */
+    elementId: 'settingsView',
+
+    classNameBindings:
+        [
+             'SDL.States.settings.active:active_state:inactive_state'
+        ],
+
+    childViews:
+        [
+            'windowText'
+        ],
+
+
+    windowText: SDL.Label.extend( {
+
+        classNames: 'windowText',
+
+        content: 'Settings'
+    } )
+
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/alert.wav b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/alert.wav
new file mode 100644 (file)
index 0000000..a630603
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/alert.wav differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/initial.wav b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/initial.wav
new file mode 100644 (file)
index 0000000..096a722
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/initial.wav differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/listen.wav b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/listen.wav
new file mode 100644 (file)
index 0000000..504a62e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/listen.wav differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/positive.wav b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/positive.wav
new file mode 100644 (file)
index 0000000..464af1f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/positive.wav differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/say.wav b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/say.wav
new file mode 100644 (file)
index 0000000..0d71e06
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/audio/say.wav differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/config.xml b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/config.xml
new file mode 100644 (file)
index 0000000..aebee8d
--- /dev/null
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" version="0.5.0" viewmodes="fullscreen" id="http://com.ford.tizen/smartdevicelink">
+       <icon src="icon.png"/>
+       <name>Modello SmartDeviceLink</name>
+    <tizen:application id="Modello010.SDL" package="Modello010" required_version="2.1"/>
+       <feature name="http://tizen.org/api/bluetooth" required="true"/>
+       <feature name="http://tizen.org/api/bluetooth.admin" required="true"/>
+       <feature name="http://tizen.org/api/bluetooth.gap" required="true"/>
+       <feature name="http://tizen.org/api/bluetooth.spp" required="true"/>
+       <feature name="http://tizen.org/api/mediacontent" required="true"/>
+       <feature name="http://tizen.org/api/mediacontent.read" required="true"/>
+       <feature name="http://tizen.org/api/nfc" required="true"/>
+       <feature name="http://tizen.org/api/nfc.p2p" required="true"/>
+       <feature name="http://tizen.org/api/nfc.tag" required="true"/>
+       <feature name="http://tizen.org/api/systeminfo" required="true"/>
+       <feature name="http://tizen.org/api/time" required="true"/>
+       <feature name="http://tizen.org/api/time.read" required="true"/>
+       <feature name="http://tizen.org/api/time.write" required="true"/>
+       <feature name="http://tizen.org/api/tizen" required="true"/>
+       <tizen:privilege name="http://tizen.org/privilege/tizen"/>
+    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
+    <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.admin" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.spp" />
+    <tizen:privilege name="http://tizen.org/privilege/bluetooth.gap" />
+       <content src="index.html"/>
+       <access origin="*" subdomains="true"/>
+</widget>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/buttonControls.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/buttonControls.css
new file mode 100644 (file)
index 0000000..e74e2de
--- /dev/null
@@ -0,0 +1,272 @@
+/**
+ * buttonControls module CSS
+ *
+ * @category   Style Sheets
+ * @filesource css/buttonControls.css
+ * @version            2.0
+ */
+
+#buttonControls.buttonControls {
+       width: 270px;
+       height: 200px;
+       top: 0px;
+       left: 790px;
+}
+
+#protocolVersion.protocolVersion {
+       width: 302px;
+       height: 20px;
+       top: 450px;
+       left: 810px;
+}
+
+#protocolVersion .protocolVersionLabel{
+       left: 20px;
+}
+
+#driverDistractionControl.driverDistractionControl {
+       width: 302px;
+       height: 20px;
+       top: 423px;
+       left: 810px;
+}
+
+#driverDistractionControl .driverDistractionControlLabel{
+       left: 20px;
+}
+
+#infoTable.infoTable{
+       width: 375px;
+       height: 96px;
+       top: 308px;
+       left: 801px;
+       background-color: #383737;
+       color: white;
+       border: 1px solid gray;
+       overflow: hidden;
+}
+#infoTable .sdlGPLabel{
+       width: 157px;
+       border-right: 1px solid #14100F;
+       height: 96px;
+       position: relative;
+       float: left;
+}
+#infoTable .sdlGPData{
+       position: relative;
+       display: block;
+       overflow: hidden;
+       text-overflow: ellipsis;
+       width: 203px;
+       height: 18px;
+}
+#buttonControls .ContainerControlls{
+       left: 34px;
+       background: url(../images/home/controlButtons/backGroundControllButtons.png) no-repeat;
+       width: 200px;
+       height: 200px;
+}
+#buttonControls .UpBtn{
+       background: url(../images/home/controlButtons/UpButton.png) no-repeat;
+       background-position: -32px 0;
+       width: 137px;
+       height: 64px;
+       left: 32px;
+       -webkit-transition: 0.2s ;
+}
+#TUNEUP.pressed{
+       background: url(../images/home/controlButtons/UpButton_pressed.png) !important;
+       background-position: -32px 0 !important;
+       width: 137px !important;
+       height: 69px !important;
+       left: 32px !important;
+}
+#buttonControls .DownBtn{
+       background: url(../images/home/controlButtons/DownButton.png) no-repeat;
+       background-position: -32px -132px;
+       width: 137px;
+       height: 65px;
+       top: 132px;
+       left: 32px;
+       -webkit-transition: 0.2s ;
+}
+#TUNEDOWN.pressed{
+       background: url(../images/home/controlButtons/DownButton_pressed.png) no-repeat;
+       background-position: -32px -132px !important;
+       width: 137px !important;
+       height: 65px !important;
+       top: 132px !important;
+       left: 32px !important;
+}
+#buttonControls .LeftBtn{
+       background: url(../images/home/controlButtons/LeftButton.png) no-repeat;
+       width: 63px;
+       height: 138px;
+       background-position: -3px -31px;
+       left: 3px;
+       top: 31px;
+       -webkit-transition: 0.2s ;
+}
+#SEEKLEFT.pressed{
+       background: url(../images/home/controlButtons/LeftButton_pressed.png) no-repeat;
+       width: 63px !important;
+       height: 138px !important;
+       background-position: -3px -31px !important;
+       left: 3px !important;
+       top: 31px !important;
+}
+#buttonControls .RightBtn{
+       background: url(../images/home/controlButtons/RightButton.png) no-repeat;
+       background-position: -131px -31px;
+       width: 68px;
+       height: 139px;
+       left: 131px;
+       top: 31px;
+       -webkit-transition: 0.2s ;
+}
+#SEEKRIGHT.pressed{
+       background: url(../images/home/controlButtons/RightButton_pressed.png) no-repeat;
+       background-position: -131px -31px !important;
+       width: 68px !important;
+       height: 139px !important;
+       left: 131px !important;
+       top: 31px !important;
+}
+#buttonControls .OkBtn{
+       background: url(../images/home/controlButtons/OkButton.png) no-repeat;
+       background-position: -55px -55px;
+       width: 89px;
+       height: 90px;
+       left: 55px;
+       top: 55px;
+       -webkit-transition: 0.2s ;
+}
+#OK.pressed{
+       background: url(../images/home/controlButtons/OkButton_pressed.png) no-repeat;
+       background-position: -55px -55px !important;
+       width: 89px !important;
+       height: 90px !important;
+       left: 55px !important;
+       top: 55px !important;
+}
+#app_controlButtons .sendData{
+       top: 252px !important;
+       left: 1049px !important;
+       width: 80px !important;
+       font-size: 16px !important;
+
+}
+#app_controlButtons .btnNotPressed{
+       width: 40px;
+       height: 40px;
+       left: 0px;
+       top: 200px;
+       -webkit-transition: 0.2s;
+       border-radius: 8px;
+       background-color: #1D1D1D;
+       border: 1px solid #383737;
+       box-shadow: inset 5px 5px 10px #383737, inset -3px -3px 10px black;
+       -webkit-transition: 0.2s;
+       font-size: 38px;
+       line-height: 42px;
+       text-align: center;
+       position: relative;
+       float: left;
+       margin-left: 10px;
+       margin-top: 10px;
+}
+}
+
+#app_controlButtons .languageSelect{
+       position: absolute;
+       width: 150px;
+       height: 30px;
+       color: white;
+       background: #393939;
+}
+
+#app_controlButtons .languageSelect option{
+       background: #393939;
+}
+#UILanguages.languageSelect{
+       top: 110px;
+       left: 1028px;
+}
+#TTSVRLanguages.languageSelect{
+       top: 170px;
+       left: 1028px;
+}
+
+#app_controlButtons .UILanguagesLabel{
+       top: 91px;
+       left: 1028px;
+       width: 150px;
+}
+#app_controlButtons .TTSVRLanguagesLabel{
+       top: 151px;
+       left: 1028px;
+       width: 160px;
+}
+#app_controlButtons .appUILanguagesLabel{
+       top: 91px;
+       left: 1195px;
+       width: 250px;
+}
+#app_controlButtons .appTTSVRLanguagesLabel{
+       top: 151px;
+       left: 1195px;
+       width: 250px;
+}#app_controlButtons .appUILang{
+       top: 117px;
+       left: 1195px;
+       width: 150px;
+}
+#app_controlButtons .appTTSVRLang{
+       top: 176px;
+       left: 1195px;
+       width: 150px;
+}
+#app_controlButtons .sendDataCheckBox{
+       left: 1158px;
+       position: absolute;
+       top: 275px;
+}
+#app_controlButtons .sendDataLabel{
+       top: 275px;
+       left: 1180px;
+       width: 160px;
+}
+#buttonControls .btnNotPressed.pressed{
+       box-shadow: inset 5px 5px 10px black, inset -3px -3px 10px #383737;
+       line-height: 45px;
+}
+#app_controlButtons .languageSelect{
+       position: absolute;
+       width: 150px;
+       height: 30px;
+       color: white;
+       background: #393939;
+}
+
+#app_controlButtons .languageSelect option{
+       background: #393939;
+}
+#UILanguages.languageSelect{
+       top: 110px;
+       left: 1028px;
+}
+#TTSVRLanguages.languageSelect{
+       top: 170px;
+       left: 1028px;
+}
+
+#app_controlButtons .UILanguagesLabel{
+       top: 91px;
+       left: 1028px;
+       width: 150px;
+}
+#app_controlButtons .TTSVRLanguagesLabel{
+       top: 151px;
+       left: 1028px;
+       width: 160px;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/climate.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/climate.css
new file mode 100644 (file)
index 0000000..6c58dc2
--- /dev/null
@@ -0,0 +1,2290 @@
+/**
+ * Climate module CSS
+ *
+ * @category   Style Sheets
+ * @filesource css/climate.css
+ * @version            2.0
+ */
+
+.helpmode .climate_helprear span {
+       color: transparent;
+       text-shadow: 0 0 6px #fff;
+       pointer-events:none;
+}
+
+.climate_helpfront {
+       z-index: 2001;
+}
+
+
+#climate_simple_test {
+       top: 150px;
+       left: 100px;
+       font-size: 30px;
+}
+
+#climate {
+       width: 800px;
+       height: 480px;
+       background: url(../images/climate/bg.png) no-repeat;
+}
+
+#climate_offLabel {
+       top: 133px;
+       left: 369px;
+       font-size: 30px;
+}
+
+#climate_simple_offLabel {
+       top: 130px;
+       left: 376px;
+       font-size: 25px;
+}
+
+#climate_simple_controls_group {
+       display: inline-block;
+       z-index: 2001;
+       height: 58px;
+}
+
+/* Stored temperature popup */
+
+#climate_storeTemp {
+       display: none;
+       background: #000000;
+       border: 2px solid #2471b1;
+       border-radius:3px;
+       font-size: 23px;
+       font-weight: bold;
+       height: 112px;
+       left: 227px;
+       line-height:105px;
+       text-align: center;
+       top: 178px;
+       width: 344px;
+       z-index: 5001;
+}
+
+/* Climate module warp */
+
+#climate_wrap {
+       height: 425px;
+       top: 55px;
+       width: 800px;
+       z-index: 1000;
+       overflow:hidden;
+}
+
+
+/* SIMPLE VIEW MODE */
+
+/* Automode labels & borders */
+
+#climate_simple_automode .label {
+       background: black;
+       width: 148px;
+       height: 20px;
+       text-align: center;
+       font-size: 25px;
+       font-weight: bold;
+}
+
+#climate_simple_automode .auto_full {
+       top: 130px !important;
+       left: 325px !important;
+}
+
+#climate_simple_automode .auto_fan {
+       top: 130px;
+       left: 425px;
+}
+
+#climate_simple_automode .auto_airflow {
+       top: 130px;
+       left: 230px;
+}
+
+#climate_simple_automode .border {
+       border-left: 2px solid #fff;
+       border-right: 2px solid #fff;
+       border-top: 2px solid #fff;
+       z-index: -1;
+       border-top-right-radius: 3px;
+       border-top-left-radius: 3px;
+}
+
+#climate_simple_automode .border_full {
+       width: 365px !important;
+       height: 16px !important;
+       left: 217px !important;
+       top: 143px !important;
+}
+
+#climate_simple_automode .border_airflow {
+       width: 170px;
+       height: 16px;
+       left: 217px;
+       top: 143px;
+}
+
+#climate_simple_automode .border_fan {
+       width: 170px;
+       height: 16px;
+       left: 412px;
+       top: 143px;
+}
+
+
+#climate_simple_driverTemp {
+       width: 170px;
+       height: 150px;
+       background-color: #000;
+       top: 160px;
+       left: 22px;
+       border: 1px solid #393939;
+       border-radius: 3px;
+}
+
+#climate_simple_passangerTemp {
+       width: 170px;
+       height: 150px;
+       background-color: #000;
+       top: 160px;
+       left: 611px;
+       border: 1px solid #393939;
+       border-radius: 3px;
+}
+
+#climate_simple .minus
+{
+       height: 50px;
+       width: 170px;
+       position: relative;
+       float: left;
+}
+
+#climate_simple .plus {
+       height: 50px;
+       width: 170px;
+       position: relative;
+       float: left;
+}
+
+#climate_simple .temp_num {
+       width: 170px;
+       height: 48px;
+       position: relative;
+       float: left;
+       text-align: center;
+       border-bottom: 1px solid #393939;
+       border-top: 1px solid #393939;
+       line-height: 48px;
+       z-index: 3001;
+}
+
+#climate_simple .temp_num span {
+       font-size: 32px;
+}
+
+
+#climate_simple .minus img {
+       position: absolute;
+       top: 23px;
+       left: 73px;
+}
+
+#climate_simple .plus img {
+       position: absolute;
+       top: 12px;
+       left: 73px;
+}
+
+
+/* Power button */
+
+#climate_simple_powerButton  {
+       width: 78px;
+       height: 48px;
+       text-align: center;
+       top:78px;
+       left:360px;
+       border: 1px solid #393939;
+       border-radius: 3px;
+}
+
+#climate_simple_powerButton .ico {
+       top: 14px;
+       position: relative;
+}
+
+#climate_simple_powerButton .ind_inact {
+       position: absolute;
+       right: 4px;
+       top: 14px;
+       width:6px;
+       height:21px;
+       background:url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_simple_powerButton .ind_act {
+       position: absolute;
+       right: -2px;
+       top: 9px;
+       background:url(../images/climate/ind_vert_active.png) no-repeat;
+       width:19px;
+       height:32px;
+}
+
+#climate_simple_controls {
+       width: 448px;
+       height: 58px;
+       border: 1px solid #393939;
+       border-radius: 3px;
+       top: 338px;
+       left: 173px;
+}
+
+/* Airflow controls */
+
+#climate_simple_airflowControls {
+       width: 170px;
+       height: 150px;
+       background-color: #000;
+       top: 160px;
+       left: 218px;
+       border: 1px solid #393939;
+       border-radius: 3px;
+}
+
+#climate_simple_airflowControls.automode {
+       top: 159px;
+       left: 217px;
+}
+
+
+/* Fan controls */
+
+#climate_simple_fanControls {
+       width: 170px;
+       height: 150px;
+       background-color: #000;
+       top: 160px;
+       left: 413px;
+       border: 1px solid #393939;
+       border-radius: 3px;
+}
+
+#climate_simple_fanControls.automode {
+       top: 159px;
+       left: 412px;
+}
+
+/* Fan indicators */
+
+#climate_simple_fanControls_fanIndicator {
+       width: 170px;
+       height: 48px;
+       left: 1px;
+       position: relative;
+       cursor: default;
+       border-bottom: 1px solid #393939;
+       border-top: 1px solid #393939;
+       background: none;
+}
+
+#climate_simple_fanControls_fanIndicator .ico{
+       top: 13px;
+       left: 72px;
+       position: absolute;
+}
+
+#climate_simple_fanControls_fanIndicator .ind_def{
+       background: url(../images/climate/fan_control/fan_ind_active.png) no-repeat;
+       width: 21px;
+       height: 44px;
+       position: relative;
+       display: inline-block;
+       left: -1px;
+       top: 3px;
+}
+
+#climate_simple_fanControls_fanIndicator .indf_inact {
+       background: url(../images/climate/fan_control/fan_ind_def.png) no-repeat;
+       width: 24px;
+       height: 44px;
+       position: relative;
+       display: inline-block;
+       background-position: 9px;
+       top: 3px;
+}
+
+#climate_simple_fanControls_fanIndicator .indf_act {
+       background: url(../images/climate/fan_control/fan_ind_active.png) no-repeat;
+       width: 24px;
+       height: 44px;
+       position: relative;
+       display: inline-block;
+       left: 1px;
+       top: 3px;
+}
+
+
+/* Fan minus button */
+
+#climate_simple_fanControls_fanMinusButton {
+       width: 170px;
+       height: 50px;
+       position: relative;
+}
+
+#climate_simple_fanControls_fanMinusButton .ico {
+       top: 25px;
+       left: 72px;
+       position: absolute;
+}
+
+/* Fan plus button */
+
+#climate_simple_fanControls_fanPlusButton {
+       width: 170px;
+       height: 50px;
+       position: relative;
+}
+
+#climate_simple_fanControls_fanPlusButton .ico {
+       top: 13px;
+       left: 72px;
+       position: absolute;
+}
+
+/* Automode button */
+
+#climate_simple_autoButton {
+       z-index: 2001;
+       width: 89px;
+       height: 58px;
+       position: relative;
+       display: inline-block;
+       border-right: 1px solid #000;
+       float: left;
+       text-align: center;
+}
+
+#climate_simple_autoButton  span{
+       font-size: 20px;
+       line-height: 58px;
+}
+
+#climate_simple_autoButton.active {
+       background: url(../images/common/button_active_blue.png) repeat !important;
+}
+
+/* AC button */
+
+#climate_simple_acButton {
+       width: 88px;
+       height: 58px;
+       position: relative;
+       display: inline-block;
+       border-left: 1px solid #393939;
+       border-right: 1px solid #000;
+       float: left;
+       text-align: center;
+}
+
+#climate_simple_acButton span {
+       font-size: 20px;
+       line-height: 58px;
+}
+
+#climate_simple_acButton .ind_inact {
+       position: absolute;
+       right: 10px;
+       top: 18px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_simple_acButton .ind_act {
+       position: absolute;
+       right: 4px;
+       top: 13px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width:19px;
+       height:32px;
+}
+
+
+/* Windshield button */
+
+#climate_simple_windshieldButton {
+       width: 84px;
+       height: 50px;
+       position: relative;
+       border-right: 1px solid #000;
+       float: left;
+}
+
+#climate_simple_windshieldButton .ico {
+       top: 12px;
+       left: 30px;
+       position: absolute;
+}
+
+#climate_simple_windshieldButton .ind_inact {
+       position: absolute;
+       right: 10px;
+       top: 10px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_simple_windshieldButton .ind_act {
+       position: absolute;
+       right: 4px;
+       top: 5px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width: 19px;
+       height: 32px;
+}
+
+
+/* Windshield max button */
+
+#climate_simple_defrostMaxButton {
+       width: 84px;
+       height: 50px;
+       border-left: 1px solid #393939;
+       position: relative;
+       float: left;
+}
+
+#climate_simple_defrostMaxButton .ico {
+       left: 18px;
+       position: absolute;
+}
+
+#climate_simple_defrostMaxButton .ind_inact {
+       position: absolute;
+       right: 10px;
+       top: 10px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_simple_defrostMaxButton .ind_act {
+       position: absolute;
+       right: 4px;
+       top: 5px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width: 19px;
+       height: 32px;
+}
+
+/* Windshield panel airflow button */
+
+#climate_simple_panelAirflowButton {
+       width: 170px;
+       height: 49px;
+       position: relative;
+       float: left;
+       border-top: 1px solid #393939;
+}
+
+#climate_simple_panelAirflowButton .ico {
+       left: 42px;
+       position: absolute;
+}
+
+#climate_simple_panelAirflowButton .ind_inact {
+       position: absolute;
+       right: 10px;
+       top: 10px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_simple_panelAirflowButton .ind_act {
+       position: absolute;
+       right: 4px;
+       top: 5px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width: 19px;
+       height: 32px;
+}
+
+/* Windshield feet airflow button */
+
+#climate_simple_feetAirflowButton {
+       width: 170px;
+       height: 49px;
+       position: relative;
+       float: left;
+       border-top: 1px solid #393939;
+}
+
+#climate_simple_feetAirflowButton .ico {
+       left: 15px;
+       position: absolute;
+}
+
+#climate_simple_feetAirflowButton .ind_inact {
+       position: absolute;
+       right: 10px;
+       top: 10px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_simple_feetAirflowButton .ind_act {
+       position: absolute;
+       right: 4px;
+       top: 5px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width: 19px;
+       height: 32px;
+}
+
+
+/* Max AC button */
+
+#climate_simple_maxAcButton {
+       width: 88px;
+       height: 58px;
+       position: relative;
+       display: inline-block;
+       border-left: 1px solid #393939;
+       border-right: 1px solid #000;
+       float: left;
+       text-align: center;
+       z-index: 2001;
+}
+
+#climate_simple_maxAcButton  span {
+       top: 12px;
+       left: 24px;
+       position: absolute;
+       font-size: 20px;
+       line-height: 18px;
+       text-align: center;
+       width: 37px;
+}
+
+#climate_simple_maxAcButton .ind_inact {
+       position: absolute;
+       right: 10px;
+       top: 18px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_simple_maxAcButton .ind_act {
+       position: absolute;
+       right: 4px;
+       top: 13px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width: 19px;
+       height:32px;
+}
+
+
+/* Recirculation button */
+
+#climate_simple_recirculationButton {
+       width: 88px;
+       height: 58px;
+       position: relative;
+       display: inline-block;
+       border-left: 1px solid #393939;
+       border-right: 1px solid #000;
+       float: left;
+       z-index: 2000;
+}
+
+#climate_simple_recirculationButton .ico {
+       top: 21px;
+       left: 25px;
+       position: absolute;
+}
+
+#climate_simple_recirculationButton .ind_inact {
+       position: absolute;
+       right: 10px;
+       top: 18px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_simple_recirculationButton .ind_act {
+       position: absolute;
+       right: 4px;
+       top: 13px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width:19px;
+       height:32px;
+}
+
+
+/* dual button */
+
+#climate_simple_dualButton {
+       width: 87px;
+       height: 58px;
+       border-left: 1px solid #393939;
+       position: relative;
+       display: inline-block;
+       text-align: center;
+       float: left;
+       z-index: 2001;
+}
+
+#climate_simple_dualButton span{
+       font-size: 20px;
+       line-height: 58px;
+}
+
+#climate_simple_dualButton .ind_inact {
+       position: absolute;
+       right: 10px;
+       top: 18px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_simple_dualButton .ind_act {
+       position: absolute;
+       right: 4px;
+       top: 13px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width:19px;
+       height:32px;
+}
+
+
+
+
+/*  NORMAL VIEW MODE */
+
+/* Power button */
+
+#climate_powerButton  {
+       width: 78px;
+       height: 48px;
+       text-align: center;
+       top:78px;
+       left:360px;
+       border: 1px solid #393939;
+       border-radius: 3px;
+}
+
+#climate_powerButton .ico {
+       top: 14px;
+       position: relative;
+}
+
+#climate_powerButton .ind_inact {
+       position: absolute;
+       right: 4px;
+       top: 14px;
+       width:6px;
+       height:21px;
+       background:url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_powerButton .ind_act {
+       position: absolute;
+       right: -2px;
+       top: 9px;
+       background:url(../images/climate/ind_vert_active.png) no-repeat;
+       width:19px;
+       height:32px;
+}
+
+
+/* Automode labels & borders */
+#climate .automode  {
+       border: 2px solid #fff !important;
+}
+
+#climate_automode .label {
+       background: black;
+       width: 148px;
+       height: 20px;
+       text-align: center;
+       font-size: 25px;
+       font-weight: bold;
+}
+
+#climate_automode .auto_full {
+       top: 144px !important;
+       left: 325px !important;
+}
+
+#climate_automode .auto_fan {
+       top: 144px;
+       left: 423px;
+}
+
+#climate_automode .auto_airflow {
+       top: 144px;
+       left: 228px;
+}
+
+#climate_automode .border {
+       border-left: 2px solid #fff;
+       border-right: 2px solid #fff;
+       border-top: 2px solid #fff;
+       z-index: -1;
+       border-top-right-radius: 3px;
+       border-top-left-radius: 3px;
+}
+
+#climate_automode .border_full {
+       width: 363px !important;
+       height: 16px !important;
+       left: 217px !important;
+       top: 160px !important;
+}
+
+#climate_automode .border_airflow {
+       width: 168px;
+       height: 16px;
+       left: 217px;
+       top: 160px;
+}
+
+#climate_automode .border_fan {
+       width: 168px;
+       height: 16px;
+       left: 412px;
+       top: 160px;
+}
+
+/* Temperature */
+
+#climate_driverTemp {
+       width: 170px;
+       height: 50px;
+       background-color: #000;
+       top: 100px;
+       left: 22px;
+}
+
+#climate_passangerTemp {
+       width: 170px;
+       height: 50px;
+       background-color: #000;
+       top: 100px;
+       left: 611px;
+}
+
+#climate_full .minus
+{
+       height: 48px;
+       width: 43px;
+       position: relative;
+       float: left;
+       border: 1px solid #393939;
+       border-top-left-radius: 3px;
+       border-bottom-left-radius: 3px;
+}
+#climate_full .minus .ico {
+       position: absolute;
+       left: 10px;
+       top: 23px;
+}
+
+#climate_full .plus {
+       height: 48px;
+       width: 43px;
+       position: relative;
+       float: left;
+       border: 1px solid #393939;
+       border-top-right-radius: 3px;
+       border-bottom-right-radius: 3px;
+}
+
+#climate_full .plus .ico {
+       position: absolute;
+       left: 10px;
+       top: 13px;
+}
+
+#climate_full .temp_num {
+       width: 80px;
+       height: 48px;
+       position: relative;
+       float: left;
+       text-align: center;
+       border-bottom: 1px solid #393939;
+       border-top: 1px solid #393939;
+       line-height: 48px;
+       z-index: 3001;
+}
+
+#climate_full .temp_num span {
+       font-size: 32px;
+}
+
+
+/* Driver controls */
+
+#climate_driverControls {
+       width: 168px;
+       height: 118px;
+       border: 1px solid #393939;
+       border-radius: 3px;
+       top: 176px;
+       left: 22px;
+}
+
+
+/* Driver heated seat button */
+
+#climate_driverControls_heatedSeatButton {
+       z-index: 2001;
+       width: 83px;
+       height: 58px;
+       position: relative;
+       float: left;
+       border-right: 1px solid #000;
+       border-bottom: 1px solid #000;
+}
+
+#climate_driverControls_heatedSeatButton .ico {
+       top: 9px;
+       left: 26px;
+       position: absolute;
+}
+
+#climate_driverControls_heatedSeatButton div {
+       width: 22px;
+       height: 17px;
+       top: 40px;
+       left: 25px;
+       position: relative;
+       float: left;
+       margin-left: -9px;
+}
+
+#climate_driverControls_heatedSeatButton div.small_ind_def {
+       background:url(../images/climate/small_ind_def.png) no-repeat;
+}
+
+#climate_driverControls_heatedSeatButton div.small_ind_active {
+       background:url(../images/climate/small_ind_active.png) no-repeat;
+}
+
+
+/* My temperature button */
+
+#climate_driverControls_myTempButton {
+       width: 83px;
+       height: 58px;
+       position: relative;
+       float: left;
+       font-size: 20px;
+       border-left: 1px solid #393939;
+       border-bottom: 1px solid #000;
+}
+
+#climate_driverControls_myTempButton span{
+       float: left;
+       left: 17px;
+       top: 8px;
+       text-align: center;
+       font-size: 19px;
+       line-height: 20px;
+       width: 47px;
+       z-index: 4001;
+       position: relative;
+}
+
+#climate_driverControls_myTempButton.active {
+       background:url(../images/common/button_active_blue.png) repeat !important;
+}
+
+/* Driver cooled seat button */
+
+#climate_driverControls_cooledSeatButton {
+       z-index: 2001;
+       width: 83px;
+       height: 58px;
+       position: relative;
+       float: left;
+       border-top: 1px solid #393939;
+       border-right: 1px solid #000;
+}
+
+#climate_driverControls_cooledSeatButton .ico {
+       top: 9px;
+       left: 26px;
+       position: absolute;
+}
+
+#climate_driverControls_cooledSeatButton div {
+       width: 22px;
+       height: 17px;
+       top: 40px;
+       left: 25px;
+       position: relative;
+       float: left;
+       margin-left: -9px;
+}
+
+#climate_driverControls_cooledSeatButton div.small_ind_def {
+       background: url(../images/climate/small_ind_def.png) no-repeat;
+}
+
+#climate_driverControls_cooledSeatButton div.small_ind_active {
+       background:url(../images/climate/small_ind_blue.png) no-repeat;
+}
+
+
+/* Driver heated steer button */
+
+#climate_driverControls_heatedSteerButton {
+       width: 83px;
+       height: 58px;
+       float: left;
+       position: relative;
+       border-top: 1px solid #393939;
+       border-left: 1px solid #393939;
+}
+
+#climate_driverControls_heatedSteerButton .ico {
+       top: 8px;
+       left: 27px;
+       position: absolute;
+}
+
+#climate_driverControls_heatedSteerButton .ind_inact {
+       position: absolute;
+       right: 34px;
+       top: 47px;
+       width: 21px;
+       height: 6px;
+       background: url(../images/climate/ind_horiz_def.png) no-repeat;
+}
+
+#climate_driverControls_heatedSteerButton .ind_act {
+       position: absolute;
+       right: 27px;
+       top: 40px;
+       background: url(../images/climate/ind_horiz_active_wheel.png) no-repeat;
+       width:32px;
+       height:19px;
+}
+
+/* Passenger controls */
+
+#climate_passengerControls {
+       width:168px;
+       height:118px;
+       background-color: #000;
+       border:1px solid #393939;
+       border-radius: 3px;
+       top: 176px;
+       left: 611px;
+}
+
+/* Passenger cooled seat button */
+
+#climate_passengerControls_cooledSeatButton {
+       width: 83px;
+       height: 58px;
+       position: relative;
+       float: right;
+       border-left: 1px solid #393939;
+       border-top: 1px solid #393939;
+}
+
+#climate_passengerControls_cooledSeatButton .ico {
+       top: 9px;
+       left: 26px;
+       position: absolute;
+}
+
+#climate_passengerControls_cooledSeatButton div {
+       width: 22px;
+       height: 17px;
+       top: 40px;
+       left: 25px;
+       position: relative;
+       float: left;
+       margin-left: -9px;
+}
+
+#climate_passengerControls_cooledSeatButton div.small_ind_def {
+       background: url(../images/climate/small_ind_def.png) no-repeat;
+}
+
+#climate_passengerControls_cooledSeatButton div.small_ind_active {
+       background: url(../images/climate/small_ind_blue.png) no-repeat;
+}
+
+
+/* Passenger heated seat button */
+
+#climate_passengerControls_heatedSeatButton {
+       width: 83px;
+       height: 58px;
+       position: relative;
+       float: right;
+       border-left: 1px solid #393939;
+       border-bottom: 1px solid #000;
+}
+
+#climate_passengerControls_heatedSeatButton .ico {
+       top: 9px;
+       left: 26px;
+       position: absolute;
+}
+
+#climate_passengerControls_heatedSeatButton div {
+       width:22px;
+       height:17px;
+       top: 40px;
+       left: 25px;
+       position: relative;
+       float: left;
+       margin-left: -9px;
+}
+
+#climate_passengerControls_heatedSeatButton div.small_ind_def {
+       background: url(../images/climate/small_ind_def.png) no-repeat;
+}
+
+#climate_passengerControls_heatedSeatButton div.small_ind_active {
+       background:url(../images/climate/small_ind_active.png) no-repeat;
+}
+
+/* Passenger dual mode button */
+
+#climate_passengerControls_dualModeButton {
+       width: 83px;
+       height: 118px;
+       text-align: center;
+       border-right: 1px solid #000;
+       position: relative;
+       float: left;
+}
+
+#climate_passengerControls_dualModeButton span {
+       font-size: 20px;
+       line-height: 106px;
+       z-index: 4001;
+       position: relative;
+}
+
+#climate_passengerControls_dualModeButton .ind_inact {
+       position: absolute;
+       right: 31px;
+       top: 103px;
+       width: 21px;
+       height: 6px;
+       background: url(../images/climate/ind_horiz_def.png) no-repeat;
+}
+
+#climate_passengerControls_dualModeButton .ind_act {
+       position: absolute;
+       right: 25px;
+       top: 96px;
+       background: url(../images/climate/ind_horiz_active.png) no-repeat;
+       width: 32px;
+       height: 19px;
+}
+
+
+/* Airflow controls */
+
+#climate_airflowControls {
+       width: 168px;
+       height: 118px;
+       border: 1px solid #393939;
+       border-radius: 3px;
+       top: 176px;
+       left: 218px;
+}
+
+#climate_airflowControls.automode {
+       top: 175px;
+       left: 217px;
+}
+
+/* Defrost button */
+
+#climate_airflowControls_defrostButton {
+       width: 83px;
+       height: 58px;
+       position: relative;
+       float: left;
+       border-right: 1px solid #000;
+       border-bottom: 1px solid #000;
+}
+
+#climate_airflowControls_defrostButton .ico {
+       top: 15px;
+       left:23px;
+       position: absolute;
+}
+
+#climate_airflowControls_defrostButton.active {
+       background: url(../images/common/button_active_blue.png) repeat !important;
+}
+
+
+
+/* Panel button */
+
+#climate_airflowControls_panelButton {
+       width: 83px;
+       height: 58px;
+       position: relative;
+       float: left;
+       border-left: 1px solid #393939;
+       border-bottom: 1px solid #000;
+}
+
+#climate_airflowControls_panelButton .ico {
+       top: 16px;
+       left: 27px;
+       position: absolute;
+}
+
+#climate_airflowControls_panelButton.active {
+       background: url(../images/common/button_active_blue.png) repeat !important;
+}
+
+
+/* Feet button*/
+
+#climate_airflowControls_feetButton {
+       width: 83px;
+       height: 58px;
+       position: relative;
+       float: left;
+       border-top: 1px solid #393939;
+       border-right: 1px solid #000;
+}
+
+#climate_airflowControls_feetButton .ico {
+       top: 16px;
+       left: 23px;
+       position: absolute;
+}
+#climate_airflowControls_feetButton.active {
+       background: url(../images/common/button_active_blue.png) repeat !important;
+}
+
+/* Panel & Feet button */
+
+#climate_airflowControls_bothButton {
+       width: 83px;
+       height: 58px;
+       float: left;
+       position: relative;
+       border-top: 1px solid #393939;
+       border-left: 1px solid #393939;
+}
+
+
+#climate_airflowControls_bothButton .ico {
+       top: 16px;
+       left: 23px;
+       position: absolute;
+}
+
+#climate_airflowControls_bothButton.active {
+       background:url(../images/common/button_active_blue.png) repeat !important;
+}
+
+
+/* Fan controls */
+
+#climate_fanControls {
+       width: 168px;
+       height: 118px;
+       border: 1px solid #393939;
+       border-radius: 3px;
+       top: 176px;
+       left: 413px;
+}
+
+#climate_fanControls.automode {
+       top: 175px;
+       left: 412px;
+}
+
+/* Fan indicators */
+
+#climate_fanControls_fanIndicator {
+       width: 168px;
+       height: 59px;
+       left: 1px;
+       position: relative;
+       cursor: default;
+       background: none;
+}
+
+#climate_fanControls_fanIndicator .ico{
+       top: 17px;
+       left: 72px;
+       position: absolute;
+}
+
+#climate_fanControls_fanIndicator .ind_def{
+       background: url(../images/climate/fan_control/fan_ind_active.png) no-repeat;
+       width: 21px;
+       height: 44px;
+       position: relative;
+       display: inline-block;
+       left: -1px;
+       top: 7px;
+}
+
+#climate_fanControls_fanIndicator .indf_inact {
+       background: url(../images/climate/fan_control/fan_ind_def.png) no-repeat;
+       width: 24px;
+       height: 44px;
+       position: relative;
+       display: inline-block;
+       background-position: 9px;
+       top: 7px;
+}
+
+#climate_fanControls_fanIndicator .indf_act {
+       background: url(../images/climate/fan_control/fan_ind_active.png) no-repeat;
+       width: 24px;
+       height: 44px;
+       position: relative;
+       display: inline-block;
+       left: 1px;
+       top: 7px;
+}
+
+
+/* Fan minus button */
+
+#climate_fanControls_fanMinusButton {
+       width: 83px;
+       height: 58px;
+       position: relative;
+       float: left;
+       border-top: 1px solid #393939;
+       border-right: 1px solid #000;
+}
+
+#climate_fanControls_fanMinusButton .ico {
+       top: 27px;
+       left: 30px;
+       position: absolute;
+}
+
+/* Fan plus button */
+
+#climate_fanControls_fanPlusButton {
+       width: 83px;
+       height: 58px;
+       float: left;
+       position: relative;
+       border-top: 1px solid #393939;
+       border-left: 1px solid #393939;
+}
+
+#climate_fanControls_fanPlusButton .ico {
+       top: 17px;
+       left: 30px;
+       position: absolute;
+}
+
+
+/* Front climate control buttons */
+
+#climate_frontControls {
+       width: 538px;
+       height: 58px;
+       border: 1px solid #393939;
+       border-radius: 3px;
+       top: 338px;
+       left: 129px;
+}
+
+
+/* Windshield button */
+
+#climate_frontControls_windshieldButton {
+       width: 89px;
+       height: 58px;
+       position: relative;
+       float: left;
+       display: inline-block;
+       border-right: 1px solid #000;
+
+}
+
+#climate_frontControls_windshieldButton .ico {
+       top: 20px;
+       left: 30px;
+       position: absolute;
+}
+
+#climate_frontControls_windshieldButton .ind_inact {
+       position: absolute;
+       right: 10px;
+       top: 18px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_frontControls_windshieldButton .ind_act {
+       position: absolute;
+       right: 4px;
+       top: 13px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width: 19px;
+       height: 32px;
+}
+
+
+/* Defrost button */
+
+#climate_frontControls_defrostButton {
+       width: 88px;
+       height: 58px;
+       position: relative;
+       float: left;
+       display: inline-block;
+       border-left: 1px solid #393939;
+       border-right: 1px solid #000;
+}
+
+#climate_frontControls_defrostButton .ico {
+       top: 18px;
+       left: 27px;
+       position: absolute;
+}
+
+#climate_frontControls_defrostButton .ind_inact {
+       position: absolute;
+       right: 10px;
+       top: 18px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_frontControls_defrostButton .ind_act {
+       position: absolute;
+       right: 4px;
+       top: 13px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width: 19px;
+       height: 32px;
+}
+
+
+/* Automode button */
+
+#climate_frontControls_autoButton {
+       z-index: 2001;
+       width: 88px;
+       height: 58px;
+       position: relative;
+       float:left;
+       display: inline-block;
+       border-right: 1px solid #000;
+       border-left: 1px solid #393939;
+}
+
+#climate_frontControls_autoButton span{
+       top: 18px;
+       left: 26px;
+       position: absolute;
+       font-size: 20px;
+}
+
+#climate_frontControls_autoButton.active {
+       background: url(../images/common/button_active_blue.png) repeat !important;
+}
+
+/* AC button */
+
+#climate_frontControls_acButton {
+       width: 88px;
+       height: 58px;
+       position: relative;
+       float: left;
+       display: inline-block;
+       border-right: 1px solid #000;
+       border-left: 1px solid #393939;
+}
+
+#climate_frontControls_acButton span {
+       top: 18px;
+       left: 28px;
+       position: absolute;
+       font-size: 20px;
+}
+
+#climate_frontControls_acButton .ind_inact {
+       position: absolute;
+       right: 10px;
+       top: 18px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_frontControls_acButton .ind_act {
+       position: absolute;
+       right: 4px;
+       top: 13px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width:19px;
+       height:32px;
+}
+
+
+/* Max AC button */
+
+#climate_frontControls_maxAcButton {
+       z-index: 2001;
+       width: 88px;
+       height: 58px;
+       position: relative;
+       float: left;
+       display: inline-block;
+       border-right: 1px solid #000;
+       border-left: 1px solid #393939;
+}
+
+#climate_frontControls_maxAcButton span  {
+       top: 12px;
+       left: 24px;
+       position: absolute;
+       font-size: 20px;
+       line-height: 18px;
+       text-align: center;
+       width: 37px;
+}
+
+#climate_frontControls_maxAcButton .ind_inact {
+       position: absolute;
+       right: 10px;
+       top: 18px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_frontControls_maxAcButton .ind_act {
+       position: absolute;
+       right: 4px;
+       top: 13px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width: 19px;
+       height:32px;
+}
+
+
+/* Recirculation button */
+
+#climate_frontControls_recirculationButton {
+       z-index: 2001;
+       width: 87px;
+       height: 58px;
+       position: relative;
+       display: inline-block;
+       border-left: 1px solid #393939;
+}
+
+#climate_frontControls_recirculationButton .ico {
+       top: 21px;
+       left: 25px;
+       position: absolute;
+}
+
+#climate_frontControls_recirculationButton .ind_inact {
+       position: absolute;
+       right: 10px;
+       top: 18px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_frontControls_recirculationButton .ind_act {
+       position: absolute;
+       right: 4px;
+       top: 13px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width:19px;
+       height:32px;
+}
+
+
+/*  REAR VIEW BLOCK */
+
+/* Rear switcher */
+
+#climate_rearSwitcher {
+       z-index: 4001;
+       width: 78px;
+       height: 48px;
+       border: 1px solid #393939;
+       border-radius:3px;
+       top:425px;
+       left:716px;
+       text-align: center;
+}
+
+#climate_rearSwitcher span {
+       font-size: 19px;
+       line-height: 28px;
+       margin-right: 3px;
+}
+
+#climate_rearSwitcher .ico {
+       top: 28px;
+       left: 28px;
+       position: absolute;
+}
+
+#climate_rearSwitcher .rear_arrow {
+       top: 32px;
+       left: 28px;
+       position: absolute;
+}
+
+/* Rear controls */
+
+#climate_rearControls {
+       top: 315px;
+       width: 800px;
+       z-index: 4001;
+}
+
+#climate_rearControls_tempControls_labels {
+       pointer-events: none;
+}
+
+#climate_rearControls_topCaption {
+       width: 470px;
+       height: 1px;
+       left: 165px;
+       background: url(../images/climate/rear_auto/rear_lightning.png) no-repeat;
+}
+
+#climate_rearControls_topCaption.help {
+       background: none;
+}
+
+#climate_rearControls_topCaption span{
+       position: absolute;
+       top: -11px;
+       left: 179px;
+       font-size: 19px;
+}
+
+#climate_rearControls_topCaption .rear_ico {
+       position: relative;
+       left: 178px;
+       bottom: 8px;
+}
+
+#climate_rearControls .rear_controls {
+       position: relative;
+       top: 16px;
+       width: 800px;
+       height: 60px;
+}
+
+
+/* Rear control button */
+
+#climate_rearControls_controlButton {
+       z-index: 4001;
+       width: 98px;
+       height: 58px;
+       position: relative;
+       float: left;
+       border: 1px solid #393939;
+       border-radius: 3px;
+       margin-left: 97px;
+       margin-right:7px;
+       top: 16px;
+}
+
+#climate_rearControls_controlButton span {
+       top: 5px;
+       left: 19px;
+       position: absolute;
+       width: 60px;
+       font-size: 19px;
+       line-height: 24px;
+       text-align: center;
+}
+
+#climate_rearControls_controlButton .ind_inact {
+       position: absolute;
+       right: 6px;
+       top: 18px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_rearControls_controlButton .ind_act {
+       position: absolute;
+       right: 0px;
+       top: 13px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width: 19px;
+       height: 32px;
+}
+
+
+/* Rear temperature control */
+
+#climate_rearControls_tempControls {
+       z-index: 4001;
+       width: 198px;
+       height: 58px;
+       background-color: #000;
+       position: relative;
+       float: left;
+       margin-right: 8px;
+       top: 16px;
+       border: 1px solid #393939;
+       border-radius: 3px;
+}
+
+
+/* Rear temperature minus button */
+
+#climate_rearControls_tempControls_minusButton {
+       height: 58px;
+       width: 44px;
+       border-right: 1px solid #393939;
+       position: relative;
+       float: left;
+}
+
+#climate_rearControls_tempControls_minusButton .ico {
+       top: 27px;
+       left: 10px;
+       position: absolute;
+}
+
+/* Rear temperature plus button */
+
+#climate_rearControls_tempControls_plusButton {
+       height:58px;
+       width:44px;
+       border-left: 1px solid #393939;
+       display: inline-block;
+}
+
+#climate_rearControls_tempControls_plusButton .ico {
+       top: 17px;
+       left: 10px;
+       position: absolute;
+}
+
+/* Rear temperature indicators */
+
+#climate_rearControls_tempControls_indicator {
+       background-color: #000;
+       width: 108px;
+       height: 59px;
+       position: relative;
+       display: inline-block;
+       top: 0px;
+       cursor: default;
+       background: none;
+}
+
+#climate_rearControls_tempControls_indicator .indt_inact {
+       background: url(../images/climate/fan_control/fan_ind_def.png) no-repeat;
+       width: 5px;
+       height: 48px;
+       position: relative;
+       float: left;
+       margin-left: 3px;
+       margin-right: 4px;
+       margin-top: 15px
+}
+
+#climate_rearControls_tempControls_indicator .indt_inact_long {
+       background: url(../images/climate/rear_auto/indicator_long_def.png) no-repeat;
+       width: 5px;
+       height: 48px;
+       position: relative;
+       float: left;
+       margin-left: 3px;
+       margin-right: 4px;
+       margin-top: 5px
+}
+
+#climate_rearControls_tempControls_indicator .indt_dot {
+       width: 10px;
+       height: 10px;
+       position: relative;
+       float: left;
+       margin-right: 2px;
+       margin-top: 24px;
+}
+
+#climate_rearControls_tempControls_indicator .indt_act {
+       background: url(../images/climate/fan_control/fan_ind_active.png) no-repeat;
+       width: 21px;
+       height: 44px;
+       position: relative;
+       float: left;
+       margin-top: 7px;
+       margin-left: -5px;
+       margin-right: -4px;
+}
+
+#climate_rearControls_tempControls_indicator .indt_act_long {
+       background: url(../images/climate/rear_auto/indicator_long_act.png) no-repeat;
+       width: 21px;
+       height: 54px;
+       position: relative;
+       float: left;
+       margin-top: 2px;
+       margin-left: -3px;
+       margin-right: -6px;
+}
+
+
+#climate_rearControls_tempControls_indicator_dot {
+       background:url(../images/climate/rear_auto/center_dot_rear_fan.png) no-repeat;
+       width:10px;
+       height:10px;
+       position:absolute;
+       top: 24px;
+       left: 48px;
+       opacity: 0;
+}
+
+#climate_rearControls_tempControls .full_label {
+       z-index: 1;
+       top: 1px;
+       left: 89px;
+       font-size: 12px;
+       font-weight: 600;
+       position:absolute;
+       opacity: 0;
+}
+
+#climate_rearControls_tempControls .mode_label {
+       z-index: 1;
+       top: 44px;
+       left: 86px;
+       font-size: 12px;
+       font-weight: 600;
+       position: absolute;
+}
+
+#climate_rearOff {
+       z-index: 2;
+       font-size: 30px;
+       left: 45px;
+       width: 108px;
+       height: 58px;
+       background-color: #000;
+       line-height: 58px;
+       text-align: center;
+}
+
+#climate_rearLabelOn {
+       width: 190px;
+       font-size: 18px;
+       top: 442px;
+       left: 525px;
+       visibility: hidden;
+}
+
+
+/* Rear power button */
+#climate_rearControls_powerButton {
+       width: 78px;
+       height: 58px;
+       position: relative;
+       float: left;
+       border: 1px solid #393939;
+       border-radius: 3px;
+       margin-right: 7px;
+       top: 16px;
+}
+
+#climate_rearControls_powerButton .ico {
+       top: 19px;
+       left: 29px;
+       position: absolute;
+}
+
+#climate_rearControls_powerButton .ind_inact {
+       position: absolute;
+       right: 6px;
+       top: 18px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#climate_rearControls_powerButton .ind_act {
+       position: absolute;
+       right: 0px;
+       top: 13px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width: 19px;
+       height: 32px;
+}
+
+
+/* Rear fan control */
+
+#climate_rearControls_fanControls {
+       width: 198px;
+       height: 58px;
+       background-color: #000;
+       float: left;
+       margin-right: 7px;
+       position: relative;
+       top: 16px;
+}
+
+#climate_rearControls_fanControls_minusButton {
+       height: 58px;
+       width: 43px;
+       position: relative;
+       float: left;
+       border: 1px solid #393939;
+       border-top-left-radius: 3px;
+       border-bottom-left-radius: 3px;
+}
+
+#climate_rearControls_fanControls_minusButton .ico {
+       top: 27px;
+       left: 10px;
+       position: absolute;
+}
+
+#climate_rearControls_fanControls_plusButton {
+       height: 58px;
+       width: 43px;
+       position: relative;
+       display: inline-block;
+       border: 1px solid #393939;
+       border-top-right-radius: 3px;
+       border-bottom-right-radius: 3px;
+}
+
+#climate_rearControls_fanControls_plusButton .ico {
+       top: 17px;
+       left: 10px;
+       position: absolute;
+}
+
+#climate_rearControls_fanControls_indicator {
+       width:108px;
+       height:58px;
+       position:relative;
+       float:left;
+       border-bottom:1px solid #393939;
+       border-top:1px solid #393939;
+       cursor: default;
+       background: none;
+}
+
+#climate_rearControls_fanControls_indicator .ico {
+       top: 17px;
+       left:43px;
+       position: absolute;
+}
+
+#climate_rearControls_fanControls_indicator .indr_inact {
+       background: url(../images/climate/fan_control/fan_ind_def.png) no-repeat;
+       width: 21px;
+       height: 44px;
+       position: relative;
+       display: inline-block;
+       background-position: 9px;
+       top: 7px;
+       margin-left: -7px;
+       left: 8px;
+}
+
+#climate_rearControls_fanControls_indicator .indr_act {
+       background: url(../images/climate/fan_control/fan_ind_active.png) no-repeat;
+       width: 21px;
+       height: 44px;
+       position: relative;
+       display: inline-block;
+       left: 8px;
+       top: 7px;
+       margin-left: -7px;
+}
+
+
+/*  HELP VIEW MODE */
+
+#climate_help_blur {
+       width: 800px;
+       height: 480px;
+       z-index: 1001;
+       background: url(../images/climate/helpmode_climate_front.jpg) no-repeat;
+       visibility: hidden;
+}
+
+#climate_rear_help_blur {
+       width: 800px;
+       height: 480px;
+       z-index: 3001;
+       background: url(../images/climate/helpmode_climate_rear.jpg) no-repeat;
+       visibility: hidden;
+}
+
+#climate_simple_help_blur {
+       width: 800px;
+       height: 480px;
+       z-index: 1001;
+       background: url(../images/climate/helpmode_climate_simple.jpg) no-repeat;
+       visibility: hidden;
+}
+
+/* HOME WIDGET */
+
+
+/* Climate power home button */
+
+#home_widgetClimate_powerButton {
+       width: 206px;
+       height: 48px;
+       left: 96px;
+       top: 35px;
+       border: 1px solid #393939;
+       border-radius: 3px;
+}
+
+#home_widgetClimate_powerButton .ico {
+       position: absolute;
+       top: 15px;
+       left: 93px;
+}
+
+#home_widgetClimate_powerButton.simple_climate{
+       top: 80px;
+}
+
+
+/* Driver temp home label */
+
+#home_widgetClimate_driverTemp {
+       font-size: 36px;
+       top: 44px;
+       left: 108px;
+       visibility: hidden;
+}
+
+/* Passenger temp home label */
+
+#home_widgetClimate_passengerTemp {
+       font-size: 36px;
+       top: 44px;
+       left: 249px;
+       visibility: hidden;
+}
+
+#home_widgetClimate .simple_climate_temp {
+       font-size: 45px;
+       top: 75px;
+}
+
+
+/* Driver home controls */
+
+#home_widgetClimate_driverControls {
+       z-index: 1;
+       top: 100px;
+       left: 35px;
+       width: 131px;
+       height: 58px;
+       border-left: 1px solid #393939;
+       border-top: 1px solid #393939;
+       border-bottom: 1px solid #393939;
+       border-top-left-radius: 3px;
+       border-bottom-left-radius: 3px;
+}
+
+/* Driver home heated seat button */
+
+#home_widgetClimate_driverControls_heatedSeatButton {
+       width: 64px;
+       height: 58px;
+       position: relative;
+       float: left;
+       border-right: 1px solid #000;
+}
+
+#home_widgetClimate_driverControls_heatedSeatButton .ico {
+       top: 9px;
+       left: 18px;
+       position: absolute;
+}
+
+#home_widgetClimate_driverControls_heatedSeatButton div {
+       width: 22px;
+       height: 17px;
+       top: 40px;
+       left: 20px;
+       position: relative;
+       float: left;
+       margin-left: -10px;
+}
+
+#home_widgetClimate_driverControls_heatedSeatButton div.small_ind_def {
+       background:url(../images/climate/small_ind_def.png) no-repeat;
+}
+
+#home_widgetClimate_driverControls_heatedSeatButton div.small_ind_active {
+       background:url(../images/climate/small_ind_active.png) no-repeat;
+}
+
+
+/* Driver home cooled seat button */
+
+#home_widgetClimate_driverControls_cooledSeatButton {
+       width: 64px;
+       height: 58px;
+       position: relative;
+       float: left;
+       border-left: 1px solid #393939;
+       border-right: 1px solid #000;
+}
+
+#home_widgetClimate_driverControls_cooledSeatButton .ico {
+       top: 9px;
+       left: 18px;
+       position: absolute;
+}
+
+#home_widgetClimate_driverControls_cooledSeatButton div {
+       width: 22px;
+       height: 17px;
+       top: 40px;
+       left: 20px;
+       position: relative;
+       float: left;
+       margin-left: -10px;
+}
+
+#home_widgetClimate_driverControls_cooledSeatButton div.small_ind_def {
+       background: url(../images/climate/small_ind_def.png) no-repeat;
+}
+
+#home_widgetClimate_driverControls_cooledSeatButton div.small_ind_active {
+       background:url(../images/climate/small_ind_blue.png) no-repeat;
+}
+
+
+/* Driver home heated steer button */
+
+#home_widgetClimate_driverControls_heatedSteerButton {
+       width: 64px;
+       height: 58px;
+       position: absolute;
+       top: 100px;
+       left: 167px;
+       border: 1px solid #393939;
+       border-top-right-radius: 3px;
+       border-bottom-right-radius: 3px;
+}
+
+#home_widgetClimate_driverControls_heatedSteerButton.helpmode_blur_cont {
+       background:url(../images/climate/heated_stearbutton_blur.png) no-repeat !important;
+       width:75px !important;
+       height:70px !important;
+       border:none !important;
+       top: 95px !important;
+       left:163px !important;
+}
+
+#home_widgetClimate_driverControls_heatedSteerButton .ico {
+       top: 8px;
+       left: 17px;
+       position: absolute;
+}
+
+#home_widgetClimate_driverControls_heatedSteerButton .ind_inact {
+       position: absolute;
+       right: 24px;
+       top: 47px;
+       width: 21px;
+       height: 6px;
+       background: url(../images/climate/ind_horiz_def.png) no-repeat;
+}
+
+#home_widgetClimate_driverControls_heatedSteerButton .ind_act {
+       position: absolute;
+       right: 17px;
+       top: 40px;
+       background: url(../images/climate/ind_horiz_active_wheel.png) no-repeat;
+       width: 32px;
+       height: 19px;
+}
+
+
+/* Passenger home controls */
+
+#home_widgetClimate_passengerControls {
+       top: 100px;
+       left: 242px;
+       width: 130px;
+       height: 58px;
+       border: 1px solid #393939;
+       border-radius: 3px;
+}
+
+/* Passenger home heated seat button */
+
+#home_widgetClimate_passengerControls_heatedSeatButton {
+       width: 64px;
+       height: 58px;
+       position: relative;
+       float: left;
+       border-right: 1px solid #000;
+}
+
+#home_widgetClimate_passengerControls_heatedSeatButton .ico {
+       top: 9px;
+       left: 18px;
+       position: absolute;
+}
+
+#home_widgetClimate_passengerControls_heatedSeatButton div {
+       width: 22px;
+       height: 17px;
+       top: 40px;
+       left: 20px;
+       position: relative;
+       float: left;
+       margin-left: -10px;
+}
+
+#home_widgetClimate_passengerControls_heatedSeatButton div.small_ind_def {
+       background:url(../images/climate/small_ind_def.png) no-repeat;
+}
+
+#home_widgetClimate_passengerControls_heatedSeatButton div.small_ind_active {
+       background:url(../images/climate/small_ind_active.png) no-repeat;
+}
+
+
+/* Passenger home cooled seat button */
+
+#home_widgetClimate_passengerControls_cooledSeatButton {
+       width: 64px;
+       height: 58px;
+       position: relative;
+       float: left;
+       border-left: 1px solid #393939;
+}
+
+#home_widgetClimate_passengerControls_cooledSeatButton .ico {
+       top: 9px;
+       left: 18px;
+       position: absolute;
+}
+
+#home_widgetClimate_passengerControls_cooledSeatButton div {
+       width: 22px;
+       height: 17px;
+       top: 40px;
+       left: 20px;
+       position: relative;
+       float: left;
+       margin-left: -10px;
+}
+
+#home_widgetClimate_passengerControls_cooledSeatButton div.small_ind_def {
+       background: url(../images/climate/small_ind_def.png) no-repeat;
+}
+
+#home_widgetClimate_passengerControls_cooledSeatButton div.small_ind_active {
+       background:url(../images/climate/small_ind_blue.png) no-repeat;
+}
+
+
+/* Climate Status */
+
+#status_climate {
+       bottom:0px;
+       right:0px;
+       text-align:right;
+       font-size:21px;
+       width:324px;
+       height:48px;
+       cursor:pointer;
+       background:url(../images/common/climate-status-bg.png) no-repeat;
+       z-index:1;
+    display:none;
+}
+
+#status_climate_off {
+       position: absolute;
+       right: 15px;
+}
+
+#status_climate_label {
+       display: block;
+       width: 100%;
+       visibility: hidden;
+}
+#status_climate_label span {
+       padding-right: 11px;
+}
+
+#status_climate_off .key {
+       position: absolute;
+       right: 220px;
+       top: 10px;
+}
+
+#status_climate_driverTemp {
+       position: absolute;
+       left: 60px;
+       width: 50px;
+       text-align: left;
+}
+
+#status_climate_passangerTemp {
+       position: absolute;
+       left: 260px;
+       width: 50px;
+       text-align: right;
+}
+
+#status_climate_driverSeat {
+       position: absolute;
+       left: 115px;
+       top: 10px;
+}
+
+#status_climate_passangerSeat {
+       position: absolute;
+       left: 225px;
+       top: 10px;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/ffw.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/ffw.css
new file mode 100644 (file)
index 0000000..caa8d49
--- /dev/null
@@ -0,0 +1,28 @@
+#debug_view {
+       z-index: 20000;
+       pointer-events: none;
+       color: #0F0;
+       font-weight: bold;
+       padding: 5px;
+       margin: 5px;
+       background-color: #000;
+       opacity: .8;
+}
+
+/* Button component */
+.ffw-button {
+       cursor: pointer;
+       background: url(../images/common/button.png) repeat-x;
+}
+
+.ffw-button.large {
+       background: url(../images/common/button_large.png) repeat-x;
+}
+
+.ffw-button.small {
+       background: url(../images/common/button_small.png) repeat-x;
+}
+
+.ffw-button.pressed {
+       background-position: bottom;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/fr.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/fr.css
new file mode 100644 (file)
index 0000000..89ec943
--- /dev/null
@@ -0,0 +1,17 @@
+
+.fr #navigation_destination_myHome_view .view {
+       left: 71px;
+       font-size: 18px;
+}
+
+.fr #view_navi_destination_map .poi {
+       top: 313px;
+       font-size: 18px;
+       line-height: 15px;
+}
+
+.fr #view_navi_destination_map .view{
+       top: 122px;
+       left: -22px;
+       font-size: 18px;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/general.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/general.css
new file mode 100644 (file)
index 0000000..3b6d28b
--- /dev/null
@@ -0,0 +1,1563 @@
+/*GENERAL CSS*/
+
+* {
+       /*Reset default browser styles*/
+       margin: 0;
+       padding: 0;
+       border: none;
+       -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+       -webkit-user-select: none;
+}
+
+html, body {
+       /*GLOBAL HTML and BODE Dimansions*/
+       width: 100%;
+       min-height: 100%;
+}
+
+body {
+       /*FONT FAMILY*/
+       font-family: sans-serif;
+       /*Defaul font size*/
+       font-size: 16px;
+       background-color: #000;
+       color: #fff;
+       overflow:hidden;
+}
+
+/*Default style for all images*/
+
+img {
+       border-width: 0px;
+       border-style: none;
+       margin: 0px;
+       padding: 0px;
+       z-index: 1000;
+       pointer-events: none;
+}
+
+/*Default style for all DIVs*/
+
+div {
+       position: absolute;
+       margin: 0;
+       padding: 0;
+}
+
+.windowText {
+       top: 190px;
+       width: 800px;
+       font-size: 80px;
+       color: white;
+       text-align: center;
+}
+
+/*FORD CONTAINER  DEFAULT DIMANSIONS */
+
+#app {
+       /*position:relative;*/
+       width: 720px;
+       height: 995px;
+    top: 85px;
+       /*overflow: hidden;
+        Mac font smoothing */
+       -webkit-font-smoothing: antialiased;
+       /*margin: 25px auto;*/
+}
+
+
+/* TTS popUp*/
+
+#TTSPopUp.TTSPopUp{
+       opacity: 0;
+       left: 500px;
+       width: 295px;
+       height: 100px;
+       background-color: black;
+       z-index: 1;
+       border-radius: 10PX;
+       border: #A6A6A6 solid 2px;
+       top: 8px;
+       -webkit-transition: opacity 1s ease-in-out;
+       display: none;
+}
+
+#TTSPopUp .popUp{
+       width: 294px;
+       height: 98px;
+       border: 1px solid black;
+       border-radius: 10px;
+}
+
+#TTSPopUp .message{
+       top: 10px;
+       left: 10px;
+       width: 278px;
+       height: 81px;
+}
+
+#TTSPopUp.active{
+       opacity: 1;
+       display: block;
+}
+/* Diver Distraction PopUp */
+#driverDistraction.driverDistractionWindow{
+       left: 0;
+       top: 0;
+       width: 800px;
+       height: 480px;
+       background: rgba(0, 0, 0, 0.7);
+       z-index: 30000;
+       opacity: 0;
+       display: none;
+}
+
+#driverDistraction .driverDistraction{
+       left: 200px;
+       width: 400px;
+       height: 200px;
+       z-index: 2;
+       top: 140px;
+       -webkit-transition: opacity 1s ease-in-out;
+       background-color: black;
+       border: #A6A6A6 solid 2px;
+       border-radius: 6px;
+}
+
+#driverDistraction.active{
+       opacity: 1;
+       display: block;
+}
+
+#driverDistraction .driverDistractionText{
+       top: 224px;
+       left: 210px;
+       width: 374px;
+       height: 20px;
+       text-align: center;
+       font-size: 28px;
+       z-index: 2;
+}
+/* UI popUp*/
+
+/* VR popUp*/
+
+#VRPopUp.VRPopUp{
+       opacity: 0;
+       left: 50px;
+       width: 700px;
+       height: 340px;
+       background-color: black;
+       z-index: 2;
+       border-radius: 10PX;
+       top: 70px;
+       -webkit-transition: opacity 1s ease-in-out;
+       display: none;
+}
+
+#VRPopUp span{
+       margin-left: 15px;
+}
+
+#VRPopUp .popUp{
+       width: 698px;
+       height: 338px;
+       border: 1px solid white;
+       border-radius: 10px;
+}
+
+#VRPopUp .message1{
+       top: 10px;
+       left: 10px;
+       width: 278px;
+       height: 81px;
+}
+
+#VRPopUp .message2{
+       top: 40px;
+       left: 10px;
+       width: 278px;
+       height: 81px;
+}
+
+#VRPopUp.active{
+       opacity: 1;
+       display: block;
+}
+
+
+#VRPopUp .list{
+       position: absolute;
+       width: 629px;
+       height: 251px;
+       border-radius: 2px;
+       left: 35px;
+       top: 70px;
+}
+
+#VRPopUp .list-content{
+       border: none;
+}
+
+#VRPopUp .list-item {
+       position: relative;
+       width: 100%;
+       height: 48px;
+       font-size: 20px;
+       line-height: 50px;
+       border: 1px solid #393939;
+}
+
+#VRPopUp .list-content{
+       width: 578px;
+}
+
+#VRPopUp .VRLabel{
+       top: 10px;
+       width: 550px;
+       left: 35px;
+       height: 20px;
+       padding: 15px;
+       background: #393939;
+}
+
+#VRPopUp .VRImage{
+       right: 25px;
+       width: 50px;
+       height: 50px;
+       top: 10px;
+       background: url(../images/home/controlButtons/vrImage.png) no-repeat;
+       background-size: contain;
+}
+
+/*WRAPER FOR CONTENT VIEW*/
+
+#app_active_view {
+       position: absolute;
+       width: 800px;
+       height: 480px;
+}
+
+#html5Player {
+       position: absolute;
+       z-index: 1;
+       width:800px;
+       height:480px;
+       -webkit-transform: translateX(-810px);
+       -moz-transform: translateX(-810px);
+}
+#html5Player.visible{
+       -webkit-transform: translateX(0px) !important;
+}
+#mode {
+       position: relative;
+       margin: 150px auto;
+       width: 150px;
+}
+
+/* Image preloader block*/
+
+#preloader{
+       position: absolute;
+       left: -9999px;
+       top: -9999px;
+}
+
+/*CLOCK*/
+
+#clock {
+       font-size: 28px;
+       text-align: center;
+       width: 225px;
+       height: 50px;
+       position: relative;
+       float: left;
+       pointer-events: all;
+       cursor: pointer;
+    display:none;
+}
+
+#clock.mcs {
+       width: 225px;
+}
+
+#time_num {
+       width: 100%;
+       padding: 10px;
+       margin-left: 5px;
+}
+
+#app_top_menu_cont {
+       z-index: 10000;
+       top: 0px;
+       left: 275px;
+       position: relative;
+       pointer-events: none;
+}
+
+#top_controls {
+       width: 322px;
+       height: 58px;
+       background: url("../images/common/header_bg.png") no-repeat;
+       z-index: 2;
+    display:none;
+}
+
+.not-visible {
+       visibility: hidden !important;
+}
+
+/* Universal class to show hidden elements */
+
+.visible {
+       visibility: visible !important;
+}
+
+/* Universal class to show transparent elements */
+
+.show {
+       opacity: 1 !important;
+}
+
+.arrow-ico {
+       position: absolute;
+       right: 10px;
+}
+
+.right_text {
+       float: right;
+       margin-right: 10px;
+       font-style: italic;
+}
+
+.helpmode_block {
+       visibility: hidden;
+}
+
+.helpmode_blur_cont div {
+       visibility: hidden;
+}
+
+.helpmode_blur_cont span {
+       visibility: hidden;
+}
+
+.helpmode_blur_cont img {
+       visibility: hidden;
+}
+
+.helpmode_box {
+       border-radius: 0px !important;
+       -moz-box-shadow: 0 0 5px 3px #f3c800;
+       -webkit-box-shadow: 0 0 8px 5px #f3c800;
+       box-shadow: 0 0 8px 5px #f3c800;
+}
+
+.helpmode_blur_text { /* deep blur*/
+       border: none !important;
+       background: none !important;
+       color: transparent !important;
+       text-shadow: 0 0 6px #fff;
+}
+
+.helpmode_blur_text_light { /* light blur*/
+       color: transparent !important;
+       text-shadow: 0 0 3px #fff;
+}
+
+.helpmode_blur_black_text
+{
+    color: transparent !important;
+    text-shadow: 0 0 3px #000 !important;
+}
+
+.helpmode_divider {
+       background-color: #E8C803;
+       position: absolute;
+       z-index: 2002;
+}
+
+.hidden_display{
+       display: none !important ;
+}
+
+.visible_display{
+       display: block !important;
+}
+
+/*STATUS BAR*/
+
+.status_bar {
+       z-index: 2001;
+       line-height: 50px;
+}
+
+.selected {
+       display: none;
+}
+
+/*BOTTOM Control BUTTONS*/
+
+#app_bottom_controlls {
+       z-index: 11000;
+       bottom: 0px;
+       left: 320px;
+       width: 252px;
+       height: 59px;
+       /*background: url(../images/common/bottom_cont_bg.png) no-repeat;*/
+       overflow: hidden;
+       pointer-events: none;
+    /* top:650px; */
+    position:absolute;
+}
+
+#home_active {
+       z-index: 2002;
+       bottom: 0px;
+       left: 275px;
+       width: 250px;
+       height: 58px;
+       background: url("../../images/common/home_active.png") no-repeat;
+}
+
+#home_but {
+       height: 59px;
+       width: 73px;
+       cursor: pointer;
+       z-index: 1000;
+       background: url(../images/home/bottom_controlls_full.png) no-repeat;
+       background-position: -90px -59px;
+       position: relative;
+       float: left;
+       pointer-events: none;
+}
+
+#home_but.large {
+       width: 126px;
+       background-position: 0px -177px;
+}
+
+#home_but.large.selected {
+       width: 126px;
+       background-position: 0px -118px;
+}
+
+#home_but.selected {
+       background-position: -90px 0px;
+       display: block;
+}
+
+#home_but_click {
+       height: 59px;
+       width: 73px;
+       cursor: pointer;
+       z-index: 1001;
+       position: absolute;
+       pointer-events: all;
+
+}
+
+#home_but_click.large {
+       width: 125px;
+       height: 115px;
+       -webkit-transform: skew(0deg, -42deg);
+}
+
+/*INFO BUTTON*/
+
+#info_but_click {
+       height: 117px;
+       width: 88px;
+       cursor: pointer;
+       z-index: 1001;
+       position: absolute;
+       pointer-events: all;
+       -webkit-transform: skew(0deg, -52deg);
+}
+
+#info_but {
+       height: 59px;
+       width: 90px;
+       cursor: pointer;
+       background: url(../images/home/bottom_controlls_full.png) no-repeat;
+       background-position: 0px -59px;
+       position: relative;
+       float: left;
+       z-index: 1001;
+       pointer-events: none;
+       -webkit-border-top-left-radius: 10px;
+}
+
+#info_but.selected {
+       background-position: 0px 0px;
+       display: block;
+}
+
+/*SETTINGS BUTTON*/
+
+#setting_but {
+       width: 89px;
+       height: 59px;
+       cursor: pointer;
+       background: url(../images/home/bottom_controlls_full.png) no-repeat;
+       background-position: -162px -59px;
+       position: relative;
+       float: left;
+       pointer-events: none;
+}
+
+#setting_but.large {
+       width: 126px;
+       background-position: -126px -177px;
+}
+
+#setting_but.large.selected {
+       width: 126px;
+       background-position: -126px -118px;
+}
+
+#setting_but.selected {
+       background-position: -162px 0px;
+       display: block;
+}
+
+#setting_but_click {
+       width: 83px;
+       height: 110px;
+       cursor: pointer;
+       position: absolute;
+       -webkit-transform: skew(0deg, 52deg);
+       left: 1px;
+       top: 4px;
+       z-index: 1000;
+       pointer-events: all;
+}
+
+#setting_but_click.large {
+       width: 158px;
+       height: 155px;
+}
+
+/*HIDDEN FOR CONTENT BLOCKS*/
+
+.hidden {
+       -webkit-transform: translateX(-2000px);
+       -moz-transform: translateX(-2000px);
+}
+
+/*ACTIVE VISIBLE FOR CONTENT BLOCK*/
+
+.inactive_state {
+       -webkit-transform: translateX(-2000px);
+       -moz-transform: translateX(-2000px);
+}
+
+.active_state {
+       -webkit-transform: translateX(0px) !important;
+       -moz-transform: translateX(0px) !important;
+}
+
+.passive_button_color {
+       color: #999 !important;
+}
+
+/*MEDIA BLOCK CONTAINER*/
+
+
+#media {
+       width: 800px;
+       height: 480px;
+    display:block;
+}
+
+
+/****************************** FOR MEDIA VIEW************************************************/
+
+/*#media, #browseUsbHD {
+       background: url(../images/media/bg.png) no-repeat;
+}
+
+#media_view {
+       width: 800px;
+       height: 480px;
+}
+
+#media_view #cntrlMenu {
+       position: relative;
+       margin-top: 90px;
+}*/
+
+/*Video Player*/
+/*******Player Controlls View********/
+
+
+#video_player_view {
+       top: 85px;
+       left: 93px;
+       z-index: 2002;
+       display: block;
+}
+
+/*Holder for all progressbar elements*/
+
+#video_player_view .progressline_holder {
+       display: block;
+       width: 537px;
+       height: 10px;
+       cursor: pointer;
+       background: url(../images/player/player_prog_bg.png) no-repeat;
+}
+
+/*Style to fix actual width for progress bar concerning width of progrees bar mark*/
+
+.progressline_width_fix {
+       width: 537px;
+       position: absolute;
+}
+
+/*Progressbar*/
+
+#video_player_view .progressbar {
+       display: block;
+       height: 10px;
+       background: url(../images/player/prog_ind.png) no-repeat;
+       position: relative;
+       float: left;
+}
+
+/*Current time*/
+
+.current_time {
+       width: 33px;
+       height: 15px;
+       top: -4px;
+       left: -55px;
+       font-weight: bold;
+}
+
+/*Total time*/
+
+.total_time {
+       width: 33px;
+       height: 15px;
+       left: 546px;
+       top: -4px;
+       font-weight: bold;
+}
+
+/*Drag Area*/
+
+.drag_area {
+       width: 561px;
+       position: relative;
+       float: left;
+       height: 10px;
+}
+
+/*Progress bar mark*/
+
+#mark {
+       position: relative;
+       float: left;
+       bottom: 19px;
+       left: -20px;
+       background:url(../images/player/player_free_control.png) no-repeat;
+       width:50px;
+       height:50px;
+}
+
+#mark.active{
+       background:url(../images/player/player_active_control.png) no-repeat !important;
+       bottom:20px !important;
+       left:-21px !important;
+       width:52px !important;
+       height:52px !important;
+}
+
+/*Back Button*/
+
+#back {
+       width: 80px;
+       height: 50px;
+       cursor: pointer;
+       top: 60px;
+       left: 140px;
+       border:1px solid #393939;
+}
+
+#back .ico {
+       top: 13px;
+       left: 20px;
+       position: relative;
+}
+
+/* Forward Button*/
+
+#frw {
+       width: 79px;
+       height: 49px;
+       cursor: pointer;
+       top: 60px;
+       left: 347px;
+       border:1px solid #393939;
+       -webkit-border-radius:3px;
+}
+
+#frw .ico {
+       top: 13px;
+       left: 24px;
+       position: relative;
+}
+
+/*Play Button*/
+
+#play {
+       width: 79px;
+       height: 49px;
+       cursor: pointer;
+       top: 60px;
+       left: 244px;
+       border:1px solid #393939;
+       -webkit-border-radius:3px;
+}
+
+
+#play .play {
+       top: 13px;
+       left: 31px;
+       position: relative;
+}
+
+#play .pause {
+       top: 10px;
+       left: 28px;
+       position: relative;
+}
+
+/*Stop Button*/
+
+#stop {
+       width: 79px;
+       height: 49px;
+       cursor: pointer;
+       top: -18px;
+       left: 585px;
+       border:1px solid #393939;
+       -webkit-border-radius:3px;
+}
+
+#stop .ico {
+       top: 17px;
+       left: 18px;
+       position: relative;
+}
+
+/********************FOR TEST PURPOSE ONLY********************/
+
+.centered {
+       position: absolute;
+       width: 300px;
+       height: 200px;
+       border: 2px solid #999;
+       color: white;
+       text-align: center;
+       margin: 100px auto;
+       line-height: 190px;
+       font-size: 24px;
+       left: 240px;
+}
+
+/**************************FOR LIST***************************/
+
+/* List */
+.list {
+       position: relative;
+       overflow: hidden;
+}
+
+.list-content {
+       border-top: 1px solid #393939;
+       border-left: 1px solid #393939;
+       border-right: 1px solid #393939;
+}
+
+/* List item */
+.list-item {
+       position: relative;
+       width: 100%;
+       height: 49px;
+       font-size: 20px;
+       line-height: 50px;
+       border-bottom: 1px solid #393939;
+}
+
+/* List item background */
+.list-item.notpressed {
+       background-image: url(../images/list/list_item_bg.png);
+}
+
+.list-item .highLighted{
+
+}
+
+/*************************FOR SCROLLBAR*************************/
+/*
+.scrollBar{
+       position: relative;
+       width: 48px;
+       background: black;
+       border: 1px solid       #393939;
+       border-top-right-radius: 1px;
+       border-top-left-radius: 1px;
+       border-bottom-right-radius: 1px;
+       border-bottom-left-radius: 1px;
+       float: right;
+}
+*/
+
+.scrollbar {
+       position: absolute;
+       top: 0px;
+       right: 0px;
+       width: 48px;
+       background: black;
+       border: 1px solid #393939;
+       border-top-right-radius: 2px;
+       border-top-left-radius: 2px;
+       border-bottom-right-radius: 2px;
+       border-bottom-left-radius: 2px;
+}
+
+.sb-content {
+       width: 48px;
+       background: black;
+       border: 1px solid #393939;
+       border-top-right-radius: 2px;
+       border-top-left-radius: 2px;
+       border-bottom-right-radius: 2px;
+       border-bottom-left-radius: 2px;
+}
+
+/* Top button */
+
+.sb-top {
+       height: 48px;
+       width: 48px;
+       border-bottom: #393939 1px solid;
+       position: relative;
+       cursor: pointer;
+}
+
+/* Background of scrollbar */
+
+.sb-body {
+       height: 148px;
+       width: 46px;
+       background-color: #262626;
+       margin: 1px;
+       position: relative;
+}
+
+/* Bar */
+
+.sb-bar {
+       width: 46px;
+       height: 146px;
+       background: #464646;
+       position: relative;
+       bottom: 10px;
+       -webkit-transition: top 0.2s ease-out;
+}
+
+/* Bottom button */
+
+.sb-bottom {
+       height: 48px;
+       width: 48px;
+       border-top: #393939 1px solid;
+       position: absolute;
+       cursor: pointer;
+       bottom: 0px;
+}
+
+/* Buttons image position */
+
+
+.sb-bottom img, .sb-top img {
+       margin-top: 13px;
+       margin-left: 13px;
+}
+
+/* List item  button background */
+
+.list-item.pressed {
+       background-image: url(../images/list/list_item_pressed.png);
+}
+
+/** Background for pressed button */
+
+.button.pressed {
+       background-image: url(../images/list/list_item_pressed.png);
+}
+
+/* Hide function */
+
+.is-disabled {
+       display: none;
+}
+
+.hide {
+       visibility: hidden;
+}
+
+/* Disabled list items */
+
+.disabled {
+       color: #999;
+}
+
+.disabled .ico,
+.disabled .right_ico  {
+       opacity: .3;
+}
+
+.disabled .arrow-ico {
+       opacity: .3;
+}
+
+/* HELP SIGN */
+
+.help_dev {
+       width: 4px;
+       height: 53px;
+       background: url(../images/help/help_devider.png) no-repeat;
+       left: 159px;
+       pointer-events: none;
+}
+
+#help {
+       width: 84px;
+       height: 53px;
+       left: 163px;
+       cursor: pointer;
+       z-index: 5000;
+       overflow: hidden;
+       pointer-events: none;
+       background: none;
+}
+
+#help.disabled {
+       opacity: .3;
+}
+
+#help-p {
+       width: 93px;
+       height: 53px;
+       cursor: pointer;
+       z-index: 5000;
+       -webkit-transform: skewX(-43deg);
+       pointer-events: all;
+       left: -27px;
+}
+
+#help.pressed {
+       background: url(../images/help/help_pressed.png) no-repeat;
+}
+
+#sing {
+       width: 19px;
+       height: 27px;
+       left: 13px;
+       top: 13px;
+}
+
+#sing.white {
+       background: url(../images/help/white_help.png) no-repeat;
+}
+
+#sing.yellow {
+       background: url(../images/help/yellow_help.png) no-repeat;
+}
+
+#help .inact {
+       position: absolute;
+       left: 42px;
+       top: 13px;
+       width: 6px;
+       height: 21px;
+       background: url(../images/climate/ind_vert_def.png) no-repeat;
+}
+
+#help .act {
+       position: absolute;
+       left: 35px;
+       top: 8px;
+       background: url(../images/climate/ind_vert_active.png) no-repeat;
+       width: 19px;
+       height: 32px;
+}
+
+/******************** FOR FAQ ********************************/
+
+#faq_btn {
+       cursor: pointer;
+       width: 145px;
+       height: 53px;
+       background: url(../images/help/faq_top_btn.png) no-repeat;
+       top: 0;
+       left: 110px;
+       z-index: 0;
+       pointer-events: none;
+       -webkit-transition: left 0.5s ease-in-out;
+}
+
+.faq-pressed {
+       left: 0px !important;
+}
+
+#faq_btn.pressed {
+       background: url(../images/help/faq_top_btn_pressed.png) no-repeat !important;
+}
+
+#faq_btn .ico {
+       position: absolute;
+       right: 32px;
+       top: 8px;
+}
+
+#faq_btn_c {
+       width: 118px;
+       height: 50px;
+       -webkit-transform: skewX(-43deg);
+       z-index: 1;
+       cursor: pointer;
+       pointer-events: all;
+}
+
+#faq_btn .ind_inact {
+       background: url(../images/help/ind_vert_def.png) no-repeat;
+       position: absolute;
+       right: 32px;
+       top: 8px;
+       width: 19px;
+       height: 32px;
+}
+
+#faq_btn .ind_act {
+       background: url(../images/help/ind_vert_active.png) no-repeat;
+       position: absolute;
+       right: 32px;
+       top: 8px;
+       width: 19px;
+       height: 32px;
+}
+
+.button {
+       background-image: url(../images/list/list_item_bg.png);
+       cursor: pointer;
+}
+
+.button  img{
+       float: left;
+}
+
+/* default style */
+
+* {
+       margin: 0;
+       padding: 0;
+       border: 0;
+       -webkit-user-select: none;
+}
+
+/******************* For FAQ View *******************/
+#fag_view {
+       font-size: 20px;
+       display: block;
+       background: url(../images/help/faq_bg.png) no-repeat;
+       width: 800px;
+       height: 384px;
+       position: absolute;
+       top: 48px;
+}
+
+#faq_view_list {
+       position: relative;
+       margin-left: 115px;
+       margin-top: 34px;
+       height: 251px;
+       width: 630px;
+       float: left;
+}
+
+#faq_view_list .list-content {
+       width: 570px;
+}
+
+#fag_view .list-item {
+       position: relative;
+       width: 570px;
+       height: 49px;
+       font-size: 20px;
+       line-height: 50px;
+       border-bottom: 1px solid #393939;
+       cursor: pointer;
+       float: left;
+}
+
+#fag_view .list-item span{
+       left: 5px;
+       margin-top: 18px;
+       margin-left: 17px;
+}
+
+/* Faq bottom text*/
+#faq_bottom {
+       bottom: 19px;
+       width: 764px;
+       height: 50px;
+       font-size: 18px;
+       float: left;
+       margin-top: 31px;
+       margin-left: 36px;
+}
+
+#faq_bottom div{
+       float: left;
+       width: 764px;
+}
+
+#faq_bottom .second-line{
+       top: 22px;
+}
+#settings_view {
+       width: 800px;
+       height: 480px;
+}
+
+.block {
+       display: block !important;
+}
+
+.test_blur {
+       width: 800px;
+       height: 480px;
+       top: -55px;
+       z-index: 1001;
+       opacity: .6;
+       background-color: black;
+       box-shadow: 3px;
+}
+
+.pointer {
+       cursor: pointer !important;
+}
+
+/*CAUTION MESSAGE*/
+#warning_view{width: 800px;height: 480px;z-index: 12001;
+background-image: -webkit-gradient(
+       linear,
+       left bottom,
+       left top,
+       color-stop(0, rgb(218,218,218)),
+       color-stop(0.3, rgb(0,0,0))
+);}
+
+#warning_view.fr .text{
+       font-size: 23px;
+}
+
+#warning_view .message{ width:744px; height:340px; position:relative; margin:0 auto; top:15px;}
+#warning_view .warning_text{ position: relative;margin: 0 auto;width: 216px;font-size: 42px;font-weight: bold;top: 20px;  text-shadow: 1px 1px 3px white; color: #CC2A2A;}
+#warning_view .text{ font-size:25px; position:relative; top:15px; font-weight:bold;}
+#warning_view .okbut{width: 130px;height: 51px;position: relative;top: 30px;cursor: pointer;float:right; margin-right:83px; display:none; font-size: 20px;
+text-align: center;
+line-height: 50px;}
+
+.hideWarning{
+   width: 0px !important;
+   overflow: hidden;
+   z-index:-1 !important;
+
+}
+
+
+.fadeWarning {
+       opacity: 0;
+       transition:opacity 1s;
+       -moz-transition:opacity 1s;
+       -webkit-transition:opacity 1s;
+       -o-transition:opacity 1s;
+}
+
+#warning_view.fadeAnimation{
+
+       -webkit-animation-name: opacity;
+       -webkit-animation-duration:1s;
+       -webkit-animation-timing-function:linear;
+       -webkit-animation-fill-mode:forwards;
+}
+
+@-webkit-keyframes opacity {
+    from {
+               opacity: 1;
+    }
+    to {
+               opacity: 0;
+    }
+}
+
+/* Welcome Orientation View*/
+
+
+#app_welcome_orientation_view{
+       width:800px;
+       height:480px;
+       z-index:12000;
+}
+
+#app_welcome_orientation_balck_mask_view {
+       width:800px;
+       height:480px;
+       background:#000;
+       opacity:0.75;
+}
+
+
+#app_welcome_orientation_popup_text{
+       position: relative;
+       margin: 0px auto;
+       font-size: 30px;
+       text-align: center;
+       width: 410px;
+       margin-top:18px;
+}
+
+#app_welcome_orientation_denypopup_text{
+       position: relative;
+       margin: 0px auto;
+       font-size: 28px;
+       text-align: center;
+       width: 460px;
+       margin-top: 53px;
+}
+
+#app_welcome_orientation_popup_buttons{
+       width: 266px;
+       height: 53px;
+       border: 1px solid #333;
+       position: relative;
+       margin: 20px auto 0px;
+}
+
+#app_welcome_orientation_popup_lable{
+       position: relative;
+       width: 479px;
+       height: 70px;
+       border:1px solid #fff;
+       text-align: center;
+       margin: 0px auto;
+       margin-top:70px;
+       font-size:25px;
+       font-family:Helvetica;
+}
+
+#app_welcome_orientation_popup_lable span {
+       position:relative;
+       top: 5px;
+       width: 432px;
+}
+
+#app_welcome_orientation_popup_view, #wo_denypopup{
+       width: 546px;
+       height: 346px;
+       background: #000;
+       z-index: 12002;
+       left: 134px;
+       top: 46px;
+       border: 2px solid #A28542;
+       -webkit-border-radius: 4px;
+}
+
+#wo_popup_btn_divider{
+       width: 4px;
+       height: 48px;
+       background: url(../images/common/divider.png) no-repeat;
+       left: 131px;
+       z-index: 1;
+}
+
+#wo_popup_yes_button , #wo_popup_no_button{height: 52px;
+       width:132px;
+       cursor: pointer;
+       position: relative;
+       float: left;
+       font-size: 20px;
+       text-align: center;
+       line-height: 52px;
+}
+
+#wo_popup_yes_button {
+       border-right:1px solid #000;
+}
+
+#wo_popup_no_button {
+       border-left:1px solid #393939;
+}
+
+#wo_popup_denypopup_ok_button{
+       width: 238px;
+       height:48px;
+       background: url(../images/common/bt_bg.png) repeat-x;
+       cursor: pointer;
+       position: relative;
+       float: left;
+       font-size: 20px;
+       font-weight: bold;
+       text-align: center;
+       line-height: 50px;
+       border:1px solid #333;
+       left: 155px;
+       top: 80px;
+       -webkit-border-radius: 4px;
+}
+
+#woSkippButton{
+       width: 80px;
+       height: 50px;
+       cursor: pointer;
+       top: 370px;
+       left: 710px;
+       font-size: 21px;
+       text-align: center;
+       line-height: 48px;
+       z-index: 10000;
+       border: 1px solid white;
+       -webkit-border-radius: 3px;
+       background:url(../images/common/skippbuttonbg_pressed.png) no-repeat;
+       opacity:0.75;
+       display:none;
+}
+
+
+#woSkippButton .right_text{
+       margin-top:2px;
+}
+
+#woSkippButton.pressed{
+       background:url(../images/common/skippbuttonbg_pressed.png) no-repeat !important;
+}
+
+
+#wo_popup_yes_button.pressed , #wo_popup_no_button.pressed, #wo_popup_denypopup_ok_button.pressed {
+       background:url(../images/common/bt_bg_pressed.png) repeat-x !important;
+}
+/* END Welcome Orientation View*/
+
+
+/* Video Error Popup*/
+
+#video_error_popup{
+       background: black;
+       border: 1px solid #A03333;
+       -webkit-border-radius: 3px;
+       font-size: 23px;
+       font-weight: bold;
+       left: 308px;
+       text-align: center;
+       top: 170px;
+       z-index: 12100;
+       position: absolute;
+       padding: 10px;
+       display:none;
+}
+
+.mft_indicator {
+       opacity: 0;
+}
+
+/* Lable plus Button*/
+.lablePlusButton .button {
+       float:          right;
+       right:          0px;
+       width:          323px;
+       height:            49px;
+       border-left:  1px solid #393939;
+}
+
+.lablePlusButton .lable span,
+.lablePlusButton .button span {
+       margin-left:  13px;
+}
+
+.lablePlusButton .button.single {
+       width: 148px;
+       height: 28px;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       margin-top: 10px;
+       margin-right: 10px;
+       text-align: center;
+       line-height: 28px;
+       float: right;
+}
+
+.lablePlusButton .button.single span{
+       margin:  0px;
+}
+
+/* ****************Select System Popup *********************** */
+
+#select_sysytem_view{
+       width: 796px;
+       height: 475px;
+       top:1px;
+       border: 2px solid #926100;
+       background:#000;
+       z-index:12002;
+       -webkit-border-radius: 4px;
+}
+
+/* header lable*/
+#select_system_heading_lable{
+       position:relative;
+       font-size:30px;
+       text-align:center;
+       margin-top:25px;
+       margin-bottom:30px;
+}
+
+/* content container*/
+#select_system_container {
+       width:756px;
+       height:200px;
+       position:relative;
+       margin: 0px auto;
+       border: 1px solid #393939;
+}
+
+/* vehicle select list*/
+#settings_list{
+       height: 130px;
+       position:relative;
+}
+
+/* vehicle select list container*/
+#select_system_list{
+       width: 545px;
+       position:relative;
+       float:right;
+       margin-top:15px;
+       margin-right:20px;
+}
+
+/* vehicle select list buttons*/
+#settings_list .button{
+       position:relative;
+       width:135px;
+       height:48px;
+       font-size:20px;
+       text-align:center;
+       line-height: 48px;
+       float:left;
+       border-right:1px solid #393939;
+       border-top:1px solid #393939;
+       border-bottom:1px solid #393939;
+}
+
+#settings_list .button.left-border{
+       border-left: 1px solid #393939;
+}
+
+#settings_list .button.active{
+       background: url(../images/settings/btn-48h-gray-active.png) repeat-x !important;
+       color: #000;
+}
+
+#settings_list .button.bottom{
+       margin-top:2px;
+}
+/* select climate style lable*/
+#select_system_label{
+       font-size: 20px;
+       width:135px;
+       position:relative;
+       float:left;
+       margin-left:10px;
+       margin-top:15px;
+}
+
+
+/* Navigation select block*/
+#navsdcard{
+       height: 70px;
+       position:relative;
+       border-bottom: 1px solid #393939;
+
+}
+/* Navigation select block button container*/
+#sdnav_buttons{
+       position:relative;
+       float:right;
+       margin-top:10px;
+       margin-right:20px;
+}
+/* Navigation select block button*/
+#navsdcard .button {
+       width: 120px;
+       height: 48px;
+       border: 1px solid #393939;
+       text-align: center;
+       font-size: 20px;
+       line-height: 48px;
+       font-weight:bold;
+}
+
+#navsdcard .button.active{
+       background: url(../images/settings/btn-48h-gray-active.png) repeat-x !important;
+       color: #000;
+}
+
+#navsdcard_no_btn{
+       position:relative;
+       float:right;
+}
+
+#navsdcard_yes_btn{
+       position:relative;
+       float:left;
+}
+/* navigation select lable*/
+#sdnav_label{
+       position:relative;
+       float:left;
+       font-size:20px;
+       margin-top:15px;
+       margin-left:10px;
+}
+
+/* Submit button*/
+#select_system_submit{
+       width: 130px;
+       height: 50px;
+       z-index: 12002;
+       position:relative;
+       border: 1px solid #393939;
+       text-align: center;
+       font-size: 25px;
+       font-weight: bold;
+       line-height: 50px;
+       margin: 50px auto;
+}
+/* Info Lable*/
+#select_system_info{
+       position:relative;
+       text-align:center;
+       font-size:25px;
+       margin-top:25px;
+}
+
+#select_system_info span {
+       border:1px solid #fff;
+       padding: 5px 15px 5px 15px;
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/help.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/help.css
new file mode 100644 (file)
index 0000000..af17a6c
--- /dev/null
@@ -0,0 +1,83 @@
+.helpmode .blured_background {
+       visibility: visible !important;
+}
+
+.helpmode #phone .active_in_helpmode span {
+       color: inherit;
+       text-shadow: none;
+}
+
+.helpmode #phone span {
+       color: transparent;
+       text-shadow: 0 0 6px #fff;
+       pointer-events:none;
+       position: relative;
+       z-index: 9000;
+}
+
+/* Disabled gray blur for buttons and lables*/
+.helpmode .disabled span {
+    color: transparent;
+    text-shadow: 0 0 6px #999 !important;
+    pointer-events:none;
+}
+
+.helpmode .helpmode_box_shadow {
+       border-radius: 0px !important;
+       -moz-box-shadow: 0px 0px 6px 3px #f3c800;
+       -webkit-box-shadow: 0 0 6px 3px #f3c800;
+       box-shadow: 0px 0px 6px 3px #f3c800;
+       border-color: #F3C800 !important;
+}
+
+.helpmode .helpmode_box_top_shadow {
+       border-radius: 0px !important;
+       -moz-box-shadow: 0px -2px 6px 3px #f3c800;
+       -webkit-box-shadow: 0px -2px 6px 3px #f3c800;
+       box-shadow: 0px -2px 6px 3px #F3C800;
+       border-color: #F3C800 !important;
+}
+
+.helpmode .helpmode_box_bottom_shadow {
+       border-radius: 0px !important;
+       -moz-box-shadow: 0px 2px 6px 3px #f3c800;
+       -webkit-box-shadow: 0px 2px 6px 3px #f3c800;
+       box-shadow: 0px 2px 6px 3px #F3C800;
+       border-color: #F3C800 !important;
+}
+
+.helpmode .helpmode_box_left_shadow {
+       border-radius: 0px !important;
+       -moz-box-shadow: -2px 0px 6px 3px #f3c800;
+       -webkit-box-shadow: -2px 0px 6px 3px #f3c800;
+       box-shadow: -2px 0px 6px 3px #F3C800;
+       border-color: #F3C800 !important;
+}
+
+.helpmode .helpmode_box_right_shadow {
+       border-radius: 0px !important;
+       -moz-box-shadow: 2px 0px 6px 3px #f3c800;
+       -webkit-box-shadow: 2px 0px 6px 3px #f3c800;
+       box-shadow: 2px 0px 6px 3px #F3C800;
+       border-color: #F3C800 !important;
+}
+
+.helpmode .helpmode_left_delim {
+       border-left-color: #F3C800 !important;
+}
+
+.helpmode .helpmode_right_delim {
+       border-right-color: #F3C800 !important;
+}
+
+.helpmode .helpmode_bottom_delim {
+       border-bottom-color: #F3C800 !important;
+}
+
+.helpmode .helpmode_top_delim {
+       border-top-color: #F3C800 !important;
+}
+
+.helpmode .faq_show {
+       left: 182px !important;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/home.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/home.css
new file mode 100644 (file)
index 0000000..a62a6df
--- /dev/null
@@ -0,0 +1,63 @@
+/**
+ * Home screen CSS
+ *
+ * @category   Style Sheets
+ * @filesource css/home.css
+ * @version            2.0
+ */
+
+
+#home {
+       background: url(../images/home/home_main_image.png) no-repeat;
+       width: 800px;
+       height: 369px;
+       top: 56px;
+}
+
+#home.help {
+       background: url(../images/home/home_screen_blur.png) no-repeat !important;
+}
+
+#home_topControls_temperature {
+       position: absolute;
+       top: 10px;
+       left: 115px;
+       font-size: 28px;
+}
+
+/* Widgets wrapers */
+
+#home_widgetPhone {
+       position: absolute;
+       width: 400px;
+       height: 183px;
+    display:none;
+}
+
+#widget_navigation {
+       position: absolute;
+       width: 400px;
+       height: 183px;
+       left: 400px;
+    display:none;
+}
+
+#home_widgetMedia {
+       position: absolute; width: 400px;
+       height: 183px;
+       top: 183px;
+    display:none;
+}
+
+#home_widgetClimate {
+       position: absolute;
+       width: 400px;
+       height: 183px;
+       left: 400px;
+       top: 183px;
+    display:none;
+}
+
+.helpmode .voiceButton{
+       opacity: 0;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/info.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/info.css
new file mode 100644 (file)
index 0000000..e5f7d21
--- /dev/null
@@ -0,0 +1,923 @@
+#status_info {
+       top:0px;
+       right:0px;
+       text-align:right;
+       font-size:21px;
+       width:324px;
+       height:48px;
+       cursor:pointer;
+       background:url(../images/common/nav-status-bg.png) no-repeat; z-index:1;
+}
+
+#status_info_label {
+       width: 100%;
+       display: block;
+}
+
+#status_info_label span {
+       padding-right: 11px;
+}
+
+/******************* For Help-Mode *******************/
+#info_view.help-mode .list-item span{
+       line-height: 54px;
+       left: 1px;
+}
+
+#info_view {
+       width: 720px;
+/*     height: 480px; */
+       position: absolute;
+       top: 0;
+}
+
+#info_view.green_bg {
+       background: url(../images/nav/bg.png) no-repeat;
+}
+
+#info_leftMenu{
+       background: #333;
+       width: 150px;
+       height: 300px;
+       top: 90px;
+    display: none;
+}
+#info_leftMenu .menu-item.info_active{
+       background: url("../images/info/menu_active.png") repeat-x;
+}
+
+#info_leftMenu .menu-item {
+       z-index: 201;
+       position: relative;
+       width: 150px;
+       height: 50px;
+       cursor: pointer;
+}
+
+#info_leftMenu .menu-item span{
+       position: absolute;
+       left: 50px;
+       width: 100px;
+       height: 50px;
+       font-size: 18px;
+       line-height: 50px;
+       white-space: nowrap;
+       overflow: hidden;
+}
+
+#info_leftMenu .ico{
+       height: 50px;
+       width: 50px;
+}
+
+#info_leftMenu .settings_active {
+       background: url("../images/settings/menu_active.png") repeat-x;
+}
+
+#info_right_menu {left: 183px; top: 6px;}
+#info_sync_services {font-size: 32px; width: 280px;}
+#info_traff {font-size: 20px; width: 410px; top: 36px;}
+#info_traffic_report {width: 300px; top: 85px; font-size: 20px; color: #a6a6a6;}
+#info_traffic_pts {width: 400px; top: 120px; font-size: 20px; color: #65cdd9;}
+#info_traffic_hear {width: 355px; top: 192px; font-size: 20px; color: #a6a6a6;}
+#info_connect {width: 300px; top: 241px;  font-size: 20px; left: 15px;}
+#info_log {width: 500px; top: 285px; font-size: 20px;}
+#info_left_menu {top: 6px;}
+#info_left_menu div {font-size: 20px;left: 49px; }
+
+#info_left_services {top: 17px;}
+#info_left_travel_link {top: 66px; width: 200px;}
+#info_left_alerts {top: 118px;}
+#info_left_calendar {top: 166px;}
+#info_left_apps {top: 216px;}
+
+.help-mode #info{
+       background: url(../images/info/info_blur.png) no-repeat 0 -5px;
+}
+
+#info_view.help-mode #info_sync_services,
+#info_view.help-mode #info_traff,
+#info_view.help-mode #info_traffic_report,
+#info_view.help-mode #info_traffic_pts,
+#info_view.help-mode #info_traffic_hear,
+#info_view.help-mode #info_connect,
+#info_view.help-mode #info_log,
+
+#info_view.help-mode #info_left_services,
+#info_view.help-mode #info_left_travel_link,
+#info_view.help-mode #info_left_alerts,
+#info_view.help-mode #info_left_calendar,
+#info_view.help-mode #info_left_apps,
+#info_view.help-mode .inner-wrapper div{
+       color: transparent !important;
+       text-shadow: 0 0 3px #999 !important;
+}
+
+#info_view.help-mode #info_connect{
+       background: none !important;
+       border: none !important;
+}
+
+#info_view.help-mode .list-content{
+       border: none !important;
+}
+
+/******************* For Info.Services *******************/
+#info_services_view{
+       top: 48px;
+       left: 153px;
+       background: url(../images/info/info_services_bg.png) no-repeat 0px 39px;
+       height: 384px;
+       width: 647px;
+}
+
+#info_services_view .inner-content{
+       left: 30px;
+       top: 49px;
+}
+
+.help-mode #info_services_view #info_traffic_pts{
+       text-shadow: 0 0 3px #65CDD9 !important;
+}
+
+.help-mode #info_services_view{
+       background-image:url(../images/info/info_services_bg_help.png);
+       background-position: 0px 40px;
+}
+
+/******************* For Info.travelLink *******************/
+#info_travelLink {
+       position: absolute;
+       top: 48px;
+       left: 153px;
+       width: 647px;
+       height: 384px;
+       float: left;
+       z-index: 1001;
+}
+
+#info_travelLink_logo {
+       margin-top: 48px;
+       margin-left: 22px;
+}
+
+#info_travelLink .inner-content{
+       top: 71px;
+}
+
+#info_travelLink .block-header-title {
+       top: 21px;
+       left: 75px;
+}
+
+#info_travelLink .list {
+       width: 308px;
+       border-radius: 2px;
+       max-height: 248px;
+       border:1px solid #393939;
+}
+
+#info_travelLink .list .list-item:last-of-type {
+       height: 50px;
+       border: none;
+}
+
+#info_travelLink .list-content {
+       position: relative;
+       float: left;
+       width: 100%;
+       border:none;
+}
+
+#info_travelLink_listLeft{
+       left: 12px;
+       top: 92px;
+}
+
+#info_travelLink_listRight {
+       position: absolute;
+       top: 43px;
+       right: 5px;
+       width: 310px;
+}
+
+#info_travelLink_listLeft .list-item span,
+#info_travelLink_listRight .list-item span{
+       margin-left: 44px;
+}
+
+#info_travelLink.fr #info_travelLink_listLeft .list-item span,
+#info_travelLink.fr #info_travelLink_listRight .list-item span{
+       margin-left: 22px;
+}
+
+#info_travelLink_listRight_item0 span{
+       margin-left: 0px !important;
+}
+
+#info_travelLink_listRight_item0{
+       text-align: center;
+}
+
+.helpmode #info_travelLink_listLeft{
+       margin-left: -1px;
+       top: 91px;
+}
+
+.helpmode #info_travelLink_listRight{
+       margin-right: 2px;
+}
+
+#info_travelLink_listRight .list-item:first-of-type {
+       height: 48px !important;
+}
+
+.helpmode #info_travelLink {
+       background-image: url(../images/info/info_travelLink_bg_help.png);
+       background-repeat: no-repeat;
+       border: none !important;
+}
+
+.helpmode #info_travelLink_logo {
+       opacity: 0;
+}
+
+.helpmode #info_travelLink .lat{
+       text-shadow: 0 0 3px lime !important;
+}
+
+.helpmode #info_travelLink .list-item span{
+       text-shadow: 0 0 3px #999 !important;
+}
+
+.helpmode #info_travelLink_listRight .list-item:first-of-type {
+       height: 48px !important;
+       line-height: 48px;
+}
+
+.helpmode #info_travelLink_listRight .list-item:first-of-type span{
+       line-height: 51px;
+}
+
+.helpmode #info_travelLink_listRight .list-item span{
+       margin-left: 43px;
+}
+
+/******************* For Info.Alerts menu *****************/
+
+#info_alerts {
+       left: 153px;
+       top: 48px;
+       width: 647px;
+       height: 384px;
+       font-size: 20px;
+}
+
+#info_alerts_listCaption {
+       top: 66px;
+       left: 13px;
+       height: 39px;
+}
+
+#info_alerts_listCaption .lableToggle {
+       position: relative;
+       line-height: 40px;
+       float: left;
+       margin-left: 0px !important;
+       margin-top: 0px !important;
+       width: 134px;
+       text-align: right;
+}
+
+#info_alerts_listCaption .lableToggle span{
+       z-index: 2;
+       position: relative;
+}
+
+#info_alerts_listCaption .toogleButtonContainer{
+       height: 39px;
+       width: 260px;
+       border-radius: 0;
+       margin: 0 11px;
+       border: 1px solid #393939;
+       border-bottom: none;
+       line-height: 39px;
+       float: left;
+}
+
+#info_alerts_listCaption .toogleButtonContainer .delim{
+       width: 4px;
+       height: 39px;
+       background: url(../images/info/delim_40.png) no-repeat;
+       z-index: 100;
+       border: none;
+}
+
+#info_alerts_listCaption .toggles {
+       height: 39px;
+       width: 128px;
+}
+
+#info_alerts_listCaption .toogleButtonContainer span{
+       line-height: 40px;
+       z-index: 2;
+       margin-left: 0px !important;
+       margin-top: 0px !important;
+}
+
+#info_alerts  .toogleButtonContainer .active {
+       background: url(../images/info/btn_40_bg_active_invert.png) !important;
+}
+
+#info_alerts_list {
+       position: relative;
+       float: left;
+       top: 67px;
+       left: 13px;
+       width: 468px;
+       height: 301px;
+}
+
+#info_alerts_list .list-content {
+       width: 406px;
+       border-top: none;
+       border-left: none;
+}
+
+#info_alerts_list .list-item {
+       width: 405px;
+}
+
+#info_alerts_list .list-item:first-of-type{
+       height: 39px !important;
+       line-height: 39px !important;
+}
+
+#info_alerts_list_item1 {
+       border-left: 1px solid #393939;
+}
+
+#info_alerts_list_item1 .right_ico {
+       position: absolute;
+       right: 7px;
+}
+#info_alerts_list_item1 .ico {
+       border: none !important;
+}
+
+#info_alerts_list_item1 span {
+       position: absolute;
+       bottom: -2px;
+       width: 250px;
+       font-size: 19px;
+       z-index: 2;
+}
+
+.helpmode #info_alerts_list_item1 span {
+       bottom: -3px;
+       margin: 0px 0 0 94px;
+}
+
+.fr #info_alerts_list_item1 span {
+       line-height: 18px;
+       bottom: 4px;
+}
+
+.helpmode.fr #info_alerts_list_item1 span {
+       line-height: 18px;
+       bottom: 5px;
+}
+
+#info_alerts_list .list-item.active {
+       background-image: url(../images/info/btn_50_bg_active_invert.png);
+}
+
+#info_alerts_list .toogleButtonContainer .delim {
+       width: 4px;
+       height: 39px;
+       background: url(../images/info/delim_40.png) no-repeat;
+       z-index: 100;
+       border: none;
+}
+
+#info_alerts_rightList {
+       position: relative;
+       float: left;
+       top: 67px;
+       left: 23px;
+       height: 151px;
+       width: 152px;
+}
+
+#info_alerts_rightList .list-content {
+       width: 150px;
+}
+
+#info_alerts_rightList .list-item {
+       border-bottom: 1px solid #393939 !important;
+}
+
+#info_alerts_rightList .list-item > span {
+       margin-left: 15px;
+       position: relative;
+       z-index: 2;
+}
+
+.helpmode #info_alerts_rightList{
+       top: 67px;
+       left: 23px;
+}
+
+.helpmode #info_alerts_rightList .list-item{
+       height: 49px !important;
+}
+
+.helpmode #info_alerts_rightList .list-item span{
+       line-height: 51px !important;
+}
+
+.helpmode #info_alerts_rightList .list-item .ico{
+       border: none !important;
+}
+
+.helpmode #info_alerts span{
+       text-shadow: 0 0 3px #999 !important;
+}
+
+#info_alert_bg_helpMode{
+       width: 647px;
+       height: 384px;
+       background-image: url(../images/info/info_alerts_bg_help.png);
+}
+
+.help-mode #info_alerts_list .list-item:first-of-type {
+       border-bottom: 1px solid #393939 !important;
+}
+
+/******************* For Info.Calendar menu ***************/
+#info_calendar {
+       left: 153px;
+       top: 48px;
+       width: 647px;
+       height: 384px;
+       background-image: url(../images/info/view_info_calendar.png);
+       background-repeat: no-repeat;
+       background-position: 4px 38px;
+}
+
+#info_calendar .inner-wrapper{
+       left: 99px;
+       top: 99px;
+}
+
+#info_calendar .c-btn {
+       width: 90px;
+       height: 34px;
+       background: url(../images/info/callendar-btn.png) no-repeat 0px 0px;
+       text-align: center;
+       line-height: 33px;
+}
+
+#info_calendar .c-btn.active {
+       background: #3b3b3b url(../images/common/btn-28h-gray-active.png) repeat-x 0 5px !important;
+}
+
+#info_calendar .date {
+       white-space: nowrap;
+       font-size: 26px;
+       top: -43px;
+       left: 178px;
+}
+
+#info_calendar .today {
+       white-space: nowrap;
+       top: -58px;
+       left: 414px;
+       height: 48px;
+       width: 130px;
+       font-size: 20px;
+       line-height: 48px;
+       border: 1px #333 solid;
+       text-align: center;
+       border-radius: 2px;
+}
+
+#info_calendar .day {
+       width: 89px;
+       height: 36px;
+       text-align: center;
+       top: 5px;
+       line-height: 25px;
+}
+
+#info_calendar .day.active {
+       background: #f28b06;
+}
+
+#info_calendar .day-1 {
+       left: -86px;
+}
+#info_calendar .day-2 {
+       left: 3px;
+}
+#info_calendar .day-3 {
+       left: 93px;
+}
+#info_calendar .day-4 {
+       left: 183px;
+}
+#info_calendar .day-5 {
+       left: 272px;
+}
+#info_calendar .day-6 {
+       left: 363px;
+}
+#info_calendar .day-7 {
+       left: 453px;
+}
+
+#info_calendar .btn-1 {
+       left: -88px;
+       top: 40px;
+}
+#info_calendar .btn-8 {
+       left: -88px;
+       top: 75px;
+}
+#info_calendar .btn-15 {
+       left: -87px;
+       top: 108px;
+}
+#info_calendar .btn-22 {
+       left: -88px;
+       top: 141px;
+}
+#info_calendar .btn-29 {
+       left: -88px;
+       top: 174px;
+}
+
+#info_calendar .btn-7 {
+       left: 452px;
+       top: 40px;
+}
+#info_calendar .btn-14 {
+       left: 452px;
+       top: 75px;
+}
+#info_calendar .btn-21 {
+       left: 452px;
+       top: 108px;
+}
+#info_calendar .btn-28 {
+       left: 452px;
+       top: 141px;
+}
+
+#info_calendar .btn-6 {
+       left: 362px;
+       top: 40px;
+}
+#info_calendar .btn-13 {
+       left: 362px;
+       top: 75px;
+}
+#info_calendar .btn-20 {
+       left: 362px;
+       top: 108px;
+}
+#info_calendar .btn-27 {
+       left: 362px;
+       top: 141px;
+}
+
+#info_calendar .btn-5 {
+       left: 272px;
+       top: 40px;
+}
+#info_calendar .btn-12 {
+       left: 272px;
+       top: 75px;
+}
+#info_calendar .btn-19 {
+       left: 272px;
+       top: 108px;
+}
+#info_calendar .btn-26 {
+       left: 272px;
+       top: 141px;
+}
+
+#info_calendar .btn-4 {
+       left: 182px;
+       top: 40px;
+}
+#info_calendar .btn-11 {
+       left: 182px;
+       top: 75px;
+}
+#info_calendar .btn-18 {
+       left: 182px;
+       top: 108px;
+}
+#info_calendar .btn-25 {
+       left: 182px;
+       top: 141px;
+}
+
+#info_calendar .btn-3 {
+       left: 92px;
+       top: 40px;
+}
+#info_calendar .btn-10 {
+       left: 92px;
+       top: 75px;
+}
+#info_calendar .btn-17 {
+       left: 92px;
+       top: 108px;
+}
+#info_calendar .btn-24 {
+       left: 92px;
+       top: 141px;
+}
+#info_calendar .btn-31 {
+       left: 92px;
+       top: 174px;
+}
+
+#info_calendar .btn-2 {
+       left: 2px;
+       top: 40px;
+}
+#info_calendar .btn-9 {
+       left: 2px;
+       top: 75px;
+}
+#info_calendar .btn-16 {
+       left: 2px;
+       top: 108px;
+}
+#info_calendar .btn-23 {
+       left: 2px;
+       top: 141px;
+}
+#info_calendar .btn-30 {
+       left: 2px;
+       top: 174px;
+}
+
+#info_calendar.help-mode {
+    background-image: url(../images/info/view_info_calendar-help.png);
+       background-position: 1px 33px;
+}
+
+#info_calendar.help-mode .c-btn, #info_calendar.help-mode .day.active {
+       background: none !important;
+}
+
+#info_calendar.help-mode div.day{
+       text-shadow: 0 0 3px #FFF !important;
+}
+
+.help-mode #info_calendar .today {
+       border: none !important;
+       background: none !important;
+}
+
+.help-mode #info_calendar .today span {
+       text-shadow: 0 0 3px #999 !important;
+}
+
+/******************* For Info.DeviceList *******************/
+#info_view .info_apps_deviceList_view{
+/*     background: black;
+       width: 800px;
+       height: 480px;
+       z-index: 201;
+    position: absolute;
+    top: -850px;
+    left: 50px;   */
+       width: 720px;
+       height: 480px;
+       z-index: 201;
+}
+
+
+#info_apps_deviceList_view .backButton {
+       position: absolute;
+       top: 0;
+       width: 48px;
+       height: 48px;
+       border: 1px solid #333;
+       border-radius: 2px;
+       margin: 0;
+}
+
+#info_apps_deviceList_view .list{
+       position: absolute;
+       top: 50px;
+       width: 720px;
+       height: 890px;
+       border-radius: 2px;
+}
+
+#info_apps_deviceList_view .deviceListLabel{
+/*     top: 80px; */
+       position: absolute;
+       top: 0;
+       width: 100%;
+       height: 20px;
+       background: #393939;
+       padding: 15px 0 15px 120px;
+       font-size: 16px;
+}
+
+#info_apps_deviceList_view .list-content{
+       width: 100%;
+       border: none;
+       text-align: center;
+}
+#info_apps_deviceList_view .list-item{
+       border: 1px solid #393939 !important;
+}
+/******************* For Info.Apps menu*******************/
+#info_apps {
+       position: absolute;
+       top: 0;
+       width: 720px;
+       height: 936px;
+/*     float: left; */
+       z-index: 1001;
+}
+
+#info_apps .backButton{
+       top: 59px;
+}
+
+#info_apps .block-header-title{
+       top: 67px;
+       left: 73px;
+}
+
+#info_apps_pushToTalk_buttton{
+       top: 80px;
+       right: 5px;
+       height: 48px;
+       width:  48px;
+       border: 1px solid #4bffff;
+       border-radius: 2px;
+}
+
+/* #info_apps_list{
+       top: 70px;
+       left: 13px;
+} */
+
+#info_appst {
+       height: 250px;
+       position: relative;
+       float: left;
+       margin-top: 5px;
+       width: 554px;
+}
+
+/* #info_apps .list {
+       width: 629px;
+       height: 251px;
+} */
+
+#info_apps_list .list-item .ico{
+       width: 50px;
+       height: 50px;
+       position: absolute;
+}
+
+#info_apps_list .list-item span{
+       margin-left: 50px;
+}
+
+#info_apps_list .list-item{
+       height: 48px !important;
+       border: 1px solid #393939;
+}
+
+#info_apps_list .list-content {
+       /* width: 279px; */
+       width: 100%;
+       border: none !important;
+}
+
+#info_apps .leftButtons {
+       position: absolute;
+       bottom: 0;
+       width: 278px;
+/*     float: left; */
+       margin: auto 10px 20px 10px;
+       height: 51px;
+       font-size: 20px;
+       line-height: 50px;
+       border: 1px solid #393939;
+       cursor: pointer;
+/*     left: 10px;
+    position: absolute; */
+}
+
+#info_apps .vehicleHealthReport{
+       top: 70px;
+    display:none;
+}
+
+#info_apps .Asist911{
+       top: 122px;
+    display:none;
+}
+
+#info_apps .installButton{
+       top: 174px;
+    display:none;
+}
+
+#info_apps .findNewApps{
+    left: 0;
+}
+
+#info_apps .findNewApps img{
+       margin: 9px;
+       width: 32px;
+}
+
+#info_apps .getDeviceList{
+    right: 0;
+}
+
+#info_apps .getDeviceList img{
+       width: 38px;
+       margin: 6px;
+}
+
+#info_apps .list {
+    width: 720px;
+    height: 865px;
+    overflow-x: hidden;
+    overflow-y: auto;
+}
+
+#info_apps_install_Button span{
+       position: absolute;
+}
+
+#info_apps.fr #info_apps_install_Button span{
+       position: absolute;
+       line-height: 20px;
+       width: 170px;
+       top: 3px;
+}
+
+#info_apps .list-item .ico {
+       float: left;
+}
+
+#info_apps .list-item span {
+       height: 23px;
+}
+
+#info_apps .inner-wrapper {
+       left: 100px;
+       top: 71px;
+}
+
+#info_apps_install_Button{
+       border: 1px solid #393939;
+       border-radius: 2px;
+       top: 269px;
+       left: 303px;
+}
+
+.helpmode #info_apps{
+       background-image: url(../images/info/info_apps_bg_help.png) !important;
+       background-repeat: no-repeat;
+}
+
+.helpmode #info_apps_list span {
+       margin-left: -1px;
+       line-height: 51px !important;
+}
+
+.helpmode #info_apps_install_Button{
+       border: none;
+       background: none;
+}
+
+.helpmode #info_apps #info_apps_install_Button span{
+       margin-top: 1px;
+       left: 51px;
+}
+
+.helpmode #info_apps_install_Button .arrow-ico{
+       opacity: 0;
+}
+
+#info_apps.help-mode #info_apps_install_Button .ico{
+       opacity: 0;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/mcs.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/mcs.css
new file mode 100644 (file)
index 0000000..aaf2a63
--- /dev/null
@@ -0,0 +1,3055 @@
+/*** Multi Contour Seat ** */
+#back-button {
+       background: url(../images/common/page-back-button.png) no-repeat center 12px,
+       url(../images/common/btn-48h.png);
+       width: 48px;
+       z-index: 5000;
+       left: -107px;
+       top: -72px;
+}
+
+#back-button.pressed {
+       background: url(../images/common/page-back-button.png) no-repeat center 12px,
+       url(../images/common/btn-48h-pressed.png);
+}
+
+#MultiContourSeat_customMassage {
+       visibility: hidden;
+       background-color: #000;
+       z-index: 200;
+       width: 800px;
+       height: 345px;
+       position: absolute;
+       top: -60px;
+       left: -112px;
+}
+#MultiContourSeat_customMassage_caption {
+       width: 600px;
+       height: 28px;
+       line-height: 29px;
+       left: 74px;
+       font-size: 26px;
+}
+#MultiContourSeat_customMassage_caption2{
+       top: 35px;
+       width: 350px;
+       text-align: center;
+       left: 225px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust .MultiContourSeat_customMassage_previewButton {
+       top: 172px;
+       left: 620px;
+       width: 120px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust .MultiContourSeat_customMassage_previewButtonTop {
+       top: 113px;
+       left: 535px;
+       width: 120px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust .MultiContourSeat_customMassage_previewButtonBottom {
+       top: 239px;
+       left: 535px;
+       width: 120px;
+       text-align: center;
+}
+#MultiContourSeat_customMassage_backButton {
+       top: 220px;
+       left: 535px;
+       width: 120px;
+       text-align: center;
+}
+#MultiContourSeat_customMassage_backButtonCenter {
+       bottom: 10px;
+       left: 340px;
+       width: 120px;
+       text-align: center;
+}
+
+#MultiContourSeatContainer .led {
+       width: 12px;
+       height: 40px;
+       background: url("../images/common/seat-act-led.png") no-repeat;
+       position: relative !important;
+       float: left;
+       background-position: -4px 0;
+}
+#MultiContourSeatContainer .led-inactive {
+       background: url("../images/common/seat-inact-led.png") no-repeat;
+       background-position: 3px 8px;
+       width: 12px;
+       height: 40px;
+       position: relative !important;
+       float: left;
+}
+
+#MultiContourSeat_customMassage .led {
+       /*background-position: -4px -6px;*/
+}
+
+#MultiContourSeat_customMassage .led-inactive {
+       /*background-position: 3px 2px;*/
+}
+
+#contentMCS{
+       top: 83px;
+       left: 112px;
+}
+
+#MultiContourSeatContainer{
+       position: absolute;
+       background-color: black;
+       width: 800px;
+       height: 384px;
+       top: -38px;
+       left: -160px;
+       z-index: 1001;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust .block-header-title{
+       font-size: 26px;
+       width: 400px;
+       top: -72px;
+       left: -38px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust .view_settings_vehicle_MultiContourSeat-left-s {
+       background: url(../images/settings/view_settings_vehicle_MultiContourSeat-left-s.png) no-repeat;
+       width: 193px;
+       height: 263px;
+       left: -70px;
+       top: -40px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust .view_settings_vehicle_MultiContourSeat-Massage-left-s {
+       background: url(../images/settings/view_settings_vehicle_MultiContourSeat-driver_massage_seat.png) no-repeat;
+       width: 193px;
+       height: 263px;
+       left: -70px;
+       top: -40px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust .notActiveSeat {
+       opacity: 0.5;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust .not_selected .active {
+       opacity: 0;
+}
+
+ #view_settings_vehicle_MultiContourSeat_Adjust .driver {
+        width: 158px;
+        left: -54px;
+        top: 226px;
+        text-align: center;
+        line-height: 49px;
+ }
+
+#view_settings_vehicle_MultiContourSeat_Adjust .btn-48.active {
+       background: url(../images/common/btn-48h-active-gray.png) repeat-x !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust .btn-28.active {
+       background: url(../images/settings/btn-28h-gray-active.png) repeat-x !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust .adjust {
+        width: 158px;
+        left: -54px;
+        top: 226px;
+        text-align: center;
+        line-height: 49px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .massage {
+        width: 144px;
+        left: 299px;
+        top: -60px;
+        text-align: center;
+        line-height: 49px;
+        -webkit-border-radius: 0;
+        -moz-border-radius: 0;
+        border-radius: 0;
+        -webkit-border-top-right-radius: 3px;
+        -webkit-border-bottom-right-radius: 3px;
+        -moz-border-radius-topright: 3px;
+        -moz-border-radius-bottomright: 3px;
+        border-top-right-radius: 3px;
+        border-bottom-right-radius: 3px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .adjust {
+        width: 144px;
+        left: 154px;
+        top: -60px;
+        text-align: center;
+        line-height: 49px;
+        -webkit-border-radius: 0;
+        -moz-border-radius: 0;
+        border-radius: 0;
+        -webkit-border-top-left-radius: 3px;
+        -webkit-border-bottom-left-radius: 3px;
+        -moz-border-radius-topleft: 3px;
+        -moz-border-radius-bottomleft: 3px;
+        border-top-left-radius: 3px;
+        border-bottom-left-radius: 3px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .passenger {
+        width: 158px;
+        left: 496px;
+        top: 227px;
+        text-align: center;
+        line-height: 49px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .pressed{
+       background: url(../images/common/btn-48h-pressed.png) bottom repeat-x !important;
+}
+
+ #view_settings_vehicle_MultiContourSeat_Adjust .seats-1 {
+        width: 32px;
+        height: 39px;
+        left: 414px;
+        top: 3px;
+        background: url(../images/settings/seats.png) no-repeat;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .seats-2 {
+        width: 32px;
+        height: 39px;
+        left: 414px;
+        top: 61px;
+        background: url(../images/settings/seats.png) no-repeat 0 -61px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .seats-3 {
+        width: 32px;
+        height: 39px;
+        left: 414px;
+        top: 118px;
+        background: url(../images/settings/seats.png) no-repeat 0 -117px;
+ }
+
+ #view_settings_vehicle_MultiContourSeat_Adjust .seats-4 {
+        width: 32px;
+        height: 39px;
+        left: 414px;
+        top: 179px;
+        background: url(../images/settings/seats.png) no-repeat 0 -177px;
+ }
+
+ #view_settings_vehicle_MultiContourSeat_Adjust .seats-5 {
+        width: 32px;
+        height: 39px;
+        left: 414px;
+        top: 236px;
+        background: url(../images/settings/seats.png) no-repeat 0 -233px;
+ }
+
+ #view_settings_vehicle_MultiContourSeat_Adjust .seats-message-1 {
+        width: 32px;
+        height: 38px;
+        left: 414px;
+        top: 3px;
+        background: url(../images/settings/seats-message.png) no-repeat;
+ }
+
+ #view_settings_vehicle_MultiContourSeat_Adjust .seats-message-2 {
+        width: 32px;
+        height: 38px;
+        left: 414px;
+        top: 63px;
+        background: url(../images/settings/seats-message.png) no-repeat 0 -61px;
+ }
+
+ #view_settings_vehicle_MultiContourSeat_Adjust .seat-right {
+        width: 193px;
+        height: 263px;
+        left: 480px;
+        top: -40px;
+        background: url(../images/settings/view_settings_vehicle_MultiContourSeat-right-s.png) no-repeat;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .massage-seat-right {
+        width: 193px;
+        height: 263px;
+        left: 480px;
+        top: -40px;
+        background: url(../images/settings/view_settings_vehicle_MultiContourSeat-Passenger_massage_seat.png) no-repeat;
+ }
+
+ #view_settings_vehicle_MultiContourSeat_Adjust .control {
+        width: 238px;
+        height: 41px;
+        border: 1px solid #393939;
+        -webkit-border-radius: 3px;
+        -moz-border-radius: 3px;
+        border-radius: 3px;
+ }
+
+ #MultiContourSeat_customMassage .control{
+       width: 213px;
+       /*height: 28px;*/
+ }
+
+ #view_settings_vehicle_MultiContourSeat_Adjust .indButtonMCS.active ,
+ #view_settings_vehicle_MultiContourSeat_Adjust .seats-message-actions.active ,
+ #view_settings_vehicle_MultiContourSeat_Adjust .control.active {
+       border: 1px solid #ff9900;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .control .minus {
+        width: 58px;
+        height: 41px;
+        border-right: 1px solid #393939;
+        -webkit-border-top-right-radius: 3px;
+        -webkit-border-bottom-right-radius: 3px;
+        -moz-border-radius-topright: 3px;
+        -moz-border-radius-bottomright: 3px;
+        border-top-right-radius: 3px;
+        border-bottom-right-radius: 3px;
+        top: 0;
+        left: 0;
+        background: url(../images/common/btn-48h.png);
+        position: relative;
+        float: left;
+        cursor: pointer;
+ }
+
+ #MultiContourSeat_customMassage .control .minus {
+       /* height: 28px;*/
+ }
+
+ #view_settings_vehicle_MultiContourSeat_Adjust .ledContainer{
+        position: relative;
+        float: left;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .control .plus {
+        width: 58px;
+        height: 41px;
+        border-left: 1px solid #393939;
+        -webkit-border-top-left-radius: 3px;
+        -webkit-border-bottom-left-radius: 3px;
+        -moz-border-radius-topleft: 3px;
+        -moz-border-radius-bottomleft: 3px;
+        border-top-left-radius: 3px;
+        border-bottom-left-radius: 3px;
+        top: 0px;
+        right: 0;
+        background: url(../images/common/btn-48h.png);
+        cursor: pointer;
+ }
+
+ #MultiContourSeat_customMassage .control .plus {
+       /* height: 28px;*/
+ }
+
+ #view_settings_vehicle_MultiContourSeat_Adjust .control .minus .ico {
+        top: 19px;
+        left: 20px;
+        position: absolute;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .control .plus .ico {
+        top: 12px;
+        left: 20px;
+        position: absolute;
+ }
+
+ #MultiContourSeat_customMassage .control .minus .ico  {
+        /*top: 13px;*/
+ }
+
+  #MultiContourSeat_customMassage .control .plus .ico  {
+        /*top: 6px;;*/
+ }
+
+
+ #view_settings_vehicle_MultiContourSeat_Adjust .control-1 {
+        top: 1px;
+        left: 155px;
+
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .control-2 {
+        top: 60px;
+        left: 155px;
+
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .control-3 {
+        top: 119px;
+        left: 155px;
+
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .control-4 {
+        top: 177px;
+        left: 155px;
+
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .control-5 {
+        top: 235px;
+        left: 154px;
+ }
+
+ #view_settings_vehicle_MultiContourSeat_Adjust .led-1 {
+       left: 60px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .led-2 {
+        left: 71px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .led-3 {
+        left: 82px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .led-4 {
+        left: 93px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .led-5 {
+        left: 104px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .led-6 {
+        left: 115px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .led-7 {
+        left: 126px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .led-8 {
+        left: 137px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .led-9 {
+        left: 148px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .led-10 {
+        left: 159px;
+ }
+
+ #view_settings_vehicle_MultiContourSeat_Adjust .seats-message-actions {
+        width: 238px;
+        height: 48px;
+        border: 1px solid #393939;
+        -webkit-border-radius: 3px;
+        -moz-border-radius: 3px;
+        border-radius: 3px;
+        left: 154px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .seats-message-actions-1 {
+        top: 0;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .seats-message-actions-2 {
+        top: 60px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .quality {
+        width: 79px;
+        height: 48px;
+        background: url(../images/common/btn-48h.png);
+        font-size: 20px;
+        text-align: center;
+        line-height: 48px;
+        cursor: pointer;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .delim {
+        width: 4px;
+        height: 48px;
+        background: url(../images/common/delim.png) no-repeat;
+        z-index: 100;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .active.quality {
+        background: url(../images/common/btn-48h-active-gray.png) !important;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .delim-0 {
+        left: 76px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .delim-1 {
+        left: 158px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .button0 {
+       left: 0;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .button1 {
+        left: 80px;
+ }
+ #view_settings_vehicle_MultiContourSeat_Adjust .button2 {
+        left: 159px;
+ }
+
+#MultiContourSeatContainer .indButtonMCS {
+       width: 84px;
+       height: 49px;
+       cursor: pointer;
+}
+
+#MultiContourSeatContainer .indButtonMCS .ico {
+       top: 1px;
+       left: 26px;
+       position: absolute;
+}
+
+#MultiContourSeatContainer .indButtonMCS div {
+       width:22px;
+       height:17px;
+       top: 35px;
+       left: 25px;
+       position: relative;
+       float: left;
+       margin-left: -9px;
+}
+
+#MultiContourSeatContainer .indButtonMCS div.small_ind_def {
+       background: url(../images/climate/small_ind_def.png) no-repeat;
+}
+
+#MultiContourSeatContainer .indButtonMCS div.small_ind_active {
+       background:url(../images/climate/small_ind_active.png) no-repeat;
+}
+
+#MultiContourSeatContainer .indButtonMCS.notpressed {
+       background: url(../images/common/btn-48h.png);
+       background-size: contain;
+       border-radius: 3px;
+       border: 1px solid #393939;
+}
+
+#MultiContourSeatContainer .indButtonMCS.pressed {
+       background:url(../images/climate/left_person_control/rb_bg_pressed.png) no-repeat;
+}
+
+
+ /* BEGIN concept 1.1 */
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .seats-message-actions {
+       left: 186px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .massageTop1{
+       width: 18px;
+       height: 27px;
+       left: 150px;
+       background-image: url(../images/settings/massageTop.png) !important;
+       background-repeat: no-repeat;
+       top: 8px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .massageTop2{
+       width: 30px;
+       height: 27px;
+       left: 150px;
+       background-image: url(../images/settings/massageBottom.png) !important;
+       background-repeat: no-repeat;
+       top: 52px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .massageTop3{
+       width: 30px;
+       height: 27px;
+       left: 143px;
+       background-image: url(../images/settings/massageVertical.png) !important;
+       background-repeat: no-repeat;
+       top: 96px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .dividerBlocks{
+       width: 292px;
+       height: 0px;
+       border: 1px solid #525252;
+       left: 154px;
+       top: 139px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .massageBottom1{
+       width: 29px;
+       height: 21px;
+       left: 143px;
+       background-image: url(../images/settings/MassageCircle.png) !important;
+       background-repeat: no-repeat;
+       top: 162px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .massageBottom2{
+       width: 29px;
+       height: 30px;
+       left: 144px;
+       background-image: url(../images/settings/massageRound.png) !important;
+       background-repeat: no-repeat;
+       top: 200px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .massageBottom3{
+       width: 27px;
+       height: 30px;
+       left: 144px;
+       background-image: url(../images/settings/massageHorisontal.png) !important;
+       background-repeat: no-repeat;
+       top: 245px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .seats-message-1{
+       top: 46px;
+       left: 428px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .seats-message-2{
+       top: 196px;
+       left: 428px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .quality {
+       width: 56px;
+       height: 38px;
+       line-height: 38px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .seats-message-actions{
+       width: 224px;
+       height: 38px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .seats-message-actions-top2 {
+       top: 45px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .seats-message-actions-top3 {
+       top: 90px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .seats-message-actions-bottom1{
+       top: 150px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .seats-message-actions-bottom2{
+       top: 195px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .seats-message-actions-bottom3{
+       top: 240px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .delim {
+       height: 38px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .delim-0 {
+       left: 54px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .delim-1 {
+       left: 110px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .delim-2 {
+       left: 166px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .button0 {
+       left: 0;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .button1 {
+       left: 56px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .button2 {
+       left: 112px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1 .button3 {
+       left: 168px;
+}
+ /* END concept 1.1 */
+
+
+ /* BEGIN concept 1.2 */
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .seats-message-actions {
+       left: 154px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .seats-message-1{
+       top: 35px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .seats-message-2{
+       top: 203px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .quality {
+       width: 56px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .quality  img{
+       margin-top: 10px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .seats-message-actions{
+       width: 224px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .seats-message-actions-top2 {
+       top: 60px;
+       left: 210px;
+       width: 168px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .seats-message-actions-bottom1{
+       top: 170px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .seats-message-actions-bottom2{
+       top: 230px;
+       left: 210px;
+       width: 168px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .delim-0 {
+       left: 54px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .delim-1 {
+       left: 110px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .delim-2 {
+       left: 166px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .button0 {
+       left: 0;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .button1 {
+       left: 56px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .button2 {
+       left: 112px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2 .button3 {
+       left: 168px;
+}
+ /* END concept 1.2 */
+
+ /* BEGIN concept 1.3 */
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .indButtonMCS div.small_ind_active{
+       background: url(../images/climate/small_ind_green.png) no-repeat;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .patternTextIndicator{
+       top: -29px;
+       width: 80px;
+       text-align: center;
+       font-size: 18px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .patternTextTop{
+       left: 280px;
+       width: 150px;
+       text-align: center;
+       font-size: 18px;
+       top: 30px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .patternTextBottom{
+       left: 280px;
+       width: 150px;
+       text-align: center;
+       font-size: 18px;
+       top: 140px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .seats-message-actions {
+       left: 154px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .seats-message-1{
+       top: 35px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .seats-message-2{
+       top: 203px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .quality {
+       width: 56px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3  .quality  img{
+       margin-top: 10px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .seats-message-actions{
+       width: 224px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .seats-message-actions-top1 {
+       left: 159px;
+       top: 60px;
+       width: 78px;
+       height: 20px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .seats-message-actions-top2 {
+       left: 270px;
+       top: 60px;
+       width: 168px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .seats-message-actions-bottom1{
+       top: 170px;
+       left: 159px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .seats-message-actions-bottom2{
+       top: 170px;
+       left: 270px;
+       width: 168px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .delim-0 {
+       left: 54px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .delim-1 {
+       left: 110px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .delim-2 {
+       left: 166px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .button0 {
+       left: 0;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .button1 {
+       left: 56px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .button2 {
+       left: 112px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_3 .button3 {
+       left: 168px;
+}
+ /* END concept 1.3 */
+
+ /* BEGIN concept 1.4 */
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .patternText1{
+       width: 78px;
+       height: 20px;
+       top: 65px;
+       left: 270px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .pattern1{
+       background-image: url('../images/settings/massageTop.png');
+       background-repeat: no-repeat;
+       background-position: 53px 0px;
+       background-size: contain;
+       width: 83px;
+       height: 20px;
+       top: 65px;
+       left: 209px;
+       text-align: left;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .pattern2{
+       background-image: url('../images/settings/massageBottom.png');
+       background-repeat: no-repeat;
+       background-position: 53px 0px;
+       background-size: contain;
+       width: 83px;
+       height: 20px;
+       top: 65px;
+       left: 209px;
+       text-align: left;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .pattern3{
+       background-image: url('../images/settings/massageVertical.png');
+       background-repeat: no-repeat;
+       background-position: 52px 0px;
+       background-size: contain;
+       width: 83px;
+       height: 20px;
+       top: 65px;
+       left: 202px;
+       text-align: left;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .patternbottom1{
+       background-image: url('../images/settings/massageCircle.png');
+       background-repeat: no-repeat;
+       background-position: 53px 0px;
+       background-size: contain;
+       width: 83px;
+       height: 20px;
+       top: 165px;
+       left: 196px;
+       text-align: left;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .patternbottom2{
+       background-image: url('../images/settings/massageRound.png');
+       background-repeat: no-repeat;
+       background-position: 55px 0px;
+       background-size: contain;
+       width: 83px;
+       height: 20px;
+       top: 165px;
+       left: 196px;
+       text-align: left;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .patternbottom3{
+       background-image: url('../images/settings/massageHorisontal.png');
+       background-repeat: no-repeat;
+       background-position: 55px 0px;
+       background-size: contain;
+       width: 83px;
+       height: 20px;
+       top: 165px;
+       left: 202px;
+       text-align: left;
+}
+#seatsMassageView1_4  .seatsMassageView1_4_seatLabel{
+       top: 172px;
+       left: 45px;
+       font-size: 24px;
+       width: 199px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .seats-message-2 {
+       top: 105px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .patternText2{
+       width: 78px;
+       height: 20px;
+       top: 165px;
+       left: 271px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .labelTitle {
+       width: 600px;
+       text-align: left;
+       height: 30px;
+       line-height: 30px;
+       font-size: 26px;
+       left: 74px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .concept1_5Settings {
+       top: 200px;
+       left: 197px;
+       width: 138px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .concept1_5Settings  span{
+       float: left;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .concept1_5Settings  .ico{
+       float: left;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .concept1_5Massage {
+       text-align: center;
+       height: 48px;
+       line-height: 48px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .concept1_5Massage.button0{
+       top: 70px;
+       left: 45px;
+       width: 200px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .concept1_5Massage.button1{
+       top: 130px;
+       left: 45px;
+       width: 200px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .concept1_5Massage.button2 {
+       top: 190px;
+       left: 45px;
+       width: 200px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .concept1_5Back {
+       top: 280px;
+       left: 45px;
+       width: 200px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .concept1_5SettingsScreen {
+       top: -60px;
+       left: -112px;
+       width: 800px;
+       height: 345px;
+       background: black;
+       z-index: 100;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .btn-48 {
+       line-height: 48px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .show{
+       visibility: visible !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .hide{
+       visibility: hidden;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .quality {
+       width: 56px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4  .quality  img{
+       margin-top: 10px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .seats-message-actions-top {
+       left: 355px;
+       top: 120px;
+       width: 168px !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .seats-message-actions-bottom{
+       left: 355px;
+       top: 210px;
+       width: 168px !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .seats-message-actions{
+       width: 224px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .seats-message-actions-2 {
+       top: 100px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .delim-0 {
+       left: 54px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .delim-1 {
+       left: 110px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .delim-2 {
+       left: 166px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .button0 {
+       left: 0;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .button1 {
+       left: 56px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .button2 {
+       left: 112px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 .button3 {
+       left: 168px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 #alternatingMassage .seats-message-1 {
+       width: 32px;
+       height: 38px;
+       top: 126px;
+       background: url(../images/settings/seats-message.png) no-repeat;
+       left: 285px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_4 #alternatingMassage .seats-message-2 {
+       width: 32px;
+       height: 38px;
+       top: 216px;
+       left: 285px;
+       background: url(../images/settings/seats-message.png) no-repeat 0 -61px;
+}
+ /* END concept 1.4 */
+
+ /* BEGIN concept 1.5 */
+#seatsMassageView1_5  .seatsMassageView1_5_seatLabel{
+       top: 160px;
+       left: 0px;
+       font-size: 24px;
+       width: 199px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_5 .labelTitle {
+       width: 600px;
+       text-align: left;
+       height: 30px;
+       line-height: 30px;
+       font-size: 26px;
+       left: 74px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_5 .labelText {
+       top: 97px;
+       width: 672px;
+       text-align: center;
+       left: 140px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_5 .concept1_5Settings {
+       top: 120px;
+       left: 205px;
+       width: 138px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_5 .concept1_5Settings  span{
+       float: left;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_5 .concept1_5Settings  .ico{
+       float: left;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_5 .concept1_5Massage {
+       text-align: center;
+       height: 48px;
+       line-height: 48px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_5 .concept1_5Massage.button0{
+       top: 147px;
+       left: 240px;
+       width: 150px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_5 .concept1_5Massage.button1{
+       top: 147px;
+       left: 400px;
+       width: 150px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_5 .concept1_5Massage.button2 {
+       top: 147px;
+       left: 560px;
+       width: 150px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_5 .concept1_5Back {
+       top: 280px;
+       left: 45px;
+       width: 200px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_5 .concept1_5SettingsScreen {
+       top: -60px;
+       left: -112px;
+       width: 800px;
+       height: 345px;
+       background: black;
+       z-index: 100;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .concept1_5Settings .ico {
+       float: left;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_5 .btn-48 {
+       line-height: 48px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_5 .show{
+       visibility: visible !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView1_5 .hide{
+       visibility: hidden;
+}
+ /* END concept 1.5 */
+
+ /* BEGIN HMI concept 2.1 */
+#seatsMassageView2_1  .seatsMassageView2_1_seatLabel{
+       top: 160px;
+       left: 0px;
+       font-size: 24px;
+       width: 199px;
+       text-align: center;
+}
+#seatsMassageView2_1  .MultiContourSeat_customMassage_caption {
+       width: 600px;
+       height: 28px;
+       line-height: 29px;
+       left: 74px;
+       font-size: 26px;
+}
+#seatsMassageView2_1  .control{
+       width: 237px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_1 .quality {
+       width: 50px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_1 .seats-message-actions {
+       width: 250px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_1 .delim-0 {
+       left: 48px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_1 .delim-1 {
+       left: 98px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_1 .delim-2 {
+       left: 148px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_1 .button0 {
+       left: 0;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_1 .button1 {
+       left: 50px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_1 .button2 {
+       left: 100px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_1 .button3 {
+       left: 150px;
+       width: 100px;
+}
+
+#seatsMassageView2_1_settingsButton {
+       width: 210px;
+       left: 175px;
+       top: 130px;
+       line-height: 49px;
+}
+
+#seatsMassageView2_1_settingsButton .ico {
+       float: left;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_1 .control-11 {
+       top: 60px;
+       left: 370px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_1 .control-12 {
+       top: 105px;
+       left: 370px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_1 .control-13 {
+       top: 150px;
+       left: 370px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_1 .control-14 {
+       top: 210px;
+       left: 370px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_1 .control-15 {
+       top: 255px;
+       left: 370px;
+}
+
+#seatsMassageView2_1 #MultiContourSeat_customMassage .seats-message-1 {
+       left: 150px;
+       top: 107px;
+}
+
+#seatsMassageView2_1 #MultiContourSeat_customMassage .seats-message-2 {
+       left: 150px;
+       top: 234px;
+}
+
+#seatsMassageView2_1_upperLabel {
+       top: 73px;
+       left: 645px;
+}
+
+#seatsMassageView2_1_middleLabel {
+       top: 117px;
+       left: 645px;
+}
+
+#seatsMassageView2_1_lowerLabel {
+       top: 162px;
+       left: 645px;
+}
+
+#seatsMassageView2_1_frontLabel {
+       top: 223px;
+       left: 645px;
+}
+
+#seatsMassageView2_1_rearLabel {
+       top: 266px;
+       left: 645px;
+}
+
+/* END HMI concept 2.1 */
+
+
+/* BEGIN HMI concept 2.2 */
+#seatsMassageView2_2 .MultiContourSeat_customMassage_previewButtonTop {
+       top: 134px;
+       left: 625px;
+       width: 120px;
+       text-align: center;
+}
+#seatsMassageView2_2 .MultiContourSeat_customMassage_previewButtonBottom {
+       top: 282px;
+       left: 625px;
+       width: 120px;
+       text-align: center;
+}
+#seatsMassageView2_2 .control{
+       width: 240px;
+       /*height: 28px;*/
+}
+#seatsMassageView2_2  .seatsMassageView2_2_seatLabel{
+       top: 172px;
+       left: 0px;
+       font-size: 24px;
+       width: 199px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_2 .quality {
+       width: 100px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_2 .seats-message-actions {
+       width: 200px;
+       left: 198px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_2 .delim-0 {
+       left: 98px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_2 .button0 {
+       left: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_2 .button1 {
+       left: 100px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_2 .control-11 {
+       top: 80px;
+       left: 370px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_2 .control-12 {
+       top: 125px;
+       left: 370px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_2 .control-13 {
+       top: 170px;
+       left: 370px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_2 .control-14 {
+       top: 253px;
+       left: 370px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView2_2 .control-15 {
+       top: 298px;
+       left: 370px;
+}
+
+#seatsMassageView2_2 #MultiContourSeat_customMassage .seats-message-1 {
+       left: 230px;
+       top: 128px;
+}
+
+#seatsMassageView2_2 #MultiContourSeat_customMassage .seats-message-2 {
+       left: 720px;
+       top: 275px;
+}
+
+#seatsMassageView2_2 #MultiContourSeat_customMassage .seats-message-actions-3 {
+       top: 45px;
+}
+
+#seatsMassageView2_2 #MultiContourSeat_customMassage .seats-message-actions-4 {
+       top: 218px;
+}
+
+#seatsMassageView2_2 #MultiContourSeat_customMassage .seats-message-actions {
+       left: 358px;
+       width: 265px;
+       height: 28px;
+}
+#seatsMassageView2_2 #MultiContourSeat_customMassage .quality {
+       width: 50px;
+       height: 28px;
+       line-height: 29px;
+}
+#seatsMassageView2_2 #MultiContourSeat_customMassage .delim {
+       height: 28px;
+}
+#seatsMassageView2_2 #MultiContourSeat_customMassage .delim-0 {
+       left: 48px;
+}
+#seatsMassageView2_2 #MultiContourSeat_customMassage .delim-1 {
+       left: 98px;
+}
+#seatsMassageView2_2 #MultiContourSeat_customMassage .delim-2 {
+       left: 148px;
+}
+#seatsMassageView2_2 #MultiContourSeat_customMassage .button0 {
+       left: 0;
+}
+#seatsMassageView2_2 #MultiContourSeat_customMassage .button1 {
+       left: 50px;
+}
+#seatsMassageView2_2 #MultiContourSeat_customMassage .button2 {
+       left: 100px;
+}
+#seatsMassageView2_2 #MultiContourSeat_customMassage .button3 {
+       left: 150px;
+       width: 115px;
+}
+#seatsMassageView2_2_upperLabel {
+       top: 93px;
+       left: 645px;
+}
+#seatsMassageView2_2_middleLabel {
+       top: 138px;
+       left: 645px;
+}
+#seatsMassageView2_2_lowerLabel {
+       top: 182px;
+       left: 645px;
+}
+#seatsMassageView2_2_frontLabel {
+       top: 266px;
+       left: 645px;
+}
+#seatsMassageView2_2_rearLabel {
+       top: 310px;
+       left: 645px;
+}
+
+#seatsMassageView2_2_settingsButton {
+       width: 210px;
+       left: 192px;
+       top: 130px;
+       line-height: 49px;
+}
+
+#seatsMassageView2_2_settingsButton .ico {
+       float: left;
+}
+
+/* END HMI concept 2.2 */
+
+/* BEGIN HMI concept 4.1 */
+
+#seatsMassageView4_1  .seatsMassageView4_1_seatLabel{
+       top: 172px;
+       left: 45px;
+       font-size: 24px;
+       width: 199px;
+       text-align: center;
+}
+#seatsMassageView4_1_settingsButton {
+       width: 140px;
+       left: 200px;
+       top: 130px;
+       line-height: 49px;
+}
+#seatsMassageView4_1_settingsButton .ico {
+       float: left;
+}
+#seatsMassageView4_1 #MultiContourSeat_customMassage .seats-message-actions {
+       left: 280px;
+}
+
+#seatsMassageView4_1 #MultiContourSeat_customMassage .seats-message-actions-3 {
+       top: 115px;
+}
+
+#seatsMassageView4_1 #MultiContourSeat_customMassage .seats-message-actions-4 {
+       top: 205px;
+}
+#seatsMassageView4_1 #MultiContourSeat_customMassage .seats-message-3 {
+       right: 220px;
+       top: 120px;
+       width: 32px;
+       height: 38px;
+       background: url(../images/settings/seats-message.png) no-repeat;
+}
+#seatsMassageView4_1 #MultiContourSeat_customMassage .seats-message-4 {
+       right: 220px;
+       top: 210px;
+       width: 32px;
+       height: 38px;
+       background: url(../images/settings/seats-message.png) no-repeat 0 -61px;
+}
+/* END HMI concept 4.1 */
+
+/* BEGIN HMI concept 5.1 */
+#seatsMassageView5_1   .MultiContourSeat_customMassage_caption {
+       width: 600px;
+       height: 28px;
+       line-height: 29px;
+       left: 74px;
+       font-size: 26px;
+}
+#seatsMassageView5_1  .seatsMassageView5_1_seatLabel{
+       top: 187px;
+       left: 0px;
+       font-size: 24px;
+       width: 140px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 #MultiContourSeat_customMassage_backButtonCenter{
+       bottom: 0px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .lableToggleButton {
+       height: 48px;
+       border: 1px solid gray;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .lableToggleButton .btn-48{
+       height: 46px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .lableToggleButton  .lableToggle{
+       line-height: 30px;
+       margin-left: 10px;
+       margin-top: 10px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .toogleButtonContainer {
+       width: 100px;
+       margin: 0px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .toogleButtonContainer .toggles {
+       position: absolute;
+       float: left;
+       width: 50px;
+       height: 28px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .seatsMassageView_settingsButton {
+       width: 140px;
+       left: 200px;
+       top: 130px;
+       line-height: 49px;
+       text-align: left !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .seatsMassageView_settingsButton  span{
+       position: absolute;
+       line-height: 50px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .toogleButtonContainer span{
+       position: absolute;
+       width: 50px;
+       margin-top: 0px;
+       text-align: center;
+       line-height: 28px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .seats-message-actions-3 {
+       left: 247px;
+       margin-top: 10px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .concept1_5Settings {
+       top: 200px;
+       left: 197px;
+       width: 138px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .concept1_5Settings  span{
+       float: left;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .concept1_5Settings  .ico{
+       float: left;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .concept1_5Massage {
+       text-align: center;
+       height: 48px;
+       line-height: 48px;
+}
+#seatsMassageView5_1  .MCSSettingslist{
+       top: 76px;
+       left: 139px;
+       height: 251px;
+}
+#seatsMassageView5_1  .MCSSettingslist .list-content {
+       width: 674px;
+       border-right: none;
+       border-top: none;
+}
+#seatsMassageView5_1  .MCSSettingslist .list-item:first-child,
+#seatsMassageView5_1  .MCSSettingslist .soundButton:first-child{
+       border-top: 1px solid #393939;
+       height: 48px;
+}
+#seatsMassageView5_1  .MCSSettingslist .list-item {
+       position: relative;
+       width: 577px;
+       float: left;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+       border-right: 1px solid #393939;
+       line-height: 50px;
+}
+#seatsMassageView5_1  .MCSSettingslist .list-item.soundButton {
+       width: 48px;
+       border-left: 1px solid #393939;
+       margin-left: 10px;
+}
+#seatsMassageView5_1  .MCSSettingslist .list-item.soundButton .ico {
+       border: none;
+       margin-top: 12px;
+       margin-right: 11px;
+}
+#seatsMassageView5_1  .MCSSettingslist .list-item.pressed {
+       background: url(../images/phone/phone_button_bg_active.png) repeat-x !important;
+}
+#seatsMassageView5_1  .MCSSettingslist .list-item > span{
+       margin-left: 13px;
+}
+#seatsMassageView5_1  .MCSSettingslist .list-item .ico {
+       float: right;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       margin-top: 9px;
+       margin-right: 9px;
+}
+#seatsMassageView5_1  .MCSSettingslist .list-item.big-ico img {
+       float: right;
+       border: none;
+       margin-top: 4px;
+       margin-right: 9px;
+}
+#seatsMassageView5_1  .MCSSettingslist .toggles,
+#seatsMassageView5_1  .MCSSettingslist .toggles span{
+       width: 148px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .MCSSettingslist .button1{
+       left: 148px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .MCSSettingslist .delim{
+       height: 29px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .MCSSettingslist .delim-0{
+       left: 147px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .toogleButtonContainer .button1{
+       left: 50px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .toogleButtonContainer .delim-0 {
+       left: 48px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .concept1_5Back {
+       top: 280px;
+       left: 45px;
+       width: 200px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .concept1_5SettingsScreen {
+       top: -60px;
+       left: 154px;
+       width: 291px;
+       height: 345px;
+       background: black;
+       z-index: 100;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .btn-48 {
+       line-height: 48px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .show{
+       visibility: visible !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView5_1 .hide{
+       visibility: hidden;
+}
+/* END HMI concept 5.1 */
+
+/* BEGIN HMI concept 5.2 */
+#seatsMassageView5_2_settingsButton {
+       width: 140px;
+       left: 200px;
+       top: 130px;
+       line-height: 49px;
+}
+#seatsMassageView5_2  .MultiContourSeat_customMassage_caption {
+       width: 600px;
+       height: 28px;
+       line-height: 29px;
+       left: 74px;
+       font-size: 26px;
+}
+#seatsMassageView5_2  .seatsMassageView5_2_seatLabel{
+       top: 160px;
+       left: 0px;
+       font-size: 24px;
+       width: 199px;
+       text-align: center;
+}
+#seatsMassageView5_2_settingsButton .ico {
+       float: left;
+}
+
+#seatsMassageView5_2 #MultiContourSeat_customMassage .seats-message-actions {
+       left: 275px;
+}
+
+#seatsMassageView5_2 #MultiContourSeat_customMassage .seats-message-actions-3 {
+       top: 90px;
+}
+
+#seatsMassageView5_2 #MultiContourSeat_customMassage .seats-message-actions-4 {
+       top: 190px;
+}
+
+#seatsMassageView5_2 #MultiContourSeat_customMassage .quality {
+       width: 50px;
+}
+
+#seatsMassageView5_2 #MultiContourSeat_customMassage .seats-message-actions {
+       width: 250px;
+}
+
+#MultiContourSeat_customMassage_5_2_topLabel {
+       top: 65px;
+       left: 275px;
+       width: 250px;
+       text-align: center;
+}
+
+#MultiContourSeat_customMassage_5_2_bottomLabel {
+       top: 165px;
+       left: 275px;
+       width: 250px;
+       text-align: center;
+}
+
+#seatsMassageView5_2 #MultiContourSeat_customMassage .delim-0 {
+       left: 48px;
+}
+#seatsMassageView5_2 #MultiContourSeat_customMassage .delim-1 {
+       left: 98px;
+}
+#seatsMassageView5_2 #MultiContourSeat_customMassage .delim-2 {
+       left: 148px;
+}
+#seatsMassageView5_2 #MultiContourSeat_customMassage .delim-3 {
+       left: 198px;
+}
+#seatsMassageView5_2 #MultiContourSeat_customMassage .button0 {
+       left: 0;
+}
+#seatsMassageView5_2 #MultiContourSeat_customMassage .button1 {
+       left: 50px;
+}
+#seatsMassageView5_2 #MultiContourSeat_customMassage .button2 {
+       left: 100px;
+}
+#seatsMassageView5_2 #MultiContourSeat_customMassage .button3 {
+       left: 150px;
+}
+#seatsMassageView5_2 #MultiContourSeat_customMassage .button4 {
+       left: 200px;
+}
+
+/* END HMI concept 5.2 */
+
+/* BEGIN HMI concept 6.1 */
+#seatsMassageView6_1 #settingsScreen .seatsMassageView6_1_seatLabel{
+       top: 13px;
+       left: 600px;
+       font-size: 24px;
+       width: 199px;
+       text-align: center;
+}
+#seatsMassageView6_1  .mySettingsPopUpTitle{
+       width: 143px;
+       height: 25px;
+       position: absolute;
+       top: 163px;
+       left: 216px !important;
+       background: gray;
+       text-align: center;
+       line-height: 25px;
+       font-size: 16px !important;
+       font-weight: bold;
+}
+#seatsMassageView6_1  .mySettingsLabel{
+       z-index: 100;
+       left: 102px;
+}
+#seatsMassageView6_1 .MultiContourSeat_customMassage .btn-28.active {
+       background: url(../images/common/btn-48h-active-gray.png) repeat-x !important;
+}
+#seatsMassageView6_1 #settingsScreen .durationButtons .quality,
+#seatsMassageView6_1 #settingsScreen .pauseButtons .quality {
+       width: 60px;
+}
+#seatsMassageView6_1 #settingsScreen .quality {
+       height: 35px;
+       width: 130px;
+       border: 1px solid #393939;
+       -webkit-border-radius: 3px;
+       border-radius: 3px;
+}
+#seatsMassageView6_1 #settingsScreen .btn-28 {
+       text-align: center;
+       line-height: 34px;
+}
+#seatsMassageView6_1   .settingsScreen {
+       width: 800px;
+       height: 368px;
+       top: -15px;
+       background: black;
+       visibility: hidden;
+}
+#seatsMassageView6_1   .settingsScreen2 {
+       width: 800px;
+       height: 368px;
+       top: -15px;
+       background: black;
+       visibility: hidden;
+}
+#seatsMassageView6_1  #settingsScreen .seats-message-actions{
+       height: 39px;
+       border: none;
+}
+
+#seatsMassageView6_1 #settingsScreen .button0 {
+       left: 0;
+}
+#seatsMassageView6_1 #settingsScreen .button1 {
+       left: 140px;
+}
+#seatsMassageView6_1 #settingsScreen .button2 {
+       left: 280px;
+}
+#seatsMassageView6_1 #settingsScreen .button3 {
+       left: 420px;
+}
+
+#seatsMassageView6_1 #settingsScreen .durationButtons .button0,
+#seatsMassageView6_1 #settingsScreen .pauseButtons .button0{
+       left: 0;
+}
+#seatsMassageView6_1 #settingsScreen .durationButtons .button1,
+#seatsMassageView6_1 #settingsScreen .pauseButtons .button1 {
+       left: 70px;
+}
+#seatsMassageView6_1 #settingsScreen .durationButtons .button2,
+#seatsMassageView6_1 #settingsScreen .pauseButtons .button2 {
+       left: 140px;
+}
+#seatsMassageView6_1 #settingsScreen .durationButtons .button3,
+#seatsMassageView6_1 #settingsScreen .pauseButtons .button3 {
+       left: 210px;
+}
+#seatsMassageView6_1 #settingsScreen .durationButtons .button4,
+#seatsMassageView6_1 #settingsScreen .pauseButtons .button4 {
+       left: 280px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .control-11 {
+       top: 60px;
+       left: 350px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .control-12 {
+       top: 105px;
+       left: 350px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .control-13 {
+       top: 150px;
+       left: 350px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .control-14 {
+       top: 230px;
+       left: 350px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .control-15 {
+       top: 275px;
+       left: 350px;
+}
+#seatsMassageView6_1 #settingsScreen2 .seats-message-1 {
+       left: 280px;
+       top: 110px;
+}
+#seatsMassageView6_1 #settingsScreen2  .seats-message-2 {
+       left: 280px;
+       top: 252px;
+}
+#seatsMassageView6_1  .seatsMassageView6_1_seatLabel{
+       top: 172px;
+       left: 45px;
+       font-size: 24px;
+       width: 199px;
+       text-align: center;
+}
+#seatsMassageView6_1  .MultiContourSeat_customMassage_caption {
+       width: 600px;
+       height: 28px;
+       line-height: 29px;
+       left: 74px;
+       font-size: 26px;
+}
+#seatsMassageView6_1 .seatsMassageView6_1_upperLabel {
+       top: 73px;
+       left: 615px !important;
+       font-size: 18px !important;
+}
+#seatsMassageView6_1 .seatsMassageView6_1_middleLabel {
+       top: 118px;
+       left: 615px !important;
+       font-size: 18px !important;
+}
+
+#seatsMassageView6_1 .seatsMassageView6_1_lowerLabel {
+       top: 163px;
+       left: 615px !important;
+       font-size: 18px !important;
+}
+
+#seatsMassageView6_1 .seatsMassageView6_1_frontLabel {
+       top: 243px;
+       left: 615px !important;
+       font-size: 18px !important;
+}
+#seatsMassageView6_1 .seatsMassageView6_1_rearLabel {
+       top: 287px;
+       left: 615px !important;
+       font-size: 18px !important;
+}
+#seatsMassageView6_1   .label {
+       font-size: 26px;
+       left: 20px;
+}
+#seatsMassageView6_1   .massageLabel {
+       top: 51px;
+}
+#seatsMassageView6_1   .pattern {
+       top: 91px;
+}
+#seatsMassageView6_1   .intensity {
+       top: 131px;
+}
+#seatsMassageView6_1   .speed {
+       top: 211px;
+}
+#seatsMassageView6_1   .duration {
+       top: 251px;
+}
+#seatsMassageView6_1   .pause {
+       top: 291px;
+}
+#seatsMassageView6_1   .editMenu {
+       left: 70px;
+       width: 240px;
+       top: 12px;
+       text-align: center;
+}
+#seatsMassageView6_1   .massageButtons {
+       top: 50px;
+       left: 240px;
+       width: 560px;
+}
+#seatsMassageView6_1   .massageButtons  img{
+       height: 34px;
+}
+#seatsMassageView6_1   .patternButtons {
+       top: 90px;
+       left: 240px;
+       width: 560px;
+}
+#seatsMassageView6_1   .intensityButtons{
+       top: 130px;
+       left: 240px;
+       width: 560px;
+}
+#seatsMassageView6_1   .intensityEditCustom{
+       top: 170px;
+       left: 520px;
+       width: 270px;
+       height: 34px;
+}
+#seatsMassageView6_1   .speedButtons {
+       top: 210px;
+       left: 240px;
+       width: 560px;
+}
+#seatsMassageView6_1   .durationButtons {
+       top: 250px;
+       left: 240px;
+       width: 560px;
+}
+#seatsMassageView6_1   .pauseButtons{
+       top: 290px;
+       left: 240px;
+       width: 560px;
+}
+#seatsMassageView6_1   .preview{
+       top: 330px;
+       left: 289px;
+       width: 214px;
+       height: 34px;
+}
+#seatsMassageView6_1   .MultiContourSeat_customMassage_caption {
+       width: 600px;
+       height: 28px;
+       line-height: 29px;
+       left: 74px;
+       font-size: 26px;
+}
+#seatsMassageView6_1 .settingsScreen2 .MultiContourSeat_customMassage_caption {
+       top: 14px;
+}
+#seatsMassageView6_1   .SettingsBlocks{
+       margin-left: auto;
+       margin-right: auto;
+       width: 315px;
+       height: 50px;
+       position: relative;
+       -webkit-transition: width 1s;
+}
+#seatsMassageView6_1 .MultiContourSeat_customMassage {
+       visibility: hidden;
+       background-color: #000;
+       z-index: 200;
+       width: 800px;
+       height: 345px;
+       position: absolute;
+       top: -60px;
+       left: -112px;
+       background-image: url('../images/settings/mcsBlockBackArrow6_1.png');
+       background-position: 339px 39px;
+       background-repeat: no-repeat;
+}
+#seatsMassageView6_1  .btn-48 {
+       line-height: 48px;
+       text-align: center;
+}
+#seatsMassageView6_1 .show{
+       visibility: visible !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .seatsMassageView_settingsButtonUp{
+       width: 200px;
+       left: 560px;
+       top: 101px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .seatsMassageView_settingsButtonDown{
+       width: 200px;
+       left: 560px;
+       bottom: 143px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .seatsMassageView_settingsButtonEdit{
+       width: 250px;
+       left: 275px;
+       bottom: 40px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .seatsMassageView_settingsButtonNew{
+       width: 100px;
+       left: 275px;
+       bottom: 0px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .seatsMassageView_settingsButtonTrash{
+       width: 140px;
+       left: 385px;
+       bottom: 0px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .seatsMassageView_settingsBlock {
+       width: 220px;
+       top: 130px;
+       text-align: center !important;
+       transition: 1s;
+       -webkit-transition: top 1s; /* Safari and Chrome */
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .seatsMassageView_settingsButton {
+       width: 159px;
+       left: 154px;
+       top: 205px;
+       line-height: 49px;
+       z-index: 1;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .seatsMassageView_settingsButton2{
+       width: 50px;
+       left: 365px;
+       top: 205px;
+       line-height: 49px;
+       text-align: left !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .seatsMassageView_settingsButton3{
+       width: 50px;
+       left: 403px;
+       top: 130px;
+       line-height: 49px;
+       text-align: left !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .hide{
+       visibility: hidden;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_1 .captionMySettings{
+       top: 157px;
+       left: 138px;
+       width: 300px;
+       height: 90px;
+       border: 1px solid;
+       padding: 8px 13px 13px 13px;
+       font-size: 26px;
+}
+
+/* END HMI concept 6.1 */
+
+/* BEGIN HMI concept 6.2 */
+#seatsMassageView6_2 #settingsScreen .seatsMassageView6_2_seatLabel{
+       top: 13px;
+       left: 600px;
+       font-size: 24px;
+       width: 199px;
+       text-align: center;
+}
+#seatsMassageView6_2 .MultiContourSeat_customMassage .seatsMassageView6_2_seatLabel_custom{
+       top: 60px;
+       left: 300px !important;
+       font-size: 24px;
+       width: 199px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_2 .seatsMassageView_settingsButton {
+       width: 159px;
+       left: 154px;
+       top: 205px;
+       line-height: 49px;
+       z-index: 1;
+}
+#seatsMassageView6_2  .mySettingsPopUpTitle{
+       width: 143px;
+       height: 25px;
+       position: absolute;
+       top: 163px;
+       left: 216px !important;
+       background: gray;
+       text-align: center;
+       line-height: 25px;
+       font-size: 16px !important;
+       font-weight: bold;
+}
+#seatsMassageView6_2  .mySettingsLabel{
+       z-index: 100;
+       left: 102px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_2 .captionMySettings{
+       top: 157px;
+       left: 138px;
+       width: 300px;
+       height: 90px;
+       border: 1px solid;
+       padding: 8px 13px 13px 13px;
+       font-size: 26px;
+}
+#seatsMassageView6_2 #settingsScreen .durationButtons .quality,
+#seatsMassageView6_2 #settingsScreen .pauseButtons .quality {
+       width: 60px;
+}
+#seatsMassageView6_2 #settingsScreen .quality {
+       height: 35px;
+       width: 130px;
+       border: 1px solid #393939;
+       -webkit-border-radius: 3px;
+       border-radius: 3px;
+}
+#seatsMassageView6_2 #settingsScreen .btn-28 {
+       text-align: center;
+       line-height: 34px;
+}
+#seatsMassageView6_2   .settingsScreen {
+       width: 800px;
+       height: 368px;
+       top: -15px;
+       background: black;
+       visibility: hidden;
+}
+#seatsMassageView6_2   .settingsScreen2 {
+       width: 800px;
+       height: 368px;
+       top: -15px;
+       background: black;
+       visibility: hidden;
+}
+#seatsMassageView6_2 #settingsScreen .seats-message-actions{
+       height: 39px;
+       border: none;
+}
+
+#seatsMassageView6_2 #settingsScreen .button0 {
+       left: 0;
+}
+#seatsMassageView6_2 #settingsScreen .button1 {
+       left: 140px;
+}
+#seatsMassageView6_2 #settingsScreen .button2 {
+       left: 280px;
+}
+#seatsMassageView6_2 #settingsScreen .button3 {
+       left: 420px;
+}
+
+#seatsMassageView6_2 #settingsScreen .durationButtons .button0,
+#seatsMassageView6_2 #settingsScreen .pauseButtons .button0{
+       left: 0;
+}
+#seatsMassageView6_2 #settingsScreen .durationButtons .button1,
+#seatsMassageView6_2 #settingsScreen .pauseButtons .button1 {
+       left: 70px;
+}
+#seatsMassageView6_2 #settingsScreen .durationButtons .button2,
+#seatsMassageView6_2 #settingsScreen .pauseButtons .button2 {
+       left: 140px;
+}
+#seatsMassageView6_2 #settingsScreen .durationButtons .button3,
+#seatsMassageView6_2 #settingsScreen .pauseButtons .button3 {
+       left: 210px;
+}
+#seatsMassageView6_2 #settingsScreen .durationButtons .button4,
+#seatsMassageView6_2 #settingsScreen .pauseButtons .button4 {
+       left: 280px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_2 .control-11 {
+       top: 60px;
+       left: 350px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_2 .control-12 {
+       top: 105px;
+       left: 350px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_2 .control-13 {
+       top: 150px;
+       left: 350px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_2 .control-14 {
+       top: 230px;
+       left: 350px;
+}
+
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_2 .control-15 {
+       top: 275px;
+       left: 350px;
+}
+#seatsMassageView6_2 #settingsScreen2 .seats-message-1 {
+       left: 280px;
+       top: 110px;
+}
+
+#seatsMassageView6_2 #settingsScreen2 .seats-message-2 {
+       left: 280px;
+       top: 252px;
+}
+#seatsMassageView6_2  .seatsMassageView6_2_seatLabel{
+       top: 172px;
+       left: 45px;
+       font-size: 24px;
+       width: 199px;
+       text-align: center;
+}
+#seatsMassageView6_2  .MultiContourSeat_customMassage_caption {
+       width: 600px;
+       height: 28px;
+       line-height: 29px;
+       left: 74px;
+       font-size: 26px;
+}
+#seatsMassageView6_2 .seatsMassageView6_2_upperLabel {
+       top: 73px;
+       left: 615px !important;
+       font-size: 18px !important;
+}
+
+#seatsMassageView6_2 .seatsMassageView6_2_middleLabel {
+       top: 118px;
+       left: 615px !important;
+       font-size: 18px !important;
+}
+
+#seatsMassageView6_2 .seatsMassageView6_2_lowerLabel {
+       top: 163px;
+       left: 615px !important;
+       font-size: 18px !important;
+}
+
+#seatsMassageView6_2 .seatsMassageView6_2_frontLabel {
+       top: 243px;
+       left: 615px !important;
+       font-size: 18px !important;
+}
+#seatsMassageView6_2 .seatsMassageView6_2_rearLabel {
+       top: 287px;
+       left: 615px !important;
+       font-size: 18px !important;
+}
+#seatsMassageView6_2   .label {
+       font-size: 26px;
+       left: 20px;
+}
+#seatsMassageView6_2   .massageLabel {
+       top: 51px;
+}
+#seatsMassageView6_2   .pattern {
+       top: 91px;
+}
+#seatsMassageView6_2   .intensity {
+       top: 131px;
+}
+#seatsMassageView6_2   .speed {
+       top: 211px;
+}
+#seatsMassageView6_2   .duration {
+       top: 251px;
+}
+#seatsMassageView6_2   .pause {
+       top: 291px;
+}
+#seatsMassageView6_2   .editMenu {
+       width: 240px;
+       top: 12px;
+       text-align: center;
+       left: 70px;
+}
+#seatsMassageView6_2   .massageButtons {
+       top: 50px;
+       left: 240px;
+       width: 560px;
+}
+#seatsMassageView6_2   .massageButtons  img{
+       height: 34px;
+}
+#seatsMassageView6_2   .patternButtons {
+       top: 90px;
+       left: 240px;
+       width: 560px;
+}
+#seatsMassageView6_2   .intensityButtons{
+       top: 130px;
+       left: 240px;
+       width: 560px;
+}
+#seatsMassageView6_2   .intensityEditCustom{
+       top: 170px;
+       left: 520px;
+       width: 270px;
+       height: 34px;
+}
+#seatsMassageView6_2   .speedButtons {
+       top: 210px;
+       left: 240px;
+       width: 560px;
+}
+#seatsMassageView6_2   .durationButtons {
+       top: 250px;
+       left: 240px;
+       width: 560px;
+}
+#seatsMassageView6_2   .pauseButtons{
+       top: 290px;
+       left: 240px;
+       width: 560px;
+}
+#seatsMassageView6_2   .preview{
+       top: 330px;
+       left: 289px;
+       width: 214px;
+       height: 34px;
+}
+#seatsMassageView6_2 .settingsScreen2 .MultiContourSeat_customMassage_caption {
+       top: 14px;
+}
+#seatsMassageView6_2   .MultiContourSeat_customMassage_caption {
+       width: 600px;
+       height: 28px;
+       line-height: 29px;
+       left: 74px;
+       font-size: 26px;
+}
+#seatsMassageView6_2   .SettingsBlocks{
+       margin-left: auto;
+       margin-right: auto;
+       width: 315px;
+       height: 50px;
+       position: relative;
+       -webkit-transition: width 1s;
+}
+#seatsMassageView6_2 .MultiContourSeat_customMassage {
+       visibility: hidden;
+       background-color: #000;
+       z-index: 200;
+       width: 800px;
+       height: 345px;
+       position: absolute;
+       top: -60px;
+       left: -112px;
+       background-image: url('../images/settings/mcsBlockBackArrow6_2.png');
+       background-position: 39px 145px;
+       background-repeat: no-repeat;
+}
+#seatsMassageView6_2  .btn-48 {
+       line-height: 48px;
+       text-align: center;
+}
+#seatsMassageView6_2 .show{
+       visibility: visible !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_2 .seatsMassageView_settingsButtonNew{
+       width: 100px;
+       left: 270px;
+       bottom: 20px;
+       line-height: 49px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_2 .seatsMassageView_settingsButtonTrash{
+       width: 71px;
+       left: 446px;
+       bottom: 5px;
+       line-height: 49px;
+       height: 78px;
+       background-image: url("../images/settings/trash.png");
+       background-repeat: no-repeat;
+       background-size: contain;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_2 .seatsMassageView_settingsButtonSave{
+       width: 100px;
+       left: 480px;
+       bottom: 20px;
+       line-height: 49px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_2 .seatsMassageView_settingsBlock {
+       width: 100px;
+       top: 130px;
+       line-height: 49px;
+       text-align: center !important;
+       transition: left 1s;
+       -webkit-transition: left 1s; /* Safari and Chrome */
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_2 .seatsMassageView_settingsButton2{
+       width: 50px;
+       left: 365px;
+       top: 205px;
+       line-height: 49px;
+       text-align: left !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_2 .seatsMassageView_settingsButton3{
+       width: 50px;
+       left: 403px;
+       top: 130px;
+       line-height: 49px;
+       text-align: left !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView6_2 .hide{
+       visibility: hidden;
+}
+/* END HMI concept 6.2 */
+
+/* BEGIN HMI concept 7.1 */
+#seatsMassageView7_1_appendix .localBack{
+       background: url(../images/common/page-back-button.png) no-repeat center 12px,
+        url(../images/common/btn-48h.png);
+       width: 48px;
+       z-index: 5000;
+       left: 5px;
+       top: 59px;
+       visibility: hidden;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView7_1 .seatsMassageView_settingsButton2{
+       width: 50px;
+       left: 365px;
+       top: 205px;
+       line-height: 49px;
+       text-align: left !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView7_1 .seatsMassageView_settingsButton {
+       width: 159px;
+       left: 154px;
+       top: 205px;
+       line-height: 49px;
+       z-index: 1;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView7_1 .captionMySettings{
+       top: 157px;
+       left: 138px;
+       width: 300px;
+       height: 90px;
+       border: 1px solid;
+       padding: 8px 13px 13px 13px;
+       font-size: 26px;
+}
+#seatsMassageView7_1  .mySettingsPopUpTitle{
+       width: 143px;
+       height: 25px;
+       position: absolute;
+       top: 163px;
+       left: 216px !important;
+       background: gray;
+       text-align: center;
+       line-height: 25px;
+       font-size: 16px !important;
+       font-weight: bold;
+}
+#seatsMassageView7_1  .mySettingsLabel{
+       z-index: 100;
+       left: 102px;
+}
+#seatsMassageView7_1_appendix  .btn-48 {
+       line-height: 48px;
+       text-align: center;
+}
+#seatsMassageView7_1_appendix .seats-message-actions-3 {
+       top: 165px;
+       left: 59px;
+}
+#seatsMassageView7_1_appendix .show{
+       visibility: visible !important;
+}
+#seatsMassageView7_1_appendix{
+       z-index: 2003;
+}
+#seatsMassageView7_1_appendix .SeatsMassageDialogView {
+       visibility: hidden;
+       background-color: whiteSmoke;
+       width: 350px;
+       height: 368px;
+       position: absolute;
+       top: 56px;
+       left: 305px !important;
+       background: black;
+       border: #A6A6A6 solid 2px;
+       border-radius: 6px;
+       font-size: 18px;
+       font-family: Arial;
+}
+#seatsMassageView7_1_appendix .titleQuestion{
+       font-size: 21px;
+       font-family: Arial;
+       width: 350px;
+       text-align: center;
+       top: 25px;
+}
+#seatsMassageView7_1_appendix .question{
+       font-size: 18px;
+       font-family: Arial;
+       width: 350px;
+       text-align: center;
+       top: 65px;
+}
+#seatsMassageView7_1_appendix .titleAnswer{
+       font-size: 21px;
+       font-family: Arial;
+       width: 350px;
+       text-align: center;
+       top: 103px;
+}
+#seatsMassageView7_1_appendix .View1 .seats-message-actions-3{
+       top: 194px;
+       left: 7px;
+}
+#seatsMassageView7_1_appendix .View1 .titleQuestion{
+       left: 0px;
+       width: 500px;
+       top: 40px;
+}
+#seatsMassageView7_1_appendix .View1 .question{
+       left: 0px;
+       top: 90px;
+       text-align: center;
+       width: 500px;
+}
+#seatsMassageView7_1_appendix .View1 .titleAnswer{
+       left: 0px;
+       width: 500px;
+       top: 134px;
+}
+#seatsMassageView7_1_appendix .View1 .button0 {
+       left: 0;
+       top: 0 !important;
+}
+#seatsMassageView7_1_appendix .View1 .button1 {
+       left: 0;
+       top: 45px !important;
+}
+#seatsMassageView7_1_appendix .View1 .button2 {
+       left: 0;
+       top: 90px !important;
+}
+#seatsMassageView7_1_appendix .View1 .button3 {
+       left: 258px!important;
+       top: 0px !important;
+}
+#seatsMassageView7_1_appendix .View1 .button4 {
+       left: 258px !important;
+       top: 45px !important;
+}
+#seatsMassageView7_1_appendix .View1 .button5 {
+       left: 258px !important;
+       top: 90px !important;
+}
+#seatsMassageView7_1_appendix .View1 .btn-48 {
+       height: 35px !important;
+       line-height: 35px !important;
+}
+#seatsMassageView7_1_appendix .seatsMassageDialogView4 {
+       visibility: hidden;
+       font-size: 26px !important;
+       font-family: Arial;
+       font-size: 18px;
+       font-family: Arial;
+       left: 300px;
+       top: 140px;
+       width: 232px;
+       height: 127px;
+       background: white;
+       border-radius: 6px;
+       border: 1px solid gray;
+       color: black;
+       text-align: center;
+       padding: 10px;
+}
+#seatsMassageView7_1_appendix .seatsMassageDialogView5 {
+       visibility: hidden;
+       font-size: 26px !important;
+       font-family: Arial;
+       font-size: 18px;
+       font-family: Arial;
+       left: 300px;
+       top: 132px;
+       width: 326px;
+       height: 165px;
+       background: white;
+       border-radius: 6px;
+       border: 1px solid gray;
+       color: black;
+       text-align: center;
+       padding: 10px;
+}
+#seatsMassageView7_1_appendix .SeatsMassageDialogView.View1 {
+       visibility: hidden;
+       background-color: whiteSmoke;
+       width: 520px;
+       height: 368px;
+       position: absolute;
+       top: 56px;
+       left: 265px  !important;
+       background: black;
+       border: #A6A6A6 solid 2px;
+       border-radius: 6px;
+}
+#seatsMassageView7_1_appendix .SeatsMassageDialogView .button0 {
+       left: 0;
+       top: 0;
+}
+#seatsMassageView7_1_appendix .SeatsMassageDialogView .button1 {
+       left: 0;
+       top: 60px;
+}
+#seatsMassageView7_1_appendix .SeatsMassageDialogView .button2 {
+       left: 0;
+       top: 120px;
+}
+#seatsMassageView7_1_appendix .SeatsMassageDialogView .button3 {
+       left: 0;
+       top: 180px;
+}
+#seatsMassageView7_1_appendix .SeatsMassageDialogView .button{
+       width: 245px;
+       border-radius: 3px;
+       border: 1px solid #393939;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView7_1 .concept1_5Settings {
+       top: 200px;
+       left: 197px;
+       width: 138px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView7_1 .concept1_5Settings  span{
+       float: left;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView7_1 .concept1_5Settings  .ico{
+       float: left;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView7_1 .concept1_5Massage {
+       text-align: center;
+       height: 48px;
+       line-height: 48px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView7_1 .toogleButtonContainer .button1{
+       left: 50px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView7_1 .toogleButtonContainer .delim-0 {
+       left: 48px;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView7_1 .concept1_5SettingsScreen {
+       top: -60px;
+       left: 154px;
+       width: 291px;
+       height: 345px;
+       background: black;
+       z-index: 100;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView7_1 .btn-48 {
+       line-height: 48px;
+       text-align: center;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView7_1 .show{
+       visibility: visible !important;
+}
+#view_settings_vehicle_MultiContourSeat_Adjust #seatsMassageView7_1 .hide{
+       visibility: hidden;
+}
+/* END HMI concept 7.1 */
+
+ /* lumbars  */
+
+ /* driver  */
+
+#view_settings_vehicle_MultiContourSeat_driverSeat_cushion1 .active {
+       background: url(../images/settings/TopLumbar_WhiteOutline_driver.png) no-repeat;
+       width: 38px;
+       height: 29px;
+       top: 70px;
+       left: 22px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_driverSeat_cushion2 .active {
+       background: url(../images/settings/MiddleLumbar_WhiteOutline_driver.png) no-repeat;
+       width: 34px;
+       height: 30px;
+       top: 84px;
+       left: 18px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_driverSeat_cushion3 .active {
+       background: url(../images/settings/LowerLumbar_WhiteOutline_driver.png) no-repeat;
+       width: 33px;
+       height: 36px;
+       top: 99px;
+       left: 14px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_driverSeat_cushion4 .active {
+       background: url(../images/settings/lumbar_cushion_top-active.png) no-repeat;
+       width: 70px;
+       height: 70px;
+       top: 71px;
+       left: -2px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_driverSeat_cushion5 .active {
+       background: url(../images/settings/lumbar_cushion_bot-active.png) no-repeat;
+       width: 91px;
+       height: 59px;
+       top: 112px;
+       left: -37px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_driverSeat_cushion6 .active {
+       background: url(../images/settings/whiteOutline_driver-lumbar-all.png) no-repeat;
+       width: 47px;
+       height: 68px;
+       top: 70px;
+       left: 16px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_driverSeat_cushion7 .active{
+       background: url(../images/settings/Cushion_WhiteOutline_driver.png) no-repeat;
+       width: 74px;
+       height: 36px;
+       top: 119px;
+       left: -32px;
+       z-index: 1;
+}
+
+
+#view_settings_vehicle_MultiContourSeat_driverSeat_cushion1 .lumbar {
+       background: url(../images/settings/driver-lumbar-top.png) no-repeat;
+       width: 36px;
+       height: 31px;
+       top: 69px;
+       left: 22px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_driverSeat_cushion2 .lumbar {
+       background: url(../images/settings/driver-lumbar-mid.png) no-repeat;
+       width: 34px;
+       height: 31px;
+       top: 84px;
+       left: 17px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_driverSeat_cushion3 .lumbar {
+       background: url(../images/settings/driver-lumbar-low.png) no-repeat;
+       width: 31px;
+       height: 35px;
+       top: 99px;
+       left: 15px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_driverSeat_cushion4 .lumbar {
+       background: url(../images/settings/view_settings_vehicle_MultiContourSeat_adj1.png) no-repeat;
+       width: 70px;
+       height: 70px;
+       top: 68px;
+       left: -4px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_driverSeat_cushion5 .lumbar {
+       background: url(../images/settings/lumbar_cushion.png) no-repeat;
+       width: 91px;
+       height: 59px;
+       top: 111px;
+       left: -36px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_driverSeat_cushion6 .lumbar {
+       background: url(../images/settings/driver-lumbar-all.png) no-repeat;
+       width: 47px;
+       height: 68px;
+       top: 68px;
+       left: 12px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_driverSeat_cushion7 .lumbar {
+       background: url(../images/settings/view_settings_vehicle_MultiContourSeat_adj2.png) no-repeat;
+       width: 73px;
+       height: 37px;
+       top: 119px;
+       left: -30px;
+       opacity: 0;
+}
+
+/* passenger  */
+
+#view_settings_vehicle_MultiContourSeat_passengerSeat_cushion1 .active {
+       background: url(../images/settings/TopLumbar_WhiteOutline_passenger.png) no-repeat;
+       width: 38px;
+       height: 29px;
+       top: 70px;
+       left: 541px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_passengerSeat_cushion2 .active {
+       background: url(../images/settings/MiddleLumbar_WhiteOutline_passenger.png) no-repeat;
+       width: 34px;
+       height: 30px;
+       top: 84px;
+       left: 549px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_passengerSeat_cushion3 .active {
+       background: url(../images/settings/LowerLumbar_WhiteOutline_passenger.png) no-repeat;
+       width: 33px;
+       height: 36px;
+       top: 99px;
+       left: 555px;
+       z-index: 1;
+}
+
+
+#view_settings_vehicle_MultiContourSeat_passengerSeat_cushion4 .active {
+       background: url(../images/settings/lumbar_cushion_top_passenger-active.png) no-repeat;
+       width: 70px;
+       height: 70px;
+       top: 71px;
+       left: 535px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_passengerSeat_cushion5 .active {
+       background: url(../images/settings/lumbar_cushion_bot_passanger-active.png) no-repeat;
+       width: 91px;
+       height: 59px;
+       top: 112px;
+       left: 546px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_passengerSeat_cushion6 .active {
+       background: url(../images/settings/WhiteOutline_passenger-lumbar-all.png) no-repeat;
+       width: 47px;
+       height: 68px;
+       top: 70px;
+       left: 544px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_passengerSeat_cushion7 .active{
+       background: url(../images/settings/Cushion_WhiteOutline_passenger.png) no-repeat;
+       width: 74px;
+       height: 36px;
+       top: 120px;
+       left: 558px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_passengerSeat_cushion1 .lumbar {
+       background: url(../images/settings/passenger-lumbar-top.png) no-repeat;
+       width: 37px;
+       height: 31px;
+       top: 68px;
+       left: 542px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_passengerSeat_cushion2 .lumbar {
+       background: url(../images/settings/passenger-lumbar-mid.png) no-repeat;
+       width: 34px;
+       height: 31px;
+       top: 84px;
+       left: 550px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_passengerSeat_cushion3 .lumbar {
+       background: url(../images/settings/passenger-lumbar-low.png) no-repeat;
+       width: 32px;
+       height: 35px;
+       top: 99px;
+       left: 555px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_passengerSeat_cushion4 .lumbar {
+       background: url(../images/settings/view_settings_vehicle_MultiContourSeat_adj1_passenger.png) no-repeat;
+       width: 69px;
+       height: 69px;
+       top: 70px;
+       left: 535px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_passengerSeat_cushion5 .lumbar {
+       background: url(../images/settings/passenger_lumbar_cushion.png) no-repeat;
+       width: 91px;
+       height: 59px;
+       top: 111px;
+       left: 546px;
+       opacity: 0;
+}
+
+
+#view_settings_vehicle_MultiContourSeat_passengerSeat_cushion6 .lumbar {
+       background: url(../images/settings/passenger-lumbar-all.png) no-repeat;
+       width: 47px;
+       height: 68px;
+       top: 68px;
+       left: 540px;
+       opacity: 0;
+}
+
+
+#view_settings_vehicle_MultiContourSeat_passengerSeat_cushion7 .lumbar {
+       background: url(../images/settings/view_settings_vehicle_MultiContourSeat_adj2_passenger.png) no-repeat;
+       width: 72px;
+       height: 37px;
+       top: 119px;
+       left: 559px;
+       opacity: 0;
+}
+
+
+/* CUSTOM MASSAGE  */
+
+/* Driver cushions  */
+
+#view_settings_vehicle_MultiContourSeat_customMassage_driverSeat_cushion6 .active {
+       background: url(../images/settings/TopLumbar_WhiteOutline_driver.png) no-repeat;
+       width: 38px;
+       height: 29px;
+       top: 70px;
+       left: 22px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_driverSeat_cushion7 .active {
+       background: url(../images/settings/MiddleLumbar_WhiteOutline_driver.png) no-repeat;
+       width: 34px;
+       height: 30px;
+       top: 84px;
+       left: 18px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_driverSeat_cushion8 .active {
+       background: url(../images/settings/LowerLumbar_WhiteOutline_driver.png) no-repeat;
+       width: 33px;
+       height: 36px;
+       top: 99px;
+       left: 14px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_driverSeat_cushion9 .active {
+       background: url(../images/settings/driver-lumbar-m-top-selected.png) no-repeat;
+       width: 77px;
+       height: 41px;
+       top: 119px;
+       left: -30px;
+       z-index: 1;
+       opacity: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_driverSeat_cushion10 .active {
+       background: url(../images/settings/driver-lumbar-m-bottom-selected.png) no-repeat;
+       width: 77px;
+       height: 41px;
+       top: 119px;
+       left: -30px;
+       z-index: 1;
+       opacity: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_driverSeat_cushion6 .lumbar {
+       background: url(../images/settings/driver-lumbar-top.png) no-repeat;
+       width: 36px;
+       height: 31px;
+       top: 69px;
+       left: 22px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_driverSeat_cushion7 .lumbar {
+       background: url(../images/settings/driver-lumbar-mid.png) no-repeat;
+       width: 34px;
+       height: 31px;
+       top: 84px;
+       left: 17px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_driverSeat_cushion8 .lumbar {
+       background: url(../images/settings/driver-lumbar-low.png) no-repeat;
+       width: 31px;
+       height: 35px;
+       top: 99px;
+       left: 15px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_driverSeat_cushion9 .lumbar {
+       background: url(../images/settings/driver-lumbar-m-top.png) no-repeat;
+       width: 73px;
+       height: 37px;
+       top: 119px;
+       left: -30px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_driverSeat_cushion10 .lumbar {
+       background: url(../images/settings/driver-lumbar-m-bottom.png) no-repeat;
+       width: 73px;
+       height: 37px;
+       top: 119px;
+       left: -30px;
+       opacity: 0;
+}
+
+/* Passenger cushions  */
+
+#view_settings_vehicle_MultiContourSeat_customMassage_passengerSeat_cushion6 .active {
+       background: url(../images/settings/TopLumbar_WhiteOutline_passenger.png) no-repeat;
+       width: 38px;
+       height: 29px;
+       top: 70px;
+       left: 541px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_passengerSeat_cushion7 .active {
+       background: url(../images/settings/MiddleLumbar_WhiteOutline_passenger.png) no-repeat;
+       width: 34px;
+       height: 30px;
+       top: 84px;
+       left: 549px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_passengerSeat_cushion8 .active {
+       background: url(../images/settings/LowerLumbar_WhiteOutline_passenger.png) no-repeat;
+       width: 33px;
+       height: 36px;
+       top: 99px;
+       left: 555px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_passengerSeat_cushion9 .active {
+       background: url(../images/settings/passenger-lumbar-m-top-selected.png) no-repeat;
+       width: 77px;
+       height: 41px;
+       top: 120px;
+       left: 558px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_passengerSeat_cushion10 .active {
+       background: url(../images/settings/passenger-lumbar-m-bottom-selected.png) no-repeat;
+       width: 77px;
+       height: 41px;
+       top: 120px;
+       left: 558px;
+       z-index: 1;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_passengerSeat_cushion6 .lumbar {
+       background: url(../images/settings/passenger-lumbar-top.png) no-repeat;
+       width: 36px;
+       height: 31px;
+       top: 70px;
+       left: 541px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_passengerSeat_cushion7 .lumbar {
+       background: url(../images/settings/passenger-lumbar-mid.png) no-repeat;
+       width: 34px;
+       height: 31px;
+       top: 84px;
+       left: 549px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_passengerSeat_cushion8 .lumbar {
+       background: url(../images/settings/passenger-lumbar-low.png) no-repeat;
+       width: 31px;
+       height: 35px;
+       top: 99px;
+       left: 555px;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_passengerSeat_cushion9 .lumbar {
+       background: url(../images/settings/passenger-lumbar-m-top.png) no-repeat;
+       width: 77px;
+       height: 41px;
+       top: 120px;
+       left: 558px;;
+       opacity: 0;
+}
+
+#view_settings_vehicle_MultiContourSeat_customMassage_passengerSeat_cushion10 .lumbar {
+       background: url(../images/settings/passenger-lumbar-m-bottom.png) no-repeat;
+       width: 77px;
+       height: 41px;
+       top: 120px;
+       left: 558px;
+       opacity: 0;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/media.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/media.css
new file mode 100644 (file)
index 0000000..7853cac
--- /dev/null
@@ -0,0 +1,2946 @@
+/*MEDIA*/
+
+/* Backgrpund for active toogleButton*/
+#media .toogleButtonContainer .active {
+       background: url(../images/media/bcs-item_bg_act.png);
+}
+/*LEFT MENU*/
+
+
+#media_leftmenu {
+       z-index: 301;
+       position: absolute;
+       top: 90px;
+       left: 0px;
+       width: 150px;
+       height: 300px;
+       background: #333;
+    display:none;
+}
+
+#media_directTune{
+       z-index: 503;
+       position: absolute;
+       top: 290px;
+       left: 165px;
+       width: 468px;
+       height: 100px;
+       border: 1px solid #393939;
+       -webkit-border-radius: 3px;
+       visibility: hidden;
+}
+
+/* Direct Tune */
+#media_directTune_tuneButtons , #media_directTune_sirius_tuneButtons {
+       width: 390px;
+       height: 99px;
+
+}
+
+#media_directTune_keyBack {
+       position: absolute !important;
+       right: 0px;
+       top:0px;
+}
+
+#media_directTune_keyEnter {
+       position: absolute !important;
+       right: 0px;
+       bottom: 0px;
+}
+
+#media_directTune .key {
+       position: relative;
+       float: left;
+       width: 77px;
+       height: 50px;
+       line-height: 50px;
+       text-align: center;
+       font-size: 20px;
+       border-right: 1px solid #393939;
+       cursor: pointer;
+       background: url("../images/media/direct_tune_bg_s.png") repeat;
+}
+
+#media_directTune .key.pressed {
+       background: url("../images/media/direct_tune_bg_s_pressed.png") repeat !important;
+}
+
+/*AM*/
+
+
+.info_wrapper, .hdInfo{
+       position:relative;
+}
+#media_amButton {
+       top: 10px;
+       display: none;
+}
+
+#media_amButton div {
+       width: 22px;
+       height: 18px;
+       left: 120px;
+       bottom: -12px;
+       position: relative;
+       margin-top: -10px;
+}
+
+#media_amButton div.small_ind_def {
+       background: url(../images/media/passive_led.png) no-repeat;
+}
+
+#media_amButton div.small_ind_active {
+       background: url(../images/media/active_led.png) no-repeat;
+}
+
+/*FM*/
+
+#media_fmButton {
+       top: 20px;
+       display: none;
+}
+
+#media_fmButton div {
+       width: 22px;
+       height: 18px;
+       left: 120px;
+       bottom: -9px;
+       position: relative;
+       margin-top: -10px;
+}
+
+#media_fmButton div.small_ind_def {
+       background: url(../images/media/passive_led.png) no-repeat;
+}
+
+#media_fmButton div.small_ind_active {
+       background: url(../images/media/active_led.png) no-repeat;
+}
+
+/*SIRIUS*/
+
+#media_sirius{
+       z-index:502;
+}
+
+#media_siriusButton {
+       top: 30px;
+       display: none;
+}
+
+#media_siriusButton div {
+       width: 22px;
+       height: 18px;
+       left: 120px;
+       bottom: -9px;
+       position: relative;
+       margin-top: -10px;
+}
+
+#media_siriusButton div.small_ind_def {
+       background: url(../images/media/passive_led.png) no-repeat;
+}
+
+#media_siriusButton div.small_ind_active {
+       background: url(../images/media/active_led.png) no-repeat;
+}
+
+/*CD,USB*/
+
+#media_cdButton, #media_usbButton {
+       font-size: 18px;
+       padding-left: 48px;
+       line-height: 48px;
+}
+
+#media_options_view.help-mode .toogleButtonContainer{
+       border:none !important;
+}
+
+#media_options_back_btn{
+       top:11px;
+}
+
+#media_option_title_header{
+       top:19px;
+}
+
+#media_options_view.usb .lablePlusButton .button {
+       width: 148px;
+       text-align: center;
+}
+
+#media_options_view.usb .lablePlusButton .button span {
+       margin-left: 0px;
+}
+
+#media_options_view.fr.am #media_options_list_item1 .label,
+#media_options_view.fr.fm #media_options_list_item1 .label,
+#media_options_view.fr.sirius #media_options_list_item1 .label {
+       line-height: 20px;
+       width: 346px;
+       margin: 3px 0 0 13px;
+}
+
+#media_options_view.fr.am #media_options_list_item1 .label span,
+#media_options_view.fr.fm #media_options_list_item1 .label span,
+#media_options_view.fr.sirius #media_options_list_item1 .label span {
+       margin: 0 0 0 0;
+}
+
+/*SD*/
+
+#media_sdButton {
+       font-size: 18px;
+       padding-left: 48px;
+       line-height: 48px;
+       display: block;
+}
+
+#media_sdButton.displayed {
+       display: none !important;
+}
+
+
+#media_options_view.sd .lablePlusButton .button {
+       width: 148px;
+       text-align: center;
+}
+
+#media_options_view.sd .lablePlusButton .button span {
+       margin-left: 0px;
+}
+
+
+/*Bluetooth*/
+
+#media_btButton {
+       font-size: 18px;
+       padding-left: 48px;
+       line-height: 48px;
+       display: block;
+}
+
+#media_btButton.displayed {
+       display: none !important;
+}
+
+/*AVIN*/
+
+#media_avinButton {
+       font-size: 18px;
+       padding-left: 48px;
+       line-height: 48px;
+       display: block;
+}
+
+#media_avinButton.displayed {
+       display: none !important;
+}
+/**SDL*/
+
+#media_sdlButton {
+       font-size: 18px;
+       line-height: 48px;
+       display: block;
+       overflow: hidden;
+       text-overflow: ellipsis;
+}
+
+#media_sdlButton.displayed {
+       display: none !important;
+}
+
+#media_sdlButton span {
+       margin-left: 50px;
+}
+
+/*SCROLL DOWN*/
+
+#media_scrolldownButton {
+       top: 30px;
+       display: none;
+}
+
+#media_scrolldownButton img {
+       left: 50px;
+}
+
+/*SCROLL UP*/
+
+#media_scrollupButton {
+       display: block;
+}
+
+#media_scrollupButton.displayed {
+       display: none !important;
+}
+
+#media_scrollupButton img {
+       left: 50px;
+}
+
+.displayed {
+       display: block !important;
+}
+
+#media_status {
+       bottom: 0px;
+       left: 0px;
+       font-size: 21px;
+       width: 324px;
+       height: 48px;
+       cursor: pointer;
+       background: url(../images/common/media-status-bg.png) no-repeat;
+       z-index: 1;
+    display:none;
+}
+
+#media_status_homestatus {
+       position: absolute;
+       visibility: hidden;
+       width: 100%;
+       line-height: 50px;
+}
+#media_status_homestatus span {
+       padding-left: 11px;
+}
+
+.ls_border {
+       z-index: 201;
+       position: absolute;
+       top: -3px;
+       left: 0px;
+       width: 153px;
+       height: 306px;
+       background:url(../images/common/ls_border.png) no-repeat;
+}
+
+.media-ls-items {
+       position: relative;
+       width: 150px;
+       height: 300px;
+}
+
+.media-ls-item {
+       z-index: 201;
+       position: relative;
+       height: 50px;
+       cursor: pointer;
+       background: url(../images/media/ls-item_bg.png) no-repeat;
+}
+
+.media-ls-item.active_state {
+       background: url(../images/media/ls-item_bg_act.png) no-repeat !important;
+}
+
+.media-ls-item > .bg {
+       z-index: 201;
+       position: absolute;
+       top: 0px;
+       left: 0px;
+       width: 150px;
+       height: 50px;
+}
+
+.media-ls-item > .ico {
+       z-index: 299;
+       position: absolute;
+       left: 0px;
+       width: 50px;
+       height: 50px;
+}
+
+.media-ls-item > .ico.more {
+       left: 50px;
+}
+
+.media-ls-item > p {
+       z-index: 298;
+       position: absolute;
+       left: 48px;
+       width: 86px;
+       height: 50px;
+       font-size: 18px;
+       line-height: 50px;
+       white-space: nowrap;
+       overflow: hidden;
+}
+
+.media-ls-item > .led {
+       z-index: 299;
+       position: absolute;
+       top: 0px;
+       right: 8px;
+       width: 24px;
+       height: 50px;
+}
+
+.media-ls-item.empty {
+       background: #333333;
+}
+
+.right-stock {
+       z-index: 200;
+       position: relative;
+       margin-top: 90px;
+       margin-right: 4px;
+       float: right;
+       width: 150px;
+       border: 1px solid #393939;
+       border-bottom: none;
+       -webkit-border-radius: 3px;
+}
+
+
+.right-stock-bt {
+       z-index: 200;
+       position: absolute;
+       top: 35px;
+       right: -151px;
+       width: 150px;
+       border: 1px solid #393939;
+       border-bottom: none;
+       -webkit-border-radius: 3px;
+}
+
+.right-menu-fm {
+       z-index: 200;
+       position: relative;
+       margin-top: -154px;
+       margin-right: -162px;
+       float: right;
+       width: 150px;
+       border: 1px solid #393939;
+       border-bottom: none;
+       -webkit-border-radius: 3px;
+}
+
+.right-stock .ico, .right-menu-fm .ico {
+       opacity: 1 !important;
+}
+
+.rs-item {
+       position: relative;
+       width: 135px;
+       height: 49px;
+       cursor: pointer;
+       border-bottom: 1px solid #333;
+       font-size: 18px;
+       line-height: 46px;
+       padding-left: 15px;
+}
+
+.rs-item.notpressed {
+       background: url(../images/list/list_item_bg.png) repeat-x;
+}
+
+.rs-item.pressed {
+       background: url(../images/list/list_item_pressed.png) repeat-x !important;
+}
+
+.led-hd {
+       height: 32px !important;
+       width: 19px !important;
+       top: 8px !important;
+       left: 116px;
+}
+
+.rs-item > .ico {
+       z-index: 202;
+       position: absolute;
+       top: 0px;
+       right: 10px;
+       width: 24px;
+       height: 50px;
+}
+
+#media_rightmenu_optionButton.disabled img {
+       opacity: 0.3 !important;
+}
+
+.bcs_border {
+       z-index: 299;
+       position: absolute;
+       top: 0px;
+       left: 0px;
+       width: 466px;
+       height: 98px;
+       border: 1px solid #393939;
+       -webkit-border-radius: 3px;
+}
+
+.bcs_divider1 {
+       z-index: 298;
+       position: absolute;
+       top: 0px;
+       left: 154px;
+}
+
+.bcs_divider2 {
+       z-index: 298;
+       position: absolute;
+       top: 0px;
+       left: 310px;
+}
+
+.main-preset-buttons-wraper {
+       position: relative;
+       width: 468px;
+       height: 100px;
+       float: left;
+       left: 165px;
+       top: 290px;
+       z-index: 503;
+}
+
+.main-preset-buttons-wraper .preset-items {
+       position: relative;
+       width: 467px;
+       height: 99px;
+       border: 1px solid #393939;
+       -moz-border-radius: 2px;
+       -webkit-border-radius: 2px;
+       z-index:1;
+}
+
+.main-preset-buttons-wraper .preset-item {
+       position: relative;
+       float: left;
+       width: 155px;
+       height: 49px;
+       cursor: pointer;
+}
+
+.main-preset-buttons-wraper .preset-item.a0 {
+       background: url(../images/media/bcs-item_bgL.png) no-repeat;
+       border-right: 1px solid #393939;
+       border-bottom: 1px solid #393939;
+}
+
+.main-preset-buttons-wraper .preset-item.a0.pressed {
+       background: url(../images/media/bcs-item_bgL_pressed.png) no-repeat;
+}
+
+.main-preset-buttons-wraper .preset-item.a0.active {
+       background: url(../images/media/bcs-item_bg_act.png) no-repeat;
+}
+
+.main-preset-buttons-wraper .preset-item.a1 {
+       background: url(../images/media/bcs-item_bgS.png) no-repeat;
+       border-right: 1px solid #393939;
+       border-bottom: 1px solid #393939;
+       width: 157px;
+}
+
+.main-preset-buttons-wraper .preset-item.a1.pressed {
+       background: url(../images/media/bcs-item_bgS_pressed.png) no-repeat;
+       width: 157px;
+}
+
+.main-preset-buttons-wraper .preset-item.a1.active {
+       background: url(../images/media/bcs-item_bg_act.png) repeat;
+}
+
+.main-preset-buttons-wraper .preset-item.a2 {
+       background: url(../images/media/bcs-item_bgR.png) no-repeat;
+       border-bottom: 1px solid #393939;
+       width: 153px;
+}
+
+.main-preset-buttons-wraper .preset-item.a2.pressed {
+       background: url(../images/media/bcs-item_bgR_pressed.png) no-repeat;
+}
+
+.main-preset-buttons-wraper .preset-item.a2.active {
+       background: url(../images/media/bcs-item_bg_act.png) no-repeat;
+}
+
+.main-preset-buttons-wraper .preset-item.a3 {
+       background: url(../images/media/bcs-item_bgL.png) no-repeat;
+       border-right: 1px solid #393939;
+}
+
+.main-preset-buttons-wraper .preset-item.a3.pressed {
+       background: url(../images/media/bcs-item_bgL_pressed.png) no-repeat;
+}
+
+.main-preset-buttons-wraper .preset-item.a3.active {
+       background: url(../images/media/bcs-item_bg_act.png) no-repeat;
+}
+
+.main-preset-buttons-wraper .preset-item.a4 {
+       background: url(../images/media/bcs-item_bgS.png) no-repeat;
+       border-right: 1px solid #393939;
+       width: 157px;
+}
+
+.main-preset-buttons-wraper .preset-item.a4.pressed {
+       background: url(../images/media/bcs-item_bgS_pressed.png) no-repeat;
+       width: 157px;
+}
+
+.main-preset-buttons-wraper .preset-item.a4.active {
+       background: url(../images/media/bcs-item_bg_act.png) repeat;
+}
+
+.main-preset-buttons-wraper .preset-item.a5 {
+       background: url(../images/media/bcs-item_bgR.png) no-repeat;
+       width: 153px;
+}
+
+.main-preset-buttons-wraper .preset-item.a5.pressed {
+       background: url(../images/media/bcs-item_bgR_pressed.png) no-repeat;
+}
+
+.main-preset-buttons-wraper .preset-item.a5.active {
+       background: url(../images/media/bcs-item_bg_act.png) no-repeat;
+}
+
+.main-preset-buttons-wraper .preset-item > .bg {
+       z-index: 201;
+       position: absolute;
+       top: 0px;
+       left: 0px;
+       width: 155px;
+       height: 49px;
+}
+
+.main-preset-buttons-wraper .preset-item > span {
+       z-index: 202;
+       display: block;
+       position: absolute;
+       left: 10px;
+       width: 30px;
+       height: 50px;
+       font-size: 32px;
+       line-height: 50px;
+       white-space: nowrap;
+       overflow: hidden;
+       color: #999;
+}
+
+.main-preset-buttons-wraper .preset-item > p {
+       z-index: 202;
+       position: absolute;
+       left: 40px;
+       width: 100px;
+       height: 50px;
+       font-size: 18px;
+       line-height: 50px;
+       white-space: nowrap;
+       overflow: hidden;
+}
+
+.home-preset-buttons-wraper {
+       top: 82px;
+       left: 34px;
+       z-index: 50;
+}
+
+.home-preset-buttons-wraper .preset-items {
+       -webkit-border-radius: 3px;
+       -moz-border-radius: 3px;
+       border-radius: 3px;
+       border: 1px solid #393939;
+       width: 328px;
+       height: 79px;
+}
+
+#home_presets_yellow_box {
+       -webkit-border-radius: 3px;
+       -moz-border-radius: 3px;
+       border-radius: 3px;
+       border: 1px solid #393939;
+       width: 328px;
+       height: 79px;
+       cursor:pointer;
+       background: none;
+}
+#home_presets_yellow_box .home-help-preset-buttons-wraper {
+       top: 82px;
+       left: 34px;
+       z-index: 50;
+}
+.home-preset-buttons-wraper .preset-item {
+       position: relative;
+       float: left;
+       width: 109px;
+       height: 39px;
+       cursor: pointer;
+       text-align: center;
+       line-height: 39px;
+}
+
+.home-preset-buttons-wraper .preset-item.a0 {
+       background: url(../images/media/h-media-l-bg.png) no-repeat;
+       border-right: 1px solid #393939;
+       border-bottom: 1px solid #393939;
+}
+
+.home-preset-buttons-wraper .preset-item.a0.pressed {
+       background: url(../images/media/h-media-l-bg-pressed.png) no-repeat;
+}
+
+.home-preset-buttons-wraper .preset-item.a0.active {
+       background: url(../images/media/h-media-actbg.png) repeat;
+}
+
+.home-preset-buttons-wraper .preset-item.a1 {
+       background: url(../images/media/h-media-sbg.png) no-repeat;
+       border-right: 1px solid #393939;
+       border-bottom: 1px solid #393939;
+}
+
+.home-preset-buttons-wraper .preset-item.a1.pressed {
+       background: url(../images/media/h-media-sbg-pressed.png) no-repeat;
+}
+
+.home-preset-buttons-wraper .preset-item.a1.active {
+       background: url(../images/media/h-media-actbg.png) repeat;
+}
+
+.home-preset-buttons-wraper .preset-item.a2 {
+       background: url(../images/media/h-media-rbg.png) no-repeat;
+       border-bottom: 1px solid #393939;
+       width: 108px;
+}
+
+.home-preset-buttons-wraper .preset-item.a2.pressed {
+       background: url(../images/media/h-media-rbg-pressed.png) no-repeat;
+}
+
+.home-preset-buttons-wraper .preset-item.a2.active {
+       background: url(../images/media/h-media-actbg.png) no-repeat;
+}
+
+.home-preset-buttons-wraper .preset-item.a3 {
+       background: url(../images/media/h-media-l-bg.png) no-repeat;
+       border-right: 1px solid #393939;
+}
+
+.home-preset-buttons-wraper .preset-item.a3.pressed {
+       background: url(../images/media/h-media-l-bg-pressed.png) no-repeat;
+}
+
+.home-preset-buttons-wraper .preset-item.a3.active {
+       background: url(../images/media/h-media-actbg.png) repeat;
+}
+
+.home-preset-buttons-wraper .preset-item.a4 {
+       background: url(../images/media/h-media-sbg.png) no-repeat;
+       border-right: 1px solid #393939;
+}
+
+.home-preset-buttons-wraper .preset-item.a4.pressed {
+       background: url(../images/media/h-media-sbg-pressed.png) no-repeat;
+}
+
+.home-preset-buttons-wraper .preset-item.a4.active {
+       background: url(../images/media/h-media-actbg.png) repeat;
+}
+
+.home-preset-buttons-wraper .preset-item.a5 {
+       background: url(../images/media/h-media-rbg.png) no-repeat;
+       width: 108px;
+}
+
+.home-preset-buttons-wraper .preset-item.a5.pressed {
+       background: url(../images/media/h-media-rbg-pressed.png) no-repeat;
+}
+
+.home-preset-buttons-wraper .preset-item.a5.active {
+       background: url(../images/media/h-media-actbg.png) repeat;
+}
+
+.bc-stock-numpad {
+       z-index: 200;
+       position: absolute;
+       top: 290px;
+       left: 165px;
+       width: 467px;
+       height: 99px;/*background:url("../images/media/btn_bg.png") repeat;*/
+       border-top: 1px solid #393939;
+       border-bottom: 1px solid #393939;
+       border-left: 1px solid #393939;
+       -webkit-border-radius: 3px;
+       background: #000;
+}
+
+.media-antenna {
+       width: 50px;
+       height: 50px;
+       background: url(../images/media/ico_antenna.png) no-repeat;
+       right: 50px;
+       top: 0px;
+}
+
+.media-hdico {
+       background: url(../images/home/hd-radio-ico.png) no-repeat;
+       width: 28px;
+       height: 28px;
+       right: 55px;
+       top: 10px;
+}
+
+.hd-holder {
+       font-size: 24px;
+}
+
+.sir-ico {
+       background: url(../images/media/ico_dog.png) no-repeat;
+       width: 50px;
+       height: 50px;
+       top: 0px;
+       right: 50px;
+}
+
+.bc_divider {
+       z-index: 202;
+       position: absolute;
+       top: 0px;
+       width: 4px;
+       height: 100px;
+       background: url("../images/media/bcs-divider.png") no-repeat;
+}
+
+.bc_divider.pos1 {
+       left: 76px;
+}
+
+.bc_divider.pos2 {
+       left: 154px;
+}
+
+.bc_divider.pos3 {
+       left: 232px;
+}
+
+.bc_divider.pos4 {
+       left: 310px;
+}
+
+.bc_divider.pos5 {
+       left: 388px;
+}
+
+.bc_divider_big {
+       z-index: 202;
+       position: absolute;
+       top: 0px;
+       width: 4px;
+       height: 100px;
+       background: url("../images/media/divider_big.png") no-repeat;
+}
+
+.bc_divider_big.pos1 {
+       left: 154px;
+}
+
+.bc_divider_big.pos2 {
+       left: 310px;
+}
+
+.bc-item {
+       position: relative;
+       float: left;
+       width: 77px;
+       height: 50px;
+       line-height: 50px;
+       text-align: center;
+       font-size: 20px;
+       background: url(../images/media/direct_tune_bg_s.png) no-repeat;
+       border-right: 1px solid #393939;
+       cursor: pointer;
+}
+
+.bc-item.pressed {
+       background: url(../images/media/direct_tune_bg_s_pressed.png) no-repeat;
+}
+
+.bc-item.upline {
+       border-bottom: 1px solid #393939;
+       height: 49px
+}
+
+.bc-item.l {
+       background: url(../images/media/direct_tune_bg_l.png) no-repeat;
+}
+
+.bc-item.l.pressed {
+       background: url(../images/media/direct_tune_bg_l_pressed.png) no-repeat;
+}
+
+.bc-item.r {
+       background: url(../images/media/direct_tune_r_bg.png) no-repeat;
+       width: 78px;
+       border-right: none;
+}
+
+.bc-item.r.pressed {
+       background: url(../images/media/direct_tune_r_bg_pressed.png) no-repeat;
+}
+
+.bc-item2 {
+       position: relative;
+       float: left;
+       width: 156px;
+       height: 50px;
+       line-height: 50px;
+       font-size: 20px;
+}
+
+.bc-item2.active {
+       background: url("../images/media/bcs-item_bg_act.png") no-repeat;
+}
+
+.bc-item2 > span {
+       z-index: 202;
+       display: block;
+       position: absolute;
+       left: 10px;
+       width: 30px;
+       height: 50px;
+       font-size: 32px;
+       line-height: 50px;
+       white-space: nowrap;
+       overflow: hidden;
+}
+
+.bc-item2 > p {
+       z-index: 202;
+       position: absolute;
+       left: 40px;
+       width: 100px;
+       height: 50px;
+       font-size: 18px;
+       line-height: 50px;
+       white-space: nowrap;
+       overflow: hidden;
+}
+
+.bc-item-big {
+       position: relative;
+       float: left;
+       width: 156px;
+       height: 100px;
+       line-height: 100px;
+       text-align: center;
+       font-size: 20px;
+}
+
+.bc-item-big.prevcd, .bc-item-big.prevusb, .bc-item-big.prevsd, .bc-item-big.prevblue {
+       width: 155px;
+       height: 98px;
+       border-right: 1px solid #393939;
+       cursor: pointer;
+       background: url(../images/media/cd-prev-btn.png) no-repeat;
+}
+
+.bc-item-big.prevcd.pressed, .bc-item-big.prevusb.pressed, .bc-item-big.prevsd.pressed, .bc-item-big.prevblue.pressed {
+       background: url(../images/media/cd-prev-btn_pressed.png) no-repeat;
+}
+
+.bc-item-big.playcd {
+       width: 157px;
+       height: 98px;
+       border-right: 1px solid #393939;
+       cursor: pointer;
+       background: url(../images/media/cd_play_btn.png) no-repeat;
+}
+
+.playIcon {
+       position: absolute;
+       left: 66px;
+}
+
+.playIcon.hideicon {
+       visibility: hidden;
+}
+
+.playIcon.showicon {
+       visibility: visible;
+}
+
+.bc-item-big.playcd.pressed, .bc-item-big.playusb.pressed, .bc-item-big.playsd.pressed, .bc-item-big.playblue.pressed {
+       background: url(../images/media/cd_play_btn_pressed.png) no-repeat;
+}
+
+.bc-item-big.nextcd, .bc-item-big.nextusb, .bc-item-big.nextsd, .bc-item-big.nextblue {
+       width: 154px;
+       height: 98px;
+       cursor: pointer;
+       background: url(../images/media/cd-next-btn.png) no-repeat;
+}
+
+.bc-item-big.nextcd.pressed, .bc-item-big.nextusb.pressed, .bc-item-big.nextsd.pressed, .bc-item-big.nextblue.pressed {
+       background: url(../images/media/cd-next-btn_pressed.png) no-repeat;
+}
+
+#bt-bg {
+       position: relative;
+       float: left;
+       margin-left: 10px;
+       margin-top: -8px;
+}
+
+#bt-dis-controls {
+       background: url(../images/media/disabled_player_controls.png) no-repeat;
+       width: 470px;
+       height: 100px;
+       position: relative;
+       bottom: 17px;
+       float: left;
+       margin-left: 13px;
+}
+
+#avin-line{
+       z-index: 200;
+       position: relative;
+       width: 151px;
+       height: 297px;
+       margin-top: 100px;
+       margin-left: 171px;
+}
+
+.player_controlls {
+       z-index: 199;
+       position: absolute;
+       top: 237px;
+       left: 13px;
+       width: 468px;
+       height: 99px;
+       background: url("../images/media/btn_bg.png") repeat;
+       border: 1px solid #393939;
+       -webkit-border-radius: 3px;
+}
+
+#sdl_view_container .track-info{
+       left: 150px;
+       top: -600px;
+}
+
+#sdl_view_container .list-content{
+       border: none;
+}
+
+#sdl_view_container .list-item {
+       position: relative;
+       width: 100%;
+       height: 48px;
+       font-size: 20px;
+       line-height: 50px;
+       border: 1px solid #393939;
+}
+
+.track-info {
+       z-index: 199;
+       position: absolute;
+       left: 13px;
+       width: 470px;
+       height: 190px;
+}
+
+.track-info > .total {
+       position: absolute;
+       top: 30px;
+       left: 10px;
+       width: 300px;
+       text-align: left;
+       font-size: 20px;
+       color: #999999;
+}
+
+.track-info > .title {
+       top: 110px;
+       font-size: 38px;
+       left: 7px;
+}
+
+.track-info > .track-number {
+       top: 153px;
+       font-size: 26px;
+       left: 10px;
+}
+
+.track-info > .time {
+       top: 190px;
+       font-size: 26px;
+       left: 10px;
+}
+
+.track-info > .divider_o {
+       top: 65px;
+}
+
+.track-info > .device {
+       position: absolute;
+       top: 30px;
+       left: 10px;
+       width: 300px;
+       text-align: left;
+       font-size: 20px;
+       color: #999999;
+}
+
+
+
+#cd_logo{
+       position: absolute;
+       top: 90px;
+       right: 10px;
+       border: 1px solid #393939;
+       -webkit-border-radius: 2px;
+       -moz-border-radius: 2px;
+       width: 109px;
+       height: 109px;
+       background: url(../images/media/small-lazerhorse-image.png) no-repeat;
+       display:none;
+}
+
+#cd_logo.helpmode{
+       top:86px;
+       right:5px;
+       width:120px;
+       height: 120px;
+       background:url(../images/media/help/lazerhorse_poster_blur.png) no-repeat !important;
+       border:none;
+}
+
+#usb_logo{
+       position: absolute;
+       top: 90px;
+       right: 10px;
+       border: 1px solid #393939;
+       -webkit-border-radius: 2px;
+       -moz-border-radius: 2px;
+       width: 109px;
+       height: 109px;
+       background: url(../images/media/small-fall-image.png) no-repeat;
+       display:none;
+}
+
+#usb_logo.helpmode{
+       top:86px;
+       right:5px;
+       width:120px;
+       height: 120px;
+       background: url(../images/media/help/small-fall-image_blur.png) no-repeat !important;
+       border:none;
+}
+
+.dash {
+       position: relative;
+       bottom: 3px;
+       float: left;
+       margin-left: 7px;
+       margin-right: 7px;
+       font-size: 25px;
+}
+
+.more_info {
+       z-index: 250;
+       pozition: absolute;
+       top: 80px;
+       left: 5px;
+       bottom: 90px;
+       right: 5px;
+}
+
+.mi-back {
+       position: absolute;
+       top: 0px;
+       left: 0px;
+       width: 50px;
+       height: 50px;
+       cursor: pointer;
+       background: url("../images/media/btn_back.png") no-repeat;
+}
+
+.mi-wp {
+       position: absolute;
+       top: 0px;
+       right: 60px;
+       width: 137px;
+       height: 50px;
+       background: url("../images/media/btn_whats-playing.png") no-repeat;
+}
+
+.mi-title {
+       position: absolute;
+       top: 0px;
+       left: 70px;
+       width: 400px;
+       height: 50px;
+       line-height: 50px;
+       font-size: 26px;
+}
+
+.mi-image {
+       position: absolute;
+       top: 60px;
+       left: 0px;
+       width: 250px;
+       height: 250px;
+}
+
+.mi-info {
+       position: absolute;
+       top: 60px;
+       left: 260px;
+       width: 468px;
+       height: 250px;
+       background: #000;
+       border: 1px solid #393939;
+       -webkit-border-radius: 3px;
+}
+
+.mi-info_item {
+       position: relative;
+       hieght: 48px;
+       border-top: 1px solid #020202;
+       border-bottom: 1px solid #383838;
+}
+
+.mi-info_item.last {
+       height: 49px !important;
+       border-bottom: none !important;
+}
+
+.mi-info_item > p {
+       position: absolute;
+       top: 0px;
+       left: 70px;
+       width: 400px;
+       height: 50px;
+       line-height: 50px;
+       font-size: 20px;
+}
+
+.mi-scroll {
+       position: absolute;
+       top: 60px;
+       right: 0px;
+       width: 50px;
+       height: 250px;
+       background: url("../images/media/scroll_bg.png") no-repeat;
+}
+
+.mi-scroll > .up {
+       position: absolute;
+       top: 0px;
+       left: 0px;
+       width: 50px;
+       height: 50px;
+       background: url("../images/media/scroll_up.png") no-repeat;
+       cursor: pointer;
+}
+
+.mi-scroll > .down {
+       position: absolute;
+       bottom: 0px;
+       left: 0px;
+       width: 50px;
+       height: 50px;
+       background: url("../images/media/scroll_down.png") no-repeat;
+       cursor: pointer;
+}
+
+.mi-scroll > .scroll_area {
+       position: absolute;
+       top: 51px;
+       left: 2px;
+       bottom: 51px;
+       right: 2px;
+       background: #262626;
+}
+
+.mi-scroll > .scroll_area > .current {
+       position: absolute;
+       top: 0px;
+       left: 0px;
+       width: 46px;
+       height: 80px;
+       background: #464646;
+       border-bottom: 1px solid #000;
+}
+
+.browse {
+       z-index: 250;
+       position: absolute;
+       top: 80px;
+       left: 5px;
+       bottom: 90px;
+       right: 5px;
+}
+
+.br-back {
+       position: absolute;
+       top: 0px;
+       left: 0px;
+       width: 50px;
+       height: 50px;
+       cursor: pointer;
+       background: url("../images/media/btn_back.png") no-repeat;
+}
+
+.br-title {
+       position: absolute;
+       top: 0px;
+       left: 70px;
+       width: 400px;
+       height: 50px;
+       line-height: 50px;
+       font-size: 26px;
+}
+
+.br-all {
+       position: absolute;
+       top: 110px;
+       left: 0px;
+       width: 150px;
+       height: 98px;
+       cursor: pointer;
+       background: url("../images/media/btn_browse-all-sources.png") no-repeat;
+       font-size: 20px;
+       line-height: 25px;
+       padding-left: 17px;
+       padding-top: 22px;
+}
+
+.br-list {
+       position: absolute;
+       top: 60px;
+       left: 160px;
+       width: 568px;
+       height: 250px;
+       background: url("../images/media/list_bg.png") repeat;
+       border: 1px solid #393939;
+       -webkit-border-radius: 3px;
+}
+
+.br-list-item {
+       position: relative;
+       height: 50px;
+}
+
+.br-list-item > p {
+       position: absolute;
+       top: 0px;
+       left: 50px;
+       width: 450px;
+       height: 50px;
+       line-height: 50px;
+       font-size: 20px;
+}
+
+.br-list-item > p.numbers {
+       top: 0px;
+       left: 500px;
+       width: 50px;
+       font-size: 18px;
+       text-align: right;
+       font-style: italic;
+}
+
+.br-scroll {
+       position: absolute;
+       top: 60px;
+       right: 0px;
+       width: 50px;
+       height: 250px;
+       background: url("../images/media/scroll_bg.png") no-repeat;
+}
+
+.br-scroll > .up {
+       position: absolute;
+       top: 0px;
+       left: 0px;
+       width: 50px;
+       height: 50px;
+       background: url("../images/media/scroll_up.png") no-repeat;
+       cursor: pointer;
+}
+
+.br-scroll > .down {
+       position: absolute;
+       bottom: 0px;
+       left: 0px;
+       width: 50px;
+       height: 50px;
+       background: url("../images/media/scroll_down.png") no-repeat;
+       cursor: pointer;
+}
+
+.br-scroll > .scroll_area {
+       position: absolute;
+       top: 51px;
+       left: 2px;
+       bottom: 51px;
+       right: 2px;
+       background: #262626;
+}
+
+.br-scroll > .scroll_area > .current {
+       position: absolute;
+       top: 0px;
+       left: 0px;
+       width: 46px;
+       height: 80px;
+       background: #464646;
+       border-bottom: 1px solid #000;
+}
+
+.all-sources {
+       z-index: 250;
+       pozition: absolute;
+       top: 80px;
+       left: 5px;
+       bottom: 90px;
+       right: 5px;
+}
+
+.as-back {
+       position: absolute;
+       top: 0px;
+       left: 0px;
+       width: 50px;
+       height: 50px;
+       cursor: pointer;
+       background: url("../images/media/btn_back.png") no-repeat;
+}
+
+.as-title {
+       position: absolute;
+       top: 0px;
+       left: 70px;
+       width: 400px;
+       height: 50px;
+       line-height: 50px;
+       font-size: 26px;
+}
+
+.as-list {
+       position: absolute;
+       top: 60px;
+       left: 60px;
+       width: 328px;
+       height: 200px;
+       border: 1px solid #393939;
+       -webkit-border-radius: 3px;
+}
+
+.as-list.right {
+       left: 400px;
+}
+
+.as-list-item {
+       position: relative;
+       height: 49px;
+       background: url(../images/media/allist-bg.png) no-repeat;
+       border-bottom: 1px solid #393939;
+       cursor: pointer;
+}
+
+.as-list-item.pressed {
+       background: url(../images/media/allist-bg_pressed.png) no-repeat !important;
+}
+
+.as-list-item > p {
+       position: absolute;
+       top: 0px;
+       left: 50px;
+       width: 250px;
+       height: 50px;
+       line-height: 50px;
+       font-size: 20px;
+}
+
+.as-scroll {
+       position: absolute;
+       top: 60px;
+       right: 0px;
+       width: 50px;
+       height: 250px;
+       background: url("../images/media/scroll_bg.png") no-repeat;
+}
+
+.as-scroll > .up {
+       position: absolute;
+       top: 0px;
+       left: 0px;
+       width: 50px;
+       height: 50px;
+       background: url("../images/media/scroll_up.png") no-repeat;
+       cursor: pointer;
+}
+
+.as-scroll > .down {
+       position: absolute;
+       bottom: 0px;
+       left: 0px;
+       width: 50px;
+       height: 50px;
+       background: url("../images/media/scroll_down.png") no-repeat;
+       cursor: pointer;
+}
+
+.as-scroll > .scroll_area {
+       position: absolute;
+       top: 51px;
+       left: 2px;
+       bottom: 51px;
+       right: 2px;
+       background: #262626;
+}
+
+.as-scroll > .scroll_area > .current {
+       position: absolute;
+       top: 0px;
+       left: 0px;
+       width: 46px;
+       height: 80px;
+       background: #464646;
+       border-bottom: 1px solid #000;
+}
+
+.act_ar_ba {
+       position: absolute;
+       left: 300px;
+}
+
+/* helpers */
+/*.gray{color:#4F4F4F !important;}
+.active-button{color:#FFF !important;cursor:pointer;}*/
+/*MEDIA HELP MODE*/
+
+
+.blur-text {
+       color: transparent !important;
+       text-shadow: 0 0 3px #fff !important;
+}
+
+#help_media_block {
+       width: 800px;
+       height: 480px;
+}
+
+#preset_bg {
+       background: url(../images/media/help_mode/direct_yg_bg.png) no-repeat;
+       width: 496px;
+       height: 123px;
+       left: 152px;
+       top: 279px;
+       z-index: 1;
+}
+
+#disableAM-direct, #disableAM-preset, #disableFM-direct, #disableFM-preset {
+       width: 496px;
+       height: 123px;
+       left: 152px;
+       top: 279px;
+       z-index: 300;
+       cursor: pointer;
+}
+
+#tag_help {
+       background: url(../images/media/help_mode/tag_help_bg.png) no-repeat;
+       width: 97px;
+       height: 57px;
+       top: 212px;
+       left: 536px;
+       z-index: 300;
+       cursor: pointer;
+}
+
+#alert_help {
+       background: url(../images/media/help_mode/tag_alert_bg.png) no-repeat;
+       width: 97px;
+       height: 57px;
+       top: 212px;
+       left: 536px;
+       z-index: 300;
+       cursor: pointer;
+}
+
+#scan_help {
+       background: url(../images/media/help_mode/right_but_glow.png) no-repeat;
+       width: 166px;
+       height: 73px;
+       z-index: 300;
+       top: 129px;
+       left: 633px;
+       cursor: pointer;
+}
+
+#scan_help_sir {
+       background: url(../images/media/help_mode/bottom_glow.png) no-repeat;
+       width: 166px;
+       height: 69px;
+       z-index: 300;
+       top: 141px;
+       left: 633px;
+       cursor: pointer;
+}
+
+#scan_help.cd-help {
+       background: url(../images/media/help_mode/bottom_1_glow.png) no-repeat;
+       width: 166px;
+       height: 51px;
+       z-index: 300;
+       top: 192px;
+       left: 633px;
+       cursor: pointer;
+}
+
+#more_info_help {
+       background: url(../images/media/help_mode/bottom_glow_minus.png) no-repeat;
+       width: 166px;
+       height: 69px;
+       z-index: 300;
+       top: 243px;
+       left: 633px;
+       cursor: pointer;
+}
+
+#direct_help {
+       background: url(../images/media/help_mode/right_but_glow.png) no-repeat;
+       width: 166px;
+       height: 73px;
+       z-index: 300;
+       top: 231px;
+       left: 633px;
+       cursor: pointer;
+}
+
+#sirius_browse {
+       background: url(../images/media/help_mode/bottom_glow.png) no-repeat !important;
+       height: 69px !important;
+       width: 166px;
+       z-index: 300;
+       top: 292px !important;
+       left: 633px;
+       cursor: pointer;
+}
+
+#sirius_browse.cd-browse {
+       background: url(../images/media/help_mode/right_but_glow.png) no-repeat !important;
+       ;
+       width: 166px;
+       height: 73px;
+       top: 330px !important;
+       ;
+       left: 633px;
+       cursor: pointer;
+       z-index: 300;
+}
+
+#shuffle_help {
+       background: url(../images/media/help_mode/top_glow.png) no-repeat;
+       height: 69px;
+       width: 166px;
+       z-index: 300;
+       top: 130px;
+       left: 633px;
+       cursor: pointer;
+}
+
+.sirius_direct {
+       background: url(../images/media/help_mode/top_glow.png) no-repeat !important;
+       height: 69px;
+       width: 166px;
+       z-index: 300;
+       top: 231px;
+       left: 633px;
+       cursor: pointer;
+}
+
+#hd_bg {
+       background: url(../images/media/hd-blur.png) no-repeat;
+       width: 156px;
+       height: 54px;
+       z-index: 299;
+       top: 88px;
+       left: 641px;
+       cursor: pointer;
+}
+
+#hd_bg_fm {
+       background: url(../images/media/hd-blur-fm.png) no-repeat;
+       width: 156px;
+       height: 54px;
+       z-index: 299;
+       top: 88px;
+       left: 641px;
+       cursor: pointer;
+}
+
+#replay_bg {
+       background: url(../images/media/help_mode/top_glow.png) no-repeat;
+       width: 166px;
+       height: 62px;
+       z-index: 300;
+       top: 79px;
+       left: 633px;
+       cursor: pointer;
+}
+
+#option_blur {
+       background: url(../images/media/help_mode/option-blur.png) no-repeat;
+       width: 162px;
+       height: 51px;
+       z-index: 290;
+       top: 191px;
+       left: 638px;
+}
+
+#option_blur.cd-option {
+       top: 291px;
+}
+
+#controls_blur {
+       background: url(../images/media/help_mode/controls-blur.png) no-repeat;
+       width: 479px;
+       height: 106px;
+       top: 289px;
+       left: 160px;
+       z-index: 290;
+}
+
+#repeat_blur {
+       background: url(../images/media/help_mode/repeat-blur.png) no-repeat;
+       width: 160px;
+       height: 53px;
+       left: 639px;
+       top: 89px;
+       z-index: 290;
+}
+
+#usb-glow {
+       background: url(../images/media/help_mode/left_glow.png) no-repeat;
+       width: 160px;
+       height: 71px;
+       z-index: 302;
+       cursor: pointer;
+       left: 0px;
+       top: 281px;
+}
+
+#bluetooth-glow {
+       background: url(../images/media/help_mode/left_glow.png) no-repeat;
+       width: 160px;
+       height: 71px;
+       z-index: 302;
+       cursor: pointer;
+       left: 0px;
+       top: 180px;
+}
+
+#bt_blur {
+       background: url(../images/media/help_mode/blt_s_blur.png) no-repeat;
+       width: 642px;
+       height: 348px;
+       z-index: 300;
+       left: 158px;
+       top: 57px;
+}
+
+#bt_l_blur {
+       background: url(../images/media/help_mode/bt-r-blur.png) no-repeat;
+       width: 159px;
+       height: 114px;
+       z-index: 300;
+       left: 640px;
+       top: 86px;
+}
+
+#avin_blur {
+       background: url(../images/media/help_mode/av_in_blur.png) no-repeat;
+       width: 158px;
+       height: 272px;
+       z-index: 300;
+       left: 321px;
+       top: 161px;
+}
+
+#linein_blur {
+       background: url(../images/media/help_mode/linein_blur.png) no-repeat;
+       width: 46px;
+       height: 291px;
+       z-index: 300;
+       left: 376px;
+       top: 135px;
+}
+
+#blur-image {
+       width: 120px;
+       height: 119px;
+       top: 61px;
+       right: 5px
+}
+
+#usb-image {
+       width: 120px;
+       height: 119px;
+       top: 61px;
+       right: 5px;
+}
+
+#cd-image {
+       width: 120px;
+       height: 119px;
+       top: 61px;
+       right: 5px;
+}
+
+.preset-stored {
+       background: #000000;
+       border: 1px solid #a03333;
+       -moz-border-radius: 3px;
+       -webkit-border-radius: 3px;
+       font-size: 23px;
+       font-weight: bold;
+       height: 75px;
+       left: 271px;
+       line-height: 68px;
+       text-align: center;
+       top: 170px;
+       width: 250px;
+       z-index: 1001;
+       display: none;
+}
+
+#media_popup.fr .preset-stored {
+       position: relative;
+       width: 350px;
+       margin: auto auto;
+}
+
+#home_widgetMedia_presetPopup.fr .preset-stored {
+       position: relative;
+       width: 350px;
+       margin: auto auto;
+}
+
+#video-error {
+       background: #000000;
+       border: 1px solid #a03333;
+       -moz-border-radius: 3px;
+       -webkit-border-radius: 3px;
+       font-size: 23px;
+       font-weight: bold;
+       left: 400px;
+       text-align: center;
+       top: 170px;
+       ;
+       z-index: 12100;
+       position: absolute;
+       padding: 10px;
+}
+
+.fm-info-holder {
+       top: 138px;
+       width: 380px;
+       height: 63px;
+}/* CSS Document */
+
+#media_cd, #usbView, #media_sd , #siriusView{
+       z-index: 500;
+}
+
+/******************** FOR MoreInfo View********************************/
+
+.moreInfo_view {
+       position: absolute;
+       width: 800px;
+       height: 480px;
+       z-index: 501;
+       background-image: url(../images/media/bg.png);
+}
+
+.moreInfo_backButton .ico {
+       position: absolute;
+       margin-top: 13px;
+       margin-left: 8px;
+}
+
+.moreInfo_backButton {
+       width: 48px;
+       height: 48px;
+       float: left;
+       position: relative;
+       margin-top: 88px;
+       margin-left: 5px;
+       border: 1px solid #333;
+       border-radius: 2px;
+       cursor: pointer;
+       z-index: 1001;
+}
+
+.moreInfo_title {
+       position: relative;
+       margin-left: 20px;
+       margin-top: 88px;
+       width: 400px;
+       height: 50px;
+       line-height: 50px;
+       font-size: 26px;
+       float: left;
+}
+
+#cd_poster{
+       background:url(../images/media/big-lazerhorse-image.png) no-repeat;
+       width:250px;
+       height:250px;
+       display:none;
+}
+
+#cd_poster.helpmode{
+       background:url(../images/media/help/big_help_lazerhorse_poster_blur.png) no-repeat !important;
+       width:260px;
+       height:260px;
+       top:-5px;
+       left:-5px;
+}
+
+#usb_poster{
+       background:url(../images/media/big-fall-image.png) no-repeat;
+       width:250px;
+       height:250px;
+       display:none;
+}
+
+#usb_poster.helpmode{
+       background: url(../images/media/help/big-fall-image_blur.png) no-repeat !important;
+       width:260px;
+       height:260px;
+       top:-5px;
+       left:-5px;
+}
+
+.moreInfo_image {
+       position: relative;
+       margin-top: 148px;
+       margin-left: 5px;
+       width: 250px;
+       height: 250px;
+       float: left;
+}
+.cd-more-info {
+       margin-top: 148px;
+       margin-left: 265px;
+       width: 530px;
+       height: 251px;
+       -webkit-border-radius: 3px;
+}
+
+.cd-more-info .list-content {
+       width: 468px;
+       background:#000;
+}
+
+
+.cd-more-info .list-item span {
+       font-size: 20px;
+       position: absolute;
+       top: 13px;
+       left: 70px;
+       line-height: 25px;
+       z-index:2;
+}
+
+.cd-more-info .list-item img {
+       margin-top: 1px;
+}
+
+
+.moreInfo_whatIsPlayingButton {
+       position: relative;
+       float: right;
+       margin-right: 65px;
+       margin-top: 88px;
+       width: 135px;
+       height: 48px;
+       border-radius: 2px;
+       border: 1px solid #393939;
+}
+
+.moreInfo_whatIsPlayingButton .ico{
+       padding: 12px 11px 11px 13px;
+       position: relative;
+       float: left;
+}
+
+.moreInfo_whatIsPlayingButton span{
+       position: relative;
+       width: 55px;
+       padding: 6px 0 0 5px;
+       float: left;
+}
+
+.fr .moreInfo_whatIsPlayingButton{
+       white-space: nowrap;
+}
+
+.fr .moreInfo_whatIsPlayingButton span{
+       padding: 14px 0 0 5px;
+}
+
+.helpmode .moreInfo_whatIsPlayingButton{
+       margin-right: 60px;
+       margin-top: 83px;
+       padding: 6px;
+       border: none;
+       background: url(../images/media/help/ico_whatIsPlaying_blur.png) no-repeat;
+}
+
+.helpmode .moreInfo_whatIsPlayingButton .ico{
+       opacity: 0;
+}
+
+#media_moreinfo_list_blur{
+       background: url(../images/media/help/moreinfo_list_blur.png) no-repeat;
+       width:542px;
+       height:269px;
+       left:258px;
+       top:139px;
+
+}
+
+/*#media .backButton, #media .block-header-title{
+       margin-top: 11px;
+}*/
+
+/* Media options */
+#media_options_view {
+       top: 48px;
+       width: 800px;
+       height: 432px;
+       background-color: black;
+       font-size: 20px;
+       z-index: 1001;
+}
+
+#media_options_list {
+       margin-top: 91px;
+       margin-left: 65px;
+       width: 672px;
+       height: 251px;;
+}
+
+#media_options_list .arrow-ico{
+       z-index:0;
+}
+
+#media_options_list .list-content {
+       width: 670px;
+}
+
+#media_options_list .list-item {
+       position: relative;
+       width: 670px;
+       float: left;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+       line-height: 50px;
+}
+
+#media_options_list span{
+       margin-left: 13px;
+       z-index:1;
+       position:relative;
+}
+
+
+
+#media_options_list .list-item .ico {
+       float: right;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       margin-top: 9px;
+       margin-right: 9px;
+}
+
+#media_options_list .list-item.big-ico img {
+       float: right;
+       border: none;
+       margin-top: 4px;
+       margin-right: 9px;
+}
+
+#media_options_list .toogleButtonContainer{
+       width: 198px;
+}
+
+#media_options_list .toggles, #media_options_list .toggles span{
+       width: 98px;
+}
+
+.help-mode #media_options_view .list-item span{
+       text-shadow: 0 0 3px #999;
+}
+
+
+.help-mode #media_options_list .list-item span{
+       text-shadow: 0 0 3px #999;
+}
+
+.help-mode #media_options_list .toogleButtonContainer  {
+       margin-right: 11px;
+}
+
+/* Media Am,Fm options */
+.helpmode .am #media_options_view_blur  {
+       background: url(../images/media/media_am_options_bg_help.png) no-repeat;
+       top:86px;
+       left:60px;
+       width:682px;
+       height:261px;
+}
+
+.helpmode .fm #media_options_view_blur  {
+       background: url(../images/media/media_fm_options_bg_help.png) no-repeat;
+       top:86px;
+       left:60px;
+       width:682px;
+       height:261px;
+}
+
+
+/* Media Sitius options */
+.helpmode .sirius #media_options_view_blur {
+       background: url(../images/media/media_sirius_options_bg_help.png) no-repeat;
+       top:86px;
+       left:60px;
+       width:682px;
+       height:261px;
+
+}
+
+/* Media CD options */
+.helpmode .cd #media_options_view_blur {
+       background: url(../images/media/media_cd_options_bg_help.png) no-repeat;
+       top:86px;
+       left:60px;
+       width:682px;
+       height:111px;
+}
+
+/* Media USB options */
+.helpmode .usb #media_options_view_blur {
+       background: url(../images/media/media_usb_options_bg_help.png) no-repeat;
+       top:86px;
+       left:60px;
+       width:682px;
+       height:211px;
+}
+
+/* Media SD options */
+.helpmode .sd #media_options_view_blur {
+       background: url(../images/media/media_usb_options_bg_help.png) no-repeat;
+       top:86px;
+       left:60px;
+       width:682px;
+       height:211px;
+}
+
+
+
+/* Media Bluetooth options */
+.helpmode .bt  #media_options_view_blur {
+       background: url(../images/media/media_bt_options_bg_help.png) no-repeat;
+       width:682px;
+       height:162px;
+       top:86px;
+       left:60px;
+}
+
+/******************** FOR Browse View********************************/
+.browse_view  {
+       width: 800px;
+       height: 480px;
+       z-index:503;
+       background:url(../images/media/bg.png) no-repeat;
+}
+
+.browse_view .backButton .ico {
+       position: absolute;
+       margin-top: 13px;
+       margin-left: 8px;
+}
+
+.browse_view .backButton {
+       top: 80px;
+       width: 48px;
+       height: 48px;
+       border: 1px solid #333;
+       border-radius: 2px;
+}
+
+.browse_view .title {
+       top: 89px;
+       left: 75px;
+       font-size:26px;
+}
+
+.browse_view .browesAllSources {
+       width: 148px;
+       height: 96px;
+       top:190px;
+       left:5px;
+       border: 1px solid #333;
+
+}
+
+.browse_view .browesAllSources.notpressed {
+       background: url(../images/media/browse_all_button.png) repeat-x;
+}
+
+.browse_view .browesAllSources.pressed {
+       background: url(../images/media/browse_all_button_pressed.png);
+}
+
+.browse_view .browesAllSources span {
+       width: 105px;
+       position: absolute;
+       top:21px;
+       left:16px;
+       font-size:20px;
+       line-height: 25px;
+       cursor:pointer;
+
+}
+
+.helpmode .browesAllSources{
+       pointer-events: none;
+       margin: 1px 1px;
+}
+
+.helpmode .browesAllSources img {
+       opacity: 0;
+}
+
+.all_sources_span{
+       top:46px !important;
+}
+
+.browse_view .browesAllSources .arrow-ico {
+       position: absolute;
+       top:24px;
+       right: 4px;
+}
+
+
+.guidelist{
+       width: 630px;
+       height:251px;
+       top:140px;
+       left:165px;
+       -webkit-border-radius: 3px;
+}
+
+.guidelist .list-content{
+       width: 568px;
+}
+
+.guidelist .list-item ico{
+       float: left;
+}
+
+.guidelist .list-item span{
+       font-size: 20px;
+       position: absolute;
+       left:50px;
+}
+
+.guidelist .list-item span.right_text{
+       font-size: 18px;
+       position: relative;
+       left:-8px;
+}
+
+.usbbrowselist{
+       height:101px;
+}
+
+.usbbrowselist .list-item span{
+       left: 5px;
+}
+
+
+#media_browseall_heading_lable{
+       z-index:1;
+
+}
+
+#media_browseAll_list .arrow-ico{
+       z-index:0;
+}
+
+#media_browseAll_list span{
+       z-index:1;
+}
+
+#media_browseAll_view{
+       z-index:505;
+}
+
+.helpmode #media_browseall_blur_bg{
+       width:800px;
+       height:480px;
+       background:url(../images/media/help/broall_view_blur.jpg) no-repeat;
+       top:0px;
+}
+
+#media_usb_browse_list .list .list-content .list-item span{
+       left:5px !important;
+}
+
+.media_usb_browse_browseall_button{
+       top: 325px !important;
+}
+.browseAlllist{
+       width: 340px;
+       height: 201px;
+       top:140px;
+       left:65px;
+}
+
+.browseAlllist .list-content{
+       width: 330px;
+}
+
+.browseAlllist .list-content div{
+       cursor:pointer;
+}
+
+
+.browseAlllist .list-item span{
+       font-size: 20px;
+       position: absolute;
+}
+
+
+#media_browse_view.sirhelpblur{
+       background:url(../images/media/help/sir_bro_view_blur.png) no-repeat;
+}
+
+#media_browse_view.cdhelpblur{
+       background:url(../images/media/help/cd_bro_view_blur.png) no-repeat;
+}
+
+#media_browse_view.usbhelpblur{
+       background:url(../images/media/help/others_browse_blur.png) no-repeat;
+       width:800px;
+       height:480px;
+}
+
+.am-info, .fm-info,.sirius-info ,.bt-info, .avin-info{
+       top: 70px;
+       left: 152px;
+       width: 490px;
+       height: 368px;
+       z-index: 200;
+}
+
+.bt-info{
+       top: 55px !important;
+}
+
+#mi-divider {
+       position: absolute;
+       top: 110px;
+       left: 0px;
+}
+
+#sirius-right {
+       height: 250px;
+}
+
+
+
+#btn_alert {
+       position: absolute;
+       top: 140px;
+       right: 10px;
+}
+
+#cd-right {
+       height: 300px;
+}
+
+#cd-info {
+       z-index: 200;
+       position: absolute;
+       top: 80px;
+       left: 165px;
+       width: 470px;
+       height: 190px;
+}
+
+#usb-right {
+       height: 300px;
+}
+
+#sd-right {
+       height: 300px;
+}
+
+#sd-info {
+       z-index: 200;
+       position: absolute;
+       top: 80px;
+       left: 165px;
+       width: 470px;
+       height: 190px;
+}
+
+.divider_o {
+       position: absolute;
+       top: 120px;
+       left: 0px;
+       width: 470px;
+       height: 1px;
+       background: url("../images/media/divider_o.png") no-repeat;
+}
+
+.equalizer {
+       position: absolute;
+       top: 5px;
+       right: 10px;
+       width: 104px;
+       text-align: right;
+       font-size: 24px;
+}
+
+.siriusband {
+       position: absolute;
+       top: 50px;
+       left: 13px;
+       font-size: 62px;
+       width: 400px;
+}
+
+.directune_band {
+       position: absolute;
+       top: 50px;
+       left: 13px;
+       font-size: 62px;
+       width: 400px;
+       display:none;
+}
+
+
+#band{
+       position: absolute;
+       top: 38px;
+       left: 18px;
+       font-size: 62px;
+}
+
+#band_dir{
+       position: absolute;
+       top: 38px;
+       left: 18px;
+       font-size: 62px;
+}
+
+.nonHDsonginfo {
+       text-transform: uppercase;
+       position: absolute;
+       font-size: 20px;
+       float: left;
+       top: 148px;
+       left: 15px;
+}
+
+.fmInfoHdIco {
+       position: absolute;
+       right: 328px;
+       top: 10px;
+       background:url(../images/media/hd_ico.png) no-repeat;
+       width:149px;
+       height:30px;
+}
+
+.fmInfoHdIco_helpmode{
+       position: absolute;
+       right: 323px;
+       top: 5px;
+       background:url(../images/media/help/fm_hd_info_ico_blur.png) no-repeat !important;
+       width:159px;
+       height:40px;
+}
+.channel {
+       position: absolute;
+       top: 15px;
+       left: 23px;
+       width: 300px;
+       text-align: left;
+       font-size: 20px;
+       color: #999999;
+}
+
+.STAName {
+       font-size: 22px;
+       top: 15px;
+       left: 23px;
+       position: absolute;
+}
+
+.fmgenre {
+       position: absolute;
+       top: 15px;
+       right: 16px;
+       width: 200px;
+       text-align: right;
+       font-size: 24px;
+}
+
+.siriusgenre {
+       position: absolute;
+       top: 15px;
+       left: 273px;
+       width: 200px;
+       text-align: right;
+       font-size: 24px;
+}
+
+.titanium {
+       top: 50px;
+       position: absolute;
+       left: 13px;
+       display: none ;
+       background: url(../images/media/sirius-logo.png) no-repeat;
+       width:215px;
+       height:87px;
+}
+
+.titanium.logo_blur{
+       background: url(../images/media/help/titanium_logo_blur.png) no-repeat !important;
+}
+.hdtitle {
+       /*-webkit-transform: translateX(-1000px);*/
+       position: absolute;
+       top: 137px;
+       left: 19px;
+       font-size: 32px;
+}
+
+.hdartist {
+       /*-webkit-transform: translateX(-1000px);*/
+       position: absolute;
+       top: 175px;
+       left: 20px;
+       font-size: 20px;
+}
+
+.btn_tag {
+       position: absolute;
+       top: 150px;
+       right: 17px;
+       background:url(../images/media/btn_tag.png) no-repeat;
+       width:80px;
+       height:40px;
+}
+
+.btn_tag_help{
+       position: absolute;
+       top: 142px;
+       right: 9px;
+       cursor:pointer;
+       background:url(../images/media/help/tag_help_bg.png) no-repeat;
+       width:97px;
+       height:57px;
+}
+
+.btn_alert {
+       position: absolute;
+       top: 150px;
+       left: 393px;
+       z-index: 100;
+       width: 78px;
+       height: 38px;
+       text-align: center;
+       font-size: 19px;
+       line-height: 39px;
+       border: 1px solid #333;
+       -webkit-border-radius: 2px;
+}
+
+#media_sirius_alert_help_yellow_border{
+       top: 142px;
+       left: 384px;
+       width: 100px;
+       height: 54px;
+       background: url(../images/media/help/tag_alert_bg.png) no-repeat;
+}
+
+.btn_alert.disabled{
+       color: #999 !important;
+}
+
+.btn_alert.help{
+       text-shadow: none !important;
+       color: white;
+}
+
+.siriustitle {
+       position: absolute;
+       top: 138px;
+       left: 20px;
+       font-size: 32px;
+       width: 400px;
+}
+
+.siriusartist {
+       position: absolute;
+       top: 175px;
+       left: 23px;
+       font-size: 20px;
+       width: 400px;
+}
+
+.hdButton .ico {
+       background: url(../images/media/passiv_horiz_led.png) no-repeat;
+       right: 8px;
+}
+
+.hdButton.isHd .ico {
+       background: url(../images/media/active_horiz_led.png) no-repeat !important;
+}
+
+.stationInfo {
+       width: 200px;
+       height: 50px;
+       left: 115px;
+       top: 29px;
+}
+
+.stationInfo .stationimg {
+       background: url(../images/media/ant.png) no-repeat;
+       width: 27px;
+       height: 28px;
+       top: 6px;
+}
+.stationInfo .stationimg_help {
+       background: url(../images/media/help/ant_blur.png) no-repeat;
+       width: 37px;
+       height: 38px;
+       top: 1px;
+       left: -5px;
+}
+
+.stationInfo .station {
+       font-size: 36px;
+       left: 40px;
+       position: absolute;
+       width: 243px;
+}
+
+.homehdicon {
+       background: url(../images/media/hd-radio-ico.png) no-repeat !important;
+       width: 28px !important;
+}
+
+.homehdicon_blur {
+       background: url(../images/media/help/hd-radio-ico_blur.png) no-repeat !important;
+       width: 38px !important;
+}
+
+.stationInfo .siriusico {
+       background: url(../images/media/hsir-ico.png) no-repeat;
+       width: 26px;
+       height: 28px;
+       top: 6px;
+}
+
+.stationInfo .siriusico_help {
+       background: url(../images/media/help/hsir-ico_blur.png) no-repeat;
+       width: 36px;
+       height: 38px;
+       top: 1px;
+       left:-5px;
+}
+
+
+.stationInfo .logo {
+       left: 40px;
+       position: absolute;
+       top: -22px;
+}
+
+.statusInfo {
+       width: 275px;
+       height: 48px;
+}
+
+.statusInfo .station {
+       top: 12px;
+       left: 11px;
+       text-overflow: ellipsis;
+       overflow: hidden;
+       height: 21px;
+       width: 220px;
+}
+
+.statusInfo .station span{
+       display: none;
+}
+
+.statusInfo .icon {
+       width: 50px;
+       height: 50px;
+       left: 224px;
+}
+
+.statusInfo .antenaIco {
+       background: url(../images/media/ico_antenna.png) no-repeat;
+}
+
+.statusInfo .statushdicon {
+       background: url(../images/media/hd-radio-ico.png) no-repeat !important;
+       width: 28px !important;
+       height: 28px !important;
+       top: 10px;
+       left: 241px !important;
+}
+
+.info_holder{
+       top: 42px;
+}
+
+.siriusIco {
+       background: url(../images/media/ico_sirius.png) no-repeat !important;
+}
+
+.cdIco { background:url(../images/media/ico_cd.png) no-repeat !important}
+.usbIco { background:url(../images/media/ico_usb.png) no-repeat !important}
+.sdIco { background:url(../images/media/ico_sd.png) no-repeat !important}
+.btIco { background:url(../images/media/ico_bt.png) no-repeat !important}
+.avIco { background:url(../images/media/ico_li.png) no-repeat !important}
+.appIco { background:url(../images/info/info_leftMenu_apps_ico.png) no-repeat !important}
+
+#media_player_view_container{
+       background: url(../images/media/player_view.png) no-repeat;
+       width: 635px;
+       height: 323px;
+       top: 70px;
+       left: 161px;
+       z-index:501;
+}
+
+#home_widgetMedia_cd {width:399px; height:193px}
+#home_widgetMedia_cd .album_title  {width:400px; text-align:center; font-size:28px;}
+#home_widgetMedia_cd .song_title{width:400px; text-align:center; font-size:24px; top:33px;}
+#home_widgetMedia_cd .info{top: 55px; width:400px;}
+#home_widgetMedia_cd .ico_holder{width:400px; margin-top:-7px;}
+#home_widgetMedia_cd .ico {margin-left:45%;}
+#home_widgetMedia_cd .ico_blur {top:-5px; left:-5px; margin-left:45%; position:absolute;}
+
+
+#home_widgetMedia_bluetooth .title{width:400px; text-align:center; font-size:24px;}
+#home_widgetMedia_bluetooth .info{top: 55px; width:100%;}
+#home_widgetMedia_bluetooth .ico_holder{width:400px; top:-7px;}
+#home_widgetMedia_bluetooth .ico_blur {top:-5px; left:-5px; margin-left:48%; position:absolute; background:url(../images/media/help/bt-h-ico_blur.png) no-repeat !important; width:34px !important; height:40px !important;}
+#home_widgetMedia_bluetooth .bluetooth_ico {
+       background: url(../images/media/bt-h-ico.png) no-repeat;
+       width:24px;
+       height:30px;
+       margin-left:48%;
+}
+
+#home_widgetMedia_avin .title{width:400px; text-align:center; font-size:24px;}
+#home_widgetMedia_avin .info{top: 55px; width:100%;}
+#home_widgetMedia_avin .ico_holder{width:400px; top:-7px;}
+
+
+#home_widgetMedia_avin .avin_ico{ background: url(../images/media/line-h-ico.png) no-repeat; width:14px; height:36px; margin-left:48%;}
+#home_widgetMedia_avin .ico_blur {top:-5px; left:-5px; margin-left:48%; position:absolute; background: url(../images/media/help/line-h-ico_blur.png) no-repeat!important; width:24px !important; height:46px !important;}
+
+
+/* HELP MODE*/
+
+/* rigth menu*/
+#media_rightmenu.help_mode{ border:none; left:-5px;}
+
+/* replay button*/
+.replay_button_help{border-bottom:none; left:4px; cursor:pointer; margin-top:1px; margin-bottom:1px; z-index:2;}
+
+/* browse button*/
+.browse_button_help{border-bottom:none; left:4px; cursor:pointer;}
+
+/*scan button*/
+.scan_button_help{ border-bottom:none; left:4px; cursor:pointer; z-index:2;}
+/*direct tune*/
+.direct_button_help {border-bottom:none; left:4px;cursor:pointer; margin-bottom:1px; z-index:2;}
+
+
+/*hd active button blur*/
+.helpmode .isHd.top_rightmenu_button_blur{  background:url(../images/media/help/top_rightmenu_button_blur_active.png) no-repeat !important;width:162px; height:49px; left:-2px; bottom: 5px; margin-bottom:2px; border-bottom: none;}
+
+
+/* repeat button / hd button*/
+.helpmode .top_rightmenu_button_blur{ background:url(../images/media/help/top_rightmenu_button_blur.png) no-repeat !important; width:162px; height:49px; left:-2px;bottom: 5px; margin-bottom:2px; border-bottom: none;}
+
+.helpmode .top_rightmenu_button_blur span {
+       position:relative;
+       top:6px;
+       left:6px;
+}
+
+/* shuffle button*/
+.shuffleButton_help{border-bottom:none; left:4px; cursor:pointer; z-index:2; margin-bottom:1px;}
+/* more info button*/
+.moreinfoButton_help{border-bottom:none; left:4px; cursor:pointer; z-index:2; margin-top:1px;}
+
+/*option button*/
+#media_rightmenu_optionButton.option_blur{ background:url(../images/media/help/option_btn_blur.png) no-repeat !important; width:162px !important; height:49px !important; left:-2px; border-bottom: none; margin-bottom:2px; bottom:4px;}
+
+
+/* Browse button*/
+#media_rightmenu_browseButton{ z-index:2;}
+
+/* Bluetooth view*/
+#bluetooth_blur{ background:url(../images/media/help/bluetooth_content_blur.png) no-repeat; width:646px; height:373px; top:-29px; left:2px;}
+
+/* Line In view*/
+#line_in_blur{ background:url(../images/media/help/av-in_details_blur.png) no-repeat; width:160px; height:278px; left:166px; top:95px; display:none;}
+/** yellow borders*/
+#amfmscan{ background:url(../images/media/help/right_menu_btn_yellow_border.png) no-repeat; width:166px; height:73px; top:-161px; right:-159px;}
+#amfmdirect{ background:url(../images/media/help/right_menu_btn_yellow_border.png) no-repeat; width:166px; height:73px; top:-61px; right:-159px;}
+#media_preset_help_yellow_border{ background:url(../images/media/help/preset_yellow_border.png) no-repeat; width:495px; height:123px; top:-11px; left:-14px; cursor:pointer; z-index:2;}
+#uplist_borders{ background:url(../images/media/help/right_menu_groupbtn_yellow_border.png) no-repeat; width:166px; height:125px; top: -261px;left: -7px;}
+#bottomlist_borders{ background:url(../images/media/help/right_menu_groupbtn_yellow_border.png) no-repeat; width:166px; height:125px; top: -111px;left: -7px;}
+#yellow_dividers { z-index:2;}
+.yellow_divider{ width:150px; height:3px; background:#FF0; left:4px;}
+.yellow_divider.top{top:-202px;}
+.yellow_divider.bottom{top:-49px;}
+.yellow_divider.cdtop{top:-202px;}
+.yellow_divider.cdbottom{top:-152px;}
+#triple_borders{ background:url(../images/media/help/right_menu_threebtngroup_yellow_border.png) no-repeat; width:166px; height:170px; top:-258px; left:-7px;}
+#single_border{ background:url(../images/media/help/right_menu_btn_yellow_border.png) no-repeat; width:166px; height:73px; top:-60px; left:-7px;}
+#media_helpmode_cd_controllsblur{ background:url(../images/media/help/player_controls_blur.png) no-repeat; width:480px; height:111px; top:231px; left:8px;}
+
+#media_rightmenu_yellow_amfm_borders, #media_rightmenu_yellow_sir_borders, #media_rightmenu_yellow_cd_borders, #media_rightmenu_yellow_sir_dividers, #media_rightmenu_yellow_cd_dividers{
+       position:relative;
+       display:none;
+}
+
+
+/* cancel scrollbar animation */
+.cancelBarAnimation{-webkit-transition:none !important;}
+
+
+#media_sdl_soft_buttons_view.media_sdl_soft_buttons_view{
+       position: absolute;
+       width: 800px;
+       height: 480px;
+       z-index: 1;
+       background-image: url(../images/media/bg.png);
+}
+
+#sdl_view_container .ffw_list_menu {
+       top: 90px;
+       left: 650px;
+       width: 140px;
+    display:none;
+}
+
+#media_rightmenu_topButton_sdlSoftButtons.media_rightmenu_topButton {
+       right: 4px;
+       top: 90px;
+       width: 152px;
+       z-index: 2;
+       background-color: gray;
+       height: 50px;
+       border-top-left-radius: 5px;
+       border-top-right-radius: 5px;
+}
+
+#media_appScrollWrapper_sdlSoftButtons{
+       overflow: hidden;
+       position: absolute;
+       right: 4px;
+       top: 90px;
+       margin: 0;
+       z-index: 1;
+       float: none;
+       width: 150px;
+       border: 1px solid #393939;
+       -webkit-border-radius: 3px;
+       height: 300px;
+}
+
+#media_rightmenu_bottomButton_sdlSoftButtons.media_rightmenu_bottomButton {
+       right: 4px;
+       top: 342px;
+       width: 152px;
+       z-index: 2;
+       background-color: gray;
+       height: 50px;
+       border-bottom-left-radius: 5px;
+       border-bottom-right-radius: 5px;
+}
+
+#sdl_view_container .buttonsWrapper{
+       top: 135px;
+       left: 100px;
+       width: 600px;
+       height: 260px;
+       overflow: hidden;
+}
+
+#sdl_view_container .scrollBar{
+       position: relative;
+       height: 260px;
+       float: right;
+}
+
+#sdl_view_container .scrollArrowUp {
+       position: relative;
+       height: 47px;
+       width: 47px;
+       border: #393939 1px solid;
+       border-radius: 2px;
+}
+
+#sdl_view_container .scroller{
+       position: relative;
+       height: 20px;
+       background: #555;
+       -webkit-transition: 0.4s;
+}
+
+#sdl_view_container .scrollArrowDown {
+       height: 47px;
+       width: 47px;
+       border: #393939 1px solid;
+       border-radius: 2px;
+       bottom: 0;
+}
+
+#sdl_view_container .rs-item{
+       width: 536px;
+}
+
+#media_app_sub_menu_view.media_app_sub_menu_view {
+       width: 800px;
+       height: 480px;
+       z-index: 1000;
+       background: url(../images/media/bg.png) no-repeat;
+}
+
+#media_app_sub_menu_view .optionsSubMenuLabel{
+       top: 80px;
+       left: 75px;
+       width: 620px;
+       height: 20px;
+       background: #393939;
+       padding: 15px;
+}
+/*
+#sdl_view_container .ffw-button span{
+       padding-left: 20px;
+}*/
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/music_library.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/music_library.css
new file mode 100644 (file)
index 0000000..4f98b78
--- /dev/null
@@ -0,0 +1,79 @@
+/* ARTISTS */
+.musicLibraryContentList .musicElement {
+       padding: 10px 0 10px 0;
+       height: 70px;
+       box-shadow: none;
+       border-bottom-style: solid;
+       border-bottom-width: 2px;
+       overflow: hidden;
+       white-space: nowrap;
+       line-height: 0;
+       text-align: left;
+       cursor: pointer;
+}
+
+.musicLibraryContentList .musicImage {
+       width: 70px;
+       height: 70px;
+       display: inline-block;
+       margin-right: 20px;
+       background-position: center center;
+       background-repeat: no-repeat;
+       background-size: 100% 100%;
+}
+
+.musicLibraryContentList .musicImage img {
+       width: 100%;
+       height: 100%;
+}
+
+.musicLibraryContentList .musicInfoBox {
+       display: inline-block;
+       vertical-align: top;
+       padding-top: 11px;
+       background-color: transparent !important;
+}
+
+.musicLibraryContentGrid {
+       line-height: 0;
+}
+
+.musicLibraryContentGrid .musicElement {
+       width: 180px;
+       height: 180px;
+       display: inline-block;
+       margin-right: 7px;
+       margin-bottom: 10px;
+       line-height: 0;
+       vertical-align: top;
+       cursor: pointer;
+}
+
+.musicLibraryContentGrid .musicImage {
+       width: 100%;
+       height: 100%;
+       background-position: center center;
+       background-repeat: no-repeat;
+       background-size: 100% 100%;
+}
+
+.musicLibraryContentGrid .musicImage img {
+       width: 100%;
+       height: 100%;
+}
+
+.musicLibraryContentGrid .musicInfoBox {
+       position: absolute;
+       top: 110px;
+       left: 0;
+       width: 180px;
+       height: 70px;
+       text-align: center;
+}
+
+.musicLibraryContentGrid .musicElement .artistName {
+       white-space: nowrap;
+       overflow: hidden;
+       width: 160px;
+       margin: 10px auto 0 auto;
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/navigation.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/navigation.css
new file mode 100644 (file)
index 0000000..cfd50e2
--- /dev/null
@@ -0,0 +1,2185 @@
+#navigation{width:800px;  height:480px; background:url(../images/nav/bg.png) no-repeat;}
+
+#nav_bg.view2{background:url(../images/nav/green_bg.png) repeat-x;}
+#nav_bg.view3{background:url(../images/nav/green_bg.png) repeat-x;}
+#nav_map_img{width:800px;height:422px;background:url(../images/nav/map2d_north_zoom_0.png) no-repeat;top:10px;z-index:-2;}
+#nav_bg.view2 #street, #nav_bg.view3 #street{display: none;}
+
+#nav_map_img_help{width:800px;height:480px;/*background:rgba(0,0,0,0.8);*/ background:url(../images/nav/black_filter.png) no-repeat;z-index:10;display: none;}
+
+#nav_blur_controls {width: 800px;height: 433px; background: url(../images/nav/blur_nav_controls.png) no-repeat;top:0;z-index:-1;display: none;}
+.no-bg{background: none !important;}
+
+#home_presset_titanium{background: url(../images/home/home_presset_titanium.png) no-repeat;width: 185px; height: 56px; top: 201px;
+left: 120px; display: none;}
+#home_presset_hd {background: url(../images/home/home_presset_hd.png) no-repeat;width: 28px; height: 28px; top: 221px;
+left: 113px; display: none;}
+
+.blur_controls2 {background: url(../images/nav/blur_nav_controls2.png) no-repeat !important;}
+.blur_controls3 {background: url(../images/nav/blur_nav_controls3.png) no-repeat !important;}
+
+.zoom_45, .zoom_72 {background: url(../images/nav/map2d_north_zoom_1.png) no-repeat !important;}
+.zoom_35, .zoom_56 {background: url(../images/nav/map2d_north_zoom_2.png) no-repeat !important;}
+.zoom_25, .zoom_40 {background: url(../images/nav/map2d_north_zoom_3.png) no-repeat !important;}
+
+.type2 {background-image: url(../images/nav/map3d_zoom_0.png) !important; background-repeat: no-repeat !important;}
+.type2.zoom_45, .type2.zoom_72 {background-image: url(../images/nav/map3d_zoom_1.png) !important; background-repeat: no-repeat !important;}
+.type2.zoom_35, .type2.zoom_56 {background-image: url(../images/nav/map3d_zoom_2.png) !important; background-repeat: no-repeat !important;}
+.type2.zoom_25, .type2.zoom_40 {background-image: url(../images/nav/map3d_zoom_3.png) !important; background-repeat: no-repeat !important;}
+
+.type1 {background-image: url(../images/nav/map2d_heading_up_zoom_0.png) !important; background-repeat: no-repeat !important;}
+.type1.zoom_45, .type1.zoom_72 {background-image: url(../images/nav/map2d_heading_up_zoom_1.png) !important; background-repeat: no-repeat !important;}
+.type1.zoom_35, .type1.zoom_56 {background-image: url(../images/nav/map2d_heading_up_zoom_2.png) !important; background-repeat: no-repeat !important;}
+.type1.zoom_25, .type1.zoom_40 {background-image: url(../images/nav/map2d_heading_up_zoom_3.png) !important; background-repeat: no-repeat !important;}
+
+.street_blur {background: url(../images/nav/street_blur.png) !important; width: 490px !important; height: 70px !important; left: 154px !important; top: 359px !important; line-height: 72px !important;}
+
+#nav.view3 .navbar {display:block !important;}
+
+#mi{font-size: 26px;z-index:5;font-weight: bold;left: 110px;top: 65px;}
+
+#mi.help_blur{
+       border: none !important;
+       background: none !important;
+       color: transparent !important;
+       text-shadow: 0 0 3px rgba(256, 256, 256, 0.7);
+       top:62px !important;
+}
+
+
+#nav_location{font-size: 26px;z-index: 5;font-weight: bold;left: 315px;top: 65px;}
+
+#nav_location.help_blur{
+       border: none !important;
+       background: none !important;
+       color: transparent !important;
+       text-shadow: 0 0 3px rgba(256, 256, 256, 0.7);
+       top:62px !important;
+}
+
+
+#nav_dest{background: url(../images/nav/dest_bg.png) no-repeat;width: 730px;height: 310px;left: 65px;top: 105px;}
+
+#nav_dest ul.r-block { list-style:none; position:relative; float:left; width:310px; height:250px; top:60px; margin-left:20px}
+#nav_dest ul.l-block { list-style:none; position:relative; float:left; width:320px; height:250px; top:60px; margin-left:50px}
+#nav_dest ul li { line-height:50px; font-size:20px;}
+
+
+
+#navigation_destination_back_button{left:9px;top:65px;cursor:pointer;z-index:5;width:50px;height:50px;background: url(../images/nav/back_btn.png) no-repeat;}
+#navigation_destination_back_button .ico{left: 9px;top: 14px;position: absolute;}
+#navigation_destination_back_button.pressed{background: url(../images/nav/back_btn_pressed.png) no-repeat !important;}
+
+/************ Destination ************/
+.keyboard .q {
+       left: -67px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+.keyboard .w {
+       left: 4px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+.keyboard .e {
+       left: 79px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+.keyboard .r {
+       left: 150px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+.keyboard .t {
+       left: 222px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+.keyboard .y {
+       left: 295px;
+       top: 109px;
+       white-space: nowrap;
+ }
+
+.keyboard .u {
+       left: 367px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+.keyboard .i {
+       left: 445px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+.keyboard .o {
+       left: 511px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+.keyboard .p {
+       left: 584px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+.keyboard .a {
+       left: -29px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+.keyboard .s {
+       left: 44px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+.keyboard .d {
+       left: 114px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+.keyboard .f {
+       left: 188px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+.keyboard .g {
+       left: 258px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+.keyboard .h {
+       left: 332px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+.keyboard .j {
+       left: 405px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+.keyboard .k {
+       left: 478px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+.keyboard .l {
+        left: 550px;
+        top: 155px;
+        white-space: nowrap;
+}
+
+.keyboard .z {
+       left: 7px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+.keyboard .x {
+       left: 79px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+.keyboard .c {
+       left: 149px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+.keyboard .v {
+       left: 223px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+.keyboard .b {
+       left: 293px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+.keyboard .n {
+       left: 366px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+.keyboard .m {
+       left: 439px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+.keyboard .and {
+       left: 656px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+.keyboard .dash {
+       left: 581px;
+       top: 203px;
+       white-space: nowrap;
+}
+
+.keyboard .space {
+       left: 220px;
+       top: 249px;
+       white-space: nowrap;
+}
+
+.keyboard .ch {
+       left: 499px;
+       top: 244px;
+       white-space: nowrap;
+}
+
+.keyboard .abc {
+       left: 357px;
+       top: 244px;
+       white-space: nowrap;
+}
+
+.keyboard .n123 {
+       left: 429px;
+       top: 250px;
+       white-space: nowrap;
+}
+
+#navigation .sortby {
+       white-space: nowrap;
+       left: 276px;
+       top: 9px;
+       width: 150px;
+       text-align: right;
+}
+
+/************ Destination My Home ************/
+#navigation_destination_myHome_view {
+       width: 800px;
+       height: 432px;
+       background: url(../images/nav/dest/navi_destination_MyHome_bg.png) no-repeat;
+       top: 0px;
+       z-index: 1001;
+}
+
+#navigation_destination_myHome_view .content{
+       width: 800px;
+}
+
+#navigation_destination_myHome_view .view {
+       top: 180px;
+       left: 72px;
+       text-align: center;
+       width: 63px;
+}
+
+#navigation_destination_myHome_view .set_a_dest {
+       top: 385px;
+       left: 17px;
+}
+#navigation_destination_myHome_view .dest {
+       left: 603px;
+       top: 19px;
+}
+#navigation_destination_myHome_view .set_as_way {
+       top: 374px;
+       left: 134px;
+       width: 130px;
+       text-align: center;
+}
+#navigation_destination_myHome_view .my_home {
+       left: 490px;
+       top: 151px;
+}
+#navigation_destination_myHome_view .rd {
+       left: 490px;
+       top: 201px;
+}
+#navigation_destination_myHome_view .menu {
+       left: 712px;
+       top: 19px;
+}
+#navigation_destination_myHome_view .dial {
+       left: 680px;
+       top: 249px;
+}
+#navigation_destination_myHome_view .edit {
+       left: 601px;
+       top: 354px;
+       width: 138px;
+       text-align: center;
+}
+#navigation_destination_myHome_view .delete {
+       left: 461px;
+       top: 354px;
+       width: 138px;
+       text-align: center;
+}
+
+.help-mode #navigation_destination_myHome_view .label-20, {
+       text-shadow: 0 0 3px #999;
+}
+
+.help-mode #navigation_destination_myHome_view {
+       background: url(../images/nav/dest/navi_destination_MyHome_bg_help.png) no-repeat;
+}
+
+.help-mode #navigation_destination_myHome_view .label-20{
+       text-shadow: 0 0 3px #999;
+}
+
+/********************** Favorites ***********************/
+#view_navi_destination_favorites {
+       top: 0px;
+       width: 800px;
+       height: 432px;
+       background: url(../images/nav/dest/navi_destination_Favorites_bg.png) no-repeat;
+       z-index:1001;
+}
+
+#view_navi_destination_favorites .content {
+       top: 119px;
+       left: 100px;
+}
+
+#view_navi_destination_favorites .i1{
+       top: 57px;
+       left: -9px;
+}
+
+#view_navi_destination_favorites .i2{
+       top: 117px;
+       left: -9px;
+}
+
+#view_navi_destination_favorites .az{
+       top: 12px;
+       left: 472px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_favorites .date{
+       top: 12px;
+       left: 566px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_favorites .edit{
+       top: 56px;
+       left: 437px;
+       width: 98px;
+       white-space: nowrap;
+       text-align: center;
+}
+
+#view_navi_destination_favorites .delete1{
+       top: 57px;
+       left: 538px;
+       width: 96px;
+       white-space: nowrap;
+       text-align: center;
+}
+
+#view_navi_destination_favorites .delete2{
+       top: 115px;
+       left: 538px;
+       width: 96px;
+       white-space: nowrap;
+       text-align: center;
+}
+
+#view_navi_destination_favorites .add{
+       top: 116px;
+       left: 437px;
+       width: 98px;
+       white-space: nowrap;
+       text-align: center;
+}
+
+#view_navi_destination_favorites .myhome{
+       white-space: nowrap;
+       left: 80px;
+       top: 57px;
+}
+
+.help-mode #view_navi_destination_favorites {
+       background: url(../images/nav/dest/navi_destination_Favorites_bg_help.png) no-repeat;
+}
+
+.help-mode #view_navi_destination_favorites .label-20 {
+       text-shadow: 0 0 3px #999;
+}
+
+/*** Previous ***/
+#view_navi_destination_previous {
+       top: 0px;
+       width: 800px;
+       height: 432px;
+       background: url(../images/nav/dest/navi_destination_Previous_bg.png) no-repeat;
+       z-index: 1001;
+}
+
+#view_navi_destination_previous .content {
+       top: 119px;
+       left: 100px;
+}
+
+#view_navi_destination_previous .i1 {
+       top: 57px;
+       left: -9px;
+}
+#view_navi_destination_previous .i2 {
+       top: 117px;
+       left: -9px;
+}
+
+#view_navi_destination_previous .date {
+       top: 12px;
+       left: 464px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_previous .city {
+       top: 12px;
+       left: 566px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_previous .delete1 {
+       top: 57px;
+       left: 538px;
+       width: 96px;
+       white-space: nowrap;
+       text-align: center;
+}
+
+#view_navi_destination_previous .delete2 {
+       top: 115px;
+       left: 538px;
+       width: 96px;
+       white-space: nowrap;
+       text-align: center;
+}
+
+#view_navi_destination_previous .add {
+       left: 470px;
+       top: 116px;
+       white-space: nowrap;
+}
+#view_navi_destination_previous .milerd {
+       white-space: nowrap;
+       left: 31px;
+       top: 58px;
+}
+#view_navi_destination_previous .southfield {
+       white-space: nowrap;
+       left: 34px;
+       top: 116px;
+}
+
+.help-mode #view_navi_destination_previous {
+       background: url(../images/nav/dest/navi_destination_Previous_bg_help.png) no-repeat;
+}
+
+.help-mode #view_navi_destination_previous .label-20 {
+       text-shadow: 0 0 3px #999;
+}
+
+/*** POI ***/
+#view_navi_destination_poi {
+       top: 0px;
+       width: 800px;
+       height: 432px;
+       background: url(../images/nav/dest/navi_destination_POI_bg.png) no-repeat;
+       z-index: 1001;
+}
+
+#view_navi_destination_poi .content {
+       top: 118px;
+       left: 99px;
+}
+
+#view_navi_destination_poi .sa{
+       left: -93px;
+       top: 58px;
+       width: 146px;
+       text-align: center;
+}
+
+#view_navi_destination_poi.fr .sa{
+       left: -72px;
+       top: 47px;
+       width: 100px;
+       text-align: center;
+       line-height: 20px;
+}
+
+#view_navi_destination_poi .sbn{
+       width: 145px;
+       left: -92px;
+       top: 104px;
+       text-align: center;
+}
+
+#view_navi_destination_poi.fr .sbn {
+       left: -67px;
+       width: 94px;
+}
+
+#view_navi_destination_poi .sbp {
+       width: 148px;
+       left: -92px;
+       top: 161px;
+       text-align: center;
+}
+
+#view_navi_destination_poi.fr .sbp {
+       line-height: 19px;
+       top: 155px;
+}
+
+#view_navi_destination_poi .recent {
+       left: 554px;
+       top: 12px;
+}
+
+#view_navi_destination_poi .all {
+       left: 437px;
+       top: 12px;
+       width: 99px;
+       text-align: center;
+}
+
+#view_navi_destination_poi .fav {
+       left: 337px;
+       top: 12px;
+       text-align: center;
+       width: 97px;
+}
+
+#view_navi_destination_poi .cat {
+       left: 220px;
+       top: 14px;
+}
+
+#view_navi_destination_poi .fs {
+       left: 116px;
+       top: 58px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_poi .fin {
+       left: 116px;
+       top: 108px;
+       white-space: nowrap;
+}
+#view_navi_destination_poi .ar {
+       left: 116px;
+       top: 158px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_poi .acc {
+       left: 116px;
+       top: 208px;
+       white-space: nowrap;
+}
+#view_navi_destination_poi .p {
+       left: 116px;
+       top: 258px;
+       white-space: nowrap;
+}
+#view_navi_destination_poi .edit1 {
+       left: 535px;
+       top: 55px;
+       white-space: nowrap;
+       width: 100px;
+       text-align: center;
+}
+#view_navi_destination_poi .edit2 {
+       left: 535px;
+       top: 105px;
+       white-space: nowrap;
+       width: 100px;
+       text-align: center;
+}
+#view_navi_destination_poi .edit3 {
+       left: 535px;
+       top: 155px;
+       white-space: nowrap;
+       width: 100px;
+       text-align: center;
+}
+#view_navi_destination_poi .edit4 {
+       left: 535px;
+       top: 205px;
+       white-space: nowrap;
+       width: 100px;
+       text-align: center;
+}
+#view_navi_destination_poi .edit5 {
+       left: 535px;
+       top: 255px;
+       white-space: nowrap;
+       width: 100px;
+       text-align: center;
+}
+
+.help-mode #view_navi_destination_poi {
+       background: url(../images/nav/dest/navi_destination_POI_bg_help.png) no-repeat;
+}
+
+.help-mode #view_navi_destination_poi .label-20 {
+       text-shadow: 0 0 3px #999;
+}
+
+/************** Street Address ***************/
+#view_navi_destination_streetAddress {
+       top: 0px;
+       width: 800px;
+       height: 480px;
+       background-image: url(../images/nav/dest/navi_destination_StreetAddress_bg.png);
+       background-repeat: no-repeat;
+       z-index: 1001;
+}
+
+#view_navi_destination_streetAddress .content{
+       top: 119px;
+       left: 100px;
+}
+
+#view_navi_destination_streetAddress .backButton{
+       top: 11px;
+}
+
+#view_navi_destination_streetAddress .voiceButton{
+       top: 80px;
+}
+
+#view_navi_destination_streetAddress .number {
+       left: -14px;
+       top: -24px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_streetAddress .city {
+       left: 3px;
+       top: 21px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_streetAddress .street {
+       left: 217px;
+       top: -24px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_streetAddress .de {
+       left: 88px;
+       top: 30px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_streetAddress .l26 {
+       left: 350px;
+       top: 30px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_streetAddress .sp {
+       left: 416px;
+       top: 29px;
+       width: 108px;
+       text-align: center;
+       white-space: nowrap;
+}
+
+#view_navi_destination_streetAddress .mi {
+       left: 540px;
+       top: 30px;
+       white-space: nowrap;
+}
+
+.help-mode #view_navi_destination_streetAddress {
+               background-image: url(../images/nav/dest/navi_destination_StreetAddress_bg_help.png);
+}
+
+.help-mode #view_navi_destination_streetAddress .label-20{
+       text-shadow: 0 0 3px #999;
+}
+
+/*** Intersection ***/
+#view_navi_destination_intersection {
+       top: 0px;
+       width: 800px;
+       height: 432px;
+       background: url(../images/nav/dest/navi_destination_Intersection_bg.png) no-repeat;
+       z-index: 1001;
+}
+
+#view_navi_destination_intersection .voiceButton{
+       top: 80px;
+}
+
+#view_navi_destination_intersection .content{
+       top: 119px;
+       left: 100px;
+}
+
+#view_navi_destination_intersection .street1{
+       left: -14px;
+       top: -24px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .city{
+       top: 21px;
+       left: 3px;
+}
+
+#view_navi_destination_intersection .street2{
+       left: 326px;
+       top: -24px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .de {
+       left: 88px;
+       top: -24px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .l26 {
+       left: 238px;
+       top: -25px;
+       white-space: nowrap;
+       font-size: 19px;
+}
+
+#view_navi_destination_intersection .sp {
+       left: 416px;
+       top: 29px;
+       width: 108px;
+       text-align: center;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .mi {
+       left: 540px;
+       top: 30px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .q {
+       left: -67px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .w {
+       left: 4px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .e {
+       left: 79px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .r {
+       left: 150px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .t {
+       left: 222px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .y {
+       left: 295px;
+       top: 109px;
+       white-space: nowrap;
+ }
+
+#view_navi_destination_intersection .u {
+       left: 367px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .i {
+       left: 445px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .o {
+       left: 511px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .p {
+       left: 584px;
+       top: 109px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .a {
+       left: -29px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .s {
+       left: 44px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .d {
+       left: 114px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .f {
+       left: 188px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .g {
+       left: 258px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .h {
+       left: 332px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .j {
+       left: 405px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .k {
+       left: 478px;
+       top: 155px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .l {
+        left: 550px;
+        top: 155px;
+        white-space: nowrap;
+}
+
+#view_navi_destination_intersection .z {
+       left: 7px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .x {
+       left: 79px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .c {
+       left: 149px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .v {
+       left: 223px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .b {
+       left: 293px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .n {
+       left: 366px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .m {
+       left: 439px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .and {
+       left: 656px;
+       top: 204px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .dash {
+       left: 581px;
+       top: 203px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .space {
+       left: 220px;
+       top: 249px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .ch {
+       left: 499px;
+       top: 244px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .abc {
+       left: 357px;
+       top: 244px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_intersection .n123 {
+       left: 429px;
+       top: 250px;
+       white-space: nowrap;
+}
+
+.help-mode #view_navi_destination_intersection {
+       background: url(../images/nav/dest/navi_destination_Intersection_bg_help.png) no-repeat;
+}
+
+.help-mode #view_navi_destination_intersection .label-20 {
+       text-shadow: 0 0 3px #999;
+}
+
+/*** CityCenter ***/
+#view_navi_destination_cityCenter {
+       top: 0px;
+       width: 800px;
+       height: 432px;
+       background: url(../images/nav/dest/navi_destination_CityCenter_bg.png) no-repeat;
+       z-index: 1001;
+}
+
+#view_navi_destination_cityCenter .content{
+       top: 119px;
+       left: 100px;
+}
+
+#view_navi_destination_cityCenter .state {
+       left: 416px;
+       top: 29px;
+       width: 108px;
+       text-align: center;
+       white-space: nowrap;
+}
+
+#view_navi_destination_cityCenter .n26{
+       left: 350px;
+       top: 30px;
+}
+
+#view_navi_destination_cityCenter .city {
+       left: 2px;
+       top: 25px;
+}
+#view_navi_destination_cityCenter .pointer{
+       left: 90px;
+       top: 29px;
+}
+
+#view_navi_destination_cityCenter .mi {
+       left: 540px;
+       top: 30px;
+       white-space: nowrap;
+}
+
+.help-mode #view_navi_destination_cityCenter {
+       background: url(../images/nav/dest/navi_destination_CityCenter_bg_help.png) no-repeat;
+}
+
+.help-mode #view_navi_destination_cityCenter .label-20 {
+       text-shadow: 0 0 3px #999;
+}
+
+/*** Map ***/
+#view_navi_destination_map {
+       width: 800px;
+       height: 432px;
+       background: url(../images/nav/dest/navi_destination_Map_bg.png) no-repeat;
+       top: 0px;
+       z-index: 1001;
+}
+
+#view_navi_destination_map_destination_button{
+       left: 565px;
+       top: 5px;
+       height: 23px;
+       white-space: nowrap;
+       width: 113px;
+       text-align: center;
+       padding: 14px 0 12px;
+       border-top-left-radius: 4px;
+       border-bottom-left-radius: 4px;
+       border-bottom: 1px solid #393939;
+       border-right: none;
+}
+
+#view_navi_destination_map .content{
+       left: 95px;
+       top: 60px;
+}
+
+#view_navi_destination_map .view {
+       left: -14px;
+       top: 120px;
+}
+#view_navi_destination_map .set_as_dest {
+       top: 325px;
+       left: -90px;
+       width: 127px;
+       text-align: center;
+}
+
+#view_navi_destination_map .saw {
+       top: 314px;
+       left: 41px;
+       width: 127px;
+       text-align: center;
+}
+#view_navi_destination_map .saf {
+       top: 314px;
+       left: 171px;
+       width: 127px;
+       text-align: center;
+}
+
+#view_navi_destination_map .poi {
+       top: 315px;
+       left: 306px;
+       width: 120px;
+       text-align: center;
+}
+
+#view_navi_destination_map .tf {
+       left: 445px;
+       top: 318px;
+       width: 99px;
+       text-align: center;
+}
+
+#view_navi_destination_map.fr .tf {
+       top: 314px;
+}
+
+#view_navi_destination_map .menu {
+       left: 615px;
+       top: -41px;
+       white-space: nowrap;
+}
+#view_navi_destination_map .chestnut {
+       left: 251px;
+       top: 12px;
+       white-space: nowrap;
+}
+
+.help-mode #view_navi_destination_map {
+       background: url(../images/nav/dest/navi_destination_Map_bg_help.png) no-repeat;
+}
+
+.help-mode #view_navi_destination_map .label-20{
+       text-shadow: 0 0 3px #999;
+}
+
+.help-mode #view_navi_destination_map_destination_button {
+       border: none;
+       background: none;
+}
+
+/*** Previous Starting Points ***/
+#view_navi_destination_previousStartingsPoint {
+       top: 0px;
+       width: 800px;
+       height: 432px;
+       background: url(../images/nav/dest/navi_destination_PreviousStartPoint_bg.png) no-repeat;
+       z-index: 1001;
+}
+
+#view_navi_destination_previousStartingsPoint .content{
+       top: 119px;
+       left: 100px;
+}
+
+#view_navi_destination_previousStartingsPoint .i1{
+       top: 57px;
+       left: -9px;
+}
+#view_navi_destination_previousStartingsPoint .i2{
+       top: 117px;
+       left: -9px;
+}
+#view_navi_destination_previousStartingsPoint .date{
+       top: 12px;
+       left: 465px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_previousStartingsPoint .city{
+       top: 12px;
+       left: 566px;
+       white-space: nowrap;
+}
+
+#view_navi_destination_previousStartingsPoint .delete1{
+       top: 57px;
+       left: 557px;
+       white-space: nowrap;
+}
+#view_navi_destination_previousStartingsPoint .delete2{
+       top: 115px;
+       left: 557px;
+       white-space: nowrap;
+}
+#view_navi_destination_previousStartingsPoint .add{
+       left: 470px;
+       top: 116px;
+       white-space: nowrap;
+}
+#view_navi_destination_previousStartingsPoint .milerd{
+       white-space: nowrap;
+       left: 31px;
+       top: 58px;
+}
+#view_navi_destination_previousStartingsPoint .southfield{
+       white-space: nowrap;
+       left: 34px;
+       top: 116px;
+}
+
+.help-mode #view_navi_destination_previousStartingsPoint {
+       background: url(../images/nav/dest/navi_destination_PreviousStartPoint_bg_help.png) no-repeat;
+}
+
+.help-mode #view_navi_destination_previousStartingsPoint .label-20 {
+       text-shadow: 0 0 3px #999;
+}
+
+/*** Freeway ***/
+#view_navi_destination_freeWay {
+       top: 0px;
+       width: 800px;
+       height: 432px;
+       background: url(../images/nav/dest/navi_destination_Freeway_bg.png) no-repeat;
+       z-index: 1001;
+}
+
+#view_navi_destination_freeWay .content{
+       top: 119px;
+       left: 100px;
+}
+
+#view_navi_destination_freeWay .state {
+       left: 416px;
+       top: 29px;
+       width: 108px;
+       text-align: center;
+       white-space: nowrap;
+}
+
+#view_navi_destination_freeWay .n26{
+       left: 350px;
+       top: 29px;
+}
+
+#view_navi_destination_freeWay .freeway {
+       left: -16px;
+       top: 28px;
+}
+
+#view_navi_destination_freeWay .pointer{
+       left: 90px;
+       top: 29px;
+}
+
+#view_navi_destination_freeWay .mi {
+       left: 540px;
+       top: 30px;
+       white-space: nowrap;
+}
+
+.help-mode #view_navi_destination_freeWay {
+       background: url(../images/nav/dest/navi_destination_Freeway_bg_help.png) no-repeat;
+}
+
+.help-mode #view_navi_destination_freeWay .label-20 {
+       text-shadow: 0 0 3px #999;
+}
+
+/*** Latitude ***/
+
+#view_navi_destination_latitudeLongitude {
+       top: 0px;
+       width: 800px;
+       height: 432px;
+       background: url(../images/nav/dest/navi_destination_LatitudeLongitude_bg.png) no-repeat;
+       z-index: 1001;
+}
+
+#view_navi_destination_latitudeLongitude .content{
+       top: 119px;
+       left: 100px;
+}
+
+#view_navi_destination_latitudeLongitude .w{
+       left: 526px;
+       top: 149px;
+}
+#view_navi_destination_latitudeLongitude .n{
+       left: 454px;
+       top: 95px;
+}
+#view_navi_destination_latitudeLongitude .s{
+       left: 455px;
+       top: 203px;
+}
+#view_navi_destination_latitudeLongitude .e{
+       left: 383px;
+       top: 149px;
+}
+#view_navi_destination_latitudeLongitude .go{
+       left: 610px;
+       top: 247px;
+}
+#view_navi_destination_latitudeLongitude .longitude{
+       left: 156px;
+       top: 37px;
+}
+#view_navi_destination_latitudeLongitude .latitude{
+       left: 156px;
+       top: -20px;
+}
+#view_navi_destination_latitudeLongitude .dd{
+       left: 45px;
+       top: 10px;
+}
+
+#view_navi_destination_latitudeLongitude .n1{
+       left: 94px;
+       top: 203px;
+}
+
+#view_navi_destination_latitudeLongitude .n2{
+       left: 165px;
+       top: 203px;
+}
+
+#view_navi_destination_latitudeLongitude .n3{
+       left: 237px;
+       top: 203px;
+}
+
+#view_navi_destination_latitudeLongitude .n4{
+       left: 94px;
+       top: 148px;
+}
+
+#view_navi_destination_latitudeLongitude .n5{
+       left: 165px;
+       top: 148px;
+}
+
+#view_navi_destination_latitudeLongitude .n6{
+       left: 237px;
+       top: 148px;
+}
+
+#view_navi_destination_latitudeLongitude .n7{
+       left: 94px;
+       top: 98px;
+}
+
+#view_navi_destination_latitudeLongitude .n8{
+       left: 165px;
+       top: 98px;
+}
+
+#view_navi_destination_latitudeLongitude .n9{
+       left: 237px;
+       top: 98px;
+}
+
+#view_navi_destination_latitudeLongitude .n0{
+       top: 257px;
+       left: 166px;
+}
+
+#view_navi_destination_latitudeLongitude .z1{
+       left: 374px;
+       top: -21px;
+}
+#view_navi_destination_latitudeLongitude .z2{
+       left: 444px;
+       top: -21px;
+}
+#view_navi_destination_latitudeLongitude .z3{
+       left: 374px;
+       top: 38px;
+}
+#view_navi_destination_latitudeLongitude .z4{
+       left: 444px;
+       top: 38px;
+}
+
+#view_navi_destination_latitudeLongitude .wn1{
+       left: 512px;
+       top: -21px;
+}
+#view_navi_destination_latitudeLongitude .wn2{
+       left: 510px;
+       top: 38px;
+}
+
+#view_navi_destination_latitudeLongitude .d1{
+       left: 414px;
+       top: -32px;
+       font-size: 48px;
+}
+#view_navi_destination_latitudeLongitude .d2{
+       left: 414px;
+       top: 28px;
+       font-size: 48px;
+}
+
+#view_navi_destination_latitudeLongitude .mn1{
+       left: 485px;
+       top: -36px;
+       font-size: 22px;
+}
+#view_navi_destination_latitudeLongitude .mn2{
+       left: 485px;
+       top: 25px;
+       font-size: 22px;
+}
+
+.help-mode #view_navi_destination_latitudeLongitude {
+       background: url(../images/nav/dest/navi_destination_LatitudeLongitude_bg_help.png) no-repeat;
+}
+
+.help-mode #view_navi_destination_latitudeLongitude .label-20 {
+       text-shadow: 0 0 3px #999;
+}
+
+/*** Emergency ***/
+#view_navi_destination_emergency {
+       top: 0px;
+       width: 800px;
+       height: 432px;
+       background: url(../images/nav/dest/navi_destination_Emergency_bg.png) no-repeat;
+       z-index: 10001;
+}
+
+#view_navi_destination_emergency .content{
+       top: 119px;
+       left: 100px;
+}
+
+#view_navi_destination_emergency .sa {
+       white-space: nowrap;
+       top: 28px;
+       left: -74px;
+}
+
+#view_navi_destination_emergency.fr .sa {
+       white-space: pre-wrap;
+       position: relative;
+       line-height: 19px;
+       width: 148px;
+       top: 19px;
+       left: -95px;
+       text-align: center;
+}
+
+#view_navi_destination_emergency .nearby {
+       white-space: nowrap;
+       top: 28px;
+       left: 65px;
+}
+#view_navi_destination_emergency .hospital {
+       white-space: nowrap;
+       top: 138px;
+       left: 170px;
+}
+#view_navi_destination_emergency .police {
+       white-space: nowrap;
+       top: 189px;
+       left: 170px;
+}
+#view_navi_destination_emergency .emerg {
+       white-space: nowrap;
+       top: 89px;
+       left: 170px;
+}
+
+.help-mode #view_navi_destination_emergency {
+       background: url(../images/nav/dest/navi_destination_Emergency_bg_help.png) no-repeat;
+}
+
+.help-mode #view_navi_destination_emergency .label-20{
+       text-shadow: 0 0 3px #999;
+}
+
+#nav_arrow {background: url(../images/nav/nav_arrow.png) no-repeat;width: 70px;height: 56px;z-index: 5;left: 21px;top: 73px;}
+
+#nav_arrow.help_blur{ background:url(../images/nav/help/direction_arrow_blur.png) no-repeat !important; width:80px !important; height:66px !important; left:16px !important; top:65px !important;}
+
+#nav_compass{width:50px;height:50px;background: url(../images/nav/compas.png) no-repeat;right:208px; z-index:1;}
+
+#nav_compass.help_blur{ background:url(../images/nav/help/compas_blur.png) no-repeat !important; width:60px !important; height:60px !important; top:-5px; left:-66px;}
+
+
+#navigation_topmenu{right:6px;top:5px;width:197px;height:48px;-webkit-border-radius:3px;border-radius:3px; z-index:6;}
+
+#top_menu_blur_1{ background:url(../images/nav/top_menu_blur_1.png) no-repeat; width:267px; height:58px; display:none; right:1px; z-index:1;}
+
+
+#nav_top_menu_arrow, #help_nav_top_menu_repeat_button{cursor: pointer;background: url(../images/nav/top_menu_bg.png) repeat-x;z-index: 6;-webkit-border-top-right-radius:2px;-webkit-border-bottom-right-radius:2px;border-top-right-radius:2px;border-bottom-right-radius:2px;width:48px;height:48px;right:0px;}
+
+/* Top menu Menu button*/
+#navigation_topmenu_menu_button{
+       cursor:pointer;
+       z-index: 5;
+       background: url(../images/nav/top_menu_bg.png) repeat-x;
+       width:71px;
+       height:48px;
+       left: 75px;
+       font-size:18px;
+       text-align:center;
+       line-height:48px;
+}
+#navigation_topmenu_menu_button.pressed{
+       background: url(../images/nav/nav_bg_pressed.png) repeat-x !important;
+}
+
+#navigation_topmenu_menu_button_help{
+       background:url(../images/nav/help/menu_btn_help.png) no-repeat;
+       width:74px;
+       height:55px;
+       left:74px;
+       bottom:-4px;
+}
+
+
+#navigation_topmenu .delim{background: url(../images/nav/top_menu_delim.png) no-repeat;height:48px;width:4px; z-index:5;}
+#navigation_topmenu .delim2 { left: 71px; }
+#navigation_topmenu .delim3 { left: 146px; }
+
+/* Destination button*/
+#navigation_topmenu_destination_button{
+       cursor:pointer;
+       z-index:6;
+       background: url("../images/nav/top_menu_bg.png") repeat-x;
+       font-size:18px;
+       width:71px;
+       height:48px;
+       text-align:center;
+       line-height:48px;
+       -webkit-border-top-left-radius:2px;
+       -webkit-border-bottom-left-radius:2px;
+       border-top-left-radius:2px;
+       border-bottom-left-radius:2px;
+}
+
+
+
+
+#navigation_topmenu_destination_button.pressed{background: url("../images/nav/nav_bg_pressed.png") repeat-x !important;}
+
+#nav_top_menu_mute ,#help_nav_top_menu_repeat_button img {position:absolute;top:10px;left:10px;}
+
+#nav_top_menu_arrow img {position:absolute;top:10px;left:10px;}
+
+#nav_zoom_in_dis {background: url("../images/nav/zoom_in_dis.png") no-repeat; width: 25px; height: 25px; left: 19px; top: 259px; display: none; z-index: 1000;}
+
+#nav_zoom_out_dis {background: url("../images/nav/zoom_out_dis.png") no-repeat; width: 25px; height: 25px; left: 19px; top: 309px; z-index: 1000;}
+
+.time-dest{ background:url(../images/nav/dest-time.png) no-repeat; width:130px; height:50px; top:349px; left:5px; z-index:1000}
+
+.time-dest .distance{
+       font-size: 20px;
+       left: 50px;
+       top: 3px;
+       position: absolute;
+}
+.time-dest .distance_label{
+       position: absolute;
+       left: 25px;
+       font-size: 16px;
+       top: 4px;
+}
+
+.distance_time{
+       font-size: 20px;
+       left: -24px;
+       top: 16px;
+       position: absolute;
+}
+
+.distance_time_label{
+       position: absolute;
+       left: 40px;
+       font-size: 12px;
+       top: 7px;
+}
+
+
+
+.time-dest.help_blur{
+       background:url(../images/nav/help/miles_button_blur.png) no-repeat !important;
+       width:140px !important;
+       height:60px !important;
+       left:0px !important;
+       top:344px !important;
+}
+
+.time-dest.help_blur span{
+       border: none !important;
+       background: none !important;
+       color: transparent !important;
+       text-shadow: 0 0 3px rgba(256, 256, 256, 0.7);
+}
+
+.time-dest.help_blur .time-dest-cont{
+       top:5px;
+       left:5px;
+}
+
+
+#navigation_zoomin_button{border:1px solid #393939;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;z-index:5;width:50px;height:50px;top:245px;left:5px;cursor:pointer;z-index:1000;background: url("../images/nav/zoom_bg.png") repeat-x;}
+#navigation_zoomout_button{border:1px solid #393939;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;z-index:5;width:50px;height:49px;top:294px;left:5px;cursor:pointer;z-index:1000;background: url("../images/nav/zoom_bg.png") repeat-x;}
+#navigation_zoomin_button .ico{position:absolute;left:13px;top:13px;}
+#navigation_zoomout_button .ico{position:absolute;left:13px;top:13px;}
+
+#navigation_zoomin_button.pressed{background: url("../images/nav/zoom_bg_active.png") repeat-x !important;}
+#navigation_zoomout_button.pressed{background:url("../images/nav/zoom_bg_active.png") repeat-x !important;}
+
+#nav_top_menu_mute_help {display: none; width: 32px; height: 19px; background: url("../images/nav/nav_help_led.png") no-repeat; left: 705px; top: 34px; z-index: 100;}
+#no_freeway {z-index:100; text-align: center; width: 202px;font-size: 21px; bottom: 2px; right: 70px;}
+.nav_type_ico {position:absolute;left:2px;top:-1px;}
+.type_h{position:absolute;left:5px;top:-5px;}
+
+
+
+#navigation_mapsettings{
+       top:175px;
+       left:5px;
+       border:1px solid #333;
+       -webkit-border-radius:3px;
+       z-index:6;
+}
+
+#navigation_mapsettings.noboreder{
+       border:none !important;
+}
+
+/* Type View Change Button*/
+
+#navigation_typeview_button  {
+       position:relative;
+       float:left;
+       background: url(../images/nav/type_view_btn_bg.png) no-repeat;
+       cursor:pointer;
+       font-size:18px;
+       width:60px;
+       height:57px;
+       text-align:center;
+       line-height:40px;
+       border-left:1px solid #333;
+       z-index:5;
+}
+
+.helpmode #navigation_typeview_button {
+       top:1px;
+       left:1px;
+}
+
+#navigation_typeview_button p {
+       margin-top:6px;
+}
+#navigation_typeview_button div{
+       width:22px;
+       height:17px;
+       left:13px;
+       bottom:8px;
+       position:relative;
+       float:left;
+       margin-left:-9px;
+}
+#navigation_typeview_button div.small_ind_def{
+       background:url(../images/nav/small_ind_def.png) no-repeat;
+}
+#navigation_typeview_button div.small_ind_active{
+       background:url(../images/nav/small_ind_yell.png) no-repeat;
+}
+#navigation_typeview_button.pressed{
+       background: url(../images/nav/type_view_btn_bg_pressed.png) no-repeat !important;
+}
+
+#helptypeviewchange{
+       background:url(../images/nav/help/type_view_button_help.png) no-repeat;
+       width:85px;
+       height:80px;
+       left:50px;
+       top:-10px;
+}
+
+
+/* Map View Change Button*/
+
+#navigation_mapview_button{
+       cursor:pointer;
+       width:60px;
+       height:57px;
+       background:url(../images/nav/map_view_btn_bg.png) no-repeat;
+       z-index:1000;
+       position:relative;
+       float:left;
+}
+#navigation_mapview_button .ico {
+       margin-left: 5px;
+}
+#navigation_mapview_button div{
+       width:22px;
+       height:17px;
+       left:13px;
+       bottom:12px;
+       position:relative;
+       float:left;
+       margin-left:-9px;
+}
+#navigation_mapview_button div.small_ind_def{
+       background:url(../images/nav/small_ind_def.png) no-repeat;
+}
+#navigation_mapview_button div.small_ind_active{
+       background:url(../images/nav/small_ind_yell.png) no-repeat;
+}
+#navigation_mapview_button.pressed{
+        background:url(../images/nav/map_view_btn_bg_pressed.png) no-repeat !important;
+}
+/* END Map View Change Button*/
+
+
+
+#help_navigation_mapview_button{
+               width:60px;
+               height:70px;
+               z-index:1001;
+               top:170px;
+}
+
+#help_navigation_mapview_button.button_type1{
+               background:url(../images/nav/help/view_type1_button_blur.png) no-repeat !important;
+               z-index:1;
+               width:65px;
+}
+#help_navigation_mapview_button.button_type2{
+               background:url(../images/nav/help/view_type2_button_blur.png) no-repeat !important;
+               z-index:1;
+               width:65px;
+}
+#help_navigation_mapview_button.button_type3{
+               background:url(../images/nav/help/view_type3_button_blur.png) no-repeat !important;
+               z-index:1;
+               width:65px;
+}
+
+/* Nav Menu*/
+
+#nav_menu_view {
+       width: 496px;
+       height: 216px;
+       background: black;
+       z-index: 1000;
+       top: 125px;
+       left:155px;
+       border: 2px solid #167B3B;
+}
+
+#nav_menu_lable{
+       font-size: 24px;
+       position: relative;
+       width: 400px;
+       margin: 0 auto;
+       margin-top: 10px;
+       text-align: center;
+}
+
+#nav_menu_buttons{
+       border: 1px solid #393939;
+       width: 461px;
+       height: 152px;
+       position: relative;
+       margin: 0 auto;
+       -webkit-border-radius:4px;
+       margin-top:10px;
+}
+
+#nav_menu_buttons .button{
+       background:url(../images/list/list_item_bg.png) repeat-x;
+       width: 230px;
+       height: 50px;
+       border-bottom: 1px solid #393939;
+       position:relative;
+       float:left;
+}
+
+#nav_menu_buttons .button.right_border{
+       border-right: 1px solid #393939;
+}
+
+#nav_menu_buttons .button span{
+       font-size: 18px;
+       line-height: 48px;
+       padding-left: 20px;
+}
+#nav_menu_buttons .button.pressed{
+       background: url(../images/list/list_item_pressed.png) repeat-x !important;
+}
+
+#guadian_mute .ind_act{
+       position: absolute;
+       right:14px;
+       top:9px;
+       background:url(../images/climate/ind_vert_active.png) no-repeat;
+       width:19px;
+       height:32px;
+}
+
+#guadian_mute .ind_inact{
+       position: absolute;
+       background:url(../images/climate/ind_vert_def.png) no-repeat;
+       width:6px;
+       height:21px;
+       right:20px;
+       top:14px;
+}
+
+
+
+#distance{background: url("../images/nav/distance.png") no-repeat bottom left;width: 133px;height: 14px;font-size: 20px;text-shadow: 0px 0px 3px #fff;color: black;top: 397px;padding: 0 0 11px 10px;z-index: 5;left: 6px;}
+
+#distance.help_blur{ background:url(../images/nav/help/distance_linedecor_blur.png) no-repeat !important; width:143px !important; height:24px !important; top:402px !important; left:1px !important;}
+#distance.help_blur span{ position:absolute; bottom:16px; left:15px;}
+
+
+.typeview2{left: 0;background-position: -140px 0 !important;  width: 395px !important;}
+.typeview3{left: 0;background-position: -140px 0 !important;  width: 395px !important;}
+
+#navigation_view1{background: url("../images/nav/nav_bg.png") no-repeat; width:800px; height:480px; display:none;}
+
+#navigation_view1.help_blur{ background:url(../images/nav/help/nav_bg_blur.png) no-repeat !important; top:3px;}
+
+#navigation_view1.typeview1{display:block; background-position:0 0 !important;}
+
+#navigation_view2 {display: none;background: url("../images/nav/map_view2_with_icons.png") 0px -30px no-repeat;width:343px;height:233px;left: 395px;top: 56px;z-index: 5;}
+
+#navigation_view2.help_blur{ background:url(../images/nav/help/map_view2_blur.png) no-repeat !important; height:434px !important; }
+
+#navigation_view2.help_blur .nav2_ctrls2,
+#navigation_view2.help_blur .nav2_ctrls,
+#navigation_view2.help_blur .turn-list {
+       border: none !important;
+       background: none !important;
+       color: transparent !important;
+       text-shadow: 0 0 3px rgba(256, 256, 256, 0.7);
+}
+
+
+#navigation_view2.typeview2{display:block; background-position:0 -30px !important;}
+
+
+#navigation_view3 {display: none;background: url("../images/nav/map_view3.png") 0px -70px no-repeat;width: 343px;height: 335px;left: 395px;top: 70px;z-index: 5;}
+
+#navigation_view3.help_blur{ background:url(../images/nav/help/type_3_content_blur.png) no-repeat !important; width:415px !important; height:443px !important; top:65px !important; left:390px !important; }
+
+
+
+#navigation_view3.typeview3{display:block; background-position:0 -70px !important;}
+
+#navigation_view3.forhelp {z-index: 200; background: none !important;}
+
+#street {line-height: 56px;text-align:center;font-size:20px;text-shadow:1px 1px 1px #000;z-index: 5;top: 369px;left: 164px;background:url("../images/nav/street.png") no-repeat;width:470px;height:50px;}
+
+
+#street.help_blur{ background:url(../images/nav/help/street_bar_blur.png) no-repeat !important; width:480px !important; height:60px !important; left:159px !important; top:361px !important; line-height: 63px !important;}
+
+
+.phone_help_view2 {display: block; z-index: 10 !important;/* left: -405px !important;*/}
+#help_view_2 {width: 400px; height: 480px; background: url("../images/nav/blur_nav_controls_view2.png") no-repeat; z-index: 100; left: 400px; display: none;}
+#help_view_3 {width: 400px; height: 480px; background: url("../images/nav/blur_nav_controls_view3.png") no-repeat; z-index: 100; left: 395px; display: none;}
+#blur_zoom {width: 132px; height: 227px; background: url("../images/nav/phone_blur_zoom.png") no-repeat;  top: 173px;z-index: 1999;left:4px; display: none;}
+
+.blur_zoom2 {background: url("../images/nav/phone_blur_zoom2.png") no-repeat !important; top: 174px !important;}
+.blur_zoom3 {background: url("../images/nav/phone_blur_zoom3.png") no-repeat !important; top: 174px !important; left:5px !important;}
+
+#help_nav_di_blur {z-index: 100; width: 143px; height: 25px; background: url("../images/nav/di_blur.png") no-repeat; bottom: 58px;left: 6px; display: none;}
+
+#help_nav_arrow_wrap {display:none; right: 0;z-index: 1002;top: 0;width: 71px; height: 67px; background: url("../images/bg/nav_btn_bg.png") no-repeat;}
+#help_nav_arrow {top: 6px;right: 7px;cursor: pointer;background: url("../images/nav/top_menu_bg.png") repeat-x;z-index: 5;-webkit-border-top-right-radius:2px;-webkit-border-bottom-right-radius:2px;border-top-right-radius:2px;border-bottom-right-radius:2px;width:48px;height:48px;}
+#help_nav_arrow img {position:absolute;top:10px;left:11px;}
+
+
+#help_nav_view {background: url("../images/nav/help_nav_wrap.png") no-repeat; width: 124px; height: 67px; right: 92px; z-index: 1003; top: 0;display: none;}
+
+#dest_nav_blur{width:800px;height:480px;z-index: 100;display: none;background: url(../images/nav/destination_blur.png) no-repeat;}
+
+
+#help_nav_top_menu_view {top: 6px;z-index:5;cursor:pointer;left:63px;font-size:18px;width:48px;height:48px;text-align:center;line-height:40px;}
+#help_nav_top_menu_view .ico1{position:absolute;left:6px;top:35px;}
+#help_nav_top_menu_view .ico2{position:absolute;left:18px;top:35px;}
+#help_nav_top_menu_view .ico3{position:absolute;left:30px;top:35px;}
+
+#help_nav_top_menu_dest{cursor: pointer;z-index: 5;background: url("../images/nav/top_menu_bg.png") repeat-x;left: 13px;font-size: 18px;top: 6px;width: 48px;height: 48px;text-align: center;line-height: 48px;-webkit-border-top-left-radius: 2px;-webkit-border-bottom-left-radius: 2px;border-top-left-radius: 2px;border-bottom-left-radius: 2px;}
+
+#help_nav_top_menu_view .active{left:-1px;top:28px;}
+#help_nav_top_menu_view .ico2.active{left: 11px;}
+#help_nav_top_menu_view .ico3.active{left: 23px;}
+
+.nav2_ctrls {font-size: 20px; font-weight: bold; left: 131px;}
+.nav2_ctrls2 {font-size: 20px; font-weight: normal; left: 60px;}
+
+#nav_mich_mi {top: 40px;}
+#nav_outer_mi {top: 90px;}
+#nav_main_street_mi {top: 140px;}
+#nav_wyoming_street_mi {top: 190px;}
+
+#nav_wyoming_street {top: 190px;}
+#nav_main_street {top: 141px;}
+#nav_outer {top: 93px;}
+#nav_mich {top: 40px;}
+
+
+#navigation_view2 .turn-list { top:306px; left:9px; width:325px; height:50px; font-size: 20px; line-height: 50px; border: 1px solid #393939; }
+#navigation_view2 .turn-list span{ margin-left: 13px; }
+
+#navigation_view2.help_blur .turn-list { top:307px; left:10px; width:325px; height:50px; font-size: 20px; line-height: 50px; border: none; }
+#navigation_view2.help_blur .turn-list .arrow-ico { opacity: 0 !important; }
+
+#nav_red_arrow {width: 38px; height: 36px; background: url(../images/nav/red_arrow.png) no-repeat; left: 16px; top: 35px;}
+#nav_left_arrow {width: 38px; height: 36px; background: url(../images/nav/left_arrow.png) no-repeat; left: 16px; top: 85px;}
+#nav_right_arrow {width: 38px; height: 36px; background: url(../images/nav/right_arrow.png) no-repeat; left: 16px; top: 135px;}
+#nav_flag_arrow {width: 38px; height: 36px; background: url(../images/nav/flag.png) no-repeat; left: 16px; top: 185px;}
+#nav_red_arrow.blur{background: url(../images/nav/red_arrow_blur.png) no-repeat;}
+#nav_left_arrow.blur{background: url(../images/nav/left_arrow_blur.png) no-repeat;}
+#nav_right_arrow.blur{background: url(../images/nav/right_arrow_blur.png) no-repeat;}
+#nav_flag_arrow.blur{background: url(../images/nav/flag_blur.png) no-repeat;}
+
+
+#view-blur{background:url(../images/nav/view2-1-blur.png) no-repeat; width:800px; height:480px; z-index:1001; display:none;}
+#view-blur-2{background:url(../images/nav/view2-2-blur.png) no-repeat; width:800px; height:480px; z-index:1001; display:none;}
+#view-blur-3{background:url(../images/nav/view2-3-blur.png) no-repeat; width:800px; height:480px; z-index:1001; display:none;}
+
+.dest-logo{font-size: 30px; top: -30px; left: 5px;}
+.speak-ico{background:url(../images/nav/dest-speak-ico.png) no-repeat; width:50px; height:50px; left:679px; top:-40px;}
+
+#navigation_destination{width:800px;  height:480px; background:url(../images/nav/bg.png) no-repeat; z-index:1001;}
+#widget_navigation{position:absolute;width: 400px;height: 183px; left:400px;}
+#home_main_mi {font-size: 21px;  left: 159px; top: 102px;}
+#home_main_st {font-size: 27px; left: 140px; top: 126px;}
+#home_screen_arrow {background: url(../images/nav/arrow_home.png) no-repeat; width: 91px; height: 74px; right: 153px; top: 18px;}
+#home_screen_arrow.help {background: url(../images/nav/arrow_home_blur.png) no-repeat !important;}
+
+#home_non_nav {
+       background: url(../images/home/home_nav_off.jpg) no-repeat;
+       width: 140px;
+       height: 140px;
+       left: 125px;
+       top: 20px;
+}
+
+#home_non_nav.help {
+       background: url(../images/home/home_nav_off_blur.jpg) no-repeat;
+}
+
+#status_nav{top:0px;right:0px;text-align:right;font-size:21px; width:324px; height:48px; cursor:pointer; background:url(../images/common/nav-status-bg.png) no-repeat; z-index:1;display:none;}
+
+#navigation_status_label {
+       width: 100%;
+       display: block;
+       visibility: hidden;
+}
+
+#navigation_status_label span {
+       padding-right: 11px;
+}
+#navigation_status_on{height:48px; width:310px; position:relative; float:right;}
+#navigation_status_on .nav_distance{position: relative; right: 11px;}
+#navigation_status_on .ico{width: 26px;left: 60px;top: 10px; position:absolute;}
+
+#help_navigation_zoom_button{width: 62px; height:110px; top:240px; z-index:1001;}
+#help_navigation_zoom_button.button_type1{ background:url(../images/nav/help/zoom_buttons_plus_disabled.png) no-repeat;}
+#help_navigation_zoom_button.button_type2{ background:url(../images/nav/help/zoom_buttons_minus_disabled.png) no-repeat;}
+#help_navigation_zoom_button.button_type3{ background:url(../images/nav/help/zoom_buttons_all_active.png) no-repeat;}
+
+.dark_map{opacity:0.5 !important;}
+
+#help_yellow_border{ background:url(../images/nav/help/top_menu_yellow_border.png) no-repeat; width:124px; height:67px; top: -6px;
+left: -13px; z-index:5;}
+
+#help_yellow_border_repeat_button{ background:url(../images/nav/help/repeate_btn_yellow_border.png) no-repeat; width:71px; height:67px; z-index:5;left: 133px;
+top: -5px;}
+
+#navigation_topmenu_help_mute_button{
+       background:url(../images/nav/help/mute_button_blur.png) no-repeat;
+       width:64px;
+       height:58px;
+       left: 91px;
+       z-index: 5;
+       top: -5px;
+}
+
+#navigation_topmenu_help_mute_button.active_led{ background:url(../images/nav/help/mute_button_active_blur.png) no-repeat !important;}
+
+#view2_list_container{width: 343px;}
+
+#destination_view_blur{ background:url(../images/nav/help/destination_view_blur.png) no-repeat; width:800px; height:480px;}
+
+
+/******************* For Navigation.Destination menu*******************/
+#navigation_destination {
+       width: 800px;
+       height: 480px;
+}
+
+#navigation_destination .backButton{
+       top: 59px;
+}
+
+#navigation_destination .block-header-title{
+       top: 67px;
+       left: 73px;
+}
+
+#navigation_destination_pushToTalk_buttton{
+       top: 80px;
+       right: 5px;
+       height: 48px;
+       width:  48px;
+       border: 1px solid #4bffff;
+       border-radius: 2px;
+}
+
+#navigation_destination_list {
+       top: 139px;
+       left: 64px;
+       width: 734px;
+       height: 250px;
+}
+
+#navigation_destination_list .list-content {
+       border: none !important;
+}
+#navigation_destination_list .scrollbar {
+       height: 248px !important;
+}
+
+#navigation_destination_list .sb-bottom {
+       height: 47px;
+}
+
+#navigation_destinationt {
+       height: 250px;
+       position: relative;
+       float: left;
+       margin-top: 5px;
+       width: 554px;
+}
+
+#navigation_destination_list .list-item .ico{
+       width: 50px;
+       height: 50px;
+}
+
+#navigation_destination_list .list-content {
+       width: 684px;
+}
+
+#navigation_destination .list-item {
+       position: relative;
+       width: 330px;
+       float: left;
+       margin-right: 10px;
+       height: 49px;
+       font-size: 20px;
+       line-height: 50px;
+       border: 1px solid #393939;
+       border-bottom: none;
+       cursor: pointer;
+}
+
+#navigation_destination .list-item .ico {
+       float: left;
+}
+
+#navigation_destination .list-item span {
+       height: 23px;
+}
+
+#navigation_destination .inner-wrapper {
+       left: 100px;
+       top: 71px;
+}
+
+#navigation_destination .group_button_wraper{
+       width: 330px;
+       position: absolute;
+       height: 49px;
+       top: 339px;
+       left: 406px;
+       border: 1px solid #333;
+       text-align: center;
+}
+
+.helpmode #navigation_destination .group_button_wraper span{
+       text-shadow: 0 0 3px #999;
+}
+
+.helpmode #navigation_destination .group_button_wraper {
+       margin: 1px 1px;
+}
+
+#navigation_destination .delim {
+       left:161px;
+       width: 4px;
+       height: 48px;
+       background: url(../images/common/delim.png) no-repeat;
+       z-index: 100;
+}
+
+#navigation_destination .group_button_wraper .button{
+       position: relative;
+       float: left;
+       width: 165px;
+       height: 48px;
+       cursor: pointer;
+       line-height: 50px;
+}
+
+#navigation_destination .group_button_wraper span{
+       font-size: 20px;
+       line-height: 25px;
+       text-align: center;
+}
+
+#navigation_destination.fr #navigation_destination_editRoute_Button span {
+       position: absolute;
+       width: 79px;
+       left: 41px;
+       top: 5px;
+       line-height: 19px;
+}
+
+#navigation_destination.fr #navigation_destination_cancelRoute_Button span {
+       position: absolute;
+       width: 98px;
+       left: 33px;
+       top: 5px;
+       line-height: 19px;
+}
+
+#navigation_destination.help-mode {
+       background-image: url(../images/settings/navigation_destination_help.png);
+       background-repeat: no-repeat;
+}
+
+#navigation_destination.help-mode .group_button_wraper .button, #navigation_destination.help-mode  .group_button_wraper{
+       border: none !important;
+       background: none !important;
+}
+
+#navigation_destination.help-mode .delim{
+       opacity: 0;
+}
+
+/*#navigation_destination_list .list-item.voice-over{
+       border: 1px solid #4BFFFF;
+       border-bottom: none;
+}*/
+
+#navigation_destination_list_item0, #navigation_destination_list_item1{
+       border-top-left-radius: 2px;
+       border-top-right-radius: 2px;
+}
+
+#navigation_destination_list_item8,
+#navigation_destination_list_item3{
+       height: 48px !important;
+       border-bottom: 1px solid #393939 !important;
+       border-bottom-left-radius: 2px;
+       border-bottom-right-radius: 2px;
+}
+
+#navigation_destination_list_item12,
+#navigation_destination_list_item11{
+       height: 48px !important;
+       border-bottom: 1px solid #393939 !important;
+}
+
+#navigation_destination.help-mode{
+       background-image: url(../images/nav/help/navigation_destnation_bg_help.png) !important;
+       background-repeat: no-repeat;
+}
+
+.helpmode #navigation_destination_list_item8,
+.helpmode #navigation_destination_list_item3
+{
+       height: 50px !important;
+       border-bottom: none !important;
+}
+
+.helpmode #navigation_destination_list span{
+       margin-top: 1px;
+       line-height: 51px;
+}
+
+.helpmode #navigation_destination .list-item{
+       margin-right: 11px;
+       margin-left: -1px;
+       width: 332px;
+}
+
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/phone.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/phone.css
new file mode 100644 (file)
index 0000000..aa80540
--- /dev/null
@@ -0,0 +1,1500 @@
+/**
+ * Phone module CSS
+ *
+ * @category   Style Sheets
+ * @filesource css/phone.css
+ * @version            2.0
+ */
+
+#phone {
+       width: 800px;
+       height: 480px;
+       background: url(../images/phone/bg.png) no-repeat;
+       background-position: top;
+}
+
+.helpmode #phone {
+       background-position: bottom;
+}
+
+/* Backgrpund for active toogleButton*/
+#phone .toogleButtonContainer .active {
+       background: url(../images/phone/bcs-item_bg_act.png);
+}
+
+#phone .delim {
+       position: relative;
+       float: left;
+       border: #393939 1px solid;
+       height: 26px;
+       width: 0px;
+}
+
+/* LEFT MENU */
+#phone_menu{position:absolute;top:90px;left:0px;width:150px;height:300px;}
+       .ls_border {z-index:201;position:absolute;top:-3px;left:0px;width:153px;height:306px;}
+       .ls-items{position:relative;width:150px;height:300px;}
+       .ls-item{
+               z-index:201;
+               position:relative;
+               width:150px;
+       }
+       .ls-item > .bg{z-index:201;position:absolute;top:0px;left:0px;width:150px;height:50px;}
+       .ls-item > .ico{z-index:299;position:absolute;left:10px;width:30px;height:30px;top:10px;}
+       .ls-item > .ico.more {left:50px;}
+       .ls-item span {z-index:298;position:absolute;left:50px;width:100px;height:50px;font-size:18px;line-height:50px;white-space:nowrap;overflow:hidden;}
+       .ls-item > .led{z-index:299;position:absolute;top:0px;right:8px;width:24px;height:50px;}
+       .ls-item.empty{background:#333333;}
+       .firts_item{-webkit-border-top-right-radius:3px;border-top-right-radius:3px;}
+       .last_item{-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;}
+       .lsp1_p{background:url("../images/phone/menu_bg.png") repeat-x bottom;}
+       .phone_active {
+               background:url("../images/phone/menu_active.png") repeat-x bottom !important;
+               border-top: 1px solid #3e3115;
+               border-bottom: 1px solid #4a3a17
+       }
+#phone_menu .ls-item {
+       height:48px;
+               border-bottom: 1px solid #656565;
+               border-top: 1px solid #393939;
+}
+       .navigation {width:26px;height:25px;background:url("../images/phone/ico_navigation.png") no-repeat;left:60px;top:10px;}
+
+#phone_menu.hide {
+       left: -170px;
+}
+
+#phone_menu_quickdialButton,
+#phone_menu_messagingButton,
+#phone_menu_settingsButton {
+       z-index: 203;
+}
+
+#phone .list-item.active {
+       background: url(../images/phone/phone_button_bg_active.png) repeat-x;
+}
+/* PHONE STATUS BAR */
+#status_phone {
+       top: 0px;
+       left: 0px;
+       font-size: 21px;
+       cursor: pointer;
+       width: 324px;
+       height: 48px;
+       background: url(../images/common/phone-statusbar-bg.png) no-repeat;
+       z-index: 1;
+    display:none;
+}
+
+#status_phone_label {
+       width: 100%;
+       display: block;
+       visibility: hidden;
+}
+
+#status_phone_label span {
+       padding-left: 11px;
+}
+
+#status_phone_call {
+       position: absolute;
+       top: 0px;
+       left: 11px;
+}
+
+#status_phone_antena {
+       background: url(../images/phone/phone_antena.png) no-repeat;
+       width: 28px;
+       height: 18px;
+       top: 15px;
+       left: 236px;
+}
+
+
+/* PHONE HOME WIDGET */
+
+#home_widgetPhone_dndButton {
+       -webkit-border-radius: 3px;
+       -moz-border-radius: 3px;
+       border-radius: 3px;
+       border: 1px solid #393939;
+       padding: 12px 53px 11px 14px;
+       font-size: 21px;
+       top: 104px;
+       left: 96px;
+}
+
+#home_widgetPhone_onCall {
+       width: 100%;
+}
+
+#home_widgetPhone_dndButton .ind_inact {
+       position: absolute;
+       right: 17px;
+       top: 13px;
+       width:6px;
+       height:21px;
+       background:url(../images/common/ind_vert_def.png) no-repeat;
+}
+
+#home_widgetPhone_dndButton .ind_act {
+       position: absolute;
+       right: 11px;
+       top: 8px;
+       background:url(../images/common/ind_vert_active.png) no-repeat;
+       width:19px;
+       height:32px;
+}
+
+#home_widgetPhone_endCallButton {
+       -webkit-border-radius: 3px;
+       -moz-border-radius: 3px;
+       border-radius: 3px;
+       border: 1px solid #393939;
+       padding: 12px 77px 11px 14px;
+       font-size: 21px;
+       top: 104px;
+       left: 96px;
+       z-index: 0;
+}
+
+#home_widgetPhone_endCallButton .ico {
+       left: 60px;
+       position: relative;
+       top: 2px;
+       float: right;
+}
+
+#home_widgetPhone_icons {
+       background: url(../images/home/home_phone.png) no-repeat;
+       width: 137px;
+       height: 35px;
+       left: 132px;
+       top: 18px;
+}
+
+#home_widgetPhone_icons.help {
+       background: url(../images/home/home_phone_blur.png) no-repeat !important;
+}
+
+#home_widgetPhone_label {
+       font-size: 27px;
+       top: 60px;
+       left: 52px;
+       width: 300px;
+       text-align: center;
+}
+
+#home_widgetPhone_nameInfo {
+       position: relative;
+       left: 100px;
+       top: 25px;
+}
+
+#home_widgetPhone_nameInfo span {
+       font-size: 24px;
+       margin-left: 43px;
+}
+
+#home_widgetPhone_callInfo {
+       position: relative;
+       left: 100px;
+       top: 38px;
+}
+
+#home_widgetPhone_callInfo span {
+       font-size: 24px;
+       margin-left: 20px;
+}
+
+#home_widgetPhone_help {
+       width: 194px;
+       height: 155px;
+       background: url(../images/home/home_phone_end_blur.png) no-repeat;
+       position: absolute;
+       top: 15px;
+       left: 82px;
+       z-index: 1;
+       visibility: hidden;
+}
+
+/* PHONE MODULE */
+
+/* DIALPAD  */
+
+
+#phone_endCallMessage {
+       background: black;
+       border: 1px solid #A28542;
+       -moz-border-radius: 3px;
+       -webkit-border-radius: 3px;
+       font-size: 23px;
+       font-weight: bold;
+       height: 75px;
+       left: 271px;
+       line-height: 68px;
+       text-align: center;
+       top: 170px;
+       width: 250px;
+       z-index: 1000;
+       display: none;
+}
+
+#phone_info {
+       width: 248px;
+       height: 27px;
+       top: 15px;
+       left: 15px;
+       z-index: 10010;
+}
+
+#phone_info_number {
+       font-size: 15px;
+}
+
+#phone_info_name {
+       font-size: 20px;
+       width: 132px;
+}
+
+#phone_info_name p {
+       margin-top: -3px;
+}
+
+#phone_dialpad_number {
+       width: 283px;
+       height: 30px;
+       position: absolute;
+       left: 258px;
+       top: 87px;
+       text-align: center;
+       font-size: 22px;
+       padding: 10px 0 0 0;
+       background: black;
+       border: 1px solid #393939;
+       border-radius: 3px;
+}
+
+#phone_dialpad_keypad {
+       width: 282px;
+       height: 200px;
+       position: absolute;
+       left: 259px;
+       top: 141px;
+}
+
+#phone_dialpad_keypad div {
+       font-size: 26px;
+       text-align: center;
+       line-height: 32px;
+}
+
+
+#phone_dialpad_keypad .words {
+       font-size: 17px;
+       margin: -11px 0 0 0;
+       display: block;
+       color: #999;
+}
+
+#phone_dialpad_keypad .left {
+       left: 0px;
+       width: 93px;
+       height: 49px;
+       border-left: 1px solid #393939;
+       border-right: 1px solid #000;
+       border-top: 1px solid #393939;
+}
+
+#phone_dialpad_keypad .center {
+       left: 95px;
+       width: 93px;
+       height: 49px;
+       border-top: 1px solid #393939;
+       border-left: 1px solid #393939;
+       border-right: 1px solid #000;
+}
+
+#phone_dialpad_keypad .right {
+       left: 190px;
+       width: 93px;
+       height: 49px;
+       border-left: 1px solid #393939;
+       border-right: 1px solid #393939;
+       border-top: 1px solid #393939;
+}
+
+#phone_dialpad_keypad_key4, #phone_dialpad_keypad_key5, #phone_dialpad_keypad_key6 {
+       top:50px;
+}
+
+#phone_dialpad_keypad_key7, #phone_dialpad_keypad_key8, #phone_dialpad_keypad_key9 {
+       top:100px;
+}
+
+
+#phone_dialpad_keypad_key0, #phone_dialpad_keypad_keyDiez, #phone_dialpad_keypad_keyStar {
+       top:150px;
+       border-bottom: 1px solid #393939;
+}
+
+#phone_dialpad_keypad_key1 {
+       -webkit-border-top-left-radius: 3px;
+       border-top-left-radius: 3px;
+}
+
+#phone_dialpad_keypad_key3 {
+       -webkit-border-top-right-radius: 3px;
+       border-top-right-radius: 3px;
+}
+
+#phone_dialpad_keypad_keyStar {
+       -webkit-border-bottom-left-radius:3px;
+       border-bottom-left-radius:3px;
+}
+#phone_dialpad_keypad_keyDiez {
+       -webkit-border-bottom-right-radius:3px;
+       border-bottom-right-radius:3px;
+}
+
+
+/* Dialpad controls */
+
+#phone_dialpad_controls {
+       width: 526px;
+       height: 38px;
+       border: 1px solid #393939;
+       -webkit-border-radius: 3px;
+       border-radius: 3px;
+       top: 355px;
+       left: 259px;
+}
+
+#phone_dialpad_controls div {
+       position: absolute;
+       background-repeat: repeat-x;
+       height: 38px;
+       width: 130px;
+       text-align: center;
+       line-height: 38px;
+       font-size: 20px;
+}
+
+#phone_dialpad_controls_privacyButton {
+       border-right: 1px solid  #000;
+       z-index: 2001;
+       cursor: pointer;
+}
+
+#phone_dialpad_controls .ind_inact {
+       position: absolute;
+       right: 8px;
+       top: 8px;
+       width:6px;
+       height:21px;
+       background:url(../images/common/ind_vert_def.png) no-repeat;
+}
+
+#phone_dialpad_controls .ind_act {
+       position: absolute;
+       right: 2px;
+       top: 3px;
+       background:url(../images/common/ind_vert_active.png) no-repeat;
+       width:19px;
+       height:32px;
+}
+
+
+#phone_dialpad_controls_holdButton {
+       left: 131px;
+       border-left: 1px solid  #393939;
+       border-right: 1px solid  #000;
+               cursor: pointer;
+}
+
+#phone_dialpad_controls_muteButton {
+       left: 263px;
+       border-left: 1px solid  #393939;
+       border-right: 1px solid  #000;
+               cursor: pointer;
+}
+
+#phone_dialpad_controls_joinButton {
+       border-left: 1px solid  #393939;
+       left: 395px;
+       z-index: 2001;
+       cursor: pointer;
+}
+
+#phone_dialpad_deleteButton {
+       opacity:0;
+       cursor: pointer;
+       width: 93px;
+       height: 49px;
+       -webkit-border-radius: 3px;
+       border-radius: 3px;
+       left: 554px;
+       top: 291px;
+       border: 1px solid #393939;
+}
+
+#phone_dialpad_deleteButton .ico {
+       position: absolute;
+       left: 34px;
+       top: 15px;
+}
+
+
+#phone_dialpad_dialButton {
+       cursor: pointer;
+       border: 1px solid #393939;
+       left: 661px;
+       top: 241px;
+       width: 128px;
+       height: 49px;
+       -webkit-border-top-left-radius: 3px;
+       border-top-left-radius: 3px;
+       -webkit-border-top-right-radius: 3px;
+       border-top-right-radius: 3px;
+}
+
+#phone_dialpad_dialButton span {
+       font-size: 18px;
+       position: absolute;
+       left: 14px;
+       top: 14px;
+}
+
+#phone_dialpad_dialButton .ico {
+       position: absolute;
+       right: 14px;
+       top: 11px;
+}
+
+
+#phone_dialpad_endButton {
+       cursor: pointer;
+       border: 1px solid #393939;
+       left: 661px;
+       top: 291px;
+       width: 128px;
+       height: 49px;
+       -webkit-border-bottom-left-radius: 3px;
+       border-bottom-left-radius: 3px;
+       -webkit-border-bottom-right-radius: 3px;
+       border-bottom-right-radius: 3px;
+}
+
+#phone_dialpad_endButton span {
+       font-size: 18px;
+       position: absolute;
+       left: 14px;
+       top: 14px;
+}
+
+#phone_dialpad_endButton .ico {
+       position: absolute;
+       right: 9px;
+       top: 16px;
+}
+
+#phone_dialpad_contactImage {
+       opacity: 0;
+       width: 130px;
+       height: 135px;
+       background: url("../images/phone/dial_photo.png") repeat-x;
+       left: 658px;
+       top: 86px;
+}
+
+/* QUICK DIAL */
+
+#phone_quickdial_content {
+       width: 630px;
+       height: 250px;
+       left: 166px;
+       top: 98px;
+       background: url(../images/phone/quick_dial_inact_bg.png) no-repeat;
+}
+
+#phone_quickdial ul.l-block {
+       list-style: none;
+       position: relative;
+       float: left;
+       width: 320px;
+       height: 250px;
+}
+
+#phone_quickdial ul.r-block {
+       list-style: none;
+       position: relative;
+       float: left;
+       width: 310px;
+       height: 250px;
+}
+
+#phone_quickdial ul li {
+       line-height: 50px;
+       font-size: 20px;
+}
+
+#phone_quickdial ul li span.number {
+       position: relative;
+       float: left;
+       padding-left: 5px;
+       padding-right: 15px;
+       font-size: 29px;
+       width: 22px;
+}
+
+/* PHONEBOOK */
+#phone_phonebook_content {
+       left: 166px;
+       top: 98px;
+       width: 633px;
+       height: 295px;
+}
+
+#phone_phonebook_filters {
+       width: 470px;
+       height: 40px;
+       position: relative;
+       margin-left: 100px;
+       background: url(../images/phone/book-filter-bg.png) no-repeat;
+}
+
+#phone_phonebook_filters ul {
+       list-style: none;
+}
+
+#phone_phonebook_filters li {
+       float: left;
+       width: 94px;
+       text-align: center;
+       line-height: 40px;
+       font-size: 20px;
+}
+
+#phone_phonebook_list {
+       height: 251px;
+       position: relative;
+       float: left;
+       margin-top: 5px;
+       width: 630px;
+}
+
+#phone_phonebook_list .list-content {
+       width: 568px;
+}
+
+#phone_phonebook .list-item span {
+       padding-left: 10px;
+}
+
+/* HISTORY */
+
+#phone_history_content {
+       left: 166px;
+       top: 98px;
+       width: 625px;
+       height: 295px;
+}
+
+#phone_history_filters {
+       background: url(../images/phone/history-filter-bg.png) no-repeat;
+       width: 470px;
+       height: 40px;
+       position: relative;
+}
+
+#phone_history_filters ul {
+       list-style: none;
+}
+
+#phone_history_filters li {
+       float: left;
+       width: 117px;
+       text-align: center;
+       line-height: 40px;
+       font-size: 20px;
+}
+
+#phone_history_list {
+       width: 470px;
+       height: 251px;
+       position: relative;
+       top: 5px;
+       float: left;
+}
+
+#phone_history_list .list-content {
+       width: 413px;
+}
+
+#phone_history_list .list-item .ico {
+       margin-top: 7px;
+       margin-right: 5px;
+       margin-left: 5px;
+       float: left;
+}
+
+#phone_history_list .list-item .right_text {
+       margin-right: 6px;
+}
+
+#phone_history_controls {
+       width: 150px;
+       height: 149px;
+       left: 5px;
+       top: 5px;
+       position: relative;
+       float: left;
+       border: 1px solid #393939;
+       border-radius:3px;
+       -webkit-border-radius:3px;
+       -moz-border-radius:3px;
+}
+
+#phone_history_dial {
+       position: relative;
+       height: 50px;
+       width: 150px;
+       font-size: 20px;
+       line-height: 43px;
+}
+
+#phone_history_dial span {
+       padding-left: 10px;
+}
+
+#phone_history_dial .ico {
+       float: right;
+       margin: 10px;
+}
+
+#phone_history_savedial {
+       position: relative;
+       height: 99px;
+       width: 150px;
+       font-size: 20px;
+       line-height: 43px;
+}
+
+#phone_history_savedial span {
+       padding-left: 10px;
+}
+
+/* MESSAGING */
+
+#phone_messaging_content {
+       left: 166px;
+       top: 98px;
+       width: 570px;
+       height: 295px;
+}
+
+#phone_messaging_send {
+       background: url(../images/phone/btn_bg.png) repeat-x;
+       width: 150px;
+       height: 38px;
+       position: relative;
+       float: left;
+       font-size: 20px;
+       line-height: 40px;
+       border: 1px solid #393939;
+       border-radius:3px;
+}
+
+#phone_messaging_send span {
+       padding-left: 10px;
+}
+
+#phone_messaging_send .arrow-ico {
+       top: -5px;
+}
+
+#phone_messaging_controls {
+       background: url(../images/phone/msg-r-group-bg.png) no-repeat;
+       width: 300px;
+       height: 40px;
+       position: relative;
+       float: right;
+}
+
+#phone_messaging_controls ul {
+       list-style: none;
+}
+
+#phone_messaging_controls ul li {
+       float: left;
+       width: 150px;
+       text-align: center;
+       line-height: 40px;
+       font-size: 20px;
+}
+
+#phone_messaging_list {
+       width: 570px;
+       height: 250px;
+       position: relative;
+       margin-top: 45px;
+       background: url(../images/phone/msg-list-bg.png) no-repeat;
+}
+
+#phone_messaging_list ul.list {
+       float: left;
+       list-style: none;
+}
+
+#phone_messaging_list ul.del {
+       float: right;
+       list-style: none;
+}
+
+#phone_messaging_list ul.list li {
+       width: 320px;
+       height: 50px;
+       font-size: 20px;
+       line-height: 50px;
+       padding-left: 50px;
+}
+
+#phone_messaging_list ul.del li {
+       width: 100px;
+       height: 50px;
+       font-size: 20px;
+       line-height: 50px;
+       text-align: center;
+}
+
+/* SETTINGS */
+#phone_settings {
+       z-index: 10001;
+}
+
+#phone_settings_content {
+       width: 627px;
+       height: 300px;
+       left: 166px;
+       top: 87px;
+}
+
+#phone_settings_list {
+       width: 630px;
+       height: 301px;
+       position: relative;
+       top: 5px;
+       float: left;
+}
+
+#phone_settings_list .list-content {
+       width: 570px;
+}
+
+#phone_settings_list .list-item > span,
+#phone_settings_list .lableToggle span{
+       padding-left: 7px;
+}
+
+#phone_settings_list .list-item .ico {
+       position: absolute;
+       right: 10px;
+       top: 8px;
+       opacity: 1;
+}
+
+#phone_settings_list .lableToggleButton{
+       background-image: url(../images/list/list_item_bg.png);
+}
+
+#phone_settings .toogleButtonContainer {
+       position: relative;
+       width: 198px;
+       height: 28px;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       float: right;
+       margin-top: 10px;
+       margin-right: 10px;
+}
+
+/* HELP MODE */
+
+#phone .shifted {
+       width: 650px;
+       left: 150px;
+}
+
+#phone .blured_background {
+       visibility: hidden;
+       width: 800px;
+       height: 480px;
+       z-index: 1001;
+       position: absolute;
+}
+
+#phone_dialpad_help {
+       background: url(../images/phone/phone_help_dialpad.png) no-repeat;
+}
+
+#phone_quickdial_help {
+       background: url(../images/phone/phone_help_quickdial.png) no-repeat;
+}
+
+#phone_phonebook_help {
+       background: url(../images/phone/phone_help_phonebook.png) no-repeat;
+}
+
+#phone_history_help {
+       background: url(../images/phone/phone_help_history.png) no-repeat;
+}
+
+#phone_messaging_help {
+       background: url(../images/phone/phone_help_messaging.png) no-repeat;
+}
+
+#phone_settings_help {
+       background: url(../images/phone/phone_help_settings.png) no-repeat;
+}
+
+#phone_menu_help {
+       background: url("../images/phone/phone_help_menu.png") no-repeat;
+       width: 165px;
+       height: 315px;
+       z-index: 202;
+       pointer-events: none;
+}
+
+#phone_help_divider {
+       height: 3px;
+       width: 150px;
+       top: 249px;
+       left: 0;
+}
+
+#phone_settings_help_dndButton {
+       font-size: 20px;
+       line-height: 55px;
+       height: 50px;
+       width: 570px;
+       top: 190px;
+       left: 16px;
+       z-index: 2001;
+       cursor: pointer;
+}
+
+#phone_settings_help_dndButton span {
+       padding-left: 8px;
+}
+
+#phone_settings_help_dndButton .ico {
+       position: absolute;
+       right: 9px;
+       top: 13px;
+       opacity: 1;
+}
+
+/* Phone settings Bluetooth Devices */
+#phone_settings_BluetoothDevices_view {
+       width: 800px;
+       height: 480px;
+       background-image: url(../images/phone/bg.png);
+       font-size: 20px;
+       z-index: 10001;
+}
+
+#phone_settings_BluetoothDevices_view .backButton {
+       margin-top: 59px;
+}
+
+#phone_settings_BluetoothDevices_view .block-header-title {
+       top: 69px;
+}
+
+#phone_settings_BluetoothDevices_view .bluetoothLogo{
+       background: url(../images/phone/ico_bluetoothConnect.png) no-repeat;
+       top: 109px;
+       left: 5px;
+       height: 50px;
+       width: 50px;
+}
+
+#phone_settings_BluetoothDevices_list {
+       margin-top: 109px;
+       margin-left: 65px;
+       width: 570px;
+       height: 301px;;
+}
+
+
+#phone_settings_BluetoothDevices_list .list-content {
+       border-right: none;
+       border-top: none;
+}
+
+#phone_settings_BluetoothDevices_list .list-item:first-child {
+       border-top: 1px solid #393939;
+       height: 48px;
+}
+
+#phone_settings_BluetoothDevices_list .list-item {
+       position: relative;
+       width: 503px;
+       float: left;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+       border-right: 1px solid #393939;
+       line-height: 50px;
+}
+
+#phone_settings_BluetoothDevices_list .list-item.pressed {
+       background: url(../images/phone/phone_button_bg_active.png) repeat-x !important;
+}
+
+#phone_settings_BluetoothDevices_list .list-item > span {
+       position: absolute;
+       left: 63px;
+}
+
+#phone_settings_BluetoothDevices_list .list-item .ico {
+       position: absolute;
+       float: left;
+       left: 9px;
+}
+
+#phone_settings_BluetoothDevices_list .list-item .right_ico {
+       float: right;
+}
+
+#phone_settings_BluetoothDevices_list .list-item.big-ico img {
+       float: right;
+       border: none;
+       margin-top: 4px;
+       margin-right: 9px;
+}
+
+#phone_settings_BluetoothDevices_view .right-menu{
+       top: 109px;
+       right: 3px;
+       float: right;
+       width: 150px;
+       border: 1px solid #393939;
+       border-bottom: none;
+       -webkit-border-radius: 3px;
+}
+
+#view_phone_phoneSettings_bluetoothDevices_rightmenu .menu-item{
+       position: relative;
+       width: 135px;
+       height: 49px;
+       cursor: pointer;
+       border-bottom: 1px solid #333;
+       font-size: 18px;
+       line-height: 46px;
+       padding-left: 15px;
+}
+
+#phone_settings_BluetoothDevices_view.help-mode  {
+       background-image: url(../images/phone/phone_settings_bluetoothDevices_bg_help.png);
+       background-repeat: no-repeat;
+}
+
+#phone_settings_BluetoothDevices_view.help-mode .menu-item,
+#phone_settings_BluetoothDevices_view.help-mode .right-menu {
+       border: none;
+       background: none;
+}
+
+#phone_settings_BluetoothDevices_view.help-mode .menu-item{
+       margin-top: 1px;
+       right: 1px;
+}
+
+#phone_settings_BluetoothDevices_view.help-mode .menu-item .arrow-ico,
+#phone_settings_BluetoothDevices_view.help-mode .bluetoothLogo{
+       opacity: 0;
+}
+
+.help-mode #phone_settings_BluetoothDevices_view .list-item span {
+       text-shadow: 0 0 3px #999;
+}
+
+.help-mode #phone_settings_BluetoothDevices_list .list-item span {
+       text-shadow: 0 0 3px #999;
+}
+
+/* Phone settings Phone Ringer */
+#phone_settings_phoneRinger_view {
+       width: 800px;
+       height: 480px;
+       background-image: url(../images/phone/bg.png);
+       font-size: 20px;
+       z-index: 10001;
+}
+
+
+#phone_settings_phoneRinger_view .backButton {
+       margin-top: 59px;
+}
+
+#phone_settings_phoneRinger_view .block-header-title {
+       top: 69px;
+}
+
+#phone_settings_phoneRinger_list {
+       margin-top: 139px;
+       margin-left: 65px;
+       width: 734px;
+       height: 251px;;
+}
+
+#phone_settings_phoneRinger_list .list-content {
+       width: 674px;
+       border-right: none;
+       border-top: none;
+}
+
+#phone_settings_phoneRinger_list .list-item:first-child,
+#phone_settings_phoneRinger_list .soundButton:first-child{
+       border-top: 1px solid #393939;
+       height: 48px;
+}
+
+#phone_settings_phoneRinger_list .list-item {
+       position: relative;
+       width: 613px;
+       float: left;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+       border-right: 1px solid #393939;
+       line-height: 50px;
+}
+
+#phone_settings_phoneRinger_list .list-item.soundButton {
+       width: 48px;
+       border-left: 1px solid #393939;
+       margin-left: 10px;
+}
+
+#phone_settings_phoneRinger_list .list-item.soundButton .ico {
+       border: none;
+       margin-top: 12px;
+       margin-right: 11px;
+}
+
+#phone_settings_phoneRinger_list .list-item.pressed {
+       background: url(../images/phone/phone_button_bg_active.png) repeat-x !important;
+}
+
+#phone_settings_phoneRinger_list .list-item > span {
+       margin-left: 13px;
+}
+
+#phone_settings_phoneRinger_list .list-item .ico {
+       float: right;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       margin-top: 9px;
+       margin-right: 9px;
+}
+
+#phone_settings_phoneRinger_list .list-item.big-ico img {
+       float: right;
+       border: none;
+       margin-top: 4px;
+       margin-right: 9px;
+}
+
+#phone_settings_phoneRinger_list .toggles, #phone_settings_phoneRinger_list .toggles span {
+       width: 148px;
+}
+
+#phone_settings_phoneRinger_view.help-mode  {
+       background-image: url(../images/phone/phone_settings_phoneRinger_bg_help.png);
+       background-repeat: no-repeat;
+}
+
+.help-mode #phone_settings_phoneRinger_view .list-item span {
+       text-shadow: 0 0 3px #999;
+}
+
+.help-mode #phone_settings_phoneRinger_list .list-item span {
+       text-shadow: 0 0 3px #999;
+}
+
+/* Phone settings Text Message Notification */
+#phone_settings_textMessageNotification_view {
+       width: 800px;
+       height: 480px;
+       background-image: url(../images/phone/bg.png);
+       font-size: 20px;
+       z-index: 10001;
+}
+
+
+#phone_settings_textMessageNotification_view .backButton {
+       margin-top: 59px;
+}
+
+#phone_settings_textMessageNotification_view .block-header-title {
+       top: 69px;
+}
+
+#phone_settings_textMessageNotification_list {
+       margin-top: 139px;
+       margin-left: 65px;
+       width: 731px;
+       height: 251px;
+}
+
+#phone_settings_textMessageNotification_list .list-content {
+       width: 674px;
+       border-right: none;
+       border-top: none;
+}
+
+#phone_settings_textMessageNotification_list .list-item:first-child,
+#phone_settings_textMessageNotification_list .soundButton:first-child{
+       border-top: 1px solid #393939;
+       height: 48px;
+}
+
+#phone_settings_textMessageNotification_list .list-item {
+       position: relative;
+       width: 613px;
+       float: left;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+       border-right: 1px solid #393939;
+       line-height: 50px;
+}
+
+#phone_settings_textMessageNotification_list .list-item.soundButton {
+       width: 48px;
+       border-left: 1px solid #393939;
+       margin-left: 10px;
+}
+
+#phone_settings_textMessageNotification_list .list-item.soundButton .ico {
+       border: none;
+       margin-top: 12px;
+       margin-right: 11px;
+}
+
+#phone_settings_textMessageNotification_list .list-item.pressed {
+       background: url(../images/phone/phone_button_bg_active.png) repeat-x !important;
+}
+
+#phone_settings_textMessageNotification_list .list-item > span {
+       margin-left: 13px;
+}
+
+#phone_settings_textMessageNotification_list .list-item .ico {
+       float: right;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       margin-top: 9px;
+       margin-right: 9px;
+}
+
+#phone_settings_textMessageNotification_list .list-item.big-ico img {
+       float: right;
+       border: none;
+       margin-top: 4px;
+       margin-right: 9px;
+}
+
+#phone_settings_textMessageNotification_list .toggles, #phone_settings_textMessageNotification_list .toggles span {
+       width: 148px;
+}
+
+#phone_settings_textMessageNotification_view.help-mode  {
+       background-image: url(../images/phone/phone_settings_textMessageNotification_bg_help.png);
+       background-repeat: no-repeat;
+}
+
+.help-mode #phone_settings_textMessageNotification_view .list-item span {
+       text-shadow: 0 0 3px #999;
+}
+
+.help-mode #phone_settings_textMessageNotification_list .list-item span {
+       text-shadow: 0 0 3px #999;
+}
+
+/* Phone settings Internet Data Connection */
+#phone_settings_internetDataConnection_view {
+       width: 800px;
+       height: 480px;
+       background-image: url(../images/phone/bg.png);
+       font-size: 20px;
+       z-index: 10001;
+}
+
+
+#phone_settings_internetDataConnection_view.help-mode .toogleButtonContainer {
+       border: none !important;
+
+}
+
+#phone_settings_internetDataConnection_view .backButton {
+       margin-top: 59px;
+}
+
+#phone_settings_internetDataConnection_view .block-header-title {
+       top: 69px;
+}
+
+#phone_settings_internetDataConnection_view .content {
+       top: 119px;
+       left: 100px;
+       width: 650px;
+       height: 300px;
+}
+
+#phone_settings_phoneRinger_phone_label {
+       position: relative;
+       width: 300px;
+       height: 29px;
+       float: left;
+       margin-left: 12px;
+}
+
+#phone_settings_phoneRinger_phone_label .ico {
+       margin-top: -12px;
+       margin-left: -6px;
+}
+
+#phone_settings_phoneRinger_phone_label span {
+       position: absolute;
+       margin-left: 13px;
+       top: -3px;
+}
+
+#phone_settings_internetDataConnection_view .lableToggleButton {
+       position: relative;
+       margin-top: 1px;
+       width: 560px;
+       height: 50px;
+       line-height: 50px;
+       float: left;
+}
+
+#phone_settings_internetDataConnection_view .toogleButtonContainer {
+       width: 298px;
+       margin-left: 213px;
+       margin-right: 9px;
+       margin-top: 9px;
+}
+
+#phone_settings_internetDataConnection_view .lableToggleButton .lableToggle > span {
+       margin-left: 12px;
+}
+
+#phone_settings_internetDataConnection_view .helpButton {
+       position: relative;
+       float: right;
+       margin-top: 10px;
+       height: 28px;
+       width: 88px;
+       border: 1px solid #333;
+       border-radius: 2px;
+}
+
+#phone_settings_internetDataConnection_view .helpButton .ico{
+       margin-top: 4px;
+       margin-left: 38px;
+}
+
+#phone_settings_phoneRinger_DUNSettings_button {
+       position: relative;
+       float: left;
+       width: 648px;
+       height: 48px;
+       line-height: 50px;
+       border: 1px solid #333;
+       border-radius: 2px;
+}
+
+#phone_settings_phoneRinger_DUNSettings_button span {
+       margin-left: 12px;
+}
+
+#phone_settings_internetDataConnection_view .wraper {
+       position: relative;
+       float: left;
+       top: -1px;
+       border: 1px solid #333;
+       border-radius: 2px;
+       height: 109px;
+       padding-left: 10px;
+       padding-top: 9px;
+       width: 638px;
+}
+
+#phone_settings_phoneRinger_dataUsage_label {
+       width: 613px;
+}
+
+#phone_settings_phoneRinger_dataUsage_label span {
+       line-height: 25px
+}
+
+#phone_settings_internetDataConnection_view.fr #phone_settings_phoneRinger_dataUsage_label {
+       line-height: 21px;
+}
+
+#phone_settings_internetDataConnection_view.fr #phone_settings_phoneRinger_dataUsage_label span{
+       line-height: 21px;
+}
+
+#phone_settings_internetDataConnection_view.help-mode .content .ico,
+#phone_settings_internetDataConnection_view.help-mode .arrow-ico {
+       opacity: 0;
+}
+
+#phone_settings_internetDataConnection_view.help-mode .wraper {
+       top: 0px;
+       left: 1px;
+       border: none;
+}
+
+#phone_settings_internetDataConnection_view.help-mode .content .button {
+       border: none;
+       background: none;
+}
+
+.help-mode #phone_settings_phoneRinger_DUNSettings_button {
+       top: 1px;
+}
+
+#phone_settings_internetDataConnection_view.help-mode {
+       background: url(../images/phone/phone_settings_internetDataConnection_bg_help.png) no-repeat;
+}
+
+#phone_settings_internetDataConnection_view.help-mode .lableToggleButton {
+       top: -1px;
+       left: -1px;
+}
+
+#phone_settings_internetDataConnection_view.help-mode .lableToggleButton .button0 span {
+       margin-left: 0px !important;
+}
+
+#phone_settings_internetDataConnection_view.help-mode .lableToggleButton .button1 span {
+       margin-left: 2px !important;
+}
+
+#phone_settings_internetDataConnection_view.help-mode .lableToggleButton .button2 span {
+       margin-left: 3px !important;
+}
+
+.help-mode #phone_settings_phoneRinger_DUNSettings_button {
+       margin-left: 1px;
+}
+
+.help-mode #phone_settings_phoneRinger_OnConnect_Lable {
+       margin-top: 3px;
+}
+
+/* Phone settings phonebook */
+#phone_settings_phoneBook_view {
+       width: 800px;
+       height: 480px;
+       background-image: url(../images/phone/bg.png);
+       font-size: 20px;
+       z-index: 10001;
+}
+
+#phone_settings_phoneBook_view .backButton {
+       margin-top: 59px;
+}
+
+#phone_settings_phoneBook_view .block-header-title {
+       top: 69px;
+}
+
+#phone_settings_phoneBook_list {
+       margin-top: 139px;
+       margin-left: 65px;
+       width: 731px;
+       height: 251px;;
+}
+
+#phone_settings_phoneBook_list .list-content {
+       width: 670px;
+}
+
+#phone_settings_phoneBook_list .list-item {
+       position: relative;
+       width: 670px;
+       float: left;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+       line-height: 50px;
+}
+
+#phone_settings_phoneBook_list .list-item > span {
+       margin-left: 13px;
+}
+
+#phone_settings_phoneBook_list .list-item .lableToggle span {
+       margin-left: 13px;
+}
+
+#phone_settings_phoneBook_list .list-item .ico {
+       float: right;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       margin-top: 9px;
+       margin-right: 9px;
+}
+
+#phone_settings_phoneBook_list .list-item.big-ico img {
+       float: right;
+       border: none;
+       margin-top: 4px;
+       margin-right: 9px;
+}
+
+#phone_settings_phoneBook_list .toogleButtonContainer {
+       width: 298px;
+}
+
+#phone_settings_phoneBook_view.help-mode .toogleButtonContainer {
+       border: none !important;
+}
+
+#phone_settings_phoneBook_view.fr #phone_settings_phoneBook_list_item0 .lableToggle {
+       line-height: 19px;
+       width: 360px;
+       margin: 5px 0px 0px 13px;
+}
+
+#phone_settings_phoneBook_view.fr #phone_settings_phoneBook_list_item0 .lableToggle span {
+       margin-left: 0px;
+}
+
+#phone_settings_phoneBook_view.help-mode {
+       background-image: url(../images/phone/phone_settings_phoneBook_bg_help.png);
+       background-repeat: no-repeat;
+}
+
+phone_settings_phoneBook_view.help-mode #phone_settings_phoneBook_view .list-item span {
+       text-shadow: 0 0 3px #999;
+}
+
+phone_settings_phoneBook_view.help-mode #phone_settings_phoneBook_list .list-item span {
+       text-shadow: 0 0 3px #999;
+}
+
+phone_settings_phoneBook_view.help-mode #phone_settings_phoneBook_list .toogleButtonContainer  {
+       margin-right: 11px;
+}
+
+phone_settings_phoneBook_view.help-mode #phone_settings_phoneBook_list .lablePlusButton .button.single {
+       right: 1px;
+       top: 1px;
+}
+phone_settings_phoneBook_view.help-mode #phone_settings_phoneBook_list .button1 span {
+       margin-left: 3px !important;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/sdl.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/sdl.css
new file mode 100644 (file)
index 0000000..55a34ff
--- /dev/null
@@ -0,0 +1,903 @@
+/**
+ * CSS for sdl aplications
+ */
+
+.ffw_list_menu {
+       left: 440px;
+       width: 158px;
+       border: 1px solid #393939;
+       overflow: hidden;
+}
+
+.ffw_list_menu .control {
+       z-index: 2000;
+       text-align: center;
+}
+
+.ffw_list_menu .ffw-button {
+       position: relative;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+       line-height: 50px;
+}
+
+.ffw_list_menu .ffw-button span {
+       margin-left: 20px;
+}
+
+.ffw_list_menu .content {
+       position: relative;
+}
+
+.ffw_list_menu .ffw-button.hidden {
+       display: none;
+}
+
+.sdl-window {
+       width: 800px;
+       height: 480px;
+       background-color: #000;
+       z-index: 1;
+}
+
+.sdl-window .back-button {
+       top: 80px;
+       left: 5px;
+       width: 48px;
+       height: 48px;
+       border: 1px solid #333;
+       border-radius: 2px;
+}
+
+.sdl-window .back-button .ico {
+       margin-top: 13px;
+       margin-left: 8px;
+}
+
+.sdl-window .caption-text {
+       top: 80px;
+       left: 75px;
+       width: 620px;
+       height: 20px;
+       background: #393939;
+       padding: 15px;
+}
+
+#info_nonMedia {
+       z-index: 1001;
+}
+
+#info_nonMedia .backButton {
+       top: 80px;
+       left: 20px;
+}
+
+#info_nonMedia .inner_content {
+       left: 180px;
+       top: 90px;
+       width: 600px;
+       height: 300px;
+}
+
+#info_nonMedia .app_title {
+       width: 390px;
+       padding: 15px;
+       top: 1px;
+       background-color: #393939;
+}
+
+#info_nonMedia .app_image {
+       top: 60px;
+}
+
+#info_nonMedia .app_fields {
+       left: 160px;
+       top: 60px;
+       width: 260px;
+}
+
+#info_nonMedia .app_fields .label {
+       position: relative;
+       border: 1px solid #393939;
+       padding: 7px;
+       margin-bottom: 5px;
+}
+
+#info_nonMedia .presets {
+    top: 220px;
+    width: 420px;
+    height: 80px;
+}
+
+#info_nonMedia .presets .ffw-button {
+    width: 138px;
+    height: 38px;
+    position: relative;
+    float: left;
+    line-height: 40px;
+    border-bottom: 1px solid #393939;
+    border-right: 1px solid #393939;
+    border-top: 1px solid #222;
+    border-left: 1px solid #222;
+    text-align: center;
+}
+
+#info_nonMedia .app_image img{
+       border: 1px solid #393939;
+}
+
+#sdl_options .list{
+       width: 650px;
+       height: 251px;
+       border-radius: 2px;
+       left: 75px;
+       top: 150px;
+}
+
+/*#sdl_view_container .list-content,*/
+#sdl_options .list-content{
+       width: 590px;
+}
+#info_apps_deviceList_list .list-content span,
+#sdl_view_container .list-content span,
+#sdl_options .list-content span{
+       margin-left: 15px;
+}
+
+#sdl_options .list-content .ico {
+    height: 49px;
+    float: left;
+}
+
+#info_nonMedia_options_submenu {
+       z-index: 11000;
+       width: 800px;
+       height: 480px;
+       background-color: black;
+       top: 0px;
+       left: 0px;
+}
+
+#sdl_media_presetButtons .preset-item > span {
+       z-index: 202;
+       display: block;
+       position: absolute;
+       left: 10px;
+       width: 140px;
+       height: 50px;
+       font-size: 20px;
+       line-height: 50px;
+       overflow: hidden;
+       text-overflow: ellipsis;
+       color: white;
+}
+
+#sdl_view_container .preset-items{
+       width: 468px;
+}
+
+#sdl_view_container .main-preset-buttons-wraper .preset-item.a3,
+#sdl_view_container .main-preset-buttons-wraper .preset-item.a6{
+       width: 155px;
+}
+
+#sdl_view_container .player_controllsV2{
+       top: 241px !important;
+       height: 48px;
+}
+
+#sdl_view_container .player_controllsV2 .ffw-button{
+       height: 48px;
+}
+
+#sdl_view_container .player_controllsV2 img{
+       margin-top: -26px;
+}
+
+
+/* ScrollableMessage */
+#ScrollableMessage.ScrollableMessage{
+       left: 0;
+       top: 0;
+       width:  800px;
+       height: 480px;
+       /*z-index: 1000;*/
+       background: url(../images/media/bg.png) no-repeat;
+}
+
+#ScrollableMessage.active{
+       opacity: 1;
+       display: block;
+}
+
+#ScrollableMessage .backButton {
+       top: 80px;
+       width: 48px;
+       height: 48px;
+       border: 1px solid #333;
+       border-radius: 2px;
+}
+
+#ScrollableMessage .titleText{
+       top: 80px;
+       left: 75px;
+       width: 620px;
+       height: 20px;
+       background: #393939;
+       padding: 15px;
+}
+
+#ScrollableMessage .scrollableText{
+       position: absolute;
+       width: 525px;
+       height: 251px;
+       border-radius: 2px;
+       left: 200px;
+       top: 154px;
+       overflow: hidden;
+}
+
+#ScrollableMessage .scrollableText-content{
+       border: none;
+       width: 474px;
+}
+
+#ScrollableMessage .scrollableText-item {
+       position: relative;
+       width: 100%;
+       height: 48px;
+       font-size: 20px;
+       line-height: 50px;
+       border: 1px solid #393939;
+}
+
+#ScrollableMessage .ffw_list_menu {
+       top: 154px !important;
+       left: 25px !important;
+}
+
+#ScrollableMessage .scrollableTextArea{
+       margin: 0px;
+       /*height: 251px;*/
+       width: 469px;
+       font-family: sans-serif;
+       font-size: 16px;
+       color: white;
+       background-color: transparent;
+       resize: none;
+       line-height: 23px;
+       position: absolute;
+}
+
+
+/* SDL Slider */
+
+.slider-header {
+       top: 167px;
+       left: 145px;
+       width: 480px;
+       height: 20px;
+       background: #393939;
+       padding: 15px;
+}
+
+.slider-footer {
+       top: 325px;
+       left: 145px;
+       width: 480px;
+       height: 20px;
+       background: #393939;
+       padding: 15px;
+}
+
+#slider_view .sliderControl {
+       width: 600px;
+       left: 100px;
+       top: 250px;
+       text-align: center;
+}
+
+#slider_view .control {
+       width: 58px;
+       height: 38px;
+       border: 1px solid #393939;
+       position: relative;
+       display: inline-block;
+}
+
+
+#slider_view .ledContainer{
+       position: relative;
+       display: inline-block;
+       border: 1px solid #393939;
+       height: 38px;
+}
+
+
+ #slider_view .control.minus .ico {
+        top: 19px;
+        left: 20px;
+        position: absolute;
+ }
+ #slider_view .control.plus .ico {
+        top: 12px;
+        left: 20px;
+        position: absolute;
+ }
+
+#slider_view .led {
+       width: 12px;
+       height: 40px;
+       background: url("../images/common/seat-act-led.png") no-repeat;
+       position: relative !important;
+       background-position: -4px 0;
+       display: inline-block;
+}
+#slider_view .led-inactive {
+       background: url("../images/common/seat-inact-led.png") no-repeat;
+       background-position: 3px 8px;
+       width: 12px;
+       height: 40px;
+       position: relative !important;
+       display: inline-block;
+}
+
+
+/*     SDL Perform Interaction Choise,
+       SDL TBT Turn List */
+#tbtTurnListView .list,
+#perform_interaction_view .list{
+       position: absolute;
+       width: 650px;
+       height: 251px;
+       border-radius: 2px;
+       left: 75px;
+       top: 154px;
+}
+#tbtTurnListView .list span,
+#perform_interaction_view .list span{
+       margin-left: 15px;
+}
+#tbtTurnListView .list-content,
+#perform_interaction_view .list-content{
+       width: 578px;
+}
+#sdl_view_container .cd_logo{
+       position: absolute;
+       top: 90px;
+       right: 10px;
+       border: 1px solid #393939;
+       -webkit-border-radius: 2px;
+       width: 109px;
+       height: 109px;
+}
+#sdl_view_container .cd_logoV2{
+       position: absolute;
+       top: 70px;
+       right: 10px;
+       border: 1px solid #393939;
+       -webkit-border-radius: 2px;
+       width: 109px;
+       height: 109px;
+}
+#sdl_view_container .timeV2{
+       top: 155px;
+}
+#sdl_view_container .textLimit{
+       width: 460px;
+       text-overflow: ellipsis;
+       overflow: hidden;
+}
+#VRButton.VRButton{
+       background: url(../images/home/controlButtons/vr.png) no-repeat;
+       width: 89px;
+       height: 90px;
+       left: 1024px;;
+       top: 2px;
+       -webkit-transition: 0.2s;
+}
+#VRButton.pressed{
+       background: url(../images/home/controlButtons/vr_pressed.png) no-repeat;
+}
+#vehicleInfoButton.vehicleInfoButton{
+       width: 117px;
+       height: 48px;
+       left: 1059px;
+       top: 206px;
+       text-align: center;
+       line-height: 48px;
+}
+#tbtClientStateButton.tbtClientStateButton{
+       width: 158px;
+       height: 48px;
+       left: 1018px;
+       top: 418px;
+       text-align: center;
+       line-height: 48px;
+}
+#tbtClientStateView,
+#VehicleInfo{
+       opacity: 0;
+       left: 50px;
+       width: 700px;
+       height: 340px;
+       background-color: black;
+       z-index: 2;
+       border-radius: 10PX;
+       top: 70px;
+       -webkit-transition: opacity 1s ease-in-out;
+       display: none;
+       border: 1px solid white;
+}
+#tbtClientStateView .tbtClientStateLabel,
+#VehicleInfo .vehicleInfoLabel{
+       top: 10px;
+       width: 600px;
+       left: 35px;
+       height: 20px;
+       padding: 15px;
+       background: #393939;
+}
+#tbtClientStateView.active,
+#VehicleInfo.active{
+       opacity: 1;
+       display: block;
+}
+#tbtClientStateView .tbtClientState,
+#VehicleInfo .prndl{
+       top: 70px;
+       width: 600px;
+       left: 40px;
+       height: 20px;
+       padding: 10px;
+       background: #535353;
+}
+#tbtClientStateView .tbtClientStateSelect,
+#VehicleInfo .prndlSelect{
+       top: 125px;
+       position: absolute;
+       width: 150px;
+       left: 275px;
+       height: 40px;
+       color: white;
+       background: #393939;
+}
+#tbtClientStateView .tbtClientStateSelect option,
+#VehicleInfo .prndlSelect option{
+       background: #393939;
+}
+#VehicleInfo .ecu1Title{
+       top: 180px;
+       width: 600px;
+       left: 40px;
+       height: 20px;
+       padding: 10px;
+       background: #535353;
+}
+#VehicleInfo .ecu1{
+       top: 233px;
+       width: 80px;
+       left: 65px;
+       height: 20px;
+       padding: 10px;
+}
+#VehicleInfo .ecu2{
+       top: 265px;
+       width: 80px;
+       left: 65px;
+       height: 20px;
+       padding: 10px;
+}
+#VehicleInfo .ecu1Data{
+       top: 233px;
+       width: 485px;
+       left: 155px;
+       height: 20px;
+       padding: 10px;
+}
+#VehicleInfo .ecu2Data{
+       top: 265px;
+       width: 485px;
+       left: 155px;
+       height: 20px;
+       padding: 10px;
+}
+
+/* Alert, AudioPassThruPopUp popup*/
+#AlertManeuverPopUp.AlertManeuverPopUp,
+#AudioPassThruPopUp.AudioPassThruPopUp,
+#AlertPopUp.AlertPopUp{
+       opacity: 0;
+       left: 200px;
+       width: 400px;
+       height: 245px;
+       z-index: 2;
+       top: 110px;
+       -webkit-transition: opacity 1s ease-in-out;
+       background-color: black;
+       border: #A6A6A6 solid 2px;
+       border-radius: 6px;
+       display: none;
+}
+#AlertManeuverPopUp .applicationName,
+#AudioPassThruPopUp .applicationName,
+#AlertPopUp .applicationName{
+       width: 380px;
+       left: 10px;
+       text-align: center;
+       font-size: 25px;
+       line-height: 30px;
+       overflow: hidden;
+       text-overflow: ellipsis;
+}
+#AlertPopUp .alertPopUpImage{
+       width: 83px;
+       height: 74px;
+       background: url(../images/sdl/Warning.png) no-repeat;
+       top: 45px;
+       left: 10px;
+}
+#AudioPassThruPopUp .audioPassThruImage{
+       width: 83px;
+       height: 74px;
+       background: url(../images/home/controlButtons/vrImage.png) no-repeat;
+       top: 45px;
+       left: 25px;
+}
+#AudioPassThruPopUp .message1,
+#AlertPopUp .message1{
+       top: 37px;
+       left: 105px;
+       width: 285px;
+       height: 30px;
+       text-align: center;
+       font-size: 23px;
+       line-height: 30px;
+       overflow: hidden;
+       text-overflow: ellipsis;
+}
+#AudioPassThruPopUp .message2,
+#AlertPopUp .message2{
+       top: 70px;
+       left: 105px;
+       width: 285px;
+       height: 28px;
+       text-align: center;
+       font-size: 23px;
+       line-height: 30px;
+       overflow: hidden;
+       text-overflow: ellipsis;
+}
+#AudioPassThruPopUp .message3,
+#AlertPopUp .message3{
+       top: 100px;
+       left: 105px;
+       width: 285px;
+       height: 28px;
+       text-align: center;
+       font-size: 23px;
+       line-height: 30px;
+       overflow: hidden;
+       text-overflow: ellipsis;
+}
+#AlertManeuverPopUp.AlertManeuverActive,
+#AudioPassThruPopUp.AudioPassThruActive,
+#AlertPopUp.AlertActive{
+       opacity: 1;
+       display: block;
+}
+#AlertManeuverPopUp .softButton,
+#AudioPassThruPopUp .softButton,
+#AlertPopUp .softButton{
+       border: 1px solid #393939;
+       border-radius: 3px;
+       height: 42px;
+       line-height: 42px;
+       text-align: center;
+       float: left;
+       margin: 10px;
+       position: relative;
+}
+#AlertManeuverPopUp .closeButton{
+       width: 170px;
+       top: 180px;
+       left: 110px;
+}
+#AlertPopUp .alertSoftButtons{
+       margin-left: 8px;
+       top: 120px;
+       width: 386px;
+}
+#AlertManeuverPopUp .one,
+#softButton0.one{
+       margin-top: 42px;
+       width: 362px;
+}
+#softButton0.two{
+       margin-top: 42px;
+       width: 170px;
+}
+#softButton1.two{
+       margin-top: 42px;
+       width: 170px;
+}
+#softButton0.three{
+       width: 170px;
+}
+#AudioPassThruPopUp .buttonDone,
+#softButton1.three{
+       width: 170px;
+}
+#AudioPassThruPopUp .buttonCancel,
+#softButton2.three{
+       width: 362px;
+}
+#softButton0.four{
+       width: 170px;
+}
+#softButton1.four{
+       width: 170px;
+}
+#softButton2.four{
+       width: 170px;
+}
+#softButton3.four{
+       width: 170px;
+}
+#AudioPassThruPopUp .buttonRetry{
+       top: 120px;
+       width: 175px;
+}
+#AudioPassThruPopUp .buttonDone{
+       top: 120px;
+       width: 175px;
+}
+#AudioPassThruPopUp .buttonCancel{
+       top: 120px;
+       width: 372px;
+}
+#info_leftMenu_sdl{
+       font-size: 18px;
+       line-height: 48px;
+}
+#info_leftMenu_sdl img{
+       float: left;
+}
+#info_leftMenu_sdl span{
+       float: left;
+       position: relative;
+       width: 100px;
+       text-overflow: ellipsis;
+       overflow: hidden;
+       left: 0;
+}
+
+/* TurnByTurnView */
+#TurnByTurnView.TurnByTurnView{
+       top: 48px;
+       height: 384px;
+       left: 153px;
+       width: 647px;
+}
+#TurnByTurnView .caption-text{
+       left: 5px;
+       width: 607px;
+       top: 15px;
+}
+#TurnByTurnView .totalDistanceLabel{
+       height: 20px;
+       background: #393939;
+       padding: 15px;
+       left: 5px;
+       top: 80px;
+       width: 170px;
+}
+#TurnByTurnView .etaLabel{
+       height: 20px;
+       background: #393939;
+       padding: 15px;
+       left: 206px;
+       top: 80px;
+       width: 170px;
+}
+#TurnByTurnView .turnList{
+       left: 5px;
+       top: 145px;
+       width: 379px;
+       padding: 10px;
+       text-align: center;
+}
+#TurnByTurnView .ffw_list_menu{
+       height: 198px;
+       top: 200px;
+       left: 5px;
+       width: 401px;
+       border: none;
+}
+#TurnByTurnView .ffw-button{
+       border-radius: 3px;
+       border: 1px solid #393939;
+       margin-bottom: 5px;
+       text-align: center;
+       font-size: 20px;
+}
+#turnList img{
+    margin-top: -10px;
+}
+#TurnByTurnView .homeScreen{
+       left: 440px;
+       top: 312px;
+       padding: 0 0 0 5px;
+       width: 195px;
+}
+#TurnByTurnView .homeScreen > img{
+       float: left;
+       width: 50px;
+       height: 50px;
+}
+#TurnByTurnView .homeScreen > span{
+       float: left;
+       line-height: 50px;
+       padding-left: 5px;
+}
+#TurnByTurnView .navigationText2{
+       left: 440px;
+       top: 269px;
+       width: 182px;
+       padding: 10px;
+       height: 20px;
+       background: #393939;
+}
+#TurnByTurnView .turnIcon{
+       border: 1px solid #222;
+       top: 64px;
+       left: 440px;
+       width: 200px;
+       height: 200px;
+       background-size: contain;
+       background-repeat: no-repeat;
+}
+
+#tbtTurnListList .list-content .label > img{
+       width: 50px;
+       height: 50px;
+       float: left;
+}
+#info_apps_list .ffw-button{
+       overflow: hidden;
+       text-overflow: ellipsis;
+}
+
+#sdl_view_container{
+       z-index:501;
+}
+
+#sdl_view_container .title{
+       top: 79px;
+       font-size: 38px;
+       left: 7px;
+       width: 340px;
+       height: 44px;
+}
+
+#sdl_view_container .album{
+       top: 123px;
+       font-size: 26px;
+       left: 10px;
+       width: 330px;
+       height: 32px;
+}
+
+#sdl_view_container .artist{
+       top: 155px;
+       font-size: 26px;
+       left: 10px;
+       width: 330px;
+       height: 32px;
+}
+
+#sdl_view_container .player_controlls{
+       top: -200px;
+       left: 135px;
+}
+
+/* SDL Slider*/
+#media_sdl_slider_view{
+       width: 800px;
+       height: 480px;
+       z-index: 1000;
+       background: url(../images/media/bg.png) no-repeat;
+}
+
+#media_sdl_slider_view .backButton {
+       top: 80px;
+       width: 48px;
+       height: 48px;
+       border: 1px solid #333;
+       border-radius: 2px;
+}
+
+#media_sdl_slider_view .initialText{
+       top: 80px;
+       left: 75px;
+       width: 620px;
+       height: 20px;
+       background: #393939;
+       padding: 15px;
+}
+
+/* SDL Perform Interaction Choise */
+#media_app_perform_interaction_view{
+       width: 800px;
+       height: 480px;
+       z-index: 1000;
+       background: url(../images/media/bg.png) no-repeat;
+}
+
+#media_app_perform_interaction_view .backButton {
+       top: 80px;
+       width: 48px;
+       height: 48px;
+       border: 1px solid #333;
+       border-radius: 2px;
+}
+
+#media_app_perform_interaction_view .list{
+       position: absolute;
+       width: 629px;
+       height: 251px;
+       border-radius: 2px;
+       left: 100px;
+       top: 154px;
+}
+
+#media_app_perform_interaction_view .initialText{
+       top: 80px;
+       left: 75px;
+       width: 620px;
+       height: 20px;
+       background: #393939;
+       padding: 15px;
+}
+
+#media_app_perform_interaction_view .list-content{
+       width: 578px;
+}
+
+/* SDL Media Options */
+#media_app_options_view{
+       width: 800px;
+       height: 480px;
+       z-index: 2002;
+       background: url(../images/media/bg.png) no-repeat;
+}
+
+#media_app_options_view .backButton {
+       top: 80px;
+       width: 48px;
+       height: 48px;
+       border: 1px solid #333;
+       border-radius: 2px;
+}
+
+#media_app_options_view .list{
+       position: absolute;
+       width: 650px;
+       height: 251px;
+       border-radius: 2px;
+       left: 75px;
+       top: 154px;
+}
+
+#media_app_options_view .optionsLabel{
+       top: 80px;
+       left: 75px;
+       width: 620px;
+       height: 20px;
+       background: #393939;
+       padding: 15px;
+}
+
+#media_app_options_view .list-content{
+       width: 578px;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/settings.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/settings.css
new file mode 100644 (file)
index 0000000..6d7ff63
--- /dev/null
@@ -0,0 +1,3423 @@
+/** Settings General*/
+#content {
+       top: 59px;
+       left: 5px;
+}
+
+.inner-content {
+       left: 100px;
+       top: 60px;
+}
+
+.inner-wrapper {
+       left: 100px;
+       top: 60px;
+}
+
+.label-20 {
+       font-size: 20px;
+       line-height: 22px;
+}
+
+.btn-28 {
+       background: url(../images/settings/btn-28h.png) repeat-x;
+       height: 28px;
+       line-height: 29px;
+}
+
+.btn-left-c {
+       background: url(../images/settings/center-button.png) no-repeat -1px 0;
+       -webkit-border-radius: 0;
+       -moz-border-radius: 0;
+       border-radius: 0;
+       -webkit-border-top-left-radius: 3px;
+       -webkit-border-bottom-left-radius: 3px;
+       -moz-border-radius-topleft: 3px;
+       -moz-border-radius-bottomleft: 3px;
+       border-top-left-radius: 3px;
+       border-bottom-left-radius: 3px;
+}
+
+.btn {
+       font-size: 20px;
+       line-height: 28px;
+       cursor: pointer;
+       border: 1px solid #393939;
+       -webkit-border-radius: 3px;
+       -moz-border-radius: 3px;
+       border-radius: 3px;
+}
+
+.disabled {
+       cursor: default !important;
+}
+
+#settings_view .disabled .right-icon{
+       opacity: 0.3;
+}
+
+.btn-28.active {
+       background: url(../images/settings/btn-48h-active.png) repeat-x !important;
+       cursor: default;
+}
+
+.btn-48 {
+       background: url(../images/settings/btn-48h.png) repeat-x;
+       height: 48px;
+       line-height: 49px;
+}
+
+.btn.disabled {
+       color: #6E6E6E;
+f
+}
+
+.btn-98 {
+       background: url(../images/settings/btn-98h.png) repeat-x;
+       height: 98px;
+}
+
+.scroll {
+       position: relative;
+       border: 1px solid #393939;
+       height: 300px;
+       width: 48px;
+       left: 580px;
+}
+
+.scroll_up {
+       width: 50px;
+       height: 51px;
+       background: url("../images/settings/scroll_up.png") no-repeat;
+       top: -1px;
+       left: -1px;
+       cursor: pointer;
+}
+
+.scroll_up_inactive {
+       background: url("../images/settings/scroll_up_inactive.png") no-repeat !important;
+}
+
+.scroll_down_inactive {
+       background: url("../images/settings/scroll_down_inactive.png") no-repeat !important;
+}
+
+.scroll_down {
+       width: 50px;
+       height: 51px;
+       background: url("../images/settings/scroll_down.png") no-repeat;
+       bottom: -1px;
+       left: -1px;
+       cursor: pointer;
+}
+
+.scroll_body {
+       width: 46px;
+       height: 200px;
+       background: #262626;
+       top: 50px;
+       left: 1px;
+}
+
+.scroll_knob {
+       width: 46px;
+       top: 50px;
+       left: 1px;
+       background: #464646;
+}
+
+.text-block {
+       border: 1px solid #393939;
+       font-size: 20px;
+       -webkit-border-radius: 3px;
+       -moz-border-radius: 3px;
+       border-radius: 3px;
+}
+
+.text-block-500 {
+       width: 476px;
+       padding: 13px 11px;
+}
+
+.backButton {
+       width: 48px;
+       height: 48px;
+       border: 1px solid #333;
+       border-radius: 2px;
+       float: left;
+       margin-left: 5px;
+       z-index: 1;
+}
+
+.backButton .ico {
+       margin-top: 13px;
+       margin-left: 8px;
+       cursor: pointer;
+}
+
+.voiceButton {
+       top: 59px;
+       right: 5px;
+       width: 48px;
+       height: 48px;
+       border: 1px solid #333;
+       border-radius: 2px;
+}
+
+.block-header-title {
+       font-size: 26px;
+       width: 550px;
+       top: 10px;
+       left: 75px;
+}
+
+/******************* ToggleLabelButton********************/
+
+.toogleButtonContainer {
+       position: relative;
+       width: 198px;
+       height: 28px;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       float: right;
+       margin-top: 10px;
+       margin-right: 10px;
+}
+
+.toogleButtonContainer .toggles{
+       position: relative;
+       float: left;
+       width: 98px;
+       height: 28px;
+}
+
+.toogleButtonContainer span{
+       position: relative;
+       float: left;
+       width: 100%;
+       margin-top: 1px;
+       text-align: center;
+       line-height: 28px;
+}
+
+.toogleButtonContainer .delim{
+       position: relative;
+       float: left;
+       border: #393939 1px solid;
+       height: 26px;
+       width: 0px;
+}
+
+.lableToggleButton.wideDoubleToggle .toogleButtonContainer,
+.lableToggleButton.tripleToggle  .toogleButtonContainer{
+       width: 298px;
+}
+
+.lableToggleButton.wideDoubleToggle .delim{
+       position: relative;
+       float: left;
+       background-color: #393939;
+       height: 26px;
+       width: 0px;
+}
+
+.lableToggleButton.wideDoubleToggle .toggles{
+       width: 148px;
+}
+
+#settings_view .toogleButtonContainer .active {
+       background: url(../images/settings/btn-28h-gray-active.png) repeat-x !important;
+}
+
+#settings_view.help-mode .toogleButtonContainer .active {
+       background: none !important;
+}
+
+#settings_view.help-mode .toogleButtonContainer {
+       border: none !important;
+}
+
+/******************* For Help Mode *******************/
+.help-mode .btn-28,
+.help-mode .button span,
+.help-mode .label-20,
+.btn .help-mode,
+.help-mode .title,
+.help-mode .text,
+.help-mode .text-block-500,
+.help-mode .list-item span,
+.help-mode .lableToggleButton .lableToggle,
+.help-mode .block-header-title,
+.help-mode .label {
+       color: transparent !important;
+       text-shadow: 0 0 3px #FFF; !important;
+
+}
+
+.help-mode .btn-28,
+.help-mode .button span,
+.help-mode .text-block-500,
+.help-mode .btn-98,
+.help-mode .btn-48,
+.help-mode .toggles,y
+.help-mode .toogleButtonContainer,
+.help-mode .toogleButtonContainer .delim,
+.help-mode .lablePlusButton .button {
+       border: none !important;
+       background: none !important;
+}
+
+.help-mode .list-item,
+.help-mode .list,
+.help-mode .list-content{
+       background: none !important;
+       float: left;
+       border: none !important;
+       color: transparent !important;
+       text-shadow: 0 0 3px #FFF !important;
+}
+
+.help-mode .list-item .ico{
+       border: 1px solid #000;
+}
+
+.help-mode .list-item {
+       height: 50px !important;
+}
+
+
+_list .list-item,
+.helpmode #settings_settings_mediaPlayer .list-item,
+.helpmode #settings_help_systemInformation_list .list-item {
+       left: 1px !important;
+       top: 1px !important;
+}
+
+.helpmode #settings_vehicle_list .list-item,
+.helpmode #settings_settings_list .list-item,
+.helpmode #settings_help_list_left .list-item,
+.helpmode #settings_help_list_right .list-item {
+       top: 1px !important;
+       left: -1px !important;
+}
+
+.help-mode .lableToggle{
+       margin-top: 1px !important;
+       margin-left: 1px !important;
+}
+
+.help-mode .toogleButtonContainer span{
+       margin-top: 3px !important;
+       margin-left: 1px !important;
+}
+
+.help-mode .button1 span{
+       margin-left: 2px !important;
+}
+
+.help-mode .button2 span{
+       margin-left: 3px !important;
+}
+
+.help-mode .lablePlusButton{
+       left: 1px !important;
+       top: 1px !important;
+}
+
+.help-mode .list-item img {
+       opacity: 0 !important;
+}
+
+#settings_view.help-mode .sb-content {
+       opacity: 0;
+}
+
+/******************* For Settings Menu *******************/
+#ctrl_settings_menu {
+       z-index: 1000;
+       position: absolute;
+       top: 90px;
+       left: 0px;
+       width: 150px;
+       height: 300px;
+}
+
+#ctrl_settings_menu .ls_border {
+       z-index: 201;
+       position: absolute;
+       top: -3px;
+       left: 0px;
+       width: 153px;
+       height: 306px;
+}
+
+#ctrl_settings_menu .ls-items {
+       position: relative;
+       width: 150px;
+       height: 300px;
+}
+
+#ctrl_settings_menu .ls-item {
+       z-index: 201;
+       position: relative;
+       width: 150px;
+       height: 50px;
+       cursor: pointer;
+}
+
+#ctrl_settings_menu .ls-item > .bg {
+       z-index: 201;
+       position: absolute;
+       top: 0px;
+       left: 0px;
+       width: 150px;
+       height: 50px;
+}
+
+#ctrl_settings_menu .ls-item > .ico {
+       z-index: 299;
+       position: absolute;
+       width: 50px;
+       height: 50px;
+       left: 0px;
+       top: 0px;
+}
+
+#ctrl_settings_menu .lsp1_p {
+       background: url("../images/settings/ls-item_bg.png") repeat-x;
+}
+
+#ctrl_settings_menu .settings_active {
+       background: url("../images/settings/menu_active.png") repeat-x;
+}
+
+#ctrl_settings_menu .ls-item > .ico.more {
+       left: 50px;
+}
+
+#ctrl_settings_menu .ls-item p {
+       z-index: 298;
+       position: absolute;
+       left: 50px;
+       width: 100px;
+       height: 50px;
+       font-size: 20px;
+       line-height: 50px;
+       white-space: nowrap;
+       overflow: hidden;
+}
+
+#ctrl_settings_menu .ls-item > .led {
+       z-index: 299;
+       position: absolute;
+       top: 0px;
+       right: 8px;
+       width: 24px;
+       height: 50px;
+}
+
+#ctrl_settings_menu .ls-item.empty {
+       background: #333333;
+}
+
+#ctrl_settings_menu .firts_item {
+       -webkit-border-top-right-radius: 3px;
+       border-top-right-radius: 3px;
+}
+
+#ctrl_settings_menu .last_item {
+       -webkit-border-bottom-right-radius: 3px;
+       border-bottom-right-radius: 3px;
+}
+
+#ctrl_settings_menu .phone_active {
+       background: url("../images/phone/menu_active.png") repeat-x !important;
+}
+
+#ctrl_settings_menu .navigation {
+       width: 26px;
+       height: 25px;
+       background: url("../images/phone/ico_navigation.png") no-repeat;
+       left: 60px;
+       top: 10px;
+}
+
+/******************* For Settings.Clock *******************/
+#settings_clock {
+       position: absolute;
+       top: 90px;
+       left: 160px;
+       height: 305px;
+       width: 640px;
+       float: left;
+}
+
+#settings_clock .clockPanel {
+       position: relative;
+       margin-left: 5px;
+       top: 5px;
+       float: left;
+       width: 570px;
+}
+
+#settings_clock .leftPlusButton {
+       position: relative;
+       width: 98px;
+       height: 43px;
+       float: left;
+       border: 1px solid #393939;
+       border-top-left-radius: 3px;
+}
+
+#settings_clock .leftPlusButton .ico, #settings_clock .rightPlusButton .ico {
+       position: relative;
+       margin-left: 37px;
+       margin-top: 10px;
+       float: left;
+}
+
+#settings_clock .leftMinusButton {
+       position: relative;
+       margin-top: 45px;
+       margin-left: -100px;
+       width: 98px;
+       height: 44px;
+       border: 1px solid #393939;
+       border-top: none;
+       border-bottom-left-radius: 3px;
+       float: left;
+}
+
+#settings_clock .leftMinusButton .ico, #settings_clock .rightMinusButton .ico {
+       position: relative;
+       margin-left: 37px;
+       margin-top: 20px;
+       float: left;
+}
+
+#settings_clock .timeNum {
+       position: relative;
+       margin-left: 0px;
+       margin-top: 0px;
+       width: 265px;
+       height: 88px;
+       border-top: 1px solid #393939;
+       border-bottom: 1px solid #393939;
+       float: left;
+       color: #999;
+}
+
+#settings_clock .timeNum .time {
+       position: relative;
+       margin-left: 78px;
+       margin-top: 0px;
+       width: 112px;
+       height: 44px;
+       font-size: 59px;
+       float: left;
+}
+
+#settings_clock .timeNum .timeZone {
+       position: relative;
+       margin-left: 78px;
+       margin-top: 13px;
+       width: 180px;
+       height: 46px;
+       font-size: 18px;
+       font-weight: bold;
+       float: left;
+}
+
+#settings_clock .rightPlusButton {
+       position: relative;
+       width: 98px;
+       height: 43px;
+       float: left;
+       border: 1px solid #393939;
+       border-top-right-radius: 3px;
+}
+
+#settings_clock .rightMinusButton {
+       position: relative;
+       margin-top: 45px;
+       margin-left: -100px;
+       width: 98px;
+       height: 44px;
+       border: 1px solid #393939;
+       border-bottom-right-radius: 3px;
+       border-top: none;
+       float: left;
+}
+
+#settings_clock .am {
+       position: relative;
+       margin-left: 5px;
+       float: left;
+       width: 98px;
+       height: 43px;
+       border: 1px solid #333;
+       border-top-left-radius: 3px;
+       border-top-right-radius: 3px;
+       font-size: 20px;
+       font-weight: bold;
+}
+
+#settings_clock .pm {
+       position: relative;
+       margin-left: 5px;
+       float: left;
+       width: 98px;
+       height: 44px;
+       border: 1px solid #333;
+       border-top: none;
+       border-bottom-left-radius: 3px;
+       border-bottom-right-radius: 3px;
+       font-size: 20px;
+       font-weight: bold;
+}
+
+#settings_clock .am span {
+       position: relative;
+       top: 10px;
+       margin-left: 33px;
+}
+
+#settings_clock .pm span {
+       position: relative;
+       top: 10px;
+       margin-left: 33px;
+}
+
+#settings_clock .am.pressed, #settings_clock .pm.pressed {
+       background: url(../images/settings/menu_active.png);
+}
+
+#settings_clock_list {
+       margin-top: 100px;
+       margin-left: 5px
+}
+
+/* Settings.clock lisr wraper */
+#settings_clock .list {
+       position: absolute;
+       width: 629px;
+       height: 201px;
+       border-radius: 2px;
+}
+
+/* Settings.clock list item */
+#settings_clock .list-item {
+       position: relative;
+       width: 568px;
+       float: left;
+       background: #000;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+}
+
+/* Settings.clock list */
+#settings_clock .list-content {
+       width: 568px;
+}
+
+/* Settings.clock list label */
+#settings_clock .list-item > span,
+#settings_clock .lableToggle {
+       margin-left: 15px;
+       width: 300px;
+       float: left;
+}
+
+#settings_clock .list-item .ico {
+       float: right;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       margin-top: 9px;
+       margin-right: 9px;
+       opacity: 0.3;
+}
+
+#settings_view .toogleButtonContainer.doubletoggle{
+       width: 198px;
+}
+
+.helpmode #settings_clock {
+       background-image: url(../images/settings/settings_clock_bg_help.png)!important;
+       background-repeat: no-repeat;
+       background-position: 0px 0px;
+
+}
+
+.helpmode #settings_clock .list-item {
+       height: 50px !important;
+}
+
+.helpmode #settings_clock .lableToggle {
+       margin-left: 15px !important;
+       margin-top: 0px !important;
+}
+
+.helpmode #settings_clock .toogleButtonContainer span {
+       margin-top: 1px !important;
+       margin-left: 0px !important;
+}
+
+.helpmode #settings_clock .toogleButtonContainer {
+       border: none !important;
+       padding: 1px;
+}
+
+.helpmode #settings_clock .toogleButtonContainer .delim {
+       width:2px;
+}
+.helpmode #settings_clock .list {
+       margin-top: 101px;
+       margin-left: 6px;
+}
+
+.helpmode #settings_clock .ico {
+       opacity: 0;
+}
+
+.helpmode #settings_clock .time,
+.helpmode #settings_clock .timeZone,
+.helpmode #settings_clock .timeNum,
+.helpmode #settings_clock .am span,
+.helpmode #settings_clock .pm span{
+       color: transparent !important;
+       text-shadow: 0 0 3px #999 !important;
+       background-image: none !important;
+       border: none !important;
+}
+
+.helpmode #settings_clock .button, .helpmode #settings_clock .button {
+       background: none !important;
+       border: none !important;
+}
+
+#settings_clock.help-mode .leftPlusButton{
+       top: 1px !important;
+       left: 2px !important;
+}
+
+.helpmode #settings_clock .timeNum {
+       top: 1px !important;
+       left: 2px !important;
+}
+
+.helpmode #settings_clock .am {
+       top: 1px !important;
+       left: 5px !important;
+}
+
+.helpmode #settings_clock .pm {
+       top: 2px !important;
+       left: 7px !important;
+}
+
+
+
+/******************* For Settings.Display Menu *******************/
+#settings_display {
+       background: url(../images/settings/view_settings_display_bg.png) no-repeat;
+       height: 260px;
+       width: 640px;
+       left: 160px;
+       top: 81px;
+}
+
+#settings_display .inner-wrapper {
+       top: 65px;
+       left: 100px;
+}
+
+#options_left_menu {
+       left: -46px;
+       top: -30px;
+}
+
+.settings_font {
+       font-size: 20px;
+}
+
+#gang_buttons div, #end p, .rs-item > p, .br-list-item > p, .br-list-item > p.numbers, .bcs-item > span, .bc-item2 > span, #home_usb .usb_time, #keypad .words, .channel, .equalizer.subsubtitle, .intive_btn, .info-text {
+       color: #999;
+}
+
+#options_left_clock {
+       top: 16px;
+}
+
+#options_left_display {
+       top: 66px;
+}
+
+#options_left_sound {
+       top: 116px;
+}
+
+#options_left_vehicle {
+       top: 166px;
+}
+
+#options_left_settings {
+       top: 216px;
+}
+
+#options_left_help {
+       top: 265px;
+}
+
+#settings_display .brightness {
+       left: -80px;
+       top: -45px;
+}
+
+#settings_display .auto-dim {
+       left: -80px;
+       top: 5px;
+       width: 300px;
+}
+
+#settings_display .mode {
+       left: -80px;
+       top: 55px;
+}
+
+#settings_display .edit-wallpaper {
+       left: -80px;
+       top: 105px;
+       width: 580px;
+}
+
+#settings_display .auto-dim-manual-offset {
+       left: -80px;
+       top: 156px;
+       width: 240px;
+}
+
+#settings_display .auto-dim-on {
+       width: 99px;
+       text-align: center;
+       left: 404px;
+       top: -3px;
+}
+
+#settings_display .auto-dim-off {
+       width: 99px;
+       text-align: center;
+       left: 504px;
+       top: -3px;
+}
+
+#settings_display .auto {
+       width: 99px;
+       text-align: center;
+       left: 304px;
+       top: -3px;
+}
+
+#settings_display .day {
+       width: 99px;
+       text-align: center;
+       left: 404px;
+       top: -3px;
+}
+
+#settings_display .night {
+       width: 99px;
+       text-align: center;
+       left: 504px;
+       top: -3px;
+}
+
+#settings_display .active {
+       background: url(../images/settings/btn-28h-gray-active.png) repeat-x !important;
+}
+
+.help-mode .auto-dim-on,
+.help-mode .auto-dim-off,
+.help-mode #settings_display .auto,
+.help-mode #settings_display .day,
+.help-mode #settings_display .night{
+       line-height: 30px;
+}
+
+.help-mode #settings_display {
+       background: url(../images/settings/view_settings_display_bg_help.png) no-repeat !important;
+}
+
+.help-mode #settings_display .label-20,
+.help-mode #settings_display .btn-28{
+       color: transparent !important;
+       text-shadow: 0 0 3px #999; !important;
+}
+
+/******************* For Settings.Sound Menu *******************/
+#settings_sound_view {
+       height: 384px;
+       width: 647px;
+       left: 153px;
+       top: 48px;
+       z-index: 1001;
+}
+
+#settings_sound_list{
+       top: 42px;
+       left: 12px;
+       height: 251px;
+       width: 630px;
+}
+
+#settings_sound_list .list-content{
+       height: 391px;
+       width: 570px;
+}
+
+#settings_sound_list .list-item > span,
+#settings_sound_list .lableToggle  > span
+{
+       margin-left: 13px;
+}
+
+#settings_sound_list_item5 .toogleButtonContainer{
+       width: 242px;
+}
+
+#settings_sound_list_item5 .toggles,
+#settings_sound_list_item5 .toggles span{
+       width: 120px;
+}
+
+#settings_sound_list_item6 {
+       height: 90px;
+}
+
+#settings_sound_list_item6 .toogleButtonContainer{
+       width: 334px;
+       height: 100px;
+       border: none;
+}
+
+#settings_sound_list_item6 .lableToggle{
+       margin-top: 10px;
+       margin-left: 10px;
+       width: 199px;
+       height: 100px;
+       line-height: 20px;
+}
+
+#settings_sound_list_item6 span{
+       margin-left: 0px !important;
+}
+
+#settings_sound_list_item6 .toggles span{
+       width: 80px;
+}
+
+#settings_sound_list_item6 .toggles{
+       border-top: 1px solid #393939;
+       border-bottom: 1px solid #393939;
+       margin-bottom: 10px;
+       width: 80px;
+}
+
+#settings_sound_list_item6  .toogleButtonContainer .delim{
+       height: 28px;
+}
+
+#settings_sound_list_item6 .delim-3{
+       display: none;
+}
+
+#settings_sound_list_item6 .button3,
+#settings_sound_list_item6 .button7{
+       border-right: 1px solid #393939;
+}
+
+#settings_sound_list_item6 .button0,
+#settings_sound_list_item6 .button4{
+       border-left: 1px solid #393939;
+}
+
+#settings_sound_list .list-item .ico {
+       margin-right: 1px;
+       float: right;
+}
+
+#settings_sound_list .scrollbar .disabled .ico{
+       opacity: 0.3;
+}
+
+#settings_sound_list .disabled .ico{
+       opacity: 1;
+}
+
+.helpmode #settings_sound_view .list-content{
+       padding: 1px 0 0 1px;
+}
+
+.helpmode #settings_sound_view {
+       background: url(../images/settings/settings_sound_bg_help.png) no-repeat;
+}
+
+/******************* For Settings.Sound.SetBalanceAndFadeView *******************/
+#settings_sound_soundBalanceFade {
+       top: 0px;
+       left: -153px;
+       background-image: url(../images/settings/view_settings_Sound_BalanceFader.png);
+       background-repeat: no-repeat;
+       background-position: 158px -10px;
+       background-color: #000;
+       width: 800px;
+       height: 384px;
+       z-index: 1011;
+}
+
+#settings_sound_soundBalanceFade .backButton {
+       top: 11px;
+}
+
+#settings_sound_soundBalanceFade .block-header-title {
+       top: 21px;
+}
+
+#settings_sound_soundBalanceFade .inner-wrapper {
+       left: 100px;
+       top: 71px;
+}
+
+#settings_sound_soundBalanceFade .fade {
+       top: -2px;
+       left: 82px;
+}
+
+#settings_sound_soundBalanceFade.fr .fade {
+       top: -4px;
+       left: 77px;
+       font-size: 16px;
+       width: 89px;
+       line-height: 13px;
+}
+
+#settings_sound_soundBalanceFade .balance {
+       top: 261px;
+       left: 82px;
+}
+
+#settings_sound_soundBalanceFade.fr .balance {
+       top: 259px;
+       left: 77px;
+       font-size: 16px;
+       width: 96px;
+       line-height: 13px;
+}
+
+#settings_sound_soundBalanceFade .f {
+       top: -2px;
+       left: 190px;
+}
+
+#settings_sound_soundBalanceFade .z1 {
+       top: 100px;
+       left: 190px;
+}
+
+#settings_sound_soundBalanceFade .b {
+       top: 202px;
+       left: 190px;
+}
+
+#settings_sound_soundBalanceFade .l {
+       top: 259px;
+       left: 235px;
+}
+
+#settings_sound_soundBalanceFade .z2 {
+       top: 260px;
+       left: 336px;
+}
+
+#settings_sound_soundBalanceFade .r {
+       top: 260px;
+       left: 434px;
+}
+
+.help-mode #settings_sound_soundBalanceFade {
+       background-image: url(../images/settings/view_settings_Sound_BalanceFader-help.png);
+}
+
+/******************* For Settings.Vehicle Menu*******************/
+#settings_vehicle {
+       width: 640px;
+       height: 480px;
+       left: 160px;
+       z-index: 1001;
+}
+
+.help-mode #settings_vehicle {
+       background-image: url(../images/settings/settings_vehicle_help.png);
+       background-repeat: no-repeat;
+       background-position-y: 85px;
+}
+
+#settings_vehicle_list{
+       top: 90px;
+       left: 5px;
+}
+
+#settings_vehiclet {
+       height: 250px;
+       position: relative;
+       float: left;
+       margin-top: 5px;
+       width: 554px;
+}
+
+
+#settings_vehicle .list {
+       width: 630px;
+       height: 301px;
+}
+
+#settings_vehicle_list .list-item .ico{
+       width: 50px;
+       height: 50px;
+}
+
+#settings_vehicle_list .list-content {
+       width: 630px;
+       border-left: none;
+       border-right: none;
+}
+
+#settings_vehicle .list-item {
+       position: relative;
+       width: 628px;
+       height: 49px;
+       font-size: 20px;
+       line-height: 50px;
+       border-bottom: 1px solid #393939;
+       border-left: 1px solid #393939;
+       border-right: 1px solid #393939;
+}
+
+#settings_vehicle .list-item .arrow-ico {
+       right: 8px;
+}
+
+#settings_vehicle .list-item .ico {
+       float: left;
+}
+
+#settings_vehicle .list-item span {
+       height: 23px;
+}
+
+#settings_vehicle .backButton {
+       margin-top: 11px;
+}
+
+#settings_vehicle_HealthReport .backButton {
+       margin-top: 11px;
+}
+
+#settings_vehicle_HealthReport .block-header-title {
+       margin-top: 11px;
+}
+
+#settings_vehicle .block-header-title {
+       margin-top: 11px;
+}
+
+#settings_vehicle_HealthReport .inner-wrapper {
+       left: 100px;
+       top: 71px;
+}
+
+#settings_vehicle .inner-wrapper {
+       left: 100px;
+       top: 71px;
+}
+
+/******************* For Settings.Vehicle.AmbientLighting Menu*******************/
+
+#settings_vehicle_ambientLighting {
+       top: 48px;
+       left: -160px;
+       /*top: 48px;*/
+       width: 800px;
+       height: 384px;
+       background-image: url(../images/settings/settings_vehicle_amberLight_bg.png);
+       background-color: #000;
+       z-index: 1001;
+}
+
+#settings_vehicle_ambientLighting.help-mode {
+       background-image: url(../images/settings/settings_vehicle_amberLight_bg-help.png) !important;
+}
+
+/******************* For Settings.Vehicle.HealthReport Menu*******************/
+
+#settings_vehicle_HealthReport {
+       top: 48px;
+       left: -160px;
+       width: 800px;
+       height: 384px;
+       background-image: url(../images/settings/view_settings_vehicle_VehicleHealthReport.png);
+       background-repeat: no-repeat;
+       background-position: 55px 82px;
+       background-color: #000;
+       z-index: 1001;
+}
+
+#settings_vehicle_HealthReport .ar {
+       white-space: nowrap;
+       top: 35px;
+       left: -20px;
+}
+
+#settings_vehicle_HealthReport .mi {
+       white-space: nowrap;
+       left: -20px;
+       top: 84px;
+}
+
+#settings_vehicle_HealthReport .ar_on {
+       top: 36px;
+       left: 401px;
+       width: 99px;
+       text-align: center;
+       white-space: nowrap;
+}
+
+#settings_vehicle_HealthReport .ar_off {
+       top: 36px;
+       left: 501px;
+       width: 98px;
+       text-align: center;
+       white-space: nowrap;
+}
+
+#settings_vehicle_HealthReport .ar_q {
+       white-space: nowrap;
+       left: 635px;
+       top: 36px;
+}
+
+#settings_vehicle_HealthReport .mi_5000 {
+       white-space: nowrap;
+       left: 329px;
+       top: 85px;
+}
+
+#settings_vehicle_HealthReport .mi_7500 {
+       white-space: nowrap;
+       left: 428px;
+       top: 85px;
+}
+
+#settings_vehicle_HealthReport .mi_10000 {
+       white-space: nowrap;
+       left: 523px;
+       top: 85px;
+}
+
+#settings_vehicle_HealthReport .mi_q {
+       white-space: nowrap;
+       left: 634px;
+       top: 85px;
+}
+
+#settings_vehicle_HealthReport .mi_rv {
+       left: 146px;
+       top: 139px;
+       width: 308px;
+       white-space: nowrap;
+       text-align: center;
+}
+
+#settings_vehicle_HealthReport .mi_tc {
+       white-space: nowrap;
+       left: 119px;
+       top: 185px;
+       font-size: 18px;
+}
+
+.help-mode #settings_vehicle_HealthReport {
+       background-image: url(../images/settings/view_settings_vehicle_VehicleHealthReport-help.png);
+}
+
+.help-mode #settings_vehicle_HealthReport .inner-wrapper div {
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.Vehicle.Door Keypad Code Menu*******************/
+#settings_vehicle_DoorKeypadCode {
+       top: 48px;
+       left: -160px;
+       width: 800px;
+       height: 384px;
+       background-image: url(../images/settings/view_settings_vehicle_DoorKeypadCode.png);
+       background-repeat: no-repeat;
+       background-position: 110px 181px;
+       background-color: #000;
+       z-index: 1001;
+}
+
+.help-mode #settings_vehicle_DoorKeypadCode {
+       background-image: url(../images/settings/view_settings_vehicle_DoorKeypadCode-help.png);
+}
+
+#settings_vehicle_DoorKeypadCode .factory {
+       left: -27px;
+       top: 28px;
+       font-size: 26px;
+       width: 635px;
+       line-height: 32px;
+}
+
+#settings_vehicle_DoorKeypadCode .digit {
+       right: -289px;
+       top: 136px;
+       white-space: nowrap;
+}
+
+#settings_vehicle_DoorKeypadCode .b1 {
+       left: 62px;
+       top: 199px;
+       white-space: nowrap;
+}
+
+#settings_vehicle_DoorKeypadCode .b2 {
+       left: 162px;
+       top: 199px;
+       white-space: nowrap;
+}
+
+#settings_vehicle_DoorKeypadCode .b3 {
+       left: 262px;
+       top: 199px;
+       white-space: nowrap;
+}
+
+#settings_vehicle_DoorKeypadCode .b4 {
+       left: 362px;
+       top: 199px;
+       white-space: nowrap;
+}
+
+#settings_vehicle_DoorKeypadCode .b5 {
+       left: 462px;
+       top: 199px;
+       white-space: nowrap;
+}
+
+#settings_vehicle_DoorKeypadCode .enter {
+       left: 592px;
+       top: 199px;
+       white-space: nowrap;
+}
+
+.help-mode #settings_vehicle_DoorKeypadCode .inner-wrapper div {
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.Vehicle.Rear View Camera*******************/
+#settings_vehicle_RearCamera {
+       top: 48px;
+       left: -160px;
+       width: 800px;
+       height: 384px;
+       background-image: url(../images/settings/view_settings_vehicle_RearViewCamera.png);
+       background-repeat: no-repeat;
+       background-position: 66px 61px;
+       background-color: #000;
+       z-index: 1001;
+}
+
+#view_settings_vehicle_RearViewCamera .preview {
+       top: 147px;
+       left: 90px;
+}
+
+#settings_vehicle_RearCamera .rcd {
+       top: 12px;
+       left: -10px;
+       white-space: nowrap;
+}
+
+#settings_vehicle_RearCamera .visualPark {
+       top: 60px;
+       left: -10px;
+       white-space: nowrap;
+}
+
+#settings_vehicle_RearCamera .guidelines {
+       top: 108px;
+       left: -10px;
+       white-space: nowrap;
+}
+
+#settings_vehicle_RearCamera .on1 {
+       top: 11px;
+       left: 292px;
+       width: 148px;
+       text-align: center;
+       white-space: nowrap;
+}
+
+#settings_vehicle_RearCamera .off1 {
+       top: 11px;
+       left: 441px;
+       width: 149px;
+       text-align: center;
+       white-space: nowrap;
+}
+
+#settings_vehicle_RearCamera .on2 {
+       top: 61px;
+       left: 292px;
+       width: 148px;
+       text-align: center;
+       white-space: nowrap;
+}
+
+#settings_vehicle_RearCamera .off2 {
+       top: 61px;
+       left: 441px;
+       width: 149px;
+       text-align: center;
+       white-space: nowrap;
+}
+
+
+#settings_vehicle_RearCamera .on3 {
+       top: 109px;
+       left: 292px;
+       width: 148px;
+       text-align: center;
+       white-space: nowrap;
+}
+
+#settings_vehicle_RearCamera .off3 {
+       top: 109px;
+       left: 441px;
+       width: 149px;
+       text-align: center;
+       white-space: nowrap;
+}
+#settings_vehicle_RearCamera .preview {
+       top: 167px;
+       right: -166px;
+}
+
+.help-mode #settings_vehicle_RearCamera {
+       background-image: url(../images/settings/view_settings_vehicle_RearViewCamera-help.png);
+}
+
+.help-mode #settings_vehicle_RearCamera .inner-wrapper div {
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.Vehicle. Enable Valet Mode*******************/
+#settings_vehicle_enableValetMode_popUp {
+       width: 800px;
+       height: 480px;
+       z-index: 100000;
+}
+
+#settings_vehicle_enableValetMode_popUp .blackFilter{
+       left: -160px;
+       width: 800px;
+       height: 480px;
+       background-color: #000;
+       opacity: 0.5;
+}
+
+#settings_vehicle_enableValetMode_popUp .wrapper{
+       top: 79px;
+       left: 80px;
+       height: 320px;
+       width: 330px;
+       background-color: #000;
+       z-index: 10001;
+       border: #a6a6a6 solid 2px;
+       border-radius: 6px;
+}
+
+#settings_vehicle_enableValetMode_popUp .wrapper .yesButton,
+#settings_vehicle_enableValetMode_popUp .wrapper .noButton {
+       bottom: 9px;
+       left: 10px;
+       width: 155px;
+       height: 48px;
+       border: 1px solid #393939;
+       font-size: 21px;
+       font-family: Arial;
+}
+
+
+#settings_vehicle_enableValetMode_textEnabling,
+#settings_vehicle_enableValetMode_textSamePIN,
+#settings_vehicle_enableValetMode_textContinue{
+       text-align: center;
+       font-size: 20px;
+       float: left;
+}
+
+#settings_vehicle_enableValetMode_textEnabling{
+       top: 11px;
+       left: 34px;
+       width: 261px;
+       line-height: 22px;
+}
+
+#settings_vehicle_enableValetMode_textSamePIN{
+       top: 99px;
+       left: 35px;
+       width: 261px;
+       line-height: 22px;
+}
+
+#settings_vehicle_enableValetMode_textContinue{
+       top: 208px;
+       left: 33px;
+       width: 267px;
+       line-height: 22px;
+}
+
+#settings_vehicle_enableValetMode_popUp .wrapper .yesButton{
+       border-top-left-radius: 2px;
+       border-bottom-left-radius: 2px;
+}
+
+#settings_vehicle_enableValetMode_popUp .wrapper .noButton {
+       left: 163px;
+       border-top-right-radius: 2px;
+       border-bottom-right-radius: 2px;
+}
+
+#settings_vehicle_enableValetMode_popUp .yesButton span,
+#settings_vehicle_enableValetMode_popUp .noButton span {
+       position: absolute;
+       top: 13px;
+       width: 155px;
+       text-align: center;
+}
+
+.helpmode #settings_vehicle_enableValetMode_popUp .wrapper {
+       background-image: url(../images/settings/settings_vehicle_enableValetMode_popUp_bg_help.png);
+}
+
+.helpmode #settings_vehicle_enableValetMode_popUp .wrapper .yesButton,
+.helpmode #settings_vehicle_enableValetMode_popUp .wrapper .noButton {
+       border: none !important;
+       margin: 0 0 1px 1px;
+       background: none;
+}
+
+/******* For Settings.Vehicle.EnableValetMode.EnterPin*******/
+#settings_vehicle_enableValetMode_enteringPin {
+       top: 53px;
+       left: -160px;
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       z-index: 1001;
+       font-size: 26px;
+}
+
+#settings_vehicle_enableValetMode_enteringPin .backButton,
+#settings_vehicle_enableValetMode_enteringPin .block-header-title {
+       margin-top: 11px;
+}
+
+#settings_vehicle_enableValetMode_enteringPin_enterPadLabel{
+       position: absolute;
+       top: 83px;
+       right: 525px;
+}
+
+#settings_vehicle_enableValetMode_enteringPin.fr #settings_vehicle_enableValetMode_enteringPin_enterPadLabel{
+       width: 200px;
+}
+
+#settings_vehicle_enableValetMode_enteringPin_enterPad {
+       position: absolute;
+       top: 74px;
+       left: 285px;
+       width: 240px;
+       height: 289px;
+}
+
+#settings_vehicle_enableValetMode_enteringPin_PIN{
+       position: relative;
+       float: left;
+       width: 228px;
+       height: 48px;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       text-align: center;
+}
+
+#settings_vehicle_enableValetMode_enteringPin_enterPad .digitButton{
+position: relative;
+       float: left;
+       height: 48px;
+       width: 68px;
+       border: 1px solid #393939;
+       border-radius: 4px;
+       text-align: center;
+       line-height: 50px;
+       margin-right: 10px;
+       margin-top: 10px;
+}
+
+#settings_vehicle_enableValetMode_enteringPin_digit0 {
+       margin-left: 80px;
+}
+
+#settings_vehicle_enableValetMode_enteringPin_backspaceButton{
+       top: 74px;
+       right: 14px;
+       width: 63px;
+       height: 48px;
+       border: 1px solid #393939;
+       border-radius: 2px;
+}
+
+#settings_vehicle_enableValetMode_enteringPin_backspaceButton .ico {
+       margin-top: 15px;
+       margin-left: 19px;
+}
+
+#settings_vehicle_enableValetMode_enteringPin_enterButton {
+       bottom: 21px;
+       right: 14px;
+       height: 48px;
+       width: 138px;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       text-align: center;
+       line-height: 50px;
+       font-size: 24px;
+}
+
+.help-mode #settings_vehicle_enableValetMode_enteringPin_PIN,
+.help-mode #settings_vehicle_enableValetMode_enteringPin_enterPad .digitButton,
+.help-mode #settings_vehicle_enableValetMode_enteringPin_backspaceButton,
+.help-mode #settings_vehicle_enableValetMode_enteringPin_enterButton{
+       border: none !important;
+       background: none !important;
+}
+
+.help-mode #settings_vehicle_enableValetMode_enteringPin_backspaceButton .ico {
+       opacity: 0;
+}
+
+.help-mode #settings_vehicle_enableValetMode_enteringPin_enterButton {
+       right: 15px;
+       bottom: 22px;
+}
+
+.help-mode #settings_vehicle_enableValetMode_enteringPin_enterPad {
+       top: 74px;
+       left: 285px;
+}
+
+.help-mode #settings_vehicle_enableValetMode_enteringPin_enterPad {
+       top: 75px;
+       left: 286px;
+}
+
+.help-mode #settings_vehicle_enableValetMode_enteringPin_enterPad .digitButton {
+       margin-right: 12px;
+       margin-top: 12px;
+}
+
+.help-mode #settings_vehicle_enableValetMode_enteringPin_enterPadLabel,
+.help-mode #settings_vehicle_enableValetMode_enteringPin_enterPad .digitButton span,
+.help-mode #settings_vehicle_enableValetMode_enteringPin_enterButton span{
+       text-shadow: 0 0 3px #999 !important;
+}
+
+.help-mode #settings_vehicle_enableValetMode_enteringPin{
+       background-image: url(../images/settings/settings_vehicle_enableValetMode_enterPIN_bg_help.png)
+}
+
+/******************* For Settings.Settings*******************/
+
+#settings_settings {
+       position: relative;
+       left: 160px;
+       top: 86px;
+       width: 642px;
+       height: 310px;
+       float: left;
+       z-index: 1001;
+}
+
+#settings_settings_list{
+       width: 630px;
+       height: 301px;
+       top: 5px;
+       left: 5px;
+}
+
+#settings_settings_list .list-item > .ico{
+       height: 50px;
+       width: 50px;
+}
+
+#settings_settings_list .list-content {
+       width: 628px;
+}
+
+#settings_settings .list-item {
+       position: relative;
+       width: 100%;
+       height: 49px;
+       font-size: 20px;
+       line-height: 50px;
+       border-bottom: 1px solid #393939;
+}
+
+#settings_settings .list-item .ico {
+       float: left;
+       opacity: 1;
+}
+
+
+
+#settings_settings .backButton {
+       margin-top: 11px;
+}
+
+#settings_settings .block-header-title {
+       top: 22px;
+       left: 76px;
+}
+
+.help-mode #settings_settings {
+       background-image: url(../images/settings/settings_settings_bg_help.png)!important;
+       border: none;
+}
+
+/******************* For Settings.Settings.System Menu*******************/
+#settings_settings_system {
+       top: -38px;
+       left: -160px;
+       /*      top: 48px;*/
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       font-size: 20px;
+       z-index: 1001
+}
+
+#settings_settings_system_list {
+       position: relative;
+       margin-top: 84px;
+       margin-left: 65px;
+       width: 730px;
+       height: 251px;
+}
+
+#settings_settings_system_list .list {
+       position: relative;
+       width: 670px;
+       height: 251px;
+       border: 1px solid #393939;
+       border-radius: 2px;
+}
+
+#settings_settings_system_list .list-item {
+       position: relative;
+       width: 670px;
+       float: left;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+       line-height: 50px;
+}
+
+#settings_settings_system_list .list-item > span,
+#settings_settings_system_list .lableToggle  > span{
+       margin-left: 13px;
+}
+
+
+#settings_settings_system_list .list-content {
+       width: 670px;
+}
+
+#settings_settings_system_list .list-item .ico {
+       float: right;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       margin-top: 9px;
+       margin-right: 9px;/*    opacity: 0.3;*/
+}
+
+#settings_settings_system_list .list-item.big-ico img {
+       float: right;
+       border: none;
+       margin-top: 4px;
+       margin-right: 9px;/*    opacity: 0.3;*/
+}
+
+.help-mode #settings_settings_system {
+       background-image: url(../images/settings/settings_settings_system_bg_help.png);
+       background-repeat: no-repeat;
+       background-position: 51px 70px;
+}
+
+.help-mode #settings_settings_system .list-item span{
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.Settings.System.Keyboard Layout Menu*******************/
+#settings_settings_system_keyboardLayout {
+       top: 0px;
+       left: 0px;
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       font-size: 20px;
+       z-index: 1101
+}
+
+#settings_settings_system_keyboardLayout .backButton {
+       margin-top: 11px;
+}
+
+#settings_settings_system_keyboardLayout .block-header-title {
+       top: 22px;
+       left: 76px;
+}
+
+#settings_settings_system_keyboardLayout_list {
+       margin-top: 84px;
+       margin-left: 65px;
+       width: 731px;
+       height: 251px;
+}
+
+#settings_settings_system_keyboardLayout_list .list-item {
+       position: relative;
+       width: 657px;
+       float: left;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+       padding-left: 13px;
+       line-height: 50px;
+}
+
+#settings_settings_system_keyboardLayout_list .list-content {
+       width: 670px;
+}
+
+#settings_settings_system_keyboardLayout_list .list-item .ico {
+       float: right;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       margin-top: 9px;
+       margin-right: 9px;
+}
+
+#settings_settings_system_keyboardLayout_list .list-item.pressed {
+       background: url(../images/settings/menu_active.png)
+}
+
+.help-mode #settings_settings_system_keyboardLayout{
+       background-image: url(../images/settings/settings_settings_system_keyboardLayout_bg_help.png) !important;
+       background-repeat: no-repeat;
+       background-position: 60px 79px;
+}
+
+.help-mode #settings_settings_system_keyboardLayout_list {
+       display: none;
+}
+
+.help-mode #settings_settings_system_keyboardLayout .list-item span{
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.Settings.System.Iinstall Applications Menu*******************/
+#settings_settings_system_installApplications {
+       left: 0px;
+       top: 0px;
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       font-size: 20px;
+       z-index: 1301
+}
+
+#settings_settings_system_installApplications .backButton {
+       margin-top: 11px;
+}
+
+#settings_settings_system_installApplications .block-header-title {
+       top: 22px;
+       left: 76px;
+}
+
+#settings_settings_system_installApplications_list {
+       position: relative;
+       margin-top: 84px;
+       margin-left: 65px;
+       width: 730px !important;
+       height: 200px;
+}
+#settings_settings_system_installApplications_list .list-content {
+       width: 728px;
+}
+
+#settings_settings_system_installApplications_list .list-item span {
+       padding-left: 10px;
+}
+
+#settings_settings_system_installApplications_list .list-item .ico {
+       float: right;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       margin-top: 9px;
+       margin-right: 9px;
+}
+
+.help-mode #settings_settings_system_installApplications{
+       background-image: url(../images/settings/settings_settings_system_settings_settings_system_installApplications_bg_help.png) !important;
+       background-repeat: no-repeat;
+       background-position: 60px 78px;
+}
+
+.help-mode #settings_settings_system_installApplications .list-item span{
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.VoiceControl *******************/
+
+#settings_settings_VoiceControl {
+       top: -38px;
+       left: -160px;
+       background-image: url(../images/settings/view_settings_settings_VoiceControl.png);
+       background-position: 55px 78px;
+       background-repeat: no-repeat;
+       background-color: #000;
+       width: 800px;
+       height: 384px;
+       z-index: 1001;
+}
+
+#settings_settings_VoiceControl .inner-content {
+       top: 71px;
+}
+
+#settings_settings_VoiceControl .on1 {
+       top: 82px;
+}
+
+#settings_settings_VoiceControl .on2 {
+       top: 132px;
+}
+
+#settings_settings_VoiceControl .on3 {
+       top: 182px;
+}
+
+#settings_settings_VoiceControl .off1 {
+       top: 82px;
+}
+
+#settings_settings_VoiceControl .off2 {
+       top: 132px;
+}
+
+#settings_settings_VoiceControl .off3 {
+       top: 182px;
+}
+
+#settings_settings_VoiceControl .vcv {
+       left: -23px;
+       top: 233px;
+       white-space: nowrap;
+}
+
+#settings_settings_VoiceControl .pcl {
+       left: -23px;
+       top: 183px;
+       white-space: nowrap;
+}
+
+#settings_settings_VoiceControl .mcl {
+       left: -23px;
+       top: 133px;
+       white-space: nowrap;
+}
+
+#settings_settings_VoiceControl .cp {
+       left: -23px;
+       top: 83px;
+       white-space: nowrap;
+}
+
+#settings_settings_VoiceControl .im {
+       left: -23px;
+       top: 33px;
+       white-space: nowrap;
+}
+
+#settings_settings_VoiceControl .novice {
+       top: 32px;
+       white-space: nowrap;
+}
+
+#settings_settings_VoiceControl .advance {
+       top: 32px;
+       white-space: nowrap;
+}
+
+#settings_settings_VoiceControl .toggle0{
+       left: 330px;
+       width: 148px;
+       text-align: center;
+}
+
+#settings_settings_VoiceControl .toggle1{
+       left:  480px;
+       width: 148px;
+       text-align: center;
+}
+
+.helpmode #settings_settings_VoiceControl {
+       background-image: url(../images/settings/view_settings_settings_VoiceControl-help.png);
+}
+
+.helpmode #settings_settings_VoiceControl .inner-content div{
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.Settings.Media Player Menu*******************/
+#settings_settings_mediaPlayer {
+       top: -38px;
+       left: -160px;
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       font-size: 20px;
+       z-index: 1001
+}
+
+#settings_settings_mediaPlayer .backButton {
+       margin-top: 11px;
+}
+
+#settings_settings_mediaPlayer .block-header-title {
+       top: 22px;
+       left: 76px;
+}
+
+#settings_settings_mediaPlayer_list {
+       margin-top: 84px;
+       margin-left: 65px;
+       width: 730px;
+       height: 251px;
+}
+
+#settings_settings_mediaPlayer_list .list-content {
+       width: 670px;
+}
+
+#settings_settings_mediaPlayer_list .list-item {
+       position: relative;
+       width: 670px;
+       float: left;
+       height: 49px;
+       line-height: 50px;
+}
+
+#settings_settings_mediaPlayer_list .list-item span{
+       margin-left: 13px;
+}
+
+#settings_settings_mediaPlayer_list .list-item .ico {
+       float: right;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       margin-top: 9px;
+       margin-right: 9px;
+}
+
+#settings_settings_mediaPlayer_list .list-item.big-ico img {
+       float: right;
+       border: none;
+       margin-top: 4px;
+       margin-right: 9px;
+}
+
+#settings_settings_mediaPlayer_list_item5 .toogleButtonContainer {
+       width: 300px;
+       text-align: center;
+}
+
+#settings_settings_mediaPlayer_list .list-item .toogleButtonContainer span{
+       margin-left: 0px;
+       width: 149px;
+}
+
+#settings_settings_mediaPlayer_list_item5 .toogleButtonContainer .toggles {
+       width: 149px;
+}
+
+.help-mode #settings_settings_mediaPlayer {
+       background-image: url(../images/settings/settings_settings_media_bg_help.png)!important;
+       background-position: 60px 78px;
+       background-repeat: no-repeat;
+       border: none;
+}
+
+.help-mode #settings_settings_mediaPlayer .list-item {
+       color: transparent !important;
+       text-shadow: 0 0 3px white !important;
+}
+
+.help-mode #settings_settings_mediaPlayer .list-item .ico {
+       margin-right: 8px!important;
+}
+
+.help-mode #settings_settings_mediaPlayer_list_item0 span,
+.help-mode #settings_settings_mediaPlayer_list_item2 span,
+.help-mode #settings_settings_mediaPlayer_list_item3 span,
+.help-mode #settings_settings_mediaPlayer_list_item4 span{
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.Settings.Media Player Bluetooth Devices Menu*******************/
+#settings_settings_mediaPlayer_bluetoothDevices {
+       left: 0px;
+       top: 0px;
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       font-size: 20px;
+       z-index: 1001
+}
+
+#settings_settings_mediaPlayer_bluetoothDevices .backButton {
+       margin-top: 11px;
+}
+
+#settings_settings_mediaPlayer_bluetoothDevices .block-header-title {
+       top: 22px;
+       left: 76px;
+}
+
+#settings_settings_mediaPlayer_bluetoothDevices_list {
+       position: relative;
+       margin-top: 84px;
+       margin-left: 65px;
+       width: 670px;
+}
+
+#settings_settings_mediaPlayer_bluetoothDevices_list {
+       width: 730px;
+       height: 251px;
+}
+
+#settings_settings_mediaPlayer_bluetoothDevices_list .list-content {
+       width: 670px;
+       height: 150px;
+}
+
+#settings_settings_mediaPlayer_bluetoothDevices_list .list-item {
+       position: relative;
+       width: 670px;
+       float: left;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+    line-height: 50px;
+}
+
+#settings_settings_mediaPlayer_bluetoothDevices_list .list-item > span,
+#settings_settings_mediaPlayer_bluetoothDevices_list .lableToggle > span{
+       margin-left: 13px;
+}
+
+#settings_settings_mediaPlayer_bluetoothDevices_list .list-item .ico {
+       float: right;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       margin-top: 9px;
+       margin-right: 9px;
+}
+
+#settings_settings_mediaPlayer_bluetoothDevices_list .list-item.big-ico img {
+       float: right;
+       border: none;
+       margin-top: 4px;
+       margin-right: 9px;
+}
+
+#settings_settings_mediaPlayer_bluetoothDevices_list .toogleButtonContainer {
+       width: 300px;
+}
+
+#settings_settings_mediaPlayer_bluetoothDevices_list .toggles,
+#settings_settings_mediaPlayer_bluetoothDevices_list .toggles span {
+       width: 149px;
+}
+
+#settings_settings_mediaPlayer_bluetoothDevices_list .toogleButtonContainer .delim {
+       border: none;
+       background: #393939;
+       width: 2px;
+}
+
+.help-mode #settings_settings_mediaPlayer_bluetoothDevices_list .toogleButtonContainer span{
+        margin-top: 2px !important;
+       margin-left: -1px !important;
+}
+
+.help-mode #settings_settings_mediaPlayer_bluetoothDevices_list .lableToggle {
+       margin-top: 0px !important;
+       margin-left: 0px !important;
+}
+
+.helpmode #settings_settings_mediaPlayer_bluetoothDevices{
+       background-image: url(../images/settings/settings_settings_media_bluetoothDevices_bg_help.png) !important;
+       background-repeat: no-repeat;
+}
+
+.helpmode #settings_settings_mediaPlayer_bluetoothDevices .list-item .ico{
+       border: 1px solid #000;
+}
+
+.helpmode #settings_settings_mediaPlayer_bluetoothDevices_list .list-item span{
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.Settings. Navigation*******************/
+
+#settings_settings_navigation {
+       top: -38px;
+       left: -160px;
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       font-size: 20px;
+       z-index: 1001
+}
+
+#settings_settings_navigation .backButton {
+       margin-top: 11px;
+}
+
+#settings_settings_navigation .block-header-title {
+       top: 22px;
+       left: 76px;
+}
+
+#settings_settings_navigation_list {
+       margin-top: 84px;
+       margin-left: 65px;
+       width: 733px;
+       height: 251px;
+}
+
+#settings_settings_navigation_list .list-content {
+       width: 728px;
+       height: 250px;
+}
+
+#settings_settings_navigation_list .list-item {
+       position: relative;
+       width: 728px;
+       float: left;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+       line-height: 50px;
+}
+
+#settings_settings_navigation_list .list-item span{
+       margin-left: 13px;
+}
+
+#settings_settings_navigation_list .list-item.big-ico img {
+       float: right;
+       border: none;
+       margin-top: 4px;
+       margin-right: 9px;
+}
+
+
+.helpmode #settings_settings_navigation {
+       background-image: url(../images/settings/settings_settings_navigation_bg_help.png) !important;
+       background-position: 60px 79px;
+       background-repeat: no-repeat;
+       border: none;
+}
+
+.helpmode #settings_settings_navigation_list{
+       margin-top: 85px;
+       margin-left: 64px;
+}
+
+/******************* For Settings.Settings.Navigation.MapPreferences *******************/
+#settings_settings_navigation_mapPreferences {
+       top: 0px;
+       left: 0px;
+       /*      top: 48px;*/
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       font-size: 20px;
+       z-index: 1001
+}
+
+#settings_settings_navigation_mapPreferences_list {
+       margin-top: 84px;
+       margin-left: 65px;
+       width: 672px;
+       height: 151px;;
+}
+
+#settings_settings_navigation_mapPreferences_list .list-content {
+       width: 670px;
+       height: 200px;
+}
+
+#settings_settings_navigation_mapPreferences_list .list-item {
+       position: relative;
+       width: 670px;
+       float: left;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+       line-height: 50px;
+}
+
+#settings_settings_navigation_mapPreferences_list .list-item .lableToggle span {
+       margin-left: 13px;
+}
+
+#settings_settings_navigation_mapPreferences_list .list-item .ico {
+       float: right;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       margin-top: 9px;
+       margin-right: 9px;/*    opacity: 0.3;*/
+}
+
+#settings_settings_navigation_mapPreferences_list .list-item.big-ico img {
+       float: right;
+       border: none;
+       margin-top: 4px;
+       margin-right: 9px;/*    opacity: 0.3;*/
+}
+
+#settings_settings_navigation_mapPreferences_list .lableToggleButton.wideDoubleToggle .delim {
+       border: none;
+       background: #393939;
+       width: 2px;
+}
+
+.helpmode #settings_settings_navigation_mapPreferences {
+       background-image: url(../images/settings/settings_settings_navigation_mapPreferences_bg_help.png);
+       background-repeat: no-repeat;
+       text-shadow: 0 0 3px #999;
+}
+
+.helpmode  #settings_settings_navigation_mapPreferences .toogleButtonContainer{
+       border: none;
+}
+
+.helpmode  #settings_settings_navigation_mapPreferences .toogleButtonContainer .ffw-button{
+       background: none !important;
+}
+
+.helpmode #settings_settings_navigation_mapPreferences .toogleButtonContainer span {
+       margin-left: 0px !important;
+}
+
+/******************* For Settings.Settings.Navigation.RoutePreferences *******************/
+#settings_settings_navigation_routePreferences {
+       top: 0px;
+       left: 0px;
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       font-size: 20px;
+       z-index: 1001
+}
+
+#settings_settings_navigation_routePreferences_list {
+       margin-top: 84px;
+       margin-left: 65px;
+       width: 672px;
+       height: 251px
+}
+
+#settings_settings_navigation_routePreferences_list .list-item {
+       position: relative;
+       width: 670px;
+       float: left;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+       line-height: 50px;
+}
+
+#settings_settings_navigation_routePreferences_list .list-item .lableToggle{
+       margin-left: 13px;
+}
+
+#settings_settings_navigation_routePreferences_list .list-item .lableToggle{
+       margin-left: 13px;
+}
+
+#settings_settings_navigation_routePreferences_list .list-content {
+       width: 670px;
+       height: 250px;
+}
+
+#settings_settings_navigation_routePreferences_list .list-item .ico {
+       float: left;
+       padding-right: 10px;
+}
+
+#settings_settings_navigation_routePreferences_list .list-item.big-ico img {
+       float: right;
+       border: none;
+       margin-top: 4px;
+       margin-right: 9px;
+}
+
+#settings_settings_navigation_routePreferences_list.help_mode .list-content .list-item .toogleButtonContainer{
+       border: none !important;
+}
+
+#settings_settings_navigation_routePreferences_list_item0 .toogleButtonContainer{
+       width: 448px;
+}
+
+.helpmode #settings_settings_navigation_routePreferences {
+       background-image: url(../images/settings/settings_settings_navigation_routePreferences_bg_help.png);
+       background-repeat: no-repeat;
+       background-position: 59px 79px;
+}
+
+.helpmode #settings_settings_navigation_routePreferences .lableToggle{
+       left: 11px;
+}
+
+.helpmode #settings_settings_navigation_routePreferences_list_item0 .lableToggle{
+       left: 13px;
+}
+
+.helpmode #settings_settings_navigation_routePreferences .list-item span{
+       text-shadow: 0 0 3px #999;
+}
+
+.helpmode #settings_settings_navigation_routePreferences .toogleButtonContainer span{
+       margin-left: 0px !important;
+}
+
+.helpmode #settings_settings_navigation_routePreferences .lableToggleButton .delim{
+       width: 2px;
+}
+
+/******************* For Settings.Settings.Navigation.NavigationPreferences *******************/
+#settings_settings_navigation_navigationPreferences {
+       top: 0px;
+       left: 0px;
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       font-size: 20px;
+       z-index: 1001
+}
+
+#settings_settings_navigation_navigationPreferences_list {
+       position: relative;
+       margin-top: 161px;
+       margin-left: 77px;
+       width: 672px;
+       height: 101px;
+}
+
+#settings_settings_navigation_navigationPreferences_list .list {
+       position: relative;
+       width: 668px;
+       height: 98px;
+       border: 1px solid #393939;
+       border-radius: 2px;
+}
+
+#settings_settings_navigation_navigationPreferences_list .list-content {
+       width: 670px;
+       height: 100px;
+}
+
+#settings_settings_navigation_navigationPreferences_list .list-item {
+       position: relative;
+       width: 670px;
+       float: left;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+       line-height: 50px;
+}
+
+#settings_settings_navigation_navigationPreferences_list .list-item .lableToggle span {
+       margin-left: 13px;
+}
+
+#settings_settings_navigation_navigationPreferences_list .list-item .ico {
+       float: right;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       margin-top: 9px;
+       margin-right: 9px;
+}
+
+#settings_settings_navigation_navigationPreferences_list .list-item.big-ico img {
+       float: right;
+       border: none;
+       margin-top: 4px;
+       margin-right: 9px;
+}
+
+.helpmode #settings_settings_navigation_navigationPreferences .toogleButtonContainer span{
+       margin-left: 0px !important;
+}
+
+.helpmode #settings_settings_navigation_navigationPreferences .toogleButtonContainer .delim {
+       width: 2px
+}
+
+.helpmode #settings_settings_navigation_navigationPreferences {
+       background-image: url(../images/settings/settings_settings_navigation_navigationPreferences_bg_help.png);
+       background-repeat: no-repeat;
+       background-position: 72px 156px;
+}
+
+.helpmode #settings_settings_navigation_navigationPreferences .list-item span{
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.Settings.Navigation.TrafficPreferences *******************/
+#settings_settings_navigation_trafficPreferences {
+       top: 0px;
+       left: 0px;
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       font-size: 20px;
+       z-index: 1001
+}
+
+#settings_settings_navigation_trafficPreferences_list {
+       position: relative;
+       margin-top: 84px;
+       margin-left: 65px;
+       width: 730px;
+       height: 251px;
+}
+
+#settings_settings_navigation_trafficPreferences_list .list-content {
+       width: 670px;
+       height: 650px;
+}
+
+#settings_settings_navigation_trafficPreferences_list .list-item{
+       position: relative;
+       width: 670px;
+       float: left;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+       line-height: 50px;
+}
+
+#settings_settings_navigation_trafficPreferences_list .list-item .lableToggle {
+       margin-left: 13px;
+}
+
+#settings_settings_navigation_trafficPreferences_list .list-item .lableToggle span {
+       margin-left: 13px;
+}
+
+#settings_settings_navigation_trafficPreferences_list .list-item .ico {
+       float: left;
+       padding-right: 10px;
+       margin-top: 9px;
+}
+
+#settings_settings_navigation_trafficPreferences_list .list-item.big-ico img {
+       float: right;
+       border: none;
+       margin-top: 4px;
+       margin-right: 9px;
+}
+
+.help-mode #settings_settings_navigation_trafficPreferences {
+       background-image: url(../images/settings/settings_settings_navigation_trafficPreferences_bg_help.png);
+       background-repeat: no-repeat;
+}
+
+.help-mode #settings_settings_navigation_trafficPreferences .lableToggle{
+       left: 11px;
+}
+
+.help-mode #settings_settings_navigation_trafficPreferences_list_item0 .lableToggle,
+.help-mode #settings_settings_navigation_trafficPreferences_list_item1 .lableToggle {
+       margin-left: 1px;
+}
+
+.help-mode #settings_settings_navigation_trafficPreferences_list_item0 .lableToggle,
+.help-mode #settings_settings_navigation_trafficPreferences_list_item1 .lableToggle{
+       left: 13px;
+}
+
+.help-mode #settings_settings_navigation_trafficPreferences #settings_settings_navigation_trafficPreferences_list{
+       display: none;
+}
+
+.help-mode #settings_settings_navigation_trafficPreferences .list-item span{
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.Settings.Navigation.AvoidAreas*******************/
+
+#settings_settings_navigation_avoidAreas_view{
+       height: 48px;
+       width: 148px;
+       top: 0px;
+       left: 0px;
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       font-size: 20px;
+       z-index: 1001
+}
+
+#settings_settings_navigation_avoidAreas_backButton_addButton{
+       top: 112px;
+       left: 5px;
+       width: 148px;
+       height: 48px;
+       border: 1px solid #333;
+       border-radius: 2px;
+       cursor: pointer;
+       z-index: 1;
+       line-height: 50px;
+}
+
+#settings_settings_navigation_avoidAreas_backButton_addButton span{
+       margin-left: 13px;
+}
+
+.help-mode #settings_settings_navigation_avoidAreas_view{
+       background-image: url(../images/settings/settings_settings_navigation_avoidAreas_bg_help.png);
+       background-repeat: no-repeat;
+       background-position: 0px 107px;
+}
+
+.help-mode #settings_settings_navigation_avoidAreas_backButton_addButton{
+       background: none;
+       border: #000;
+}
+
+.help-mode #settings_settings_navigation_avoidAreas_backButton_addButton .arrow-ico{
+       opacity:  0;
+}
+
+.help-mode #settings_settings_navigation_avoidAreas_backButton_addButton span{
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.Wireless Internet *******************/
+#settings_settings_wirelessInternet {
+       top: -38px;
+       left: -160px;
+       width: 800px;
+       height: 384px;
+       z-index: 1001;
+       background-color: #000;
+       background-image: url(../images/settings/view_settings_settings_WirelessInternet.png);
+       background-repeat: no-repeat;
+       background-position: 0px 48px;
+}
+
+.help-mode #settings_settings_wirelessInternet {
+       background-image: url(../images/settings/view_settings_settings_WirelessInternet-help.png);
+}
+
+#settings_settings_wirelessInternet .backButton {
+       margin-top: 11px;
+}
+
+#settings_settings_wirelessInternet .block-header-title {
+       top: 21px;
+}
+
+#settings_settings_wirelessInternet .inner-content {
+       top: 71px;
+}
+
+#settings_settings_wirelessInternet .wifi-network {
+       white-space: nowrap;
+       top: 7px;
+       left: 349px;
+}
+
+#settings_settings_wirelessInternet .usbmb {
+       white-space: nowrap;
+       top: 86px;
+       left: 349px;
+}
+
+#settings_settings_wirelessInternet .bluetooth_settings {
+       white-space: nowrap;
+       top: 168px;
+       left: 349px;
+}
+
+#settings_settings_wirelessInternet .bluetooth_pcm {
+       white-space: nowrap;
+       top: 250px;
+       left: 316px;
+}
+
+#settings_settings_wirelessInternet .i {
+       white-space: nowrap;
+       top: 172px;
+       left: -32px;
+       font-size: 12px;
+}
+
+#settings_settings_wirelessInternet .wifi {
+       white-space: nowrap;
+       top: 41px;
+       left: 118px;
+       font-size: 12px;
+}
+
+#settings_settings_wirelessInternet .wdp {
+       white-space: nowrap;
+       top: 127px;
+       left: 68px;
+       font-size: 12px;
+}
+
+#settings_settings_wirelessInternet .cn {
+       white-space: nowrap;
+       top: 212px;
+       left: 84px;
+       font-size: 12px;
+}
+
+.help-mode #settings_settings_wirelessInternet .inner-content div{
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.Help *******************/
+#settings_help {
+       position: absolute;
+       top: 86px;
+       left: 160px;
+       width: 640px;
+       height: 305px;
+       float: left;
+       z-index:1001
+}
+
+#settings_help .backButton {
+       margin-top: 11px;
+}
+
+#settings_help .inner-content{
+       top: 71px;
+}
+
+#settings_help .block-header-title {
+       top: 21px;
+       left: 75px;
+}
+
+#settings_help_911Assist .backButton{
+       margin-top: 11px;
+}
+
+#settings_help_911Assist .a911r .btn-28{
+       border-radius: 0px;
+}
+
+#viewSettingsDisplay_assist-a911r .inner-content{
+       top: 71px;
+}
+
+#settings_help_911Assist .block-header-title {
+       top: 21px;
+       left: 75px;
+}
+
+
+#settings_help_list_left, #settings_help_list_right {
+       width: 310px;
+       height: 251px;
+}
+
+#settings_help_list_right .list-item {
+       cursor: pointer;
+}
+
+#settings_help .list-content {
+       position: relative;
+       float: left;
+       width: 308px
+}
+
+#settings_help .list-item .ico {
+       height: 50px;
+       width: 50px;
+}
+
+#settings_help .list-item .ico {
+       float: left;
+}
+
+#settings_help_list_left{
+       float: left;
+       left: 5px;
+       top: 5px;
+}
+
+#settings_help_list_right {
+       position: relative;
+       float: left;
+       margin-top: 5px;
+       margin-left: 15px;
+       width: 310px;
+}
+
+#settings_help #settings_help_list_right .list {
+       max-height: 48px;
+}
+
+#settings_help_bottom_label {
+       font-size: 20px;
+       line-height: 50px;
+       color: #6E6E6E;
+       float: left;
+       width: 100%;
+       text-align: center;
+       bottom: 0px;
+}
+
+.helpmode #settings_help {
+       background-image: url(../images/settings/settings_help_help.png);
+       background-repeat: no-repeat;
+       border: none !important;
+}
+
+.helpmode #settings_help_bottom_label {
+       text-shadow: 0 0 3px #999 !important;
+}
+
+.helpmode #settings_help .lat{
+       text-shadow: 0 0 3px lime !important;
+}
+
+/******************* For Settings.Help.Where Am I Report Menu*******************/
+#settings_help_whereAmI {
+       position: absolute;
+       top: -38px;
+       left: -160px;
+       width: 800px;
+       height: 384px;
+       background-image: url(../images/settings/settings_help_WhereAmI_bg.png);
+       background-repeat: no-repeat;
+       background-position: 14px 96px;
+       background-color: black;
+       z-index: 1001;
+}
+
+#settings_help_whereAmI .next_street {
+       white-space: nowrap;
+       left: -68px;
+       top: 17px;
+}
+
+#settings_help_whereAmI .villagerd {
+       white-space: nowrap;
+       left: -53px;
+       top: 50px;
+}
+
+#settings_help_whereAmI .current_street {
+       white-space: nowrap;
+       left: -68px;
+       top: 97px;
+}
+
+#settings_help_whereAmI .mi {
+       white-space: nowrap;
+       right: -669px;
+       top: 50px;
+}
+
+#settings_help_whereAmI .military_st {
+       white-space: nowrap;
+       left: -45px;
+       top: 124px;
+}
+
+#settings_help_whereAmI .dmi {
+       white-space: nowrap;
+       left: -45px;
+       top: 147px;
+}
+
+#settings_help_whereAmI .lat {
+       white-space: nowrap;
+       left: -45px;
+       top: 190px;
+       color: #00ff00;
+}
+
+#settings_help_whereAmI .previous_street {
+       white-space: nowrap;
+       left: -68px;
+       top: 229px;
+}
+
+#settings_help_whereAmI .rd {
+       white-space: nowrap;
+       left: -45px;
+       top: 262px;
+}
+
+#settings_help_whereAmI .ft {
+       white-space: nowrap;
+       right: -668px;
+       top: 262px;
+}
+
+.help-mode #settings_help_whereAmI {
+       position: absolute;
+       width: 800px;
+       height: 384px;
+       background-image: url(../images/settings/settings_help_WhereAmI_bg_help.png);
+}
+
+.help-mode #settings_help_whereAmI .inner-content div{
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.Help.SystemInformation Menu*******************/
+#settings_help_systemInformation {
+       top: -38px;
+       left: -160px;
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       z-index: 1001;
+       font-size: 20px;
+}
+
+#settings_help_systemInformation .backButton {
+       margin-top: 11px;
+}
+
+#settings_help_systemInformation .block-header-title {
+       top: 22px;
+       left: 76px;
+}
+
+#settings_help_systemInformation_list {
+       position: relative;
+       margin-top: 91px;
+       margin-left: 65px;
+       width: 730px;
+       height: 251px;
+}
+
+#settings_help_systemInformation_list .list-content {
+       width: 670px;
+}
+
+
+#settings_help_systemInformation_list .list-item span {
+       padding-left: 13px;
+}
+
+.help-mode #settings_help_systemInformation {
+       background-image: url(../images/settings/settings_help_systemInformation_bg_help.png);
+       background-repeat: no-repeat;
+       background-position: 60px 86px;
+}
+
+.help-mode #settings_help_systemInformation .list-item span{
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.Help.SoftwareLicenses Menu*******************/
+#settings_help_softwareLicenses {
+       top: -38px;
+       left: -160px;
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       z-index: 1001;
+       font-size: 20px;
+}
+
+#settings_help_softwareLicenses .backButton {
+       margin-top: 11px;
+}
+
+#settings_help_softwareLicenses .block-header-title {
+       top: 22px;
+       left: 76px;
+}
+
+#settings_help_softwareLicenses .list-titles {
+       position: relative;
+       margin-top: 57px;
+       margin-left: 274px;
+       float: left;
+       font-size: 18px;
+}
+
+#settings_help_softwareLicenses #title-name {
+       position: relative;
+       width: 152px;
+       float: left;
+}
+
+#settings_help_softwareLicenses.fr #title-name {
+       left: -15px;
+       width: 162px;
+}
+
+#settings_help_softwareLicenses #title-data {
+       position: relative;
+       width: 100px;
+       margin-left: 53px;
+       float: left;
+       text-align: center;
+}
+
+#settings_help_softwareLicenses.fr #title-data {
+       margin-left: 43px;
+}
+
+#settings_help_softwareLicenses #title-users {
+       position: relative;
+       width: 100px;
+       margin-left: 44px;
+       float: left;
+       text-align: center;
+}
+
+#settings_help_softwareLicenses.fr #title-users{
+       width: 89px;
+}
+
+#settings_help_softwareLicenses_list .list-item .ico{
+       width: 12px;
+       height: 50px;
+}
+
+#settings_help_softwareLicenses_list_item0 .right-icon{
+       position: absolute;
+       top: 0px;
+       left: 299px;
+       width: 10px;
+       height: 50px;
+}
+
+#settings_help_softwareLicenses_list {
+       position: absolute;
+       margin-top: 101px;
+       margin-left: 135px;
+       width: 655px;
+       height: 251px;
+}
+
+#settings_help_softwareLicenses_list .list {
+       position: relative;
+       width: 595px;
+       height: 48px;
+       border: 1px solid #393939;
+       border-radius: 2px;
+}
+
+#settings_help_softwareLicenses_list .list-item {
+       position: relative;
+       width: 595px;
+       float: left;
+       background: black;
+       height: 49px;
+       border-bottom: 1px solid #393939;
+       line-height: 50px;
+       cursor: default;
+}
+
+#settings_help_softwareLicenses_list .list-item span {
+       position: absolute;
+       top: 0px;
+       left: 29px;
+}
+
+#settings_help_softwareLicenses_list .list-item span.content {
+       font-size: 23px;
+}
+
+#settings_help_softwareLicenses_list .list-content {
+       width: 595px;
+}
+
+#settings_help_softwareLicenses_list .list-item .ico {
+       margin-left: 12px;
+       margin-right: 5px;
+}
+
+#settings_help_softwareLicenses_list .list-item .content-second {
+       position: absolute;
+       top: 0px;
+       left: 370px;
+}
+
+#settings_help_softwareLicenses.fr .list-item .content-second {
+       left: 367px;
+}
+
+#settings_help_softwareLicenses.fr .list-item .content-third {
+       left: 503px;
+}
+
+#settings_help_softwareLicenses_list .list-item .content-third {
+       position: absolute;
+       top: 0px;
+       left: 499px
+}
+#installUpdatesButton {
+       position: relative;
+       margin-left: 5px;
+       width: 118px;
+       height: 58px;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       float: left;
+       background: url(../images/settings/btn-68h.png);
+       text-align: center;
+       padding-top: 10px;
+}
+
+#installUpdatesButton.pressed {
+       background: url(../images/settings/btn-68h-pressed.png);
+}
+
+.help-mode #settings_help_softwareLicenses .list-titles{
+       color: transparent !important;
+       text-shadow: 0 0 3px #FFF !important;
+}
+
+.help-mode #settings_help_softwareLicenses{
+       background-image: url(../images/settings/seetings_help_softwareLicenses_bg_help.png);
+       background-repeat: no-repeat;
+       background-position: 130px 96px;
+}
+
+.help-mode #installUpdatesButton{
+       border: none;
+       background: none;
+       padding-top: 11px;
+       margin-left: 6px;
+}
+
+.help-mode #settings_help_systemInformation .list-titles span{
+       text-shadow: 0 0 3px #999;
+}
+
+/******************* For Settings.Help. Driver Restrictions Menu*******************/
+#settings_help_driver_restrictions {
+       top: -38px;
+       left: -160px;
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       z-index: 1001;
+}
+
+#settings_help_driver_restrictions .text {
+       position: relative;
+       top: 90px;
+       width: 497px;
+       margin: 0 auto;
+       text-align: center;
+       line-height: 42px;
+       font-size: 32px;
+
+}
+
+.fr #settings_help_driver_restrictions .text{
+       width: 649px;
+}
+
+/******************* For Settings.Help.911Assist Menu*******************/
+#settings_help_911Assist {
+       top: -39px;
+       left: -160px;
+       width: 800px;
+       height: 385px;
+       background-color: black;
+       z-index: 1001;
+}
+
+#settings_help_911Assist .active {
+       background: url(../images/settings/btn-28h-gray-active.png) repeat-x !important;
+}
+
+#settings_help_911Assist .ico-911 {
+       width: 104px;
+       height: 100px;
+       background: url(../images/settings/911-ico.png) no-repeat;
+       top: 45px;
+       left: -12px;
+}
+
+#settings_help_911Assist .assist-911 {
+       width: 425px;
+       left: 134px;
+       top: 17px;
+}
+
+#settings_help_911Assist.fr .assist-911 {
+       width: 500px;
+}
+
+#settings_help_911Assist .a911 {
+       left: 135px;
+       top: 70px;
+       -webkit-border-radius: 0;
+       -moz-border-radius: 0;
+       border-radius: 0;
+       -webkit-border-top-left-radius: 3px;
+       -webkit-border-top-right-radius: 3px;
+       -moz-border-radius-topleft: 3px;
+       -moz-border-radius-topright: 3px;
+       border-top-left-radius: 3px;
+       border-top-right-radius: 3px;
+}
+
+#settings_help_911Assist .a911-on {
+       width: 99px;
+       text-align: center;
+       right: 109px;
+       top: 10px;
+}
+
+#settings_help_911Assist .a911-off {
+       width: 99px;
+       text-align: center;
+       right: 9px;
+       top: 10px;
+}
+
+#settings_help_911Assist .vri {
+       line-height: 24px;
+       width: 148px;
+       top: 170px;
+       left: -35px;
+       height: 98px;
+}
+
+#settings_help_911Assist .vri span{
+       position: absolute;
+       margin: 26px 0 0 0;
+       text-align: center;
+}
+
+#settings_help_911Assist.fr .vri span{
+       position: absolute;
+       margin: 14px 0 0 15px;
+       width: 117px;
+       text-align: center;
+}
+
+#settings_help_911Assist .a911r {
+       left: 135px;
+       top: 120px;
+       -webkit-border-radius: 0;
+       -moz-border-radius: 0;
+       border-radius: 0;
+       -webkit-border-bottom-left-radius: 3px;
+       -webkit-border-bottom-right-radius: 3px;
+       -moz-border-radius-bottomleft: 3px;
+       -moz-border-radius-bottomright: 3px;
+       border-bottom-left-radius: 3px;
+       border-bottom-right-radius: 3px;
+}
+
+#settings_help_911Assist .icofesd {
+       width: 400px;
+       top: 185px;
+       left: 135px;
+}
+
+#settings_help_911Assist .sarah {
+       top: 220px;
+       left: 135px;
+       line-height: 47px;
+       width: 158px;
+       text-indent: 12px;
+}
+
+#settings_help_911Assist .sarah > .ico, #settings_help_911Assist .john > .ico {
+       top: 11px;
+       right: 13px;
+       width: 19px;
+       height: 26px;
+       background: url(../images/settings/ico_phone_off.png) no-repeat;
+}
+
+#settings_help_911Assist .john {
+       top: 220px;
+       left: 305px;
+       line-height: 47px;
+       width: 158px;
+       text-indent: 12px;
+}
+
+#settings_help_911Assist .edit {
+       top: 220px;
+       left: 475px;
+       line-height: 47px;
+       width: 158px;
+       text-indent: 12px;
+}
+
+#settings_help_911Assist .edit > .ico {
+       top: 14px;
+       right: 13px;
+       width: 14px;
+       height: 26px;
+       background: url(../images/settings/arr-r-disable.png) no-repeat;
+}
+
+#settings_help_911Assist .disabled .ico {
+       opacity: 1
+}
+
+.helpmode #settings_help_911Assist {
+       background: url(../images/settings/view_settings_help_911Assist_bg_help.png) no-repeat!important;
+}
+
+.helpmode #settings_help_911Assist .disabled .ico {
+       opacity: 0;
+}
+
+.helpmode .ico-911 {
+       display: none !important;
+}
+
+.helpmode #settings_help_911Assist .btn{
+       padding: 1px;
+}
+
+.helpmode #settings_help_911Assist .inner-content div{
+       text-shadow: 0 0 3px #999;
+}
+
+.helpmode #viewSettingsDisplay_vri{
+       left: -36px;
+}
+
+.helpmode #viewSettingsDisplay_assist-a911{
+       left: 136px;
+       top: 71px;
+}
+
+.helpmode #viewSettingsDisplay_assist-a911r{
+       left: 136px;
+       top: 121px;
+}
+
+/******************* For Settings.Help.VoiceCommandList Menu*******************/
+#settings_help_voiceCommandList {
+       top: -38px;
+       left: -160px;
+       width: 800px;
+       height: 384px;
+       background-color: black;
+       font-size: 20px;
+       z-index: 1001
+}
+
+#settings_help_voiceCommandList .backButton {
+       margin-top: 11px;
+}
+
+#settings_help_voiceCommandList .block-header-title {
+       top: 22px;
+       left: 76px;
+}
+
+#settings_help_voiceCommandList_list {
+       position: relative;
+       margin-top: 85px;
+       margin-left: 65px;
+       width: 730px;
+       height: 251px;
+}
+
+#settings_help_voiceCommandList_list .list-content {
+       width: 670px;
+}
+
+#settings_help_voiceCommandList_list .list-item span {
+       padding-left: 13px;
+}
+
+#settings_help_voiceCommandList_list .list-item .ico {
+       float: right;
+       border: 1px solid #393939;
+       border-radius: 2px;
+       margin-top: 9px;
+       margin-right: 9px;
+       opacity: 0.3;
+}
+
+.help-mode #settings_help_voiceCommandList {
+       background-image: url(../images/settings/settings_help_VoiceCommandList_bg_help.png);
+       background-repeat: no-repeat;
+       background-position: 60px 80px;
+}
+
+.help-mode #settings_help_voiceCommandList .list-item span{
+       text-shadow: 0 0 3px #999;
+}
+
+#settings_settings_system_list .button-group {
+       right: 10px;
+       top: 10px;
+       border: 1px solid #393939;
+       border-radius: 2px;
+}
+
+#settings_settings_system_list .button-group .button {
+       width: 148px;
+       position: relative;
+       float: left;
+       text-align: center;
+       border: none;
+       border-radius: 0px;
+}
+
+#settings_settings_system_list .button-group span {
+       margin-left: 0px;
+}
+
+#settings_settings_system_list .button-group .button.active {
+       background: url(../images/settings/btn-28h-gray-active.png) repeat-x !important;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/style.css b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/css/style.css
new file mode 100644 (file)
index 0000000..9bddf16
--- /dev/null
@@ -0,0 +1,338 @@
+/*carousel control*/
+
+.carousel {
+       position: absolute;
+       top: 230px;
+       left: 0; /* 5px; */
+       width: 12000px;
+       height: 480px;
+       padding: 0;
+       margin: 0;
+       -webkit-transition: 2s;
+    -moz-transition: 2s;
+    -ms-transition: 2s;
+    -o-transition: 2s;
+    transition: 2s;
+}
+
+.carouselItem {
+       float: left;
+       width: 240px;
+       margin-left: 10px;
+       margin-right: 10px;
+       padding: 0;
+}
+
+.carouselItemSelected {
+       box-shadow: 0 0 5px 1px #1DA2FF
+}
+
+.carouselImage {
+       width: 240px;
+       height: 240px;
+}
+
+.albumCarouselDescription {
+       width: 240px;
+       height: 95px;
+       bottom: 95px;
+}
+
+.albumCarouselDescriptionText {
+       text-align: center;
+       top: 20px;
+}
+
+.carouselShadow {
+       position: relative;
+       width: 240px;
+       height: 50px;
+       top: -100px;
+       opacity: 0.2;
+       display: none;
+       -webkit-transform: rotateX(180deg);
+       -webkit-transform-origin: 50% 50%;
+       -moz-transform: rotateX(180deg);
+       -moz-transform: 50% 50%;
+    -ms-transform: rotateX(180deg);
+       -ms-transform: 50% 50%;
+    -o-transform: rotateX(180deg);
+       -o-transform: 50% 50%;
+    transform: rotateX(180deg);
+    transform: 50% 50%;
+}
+
+.backgroundAudioClass {
+       position: absolute;
+       top: 0;
+       left: 0;
+       width: 720px;
+       height: 1280px;
+       -webkit-background-size: cover;
+       -moz-background-size: cover;
+    -ms-background-size: cover;
+    -o-background-size: cover;
+    background-size: cover;
+}
+
+/* spectrum analyzer */
+.spectrumAnalyzer {
+       position: absolute;
+       top: 775px;
+       left: 300px;
+       width: 400px;
+       height: 110px;
+}
+
+.barAnalyzer {
+       position: absolute;
+       width: 33px;
+       height: 5px;
+       float: left;
+       margin-left: 5px;
+}
+
+.bar1Class {
+       left: 0;
+}
+
+.bar2Class  {
+       left: 38px;
+}
+
+.bar3Class  {
+       left: 76px;
+}
+
+.bar4Class  {
+       left: 114px;
+}
+
+.bar5Class  {
+       left: 152px;
+}
+
+.bar6Class  {
+       left: 190px;
+}
+
+.bar7Class  {
+       left: 228px;
+}
+
+.bar8Class  {
+       left: 266px;
+}
+
+.bar9Class {
+       left: 304px;
+}
+
+.bar10Class  {
+       left: 342px;
+}
+
+/* text panel artist, album, song title */
+.currentlyPlayingPreviewClass {
+       position: absolute;
+       top: 588px;
+       left: 55px;
+}
+
+.textPanel {
+       position: absolute;
+       width: 405px;
+       height:100px;
+       top: 577px;
+       left: 338px;
+}
+
+.blueIconText {
+       position: relative;
+       height: 25px;
+}
+
+/* time progress bar and remaining time */
+.timeBarClass {
+       position: relative;
+       bottom: 0;
+       width: 325px;
+       height: 80px;
+       font-size: large;
+}
+
+.volumeControlClass {
+       position: absolute;
+       top: 928px;
+       left: 35px;
+       width: 660px;
+       height: 60px;
+       background: none;
+}
+
+.progressPot {
+       position: absolute;
+       top: 4px;
+       left: 0;
+       width: 100%;
+       height: 3px;
+}
+
+.progressBar {
+       position: absolute;
+       top: 50px;
+       left: 0;
+       width: 325px;
+       height: 10px;
+       border-style: solid;
+       border-width: 0 0 1px 0;
+}
+
+.leftText {
+       position: absolute;
+       top: 10px;
+       left: 0;
+       width: 40px;
+       height: 15px;
+}
+
+.rightText {
+       position: absolute;
+       top: 10px;
+       right: 25px;
+       width: 40px;
+       height: 15px;
+}
+
+/*audio controls*/
+.audioControlsButtons {
+       position: absolute;
+       top: 1030px;
+       left: 0;
+       width: 700px;
+       height: 100px;
+}
+
+.previousBtn {
+       opacity: 1;
+       width: 28px;
+       height: 28px;
+       background-repeat: no-repeat;
+       float: left;
+       margin-right: 55px;
+       margin-left: 60px;
+}
+
+.prevBtnInactive {
+       opacity: 0.5;
+       width: 28px;
+       height: 28px;
+       background-repeat: no-repeat;
+       float: left;
+       margin-right: 55px;
+       margin-left: 60px;
+}
+
+.pauseBtn {
+       opacity: 1;
+       width: 28px;
+       height: 28px;
+       background-repeat: no-repeat;
+       float: left;
+       margin-right: 55px;
+       margin-left: 60px;
+}
+
+.playBtn {
+       opacity: 1;
+       width: 28px;
+       height: 28px;
+       background-repeat: no-repeat;
+       float: left;
+       margin-right: 55px;
+       margin-left: 60px;
+}
+
+.nextBtn {
+       opacity: 1;
+       width: 28px;
+       height: 28px;
+       background-repeat: no-repeat;
+       float: left;
+       margin-right: 55px;
+       margin-left: 60px;
+}
+
+.nextBtnInactive {
+       opacity: 0.5;
+       width: 28px;
+       height: 28px;
+       background-repeat: no-repeat;
+       float: left;
+       margin-right: 55px;
+       margin-left: 60px;
+}
+
+.shuffleBtn {
+       width: 45px;
+       height: 33px;
+       background-repeat: no-repeat;
+       float: left;
+       margin-right: 35px;
+       margin-left: 60px;
+}
+
+.repeatBtn {
+       width: 45px;
+       height: 33px;
+       background-repeat: no-repeat;
+       float: left;
+       margin-right: 0;
+       margin-left: 60px;
+}
+
+.previousBtnActive {
+       opacity: 1;
+       width: 28px;
+       height: 28px;
+       background-repeat: no-repeat;
+       float: left;
+       margin-right: 55px;
+       margin-left: 60px;
+}
+
+.nextBtnActive {
+       opacity: 1;
+       width: 28px;
+       height: 28px;
+       background-repeat: no-repeat;
+       float: left;
+       margin-right: 55px;
+       margin-left: 60px;
+}
+
+.shuffleBtnActive {
+       width: 45px;
+       height: 33px;
+       background-repeat: no-repeat;
+       float: left;
+       margin-right: 35px;
+       margin-left: 60px;
+}
+
+.repeatBtnActive {
+       width: 45px;
+       height: 33px;
+       background-repeat: no-repeat;
+       float: left;
+       margin-right: 0;
+       margin-left: 60px;
+}
+
+.songNameTextPosition {
+       top: 12px;
+}
+
+.artistNameTextMargin {
+       margin-bottom: 5px;
+}
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/BasicCommunicationRPC.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/BasicCommunicationRPC.js
new file mode 100644 (file)
index 0000000..dd72287
--- /dev/null
@@ -0,0 +1,308 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * Reference implementation of BasicCommunication component. Interface to get or
+ * set some essential information from OS. BasicCommunication responsible for
+ * handling the basic commands of non-graphical part such as the registration of
+ * mobile apps, geting the list of devices and applications and data transfer.
+ */
+
+FFW.BasicCommunication = FFW.RPCObserver.create( {
+
+    /**
+     * access to basic RPC functionality
+     */
+    client: FFW.RPCClient.create( {
+        componentName: "BasicCommunicationClient"
+    } ),
+
+    getAppListRequestId: -1,
+    getDeviceListRequestId: -1,
+    activateAppRequestId: -1,
+    onAppRegisteredSubscribeRequestId: -1,
+    onAppUnregisteredSubscribeRequestId: -1,
+    onAppRegisteredUnsubscribeRequestId: -1,
+    onAppUnregisteredUnsubscribeRequestId: -1,
+
+    // const
+    onAppRegisteredNotification: "BasicCommunication.OnAppRegistered",
+    onAppUnregisteredNotification: "BasicCommunication.OnAppUnregistered",
+    onDeviceListUpdatedNotification: "BasicCommunication.OnDeviceListUpdated",
+
+    /**
+     * init object
+     */
+    init: function() {
+    },
+
+    /**
+     * connect to RPC bus
+     */
+    connect: function() {
+
+        this.client.connect( this, 600 );
+    },
+
+    /**
+     * disconnect from RPC bus
+     */
+    disconnect: function() {
+        this.client.disconnect();
+    },
+
+    /**
+     * Client is registered - we can send request starting from this point of
+     * time
+     */
+    onRPCRegistered: function() {
+        Em.Logger.log( "FFW.BasicCommunicationRPC.onRPCRegistered" );
+        this._super();
+
+        // subscribe to notifications
+        this.onAppRegisteredSubscribeRequestId = this.client.subscribeToNotification( this.onAppRegisteredNotification );
+        this.onAppUnregisteredSubscribeRequestId = this.client.subscribeToNotification( this.onAppUnregisteredNotification );
+        this.onDeviceListUpdatedNotificationId = this.client.subscribeToNotification( this.onDeviceListUpdatedNotification );
+    },
+
+    /**
+     * Client is unregistered - no more requests
+     */
+    onRPCUnregistered: function() {
+        Em.Logger.log( "FFW.BasicCommunicationRPC.onRPCUnregistered" );
+        this._super();
+
+        // unsubscribe from notifications
+        this.onAppRegusteredUnsubscribeRequestId = this.client.unsubscribeFromNotification( this.onAppRegisteredNotification );
+        this.onAppUnregusteredUnsubscribeRequestId = this.client.unsubscribeFromNotification( this.onAppUnregisteredNotification );
+        this.onDeviceListUpdatedNotificationId = this.client.unsubscribeFromNotification( this.onDeviceListUpdatedNotification );
+    },
+
+    /**
+     * Client disconnected.
+     */
+    onRPCDisconnected: function() {
+        if( SDL.SDLAppController ){
+            SDL.SDLAppController.onSDLDisconected();
+        }
+    },
+
+    /**
+     * when result is received from RPC component this function is called It is
+     * the propriate place to check results of reuqest execution Please use
+     * previously store reuqestID to determine to which request repsonse belongs
+     * to
+     */
+    onRPCResult: function( response ) {
+        Em.Logger.log( "FFW.BasicCommunicationRPC.onRPCResult" );
+        this._super();
+
+        if( response.result.method == "BasicCommunication.GetAppListResponse" ){
+            if( SDL.States.info.active ){
+                SDL.SDLController.onGetAppList( response.result.appList );
+            }
+        }
+
+        if( response.result.method == "BasicCommunication.GetDeviceListResponse" ){
+            if( SDL.States.info.active ){
+                SDL.SDLModel.onGetDeviceList( response.result );
+            }
+        }
+
+        if( response.id == this.activateAppRequestId ){
+            //
+        }
+    },
+
+    /**
+     * handle RPC erros here
+     */
+    onRPCError: function( error ) {
+        Em.Logger.log( "FFW.BasicCommunicationRPC.onRPCError" );
+        this._super();
+    },
+
+    /**
+     * handle RPC notifications here
+     */
+    onRPCNotification: function( notification ) {
+        Em.Logger.log( "FFW.BasicCommunicationRPC.onRPCNotification" );
+        this._super();
+
+        if( notification.method == this.onAppRegisteredNotification ){
+            SDL.SDLModel.onAppRegistered( notification.params.application );
+            this.getAppList();
+        }
+
+        if( notification.method == this.onAppUnregisteredNotification ){
+            // remove app from list
+            SDL.SDLModel.onAppUnregistered( notification.params );
+        }
+
+        if( notification.method == this.onDeviceListUpdatedNotification ){
+            SDL.SDLModel.onGetDeviceList( notification.params );
+        }
+    },
+
+    /**
+     * handle RPC requests here
+     */
+    onRPCRequest: function( request ) {
+        Em.Logger.log( "FFW.BasicCommunicationRPC.onRPCRequest" );
+        this._super();
+
+        // nothing to do, it is client
+    },
+
+    /**
+     * Request for list of avaliable applications
+     */
+    getAppList: function() {
+        this.getAppListRequestId = this.client.generateId();
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "id": this.getAppListRequestId,
+            "method": "BasicCommunication.GetAppList",
+            "params": {}
+        };
+        this.client.send( JSONMessage );
+    },
+
+    /**
+     * send notification when version of protocol vas changed
+     *
+     * @params {Number}
+     */
+    OnVersionChanged: function( version ) {
+        Em.Logger.log( "FFW.BasicCommunication.OnVersionChanged" );
+
+        // send repsonse
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "BasicCommunication.OnVersionChanged",
+            "params": {
+                "versionNumber": version
+            }
+        };
+        this.client.send( JSONMessage );
+    },
+
+    /**
+     * Request for list of avaliable devices
+     */
+    getDeviceList: function() {
+        this.getDeviceListRequestId = this.client.generateId();
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "id": this.getDeviceListRequestId,
+            "method": "BasicCommunication.GetDeviceList",
+            "params": {}
+        };
+        this.client.send( JSONMessage );
+    },
+
+    /**
+     * Sending data from HMI for processing in BasicCommunication
+     *
+     * @params {Array}
+     */
+    SendData: function( data ) {
+        Em.Logger.log( "FFW.BasicCommunication.SendData" );
+
+        if( !data ){
+            data =
+                [
+                    "Data for sending from HMI to Mobile application."
+                ];
+        }
+
+        // send request
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "id": this.client.idStart,
+            "method": "BasicCommunication.SendData",
+            "params": {
+                "data": data
+            }
+        };
+
+        if( SDL.SDLModel.sendDataExtend ){
+            JSONMessage.params["url"] = "ftp://ford-applink.luxoft.com";
+            JSONMessage.params["timeout"] = 10000;
+        }
+
+        this.client.send( JSONMessage );
+    },
+
+    /**
+     * Notification when user returned to application
+     *
+     * @params {Number}
+     */
+    ActivateApp: function( appId ) {
+        Em.Logger.log( "FFW.BasicCommunication.ActivateApp" );
+
+        // send request
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "id": this.client.idStart,
+            "method": "BasicCommunication.ActivateApp",
+            "params": {
+                "appName": SDL.SDLController.getApplicationModel( appId ).appName,
+                "appId": appId
+            }
+        };
+        this.client.send( JSONMessage );
+    },
+
+    /**
+     * Sent notification that user was turned off the app and the reason why
+     *
+     * @params {String}
+     * @params {String}
+     * @params {Number}
+     */
+    DeactivateApp: function( appName, reason, appId ) {
+        Em.Logger.log( "FFW.BasicCommunication.OnAppDeactivated" );
+
+        // send request
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "BasicCommunication.OnAppDeactivated",
+            "params": {
+                "appName": appName,
+                "appId": appId,
+                "reason": reason
+            }
+        };
+        this.client.send( JSONMessage );
+    }
+
+} )
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/ButtonsRPC.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/ButtonsRPC.js
new file mode 100644 (file)
index 0000000..da23c82
--- /dev/null
@@ -0,0 +1,313 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
+ * Reference implementation of Buttons component.
+ *
+ * Buttons sends to SDLCore press and hold events of soft buttons, presets and
+ * some hard keys.
+ */
+
+FFW.Buttons = FFW.RPCObserver.create( {
+
+    /*
+     * access to basic RPC functionality
+     */
+    client: FFW.RPCClient.create( {
+        componentName: "Buttons"
+    } ),
+
+    /*
+     * connect to RPC bus
+     */
+    connect: function() {
+        this.client.connect( this, 200 );
+    },
+
+    /*
+     * disconnect from RPC bus
+     */
+    disconnect: function() {
+        this.client.disconnect();
+    },
+
+    /*
+     * Client is registered - we can send request starting from this point of
+     * time
+     */
+    onRPCRegistered: function() {
+        Em.Logger.log( "FFW.Buttons.onRPCRegistered" );
+        this._super();
+    },
+
+    /*
+     * Client is unregistered - no more requests
+     */
+    onRPCUnregistered: function() {
+        Em.Logger.log( "FFW.Buttons.onRPCUnregistered" );
+        this._super();
+    },
+
+    /*
+     * Client disconnected.
+     */
+    onRPCDisconnected: function() {
+
+    },
+
+    /*
+     * when result is received from RPC component this function is called It is
+     * the propriate place to check results of reuqest execution Please use
+     * previously store reuqestID to determine to which request repsonse belongs
+     * to
+     */
+    onRPCResult: function( response ) {
+        Em.Logger.log( "FFW.Buttons.onRPCResult" );
+        this._super();
+    },
+
+    /*
+     * handle RPC erros here
+     */
+    onRPCError: function( error ) {
+        Em.Logger.log( "FFW.Buttons.onRPCError" );
+        this._super();
+    },
+
+    /*
+     * handle RPC notifications here
+     */
+    onRPCNotification: function( notification ) {
+        Em.Logger.log( "FFW.Buttons.onRPCNotification" );
+        this._super();
+    },
+
+    /*
+     * handle RPC requests here
+     */
+    onRPCRequest: function( request ) {
+        Em.Logger.log( "FFW.Buttons.onRPCRequest" );
+        this._super();
+
+        if( request.method == "Buttons.GetCapabilities" ){
+
+            // send repsonse
+            var JSONMessage = {
+                "jsonrpc": "2.0",
+                "id": request.id,
+                "result": {
+                    "capabilities":
+                        [
+                            {
+                                "name": "PRESET_0",
+                                "shortPressAvailable": true,
+                                "longPressAvailable": true,
+                                "upDownAvailable": true
+                            },
+                            {
+                                "name": "PRESET_1",
+                                "shortPressAvailable": true,
+                                "longPressAvailable": true,
+                                "upDownAvailable": true
+                            },
+                            {
+                                "name": "PRESET_2",
+                                "shortPressAvailable": true,
+                                "longPressAvailable": true,
+                                "upDownAvailable": true
+                            },
+                            {
+                                "name": "PRESET_3",
+                                "shortPressAvailable": true,
+                                "longPressAvailable": true,
+                                "upDownAvailable": true
+                            },
+                            {
+                                "name": "PRESET_4",
+                                "shortPressAvailable": true,
+                                "longPressAvailable": true,
+                                "upDownAvailable": true
+                            },
+                            {
+                                "name": "PRESET_5",
+                                "shortPressAvailable": true,
+                                "longPressAvailable": true,
+                                "upDownAvailable": true
+                            },
+                            {
+                                "name": "PRESET_6",
+                                "shortPressAvailable": true,
+                                "longPressAvailable": true,
+                                "upDownAvailable": true
+                            },
+                            {
+                                "name": "PRESET_7",
+                                "shortPressAvailable": true,
+                                "longPressAvailable": true,
+                                "upDownAvailable": true
+                            },
+                            {
+                                "name": "PRESET_8",
+                                "shortPressAvailable": true,
+                                "longPressAvailable": true,
+                                "upDownAvailable": true
+                            },
+                            {
+                                "name": "PRESET_9",
+                                "shortPressAvailable": true,
+                                "longPressAvailable": true,
+                                "upDownAvailable": true
+                            },
+                            {
+                                "name": "OK",
+                                "shortPressAvailable": true,
+                                "longPressAvailable": true,
+                                "upDownAvailable": true
+                            },
+                            {
+                                "name": "SEEKLEFT",
+                                "shortPressAvailable": true,
+                                "longPressAvailable": true,
+                                "upDownAvailable": true
+                            },
+                            {
+                                "name": "SEEKRIGHT",
+                                "shortPressAvailable": true,
+                                "longPressAvailable": true,
+                                "upDownAvailable": true
+                            },
+                            {
+                                "name": "TUNEUP",
+                                "shortPressAvailable": true,
+                                "longPressAvailable": true,
+                                "upDownAvailable": true
+                            },
+                            {
+                                "name": "TUNEDOWN",
+                                "shortPressAvailable": true,
+                                "longPressAvailable": true,
+                                "upDownAvailable": true
+                            }
+                        ],
+                    "presetBankCapabilities": {
+                        "onScreenPresetsAvailable": true
+                    },
+                    "method": "Buttons.GetCapabilitiesResponse",
+                    "resultCode": "SUCCESS" // type (enum) from SDL protocol
+                }
+            };
+            this.client.send( JSONMessage );
+        }
+    },
+
+    /*
+     * Notifies the ButtonsRPC that the web is all set. Should be called twice:
+     * when the RPC link is up or failed to connect and all the views are
+     * rendered.
+     */
+    buttonPressed: function( id, type ) {
+
+        Em.Logger.log( "FFW.Buttons.buttonPressed " + type );
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "Buttons.OnButtonPress",
+            "params": {
+                "name": id,
+                "mode": type
+            }
+        };
+
+        this.client.send( JSONMessage );
+    },
+
+    /*
+     * Notifies the ButtonsRPC that the web is all set. Should be called twice:
+     * when the RPC link is up or failed to connect and all the views are
+     * rendered.
+     */
+    buttonEvent: function( id, type ) {
+
+        Em.Logger.log( "FFW.Buttons.buttonEvent " + type );
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "Buttons.OnButtonEvent",
+            "params": {
+                "name": id,
+                "mode": type
+            }
+        };
+
+        this.client.send( JSONMessage );
+
+    },
+
+    /*
+     * Notifies the ButtonsRPC that the web is all set. Should be called twice:
+     * when the RPC link is up or failed to connect and all the views are
+     * rendered.
+     */
+    buttonPressedCustom: function( name, type, softButtonID ) {
+
+        // Em.Logger.log("FFW.Buttons.buttonPressedCustom " + type);
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "Buttons.OnButtonPress",
+            "params": {
+                "name": name,
+                "mode": type,
+                "customButtonID": softButtonID
+            }
+        };
+
+        this.client.send( JSONMessage );
+    },
+
+    /*
+     * Notifies the ButtonsRPC that the web is all set. Should be called twice:
+     * when the RPC link is up or failed to connect and all the views are
+     * rendered.
+     */
+    buttonEventCustom: function( name, type, softButtonID ) {
+
+        // Em.Logger.log("FFW.Buttons.buttonEventCustom " + type);
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "Buttons.OnButtonEvent",
+            "params": {
+                "name": name,
+                "mode": type,
+                "customButtonID": softButtonID
+            }
+        };
+
+        this.client.send( JSONMessage );
+
+    }
+} )
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/Framework.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/Framework.js
new file mode 100644 (file)
index 0000000..8c647f7
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name FFW
+ * @desc Setup framework namespace and settings
+ * @category Framework
+ * @filesource app/Framework.js
+ * @version 1.0
+ */
+
+FFW = Em.Object.create( {
+
+    init: function() {
+        Em.Logger.log( 'FFW: Framework init' );
+    }
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/RPCClient.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/RPCClient.js
new file mode 100644 (file)
index 0000000..1733edc
--- /dev/null
@@ -0,0 +1,261 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
+ * Base class for RPC client
+ *
+ * Class provides access to basic functionality of RPC components Message Broker
+ * as: registerComponent unregisterComponent subscription to notifications logic
+ * to calculate request id
+ */
+
+FFW.RPCClient = Em.Object.extend( {
+
+    /*
+     * transport layer for messages exchange
+     */
+    socket: null, // instance of websocket
+
+    /*
+     * url for message broker
+     */
+    url: "ws://localhost:8087",
+
+    /*
+     * Component name in RPC system It is unique.
+     */
+    componentName: null,
+
+    /*
+     * observer of RPC states
+     */
+    observer: null,
+
+    /*
+     * these variables are used to have unique request ids for different
+     * components in RPC bus idStart is received as a response for
+     * registerRPCComponent messages. space for ids for specific RPC component
+     * is allocated by message broker
+     */
+    idStart: -1,
+    idRange: 1000,
+    requestId: -1,
+
+    registerRequestId: -1,
+    unregisterRequestId: -1,
+
+    /*
+     * Open WebSocket and initialize handlers
+     */
+    connect: function( observer, startId ) {
+        this.observer = observer;
+        this.idStart = startId;
+
+        this.socket = new WebSocket( this.url, 'sample' );
+
+        var self = this;
+
+        this.socket.onopen = function( evt ) {
+            self.onWSOpen( evt )
+        };
+        this.socket.onclose = function( evt ) {
+            self.onWSClose( evt )
+        };
+        this.socket.onmessage = function( evt ) {
+            self.onWSMessage( evt )
+        };
+        this.socket.onerror = function( evt ) {
+            self.onWSError( evt )
+        };
+
+    },
+
+    /*
+     * Close WebSocket connection Please make sure that component was
+     * unregistered in advance
+     */
+    disconnect: function() {
+        this.unregisterRPCComponent();
+    },
+
+    /*
+     * WebSocket connection is ready Now RPC component can be registered in
+     * message broker
+     */
+    onWSOpen: function( evt ) {
+        Em.Logger.log( "RPCCLient.onWSOpen" );
+
+        this.registerRPCComponent();
+    },
+
+    /*
+     * when result is received from RPC component this function is called It is
+     * the propriate place to check results of reuqest execution Please use
+     * previously store reuqestID to determine to which request repsonse belongs
+     * to
+     */
+    onWSMessage: function( evt ) {
+        Em.Logger.log( "Message received: " + evt.data );
+
+        var jsonObj = JSON.parse( evt.data );
+
+        // handle component registration
+        if( jsonObj.id == this.registerRequestId ){
+            if( jsonObj.error == null ){
+                this.requestId = this.idStart = jsonObj.result;
+                this.observer.onRPCRegistered();
+            }
+            // handle component unregistration
+        }else if( jsonObj.id == this.unregisterRequestId ){
+            if( jsonObj.error == null ){
+                this.socket.close();
+                this.observer.onRPCUnregistered();
+            }
+            // handle result, error, notification, requests
+        }else{
+            if( jsonObj.id == null ){
+                this.observer.onRPCNotification( jsonObj );
+            }else{
+                if( jsonObj.result != null )
+                    this.observer.onRPCResult( jsonObj );
+                else if( jsonObj.error != null )
+                    this.observer.onRPCError( jsonObj );
+                else
+                    this.observer.onRPCRequest( jsonObj );
+            }
+        }
+    },
+
+    /*
+     * WebSocket connection is closed Please make sure that RPCComponent was
+     * dunregistered in advance
+     */
+    onWSClose: function( evt ) {
+        Em.Logger.log( "RPCClient: Connection is closed" );
+        this.observer.onRPCDisconnected();
+    },
+
+    /*
+     * WebSocket connection errors handling
+     */
+    onWSError: function( evt ) {
+        // Em.Logger.log("ERROR: " + evt.data);
+        Em.Logger.log( "ERROR: " );
+    },
+
+    /*
+     * register component is RPC bus
+     */
+    registerRPCComponent: function() {
+        this.registerRequestId = this.idStart;
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "id": this.registerRequestId,
+            "method": "MB.registerComponent",
+            "params": {
+                "componentName": this.componentName
+            }
+        };
+        this.send( JSONMessage );
+    },
+
+    /*
+     * unregister component is RPC bus
+     */
+    unregisterRPCComponent: function() {
+        this.unregisterRequestId = this.generateId();
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "id": this.unregisterRequestId,
+            "method": "MB.unregisterComponent",
+            "params": {
+                "componentName": this.componentName
+            }
+        };
+        this.send( JSONMessage );
+    },
+
+    /*
+     * Subscribes to notification. Returns the request's id.
+     */
+    subscribeToNotification: function( notification ) {
+        var msgId = this.generateId();
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "id": msgId,
+            "method": "MB.subscribeTo",
+            "params": {
+                "propertyName": notification
+            }
+        };
+        this.send( JSONMessage );
+        return msgId;
+    },
+
+    /*
+     * Unsubscribes from notification. Returns the request's id.
+     */
+    unsubscribeFromNotification: function( notification ) {
+        var msgId = this.client.generateId();
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "id": msgId,
+            "method": "MB.unsubscribeFrom",
+            "params": {
+                "propertyName": notification
+            }
+        };
+        this.send( JSONMessage );
+        return msgId;
+    },
+
+    /*
+     * stringify object and send via socket connection
+     */
+    send: function( obj ) {
+        if( this.socket.readyState == this.socket.OPEN ){
+            var strJson = JSON.stringify( obj );
+            Em.Logger.log( strJson );
+            this.socket.send( strJson );
+        }else{
+            Em.Logger.error( "RPCClient: Can't send message since socket is not ready" );
+        }
+    },
+
+    /*
+     * Generate id for new request to RPC component Function has to be used as
+     * private
+     */
+    generateId: function() {
+        this.requestId++;
+        if( this.requestId >= this.idStart + this.idRange )
+            this.requestId = this.idStart;
+        return this.requestId;
+    }
+
+} )
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/RPCObserver.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/RPCObserver.js
new file mode 100644 (file)
index 0000000..f7e627d
--- /dev/null
@@ -0,0 +1,76 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @desc Observer of RPCClient
+ *
+ */
+
+FFW.RPCObserver = Em.Object.extend( {
+
+    onRPCRegistered: function() {
+        // request necessary parameters from Backend
+        Em.Logger.log( "FFW.RPCObserver.Registered" );
+    },
+
+    onRPCUnregistred: function() {
+        Em.Logger.log( "FFW.RPCObserver.onUnregistered" );
+    },
+
+    onRPCDisconnected: function() {
+        Em.Logger.log( "FFW.RPCObserver.onRPCDisconnected" );
+    },
+
+    /*
+     * when result is received from RPC component this function is called It is
+     * the propriate place to check results of reuqest execution Please use
+     * previously store reuqestID to determine to which request repsonse belongs
+     * to
+     */
+    onRPCResult: function( result ) {
+
+        // parse JSON string and set necessary properties
+    },
+
+    /*
+     */
+    onRPCError: function( error ) {
+
+        // parse JSON string and set necessary properties
+    },
+
+    /*
+     */
+    onRPCNotification: function( notification ) {
+
+        // parse JSON string and set necessary properties
+    },
+
+    onRPCRequest: function( request ) {
+
+        // parse JSON string and send back necessary data
+    }
+} )
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/TTSRPC.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/TTSRPC.js
new file mode 100644 (file)
index 0000000..8c156d5
--- /dev/null
@@ -0,0 +1,228 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
+ * Reference implementation of TTS component.
+ *
+ * TTS is responsible for playing sound data sent from SDLCore to notify user
+ * about some events happened.
+ */
+
+FFW.TTS = FFW.RPCObserver.create( {
+
+    /*
+     * access to basic RPC functionality
+     */
+    client: FFW.RPCClient.create( {
+        componentName: "TTS"
+    } ),
+
+    /*
+     * connect to RPC bus
+     */
+    connect: function() {
+        this.client.connect( this, 300 );
+    },
+
+    /*
+     * disconnect from RPC bus
+     */
+    disconnect: function() {
+        this.client.disconnect();
+    },
+
+    /*
+     * Client is registered - we can send request starting from this point of
+     * time
+     */
+    onRPCRegistered: function() {
+        Em.Logger.log( "FFW.TTS.onRPCRegistered" );
+        this._super();
+    },
+
+    /*
+     * Client is unregistered - no more requests
+     */
+    onRPCUnregistered: function() {
+        Em.Logger.log( "FFW.TTS.onRPCUnregistered" );
+        this._super();
+    },
+
+    /*
+     * Client disconnected.
+     */
+    onRPCDisconnected: function() {
+
+    },
+
+    /*
+     * when result is received from RPC component this function is called It is
+     * the propriate place to check results of reuqest execution Please use
+     * previously store reuqestID to determine to which request repsonse belongs
+     * to
+     */
+    onRPCResult: function( response ) {
+        Em.Logger.log( "FFW.TTS.onRPCResult" );
+        this._super();
+    },
+
+    /*
+     * handle RPC erros here
+     */
+    onRPCError: function( error ) {
+        Em.Logger.log( "FFW.TTS.onRPCError" );
+        this._super();
+    },
+
+    /*
+     * handle RPC notifications here
+     */
+    onRPCNotification: function( notification ) {
+        Em.Logger.log( "FFW.TTS.onRPCNotification" );
+        this._super();
+    },
+
+    /*
+     * handle RPC requests here
+     */
+    onRPCRequest: function( request ) {
+        Em.Logger.log( "FFW.TTS.onRPCRequest" );
+        this._super();
+
+        switch( request.method ){
+            case "TTS.Speak": {
+                SDL.SDLModel.onPrompt( request.params.ttsChunks.splice( 0, 1 ) );
+
+                // send repsonse
+                var JSONMessage = {
+                    "jsonrpc": "2.0",
+                    "id": request.id,
+                    "result": {
+                        "resultCode": "SUCCESS", // type (enum) from SDL
+                        // protocol
+                        "method": "TTS.SpeakResponse"
+                    }
+                };
+                this.client.send( JSONMessage );
+
+                break;
+            }
+            case "TTS.GetCapabilities": {
+
+                // send repsonse
+                var JSONMessage = {
+                    "jsonrpc": "2.0",
+                    "id": request.id,
+                    "result": {
+                        "capabilities":
+                            [
+                                "TEXT"
+                            ],
+
+                        "resultCode": "SUCCESS", // type (enum) from SDL
+                        // protocol
+                        "method": "TTS.GetCapabilitiesResponse"
+                    }
+                };
+                this.client.send( JSONMessage );
+
+                break;
+            }
+            case "TTS.GetSupportedLanguages": {
+
+                var JSONMessage = {
+                    "jsonrpc": "2.0",
+                    "id": request.id,
+                    "result": {
+                        "resultCode": "SUCCESS", // type (enum) from SDL
+                        // protocol
+                        "method": "TTS.GetSupportedLanguagesResponse",
+                        "languages": SDL.SDLModel.sdlLanguagesList
+                    }
+                };
+                this.client.send( JSONMessage );
+
+                break;
+            }
+            case "TTS.GetLanguage": {
+
+                var JSONMessage = {
+                    "jsonrpc": "2.0",
+                    "id": request.id,
+                    "result": {
+                        "resultCode": "SUCCESS", // type (enum) from SDL
+                        // protocol
+                        "method": "TTS.GetLanguageResponse",
+                        "language": SDL.SDLModel.hmiTTSVRLanguage
+                    }
+                };
+                this.client.send( JSONMessage );
+
+                break;
+            }
+            case "TTS.ChangeRegistration": {
+
+                SDL.SDLModel.changeRegistrationTTSVR( request.params.language );
+
+                // send repsonse
+                var JSONMessage = {
+                    "jsonrpc": "2.0",
+                    "id": request.id,
+                    "result": {
+                        "resultCode": "SUCCESS", // type (enum) from SDL
+                        // protocol
+                        "method": "TTS.ChangeRegistrationResponse"
+                    }
+                };
+                this.client.send( JSONMessage );
+
+                break;
+            }
+
+            default: {
+                // statements_def
+                break;
+            }
+        }
+    },
+
+    /*
+     * Notifies if sdl TTS components language was changed
+     */
+    OnLanguageChange: function( lang ) {
+        Em.Logger.log( "FFW.TTS.OnLanguageChange" );
+
+        // send repsonse
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "TTS.OnLanguageChange",
+            "params": {
+                "language": lang
+            }
+        };
+        this.client.send( JSONMessage );
+    }
+} )
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/UIRPC.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/UIRPC.js
new file mode 100644 (file)
index 0000000..fe69f41
--- /dev/null
@@ -0,0 +1,662 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
+ * Reference implementation of UI component.
+ *
+ * Interface to get or set some essential information sent from SDLCore. UI is
+ * responsible for the functionality provided by the application: display
+ * graphics and multimedia components, is responsible for the transfer of
+ * managed manipulations, generated by the user to the server.
+ *
+ */
+
+FFW.UI = FFW.RPCObserver.create( {
+
+    /*
+     * access to basic RPC functionality
+     */
+    client: FFW.RPCClient.create( {
+        componentName: "UI"
+    } ),
+
+    // temp var for debug
+    appId: 1,
+
+    onVRChoiseSubscribeRequestId: -1,
+    onVRChoiseUnsubscribeRequestId: -1,
+
+    // const
+    onVRChoiseNotification: "VR.OnChoise",
+
+    /*
+     * ids for requests AudioPassThru
+     */
+    performAudioPassThruRequestId: -1,
+    endAudioPassThruRequestId: -1,
+
+    /*
+     * connect to RPC bus
+     */
+    connect: function() {
+        this.client.connect( this, 400 );
+    },
+
+    /*
+     * disconnect from RPC bus
+     */
+    disconnect: function() {
+        this.client.disconnect();
+    },
+
+    /*
+     * Client is registered - we can send request starting from this point of
+     * time
+     */
+    onRPCRegistered: function() {
+        Em.Logger.log( "FFW.UI.onRPCRegistered" );
+        this._super();
+
+        // subscribe to notifications
+        this.onVRChoiseSubscribeRequestId = this.client.subscribeToNotification( this.onVRChoiseNotification );
+
+        // notify other components that UI is ready
+        // main purpose is to nitofy SDLCore
+        this.onReady();
+    },
+
+    /*
+     * Client is unregistered - no more requests
+     */
+    onRPCUnregistered: function() {
+        Em.Logger.log( "FFW.UI.onRPCUnregistered" );
+        this._super();
+
+        // unsubscribe from notifications
+        this.onVRChoiseUnsubscribeRequestId = this.client.unsubscribeFromNotification( this.onVRChoiseNotification );
+    },
+
+    /*
+     * Client disconnected.
+     */
+    onRPCDisconnected: function() {
+
+    },
+
+    /*
+     * when result is received from RPC component this function is called It is
+     * the propriate place to check results of request execution Please use
+     * previously store reuqestID to determine to which request repsonse belongs
+     * to
+     */
+    onRPCResult: function( response ) {
+        Em.Logger.log( "FFW.UI.onRPCResult" );
+        this._super();
+    },
+
+    /*
+     * handle RPC erros here
+     */
+    onRPCError: function( error ) {
+        Em.Logger.log( "FFW.UI.onRPCError" );
+        this._super();
+    },
+
+    /*
+     * handle RPC notifications here
+     */
+    onRPCNotification: function( notification ) {
+        Em.Logger.log( "FFW.UI.onRPCNotification" );
+        this._super();
+
+        if( notification.method == this.onVRChoiseNotification ){
+            this.interactionResponse( "SUCCESS", notification.params.choiceId );
+        }
+    },
+
+    /*
+     * handle RPC requests here
+     */
+    onRPCRequest: function( request ) {
+        Em.Logger.log( "FFW.UI.onRPCRequest" );
+        this._super();
+
+        var resultCode = null;
+
+        switch( request.method ){
+            case "UI.Show": {
+
+                // Close TBT
+                SDL.TurnByTurnView.deactivate();
+
+                SDL.SDLController.getApplicationModel( request.params.appId ).onSDLUIShow( request.params );
+
+                this.sendUIResult( "SUCCESS", request.id, request.method );
+
+                break;
+            }
+            case "UI.Alert": {
+
+                SDL.SDLModel.onUIAlert( request.params, request.id );
+
+                break;
+            }
+            case "UI.SetGlobalProperties": {
+
+                SDL.SDLModel.setProperties( request.params );
+
+                this.sendUIResult( "SUCCESS", request.id, request.method );
+
+                break;
+            }
+            case "UI.ResetGlobalProperties": {
+
+                // reset all requested properties
+                SDL.SDLModel.resetProperties( request.params );
+
+                this.sendUIResult( "SUCCESS", request.id, request.method );
+
+                break;
+            }
+            case "UI.AddCommand": {
+
+                SDL.SDLController.getApplicationModel( request.params.appId ).addCommand( request.params );
+
+                this.sendUIResult( "SUCCESS", request.id, request.method );
+
+                break;
+            }
+            case "UI.DeleteCommand": {
+
+                SDL.SDLController.getApplicationModel( request.params.appId ).deleteCommand( request.params.cmdId );
+
+                this.sendUIResult( "SUCCESS", request.id, request.method );
+
+                break;
+            }
+            case "UI.AddSubMenu": {
+
+                SDL.SDLController.getApplicationModel( request.params.appId ).addSubMenu( request.params );
+
+                this.sendUIResult( "SUCCESS", request.id, request.method );
+
+                break;
+            }
+            case "UI.DeleteSubMenu": {
+
+                var resultCode = SDL.SDLController.getApplicationModel( request.params.appId ).deleteSubMenu( request.params.menuId );
+
+                this.sendUIResult( resultCode, request.id, request.method );
+
+                break;
+            }
+            case "UI.CreateInteractionChoiceSet": {
+
+                SDL.SDLController.getApplicationModel( request.params.appId ).onCreateInteraction( request.params );
+
+                this.sendUIResult( "SUCCESS", request.id, request.method );
+
+                break;
+            }
+            case "UI.DeleteInteractionChoiceSet": {
+
+                SDL.SDLController.getApplicationModel( request.params.appId ).onDeleteInteraction( request.params );
+
+                this.sendUIResult( "SUCCESS", request.id, request.method );
+
+                break;
+            }
+            case "UI.PerformInteraction": {
+
+                SDL.SDLModel.uiPerformInteraction( request.params, request.id );
+
+                break;
+            }
+            case "UI.SetMediaClockTimer": {
+
+                var resultCode = SDL.SDLController.getApplicationModel( request.params.appId ).sdlSetMediaClockTimer( request.params );
+
+                this.sendUIResult( resultCode, request.id, request.method );
+
+                break;
+            }
+            case "UI.OnAppActivated": {
+
+                break;
+            }
+            case "UI.Slider": {
+
+                SDL.SDLModel.uiSlider( request );
+
+                break;
+            }
+            case "UI.ScrollableMessage": {
+
+                SDL.SDLModel.onSDLScrolableMessage( request.params, request.id );
+
+                break;
+            }
+            case "UI.ChangeRegistration": {
+
+                SDL.SDLModel.changeRegistrationUI( request.params.hmiDisplayLanguage );
+
+                this.sendUIResult( "SUCCESS", request.id, request.method );
+
+                break;
+            }
+            case "UI.SetAppIcon": {
+
+                SDL.SDLModel.onSDLSetAppIcon( request.params, request.id, request.method );
+
+                break;
+            }
+            case "UI.PerformAudioPassThru": {
+
+                this.performAudioPassThruRequestId = request.id;
+
+                SDL.SDLModel.UIPerformAudioPassThru( request.params );
+
+                break;
+            }
+            case "UI.EndAudioPassThru": {
+
+                this.endAudioPassThruRequestId = request.id;
+
+                SDL.SDLModel.UIEndAudioPassThru();
+
+                break;
+            }
+            case "UI.GetSupportedLanguages": {
+
+                var JSONMessage = {
+                    "jsonrpc": "2.0",
+                    "id": request.id,
+                    "result": {
+                        "resultCode": "SUCCESS", // type (enum) from SDL
+                                                    // protocol
+                        "method": "UI.GetSupportedLanguagesResponse",
+                        "languages": SDL.SDLModel.sdlLanguagesList
+                    }
+                };
+                this.client.send( JSONMessage );
+
+                break;
+            }
+            case "UI.GetLanguage": {
+
+                var JSONMessage = {
+                    "jsonrpc": "2.0",
+                    "id": request.id,
+                    "result": {
+                        "resultCode": "SUCCESS", // type (enum) from SDL
+                                                    // protocol
+                        "method": "UI.GetLanguageResponse",
+                        "hmiDisplayLanguage": SDL.SDLModel.hmiUILanguage
+                    }
+                };
+                this.client.send( JSONMessage );
+
+                break;
+            }
+            case "UI.ShowConstantTBT": {
+
+                SDL.SDLModel.tbtActivate( request.params );
+
+                this.sendUIResult( "SUCCESS", request.id, request.method );
+
+                break;
+            }
+            case "UI.UpdateTurnList": {
+
+                SDL.SDLModel.tbtTurnListUpdate( request.params );
+
+                this.sendUIResult( "SUCCESS", request.id, request.method );
+
+                break;
+            }
+            case "UI.AlertManeuver": {
+
+                SDL.SDLModel.onUIAlertManeuver( request.params );
+
+                this.sendUIResult( "SUCCESS", request.id, request.method );
+
+                break;
+            }
+            case "UI.DialNumber": {
+
+                SDL.SDLModel.dialNumber( request.params );
+
+                this.sendUIResult( "SUCCESS", request.id, request.method );
+
+                break;
+            }
+            case "UI.GetCapabilities": {
+                // send repsonse
+                var JSONMessage = {
+                    "jsonrpc": "2.0",
+                    "id": request.id,
+                    "result": {
+                        "displayCapabilities": {
+                            "displayType": "GEN2_8_DMA",
+                            "textFields":
+                                [
+                                    {
+                                        "name": "mainField1",
+                                        "characterSet": "TYPE2SET",
+                                        "width": 1,
+                                        "rows": 1
+                                    },
+                                    {
+                                        "name": "mainField2",
+                                        "characterSet": "TYPE2SET",
+                                        "width": 1,
+                                        "rows": 1
+                                    },
+                                    {
+                                        "name": "statusBar",
+                                        "characterSet": "TYPE2SET",
+                                        "width": 1,
+                                        "rows": 1
+                                    },
+                                    {
+                                        "name": "mediaClock",
+                                        "characterSet": "TYPE2SET",
+                                        "width": 1,
+                                        "rows": 1
+                                    },
+                                    {
+                                        "name": "mediaTrack",
+                                        "characterSet": "TYPE2SET",
+                                        "width": 1,
+                                        "rows": 1
+                                    },
+                                    {
+                                        "name": "alertText1",
+                                        "characterSet": "TYPE2SET",
+                                        "width": 1,
+                                        "rows": 1
+                                    },
+                                    {
+                                        "name": "alertText2",
+                                        "characterSet": "TYPE2SET",
+                                        "width": 1,
+                                        "rows": 1
+                                    }
+                                ],
+                            "mediaClockFormats":
+                                [
+                                    "CLOCK1",
+                                    "CLOCK2",
+                                    "CLOCKTEXT1",
+                                    "CLOCKTEXT2",
+                                    "CLOCKTEXT3"
+                                ]
+                        },
+                        "hmiZoneCapabilities":
+                            [
+                                "FRONT",
+                                "BACK"
+                            ],
+                        "softButtonCapabilities":
+                            [
+                                {
+                                    "shortPressAvailable": true,
+                                    "longPressAvailable": true,
+                                    "upDownAvailable": true,
+                                    "imageSupported": true
+                                }
+                            ],
+                        "method": "UI.GetCapabilitiesResponse",
+                        "resultCode": "SUCCESS" // type (enum) from SDL protocol
+                    }
+                };
+
+                this.client.send( JSONMessage );
+
+                break;
+            }
+
+            default: {
+                // statements_def
+                break;
+            }
+        }
+    },
+
+    /*
+     * send response from onRPCRequest
+     */
+    sendUIResult: function( resultCode, id, method ) {
+
+        Em.Logger.log( "FFW.UI." + method + "Response" );
+
+        if( resultCode ){
+
+            // send repsonse
+            var JSONMessage = {
+                "jsonrpc": "2.0",
+                "id": id,
+                "result": {
+                    "resultCode": resultCode, // type (enum) from SDL protocol
+                    "method": method + "Response"
+                }
+            };
+            this.client.send( JSONMessage );
+        }
+    },
+
+    sendSliderResult: function( resultCode, sliderRequestId, sliderPosition ) {
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "id": sliderRequestId,
+            "result": {
+                "resultCode": resultCode, // type (enum) from SDL protocol
+                "method": "UI.SliderResponse"
+            }
+        };
+
+        if( sliderPosition ){
+            JSONMessage.result.sliderPosition = sliderPosition;
+        }
+
+        this.client.send( JSONMessage );
+    },
+
+    /*
+     * send notification when command was triggered
+     */
+    onCommand: function( commandId, appId ) {
+        Em.Logger.log( "FFW.UI.onCommand" );
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "UI.OnCommand",
+            "params": {
+                "commandId": commandId,
+                "appId": appId
+            }
+        };
+        this.client.send( JSONMessage );
+    },
+
+    /*
+     * send notification when command was triggered
+     */
+    onCommandSoftButton: function( softButtonID, appId ) {
+        Em.Logger.log( "FFW.UI.onCommand" );
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "UI.OnCommand",
+            "params": {
+                "commandId": softButtonID,
+                "appId": appId
+            }
+        };
+        this.client.send( JSONMessage );
+    },
+
+    /*
+     * send notification when command was triggered
+     */
+    interactionResponse: function( resultCode, performInteractionRequestId, commandId ) {
+        Em.Logger.log( "FFW.UI.PerformInteractionResponse" );
+
+        // send repsonse
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "id": performInteractionRequestId,
+            "result": {
+                "resultCode": resultCode,
+                "method": "UI.PerformInteractionResponse"
+            }
+        };
+
+        if( commandId ){
+            JSONMessage.result.choiceID = commandId;
+        }
+
+        this.client.send( JSONMessage );
+    },
+
+    /*
+     * notification that UI is ready BasicCommunication should be sunscribed to
+     * this notification
+     */
+    onReady: function() {
+        Em.Logger.log( "FFW.UI.onReady" );
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "UI.OnReady"
+        };
+        this.client.send( JSONMessage );
+    },
+
+    /*
+     * send notification when DriverDistraction PopUp is visible
+     */
+    onDriverDistraction: function( driverDistractionState ) {
+        Em.Logger.log( "FFW.UI.DriverDistraction" );
+
+        // send repsonse
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "UI.OnDriverDistraction",
+            "params": {
+                "state": driverDistractionState,
+                "appId": 0
+            }
+        };
+        this.client.send( JSONMessage );
+    },
+
+    /*
+     * Notifies if system context is changed
+     */
+    OnSystemContext: function( systemContextValue ) {
+        Em.Logger.log( "FFW.UI.OnSystemContext" );
+
+        // send repsonse
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "UI.OnSystemContext",
+            "params": {
+                "systemContext": systemContextValue
+            }
+        };
+        this.client.send( JSONMessage );
+    },
+
+    /*
+     * Notifies if application was activated
+     */
+    OnAppActivated: function( appName ) {
+        Em.Logger.log( "FFW.UI.OnAppActivated" );
+
+        // send repsonse
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "UI.OnAppActivated",
+            "params": {
+                "appName": appName
+            }
+        };
+        this.client.send( JSONMessage );
+    },
+
+    /*
+     * Notifies if device was choosed
+     */
+    OnDeviceChosen: function( deviceName ) {
+        Em.Logger.log( "FFW.UI.OnDeviceChosen" );
+
+        // send repsonse
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "UI.OnDeviceChosen",
+            "params": {
+                "deviceName": deviceName
+            }
+        };
+        this.client.send( JSONMessage );
+    },
+
+    /*
+     * Notifies if sdl UI components language was changed
+     */
+    OnLanguageChange: function( lang ) {
+        Em.Logger.log( "FFW.UI.OnLanguageChange" );
+
+        // send repsonse
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "UI.OnLanguageChange",
+            "params": {
+                "hmiDisplayLanguage": lang
+            }
+        };
+        this.client.send( JSONMessage );
+    },
+
+    /*
+     * Notifies if TBTClientState was activated
+     */
+    onTBTClientState: function( state, appId ) {
+        Em.Logger.log( "FFW.UI.OnTBTClientState" );
+
+        // send repsonse
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "UI.OnTBTClientState",
+            "params": {
+                "state": state,
+                "appId": appId
+            }
+        };
+        this.client.send( JSONMessage );
+    }
+} )
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/VRRPC.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/VRRPC.js
new file mode 100644 (file)
index 0000000..3467508
--- /dev/null
@@ -0,0 +1,300 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
+ * Reference implementation of VR component.
+ *
+ * Interface to get or set some essential information sent from SDLCore. VR is
+ * responsible for receiving voice commands choosed by user and sending
+ * notification of chosen commands to SDLCore.
+ *
+ */
+
+FFW.VR = FFW.RPCObserver.create( {
+
+    /*
+     * access to basic RPC functionality
+     */
+    client: FFW.RPCClient.create( {
+        componentName: "VR"
+    } ),
+
+    /*
+     * connect to RPC bus
+     */
+    connect: function() {
+        this.client.connect( this, 500 );
+    },
+
+    /*
+     * disconnect from RPC bus
+     */
+    disconnect: function() {
+        this.client.disconnect();
+    },
+
+    /*
+     * Client is registered - we can send request starting from this point of
+     * time
+     */
+    onRPCRegistered: function() {
+        Em.Logger.log( "FFW.VR.onRPCRegistered" );
+        this._super();
+    },
+
+    /*
+     * Client is unregistered - no more requests
+     */
+    onRPCUnregistered: function() {
+        Em.Logger.log( "FFW.VR.onRPCUnregistered" );
+        this._super();
+    },
+
+    /*
+     * Client disconnected.
+     */
+    onRPCDisconnected: function() {
+
+    },
+
+    /*
+     * when result is received from RPC component this function is called It is
+     * the propriate place to check results of reuqest execution Please use
+     * previously store reuqestID to determine to which request repsonse belongs
+     * to
+     */
+    onRPCResult: function( response ) {
+        Em.Logger.log( "FFW.VR.onRPCResult" );
+        this._super();
+    },
+
+    /*
+     * handle RPC erros here
+     */
+    onRPCError: function( error ) {
+        Em.Logger.log( "FFW.VR.onRPCError" );
+        this._super();
+    },
+
+    /*
+     * handle RPC notifications here
+     */
+    onRPCNotification: function( notification ) {
+        Em.Logger.log( "FFW.VR.onRPCNotification" );
+        this._super();
+    },
+
+    /*
+     * send notification when command was triggered
+     */
+    onCommand: function( element ) {
+        Em.Logger.log( "FFW.VR.onCommand" );
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "VR.OnCommand",
+            "params": {
+                "commandId": element.commandId
+            }
+        };
+        this.client.send( JSONMessage );
+
+        SDL.VRPopUp.set( 'VRActive', false );
+    },
+
+    /*
+     * handle RPC requests here
+     */
+    onRPCRequest: function( request ) {
+        Em.Logger.log( "FFW.VR.onRPCRequest" );
+        this._super();
+
+        switch( request.method ){
+            case "VR.AddCommand": {
+
+                SDL.SDLModel.addCommandVR( request.params );
+
+                // send repsonse
+                var JSONMessage = {
+                    "jsonrpc": "2.0",
+                    "id": request.id,
+                    "result": {
+                        "resultCode": "SUCCESS", // type (enum) from SDL
+                                                    // protocol
+                        "method": request.method + "Response"
+                    }
+                };
+                this.client.send( JSONMessage );
+
+                break;
+            }
+            case "VR.DeleteCommand": {
+
+                SDL.SDLModel.deleteCommandVR( request.params.cmdId );
+
+                // send repsonse
+                var JSONMessage = {
+                    "jsonrpc": "2.0",
+                    "id": request.id,
+                    "result": {
+                        "resultCode": "SUCCESS", // type (enum) from SDL
+                                                    // protocol
+                        "method": request.method + "Response"
+                    }
+                };
+                this.client.send( JSONMessage );
+
+                break;
+            }
+            case "VR.GetSupportedLanguages": {
+
+                var JSONMessage = {
+                    "jsonrpc": "2.0",
+                    "id": request.id,
+                    "result": {
+                        "resultCode": "SUCCESS", // type (enum) from SDL
+                                                    // protocol
+                        "method": "VR.GetSupportedLanguagesResponse",
+                        "languages": SDL.SDLModel.sdlLanguagesList
+                    }
+                };
+                this.client.send( JSONMessage );
+
+                break;
+            }
+            case "VR.GetLanguage": {
+
+                var JSONMessage = {
+                    "jsonrpc": "2.0",
+                    "id": request.id,
+                    "result": {
+                        "resultCode": "SUCCESS", // type (enum) from SDL
+                                                    // protocol
+                        "method": "VR.GetLanguageResponse",
+                        "language": SDL.SDLModel.hmiTTSVRLanguage
+                    }
+                };
+                this.client.send( JSONMessage );
+
+                break;
+            }
+            case "VR.GetCapabilities": {
+
+                // send repsonse
+                var JSONMessage = {
+                    "jsonrpc": "2.0",
+                    "id": request.id,
+                    "result": {
+                        "capabilities":
+                            [
+                                "TEXT"
+                            ],
+                        "method": "VR.GetCapabilitiesResponse",
+                        "resultCode": "SUCCESS" // type (enum) from SDL protocol
+                    }
+                };
+                this.client.send( JSONMessage );
+
+                break;
+            }
+            case "VR.ChangeRegistration": {
+
+                SDL.SDLModel.changeRegistrationTTSVR( request.params.language );
+
+                // send repsonse
+                var JSONMessage = {
+                    "jsonrpc": "2.0",
+                    "id": request.id,
+                    "result": {
+                        "resultCode": "SUCCESS", // type (enum) from SDL
+                                                    // protocol
+                        "method": request.method + "Response"
+                    }
+                };
+                this.client.send( JSONMessage );
+
+                break;
+            }
+
+            default: {
+                // statements_def
+                break;
+            }
+        }
+
+    },
+
+    /*
+     * send notification when command was triggered from VR
+     */
+    onChoise: function( commandId ) {
+        Em.Logger.log( "FFW.VR.PerformInteractionResponse" );
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "VR.OnChoise",
+            "params": {
+                "choiceID": commandId
+            }
+        };
+
+        this.client.send( JSONMessage );
+    },
+
+    /*
+     * send notification when command was triggered
+     */
+    onCommand: function( commandId, appId ) {
+        Em.Logger.log( "FFW.VR.onCommand" );
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "VR.OnCommand",
+            "params": {
+                "cmdID": commandId,
+                "appId": appId
+            }
+        };
+        this.client.send( JSONMessage );
+    },
+
+    /*
+     * Notifies if sdl VR components language was changed
+     */
+    OnLanguageChange: function( lang ) {
+        Em.Logger.log( "FFW.VR.OnLanguageChange" );
+
+        // send repsonse
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "VR.OnLanguageChange",
+            "params": {
+                "language": lang
+            }
+        };
+        this.client.send( JSONMessage );
+    }
+} )
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/VehicleInfoRPC.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/VehicleInfoRPC.js
new file mode 100644 (file)
index 0000000..4a83275
--- /dev/null
@@ -0,0 +1,279 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
+ * Reference implementation of VehicleInfo component.
+ *
+ * Interface to get or set some essential information sent from SDLCore.
+ * VehicleInfo is responsible for sending a data about the condition of the
+ * vehicle between SDLCore and CAN network. Instead CAN network used
+ * VehicleInfoModel.
+ *
+ */
+
+FFW.VehicleInfo = FFW.RPCObserver.create( {
+
+    /**
+     * access to basic RPC functionality
+     */
+    client: FFW.RPCClient.create( {
+        componentName: "VehicleInfo"
+    } ),
+
+    /**
+     * connect to RPC bus
+     */
+    connect: function() {
+        this.client.connect( this, 600 );
+    },
+
+    /**
+     * disconnect from RPC bus
+     */
+    disconnect: function() {
+        this.client.disconnect();
+    },
+
+    /**
+     * Client is registered - we can send request starting from this point of
+     * time
+     */
+    onRPCRegistered: function() {
+        Em.Logger.log( "FFW.VehicleInfo.onRPCRegistered" );
+        this._super();
+    },
+
+    /**
+     * Client is unregistered - no more requests
+     */
+    onRPCUnregistered: function() {
+        Em.Logger.log( "FFW.VehicleInfo.onRPCUnregistered" );
+        this._super();
+    },
+
+    /**
+     * Client disconnected.
+     */
+    onRPCDisconnected: function() {
+
+    },
+
+    /**
+     * when result is received from RPC component this function is called It is
+     * the propriate place to check results of reuqest execution Please use
+     * previously store reuqestID to determine to which request repsonse belongs
+     * to
+     */
+    onRPCResult: function( response ) {
+        Em.Logger.log( "FFW.VehicleInfo.onRPCResult" );
+        this._super();
+    },
+
+    /**
+     * handle RPC erros here
+     */
+    onRPCError: function( error ) {
+        Em.Logger.log( "FFW.VehicleInfo.onRPCError" );
+        this._super();
+    },
+
+    /**
+     * handle RPC notifications here
+     */
+    onRPCNotification: function( notification ) {
+        Em.Logger.log( "FFW.VehicleInfo.onRPCNotification" );
+        this._super();
+    },
+
+    /**
+     * handle RPC requests here
+     *
+     * @type {Object} request
+     */
+    onRPCRequest: function( request ) {
+        Em.Logger.log( "FFW.VehicleInfo.onRPCRequest" );
+        this._super();
+
+        if( request.method == "VehicleInfo.GetVehicleData" ){
+
+            var vehicleData = SDL.SDLVehicleInfoModel.getVehicleData( request.params ), resultCode;
+
+            if( vehicleData ){
+                resultCode = "SUCCESS";
+            }else{
+                resultCode = "GENERIC_ERROR";
+            }
+
+            // send repsonse
+            var JSONMessage = {
+                "jsonrpc": "2.0",
+                "id": request.id,
+                "result": {
+                    "resultCode": resultCode, // type (enum) from SDL protocol
+                    "method": "VehicleInfo.GetVehicleDataResponse"
+                // request.params.dataType: vehicleData
+                }
+            };
+            JSONMessage.result[SDL.SDLVehicleInfoModel.vehicleData[request.params.dataType].type] = vehicleData;
+            this.client.send( JSONMessage );
+        }
+
+        if( request.method == "VehicleInfo.ReadDID" ){
+
+            SDL.SDLVehicleInfoModel.vehicleInfoReadDID( request.params, request.id );
+
+        }
+
+        if( request.method == "VehicleInfo.GetDTCs" ){
+
+            SDL.SDLVehicleInfoModel.vehicleInfoGetDTCs( request.params, request.id );
+
+        }
+
+        if( request.method == "VehicleInfo.GetVehicleType" ){
+
+            SDL.SDLVehicleInfoModel.getVehicleType( request.id );
+
+        }
+    },
+
+    /**
+     * Notifies if data was changed
+     *
+     * @type {Object} params
+     */
+    OnVehicleData: function( params ) {
+        Em.Logger.log( "FFW.VehicleInfo.OnVehicleData" );
+
+        // send repsonse
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "method": "VehicleInfo.OnVehicleData",
+            "params": params
+        };
+        this.client.send( JSONMessage );
+    },
+
+    /**
+     * GetVehicleType Response
+     *
+     * @type {string} vehicleType
+     * @type {int} id
+     */
+    GetVehicleTypeResponse: function( vehicleType, id ) {
+        Em.Logger.log( "FFW.VehicleInfo.GetVehicleType" );
+
+        var JSONMessage = {
+            "jsonrpc": "2.0",
+            "id": id,
+            "result": {
+                "resultCode": "SUCCESS", // type (enum) from SDL protocol
+                "method": "VehicleInfo.GetVehicleTypeResponse",
+                "vehicleType": vehicleType
+            }
+        };
+
+        this.client.send( JSONMessage );
+    },
+
+    /**
+     * ReadDID Response
+     *
+     * @type {array} dataResult
+     * @type {array} data
+     * @type {string} info
+     * @type {string} result
+     * @type {int} id
+     */
+    vehicleInfoReadDIDResponse: function( dataResult, data, info, result, id ) {
+        Em.Logger.log( "FFW.VehicleInfo.ReadDID" );
+
+        var JSONMessage;
+        // send repsonse
+        if( result != 'ENCRYPTED' ){
+            JSONMessage = {
+                "jsonrpc": "2.0",
+                "id": id,
+                "result": {
+                    "resultCode": result, // type (enum) from SDL protocol
+                    "method": "VehicleInfo.ReadDIDResponse",
+                    "info": info,
+                    "dataResult": dataResult,
+                    "data": data
+                }
+            };
+        }else{
+            JSONMessage = {
+                "jsonrpc": "2.0",
+                "id": id,
+                "result": {
+                    "resultCode": result, // type (enum) from SDL protocol
+                    "method": "VehicleInfo.ReadDIDResponse",
+                    "info": info
+                }
+            };
+        }
+        this.client.send( JSONMessage );
+    },
+
+    /**
+     * GetDTCs Response
+     *
+     * @type {array} data
+     * @type {string} info
+     * @type {string} result
+     * @type {int} id
+     */
+    vehicleInfoGetDTCsResponse: function( data, info, result, id ) {
+        Em.Logger.log( "FFW.VehicleInfo.GetDTCs" );
+
+        var JSONMessage;
+        // send repsonse
+        if( result != 'ENCRYPTED' ){
+            JSONMessage = {
+                "jsonrpc": "2.0",
+                "id": id,
+                "result": {
+                    "resultCode": result, // type (enum) from SDL protocol
+                    "method": "VehicleInfo.GetDTCsResponse",
+                    "info": info,
+                    "dtcList": data
+                }
+            };
+        }else{
+            JSONMessage = {
+                "jsonrpc": "2.0",
+                "id": id,
+                "result": {
+                    "resultCode": result, // type (enum) from SDL protocol
+                    "method": "VehicleInfo.GetDTCsResponse",
+                    "info": info
+                }
+            };
+        }
+        this.client.send( JSONMessage );
+    }
+} )
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/WebSocket.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/ffw/WebSocket.js
new file mode 100644 (file)
index 0000000..5d47753
--- /dev/null
@@ -0,0 +1,75 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/*
+ * WebSocket interface mockup
+ *
+ * Android WebView and browser don't support WebSocket This class provides
+ * interface mockup to have seamless code for different platforms
+ * JavaScriptFacade is used instead of real WebSocket connection
+ *
+ */
+
+FFW.WebSocket = Em.Object.extend( {
+
+    readyState: 1,
+
+    /*
+     * add observer of messages from Android
+     */
+    init: function() {
+        FFW.WebSocketSimulator.addClient( this );
+    },
+
+    /*
+     * remove observer of Android messages on connection close
+     */
+    close: function() {
+        FFW.WebSocketSimulator.removeClient( this );
+        // simulate connection is closed
+        this.onclose( null );
+    },
+
+    /*
+     * send message to Android native code Java Script facade is used instead of
+     * real WebSocket connection
+     */
+    send: function( jsonMessage ) {
+        FFW.WebSocketSimulator.send( this.clientName, jsonMessage );
+    },
+
+    // handlers for web socket events
+    onclose: null,
+    onerror: null,
+    onmessage: null,
+    onopen: null,
+
+    /*
+     * used for identification of sender and receiver of particular message
+     * from/to Android
+     */
+    clientName: ''
+} );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/airflow_feet_wide.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/airflow_feet_wide.png
new file mode 100644 (file)
index 0000000..ac2c1e2
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/airflow_feet_wide.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/airflow_panel_wide.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/airflow_panel_wide.png
new file mode 100644 (file)
index 0000000..aa087fc
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/airflow_panel_wide.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/bg.png
new file mode 100644 (file)
index 0000000..f4b6f1a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_ico.png
new file mode 100644 (file)
index 0000000..6165115
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_ind_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_ind_active.png
new file mode 100644 (file)
index 0000000..67943ec
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_ind_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_ind_def.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_ind_def.png
new file mode 100644 (file)
index 0000000..e1b97cc
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_ind_def.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_minus_control.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_minus_control.png
new file mode 100644 (file)
index 0000000..65a142f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_minus_control.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_plus_comtrol.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_plus_comtrol.png
new file mode 100644 (file)
index 0000000..b4be9cd
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/fan_control/fan_plus_comtrol.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/ac_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/ac_ico.png
new file mode 100644 (file)
index 0000000..2722b9a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/ac_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/auto_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/auto_ico.png
new file mode 100644 (file)
index 0000000..2ecc70d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/auto_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/defrost_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/defrost_ico.png
new file mode 100644 (file)
index 0000000..85ad08d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/defrost_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/maxac_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/maxac_ico.png
new file mode 100644 (file)
index 0000000..33cb2d3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/maxac_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/recycle_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/recycle_ico.png
new file mode 100644 (file)
index 0000000..e063099
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/recycle_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/windsheald_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/windsheald_ico.png
new file mode 100644 (file)
index 0000000..d403c9c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/windsheald_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/windsheald_max_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/windsheald_max_ico.png
new file mode 100644 (file)
index 0000000..cf83c5b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/gang_buttons/windsheald_max_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/heated_stearbutton_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/heated_stearbutton_blur.png
new file mode 100644 (file)
index 0000000..933f24a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/heated_stearbutton_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/helpmode_climate_front.jpg b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/helpmode_climate_front.jpg
new file mode 100644 (file)
index 0000000..5fff1bd
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/helpmode_climate_front.jpg differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/helpmode_climate_rear.jpg b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/helpmode_climate_rear.jpg
new file mode 100644 (file)
index 0000000..686d68d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/helpmode_climate_rear.jpg differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/helpmode_climate_simple.jpg b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/helpmode_climate_simple.jpg
new file mode 100644 (file)
index 0000000..deedc8b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/helpmode_climate_simple.jpg differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_horiz_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_horiz_active.png
new file mode 100644 (file)
index 0000000..bc6c905
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_horiz_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_horiz_active_wheel.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_horiz_active_wheel.png
new file mode 100644 (file)
index 0000000..add1dd3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_horiz_active_wheel.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_horiz_def.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_horiz_def.png
new file mode 100644 (file)
index 0000000..18d645b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_horiz_def.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_vert_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_vert_active.png
new file mode 100644 (file)
index 0000000..526fc27
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_vert_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_vert_def.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_vert_def.png
new file mode 100644 (file)
index 0000000..594852c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/ind_vert_def.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/key.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/key.png
new file mode 100644 (file)
index 0000000..f079ff2
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/key.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/cooledseat_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/cooledseat_ico.png
new file mode 100644 (file)
index 0000000..fc6214a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/cooledseat_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/cooledstear_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/cooledstear_ico.png
new file mode 100644 (file)
index 0000000..2bf66a4
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/cooledstear_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/heatedseat_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/heatedseat_ico.png
new file mode 100644 (file)
index 0000000..6722dce
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/heatedseat_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/mytemp_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/mytemp_ico.png
new file mode 100644 (file)
index 0000000..e03e9d8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/left_person_control/mytemp_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/minus_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/minus_ico.png
new file mode 100644 (file)
index 0000000..60f05da
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/minus_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/defrost_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/defrost_ico.png
new file mode 100644 (file)
index 0000000..e6741f9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/defrost_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/feet_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/feet_ico.png
new file mode 100644 (file)
index 0000000..2b78ec5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/feet_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/panel_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/panel_ico.png
new file mode 100644 (file)
index 0000000..66681b2
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/panel_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/panelfeet_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/panelfeet_ico.png
new file mode 100644 (file)
index 0000000..4ec1aec
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/modeman/panelfeet_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/plus_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/plus_ico.png
new file mode 100644 (file)
index 0000000..9cada1c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/plus_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/power_button/power_icon.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/power_button/power_icon.png
new file mode 100644 (file)
index 0000000..2a3d99b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/power_button/power_icon.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/center_dot_rear_fan.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/center_dot_rear_fan.png
new file mode 100644 (file)
index 0000000..a2f5259
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/center_dot_rear_fan.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/full_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/full_ico.png
new file mode 100644 (file)
index 0000000..02e639b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/full_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/heat_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/heat_ico.png
new file mode 100644 (file)
index 0000000..c07e519
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/heat_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/indicator_long_act.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/indicator_long_act.png
new file mode 100644 (file)
index 0000000..4f5d32b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/indicator_long_act.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/indicator_long_def.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/indicator_long_def.png
new file mode 100644 (file)
index 0000000..3428c0f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/indicator_long_def.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/minus_icon.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/minus_icon.png
new file mode 100644 (file)
index 0000000..df76b72
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/minus_icon.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/plus_icon.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/plus_icon.png
new file mode 100644 (file)
index 0000000..1aa56fa
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/plus_icon.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_but_closed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_but_closed.png
new file mode 100644 (file)
index 0000000..4fa46dc
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_but_closed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_but_icon.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_but_icon.png
new file mode 100644 (file)
index 0000000..a9e422a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_but_icon.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_but_opened.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_but_opened.png
new file mode 100644 (file)
index 0000000..cdb86ec
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_but_opened.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_climat_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_climat_ico.png
new file mode 100644 (file)
index 0000000..76f2b1d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_climat_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_control_but_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_control_but_ico.png
new file mode 100644 (file)
index 0000000..d7e2fc3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_control_but_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_lightning.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_lightning.png
new file mode 100644 (file)
index 0000000..d792646
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/rear_auto/rear_lightning.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_active.png
new file mode 100644 (file)
index 0000000..11c1bee
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_blue.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_blue.png
new file mode 100644 (file)
index 0000000..b99f77a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_blue.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_def.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_def.png
new file mode 100644 (file)
index 0000000..76ca04d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_def.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_green.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_green.png
new file mode 100644 (file)
index 0000000..3943da1
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/small_ind_green.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/cool1.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/cool1.png
new file mode 100644 (file)
index 0000000..d1af3c2
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/cool1.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/cool2.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/cool2.png
new file mode 100644 (file)
index 0000000..06deb94
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/cool2.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/cool3.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/cool3.png
new file mode 100644 (file)
index 0000000..5de4c98
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/cool3.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/heat1.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/heat1.png
new file mode 100644 (file)
index 0000000..eac25d6
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/heat1.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/heat2.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/heat2.png
new file mode 100644 (file)
index 0000000..25ba1d2
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/heat2.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/heat3.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/heat3.png
new file mode 100644 (file)
index 0000000..c870cec
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/climate/status/heat3.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/Thumbs.db b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/Thumbs.db
new file mode 100644 (file)
index 0000000..4cdb453
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/Thumbs.db differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/arr-r-disable.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/arr-r-disable.png
new file mode 100644 (file)
index 0000000..acdfb56
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/arr-r-disable.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/arr-r.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/arr-r.png
new file mode 100644 (file)
index 0000000..05d8e97
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/arr-r.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/arrow_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/arrow_ico.png
new file mode 100644 (file)
index 0000000..9712696
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/arrow_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/bottom_cont_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/bottom_cont_bg.png
new file mode 100644 (file)
index 0000000..ea1198d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/bottom_cont_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/bt_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/bt_bg.png
new file mode 100644 (file)
index 0000000..b69267e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/bt_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/bt_bg_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/bt_bg_pressed.png
new file mode 100644 (file)
index 0000000..acd4acb
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/bt_bg_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-28h-gray-active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-28h-gray-active.png
new file mode 100644 (file)
index 0000000..2b4b2ee
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-28h-gray-active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-28h.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-28h.png
new file mode 100644 (file)
index 0000000..034c061
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-28h.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h-active-gray.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h-active-gray.png
new file mode 100644 (file)
index 0000000..3faeff3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h-active-gray.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h-active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h-active.png
new file mode 100644 (file)
index 0000000..9515a21
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h-active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h-pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h-pressed.png
new file mode 100644 (file)
index 0000000..8f62dd0
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h-pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h.png
new file mode 100644 (file)
index 0000000..89fe73b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-48h.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-98h.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-98h.png
new file mode 100644 (file)
index 0000000..be25c0c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/btn-98h.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button.png
new file mode 100644 (file)
index 0000000..04144a6
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button_active_blue.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button_active_blue.png
new file mode 100644 (file)
index 0000000..e8f6619
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button_active_blue.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button_large.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button_large.png
new file mode 100644 (file)
index 0000000..737f962
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button_large.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button_small.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button_small.png
new file mode 100644 (file)
index 0000000..3f8ec34
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/button_small.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/center-button-150.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/center-button-150.png
new file mode 100644 (file)
index 0000000..a696c3c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/center-button-150.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/center-button.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/center-button.png
new file mode 100644 (file)
index 0000000..fd407b7
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/center-button.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/climate-status-bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/climate-status-bg.png
new file mode 100644 (file)
index 0000000..dbddddd
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/climate-status-bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/delim.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/delim.png
new file mode 100644 (file)
index 0000000..98e6516
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/delim.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/divider.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/divider.png
new file mode 100644 (file)
index 0000000..c567e5e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/divider.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/header_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/header_bg.png
new file mode 100644 (file)
index 0000000..f275214
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/header_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ico_back.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ico_back.png
new file mode 100644 (file)
index 0000000..f2cdf41
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ico_back.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ind_vert_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ind_vert_active.png
new file mode 100644 (file)
index 0000000..526fc27
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ind_vert_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ind_vert_def.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ind_vert_def.png
new file mode 100644 (file)
index 0000000..594852c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ind_vert_def.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ls_border.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ls_border.png
new file mode 100644 (file)
index 0000000..d59d3af
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/ls_border.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/media-status-bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/media-status-bg.png
new file mode 100644 (file)
index 0000000..b48786c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/media-status-bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/minus-ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/minus-ico.png
new file mode 100644 (file)
index 0000000..a5fd758
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/minus-ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/nav-status-bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/nav-status-bg.png
new file mode 100644 (file)
index 0000000..afe2168
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/nav-status-bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/okbut.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/okbut.png
new file mode 100644 (file)
index 0000000..7762204
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/okbut.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/okbut_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/okbut_pressed.png
new file mode 100644 (file)
index 0000000..7f3262f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/okbut_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/page-back-button.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/page-back-button.png
new file mode 100644 (file)
index 0000000..8cc6ad9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/page-back-button.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/phone-statusbar-bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/phone-statusbar-bg.png
new file mode 100644 (file)
index 0000000..1d63f48
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/phone-statusbar-bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/plus-ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/plus-ico.png
new file mode 100644 (file)
index 0000000..3a3aa21
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/plus-ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_down.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_down.png
new file mode 100644 (file)
index 0000000..d160605
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_down.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_down_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_down_active.png
new file mode 100644 (file)
index 0000000..f609eca
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_down_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_down_inactive.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_down_inactive.png
new file mode 100644 (file)
index 0000000..418379f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_down_inactive.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_up.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_up.png
new file mode 100644 (file)
index 0000000..6ae4d68
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_up.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_up_inactive.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_up_inactive.png
new file mode 100644 (file)
index 0000000..328ed7a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/scroll_up_inactive.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/seat-act-led.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/seat-act-led.png
new file mode 100644 (file)
index 0000000..7acb613
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/seat-act-led.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/seat-inact-led.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/seat-inact-led.png
new file mode 100644 (file)
index 0000000..40a57e2
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/seat-inact-led.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/skipbuttonbg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/skipbuttonbg.png
new file mode 100644 (file)
index 0000000..9e3b4e9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/skipbuttonbg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/skippbuttonbg_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/skippbuttonbg_pressed.png
new file mode 100644 (file)
index 0000000..27c2a52
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/skippbuttonbg_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/system_settings_btn_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/system_settings_btn_bg.png
new file mode 100644 (file)
index 0000000..ca8a268
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/system_settings_btn_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/system_settings_btn_bg_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/system_settings_btn_bg_active.png
new file mode 100644 (file)
index 0000000..b53bd11
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/system_settings_btn_bg_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/system_settings_btn_h54.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/system_settings_btn_h54.png
new file mode 100644 (file)
index 0000000..1da6324
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/system_settings_btn_h54.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/toggle.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/toggle.png
new file mode 100644 (file)
index 0000000..7162ad3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/common/toggle.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/faq_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/faq_bg.png
new file mode 100644 (file)
index 0000000..44d419a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/faq_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/faq_top_btn.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/faq_top_btn.png
new file mode 100644 (file)
index 0000000..560a13f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/faq_top_btn.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/faq_top_btn_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/faq_top_btn_pressed.png
new file mode 100644 (file)
index 0000000..3094777
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/faq_top_btn_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/help_devider.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/help_devider.png
new file mode 100644 (file)
index 0000000..7fe66bc
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/help_devider.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/help_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/help_pressed.png
new file mode 100644 (file)
index 0000000..b26c763
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/help_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/ind_vert_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/ind_vert_active.png
new file mode 100644 (file)
index 0000000..526fc27
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/ind_vert_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/ind_vert_def.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/ind_vert_def.png
new file mode 100644 (file)
index 0000000..56b3f44
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/ind_vert_def.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/left_yellow_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/left_yellow_bg.png
new file mode 100644 (file)
index 0000000..eca15ae
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/left_yellow_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/rear_controls_yellow_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/rear_controls_yellow_bg.png
new file mode 100644 (file)
index 0000000..05fb628
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/rear_controls_yellow_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/rear_yellow_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/rear_yellow_bg.png
new file mode 100644 (file)
index 0000000..4fb3b55
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/rear_yellow_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/white_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/white_help.png
new file mode 100644 (file)
index 0000000..956701e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/white_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_189_138_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_189_138_bg.png
new file mode 100644 (file)
index 0000000..fdfc1a9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_189_138_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_198_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_198_bg.png
new file mode 100644 (file)
index 0000000..7d19a55
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_198_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_bg.png
new file mode 100644 (file)
index 0000000..eda91cb
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_help.png
new file mode 100644 (file)
index 0000000..3370f52
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/help/yellow_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/Kopie von home_main_image.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/Kopie von home_main_image.png
new file mode 100644 (file)
index 0000000..e1b830f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/Kopie von home_main_image.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/Thumbs.db b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/Thumbs.db
new file mode 100644 (file)
index 0000000..bef3349
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/Thumbs.db differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/bottom_controlls_full.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/bottom_controlls_full.png
new file mode 100644 (file)
index 0000000..3fc22b5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/bottom_controlls_full.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/DownButton.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/DownButton.png
new file mode 100644 (file)
index 0000000..66e3cc5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/DownButton.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/DownButton_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/DownButton_pressed.png
new file mode 100644 (file)
index 0000000..b23b077
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/DownButton_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/LeftButton.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/LeftButton.png
new file mode 100644 (file)
index 0000000..a33a09f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/LeftButton.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/LeftButton_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/LeftButton_pressed.png
new file mode 100644 (file)
index 0000000..fbc15a5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/LeftButton_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/OkButton.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/OkButton.png
new file mode 100644 (file)
index 0000000..809f719
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/OkButton.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/OkButton_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/OkButton_pressed.png
new file mode 100644 (file)
index 0000000..2902de6
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/OkButton_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/RightButton.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/RightButton.png
new file mode 100644 (file)
index 0000000..35da46f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/RightButton.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/RightButton_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/RightButton_pressed.png
new file mode 100644 (file)
index 0000000..3a3d247
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/RightButton_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/Thumbs.db b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/Thumbs.db
new file mode 100644 (file)
index 0000000..5f8aa72
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/Thumbs.db differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/UpButton.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/UpButton.png
new file mode 100644 (file)
index 0000000..58407ce
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/UpButton.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/UpButton_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/UpButton_pressed.png
new file mode 100644 (file)
index 0000000..7b853cb
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/UpButton_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/backGroundControllButtons.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/backGroundControllButtons.png
new file mode 100644 (file)
index 0000000..041d49e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/backGroundControllButtons.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/vr.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/vr.png
new file mode 100644 (file)
index 0000000..af09282
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/vr.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/vrImage.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/vrImage.png
new file mode 100644 (file)
index 0000000..2f6bac2
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/vrImage.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/vr_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/vr_pressed.png
new file mode 100644 (file)
index 0000000..9206e42
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/controlButtons/vr_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_main_image.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_main_image.png
new file mode 100644 (file)
index 0000000..60b6b9e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_main_image.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_nav_off.jpg b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_nav_off.jpg
new file mode 100644 (file)
index 0000000..a713142
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_nav_off.jpg differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_nav_off_blur.jpg b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_nav_off_blur.jpg
new file mode 100644 (file)
index 0000000..a7d46f8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_nav_off_blur.jpg differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone.png
new file mode 100644 (file)
index 0000000..dfdd0a5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone_blur.png
new file mode 100644 (file)
index 0000000..c83abe9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone_blur_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone_blur_bg.png
new file mode 100644 (file)
index 0000000..46033c3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone_blur_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone_end_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone_end_blur.png
new file mode 100644 (file)
index 0000000..0805e55
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_phone_end_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_screen.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_screen.png
new file mode 100644 (file)
index 0000000..3441d08
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_screen.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_screen_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_screen_blur.png
new file mode 100644 (file)
index 0000000..9e56e1d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/home/home_screen_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/Thumbs.db b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/Thumbs.db
new file mode 100644 (file)
index 0000000..68170d0
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/Thumbs.db differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/btn_40_bg_active_invert.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/btn_40_bg_active_invert.png
new file mode 100644 (file)
index 0000000..788d827
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/btn_40_bg_active_invert.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/btn_50_bg_active_invert.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/btn_50_bg_active_invert.png
new file mode 100644 (file)
index 0000000..f37bf1f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/btn_50_bg_active_invert.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/callendar-btn.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/callendar-btn.png
new file mode 100644 (file)
index 0000000..c193f0f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/callendar-btn.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/delim_40.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/delim_40.png
new file mode 100644 (file)
index 0000000..dbda7d8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/delim_40.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_arrowLock.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_arrowLock.png
new file mode 100644 (file)
index 0000000..bb15420
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_arrowLock.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_arrowRight.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_arrowRight.png
new file mode 100644 (file)
index 0000000..08762dd
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_arrowRight.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_assist.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_assist.png
new file mode 100644 (file)
index 0000000..1abb26d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_assist.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_emergcyAndEnvelope.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_emergcyAndEnvelope.png
new file mode 100644 (file)
index 0000000..7400481
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_emergcyAndEnvelope.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_emergency.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_emergency.png
new file mode 100644 (file)
index 0000000..85eb9db
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_emergency.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_envelope.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_envelope.png
new file mode 100644 (file)
index 0000000..1bf1611
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_envelope.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_info_install.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_info_install.png
new file mode 100644 (file)
index 0000000..5c9d93a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_info_install.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_lock.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_lock.png
new file mode 100644 (file)
index 0000000..b085996
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_lock.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_vehicle.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_vehicle.png
new file mode 100644 (file)
index 0000000..c4ca30f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/ico_vehicle.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info.png
new file mode 100644 (file)
index 0000000..3f0d53c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_alerts_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_alerts_bg_help.png
new file mode 100644 (file)
index 0000000..55208ed
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_alerts_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_apps_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_apps_bg_help.png
new file mode 100644 (file)
index 0000000..f958099
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_apps_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_blur.png
new file mode 100644 (file)
index 0000000..776fc4b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_alerts_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_alerts_ico.png
new file mode 100644 (file)
index 0000000..89fd5f9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_alerts_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_apps_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_apps_ico.png
new file mode 100644 (file)
index 0000000..7f648c9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_apps_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_calendar_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_calendar_ico.png
new file mode 100644 (file)
index 0000000..6fb5aec
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_calendar_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_services_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_services_ico.png
new file mode 100644 (file)
index 0000000..de36255
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_services_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_travelLink_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_travelLink_ico.png
new file mode 100644 (file)
index 0000000..4235c92
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_leftMenu_travelLink_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_services_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_services_bg.png
new file mode 100644 (file)
index 0000000..ef082c7
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_services_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_services_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_services_bg_help.png
new file mode 100644 (file)
index 0000000..f4e7534
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_services_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_travelLink_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_travelLink_bg_help.png
new file mode 100644 (file)
index 0000000..5edfb78
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_travelLink_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_travelLink_sirius_logo.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_travelLink_sirius_logo.png
new file mode 100644 (file)
index 0000000..0eb328c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/info_travelLink_sirius_logo.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/menu_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/menu_active.png
new file mode 100644 (file)
index 0000000..b4cf727
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/menu_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/view_info_calendar-help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/view_info_calendar-help.png
new file mode 100644 (file)
index 0000000..c8f8666
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/view_info_calendar-help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/view_info_calendar.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/view_info_calendar.png
new file mode 100644 (file)
index 0000000..9e09ae9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/info/view_info_calendar.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/list_item_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/list_item_bg.png
new file mode 100644 (file)
index 0000000..f5cdcbe
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/list_item_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/list_item_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/list_item_pressed.png
new file mode 100644 (file)
index 0000000..593d697
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/list_item_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/scrollbar/button-down-active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/scrollbar/button-down-active.png
new file mode 100644 (file)
index 0000000..bcd5215
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/scrollbar/button-down-active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/scrollbar/button-up-active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/scrollbar/button-up-active.png
new file mode 100644 (file)
index 0000000..5d1bb3f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/list/scrollbar/button-up-active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/active_arrow.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/active_arrow.png
new file mode 100644 (file)
index 0000000..9712696
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/active_arrow.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/active_horiz_led.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/active_horiz_led.png
new file mode 100644 (file)
index 0000000..c93a142
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/active_horiz_led.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/active_led.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/active_led.png
new file mode 100644 (file)
index 0000000..574de80
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/active_led.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ant.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ant.png
new file mode 100644 (file)
index 0000000..726e665
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ant.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/av-in_details.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/av-in_details.png
new file mode 100644 (file)
index 0000000..50c0e56
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/av-in_details.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgL.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgL.png
new file mode 100644 (file)
index 0000000..cbb8dc4
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgL.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgL_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgL_pressed.png
new file mode 100644 (file)
index 0000000..16e9ce2
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgL_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgR.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgR.png
new file mode 100644 (file)
index 0000000..e9aef90
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgR.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgR_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgR_pressed.png
new file mode 100644 (file)
index 0000000..d7c3f96
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgR_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgS.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgS.png
new file mode 100644 (file)
index 0000000..54d70b7
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgS.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgS_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgS_pressed.png
new file mode 100644 (file)
index 0000000..8c1563a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bgS_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bg_act.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bg_act.png
new file mode 100644 (file)
index 0000000..2dffb60
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bcs-item_bg_act.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bg.png
new file mode 100644 (file)
index 0000000..b0c2435
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/big-fall-image.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/big-fall-image.png
new file mode 100644 (file)
index 0000000..c82c5d8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/big-fall-image.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/big-lazerhorse-image.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/big-lazerhorse-image.png
new file mode 100644 (file)
index 0000000..0a9e85c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/big-lazerhorse-image.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/browse_all_button.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/browse_all_button.png
new file mode 100644 (file)
index 0000000..795d2dd
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/browse_all_button.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/browse_all_button_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/browse_all_button_pressed.png
new file mode 100644 (file)
index 0000000..90b6fdc
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/browse_all_button_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bt-h-ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bt-h-ico.png
new file mode 100644 (file)
index 0000000..0f3e581
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bt-h-ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bt_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bt_bg.png
new file mode 100644 (file)
index 0000000..a11ceba
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/bt_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_alert.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_alert.png
new file mode 100644 (file)
index 0000000..716b626
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_alert.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_bg.png
new file mode 100644 (file)
index 0000000..9713aab
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_browse-all-sources.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_browse-all-sources.png
new file mode 100644 (file)
index 0000000..b6a06d7
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_browse-all-sources.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_tag.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_tag.png
new file mode 100644 (file)
index 0000000..18d445e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/btn_tag.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/button28_red_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/button28_red_bg.png
new file mode 100644 (file)
index 0000000..f494f36
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/button28_red_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-ico-home.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-ico-home.png
new file mode 100644 (file)
index 0000000..fa6198b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-ico-home.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-next-btn.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-next-btn.png
new file mode 100644 (file)
index 0000000..1973292
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-next-btn.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-next-btn_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-next-btn_pressed.png
new file mode 100644 (file)
index 0000000..8cb1391
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-next-btn_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-prev-btn.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-prev-btn.png
new file mode 100644 (file)
index 0000000..8bdd67d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-prev-btn.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-prev-btn_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-prev-btn_pressed.png
new file mode 100644 (file)
index 0000000..3dbdbb9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd-prev-btn_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd_play_btn.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd_play_btn.png
new file mode 100644 (file)
index 0000000..d183119
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd_play_btn.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd_play_btn_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd_play_btn_pressed.png
new file mode 100644 (file)
index 0000000..89cf91c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/cd_play_btn_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/direct_tune_bg_s.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/direct_tune_bg_s.png
new file mode 100644 (file)
index 0000000..e0f4387
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/direct_tune_bg_s.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/direct_tune_bg_s_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/direct_tune_bg_s_pressed.png
new file mode 100644 (file)
index 0000000..29fb602
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/direct_tune_bg_s_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/disabled_arrow.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/disabled_arrow.png
new file mode 100644 (file)
index 0000000..eb55e44
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/disabled_arrow.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/disabled_player_controls.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/disabled_player_controls.png
new file mode 100644 (file)
index 0000000..9d148d3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/disabled_player_controls.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/divider_o.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/divider_o.png
new file mode 100644 (file)
index 0000000..38cb6bc
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/divider_o.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-actbg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-actbg.png
new file mode 100644 (file)
index 0000000..a30b3b4
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-actbg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-l-bg-pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-l-bg-pressed.png
new file mode 100644 (file)
index 0000000..15d8dc9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-l-bg-pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-l-bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-l-bg.png
new file mode 100644 (file)
index 0000000..08533ae
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-l-bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-rbg-pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-rbg-pressed.png
new file mode 100644 (file)
index 0000000..5fcaeab
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-rbg-pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-rbg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-rbg.png
new file mode 100644 (file)
index 0000000..d7212b5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-rbg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-sbg-pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-sbg-pressed.png
new file mode 100644 (file)
index 0000000..b57968f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-sbg-pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-sbg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-sbg.png
new file mode 100644 (file)
index 0000000..7b80ddb
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/h-media-sbg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/hd-radio-ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/hd-radio-ico.png
new file mode 100644 (file)
index 0000000..7aabaca
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/hd-radio-ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/hd_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/hd_ico.png
new file mode 100644 (file)
index 0000000..a377b65
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/hd_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/ant_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/ant_blur.png
new file mode 100644 (file)
index 0000000..269219c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/ant_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/av-in_details_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/av-in_details_blur.png
new file mode 100644 (file)
index 0000000..d68370b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/av-in_details_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/big-fall-image_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/big-fall-image_blur.png
new file mode 100644 (file)
index 0000000..59ffb8c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/big-fall-image_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/big_help_lazerhorse_poster_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/big_help_lazerhorse_poster_blur.png
new file mode 100644 (file)
index 0000000..e2d059b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/big_help_lazerhorse_poster_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/bluetooth_content_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/bluetooth_content_blur.png
new file mode 100644 (file)
index 0000000..94096bc
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/bluetooth_content_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/broall_view_blur.jpg b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/broall_view_blur.jpg
new file mode 100644 (file)
index 0000000..8509a26
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/broall_view_blur.jpg differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/bt-h-ico_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/bt-h-ico_blur.png
new file mode 100644 (file)
index 0000000..746e103
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/bt-h-ico_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/cd-ico-home_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/cd-ico-home_blur.png
new file mode 100644 (file)
index 0000000..9a97e74
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/cd-ico-home_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/cd_bro_view_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/cd_bro_view_blur.png
new file mode 100644 (file)
index 0000000..ccc7345
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/cd_bro_view_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/fm_hd_info_ico_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/fm_hd_info_ico_blur.png
new file mode 100644 (file)
index 0000000..d67dfa4
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/fm_hd_info_ico_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hd-radio-ico_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hd-radio-ico_blur.png
new file mode 100644 (file)
index 0000000..e0870e5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hd-radio-ico_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hd_active_btn-blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hd_active_btn-blur.png
new file mode 100644 (file)
index 0000000..dec695e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hd_active_btn-blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hd_inactive_btn-blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hd_inactive_btn-blur.png
new file mode 100644 (file)
index 0000000..448141c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hd_inactive_btn-blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hsir-ico_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hsir-ico_blur.png
new file mode 100644 (file)
index 0000000..d473570
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/hsir-ico_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/ico_whatIsPlaying_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/ico_whatIsPlaying_blur.png
new file mode 100644 (file)
index 0000000..8edc910
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/ico_whatIsPlaying_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/lazerhorse_poster_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/lazerhorse_poster_blur.png
new file mode 100644 (file)
index 0000000..f3716bf
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/lazerhorse_poster_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/line-h-ico_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/line-h-ico_blur.png
new file mode 100644 (file)
index 0000000..cd2fc82
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/line-h-ico_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/more_info_list-blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/more_info_list-blur.png
new file mode 100644 (file)
index 0000000..1d274af
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/more_info_list-blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/moreinfo_list_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/moreinfo_list_blur.png
new file mode 100644 (file)
index 0000000..6c64210
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/moreinfo_list_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/option_btn_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/option_btn_blur.png
new file mode 100644 (file)
index 0000000..338f1bd
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/option_btn_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/others_browse_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/others_browse_blur.png
new file mode 100644 (file)
index 0000000..5627d9f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/others_browse_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/player_controls_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/player_controls_blur.png
new file mode 100644 (file)
index 0000000..6189174
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/player_controls_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/preset_yellow_border.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/preset_yellow_border.png
new file mode 100644 (file)
index 0000000..11045a8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/preset_yellow_border.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/right_menu_btn_yellow_border.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/right_menu_btn_yellow_border.png
new file mode 100644 (file)
index 0000000..b6d7ffa
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/right_menu_btn_yellow_border.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/right_menu_groupbtn_yellow_border.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/right_menu_groupbtn_yellow_border.png
new file mode 100644 (file)
index 0000000..a75e708
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/right_menu_groupbtn_yellow_border.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/right_menu_threebtngroup_yellow_border.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/right_menu_threebtngroup_yellow_border.png
new file mode 100644 (file)
index 0000000..150b740
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/right_menu_threebtngroup_yellow_border.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/sd-h-ico_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/sd-h-ico_blur.png
new file mode 100644 (file)
index 0000000..0114810
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/sd-h-ico_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/sir_bro_view_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/sir_bro_view_blur.png
new file mode 100644 (file)
index 0000000..027f67f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/sir_bro_view_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/small-fall-image_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/small-fall-image_blur.png
new file mode 100644 (file)
index 0000000..752142a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/small-fall-image_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/tag_alert_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/tag_alert_bg.png
new file mode 100644 (file)
index 0000000..3912780
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/tag_alert_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/tag_help_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/tag_help_bg.png
new file mode 100644 (file)
index 0000000..5104cd3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/tag_help_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/titanium-logo-home-blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/titanium-logo-home-blur.png
new file mode 100644 (file)
index 0000000..e196e6c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/titanium-logo-home-blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/titanium_logo_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/titanium_logo_blur.png
new file mode 100644 (file)
index 0000000..b2c2d4d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/titanium_logo_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/top_rightmenu_button_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/top_rightmenu_button_blur.png
new file mode 100644 (file)
index 0000000..4445b1c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/top_rightmenu_button_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/top_rightmenu_button_blur_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/top_rightmenu_button_blur_active.png
new file mode 100644 (file)
index 0000000..9f9ad1b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/top_rightmenu_button_blur_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/usb-h-ico_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/usb-h-ico_blur.png
new file mode 100644 (file)
index 0000000..e762c0f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/help/usb-h-ico_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/hsir-ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/hsir-ico.png
new file mode 100644 (file)
index 0000000..8d4bdde
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/hsir-ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico-play.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico-play.png
new file mode 100644 (file)
index 0000000..5e74617
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico-play.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_am.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_am.png
new file mode 100644 (file)
index 0000000..c2ddfd3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_am.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_antenna.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_antenna.png
new file mode 100644 (file)
index 0000000..c2ddfd3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_antenna.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_arrow_down.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_arrow_down.png
new file mode 100644 (file)
index 0000000..609e4a1
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_arrow_down.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_arrow_up.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_arrow_up.png
new file mode 100644 (file)
index 0000000..09b9610
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_arrow_up.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_back.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_back.png
new file mode 100644 (file)
index 0000000..f2cdf41
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_back.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_browseAll.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_browseAll.png
new file mode 100644 (file)
index 0000000..8a3f99f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_browseAll.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_bt.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_bt.png
new file mode 100644 (file)
index 0000000..053f151
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_bt.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_cd.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_cd.png
new file mode 100644 (file)
index 0000000..b482408
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_cd.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_dog.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_dog.png
new file mode 100644 (file)
index 0000000..628a73d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_dog.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_fm.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_fm.png
new file mode 100644 (file)
index 0000000..c2ddfd3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_fm.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_li.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_li.png
new file mode 100644 (file)
index 0000000..3d75f3e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_li.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_next.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_next.png
new file mode 100644 (file)
index 0000000..24c19d2
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_next.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_pause.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_pause.png
new file mode 100644 (file)
index 0000000..d885c12
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_pause.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_plus.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_plus.png
new file mode 100644 (file)
index 0000000..309846c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_plus.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_prew.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_prew.png
new file mode 100644 (file)
index 0000000..a079f67
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_prew.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_sd.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_sd.png
new file mode 100644 (file)
index 0000000..9791187
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_sd.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_sirius.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_sirius.png
new file mode 100644 (file)
index 0000000..7fdde75
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_sirius.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_usb.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_usb.png
new file mode 100644 (file)
index 0000000..6a48249
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_usb.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_whatIsPlaying.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_whatIsPlaying.png
new file mode 100644 (file)
index 0000000..6de6de0
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ico_whatIsPlaying.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/line-h-ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/line-h-ico.png
new file mode 100644 (file)
index 0000000..8bd70b5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/line-h-ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi1.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi1.png
new file mode 100644 (file)
index 0000000..a199258
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi1.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi2.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi2.png
new file mode 100644 (file)
index 0000000..b51914a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi2.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi3.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi3.png
new file mode 100644 (file)
index 0000000..714f72d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi3.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi4.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi4.png
new file mode 100644 (file)
index 0000000..d3620f9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi4.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi5.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi5.png
new file mode 100644 (file)
index 0000000..e631d62
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/list/ico_mi5.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ls-item_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ls-item_bg.png
new file mode 100644 (file)
index 0000000..3863e15
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ls-item_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ls-item_bg_act.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ls-item_bg_act.png
new file mode 100644 (file)
index 0000000..7b52318
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/ls-item_bg_act.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_am_options_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_am_options_bg_help.png
new file mode 100644 (file)
index 0000000..46802a0
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_am_options_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_bt_options_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_bt_options_bg_help.png
new file mode 100644 (file)
index 0000000..382e9cf
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_bt_options_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_cd_options_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_cd_options_bg_help.png
new file mode 100644 (file)
index 0000000..cca3cb8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_cd_options_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_fm_options_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_fm_options_bg_help.png
new file mode 100644 (file)
index 0000000..6a5fcc0
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_fm_options_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_sirius_options_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_sirius_options_bg_help.png
new file mode 100644 (file)
index 0000000..061f716
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_sirius_options_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_usb_options_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_usb_options_bg_help.png
new file mode 100644 (file)
index 0000000..e9d0d27
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/media_usb_options_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/mi-image.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/mi-image.png
new file mode 100644 (file)
index 0000000..0a9e85c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/mi-image.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/passiv_horiz_led.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/passiv_horiz_led.png
new file mode 100644 (file)
index 0000000..4df0362
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/passiv_horiz_led.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/passive_led.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/passive_led.png
new file mode 100644 (file)
index 0000000..bac5b53
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/passive_led.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/player_view.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/player_view.png
new file mode 100644 (file)
index 0000000..fec0f31
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/player_view.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sd-h-ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sd-h-ico.png
new file mode 100644 (file)
index 0000000..1baf2a6
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sd-h-ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sd-image.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sd-image.png
new file mode 100644 (file)
index 0000000..81d996e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sd-image.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sirius-logo-h.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sirius-logo-h.png
new file mode 100644 (file)
index 0000000..70a3765
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sirius-logo-h.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sirius-logo.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sirius-logo.png
new file mode 100644 (file)
index 0000000..7a2cee4
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/sirius-logo.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/small-fall-image.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/small-fall-image.png
new file mode 100644 (file)
index 0000000..d4686c5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/small-fall-image.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/small-lazerhorse-image.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/small-lazerhorse-image.png
new file mode 100644 (file)
index 0000000..81d996e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/small-lazerhorse-image.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/usb-big-cover.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/usb-big-cover.png
new file mode 100644 (file)
index 0000000..c82c5d8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/usb-big-cover.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/usb-cover.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/usb-cover.png
new file mode 100644 (file)
index 0000000..d4686c5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/usb-cover.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/usb-h-ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/usb-h-ico.png
new file mode 100644 (file)
index 0000000..2ba0f7e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/media/usb-h-ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow-inact.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow-inact.png
new file mode 100644 (file)
index 0000000..b8c3833
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow-inact.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow.png
new file mode 100644 (file)
index 0000000..4d118a7
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow_home.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow_home.png
new file mode 100644 (file)
index 0000000..c244423
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow_home.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow_home_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow_home_blur.png
new file mode 100644 (file)
index 0000000..a0247e5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/arrow_home_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/back-arr.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/back-arr.png
new file mode 100644 (file)
index 0000000..d881c23
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/back-arr.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/back_btn.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/back_btn.png
new file mode 100644 (file)
index 0000000..d8f00ac
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/back_btn.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/back_btn_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/back_btn_pressed.png
new file mode 100644 (file)
index 0000000..9fcef2d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/back_btn_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/bg.png
new file mode 100644 (file)
index 0000000..062c3fc
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/compas.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/compas.png
new file mode 100644 (file)
index 0000000..1e0ea94
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/compas.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest-speak-ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest-speak-ico.png
new file mode 100644 (file)
index 0000000..a252d6f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest-speak-ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest-time.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest-time.png
new file mode 100644 (file)
index 0000000..4f20209
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest-time.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_adress.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_adress.png
new file mode 100644 (file)
index 0000000..80690cc
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_adress.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_cityCenter.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_cityCenter.png
new file mode 100644 (file)
index 0000000..d939d60
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_cityCenter.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_destination.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_destination.png
new file mode 100644 (file)
index 0000000..eb7bd4b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_destination.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_emergency.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_emergency.png
new file mode 100644 (file)
index 0000000..f3f8505
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_emergency.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_favorites.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_favorites.png
new file mode 100644 (file)
index 0000000..142d6aa
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_favorites.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_freeWay.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_freeWay.png
new file mode 100644 (file)
index 0000000..e9b81ed
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_freeWay.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_intersection.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_intersection.png
new file mode 100644 (file)
index 0000000..14b5830
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_intersection.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_latLong.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_latLong.png
new file mode 100644 (file)
index 0000000..37a1aa8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_latLong.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_map.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_map.png
new file mode 100644 (file)
index 0000000..6e8b338
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_map.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_myHome.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_myHome.png
new file mode 100644 (file)
index 0000000..534ea68
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_myHome.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_poi.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_poi.png
new file mode 100644 (file)
index 0000000..ef03853
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/ico_poi.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_CityCenter_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_CityCenter_bg.png
new file mode 100644 (file)
index 0000000..041f1f6
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_CityCenter_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_CityCenter_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_CityCenter_bg_help.png
new file mode 100644 (file)
index 0000000..f6f8edc
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_CityCenter_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Emergency_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Emergency_bg.png
new file mode 100644 (file)
index 0000000..326a4cc
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Emergency_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Emergency_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Emergency_bg_help.png
new file mode 100644 (file)
index 0000000..62c610d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Emergency_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Favorites_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Favorites_bg.png
new file mode 100644 (file)
index 0000000..6e0fce0
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Favorites_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Favorites_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Favorites_bg_help.png
new file mode 100644 (file)
index 0000000..89cbb8b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Favorites_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Freeway_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Freeway_bg.png
new file mode 100644 (file)
index 0000000..a59af34
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Freeway_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Freeway_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Freeway_bg_help.png
new file mode 100644 (file)
index 0000000..f57ca54
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Freeway_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Intersection_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Intersection_bg.png
new file mode 100644 (file)
index 0000000..63d206c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Intersection_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Intersection_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Intersection_bg_help.png
new file mode 100644 (file)
index 0000000..9fa7092
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Intersection_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_LatitudeLongitude_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_LatitudeLongitude_bg.png
new file mode 100644 (file)
index 0000000..3cb3b91
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_LatitudeLongitude_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_LatitudeLongitude_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_LatitudeLongitude_bg_help.png
new file mode 100644 (file)
index 0000000..474f173
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_LatitudeLongitude_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Map_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Map_bg.png
new file mode 100644 (file)
index 0000000..40d92e9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Map_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Map_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Map_bg_help.png
new file mode 100644 (file)
index 0000000..025a967
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Map_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_MyHome_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_MyHome_bg.png
new file mode 100644 (file)
index 0000000..ba48b68
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_MyHome_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_MyHome_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_MyHome_bg_help.png
new file mode 100644 (file)
index 0000000..d7ff6ab
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_MyHome_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_POI_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_POI_bg.png
new file mode 100644 (file)
index 0000000..4698d7c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_POI_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_POI_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_POI_bg_help.png
new file mode 100644 (file)
index 0000000..69ab255
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_POI_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_PreviousStartPoint_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_PreviousStartPoint_bg.png
new file mode 100644 (file)
index 0000000..68c7403
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_PreviousStartPoint_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_PreviousStartPoint_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_PreviousStartPoint_bg_help.png
new file mode 100644 (file)
index 0000000..28240c6
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_PreviousStartPoint_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Previous_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Previous_bg.png
new file mode 100644 (file)
index 0000000..0adf72e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Previous_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Previous_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Previous_bg_help.png
new file mode 100644 (file)
index 0000000..9a0d656
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_Previous_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_StreetAddress_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_StreetAddress_bg.png
new file mode 100644 (file)
index 0000000..437a0cf
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_StreetAddress_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_StreetAddress_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_StreetAddress_bg_help.png
new file mode 100644 (file)
index 0000000..ad400ff
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest/navi_destination_StreetAddress_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest_bg.png
new file mode 100644 (file)
index 0000000..a839114
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/dest_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/distance.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/distance.png
new file mode 100644 (file)
index 0000000..bef305f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/distance.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/edit_tirn_list.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/edit_tirn_list.png
new file mode 100644 (file)
index 0000000..bd8b759
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/edit_tirn_list.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/flag.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/flag.png
new file mode 100644 (file)
index 0000000..06baff2
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/flag.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/green_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/green_bg.png
new file mode 100644 (file)
index 0000000..7858055
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/green_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/compas_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/compas_blur.png
new file mode 100644 (file)
index 0000000..5a1972c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/compas_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/direction_arrow_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/direction_arrow_blur.png
new file mode 100644 (file)
index 0000000..abd7e8a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/direction_arrow_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/distance.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/distance.png
new file mode 100644 (file)
index 0000000..dcd5554
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/distance.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/distance_linedecor_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/distance_linedecor_blur.png
new file mode 100644 (file)
index 0000000..a552210
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/distance_linedecor_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/map_view2_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/map_view2_blur.png
new file mode 100644 (file)
index 0000000..44b672b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/map_view2_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/menu_btn_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/menu_btn_help.png
new file mode 100644 (file)
index 0000000..321ad55
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/menu_btn_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/miles_button_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/miles_button_blur.png
new file mode 100644 (file)
index 0000000..94e97d3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/miles_button_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/mute_button_active_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/mute_button_active_blur.png
new file mode 100644 (file)
index 0000000..0b48299
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/mute_button_active_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/mute_button_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/mute_button_blur.png
new file mode 100644 (file)
index 0000000..4d54de9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/mute_button_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/nav_bg_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/nav_bg_blur.png
new file mode 100644 (file)
index 0000000..b88b049
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/nav_bg_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/navigation_destnation_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/navigation_destnation_bg_help.png
new file mode 100644 (file)
index 0000000..cfbca33
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/navigation_destnation_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/repeate_btn_yellow_border.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/repeate_btn_yellow_border.png
new file mode 100644 (file)
index 0000000..bb7a41d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/repeate_btn_yellow_border.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/street_bar_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/street_bar_blur.png
new file mode 100644 (file)
index 0000000..c8b493c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/street_bar_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/top_menu_yellow_border.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/top_menu_yellow_border.png
new file mode 100644 (file)
index 0000000..90048a8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/top_menu_yellow_border.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/type_2_content_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/type_2_content_blur.png
new file mode 100644 (file)
index 0000000..2a44c13
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/type_2_content_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/type_3_content_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/type_3_content_blur.png
new file mode 100644 (file)
index 0000000..9150a9c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/type_3_content_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/type_view_button_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/type_view_button_help.png
new file mode 100644 (file)
index 0000000..4d99c22
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/type_view_button_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/view_type1_button_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/view_type1_button_blur.png
new file mode 100644 (file)
index 0000000..33c15fd
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/view_type1_button_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/view_type2_button_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/view_type2_button_blur.png
new file mode 100644 (file)
index 0000000..cd7430f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/view_type2_button_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/view_type3_button_blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/view_type3_button_blur.png
new file mode 100644 (file)
index 0000000..acbec58
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/view_type3_button_blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/zoom_buttons_all_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/zoom_buttons_all_active.png
new file mode 100644 (file)
index 0000000..62385b0
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/zoom_buttons_all_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/zoom_buttons_minus_disabled.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/zoom_buttons_minus_disabled.png
new file mode 100644 (file)
index 0000000..9e19323
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/zoom_buttons_minus_disabled.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/zoom_buttons_plus_disabled.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/zoom_buttons_plus_disabled.png
new file mode 100644 (file)
index 0000000..ff35eb1
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help/zoom_buttons_plus_disabled.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help_nav_wrap.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help_nav_wrap.png
new file mode 100644 (file)
index 0000000..b410cc6
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/help_nav_wrap.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ico_nav_statusbar.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ico_nav_statusbar.png
new file mode 100644 (file)
index 0000000..e357cb0
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ico_nav_statusbar.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ico_pushToTalk.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ico_pushToTalk.png
new file mode 100644 (file)
index 0000000..033ea93
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ico_pushToTalk.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ind_horiz_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ind_horiz_active.png
new file mode 100644 (file)
index 0000000..bc6c905
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ind_horiz_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ind_horiz_def.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ind_horiz_def.png
new file mode 100644 (file)
index 0000000..e420c34
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/ind_horiz_def.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/left_arrow.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/left_arrow.png
new file mode 100644 (file)
index 0000000..4c5eca9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/left_arrow.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_0.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_0.png
new file mode 100644 (file)
index 0000000..c6299a0
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_0.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_1.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_1.png
new file mode 100644 (file)
index 0000000..d53739d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_1.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_2.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_2.png
new file mode 100644 (file)
index 0000000..0977a7f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_2.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_3.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_3.png
new file mode 100644 (file)
index 0000000..3894f0b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_heading_up_zoom_3.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_0.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_0.png
new file mode 100644 (file)
index 0000000..13eab9c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_0.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_1.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_1.png
new file mode 100644 (file)
index 0000000..408fde3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_1.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_2.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_2.png
new file mode 100644 (file)
index 0000000..7c73f62
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_2.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_3.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_3.png
new file mode 100644 (file)
index 0000000..c04a6e0
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map2d_north_zoom_3.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_0.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_0.png
new file mode 100644 (file)
index 0000000..b17aab8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_0.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_1.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_1.png
new file mode 100644 (file)
index 0000000..fe7826c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_1.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_2.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_2.png
new file mode 100644 (file)
index 0000000..08a1352
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_2.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_3.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_3.png
new file mode 100644 (file)
index 0000000..17b72e2
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map3d_zoom_3.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view2.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view2.png
new file mode 100644 (file)
index 0000000..f6b891a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view2.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view2_with_icons.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view2_with_icons.png
new file mode 100644 (file)
index 0000000..33300ab
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view2_with_icons.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view3.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view3.png
new file mode 100644 (file)
index 0000000..cd74d32
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view3.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view_btn_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view_btn_bg.png
new file mode 100644 (file)
index 0000000..eb4a227
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view_btn_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view_btn_bg_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view_btn_bg_pressed.png
new file mode 100644 (file)
index 0000000..6eedbc6
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/map_view_btn_bg_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/mute.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/mute.png
new file mode 100644 (file)
index 0000000..07a6f52
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/mute.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_arrow.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_arrow.png
new file mode 100644 (file)
index 0000000..20dbc48
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_arrow.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_bg.png
new file mode 100644 (file)
index 0000000..7bca8dd
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_bg_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_bg_pressed.png
new file mode 100644 (file)
index 0000000..cbe812b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_bg_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_help_led.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_help_led.png
new file mode 100644 (file)
index 0000000..0be981a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/nav_help_led.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/red_arrow.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/red_arrow.png
new file mode 100644 (file)
index 0000000..2ef8612
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/red_arrow.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/right_arrow.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/right_arrow.png
new file mode 100644 (file)
index 0000000..7ee8e3f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/right_arrow.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/small_ind_def.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/small_ind_def.png
new file mode 100644 (file)
index 0000000..5b00560
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/small_ind_def.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/small_ind_yell.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/small_ind_yell.png
new file mode 100644 (file)
index 0000000..4015bc4
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/small_ind_yell.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/street.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/street.png
new file mode 100644 (file)
index 0000000..617c278
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/street.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/top_menu_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/top_menu_bg.png
new file mode 100644 (file)
index 0000000..f397c69
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/top_menu_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/top_menu_delim.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/top_menu_delim.png
new file mode 100644 (file)
index 0000000..0c93b4b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/top_menu_delim.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type.png
new file mode 100644 (file)
index 0000000..b6cde33
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_d.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_d.png
new file mode 100644 (file)
index 0000000..13a41bb
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_d.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_h.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_h.png
new file mode 100644 (file)
index 0000000..f83d4df
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_h.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_n.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_n.png
new file mode 100644 (file)
index 0000000..70f8c5b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_n.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_pressed.png
new file mode 100644 (file)
index 0000000..c10909a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_view_btn_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_view_btn_bg.png
new file mode 100644 (file)
index 0000000..e88f820
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_view_btn_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_view_btn_bg_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_view_btn_bg_pressed.png
new file mode 100644 (file)
index 0000000..c1eb099
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/type_view_btn_bg_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_bg.png
new file mode 100644 (file)
index 0000000..dc327c4
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_bg_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_bg_active.png
new file mode 100644 (file)
index 0000000..6d9d822
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_bg_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_in.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_in.png
new file mode 100644 (file)
index 0000000..8e8eb11
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_in.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_in_dis.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_in_dis.png
new file mode 100644 (file)
index 0000000..f96417b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_in_dis.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_out.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_out.png
new file mode 100644 (file)
index 0000000..3551f7d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_out.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_out_dis.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_out_dis.png
new file mode 100644 (file)
index 0000000..c8fb77d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/nav/zoom_out_dis.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/bcs-item_bg_act.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/bcs-item_bg_act.png
new file mode 100644 (file)
index 0000000..f89fa84
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/bcs-item_bg_act.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/bg.png
new file mode 100644 (file)
index 0000000..ffcf3e6
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/book-filter-bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/book-filter-bg.png
new file mode 100644 (file)
index 0000000..abc1b05
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/book-filter-bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/btn_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/btn_bg.png
new file mode 100644 (file)
index 0000000..cfb28da
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/btn_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/btn_bg_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/btn_bg_pressed.png
new file mode 100644 (file)
index 0000000..c589b25
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/btn_bg_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/controls_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/controls_bg.png
new file mode 100644 (file)
index 0000000..9bb555e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/controls_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/controls_bg_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/controls_bg_pressed.png
new file mode 100644 (file)
index 0000000..ee895f7
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/controls_bg_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/del.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/del.png
new file mode 100644 (file)
index 0000000..714b1ed
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/del.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/dial.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/dial.png
new file mode 100644 (file)
index 0000000..56b95bf
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/dial.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/dial_photo.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/dial_photo.png
new file mode 100644 (file)
index 0000000..d995584
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/dial_photo.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/end.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/end.png
new file mode 100644 (file)
index 0000000..2d622bc
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/end.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/history-filter-bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/history-filter-bg.png
new file mode 100644 (file)
index 0000000..e780a41
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/history-filter-bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_bluetoothConnect.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_bluetoothConnect.png
new file mode 100644 (file)
index 0000000..68ef92c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_bluetoothConnect.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_cellPhone.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_cellPhone.png
new file mode 100644 (file)
index 0000000..580aebe
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_cellPhone.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_history.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_history.png
new file mode 100644 (file)
index 0000000..7ac3da4
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_history.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_messaging.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_messaging.png
new file mode 100644 (file)
index 0000000..5492ccf
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_messaging.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_phone.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_phone.png
new file mode 100644 (file)
index 0000000..68bcf40
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_phone.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_phoneMelody.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_phoneMelody.png
new file mode 100644 (file)
index 0000000..49bb104
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_phoneMelody.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_phonebook.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_phonebook.png
new file mode 100644 (file)
index 0000000..9536bf5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_phonebook.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_questionMark.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_questionMark.png
new file mode 100644 (file)
index 0000000..1b09700
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_questionMark.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_quickdial.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_quickdial.png
new file mode 100644 (file)
index 0000000..dbd686a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_quickdial.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_settings.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_settings.png
new file mode 100644 (file)
index 0000000..8f54f01
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_settings.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_sound_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_sound_active.png
new file mode 100644 (file)
index 0000000..57dc7f4
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_sound_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_star.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_star.png
new file mode 100644 (file)
index 0000000..61203a6
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/ico_star.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/incoming_call_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/incoming_call_ico.png
new file mode 100644 (file)
index 0000000..7f4d352
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/incoming_call_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/center_btn.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/center_btn.png
new file mode 100644 (file)
index 0000000..9661ecd
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/center_btn.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/center_btn_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/center_btn_pressed.png
new file mode 100644 (file)
index 0000000..42ac69b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/center_btn_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/left_btn.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/left_btn.png
new file mode 100644 (file)
index 0000000..d043b42
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/left_btn.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/left_btn_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/left_btn_pressed.png
new file mode 100644 (file)
index 0000000..287c1ea
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/left_btn_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/right_btn.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/right_btn.png
new file mode 100644 (file)
index 0000000..30f7ec9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/right_btn.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/right_btn_pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/right_btn_pressed.png
new file mode 100644 (file)
index 0000000..9f67dd0
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/keypad/right_btn_pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/menu_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/menu_active.png
new file mode 100644 (file)
index 0000000..776e857
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/menu_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/menu_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/menu_bg.png
new file mode 100644 (file)
index 0000000..7de8abe
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/menu_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/missed_call_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/missed_call_ico.png
new file mode 100644 (file)
index 0000000..6abacba
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/missed_call_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/msg-list-bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/msg-list-bg.png
new file mode 100644 (file)
index 0000000..0e9c456
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/msg-list-bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/msg-r-group-bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/msg-r-group-bg.png
new file mode 100644 (file)
index 0000000..8d0dfe4
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/msg-r-group-bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/number_area.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/number_area.png
new file mode 100644 (file)
index 0000000..eeb1e39
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/number_area.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/outgoing_call_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/outgoing_call_ico.png
new file mode 100644 (file)
index 0000000..0ca77c3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/outgoing_call_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone-ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone-ico.png
new file mode 100644 (file)
index 0000000..4e79746
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone-ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_antena.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_antena.png
new file mode 100644 (file)
index 0000000..c5aac39
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_antena.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_button48_bg_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_button48_bg_active.png
new file mode 100644 (file)
index 0000000..e6607db
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_button48_bg_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_button_bg_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_button_bg_active.png
new file mode 100644 (file)
index 0000000..6e7e073
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_button_bg_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_dialpad.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_dialpad.png
new file mode 100644 (file)
index 0000000..c362036
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_dialpad.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_history.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_history.png
new file mode 100644 (file)
index 0000000..d3113ef
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_history.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_menu.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_menu.png
new file mode 100644 (file)
index 0000000..b5d4bb8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_menu.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_messaging.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_messaging.png
new file mode 100644 (file)
index 0000000..ee16968
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_messaging.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_phonebook.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_phonebook.png
new file mode 100644 (file)
index 0000000..20b274b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_phonebook.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_quickdial.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_quickdial.png
new file mode 100644 (file)
index 0000000..e672d5d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_quickdial.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_settings.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_settings.png
new file mode 100644 (file)
index 0000000..91d888e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_help_settings.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_info_sample.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_info_sample.png
new file mode 100644 (file)
index 0000000..7fb7971
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_info_sample.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_bluetoothDevices_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_bluetoothDevices_bg_help.png
new file mode 100644 (file)
index 0000000..7fde12d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_bluetoothDevices_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_internetDataConnection_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_internetDataConnection_bg_help.png
new file mode 100644 (file)
index 0000000..4b93b46
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_internetDataConnection_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_phoneBook_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_phoneBook_bg_help.png
new file mode 100644 (file)
index 0000000..716011c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_phoneBook_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_phoneRinger_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_phoneRinger_bg_help.png
new file mode 100644 (file)
index 0000000..c8c8dfb
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_phoneRinger_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_textMessageNotification_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_textMessageNotification_bg_help.png
new file mode 100644 (file)
index 0000000..a90f15f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/phone_settings_textMessageNotification_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/quick_dial_inact_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/quick_dial_inact_bg.png
new file mode 100644 (file)
index 0000000..e92caac
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/quick_dial_inact_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/signal-ico-blur.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/signal-ico-blur.png
new file mode 100644 (file)
index 0000000..7470cdb
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/signal-ico-blur.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/signal-ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/signal-ico.png
new file mode 100644 (file)
index 0000000..2cf32be
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/phone/signal-ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/done_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/done_ico.png
new file mode 100644 (file)
index 0000000..3099408
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/done_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/frd_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/frd_ico.png
new file mode 100644 (file)
index 0000000..9af7a41
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/frd_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/pause.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/pause.png
new file mode 100644 (file)
index 0000000..4cb45ea
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/pause.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/play.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/play.png
new file mode 100644 (file)
index 0000000..077482c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/play.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/player_active_control.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/player_active_control.png
new file mode 100644 (file)
index 0000000..ab92891
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/player_active_control.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/player_free_control.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/player_free_control.png
new file mode 100644 (file)
index 0000000..48bc8b1
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/player_free_control.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/player_prog_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/player_prog_bg.png
new file mode 100644 (file)
index 0000000..19440c6
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/player_prog_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/prog_ind.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/prog_ind.png
new file mode 100644 (file)
index 0000000..ac88eb9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/prog_ind.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/rewind_ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/rewind_ico.png
new file mode 100644 (file)
index 0000000..53340d1
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/player/rewind_ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/Warning.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/Warning.png
new file mode 100644 (file)
index 0000000..e59dcd0
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/Warning.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/audio_icon.jpg b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/audio_icon.jpg
new file mode 100644 (file)
index 0000000..22efcfa
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/audio_icon.jpg differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/devices.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/devices.png
new file mode 100644 (file)
index 0000000..91979c5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/devices.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/new_apps.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/new_apps.png
new file mode 100644 (file)
index 0000000..85a75c2
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/sdl/new_apps.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/911-ico.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/911-ico.png
new file mode 100644 (file)
index 0000000..123d12e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/911-ico.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/Cushion_WhiteOutline_driver.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/Cushion_WhiteOutline_driver.png
new file mode 100644 (file)
index 0000000..3e42d84
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/Cushion_WhiteOutline_driver.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/Cushion_WhiteOutline_passenger.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/Cushion_WhiteOutline_passenger.png
new file mode 100644 (file)
index 0000000..7887604
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/Cushion_WhiteOutline_passenger.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/LowerLumbar_WhiteOutline_driver.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/LowerLumbar_WhiteOutline_driver.png
new file mode 100644 (file)
index 0000000..396f39b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/LowerLumbar_WhiteOutline_driver.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/LowerLumbar_WhiteOutline_passenger.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/LowerLumbar_WhiteOutline_passenger.png
new file mode 100644 (file)
index 0000000..bec2874
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/LowerLumbar_WhiteOutline_passenger.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/MassageCircle.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/MassageCircle.png
new file mode 100644 (file)
index 0000000..d246736
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/MassageCircle.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/MiddleLumbar_WhiteOutline_driver.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/MiddleLumbar_WhiteOutline_driver.png
new file mode 100644 (file)
index 0000000..1f4d150
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/MiddleLumbar_WhiteOutline_driver.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/MiddleLumbar_WhiteOutline_passenger.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/MiddleLumbar_WhiteOutline_passenger.png
new file mode 100644 (file)
index 0000000..83761de
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/MiddleLumbar_WhiteOutline_passenger.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/SettingsVehicleEnableValetMode.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/SettingsVehicleEnableValetMode.png
new file mode 100644 (file)
index 0000000..99718d3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/SettingsVehicleEnableValetMode.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/TopLumbar_WhiteOutline_driver.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/TopLumbar_WhiteOutline_driver.png
new file mode 100644 (file)
index 0000000..9354aa5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/TopLumbar_WhiteOutline_driver.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/TopLumbar_WhiteOutline_passenger.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/TopLumbar_WhiteOutline_passenger.png
new file mode 100644 (file)
index 0000000..c406b81
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/TopLumbar_WhiteOutline_passenger.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/WhiteOutline_driver-lumbar-all.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/WhiteOutline_driver-lumbar-all.png
new file mode 100644 (file)
index 0000000..25d9d82
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/WhiteOutline_driver-lumbar-all.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/WhiteOutline_passenger-lumbar-all.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/WhiteOutline_passenger-lumbar-all.png
new file mode 100644 (file)
index 0000000..e0d172e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/WhiteOutline_passenger-lumbar-all.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/arr-r-disable.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/arr-r-disable.png
new file mode 100644 (file)
index 0000000..acdfb56
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/arr-r-disable.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/arr-r.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/arr-r.png
new file mode 100644 (file)
index 0000000..05d8e97
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/arr-r.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-28h-gray-active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-28h-gray-active.png
new file mode 100644 (file)
index 0000000..2b4b2ee
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-28h-gray-active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-28h.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-28h.png
new file mode 100644 (file)
index 0000000..034c061
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-28h.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-48h-gray-active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-48h-gray-active.png
new file mode 100644 (file)
index 0000000..3090901
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-48h-gray-active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-48h.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-48h.png
new file mode 100644 (file)
index 0000000..89fe73b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-48h.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-68h-pressed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-68h-pressed.png
new file mode 100644 (file)
index 0000000..8d90ca7
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-68h-pressed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-68h.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-68h.png
new file mode 100644 (file)
index 0000000..e1f8181
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-68h.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-98h.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-98h.png
new file mode 100644 (file)
index 0000000..be25c0c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/btn-98h.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/center-button.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/center-button.png
new file mode 100644 (file)
index 0000000..fd407b7
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/center-button.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/dial.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/dial.png
new file mode 100644 (file)
index 0000000..56b95bf
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/dial.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-all.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-all.png
new file mode 100644 (file)
index 0000000..115d0c4
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-all.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-low.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-low.png
new file mode 100644 (file)
index 0000000..5944104
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-low.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-bottom-selected.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-bottom-selected.png
new file mode 100644 (file)
index 0000000..c57f56a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-bottom-selected.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-bottom.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-bottom.png
new file mode 100644 (file)
index 0000000..7d61175
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-bottom.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-top-selected.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-top-selected.png
new file mode 100644 (file)
index 0000000..11df1fa
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-top-selected.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-top.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-top.png
new file mode 100644 (file)
index 0000000..8c97c97
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-m-top.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-mid.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-mid.png
new file mode 100644 (file)
index 0000000..6021831
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-mid.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-top.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-top.png
new file mode 100644 (file)
index 0000000..c07860f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/driver-lumbar-top.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_911assist.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_911assist.png
new file mode 100644 (file)
index 0000000..3a405f3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_911assist.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_LED.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_LED.png
new file mode 100644 (file)
index 0000000..61a0fff
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_LED.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_ambientLighting.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_ambientLighting.png
new file mode 100644 (file)
index 0000000..9b580b2
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_ambientLighting.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_assist.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_assist.png
new file mode 100644 (file)
index 0000000..c770a5f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_assist.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_backspace.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_backspace.png
new file mode 100644 (file)
index 0000000..572f24b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_backspace.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_clock.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_clock.png
new file mode 100644 (file)
index 0000000..28bc2fc
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_clock.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_clock_plus_comtrol.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_clock_plus_comtrol.png
new file mode 100644 (file)
index 0000000..b4be9cd
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_clock_plus_comtrol.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_display.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_display.png
new file mode 100644 (file)
index 0000000..72f7302
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_display.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_distance.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_distance.png
new file mode 100644 (file)
index 0000000..06fbb27
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_distance.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_doorKeypadCode.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_doorKeypadCode.png
new file mode 100644 (file)
index 0000000..993f5d3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_doorKeypadCode.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_enableValetMode.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_enableValetMode.png
new file mode 100644 (file)
index 0000000..a75b7f3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_enableValetMode.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_forbiddance.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_forbiddance.png
new file mode 100644 (file)
index 0000000..86560c5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_forbiddance.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_help.png
new file mode 100644 (file)
index 0000000..41df727
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_languages.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_languages.png
new file mode 100644 (file)
index 0000000..695c40b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_languages.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_licenses.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_licenses.png
new file mode 100644 (file)
index 0000000..4c72f0b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_licenses.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_minus_control.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_minus_control.png
new file mode 100644 (file)
index 0000000..65a142f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_minus_control.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_navigation.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_navigation.png
new file mode 100644 (file)
index 0000000..556b759
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_navigation.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_on-off-wide.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_on-off-wide.png
new file mode 100644 (file)
index 0000000..734907a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_on-off-wide.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_on-off.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_on-off.png
new file mode 100644 (file)
index 0000000..1cd7fe9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_on-off.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_phone.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_phone.png
new file mode 100644 (file)
index 0000000..29d214b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_phone.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_phone_off.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_phone_off.png
new file mode 100644 (file)
index 0000000..fb41c5e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_phone_off.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_player.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_player.png
new file mode 100644 (file)
index 0000000..ecdb288
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_player.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-minus-pannel-disabled.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-minus-pannel-disabled.png
new file mode 100644 (file)
index 0000000..c5a7b31
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-minus-pannel-disabled.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-minus-pannel.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-minus-pannel.png
new file mode 100644 (file)
index 0000000..064df2b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-minus-pannel.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-minus-pannel_disabled.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-minus-pannel_disabled.png
new file mode 100644 (file)
index 0000000..6dfbf66
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-minus-pannel_disabled.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-zero-minus-pannel.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-zero-minus-pannel.png
new file mode 100644 (file)
index 0000000..0281290
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_plus-zero-minus-pannel.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_rearViewCamera.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_rearViewCamera.png
new file mode 100644 (file)
index 0000000..b42e458
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_rearViewCamera.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings.png
new file mode 100644 (file)
index 0000000..d65777e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_clock_toggle_12-24.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_clock_toggle_12-24.png
new file mode 100644 (file)
index 0000000..caa39a1
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_clock_toggle_12-24.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_clock_toggle_on-off.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_clock_toggle_on-off.png
new file mode 100644 (file)
index 0000000..1cd7fe9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_clock_toggle_on-off.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_clock_toggle_time-date.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_clock_toggle_time-date.png
new file mode 100644 (file)
index 0000000..4c1cd0a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_clock_toggle_time-date.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_avoidFerries.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_avoidFerries.png
new file mode 100644 (file)
index 0000000..71e01f5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_avoidFerries.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_avoidFreeways.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_avoidFreeways.png
new file mode 100644 (file)
index 0000000..c258803
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_avoidFreeways.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_avoidTollroads.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_avoidTollroads.png
new file mode 100644 (file)
index 0000000..9b7c805
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_avoidTollroads.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_useHOV.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_useHOV.png
new file mode 100644 (file)
index 0000000..45de6c1
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_settings_navigation_routePreferences_useHOV.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_white.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_white.png
new file mode 100644 (file)
index 0000000..86307d5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_settings_white.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_sound.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_sound.png
new file mode 100644 (file)
index 0000000..e18cdfe
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_sound.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_temperature.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_temperature.png
new file mode 100644 (file)
index 0000000..adeb68b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_temperature.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_upArrow.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_upArrow.png
new file mode 100644 (file)
index 0000000..821b948
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_upArrow.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_vehicle.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_vehicle.png
new file mode 100644 (file)
index 0000000..0904897
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_vehicle.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_vehicleHealthReport.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_vehicleHealthReport.png
new file mode 100644 (file)
index 0000000..f093c0e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_vehicleHealthReport.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_vehicle_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_vehicle_help.png
new file mode 100644 (file)
index 0000000..0904897
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_vehicle_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_voice.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_voice.png
new file mode 100644 (file)
index 0000000..31505e4
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_voice.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_wireless.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_wireless.png
new file mode 100644 (file)
index 0000000..3ef8431
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ico_wireless.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ioc_backspace.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ioc_backspace.png
new file mode 100644 (file)
index 0000000..40fe84c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ioc_backspace.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ls-item_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ls-item_bg.png
new file mode 100644 (file)
index 0000000..fd31fb3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/ls-item_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion.png
new file mode 100644 (file)
index 0000000..f9cc75e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_bot-active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_bot-active.png
new file mode 100644 (file)
index 0000000..ea59699
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_bot-active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_bot_passanger-active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_bot_passanger-active.png
new file mode 100644 (file)
index 0000000..4a99d11
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_bot_passanger-active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_top-active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_top-active.png
new file mode 100644 (file)
index 0000000..bf66142
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_top-active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_top_passenger-active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_top_passenger-active.png
new file mode 100644 (file)
index 0000000..f13590e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/lumbar_cushion_top_passenger-active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageBottom.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageBottom.png
new file mode 100644 (file)
index 0000000..63837ed
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageBottom.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageHorisontal.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageHorisontal.png
new file mode 100644 (file)
index 0000000..0bcd4b7
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageHorisontal.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageRound.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageRound.png
new file mode 100644 (file)
index 0000000..5cc0954
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageRound.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageTop.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageTop.png
new file mode 100644 (file)
index 0000000..cb6dc10
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageTop.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageVertical.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageVertical.png
new file mode 100644 (file)
index 0000000..770cc06
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/massageVertical.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/mcsBlockBackArrow6_1.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/mcsBlockBackArrow6_1.png
new file mode 100644 (file)
index 0000000..5559a50
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/mcsBlockBackArrow6_1.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/mcsBlockBackArrow6_2.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/mcsBlockBackArrow6_2.png
new file mode 100644 (file)
index 0000000..2e0ef72
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/mcsBlockBackArrow6_2.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/menu_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/menu_active.png
new file mode 100644 (file)
index 0000000..b4cf727
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/menu_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-all.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-all.png
new file mode 100644 (file)
index 0000000..c0131e9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-all.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-low.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-low.png
new file mode 100644 (file)
index 0000000..d714f6a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-low.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-bottom-selected.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-bottom-selected.png
new file mode 100644 (file)
index 0000000..0dd8a42
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-bottom-selected.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-bottom.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-bottom.png
new file mode 100644 (file)
index 0000000..31734c6
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-bottom.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-top-selected.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-top-selected.png
new file mode 100644 (file)
index 0000000..e145958
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-top-selected.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-top.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-top.png
new file mode 100644 (file)
index 0000000..b7e4755
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-m-top.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-mid.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-mid.png
new file mode 100644 (file)
index 0000000..bf0a06c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-mid.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-top.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-top.png
new file mode 100644 (file)
index 0000000..b0266ed
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger-lumbar-top.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger_lumbar_cushion.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger_lumbar_cushion.png
new file mode 100644 (file)
index 0000000..0293cda
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/passenger_lumbar_cushion.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_down.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_down.png
new file mode 100644 (file)
index 0000000..d160605
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_down.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_down_active.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_down_active.png
new file mode 100644 (file)
index 0000000..f609eca
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_down_active.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_down_inactive.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_down_inactive.png
new file mode 100644 (file)
index 0000000..418379f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_down_inactive.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_up.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_up.png
new file mode 100644 (file)
index 0000000..6ae4d68
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_up.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_up_inactive.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_up_inactive.png
new file mode 100644 (file)
index 0000000..328ed7a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/scroll_up_inactive.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seat-left.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seat-left.png
new file mode 100644 (file)
index 0000000..f6836b7
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seat-left.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seat-right.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seat-right.png
new file mode 100644 (file)
index 0000000..d65a4e8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seat-right.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats-message-bottom.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats-message-bottom.png
new file mode 100644 (file)
index 0000000..d079ddf
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats-message-bottom.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats-message-top.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats-message-top.png
new file mode 100644 (file)
index 0000000..ae0bf37
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats-message-top.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats-message.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats-message.png
new file mode 100644 (file)
index 0000000..8b1ac7a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats-message.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats.png
new file mode 100644 (file)
index 0000000..aecd5f7
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seats.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seetings_help_VoiceCommandsList_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seetings_help_VoiceCommandsList_bg_help.png
new file mode 100644 (file)
index 0000000..a7ca3da
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seetings_help_VoiceCommandsList_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seetings_help_softwareLicenses_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seetings_help_softwareLicenses_bg_help.png
new file mode 100644 (file)
index 0000000..6a292e7
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/seetings_help_softwareLicenses_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_clock_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_clock_bg_help.png
new file mode 100644 (file)
index 0000000..b08f501
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_clock_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_VoiceCommandList_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_VoiceCommandList_bg_help.png
new file mode 100644 (file)
index 0000000..4d0636f
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_VoiceCommandList_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_WhereAmI_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_WhereAmI_bg.png
new file mode 100644 (file)
index 0000000..b9d1a53
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_WhereAmI_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_WhereAmI_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_WhereAmI_bg_help.png
new file mode 100644 (file)
index 0000000..a144998
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_WhereAmI_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_help.png
new file mode 100644 (file)
index 0000000..7538856
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_systemInformation_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_systemInformation_bg_help.png
new file mode 100644 (file)
index 0000000..cc6de5a
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_help_systemInformation_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_bg_help.png
new file mode 100644 (file)
index 0000000..d750618
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_media_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_media_bg_help.png
new file mode 100644 (file)
index 0000000..9f1cfb6
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_media_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_media_bluetoothDevices_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_media_bluetoothDevices_bg_help.png
new file mode 100644 (file)
index 0000000..038023b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_media_bluetoothDevices_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_avoidAreas_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_avoidAreas_bg_help.png
new file mode 100644 (file)
index 0000000..c741201
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_avoidAreas_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_bg_help.png
new file mode 100644 (file)
index 0000000..7ec05db
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_mapPreferences_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_mapPreferences_bg_help.png
new file mode 100644 (file)
index 0000000..5f05009
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_mapPreferences_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_navigationPreferences_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_navigationPreferences_bg_help.png
new file mode 100644 (file)
index 0000000..d575334
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_navigationPreferences_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_routePreferences_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_routePreferences_bg_help.png
new file mode 100644 (file)
index 0000000..50c8558
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_routePreferences_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_trafficPreferences_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_trafficPreferences_bg_help.png
new file mode 100644 (file)
index 0000000..ef89d0d
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_navigation_trafficPreferences_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_system_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_system_bg_help.png
new file mode 100644 (file)
index 0000000..8ec899c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_system_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_system_keyboardLayout_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_system_keyboardLayout_bg_help.png
new file mode 100644 (file)
index 0000000..ce910b8
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_system_keyboardLayout_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_system_settings_settings_system_installApplications_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_system_settings_settings_system_installApplications_bg_help.png
new file mode 100644 (file)
index 0000000..98974e4
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_settings_system_settings_settings_system_installApplications_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_sound_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_sound_bg_help.png
new file mode 100644 (file)
index 0000000..bbc2e7c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_sound_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_amberLight_bg-help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_amberLight_bg-help.png
new file mode 100644 (file)
index 0000000..6d37684
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_amberLight_bg-help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_amberLight_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_amberLight_bg.png
new file mode 100644 (file)
index 0000000..856650e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_amberLight_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_enableValetMode_enterPIN_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_enableValetMode_enterPIN_bg_help.png
new file mode 100644 (file)
index 0000000..6d97cc3
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_enableValetMode_enterPIN_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_enableValetMode_popUp_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_enableValetMode_popUp_bg_help.png
new file mode 100644 (file)
index 0000000..1526cdf
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_enableValetMode_popUp_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_help.png
new file mode 100644 (file)
index 0000000..6fd5c65
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settings_vehicle_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settints_settings_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settints_settings_help.png
new file mode 100644 (file)
index 0000000..b05e273
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/settints_settings_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/smll-ar-r.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/smll-ar-r.png
new file mode 100644 (file)
index 0000000..a24de21
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/smll-ar-r.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/toggle_selected.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/toggle_selected.png
new file mode 100644 (file)
index 0000000..b8003e4
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/toggle_selected.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/g#439 tmc generic.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/g#439 tmc generic.png
new file mode 100644 (file)
index 0000000..f94cc0e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/g#439 tmc generic.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_acciden.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_acciden.png
new file mode 100644 (file)
index 0000000..5a41811
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_acciden.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_difficultDriving.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_difficultDriving.png
new file mode 100644 (file)
index 0000000..95aab46
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_difficultDriving.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_incident.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_incident.png
new file mode 100644 (file)
index 0000000..d0406de
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_incident.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_reducesVisibility.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_reducesVisibility.png
new file mode 100644 (file)
index 0000000..9368a90
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_reducesVisibility.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_roadClosed.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_roadClosed.png
new file mode 100644 (file)
index 0000000..6f5c07b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_roadClosed.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_roadWorks.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_roadWorks.png
new file mode 100644 (file)
index 0000000..e17e5e9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_roadWorks.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_smog.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_smog.png
new file mode 100644 (file)
index 0000000..3670e07
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_smog.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_snow.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_snow.png
new file mode 100644 (file)
index 0000000..4354bc5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_snow.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_traffic jam.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_traffic jam.png
new file mode 100644 (file)
index 0000000..bdf4fcb
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_traffic jam.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_trafficJam.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_trafficJam.png
new file mode 100644 (file)
index 0000000..bdf4fcb
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_trafficJam.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_turnOnYourRadio.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_turnOnYourRadio.png
new file mode 100644 (file)
index 0000000..20b0d16
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_turnOnYourRadio.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_weatherWarning.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_weatherWarning.png
new file mode 100644 (file)
index 0000000..99a4ea9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trafficPreferences_ico/ico_weatherWarning.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trash.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trash.png
new file mode 100644 (file)
index 0000000..46c9e25
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/trash.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_info_apps_911Assist_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_info_apps_911Assist_help.png
new file mode 100644 (file)
index 0000000..4e237bd
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_info_apps_911Assist_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_Sound_BalanceFader-help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_Sound_BalanceFader-help.png
new file mode 100644 (file)
index 0000000..0e6f31b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_Sound_BalanceFader-help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_Sound_BalanceFader.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_Sound_BalanceFader.png
new file mode 100644 (file)
index 0000000..949779b
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_Sound_BalanceFader.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_display_bg.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_display_bg.png
new file mode 100644 (file)
index 0000000..59a2cb5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_display_bg.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_display_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_display_bg_help.png
new file mode 100644 (file)
index 0000000..5e8dbce
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_display_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_help_911Assist_bg_help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_help_911Assist_bg_help.png
new file mode 100644 (file)
index 0000000..ae01962
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_help_911Assist_bg_help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_help_WhereAmI-help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_help_WhereAmI-help.png
new file mode 100644 (file)
index 0000000..a144998
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_help_WhereAmI-help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_help_WhereAmI.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_help_WhereAmI.png
new file mode 100644 (file)
index 0000000..b9d1a53
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_help_WhereAmI.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_VoiceControl-help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_VoiceControl-help.png
new file mode 100644 (file)
index 0000000..46d70ed
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_VoiceControl-help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_VoiceControl.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_VoiceControl.png
new file mode 100644 (file)
index 0000000..5099593
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_VoiceControl.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessInternet-help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessInternet-help.png
new file mode 100644 (file)
index 0000000..a7ca8c0
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessInternet-help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessInternet.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessInternet.png
new file mode 100644 (file)
index 0000000..bfddd95
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessInternet.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessWifiInternet-help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessWifiInternet-help.png
new file mode 100644 (file)
index 0000000..5547564
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessWifiInternet-help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessWifiInternet.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessWifiInternet.png
new file mode 100644 (file)
index 0000000..76f03ac
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_settings_WirelessWifiInternet.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_DoorKeypadCode-help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_DoorKeypadCode-help.png
new file mode 100644 (file)
index 0000000..1747f14
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_DoorKeypadCode-help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_DoorKeypadCode.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_DoorKeypadCode.png
new file mode 100644 (file)
index 0000000..ea5e93c
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_DoorKeypadCode.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-Passenger_massage_seat.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-Passenger_massage_seat.png
new file mode 100644 (file)
index 0000000..aa13536
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-Passenger_massage_seat.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-driver_massage_seat.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-driver_massage_seat.png
new file mode 100644 (file)
index 0000000..2f9dcab
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-driver_massage_seat.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-left-s.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-left-s.png
new file mode 100644 (file)
index 0000000..b659160
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-left-s.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-right-s.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-right-s.png
new file mode 100644 (file)
index 0000000..5e48188
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat-right-s.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj1.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj1.png
new file mode 100644 (file)
index 0000000..1620e92
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj1.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj1_passenger.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj1_passenger.png
new file mode 100644 (file)
index 0000000..86422f4
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj1_passenger.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj2.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj2.png
new file mode 100644 (file)
index 0000000..06fb8a9
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj2.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj2_passenger.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj2_passenger.png
new file mode 100644 (file)
index 0000000..0a40c51
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_MultiContourSeat_adj2_passenger.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_RearViewCamera-help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_RearViewCamera-help.png
new file mode 100644 (file)
index 0000000..f54c3d5
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_RearViewCamera-help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_RearViewCamera.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_RearViewCamera.png
new file mode 100644 (file)
index 0000000..1de8207
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_RearViewCamera.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_VehicleHealthReport-help.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_VehicleHealthReport-help.png
new file mode 100644 (file)
index 0000000..8514e44
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_VehicleHealthReport-help.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_VehicleHealthReport.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_VehicleHealthReport.png
new file mode 100644 (file)
index 0000000..87b11b6
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/images/settings/view_settings_vehicle_VehicleHealthReport.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/index.html b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/index.html
new file mode 100644 (file)
index 0000000..e2bb688
--- /dev/null
@@ -0,0 +1,224 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml"
+       ontouchmove="event.preventDefault();">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="viewport" content="width=720, height=1280, user-scalable=no" />
+<title>SmartDeviceLink</title>
+
+<!--- Timur input-->
+<script type="text/javascript"
+       src="./css/car/components/jQuery/jquery-1.8.2.js"></script>
+<script type="text/javascript"
+       src="./css/car/components/knockout/knockout.js"></script>
+
+<script type='text/javascript' src='./js/services/bootstrap.js'></script>
+
+<script type="text/javascript"
+       src="./css/car/components/buttonControls/buttonControls.js"></script>
+<script type='text/javascript'
+       src='./css/car/components/topBarIcons/topBarIcons.js'></script>
+<link rel="stylesheet"
+       href="./css/car/components/topBarIcons/topBarIcons.css" />
+
+<!--Styles-->
+<link rel="stylesheet" type="text/css" href="css/buttonControls.css" />
+<link rel="stylesheet" type="text/css" href="css/ffw.css" />
+<link rel="stylesheet" type="text/css" href="css/general.css" />
+<link rel="stylesheet" type="text/css" href="css/home.css" />
+<link rel="stylesheet" type="text/css" href="css/climate.css" />
+<link rel="stylesheet" type="text/css" href="css/phone.css" />
+<link rel="stylesheet" type="text/css" href="css/navigation.css" />
+<link rel="stylesheet" type="text/css" href="css/info.css" />
+<link rel="stylesheet" type="text/css" href="css/settings.css" />
+<link rel="stylesheet" type="text/css" href="css/media.css" />
+<link rel="stylesheet" type="text/css" href="css/help.css" />
+<link rel="stylesheet" type="text/css" href="css/fr.css" />
+<link rel="stylesheet" type="text/css" href="css/sdl.css" />
+<link rel="stylesheet" href="./css/car/components/incomingCall/incomingCall.css" />
+
+<!-- SDL STUFF ADDED BY TIMUR -->
+<!--  jquery and plugins  -->
+
+<!-- jsRender Library Import -->
+<script type="text/javascript"
+       src="./css/car/components/jsViews/jsrender.js"></script>
+<script type="text/javascript"
+       src="./css/car/components/jsViews/template.js"></script>
+
+<!-- User and car theme and javascripts  -->
+<link rel="stylesheet" href="./css/car/car.css" />
+<script type="text/javascript" src="./css/car/car.js"></script>
+<!--
+<link rel="stylesheet" href="./css/user/user.css" />
+<script type="text/javascript" src="./css/user/user.js"></script>
+-->
+
+<link rel="stylesheet" href="./css/style.css" />
+<script type="text/javascript" src="./js/main.js"></script>
+<script type="text/javascript"
+       src="./css/car/components/bottomPanel/bottomPanel.js"></script>
+<!-- up to here -->
+
+
+<!--Libs-->
+
+<script type="text/javascript" src="lib/handlebars-1.0.0.beta.6.js"></script>
+
+<!-- RELEASE's min versions -->
+<!-- Only one Jquery is needed -->
+<!--<script type="text/javascript" src="lib/jquery-1.7.2.min.js"></script>-->
+<script type="text/javascript" src="lib/ember-1.0.pre.min.js"></script>
+
+
+</head>
+<body ontouchmove="event.preventDefault();">
+
+       <!-- Framework -->
+       <script type="text/javascript" src="ffw/Framework.js"></script>
+       <script type="text/javascript" src="ffw/WebSocket.js"></script>
+       <script type="text/javascript" src="ffw/RPCObserver.js"></script>
+       <script type="text/javascript" src="ffw/RPCClient.js"></script>
+       <script type="text/javascript" src="ffw/ButtonsRPC.js"></script>
+       <script type="text/javascript" src="ffw/UIRPC.js"></script>
+       <script type="text/javascript" src="ffw/TTSRPC.js"></script>
+       <script type="text/javascript" src="ffw/VRRPC.js"></script>
+       <script type="text/javascript" src="ffw/VehicleInfoRPC.js"></script>
+       <script type="text/javascript" src="ffw/BasicCommunicationRPC.js"></script>
+
+       <!-- APP -->
+       <script type="text/javascript" src="app/Flags.js"></script>
+       <script type="text/javascript" src="app/SDLApp.js"></script>
+       <!-- locales -->
+       <script type="text/javascript" src="locale/eng.js"></script>
+       <!-- script type="text/javascript" src="locale/fr.js"></script-->
+       <!-- script type="text/javascript" src="locale/rus.js"></script-->
+       <script type="text/javascript" src="locale/locale.js"></script>
+       <script type="text/javascript" src="app/view/WarningView.js"></script>
+
+
+
+       <!-- UI controlls -->
+       <script type="text/javascript" src="app/controlls/Button.js"></script>
+       <script type="text/javascript" src="app/controlls/Label.js"></script>
+       <script type="text/javascript" src="app/controlls/ScrollBar.js"></script>
+       <script type="text/javascript" src="app/controlls/List.js"></script>
+       <script type="text/javascript" src="app/controlls/Indicator.js"></script>
+       <script type="text/javascript" src="app/controlls/MenuList.js"></script>
+       <script type="text/javascript" src="app/controlls/ScrollableText.js"></script>
+
+       <script type="text/javascript" src="app/controlls/sdl/PresetButton.js"></script>
+
+       <!-- utils -->
+       <script type="text/javascript" src="app/util/Audio.js"></script>
+
+       <!-- Models -->
+
+       <script type="text/javascript" src="app/model/media/CDModel.js"></script>
+
+       <script type="text/javascript" src="app/model/PhoneModel.js"></script>
+
+       <!-- SDL models -->
+       <script type="text/javascript" src="app/model/sdl/VehicleInfoModel.js"></script>
+       <script type="text/javascript" src="app/model/sdl/AppModel.js"></script>
+       <script type="text/javascript" src="app/model/sdl/NonMediaModel.js"></script>
+       <script type="text/javascript" src="app/model/sdl/MediaModel.js"></script>
+       <script type="text/javascript" src="app/model/sdl/Model.js"></script>
+       <!-- SDL models END -->
+
+       <!-- Controllers -->
+       <script type="text/javascript" src="app/controller/AppController.js"></script>
+       <script type="text/javascript" src="app/controller/MediaController.js"></script>
+       <script type="text/javascript" src="app/controller/PhoneController.js"></script>
+       <script type="text/javascript" src="app/controller/InfoController.js"></script>
+
+       <script type="text/javascript" src="app/controller/sdl/Controller.js"></script>
+       <script type="text/javascript"
+               src="app/controller/sdl/AppController.js"></script>
+       <script type="text/javascript"
+               src="app/controller/sdl/NonMediaController.js"></script>
+       <script type="text/javascript"
+               src="app/controller/sdl/MediaController.js"></script>
+
+       <!-- Mixins -->
+       <script type="text/javascript" src="app/mixins/PresetEvents.js"></script>
+       <script type="text/javascript" src="app/mixins/PresetEventCustom.js"></script>
+
+       <!-- Views -->
+
+       <!-- phone views -->
+       <script type="text/javascript" src="app/view/phone/dialpadView.js"></script>
+
+       <!-- media views -->
+       <script type="text/javascript"
+               src="app/view/media/sdl/controllsView.js"></script>
+       <script type="text/javascript"
+               src="app/view/media/common/LeftMenuView.js"></script>
+       <script type="text/javascript" src="app/view/media/playerView.js"></script>
+       <script type="text/javascript" src="app/view/media/sdlmediaView.js"></script>
+
+       <!-- info views -->
+       <script type="text/javascript" src="app/view/info/servicesView.js"></script>
+       <script type="text/javascript" src="app/view/info/travelLinkView.js"></script>
+       <script type="text/javascript" src="app/view/info/calendarView.js"></script>
+       <script type="text/javascript" src="app/view/info/appsView.js"></script>
+       <script type="text/javascript" src="app/view/info/devicelistView.js"></script>
+       <script type="text/javascript" src="app/view/info/nonMediaView.js"></script>
+
+       <script type="text/javascript" src="app/view/homeView.js"></script>
+       <script type="text/javascript" src="app/view/mediaView.js"></script>
+       <script type="text/javascript" src="app/view/infoView.js"></script>
+       <script type="text/javascript" src="app/view/climateView.js"></script>
+       <script type="text/javascript" src="app/view/phoneView.js"></script>
+       <script type="text/javascript" src="app/view/navigationView.js"></script>
+       <script type="text/javascript" src="app/view/settingsView.js"></script>
+
+       <!-- home views -->
+       <script type="text/javascript" src="app/view/home/controlButtons.js"></script>
+
+       <script type="text/javascript" src="app/view/home/topControls.js"></script>
+       <script type="text/javascript" src="app/view/home/bottomControls.js"></script>
+
+       <script type="text/javascript" src="app/view/home/statusMediaView.js"></script>
+       <script type="text/javascript" src="app/view/home/statusPhoneView.js"></script>
+       <script type="text/javascript" src="app/view/home/statusInfoView.js"></script>
+       <script type="text/javascript"
+               src="app/view/home/statusNavigationView.js"></script>
+       <script type="text/javascript" src="app/view/home/statusClimateView.js"></script>
+       <!-- SDL views -->
+       <script type="text/javascript"
+               src="app/view/sdl/shared/AbstractView.js"></script>
+       <script type="text/javascript"
+               src="app/view/sdl/shared/interactionChoicesView.js"></script>
+       <script type="text/javascript" src="app/view/sdl/shared/sliderView.js"></script>
+       <script type="text/javascript" src="app/view/sdl/shared/optionsView.js"></script>
+       <script type="text/javascript"
+               src="app/view/sdl/shared/scrollableMessage.js"></script>
+       <script type="text/javascript"
+               src="app/view/sdl/shared/turnByTurnView.js"></script>
+       <script type="text/javascript" src="app/view/sdl/shared/tbtTurnList.js"></script>
+       <script type="text/javascript" src="app/view/sdl/TTSPopUp.js"></script>
+       <script type="text/javascript" src="app/view/sdl/AlertPopUp.js"></script>
+       <script type="text/javascript" src="app/view/sdl/AlertManeuverPopUp.js"></script>
+       <script type="text/javascript" src="app/view/sdl/AudioPassThruPopUp.js"></script>
+       <script type="text/javascript" src="app/view/sdl/VRPopUp.js"></script>
+       <script type="text/javascript" src="app/view/sdl/VehicleInfoView.js"></script>
+       <script type="text/javascript" src="app/view/sdl/tbtClientStateView.js"></script>
+       <script type="text/javascript" src="app/view/sdl/driverDistraction.js"></script>
+
+
+       <script type="text/javascript" src="app/StateManager.js"></script>
+
+       <!-- STATE MACHINE -->
+       <script type="text/javascript" src="app/AppViews.js"></script>
+
+
+       <!-- Big Images Preloader block -->
+       <div id="preloader"></div>
+       <!-- TIMUR -->
+       <div id="bottomPanel" class="bottomPanel bottomPanelImg"></div>
+       <div id="topBarIcons"></div>
+
+</body>
+</html>
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/js/main.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/js/main.js
new file mode 100644 (file)
index 0000000..a105fee
--- /dev/null
@@ -0,0 +1,51 @@
+/**
+ * SDL application integrates [Smart Device Link](http://projects.genivi.org/smartdevicelink/) sample HTML frontend
+ * into Tizen IVI theme. Application requires smarphone with installed SDL application - for testing purposes following
+ * applications for [Android](http://git.projects.genivi.org/?p=smartdevicelink.git;a=tree;f=SDL_Android/SmartDeviceLinkTester)
+ * or [iOS](http://git.projects.genivi.org/?p=smartdevicelink.git;a=tree;f=SDL_iOS/SmartDeviceLinkTester) can be used.
+ *
+ * Application also relies on existing connection to smartphone via WiFi or Bluetooth. Such connection can be
+ * made using {{#crossLinkModule "Settings"}}{{/crossLinkModule}} module from each Tizen IVI application. When connection is
+ * working and devices can see each other it's necessary to start SDL application on smartphone and
+ * [SDL Core](http://git.projects.genivi.org/?p=smartdevicelink.git;a=tree;f=SDL_Core) on head unit to initiate
+ * SDL pairing. Intel Tizen IVI system image contains systemd service which starts SDL Core component during boot
+ * sequence; status of service can be checked using command:
+ *
+ *     systemctl status sdl
+ *
+ * Please refer to document _Preparing system image from scratch_ for additional information about SDL infrastructure.
+ *
+ * After service and smartphone app is running click on `Change devices` button to discover SDL applications.
+ *
+ * Hover and click on elements in images below to navigate to components of SDL application.
+ *
+ * <img id="Image-Maps_1201312180420487" src="../assets/img/sdl.png" usemap="#Image-Maps_1201312180420487" border="0" width="649" height="1152" alt="" />
+ *   <map id="_Image-Maps_1201312180420487" name="Image-Maps_1201312180420487">
+ *     <area shape="rect" coords="0,0,573,78" href="../classes/TopBarIcons.html" alt="top bar icons" title="Top bar icons" />
+ *     <area shape="rect" coords="0,994,644,1147" href="../classes/BottomPanel.html" alt="bottom panel" title="Bottom panel" />
+ *     <area shape="rect" coords="573,1,644,76" href="../modules/Settings.html" alt="Settings" title="Settings" />
+ *   </map>
+ * @module SdlApplication
+ * @main SdlApplication
+ * @class Sdl
+ */
+
+/**
+ * Reference to instance of bootstrap class this class help booting  theme , config and carIndicator
+ * @property bootstrap {Bootstrap}
+ * @private
+ */
+var bootstrap;
+
+/**
+ * Method initializes user interface and create events listeners for status indicators.
+ * @method init
+ */
+var init = function () {
+       bootstrap = new Bootstrap(function(status) {
+               $("#topBarIcons").topBarIconsPlugin('init', 'smartdevicelink');
+               $('#bottomPanel').bottomPanel('init');
+       });
+};
+
+$(document).ready(init);
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/lib/ember-1.0.pre.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/lib/ember-1.0.pre.js
new file mode 100644 (file)
index 0000000..64a1be6
--- /dev/null
@@ -0,0 +1,20709 @@
+// Version: v1.0.pre
+// Last commit: 7955b85 (2012-08-03 14:50:17 -0700)
+
+
+(function() {
+/*global __fail__*/
+
+if ('undefined' === typeof Ember) {
+  Ember = {};
+
+  if ('undefined' !== typeof window) {
+    window.Em = window.Ember = Em = Ember;
+  }
+}
+
+Ember.ENV = 'undefined' === typeof ENV ? {} : ENV;
+
+if (!('MANDATORY_SETTER' in Ember.ENV)) {
+  Ember.ENV.MANDATORY_SETTER = true; // default to true for debug dist
+}
+
+/**
+  Define an assertion that will throw an exception if the condition is not
+  met.  Ember build tools will remove any calls to Ember.assert() when
+  doing a production build. Example:
+
+      // Test for truthiness
+      Ember.assert('Must pass a valid object', obj);
+      // Fail unconditionally
+      Ember.assert('This code path should never be run')
+
+  @static
+  @function
+  @param {String} desc
+    A description of the assertion.  This will become the text of the Error
+    thrown if the assertion fails.
+
+  @param {Boolean} test
+    Must be truthy for the assertion to pass. If falsy, an exception will be
+    thrown.
+*/
+Ember.assert = function(desc, test) {
+  if (!test) throw new Error("assertion failed: "+desc);
+};
+
+
+/**
+  Display a warning with the provided message. Ember build tools will
+  remove any calls to Ember.warn() when doing a production build.
+
+  @static
+  @function
+  @param {String} message
+    A warning to display.
+
+  @param {Boolean} test
+    An optional boolean. If falsy, the warning will be displayed.
+*/
+Ember.warn = function(message, test) {
+  if (!test) {
+    Ember.Logger.warn("WARNING: "+message);
+    if ('trace' in Ember.Logger) Ember.Logger.trace();
+  }
+};
+
+/**
+  Display a deprecation warning with the provided message and a stack trace
+  (Chrome and Firefox only). Ember build tools will remove any calls to
+  Ember.deprecate() when doing a production build.
+
+  @static
+  @function
+  @param {String} message
+    A description of the deprecation.
+
+  @param {Boolean} test
+    An optional boolean. If falsy, the deprecation will be displayed.
+*/
+Ember.deprecate = function(message, test) {
+  if (Ember && Ember.TESTING_DEPRECATION) { return; }
+
+  if (arguments.length === 1) { test = false; }
+  if (test) { return; }
+
+  if (Ember && Ember.ENV.RAISE_ON_DEPRECATION) { throw new Error(message); }
+
+  var error;
+
+  // When using new Error, we can't do the arguments check for Chrome. Alternatives are welcome
+  try { __fail__.fail(); } catch (e) { error = e; }
+
+  if (Ember.LOG_STACKTRACE_ON_DEPRECATION && error.stack) {
+    var stack, stackStr = '';
+    if (error['arguments']) {
+      // Chrome
+      stack = error.stack.replace(/^\s+at\s+/gm, '').
+                          replace(/^([^\(]+?)([\n$])/gm, '{anonymous}($1)$2').
+                          replace(/^Object.<anonymous>\s*\(([^\)]+)\)/gm, '{anonymous}($1)').split('\n');
+      stack.shift();
+    } else {
+      // Firefox
+      stack = error.stack.replace(/(?:\n@:0)?\s+$/m, '').
+                          replace(/^\(/gm, '{anonymous}(').split('\n');
+    }
+
+    stackStr = "\n    " + stack.slice(2).join("\n    ");
+    message = message + stackStr;
+  }
+
+  Ember.Logger.warn("DEPRECATION: "+message);
+};
+
+
+
+/**
+  Display a deprecation warning with the provided message and a stack trace
+  (Chrome and Firefox only) when the wrapped method is called.
+
+  Ember build tools will not remove calls to Ember.deprecateFunc(), though
+  no warnings will be shown in production.
+
+  @static
+  @function
+  @param {String} message
+    A description of the deprecation.
+
+  @param {Function} func
+    The function to be deprecated.
+*/
+Ember.deprecateFunc = function(message, func) {
+  return function() {
+    Ember.deprecate(message);
+    return func.apply(this, arguments);
+  };
+};
+
+
+window.ember_assert         = Ember.deprecateFunc("ember_assert is deprecated. Please use Ember.assert instead.",               Ember.assert);
+window.ember_warn           = Ember.deprecateFunc("ember_warn is deprecated. Please use Ember.warn instead.",                   Ember.warn);
+window.ember_deprecate      = Ember.deprecateFunc("ember_deprecate is deprecated. Please use Ember.deprecate instead.",         Ember.deprecate);
+window.ember_deprecateFunc  = Ember.deprecateFunc("ember_deprecateFunc is deprecated. Please use Ember.deprecateFunc instead.", Ember.deprecateFunc);
+
+})();
+
+// Version: v1.0.pre
+// Last commit: 7955b85 (2012-08-03 14:50:17 -0700)
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Metal
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+/*globals Em:true ENV */
+
+if ('undefined' === typeof Ember) {
+  // Create core object. Make it act like an instance of Ember.Namespace so that
+  // objects assigned to it are given a sane string representation.
+  Ember = {};
+}
+
+/**
+  @namespace
+  @name Ember
+  @version 1.0.pre
+
+  All Ember methods and functions are defined inside of this namespace.
+  You generally should not add new properties to this namespace as it may be
+  overwritten by future versions of Ember.
+
+  You can also use the shorthand "Em" instead of "Ember".
+
+  Ember-Runtime is a framework that provides core functions for
+  Ember including cross-platform functions, support for property
+  observing and objects. Its focus is on small size and performance. You can
+  use this in place of or along-side other cross-platform libraries such as
+  jQuery.
+
+  The core Runtime framework is based on the jQuery API with a number of
+  performance optimizations.
+*/
+
+// aliases needed to keep minifiers from removing the global context
+if ('undefined' !== typeof window) {
+  window.Em = window.Ember = Em = Ember;
+}
+
+// Make sure these are set whether Ember was already defined or not
+
+Ember.isNamespace = true;
+
+Ember.toString = function() { return "Ember"; };
+
+
+/**
+  @static
+  @type String
+  @default '1.0.pre'
+  @constant
+*/
+Ember.VERSION = '1.0.pre';
+
+/**
+  @static
+  @type Hash
+  @constant
+
+  Standard environmental variables.  You can define these in a global `ENV`
+  variable before loading Ember to control various configuration
+  settings.
+*/
+Ember.ENV = Ember.ENV || ('undefined' === typeof ENV ? {} : ENV);
+
+Ember.config = Ember.config || {};
+
+// ..........................................................
+// BOOTSTRAP
+//
+
+/**
+  @static
+  @type Boolean
+  @default true
+  @constant
+
+  Determines whether Ember should enhances some built-in object
+  prototypes to provide a more friendly API.  If enabled, a few methods
+  will be added to Function, String, and Array.  Object.prototype will not be
+  enhanced, which is the one that causes most troubles for people.
+
+  In general we recommend leaving this option set to true since it rarely
+  conflicts with other code.  If you need to turn it off however, you can
+  define an ENV.EXTEND_PROTOTYPES config to disable it.
+*/
+Ember.EXTEND_PROTOTYPES = (Ember.ENV.EXTEND_PROTOTYPES !== false);
+
+/**
+  @static
+  @type Boolean
+  @default true
+  @constant
+
+  Determines whether Ember logs a full stack trace during deprecation warnings
+*/
+Ember.LOG_STACKTRACE_ON_DEPRECATION = (Ember.ENV.LOG_STACKTRACE_ON_DEPRECATION !== false);
+
+/**
+  @static
+  @type Boolean
+  @default Ember.EXTEND_PROTOTYPES
+  @constant
+
+  Determines whether Ember should add ECMAScript 5 shims to older browsers.
+*/
+Ember.SHIM_ES5 = (Ember.ENV.SHIM_ES5 === false) ? false : Ember.EXTEND_PROTOTYPES;
+
+
+/**
+  @static
+  @type Boolean
+  @default true
+  @constant
+
+  Determines whether computed properties are cacheable by default.
+  This option will be removed for the 1.1 release.
+
+  When caching is enabled by default, you can use `volatile()` to disable
+  caching on individual computed properties.
+*/
+Ember.CP_DEFAULT_CACHEABLE = (Ember.ENV.CP_DEFAULT_CACHEABLE !== false);
+
+/**
+  @static
+  @type Boolean
+  @default true
+  @constant
+
+  Determines whether views render their templates using themselves
+  as the context, or whether it is inherited from the parent. This option
+  will be removed in the 1.1 release.
+
+  If you need to update your application to use the new context rules, simply
+  prefix property access with `view.`:
+
+      // Before:
+      {{#each App.photosController}}
+        Photo Title: {{title}}
+        {{#view App.InfoView contentBinding="this"}}
+          {{content.date}}
+          {{content.cameraType}}
+          {{otherViewProperty}}
+        {{/view}}
+      {{/each}}
+
+      // After:
+      {{#each App.photosController}}
+        Photo Title: {{title}}
+        {{#view App.InfoView}}
+          {{date}}
+          {{cameraType}}
+          {{view.otherViewProperty}}
+        {{/view}}
+      {{/each}}
+*/
+Ember.VIEW_PRESERVES_CONTEXT = (Ember.ENV.VIEW_PRESERVES_CONTEXT !== false);
+
+/**
+  Empty function.  Useful for some operations.
+
+  @returns {Object}
+  @private
+*/
+Ember.K = function() { return this; };
+
+/**
+  @namespace
+  @name window
+  @description The global window object
+*/
+
+
+// Stub out the methods defined by the ember-debug package in case it's not loaded
+
+if ('undefined' === typeof Ember.assert) { Ember.assert = Ember.K; }
+if ('undefined' === typeof Ember.warn) { Ember.warn = Ember.K; }
+if ('undefined' === typeof Ember.deprecate) { Ember.deprecate = Ember.K; }
+if ('undefined' === typeof Ember.deprecateFunc) {
+  Ember.deprecateFunc = function(_, func) { return func; };
+}
+
+// These are deprecated but still supported
+
+if ('undefined' === typeof ember_assert) { window.ember_assert = Ember.K; }
+if ('undefined' === typeof ember_warn) { window.ember_warn = Ember.K; }
+if ('undefined' === typeof ember_deprecate) { window.ember_deprecate = Ember.K; }
+if ('undefined' === typeof ember_deprecateFunc) {
+  /** @private */
+  window.ember_deprecateFunc = function(_, func) { return func; };
+}
+
+
+// ..........................................................
+// LOGGER
+//
+
+/**
+  @class
+
+  Inside Ember-Metal, simply uses the window.console object.
+  Override this to provide more robust logging functionality.
+*/
+Ember.Logger = window.console || { log: Ember.K, warn: Ember.K, error: Ember.K, info: Ember.K, debug: Ember.K };
+
+})();
+
+
+
+(function() {
+/*jshint newcap:false*/
+
+// NOTE: There is a bug in jshint that doesn't recognize `Object()` without `new`
+// as being ok unless both `newcap:false` and not `use strict`.
+// https://github.com/jshint/jshint/issues/392
+
+// Testing this is not ideal, but we want to use native functions
+// if available, but not to use versions created by libraries like Prototype
+/** @private */
+var isNativeFunc = function(func) {
+  // This should probably work in all browsers likely to have ES5 array methods
+  return func && Function.prototype.toString.call(func).indexOf('[native code]') > -1;
+};
+
+// From: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/array/map
+/** @private */
+var arrayMap = isNativeFunc(Array.prototype.map) ? Array.prototype.map : function(fun /*, thisp */) {
+  //"use strict";
+
+  if (this === void 0 || this === null) {
+    throw new TypeError();
+  }
+
+  var t = Object(this);
+  var len = t.length >>> 0;
+  if (typeof fun !== "function") {
+    throw new TypeError();
+  }
+
+  var res = new Array(len);
+  var thisp = arguments[1];
+  for (var i = 0; i < len; i++) {
+    if (i in t) {
+      res[i] = fun.call(thisp, t[i], i, t);
+    }
+  }
+
+  return res;
+};
+
+// From: https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/array/foreach
+/** @private */
+var arrayForEach = isNativeFunc(Array.prototype.forEach) ? Array.prototype.forEach : function(fun /*, thisp */) {
+  //"use strict";
+
+  if (this === void 0 || this === null) {
+    throw new TypeError();
+  }
+
+  var t = Object(this);
+  var len = t.length >>> 0;
+  if (typeof fun !== "function") {
+    throw new TypeError();
+  }
+
+  var thisp = arguments[1];
+  for (var i = 0; i < len; i++) {
+    if (i in t) {
+      fun.call(thisp, t[i], i, t);
+    }
+  }
+};
+
+/** @private */
+var arrayIndexOf = isNativeFunc(Array.prototype.indexOf) ? Array.prototype.indexOf : function (obj, fromIndex) {
+  if (fromIndex === null || fromIndex === undefined) { fromIndex = 0; }
+  else if (fromIndex < 0) { fromIndex = Math.max(0, this.length + fromIndex); }
+  for (var i = fromIndex, j = this.length; i < j; i++) {
+    if (this[i] === obj) { return i; }
+  }
+  return -1;
+};
+
+Ember.ArrayPolyfills = {
+  map: arrayMap,
+  forEach: arrayForEach,
+  indexOf: arrayIndexOf
+};
+
+var utils = Ember.EnumerableUtils = {
+  map: function(obj, callback, thisArg) {
+    return obj.map ? obj.map.call(obj, callback, thisArg) : arrayMap.call(obj, callback, thisArg);
+  },
+
+  forEach: function(obj, callback, thisArg) {
+    return obj.forEach ? obj.forEach.call(obj, callback, thisArg) : arrayForEach.call(obj, callback, thisArg);
+  },
+
+  indexOf: function(obj, element, index) {
+    return obj.indexOf ? obj.indexOf.call(obj, element, index) : arrayIndexOf.call(obj, element, index);
+  },
+
+  indexesOf: function(obj, elements) {
+    return elements === undefined ? [] : utils.map(elements, function(item) {
+      return utils.indexOf(obj, item);
+    });
+  },
+
+  removeObject: function(array, item) {
+    var index = utils.indexOf(array, item);
+    if (index !== -1) { array.splice(index, 1); }
+  }
+};
+
+
+if (Ember.SHIM_ES5) {
+  if (!Array.prototype.map) {
+    /** @private */
+    Array.prototype.map = arrayMap;
+  }
+
+  if (!Array.prototype.forEach) {
+    /** @private */
+    Array.prototype.forEach = arrayForEach;
+  }
+
+  if (!Array.prototype.indexOf) {
+    /** @private */
+    Array.prototype.indexOf = arrayIndexOf;
+  }
+}
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Metal
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+/*globals Node */
+/**
+  @class
+
+  Platform specific methods and feature detectors needed by the framework.
+
+  @name Ember.platform
+*/
+var platform = Ember.platform = {};
+
+/**
+  Identical to Object.create().  Implements if not available natively.
+  @memberOf Ember.platform
+  @name create
+*/
+Ember.create = Object.create;
+
+if (!Ember.create) {
+  /** @private */
+  var K = function() {};
+
+  Ember.create = function(obj, props) {
+    K.prototype = obj;
+    obj = new K();
+    if (props) {
+      K.prototype = obj;
+      for (var prop in props) {
+        K.prototype[prop] = props[prop].value;
+      }
+      obj = new K();
+    }
+    K.prototype = null;
+
+    return obj;
+  };
+
+  Ember.create.isSimulated = true;
+}
+
+/** @private */
+var defineProperty = Object.defineProperty;
+var canRedefineProperties, canDefinePropertyOnDOM;
+
+// Catch IE8 where Object.defineProperty exists but only works on DOM elements
+if (defineProperty) {
+  try {
+    defineProperty({}, 'a',{get:function(){}});
+  } catch (e) {
+    /** @private */
+    defineProperty = null;
+  }
+}
+
+if (defineProperty) {
+  // Detects a bug in Android <3.2 where you cannot redefine a property using
+  // Object.defineProperty once accessors have already been set.
+  /** @private */
+  canRedefineProperties = (function() {
+    var obj = {};
+
+    defineProperty(obj, 'a', {
+      configurable: true,
+      enumerable: true,
+      get: function() { },
+      set: function() { }
+    });
+
+    defineProperty(obj, 'a', {
+      configurable: true,
+      enumerable: true,
+      writable: true,
+      value: true
+    });
+
+    return obj.a === true;
+  })();
+
+  // This is for Safari 5.0, which supports Object.defineProperty, but not
+  // on DOM nodes.
+  /** @private */
+  canDefinePropertyOnDOM = (function(){
+    try {
+      defineProperty(document.createElement('div'), 'definePropertyOnDOM', {});
+      return true;
+    } catch(e) { }
+
+    return false;
+  })();
+
+  if (!canRedefineProperties) {
+    /** @private */
+    defineProperty = null;
+  } else if (!canDefinePropertyOnDOM) {
+    /** @private */
+    defineProperty = function(obj, keyName, desc){
+      var isNode;
+
+      if (typeof Node === "object") {
+        isNode = obj instanceof Node;
+      } else {
+        isNode = typeof obj === "object" && typeof obj.nodeType === "number" && typeof obj.nodeName === "string";
+      }
+
+      if (isNode) {
+        // TODO: Should we have a warning here?
+        return (obj[keyName] = desc.value);
+      } else {
+        return Object.defineProperty(obj, keyName, desc);
+      }
+    };
+  }
+}
+
+/**
+  Identical to Object.defineProperty().  Implements as much functionality
+  as possible if not available natively.
+
+  @memberOf Ember.platform
+  @name defineProperty
+  @param {Object} obj The object to modify
+  @param {String} keyName property name to modify
+  @param {Object} desc descriptor hash
+  @returns {void}
+*/
+platform.defineProperty = defineProperty;
+
+/**
+  Set to true if the platform supports native getters and setters.
+
+  @memberOf Ember.platform
+  @name hasPropertyAccessors
+*/
+platform.hasPropertyAccessors = true;
+
+if (!platform.defineProperty) {
+  platform.hasPropertyAccessors = false;
+
+  platform.defineProperty = function(obj, keyName, desc) {
+    if (!desc.get) { obj[keyName] = desc.value; }
+  };
+
+  platform.defineProperty.isSimulated = true;
+}
+
+if (Ember.ENV.MANDATORY_SETTER && !platform.hasPropertyAccessors) {
+  Ember.ENV.MANDATORY_SETTER = false;
+}
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Metal
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var o_defineProperty = Ember.platform.defineProperty,
+    o_create = Ember.create,
+    // Used for guid generation...
+    GUID_KEY = '__ember'+ (+ new Date()),
+    uuid         = 0,
+    numberCache  = [],
+    stringCache  = {};
+
+var MANDATORY_SETTER = Ember.ENV.MANDATORY_SETTER;
+
+/**
+  @private
+  @static
+  @type String
+  @constant
+
+  A unique key used to assign guids and other private metadata to objects.
+  If you inspect an object in your browser debugger you will often see these.
+  They can be safely ignored.
+
+  On browsers that support it, these properties are added with enumeration
+  disabled so they won't show up when you iterate over your properties.
+*/
+Ember.GUID_KEY = GUID_KEY;
+
+var GUID_DESC = {
+  writable:    false,
+  configurable: false,
+  enumerable:  false,
+  value: null
+};
+
+/**
+  @private
+
+  Generates a new guid, optionally saving the guid to the object that you
+  pass in.  You will rarely need to use this method.  Instead you should
+  call Ember.guidFor(obj), which return an existing guid if available.
+
+  @param {Object} obj
+    Optional object the guid will be used for.  If passed in, the guid will
+    be saved on the object and reused whenever you pass the same object
+    again.
+
+    If no object is passed, just generate a new guid.
+
+  @param {String} prefix
+    Optional prefix to place in front of the guid.  Useful when you want to
+    separate the guid into separate namespaces.
+
+  @returns {String} the guid
+*/
+Ember.generateGuid = function generateGuid(obj, prefix) {
+  if (!prefix) prefix = 'ember';
+  var ret = (prefix + (uuid++));
+  if (obj) {
+    GUID_DESC.value = ret;
+    o_defineProperty(obj, GUID_KEY, GUID_DESC);
+  }
+  return ret ;
+};
+
+/**
+  @private
+
+  Returns a unique id for the object.  If the object does not yet have
+  a guid, one will be assigned to it.  You can call this on any object,
+  Ember.Object-based or not, but be aware that it will add a _guid property.
+
+  You can also use this method on DOM Element objects.
+
+  @method
+  @param obj {Object} any object, string, number, Element, or primitive
+  @returns {String} the unique guid for this instance.
+*/
+Ember.guidFor = function guidFor(obj) {
+
+  // special cases where we don't want to add a key to object
+  if (obj === undefined) return "(undefined)";
+  if (obj === null) return "(null)";
+
+  var cache, ret;
+  var type = typeof obj;
+
+  // Don't allow prototype changes to String etc. to change the guidFor
+  switch(type) {
+    case 'number':
+      ret = numberCache[obj];
+      if (!ret) ret = numberCache[obj] = 'nu'+obj;
+      return ret;
+
+    case 'string':
+      ret = stringCache[obj];
+      if (!ret) ret = stringCache[obj] = 'st'+(uuid++);
+      return ret;
+
+    case 'boolean':
+      return obj ? '(true)' : '(false)';
+
+    default:
+      if (obj[GUID_KEY]) return obj[GUID_KEY];
+      if (obj === Object) return '(Object)';
+      if (obj === Array)  return '(Array)';
+      ret = 'ember'+(uuid++);
+      GUID_DESC.value = ret;
+      o_defineProperty(obj, GUID_KEY, GUID_DESC);
+      return ret;
+  }
+};
+
+// ..........................................................
+// META
+//
+
+var META_DESC = {
+  writable:    true,
+  configurable: false,
+  enumerable:  false,
+  value: null
+};
+
+var META_KEY = Ember.GUID_KEY+'_meta';
+
+/**
+  The key used to store meta information on object for property observing.
+
+  @static
+  @type String
+*/
+Ember.META_KEY = META_KEY;
+
+// Placeholder for non-writable metas.
+var EMPTY_META = {
+  descs: {},
+  watching: {}
+};
+
+if (MANDATORY_SETTER) { EMPTY_META.values = {}; }
+
+Ember.EMPTY_META = EMPTY_META;
+
+if (Object.freeze) Object.freeze(EMPTY_META);
+
+var isDefinePropertySimulated = Ember.platform.defineProperty.isSimulated;
+
+function Meta(obj) {
+  this.descs = {};
+  this.watching = {};
+  this.cache = {};
+  this.source = obj;
+}
+
+if (isDefinePropertySimulated) {
+  // on platforms that don't support enumerable false
+  // make meta fail jQuery.isPlainObject() to hide from
+  // jQuery.extend() by having a property that fails
+  // hasOwnProperty check.
+  Meta.prototype.__preventPlainObject__ = true;
+}
+
+/**
+  @private
+  @function
+
+  Retrieves the meta hash for an object.  If 'writable' is true ensures the
+  hash is writable for this object as well.
+
+  The meta object contains information about computed property descriptors as
+  well as any watched properties and other information.  You generally will
+  not access this information directly but instead work with higher level
+  methods that manipulate this hash indirectly.
+
+  @param {Object} obj
+    The object to retrieve meta for
+
+  @param {Boolean} writable
+    Pass false if you do not intend to modify the meta hash, allowing the
+    method to avoid making an unnecessary copy.
+
+  @returns {Hash}
+*/
+Ember.meta = function meta(obj, writable) {
+
+  var ret = obj[META_KEY];
+  if (writable===false) return ret || EMPTY_META;
+
+  if (!ret) {
+    if (!isDefinePropertySimulated) o_defineProperty(obj, META_KEY, META_DESC);
+
+    ret = new Meta(obj);
+
+    if (MANDATORY_SETTER) { ret.values = {}; }
+
+    obj[META_KEY] = ret;
+
+    // make sure we don't accidentally try to create constructor like desc
+    ret.descs.constructor = null;
+
+  } else if (ret.source !== obj) {
+    if (!isDefinePropertySimulated) o_defineProperty(obj, META_KEY, META_DESC);
+
+    ret = o_create(ret);
+    ret.descs    = o_create(ret.descs);
+    ret.watching = o_create(ret.watching);
+    ret.cache    = {};
+    ret.source   = obj;
+
+    if (MANDATORY_SETTER) { ret.values = o_create(ret.values); }
+
+    obj[META_KEY] = ret;
+  }
+  return ret;
+};
+
+Ember.getMeta = function getMeta(obj, property) {
+  var meta = Ember.meta(obj, false);
+  return meta[property];
+};
+
+Ember.setMeta = function setMeta(obj, property, value) {
+  var meta = Ember.meta(obj, true);
+  meta[property] = value;
+  return value;
+};
+
+/**
+  @private
+
+  In order to store defaults for a class, a prototype may need to create
+  a default meta object, which will be inherited by any objects instantiated
+  from the class's constructor.
+
+  However, the properties of that meta object are only shallow-cloned,
+  so if a property is a hash (like the event system's `listeners` hash),
+  it will by default be shared across all instances of that class.
+
+  This method allows extensions to deeply clone a series of nested hashes or
+  other complex objects. For instance, the event system might pass
+  ['listeners', 'foo:change', 'ember157'] to `prepareMetaPath`, which will
+  walk down the keys provided.
+
+  For each key, if the key does not exist, it is created. If it already
+  exists and it was inherited from its constructor, the constructor's
+  key is cloned.
+
+  You can also pass false for `writable`, which will simply return
+  undefined if `prepareMetaPath` discovers any part of the path that
+  shared or undefined.
+
+  @param {Object} obj The object whose meta we are examining
+  @param {Array} path An array of keys to walk down
+  @param {Boolean} writable whether or not to create a new meta
+    (or meta property) if one does not already exist or if it's
+    shared with its constructor
+*/
+Ember.metaPath = function metaPath(obj, path, writable) {
+  var meta = Ember.meta(obj, writable), keyName, value;
+
+  for (var i=0, l=path.length; i<l; i++) {
+    keyName = path[i];
+    value = meta[keyName];
+
+    if (!value) {
+      if (!writable) { return undefined; }
+      value = meta[keyName] = { __ember_source__: obj };
+    } else if (value.__ember_source__ !== obj) {
+      if (!writable) { return undefined; }
+      value = meta[keyName] = o_create(value);
+      value.__ember_source__ = obj;
+    }
+
+    meta = value;
+  }
+
+  return value;
+};
+
+/**
+  @private
+
+  Wraps the passed function so that `this._super` will point to the superFunc
+  when the function is invoked.  This is the primitive we use to implement
+  calls to super.
+
+  @param {Function} func
+    The function to call
+
+  @param {Function} superFunc
+    The super function.
+
+  @returns {Function} wrapped function.
+*/
+Ember.wrap = function(func, superFunc) {
+
+  function K() {}
+
+  var newFunc = function() {
+    var ret, sup = this._super;
+    this._super = superFunc || K;
+    ret = func.apply(this, arguments);
+    this._super = sup;
+    return ret;
+  };
+
+  newFunc.base = func;
+  return newFunc;
+};
+
+/**
+  Returns true if the passed object is an array or Array-like.
+
+  Ember Array Protocol:
+
+    - the object has an objectAt property
+    - the object is a native Array
+    - the object is an Object, and has a length property
+
+  Unlike Ember.typeOf this method returns true even if the passed object is
+  not formally array but appears to be array-like (i.e. implements Ember.Array)
+
+      Ember.isArray(); // false
+      Ember.isArray([]); // true
+      Ember.isArray( Ember.ArrayProxy.create({ content: [] }) ); // true
+
+  @param {Object} obj The object to test
+  @returns {Boolean}
+*/
+Ember.isArray = function(obj) {
+  if (!obj || obj.setInterval) { return false; }
+  if (Array.isArray && Array.isArray(obj)) { return true; }
+  if (Ember.Array && Ember.Array.detect(obj)) { return true; }
+  if ((obj.length !== undefined) && 'object'===typeof obj) { return true; }
+  return false;
+};
+
+/**
+  Forces the passed object to be part of an array.  If the object is already
+  an array or array-like, returns the object.  Otherwise adds the object to
+  an array.  If obj is null or undefined, returns an empty array.
+
+      Ember.makeArray();          => []
+      Ember.makeArray(null);      => []
+      Ember.makeArray(undefined); => []
+      Ember.makeArray('lindsay'); => ['lindsay']
+      Ember.makeArray([1,2,42]);  => [1,2,42]
+
+      var controller = Ember.ArrayProxy.create({ content: [] });
+      Ember.makeArray(controller) === controller;   => true
+
+  @param {Object} obj the object
+  @returns {Array}
+*/
+Ember.makeArray = function(obj) {
+  if (obj === null || obj === undefined) { return []; }
+  return Ember.isArray(obj) ? obj : [obj];
+};
+
+function canInvoke(obj, methodName) {
+  return !!(obj && typeof obj[methodName] === 'function');
+}
+
+/**
+  Checks to see if the `methodName` exists on the `obj`.
+
+  @function
+
+  @param {Object} obj The object to check for the method
+  @param {String} methodName The method name to check for
+*/
+Ember.canInvoke = canInvoke;
+
+/**
+  Checks to see if the `methodName` exists on the `obj`,
+  and if it does, invokes it with the arguments passed.
+
+  @function
+
+  @param {Object} obj The object to check for the method
+  @param {String} methodName The method name to check for
+  @param {Array} args The arguments to pass to the method
+
+  @returns {Boolean} true if the method does not return false
+  @returns {Boolean} false otherwise
+*/
+Ember.tryInvoke = function(obj, methodName, args) {
+  if (canInvoke(obj, methodName)) {
+    return obj[methodName].apply(obj, args);
+  }
+};
+
+})();
+
+
+
+(function() {
+/**
+  JavaScript (before ES6) does not have a Map implementation. Objects,
+  which are often used as dictionaries, may only have Strings as keys.
+
+  Because Ember has a way to get a unique identifier for every object
+  via `Ember.guidFor`, we can implement a performant Map with arbitrary
+  keys. Because it is commonly used in low-level bookkeeping, Map is
+  implemented as a pure JavaScript object for performance.
+
+  This implementation follows the current iteration of the ES6 proposal
+  for maps (http://wiki.ecmascript.org/doku.php?id=harmony:simple_maps_and_sets),
+  with two exceptions. First, because we need our implementation to be
+  pleasant on older browsers, we do not use the `delete` name (using
+  `remove` instead). Second, as we do not have the luxury of in-VM
+  iteration, we implement a forEach method for iteration.
+
+  Map is mocked out to look like an Ember object, so you can do
+  `Ember.Map.create()` for symmetry with other Ember classes.
+*/
+/** @private */
+var guidFor = Ember.guidFor,
+    indexOf = Ember.ArrayPolyfills.indexOf;
+
+var copy = function(obj) {
+  var output = {};
+
+  for (var prop in obj) {
+    if (obj.hasOwnProperty(prop)) { output[prop] = obj[prop]; }
+  }
+
+  return output;
+};
+
+var copyMap = function(original, newObject) {
+  var keys = original.keys.copy(),
+      values = copy(original.values);
+
+  newObject.keys = keys;
+  newObject.values = values;
+
+  return newObject;
+};
+
+// This class is used internally by Ember.js and Ember Data.
+// Please do not use it at this time. We plan to clean it up
+// and add many tests soon.
+var OrderedSet = Ember.OrderedSet = function() {
+  this.clear();
+};
+
+OrderedSet.create = function() {
+  return new OrderedSet();
+};
+
+OrderedSet.prototype = {
+  clear: function() {
+    this.presenceSet = {};
+    this.list = [];
+  },
+
+  add: function(obj) {
+    var guid = guidFor(obj),
+        presenceSet = this.presenceSet,
+        list = this.list;
+
+    if (guid in presenceSet) { return; }
+
+    presenceSet[guid] = true;
+    list.push(obj);
+  },
+
+  remove: function(obj) {
+    var guid = guidFor(obj),
+        presenceSet = this.presenceSet,
+        list = this.list;
+
+    delete presenceSet[guid];
+
+    var index = indexOf.call(list, obj);
+    if (index > -1) {
+      list.splice(index, 1);
+    }
+  },
+
+  isEmpty: function() {
+    return this.list.length === 0;
+  },
+
+  forEach: function(fn, self) {
+    // allow mutation during iteration
+    var list = this.list.slice();
+
+    for (var i = 0, j = list.length; i < j; i++) {
+      fn.call(self, list[i]);
+    }
+  },
+
+  toArray: function() {
+    return this.list.slice();
+  },
+
+  copy: function() {
+    var set = new OrderedSet();
+
+    set.presenceSet = copy(this.presenceSet);
+    set.list = this.list.slice();
+
+    return set;
+  }
+};
+
+/**
+  A Map stores values indexed by keys. Unlike JavaScript's
+  default Objects, the keys of a Map can be any JavaScript
+  object.
+
+  Internally, a Map has two data structures:
+
+    `keys`: an OrderedSet of all of the existing keys
+    `values`: a JavaScript Object indexed by the
+      Ember.guidFor(key)
+
+  When a key/value pair is added for the first time, we
+  add the key to the `keys` OrderedSet, and create or
+  replace an entry in `values`. When an entry is deleted,
+  we delete its entry in `keys` and `values`.
+*/
+
+/** @private */
+var Map = Ember.Map = function() {
+  this.keys = Ember.OrderedSet.create();
+  this.values = {};
+};
+
+Map.create = function() {
+  return new Map();
+};
+
+Map.prototype = {
+  /**
+    Retrieve the value associated with a given key.
+
+    @param {anything} key
+    @return {anything} the value associated with the key, or undefined
+  */
+  get: function(key) {
+    var values = this.values,
+        guid = guidFor(key);
+
+    return values[guid];
+  },
+
+  /**
+    Adds a value to the map. If a value for the given key has already been
+    provided, the new value will replace the old value.
+
+    @param {anything} key
+    @param {anything} value
+  */
+  set: function(key, value) {
+    var keys = this.keys,
+        values = this.values,
+        guid = guidFor(key);
+
+    keys.add(key);
+    values[guid] = value;
+  },
+
+  /**
+    Removes a value from the map for an associated key.
+
+    @param {anything} key
+    @returns {Boolean} true if an item was removed, false otherwise
+  */
+  remove: function(key) {
+    // don't use ES6 "delete" because it will be annoying
+    // to use in browsers that are not ES6 friendly;
+    var keys = this.keys,
+        values = this.values,
+        guid = guidFor(key),
+        value;
+
+    if (values.hasOwnProperty(guid)) {
+      keys.remove(key);
+      value = values[guid];
+      delete values[guid];
+      return true;
+    } else {
+      return false;
+    }
+  },
+
+  /**
+    Check whether a key is present.
+
+    @param {anything} key
+    @returns {Boolean} true if the item was present, false otherwise
+  */
+  has: function(key) {
+    var values = this.values,
+        guid = guidFor(key);
+
+    return values.hasOwnProperty(guid);
+  },
+
+  /**
+    Iterate over all the keys and values. Calls the function once
+    for each key, passing in the key and value, in that order.
+
+    The keys are guaranteed to be iterated over in insertion order.
+
+    @param {Function} callback
+    @param {anything} self if passed, the `this` value inside the
+      callback. By default, `this` is the map.
+  */
+  forEach: function(callback, self) {
+    var keys = this.keys,
+        values = this.values;
+
+    keys.forEach(function(key) {
+      var guid = guidFor(key);
+      callback.call(self, key, values[guid]);
+    });
+  },
+
+  copy: function() {
+    return copyMap(this, new Map());
+  }
+};
+
+var MapWithDefault = Ember.MapWithDefault = function(options) {
+  Map.call(this);
+  this.defaultValue = options.defaultValue;
+};
+
+MapWithDefault.create = function(options) {
+  if (options) {
+    return new MapWithDefault(options);
+  } else {
+    return new Map();
+  }
+};
+
+MapWithDefault.prototype = Ember.create(Map.prototype);
+
+MapWithDefault.prototype.get = function(key) {
+  var hasValue = this.has(key);
+
+  if (hasValue) {
+    return Map.prototype.get.call(this, key);
+  } else {
+    var defaultValue = this.defaultValue(key);
+    this.set(key, defaultValue);
+    return defaultValue;
+  }
+};
+
+MapWithDefault.prototype.copy = function() {
+  return copyMap(this, new MapWithDefault({
+    defaultValue: this.defaultValue
+  }));
+};
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Metal
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var META_KEY = Ember.META_KEY, get, set;
+
+var MANDATORY_SETTER = Ember.ENV.MANDATORY_SETTER;
+
+/** @private */
+var IS_GLOBAL = /^([A-Z$]|([0-9][A-Z$]))/;
+var IS_GLOBAL_PATH = /^([A-Z$]|([0-9][A-Z$])).*[\.\*]/;
+var HAS_THIS  = /^this[\.\*]/;
+var FIRST_KEY = /^([^\.\*]+)/;
+
+// ..........................................................
+// GET AND SET
+//
+// If we are on a platform that supports accessors we can get use those.
+// Otherwise simulate accessors by looking up the property directly on the
+// object.
+
+/** @private */
+get = function get(obj, keyName) {
+  // Helpers that operate with 'this' within an #each
+  if (keyName === '') {
+    return obj;
+  }
+
+  if (!keyName && 'string'===typeof obj) {
+    keyName = obj;
+    obj = null;
+  }
+
+  if (!obj || keyName.indexOf('.') !== -1) {
+    return getPath(obj, keyName);
+  }
+
+  Ember.assert("You need to provide an object and key to `get`.", !!obj && keyName);
+
+  var meta = obj[META_KEY], desc = meta && meta.descs[keyName], ret;
+  if (desc) {
+    return desc.get(obj, keyName);
+  } else {
+    if (MANDATORY_SETTER && meta && meta.watching[keyName] > 0) {
+      ret = meta.values[keyName];
+    } else {
+      ret = obj[keyName];
+    }
+
+    if (ret === undefined &&
+        'object' === typeof obj && !(keyName in obj) && 'function' === typeof obj.unknownProperty) {
+      return obj.unknownProperty(keyName);
+    }
+
+    return ret;
+  }
+};
+
+/** @private */
+set = function set(obj, keyName, value, tolerant) {
+  if (typeof obj === 'string') {
+    Ember.assert("Path '" + obj + "' must be global if no obj is given.", IS_GLOBAL.test(obj));
+    value = keyName;
+    keyName = obj;
+    obj = null;
+  }
+
+  if (!obj || keyName.indexOf('.') !== -1) {
+    return setPath(obj, keyName, value, tolerant);
+  }
+
+  Ember.assert("You need to provide an object and key to `set`.", !!obj && keyName !== undefined);
+  Ember.assert('calling set on destroyed object', !obj.isDestroyed);
+
+  var meta = obj[META_KEY], desc = meta && meta.descs[keyName],
+      isUnknown, currentValue;
+  if (desc) {
+    desc.set(obj, keyName, value);
+  }
+  else {
+    isUnknown = 'object' === typeof obj && !(keyName in obj);
+
+    // setUnknownProperty is called if `obj` is an object,
+    // the property does not already exist, and the
+    // `setUnknownProperty` method exists on the object
+    if (isUnknown && 'function' === typeof obj.setUnknownProperty) {
+      obj.setUnknownProperty(keyName, value);
+    } else if (meta && meta.watching[keyName] > 0) {
+      if (MANDATORY_SETTER) {
+        currentValue = meta.values[keyName];
+      } else {
+        currentValue = obj[keyName];
+      }
+      // only trigger a change if the value has changed
+      if (value !== currentValue) {
+        Ember.propertyWillChange(obj, keyName);
+        if (MANDATORY_SETTER) {
+          if (currentValue === undefined && !(keyName in obj)) {
+            Ember.defineProperty(obj, keyName, null, value); // setup mandatory setter
+          } else {
+            meta.values[keyName] = value;
+          }
+        } else {
+          obj[keyName] = value;
+        }
+        Ember.propertyDidChange(obj, keyName);
+      }
+    } else {
+      obj[keyName] = value;
+    }
+  }
+  return value;
+};
+
+/** @private */
+function firstKey(path) {
+  return path.match(FIRST_KEY)[0];
+}
+
+// assumes path is already normalized
+/** @private */
+function normalizeTuple(target, path) {
+  var hasThis  = HAS_THIS.test(path),
+      isGlobal = !hasThis && IS_GLOBAL_PATH.test(path),
+      key;
+
+  if (!target || isGlobal) target = window;
+  if (hasThis) path = path.slice(5);
+
+  if (target === window) {
+    key = firstKey(path);
+    target = get(target, key);
+    path   = path.slice(key.length+1);
+  }
+
+  // must return some kind of path to be valid else other things will break.
+  if (!path || path.length===0) throw new Error('Invalid Path');
+
+  return [ target, path ];
+}
+
+/** @private */
+function getPath(root, path) {
+  var hasThis, parts, tuple, idx, len;
+
+  // If there is no root and path is a key name, return that
+  // property from the global object.
+  // E.g. get('Ember') -> Ember
+  if (root === null && path.indexOf('.') === -1) { return get(window, path); }
+
+  // detect complicated paths and normalize them
+  hasThis  = HAS_THIS.test(path);
+
+  if (!root || hasThis) {
+    tuple = normalizeTuple(root, path);
+    root = tuple[0];
+    path = tuple[1];
+    tuple.length = 0;
+  }
+
+  parts = path.split(".");
+  len = parts.length;
+  for (idx=0; root && idx<len; idx++) {
+    root = get(root, parts[idx], true);
+    if (root && root.isDestroyed) { return undefined; }
+  }
+  return root;
+}
+
+/** @private */
+function setPath(root, path, value, tolerant) {
+  var keyName;
+
+  // get the last part of the path
+  keyName = path.slice(path.lastIndexOf('.') + 1);
+
+  // get the first part of the part
+  path    = path.slice(0, path.length-(keyName.length+1));
+
+  // unless the path is this, look up the first part to
+  // get the root
+  if (path !== 'this') {
+    root = getPath(root, path);
+  }
+
+  if (!keyName || keyName.length === 0) {
+    throw new Error('You passed an empty path');
+  }
+
+  if (!root) {
+    if (tolerant) { return; }
+    else { throw new Error('Object in path '+path+' could not be found or was destroyed.'); }
+  }
+
+  return set(root, keyName, value);
+}
+
+/**
+  @private
+
+  Normalizes a target/path pair to reflect that actual target/path that should
+  be observed, etc.  This takes into account passing in global property
+  paths (i.e. a path beginning with a captial letter not defined on the
+  target) and * separators.
+
+  @param {Object} target
+    The current target.  May be null.
+
+  @param {String} path
+    A path on the target or a global property path.
+
+  @returns {Array} a temporary array with the normalized target/path pair.
+*/
+Ember.normalizeTuple = function(target, path) {
+  return normalizeTuple(target, path);
+};
+
+Ember.getWithDefault = function(root, key, defaultValue) {
+  var value = get(root, key);
+
+  if (value === undefined) { return defaultValue; }
+  return value;
+};
+
+
+/**
+  @function
+
+  Gets the value of a property on an object.  If the property is computed,
+  the function will be invoked.  If the property is not defined but the
+  object implements the unknownProperty() method then that will be invoked.
+
+  If you plan to run on IE8 and older browsers then you should use this
+  method anytime you want to retrieve a property on an object that you don't
+  know for sure is private.  (My convention only properties beginning with
+  an underscore '_' are considered private.)
+
+  On all newer browsers, you only need to use this method to retrieve
+  properties if the property might not be defined on the object and you want
+  to respect the unknownProperty() handler.  Otherwise you can ignore this
+  method.
+
+  Note that if the obj itself is null, this method will simply return
+  undefined.
+
+  @param {Object} obj
+    The object to retrieve from.
+
+  @param {String} keyName
+    The property key to retrieve
+
+  @returns {Object} the property value or null.
+*/
+Ember.get = get;
+Ember.getPath = Ember.deprecateFunc('getPath is deprecated since get now supports paths', Ember.get);
+
+/**
+  @function
+
+  Sets the value of a property on an object, respecting computed properties
+  and notifying observers and other listeners of the change.  If the
+  property is not defined but the object implements the unknownProperty()
+  method then that will be invoked as well.
+
+  If you plan to run on IE8 and older browsers then you should use this
+  method anytime you want to set a property on an object that you don't
+  know for sure is private.  (My convention only properties beginning with
+  an underscore '_' are considered private.)
+
+  On all newer browsers, you only need to use this method to set
+  properties if the property might not be defined on the object and you want
+  to respect the unknownProperty() handler.  Otherwise you can ignore this
+  method.
+
+  @param {Object} obj
+    The object to modify.
+
+  @param {String} keyName
+    The property key to set
+
+  @param {Object} value
+    The value to set
+
+  @returns {Object} the passed value.
+*/
+Ember.set = set;
+Ember.setPath = Ember.deprecateFunc('setPath is deprecated since set now supports paths', Ember.set);
+
+/**
+  Error-tolerant form of Ember.set. Will not blow up if any part of the
+  chain is undefined, null, or destroyed.
+
+  This is primarily used when syncing bindings, which may try to update after
+  an object has been destroyed.
+*/
+Ember.trySet = function(root, path, value) {
+  return set(root, path, value, true);
+};
+Ember.trySetPath = Ember.deprecateFunc('trySetPath has been renamed to trySet', Ember.trySet);
+
+/**
+  Returns true if the provided path is global (e.g., "MyApp.fooController.bar")
+  instead of local ("foo.bar.baz").
+
+  @param {String} path
+  @returns Boolean
+*/
+Ember.isGlobalPath = function(path) {
+  return IS_GLOBAL.test(path);
+};
+
+
+
+if (Ember.config.overrideAccessors) {
+  Ember.config.overrideAccessors();
+  get = Ember.get;
+  set = Ember.set;
+}
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Metal
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var GUID_KEY = Ember.GUID_KEY,
+    META_KEY = Ember.META_KEY,
+    EMPTY_META = Ember.EMPTY_META,
+    metaFor = Ember.meta,
+    o_create = Ember.create,
+    objectDefineProperty = Ember.platform.defineProperty;
+
+var MANDATORY_SETTER = Ember.ENV.MANDATORY_SETTER;
+
+// ..........................................................
+// DESCRIPTOR
+//
+
+/**
+  @private
+  @constructor
+
+  Objects of this type can implement an interface to responds requests to
+  get and set.  The default implementation handles simple properties.
+
+  You generally won't need to create or subclass this directly.
+*/
+var Descriptor = Ember.Descriptor = function() {};
+
+// ..........................................................
+// DEFINING PROPERTIES API
+//
+
+/**
+  @private
+
+  NOTE: This is a low-level method used by other parts of the API.  You almost
+  never want to call this method directly.  Instead you should use Ember.mixin()
+  to define new properties.
+
+  Defines a property on an object.  This method works much like the ES5
+  Object.defineProperty() method except that it can also accept computed
+  properties and other special descriptors.
+
+  Normally this method takes only three parameters.  However if you pass an
+  instance of Ember.Descriptor as the third param then you can pass an optional
+  value as the fourth parameter.  This is often more efficient than creating
+  new descriptor hashes for each property.
+
+  ## Examples
+
+      // ES5 compatible mode
+      Ember.defineProperty(contact, 'firstName', {
+        writable: true,
+        configurable: false,
+        enumerable: true,
+        value: 'Charles'
+      });
+
+      // define a simple property
+      Ember.defineProperty(contact, 'lastName', undefined, 'Jolley');
+
+      // define a computed property
+      Ember.defineProperty(contact, 'fullName', Ember.computed(function() {
+        return this.firstName+' '+this.lastName;
+      }).property('firstName', 'lastName').cacheable());
+*/
+Ember.defineProperty = function(obj, keyName, desc, data, meta) {
+  // The first two parameters to defineProperty are mandatory:
+  //
+  // * obj: the object to define this property on. This may be
+  //   a prototype.
+  // * keyName: the name of the property
+  //
+  // One and only one of the following two parameters must be
+  // provided:
+  //
+  // * desc: an instance of Ember.Descriptor (typically a
+  //   computed property) or an ES5 descriptor.
+  // * data: something other than a descriptor, that will
+  //   become the explicit value of this property.
+
+  var descs, existingDesc, watching, value;
+
+  if (!meta) meta = metaFor(obj);
+  descs = meta.descs;
+  existingDesc = meta.descs[keyName];
+  watching = meta.watching[keyName] > 0;
+
+  if (existingDesc instanceof Ember.Descriptor) {
+    existingDesc.teardown(obj, keyName);
+  }
+
+  if (desc instanceof Ember.Descriptor) {
+    value = desc;
+
+    descs[keyName] = desc;
+    if (MANDATORY_SETTER && watching) {
+      objectDefineProperty(obj, keyName, {
+        configurable: true,
+        enumerable: true,
+        writable: true,
+        value: undefined // make enumerable
+      });
+    } else {
+      obj[keyName] = undefined; // make enumerable
+    }
+    desc.setup(obj, keyName);
+  } else {
+    descs[keyName] = undefined; // shadow descriptor in proto
+    if (desc == null) {
+      value = data;
+
+      if (MANDATORY_SETTER && watching) {
+        meta.values[keyName] = data;
+        objectDefineProperty(obj, keyName, {
+          configurable: true,
+          enumerable: true,
+          set: function() {
+            Ember.assert('Must use Ember.set() to access this property', false);
+          },
+          get: function() {
+            var meta = this[META_KEY];
+            return meta && meta.values[keyName];
+          }
+        });
+      } else {
+        obj[keyName] = data;
+      }
+    } else {
+      value = desc;
+
+      // compatibility with ES5
+      objectDefineProperty(obj, keyName, desc);
+    }
+  }
+
+  // if key is being watched, override chains that
+  // were initialized with the prototype
+  if (watching) { Ember.overrideChains(obj, keyName, meta); }
+
+  // The `value` passed to the `didDefineProperty` hook is
+  // either the descriptor or data, whichever was passed.
+  if (obj.didDefineProperty) { obj.didDefineProperty(obj, keyName, value); }
+
+  return this;
+};
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Metal
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var AFTER_OBSERVERS = ':change';
+var BEFORE_OBSERVERS = ':before';
+var guidFor = Ember.guidFor;
+
+var deferred = 0;
+var array_Slice = [].slice;
+
+/** @private */
+var ObserverSet = function () {
+  this.targetSet = {};
+};
+ObserverSet.prototype.add = function (target, path) {
+  var targetSet = this.targetSet,
+    targetGuid = Ember.guidFor(target),
+    pathSet = targetSet[targetGuid];
+  if (!pathSet) {
+    targetSet[targetGuid] = pathSet = {};
+  }
+  if (pathSet[path]) {
+    return false;
+  } else {
+    return pathSet[path] = true;
+  }
+};
+ObserverSet.prototype.clear = function () {
+  this.targetSet = {};
+};
+
+/** @private */
+var DeferredEventQueue = function() {
+  this.targetSet = {};
+  this.queue = [];
+};
+
+DeferredEventQueue.prototype.push = function(target, eventName, keyName) {
+  var targetSet = this.targetSet,
+    queue = this.queue,
+    targetGuid = Ember.guidFor(target),
+    eventNameSet = targetSet[targetGuid],
+    index;
+
+  if (!eventNameSet) {
+    targetSet[targetGuid] = eventNameSet = {};
+  }
+  index = eventNameSet[eventName];
+  if (index === undefined) {
+    eventNameSet[eventName] = queue.push(Ember.deferEvent(target, eventName, [target, keyName])) - 1;
+  } else {
+    queue[index] = Ember.deferEvent(target, eventName, [target, keyName]);
+  }
+};
+
+DeferredEventQueue.prototype.flush = function() {
+  var queue = this.queue;
+  this.queue = [];
+  this.targetSet = {};
+  for (var i=0, len=queue.length; i < len; ++i) {
+    queue[i]();
+  }
+};
+
+var queue = new DeferredEventQueue(), beforeObserverSet = new ObserverSet();
+
+/** @private */
+function notifyObservers(obj, eventName, keyName, forceNotification) {
+  if (deferred && !forceNotification) {
+    queue.push(obj, eventName, keyName);
+  } else {
+    Ember.sendEvent(obj, eventName, [obj, keyName]);
+  }
+}
+
+/** @private */
+function flushObserverQueue() {
+  beforeObserverSet.clear();
+
+  queue.flush();
+}
+
+Ember.beginPropertyChanges = function() {
+  deferred++;
+  return this;
+};
+
+Ember.endPropertyChanges = function() {
+  deferred--;
+  if (deferred<=0) flushObserverQueue();
+};
+
+/**
+  Make a series of property changes together in an
+  exception-safe way.
+
+      Ember.changeProperties(function() {
+        obj1.set('foo', mayBlowUpWhenSet);
+        obj2.set('bar', baz);
+      });
+*/
+Ember.changeProperties = function(cb, binding){
+  Ember.beginPropertyChanges();
+  try {
+    cb.call(binding);
+  } finally {
+    Ember.endPropertyChanges();
+  }
+};
+
+/**
+  Set a list of properties on an object. These properties are set inside
+  a single `beginPropertyChanges` and `endPropertyChanges` batch, so
+  observers will be buffered.
+*/
+Ember.setProperties = function(self, hash) {
+  Ember.changeProperties(function(){
+    for(var prop in hash) {
+      if (hash.hasOwnProperty(prop)) Ember.set(self, prop, hash[prop]);
+    }
+  });
+  return self;
+};
+
+
+/** @private */
+function changeEvent(keyName) {
+  return keyName+AFTER_OBSERVERS;
+}
+
+/** @private */
+function beforeEvent(keyName) {
+  return keyName+BEFORE_OBSERVERS;
+}
+
+Ember.addObserver = function(obj, path, target, method) {
+  Ember.addListener(obj, changeEvent(path), target, method);
+  Ember.watch(obj, path);
+  return this;
+};
+
+/** @private */
+Ember.observersFor = function(obj, path) {
+  return Ember.listenersFor(obj, changeEvent(path));
+};
+
+Ember.removeObserver = function(obj, path, target, method) {
+  Ember.unwatch(obj, path);
+  Ember.removeListener(obj, changeEvent(path), target, method);
+  return this;
+};
+
+Ember.addBeforeObserver = function(obj, path, target, method) {
+  Ember.addListener(obj, beforeEvent(path), target, method);
+  Ember.watch(obj, path);
+  return this;
+};
+
+// Suspend observer during callback.
+//
+// This should only be used by the target of the observer
+// while it is setting the observed path.
+/** @private */
+Ember._suspendBeforeObserver = function(obj, path, target, method, callback) {
+  return Ember._suspendListener(obj, beforeEvent(path), target, method, callback);
+};
+
+Ember._suspendObserver = function(obj, path, target, method, callback) {
+  return Ember._suspendListener(obj, changeEvent(path), target, method, callback);
+};
+
+/** @private */
+Ember.beforeObserversFor = function(obj, path) {
+  return Ember.listenersFor(obj, beforeEvent(path));
+};
+
+Ember.removeBeforeObserver = function(obj, path, target, method) {
+  Ember.unwatch(obj, path);
+  Ember.removeListener(obj, beforeEvent(path), target, method);
+  return this;
+};
+
+/** @private */
+Ember.notifyObservers = function(obj, keyName) {
+  if (obj.isDestroying) { return; }
+
+  notifyObservers(obj, changeEvent(keyName), keyName);
+};
+
+/** @private */
+Ember.notifyBeforeObservers = function(obj, keyName) {
+  if (obj.isDestroying) { return; }
+
+  var guid, set, forceNotification = false;
+
+  if (deferred) {
+    if (beforeObserverSet.add(obj, keyName)) {
+      forceNotification = true;
+    } else {
+      return;
+    }
+  }
+
+  notifyObservers(obj, beforeEvent(keyName), keyName, forceNotification);
+};
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Metal
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var guidFor = Ember.guidFor, // utils.js
+    metaFor = Ember.meta, // utils.js
+    get = Ember.get, // accessors.js
+    set = Ember.set, // accessors.js
+    normalizeTuple = Ember.normalizeTuple, // accessors.js
+    GUID_KEY = Ember.GUID_KEY, // utils.js
+    META_KEY = Ember.META_KEY, // utils.js
+    // circular reference observer depends on Ember.watch
+    // we should move change events to this file or its own property_events.js
+    notifyObservers = Ember.notifyObservers, // observer.js
+    forEach = Ember.ArrayPolyfills.forEach, // array.js
+    FIRST_KEY = /^([^\.\*]+)/,
+    IS_PATH = /[\.\*]/;
+
+var MANDATORY_SETTER = Ember.ENV.MANDATORY_SETTER,
+o_defineProperty = Ember.platform.defineProperty;
+
+/** @private */
+function firstKey(path) {
+  return path.match(FIRST_KEY)[0];
+}
+
+// returns true if the passed path is just a keyName
+/** @private */
+function isKeyName(path) {
+  return path==='*' || !IS_PATH.test(path);
+}
+
+// ..........................................................
+// DEPENDENT KEYS
+//
+
+var DEP_SKIP = { __emberproto__: true }; // skip some keys and toString
+
+/** @private */
+function iterDeps(method, obj, depKey, seen, meta) {
+
+  var guid = guidFor(obj);
+  if (!seen[guid]) seen[guid] = {};
+  if (seen[guid][depKey]) return;
+  seen[guid][depKey] = true;
+
+  var deps = meta.deps;
+  deps = deps && deps[depKey];
+  if (deps) {
+    for(var key in deps) {
+      if (DEP_SKIP[key]) continue;
+      method(obj, key);
+    }
+  }
+}
+
+
+var WILL_SEEN, DID_SEEN;
+
+// called whenever a property is about to change to clear the cache of any dependent keys (and notify those properties of changes, etc...)
+/** @private */
+function dependentKeysWillChange(obj, depKey, meta) {
+  if (obj.isDestroying) { return; }
+
+  var seen = WILL_SEEN, top = !seen;
+  if (top) { seen = WILL_SEEN = {}; }
+  iterDeps(propertyWillChange, obj, depKey, seen, meta);
+  if (top) { WILL_SEEN = null; }
+}
+
+// called whenever a property has just changed to update dependent keys
+/** @private */
+function dependentKeysDidChange(obj, depKey, meta) {
+  if (obj.isDestroying) { return; }
+
+  var seen = DID_SEEN, top = !seen;
+  if (top) { seen = DID_SEEN = {}; }
+  iterDeps(propertyDidChange, obj, depKey, seen, meta);
+  if (top) { DID_SEEN = null; }
+}
+
+// ..........................................................
+// CHAIN
+//
+
+/** @private */
+function addChainWatcher(obj, keyName, node) {
+  if (!obj || ('object' !== typeof obj)) return; // nothing to do
+  var m = metaFor(obj);
+  var nodes = m.chainWatchers;
+  if (!nodes || nodes.__emberproto__ !== obj) {
+    nodes = m.chainWatchers = { __emberproto__: obj };
+  }
+
+  if (!nodes[keyName]) { nodes[keyName] = {}; }
+  nodes[keyName][guidFor(node)] = node;
+  Ember.watch(obj, keyName);
+}
+
+/** @private */
+function removeChainWatcher(obj, keyName, node) {
+  if (!obj || 'object' !== typeof obj) { return; } // nothing to do
+  var m = metaFor(obj, false),
+      nodes = m.chainWatchers;
+  if (!nodes || nodes.__emberproto__ !== obj) { return; } //nothing to do
+  if (nodes[keyName]) { delete nodes[keyName][guidFor(node)]; }
+  Ember.unwatch(obj, keyName);
+}
+
+var pendingQueue = [];
+
+// attempts to add the pendingQueue chains again.  If some of them end up
+// back in the queue and reschedule is true, schedules a timeout to try
+// again.
+/** @private */
+function flushPendingChains() {
+  if (pendingQueue.length === 0) { return; } // nothing to do
+
+  var queue = pendingQueue;
+  pendingQueue = [];
+
+  forEach.call(queue, function(q) { q[0].add(q[1]); });
+
+  Ember.warn('Watching an undefined global, Ember expects watched globals to be setup by the time the run loop is flushed, check for typos', pendingQueue.length === 0);
+}
+
+/** @private */
+function isProto(pvalue) {
+  return metaFor(pvalue, false).proto === pvalue;
+}
+
+// A ChainNode watches a single key on an object.  If you provide a starting
+// value for the key then the node won't actually watch it.  For a root node
+// pass null for parent and key and object for value.
+/** @private */
+var ChainNode = function(parent, key, value, separator) {
+  var obj;
+  this._parent = parent;
+  this._key    = key;
+
+  // _watching is true when calling get(this._parent, this._key) will
+  // return the value of this node.
+  //
+  // It is false for the root of a chain (because we have no parent)
+  // and for global paths (because the parent node is the object with
+  // the observer on it)
+  this._watching = value===undefined;
+
+  this._value  = value;
+  this._separator = separator || '.';
+  this._paths = {};
+  if (this._watching) {
+    this._object = parent.value();
+    if (this._object) { addChainWatcher(this._object, this._key, this); }
+  }
+
+  // Special-case: the EachProxy relies on immediate evaluation to
+  // establish its observers.
+  //
+  // TODO: Replace this with an efficient callback that the EachProxy
+  // can implement.
+  if (this._parent && this._parent._key === '@each') {
+    this.value();
+  }
+};
+
+var ChainNodePrototype = ChainNode.prototype;
+
+ChainNodePrototype.value = function() {
+  if (this._value === undefined && this._watching) {
+    var obj = this._parent.value();
+    this._value = (obj && !isProto(obj)) ? get(obj, this._key) : undefined;
+  }
+  return this._value;
+};
+
+ChainNodePrototype.destroy = function() {
+  if (this._watching) {
+    var obj = this._object;
+    if (obj) { removeChainWatcher(obj, this._key, this); }
+    this._watching = false; // so future calls do nothing
+  }
+};
+
+// copies a top level object only
+ChainNodePrototype.copy = function(obj) {
+  var ret = new ChainNode(null, null, obj, this._separator),
+      paths = this._paths, path;
+  for (path in paths) {
+    if (paths[path] <= 0) { continue; } // this check will also catch non-number vals.
+    ret.add(path);
+  }
+  return ret;
+};
+
+// called on the root node of a chain to setup watchers on the specified
+// path.
+ChainNodePrototype.add = function(path) {
+  var obj, tuple, key, src, separator, paths;
+
+  paths = this._paths;
+  paths[path] = (paths[path] || 0) + 1;
+
+  obj = this.value();
+  tuple = normalizeTuple(obj, path);
+
+  // the path was a local path
+  if (tuple[0] && tuple[0] === obj) {
+    path = tuple[1];
+    key  = firstKey(path);
+    path = path.slice(key.length+1);
+
+  // global path, but object does not exist yet.
+  // put into a queue and try to connect later.
+  } else if (!tuple[0]) {
+    pendingQueue.push([this, path]);
+    tuple.length = 0;
+    return;
+
+  // global path, and object already exists
+  } else {
+    src  = tuple[0];
+    key  = path.slice(0, 0-(tuple[1].length+1));
+    separator = path.slice(key.length, key.length+1);
+    path = tuple[1];
+  }
+
+  tuple.length = 0;
+  this.chain(key, path, src, separator);
+};
+
+// called on the root node of a chain to teardown watcher on the specified
+// path
+ChainNodePrototype.remove = function(path) {
+  var obj, tuple, key, src, paths;
+
+  paths = this._paths;
+  if (paths[path] > 0) { paths[path]--; }
+
+  obj = this.value();
+  tuple = normalizeTuple(obj, path);
+  if (tuple[0] === obj) {
+    path = tuple[1];
+    key  = firstKey(path);
+    path = path.slice(key.length+1);
+  } else {
+    src  = tuple[0];
+    key  = path.slice(0, 0-(tuple[1].length+1));
+    path = tuple[1];
+  }
+
+  tuple.length = 0;
+  this.unchain(key, path);
+};
+
+ChainNodePrototype.count = 0;
+
+ChainNodePrototype.chain = function(key, path, src, separator) {
+  var chains = this._chains, node;
+  if (!chains) { chains = this._chains = {}; }
+
+  node = chains[key];
+  if (!node) { node = chains[key] = new ChainNode(this, key, src, separator); }
+  node.count++; // count chains...
+
+  // chain rest of path if there is one
+  if (path && path.length>0) {
+    key = firstKey(path);
+    path = path.slice(key.length+1);
+    node.chain(key, path); // NOTE: no src means it will observe changes...
+  }
+};
+
+ChainNodePrototype.unchain = function(key, path) {
+  var chains = this._chains, node = chains[key];
+
+  // unchain rest of path first...
+  if (path && path.length>1) {
+    key  = firstKey(path);
+    path = path.slice(key.length+1);
+    node.unchain(key, path);
+  }
+
+  // delete node if needed.
+  node.count--;
+  if (node.count<=0) {
+    delete chains[node._key];
+    node.destroy();
+  }
+
+};
+
+ChainNodePrototype.willChange = function() {
+  var chains = this._chains;
+  if (chains) {
+    for(var key in chains) {
+      if (!chains.hasOwnProperty(key)) { continue; }
+      chains[key].willChange();
+    }
+  }
+
+  if (this._parent) { this._parent.chainWillChange(this, this._key, 1); }
+};
+
+ChainNodePrototype.chainWillChange = function(chain, path, depth) {
+  if (this._key) { path = this._key + this._separator + path; }
+
+  if (this._parent) {
+    this._parent.chainWillChange(this, path, depth+1);
+  } else {
+    if (depth > 1) { Ember.propertyWillChange(this.value(), path); }
+    path = 'this.' + path;
+    if (this._paths[path] > 0) { Ember.propertyWillChange(this.value(), path); }
+  }
+};
+
+ChainNodePrototype.chainDidChange = function(chain, path, depth) {
+  if (this._key) { path = this._key + this._separator + path; }
+  if (this._parent) {
+    this._parent.chainDidChange(this, path, depth+1);
+  } else {
+    if (depth > 1) { Ember.propertyDidChange(this.value(), path); }
+    path = 'this.' + path;
+    if (this._paths[path] > 0) { Ember.propertyDidChange(this.value(), path); }
+  }
+};
+
+ChainNodePrototype.didChange = function(suppressEvent) {
+  // invalidate my own value first.
+  if (this._watching) {
+    var obj = this._parent.value();
+    if (obj !== this._object) {
+      removeChainWatcher(this._object, this._key, this);
+      this._object = obj;
+      addChainWatcher(obj, this._key, this);
+    }
+    this._value  = undefined;
+
+    // Special-case: the EachProxy relies on immediate evaluation to
+    // establish its observers.
+    if (this._parent && this._parent._key === '@each')
+      this.value();
+  }
+
+  // then notify chains...
+  var chains = this._chains;
+  if (chains) {
+    for(var key in chains) {
+      if (!chains.hasOwnProperty(key)) { continue; }
+      chains[key].didChange(suppressEvent);
+    }
+  }
+
+  if (suppressEvent) { return; }
+
+  // and finally tell parent about my path changing...
+  if (this._parent) { this._parent.chainDidChange(this, this._key, 1); }
+};
+
+// get the chains for the current object.  If the current object has
+// chains inherited from the proto they will be cloned and reconfigured for
+// the current object.
+/** @private */
+function chainsFor(obj) {
+  var m = metaFor(obj), ret = m.chains;
+  if (!ret) {
+    ret = m.chains = new ChainNode(null, null, obj);
+  } else if (ret.value() !== obj) {
+    ret = m.chains = ret.copy(obj);
+  }
+  return ret;
+}
+
+/** @private */
+function notifyChains(obj, m, keyName, methodName, arg) {
+  var nodes = m.chainWatchers;
+
+  if (!nodes || nodes.__emberproto__ !== obj) { return; } // nothing to do
+
+  nodes = nodes[keyName];
+  if (!nodes) { return; }
+
+  for(var key in nodes) {
+    if (!nodes.hasOwnProperty(key)) { continue; }
+    nodes[key][methodName](arg);
+  }
+}
+
+Ember.overrideChains = function(obj, keyName, m) {
+  notifyChains(obj, m, keyName, 'didChange', true);
+};
+
+/** @private */
+function chainsWillChange(obj, keyName, m) {
+  notifyChains(obj, m, keyName, 'willChange');
+}
+
+/** @private */
+function chainsDidChange(obj, keyName, m) {
+  notifyChains(obj, m, keyName, 'didChange');
+}
+
+// ..........................................................
+// WATCH
+//
+
+/**
+  @private
+
+  Starts watching a property on an object.  Whenever the property changes,
+  invokes Ember.propertyWillChange and Ember.propertyDidChange.  This is the
+  primitive used by observers and dependent keys; usually you will never call
+  this method directly but instead use higher level methods like
+  Ember.addObserver().
+*/
+Ember.watch = function(obj, keyName) {
+  // can't watch length on Array - it is special...
+  if (keyName === 'length' && Ember.typeOf(obj) === 'array') { return this; }
+
+  var m = metaFor(obj), watching = m.watching, desc;
+
+  // activate watching first time
+  if (!watching[keyName]) {
+    watching[keyName] = 1;
+    if (isKeyName(keyName)) {
+      desc = m.descs[keyName];
+      if (desc && desc.willWatch) { desc.willWatch(obj, keyName); }
+
+      if ('function' === typeof obj.willWatchProperty) {
+        obj.willWatchProperty(keyName);
+      }
+
+      if (MANDATORY_SETTER && keyName in obj) {
+        m.values[keyName] = obj[keyName];
+        o_defineProperty(obj, keyName, {
+          configurable: true,
+          enumerable: true,
+          set: function() {
+            Ember.assert('Must use Ember.set() to access this property', false);
+          },
+          get: function() {
+            var meta = this[META_KEY];
+            return meta && meta.values[keyName];
+          }
+        });
+      }
+    } else {
+      chainsFor(obj).add(keyName);
+    }
+
+  }  else {
+    watching[keyName] = (watching[keyName] || 0) + 1;
+  }
+  return this;
+};
+
+Ember.isWatching = function isWatching(obj, key) {
+  var meta = obj[META_KEY];
+  return (meta && meta.watching[key]) > 0;
+};
+
+Ember.watch.flushPending = flushPendingChains;
+
+/** @private */
+Ember.unwatch = function(obj, keyName) {
+  // can't watch length on Array - it is special...
+  if (keyName === 'length' && Ember.typeOf(obj) === 'array') { return this; }
+
+  var m = metaFor(obj), watching = m.watching, desc;
+
+  if (watching[keyName] === 1) {
+    watching[keyName] = 0;
+
+    if (isKeyName(keyName)) {
+      desc = m.descs[keyName];
+      if (desc && desc.didUnwatch) { desc.didUnwatch(obj, keyName); }
+
+      if ('function' === typeof obj.didUnwatchProperty) {
+        obj.didUnwatchProperty(keyName);
+      }
+
+      if (MANDATORY_SETTER && keyName in obj) {
+        o_defineProperty(obj, keyName, {
+          configurable: true,
+          enumerable: true,
+          writable: true,
+          value: m.values[keyName]
+        });
+        delete m.values[keyName];
+      }
+    } else {
+      chainsFor(obj).remove(keyName);
+    }
+
+  } else if (watching[keyName]>1) {
+    watching[keyName]--;
+  }
+
+  return this;
+};
+
+/**
+  @private
+
+  Call on an object when you first beget it from another object.  This will
+  setup any chained watchers on the object instance as needed.  This method is
+  safe to call multiple times.
+*/
+Ember.rewatch = function(obj) {
+  var m = metaFor(obj, false), chains = m.chains;
+
+  // make sure the object has its own guid.
+  if (GUID_KEY in obj && !obj.hasOwnProperty(GUID_KEY)) {
+    Ember.generateGuid(obj, 'ember');
+  }
+
+  // make sure any chained watchers update.
+  if (chains && chains.value() !== obj) {
+    m.chains = chains.copy(obj);
+  }
+
+  return this;
+};
+
+Ember.finishChains = function(obj) {
+  var m = metaFor(obj, false), chains = m.chains;
+  if (chains) {
+    if (chains.value() !== obj) {
+      m.chains = chains = chains.copy(obj);
+    }
+    chains.didChange(true);
+  }
+};
+
+// ..........................................................
+// PROPERTY CHANGES
+//
+
+/**
+  This function is called just before an object property is about to change.
+  It will notify any before observers and prepare caches among other things.
+
+  Normally you will not need to call this method directly but if for some
+  reason you can't directly watch a property you can invoke this method
+  manually along with `Ember.propertyDidChange()` which you should call just
+  after the property value changes.
+
+  @memberOf Ember
+
+  @param {Object} obj
+    The object with the property that will change
+
+  @param {String} keyName
+    The property key (or path) that will change.
+
+  @returns {void}
+*/
+function propertyWillChange(obj, keyName, value) {
+  var m = metaFor(obj, false),
+      watching = m.watching[keyName] > 0 || keyName === 'length',
+      proto = m.proto,
+      desc = m.descs[keyName];
+
+  if (!watching) { return; }
+  if (proto === obj) { return; }
+  if (desc && desc.willChange) { desc.willChange(obj, keyName); }
+  dependentKeysWillChange(obj, keyName, m);
+  chainsWillChange(obj, keyName, m);
+  Ember.notifyBeforeObservers(obj, keyName);
+}
+
+Ember.propertyWillChange = propertyWillChange;
+
+/**
+  This function is called just after an object property has changed.
+  It will notify any observers and clear caches among other things.
+
+  Normally you will not need to call this method directly but if for some
+  reason you can't directly watch a property you can invoke this method
+  manually along with `Ember.propertyWilLChange()` which you should call just
+  before the property value changes.
+
+  @memberOf Ember
+
+  @param {Object} obj
+    The object with the property that will change
+
+  @param {String} keyName
+    The property key (or path) that will change.
+
+  @returns {void}
+*/
+function propertyDidChange(obj, keyName) {
+  var m = metaFor(obj, false),
+      watching = m.watching[keyName] > 0 || keyName === 'length',
+      proto = m.proto,
+      desc = m.descs[keyName];
+
+  if (proto === obj) { return; }
+
+  // shouldn't this mean that we're watching this key?
+  if (desc && desc.didChange) { desc.didChange(obj, keyName); }
+  if (!watching && keyName !== 'length') { return; }
+
+  dependentKeysDidChange(obj, keyName, m);
+  chainsDidChange(obj, keyName, m);
+  Ember.notifyObservers(obj, keyName);
+}
+
+Ember.propertyDidChange = propertyDidChange;
+
+var NODE_STACK = [];
+
+/**
+  Tears down the meta on an object so that it can be garbage collected.
+  Multiple calls will have no effect.
+
+  @param {Object} obj  the object to destroy
+  @returns {void}
+*/
+Ember.destroy = function (obj) {
+  var meta = obj[META_KEY], node, nodes, key, nodeObject;
+  if (meta) {
+    obj[META_KEY] = null;
+    // remove chainWatchers to remove circular references that would prevent GC
+    node = meta.chains;
+    if (node) {
+      NODE_STACK.push(node);
+      // process tree
+      while (NODE_STACK.length > 0) {
+        node = NODE_STACK.pop();
+        // push children
+        nodes = node._chains;
+        if (nodes) {
+          for (key in nodes) {
+            if (nodes.hasOwnProperty(key)) {
+              NODE_STACK.push(nodes[key]);
+            }
+          }
+        }
+        // remove chainWatcher in node object
+        if (node._watching) {
+          nodeObject = node._object;
+          if (nodeObject) {
+            removeChainWatcher(nodeObject, node._key, node);
+          }
+        }
+      }
+    }
+  }
+};
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Metal
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+Ember.warn("Computed properties will soon be cacheable by default. To enable this in your app, set `ENV.CP_DEFAULT_CACHEABLE = true`.", Ember.CP_DEFAULT_CACHEABLE);
+
+
+var get = Ember.get,
+    metaFor = Ember.meta,
+    guidFor = Ember.guidFor,
+    a_slice = [].slice,
+    o_create = Ember.create,
+    META_KEY = Ember.META_KEY,
+    watch = Ember.watch,
+    unwatch = Ember.unwatch;
+
+// ..........................................................
+// DEPENDENT KEYS
+//
+
+// data structure:
+//  meta.deps = {
+//   'depKey': {
+//     'keyName': count,
+//     __emberproto__: SRC_OBJ [to detect clones]
+//     },
+//   __emberproto__: SRC_OBJ
+//  }
+
+/**
+  @private
+
+  This function returns a map of unique dependencies for a
+  given object and key.
+*/
+function keysForDep(obj, depsMeta, depKey) {
+  var keys = depsMeta[depKey];
+  if (!keys) {
+    // if there are no dependencies yet for a the given key
+    // create a new empty list of dependencies for the key
+    keys = depsMeta[depKey] = { __emberproto__: obj };
+  } else if (keys.__emberproto__ !== obj) {
+    // otherwise if the dependency list is inherited from
+    // a superclass, clone the hash
+    keys = depsMeta[depKey] = o_create(keys);
+    keys.__emberproto__ = obj;
+  }
+  return keys;
+}
+
+/**
+  @private
+
+  return obj[META_KEY].deps
+  */
+function metaForDeps(obj, meta) {
+  var deps = meta.deps;
+  // If the current object has no dependencies...
+  if (!deps) {
+    // initialize the dependencies with a pointer back to
+    // the current object
+    deps = meta.deps = { __emberproto__: obj };
+  } else if (deps.__emberproto__ !== obj) {
+    // otherwise if the dependencies are inherited from the
+    // object's superclass, clone the deps
+    deps = meta.deps = o_create(deps);
+    deps.__emberproto__ = obj;
+  }
+  return deps;
+}
+
+/** @private */
+function addDependentKeys(desc, obj, keyName, meta) {
+  // the descriptor has a list of dependent keys, so
+  // add all of its dependent keys.
+  var depKeys = desc._dependentKeys, depsMeta, idx, len, depKey, keys;
+  if (!depKeys) return;
+
+  depsMeta = metaForDeps(obj, meta);
+
+  for(idx = 0, len = depKeys.length; idx < len; idx++) {
+    depKey = depKeys[idx];
+    // Lookup keys meta for depKey
+    keys = keysForDep(obj, depsMeta, depKey);
+    // Increment the number of times depKey depends on keyName.
+    keys[keyName] = (keys[keyName] || 0) + 1;
+    // Watch the depKey
+    watch(obj, depKey);
+  }
+}
+
+/** @private */
+function removeDependentKeys(desc, obj, keyName, meta) {
+  // the descriptor has a list of dependent keys, so
+  // add all of its dependent keys.
+  var depKeys = desc._dependentKeys, depsMeta, idx, len, depKey, keys;
+  if (!depKeys) return;
+
+  depsMeta = metaForDeps(obj, meta);
+
+  for(idx = 0, len = depKeys.length; idx < len; idx++) {
+    depKey = depKeys[idx];
+    // Lookup keys meta for depKey
+    keys = keysForDep(obj, depsMeta, depKey);
+    // Increment the number of times depKey depends on keyName.
+    keys[keyName] = (keys[keyName] || 0) - 1;
+    // Watch the depKey
+    unwatch(obj, depKey);
+  }
+}
+
+// ..........................................................
+// COMPUTED PROPERTY
+//
+
+/** @private */
+function ComputedProperty(func, opts) {
+  this.func = func;
+  this._cacheable = (opts && opts.cacheable !== undefined) ? opts.cacheable : Ember.CP_DEFAULT_CACHEABLE;
+  this._dependentKeys = opts && opts.dependentKeys;
+}
+
+/**
+  @constructor
+*/
+Ember.ComputedProperty = ComputedProperty;
+ComputedProperty.prototype = new Ember.Descriptor();
+
+/**
+  @extends Ember.ComputedProperty
+  @private
+*/
+var ComputedPropertyPrototype = ComputedProperty.prototype;
+
+/**
+  Call on a computed property to set it into cacheable mode.  When in this
+  mode the computed property will automatically cache the return value of
+  your function until one of the dependent keys changes.
+
+      MyApp.president = Ember.Object.create({
+        fullName: function() {
+          return this.get('firstName') + ' ' + this.get('lastName');
+
+          // After calculating the value of this function, Ember.js will
+          // return that value without re-executing this function until
+          // one of the dependent properties change.
+        }.property('firstName', 'lastName').cacheable()
+      });
+
+  Properties are cacheable by default.
+
+  @memberOf Ember.ComputedProperty.prototype
+  @name cacheable
+  @function
+  @param {Boolean} aFlag optional set to false to disable caching
+  @returns {Ember.ComputedProperty} receiver
+*/
+ComputedPropertyPrototype.cacheable = function(aFlag) {
+  this._cacheable = aFlag !== false;
+  return this;
+};
+
+/**
+  Call on a computed property to set it into non-cached mode.  When in this
+  mode the computed property will not automatically cache the return value.
+
+      MyApp.outsideService = Ember.Object.create({
+        value: function() {
+          return OutsideService.getValue();
+        }.property().volatile()
+      });
+
+  @memberOf Ember.ComputedProperty.prototype
+  @name volatile
+  @function
+  @returns {Ember.ComputedProperty} receiver
+*/
+ComputedPropertyPrototype.volatile = function() {
+  return this.cacheable(false);
+};
+
+/**
+  Sets the dependent keys on this computed property.  Pass any number of
+  arguments containing key paths that this computed property depends on.
+
+      MyApp.president = Ember.Object.create({
+        fullName: Ember.computed(function() {
+          return this.get('firstName') + ' ' + this.get('lastName');
+
+          // Tell Ember.js that this computed property depends on firstName
+          // and lastName
+        }).property('firstName', 'lastName')
+      });
+
+  @memberOf Ember.ComputedProperty.prototype
+  @name property
+  @function
+  @param {String} path... zero or more property paths
+  @returns {Ember.ComputedProperty} receiver
+*/
+ComputedPropertyPrototype.property = function() {
+  var args = [];
+  for (var i = 0, l = arguments.length; i < l; i++) {
+    args.push(arguments[i]);
+  }
+  this._dependentKeys = args;
+  return this;
+};
+
+/**
+  In some cases, you may want to annotate computed properties with additional
+  metadata about how they function or what values they operate on. For example,
+  computed property functions may close over variables that are then no longer
+  available for introspection.
+
+  You can pass a hash of these values to a computed property like this:
+
+      person: function() {
+        var personId = this.get('personId');
+        return App.Person.create({ id: personId });
+      }.property().meta({ type: App.Person })
+
+  The hash that you pass to the `meta()` function will be saved on the
+  computed property descriptor under the `_meta` key. Ember runtime
+  exposes a public API for retrieving these values from classes,
+  via the `metaForProperty()` function.
+
+  @memberOf Ember.ComputedProperty.prototype
+  @name meta
+  @function
+  @param {Hash} meta
+  @returns {Ember.ComputedProperty} property descriptor instance
+*/
+
+ComputedPropertyPrototype.meta = function(meta) {
+  if (arguments.length === 0) {
+    return this._meta || {};
+  } else {
+    this._meta = meta;
+    return this;
+  }
+};
+
+/** @private - impl descriptor API */
+ComputedPropertyPrototype.willWatch = function(obj, keyName) {
+  // watch already creates meta for this instance
+  var meta = obj[META_KEY];
+  Ember.assert('watch should have setup meta to be writable', meta.source === obj);
+  if (!(keyName in meta.cache)) {
+    addDependentKeys(this, obj, keyName, meta);
+  }
+};
+
+ComputedPropertyPrototype.didUnwatch = function(obj, keyName) {
+  var meta = obj[META_KEY];
+  Ember.assert('unwatch should have setup meta to be writable', meta.source === obj);
+  if (!(keyName in meta.cache)) {
+    // unwatch already creates meta for this instance
+    removeDependentKeys(this, obj, keyName, meta);
+  }
+};
+
+/** @private - impl descriptor API */
+ComputedPropertyPrototype.didChange = function(obj, keyName) {
+  // _suspended is set via a CP.set to ensure we don't clear
+  // the cached value set by the setter
+  if (this._cacheable && this._suspended !== obj) {
+    var meta = metaFor(obj);
+    if (keyName in meta.cache) {
+      delete meta.cache[keyName];
+      if (!meta.watching[keyName]) {
+        removeDependentKeys(this, obj, keyName, meta);
+      }
+    }
+  }
+};
+
+/** @private - impl descriptor API */
+ComputedPropertyPrototype.get = function(obj, keyName) {
+  var ret, cache, meta;
+  if (this._cacheable) {
+    meta = metaFor(obj);
+    cache = meta.cache;
+    if (keyName in cache) { return cache[keyName]; }
+    ret = cache[keyName] = this.func.call(obj, keyName);
+    if (!meta.watching[keyName]) {
+      addDependentKeys(this, obj, keyName, meta);
+    }
+  } else {
+    ret = this.func.call(obj, keyName);
+  }
+  return ret;
+};
+
+/** @private - impl descriptor API */
+ComputedPropertyPrototype.set = function(obj, keyName, value) {
+  var cacheable = this._cacheable,
+      meta = metaFor(obj, cacheable),
+      watched = meta.watching[keyName],
+      oldSuspended = this._suspended,
+      hadCachedValue,
+      ret;
+
+  this._suspended = obj;
+
+  if (watched) { Ember.propertyWillChange(obj, keyName); }
+  if (cacheable) {
+    if (keyName in meta.cache) {
+      delete meta.cache[keyName];
+      hadCachedValue = true;
+    }
+  }
+  ret = this.func.call(obj, keyName, value);
+  if (cacheable) {
+    if (!watched && !hadCachedValue) {
+      addDependentKeys(this, obj, keyName, meta);
+    }
+    meta.cache[keyName] = ret;
+  }
+  if (watched) { Ember.propertyDidChange(obj, keyName); }
+  this._suspended = oldSuspended;
+  return ret;
+};
+
+/** @private - called when property is defined */
+ComputedPropertyPrototype.setup = function(obj, keyName) {
+  var meta = obj[META_KEY];
+  if (meta && meta.watching[keyName]) {
+    addDependentKeys(this, obj, keyName, metaFor(obj));
+  }
+};
+
+/** @private - called before property is overridden */
+ComputedPropertyPrototype.teardown = function(obj, keyName) {
+  var meta = metaFor(obj);
+
+  if (meta.watching[keyName] || keyName in meta.cache) {
+    removeDependentKeys(this, obj, keyName, meta);
+  }
+
+  if (this._cacheable) { delete meta.cache[keyName]; }
+
+  return null; // no value to restore
+};
+
+/**
+  This helper returns a new property descriptor that wraps the passed
+  computed property function.  You can use this helper to define properties
+  with mixins or via Ember.defineProperty().
+
+  The function you pass will be used to both get and set property values.
+  The function should accept two parameters, key and value.  If value is not
+  undefined you should set the value first.  In either case return the
+  current value of the property.
+
+  @param {Function} func
+    The computed property function.
+
+  @returns {Ember.ComputedProperty} property descriptor instance
+*/
+Ember.computed = function(func) {
+  var args;
+
+  if (arguments.length > 1) {
+    args = a_slice.call(arguments, 0, -1);
+    func = a_slice.call(arguments, -1)[0];
+  }
+
+  var cp = new ComputedProperty(func);
+
+  if (args) {
+    cp.property.apply(cp, args);
+  }
+
+  return cp;
+};
+
+/**
+  Returns the cached value for a property, if one exists.
+  This can be useful for peeking at the value of a computed
+  property that is generated lazily, without accidentally causing
+  it to be created.
+
+  @param {Object} obj the object whose property you want to check
+  @param {String} key the name of the property whose cached value you want
+                      to return
+
+*/
+Ember.cacheFor = function cacheFor(obj, key) {
+  var cache = metaFor(obj, false).cache;
+
+  if (cache && key in cache) {
+    return cache[key];
+  }
+};
+
+Ember.computed.not = function(dependentKey) {
+  return Ember.computed(dependentKey, function(key) {
+    return !get(this, dependentKey);
+  }).cacheable();
+};
+
+Ember.computed.empty = function(dependentKey) {
+  return Ember.computed(dependentKey, function(key) {
+    var val = get(this, dependentKey);
+    return val === undefined || val === null || val === '' || (Ember.isArray(val) && get(val, 'length') === 0);
+  }).cacheable();
+};
+
+Ember.computed.bool = function(dependentKey) {
+  return Ember.computed(dependentKey, function(key) {
+    return !!get(this, dependentKey);
+  }).cacheable();
+};
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Metal
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var o_create = Ember.create,
+    meta = Ember.meta,
+    metaPath = Ember.metaPath,
+    guidFor = Ember.guidFor,
+    a_slice = [].slice;
+
+/**
+  The event system uses a series of nested hashes to store listeners on an
+  object. When a listener is registered, or when an event arrives, these
+  hashes are consulted to determine which target and action pair to invoke.
+
+  The hashes are stored in the object's meta hash, and look like this:
+
+      // Object's meta hash
+      {
+        listeners: {               // variable name: `listenerSet`
+          "foo:changed": {         // variable name: `targetSet`
+            [targetGuid]: {        // variable name: `actionSet`
+              [methodGuid]: {      // variable name: `action`
+                target: [Object object],
+                method: [Function function]
+              }
+            }
+          }
+        }
+      }
+
+*/
+
+// Gets the set of all actions, keyed on the guid of each action's
+// method property.
+/** @private */
+function actionSetFor(obj, eventName, target, writable) {
+  return metaPath(obj, ['listeners', eventName, guidFor(target)], writable);
+}
+
+// Gets the set of all targets, keyed on the guid of each action's
+// target property.
+/** @private */
+function targetSetFor(obj, eventName) {
+  var listenerSet = meta(obj, false).listeners;
+  if (!listenerSet) { return false; }
+
+  return listenerSet[eventName] || false;
+}
+
+// TODO: This knowledge should really be a part of the
+// meta system.
+var SKIP_PROPERTIES = { __ember_source__: true };
+
+/** @private */
+function iterateSet(obj, eventName, callback, params) {
+  var targetSet = targetSetFor(obj, eventName);
+  if (!targetSet) { return false; }
+  // Iterate through all elements of the target set
+  for(var targetGuid in targetSet) {
+    if (SKIP_PROPERTIES[targetGuid]) { continue; }
+
+    var actionSet = targetSet[targetGuid];
+    if (actionSet) {
+      // Iterate through the elements of the action set
+      for(var methodGuid in actionSet) {
+        if (SKIP_PROPERTIES[methodGuid]) { continue; }
+
+        var action = actionSet[methodGuid];
+        if (action) {
+          if (callback(action, params, obj) === true) {
+            return true;
+          }
+        }
+      }
+    }
+  }
+  return false;
+}
+
+/** @private */
+function invokeAction(action, params, sender) {
+  var method = action.method, target = action.target;
+  // If there is no target, the target is the object
+  // on which the event was fired.
+  if (!target) { target = sender; }
+  if ('string' === typeof method) { method = target[method]; }
+  if (params) {
+    method.apply(target, params);
+  } else {
+    method.apply(target);
+  }
+}
+
+/**
+  The sendEvent arguments > 2 are passed to an event listener.
+
+  @memberOf Ember
+*/
+function addListener(obj, eventName, target, method) {
+  Ember.assert("You must pass at least an object and event name to Ember.addListener", !!obj && !!eventName);
+
+  if (!method && 'function' === typeof target) {
+    method = target;
+    target = null;
+  }
+
+  var actionSet = actionSetFor(obj, eventName, target, true),
+      methodGuid = guidFor(method);
+
+  if (!actionSet[methodGuid]) {
+    actionSet[methodGuid] = { target: target, method: method };
+  }
+
+  if ('function' === typeof obj.didAddListener) {
+    obj.didAddListener(eventName, target, method);
+  }
+}
+
+/** @memberOf Ember */
+function removeListener(obj, eventName, target, method) {
+  Ember.assert("You must pass at least an object and event name to Ember.removeListener", !!obj && !!eventName);
+
+  if (!method && 'function' === typeof target) {
+    method = target;
+    target = null;
+  }
+
+  var actionSet = actionSetFor(obj, eventName, target, true),
+      methodGuid = guidFor(method);
+
+  // we can't simply delete this parameter, because if we do, we might
+  // re-expose the property from the prototype chain.
+  if (actionSet && actionSet[methodGuid]) { actionSet[methodGuid] = null; }
+
+  if ('function' === typeof obj.didRemoveListener) {
+    obj.didRemoveListener(eventName, target, method);
+  }
+}
+
+// Suspend listener during callback.
+//
+// This should only be used by the target of the event listener
+// when it is taking an action that would cause the event, e.g.
+// an object might suspend its property change listener while it is
+// setting that property.
+/** @private */
+function suspendListener(obj, eventName, target, method, callback) {
+  if (!method && 'function' === typeof target) {
+    method = target;
+    target = null;
+  }
+
+  var actionSet = actionSetFor(obj, eventName, target, true),
+      methodGuid = guidFor(method),
+      action = actionSet && actionSet[methodGuid];
+
+  actionSet[methodGuid] = null;
+  try {
+    return callback.call(target);
+  } finally {
+    actionSet[methodGuid] = action;
+  }
+}
+
+// returns a list of currently watched events
+/** @memberOf Ember */
+function watchedEvents(obj) {
+  var listeners = meta(obj, false).listeners, ret = [];
+
+  if (listeners) {
+    for(var eventName in listeners) {
+      if (!SKIP_PROPERTIES[eventName] && listeners[eventName]) {
+        ret.push(eventName);
+      }
+    }
+  }
+  return ret;
+}
+
+/** @memberOf Ember */
+function sendEvent(obj, eventName, params) {
+  // first give object a chance to handle it
+  if (obj !== Ember && 'function' === typeof obj.sendEvent) {
+    obj.sendEvent(eventName, params);
+  }
+
+  iterateSet(obj, eventName, invokeAction, params);
+  return true;
+}
+
+/** @memberOf Ember */
+function deferEvent(obj, eventName, params) {
+  var actions = [];
+  iterateSet(obj, eventName, function (action) {
+    actions.push(action);
+  });
+
+  return function() {
+    if (obj.isDestroyed) { return; }
+
+    if (obj !== Ember && 'function' === typeof obj.sendEvent) {
+      obj.sendEvent(eventName, params);
+    }
+
+    for (var i=0, len=actions.length; i < len; ++i) {
+      invokeAction(actions[i], params, obj);
+    }
+  };
+}
+
+/** @memberOf Ember */
+function hasListeners(obj, eventName) {
+  if (iterateSet(obj, eventName, function() { return true; })) {
+    return true;
+  }
+
+  // no listeners!  might as well clean this up so it is faster later.
+  var set = metaPath(obj, ['listeners'], true);
+  set[eventName] = null;
+
+  return false;
+}
+
+/** @memberOf Ember */
+function listenersFor(obj, eventName) {
+  var ret = [];
+  iterateSet(obj, eventName, function (action) {
+    ret.push([action.target, action.method]);
+  });
+  return ret;
+}
+
+Ember.addListener = addListener;
+Ember.removeListener = removeListener;
+Ember._suspendListener = suspendListener;
+Ember.sendEvent = sendEvent;
+Ember.hasListeners = hasListeners;
+Ember.watchedEvents = watchedEvents;
+Ember.listenersFor = listenersFor;
+Ember.deferEvent = deferEvent;
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2010 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+// Ember.Logger
+// Ember.watch.flushPending
+// Ember.beginPropertyChanges, Ember.endPropertyChanges
+// Ember.guidFor
+
+// ..........................................................
+// HELPERS
+//
+
+var slice = [].slice,
+    forEach = Ember.ArrayPolyfills.forEach;
+
+// invokes passed params - normalizing so you can pass target/func,
+// target/string or just func
+/** @private */
+function invoke(target, method, args, ignore) {
+
+  if (method === undefined) {
+    method = target;
+    target = undefined;
+  }
+
+  if ('string' === typeof method) { method = target[method]; }
+  if (args && ignore > 0) {
+    args = args.length > ignore ? slice.call(args, ignore) : null;
+  }
+
+  // Unfortunately in some browsers we lose the backtrace if we rethrow the existing error,
+  // so in the event that we don't have an `onerror` handler we don't wrap in a try/catch
+  if ('function' === typeof Ember.onerror) {
+    try {
+      // IE8's Function.prototype.apply doesn't accept undefined/null arguments.
+      return method.apply(target || this, args || []);
+    } catch (error) {
+      Ember.onerror(error);
+    }
+  } else {
+    // IE8's Function.prototype.apply doesn't accept undefined/null arguments.
+    return method.apply(target || this, args || []);
+  }
+}
+
+
+// ..........................................................
+// RUNLOOP
+//
+
+var timerMark; // used by timers...
+
+/** @private */
+var RunLoop = function(prev) {
+  this._prev = prev || null;
+  this.onceTimers = {};
+};
+
+RunLoop.prototype = {
+  end: function() {
+    this.flush();
+  },
+
+  prev: function() {
+    return this._prev;
+  },
+
+  // ..........................................................
+  // Delayed Actions
+  //
+
+  schedule: function(queueName, target, method) {
+    var queues = this._queues, queue;
+    if (!queues) { queues = this._queues = {}; }
+    queue = queues[queueName];
+    if (!queue) { queue = queues[queueName] = []; }
+
+    var args = arguments.length > 3 ? slice.call(arguments, 3) : null;
+    queue.push({ target: target, method: method, args: args });
+    return this;
+  },
+
+  flush: function(queueName) {
+    var queueNames, idx, len, queue, log;
+
+    if (!this._queues) { return this; } // nothing to do
+
+    function iter(item) {
+      invoke(item.target, item.method, item.args);
+    }
+
+    Ember.watch.flushPending(); // make sure all chained watchers are setup
+
+    if (queueName) {
+      while (this._queues && (queue = this._queues[queueName])) {
+        this._queues[queueName] = null;
+
+        // the sync phase is to allow property changes to propagate.  don't
+        // invoke observers until that is finished.
+        if (queueName === 'sync') {
+          log = Ember.LOG_BINDINGS;
+          if (log) { Ember.Logger.log('Begin: Flush Sync Queue'); }
+
+          Ember.beginPropertyChanges();
+          try {
+            forEach.call(queue, iter);
+          } finally {
+            Ember.endPropertyChanges();
+          }
+
+          if (log) { Ember.Logger.log('End: Flush Sync Queue'); }
+
+        } else {
+          forEach.call(queue, iter);
+        }
+      }
+
+    } else {
+      queueNames = Ember.run.queues;
+      len = queueNames.length;
+      idx = 0;
+
+      outerloop:
+      while (idx < len) {
+        queueName = queueNames[idx];
+        queue = this._queues && this._queues[queueName];
+        delete this._queues[queueName];
+
+        if (queue) {
+          // the sync phase is to allow property changes to propagate.  don't
+          // invoke observers until that is finished.
+          if (queueName === 'sync') {
+            log = Ember.LOG_BINDINGS;
+            if (log) { Ember.Logger.log('Begin: Flush Sync Queue'); }
+
+            Ember.beginPropertyChanges();
+            try {
+              forEach.call(queue, iter);
+            } finally {
+              Ember.endPropertyChanges();
+            }
+
+            if (log) { Ember.Logger.log('End: Flush Sync Queue'); }
+          } else {
+            forEach.call(queue, iter);
+          }
+        }
+
+        // Loop through prior queues
+        for (var i = 0; i <= idx; i++) {
+          if (this._queues && this._queues[queueNames[i]]) {
+            // Start over at the first queue with contents
+            idx = i;
+            continue outerloop;
+          }
+        }
+
+        idx++;
+      }
+    }
+
+    timerMark = null;
+
+    return this;
+  }
+
+};
+
+Ember.RunLoop = RunLoop;
+
+// ..........................................................
+// Ember.run - this is ideally the only public API the dev sees
+//
+/**
+* @namespace Ember.run is both a function and a namespace for
+* RunLoop-related functions.
+* @name Ember.run
+*/
+
+/**
+  Runs the passed target and method inside of a RunLoop, ensuring any
+  deferred actions including bindings and views updates are flushed at the
+  end.
+
+  Normally you should not need to invoke this method yourself.  However if
+  you are implementing raw event handlers when interfacing with other
+  libraries or plugins, you should probably wrap all of your code inside this
+  call.
+
+      Ember.run(function(){
+        // code to be execute within a RunLoop
+      });
+
+  @name run
+  @methodOf Ember.run
+  @param {Object} target
+    (Optional) target of method to call
+
+  @param {Function|String} method
+    Method to invoke.  May be a function or a string.  If you pass a string
+    then it will be looked up on the passed target.
+
+  @param {Object...} args
+    Any additional arguments you wish to pass to the method.
+
+  @returns {Object} return value from invoking the passed function.
+*/
+Ember.run = function(target, method) {
+  var ret, loop;
+  run.begin();
+  try {
+    if (target || method) { ret = invoke(target, method, arguments, 2); }
+  } finally {
+    run.end();
+  }
+  return ret;
+};
+
+/** @private */
+var run = Ember.run;
+
+
+/**
+  Begins a new RunLoop.  Any deferred actions invoked after the begin will
+  be buffered until you invoke a matching call to Ember.run.end().  This is
+  an lower-level way to use a RunLoop instead of using Ember.run().
+
+      Ember.run.begin();
+      // code to be execute within a RunLoop
+      Ember.run.end();
+
+
+  @returns {void}
+*/
+Ember.run.begin = function() {
+  run.currentRunLoop = new RunLoop(run.currentRunLoop);
+};
+
+/**
+  Ends a RunLoop.  This must be called sometime after you call Ember.run.begin()
+  to flush any deferred actions.  This is a lower-level way to use a RunLoop
+  instead of using Ember.run().
+
+      Ember.run.begin();
+      // code to be execute within a RunLoop
+      Ember.run.end();
+
+  @returns {void}
+*/
+Ember.run.end = function() {
+  Ember.assert('must have a current run loop', run.currentRunLoop);
+  try {
+    run.currentRunLoop.end();
+  }
+  finally {
+    run.currentRunLoop = run.currentRunLoop.prev();
+  }
+};
+
+/**
+  Array of named queues.  This array determines the order in which queues
+  are flushed at the end of the RunLoop.  You can define your own queues by
+  simply adding the queue name to this array.  Normally you should not need
+  to inspect or modify this property.
+
+  @type Array
+  @default ['sync', 'actions', 'destroy', 'timers']
+*/
+Ember.run.queues = ['sync', 'actions', 'destroy', 'timers'];
+
+/**
+  Adds the passed target/method and any optional arguments to the named
+  queue to be executed at the end of the RunLoop.  If you have not already
+  started a RunLoop when calling this method one will be started for you
+  automatically.
+
+  At the end of a RunLoop, any methods scheduled in this way will be invoked.
+  Methods will be invoked in an order matching the named queues defined in
+  the run.queues property.
+
+      Ember.run.schedule('timers', this, function(){
+        // this will be executed at the end of the RunLoop, when timers are run
+        console.log("scheduled on timers queue");
+      });
+      Ember.run.schedule('sync', this, function(){
+        // this will be executed at the end of the RunLoop, when bindings are synced
+        console.log("scheduled on sync queue");
+      });
+      // Note the functions will be run in order based on the run queues order. Output would be:
+      //   scheduled on sync queue
+      //   scheduled on timers queue
+
+  @param {String} queue
+    The name of the queue to schedule against.  Default queues are 'sync' and
+    'actions'
+
+  @param {Object} target
+    (Optional) target object to use as the context when invoking a method.
+
+  @param {String|Function} method
+    The method to invoke.  If you pass a string it will be resolved on the
+    target object at the time the scheduled item is invoked allowing you to
+    change the target function.
+
+  @param {Object} arguments...
+    Optional arguments to be passed to the queued method.
+
+  @returns {void}
+*/
+Ember.run.schedule = function(queue, target, method) {
+  var loop = run.autorun();
+  loop.schedule.apply(loop, arguments);
+};
+
+var scheduledAutorun;
+/** @private */
+function autorun() {
+  scheduledAutorun = null;
+  if (run.currentRunLoop) { run.end(); }
+}
+
+// Used by global test teardown
+/** @private */
+Ember.run.hasScheduledTimers = function() {
+  return !!(scheduledAutorun || scheduledLater || scheduledNext);
+};
+
+// Used by global test teardown
+/** @private */
+Ember.run.cancelTimers = function () {
+  if (scheduledAutorun) {
+    clearTimeout(scheduledAutorun);
+    scheduledAutorun = null;
+  }
+  if (scheduledLater) {
+    clearTimeout(scheduledLater);
+    scheduledLater = null;
+  }
+  if (scheduledNext) {
+    clearTimeout(scheduledNext);
+    scheduledNext = null;
+  }
+  timers = {};
+};
+
+/**
+  Begins a new RunLoop if necessary and schedules a timer to flush the
+  RunLoop at a later time.  This method is used by parts of Ember to
+  ensure the RunLoop always finishes.  You normally do not need to call this
+  method directly.  Instead use Ember.run().
+
+      Ember.run.autorun();
+
+  @returns {Ember.RunLoop} the new current RunLoop
+*/
+Ember.run.autorun = function() {
+  if (!run.currentRunLoop) {
+    Ember.assert("You have turned on testing mode, which disabled the run-loop's autorun. You will need to wrap any code with asynchronous side-effects in an Ember.run", !Ember.testing);
+
+    run.begin();
+
+    if (!scheduledAutorun) {
+      scheduledAutorun = setTimeout(autorun, 1);
+    }
+  }
+
+  return run.currentRunLoop;
+};
+
+/**
+  Immediately flushes any events scheduled in the 'sync' queue.  Bindings
+  use this queue so this method is a useful way to immediately force all
+  bindings in the application to sync.
+
+  You should call this method anytime you need any changed state to propagate
+  throughout the app immediately without repainting the UI.
+
+      Ember.run.sync();
+
+  @returns {void}
+*/
+Ember.run.sync = function() {
+  run.autorun();
+  run.currentRunLoop.flush('sync');
+};
+
+// ..........................................................
+// TIMERS
+//
+
+var timers = {}; // active timers...
+
+var scheduledLater;
+/** @private */
+function invokeLaterTimers() {
+  scheduledLater = null;
+  var now = (+ new Date()), earliest = -1;
+  for (var key in timers) {
+    if (!timers.hasOwnProperty(key)) { continue; }
+    var timer = timers[key];
+    if (timer && timer.expires) {
+      if (now >= timer.expires) {
+        delete timers[key];
+        invoke(timer.target, timer.method, timer.args, 2);
+      } else {
+        if (earliest<0 || (timer.expires < earliest)) earliest=timer.expires;
+      }
+    }
+  }
+
+  // schedule next timeout to fire...
+  if (earliest > 0) { scheduledLater = setTimeout(invokeLaterTimers, earliest-(+ new Date())); }
+}
+
+/**
+  Invokes the passed target/method and optional arguments after a specified
+  period if time.  The last parameter of this method must always be a number
+  of milliseconds.
+
+  You should use this method whenever you need to run some action after a
+  period of time instead of using setTimeout().  This method will ensure that
+  items that expire during the same script execution cycle all execute
+  together, which is often more efficient than using a real setTimeout.
+
+      Ember.run.later(myContext, function(){
+        // code here will execute within a RunLoop in about 500ms with this == myContext
+      }, 500);
+
+  @param {Object} target
+    (optional) target of method to invoke
+
+  @param {Function|String} method
+    The method to invoke.  If you pass a string it will be resolved on the
+    target at the time the method is invoked.
+
+  @param {Object...} args
+    Optional arguments to pass to the timeout.
+
+  @param {Number} wait
+    Number of milliseconds to wait.
+
+  @returns {String} a string you can use to cancel the timer in Ember.run.cancel() later.
+*/
+Ember.run.later = function(target, method) {
+  var args, expires, timer, guid, wait;
+
+  // setTimeout compatibility...
+  if (arguments.length===2 && 'function' === typeof target) {
+    wait   = method;
+    method = target;
+    target = undefined;
+    args   = [target, method];
+  } else {
+    args = slice.call(arguments);
+    wait = args.pop();
+  }
+
+  expires = (+ new Date()) + wait;
+  timer   = { target: target, method: method, expires: expires, args: args };
+  guid    = Ember.guidFor(timer);
+  timers[guid] = timer;
+  run.once(timers, invokeLaterTimers);
+  return guid;
+};
+
+/** @private */
+function invokeOnceTimer(guid, onceTimers) {
+  if (onceTimers[this.tguid]) { delete onceTimers[this.tguid][this.mguid]; }
+  if (timers[guid]) { invoke(this.target, this.method, this.args, 2); }
+  delete timers[guid];
+}
+
+/**
+  Schedules an item to run one time during the current RunLoop.  Calling
+  this method with the same target/method combination will have no effect.
+
+  Note that although you can pass optional arguments these will not be
+  considered when looking for duplicates.  New arguments will replace previous
+  calls.
+
+      Ember.run(function(){
+        var doFoo = function() { foo(); }
+        Ember.run.once(myContext, doFoo);
+        Ember.run.once(myContext, doFoo);
+        // doFoo will only be executed once at the end of the RunLoop
+      });
+
+  @param {Object} target
+    (optional) target of method to invoke
+
+  @param {Function|String} method
+    The method to invoke.  If you pass a string it will be resolved on the
+    target at the time the method is invoked.
+
+  @param {Object...} args
+    Optional arguments to pass to the timeout.
+
+
+  @returns {Object} timer
+*/
+Ember.run.once = function(target, method) {
+  var tguid = Ember.guidFor(target),
+      mguid = Ember.guidFor(method),
+      onceTimers = run.autorun().onceTimers,
+      guid = onceTimers[tguid] && onceTimers[tguid][mguid],
+      timer;
+
+  if (guid && timers[guid]) {
+    timers[guid].args = slice.call(arguments); // replace args
+  } else {
+    timer = {
+      target: target,
+      method: method,
+      args:   slice.call(arguments),
+      tguid:  tguid,
+      mguid:  mguid
+    };
+
+    guid  = Ember.guidFor(timer);
+    timers[guid] = timer;
+    if (!onceTimers[tguid]) { onceTimers[tguid] = {}; }
+    onceTimers[tguid][mguid] = guid; // so it isn't scheduled more than once
+
+    run.schedule('actions', timer, invokeOnceTimer, guid, onceTimers);
+  }
+
+  return guid;
+};
+
+var scheduledNext;
+/** @private */
+function invokeNextTimers() {
+  scheduledNext = null;
+  for(var key in timers) {
+    if (!timers.hasOwnProperty(key)) { continue; }
+    var timer = timers[key];
+    if (timer.next) {
+      delete timers[key];
+      invoke(timer.target, timer.method, timer.args, 2);
+    }
+  }
+}
+
+/**
+  Schedules an item to run after control has been returned to the system.
+  This is often equivalent to calling setTimeout(function...,1).
+
+      Ember.run.next(myContext, function(){
+        // code to be executed in the next RunLoop, which will be scheduled after the current one
+      });
+
+  @param {Object} target
+    (optional) target of method to invoke
+
+  @param {Function|String} method
+    The method to invoke.  If you pass a string it will be resolved on the
+    target at the time the method is invoked.
+
+  @param {Object...} args
+    Optional arguments to pass to the timeout.
+
+  @returns {Object} timer
+*/
+Ember.run.next = function(target, method) {
+  var guid,
+      timer = {
+        target: target,
+        method: method,
+        args: slice.call(arguments),
+        next: true
+      };
+
+  guid = Ember.guidFor(timer);
+  timers[guid] = timer;
+
+  if (!scheduledNext) { scheduledNext = setTimeout(invokeNextTimers, 1); }
+  return guid;
+};
+
+/**
+  Cancels a scheduled item.  Must be a value returned by `Ember.run.later()`,
+  `Ember.run.once()`, or `Ember.run.next()`.
+
+      var runNext = Ember.run.next(myContext, function(){
+        // will not be executed
+      });
+      Ember.run.cancel(runNext);
+
+      var runLater = Ember.run.later(myContext, function(){
+        // will not be executed
+      }, 500);
+      Ember.run.cancel(runLater);
+
+      var runOnce = Ember.run.once(myContext, function(){
+        // will not be executed
+      });
+      Ember.run.cancel(runOnce);
+
+  @param {Object} timer
+    Timer object to cancel
+
+  @returns {void}
+*/
+Ember.run.cancel = function(timer) {
+  delete timers[timer];
+};
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+// Ember.Logger
+// get, set, trySet
+// guidFor, isArray, meta
+// addObserver, removeObserver
+// Ember.run.schedule
+// ..........................................................
+// CONSTANTS
+//
+
+/**
+  @static
+
+  Debug parameter you can turn on. This will log all bindings that fire to
+  the console. This should be disabled in production code. Note that you
+  can also enable this from the console or temporarily.
+
+  @type Boolean
+  @default false
+*/
+Ember.LOG_BINDINGS = false || !!Ember.ENV.LOG_BINDINGS;
+
+var get     = Ember.get,
+    set     = Ember.set,
+    guidFor = Ember.guidFor,
+    isGlobalPath = Ember.isGlobalPath;
+
+
+/** @private */
+function getWithGlobals(obj, path) {
+  return get(isGlobalPath(path) ? window : obj, path);
+}
+
+// ..........................................................
+// BINDING
+//
+
+/** @private */
+var Binding = function(toPath, fromPath) {
+  this._direction = 'fwd';
+  this._from = fromPath;
+  this._to   = toPath;
+  this._directionMap = Ember.Map.create();
+};
+
+Binding.prototype = /** @scope Ember.Binding.prototype */ {
+  /**
+    This copies the Binding so it can be connected to another object.
+    @returns {Ember.Binding}
+  */
+  copy: function () {
+    var copy = new Binding(this._to, this._from);
+    if (this._oneWay) { copy._oneWay = true; }
+    return copy;
+  },
+
+  // ..........................................................
+  // CONFIG
+  //
+
+  /**
+    This will set "from" property path to the specified value. It will not
+    attempt to resolve this property path to an actual object until you
+    connect the binding.
+
+    The binding will search for the property path starting at the root object
+    you pass when you connect() the binding.  It follows the same rules as
+    `get()` - see that method for more information.
+
+    @param {String} propertyPath the property path to connect to
+    @returns {Ember.Binding} receiver
+  */
+  from: function(path) {
+    this._from = path;
+    return this;
+  },
+
+  /**
+    This will set the "to" property path to the specified value. It will not
+    attempt to resolve this property path to an actual object until you
+    connect the binding.
+
+    The binding will search for the property path starting at the root object
+    you pass when you connect() the binding.  It follows the same rules as
+    `get()` - see that method for more information.
+
+    @param {String|Tuple} propertyPath A property path or tuple
+    @returns {Ember.Binding} this
+  */
+  to: function(path) {
+    this._to = path;
+    return this;
+  },
+
+  /**
+    Configures the binding as one way. A one-way binding will relay changes
+    on the "from" side to the "to" side, but not the other way around. This
+    means that if you change the "to" side directly, the "from" side may have
+    a different value.
+
+    @returns {Ember.Binding} receiver
+  */
+  oneWay: function() {
+    this._oneWay = true;
+    return this;
+  },
+
+  /** @private */
+  toString: function() {
+    var oneWay = this._oneWay ? '[oneWay]' : '';
+    return "Ember.Binding<" + guidFor(this) + ">(" + this._from + " -> " + this._to + ")" + oneWay;
+  },
+
+  // ..........................................................
+  // CONNECT AND SYNC
+  //
+
+  /**
+    Attempts to connect this binding instance so that it can receive and relay
+    changes. This method will raise an exception if you have not set the
+    from/to properties yet.
+
+    @param {Object} obj The root object for this binding.
+    @returns {Ember.Binding} this
+  */
+  connect: function(obj) {
+    Ember.assert('Must pass a valid object to Ember.Binding.connect()', !!obj);
+
+    var fromPath = this._from, toPath = this._to;
+    Ember.trySet(obj, toPath, getWithGlobals(obj, fromPath));
+
+    // add an observer on the object to be notified when the binding should be updated
+    Ember.addObserver(obj, fromPath, this, this.fromDidChange);
+
+    // if the binding is a two-way binding, also set up an observer on the target
+    if (!this._oneWay) { Ember.addObserver(obj, toPath, this, this.toDidChange); }
+
+    this._readyToSync = true;
+
+    return this;
+  },
+
+  /**
+    Disconnects the binding instance. Changes will no longer be relayed. You
+    will not usually need to call this method.
+
+    @param {Object} obj
+      The root object you passed when connecting the binding.
+
+    @returns {Ember.Binding} this
+  */
+  disconnect: function(obj) {
+    Ember.assert('Must pass a valid object to Ember.Binding.disconnect()', !!obj);
+
+    var twoWay = !this._oneWay;
+
+    // remove an observer on the object so we're no longer notified of
+    // changes that should update bindings.
+    Ember.removeObserver(obj, this._from, this, this.fromDidChange);
+
+    // if the binding is two-way, remove the observer from the target as well
+    if (twoWay) { Ember.removeObserver(obj, this._to, this, this.toDidChange); }
+
+    this._readyToSync = false; // disable scheduled syncs...
+    return this;
+  },
+
+  // ..........................................................
+  // PRIVATE
+  //
+
+  /** @private - called when the from side changes */
+  fromDidChange: function(target) {
+    this._scheduleSync(target, 'fwd');
+  },
+
+  /** @private - called when the to side changes */
+  toDidChange: function(target) {
+    this._scheduleSync(target, 'back');
+  },
+
+  /** @private */
+  _scheduleSync: function(obj, dir) {
+    var directionMap = this._directionMap;
+    var existingDir = directionMap.get(obj);
+
+    // if we haven't scheduled the binding yet, schedule it
+    if (!existingDir) {
+      Ember.run.schedule('sync', this, this._sync, obj);
+      directionMap.set(obj, dir);
+    }
+
+    // If both a 'back' and 'fwd' sync have been scheduled on the same object,
+    // default to a 'fwd' sync so that it remains deterministic.
+    if (existingDir === 'back' && dir === 'fwd') {
+      directionMap.set(obj, 'fwd');
+    }
+  },
+
+  /** @private */
+  _sync: function(obj) {
+    var log = Ember.LOG_BINDINGS;
+
+    // don't synchronize destroyed objects or disconnected bindings
+    if (obj.isDestroyed || !this._readyToSync) { return; }
+
+    // get the direction of the binding for the object we are
+    // synchronizing from
+    var directionMap = this._directionMap;
+    var direction = directionMap.get(obj);
+
+    var fromPath = this._from, toPath = this._to;
+
+    directionMap.remove(obj);
+
+    // if we're synchronizing from the remote object...
+    if (direction === 'fwd') {
+      var fromValue = getWithGlobals(obj, this._from);
+      if (log) {
+        Ember.Logger.log(' ', this.toString(), '->', fromValue, obj);
+      }
+      if (this._oneWay) {
+        Ember.trySet(obj, toPath, fromValue);
+      } else {
+        Ember._suspendObserver(obj, toPath, this, this.toDidChange, function () {
+          Ember.trySet(obj, toPath, fromValue);
+        });
+      }
+    // if we're synchronizing *to* the remote object
+    } else if (direction === 'back') {
+      var toValue = get(obj, this._to);
+      if (log) {
+        Ember.Logger.log(' ', this.toString(), '<-', toValue, obj);
+      }
+      Ember._suspendObserver(obj, fromPath, this, this.fromDidChange, function () {
+        Ember.trySet(Ember.isGlobalPath(fromPath) ? window : obj, fromPath, toValue);
+      });
+    }
+  }
+
+};
+
+/** @private */
+function mixinProperties(to, from) {
+  for (var key in from) {
+    if (from.hasOwnProperty(key)) {
+      to[key] = from[key];
+    }
+  }
+}
+
+mixinProperties(Binding,
+/** @scope Ember.Binding */ {
+
+  /**
+    @see Ember.Binding.prototype.from
+  */
+  from: function() {
+    var C = this, binding = new C();
+    return binding.from.apply(binding, arguments);
+  },
+
+  /**
+    @see Ember.Binding.prototype.to
+  */
+  to: function() {
+    var C = this, binding = new C();
+    return binding.to.apply(binding, arguments);
+  },
+
+  /**
+    Creates a new Binding instance and makes it apply in a single direction.
+    A one-way binding will relay changes on the "from" side object (supplies
+    as the `from` argument) the "to" side, but not the other way around.
+    This means that if you change the "to" side directly, the "from" side may have
+    a different value.
+
+    @param {String} from from path.
+    @param {Boolean} [flag] (Optional) passing nothing here will make the binding oneWay.  You can
+    instead pass false to disable oneWay, making the binding two way again.
+
+    @see Ember.Binding.prototype.oneWay
+  */
+  oneWay: function(from, flag) {
+    var C = this, binding = new C(null, from);
+    return binding.oneWay(flag);
+  }
+
+});
+
+/**
+  @class
+
+  An Ember.Binding connects the properties of two objects so that whenever the
+  value of one property changes, the other property will be changed also.
+
+  ## Automatic Creation of Bindings with `/^*Binding/`-named Properties
+  You do not usually create Binding objects directly but instead describe
+  bindings in your class or object definition using automatic binding detection.
+
+  Properties ending in a `Binding` suffix will be converted to Ember.Binding instances.
+  The value of this property should be a string representing a path to another object or
+  a custom binding instanced created using Binding helpers (see "Customizing Your Bindings"):
+
+      valueBinding: "MyApp.someController.title"
+
+  This will create a binding from `MyApp.someController.title` to the `value`
+  property of your object instance automatically. Now the two values will be
+  kept in sync.
+
+  ## One Way Bindings
+
+  One especially useful binding customization you can use is the `oneWay()`
+  helper. This helper tells Ember that you are only interested in
+  receiving changes on the object you are binding from. For example, if you
+  are binding to a preference and you want to be notified if the preference
+  has changed, but your object will not be changing the preference itself, you
+  could do:
+
+      bigTitlesBinding: Ember.Binding.oneWay("MyApp.preferencesController.bigTitles")
+
+  This way if the value of MyApp.preferencesController.bigTitles changes the
+  "bigTitles" property of your object will change also. However, if you
+  change the value of your "bigTitles" property, it will not update the
+  preferencesController.
+
+  One way bindings are almost twice as fast to setup and twice as fast to
+  execute because the binding only has to worry about changes to one side.
+
+  You should consider using one way bindings anytime you have an object that
+  may be created frequently and you do not intend to change a property; only
+  to monitor it for changes. (such as in the example above).
+
+  ## Adding Bindings Manually
+
+  All of the examples above show you how to configure a custom binding, but
+  the result of these customizations will be a binding template, not a fully
+  active Binding instance. The binding will actually become active only when you
+  instantiate the object the binding belongs to. It is useful however, to
+  understand what actually happens when the binding is activated.
+
+  For a binding to function it must have at least a "from" property and a "to"
+  property. The from property path points to the object/key that you want to
+  bind from while the to path points to the object/key you want to bind to.
+
+  When you define a custom binding, you are usually describing the property
+  you want to bind from (such as "MyApp.someController.value" in the examples
+  above). When your object is created, it will automatically assign the value
+  you want to bind "to" based on the name of your binding key. In the
+  examples above, during init, Ember objects will effectively call
+  something like this on your binding:
+
+      binding = Ember.Binding.from(this.valueBinding).to("value");
+
+  This creates a new binding instance based on the template you provide, and
+  sets the to path to the "value" property of the new object. Now that the
+  binding is fully configured with a "from" and a "to", it simply needs to be
+  connected to become active. This is done through the connect() method:
+
+      binding.connect(this);
+
+  Note that when you connect a binding you pass the object you want it to be
+  connected to.  This object will be used as the root for both the from and
+  to side of the binding when inspecting relative paths.  This allows the
+  binding to be automatically inherited by subclassed objects as well.
+
+  Now that the binding is connected, it will observe both the from and to side
+  and relay changes.
+
+  If you ever needed to do so (you almost never will, but it is useful to
+  understand this anyway), you could manually create an active binding by
+  using the Ember.bind() helper method. (This is the same method used by
+  to setup your bindings on objects):
+
+      Ember.bind(MyApp.anotherObject, "value", "MyApp.someController.value");
+
+  Both of these code fragments have the same effect as doing the most friendly
+  form of binding creation like so:
+
+      MyApp.anotherObject = Ember.Object.create({
+        valueBinding: "MyApp.someController.value",
+
+        // OTHER CODE FOR THIS OBJECT...
+
+      });
+
+  Ember's built in binding creation method makes it easy to automatically
+  create bindings for you. You should always use the highest-level APIs
+  available, even if you understand how it works underneath.
+
+  @since Ember 0.9
+*/
+Ember.Binding = Binding;
+
+/**
+  Global helper method to create a new binding.  Just pass the root object
+  along with a to and from path to create and connect the binding.
+
+  @param {Object} obj
+    The root object of the transform.
+
+  @param {String} to
+    The path to the 'to' side of the binding.  Must be relative to obj.
+
+  @param {String} from
+    The path to the 'from' side of the binding.  Must be relative to obj or
+    a global path.
+
+  @returns {Ember.Binding} binding instance
+*/
+Ember.bind = function(obj, to, from) {
+  return new Ember.Binding(to, from).connect(obj);
+};
+
+Ember.oneWay = function(obj, to, from) {
+  return new Ember.Binding(to, from).oneWay().connect(obj);
+};
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var Mixin, REQUIRED, Alias,
+    classToString, superClassString,
+    a_map = Ember.ArrayPolyfills.map,
+    a_indexOf = Ember.ArrayPolyfills.indexOf,
+    a_forEach = Ember.ArrayPolyfills.forEach,
+    a_slice = [].slice,
+    EMPTY_META = {}, // dummy for non-writable meta
+    META_SKIP = { __emberproto__: true, __ember_count__: true },
+    o_create = Ember.create,
+    defineProperty = Ember.defineProperty,
+    guidFor = Ember.guidFor;
+
+/** @private */
+function mixinsMeta(obj) {
+  var m = Ember.meta(obj, true), ret = m.mixins;
+  if (!ret) {
+    ret = m.mixins = { __emberproto__: obj };
+  } else if (ret.__emberproto__ !== obj) {
+    ret = m.mixins = o_create(ret);
+    ret.__emberproto__ = obj;
+  }
+  return ret;
+}
+
+/** @private */
+function initMixin(mixin, args) {
+  if (args && args.length > 0) {
+    mixin.mixins = a_map.call(args, function(x) {
+      if (x instanceof Mixin) { return x; }
+
+      // Note: Manually setup a primitive mixin here.  This is the only
+      // way to actually get a primitive mixin.  This way normal creation
+      // of mixins will give you combined mixins...
+      var mixin = new Mixin();
+      mixin.properties = x;
+      return mixin;
+    });
+  }
+  return mixin;
+}
+
+/** @private */
+function isMethod(obj) {
+  return 'function' === typeof obj &&
+         obj.isMethod !== false &&
+         obj !== Boolean && obj !== Object && obj !== Number && obj !== Array && obj !== Date && obj !== String;
+}
+
+/** @private */
+function mergeMixins(mixins, m, descs, values, base) {
+  var len = mixins.length, idx, mixin, guid, props, value, key, ovalue, concats;
+
+  /** @private */
+  function removeKeys(keyName) {
+    delete descs[keyName];
+    delete values[keyName];
+  }
+
+  for(idx=0; idx < len; idx++) {
+    mixin = mixins[idx];
+    Ember.assert('Expected hash or Mixin instance, got ' + Object.prototype.toString.call(mixin), typeof mixin === 'object' && mixin !== null && Object.prototype.toString.call(mixin) !== '[object Array]');
+
+    if (mixin instanceof Mixin) {
+      guid = guidFor(mixin);
+      if (m[guid]) { continue; }
+      m[guid] = mixin;
+      props = mixin.properties;
+    } else {
+      props = mixin; // apply anonymous mixin properties
+    }
+
+    if (props) {
+      // reset before adding each new mixin to pickup concats from previous
+      concats = values.concatenatedProperties || base.concatenatedProperties;
+      if (props.concatenatedProperties) {
+        concats = concats ? concats.concat(props.concatenatedProperties) : props.concatenatedProperties;
+      }
+
+      for (key in props) {
+        if (!props.hasOwnProperty(key)) { continue; }
+        value = props[key];
+        if (value instanceof Ember.Descriptor) {
+          if (value === REQUIRED && descs[key]) { continue; }
+
+          descs[key]  = value;
+          values[key] = undefined;
+        } else {
+          // impl super if needed...
+          if (isMethod(value)) {
+            ovalue = descs[key] === undefined && values[key];
+            if (!ovalue) { ovalue = base[key]; }
+            if ('function' !== typeof ovalue) { ovalue = null; }
+            if (ovalue) {
+              var o = value.__ember_observes__, ob = value.__ember_observesBefore__;
+              value = Ember.wrap(value, ovalue);
+              value.__ember_observes__ = o;
+              value.__ember_observesBefore__ = ob;
+            }
+          } else if ((concats && a_indexOf.call(concats, key) >= 0) || key === 'concatenatedProperties') {
+            var baseValue = values[key] || base[key];
+            value = baseValue ? baseValue.concat(value) : Ember.makeArray(value);
+          }
+
+          descs[key] = undefined;
+          values[key] = value;
+        }
+      }
+
+      // manually copy toString() because some JS engines do not enumerate it
+      if (props.hasOwnProperty('toString')) {
+        base.toString = props.toString;
+      }
+
+    } else if (mixin.mixins) {
+      mergeMixins(mixin.mixins, m, descs, values, base);
+      if (mixin._without) { a_forEach.call(mixin._without, removeKeys); }
+    }
+  }
+}
+
+/** @private */
+function writableReq(obj) {
+  var m = Ember.meta(obj), req = m.required;
+  if (!req || req.__emberproto__ !== obj) {
+    req = m.required = req ? o_create(req) : { __ember_count__: 0 };
+    req.__emberproto__ = obj;
+  }
+  return req;
+}
+
+var IS_BINDING = Ember.IS_BINDING = /^.+Binding$/;
+
+/** @private */
+function detectBinding(obj, key, value, m) {
+  if (IS_BINDING.test(key)) {
+    var bindings = m.bindings;
+    if (!bindings) {
+      bindings = m.bindings = { __emberproto__: obj };
+    } else if (bindings.__emberproto__ !== obj) {
+      bindings = m.bindings = o_create(m.bindings);
+      bindings.__emberproto__ = obj;
+    }
+    bindings[key] = value;
+  }
+}
+
+/** @private */
+function connectBindings(obj, m) {
+  // TODO Mixin.apply(instance) should disconnect binding if exists
+  var bindings = m.bindings, key, binding, to;
+  if (bindings) {
+    for (key in bindings) {
+      binding = key !== '__emberproto__' && bindings[key];
+      if (binding) {
+        to = key.slice(0, -7); // strip Binding off end
+        if (binding instanceof Ember.Binding) {
+          binding = binding.copy(); // copy prototypes' instance
+          binding.to(to);
+        } else { // binding is string path
+          binding = new Ember.Binding(to, binding);
+        }
+        binding.connect(obj);
+        obj[key] = binding;
+      }
+    }
+    // mark as applied
+    m.bindings = { __emberproto__: obj };
+  }
+}
+
+function finishPartial(obj, m) {
+  connectBindings(obj, m || Ember.meta(obj));
+  return obj;
+}
+
+/** @private */
+function applyMixin(obj, mixins, partial) {
+  var descs = {}, values = {}, m = Ember.meta(obj), req = m.required,
+      key, value, desc, prevValue, paths, len, idx;
+
+  // Go through all mixins and hashes passed in, and:
+  //
+  // * Handle concatenated properties
+  // * Set up _super wrapping if necessary
+  // * Set up computed property descriptors
+  // * Copying `toString` in broken browsers
+  mergeMixins(mixins, mixinsMeta(obj), descs, values, obj);
+
+  for(key in values) {
+    if (key === 'contructor') { continue; }
+    if (!values.hasOwnProperty(key)) { continue; }
+
+    desc = descs[key];
+    value = values[key];
+
+    if (desc === REQUIRED) {
+      if (!(key in obj)) {
+        Ember.assert('Required property not defined: '+key, !!partial);
+
+        // for partial applies add to hash of required keys
+        req = writableReq(obj);
+        req.__ember_count__++;
+        req[key] = true;
+      }
+    } else {
+      while (desc && desc instanceof Alias) {
+        var altKey = desc.methodName;
+        if (descs[altKey] || values[altKey]) {
+          value = values[altKey];
+          desc  = descs[altKey];
+        } else if (m.descs[altKey]) {
+          desc  = m.descs[altKey];
+          value = undefined;
+        } else {
+          desc = undefined;
+          value = obj[altKey];
+        }
+      }
+
+      if (desc === undefined && value === undefined) { continue; }
+
+      prevValue = obj[key];
+
+      if ('function' === typeof prevValue) {
+        if ((paths = prevValue.__ember_observesBefore__)) {
+          len = paths.length;
+          for (idx=0; idx < len; idx++) {
+            Ember.removeBeforeObserver(obj, paths[idx], null, key);
+          }
+        } else if ((paths = prevValue.__ember_observes__)) {
+          len = paths.length;
+          for (idx=0; idx < len; idx++) {
+            Ember.removeObserver(obj, paths[idx], null, key);
+          }
+        }
+      }
+
+      detectBinding(obj, key, value, m);
+
+      defineProperty(obj, key, desc, value, m);
+
+      if ('function' === typeof value) {
+        if (paths = value.__ember_observesBefore__) {
+          len = paths.length;
+          for (idx=0; idx < len; idx++) {
+            Ember.addBeforeObserver(obj, paths[idx], null, key);
+          }
+        } else if (paths = value.__ember_observes__) {
+          len = paths.length;
+          for (idx=0; idx < len; idx++) {
+            Ember.addObserver(obj, paths[idx], null, key);
+          }
+        }
+      }
+
+      if (req && req[key]) {
+        req = writableReq(obj);
+        req.__ember_count__--;
+        req[key] = false;
+      }
+    }
+  }
+
+  if (!partial) { // don't apply to prototype
+    finishPartial(obj, m);
+  }
+
+  // Make sure no required attrs remain
+  if (!partial && req && req.__ember_count__>0) {
+    var keys = [];
+    for (key in req) {
+      if (META_SKIP[key]) { continue; }
+      keys.push(key);
+    }
+    // TODO: Remove surrounding if clause from production build
+    Ember.assert('Required properties not defined: '+keys.join(','));
+  }
+  return obj;
+}
+
+Ember.mixin = function(obj) {
+  var args = a_slice.call(arguments, 1);
+  applyMixin(obj, args, false);
+  return obj;
+};
+
+/**
+  @class
+
+  The `Ember.Mixin` class allows you to create mixins, whose properties can be
+  added to other classes. For instance,
+
+      App.Editable = Ember.Mixin.create({
+        edit: function() {
+          console.log('starting to edit');
+          this.set('isEditing', true);
+        },
+        isEditing: false
+      });
+
+      // Mix mixins into classes by passing them as the first arguments to
+      // .extend or .create.
+      App.CommentView = Ember.View.extend(App.Editable, {
+        template: Ember.Handlebars.compile('{{#if isEditing}}...{{else}}...{{/if}}')
+      });
+
+      commentView = App.CommentView.create();
+      commentView.edit(); // => outputs 'starting to edit'
+
+  Note that Mixins are created with `Ember.Mixin.create`, not
+  `Ember.Mixin.extend`.
+*/
+Ember.Mixin = function() { return initMixin(this, arguments); };
+
+/** @private */
+Mixin = Ember.Mixin;
+
+/** @private */
+Mixin._apply = applyMixin;
+
+Mixin.applyPartial = function(obj) {
+  var args = a_slice.call(arguments, 1);
+  return applyMixin(obj, args, true);
+};
+
+Mixin.finishPartial = finishPartial;
+
+Mixin.create = function() {
+  classToString.processed = false;
+  var M = this;
+  return initMixin(new M(), arguments);
+};
+
+var MixinPrototype = Mixin.prototype;
+
+MixinPrototype.reopen = function() {
+  var mixin, tmp;
+
+  if (this.properties) {
+    mixin = Mixin.create();
+    mixin.properties = this.properties;
+    delete this.properties;
+    this.mixins = [mixin];
+  } else if (!this.mixins) {
+    this.mixins = [];
+  }
+
+  var len = arguments.length, mixins = this.mixins, idx;
+
+  for(idx=0; idx < len; idx++) {
+    mixin = arguments[idx];
+    Ember.assert('Expected hash or Mixin instance, got ' + Object.prototype.toString.call(mixin), typeof mixin === 'object' && mixin !== null && Object.prototype.toString.call(mixin) !== '[object Array]');
+
+    if (mixin instanceof Mixin) {
+      mixins.push(mixin);
+    } else {
+      tmp = Mixin.create();
+      tmp.properties = mixin;
+      mixins.push(tmp);
+    }
+  }
+
+  return this;
+};
+
+MixinPrototype.apply = function(obj) {
+  return applyMixin(obj, [this], false);
+};
+
+MixinPrototype.applyPartial = function(obj) {
+  return applyMixin(obj, [this], true);
+};
+
+/** @private */
+function _detect(curMixin, targetMixin, seen) {
+  var guid = guidFor(curMixin);
+
+  if (seen[guid]) { return false; }
+  seen[guid] = true;
+
+  if (curMixin === targetMixin) { return true; }
+  var mixins = curMixin.mixins, loc = mixins ? mixins.length : 0;
+  while (--loc >= 0) {
+    if (_detect(mixins[loc], targetMixin, seen)) { return true; }
+  }
+  return false;
+}
+
+MixinPrototype.detect = function(obj) {
+  if (!obj) { return false; }
+  if (obj instanceof Mixin) { return _detect(obj, this, {}); }
+  var mixins = Ember.meta(obj, false).mixins;
+  if (mixins) {
+    return !!mixins[guidFor(this)];
+  }
+  return false;
+};
+
+MixinPrototype.without = function() {
+  var ret = new Mixin(this);
+  ret._without = a_slice.call(arguments);
+  return ret;
+};
+
+/** @private */
+function _keys(ret, mixin, seen) {
+  if (seen[guidFor(mixin)]) { return; }
+  seen[guidFor(mixin)] = true;
+
+  if (mixin.properties) {
+    var props = mixin.properties;
+    for (var key in props) {
+      if (props.hasOwnProperty(key)) { ret[key] = true; }
+    }
+  } else if (mixin.mixins) {
+    a_forEach.call(mixin.mixins, function(x) { _keys(ret, x, seen); });
+  }
+}
+
+MixinPrototype.keys = function() {
+  var keys = {}, seen = {}, ret = [];
+  _keys(keys, this, seen);
+  for(var key in keys) {
+    if (keys.hasOwnProperty(key)) { ret.push(key); }
+  }
+  return ret;
+};
+
+/** @private - make Mixin's have nice displayNames */
+
+var NAME_KEY = Ember.GUID_KEY+'_name';
+var get = Ember.get;
+
+/** @private */
+function processNames(paths, root, seen) {
+  var idx = paths.length;
+  for(var key in root) {
+    if (!root.hasOwnProperty || !root.hasOwnProperty(key)) { continue; }
+    var obj = root[key];
+    paths[idx] = key;
+
+    if (obj && obj.toString === classToString) {
+      obj[NAME_KEY] = paths.join('.');
+    } else if (obj && get(obj, 'isNamespace')) {
+      if (seen[guidFor(obj)]) { continue; }
+      seen[guidFor(obj)] = true;
+      processNames(paths, obj, seen);
+    }
+  }
+  paths.length = idx; // cut out last item
+}
+
+/** @private */
+function findNamespaces() {
+  var Namespace = Ember.Namespace, obj, isNamespace;
+
+  if (Namespace.PROCESSED) { return; }
+
+  for (var prop in window) {
+    //  get(window.globalStorage, 'isNamespace') would try to read the storage for domain isNamespace and cause exception in Firefox.
+    // globalStorage is a storage obsoleted by the WhatWG storage specification. See https://developer.mozilla.org/en/DOM/Storage#globalStorage
+    if (prop === "globalStorage" && window.StorageList && window.globalStorage instanceof window.StorageList) { continue; }
+    // Unfortunately, some versions of IE don't support window.hasOwnProperty
+    if (window.hasOwnProperty && !window.hasOwnProperty(prop)) { continue; }
+
+    // At times we are not allowed to access certain properties for security reasons.
+    // There are also times where even if we can access them, we are not allowed to access their properties.
+    try {
+      obj = window[prop];
+      isNamespace = obj && get(obj, 'isNamespace');
+    } catch (e) {
+      continue;
+    }
+
+    if (isNamespace) {
+      Ember.deprecate("Namespaces should not begin with lowercase.", /^[A-Z]/.test(prop));
+      obj[NAME_KEY] = prop;
+    }
+  }
+}
+
+Ember.identifyNamespaces = findNamespaces;
+
+/** @private */
+superClassString = function(mixin) {
+  var superclass = mixin.superclass;
+  if (superclass) {
+    if (superclass[NAME_KEY]) { return superclass[NAME_KEY]; }
+    else { return superClassString(superclass); }
+  } else {
+    return;
+  }
+};
+
+/** @private */
+classToString = function() {
+  var Namespace = Ember.Namespace, namespace;
+
+  // TODO: Namespace should really be in Metal
+  if (Namespace) {
+    if (!this[NAME_KEY] && !classToString.processed) {
+      if (!Namespace.PROCESSED) {
+        findNamespaces();
+        Namespace.PROCESSED = true;
+      }
+
+      classToString.processed = true;
+
+      var namespaces = Namespace.NAMESPACES;
+      for (var i=0, l=namespaces.length; i<l; i++) {
+        namespace = namespaces[i];
+        processNames([namespace.toString()], namespace, {});
+      }
+    }
+  }
+
+  if (this[NAME_KEY]) {
+    return this[NAME_KEY];
+  } else {
+    var str = superClassString(this);
+    if (str) {
+      return "(subclass of " + str + ")";
+    } else {
+      return "(unknown mixin)";
+    }
+  }
+};
+
+MixinPrototype.toString = classToString;
+
+// returns the mixins currently applied to the specified object
+// TODO: Make Ember.mixin
+Mixin.mixins = function(obj) {
+  var ret = [], mixins = Ember.meta(obj, false).mixins, key, mixin;
+  if (mixins) {
+    for(key in mixins) {
+      if (META_SKIP[key]) { continue; }
+      mixin = mixins[key];
+
+      // skip primitive mixins since these are always anonymous
+      if (!mixin.properties) { ret.push(mixins[key]); }
+    }
+  }
+  return ret;
+};
+
+REQUIRED = new Ember.Descriptor();
+REQUIRED.toString = function() { return '(Required Property)'; };
+
+Ember.required = function() {
+  return REQUIRED;
+};
+
+/** @private */
+Alias = function(methodName) {
+  this.methodName = methodName;
+};
+Alias.prototype = new Ember.Descriptor();
+
+Ember.alias = function(methodName) {
+  return new Alias(methodName);
+};
+
+// ..........................................................
+// OBSERVER HELPER
+//
+
+Ember.observer = function(func) {
+  var paths = a_slice.call(arguments, 1);
+  func.__ember_observes__ = paths;
+  return func;
+};
+
+// If observers ever become asynchronous, Ember.immediateObserver
+// must remain synchronous.
+Ember.immediateObserver = function() {
+  for (var i=0, l=arguments.length; i<l; i++) {
+    var arg = arguments[i];
+    Ember.assert("Immediate observers must observe internal properties only, not properties on other objects.", typeof arg !== "string" || arg.indexOf('.') === -1);
+  }
+
+  return Ember.observer.apply(this, arguments);
+};
+
+Ember.beforeObserver = function(func) {
+  var paths = a_slice.call(arguments, 1);
+  func.__ember_observesBefore__ = paths;
+  return func;
+};
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Metal
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
+(function() {
+/**
+ * @license
+ * ==========================================================================
+ * Ember
+ * Copyright ©2006-2011, Strobe Inc. and contributors.
+ * Portions copyright ©2008-2011 Apple Inc. All rights reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ *
+ * For more information about Ember, visit http://www.emberjs.com
+ *
+ * ==========================================================================
+ */
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+/*globals ENV */
+var indexOf = Ember.EnumerableUtils.indexOf;
+
+// ........................................
+// TYPING & ARRAY MESSAGING
+//
+
+var TYPE_MAP = {};
+var t = "Boolean Number String Function Array Date RegExp Object".split(" ");
+Ember.ArrayPolyfills.forEach.call(t, function(name) {
+  TYPE_MAP[ "[object " + name + "]" ] = name.toLowerCase();
+});
+
+var toString = Object.prototype.toString;
+
+/**
+  Returns a consistent type for the passed item.
+
+  Use this instead of the built-in Ember.typeOf() to get the type of an item.
+  It will return the same result across all browsers and includes a bit
+  more detail.  Here is what will be returned:
+
+      | Return Value  | Meaning                                              |
+      |---------------|------------------------------------------------------|
+      | 'string'      | String primitive                                     |
+      | 'number'      | Number primitive                                     |
+      | 'boolean'     | Boolean primitive                                    |
+      | 'null'        | Null value                                           |
+      | 'undefined'   | Undefined value                                      |
+      | 'function'    | A function                                           |
+      | 'array'       | An instance of Array                                 |
+      | 'class'       | A Ember class (created using Ember.Object.extend())  |
+      | 'instance'    | A Ember object instance                              |
+      | 'error'       | An instance of the Error object                      |
+      | 'object'      | A JavaScript object not inheriting from Ember.Object |
+
+  Examples:
+
+      Ember.typeOf();                      => 'undefined'
+      Ember.typeOf(null);                  => 'null'
+      Ember.typeOf(undefined);             => 'undefined'
+      Ember.typeOf('michael');             => 'string'
+      Ember.typeOf(101);                   => 'number'
+      Ember.typeOf(true);                  => 'boolean'
+      Ember.typeOf(Ember.makeArray);       => 'function'
+      Ember.typeOf([1,2,90]);              => 'array'
+      Ember.typeOf(Ember.Object.extend()); => 'class'
+      Ember.typeOf(Ember.Object.create()); => 'instance'
+      Ember.typeOf(new Error('teamocil')); => 'error'
+
+      // "normal" JavaScript object
+      Ember.typeOf({a: 'b'});              => 'object'
+
+  @param item {Object} the item to check
+  @returns {String} the type
+*/
+Ember.typeOf = function(item) {
+  var ret;
+
+  ret = (item === null || item === undefined) ? String(item) : TYPE_MAP[toString.call(item)] || 'object';
+
+  if (ret === 'function') {
+    if (Ember.Object && Ember.Object.detect(item)) ret = 'class';
+  } else if (ret === 'object') {
+    if (item instanceof Error) ret = 'error';
+    else if (Ember.Object && item instanceof Ember.Object) ret = 'instance';
+    else ret = 'object';
+  }
+
+  return ret;
+};
+
+/**
+  Returns true if the passed value is null or undefined.  This avoids errors
+  from JSLint complaining about use of ==, which can be technically
+  confusing.
+
+      Ember.none();             => true
+      Ember.none(null);         => true
+      Ember.none(undefined);    => true
+      Ember.none('');           => false
+      Ember.none([]);           => false
+      Ember.none(function(){}); => false
+
+  @param {Object} obj Value to test
+  @returns {Boolean}
+*/
+Ember.none = function(obj) {
+  return obj === null || obj === undefined;
+};
+
+/**
+  Verifies that a value is null or an empty string | array | function.
+
+  Constrains the rules on `Ember.none` by returning false for empty
+  string and empty arrays.
+
+      Ember.empty();               => true
+      Ember.empty(null);           => true
+      Ember.empty(undefined);      => true
+      Ember.empty('');             => true
+      Ember.empty([]);             => true
+      Ember.empty('tobias fünke'); => false
+      Ember.empty([0,1,2]);        => false
+
+  @param {Object} obj Value to test
+  @returns {Boolean}
+*/
+Ember.empty = function(obj) {
+  return obj === null || obj === undefined || (obj.length === 0 && typeof obj !== 'function');
+};
+
+/**
+ This will compare two javascript values of possibly different types.
+ It will tell you which one is greater than the other by returning:
+
+  - -1 if the first is smaller than the second,
+  - 0 if both are equal,
+  - 1 if the first is greater than the second.
+
+ The order is calculated based on Ember.ORDER_DEFINITION, if types are different.
+ In case they have the same type an appropriate comparison for this type is made.
+
+    Ember.compare('hello', 'hello');  => 0
+    Ember.compare('abc', 'dfg');      => -1
+    Ember.compare(2, 1);              => 1
+
+ @param {Object} v First value to compare
+ @param {Object} w Second value to compare
+ @returns {Number} -1 if v < w, 0 if v = w and 1 if v > w.
+*/
+Ember.compare = function compare(v, w) {
+  if (v === w) { return 0; }
+
+  var type1 = Ember.typeOf(v);
+  var type2 = Ember.typeOf(w);
+
+  var Comparable = Ember.Comparable;
+  if (Comparable) {
+    if (type1==='instance' && Comparable.detect(v.constructor)) {
+      return v.constructor.compare(v, w);
+    }
+
+    if (type2 === 'instance' && Comparable.detect(w.constructor)) {
+      return 1-w.constructor.compare(w, v);
+    }
+  }
+
+  // If we haven't yet generated a reverse-mapping of Ember.ORDER_DEFINITION,
+  // do so now.
+  var mapping = Ember.ORDER_DEFINITION_MAPPING;
+  if (!mapping) {
+    var order = Ember.ORDER_DEFINITION;
+    mapping = Ember.ORDER_DEFINITION_MAPPING = {};
+    var idx, len;
+    for (idx = 0, len = order.length; idx < len;  ++idx) {
+      mapping[order[idx]] = idx;
+    }
+
+    // We no longer need Ember.ORDER_DEFINITION.
+    delete Ember.ORDER_DEFINITION;
+  }
+
+  var type1Index = mapping[type1];
+  var type2Index = mapping[type2];
+
+  if (type1Index < type2Index) { return -1; }
+  if (type1Index > type2Index) { return 1; }
+
+  // types are equal - so we have to check values now
+  switch (type1) {
+    case 'boolean':
+    case 'number':
+      if (v < w) { return -1; }
+      if (v > w) { return 1; }
+      return 0;
+
+    case 'string':
+      var comp = v.localeCompare(w);
+      if (comp < 0) { return -1; }
+      if (comp > 0) { return 1; }
+      return 0;
+
+    case 'array':
+      var vLen = v.length;
+      var wLen = w.length;
+      var l = Math.min(vLen, wLen);
+      var r = 0;
+      var i = 0;
+      while (r === 0 && i < l) {
+        r = compare(v[i],w[i]);
+        i++;
+      }
+      if (r !== 0) { return r; }
+
+      // all elements are equal now
+      // shorter array should be ordered first
+      if (vLen < wLen) { return -1; }
+      if (vLen > wLen) { return 1; }
+      // arrays are equal now
+      return 0;
+
+    case 'instance':
+      if (Ember.Comparable && Ember.Comparable.detect(v)) {
+        return v.compare(v, w);
+      }
+      return 0;
+
+    case 'date':
+      var vNum = v.getTime();
+      var wNum = w.getTime();
+      if (vNum < wNum) { return -1; }
+      if (vNum > wNum) { return 1; }
+      return 0;
+
+    default:
+      return 0;
+  }
+};
+
+/** @private */
+function _copy(obj, deep, seen, copies) {
+  var ret, loc, key;
+
+  // primitive data types are immutable, just return them.
+  if ('object' !== typeof obj || obj===null) return obj;
+
+  // avoid cyclical loops
+  if (deep && (loc=indexOf(seen, obj))>=0) return copies[loc];
+
+  Ember.assert('Cannot clone an Ember.Object that does not implement Ember.Copyable', !(obj instanceof Ember.Object) || (Ember.Copyable && Ember.Copyable.detect(obj)));
+
+  // IMPORTANT: this specific test will detect a native array only.  Any other
+  // object will need to implement Copyable.
+  if (Ember.typeOf(obj) === 'array') {
+    ret = obj.slice();
+    if (deep) {
+      loc = ret.length;
+      while(--loc>=0) ret[loc] = _copy(ret[loc], deep, seen, copies);
+    }
+  } else if (Ember.Copyable && Ember.Copyable.detect(obj)) {
+    ret = obj.copy(deep, seen, copies);
+  } else {
+    ret = {};
+    for(key in obj) {
+      if (!obj.hasOwnProperty(key)) continue;
+      ret[key] = deep ? _copy(obj[key], deep, seen, copies) : obj[key];
+    }
+  }
+
+  if (deep) {
+    seen.push(obj);
+    copies.push(ret);
+  }
+
+  return ret;
+}
+
+/**
+  Creates a clone of the passed object. This function can take just about
+  any type of object and create a clone of it, including primitive values
+  (which are not actually cloned because they are immutable).
+
+  If the passed object implements the clone() method, then this function
+  will simply call that method and return the result.
+
+  @param {Object} object The object to clone
+  @param {Boolean} deep If true, a deep copy of the object is made
+  @returns {Object} The cloned object
+*/
+Ember.copy = function(obj, deep) {
+  // fast paths
+  if ('object' !== typeof obj || obj===null) return obj; // can't copy primitives
+  if (Ember.Copyable && Ember.Copyable.detect(obj)) return obj.copy(deep);
+  return _copy(obj, deep, deep ? [] : null, deep ? [] : null);
+};
+
+/**
+  Convenience method to inspect an object. This method will attempt to
+  convert the object into a useful string description.
+
+  @param {Object} obj The object you want to inspect.
+  @returns {String} A description of the object
+*/
+Ember.inspect = function(obj) {
+  var v, ret = [];
+  for(var key in obj) {
+    if (obj.hasOwnProperty(key)) {
+      v = obj[key];
+      if (v === 'toString') { continue; } // ignore useless items
+      if (Ember.typeOf(v) === 'function') { v = "function() { ... }"; }
+      ret.push(key + ": " + v);
+    }
+  }
+  return "{" + ret.join(" , ") + "}";
+};
+
+/**
+  Compares two objects, returning true if they are logically equal.  This is
+  a deeper comparison than a simple triple equal. For sets it will compare the
+  internal objects.  For any other object that implements `isEqual()` it will
+  respect that method.
+
+      Ember.isEqual('hello', 'hello');  => true
+      Ember.isEqual(1, 2);              => false
+      Ember.isEqual([4,2], [4,2]);      => false
+
+  @param {Object} a first object to compare
+  @param {Object} b second object to compare
+  @returns {Boolean}
+*/
+Ember.isEqual = function(a, b) {
+  if (a && 'function'===typeof a.isEqual) return a.isEqual(b);
+  return a === b;
+};
+
+/**
+  @private
+  Used by Ember.compare
+*/
+Ember.ORDER_DEFINITION = Ember.ENV.ORDER_DEFINITION || [
+  'undefined',
+  'null',
+  'boolean',
+  'number',
+  'string',
+  'array',
+  'object',
+  'instance',
+  'function',
+  'class',
+  'date'
+];
+
+/**
+  Returns all of the keys defined on an object or hash. This is useful
+  when inspecting objects for debugging.  On browsers that support it, this
+  uses the native Object.keys implementation.
+
+  @function
+  @param {Object} obj
+  @returns {Array} Array containing keys of obj
+*/
+Ember.keys = Object.keys;
+
+if (!Ember.keys) {
+  Ember.keys = function(obj) {
+    var ret = [];
+    for(var key in obj) {
+      if (obj.hasOwnProperty(key)) { ret.push(key); }
+    }
+    return ret;
+  };
+}
+
+// ..........................................................
+// ERROR
+//
+
+/**
+  @class
+
+  A subclass of the JavaScript Error object for use in Ember.
+*/
+Ember.Error = function() {
+  var tmp = Error.prototype.constructor.apply(this, arguments);
+
+  for (var p in tmp) {
+    if (tmp.hasOwnProperty(p)) { this[p] = tmp[p]; }
+  }
+  this.message = tmp.message;
+};
+
+Ember.Error.prototype = Ember.create(Error.prototype);
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+/** @private **/
+var STRING_DASHERIZE_REGEXP = (/[ _]/g);
+var STRING_DASHERIZE_CACHE = {};
+var STRING_DECAMELIZE_REGEXP = (/([a-z])([A-Z])/g);
+var STRING_CAMELIZE_REGEXP = (/(\-|_|\s)+(.)?/g);
+var STRING_UNDERSCORE_REGEXP_1 = (/([a-z\d])([A-Z]+)/g);
+var STRING_UNDERSCORE_REGEXP_2 = (/\-|\s+/g);
+
+/**
+  Defines the hash of localized strings for the current language.  Used by
+  the `Ember.String.loc()` helper.  To localize, add string values to this
+  hash.
+
+  @type Hash
+*/
+Ember.STRINGS = {};
+
+/**
+  Defines string helper methods including string formatting and localization.
+  Unless Ember.EXTEND_PROTOTYPES = false these methods will also be added to the
+  String.prototype as well.
+
+  @namespace
+*/
+Ember.String = {
+
+  /**
+    Apply formatting options to the string.  This will look for occurrences
+    of %@ in your string and substitute them with the arguments you pass into
+    this method.  If you want to control the specific order of replacement,
+    you can add a number after the key as well to indicate which argument
+    you want to insert.
+
+    Ordered insertions are most useful when building loc strings where values
+    you need to insert may appear in different orders.
+
+        "Hello %@ %@".fmt('John', 'Doe') => "Hello John Doe"
+        "Hello %@2, %@1".fmt('John', 'Doe') => "Hello Doe, John"
+
+    @param {Object...} [args]
+    @returns {String} formatted string
+  */
+  fmt: function(str, formats) {
+    // first, replace any ORDERED replacements.
+    var idx  = 0; // the current index for non-numerical replacements
+    return str.replace(/%@([0-9]+)?/g, function(s, argIndex) {
+      argIndex = (argIndex) ? parseInt(argIndex,0) - 1 : idx++ ;
+      s = formats[argIndex];
+      return ((s === null) ? '(null)' : (s === undefined) ? '' : s).toString();
+    }) ;
+  },
+
+  /**
+    Formats the passed string, but first looks up the string in the localized
+    strings hash.  This is a convenient way to localize text.  See
+    `Ember.String.fmt()` for more information on formatting.
+
+    Note that it is traditional but not required to prefix localized string
+    keys with an underscore or other character so you can easily identify
+    localized strings.
+
+        Ember.STRINGS = {
+          '_Hello World': 'Bonjour le monde',
+          '_Hello %@ %@': 'Bonjour %@ %@'
+        };
+
+        Ember.String.loc("_Hello World");
+        => 'Bonjour le monde';
+
+        Ember.String.loc("_Hello %@ %@", ["John", "Smith"]);
+        => "Bonjour John Smith";
+
+    @param {String} str
+      The string to format
+
+    @param {Array} formats
+      Optional array of parameters to interpolate into string.
+
+    @returns {String} formatted string
+  */
+  loc: function(str, formats) {
+    str = Ember.STRINGS[str] || str;
+    return Ember.String.fmt(str, formats) ;
+  },
+
+  /**
+    Splits a string into separate units separated by spaces, eliminating any
+    empty strings in the process.  This is a convenience method for split that
+    is mostly useful when applied to the String.prototype.
+
+        Ember.String.w("alpha beta gamma").forEach(function(key) {
+          console.log(key);
+        });
+        > alpha
+        > beta
+        > gamma
+
+    @param {String} str
+      The string to split
+
+    @returns {String} split string
+  */
+  w: function(str) { return str.split(/\s+/); },
+
+  /**
+    Converts a camelized string into all lower case separated by underscores.
+
+        'innerHTML'.decamelize()         => 'inner_html'
+        'action_name'.decamelize()       => 'action_name'
+        'css-class-name'.decamelize()    => 'css-class-name'
+        'my favorite items'.decamelize() => 'my favorite items'
+
+    @param {String} str
+      The string to decamelize.
+
+    @returns {String} the decamelized string.
+  */
+  decamelize: function(str) {
+    return str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase();
+  },
+
+  /**
+    Replaces underscores or spaces with dashes.
+
+        'innerHTML'.dasherize()         => 'inner-html'
+        'action_name'.dasherize()       => 'action-name'
+        'css-class-name'.dasherize()    => 'css-class-name'
+        'my favorite items'.dasherize() => 'my-favorite-items'
+
+    @param {String} str
+      The string to dasherize.
+
+    @returns {String} the dasherized string.
+  */
+  dasherize: function(str) {
+    var cache = STRING_DASHERIZE_CACHE,
+        ret   = cache[str];
+
+    if (ret) {
+      return ret;
+    } else {
+      ret = Ember.String.decamelize(str).replace(STRING_DASHERIZE_REGEXP,'-');
+      cache[str] = ret;
+    }
+
+    return ret;
+  },
+
+  /**
+    Returns the lowerCaseCamel form of a string.
+
+        'innerHTML'.camelize()         => 'innerHTML'
+        'action_name'.camelize()       => 'actionName'
+        'css-class-name'.camelize()    => 'cssClassName'
+        'my favorite items'.camelize() => 'myFavoriteItems'
+
+    @param {String} str
+      The string to camelize.
+
+    @returns {String} the camelized string.
+  */
+  camelize: function(str) {
+    return str.replace(STRING_CAMELIZE_REGEXP, function(match, separator, chr) {
+      return chr ? chr.toUpperCase() : '';
+    });
+  },
+
+  /**
+    Returns the UpperCamelCase form of a string.
+
+        'innerHTML'.classify()         => 'InnerHTML'
+        'action_name'.classify()       => 'ActionName'
+        'css-class-name'.classify()    => 'CssClassName'
+        'my favorite items'.classift() => 'MyFavoriteItems'
+  */
+  classify: function(str) {
+    var camelized = Ember.String.camelize(str);
+    return camelized.charAt(0).toUpperCase() + camelized.substr(1);
+  },
+
+  /**
+    More general than decamelize. Returns the lower_case_and_underscored
+    form of a string.
+
+        'innerHTML'.underscore()         => 'inner_html'
+        'action_name'.underscore()       => 'action_name'
+        'css-class-name'.underscore()    => 'css_class_name'
+        'my favorite items'.underscore() => 'my_favorite_items'
+
+    @param {String} str
+      The string to underscore.
+
+    @returns {String} the underscored string.
+  */
+  underscore: function(str) {
+    return str.replace(STRING_UNDERSCORE_REGEXP_1, '$1_$2').
+      replace(STRING_UNDERSCORE_REGEXP_2, '_').toLowerCase();
+  }
+};
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var fmt = Ember.String.fmt,
+    w   = Ember.String.w,
+    loc = Ember.String.loc,
+    camelize = Ember.String.camelize,
+    decamelize = Ember.String.decamelize,
+    dasherize = Ember.String.dasherize,
+    underscore = Ember.String.underscore;
+
+if (Ember.EXTEND_PROTOTYPES) {
+
+  /**
+    @see Ember.String.fmt
+  */
+  String.prototype.fmt = function() {
+    return fmt(this, arguments);
+  };
+
+  /**
+    @see Ember.String.w
+  */
+  String.prototype.w = function() {
+    return w(this);
+  };
+
+  /**
+    @see Ember.String.loc
+  */
+  String.prototype.loc = function() {
+    return loc(this, arguments);
+  };
+
+  /**
+    @see Ember.String.camelize
+  */
+  String.prototype.camelize = function() {
+    return camelize(this);
+  };
+
+  /**
+    @see Ember.String.decamelize
+  */
+  String.prototype.decamelize = function() {
+    return decamelize(this);
+  };
+
+  /**
+    @see Ember.String.dasherize
+  */
+  String.prototype.dasherize = function() {
+    return dasherize(this);
+  };
+
+  /**
+    @see Ember.String.underscore
+  */
+  String.prototype.underscore = function() {
+    return underscore(this);
+  };
+
+}
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var a_slice = Array.prototype.slice;
+
+if (Ember.EXTEND_PROTOTYPES) {
+
+  /**
+    The `property` extension of Javascript's Function prototype is available
+    when Ember.EXTEND_PROTOTYPES is true, which is the default.
+
+    Computed properties allow you to treat a function like a property:
+
+        MyApp.president = Ember.Object.create({
+          firstName: "Barack",
+          lastName: "Obama",
+
+          fullName: function() {
+            return this.get('firstName') + ' ' + this.get('lastName');
+
+            // Call this flag to mark the function as a property
+          }.property()
+        });
+
+        MyApp.president.get('fullName');    => "Barack Obama"
+
+    Treating a function like a property is useful because they can work with
+    bindings, just like any other property.
+
+    Many computed properties have dependencies on other properties. For
+    example, in the above example, the `fullName` property depends on
+    `firstName` and `lastName` to determine its value. You can tell Ember.js
+    about these dependencies like this:
+
+        MyApp.president = Ember.Object.create({
+          firstName: "Barack",
+          lastName: "Obama",
+
+          fullName: function() {
+            return this.get('firstName') + ' ' + this.get('lastName');
+
+            // Tell Ember.js that this computed property depends on firstName
+            // and lastName
+          }.property('firstName', 'lastName')
+        });
+
+    Make sure you list these dependencies so Ember.js knows when to update
+    bindings that connect to a computed property. Changing a dependency
+    will not immediately trigger an update of the computed property, but
+    will instead clear the cache so that it is updated when the next `get`
+    is called on the property.
+
+    Note: you will usually want to use `property(...)` with `cacheable()`.
+
+    @see Ember.ComputedProperty
+    @see Ember.computed
+  */
+  Function.prototype.property = function() {
+    var ret = Ember.computed(this);
+    return ret.property.apply(ret, arguments);
+  };
+
+  /**
+    The `observes` extension of Javascript's Function prototype is available
+    when Ember.EXTEND_PROTOTYPES is true, which is the default.
+
+    You can observe property changes simply by adding the `observes`
+    call to the end of your method declarations in classes that you write.
+    For example:
+
+        Ember.Object.create({
+          valueObserver: function() {
+            // Executes whenever the "value" property changes
+          }.observes('value')
+        });
+
+    @see Ember.Observable
+  */
+  Function.prototype.observes = function() {
+    this.__ember_observes__ = a_slice.call(arguments);
+    return this;
+  };
+
+  /**
+    The `observesBefore` extension of Javascript's Function prototype is
+    available when Ember.EXTEND_PROTOTYPES is true, which is the default.
+
+    You can get notified when a property changes is about to happen by
+    by adding the `observesBefore` call to the end of your method
+    declarations in classes that you write. For example:
+
+        Ember.Object.create({
+          valueObserver: function() {
+            // Executes whenever the "value" property is about to change
+          }.observesBefore('value')
+        });
+
+    @see Ember.Observable
+  */
+  Function.prototype.observesBefore = function() {
+    this.__ember_observesBefore__ = a_slice.call(arguments);
+    return this;
+  };
+
+}
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+
+
+
+
+// ..........................................................
+// HELPERS
+//
+
+var get = Ember.get, set = Ember.set;
+var a_slice = Array.prototype.slice;
+var a_indexOf = Ember.EnumerableUtils.indexOf;
+
+var contexts = [];
+/** @private */
+function popCtx() {
+  return contexts.length===0 ? {} : contexts.pop();
+}
+
+/** @private */
+function pushCtx(ctx) {
+  contexts.push(ctx);
+  return null;
+}
+
+/** @private */
+function iter(key, value) {
+  var valueProvided = arguments.length === 2;
+
+  function i(item) {
+    var cur = get(item, key);
+    return valueProvided ? value===cur : !!cur;
+  }
+  return i ;
+}
+
+/**
+  @class
+
+  This mixin defines the common interface implemented by enumerable objects
+  in Ember.  Most of these methods follow the standard Array iteration
+  API defined up to JavaScript 1.8 (excluding language-specific features that
+  cannot be emulated in older versions of JavaScript).
+
+  This mixin is applied automatically to the Array class on page load, so you
+  can use any of these methods on simple arrays.  If Array already implements
+  one of these methods, the mixin will not override them.
+
+  h3. Writing Your Own Enumerable
+
+  To make your own custom class enumerable, you need two items:
+
+  1. You must have a length property.  This property should change whenever
+     the number of items in your enumerable object changes.  If you using this
+     with an Ember.Object subclass, you should be sure to change the length
+     property using set().
+
+  2. If you must implement nextObject().  See documentation.
+
+  Once you have these two methods implement, apply the Ember.Enumerable mixin
+  to your class and you will be able to enumerate the contents of your object
+  like any other collection.
+
+  h3. Using Ember Enumeration with Other Libraries
+
+  Many other libraries provide some kind of iterator or enumeration like
+  facility.  This is often where the most common API conflicts occur.
+  Ember's API is designed to be as friendly as possible with other
+  libraries by implementing only methods that mostly correspond to the
+  JavaScript 1.8 API.
+
+  @extends Ember.Mixin
+  @since Ember 0.9
+*/
+Ember.Enumerable = Ember.Mixin.create(
+  /** @scope Ember.Enumerable.prototype */ {
+
+  /** @private - compatibility */
+  isEnumerable: true,
+
+  /**
+    Implement this method to make your class enumerable.
+
+    This method will be call repeatedly during enumeration.  The index value
+    will always begin with 0 and increment monotonically.  You don't have to
+    rely on the index value to determine what object to return, but you should
+    always check the value and start from the beginning when you see the
+    requested index is 0.
+
+    The previousObject is the object that was returned from the last call
+    to nextObject for the current iteration.  This is a useful way to
+    manage iteration if you are tracing a linked list, for example.
+
+    Finally the context parameter will always contain a hash you can use as
+    a "scratchpad" to maintain any other state you need in order to iterate
+    properly.  The context object is reused and is not reset between
+    iterations so make sure you setup the context with a fresh state whenever
+    the index parameter is 0.
+
+    Generally iterators will continue to call nextObject until the index
+    reaches the your current length-1.  If you run out of data before this
+    time for some reason, you should simply return undefined.
+
+    The default implementation of this method simply looks up the index.
+    This works great on any Array-like objects.
+
+    @param {Number} index the current index of the iteration
+    @param {Object} previousObject the value returned by the last call to nextObject.
+    @param {Object} context a context object you can use to maintain state.
+    @returns {Object} the next object in the iteration or undefined
+  */
+  nextObject: Ember.required(Function),
+
+  /**
+    Helper method returns the first object from a collection.  This is usually
+    used by bindings and other parts of the framework to extract a single
+    object if the enumerable contains only one item.
+
+    If you override this method, you should implement it so that it will
+    always return the same value each time it is called.  If your enumerable
+    contains only one object, this method should always return that object.
+    If your enumerable is empty, this method should return undefined.
+
+        var arr = ["a", "b", "c"];
+        arr.firstObject(); => "a"
+
+        var arr = [];
+        arr.firstObject(); => undefined
+
+    @returns {Object} the object or undefined
+  */
+  firstObject: Ember.computed(function() {
+    if (get(this, 'length')===0) return undefined ;
+
+    // handle generic enumerables
+    var context = popCtx(), ret;
+    ret = this.nextObject(0, null, context);
+    pushCtx(context);
+    return ret ;
+  }).property('[]').cacheable(),
+
+  /**
+    Helper method returns the last object from a collection. If your enumerable
+    contains only one object, this method should always return that object.
+    If your enumerable is empty, this method should return undefined.
+
+        var arr = ["a", "b", "c"];
+        arr.lastObject(); => "c"
+
+        var arr = [];
+        arr.lastObject(); => undefined
+
+    @returns {Object} the last object or undefined
+  */
+  lastObject: Ember.computed(function() {
+    var len = get(this, 'length');
+    if (len===0) return undefined ;
+    var context = popCtx(), idx=0, cur, last = null;
+    do {
+      last = cur;
+      cur = this.nextObject(idx++, last, context);
+    } while (cur !== undefined);
+    pushCtx(context);
+    return last;
+  }).property('[]').cacheable(),
+
+  /**
+    Returns true if the passed object can be found in the receiver.  The
+    default version will iterate through the enumerable until the object
+    is found.  You may want to override this with a more efficient version.
+
+        var arr = ["a", "b", "c"];
+        arr.contains("a"); => true
+        arr.contains("z"); => false
+
+    @param {Object} obj
+      The object to search for.
+
+    @returns {Boolean} true if object is found in enumerable.
+  */
+  contains: function(obj) {
+    return this.find(function(item) { return item===obj; }) !== undefined;
+  },
+
+  /**
+    Iterates through the enumerable, calling the passed function on each
+    item. This method corresponds to the forEach() method defined in
+    JavaScript 1.6.
+
+    The callback method you provide should have the following signature (all
+    parameters are optional):
+
+          function(item, index, enumerable);
+
+    - *item* is the current item in the iteration.
+    - *index* is the current index in the iteration
+    - *enumerable* is the enumerable object itself.
+
+    Note that in addition to a callback, you can also pass an optional target
+    object that will be set as "this" on the context. This is a good way
+    to give your iterator function access to the current object.
+
+    @param {Function} callback The callback to execute
+    @param {Object} [target] The target object to use
+    @returns {Object} receiver
+  */
+  forEach: function(callback, target) {
+    if (typeof callback !== "function") throw new TypeError() ;
+    var len = get(this, 'length'), last = null, context = popCtx();
+
+    if (target === undefined) target = null;
+
+    for(var idx=0;idx<len;idx++) {
+      var next = this.nextObject(idx, last, context) ;
+      callback.call(target, next, idx, this);
+      last = next ;
+    }
+    last = null ;
+    context = pushCtx(context);
+    return this ;
+  },
+
+  /**
+    Alias for mapProperty
+
+    @param {String} key name of the property
+    @returns {Array} The mapped array.
+  */
+  getEach: function(key) {
+    return this.mapProperty(key);
+  },
+
+  /**
+    Sets the value on the named property for each member. This is more
+    efficient than using other methods defined on this helper. If the object
+    implements Ember.Observable, the value will be changed to set(), otherwise
+    it will be set directly. null objects are skipped.
+
+    @param {String} key The key to set
+    @param {Object} value The object to set
+    @returns {Object} receiver
+  */
+  setEach: function(key, value) {
+    return this.forEach(function(item) {
+      set(item, key, value);
+    });
+  },
+
+  /**
+    Maps all of the items in the enumeration to another value, returning
+    a new array. This method corresponds to map() defined in JavaScript 1.6.
+
+    The callback method you provide should have the following signature (all
+    parameters are optional):
+
+        function(item, index, enumerable);
+
+    - *item* is the current item in the iteration.
+    - *index* is the current index in the iteration
+    - *enumerable* is the enumerable object itself.
+
+    It should return the mapped value.
+
+    Note that in addition to a callback, you can also pass an optional target
+    object that will be set as "this" on the context. This is a good way
+    to give your iterator function access to the current object.
+
+    @param {Function} callback The callback to execute
+    @param {Object} [target] The target object to use
+    @returns {Array} The mapped array.
+  */
+  map: function(callback, target) {
+    var ret = [];
+    this.forEach(function(x, idx, i) {
+      ret[idx] = callback.call(target, x, idx,i);
+    });
+    return ret ;
+  },
+
+  /**
+    Similar to map, this specialized function returns the value of the named
+    property on all items in the enumeration.
+
+    @param {String} key name of the property
+    @returns {Array} The mapped array.
+  */
+  mapProperty: function(key) {
+    return this.map(function(next) {
+      return get(next, key);
+    });
+  },
+
+  /**
+    Returns an array with all of the items in the enumeration that the passed
+    function returns true for. This method corresponds to filter() defined in
+    JavaScript 1.6.
+
+    The callback method you provide should have the following signature (all
+    parameters are optional):
+
+          function(item, index, enumerable);
+
+    - *item* is the current item in the iteration.
+    - *index* is the current index in the iteration
+    - *enumerable* is the enumerable object itself.
+
+    It should return the true to include the item in the results, false otherwise.
+
+    Note that in addition to a callback, you can also pass an optional target
+    object that will be set as "this" on the context. This is a good way
+    to give your iterator function access to the current object.
+
+    @param {Function} callback The callback to execute
+    @param {Object} [target] The target object to use
+    @returns {Array} A filtered array.
+  */
+  filter: function(callback, target) {
+    var ret = [];
+    this.forEach(function(x, idx, i) {
+      if (callback.call(target, x, idx, i)) ret.push(x);
+    });
+    return ret ;
+  },
+
+  /**
+    Returns an array with just the items with the matched property.  You
+    can pass an optional second argument with the target value.  Otherwise
+    this will match any property that evaluates to true.
+
+    @param {String} key the property to test
+    @param {String} [value] optional value to test against.
+    @returns {Array} filtered array
+  */
+  filterProperty: function(key, value) {
+    return this.filter(iter.apply(this, arguments));
+  },
+
+  /**
+    Returns the first item in the array for which the callback returns true.
+    This method works similar to the filter() method defined in JavaScript 1.6
+    except that it will stop working on the array once a match is found.
+
+    The callback method you provide should have the following signature (all
+    parameters are optional):
+
+          function(item, index, enumerable);
+
+    - *item* is the current item in the iteration.
+    - *index* is the current index in the iteration
+    - *enumerable* is the enumerable object itself.
+
+    It should return the true to include the item in the results, false otherwise.
+
+    Note that in addition to a callback, you can also pass an optional target
+    object that will be set as "this" on the context. This is a good way
+    to give your iterator function access to the current object.
+
+    @param {Function} callback The callback to execute
+    @param {Object} [target] The target object to use
+    @returns {Object} Found item or null.
+  */
+  find: function(callback, target) {
+    var len = get(this, 'length') ;
+    if (target === undefined) target = null;
+
+    var last = null, next, found = false, ret ;
+    var context = popCtx();
+    for(var idx=0;idx<len && !found;idx++) {
+      next = this.nextObject(idx, last, context) ;
+      if (found = callback.call(target, next, idx, this)) ret = next ;
+      last = next ;
+    }
+    next = last = null ;
+    context = pushCtx(context);
+    return ret ;
+  },
+
+  /**
+    Returns the first item with a property matching the passed value.  You
+    can pass an optional second argument with the target value.  Otherwise
+    this will match any property that evaluates to true.
+
+    This method works much like the more generic find() method.
+
+    @param {String} key the property to test
+    @param {String} [value] optional value to test against.
+    @returns {Object} found item or null
+  */
+  findProperty: function(key, value) {
+    return this.find(iter.apply(this, arguments));
+  },
+
+  /**
+    Returns true if the passed function returns true for every item in the
+    enumeration. This corresponds with the every() method in JavaScript 1.6.
+
+    The callback method you provide should have the following signature (all
+    parameters are optional):
+
+          function(item, index, enumerable);
+
+    - *item* is the current item in the iteration.
+    - *index* is the current index in the iteration
+    - *enumerable* is the enumerable object itself.
+
+    It should return the true or false.
+
+    Note that in addition to a callback, you can also pass an optional target
+    object that will be set as "this" on the context. This is a good way
+    to give your iterator function access to the current object.
+
+    Example Usage:
+
+          if (people.every(isEngineer)) { Paychecks.addBigBonus(); }
+
+    @param {Function} callback The callback to execute
+    @param {Object} [target] The target object to use
+    @returns {Boolean}
+  */
+  every: function(callback, target) {
+    return !this.find(function(x, idx, i) {
+      return !callback.call(target, x, idx, i);
+    });
+  },
+
+  /**
+    Returns true if the passed property resolves to true for all items in the
+    enumerable.  This method is often simpler/faster than using a callback.
+
+    @param {String} key the property to test
+    @param {String} [value] optional value to test against.
+    @returns {Array} filtered array
+  */
+  everyProperty: function(key, value) {
+    return this.every(iter.apply(this, arguments));
+  },
+
+
+  /**
+    Returns true if the passed function returns true for any item in the
+    enumeration. This corresponds with the every() method in JavaScript 1.6.
+
+    The callback method you provide should have the following signature (all
+    parameters are optional):
+
+          function(item, index, enumerable);
+
+    - *item* is the current item in the iteration.
+    - *index* is the current index in the iteration
+    - *enumerable* is the enumerable object itself.
+
+    It should return the true to include the item in the results, false otherwise.
+
+    Note that in addition to a callback, you can also pass an optional target
+    object that will be set as "this" on the context. This is a good way
+    to give your iterator function access to the current object.
+
+    Usage Example:
+
+          if (people.some(isManager)) { Paychecks.addBiggerBonus(); }
+
+    @param {Function} callback The callback to execute
+    @param {Object} [target] The target object to use
+    @returns {Array} A filtered array.
+  */
+  some: function(callback, target) {
+    return !!this.find(function(x, idx, i) {
+      return !!callback.call(target, x, idx, i);
+    });
+  },
+
+  /**
+    Returns true if the passed property resolves to true for any item in the
+    enumerable.  This method is often simpler/faster than using a callback.
+
+    @param {String} key the property to test
+    @param {String} [value] optional value to test against.
+    @returns {Boolean} true
+  */
+  someProperty: function(key, value) {
+    return this.some(iter.apply(this, arguments));
+  },
+
+  /**
+    This will combine the values of the enumerator into a single value. It
+    is a useful way to collect a summary value from an enumeration. This
+    corresponds to the reduce() method defined in JavaScript 1.8.
+
+    The callback method you provide should have the following signature (all
+    parameters are optional):
+
+          function(previousValue, item, index, enumerable);
+
+    - *previousValue* is the value returned by the last call to the iterator.
+    - *item* is the current item in the iteration.
+    - *index* is the current index in the iteration
+    - *enumerable* is the enumerable object itself.
+
+    Return the new cumulative value.
+
+    In addition to the callback you can also pass an initialValue. An error
+    will be raised if you do not pass an initial value and the enumerator is
+    empty.
+
+    Note that unlike the other methods, this method does not allow you to
+    pass a target object to set as this for the callback. It's part of the
+    spec. Sorry.
+
+    @param {Function} callback The callback to execute
+    @param {Object} initialValue Initial value for the reduce
+    @param {String} reducerProperty internal use only.
+    @returns {Object} The reduced value.
+  */
+  reduce: function(callback, initialValue, reducerProperty) {
+    if (typeof callback !== "function") { throw new TypeError(); }
+
+    var ret = initialValue;
+
+    this.forEach(function(item, i) {
+      ret = callback.call(null, ret, item, i, this, reducerProperty);
+    }, this);
+
+    return ret;
+  },
+
+  /**
+    Invokes the named method on every object in the receiver that
+    implements it.  This method corresponds to the implementation in
+    Prototype 1.6.
+
+    @param {String} methodName the name of the method
+    @param {Object...} args optional arguments to pass as well.
+    @returns {Array} return values from calling invoke.
+  */
+  invoke: function(methodName) {
+    var args, ret = [];
+    if (arguments.length>1) args = a_slice.call(arguments, 1);
+
+    this.forEach(function(x, idx) {
+      var method = x && x[methodName];
+      if ('function' === typeof method) {
+        ret[idx] = args ? method.apply(x, args) : method.call(x);
+      }
+    }, this);
+
+    return ret;
+  },
+
+  /**
+    Simply converts the enumerable into a genuine array.  The order is not
+    guaranteed.  Corresponds to the method implemented by Prototype.
+
+    @returns {Array} the enumerable as an array.
+  */
+  toArray: function() {
+    var ret = [];
+    this.forEach(function(o, idx) { ret[idx] = o; });
+    return ret ;
+  },
+
+  /**
+    Returns a copy of the array with all null elements removed.
+
+        var arr = ["a", null, "c", null];
+        arr.compact(); => ["a", "c"]
+
+    @returns {Array} the array without null elements.
+  */
+  compact: function() { return this.without(null); },
+
+  /**
+    Returns a new enumerable that excludes the passed value.  The default
+    implementation returns an array regardless of the receiver type unless
+    the receiver does not contain the value.
+
+        var arr = ["a", "b", "a", "c"];
+        arr.without("a"); => ["b", "c"]
+
+    @param {Object} value
+    @returns {Ember.Enumerable}
+  */
+  without: function(value) {
+    if (!this.contains(value)) return this; // nothing to do
+    var ret = [] ;
+    this.forEach(function(k) {
+      if (k !== value) ret[ret.length] = k;
+    }) ;
+    return ret ;
+  },
+
+  /**
+    Returns a new enumerable that contains only unique values.  The default
+    implementation returns an array regardless of the receiver type.
+
+        var arr = ["a", "a", "b", "b"];
+        arr.uniq(); => ["a", "b"]
+
+    @returns {Ember.Enumerable}
+  */
+  uniq: function() {
+    var ret = [];
+    this.forEach(function(k){
+      if (a_indexOf(ret, k)<0) ret.push(k);
+    });
+    return ret;
+  },
+
+  /**
+    This property will trigger anytime the enumerable's content changes.
+    You can observe this property to be notified of changes to the enumerables
+    content.
+
+    For plain enumerables, this property is read only.  Ember.Array overrides
+    this method.
+
+    @type Ember.Array
+  */
+  '[]': Ember.computed(function(key, value) {
+    return this;
+  }).property().cacheable(),
+
+  // ..........................................................
+  // ENUMERABLE OBSERVERS
+  //
+
+  /**
+    Registers an enumerable observer.   Must implement Ember.EnumerableObserver
+    mixin.
+  */
+  addEnumerableObserver: function(target, opts) {
+    var willChange = (opts && opts.willChange) || 'enumerableWillChange',
+        didChange  = (opts && opts.didChange) || 'enumerableDidChange';
+
+    var hasObservers = get(this, 'hasEnumerableObservers');
+    if (!hasObservers) Ember.propertyWillChange(this, 'hasEnumerableObservers');
+    Ember.addListener(this, '@enumerable:before', target, willChange);
+    Ember.addListener(this, '@enumerable:change', target, didChange);
+    if (!hasObservers) Ember.propertyDidChange(this, 'hasEnumerableObservers');
+    return this;
+  },
+
+  /**
+    Removes a registered enumerable observer.
+  */
+  removeEnumerableObserver: function(target, opts) {
+    var willChange = (opts && opts.willChange) || 'enumerableWillChange',
+        didChange  = (opts && opts.didChange) || 'enumerableDidChange';
+
+    var hasObservers = get(this, 'hasEnumerableObservers');
+    if (hasObservers) Ember.propertyWillChange(this, 'hasEnumerableObservers');
+    Ember.removeListener(this, '@enumerable:before', target, willChange);
+    Ember.removeListener(this, '@enumerable:change', target, didChange);
+    if (hasObservers) Ember.propertyDidChange(this, 'hasEnumerableObservers');
+    return this;
+  },
+
+  /**
+    Becomes true whenever the array currently has observers watching changes
+    on the array.
+
+    @type Boolean
+  */
+  hasEnumerableObservers: Ember.computed(function() {
+    return Ember.hasListeners(this, '@enumerable:change') || Ember.hasListeners(this, '@enumerable:before');
+  }).property().cacheable(),
+
+
+  /**
+    Invoke this method just before the contents of your enumerable will
+    change.  You can either omit the parameters completely or pass the objects
+    to be removed or added if available or just a count.
+
+    @param {Ember.Enumerable|Number} removing
+      An enumerable of the objects to be removed or the number of items to
+      be removed.
+
+    @param {Ember.Enumerable|Number} adding
+      An enumerable of the objects to be added or the number of items to be
+      added.
+
+    @returns {Ember.Enumerable} receiver
+  */
+  enumerableContentWillChange: function(removing, adding) {
+
+    var removeCnt, addCnt, hasDelta;
+
+    if ('number' === typeof removing) removeCnt = removing;
+    else if (removing) removeCnt = get(removing, 'length');
+    else removeCnt = removing = -1;
+
+    if ('number' === typeof adding) addCnt = adding;
+    else if (adding) addCnt = get(adding,'length');
+    else addCnt = adding = -1;
+
+    hasDelta = addCnt<0 || removeCnt<0 || addCnt-removeCnt!==0;
+
+    if (removing === -1) removing = null;
+    if (adding   === -1) adding   = null;
+
+    Ember.propertyWillChange(this, '[]');
+    if (hasDelta) Ember.propertyWillChange(this, 'length');
+    Ember.sendEvent(this, '@enumerable:before', [this, removing, adding]);
+
+    return this;
+  },
+
+  /**
+    Invoke this method when the contents of your enumerable has changed.
+    This will notify any observers watching for content changes.  If your are
+    implementing an ordered enumerable (such as an array), also pass the
+    start and end values where the content changed so that it can be used to
+    notify range observers.
+
+    @param {Number} start
+      optional start offset for the content change.  For unordered
+      enumerables, you should always pass -1.
+
+    @param {Ember.Enumerable|Number} removing
+      An enumerable of the objects to be removed or the number of items to
+      be removed.
+
+    @param {Ember.Enumerable|Number} adding
+      An enumerable of the objects to be added or the number of items to be
+      added.
+
+    @returns {Object} receiver
+  */
+  enumerableContentDidChange: function(removing, adding) {
+    var notify = this.propertyDidChange, removeCnt, addCnt, hasDelta;
+
+    if ('number' === typeof removing) removeCnt = removing;
+    else if (removing) removeCnt = get(removing, 'length');
+    else removeCnt = removing = -1;
+
+    if ('number' === typeof adding) addCnt = adding;
+    else if (adding) addCnt = get(adding, 'length');
+    else addCnt = adding = -1;
+
+    hasDelta = addCnt<0 || removeCnt<0 || addCnt-removeCnt!==0;
+
+    if (removing === -1) removing = null;
+    if (adding   === -1) adding   = null;
+
+    Ember.sendEvent(this, '@enumerable:change', [this, removing, adding]);
+    if (hasDelta) Ember.propertyDidChange(this, 'length');
+    Ember.propertyDidChange(this, '[]');
+
+    return this ;
+  }
+
+}) ;
+
+
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+// ..........................................................
+// HELPERS
+//
+
+var get = Ember.get, set = Ember.set, meta = Ember.meta, map = Ember.EnumerableUtils.map, cacheFor = Ember.cacheFor;
+
+/** @private */
+function none(obj) { return obj===null || obj===undefined; }
+
+// ..........................................................
+// ARRAY
+//
+/**
+  @namespace
+
+  This module implements Observer-friendly Array-like behavior.  This mixin is
+  picked up by the Array class as well as other controllers, etc. that want to
+  appear to be arrays.
+
+  Unlike Ember.Enumerable, this mixin defines methods specifically for
+  collections that provide index-ordered access to their contents.  When you
+  are designing code that needs to accept any kind of Array-like object, you
+  should use these methods instead of Array primitives because these will
+  properly notify observers of changes to the array.
+
+  Although these methods are efficient, they do add a layer of indirection to
+  your application so it is a good idea to use them only when you need the
+  flexibility of using both true JavaScript arrays and "virtual" arrays such
+  as controllers and collections.
+
+  You can use the methods defined in this module to access and modify array
+  contents in a KVO-friendly way.  You can also be notified whenever the
+  membership if an array changes by changing the syntax of the property to
+  .observes('*myProperty.[]') .
+
+  To support Ember.Array in your own class, you must override two
+  primitives to use it: replace() and objectAt().
+
+  Note that the Ember.Array mixin also incorporates the Ember.Enumerable mixin.  All
+  Ember.Array-like objects are also enumerable.
+
+  @extends Ember.Enumerable
+  @since Ember 0.9.0
+*/
+Ember.Array = Ember.Mixin.create(Ember.Enumerable, /** @scope Ember.Array.prototype */ {
+
+  /** @private - compatibility */
+  isSCArray: true,
+
+  /**
+    @field {Number} length
+
+    Your array must support the length property. Your replace methods should
+    set this property whenever it changes.
+  */
+  length: Ember.required(),
+
+  /**
+    Returns the object at the given index. If the given index is negative or
+    is greater or equal than the array length, returns `undefined`.
+
+    This is one of the primitives you must implement to support `Ember.Array`.
+    If your object supports retrieving the value of an array item using `get()`
+    (i.e. `myArray.get(0)`), then you do not need to implement this method
+    yourself.
+
+        var arr = ['a', 'b', 'c', 'd'];
+        arr.objectAt(0);  => "a"
+        arr.objectAt(3);  => "d"
+        arr.objectAt(-1); => undefined
+        arr.objectAt(4);  => undefined
+        arr.objectAt(5);  => undefined
+
+    @param {Number} idx
+      The index of the item to return.
+  */
+  objectAt: function(idx) {
+    if ((idx < 0) || (idx>=get(this, 'length'))) return undefined ;
+    return get(this, idx);
+  },
+
+  /**
+    This returns the objects at the specified indexes, using `objectAt`.
+
+        var arr = ['a', 'b', 'c', 'd'];
+        arr.objectsAt([0, 1, 2]) => ["a", "b", "c"]
+        arr.objectsAt([2, 3, 4]) => ["c", "d", undefined]
+
+    @param {Array} indexes
+      An array of indexes of items to return.
+   */
+  objectsAt: function(indexes) {
+    var self = this;
+    return map(indexes, function(idx){ return self.objectAt(idx); });
+  },
+
+  /** @private (nodoc) - overrides Ember.Enumerable version */
+  nextObject: function(idx) {
+    return this.objectAt(idx);
+  },
+
+  /**
+    @field []
+
+    This is the handler for the special array content property.  If you get
+    this property, it will return this.  If you set this property it a new
+    array, it will replace the current content.
+
+    This property overrides the default property defined in Ember.Enumerable.
+  */
+  '[]': Ember.computed(function(key, value) {
+    if (value !== undefined) this.replace(0, get(this, 'length'), value) ;
+    return this ;
+  }).property().cacheable(),
+
+  firstObject: Ember.computed(function() {
+    return this.objectAt(0);
+  }).property().cacheable(),
+
+  lastObject: Ember.computed(function() {
+    return this.objectAt(get(this, 'length')-1);
+  }).property().cacheable(),
+
+  /** @private (nodoc) - optimized version from Enumerable */
+  contains: function(obj){
+    return this.indexOf(obj) >= 0;
+  },
+
+  // Add any extra methods to Ember.Array that are native to the built-in Array.
+  /**
+    Returns a new array that is a slice of the receiver. This implementation
+    uses the observable array methods to retrieve the objects for the new
+    slice.
+
+        var arr = ['red', 'green', 'blue'];
+        arr.slice(0);      => ['red', 'green', 'blue']
+        arr.slice(0, 2);   => ['red', 'green']
+        arr.slice(1, 100); => ['green', 'blue']
+
+    @param beginIndex {Integer} (Optional) index to begin slicing from.
+    @param endIndex {Integer} (Optional) index to end the slice at.
+    @returns {Array} New array with specified slice
+  */
+  slice: function(beginIndex, endIndex) {
+    var ret = [];
+    var length = get(this, 'length') ;
+    if (none(beginIndex)) beginIndex = 0 ;
+    if (none(endIndex) || (endIndex > length)) endIndex = length ;
+    while(beginIndex < endIndex) {
+      ret[ret.length] = this.objectAt(beginIndex++) ;
+    }
+    return ret ;
+  },
+
+  /**
+    Returns the index of the given object's first occurrence.
+    If no startAt argument is given, the starting location to
+    search is 0. If it's negative, will count backward from
+    the end of the array. Returns -1 if no match is found.
+
+        var arr = ["a", "b", "c", "d", "a"];
+        arr.indexOf("a");      =>  0
+        arr.indexOf("z");      => -1
+        arr.indexOf("a", 2);   =>  4
+        arr.indexOf("a", -1);  =>  4
+        arr.indexOf("b", 3);   => -1
+        arr.indexOf("a", 100); => -1
+
+    @param {Object} object the item to search for
+    @param {Number} startAt optional starting location to search, default 0
+    @returns {Number} index or -1 if not found
+  */
+  indexOf: function(object, startAt) {
+    var idx, len = get(this, 'length');
+
+    if (startAt === undefined) startAt = 0;
+    if (startAt < 0) startAt += len;
+
+    for(idx=startAt;idx<len;idx++) {
+      if (this.objectAt(idx, true) === object) return idx ;
+    }
+    return -1;
+  },
+
+  /**
+    Returns the index of the given object's last occurrence.
+    If no startAt argument is given, the search starts from
+    the last position. If it's negative, will count backward
+    from the end of the array. Returns -1 if no match is found.
+
+        var arr = ["a", "b", "c", "d", "a"];
+        arr.lastIndexOf("a");      =>  4
+        arr.lastIndexOf("z");      => -1
+        arr.lastIndexOf("a", 2);   =>  0
+        arr.lastIndexOf("a", -1);  =>  4
+        arr.lastIndexOf("b", 3);   =>  1
+        arr.lastIndexOf("a", 100); =>  4
+
+    @param {Object} object the item to search for
+    @param {Number} startAt optional starting location to search, default 0
+    @returns {Number} index or -1 if not found
+  */
+  lastIndexOf: function(object, startAt) {
+    var idx, len = get(this, 'length');
+
+    if (startAt === undefined || startAt >= len) startAt = len-1;
+    if (startAt < 0) startAt += len;
+
+    for(idx=startAt;idx>=0;idx--) {
+      if (this.objectAt(idx) === object) return idx ;
+    }
+    return -1;
+  },
+
+  // ..........................................................
+  // ARRAY OBSERVERS
+  //
+
+  /**
+    Adds an array observer to the receiving array.  The array observer object
+    normally must implement two methods:
+
+    * `arrayWillChange(start, removeCount, addCount)` - This method will be
+      called just before the array is modified.
+    * `arrayDidChange(start, removeCount, addCount)` - This method will be
+      called just after the array is modified.
+
+    Both callbacks will be passed the starting index of the change as well a
+    a count of the items to be removed and added.  You can use these callbacks
+    to optionally inspect the array during the change, clear caches, or do
+    any other bookkeeping necessary.
+
+    In addition to passing a target, you can also include an options hash
+    which you can use to override the method names that will be invoked on the
+    target.
+
+    @param {Object} target
+      The observer object.
+
+    @param {Hash} opts
+      Optional hash of configuration options including willChange, didChange,
+      and a context option.
+
+    @returns {Ember.Array} receiver
+  */
+  addArrayObserver: function(target, opts) {
+    var willChange = (opts && opts.willChange) || 'arrayWillChange',
+        didChange  = (opts && opts.didChange) || 'arrayDidChange';
+
+    var hasObservers = get(this, 'hasArrayObservers');
+    if (!hasObservers) Ember.propertyWillChange(this, 'hasArrayObservers');
+    Ember.addListener(this, '@array:before', target, willChange);
+    Ember.addListener(this, '@array:change', target, didChange);
+    if (!hasObservers) Ember.propertyDidChange(this, 'hasArrayObservers');
+    return this;
+  },
+
+  /**
+    Removes an array observer from the object if the observer is current
+    registered.  Calling this method multiple times with the same object will
+    have no effect.
+
+    @param {Object} target
+      The object observing the array.
+
+    @returns {Ember.Array} receiver
+  */
+  removeArrayObserver: function(target, opts) {
+    var willChange = (opts && opts.willChange) || 'arrayWillChange',
+        didChange  = (opts && opts.didChange) || 'arrayDidChange';
+
+    var hasObservers = get(this, 'hasArrayObservers');
+    if (hasObservers) Ember.propertyWillChange(this, 'hasArrayObservers');
+    Ember.removeListener(this, '@array:before', target, willChange);
+    Ember.removeListener(this, '@array:change', target, didChange);
+    if (hasObservers) Ember.propertyDidChange(this, 'hasArrayObservers');
+    return this;
+  },
+
+  /**
+    Becomes true whenever the array currently has observers watching changes
+    on the array.
+
+    @type Boolean
+  */
+  hasArrayObservers: Ember.computed(function() {
+    return Ember.hasListeners(this, '@array:change') || Ember.hasListeners(this, '@array:before');
+  }).property().cacheable(),
+
+  /**
+    If you are implementing an object that supports Ember.Array, call this
+    method just before the array content changes to notify any observers and
+    invalidate any related properties.  Pass the starting index of the change
+    as well as a delta of the amounts to change.
+
+    @param {Number} startIdx
+      The starting index in the array that will change.
+
+    @param {Number} removeAmt
+      The number of items that will be removed.  If you pass null assumes 0
+
+    @param {Number} addAmt
+      The number of items that will be added.  If you pass null assumes 0.
+
+    @returns {Ember.Array} receiver
+  */
+  arrayContentWillChange: function(startIdx, removeAmt, addAmt) {
+
+    // if no args are passed assume everything changes
+    if (startIdx===undefined) {
+      startIdx = 0;
+      removeAmt = addAmt = -1;
+    } else {
+      if (removeAmt === undefined) removeAmt=-1;
+      if (addAmt    === undefined) addAmt=-1;
+    }
+
+    // Make sure the @each proxy is set up if anyone is observing @each
+    if (Ember.isWatching(this, '@each')) { get(this, '@each'); }
+
+    Ember.sendEvent(this, '@array:before', [this, startIdx, removeAmt, addAmt]);
+
+    var removing, lim;
+    if (startIdx>=0 && removeAmt>=0 && get(this, 'hasEnumerableObservers')) {
+      removing = [];
+      lim = startIdx+removeAmt;
+      for(var idx=startIdx;idx<lim;idx++) removing.push(this.objectAt(idx));
+    } else {
+      removing = removeAmt;
+    }
+
+    this.enumerableContentWillChange(removing, addAmt);
+
+    return this;
+  },
+
+  arrayContentDidChange: function(startIdx, removeAmt, addAmt) {
+
+    // if no args are passed assume everything changes
+    if (startIdx===undefined) {
+      startIdx = 0;
+      removeAmt = addAmt = -1;
+    } else {
+      if (removeAmt === undefined) removeAmt=-1;
+      if (addAmt    === undefined) addAmt=-1;
+    }
+
+    var adding, lim;
+    if (startIdx>=0 && addAmt>=0 && get(this, 'hasEnumerableObservers')) {
+      adding = [];
+      lim = startIdx+addAmt;
+      for(var idx=startIdx;idx<lim;idx++) adding.push(this.objectAt(idx));
+    } else {
+      adding = addAmt;
+    }
+
+    this.enumerableContentDidChange(removeAmt, adding);
+    Ember.sendEvent(this, '@array:change', [this, startIdx, removeAmt, addAmt]);
+
+    var length      = get(this, 'length'),
+        cachedFirst = cacheFor(this, 'firstObject'),
+        cachedLast  = cacheFor(this, 'lastObject');
+    if (this.objectAt(0) !== cachedFirst) {
+      Ember.propertyWillChange(this, 'firstObject');
+      Ember.propertyDidChange(this, 'firstObject');
+    }
+    if (this.objectAt(length-1) !== cachedLast) {
+      Ember.propertyWillChange(this, 'lastObject');
+      Ember.propertyDidChange(this, 'lastObject');
+    }
+
+    return this;
+  },
+
+  // ..........................................................
+  // ENUMERATED PROPERTIES
+  //
+
+  /**
+    Returns a special object that can be used to observe individual properties
+    on the array.  Just get an equivalent property on this object and it will
+    return an enumerable that maps automatically to the named key on the
+    member objects.
+  */
+  '@each': Ember.computed(function() {
+    if (!this.__each) this.__each = new Ember.EachProxy(this);
+    return this.__each;
+  }).property().cacheable()
+
+}) ;
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+/**
+  @namespace
+
+  Implements some standard methods for comparing objects. Add this mixin to
+  any class you create that can compare its instances.
+
+  You should implement the compare() method.
+
+  @extends Ember.Mixin
+  @since Ember 0.9
+*/
+Ember.Comparable = Ember.Mixin.create( /** @scope Ember.Comparable.prototype */{
+
+  /**
+    walk like a duck. Indicates that the object can be compared.
+
+    @type Boolean
+    @default true
+    @constant
+  */
+  isComparable: true,
+
+  /**
+    Override to return the result of the comparison of the two parameters. The
+    compare method should return:
+
+      - `-1` if `a < b`
+      - `0` if `a == b`
+      - `1` if `a > b`
+
+    Default implementation raises an exception.
+
+    @param a {Object} the first object to compare
+    @param b {Object} the second object to compare
+    @returns {Integer} the result of the comparison
+  */
+  compare: Ember.required(Function)
+
+});
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2010 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set;
+
+/**
+  @namespace
+
+  Implements some standard methods for copying an object.  Add this mixin to
+  any object you create that can create a copy of itself.  This mixin is
+  added automatically to the built-in array.
+
+  You should generally implement the copy() method to return a copy of the
+  receiver.
+
+  Note that frozenCopy() will only work if you also implement Ember.Freezable.
+
+  @extends Ember.Mixin
+  @since Ember 0.9
+*/
+Ember.Copyable = Ember.Mixin.create(
+/** @scope Ember.Copyable.prototype */ {
+
+  /**
+    Override to return a copy of the receiver.  Default implementation raises
+    an exception.
+
+    @function
+    @param deep {Boolean} if true, a deep copy of the object should be made
+    @returns {Object} copy of receiver
+  */
+  copy: Ember.required(Function),
+
+  /**
+    If the object implements Ember.Freezable, then this will return a new copy
+    if the object is not frozen and the receiver if the object is frozen.
+
+    Raises an exception if you try to call this method on a object that does
+    not support freezing.
+
+    You should use this method whenever you want a copy of a freezable object
+    since a freezable object can simply return itself without actually
+    consuming more memory.
+
+    @returns {Object} copy of receiver or receiver
+  */
+  frozenCopy: function() {
+    if (Ember.Freezable && Ember.Freezable.detect(this)) {
+      return get(this, 'isFrozen') ? this : this.copy().freeze();
+    } else {
+      throw new Error(Ember.String.fmt("%@ does not support freezing", [this]));
+    }
+  }
+});
+
+
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2010 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+
+
+
+
+var get = Ember.get, set = Ember.set;
+
+/**
+  @namespace
+
+  The Ember.Freezable mixin implements some basic methods for marking an object
+  as frozen. Once an object is frozen it should be read only. No changes
+  may be made the internal state of the object.
+
+  ## Enforcement
+
+  To fully support freezing in your subclass, you must include this mixin and
+  override any method that might alter any property on the object to instead
+  raise an exception. You can check the state of an object by checking the
+  isFrozen property.
+
+  Although future versions of JavaScript may support language-level freezing
+  object objects, that is not the case today. Even if an object is freezable,
+  it is still technically possible to modify the object, even though it could
+  break other parts of your application that do not expect a frozen object to
+  change. It is, therefore, very important that you always respect the
+  isFrozen property on all freezable objects.
+
+  ## Example Usage
+
+  The example below shows a simple object that implement the Ember.Freezable
+  protocol.
+
+        Contact = Ember.Object.extend(Ember.Freezable, {
+
+          firstName: null,
+
+          lastName: null,
+
+          // swaps the names
+          swapNames: function() {
+            if (this.get('isFrozen')) throw Ember.FROZEN_ERROR;
+            var tmp = this.get('firstName');
+            this.set('firstName', this.get('lastName'));
+            this.set('lastName', tmp);
+            return this;
+          }
+
+        });
+
+        c = Context.create({ firstName: "John", lastName: "Doe" });
+        c.swapNames();  => returns c
+        c.freeze();
+        c.swapNames();  => EXCEPTION
+
+  ## Copying
+
+  Usually the Ember.Freezable protocol is implemented in cooperation with the
+  Ember.Copyable protocol, which defines a frozenCopy() method that will return
+  a frozen object, if the object implements this method as well.
+
+  @extends Ember.Mixin
+  @since Ember 0.9
+*/
+Ember.Freezable = Ember.Mixin.create(
+/** @scope Ember.Freezable.prototype */ {
+
+  /**
+    Set to true when the object is frozen.  Use this property to detect whether
+    your object is frozen or not.
+
+    @type Boolean
+  */
+  isFrozen: false,
+
+  /**
+    Freezes the object.  Once this method has been called the object should
+    no longer allow any properties to be edited.
+
+    @returns {Object} receiver
+  */
+  freeze: function() {
+    if (get(this, 'isFrozen')) return this;
+    set(this, 'isFrozen', true);
+    return this;
+  }
+
+});
+
+Ember.FROZEN_ERROR = "Frozen object cannot be modified.";
+
+
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var forEach = Ember.EnumerableUtils.forEach;
+
+/**
+  @class
+
+  This mixin defines the API for modifying generic enumerables.  These methods
+  can be applied to an object regardless of whether it is ordered or
+  unordered.
+
+  Note that an Enumerable can change even if it does not implement this mixin.
+  For example, a MappedEnumerable cannot be directly modified but if its
+  underlying enumerable changes, it will change also.
+
+  ## Adding Objects
+
+  To add an object to an enumerable, use the addObject() method.  This
+  method will only add the object to the enumerable if the object is not
+  already present and the object if of a type supported by the enumerable.
+
+      set.addObject(contact);
+
+  ## Removing Objects
+
+  To remove an object form an enumerable, use the removeObject() method.  This
+  will only remove the object if it is already in the enumerable, otherwise
+  this method has no effect.
+
+      set.removeObject(contact);
+
+  ## Implementing In Your Own Code
+
+  If you are implementing an object and want to support this API, just include
+  this mixin in your class and implement the required methods.  In your unit
+  tests, be sure to apply the Ember.MutableEnumerableTests to your object.
+
+  @extends Ember.Mixin
+  @extends Ember.Enumerable
+*/
+Ember.MutableEnumerable = Ember.Mixin.create(Ember.Enumerable,
+  /** @scope Ember.MutableEnumerable.prototype */ {
+
+  /**
+    __Required.__ You must implement this method to apply this mixin.
+
+    Attempts to add the passed object to the receiver if the object is not
+    already present in the collection. If the object is present, this method
+    has no effect.
+
+    If the passed object is of a type not supported by the receiver
+    then this method should raise an exception.
+
+    @function
+
+    @param {Object} object
+      The object to add to the enumerable.
+
+    @returns {Object} the passed object
+  */
+  addObject: Ember.required(Function),
+
+  /**
+    Adds each object in the passed enumerable to the receiver.
+
+    @param {Ember.Enumerable} objects the objects to add.
+    @returns {Object} receiver
+  */
+  addObjects: function(objects) {
+    Ember.beginPropertyChanges(this);
+    forEach(objects, function(obj) { this.addObject(obj); }, this);
+    Ember.endPropertyChanges(this);
+    return this;
+  },
+
+  /**
+    __Required.__ You must implement this method to apply this mixin.
+
+    Attempts to remove the passed object from the receiver collection if the
+    object is in present in the collection.  If the object is not present,
+    this method has no effect.
+
+    If the passed object is of a type not supported by the receiver
+    then this method should raise an exception.
+
+    @function
+
+    @param {Object} object
+      The object to remove from the enumerable.
+
+    @returns {Object} the passed object
+  */
+  removeObject: Ember.required(Function),
+
+
+  /**
+    Removes each objects in the passed enumerable from the receiver.
+
+    @param {Ember.Enumerable} objects the objects to remove
+    @returns {Object} receiver
+  */
+  removeObjects: function(objects) {
+    Ember.beginPropertyChanges(this);
+    forEach(objects, function(obj) { this.removeObject(obj); }, this);
+    Ember.endPropertyChanges(this);
+    return this;
+  }
+
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+// ..........................................................
+// CONSTANTS
+//
+
+var OUT_OF_RANGE_EXCEPTION = "Index out of range" ;
+var EMPTY = [];
+
+// ..........................................................
+// HELPERS
+//
+
+var get = Ember.get, set = Ember.set, forEach = Ember.EnumerableUtils.forEach;
+
+/**
+  @class
+
+  This mixin defines the API for modifying array-like objects.  These methods
+  can be applied only to a collection that keeps its items in an ordered set.
+
+  Note that an Array can change even if it does not implement this mixin.
+  For example, one might implement a SparseArray that cannot be directly
+  modified, but if its underlying enumerable changes, it will change also.
+
+  @extends Ember.Mixin
+  @extends Ember.Array
+  @extends Ember.MutableEnumerable
+*/
+Ember.MutableArray = Ember.Mixin.create(Ember.Array, Ember.MutableEnumerable,
+  /** @scope Ember.MutableArray.prototype */ {
+
+  /**
+    __Required.__ You must implement this method to apply this mixin.
+
+    This is one of the primitives you must implement to support Ember.Array.  You
+    should replace amt objects started at idx with the objects in the passed
+    array.  You should also call this.enumerableContentDidChange() ;
+
+    @function
+
+    @param {Number} idx
+      Starting index in the array to replace.  If idx >= length, then append
+      to the end of the array.
+
+    @param {Number} amt
+      Number of elements that should be removed from the array, starting at
+      *idx*.
+
+    @param {Array} objects
+      An array of zero or more objects that should be inserted into the array
+      at *idx*
+  */
+  replace: Ember.required(),
+
+  /**
+    Remove all elements from self. This is useful if you
+    want to reuse an existing array without having to recreate it.
+
+        var colors = ["red", "green", "blue"];
+        color.length();  => 3
+        colors.clear();  => []
+        colors.length(); => 0
+
+    @returns {Ember.Array} An empty Array.
+  */
+  clear: function () {
+    var len = get(this, 'length');
+    if (len === 0) return this;
+    this.replace(0, len, EMPTY);
+    return this;
+  },
+
+  /**
+    This will use the primitive replace() method to insert an object at the
+    specified index.
+
+        var colors = ["red", "green", "blue"];
+        colors.insertAt(2, "yellow"); => ["red", "green", "yellow", "blue"]
+        colors.insertAt(5, "orange"); => Error: Index out of range
+
+    @param {Number} idx index of insert the object at.
+    @param {Object} object object to insert
+  */
+  insertAt: function(idx, object) {
+    if (idx > get(this, 'length')) throw new Error(OUT_OF_RANGE_EXCEPTION) ;
+    this.replace(idx, 0, [object]) ;
+    return this ;
+  },
+
+  /**
+    Remove an object at the specified index using the replace() primitive
+    method.  You can pass either a single index, or a start and a length.
+
+    If you pass a start and length that is beyond the
+    length this method will throw an Ember.OUT_OF_RANGE_EXCEPTION
+
+        var colors = ["red", "green", "blue", "yellow", "orange"];
+        colors.removeAt(0); => ["green", "blue", "yellow", "orange"]
+        colors.removeAt(2, 2); => ["green", "blue"]
+        colors.removeAt(4, 2); => Error: Index out of range
+
+    @param {Number} start index, start of range
+    @param {Number} len length of passing range
+    @returns {Object} receiver
+  */
+  removeAt: function(start, len) {
+
+    var delta = 0;
+
+    if ('number' === typeof start) {
+
+      if ((start < 0) || (start >= get(this, 'length'))) {
+        throw new Error(OUT_OF_RANGE_EXCEPTION);
+      }
+
+      // fast case
+      if (len === undefined) len = 1;
+      this.replace(start, len, EMPTY);
+    }
+
+    return this ;
+  },
+
+  /**
+    Push the object onto the end of the array.  Works just like push() but it
+    is KVO-compliant.
+
+        var colors = ["red", "green", "blue"];
+        colors.pushObject("black"); => ["red", "green", "blue", "black"]
+        colors.pushObject(["yellow", "orange"]); => ["red", "green", "blue", "black", ["yellow", "orange"]]
+
+  */
+  pushObject: function(obj) {
+    this.insertAt(get(this, 'length'), obj) ;
+    return obj ;
+  },
+
+  /**
+    Add the objects in the passed numerable to the end of the array.  Defers
+    notifying observers of the change until all objects are added.
+
+        var colors = ["red", "green", "blue"];
+        colors.pushObjects("black"); => ["red", "green", "blue", "black"]
+        colors.pushObjects(["yellow", "orange"]); => ["red", "green", "blue", "black", "yellow", "orange"]
+
+    @param {Ember.Enumerable} objects the objects to add
+    @returns {Ember.Array} receiver
+  */
+  pushObjects: function(objects) {
+    this.replace(get(this, 'length'), 0, objects);
+    return this;
+  },
+
+  /**
+    Pop object from array or nil if none are left.  Works just like pop() but
+    it is KVO-compliant.
+
+        var colors = ["red", "green", "blue"];
+        colors.popObject(); => "blue"
+        console.log(colors); => ["red", "green"]
+
+  */
+  popObject: function() {
+    var len = get(this, 'length') ;
+    if (len === 0) return null ;
+
+    var ret = this.objectAt(len-1) ;
+    this.removeAt(len-1, 1) ;
+    return ret ;
+  },
+
+  /**
+    Shift an object from start of array or nil if none are left.  Works just
+    like shift() but it is KVO-compliant.
+
+        var colors = ["red", "green", "blue"];
+        colors.shiftObject(); => "red"
+        console.log(colors); => ["green", "blue"]
+
+  */
+  shiftObject: function() {
+    if (get(this, 'length') === 0) return null ;
+    var ret = this.objectAt(0) ;
+    this.removeAt(0) ;
+    return ret ;
+  },
+
+  /**
+    Unshift an object to start of array.  Works just like unshift() but it is
+    KVO-compliant.
+
+        var colors = ["red", "green", "blue"];
+        colors.unshiftObject("yellow"); => ["yellow", "red", "green", "blue"]
+        colors.unshiftObject(["black", "white"]); => [["black", "white"], "yellow", "red", "green", "blue"]
+
+  */
+  unshiftObject: function(obj) {
+    this.insertAt(0, obj) ;
+    return obj ;
+  },
+
+  /**
+    Adds the named objects to the beginning of the array.  Defers notifying
+    observers until all objects have been added.
+
+        var colors = ["red", "green", "blue"];
+        colors.unshiftObjects(["black", "white"]); => ["black", "white", "red", "green", "blue"]
+        colors.unshiftObjects("yellow"); => Type Error: 'undefined' is not a function
+
+    @param {Ember.Enumerable} objects the objects to add
+    @returns {Ember.Array} receiver
+  */
+  unshiftObjects: function(objects) {
+    this.replace(0, 0, objects);
+    return this;
+  },
+
+  /**
+    Reverse objects in the array.  Works just like reverse() but it is
+    KVO-compliant.
+
+    @return {Ember.Array} receiver
+   */
+  reverseObjects: function() {
+    var len = get(this, 'length');
+    if (len === 0) return this;
+    var objects = this.toArray().reverse();
+    this.replace(0, len, objects);
+    return this;
+  },
+
+  // ..........................................................
+  // IMPLEMENT Ember.MutableEnumerable
+  //
+
+  /** @private (nodoc) */
+  removeObject: function(obj) {
+    var loc = get(this, 'length') || 0;
+    while(--loc >= 0) {
+      var curObject = this.objectAt(loc) ;
+      if (curObject === obj) this.removeAt(loc) ;
+    }
+    return this ;
+  },
+
+  /** @private (nodoc) */
+  addObject: function(obj) {
+    if (!this.contains(obj)) this.pushObject(obj);
+    return this ;
+  }
+
+});
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+var get = Ember.get, set = Ember.set, defineProperty = Ember.defineProperty;
+
+/**
+  @class
+
+  ## Overview
+
+  This mixin provides properties and property observing functionality, core
+  features of the Ember object model.
+
+  Properties and observers allow one object to observe changes to a
+  property on another object. This is one of the fundamental ways that
+  models, controllers and views communicate with each other in an Ember
+  application.
+
+  Any object that has this mixin applied can be used in observer
+  operations. That includes Ember.Object and most objects you will
+  interact with as you write your Ember application.
+
+  Note that you will not generally apply this mixin to classes yourself,
+  but you will use the features provided by this module frequently, so it
+  is important to understand how to use it.
+
+  ## Using get() and set()
+
+  Because of Ember's support for bindings and observers, you will always
+  access properties using the get method, and set properties using the
+  set method. This allows the observing objects to be notified and
+  computed properties to be handled properly.
+
+  More documentation about `get` and `set` are below.
+
+  ## Observing Property Changes
+
+  You typically observe property changes simply by adding the `observes`
+  call to the end of your method declarations in classes that you write.
+  For example:
+
+      Ember.Object.create({
+        valueObserver: function() {
+          // Executes whenever the "value" property changes
+        }.observes('value')
+      });
+
+  Although this is the most common way to add an observer, this capability
+  is actually built into the Ember.Object class on top of two methods
+  defined in this mixin: `addObserver` and `removeObserver`. You can use
+  these two methods to add and remove observers yourself if you need to
+  do so at runtime.
+
+  To add an observer for a property, call:
+
+      object.addObserver('propertyKey', targetObject, targetAction)
+
+  This will call the `targetAction` method on the `targetObject` to be called
+  whenever the value of the `propertyKey` changes.
+
+  Note that if `propertyKey` is a computed property, the observer will be
+  called when any of the property dependencies are changed, even if the
+  resulting value of the computed property is unchanged. This is necessary
+  because computed properties are not computed until `get` is called.
+
+  @extends Ember.Mixin
+*/
+Ember.Observable = Ember.Mixin.create(/** @scope Ember.Observable.prototype */ {
+
+  /** @private - compatibility */
+  isObserverable: true,
+
+  /**
+    Retrieves the value of a property from the object.
+
+    This method is usually similar to using object[keyName] or object.keyName,
+    however it supports both computed properties and the unknownProperty
+    handler.
+
+    Because `get` unifies the syntax for accessing all these kinds
+    of properties, it can make many refactorings easier, such as replacing a
+    simple property with a computed property, or vice versa.
+
+    ### Computed Properties
+
+    Computed properties are methods defined with the `property` modifier
+    declared at the end, such as:
+
+          fullName: function() {
+            return this.getEach('firstName', 'lastName').compact().join(' ');
+          }.property('firstName', 'lastName')
+
+    When you call `get` on a computed property, the function will be
+    called and the return value will be returned instead of the function
+    itself.
+
+    ### Unknown Properties
+
+    Likewise, if you try to call `get` on a property whose value is
+    undefined, the unknownProperty() method will be called on the object.
+    If this method returns any value other than undefined, it will be returned
+    instead. This allows you to implement "virtual" properties that are
+    not defined upfront.
+
+    @param {String} key The property to retrieve
+    @returns {Object} The property value or undefined.
+  */
+  get: function(keyName) {
+    return get(this, keyName);
+  },
+
+  /**
+    To get multiple properties at once, call getProperties
+    with a list of strings or an array:
+
+          record.getProperties('firstName', 'lastName', 'zipCode'); // => { firstName: 'John', lastName: 'Doe', zipCode: '10011' }
+
+   is equivalent to:
+
+          record.getProperties(['firstName', 'lastName', 'zipCode']); // => { firstName: 'John', lastName: 'Doe', zipCode: '10011' }
+
+    @param {String...|Array} list of keys to get
+    @returns {Hash}
+  */
+  getProperties: function() {
+    var ret = {};
+    var propertyNames = arguments;
+    if (arguments.length === 1 && Ember.typeOf(arguments[0]) === 'array') {
+      propertyNames = arguments[0];
+    }
+    for(var i = 0; i < propertyNames.length; i++) {
+      ret[propertyNames[i]] = get(this, propertyNames[i]);
+    }
+    return ret;
+  },
+
+  /**
+    Sets the provided key or path to the value.
+
+    This method is generally very similar to calling object[key] = value or
+    object.key = value, except that it provides support for computed
+    properties, the unknownProperty() method and property observers.
+
+    ### Computed Properties
+
+    If you try to set a value on a key that has a computed property handler
+    defined (see the get() method for an example), then set() will call
+    that method, passing both the value and key instead of simply changing
+    the value itself. This is useful for those times when you need to
+    implement a property that is composed of one or more member
+    properties.
+
+    ### Unknown Properties
+
+    If you try to set a value on a key that is undefined in the target
+    object, then the unknownProperty() handler will be called instead. This
+    gives you an opportunity to implement complex "virtual" properties that
+    are not predefined on the object. If unknownProperty() returns
+    undefined, then set() will simply set the value on the object.
+
+    ### Property Observers
+
+    In addition to changing the property, set() will also register a
+    property change with the object. Unless you have placed this call
+    inside of a beginPropertyChanges() and endPropertyChanges(), any "local"
+    observers (i.e. observer methods declared on the same object), will be
+    called immediately. Any "remote" observers (i.e. observer methods
+    declared on another object) will be placed in a queue and called at a
+    later time in a coalesced manner.
+
+    ### Chaining
+
+    In addition to property changes, set() returns the value of the object
+    itself so you can do chaining like this:
+
+          record.set('firstName', 'Charles').set('lastName', 'Jolley');
+
+    @param {String} key The property to set
+    @param {Object} value The value to set or null.
+    @returns {Ember.Observable}
+  */
+  set: function(keyName, value) {
+    set(this, keyName, value);
+    return this;
+  },
+
+  /**
+    To set multiple properties at once, call setProperties
+    with a Hash:
+
+          record.setProperties({ firstName: 'Charles', lastName: 'Jolley' });
+
+    @param {Hash} hash the hash of keys and values to set
+    @returns {Ember.Observable}
+  */
+  setProperties: function(hash) {
+    return Ember.setProperties(this, hash);
+  },
+
+  /**
+    Begins a grouping of property changes.
+
+    You can use this method to group property changes so that notifications
+    will not be sent until the changes are finished. If you plan to make a
+    large number of changes to an object at one time, you should call this
+    method at the beginning of the changes to begin deferring change
+    notifications. When you are done making changes, call endPropertyChanges()
+    to deliver the deferred change notifications and end deferring.
+
+    @returns {Ember.Observable}
+  */
+  beginPropertyChanges: function() {
+    Ember.beginPropertyChanges();
+    return this;
+  },
+
+  /**
+    Ends a grouping of property changes.
+
+    You can use this method to group property changes so that notifications
+    will not be sent until the changes are finished. If you plan to make a
+    large number of changes to an object at one time, you should call
+    beginPropertyChanges() at the beginning of the changes to defer change
+    notifications. When you are done making changes, call this method to
+    deliver the deferred change notifications and end deferring.
+
+    @returns {Ember.Observable}
+  */
+  endPropertyChanges: function() {
+    Ember.endPropertyChanges();
+    return this;
+  },
+
+  /**
+    Notify the observer system that a property is about to change.
+
+    Sometimes you need to change a value directly or indirectly without
+    actually calling get() or set() on it. In this case, you can use this
+    method and propertyDidChange() instead. Calling these two methods
+    together will notify all observers that the property has potentially
+    changed value.
+
+    Note that you must always call propertyWillChange and propertyDidChange as
+    a pair. If you do not, it may get the property change groups out of order
+    and cause notifications to be delivered more often than you would like.
+
+    @param {String} key The property key that is about to change.
+    @returns {Ember.Observable}
+  */
+  propertyWillChange: function(keyName){
+    Ember.propertyWillChange(this, keyName);
+    return this;
+  },
+
+  /**
+    Notify the observer system that a property has just changed.
+
+    Sometimes you need to change a value directly or indirectly without
+    actually calling get() or set() on it. In this case, you can use this
+    method and propertyWillChange() instead. Calling these two methods
+    together will notify all observers that the property has potentially
+    changed value.
+
+    Note that you must always call propertyWillChange and propertyDidChange as
+    a pair. If you do not, it may get the property change groups out of order
+    and cause notifications to be delivered more often than you would like.
+
+    @param {String} keyName The property key that has just changed.
+    @returns {Ember.Observable}
+  */
+  propertyDidChange: function(keyName) {
+    Ember.propertyDidChange(this, keyName);
+    return this;
+  },
+
+  /**
+    Convenience method to call `propertyWillChange` and `propertyDidChange` in
+    succession.
+
+    @param {String} keyName The property key to be notified about.
+    @returns {Ember.Observable}
+  */
+  notifyPropertyChange: function(keyName) {
+    this.propertyWillChange(keyName);
+    this.propertyDidChange(keyName);
+    return this;
+  },
+
+  addBeforeObserver: function(key, target, method) {
+    Ember.addBeforeObserver(this, key, target, method);
+  },
+
+  /**
+    Adds an observer on a property.
+
+    This is the core method used to register an observer for a property.
+
+    Once you call this method, anytime the key's value is set, your observer
+    will be notified. Note that the observers are triggered anytime the
+    value is set, regardless of whether it has actually changed. Your
+    observer should be prepared to handle that.
+
+    You can also pass an optional context parameter to this method. The
+    context will be passed to your observer method whenever it is triggered.
+    Note that if you add the same target/method pair on a key multiple times
+    with different context parameters, your observer will only be called once
+    with the last context you passed.
+
+    ### Observer Methods
+
+    Observer methods you pass should generally have the following signature if
+    you do not pass a "context" parameter:
+
+          fooDidChange: function(sender, key, value, rev);
+
+    The sender is the object that changed. The key is the property that
+    changes. The value property is currently reserved and unused. The rev
+    is the last property revision of the object when it changed, which you can
+    use to detect if the key value has really changed or not.
+
+    If you pass a "context" parameter, the context will be passed before the
+    revision like so:
+
+          fooDidChange: function(sender, key, value, context, rev);
+
+    Usually you will not need the value, context or revision parameters at
+    the end. In this case, it is common to write observer methods that take
+    only a sender and key value as parameters or, if you aren't interested in
+    any of these values, to write an observer that has no parameters at all.
+
+    @param {String} key The key to observer
+    @param {Object} target The target object to invoke
+    @param {String|Function} method The method to invoke.
+    @returns {Ember.Object} self
+  */
+  addObserver: function(key, target, method) {
+    Ember.addObserver(this, key, target, method);
+  },
+
+  /**
+    Remove an observer you have previously registered on this object. Pass
+    the same key, target, and method you passed to addObserver() and your
+    target will no longer receive notifications.
+
+    @param {String} key The key to observer
+    @param {Object} target The target object to invoke
+    @param {String|Function} method The method to invoke.
+    @returns {Ember.Observable} receiver
+  */
+  removeObserver: function(key, target, method) {
+    Ember.removeObserver(this, key, target, method);
+  },
+
+  /**
+    Returns true if the object currently has observers registered for a
+    particular key. You can use this method to potentially defer performing
+    an expensive action until someone begins observing a particular property
+    on the object.
+
+    @param {String} key Key to check
+    @returns {Boolean}
+  */
+  hasObserverFor: function(key) {
+    return Ember.hasListeners(this, key+':change');
+  },
+
+  /**
+    This method will be called when a client attempts to get the value of a
+    property that has not been defined in one of the typical ways. Override
+    this method to create "virtual" properties.
+
+    @param {String} key The name of the unknown property that was requested.
+    @returns {Object} The property value or undefined. Default is undefined.
+  */
+  unknownProperty: function(key) {
+    return undefined;
+  },
+
+  /**
+    This method will be called when a client attempts to set the value of a
+    property that has not been defined in one of the typical ways. Override
+    this method to create "virtual" properties.
+
+    @param {String} key The name of the unknown property to be set.
+    @param {Object} value The value the unknown property is to be set to.
+  */
+  setUnknownProperty: function(key, value) {
+    defineProperty(this, key);
+    set(this, key, value);
+  },
+
+  /**
+    @deprecated
+    @param {String} path The property path to retrieve
+    @returns {Object} The property value or undefined.
+  */
+  getPath: function(path) {
+    Ember.deprecate("getPath is deprecated since get now supports paths");
+    return this.get(path);
+  },
+
+  /**
+    @deprecated
+    @param {String} path The path to the property that will be set
+    @param {Object} value The value to set or null.
+    @returns {Ember.Observable}
+  */
+  setPath: function(path, value) {
+    Ember.deprecate("setPath is deprecated since set now supports paths");
+    return this.set(path, value);
+  },
+
+  /**
+    Retrieves the value of a property, or a default value in the case that the property
+    returns undefined.
+
+        person.getWithDefault('lastName', 'Doe');
+
+    @param {String} keyName The name of the property to retrieve
+    @param {Object} defaultValue The value to return if the property value is undefined
+    @returns {Object} The property value or the defaultValue.
+  */
+  getWithDefault: function(keyName, defaultValue) {
+    return Ember.getWithDefault(this, keyName, defaultValue);
+  },
+
+  /**
+    Set the value of a property to the current value plus some amount.
+
+        person.incrementProperty('age');
+        team.incrementProperty('score', 2);
+
+    @param {String} keyName The name of the property to increment
+    @param {Object} increment The amount to increment by. Defaults to 1
+    @returns {Object} The new property value
+  */
+  incrementProperty: function(keyName, increment) {
+    if (!increment) { increment = 1; }
+    set(this, keyName, (get(this, keyName) || 0)+increment);
+    return get(this, keyName);
+  },
+
+  /**
+    Set the value of a property to the current value minus some amount.
+
+        player.decrementProperty('lives');
+        orc.decrementProperty('health', 5);
+
+    @param {String} keyName The name of the property to decrement
+    @param {Object} increment The amount to decrement by. Defaults to 1
+    @returns {Object} The new property value
+  */
+  decrementProperty: function(keyName, increment) {
+    if (!increment) { increment = 1; }
+    set(this, keyName, (get(this, keyName) || 0)-increment);
+    return get(this, keyName);
+  },
+
+  /**
+    Set the value of a boolean property to the opposite of it's
+    current value.
+
+        starship.toggleProperty('warpDriveEnaged');
+
+    @param {String} keyName The name of the property to toggle
+    @returns {Object} The new property value
+  */
+  toggleProperty: function(keyName) {
+    set(this, keyName, !get(this, keyName));
+    return get(this, keyName);
+  },
+
+  /**
+    Returns the cached value of a computed property, if it exists.
+    This allows you to inspect the value of a computed property
+    without accidentally invoking it if it is intended to be
+    generated lazily.
+
+    @param {String} keyName
+    @returns {Object} The cached value of the computed property, if any
+  */
+  cacheFor: function(keyName) {
+    return Ember.cacheFor(this, keyName);
+  },
+
+  /** @private - intended for debugging purposes */
+  observersForKey: function(keyName) {
+    return Ember.observersFor(this, keyName);
+  }
+});
+
+
+
+
+})();
+
+
+
+(function() {
+var get = Ember.get, set = Ember.set;
+
+Ember.TargetActionSupport = Ember.Mixin.create({
+  target: null,
+  action: null,
+
+  targetObject: Ember.computed(function() {
+    var target = get(this, 'target');
+
+    if (Ember.typeOf(target) === "string") {
+      var value = get(this, target);
+      if (value === undefined) { value = get(window, target); }
+      return value;
+    } else {
+      return target;
+    }
+  }).property('target').cacheable(),
+
+  triggerAction: function() {
+    var action = get(this, 'action'),
+        target = get(this, 'targetObject');
+
+    if (target && action) {
+      var ret;
+
+      if (typeof target.send === 'function') {
+        ret = target.send(action, this);
+      } else {
+        if (typeof action === 'string') {
+          action = target[action];
+        }
+        ret = action.call(target, this);
+      }
+      if (ret !== false) ret = true;
+
+      return ret;
+    } else {
+      return false;
+    }
+  }
+});
+
+})();
+
+
+
+(function() {
+/**
+ @class
+
+ @extends Ember.Mixin
+ */
+Ember.Evented = Ember.Mixin.create(
+  /** @scope Ember.Evented.prototype */ {
+  on: function(name, target, method) {
+    Ember.addListener(this, name, target, method);
+  },
+
+  one: function(name, target, method) {
+    if (!method) {
+      method = target;
+      target = null;
+    }
+
+    var self = this;
+    var wrapped = function() {
+      Ember.removeListener(self, name, target, wrapped);
+
+      if ('string' === typeof method) { method = this[method]; }
+
+      // Internally, a `null` target means that the target is
+      // the first parameter to addListener. That means that
+      // the `this` passed into this function is the target
+      // determined by the event system.
+      method.apply(this, arguments);
+    };
+
+    this.on(name, target, wrapped);
+  },
+
+  trigger: function(name) {
+    var args = [], i, l;
+    for (i = 1, l = arguments.length; i < l; i++) {
+      args.push(arguments[i]);
+    }
+    Ember.sendEvent(this, name, args);
+  },
+
+  fire: function(name) {
+    Ember.deprecate("Ember.Evented#fire() has been deprecated in favor of trigger() for compatibility with jQuery. It will be removed in 1.0. Please update your code to call trigger() instead.");
+    this.trigger.apply(this, arguments);
+  },
+
+  off: function(name, target, method) {
+    Ember.removeListener(this, name, target, method);
+  },
+
+  has: function(name) {
+    return Ember.hasListeners(this, name);
+  }
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+
+
+// NOTE: this object should never be included directly.  Instead use Ember.
+// Ember.Object.  We only define this separately so that Ember.Set can depend on it
+
+
+
+var classToString = Ember.Mixin.prototype.toString;
+var set = Ember.set, get = Ember.get;
+var o_create = Ember.create,
+    o_defineProperty = Ember.platform.defineProperty,
+    a_slice = Array.prototype.slice,
+    meta = Ember.meta,
+    rewatch = Ember.rewatch,
+    finishChains = Ember.finishChains,
+    finishPartial = Ember.Mixin.finishPartial,
+    reopen = Ember.Mixin.prototype.reopen;
+
+var undefinedDescriptor = {
+  configurable: true,
+  writable: true,
+  enumerable: false,
+  value: undefined
+};
+
+/** @private */
+function makeCtor() {
+
+  // Note: avoid accessing any properties on the object since it makes the
+  // method a lot faster.  This is glue code so we want it to be as fast as
+  // possible.
+
+  var wasApplied = false, initMixins;
+
+  var Class = function() {
+    if (!wasApplied) {
+      Class.proto(); // prepare prototype...
+    }
+    var m = Ember.meta(this);
+    m.proto = this;
+    if (initMixins) {
+      this.reopen.apply(this, initMixins);
+      initMixins = null;
+    }
+    o_defineProperty(this, Ember.GUID_KEY, undefinedDescriptor);
+    o_defineProperty(this, '_super', undefinedDescriptor);
+    finishPartial(this, m);
+    delete m.proto;
+    finishChains(this);
+    this.init.apply(this, arguments);
+  };
+
+  Class.toString = classToString;
+  Class.willReopen = function() {
+    if (wasApplied) {
+      Class.PrototypeMixin = Ember.Mixin.create(Class.PrototypeMixin);
+    }
+
+    wasApplied = false;
+  };
+  Class._initMixins = function(args) { initMixins = args; };
+
+  Class.proto = function() {
+    var superclass = Class.superclass;
+    if (superclass) { superclass.proto(); }
+
+    if (!wasApplied) {
+      wasApplied = true;
+      Class.PrototypeMixin.applyPartial(Class.prototype);
+      rewatch(Class.prototype);
+    }
+
+    return this.prototype;
+  };
+
+  return Class;
+
+}
+
+var CoreObject = makeCtor();
+
+CoreObject.PrototypeMixin = Ember.Mixin.create(
+/** @scope Ember.CoreObject.prototype */ {
+
+  reopen: function() {
+    Ember.Mixin._apply(this, arguments, true);
+    return this;
+  },
+
+  isInstance: true,
+
+  /** @private */
+  init: function() {},
+
+  /** @field */
+  isDestroyed: false,
+
+  /** @field */
+  isDestroying: false,
+
+  /**
+    Destroys an object by setting the isDestroyed flag and removing its
+    metadata, which effectively destroys observers and bindings.
+
+    If you try to set a property on a destroyed object, an exception will be
+    raised.
+
+    Note that destruction is scheduled for the end of the run loop and does not
+    happen immediately.
+
+    @returns {Ember.Object} receiver
+  */
+  destroy: function() {
+    if (this.isDestroying) { return; }
+
+    this.isDestroying = true;
+
+    if (this.willDestroy) { this.willDestroy(); }
+
+    set(this, 'isDestroyed', true);
+    Ember.run.schedule('destroy', this, this._scheduledDestroy);
+    return this;
+  },
+
+  /**
+    Invoked by the run loop to actually destroy the object. This is
+    scheduled for execution by the `destroy` method.
+
+    @private
+  */
+  _scheduledDestroy: function() {
+    Ember.destroy(this);
+    if (this.didDestroy) { this.didDestroy(); }
+  },
+
+  bind: function(to, from) {
+    if (!(from instanceof Ember.Binding)) { from = Ember.Binding.from(from); }
+    from.to(to).connect(this);
+    return from;
+  },
+
+  toString: function() {
+    return '<'+this.constructor.toString()+':'+Ember.guidFor(this)+'>';
+  }
+});
+
+if (Ember.config.overridePrototypeMixin) {
+  Ember.config.overridePrototypeMixin(CoreObject.PrototypeMixin);
+}
+
+CoreObject.__super__ = null;
+
+var ClassMixin = Ember.Mixin.create(
+/** @scope Ember.ClassMixin.prototype */ {
+
+  ClassMixin: Ember.required(),
+
+  PrototypeMixin: Ember.required(),
+
+  isClass: true,
+
+  isMethod: false,
+
+  extend: function() {
+    var Class = makeCtor(), proto;
+    Class.ClassMixin = Ember.Mixin.create(this.ClassMixin);
+    Class.PrototypeMixin = Ember.Mixin.create(this.PrototypeMixin);
+
+    Class.ClassMixin.ownerConstructor = Class;
+    Class.PrototypeMixin.ownerConstructor = Class;
+
+    reopen.apply(Class.PrototypeMixin, arguments);
+
+    Class.superclass = this;
+    Class.__super__  = this.prototype;
+
+    proto = Class.prototype = o_create(this.prototype);
+    proto.constructor = Class;
+    Ember.generateGuid(proto, 'ember');
+    meta(proto).proto = proto; // this will disable observers on prototype
+
+    Class.ClassMixin.apply(Class);
+    return Class;
+  },
+
+  create: function() {
+    var C = this;
+    if (arguments.length>0) { this._initMixins(arguments); }
+    return new C();
+  },
+
+  reopen: function() {
+    this.willReopen();
+    reopen.apply(this.PrototypeMixin, arguments);
+    return this;
+  },
+
+  reopenClass: function() {
+    reopen.apply(this.ClassMixin, arguments);
+    Ember.Mixin._apply(this, arguments, false);
+    return this;
+  },
+
+  detect: function(obj) {
+    if ('function' !== typeof obj) { return false; }
+    while(obj) {
+      if (obj===this) { return true; }
+      obj = obj.superclass;
+    }
+    return false;
+  },
+
+  detectInstance: function(obj) {
+    return obj instanceof this;
+  },
+
+  /**
+    In some cases, you may want to annotate computed properties with additional
+    metadata about how they function or what values they operate on. For example,
+    computed property functions may close over variables that are then no longer
+    available for introspection.
+
+    You can pass a hash of these values to a computed property like this:
+
+        person: function() {
+          var personId = this.get('personId');
+          return App.Person.create({ id: personId });
+        }.property().meta({ type: App.Person })
+
+    Once you've done this, you can retrieve the values saved to the computed
+    property from your class like this:
+
+        MyClass.metaForProperty('person');
+
+    This will return the original hash that was passed to `meta()`.
+  */
+  metaForProperty: function(key) {
+    var desc = meta(this.proto(), false).descs[key];
+
+    Ember.assert("metaForProperty() could not find a computed property with key '"+key+"'.", !!desc && desc instanceof Ember.ComputedProperty);
+    return desc._meta || {};
+  },
+
+  /**
+    Iterate over each computed property for the class, passing its name
+    and any associated metadata (see `metaForProperty`) to the callback.
+  */
+  eachComputedProperty: function(callback, binding) {
+    var proto = this.proto(),
+        descs = meta(proto).descs,
+        empty = {},
+        property;
+
+    for (var name in descs) {
+      property = descs[name];
+
+      if (property instanceof Ember.ComputedProperty) {
+        callback.call(binding || this, name, property._meta || empty);
+      }
+    }
+  }
+
+});
+
+if (Ember.config.overrideClassMixin) {
+  Ember.config.overrideClassMixin(ClassMixin);
+}
+
+CoreObject.ClassMixin = ClassMixin;
+ClassMixin.apply(CoreObject);
+
+/**
+  @class
+*/
+Ember.CoreObject = CoreObject;
+
+
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set, guidFor = Ember.guidFor, none = Ember.none;
+
+/**
+  @class
+
+  An unordered collection of objects.
+
+  A Set works a bit like an array except that its items are not ordered.
+  You can create a set to efficiently test for membership for an object. You
+  can also iterate through a set just like an array, even accessing objects
+  by index, however there is no guarantee as to their order.
+
+  All Sets are observable via the Enumerable Observer API - which works
+  on any enumerable object including both Sets and Arrays.
+
+  ## Creating a Set
+
+  You can create a set like you would most objects using
+  `new Ember.Set()`.  Most new sets you create will be empty, but you can
+  also initialize the set with some content by passing an array or other
+  enumerable of objects to the constructor.
+
+  Finally, you can pass in an existing set and the set will be copied. You
+  can also create a copy of a set by calling `Ember.Set#copy()`.
+
+      #js
+      // creates a new empty set
+      var foundNames = new Ember.Set();
+
+      // creates a set with four names in it.
+      var names = new Ember.Set(["Charles", "Tom", "Juan", "Alex"]); // :P
+
+      // creates a copy of the names set.
+      var namesCopy = new Ember.Set(names);
+
+      // same as above.
+      var anotherNamesCopy = names.copy();
+
+  ## Adding/Removing Objects
+
+  You generally add or remove objects from a set using `add()` or
+  `remove()`. You can add any type of object including primitives such as
+  numbers, strings, and booleans.
+
+  Unlike arrays, objects can only exist one time in a set. If you call `add()`
+  on a set with the same object multiple times, the object will only be added
+  once. Likewise, calling `remove()` with the same object multiple times will
+  remove the object the first time and have no effect on future calls until
+  you add the object to the set again.
+
+  NOTE: You cannot add/remove null or undefined to a set. Any attempt to do so
+  will be ignored.
+
+  In addition to add/remove you can also call `push()`/`pop()`. Push behaves
+  just like `add()` but `pop()`, unlike `remove()` will pick an arbitrary
+  object, remove it and return it. This is a good way to use a set as a job
+  queue when you don't care which order the jobs are executed in.
+
+  ## Testing for an Object
+
+  To test for an object's presence in a set you simply call
+  `Ember.Set#contains()`.
+
+  ## Observing changes
+
+  When using `Ember.Set`, you can observe the `"[]"` property to be
+  alerted whenever the content changes.  You can also add an enumerable
+  observer to the set to be notified of specific objects that are added and
+  removed from the set.  See `Ember.Enumerable` for more information on
+  enumerables.
+
+  This is often unhelpful. If you are filtering sets of objects, for instance,
+  it is very inefficient to re-filter all of the items each time the set
+  changes. It would be better if you could just adjust the filtered set based
+  on what was changed on the original set. The same issue applies to merging
+  sets, as well.
+
+  ## Other Methods
+
+  `Ember.Set` primary implements other mixin APIs.  For a complete reference
+  on the methods you will use with `Ember.Set`, please consult these mixins.
+  The most useful ones will be `Ember.Enumerable` and
+  `Ember.MutableEnumerable` which implement most of the common iterator
+  methods you are used to on Array.
+
+  Note that you can also use the `Ember.Copyable` and `Ember.Freezable`
+  APIs on `Ember.Set` as well.  Once a set is frozen it can no longer be
+  modified.  The benefit of this is that when you call frozenCopy() on it,
+  Ember will avoid making copies of the set.  This allows you to write
+  code that can know with certainty when the underlying set data will or
+  will not be modified.
+
+  @extends Ember.Enumerable
+  @extends Ember.MutableEnumerable
+  @extends Ember.Copyable
+  @extends Ember.Freezable
+
+  @since Ember 0.9
+*/
+Ember.Set = Ember.CoreObject.extend(Ember.MutableEnumerable, Ember.Copyable, Ember.Freezable,
+  /** @scope Ember.Set.prototype */ {
+
+  // ..........................................................
+  // IMPLEMENT ENUMERABLE APIS
+  //
+
+  /**
+    This property will change as the number of objects in the set changes.
+
+    @type number
+    @default 0
+  */
+  length: 0,
+
+  /**
+    Clears the set. This is useful if you want to reuse an existing set
+    without having to recreate it.
+
+        var colors = new Ember.Set(["red", "green", "blue"]);
+        colors.length;  => 3
+        colors.clear();
+        colors.length;  => 0
+
+    @returns {Ember.Set} An empty Set
+  */
+  clear: function() {
+    if (this.isFrozen) { throw new Error(Ember.FROZEN_ERROR); }
+
+    var len = get(this, 'length');
+    if (len === 0) { return this; }
+
+    var guid;
+
+    this.enumerableContentWillChange(len, 0);
+    Ember.propertyWillChange(this, 'firstObject');
+    Ember.propertyWillChange(this, 'lastObject');
+
+    for (var i=0; i < len; i++){
+      guid = guidFor(this[i]);
+      delete this[guid];
+      delete this[i];
+    }
+
+    set(this, 'length', 0);
+
+    Ember.propertyDidChange(this, 'firstObject');
+    Ember.propertyDidChange(this, 'lastObject');
+    this.enumerableContentDidChange(len, 0);
+
+    return this;
+  },
+
+  /**
+    Returns true if the passed object is also an enumerable that contains the
+    same objects as the receiver.
+
+        var colors = ["red", "green", "blue"],
+            same_colors = new Ember.Set(colors);
+        same_colors.isEqual(colors); => true
+        same_colors.isEqual(["purple", "brown"]); => false
+
+    @param {Ember.Set} obj the other object.
+    @returns {Boolean}
+  */
+  isEqual: function(obj) {
+    // fail fast
+    if (!Ember.Enumerable.detect(obj)) return false;
+
+    var loc = get(this, 'length');
+    if (get(obj, 'length') !== loc) return false;
+
+    while(--loc >= 0) {
+      if (!obj.contains(this[loc])) return false;
+    }
+
+    return true;
+  },
+
+  /**
+    Adds an object to the set. Only non-null objects can be added to a set
+    and those can only be added once. If the object is already in the set or
+    the passed value is null this method will have no effect.
+
+    This is an alias for `Ember.MutableEnumerable.addObject()`.
+
+        var colors = new Ember.Set();
+        colors.add("blue");    => ["blue"]
+        colors.add("blue");    => ["blue"]
+        colors.add("red");     => ["blue", "red"]
+        colors.add(null);      => ["blue", "red"]
+        colors.add(undefined); => ["blue", "red"]
+
+    @function
+    @param {Object} obj The object to add.
+    @returns {Ember.Set} The set itself.
+  */
+  add: Ember.alias('addObject'),
+
+  /**
+    Removes the object from the set if it is found.  If you pass a null value
+    or an object that is already not in the set, this method will have no
+    effect. This is an alias for `Ember.MutableEnumerable.removeObject()`.
+
+        var colors = new Ember.Set(["red", "green", "blue"]);
+        colors.remove("red");    => ["blue", "green"]
+        colors.remove("purple"); => ["blue", "green"]
+        colors.remove(null);     => ["blue", "green"]
+
+    @function
+    @param {Object} obj The object to remove
+    @returns {Ember.Set} The set itself.
+  */
+  remove: Ember.alias('removeObject'),
+
+  /**
+    Removes the last element from the set and returns it, or null if it's empty.
+
+        var colors = new Ember.Set(["green", "blue"]);
+        colors.pop(); => "blue"
+        colors.pop(); => "green"
+        colors.pop(); => null
+
+    @returns {Object} The removed object from the set or null.
+  */
+  pop: function() {
+    if (get(this, 'isFrozen')) throw new Error(Ember.FROZEN_ERROR);
+    var obj = this.length > 0 ? this[this.length-1] : null;
+    this.remove(obj);
+    return obj;
+  },
+
+  /**
+    Inserts the given object on to the end of the set. It returns
+    the set itself.
+
+    This is an alias for `Ember.MutableEnumerable.addObject()`.
+
+        var colors = new Ember.Set();
+        colors.push("red");   => ["red"]
+        colors.push("green"); => ["red", "green"]
+        colors.push("blue");  => ["red", "green", "blue"]
+
+    @function
+    @returns {Ember.Set} The set itself.
+  */
+  push: Ember.alias('addObject'),
+
+  /**
+    Removes the last element from the set and returns it, or null if it's empty.
+
+    This is an alias for `Ember.Set.pop()`.
+
+        var colors = new Ember.Set(["green", "blue"]);
+        colors.shift(); => "blue"
+        colors.shift(); => "green"
+        colors.shift(); => null
+
+    @function
+    @returns {Object} The removed object from the set or null.
+  */
+  shift: Ember.alias('pop'),
+
+  /**
+    Inserts the given object on to the end of the set. It returns
+    the set itself.
+
+    This is an alias of `Ember.Set.push()`
+
+        var colors = new Ember.Set();
+        colors.unshift("red");   => ["red"]
+        colors.unshift("green"); => ["red", "green"]
+        colors.unshift("blue");  => ["red", "green", "blue"]
+
+    @function
+    @returns {Ember.Set} The set itself.
+  */
+  unshift: Ember.alias('push'),
+
+  /**
+    Adds each object in the passed enumerable to the set.
+
+    This is an alias of `Ember.MutableEnumerable.addObjects()`
+
+        var colors = new Ember.Set();
+        colors.addEach(["red", "green", "blue"]); => ["red", "green", "blue"]
+
+    @function
+    @param {Ember.Enumerable} objects the objects to add.
+    @returns {Ember.Set} The set itself.
+  */
+  addEach: Ember.alias('addObjects'),
+
+  /**
+    Removes each object in the passed enumerable to the set.
+
+    This is an alias of `Ember.MutableEnumerable.removeObjects()`
+
+        var colors = new Ember.Set(["red", "green", "blue"]);
+        colors.removeEach(["red", "blue"]); => ["green"]
+
+    @function
+    @param {Ember.Enumerable} objects the objects to remove.
+    @returns {Ember.Set} The set itself.
+  */
+  removeEach: Ember.alias('removeObjects'),
+
+  // ..........................................................
+  // PRIVATE ENUMERABLE SUPPORT
+  //
+
+  /** @private */
+  init: function(items) {
+    this._super();
+    if (items) this.addObjects(items);
+  },
+
+  /** @private (nodoc) - implement Ember.Enumerable */
+  nextObject: function(idx) {
+    return this[idx];
+  },
+
+  /** @private - more optimized version */
+  firstObject: Ember.computed(function() {
+    return this.length > 0 ? this[0] : undefined;
+  }).property().cacheable(),
+
+  /** @private - more optimized version */
+  lastObject: Ember.computed(function() {
+    return this.length > 0 ? this[this.length-1] : undefined;
+  }).property().cacheable(),
+
+  /** @private (nodoc) - implements Ember.MutableEnumerable */
+  addObject: function(obj) {
+    if (get(this, 'isFrozen')) throw new Error(Ember.FROZEN_ERROR);
+    if (none(obj)) return this; // nothing to do
+
+    var guid = guidFor(obj),
+        idx  = this[guid],
+        len  = get(this, 'length'),
+        added ;
+
+    if (idx>=0 && idx<len && (this[idx] === obj)) return this; // added
+
+    added = [obj];
+
+    this.enumerableContentWillChange(null, added);
+    Ember.propertyWillChange(this, 'lastObject');
+
+    len = get(this, 'length');
+    this[guid] = len;
+    this[len] = obj;
+    set(this, 'length', len+1);
+
+    Ember.propertyDidChange(this, 'lastObject');
+    this.enumerableContentDidChange(null, added);
+
+    return this;
+  },
+
+  /** @private (nodoc) - implements Ember.MutableEnumerable */
+  removeObject: function(obj) {
+    if (get(this, 'isFrozen')) throw new Error(Ember.FROZEN_ERROR);
+    if (none(obj)) return this; // nothing to do
+
+    var guid = guidFor(obj),
+        idx  = this[guid],
+        len = get(this, 'length'),
+        isFirst = idx === 0,
+        isLast = idx === len-1,
+        last, removed;
+
+
+    if (idx>=0 && idx<len && (this[idx] === obj)) {
+      removed = [obj];
+
+      this.enumerableContentWillChange(removed, null);
+      if (isFirst) { Ember.propertyWillChange(this, 'firstObject'); }
+      if (isLast)  { Ember.propertyWillChange(this, 'lastObject'); }
+
+      // swap items - basically move the item to the end so it can be removed
+      if (idx < len-1) {
+        last = this[len-1];
+        this[idx] = last;
+        this[guidFor(last)] = idx;
+      }
+
+      delete this[guid];
+      delete this[len-1];
+      set(this, 'length', len-1);
+
+      if (isFirst) { Ember.propertyDidChange(this, 'firstObject'); }
+      if (isLast)  { Ember.propertyDidChange(this, 'lastObject'); }
+      this.enumerableContentDidChange(removed, null);
+    }
+
+    return this;
+  },
+
+  /** @private (nodoc) - optimized version */
+  contains: function(obj) {
+    return this[guidFor(obj)]>=0;
+  },
+
+  /** @private (nodoc) */
+  copy: function() {
+    var C = this.constructor, ret = new C(), loc = get(this, 'length');
+    set(ret, 'length', loc);
+    while(--loc>=0) {
+      ret[loc] = this[loc];
+      ret[guidFor(this[loc])] = loc;
+    }
+    return ret;
+  },
+
+  /** @private */
+  toString: function() {
+    var len = this.length, idx, array = [];
+    for(idx = 0; idx < len; idx++) {
+      array[idx] = this[idx];
+    }
+    return "Ember.Set<%@>".fmt(array.join(','));
+  }
+
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+/**
+  @class
+
+  `Ember.Object` is the main base class for all Ember objects. It is a subclass
+  of `Ember.CoreObject` with the `Ember.Observable` mixin applied. For details,
+  see the documentation for each of these.
+
+  @extends Ember.CoreObject
+  @extends Ember.Observable
+*/
+Ember.Object = Ember.CoreObject.extend(Ember.Observable);
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var indexOf = Ember.ArrayPolyfills.indexOf;
+
+/**
+  @private
+  A Namespace is an object usually used to contain other objects or methods
+  such as an application or framework.  Create a namespace anytime you want
+  to define one of these new containers.
+
+  # Example Usage
+
+      MyFramework = Ember.Namespace.create({
+        VERSION: '1.0.0'
+      });
+
+*/
+Ember.Namespace = Ember.Object.extend({
+  isNamespace: true,
+
+  init: function() {
+    Ember.Namespace.NAMESPACES.push(this);
+    Ember.Namespace.PROCESSED = false;
+  },
+
+  toString: function() {
+    Ember.identifyNamespaces();
+    return this[Ember.GUID_KEY+'_name'];
+  },
+
+  destroy: function() {
+    var namespaces = Ember.Namespace.NAMESPACES;
+    window[this.toString()] = undefined;
+    namespaces.splice(indexOf.call(namespaces, this), 1);
+    this._super();
+  }
+});
+
+Ember.Namespace.NAMESPACES = [Ember];
+Ember.Namespace.PROCESSED = false;
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+/**
+  @private
+
+  Defines a namespace that will contain an executable application.  This is
+  very similar to a normal namespace except that it is expected to include at
+  least a 'ready' function which can be run to initialize the application.
+
+  Currently Ember.Application is very similar to Ember.Namespace.  However, this
+  class may be augmented by additional frameworks so it is important to use
+  this instance when building new applications.
+
+  # Example Usage
+
+      MyApp = Ember.Application.create({
+        VERSION: '1.0.0',
+        store: Ember.Store.create().from(Ember.fixtures)
+      });
+
+      MyApp.ready = function() {
+        //..init code goes here...
+      }
+
+*/
+Ember.Application = Ember.Namespace.extend();
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set;
+
+/**
+  @class
+
+  An ArrayProxy wraps any other object that implements Ember.Array and/or
+  Ember.MutableArray, forwarding all requests. This makes it very useful for
+  a number of binding use cases or other cases where being able to swap
+  out the underlying array is useful.
+
+  A simple example of usage:
+
+      var pets = ['dog', 'cat', 'fish'];
+      var ap = Ember.ArrayProxy.create({ content: Ember.A(pets) });
+      ap.get('firstObject'); // => 'dog'
+      ap.set('content', ['amoeba', 'paramecium']);
+      ap.get('firstObject'); // => 'amoeba'
+
+  This class can also be useful as a layer to transform the contents of
+  an array, as they are accessed. This can be done by overriding
+  `objectAtContent`:
+
+      var pets = ['dog', 'cat', 'fish'];
+      var ap = Ember.ArrayProxy.create({
+          content: Ember.A(pets),
+          objectAtContent: function(idx) {
+              return this.get('content').objectAt(idx).toUpperCase();
+          }
+      });
+      ap.get('firstObject'); // => 'DOG'
+
+
+  @extends Ember.Object
+  @extends Ember.Array
+  @extends Ember.MutableArray
+*/
+Ember.ArrayProxy = Ember.Object.extend(Ember.MutableArray,
+/** @scope Ember.ArrayProxy.prototype */ {
+
+  /**
+    The content array.  Must be an object that implements Ember.Array and/or
+    Ember.MutableArray.
+
+    @type Ember.Array
+  */
+  content: null,
+
+  /**
+   The array that the proxy pretends to be. In the default `ArrayProxy`
+   implementation, this and `content` are the same. Subclasses of `ArrayProxy`
+   can override this property to provide things like sorting and filtering.
+  */
+  arrangedContent: Ember.computed('content', function() {
+    return get(this, 'content');
+  }).cacheable(),
+
+  /**
+    Should actually retrieve the object at the specified index from the
+    content. You can override this method in subclasses to transform the
+    content item to something new.
+
+    This method will only be called if content is non-null.
+
+    @param {Number} idx
+      The index to retrieve.
+
+    @returns {Object} the value or undefined if none found
+  */
+  objectAtContent: function(idx) {
+    return get(this, 'arrangedContent').objectAt(idx);
+  },
+
+  /**
+    Should actually replace the specified objects on the content array.
+    You can override this method in subclasses to transform the content item
+    into something new.
+
+    This method will only be called if content is non-null.
+
+    @param {Number} idx
+      The starting index
+
+    @param {Number} amt
+      The number of items to remove from the content.
+
+    @param {Array} objects
+      Optional array of objects to insert or null if no objects.
+
+    @returns {void}
+  */
+  replaceContent: function(idx, amt, objects) {
+    get(this, 'arrangedContent').replace(idx, amt, objects);
+  },
+
+  /**
+    Invoked when the content property is about to change. Notifies observers that the
+    entire array content will change.
+  */
+  _contentWillChange: Ember.beforeObserver(function() {
+    var content = get(this, 'content');
+
+    if (content) {
+      content.removeArrayObserver(this, {
+        willChange: 'contentArrayWillChange',
+        didChange: 'contentArrayDidChange'
+      });
+    }
+  }, 'content'),
+
+
+  contentArrayWillChange: Ember.K,
+  contentArrayDidChange: Ember.K,
+
+  /**
+    Invoked when the content property changes.  Notifies observers that the
+    entire array content has changed.
+  */
+  _contentDidChange: Ember.observer(function() {
+    var content = get(this, 'content'),
+        len     = content ? get(content, 'length') : 0;
+
+    Ember.assert("Can't set ArrayProxy's content to itself", content !== this);
+
+    if (content) {
+      content.addArrayObserver(this, {
+        willChange: 'contentArrayWillChange',
+        didChange: 'contentArrayDidChange'
+      });
+    }
+  }, 'content'),
+
+  _arrangedContentWillChange: Ember.beforeObserver(function() {
+    var arrangedContent = get(this, 'arrangedContent'),
+        len = arrangedContent ? get(arrangedContent, 'length') : 0;
+
+    this.arrangedContentArrayWillChange(this, 0, len, undefined);
+
+    if (arrangedContent) {
+      arrangedContent.removeArrayObserver(this, {
+        willChange: 'arrangedContentArrayWillChange',
+        didChange: 'arrangedContentArrayDidChange'
+      });
+    }
+  }, 'arrangedContent'),
+
+  _arrangedContentDidChange: Ember.observer(function() {
+    var arrangedContent = get(this, 'arrangedContent'),
+        len = arrangedContent ? get(arrangedContent, 'length') : 0;
+
+    Ember.assert("Can't set ArrayProxy's content to itself", arrangedContent !== this);
+
+    if (arrangedContent) {
+      arrangedContent.addArrayObserver(this, {
+        willChange: 'arrangedContentArrayWillChange',
+        didChange: 'arrangedContentArrayDidChange'
+      });
+    }
+
+    this.arrangedContentArrayDidChange(this, 0, undefined, len);
+  }, 'arrangedContent'),
+
+  /** @private (nodoc) */
+  objectAt: function(idx) {
+    return get(this, 'content') && this.objectAtContent(idx);
+  },
+
+  /** @private (nodoc) */
+  length: Ember.computed(function() {
+    var arrangedContent = get(this, 'arrangedContent');
+    return arrangedContent ? get(arrangedContent, 'length') : 0;
+    // No dependencies since Enumerable notifies length of change
+  }).property().cacheable(),
+
+  /** @private (nodoc) */
+  replace: function(idx, amt, objects) {
+    if (get(this, 'content')) this.replaceContent(idx, amt, objects);
+    return this;
+  },
+
+  /** @private (nodoc) */
+  arrangedContentArrayWillChange: function(item, idx, removedCnt, addedCnt) {
+    this.arrayContentWillChange(idx, removedCnt, addedCnt);
+  },
+
+  /** @private (nodoc) */
+  arrangedContentArrayDidChange: function(item, idx, removedCnt, addedCnt) {
+    this.arrayContentDidChange(idx, removedCnt, addedCnt);
+  },
+
+  /** @private (nodoc) */
+  init: function() {
+    this._super();
+    this._contentWillChange();
+    this._contentDidChange();
+    this._arrangedContentWillChange();
+    this._arrangedContentDidChange();
+  }
+
+});
+
+
+
+
+})();
+
+
+
+(function() {
+var get = Ember.get,
+    set = Ember.set,
+    fmt = Ember.String.fmt,
+    addBeforeObserver = Ember.addBeforeObserver,
+    addObserver = Ember.addObserver,
+    removeBeforeObserver = Ember.removeBeforeObserver,
+    removeObserver = Ember.removeObserver,
+    propertyWillChange = Ember.propertyWillChange,
+    propertyDidChange = Ember.propertyDidChange;
+
+function contentPropertyWillChange(content, contentKey) {
+  var key = contentKey.slice(8); // remove "content."
+  if (key in this) { return; }  // if shadowed in proxy
+  propertyWillChange(this, key);
+}
+
+function contentPropertyDidChange(content, contentKey) {
+  var key = contentKey.slice(8); // remove "content."
+  if (key in this) { return; } // if shadowed in proxy
+  propertyDidChange(this, key);
+}
+
+/**
+  @class
+
+  `Ember.ObjectProxy` forwards all properties not defined by the proxy itself
+  to a proxied `content` object.
+
+      object = Ember.Object.create({
+        name: 'Foo'
+      });
+      proxy = Ember.ObjectProxy.create({
+        content: object
+      });
+
+      // Access and change existing properties
+      proxy.get('name') // => 'Foo'
+      proxy.set('name', 'Bar');
+      object.get('name') // => 'Bar'
+
+      // Create new 'description' property on `object`
+      proxy.set('description', 'Foo is a whizboo baz');
+      object.get('description') // => 'Foo is a whizboo baz'
+
+  While `content` is unset, setting a property to be delegated will throw an Error.
+
+      proxy = Ember.ObjectProxy.create({
+        content: null,
+        flag: null
+      });
+      proxy.set('flag', true);
+      proxy.get('flag'); // => true
+      proxy.get('foo'); // => undefined
+      proxy.set('foo', 'data'); // throws Error
+
+  Delegated properties can be bound to and will change when content is updated.
+
+  Computed properties on the proxy itself can depend on delegated properties.
+
+      ProxyWithComputedProperty = Ember.ObjectProxy.extend({
+        fullName: function () {
+          var firstName = this.get('firstName'),
+              lastName = this.get('lastName');
+          if (firstName && lastName) {
+            return firstName + ' ' + lastName;
+          }
+          return firstName || lastName;
+        }.property('firstName', 'lastName')
+      });
+      proxy = ProxyWithComputedProperty.create();
+      proxy.get('fullName'); => undefined
+      proxy.set('content', {
+        firstName: 'Tom', lastName: 'Dale'
+      }); // triggers property change for fullName on proxy
+      proxy.get('fullName'); => 'Tom Dale'
+*/
+Ember.ObjectProxy = Ember.Object.extend(
+/** @scope Ember.ObjectProxy.prototype */ {
+  /**
+    The object whose properties will be forwarded.
+
+    @type Ember.Object
+    @default null
+  */
+  content: null,
+  _contentDidChange: Ember.observer(function() {
+    Ember.assert("Can't set ObjectProxy's content to itself", this.get('content') !== this);
+  }, 'content'),
+  /** @private */
+  willWatchProperty: function (key) {
+    var contentKey = 'content.' + key;
+    addBeforeObserver(this, contentKey, null, contentPropertyWillChange);
+    addObserver(this, contentKey, null, contentPropertyDidChange);
+  },
+  /** @private */
+  didUnwatchProperty: function (key) {
+    var contentKey = 'content.' + key;
+    removeBeforeObserver(this, contentKey, null, contentPropertyWillChange);
+    removeObserver(this, contentKey, null, contentPropertyDidChange);
+  },
+  /** @private */
+  unknownProperty: function (key) {
+    var content = get(this, 'content');
+    if (content) {
+      return get(content, key);
+    }
+  },
+  /** @private */
+  setUnknownProperty: function (key, value) {
+    var content = get(this, 'content');
+    Ember.assert(fmt("Cannot delegate set('%@', %@) to the 'content' property of object proxy %@: its 'content' is undefined.", [key, value, this]), content);
+    return set(content, key, value);
+  }
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var set = Ember.set, get = Ember.get, guidFor = Ember.guidFor;
+var forEach = Ember.EnumerableUtils.forEach;
+
+var EachArray = Ember.Object.extend(Ember.Array, {
+
+  init: function(content, keyName, owner) {
+    this._super();
+    this._keyName = keyName;
+    this._owner   = owner;
+    this._content = content;
+  },
+
+  objectAt: function(idx) {
+    var item = this._content.objectAt(idx);
+    return item && get(item, this._keyName);
+  },
+
+  length: Ember.computed(function() {
+    var content = this._content;
+    return content ? get(content, 'length') : 0;
+  }).property().cacheable()
+
+});
+
+var IS_OBSERVER = /^.+:(before|change)$/;
+
+/** @private */
+function addObserverForContentKey(content, keyName, proxy, idx, loc) {
+  var objects = proxy._objects, guid;
+  if (!objects) objects = proxy._objects = {};
+
+  while(--loc>=idx) {
+    var item = content.objectAt(loc);
+    if (item) {
+      Ember.addBeforeObserver(item, keyName, proxy, 'contentKeyWillChange');
+      Ember.addObserver(item, keyName, proxy, 'contentKeyDidChange');
+
+      // keep track of the indicies each item was found at so we can map
+      // it back when the obj changes.
+      guid = guidFor(item);
+      if (!objects[guid]) objects[guid] = [];
+      objects[guid].push(loc);
+    }
+  }
+}
+
+/** @private */
+function removeObserverForContentKey(content, keyName, proxy, idx, loc) {
+  var objects = proxy._objects;
+  if (!objects) objects = proxy._objects = {};
+  var indicies, guid;
+
+  while(--loc>=idx) {
+    var item = content.objectAt(loc);
+    if (item) {
+      Ember.removeBeforeObserver(item, keyName, proxy, 'contentKeyWillChange');
+      Ember.removeObserver(item, keyName, proxy, 'contentKeyDidChange');
+
+      guid = guidFor(item);
+      indicies = objects[guid];
+      indicies[indicies.indexOf(loc)] = null;
+    }
+  }
+}
+
+/**
+  @private
+  @class
+
+  This is the object instance returned when you get the @each property on an
+  array.  It uses the unknownProperty handler to automatically create
+  EachArray instances for property names.
+
+  @extends Ember.Object
+*/
+Ember.EachProxy = Ember.Object.extend({
+
+  init: function(content) {
+    this._super();
+    this._content = content;
+    content.addArrayObserver(this);
+
+    // in case someone is already observing some keys make sure they are
+    // added
+    forEach(Ember.watchedEvents(this), function(eventName) {
+      this.didAddListener(eventName);
+    }, this);
+  },
+
+  /**
+    You can directly access mapped properties by simply requesting them.
+    The unknownProperty handler will generate an EachArray of each item.
+  */
+  unknownProperty: function(keyName, value) {
+    var ret;
+    ret = new EachArray(this._content, keyName, this);
+    Ember.defineProperty(this, keyName, null, ret);
+    this.beginObservingContentKey(keyName);
+    return ret;
+  },
+
+  // ..........................................................
+  // ARRAY CHANGES
+  // Invokes whenever the content array itself changes.
+
+  arrayWillChange: function(content, idx, removedCnt, addedCnt) {
+    var keys = this._keys, key, array, lim;
+
+    lim = removedCnt>0 ? idx+removedCnt : -1;
+    Ember.beginPropertyChanges(this);
+
+    for(key in keys) {
+      if (!keys.hasOwnProperty(key)) { continue; }
+
+      if (lim>0) removeObserverForContentKey(content, key, this, idx, lim);
+
+      Ember.propertyWillChange(this, key);
+    }
+
+    Ember.propertyWillChange(this._content, '@each');
+    Ember.endPropertyChanges(this);
+  },
+
+  arrayDidChange: function(content, idx, removedCnt, addedCnt) {
+    var keys = this._keys, key, array, lim;
+
+    lim = addedCnt>0 ? idx+addedCnt : -1;
+    Ember.beginPropertyChanges(this);
+
+    for(key in keys) {
+      if (!keys.hasOwnProperty(key)) { continue; }
+
+      if (lim>0) addObserverForContentKey(content, key, this, idx, lim);
+
+      Ember.propertyDidChange(this, key);
+    }
+
+    Ember.propertyDidChange(this._content, '@each');
+    Ember.endPropertyChanges(this);
+  },
+
+  // ..........................................................
+  // LISTEN FOR NEW OBSERVERS AND OTHER EVENT LISTENERS
+  // Start monitoring keys based on who is listening...
+
+  didAddListener: function(eventName) {
+    if (IS_OBSERVER.test(eventName)) {
+      this.beginObservingContentKey(eventName.slice(0, -7));
+    }
+  },
+
+  didRemoveListener: function(eventName) {
+    if (IS_OBSERVER.test(eventName)) {
+      this.stopObservingContentKey(eventName.slice(0, -7));
+    }
+  },
+
+  // ..........................................................
+  // CONTENT KEY OBSERVING
+  // Actual watch keys on the source content.
+
+  beginObservingContentKey: function(keyName) {
+    var keys = this._keys;
+    if (!keys) keys = this._keys = {};
+    if (!keys[keyName]) {
+      keys[keyName] = 1;
+      var content = this._content,
+          len = get(content, 'length');
+      addObserverForContentKey(content, keyName, this, 0, len);
+    } else {
+      keys[keyName]++;
+    }
+  },
+
+  stopObservingContentKey: function(keyName) {
+    var keys = this._keys;
+    if (keys && (keys[keyName]>0) && (--keys[keyName]<=0)) {
+      var content = this._content,
+          len     = get(content, 'length');
+      removeObserverForContentKey(content, keyName, this, 0, len);
+    }
+  },
+
+  contentKeyWillChange: function(obj, keyName) {
+    Ember.propertyWillChange(this, keyName);
+  },
+
+  contentKeyDidChange: function(obj, keyName) {
+    Ember.propertyDidChange(this, keyName);
+  }
+
+});
+
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set;
+
+// Add Ember.Array to Array.prototype.  Remove methods with native
+// implementations and supply some more optimized versions of generic methods
+// because they are so common.
+var NativeArray = Ember.Mixin.create(Ember.MutableArray, Ember.Observable, Ember.Copyable, {
+
+  // because length is a built-in property we need to know to just get the
+  // original property.
+  get: function(key) {
+    if (key==='length') return this.length;
+    else if ('number' === typeof key) return this[key];
+    else return this._super(key);
+  },
+
+  objectAt: function(idx) {
+    return this[idx];
+  },
+
+  // primitive for array support.
+  replace: function(idx, amt, objects) {
+
+    if (this.isFrozen) throw Ember.FROZEN_ERROR ;
+
+    // if we replaced exactly the same number of items, then pass only the
+    // replaced range.  Otherwise, pass the full remaining array length
+    // since everything has shifted
+    var len = objects ? get(objects, 'length') : 0;
+    this.arrayContentWillChange(idx, amt, len);
+
+    if (!objects || objects.length === 0) {
+      this.splice(idx, amt) ;
+    } else {
+      var args = [idx, amt].concat(objects) ;
+      this.splice.apply(this,args) ;
+    }
+
+    this.arrayContentDidChange(idx, amt, len);
+    return this ;
+  },
+
+  // If you ask for an unknown property, then try to collect the value
+  // from member items.
+  unknownProperty: function(key, value) {
+    var ret;// = this.reducedProperty(key, value) ;
+    if ((value !== undefined) && ret === undefined) {
+      ret = this[key] = value;
+    }
+    return ret ;
+  },
+
+  // If browser did not implement indexOf natively, then override with
+  // specialized version
+  indexOf: function(object, startAt) {
+    var idx, len = this.length;
+
+    if (startAt === undefined) startAt = 0;
+    else startAt = (startAt < 0) ? Math.ceil(startAt) : Math.floor(startAt);
+    if (startAt < 0) startAt += len;
+
+    for(idx=startAt;idx<len;idx++) {
+      if (this[idx] === object) return idx ;
+    }
+    return -1;
+  },
+
+  lastIndexOf: function(object, startAt) {
+    var idx, len = this.length;
+
+    if (startAt === undefined) startAt = len-1;
+    else startAt = (startAt < 0) ? Math.ceil(startAt) : Math.floor(startAt);
+    if (startAt < 0) startAt += len;
+
+    for(idx=startAt;idx>=0;idx--) {
+      if (this[idx] === object) return idx ;
+    }
+    return -1;
+  },
+
+  copy: function() {
+    return this.slice();
+  }
+});
+
+// Remove any methods implemented natively so we don't override them
+var ignore = ['length'];
+Ember.EnumerableUtils.forEach(NativeArray.keys(), function(methodName) {
+  if (Array.prototype[methodName]) ignore.push(methodName);
+});
+
+if (ignore.length>0) {
+  NativeArray = NativeArray.without.apply(NativeArray, ignore);
+}
+
+/**
+  The NativeArray mixin contains the properties needed to to make the native
+  Array support Ember.MutableArray and all of its dependent APIs.  Unless you
+  have Ember.EXTEND_PROTOTYPES set to false, this will be applied automatically.
+  Otherwise you can apply the mixin at anytime by calling
+  `Ember.NativeArray.activate`.
+
+  @namespace
+  @extends Ember.MutableArray
+  @extends Ember.Array
+  @extends Ember.Enumerable
+  @extends Ember.MutableEnumerable
+  @extends Ember.Copyable
+  @extends Ember.Freezable
+*/
+Ember.NativeArray = NativeArray;
+
+/**
+  Creates an Ember.NativeArray from an Array like object.
+  Does not modify the original object.
+
+  @returns {Ember.NativeArray}
+*/
+Ember.A = function(arr){
+  if (arr === undefined) { arr = []; }
+  return Ember.NativeArray.apply(arr);
+};
+
+/**
+  Activates the mixin on the Array.prototype if not already applied.  Calling
+  this method more than once is safe.
+
+  @returns {void}
+*/
+Ember.NativeArray.activate = function() {
+  NativeArray.apply(Array.prototype);
+
+  Ember.A = function(arr) { return arr || []; };
+};
+
+if (Ember.EXTEND_PROTOTYPES) Ember.NativeArray.activate();
+
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set;
+
+Ember._PromiseChain = Ember.Object.extend({
+  promises: null,
+  failureCallback: Ember.K,
+  successCallback: Ember.K,
+  abortCallback: Ember.K,
+  promiseSuccessCallback: Ember.K,
+
+  /**
+    @private
+  */
+  runNextPromise: function() {
+    if (get(this, 'isDestroyed')) { return; }
+
+    var item = get(this, 'promises').shiftObject();
+    if (item) {
+      var promise = get(item, 'promise') || item;
+      Ember.assert("Cannot find promise to invoke", Ember.canInvoke(promise, 'then'));
+
+      var self = this;
+
+      var successCallback = function() {
+        self.promiseSuccessCallback.call(this, item, arguments);
+        self.runNextPromise();
+      };
+
+      var failureCallback = get(self, 'failureCallback');
+
+      promise.then(successCallback, failureCallback);
+     } else {
+      this.successCallback();
+    }
+  },
+
+  start: function() {
+    this.runNextPromise();
+    return this;
+  },
+
+  abort: function() {
+    this.abortCallback();
+    this.destroy();
+  },
+
+  init: function() {
+    set(this, 'promises', Ember.A(get(this, 'promises')));
+    this._super();
+  }
+});
+
+
+})();
+
+
+
+(function() {
+var loadHooks = {};
+var loaded = {};
+
+Ember.onLoad = function(name, callback) {
+  var object;
+
+  loadHooks[name] = loadHooks[name] || Ember.A();
+  loadHooks[name].pushObject(callback);
+
+  if (object = loaded[name]) {
+    callback(object);
+  }
+};
+
+Ember.runLoadHooks = function(name, object) {
+  var hooks;
+
+  loaded[name] = object;
+
+  if (hooks = loadHooks[name]) {
+    loadHooks[name].forEach(function(callback) {
+      callback(object);
+    });
+  }
+};
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
+
+
+(function() {
+Ember.ControllerMixin = Ember.Mixin.create({
+  /**
+    The object to which events from the view should be sent.
+
+    For example, when a Handlebars template uses the `{{action}}` helper,
+    it will attempt to send the event to the view's controller's `target`.
+
+    By default, a controller's `target` is set to the router after it is
+    instantiated by `Ember.Application#initialize`.
+  */
+  target: null,
+  store: null
+});
+
+Ember.Controller = Ember.Object.extend(Ember.ControllerMixin);
+
+})();
+
+
+
+(function() {
+var get = Ember.get, set = Ember.set, forEach = Ember.EnumerableUtils.forEach;
+
+/**
+ @class
+
+ @extends Ember.Mixin
+ @extends Ember.MutableEnumerable
+*/
+Ember.SortableMixin = Ember.Mixin.create(Ember.MutableEnumerable,
+  /** @scope Ember.Observable.prototype */ {
+  sortProperties: null,
+  sortAscending: true,
+
+  addObject: function(obj) {
+    var content = get(this, 'content');
+    content.pushObject(obj);
+  },
+
+  removeObject: function(obj) {
+    var content = get(this, 'content');
+    content.removeObject(obj);
+  },
+
+  orderBy: function(item1, item2) {
+    var result = 0,
+        sortProperties = get(this, 'sortProperties'),
+        sortAscending = get(this, 'sortAscending');
+
+    Ember.assert("you need to define `sortProperties`", !!sortProperties);
+
+    forEach(sortProperties, function(propertyName) {
+      if (result === 0) {
+        result = Ember.compare(get(item1, propertyName), get(item2, propertyName));
+        if ((result !== 0) && !sortAscending) {
+          result = (-1) * result;
+        }
+      }
+    });
+
+    return result;
+  },
+
+  destroy: function() {
+    var content = get(this, 'content'),
+        sortProperties = get(this, 'sortProperties');
+
+    if (content && sortProperties) {
+      forEach(content, function(item) {
+        forEach(sortProperties, function(sortProperty) {
+          Ember.removeObserver(item, sortProperty, this, 'contentItemSortPropertyDidChange');
+        }, this);
+      }, this);
+    }
+
+    return this._super();
+  },
+
+  isSorted: Ember.computed('sortProperties', function() {
+    return !!get(this, 'sortProperties');
+  }),
+
+  arrangedContent: Ember.computed('content', 'sortProperties.@each', function(key, value) {
+    var content = get(this, 'content'),
+        isSorted = get(this, 'isSorted'),
+        sortProperties = get(this, 'sortProperties'),
+        self = this;
+
+    if (content && isSorted) {
+      content = content.slice();
+      content.sort(function(item1, item2) {
+        return self.orderBy(item1, item2);
+      });
+      forEach(content, function(item) {
+        forEach(sortProperties, function(sortProperty) {
+          Ember.addObserver(item, sortProperty, this, 'contentItemSortPropertyDidChange');
+        }, this);
+      }, this);
+      return Ember.A(content);
+    }
+
+    return content;
+  }).cacheable(),
+
+  _contentWillChange: Ember.beforeObserver(function() {
+    var content = get(this, 'content'),
+        sortProperties = get(this, 'sortProperties');
+
+    if (content && sortProperties) {
+      forEach(content, function(item) {
+        forEach(sortProperties, function(sortProperty) {
+          Ember.removeObserver(item, sortProperty, this, 'contentItemSortPropertyDidChange');
+        }, this);
+      }, this);
+    }
+
+    this._super();
+  }, 'content'),
+
+  sortAscendingWillChange: Ember.beforeObserver(function() {
+    this._lastSortAscending = get(this, 'sortAscending');
+  }, 'sortAscending'),
+
+  sortAscendingDidChange: Ember.observer(function() {
+    if (get(this, 'sortAscending') !== this._lastSortAscending) {
+      var arrangedContent = get(this, 'arrangedContent');
+      arrangedContent.reverseObjects();
+    }
+  }, 'sortAscending'),
+
+  contentArrayWillChange: function(array, idx, removedCount, addedCount) {
+    var isSorted = get(this, 'isSorted');
+
+    if (isSorted) {
+      var arrangedContent = get(this, 'arrangedContent');
+      var removedObjects = array.slice(idx, idx+removedCount);
+      var sortProperties = get(this, 'sortProperties');
+
+      forEach(removedObjects, function(item) {
+        arrangedContent.removeObject(item);
+
+        forEach(sortProperties, function(sortProperty) {
+          Ember.removeObserver(item, sortProperty, this, 'contentItemSortPropertyDidChange');
+        }, this);
+      });
+    }
+
+    return this._super(array, idx, removedCount, addedCount);
+  },
+
+  contentArrayDidChange: function(array, idx, removedCount, addedCount) {
+    var isSorted = get(this, 'isSorted'),
+        sortProperties = get(this, 'sortProperties');
+
+    if (isSorted) {
+      var addedObjects = array.slice(idx, idx+addedCount);
+      var arrangedContent = get(this, 'arrangedContent');
+
+      forEach(addedObjects, function(item) {
+        this.insertItemSorted(item);
+
+        forEach(sortProperties, function(sortProperty) {
+          Ember.addObserver(item, sortProperty, this, 'contentItemSortPropertyDidChange');
+        }, this);
+      }, this);
+    }
+
+    return this._super(array, idx, removedCount, addedCount);
+  },
+
+  insertItemSorted: function(item) {
+    var arrangedContent = get(this, 'arrangedContent');
+    var length = get(arrangedContent, 'length');
+
+    var idx = this._binarySearch(item, 0, length);
+    arrangedContent.insertAt(idx, item);
+  },
+
+  contentItemSortPropertyDidChange: function(item) {
+    var arrangedContent = get(this, 'arrangedContent'),
+        index = arrangedContent.indexOf(item);
+
+    arrangedContent.removeObject(item);
+    this.insertItemSorted(item);
+  },
+
+  _binarySearch: function(item, low, high) {
+    var mid, midItem, res, arrangedContent;
+
+    if (low === high) {
+      return low;
+    }
+
+    arrangedContent = get(this, 'arrangedContent');
+
+    mid = low + Math.floor((high - low) / 2);
+    midItem = arrangedContent.objectAt(mid);
+
+    res = this.orderBy(midItem, item);
+
+    if (res < 0) {
+      return this._binarySearch(item, mid+1, high);
+    } else if (res > 0) {
+      return this._binarySearch(item, low, mid);
+    }
+
+    return mid;
+  }
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set;
+
+/**
+  @class
+
+  Ember.ArrayController provides a way for you to publish a collection of objects
+  so that you can easily bind to the collection from a Handlebars #each helper,
+  an Ember.CollectionView, or other controllers.
+
+  The advantage of using an ArrayController is that you only have to set up
+  your view bindings once; to change what's displayed, simply swap out the
+  `content` property on the controller.
+
+  For example, imagine you wanted to display a list of items fetched via an XHR
+  request. Create an Ember.ArrayController and set its `content` property:
+
+      MyApp.listController = Ember.ArrayController.create();
+
+      $.get('people.json', function(data) {
+        MyApp.listController.set('content', data);
+      });
+
+  Then, create a view that binds to your new controller:
+
+      {{#each MyApp.listController}}
+        {{firstName}} {{lastName}}
+      {{/each}}
+
+  Although you are binding to the controller, the behavior of this controller
+  is to pass through any methods or properties to the underlying array. This
+  capability comes from `Ember.ArrayProxy`, which this class inherits from.
+
+  Note: As of this writing, `ArrayController` does not add any functionality
+  to its superclass, `ArrayProxy`. The Ember team plans to add additional
+  controller-specific functionality in the future, e.g. single or multiple
+  selection support. If you are creating something that is conceptually a
+  controller, use this class.
+
+  @extends Ember.ArrayProxy
+*/
+
+Ember.ArrayController = Ember.ArrayProxy.extend(Ember.ControllerMixin,
+  Ember.SortableMixin);
+
+})();
+
+
+
+(function() {
+Ember.ObjectController = Ember.ObjectProxy.extend(Ember.ControllerMixin);
+
+})();
+
+
+
+(function() {
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Runtime
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+var get = Ember.get, set = Ember.set;
+
+/**
+  @class
+
+  An Ember.Application instance serves as the namespace in which you define your
+  application's classes. You can also override the configuration of your
+  application.
+
+  By default, Ember.Application will begin listening for events on the document.
+  If your application is embedded inside a page, instead of controlling the
+  entire document, you can specify which DOM element to attach to by setting
+  the `rootElement` property:
+
+      MyApp = Ember.Application.create({
+        rootElement: $('#my-app')
+      });
+
+  The root of an Ember.Application must not be removed during the course of the
+  page's lifetime. If you have only a single conceptual application for the
+  entire page, and are not embedding any third-party Ember applications
+  in your page, use the default document root for your application.
+
+  You only need to specify the root if your page contains multiple instances
+  of Ember.Application.
+
+  @extends Ember.Object
+*/
+Ember.Application = Ember.Namespace.extend(
+/** @scope Ember.Application.prototype */{
+
+  /**
+    The root DOM element of the Application.
+
+    Can be specified as DOMElement or a selector string.
+
+    @type DOMElement
+    @default 'body'
+  */
+  rootElement: 'body',
+
+  /**
+    @type Ember.EventDispatcher
+    @default null
+  */
+  eventDispatcher: null,
+
+  /**
+    @type Object
+    @default null
+  */
+  customEvents: null,
+
+  /** @private */
+  init: function() {
+    var eventDispatcher,
+        rootElement = get(this, 'rootElement');
+    this._super();
+
+    eventDispatcher = Ember.EventDispatcher.create({
+      rootElement: rootElement
+    });
+
+    set(this, 'eventDispatcher', eventDispatcher);
+
+    // jQuery 1.7 doesn't call the ready callback if already ready
+    if (Ember.$.isReady) {
+      Ember.run.once(this, this.didBecomeReady);
+    } else {
+      var self = this;
+      Ember.$(document).ready(function() {
+        Ember.run.once(self, self.didBecomeReady);
+      });
+    }
+  },
+
+  /**
+    Instantiate all controllers currently available on the namespace
+    and inject them onto a router.
+
+    Example:
+
+        App.PostsController = Ember.ArrayController.extend();
+        App.CommentsController = Ember.ArrayController.extend();
+
+        var router = Ember.Router.create({
+          ...
+        });
+
+        App.initialize(router);
+
+        router.get('postsController')     // <App.PostsController:ember1234>
+        router.get('commentsController')  // <App.CommentsController:ember1235>
+
+        router.get('postsController.router') // router
+  */
+  initialize: function(router) {
+    var properties = Ember.A(Ember.keys(this)),
+        injections = get(this.constructor, 'injections'),
+        namespace = this, controller, name;
+
+    if (!router && Ember.Router.detect(namespace['Router'])) {
+      router = namespace['Router'].create();
+      this._createdRouter = router;
+    }
+
+    if (router) {
+      set(this, 'router', router);
+
+      // By default, the router's namespace is the current application.
+      //
+      // This allows it to find model classes when a state has a
+      // route like `/posts/:post_id`. In that case, it would first
+      // convert `post_id` into `Post`, and then look it up on its
+      // namespace.
+      set(router, 'namespace', this);
+    }
+
+    Ember.runLoadHooks('application', this);
+
+    injections.forEach(function(injection) {
+      properties.forEach(function(property) {
+        injection[1](namespace, router, property);
+      });
+    });
+
+    if (router && router instanceof Ember.Router) {
+      this.startRouting(router);
+    }
+  },
+
+  /** @private */
+  didBecomeReady: function() {
+    var eventDispatcher = get(this, 'eventDispatcher'),
+        customEvents    = get(this, 'customEvents');
+
+    eventDispatcher.setup(customEvents);
+
+    this.ready();
+  },
+
+  /**
+    @private
+
+    If the application has a router, use it to route to the current URL, and
+    trigger a new call to `route` whenever the URL changes.
+  */
+  startRouting: function(router) {
+    var location = get(router, 'location'),
+        rootElement = get(this, 'rootElement'),
+        applicationController = get(router, 'applicationController');
+
+    Ember.assert("ApplicationView and ApplicationController must be defined on your application", (this.ApplicationView && applicationController) );
+
+    var applicationView = this.ApplicationView.create({
+      controller: applicationController
+    });
+    this._createdApplicationView = applicationView;
+
+    applicationView.appendTo(rootElement);
+
+    router.route(location.getURL());
+    location.onUpdateURL(function(url) {
+      router.route(url);
+    });
+  },
+
+  /**
+    Called when the Application has become ready.
+    The call will be delayed until the DOM has become ready.
+  */
+  ready: Ember.K,
+
+  /** @private */
+  willDestroy: function() {
+    get(this, 'eventDispatcher').destroy();
+    if (this._createdRouter)          { this._createdRouter.destroy(); }
+    if (this._createdApplicationView) { this._createdApplicationView.destroy(); }
+  },
+
+  registerInjection: function(options) {
+    this.constructor.registerInjection(options);
+  }
+});
+
+Ember.Application.reopenClass({
+  concatenatedProperties: ['injections'],
+  injections: Ember.A(),
+  registerInjection: function(options) {
+    var injections = get(this, 'injections'),
+        before = options.before,
+        name = options.name,
+        injection = options.injection,
+        location;
+
+    if (before) {
+      location = injections.find(function(item) {
+        if (item[0] === before) { return true; }
+      });
+      location = injections.indexOf(location);
+    } else {
+      location = get(injections, 'length');
+    }
+
+    injections.splice(location, 0, [name, injection]);
+  }
+});
+
+Ember.Application.registerInjection({
+  name: 'controllers',
+  injection: function(app, router, property) {
+    if (!/^[A-Z].*Controller$/.test(property)) { return; }
+
+    var name = property.charAt(0).toLowerCase() + property.substr(1),
+        controller = app[property].create();
+
+    router.set(name, controller);
+
+    controller.setProperties({
+      target: router,
+      controllers: router,
+      namespace: app
+    });
+  }
+});
+
+})();
+
+
+
+(function() {
+var get = Ember.get, set = Ember.set;
+
+/**
+  This file implements the `location` API used by Ember's router.
+
+  That API is:
+
+  getURL: returns the current URL
+  setURL(path): sets the current URL
+  onUpdateURL(callback): triggers the callback when the URL changes
+  formatURL(url): formats `url` to be placed into `href` attribute
+
+  Calling setURL will not trigger onUpdateURL callbacks.
+
+  TODO: This, as well as the Ember.Location documentation below, should
+  perhaps be moved so that it's visible in the JsDoc output.
+*/
+/**
+  @class
+
+  Ember.Location returns an instance of the correct implementation of
+  the `location` API.
+
+  You can pass it a `implementation` ('hash', 'history', 'none') to force a
+  particular implementation.
+*/
+Ember.Location = {
+  create: function(options) {
+    var implementation = options && options.implementation;
+    Ember.assert("Ember.Location.create: you must specify a 'implementation' option", !!implementation);
+
+    var implementationClass = this.implementations[implementation];
+    Ember.assert("Ember.Location.create: " + implementation + " is not a valid implementation", !!implementationClass);
+
+    return implementationClass.create.apply(implementationClass, arguments);
+  },
+
+  registerImplementation: function(name, implementation) {
+    this.implementations[name] = implementation;
+  },
+
+  implementations: {}
+};
+
+})();
+
+
+
+(function() {
+var get = Ember.get, set = Ember.set;
+
+/**
+  @class
+
+  Ember.HashLocation implements the location API using the browser's
+  hash. At present, it relies on a hashchange event existing in the
+  browser.
+
+  @extends Ember.Object
+*/
+Ember.HashLocation = Ember.Object.extend(
+/** @scope Ember.HashLocation.prototype */ {
+
+  /** @private */
+  init: function() {
+    set(this, 'location', get(this, 'location') || window.location);
+  },
+
+  /**
+    @private
+
+    Returns the current `location.hash`, minus the '#' at the front.
+  */
+  getURL: function() {
+    return get(this, 'location').hash.substr(1);
+  },
+
+  /**
+    @private
+
+    Set the `location.hash` and remembers what was set. This prevents
+    `onUpdateURL` callbacks from triggering when the hash was set by
+    `HashLocation`.
+  */
+  setURL: function(path) {
+    get(this, 'location').hash = path;
+    set(this, 'lastSetURL', path);
+  },
+
+  /**
+    @private
+
+    Register a callback to be invoked when the hash changes. These
+    callbacks will execute when the user presses the back or forward
+    button, but not after `setURL` is invoked.
+  */
+  onUpdateURL: function(callback) {
+    var self = this;
+    var guid = Ember.guidFor(this);
+
+    Ember.$(window).bind('hashchange.ember-location-'+guid, function() {
+      var path = location.hash.substr(1);
+      if (get(self, 'lastSetURL') === path) { return; }
+
+      set(self, 'lastSetURL', null);
+
+      callback(location.hash.substr(1));
+    });
+  },
+
+  /**
+    @private
+
+    Given a URL, formats it to be placed into the page as part
+    of an element's `href` attribute.
+
+    This is used, for example, when using the {{action}} helper
+    to generate a URL based on an event.
+  */
+  formatURL: function(url) {
+    return '#'+url;
+  },
+
+  /** @private */
+  willDestroy: function() {
+    var guid = Ember.guidFor(this);
+
+    Ember.$(window).unbind('hashchange.ember-location-'+guid);
+  }
+});
+
+Ember.Location.registerImplementation('hash', Ember.HashLocation);
+
+})();
+
+
+
+(function() {
+var get = Ember.get, set = Ember.set;
+
+/**
+  @class
+
+  Ember.HistoryLocation implements the location API using the browser's
+  history.pushState API.
+
+  @extends Ember.Object
+*/
+Ember.HistoryLocation = Ember.Object.extend(
+/** @scope Ember.HistoryLocation.prototype */ {
+
+  /** @private */
+  init: function() {
+    set(this, 'location', get(this, 'location') || window.location);
+    set(this, '_initialURL', get(this, 'location').pathname);
+  },
+
+  /**
+    Will be pre-pended to path upon state change
+   */
+  rootURL: '/',
+
+  /**
+    @private
+
+    Used to give history a starting reference
+   */
+  _initialURL: null,
+
+  /**
+    @private
+
+    Returns the current `location.pathname`.
+  */
+  getURL: function() {
+    return get(this, 'location').pathname;
+  },
+
+  /**
+    @private
+
+    Uses `history.pushState` to update the url without a page reload.
+  */
+  setURL: function(path) {
+    var state = window.history.state,
+        initialURL = get(this, '_initialURL');
+
+    path = this.formatPath(path);
+
+    if ((initialURL !== path && !state) || (state && state.path !== path)) {
+      window.history.pushState({ path: path }, null, path);
+    }
+  },
+
+  /**
+    @private
+
+    Register a callback to be invoked whenever the browser
+    history changes, including using forward and back buttons.
+  */
+  onUpdateURL: function(callback) {
+    var guid = Ember.guidFor(this);
+
+    Ember.$(window).bind('popstate.ember-location-'+guid, function(e) {
+      callback(location.pathname);
+    });
+  },
+
+  /**
+    @private
+
+    returns the given path appended to rootURL
+   */
+  formatPath: function(path) {
+    var rootURL = get(this, 'rootURL');
+
+    if (path !== '') {
+      rootURL = rootURL.replace(/\/$/, '');
+    }
+
+    return rootURL + path;
+  },
+
+  /**
+    @private
+
+    Used when using {{action}} helper.  Since no formatting
+    is required we just return the url given.
+  */
+  formatURL: function(url) {
+    return url;
+  },
+
+  /** @private */
+  willDestroy: function() {
+    var guid = Ember.guidFor(this);
+
+    Ember.$(window).unbind('popstate.ember-location-'+guid);
+  }
+});
+
+Ember.Location.registerImplementation('history', Ember.HistoryLocation);
+
+})();
+
+
+
+(function() {
+var get = Ember.get, set = Ember.set;
+
+/**
+  @class
+
+  Ember.NoneLocation does not interact with the browser. It is useful for
+  testing, or when you need to manage state with your Router, but temporarily
+  don't want it to muck with the URL (for example when you embed your
+  application in a larger page).
+
+  @extends Ember.Object
+*/
+Ember.NoneLocation = Ember.Object.extend(
+/** @scope Ember.NoneLocation.prototype */ {
+  path: '',
+
+  getURL: function() {
+    return get(this, 'path');
+  },
+
+  setURL: function(path) {
+    set(this, 'path', path);
+  },
+
+  onUpdateURL: function(callback) {
+    // We are not wired up to the browser, so we'll never trigger the callback.
+  },
+
+  formatURL: function(url) {
+    // The return value is not overly meaningful, but we do not want to throw
+    // errors when test code renders templates containing {{action href=true}}
+    // helpers.
+    return url;
+  }
+});
+
+Ember.Location.registerImplementation('none', Ember.NoneLocation);
+
+})();
+
+
+
+(function() {
+
+})();
+
+
+
+(function() {
+
+})();
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+Ember.assert("Ember Views require jQuery 1.7", window.jQuery && (window.jQuery().jquery.match(/^1\.7(\.\d+)?(pre|rc\d?)?/) || Ember.ENV.FORCE_JQUERY));
+Ember.$ = window.jQuery;
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+// http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#dndevents
+var dragEvents = Ember.String.w('dragstart drag dragenter dragleave dragover drop dragend');
+
+// Copies the `dataTransfer` property from a browser event object onto the
+// jQuery event object for the specified events
+Ember.EnumerableUtils.forEach(dragEvents, function(eventName) {
+  Ember.$.event.fixHooks[eventName] = { props: ['dataTransfer'] };
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+var get = Ember.get, set = Ember.set;
+var indexOf = Ember.ArrayPolyfills.indexOf;
+
+/** @private */
+var ClassSet = function() {
+  this.seen = {};
+  this.list = [];
+};
+
+ClassSet.prototype = {
+  add: function(string) {
+    if (string in this.seen) { return; }
+    this.seen[string] = true;
+
+    this.list.push(string);
+  },
+
+  toDOM: function() {
+    return this.list.join(" ");
+  }
+};
+
+/**
+  @class
+
+  Ember.RenderBuffer gathers information regarding the a view and generates the
+  final representation. Ember.RenderBuffer will generate HTML which can be pushed
+  to the DOM.
+
+  @extends Ember.Object
+*/
+Ember.RenderBuffer = function(tagName) {
+  return new Ember._RenderBuffer(tagName);
+};
+
+Ember._RenderBuffer = function(tagName) {
+  this.elementTag = tagName;
+  this.childBuffers = [];
+};
+
+Ember._RenderBuffer.prototype =
+/** @scope Ember.RenderBuffer.prototype */ {
+
+  /**
+    Array of class-names which will be applied in the class="" attribute
+
+    You should not maintain this array yourself, rather, you should use
+    the addClass() method of Ember.RenderBuffer.
+
+    @type Array
+    @default []
+  */
+  elementClasses: null,
+
+  /**
+    The id in of the element, to be applied in the id="" attribute
+
+    You should not set this property yourself, rather, you should use
+    the id() method of Ember.RenderBuffer.
+
+    @type String
+    @default null
+  */
+  elementId: null,
+
+  /**
+    A hash keyed on the name of the attribute and whose value will be
+    applied to that attribute. For example, if you wanted to apply a
+    data-view="Foo.bar" property to an element, you would set the
+    elementAttributes hash to {'data-view':'Foo.bar'}
+
+    You should not maintain this hash yourself, rather, you should use
+    the attr() method of Ember.RenderBuffer.
+
+    @type Hash
+    @default {}
+  */
+  elementAttributes: null,
+
+  /**
+    The tagname of the element an instance of Ember.RenderBuffer represents.
+
+    Usually, this gets set as the first parameter to Ember.RenderBuffer. For
+    example, if you wanted to create a `p` tag, then you would call
+
+      Ember.RenderBuffer('p')
+
+    @type String
+    @default null
+  */
+  elementTag: null,
+
+  /**
+    A hash keyed on the name of the style attribute and whose value will
+    be applied to that attribute. For example, if you wanted to apply a
+    background-color:black;" style to an element, you would set the
+    elementStyle hash to {'background-color':'black'}
+
+    You should not maintain this hash yourself, rather, you should use
+    the style() method of Ember.RenderBuffer.
+
+    @type Hash
+    @default {}
+  */
+  elementStyle: null,
+
+  /**
+    Nested RenderBuffers will set this to their parent RenderBuffer
+    instance.
+
+    @type Ember._RenderBuffer
+  */
+  parentBuffer: null,
+
+  /**
+    Adds a string of HTML to the RenderBuffer.
+
+    @param {String} string HTML to push into the buffer
+    @returns {Ember.RenderBuffer} this
+  */
+  push: function(string) {
+    this.childBuffers.push(String(string));
+    return this;
+  },
+
+  /**
+    Adds a class to the buffer, which will be rendered to the class attribute.
+
+    @param {String} className Class name to add to the buffer
+    @returns {Ember.RenderBuffer} this
+  */
+  addClass: function(className) {
+    // lazily create elementClasses
+    var elementClasses = this.elementClasses = (this.elementClasses || new ClassSet());
+    this.elementClasses.add(className);
+
+    return this;
+  },
+
+  /**
+    Sets the elementID to be used for the element.
+
+    @param {String} id
+    @returns {Ember.RenderBuffer} this
+  */
+  id: function(id) {
+    this.elementId = id;
+    return this;
+  },
+
+  // duck type attribute functionality like jQuery so a render buffer
+  // can be used like a jQuery object in attribute binding scenarios.
+
+  /**
+    Adds an attribute which will be rendered to the element.
+
+    @param {String} name The name of the attribute
+    @param {String} value The value to add to the attribute
+    @returns {Ember.RenderBuffer|String} this or the current attribute value
+  */
+  attr: function(name, value) {
+    var attributes = this.elementAttributes = (this.elementAttributes || {});
+
+    if (arguments.length === 1) {
+      return attributes[name];
+    } else {
+      attributes[name] = value;
+    }
+
+    return this;
+  },
+
+  /**
+    Remove an attribute from the list of attributes to render.
+
+    @param {String} name The name of the attribute
+    @returns {Ember.RenderBuffer} this
+  */
+  removeAttr: function(name) {
+    var attributes = this.elementAttributes;
+    if (attributes) { delete attributes[name]; }
+
+    return this;
+  },
+
+  /**
+    Adds a style to the style attribute which will be rendered to the element.
+
+    @param {String} name Name of the style
+    @param {String} value
+    @returns {Ember.RenderBuffer} this
+  */
+  style: function(name, value) {
+    var style = this.elementStyle = (this.elementStyle || {});
+
+    this.elementStyle[name] = value;
+    return this;
+  },
+
+  /**
+    Create a new child render buffer from a parent buffer. Optionally set
+    additional properties on the buffer. Optionally invoke a callback
+    with the newly created buffer.
+
+    This is a primitive method used by other public methods: `begin`,
+    `prepend`, `replaceWith`, `insertAfter`.
+
+    @private
+    @param {String} tagName Tag name to use for the child buffer's element
+    @param {Ember._RenderBuffer} parent The parent render buffer that this
+      buffer should be appended to.
+    @param {Function} fn A callback to invoke with the newly created buffer.
+    @param {Object} other Additional properties to add to the newly created
+      buffer.
+  */
+  newBuffer: function(tagName, parent, fn, other) {
+    var buffer = new Ember._RenderBuffer(tagName);
+    buffer.parentBuffer = parent;
+
+    if (other) { Ember.$.extend(buffer, other); }
+    if (fn) { fn.call(this, buffer); }
+
+    return buffer;
+  },
+
+  /**
+    Replace the current buffer with a new buffer. This is a primitive
+    used by `remove`, which passes `null` for `newBuffer`, and `replaceWith`,
+    which passes the new buffer it created.
+
+    @private
+    @param {Ember._RenderBuffer} buffer The buffer to insert in place of
+      the existing buffer.
+  */
+  replaceWithBuffer: function(newBuffer) {
+    var parent = this.parentBuffer;
+    if (!parent) { return; }
+
+    var childBuffers = parent.childBuffers;
+
+    var index = indexOf.call(childBuffers, this);
+
+    if (newBuffer) {
+      childBuffers.splice(index, 1, newBuffer);
+    } else {
+      childBuffers.splice(index, 1);
+    }
+  },
+
+  /**
+    Creates a new Ember.RenderBuffer object with the provided tagName as
+    the element tag and with its parentBuffer property set to the current
+    Ember.RenderBuffer.
+
+    @param {String} tagName Tag name to use for the child buffer's element
+    @returns {Ember.RenderBuffer} A new RenderBuffer object
+  */
+  begin: function(tagName) {
+    return this.newBuffer(tagName, this, function(buffer) {
+      this.childBuffers.push(buffer);
+    });
+  },
+
+  /**
+    Prepend a new child buffer to the current render buffer.
+
+    @param {String} tagName Tag name to use for the child buffer's element
+  */
+  prepend: function(tagName) {
+    return this.newBuffer(tagName, this, function(buffer) {
+      this.childBuffers.splice(0, 0, buffer);
+    });
+  },
+
+  /**
+    Replace the current buffer with a new render buffer.
+
+    @param {String} tagName Tag name to use for the new buffer's element
+  */
+  replaceWith: function(tagName) {
+    var parentBuffer = this.parentBuffer;
+
+    return this.newBuffer(tagName, parentBuffer, function(buffer) {
+      this.replaceWithBuffer(buffer);
+    });
+  },
+
+  /**
+    Insert a new render buffer after the current render buffer.
+
+    @param {String} tagName Tag name to use for the new buffer's element
+  */
+  insertAfter: function(tagName) {
+    var parentBuffer = get(this, 'parentBuffer');
+
+    return this.newBuffer(tagName, parentBuffer, function(buffer) {
+      var siblings = parentBuffer.childBuffers;
+      var index = indexOf.call(siblings, this);
+      siblings.splice(index + 1, 0, buffer);
+    });
+  },
+
+  /**
+    Closes the current buffer and adds its content to the parentBuffer.
+
+    @returns {Ember.RenderBuffer} The parentBuffer, if one exists. Otherwise, this
+  */
+  end: function() {
+    var parent = this.parentBuffer;
+    return parent || this;
+  },
+
+  remove: function() {
+    this.replaceWithBuffer(null);
+  },
+
+  /**
+    @returns {DOMElement} The element corresponding to the generated HTML
+      of this buffer
+  */
+  element: function() {
+    return Ember.$(this.string())[0];
+  },
+
+  /**
+    Generates the HTML content for this buffer.
+
+    @returns {String} The generated HTMl
+  */
+  string: function() {
+    var content = '', tag = this.elementTag, openTag;
+
+    if (tag) {
+      var id = this.elementId,
+          classes = this.elementClasses,
+          attrs = this.elementAttributes,
+          style = this.elementStyle,
+          styleBuffer = '', prop;
+
+      openTag = ["<" + tag];
+
+      if (id) { openTag.push('id="' + this._escapeAttribute(id) + '"'); }
+      if (classes) { openTag.push('class="' + this._escapeAttribute(classes.toDOM()) + '"'); }
+
+      if (style) {
+        for (prop in style) {
+          if (style.hasOwnProperty(prop)) {
+            styleBuffer += (prop + ':' + this._escapeAttribute(style[prop]) + ';');
+          }
+        }
+
+        openTag.push('style="' + styleBuffer + '"');
+      }
+
+      if (attrs) {
+        for (prop in attrs) {
+          if (attrs.hasOwnProperty(prop)) {
+            openTag.push(prop + '="' + this._escapeAttribute(attrs[prop]) + '"');
+          }
+        }
+      }
+
+      openTag = openTag.join(" ") + '>';
+    }
+
+    var childBuffers = this.childBuffers;
+
+    Ember.ArrayPolyfills.forEach.call(childBuffers, function(buffer) {
+      var stringy = typeof buffer === 'string';
+      content += (stringy ? buffer : buffer.string());
+    });
+
+    if (tag) {
+      return openTag + content + "</" + tag + ">";
+    } else {
+      return content;
+    }
+  },
+
+  _escapeAttribute: function(value) {
+    // Stolen shamelessly from Handlebars
+
+    var escape = {
+      "<": "&lt;",
+      ">": "&gt;",
+      '"': "&quot;",
+      "'": "&#x27;",
+      "`": "&#x60;"
+    };
+
+    var badChars = /&(?!\w+;)|[<>"'`]/g;
+    var possible = /[&<>"'`]/;
+
+    var escapeChar = function(chr) {
+      return escape[chr] || "&amp;";
+    };
+
+    var string = value.toString();
+
+    if(!possible.test(string)) { return string; }
+    return string.replace(badChars, escapeChar);
+  }
+
+};
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+var get = Ember.get, set = Ember.set, fmt = Ember.String.fmt;
+
+/**
+  @ignore
+
+  Ember.EventDispatcher handles delegating browser events to their corresponding
+  Ember.Views. For example, when you click on a view, Ember.EventDispatcher ensures
+  that that view's `mouseDown` method gets called.
+*/
+Ember.EventDispatcher = Ember.Object.extend(
+/** @scope Ember.EventDispatcher.prototype */{
+
+  /**
+    @private
+
+    The root DOM element to which event listeners should be attached. Event
+    listeners will be attached to the document unless this is overridden.
+
+    Can be specified as a DOMElement or a selector string.
+
+    The default body is a string since this may be evaluated before document.body
+    exists in the DOM.
+
+    @type DOMElement
+    @default 'body'
+  */
+  rootElement: 'body',
+
+  /**
+    @private
+
+    Sets up event listeners for standard browser events.
+
+    This will be called after the browser sends a DOMContentReady event. By
+    default, it will set up all of the listeners on the document body. If you
+    would like to register the listeners on a different element, set the event
+    dispatcher's `root` property.
+  */
+  setup: function(addedEvents) {
+    var event, events = {
+      touchstart  : 'touchStart',
+      touchmove   : 'touchMove',
+      touchend    : 'touchEnd',
+      touchcancel : 'touchCancel',
+      keydown     : 'keyDown',
+      keyup       : 'keyUp',
+      keypress    : 'keyPress',
+      mousedown   : 'mouseDown',
+      mouseup     : 'mouseUp',
+      contextmenu : 'contextMenu',
+      click       : 'click',
+      dblclick    : 'doubleClick',
+      mousemove   : 'mouseMove',
+      focusin     : 'focusIn',
+      focusout    : 'focusOut',
+      mouseenter  : 'mouseEnter',
+      mouseleave  : 'mouseLeave',
+      submit      : 'submit',
+      input       : 'input',
+      change      : 'change',
+      dragstart   : 'dragStart',
+      drag        : 'drag',
+      dragenter   : 'dragEnter',
+      dragleave   : 'dragLeave',
+      dragover    : 'dragOver',
+      drop        : 'drop',
+      dragend     : 'dragEnd'
+    };
+
+    Ember.$.extend(events, addedEvents || {});
+
+    var rootElement = Ember.$(get(this, 'rootElement'));
+
+    Ember.assert(fmt('You cannot use the same root element (%@) multiple times in an Ember.Application', [rootElement.selector || rootElement[0].tagName]), !rootElement.is('.ember-application'));
+    Ember.assert('You cannot make a new Ember.Application using a root element that is a descendent of an existing Ember.Application', !rootElement.closest('.ember-application').length);
+    Ember.assert('You cannot make a new Ember.Application using a root element that is an ancestor of an existing Ember.Application', !rootElement.find('.ember-application').length);
+
+    rootElement.addClass('ember-application');
+
+    Ember.assert('Unable to add "ember-application" class to rootElement. Make sure you set rootElement to the body or an element in the body.', rootElement.is('.ember-application'));
+
+    for (event in events) {
+      if (events.hasOwnProperty(event)) {
+        this.setupHandler(rootElement, event, events[event]);
+      }
+    }
+  },
+
+  /**
+    @private
+
+    Registers an event listener on the document. If the given event is
+    triggered, the provided event handler will be triggered on the target
+    view.
+
+    If the target view does not implement the event handler, or if the handler
+    returns false, the parent view will be called. The event will continue to
+    bubble to each successive parent view until it reaches the top.
+
+    For example, to have the `mouseDown` method called on the target view when
+    a `mousedown` event is received from the browser, do the following:
+
+        setupHandler('mousedown', 'mouseDown');
+
+    @param {String} event the browser-originated event to listen to
+    @param {String} eventName the name of the method to call on the view
+  */
+  setupHandler: function(rootElement, event, eventName) {
+    var self = this;
+
+    rootElement.delegate('.ember-view', event + '.ember', function(evt, triggeringManager) {
+
+      var view = Ember.View.views[this.id],
+          result = true, manager = null;
+
+      manager = self._findNearestEventManager(view,eventName);
+
+      if (manager && manager !== triggeringManager) {
+        result = self._dispatchEvent(manager, evt, eventName, view);
+      } else if (view) {
+        result = self._bubbleEvent(view,evt,eventName);
+      } else {
+        evt.stopPropagation();
+      }
+
+      return result;
+    });
+
+    rootElement.delegate('[data-ember-action]', event + '.ember', function(evt) {
+      var actionId = Ember.$(evt.currentTarget).attr('data-ember-action'),
+          action   = Ember.Handlebars.ActionHelper.registeredActions[actionId],
+          handler  = action.handler;
+
+      if (action.eventName === eventName) {
+        return handler(evt);
+      }
+    });
+  },
+
+  /** @private */
+  _findNearestEventManager: function(view, eventName) {
+    var manager = null;
+
+    while (view) {
+      manager = get(view, 'eventManager');
+      if (manager && manager[eventName]) { break; }
+
+      view = get(view, 'parentView');
+    }
+
+    return manager;
+  },
+
+  /** @private */
+  _dispatchEvent: function(object, evt, eventName, view) {
+    var result = true;
+
+    var handler = object[eventName];
+    if (Ember.typeOf(handler) === 'function') {
+      result = handler.call(object, evt, view);
+      // Do not preventDefault in eventManagers.
+      evt.stopPropagation();
+    }
+    else {
+      result = this._bubbleEvent(view, evt, eventName);
+    }
+
+    return result;
+  },
+
+  /** @private */
+  _bubbleEvent: function(view, evt, eventName) {
+    return Ember.run(function() {
+      return view.handleEvent(eventName, evt);
+    });
+  },
+
+  /** @private */
+  destroy: function() {
+    var rootElement = get(this, 'rootElement');
+    Ember.$(rootElement).undelegate('.ember').removeClass('ember-application');
+    return this._super();
+  }
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+// Add a new named queue for rendering views that happens
+// after bindings have synced.
+var queues = Ember.run.queues;
+queues.splice(Ember.$.inArray('actions', queues)+1, 0, 'render');
+
+})();
+
+
+
+(function() {
+var get = Ember.get, set = Ember.set;
+
+Ember.ControllerMixin.reopen({
+
+  target: null,
+  controllers: null,
+  namespace: null,
+  view: null,
+
+  /**
+    `connectOutlet` creates a new instance of a provided view
+    class, wires it up to its associated controller, and
+    assigns the new view to a property on the current controller.
+
+    The purpose of this method is to enable views that use
+    outlets to quickly assign new views for a given outlet.
+
+    For example, an application view's template may look like
+    this:
+
+        <h1>My Blog</h1>
+        {{outlet}}
+
+    The view for this outlet is specified by assigning a
+    `view` property to the application's controller. The
+    following code will assign a new `App.PostsView` to
+    that outlet:
+
+        applicationController.connectOutlet('posts');
+
+    In general, you will also want to assign a controller
+    to the newly created view. By convention, a controller
+    named `postsController` will be assigned as the view's
+    controller.
+
+    In an application initialized using `app.initialize(router)`,
+    `connectOutlet` will look for `postsController` on the
+    router. The initialization process will automatically
+    create an instance of `App.PostsController` called
+    `postsController`, so you don't need to do anything
+    beyond `connectOutlet` to assign your view and wire it
+    up to its associated controller.
+
+    You can supply a `content` for the controller by supplying
+    a final argument after the view class:
+
+        applicationController.connectOutlet('posts', App.Post.find());
+
+    You can specify a particular outlet to use. For example, if your main
+    template looks like:
+
+        <h1>My Blog</h1>
+        {{outlet master}}
+        {{outlet detail}}
+
+    You can assign an `App.PostsView` to the master outlet:
+
+        applicationController.connectOutlet({
+          name: 'posts',
+          outletName: 'master',
+          context: App.Post.find()
+        });
+
+    You can write this as:
+
+        applicationController.connectOutlet('master', 'posts', App.Post.find());
+
+    @param {String} outletName a name for the outlet to set
+    @param {String} name a view/controller pair name
+    @param {Object} context a context object to assign to the
+      controller's `content` property, if a controller can be
+      found (optional)
+  */
+  connectOutlet: function(name, context) {
+    // Normalize arguments. Supported arguments:
+    //
+    // name
+    // name, context
+    // outletName, name
+    // outletName, name, context
+    // options
+    //
+    // The options hash has the following keys:
+    //
+    //   name: the name of the controller and view
+    //     to use. If this is passed, the name
+    //     determines the view and controller.
+    //   outletName: the name of the outlet to
+    //     fill in. default: 'view'
+    //   viewClass: the class of the view to instantiate
+    //   controller: the controller instance to pass
+    //     to the view
+    //   context: an object that should become the
+    //     controller's `content` and thus the
+    //     template's context.
+
+    var outletName, viewClass, view, controller, options;
+
+    if (Ember.typeOf(context) === 'string') {
+      outletName = name;
+      name = context;
+      context = arguments[2];
+    }
+
+    if (arguments.length === 1) {
+      if (Ember.typeOf(name) === 'object') {
+        options = name;
+        outletName = options.outletName;
+        name = options.name;
+        viewClass = options.viewClass;
+        controller = options.controller;
+        context = options.context;
+      }
+    } else {
+      options = {};
+    }
+
+    outletName = outletName || 'view';
+
+    Ember.assert("You must supply a name or a view class to connectOutlets, but not both", (!!name && !viewClass && !controller) || (!name && !!viewClass));
+
+    if (name) {
+      var namespace = get(this, 'namespace'),
+          controllers = get(this, 'controllers');
+
+      var viewClassName = name.charAt(0).toUpperCase() + name.substr(1) + "View";
+      viewClass = get(namespace, viewClassName);
+      controller = get(controllers, name + 'Controller');
+
+      Ember.assert("The name you supplied " + name + " did not resolve to a view " + viewClassName, !!viewClass);
+      Ember.assert("The name you supplied " + name + " did not resolve to a controller " + name + 'Controller', (!!controller && !!context) || !context);
+    }
+
+    if (controller && context) { controller.set('content', context); }
+    view = viewClass.create();
+    if (controller) { set(view, 'controller', controller); }
+    set(this, outletName, view);
+
+    return view;
+  },
+
+  /**
+    Convenience method to connect controllers. This method makes other controllers
+    available on the controller the method was invoked on.
+
+    For example, to make the `personController` and the `postController` available
+    on the `overviewController`, you would call:
+
+        overviewController.connectControllers('person', 'post');
+
+    @param {String...} controllerNames the controllers to make available
+  */
+  connectControllers: function() {
+    var controllers = get(this, 'controllers'),
+        controllerNames = Array.prototype.slice.apply(arguments),
+        controllerName;
+
+    for (var i=0, l=controllerNames.length; i<l; i++) {
+      controllerName = controllerNames[i] + 'Controller';
+      set(this, controllerName, get(controllers, controllerName));
+    }
+  }
+});
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set, addObserver = Ember.addObserver;
+var meta = Ember.meta, fmt = Ember.String.fmt;
+var a_slice = [].slice;
+var a_forEach = Ember.EnumerableUtils.forEach;
+
+var childViewsProperty = Ember.computed(function() {
+  var childViews = this._childViews;
+
+  var ret = Ember.A();
+
+  a_forEach(childViews, function(view) {
+    if (view.isVirtual) {
+      ret.pushObjects(get(view, 'childViews'));
+    } else {
+      ret.push(view);
+    }
+  });
+
+  return ret;
+}).property().cacheable();
+
+var VIEW_PRESERVES_CONTEXT = Ember.VIEW_PRESERVES_CONTEXT;
+Ember.warn("The way that the {{view}} helper affects templates is about to change. Previously, templates inside child views would use the new view as the context. Soon, views will preserve their parent context when rendering their template. You can opt-in early to the new behavior by setting `ENV.VIEW_PRESERVES_CONTEXT = true`. For more information, see https://gist.github.com/2494968. You should update your templates as soon as possible; this default will change soon, and the option will be eliminated entirely before the 1.0 release.", VIEW_PRESERVES_CONTEXT);
+
+/**
+  @static
+
+  Global hash of shared templates. This will automatically be populated
+  by the build tools so that you can store your Handlebars templates in
+  separate files that get loaded into JavaScript at buildtime.
+
+  @type Hash
+*/
+Ember.TEMPLATES = {};
+
+var invokeForState = {
+  preRender: {},
+  inBuffer: {},
+  hasElement: {},
+  inDOM: {},
+  destroyed: {}
+};
+
+/**
+  @class
+
+  `Ember.View` is the class in Ember responsible for encapsulating templates of HTML
+  content, combining templates with data to render as sections of a page's DOM, and
+  registering and responding to user-initiated events.
+
+  ## HTML Tag
+  The default HTML tag name used for a view's DOM representation is `div`. This can be
+  customized by setting the `tagName` property. The following view class:
+
+      ParagraphView = Ember.View.extend({
+        tagName: 'em'
+      })
+
+  Would result in instances with the following HTML:
+
+      <em id="ember1" class="ember-view"></em>
+
+  ## HTML `class` Attribute
+  The HTML `class` attribute of a view's tag can be set by providing a `classNames` property
+  that is set to an array of strings:
+
+      MyView = Ember.View.extend({
+        classNames: ['my-class', 'my-other-class']
+      })
+
+  Will result in view instances with an HTML representation of:
+
+      <div id="ember1" class="ember-view my-class my-other-class"></div>
+
+  `class` attribute values can also be set by providing a `classNameBindings` property
+  set to an array of properties names for the view. The return value of these properties
+  will be added as part of the value for the view's `class` attribute. These properties
+  can be computed properties:
+
+      MyView = Ember.View.extend({
+        classNameBindings: ['propertyA', 'propertyB'],
+        propertyA: 'from-a',
+        propertyB: function(){
+          if(someLogic){ return 'from-b'; }
+        }.property()
+      })
+
+  Will result in view instances with an HTML representation of:
+
+      <div id="ember1" class="ember-view from-a from-b"></div>
+
+  If the value of a class name binding returns a boolean the property name itself
+  will be used as the class name if the property is true. The class name will
+  not be added if the value is `false` or `undefined`.
+
+      MyView = Ember.View.extend({
+        classNameBindings: ['hovered'],
+        hovered: true
+      })
+
+  Will result in view instances with an HTML representation of:
+
+      <div id="ember1" class="ember-view hovered"></div>
+
+  When using boolean class name bindings you can supply a string value other than the
+  property name for use as the `class` HTML attribute by appending the preferred value after
+  a ":" character when defining the binding:
+
+      MyView = Ember.View.extend({
+        classNameBindings: ['awesome:so-very-cool'],
+        awesome: true
+      })
+
+  Will result in view instances with an HTML representation of:
+
+      <div id="ember1" class="ember-view so-very-cool"></div>
+
+
+  Boolean value class name bindings whose property names are in a camelCase-style
+  format will be converted to a dasherized format:
+
+      MyView = Ember.View.extend({
+        classNameBindings: ['isUrgent'],
+        isUrgent: true
+      })
+
+  Will result in view instances with an HTML representation of:
+
+      <div id="ember1" class="ember-view is-urgent"></div>
+
+
+  Class name bindings can also refer to object values that are found by
+  traversing a path relative to the view itself:
+
+      MyView = Ember.View.extend({
+        classNameBindings: ['messages.empty']
+        messages: Ember.Object.create({
+          empty: true
+        })
+      })
+
+  Will result in view instances with an HTML representation of:
+
+      <div id="ember1" class="ember-view empty"></div>
+
+
+  If you want to add a class name for a property which evaluates to true and
+  and a different class name if it evaluates to false, you can pass a binding
+  like this:
+
+    // Applies 'enabled' class when isEnabled is true and 'disabled' when isEnabled is false
+    Ember.View.create({
+      classNameBindings: ['isEnabled:enabled:disabled']
+      isEnabled: true
+    });
+
+  Will result in view instances with an HTML representation of:
+
+      <div id="ember1" class="ember-view enabled"></div>
+
+  When isEnabled is `false`, the resulting HTML reprensentation looks like this:
+
+      <div id="ember1" class="ember-view disabled"></div>
+
+  This syntax offers the convenience to add a class if a property is `false`:
+
+    // Applies no class when isEnabled is true and class 'disabled' when isEnabled is false
+    Ember.View.create({
+      classNameBindings: ['isEnabled::disabled']
+      isEnabled: true
+    });
+
+  Will result in view instances with an HTML representation of:
+
+    <div id="ember1" class="ember-view"></div>
+
+  When the `isEnabled` property on the view is set to `false`, it will result
+  in view instances with an HTML representation of:
+
+    <div id="ember1" class="ember-view disabled"></div>
+
+
+  Updates to the the value of a class name binding will result in automatic update
+  of the  HTML `class` attribute in the view's rendered HTML representation.
+  If the value becomes  `false` or `undefined` the class name will be removed.
+
+  Both `classNames` and `classNameBindings` are concatenated properties.
+  See `Ember.Object` documentation for more information about concatenated properties.
+
+  ## HTML Attributes
+  The HTML attribute section of a view's tag can be set by providing an `attributeBindings`
+  property set to an array of property names on the view. The return value of these properties
+  will be used as the value of the view's HTML associated attribute:
+
+      AnchorView = Ember.View.extend({
+        tagName: 'a',
+        attributeBindings: ['href'],
+        href: 'http://google.com'
+      })
+
+  Will result in view instances with an HTML representation of:
+
+      <a id="ember1" class="ember-view" href="http://google.com"></a>
+
+  If the return value of an `attributeBindings` monitored property is a boolean
+  the property will follow HTML's pattern of repeating the attribute's name as
+  its value:
+
+      MyTextInput = Ember.View.extend({
+        tagName: 'input',
+        attributeBindings: ['disabled'],
+        disabled: true
+      })
+
+  Will result in view instances with an HTML representation of:
+
+      <input id="ember1" class="ember-view" disabled="disabled" />
+
+  `attributeBindings` can refer to computed properties:
+
+      MyTextInput = Ember.View.extend({
+        tagName: 'input',
+        attributeBindings: ['disabled'],
+        disabled: function(){
+          if (someLogic) {
+            return true;
+          } else {
+            return false;
+          }
+        }.property()
+      })
+
+  Updates to the the property of an attribute binding will result in automatic update
+  of the  HTML attribute in the view's rendered HTML representation.
+
+  `attributeBindings` is a concatenated property. See `Ember.Object` documentation
+  for more information about concatenated properties.
+
+  ## Templates
+  The HTML contents of a view's rendered representation are determined by its template.
+  Templates can be any function that accepts an optional context parameter and returns
+  a string of HTML that will be inserted within the view's tag. Most
+  typically in Ember this function will be a compiled Ember.Handlebars template.
+
+      AView = Ember.View.extend({
+        template: Ember.Handlebars.compile('I am the template')
+      })
+
+  Will result in view instances with an HTML representation of:
+
+      <div id="ember1" class="ember-view">I am the template</div>
+
+  The default context of the compiled template will be the view instance itself:
+
+      AView = Ember.View.extend({
+        template: Ember.Handlebars.compile('Hello {{excitedGreeting}}')
+      })
+
+      aView = AView.create({
+        content: Ember.Object.create({
+          firstName: 'Barry'
+        })
+        excitedGreeting: function(){
+          return this.get("content.firstName") + "!!!"
+        }
+      })
+
+  Will result in an HTML representation of:
+
+      <div id="ember1" class="ember-view">Hello Barry!!!</div>
+
+  Within an Ember application is more common to define a Handlebars templates as
+  part of a page:
+
+      <script type='text/x-handlebars' data-template-name='some-template'>
+        Hello
+      </script>
+
+  And associate it by name using a view's `templateName` property:
+
+      AView = Ember.View.extend({
+        templateName: 'some-template'
+      })
+
+  Using a value for `templateName` that does not have a Handlebars template with a
+  matching `data-template-name` attribute will throw an error.
+
+  Assigning a value to both `template` and `templateName` properties will throw an error.
+
+  For views classes that may have a template later defined (e.g. as the block portion of a `{{view}}`
+  Handlebars helper call in another template or in a subclass), you can provide a `defaultTemplate`
+  property set to compiled template function. If a template is not later provided for the view
+  instance the `defaultTemplate` value will be used:
+
+      AView = Ember.View.extend({
+        defaultTemplate: Ember.Handlebars.compile('I was the default'),
+        template: null,
+        templateName: null
+      })
+
+  Will result in instances with an HTML representation of:
+
+      <div id="ember1" class="ember-view">I was the default</div>
+
+  If a `template` or `templateName` is provided it will take precedence over `defaultTemplate`:
+
+      AView = Ember.View.extend({
+        defaultTemplate: Ember.Handlebars.compile('I was the default')
+      })
+
+      aView = AView.create({
+        template: Ember.Handlebars.compile('I was the template, not default')
+      })
+
+  Will result in the following HTML representation when rendered:
+
+      <div id="ember1" class="ember-view">I was the template, not default</div>
+
+  ## Layouts
+  Views can have a secondary template that wraps their main template. Like
+  primary templates, layouts can be any function that  accepts an optional context
+  parameter and returns a string of HTML that will be inserted inside view's tag. Views whose HTML
+  element is self closing (e.g. `<input />`) cannot have a layout and this property will be ignored.
+
+  Most typically in Ember a layout will be a compiled Ember.Handlebars template.
+
+  A view's layout can be set directly with the `layout` property or reference an
+  existing Handlebars template by name with the `layoutName` property.
+
+  A template used as a layout must contain a single use of the Handlebars `{{yield}}`
+  helper. The HTML contents of a view's rendered `template` will be inserted at this location:
+
+      AViewWithLayout = Ember.View.extend({
+        layout: Ember.Handlebars.compile("<div class='my-decorative-class'>{{yield}}</div>")
+        template: Ember.Handlebars.compile("I got wrapped"),
+      })
+
+  Will result in view instances with an HTML representation of:
+
+      <div id="ember1" class="ember-view">
+        <div class="my-decorative-class">
+          I got wrapped
+        </div>
+      </div>
+
+  See `Handlebars.helpers.yield` for more information.
+
+  ## Responding to Browser Events
+  Views can respond to user-initiated events in one of three ways: method implementation,
+  through an event manager, and through `{{action}}` helper use in their template or layout.
+
+  ### Method Implementation
+  Views can respond to user-initiated events by implementing a method that matches the
+  event name. A `jQuery.Event` object will be passed as the argument to this method.
+
+      AView = Ember.View.extend({
+        click: function(event){
+          // will be called when when an instance's
+          // rendered element is clicked
+        }
+      })
+
+  ### Event Managers
+  Views can define an object as their `eventManager` property. This object can then
+  implement methods that match the desired event names. Matching events that occur
+  on the view's rendered HTML or the rendered HTML of any of its DOM descendants
+  will trigger this method.  A `jQuery.Event` object will be passed as the first
+  argument to the method and an  `Ember.View` object as the second. The `Ember.View`
+  will be the view whose rendered HTML was interacted with. This may be the view with
+  the `eventManager` property or one of its descendent views.
+
+      AView = Ember.View.extend({
+        eventManager: Ember.Object.create({
+          doubleClick: function(event, view){
+            // will be called when when an instance's
+            // rendered element or any rendering
+            // of this views's descendent
+            // elements is clicked
+          }
+        })
+      })
+
+
+  An event defined for an event manager takes precedence over events of the same
+  name handled through methods on the view.
+
+
+      AView = Ember.View.extend({
+        mouseEnter: function(event){
+          // will never trigger.
+        },
+        eventManager: Ember.Object.create({
+          mouseEnter: function(event, view){
+            // takes presedence over AView#mouseEnter
+          }
+        })
+      })
+
+  Similarly a view's event manager will take precedence for events of any views
+  rendered as a descendent. A method name that matches an event name will not be called
+  if the view instance was rendered inside the HTML representation of a view that has
+  an `eventManager` property defined that handles events of the name.  Events not handled
+  by the event manager will still trigger method calls on the descendent.
+
+      OuterView = Ember.View.extend({
+        template: Ember.Handlebars.compile("outer {{#view InnerView}}inner{{/view}} outer"),
+        eventManager: Ember.Object.create({
+          mouseEnter: function(event, view){
+            // view might be instance of either
+            // OutsideView or InnerView depending on
+            // where on the page the user interaction occured
+          }
+        })
+      })
+
+      InnerView = Ember.View.extend({
+        click: function(event){
+          // will be called if rendered inside
+          // an OuterView because OuterView's
+          // eventManager doesn't handle click events
+        },
+        mouseEnter: function(event){
+          // will never be called if rendered inside
+          // an OuterView.
+        }
+      })
+
+  ### Handlebars `{{action}}` Helper
+  See `Handlebars.helpers.action`.
+
+  ### Event Names
+  Possible events names for any of the responding approaches described above are:
+
+  Touch events: 'touchStart', 'touchMove', 'touchEnd', 'touchCancel'
+
+  Keyboard events: 'keyDown', 'keyUp', 'keyPress'
+
+  Mouse events: 'mouseDown', 'mouseUp', 'contextMenu', 'click', 'doubleClick', 'mouseMove',
+  'focusIn', 'focusOut', 'mouseEnter', 'mouseLeave'
+
+  Form events: 'submit', 'change', 'focusIn', 'focusOut', 'input'
+
+  HTML5 drag and drop events: 'dragStart', 'drag', 'dragEnter', 'dragLeave', 'drop', 'dragEnd'
+
+  ## Handlebars `{{view}}` Helper
+  Other `Ember.View` instances can be included as part of a view's template by using the `{{view}}`
+  Handlebars helper. See `Handlebars.helpers.view` for additional information.
+
+  @extends Ember.Object
+  @extends Ember.Evented
+*/
+Ember.View = Ember.Object.extend(Ember.Evented,
+/** @scope Ember.View.prototype */ {
+
+  /** @private */
+  concatenatedProperties: ['classNames', 'classNameBindings', 'attributeBindings'],
+
+  /**
+    @type Boolean
+    @default true
+    @constant
+  */
+  isView: true,
+
+  // ..........................................................
+  // TEMPLATE SUPPORT
+  //
+
+  /**
+    The name of the template to lookup if no template is provided.
+
+    Ember.View will look for a template with this name in this view's
+    `templates` object. By default, this will be a global object
+    shared in `Ember.TEMPLATES`.
+
+    @type String
+    @default null
+  */
+  templateName: null,
+
+  /**
+    The name of the layout to lookup if no layout is provided.
+
+    Ember.View will look for a template with this name in this view's
+    `templates` object. By default, this will be a global object
+    shared in `Ember.TEMPLATES`.
+
+    @type String
+    @default null
+  */
+  layoutName: null,
+
+  /**
+    The hash in which to look for `templateName`.
+
+    @type Ember.Object
+    @default Ember.TEMPLATES
+  */
+  templates: Ember.TEMPLATES,
+
+  /**
+    The template used to render the view. This should be a function that
+    accepts an optional context parameter and returns a string of HTML that
+    will be inserted into the DOM relative to its parent view.
+
+    In general, you should set the `templateName` property instead of setting
+    the template yourself.
+
+    @field
+    @type Function
+  */
+  template: Ember.computed(function(key, value) {
+    if (value !== undefined) { return value; }
+
+    var templateName = get(this, 'templateName'),
+        template = this.templateForName(templateName, 'template');
+
+    return template || get(this, 'defaultTemplate');
+  }).property('templateName').cacheable(),
+
+  /**
+    The controller managing this view. If this property is set, it will be
+    made available for use by the template.
+
+    @type Object
+  */
+  controller: Ember.computed(function(key, value) {
+    var parentView;
+
+    if (arguments.length === 2) {
+      return value;
+    } else {
+      parentView = get(this, 'parentView');
+      return parentView ? get(parentView, 'controller') : null;
+    }
+  }).property().cacheable(),
+
+  /**
+    A view may contain a layout. A layout is a regular template but
+    supersedes the `template` property during rendering. It is the
+    responsibility of the layout template to retrieve the `template`
+    property from the view (or alternatively, call `Handlebars.helpers.yield`,
+    `{{yield}}`) to render it in the correct location.
+
+    This is useful for a view that has a shared wrapper, but which delegates
+    the rendering of the contents of the wrapper to the `template` property
+    on a subclass.
+
+    @field
+    @type Function
+  */
+  layout: Ember.computed(function(key, value) {
+    if (arguments.length === 2) { return value; }
+
+    var layoutName = get(this, 'layoutName'),
+        layout = this.templateForName(layoutName, 'layout');
+
+    return layout || get(this, 'defaultLayout');
+  }).property('layoutName').cacheable(),
+
+  templateForName: function(name, type) {
+    if (!name) { return; }
+
+    var templates = get(this, 'templates'),
+        template = get(templates, name);
+
+    if (!template) {
+     throw new Ember.Error(fmt('%@ - Unable to find %@ "%@".', [this, type, name]));
+    }
+
+    return template;
+  },
+
+  /**
+    The object from which templates should access properties.
+
+    This object will be passed to the template function each time the render
+    method is called, but it is up to the individual function to decide what
+    to do with it.
+
+    By default, this will be the view itself.
+
+    @type Object
+  */
+  context: Ember.computed(function(key, value) {
+    if (arguments.length === 2) {
+      set(this, '_context', value);
+      return value;
+    } else {
+      return get(this, '_context');
+    }
+  }).cacheable(),
+
+  /**
+    @private
+
+    Private copy of the view's template context. This can be set directly
+    by Handlebars without triggering the observer that causes the view
+    to be re-rendered.
+
+    The context of a view is looked up as follows:
+
+    1. Specified controller
+    2. Supplied context (usually by Handlebars)
+    3. `parentView`'s context (for a child of a ContainerView)
+
+    The code in Handlebars that overrides the `_context` property first
+    checks to see whether the view has a specified controller. This is
+    something of a hack and should be revisited.
+  */
+  _context: Ember.computed(function(key, value) {
+    var parentView, controller, context;
+
+    if (arguments.length === 2) {
+      return value;
+    }
+
+    if (VIEW_PRESERVES_CONTEXT) {
+      if (controller = get(this, 'controller')) {
+        return controller;
+      }
+
+      parentView = get(this, '_parentView');
+      if (parentView) {
+        return get(parentView, '_context');
+      }
+    }
+
+    return this;
+  }).cacheable(),
+
+  /**
+    If a value that affects template rendering changes, the view should be
+    re-rendered to reflect the new value.
+
+    @private
+  */
+  _displayPropertyDidChange: Ember.observer(function() {
+    this.rerender();
+  }, 'context', 'controller'),
+
+  /**
+    If the view is currently inserted into the DOM of a parent view, this
+    property will point to the parent of the view.
+
+    @type Ember.View
+    @default null
+  */
+  parentView: Ember.computed(function() {
+    var parent = get(this, '_parentView');
+
+    if (parent && parent.isVirtual) {
+      return get(parent, 'parentView');
+    } else {
+      return parent;
+    }
+  }).property('_parentView').volatile(),
+
+  _parentView: null,
+
+  // return the current view, not including virtual views
+  concreteView: Ember.computed(function() {
+    if (!this.isVirtual) { return this; }
+    else { return get(this, 'parentView'); }
+  }).property('_parentView').volatile(),
+
+  /**
+    If false, the view will appear hidden in DOM.
+
+    @type Boolean
+    @default null
+  */
+  isVisible: true,
+
+  /**
+    Array of child views. You should never edit this array directly.
+    Instead, use appendChild and removeFromParent.
+
+    @private
+    @type Array
+    @default []
+  */
+  childViews: childViewsProperty,
+
+  _childViews: [],
+
+  /**
+    When it's a virtual view, we need to notify the parent that their
+    childViews will change.
+  */
+  _childViewsWillChange: Ember.beforeObserver(function() {
+    if (this.isVirtual) {
+      var parentView = get(this, 'parentView');
+      if (parentView) { Ember.propertyWillChange(parentView, 'childViews'); }
+    }
+  }, 'childViews'),
+
+  /**
+    When it's a virtual view, we need to notify the parent that their
+    childViews did change.
+  */
+  _childViewsDidChange: Ember.observer(function() {
+    if (this.isVirtual) {
+      var parentView = get(this, 'parentView');
+      if (parentView) { Ember.propertyDidChange(parentView, 'childViews'); }
+    }
+  }, 'childViews'),
+
+  /**
+    Return the nearest ancestor that is an instance of the provided
+    class.
+
+    @param {Class} klass Subclass of Ember.View (or Ember.View itself)
+    @returns Ember.View
+  */
+  nearestInstanceOf: function(klass) {
+    var view = get(this, 'parentView');
+
+    while (view) {
+      if(view instanceof klass) { return view; }
+      view = get(view, 'parentView');
+    }
+  },
+
+  /**
+    Return the nearest ancestor that has a given property.
+
+    @param {String} property A property name
+    @returns Ember.View
+  */
+  nearestWithProperty: function(property) {
+    var view = get(this, 'parentView');
+
+    while (view) {
+      if (property in view) { return view; }
+      view = get(view, 'parentView');
+    }
+  },
+
+  /**
+    Return the nearest ancestor whose parent is an instance of
+    `klass`.
+
+    @param {Class} klass Subclass of Ember.View (or Ember.View itself)
+    @returns Ember.View
+  */
+  nearestChildOf: function(klass) {
+    var view = get(this, 'parentView');
+
+    while (view) {
+      if(get(view, 'parentView') instanceof klass) { return view; }
+      view = get(view, 'parentView');
+    }
+  },
+
+  /**
+    Return the nearest ancestor that is an Ember.CollectionView
+
+    @returns Ember.CollectionView
+  */
+  collectionView: Ember.computed(function() {
+    return this.nearestInstanceOf(Ember.CollectionView);
+  }).cacheable(),
+
+  /**
+    Return the nearest ancestor that is a direct child of
+    an Ember.CollectionView
+
+    @returns Ember.View
+  */
+  itemView: Ember.computed(function() {
+    return this.nearestChildOf(Ember.CollectionView);
+  }).cacheable(),
+
+  /**
+    Return the nearest ancestor that has the property
+    `content`.
+
+    @returns Ember.View
+  */
+  contentView: Ember.computed(function() {
+    return this.nearestWithProperty('content');
+  }).cacheable(),
+
+  /**
+    @private
+
+    When the parent view changes, recursively invalidate
+    collectionView, itemView, and contentView
+  */
+  _parentViewDidChange: Ember.observer(function() {
+    if (this.isDestroying) { return; }
+
+    this.invokeRecursively(function(view) {
+      view.propertyDidChange('collectionView');
+      view.propertyDidChange('itemView');
+      view.propertyDidChange('contentView');
+    });
+
+    if (get(this, 'parentView.controller') && !get(this, 'controller')) {
+      this.notifyPropertyChange('controller');
+    }
+  }, '_parentView'),
+
+  _controllerDidChange: Ember.observer(function() {
+    if (this.isDestroying) { return; }
+
+    this.forEachChildView(function(view) {
+      view.propertyDidChange('controller');
+    });
+  }, 'controller'),
+
+  cloneKeywords: function() {
+    var templateData = get(this, 'templateData');
+
+    var keywords = templateData ? Ember.copy(templateData.keywords) : {};
+    set(keywords, 'view', get(this, 'concreteView'));
+    set(keywords, 'controller', get(this, 'controller'));
+
+    return keywords;
+  },
+
+  /**
+    Called on your view when it should push strings of HTML into a
+    Ember.RenderBuffer. Most users will want to override the `template`
+    or `templateName` properties instead of this method.
+
+    By default, Ember.View will look for a function in the `template`
+    property and invoke it with the value of `context`. The value of
+    `context` will be the view's controller unless you override it.
+
+    @param {Ember.RenderBuffer} buffer The render buffer
+  */
+  render: function(buffer) {
+    // If this view has a layout, it is the responsibility of the
+    // the layout to render the view's template. Otherwise, render the template
+    // directly.
+    var template = get(this, 'layout') || get(this, 'template');
+
+    if (template) {
+      var context = get(this, '_context');
+      var keywords = this.cloneKeywords();
+
+      var data = {
+        view: this,
+        buffer: buffer,
+        isRenderData: true,
+        keywords: keywords
+      };
+
+      // Invoke the template with the provided template context, which
+      // is the view by default. A hash of data is also passed that provides
+      // the template with access to the view and render buffer.
+
+      Ember.assert('template must be a function. Did you mean to call Ember.Handlebars.compile("...") or specify templateName instead?', typeof template === 'function');
+      // The template should write directly to the render buffer instead
+      // of returning a string.
+      var output = template(context, { data: data });
+
+      // If the template returned a string instead of writing to the buffer,
+      // push the string onto the buffer.
+      if (output !== undefined) { buffer.push(output); }
+    }
+  },
+
+  invokeForState: function(name) {
+    var stateName = this.state, args, fn;
+
+    // try to find the function for the state in the cache
+    if (fn = invokeForState[stateName][name]) {
+      args = a_slice.call(arguments);
+      args[0] = this;
+
+      return fn.apply(this, args);
+    }
+
+    // otherwise, find and cache the function for this state
+    var parent = this, states = parent.states, state;
+
+    while (states) {
+      state = states[stateName];
+
+      while (state) {
+        fn = state[name];
+
+        if (fn) {
+          invokeForState[stateName][name] = fn;
+
+          args = a_slice.call(arguments, 1);
+          args.unshift(this);
+
+          return fn.apply(this, args);
+        }
+
+        state = state.parentState;
+      }
+
+      states = states.parent;
+    }
+  },
+
+  /**
+    Renders the view again. This will work regardless of whether the
+    view is already in the DOM or not. If the view is in the DOM, the
+    rendering process will be deferred to give bindings a chance
+    to synchronize.
+
+    If children were added during the rendering process using `appendChild`,
+    `rerender` will remove them, because they will be added again
+    if needed by the next `render`.
+
+    In general, if the display of your view changes, you should modify
+    the DOM element directly instead of manually calling `rerender`, which can
+    be slow.
+  */
+  rerender: function() {
+    return this.invokeForState('rerender');
+  },
+
+  clearRenderedChildren: function() {
+    var lengthBefore = this.lengthBeforeRender,
+        lengthAfter  = this.lengthAfterRender;
+
+    // If there were child views created during the last call to render(),
+    // remove them under the assumption that they will be re-created when
+    // we re-render.
+
+    // VIEW-TODO: Unit test this path.
+    var childViews = this._childViews;
+    for (var i=lengthAfter-1; i>=lengthBefore; i--) {
+      if (childViews[i]) { childViews[i].destroy(); }
+    }
+  },
+
+  /**
+    @private
+
+    Iterates over the view's `classNameBindings` array, inserts the value
+    of the specified property into the `classNames` array, then creates an
+    observer to update the view's element if the bound property ever changes
+    in the future.
+  */
+  _applyClassNameBindings: function() {
+    var classBindings = get(this, 'classNameBindings'),
+        classNames = get(this, 'classNames'),
+        elem, newClass, dasherizedClass;
+
+    if (!classBindings) { return; }
+
+    // Loop through all of the configured bindings. These will be either
+    // property names ('isUrgent') or property paths relative to the view
+    // ('content.isUrgent')
+    a_forEach(classBindings, function(binding) {
+
+      // Variable in which the old class value is saved. The observer function
+      // closes over this variable, so it knows which string to remove when
+      // the property changes.
+      var oldClass;
+
+      // Set up an observer on the context. If the property changes, toggle the
+      // class name.
+      var observer = function() {
+        // Get the current value of the property
+        newClass = this._classStringForProperty(binding);
+        elem = this.$();
+
+        // If we had previously added a class to the element, remove it.
+        if (oldClass) {
+          elem.removeClass(oldClass);
+          // Also remove from classNames so that if the view gets rerendered,
+          // the class doesn't get added back to the DOM.
+          classNames.removeObject(oldClass);
+        }
+
+        // If necessary, add a new class. Make sure we keep track of it so
+        // it can be removed in the future.
+        if (newClass) {
+          elem.addClass(newClass);
+          oldClass = newClass;
+        } else {
+          oldClass = null;
+        }
+      };
+
+      // Get the class name for the property at its current value
+      dasherizedClass = this._classStringForProperty(binding);
+
+      if (dasherizedClass) {
+        // Ensure that it gets into the classNames array
+        // so it is displayed when we render.
+        classNames.push(dasherizedClass);
+
+        // Save a reference to the class name so we can remove it
+        // if the observer fires. Remember that this variable has
+        // been closed over by the observer.
+        oldClass = dasherizedClass;
+      }
+
+      // Extract just the property name from bindings like 'foo:bar'
+      var parsedPath = Ember.View._parsePropertyPath(binding);
+      addObserver(this, parsedPath.path, observer);
+    }, this);
+  },
+
+  /**
+    Iterates through the view's attribute bindings, sets up observers for each,
+    then applies the current value of the attributes to the passed render buffer.
+
+    @param {Ember.RenderBuffer} buffer
+  */
+  _applyAttributeBindings: function(buffer) {
+    var attributeBindings = get(this, 'attributeBindings'),
+        attributeValue, elem, type;
+
+    if (!attributeBindings) { return; }
+
+    a_forEach(attributeBindings, function(binding) {
+      var split = binding.split(':'),
+          property = split[0],
+          attributeName = split[1] || property;
+
+      // Create an observer to add/remove/change the attribute if the
+      // JavaScript property changes.
+      var observer = function() {
+        elem = this.$();
+        if (!elem) { return; }
+
+        attributeValue = get(this, property);
+
+        Ember.View.applyAttributeBindings(elem, attributeName, attributeValue);
+      };
+
+      addObserver(this, property, observer);
+
+      // Determine the current value and add it to the render buffer
+      // if necessary.
+      attributeValue = get(this, property);
+      Ember.View.applyAttributeBindings(buffer, attributeName, attributeValue);
+    }, this);
+  },
+
+  /**
+    @private
+
+    Given a property name, returns a dasherized version of that
+    property name if the property evaluates to a non-falsy value.
+
+    For example, if the view has property `isUrgent` that evaluates to true,
+    passing `isUrgent` to this method will return `"is-urgent"`.
+  */
+  _classStringForProperty: function(property) {
+    var parsedPath = Ember.View._parsePropertyPath(property);
+    var path = parsedPath.path;
+
+    var val = get(this, path);
+    if (val === undefined && Ember.isGlobalPath(path)) {
+      val = get(window, path);
+    }
+
+    return Ember.View._classStringForValue(path, val, parsedPath.className, parsedPath.falsyClassName);
+  },
+
+  // ..........................................................
+  // ELEMENT SUPPORT
+  //
+
+  /**
+    Returns the current DOM element for the view.
+
+    @field
+    @type DOMElement
+  */
+  element: Ember.computed(function(key, value) {
+    if (value !== undefined) {
+      return this.invokeForState('setElement', value);
+    } else {
+      return this.invokeForState('getElement');
+    }
+  }).property('_parentView').cacheable(),
+
+  /**
+    Returns a jQuery object for this view's element. If you pass in a selector
+    string, this method will return a jQuery object, using the current element
+    as its buffer.
+
+    For example, calling `view.$('li')` will return a jQuery object containing
+    all of the `li` elements inside the DOM element of this view.
+
+    @param {String} [selector] a jQuery-compatible selector string
+    @returns {Ember.CoreQuery} the CoreQuery object for the DOM node
+  */
+  $: function(sel) {
+    return this.invokeForState('$', sel);
+  },
+
+  /** @private */
+  mutateChildViews: function(callback) {
+    var childViews = this._childViews,
+        idx = childViews.length,
+        view;
+
+    while(--idx >= 0) {
+      view = childViews[idx];
+      callback.call(this, view, idx);
+    }
+
+    return this;
+  },
+
+  /** @private */
+  forEachChildView: function(callback) {
+    var childViews = this._childViews;
+
+    if (!childViews) { return this; }
+
+    var len = childViews.length,
+        view, idx;
+
+    for(idx = 0; idx < len; idx++) {
+      view = childViews[idx];
+      callback.call(this, view);
+    }
+
+    return this;
+  },
+
+  /**
+    Appends the view's element to the specified parent element.
+
+    If the view does not have an HTML representation yet, `createElement()`
+    will be called automatically.
+
+    Note that this method just schedules the view to be appended; the DOM
+    element will not be appended to the given element until all bindings have
+    finished synchronizing.
+
+    This is not typically a function that you will need to call directly
+    when building your application. You might consider using Ember.ContainerView
+    instead. If you do need to use appendTo, be sure that the target element you
+    are providing is associated with an Ember.Application and does not have an
+    ancestor element that is associated with an Ember view.
+
+    @param {String|DOMElement|jQuery} A selector, element, HTML string, or jQuery object
+    @returns {Ember.View} receiver
+  */
+  appendTo: function(target) {
+    // Schedule the DOM element to be created and appended to the given
+    // element after bindings have synchronized.
+    this._insertElementLater(function() {
+      Ember.assert("You cannot append to an existing Ember.View. Consider using Ember.ContainerView instead.", !Ember.$(target).is('.ember-view') && !Ember.$(target).parents().is('.ember-view'));
+      this.$().appendTo(target);
+    });
+
+    return this;
+  },
+
+  /**
+    Replaces the content of the specified parent element with this view's element.
+    If the view does not have an HTML representation yet, `createElement()`
+    will be called automatically.
+
+    Note that this method just schedules the view to be appended; the DOM
+    element will not be appended to the given element until all bindings have
+    finished synchronizing
+
+    @param {String|DOMElement|jQuery} A selector, element, HTML string, or jQuery object
+    @returns {Ember.View} received
+  */
+  replaceIn: function(target) {
+    Ember.assert("You cannot replace an existing Ember.View. Consider using Ember.ContainerView instead.", !Ember.$(target).is('.ember-view') && !Ember.$(target).parents().is('.ember-view'));
+
+    this._insertElementLater(function() {
+      Ember.$(target).empty();
+      this.$().appendTo(target);
+    });
+
+    return this;
+  },
+
+  /**
+    @private
+
+    Schedules a DOM operation to occur during the next render phase. This
+    ensures that all bindings have finished synchronizing before the view is
+    rendered.
+
+    To use, pass a function that performs a DOM operation..
+
+    Before your function is called, this view and all child views will receive
+    the `willInsertElement` event. After your function is invoked, this view
+    and all of its child views will receive the `didInsertElement` event.
+
+        view._insertElementLater(function() {
+          this.createElement();
+          this.$().appendTo('body');
+        });
+
+    @param {Function} fn the function that inserts the element into the DOM
+  */
+  _insertElementLater: function(fn) {
+    this._lastInsert = Ember.guidFor(fn);
+    Ember.run.schedule('render', this, this.invokeForState, 'insertElement', fn);
+  },
+
+  /**
+    Appends the view's element to the document body. If the view does
+    not have an HTML representation yet, `createElement()` will be called
+    automatically.
+
+    Note that this method just schedules the view to be appended; the DOM
+    element will not be appended to the document body until all bindings have
+    finished synchronizing.
+
+    @returns {Ember.View} receiver
+  */
+  append: function() {
+    return this.appendTo(document.body);
+  },
+
+  /**
+    Removes the view's element from the element to which it is attached.
+
+    @returns {Ember.View} receiver
+  */
+  remove: function() {
+    // What we should really do here is wait until the end of the run loop
+    // to determine if the element has been re-appended to a different
+    // element.
+    // In the interim, we will just re-render if that happens. It is more
+    // important than elements get garbage collected.
+    this.destroyElement();
+    this.invokeRecursively(function(view) {
+      view.clearRenderedChildren();
+    });
+  },
+
+  /**
+    The ID to use when trying to locate the element in the DOM. If you do not
+    set the elementId explicitly, then the view's GUID will be used instead.
+    This ID must be set at the time the view is created.
+
+    @type String
+    @readOnly
+  */
+  elementId: Ember.computed(function(key, value) {
+    return value !== undefined ? value : Ember.guidFor(this);
+  }).cacheable(),
+
+  /**
+    @private
+
+    TODO: Perhaps this should be removed from the production build somehow.
+  */
+  _elementIdDidChange: Ember.beforeObserver(function() {
+    throw "Changing a view's elementId after creation is not allowed.";
+  }, 'elementId'),
+
+  /**
+    Attempts to discover the element in the parent element. The default
+    implementation looks for an element with an ID of elementId (or the view's
+    guid if elementId is null). You can override this method to provide your
+    own form of lookup. For example, if you want to discover your element
+    using a CSS class name instead of an ID.
+
+    @param {DOMElement} parentElement The parent's DOM element
+    @returns {DOMElement} The discovered element
+  */
+  findElementInParentElement: function(parentElem) {
+    var id = "#" + get(this, 'elementId');
+    return Ember.$(id)[0] || Ember.$(id, parentElem)[0];
+  },
+
+  /**
+    Creates a new renderBuffer with the passed tagName. You can override this
+    method to provide further customization to the buffer if needed. Normally
+    you will not need to call or override this method.
+
+    @returns {Ember.RenderBuffer}
+  */
+  renderBuffer: function(tagName) {
+    tagName = tagName || get(this, 'tagName');
+
+    // Explicitly check for null or undefined, as tagName
+    // may be an empty string, which would evaluate to false.
+    if (tagName === null || tagName === undefined) {
+      tagName = 'div';
+    }
+
+    return Ember.RenderBuffer(tagName);
+  },
+
+  /**
+    Creates a DOM representation of the view and all of its
+    child views by recursively calling the `render()` method.
+
+    After the element has been created, `didInsertElement` will
+    be called on this view and all of its child views.
+
+    @returns {Ember.View} receiver
+  */
+  createElement: function() {
+    if (get(this, 'element')) { return this; }
+
+    var buffer = this.renderToBuffer();
+    set(this, 'element', buffer.element());
+
+    return this;
+  },
+
+  /**
+    Called when a view is going to insert an element into the DOM.
+  */
+  willInsertElement: Ember.K,
+
+  /**
+    Called when the element of the view has been inserted into the DOM.
+    Override this function to do any set up that requires an element in the
+    document body.
+  */
+  didInsertElement: Ember.K,
+
+  /**
+    Called when the view is about to rerender, but before anything has
+    been torn down. This is a good opportunity to tear down any manual
+    observers you have installed based on the DOM state
+  */
+  willRerender: Ember.K,
+
+  /**
+    Run this callback on the current view and recursively on child views.
+
+    @private
+  */
+  invokeRecursively: function(fn) {
+    fn.call(this, this);
+
+    this.forEachChildView(function(view) {
+      view.invokeRecursively(fn);
+    });
+  },
+
+  /**
+    Invalidates the cache for a property on all child views.
+  */
+  invalidateRecursively: function(key) {
+    this.forEachChildView(function(view) {
+      view.propertyDidChange(key);
+    });
+  },
+
+  /**
+    @private
+
+    Invokes the receiver's willInsertElement() method if it exists and then
+    invokes the same on all child views.
+
+    NOTE: In some cases this was called when the element existed. This no longer
+    works so we let people know. We can remove this warning code later.
+  */
+  _notifyWillInsertElement: function() {
+    this.invokeRecursively(function(view) {
+      view.trigger('willInsertElement');
+    });
+  },
+
+  /**
+    @private
+
+    Invokes the receiver's didInsertElement() method if it exists and then
+    invokes the same on all child views.
+  */
+  _notifyDidInsertElement: function() {
+    this.invokeRecursively(function(view) {
+      view.trigger('didInsertElement');
+    });
+  },
+
+  /**
+    @private
+
+    Invokes the receiver's willRerender() method if it exists and then
+    invokes the same on all child views.
+  */
+  _notifyWillRerender: function() {
+    this.invokeRecursively(function(view) {
+      view.trigger('willRerender');
+    });
+  },
+
+  /**
+    Destroys any existing element along with the element for any child views
+    as well. If the view does not currently have a element, then this method
+    will do nothing.
+
+    If you implement willDestroyElement() on your view, then this method will
+    be invoked on your view before your element is destroyed to give you a
+    chance to clean up any event handlers, etc.
+
+    If you write a willDestroyElement() handler, you can assume that your
+    didInsertElement() handler was called earlier for the same element.
+
+    Normally you will not call or override this method yourself, but you may
+    want to implement the above callbacks when it is run.
+
+    @returns {Ember.View} receiver
+  */
+  destroyElement: function() {
+    return this.invokeForState('destroyElement');
+  },
+
+  /**
+    Called when the element of the view is going to be destroyed. Override
+    this function to do any teardown that requires an element, like removing
+    event listeners.
+  */
+  willDestroyElement: function() {},
+
+  /**
+    @private
+
+    Invokes the `willDestroyElement` callback on the view and child views.
+  */
+  _notifyWillDestroyElement: function() {
+    this.invokeRecursively(function(view) {
+      view.trigger('willDestroyElement');
+    });
+  },
+
+  /** @private (nodoc) */
+  _elementWillChange: Ember.beforeObserver(function() {
+    this.forEachChildView(function(view) {
+      Ember.propertyWillChange(view, 'element');
+    });
+  }, 'element'),
+
+  /**
+    @private
+
+    If this view's element changes, we need to invalidate the caches of our
+    child views so that we do not retain references to DOM elements that are
+    no longer needed.
+
+    @observes element
+  */
+  _elementDidChange: Ember.observer(function() {
+    this.forEachChildView(function(view) {
+      Ember.propertyDidChange(view, 'element');
+    });
+  }, 'element'),
+
+  /**
+    Called when the parentView property has changed.
+
+    @function
+  */
+  parentViewDidChange: Ember.K,
+
+  /**
+    @private
+
+    Invoked by the view system when this view needs to produce an HTML
+    representation. This method will create a new render buffer, if needed,
+    then apply any default attributes, such as class names and visibility.
+    Finally, the `render()` method is invoked, which is responsible for
+    doing the bulk of the rendering.
+
+    You should not need to override this method; instead, implement the
+    `template` property, or if you need more control, override the `render`
+    method.
+
+    @param {Ember.RenderBuffer} buffer the render buffer. If no buffer is
+      passed, a default buffer, using the current view's `tagName`, will
+      be used.
+  */
+  renderToBuffer: function(parentBuffer, bufferOperation) {
+    var buffer;
+
+    Ember.run.sync();
+
+    // Determine where in the parent buffer to start the new buffer.
+    // By default, a new buffer will be appended to the parent buffer.
+    // The buffer operation may be changed if the child views array is
+    // mutated by Ember.ContainerView.
+    bufferOperation = bufferOperation || 'begin';
+
+    // If this is the top-most view, start a new buffer. Otherwise,
+    // create a new buffer relative to the original using the
+    // provided buffer operation (for example, `insertAfter` will
+    // insert a new buffer after the "parent buffer").
+    if (parentBuffer) {
+      var tagName = get(this, 'tagName');
+      if (tagName === null || tagName === undefined) {
+        tagName = 'div';
+      }
+
+      buffer = parentBuffer[bufferOperation](tagName);
+    } else {
+      buffer = this.renderBuffer();
+    }
+
+    this.buffer = buffer;
+    this.transitionTo('inBuffer', false);
+
+    this.lengthBeforeRender = this._childViews.length;
+
+    this.beforeRender(buffer);
+    this.render(buffer);
+    this.afterRender(buffer);
+
+    this.lengthAfterRender = this._childViews.length;
+
+    return buffer;
+  },
+
+  beforeRender: function(buffer) {
+    this.applyAttributesToBuffer(buffer);
+  },
+
+  afterRender: Ember.K,
+
+  /**
+    @private
+  */
+  applyAttributesToBuffer: function(buffer) {
+    // Creates observers for all registered class name and attribute bindings,
+    // then adds them to the element.
+    this._applyClassNameBindings();
+
+    // Pass the render buffer so the method can apply attributes directly.
+    // This isn't needed for class name bindings because they use the
+    // existing classNames infrastructure.
+    this._applyAttributeBindings(buffer);
+
+
+    a_forEach(get(this, 'classNames'), function(name){ buffer.addClass(name); });
+    buffer.id(get(this, 'elementId'));
+
+    var role = get(this, 'ariaRole');
+    if (role) {
+      buffer.attr('role', role);
+    }
+
+    if (get(this, 'isVisible') === false) {
+      buffer.style('display', 'none');
+    }
+  },
+
+  // ..........................................................
+  // STANDARD RENDER PROPERTIES
+  //
+
+  /**
+    Tag name for the view's outer element. The tag name is only used when
+    an element is first created. If you change the tagName for an element, you
+    must destroy and recreate the view element.
+
+    By default, the render buffer will use a `<div>` tag for views.
+
+    @type String
+    @default null
+  */
+
+  // We leave this null by default so we can tell the difference between
+  // the default case and a user-specified tag.
+  tagName: null,
+
+  /**
+    The WAI-ARIA role of the control represented by this view. For example, a
+    button may have a role of type 'button', or a pane may have a role of
+    type 'alertdialog'. This property is used by assistive software to help
+    visually challenged users navigate rich web applications.
+
+    The full list of valid WAI-ARIA roles is available at:
+    http://www.w3.org/TR/wai-aria/roles#roles_categorization
+
+    @type String
+    @default null
+  */
+  ariaRole: null,
+
+  /**
+    Standard CSS class names to apply to the view's outer element. This
+    property automatically inherits any class names defined by the view's
+    superclasses as well.
+
+    @type Array
+    @default ['ember-view']
+  */
+  classNames: ['ember-view'],
+
+  /**
+    A list of properties of the view to apply as class names. If the property
+    is a string value, the value of that string will be applied as a class
+    name.
+
+        // Applies the 'high' class to the view element
+        Ember.View.create({
+          classNameBindings: ['priority']
+          priority: 'high'
+        });
+
+    If the value of the property is a Boolean, the name of that property is
+    added as a dasherized class name.
+
+        // Applies the 'is-urgent' class to the view element
+        Ember.View.create({
+          classNameBindings: ['isUrgent']
+          isUrgent: true
+        });
+
+    If you would prefer to use a custom value instead of the dasherized
+    property name, you can pass a binding like this:
+
+        // Applies the 'urgent' class to the view element
+        Ember.View.create({
+          classNameBindings: ['isUrgent:urgent']
+          isUrgent: true
+        });
+
+    This list of properties is inherited from the view's superclasses as well.
+
+    @type Array
+    @default []
+  */
+  classNameBindings: [],
+
+  /**
+    A list of properties of the view to apply as attributes. If the property is
+    a string value, the value of that string will be applied as the attribute.
+
+        // Applies the type attribute to the element
+        // with the value "button", like <div type="button">
+        Ember.View.create({
+          attributeBindings: ['type'],
+          type: 'button'
+        });
+
+    If the value of the property is a Boolean, the name of that property is
+    added as an attribute.
+
+        // Renders something like <div enabled="enabled">
+        Ember.View.create({
+          attributeBindings: ['enabled'],
+          enabled: true
+        });
+  */
+  attributeBindings: [],
+
+  state: 'preRender',
+
+  // .......................................................
+  // CORE DISPLAY METHODS
+  //
+
+  /**
+    @private
+
+    Setup a view, but do not finish waking it up.
+    - configure childViews
+    - register the view with the global views hash, which is used for event
+      dispatch
+  */
+  init: function() {
+    this._super();
+
+    // Register the view for event handling. This hash is used by
+    // Ember.EventDispatcher to dispatch incoming events.
+    if (!this.isVirtual) Ember.View.views[get(this, 'elementId')] = this;
+
+    // setup child views. be sure to clone the child views array first
+    this._childViews = this._childViews.slice();
+
+    Ember.assert("Only arrays are allowed for 'classNameBindings'", Ember.typeOf(this.classNameBindings) === 'array');
+    this.classNameBindings = Ember.A(this.classNameBindings.slice());
+
+    Ember.assert("Only arrays are allowed for 'classNames'", Ember.typeOf(this.classNames) === 'array');
+    this.classNames = Ember.A(this.classNames.slice());
+
+    var viewController = get(this, 'viewController');
+    if (viewController) {
+      viewController = get(viewController);
+      if (viewController) {
+        set(viewController, 'view', this);
+      }
+    }
+  },
+
+  appendChild: function(view, options) {
+    return this.invokeForState('appendChild', view, options);
+  },
+
+  /**
+    Removes the child view from the parent view.
+
+    @param {Ember.View} view
+    @returns {Ember.View} receiver
+  */
+  removeChild: function(view) {
+    // If we're destroying, the entire subtree will be
+    // freed, and the DOM will be handled separately,
+    // so no need to mess with childViews.
+    if (this.isDestroying) { return; }
+
+    // update parent node
+    set(view, '_parentView', null);
+
+    // remove view from childViews array.
+    var childViews = this._childViews;
+
+    Ember.EnumerableUtils.removeObject(childViews, view);
+
+    this.propertyDidChange('childViews'); // HUH?! what happened to will change?
+
+    return this;
+  },
+
+  /**
+    Removes all children from the parentView.
+
+    @returns {Ember.View} receiver
+  */
+  removeAllChildren: function() {
+    return this.mutateChildViews(function(view) {
+      this.removeChild(view);
+    });
+  },
+
+  destroyAllChildren: function() {
+    return this.mutateChildViews(function(view) {
+      view.destroy();
+    });
+  },
+
+  /**
+    Removes the view from its parentView, if one is found. Otherwise
+    does nothing.
+
+    @returns {Ember.View} receiver
+  */
+  removeFromParent: function() {
+    var parent = get(this, '_parentView');
+
+    // Remove DOM element from parent
+    this.remove();
+
+    if (parent) { parent.removeChild(this); }
+    return this;
+  },
+
+  /**
+    You must call `destroy` on a view to destroy the view (and all of its
+    child views). This will remove the view from any parent node, then make
+    sure that the DOM element managed by the view can be released by the
+    memory manager.
+  */
+  willDestroy: function() {
+    // calling this._super() will nuke computed properties and observers,
+    // so collect any information we need before calling super.
+    var childViews = this._childViews,
+        parent     = get(this, '_parentView'),
+        childLen;
+
+    // destroy the element -- this will avoid each child view destroying
+    // the element over and over again...
+    if (!this.removedFromDOM) { this.destroyElement(); }
+
+    // remove from non-virtual parent view if viewName was specified
+    if (this.viewName) {
+      var nonVirtualParentView = get(this, 'parentView');
+      if (nonVirtualParentView) {
+        set(nonVirtualParentView, this.viewName, null);
+      }
+    }
+
+    // remove from parent if found. Don't call removeFromParent,
+    // as removeFromParent will try to remove the element from
+    // the DOM again.
+    if (parent) { parent.removeChild(this); }
+
+    this.state = 'destroyed';
+
+    childLen = childViews.length;
+    for (var i=childLen-1; i>=0; i--) {
+      childViews[i].removedFromDOM = true;
+      childViews[i].destroy();
+    }
+
+    // next remove view from global hash
+    if (!this.isVirtual) delete Ember.View.views[get(this, 'elementId')];
+  },
+
+  /**
+    Instantiates a view to be added to the childViews array during view
+    initialization. You generally will not call this method directly unless
+    you are overriding createChildViews(). Note that this method will
+    automatically configure the correct settings on the new view instance to
+    act as a child of the parent.
+
+    @param {Class} viewClass
+    @param {Hash} [attrs] Attributes to add
+    @returns {Ember.View} new instance
+    @test in createChildViews
+  */
+  createChildView: function(view, attrs) {
+    if (Ember.View.detect(view)) {
+      attrs = attrs || {};
+      attrs._parentView = this;
+      attrs.templateData = attrs.templateData || get(this, 'templateData');
+
+      view = view.create(attrs);
+
+      // don't set the property on a virtual view, as they are invisible to
+      // consumers of the view API
+      if (view.viewName) { set(get(this, 'concreteView'), view.viewName, view); }
+    } else {
+      Ember.assert('You must pass instance or subclass of View', view instanceof Ember.View);
+      Ember.assert("You can only pass attributes when a class is provided", !attrs);
+
+      if (!get(view, 'templateData')) {
+        set(view, 'templateData', get(this, 'templateData'));
+      }
+
+      set(view, '_parentView', this);
+    }
+
+    return view;
+  },
+
+  becameVisible: Ember.K,
+  becameHidden: Ember.K,
+
+  /**
+    @private
+
+    When the view's `isVisible` property changes, toggle the visibility
+    element of the actual DOM element.
+  */
+  _isVisibleDidChange: Ember.observer(function() {
+    var $el = this.$();
+    if (!$el) { return; }
+
+    var isVisible = get(this, 'isVisible');
+
+    $el.toggle(isVisible);
+
+    if (this._isAncestorHidden()) { return; }
+
+    if (isVisible) {
+      this._notifyBecameVisible();
+    } else {
+      this._notifyBecameHidden();
+    }
+  }, 'isVisible'),
+
+  _notifyBecameVisible: function() {
+    this.trigger('becameVisible');
+
+    this.forEachChildView(function(view) {
+      var isVisible = get(view, 'isVisible');
+
+      if (isVisible || isVisible === null) {
+        view._notifyBecameVisible();
+      }
+    });
+  },
+
+  _notifyBecameHidden: function() {
+    this.trigger('becameHidden');
+    this.forEachChildView(function(view) {
+      var isVisible = get(view, 'isVisible');
+
+      if (isVisible || isVisible === null) {
+        view._notifyBecameHidden();
+      }
+    });
+  },
+
+  _isAncestorHidden: function() {
+    var parent = get(this, 'parentView');
+
+    while (parent) {
+      if (get(parent, 'isVisible') === false) { return true; }
+
+      parent = get(parent, 'parentView');
+    }
+
+    return false;
+  },
+
+  clearBuffer: function() {
+    this.invokeRecursively(function(view) {
+      this.buffer = null;
+    });
+  },
+
+  transitionTo: function(state, children) {
+    this.state = state;
+
+    if (children !== false) {
+      this.forEachChildView(function(view) {
+        view.transitionTo(state);
+      });
+    }
+  },
+
+  /**
+    @private
+
+    Override the default event firing from Ember.Evented to
+    also call methods with the given name.
+  */
+  trigger: function(name) {
+    this._super.apply(this, arguments);
+    var method = this[name];
+    if (method) {
+      var args = [], i, l;
+      for (i = 1, l = arguments.length; i < l; i++) {
+        args.push(arguments[i]);
+      }
+      return method.apply(this, args);
+    }
+  },
+
+  has: function(name) {
+    return Ember.typeOf(this[name]) === 'function' || this._super(name);
+  },
+
+  // .......................................................
+  // EVENT HANDLING
+  //
+
+  /**
+    @private
+
+    Handle events from `Ember.EventDispatcher`
+  */
+  handleEvent: function(eventName, evt) {
+    return this.invokeForState('handleEvent', eventName, evt);
+  }
+
+});
+
+/**
+  Describe how the specified actions should behave in the various
+  states that a view can exist in. Possible states:
+
+  * preRender: when a view is first instantiated, and after its
+    element was destroyed, it is in the preRender state
+  * inBuffer: once a view has been rendered, but before it has
+    been inserted into the DOM, it is in the inBuffer state
+  * inDOM: once a view has been inserted into the DOM it is in
+    the inDOM state. A view spends the vast majority of its
+    existence in this state.
+  * destroyed: once a view has been destroyed (using the destroy
+    method), it is in this state. No further actions can be invoked
+    on a destroyed view.
+*/
+
+  // in the destroyed state, everything is illegal
+
+  // before rendering has begun, all legal manipulations are noops.
+
+  // inside the buffer, legal manipulations are done on the buffer
+
+  // once the view has been inserted into the DOM, legal manipulations
+  // are done on the DOM element.
+
+/** @private */
+var DOMManager = {
+  prepend: function(view, childView) {
+    childView._insertElementLater(function() {
+      var element = view.$();
+      element.prepend(childView.$());
+    });
+  },
+
+  after: function(view, nextView) {
+    nextView._insertElementLater(function() {
+      var element = view.$();
+      element.after(nextView.$());
+    });
+  },
+
+  replace: function(view) {
+    var element = get(view, 'element');
+
+    set(view, 'element', null);
+
+    view._insertElementLater(function() {
+      Ember.$(element).replaceWith(get(view, 'element'));
+    });
+  },
+
+  remove: function(view) {
+    var elem = get(view, 'element');
+
+    set(view, 'element', null);
+    view._lastInsert = null;
+
+    Ember.$(elem).remove();
+  },
+
+  empty: function(view) {
+    view.$().empty();
+  }
+};
+
+Ember.View.reopen({
+  states: Ember.View.states,
+  domManager: DOMManager
+});
+
+Ember.View.reopenClass({
+
+  /**
+    @private
+
+    Parse a path and return an object which holds the parsed properties.
+
+    For example a path like "content.isEnabled:enabled:disabled" wil return the
+    following object:
+
+        {
+          path: "content.isEnabled",
+          className: "enabled",
+          falsyClassName: "disabled",
+          classNames: ":enabled:disabled"
+        }
+
+  */
+  _parsePropertyPath: function(path) {
+    var split = path.split(/:/),
+        propertyPath = split[0],
+        classNames = "",
+        className,
+        falsyClassName;
+
+    // check if the property is defined as prop:class or prop:trueClass:falseClass
+    if (split.length > 1) {
+      className = split[1];
+      if (split.length === 3) { falsyClassName = split[2]; }
+
+      classNames = ':' + className;
+      if (falsyClassName) { classNames += ":" + falsyClassName; }
+    }
+
+    return {
+      path: propertyPath,
+      classNames: classNames,
+      className: (className === '') ? undefined : className,
+      falsyClassName: falsyClassName
+    };
+  },
+
+  /**
+    @private
+
+    Get the class name for a given value, based on the path, optional className
+    and optional falsyClassName.
+
+    - if the value is truthy and a className is defined, the className is returned
+    - if the value is true, the dasherized last part of the supplied path is returned
+    - if the value is false and a falsyClassName is supplied, the falsyClassName is returned
+    - if the value is truthy, the value is returned
+    - if none of the above rules apply, null is returned
+
+  */
+  _classStringForValue: function(path, val, className, falsyClassName) {
+    // If the value is truthy and we're using the colon syntax,
+    // we should return the className directly
+    if (!!val && className) {
+      return className;
+
+    // If value is a Boolean and true, return the dasherized property
+    // name.
+    } else if (val === true) {
+      // catch syntax like isEnabled::not-enabled
+      if (val === true && !className && falsyClassName) { return null; }
+
+      // Normalize property path to be suitable for use
+      // as a class name. For exaple, content.foo.barBaz
+      // becomes bar-baz.
+      var parts = path.split('.');
+      return Ember.String.dasherize(parts[parts.length-1]);
+
+    // If the value is false and a falsyClassName is specified, return it
+    } else if (val === false && falsyClassName) {
+      return falsyClassName;
+
+    // If the value is not false, undefined, or null, return the current
+    // value of the property.
+    } else if (val !== false && val !== undefined && val !== null) {
+      return val;
+
+    // Nothing to display. Return null so that the old class is removed
+    // but no new class is added.
+    } else {
+      return null;
+    }
+  }
+});
+
+// Create a global view hash.
+Ember.View.views = {};
+
+// If someone overrides the child views computed property when
+// defining their class, we want to be able to process the user's
+// supplied childViews and then restore the original computed property
+// at view initialization time. This happens in Ember.ContainerView's init
+// method.
+Ember.View.childViewsProperty = childViewsProperty;
+
+Ember.View.applyAttributeBindings = function(elem, name, value) {
+  var type = Ember.typeOf(value);
+  var currentValue = elem.attr(name);
+
+  // if this changes, also change the logic in ember-handlebars/lib/helpers/binding.js
+  if ((type === 'string' || (type === 'number' && !isNaN(value))) && value !== currentValue) {
+    elem.attr(name, value);
+  } else if (value && type === 'boolean') {
+    elem.attr(name, name);
+  } else if (!value) {
+    elem.removeAttr(name);
+  }
+};
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set;
+
+Ember.View.states = {
+  _default: {
+    // appendChild is only legal while rendering the buffer.
+    appendChild: function() {
+      throw "You can't use appendChild outside of the rendering process";
+    },
+
+    $: function() {
+      return undefined;
+    },
+
+    getElement: function() {
+      return null;
+    },
+
+    // Handle events from `Ember.EventDispatcher`
+    handleEvent: function() {
+      return true; // continue event propagation
+    },
+
+    destroyElement: function(view) {
+      set(view, 'element', null);
+      view._lastInsert = null;
+      return view;
+    }
+  }
+};
+
+Ember.View.reopen({
+  states: Ember.View.states
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+Ember.View.states.preRender = {
+  parentState: Ember.View.states._default,
+
+  // a view leaves the preRender state once its element has been
+  // created (createElement).
+  insertElement: function(view, fn) {
+    if (view._lastInsert !== Ember.guidFor(fn)){
+      return;
+    }
+    view.createElement();
+    view._notifyWillInsertElement();
+    // after createElement, the view will be in the hasElement state.
+    fn.call(view);
+    view.transitionTo('inDOM');
+    view._notifyDidInsertElement();
+  },
+
+  empty: Ember.K,
+
+  setElement: function(view, value) {
+    if (value !== null) {
+      view.transitionTo('hasElement');
+    }
+    return value;
+  }
+};
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set, meta = Ember.meta;
+
+Ember.View.states.inBuffer = {
+  parentState: Ember.View.states._default,
+
+  $: function(view, sel) {
+    // if we don't have an element yet, someone calling this.$() is
+    // trying to update an element that isn't in the DOM. Instead,
+    // rerender the view to allow the render method to reflect the
+    // changes.
+    view.rerender();
+    return Ember.$();
+  },
+
+  // when a view is rendered in a buffer, rerendering it simply
+  // replaces the existing buffer with a new one
+  rerender: function(view) {
+    Ember.deprecate("Something you did caused a view to re-render after it rendered but before it was inserted into the DOM. Because this is avoidable and the cause of significant performance issues in applications, this behavior is deprecated. If you want to use the debugger to find out what caused this, you can set ENV.RAISE_ON_DEPRECATION to true.");
+
+    view._notifyWillRerender();
+
+    view.clearRenderedChildren();
+    view.renderToBuffer(view.buffer, 'replaceWith');
+  },
+
+  // when a view is rendered in a buffer, appending a child
+  // view will render that view and append the resulting
+  // buffer into its buffer.
+  appendChild: function(view, childView, options) {
+    var buffer = view.buffer;
+
+    childView = this.createChildView(childView, options);
+    view._childViews.push(childView);
+
+    childView.renderToBuffer(buffer);
+
+    view.propertyDidChange('childViews');
+
+    return childView;
+  },
+
+  // when a view is rendered in a buffer, destroying the
+  // element will simply destroy the buffer and put the
+  // state back into the preRender state.
+  destroyElement: function(view) {
+    view.clearBuffer();
+    view._notifyWillDestroyElement();
+    view.transitionTo('preRender');
+
+    return view;
+  },
+
+  empty: function() {
+    Ember.assert("Emptying a view in the inBuffer state is not allowed and should not happen under normal circumstances. Most likely there is a bug in your application. This may be due to excessive property change notifications.");
+  },
+
+  // It should be impossible for a rendered view to be scheduled for
+  // insertion.
+  insertElement: function() {
+    throw "You can't insert an element that has already been rendered";
+  },
+
+  setElement: function(view, value) {
+    if (value === null) {
+      view.transitionTo('preRender');
+    } else {
+      view.clearBuffer();
+      view.transitionTo('hasElement');
+    }
+
+    return value;
+  }
+};
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set, meta = Ember.meta;
+
+Ember.View.states.hasElement = {
+  parentState: Ember.View.states._default,
+
+  $: function(view, sel) {
+    var elem = get(view, 'element');
+    return sel ? Ember.$(sel, elem) : Ember.$(elem);
+  },
+
+  getElement: function(view) {
+    var parent = get(view, 'parentView');
+    if (parent) { parent = get(parent, 'element'); }
+    if (parent) { return view.findElementInParentElement(parent); }
+    return Ember.$("#" + get(view, 'elementId'))[0];
+  },
+
+  setElement: function(view, value) {
+    if (value === null) {
+      view.transitionTo('preRender');
+    } else {
+      throw "You cannot set an element to a non-null value when the element is already in the DOM.";
+    }
+
+    return value;
+  },
+
+  // once the view has been inserted into the DOM, rerendering is
+  // deferred to allow bindings to synchronize.
+  rerender: function(view) {
+    view._notifyWillRerender();
+
+    view.clearRenderedChildren();
+
+    view.domManager.replace(view);
+    return view;
+  },
+
+  // once the view is already in the DOM, destroying it removes it
+  // from the DOM, nukes its element, and puts it back into the
+  // preRender state if inDOM.
+
+  destroyElement: function(view) {
+    view._notifyWillDestroyElement();
+    view.domManager.remove(view);
+    return view;
+  },
+
+  empty: function(view) {
+    var _childViews = view._childViews, len, idx;
+    if (_childViews) {
+      len = _childViews.length;
+      for (idx = 0; idx < len; idx++) {
+        _childViews[idx]._notifyWillDestroyElement();
+      }
+    }
+    view.domManager.empty(view);
+  },
+
+  // Handle events from `Ember.EventDispatcher`
+  handleEvent: function(view, eventName, evt) {
+    if (view.has(eventName)) {
+      // Handler should be able to re-dispatch events, so we don't
+      // preventDefault or stopPropagation.
+      return view.trigger(eventName, evt);
+    } else {
+      return true; // continue event propagation
+    }
+  }
+};
+
+Ember.View.states.inDOM = {
+  parentState: Ember.View.states.hasElement,
+
+  insertElement: function(view, fn) {
+    if (view._lastInsert !== Ember.guidFor(fn)){
+      return;
+    }
+    throw "You can't insert an element into the DOM that has already been inserted";
+  }
+};
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var destroyedError = "You can't call %@ on a destroyed view", fmt = Ember.String.fmt;
+
+Ember.View.states.destroyed = {
+  parentState: Ember.View.states._default,
+
+  appendChild: function() {
+    throw fmt(destroyedError, ['appendChild']);
+  },
+  rerender: function() {
+    throw fmt(destroyedError, ['rerender']);
+  },
+  destroyElement: function() {
+    throw fmt(destroyedError, ['destroyElement']);
+  },
+  empty: function() {
+    throw fmt(destroyedError, ['empty']);
+  },
+
+  setElement: function() {
+    throw fmt(destroyedError, ["set('element', ...)"]);
+  },
+
+  // Since element insertion is scheduled, don't do anything if
+  // the view has been destroyed between scheduling and execution
+  insertElement: Ember.K
+};
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set, meta = Ember.meta;
+var forEach = Ember.EnumerableUtils.forEach;
+
+var childViewsProperty = Ember.computed(function() {
+  return get(this, '_childViews');
+}).property('_childViews').cacheable();
+
+/**
+  @class
+
+  A `ContainerView` is an `Ember.View` subclass that allows for manual or programatic
+  management of a view's `childViews` array that will correctly update the `ContainerView`
+  instance's rendered DOM representation.
+
+  ## Setting Initial Child Views
+  The initial array of child views can be set in one of two ways. You can provide
+  a `childViews` property at creation time that contains instance of `Ember.View`:
+
+
+        aContainer = Ember.ContainerView.create({
+          childViews: [Ember.View.create(), Ember.View.create()]
+        })
+
+  You can also provide a list of property names whose values are instances of `Ember.View`:
+
+        aContainer = Ember.ContainerView.create({
+          childViews: ['aView', 'bView', 'cView'],
+          aView: Ember.View.create(),
+          bView: Ember.View.create()
+          cView: Ember.View.create()
+        })
+
+  The two strategies can be combined:
+
+        aContainer = Ember.ContainerView.create({
+          childViews: ['aView', Ember.View.create()],
+          aView: Ember.View.create()
+        })
+
+  Each child view's rendering will be inserted into the container's rendered HTML in the same
+  order as its position in the `childViews` property.
+
+  ## Adding and Removing Child Views
+  The views in a container's `childViews` array should be added and removed by manipulating
+  the `childViews` property directly.
+
+  To remove a view pass that view into a `removeObject` call on the container's `childViews` property.
+
+  Given an empty `<body>` the following code
+
+        aContainer = Ember.ContainerView.create({
+          classNames: ['the-container'],
+          childViews: ['aView', 'bView'],
+          aView: Ember.View.create({
+            template: Ember.Handlebars.compile("A")
+          }),
+          bView: Ember.View.create({
+            template: Ember.Handlebars.compile("B")
+          })
+        })
+
+        aContainer.appendTo('body')
+
+  Results in the HTML
+
+        <div class="ember-view the-container">
+          <div class="ember-view">A</div>
+          <div class="ember-view">B</div>
+        </div>
+
+  Removing a view
+
+        aContainer.get('childViews') // [aContainer.aView, aContainer.bView]
+        aContainer.get('childViews').removeObject(aContainer.get('bView'))
+        aContainer.get('childViews') // [aContainer.aView]
+
+  Will result in the following HTML
+
+        <div class="ember-view the-container">
+          <div class="ember-view">A</div>
+        </div>
+
+
+  Similarly, adding a child view is accomplished by adding `Ember.View` instances to the
+  container's `childViews` property.
+
+  Given an empty `<body>` the following code
+
+        aContainer = Ember.ContainerView.create({
+          classNames: ['the-container'],
+          childViews: ['aView', 'bView'],
+          aView: Ember.View.create({
+            template: Ember.Handlebars.compile("A")
+          }),
+          bView: Ember.View.create({
+            template: Ember.Handlebars.compile("B")
+          })
+        })
+
+        aContainer.appendTo('body')
+
+  Results in the HTML
+
+        <div class="ember-view the-container">
+          <div class="ember-view">A</div>
+          <div class="ember-view">B</div>
+        </div>
+
+  Adding a view
+
+        AnotherViewClass = Ember.View.extend({
+          template: Ember.Handlebars.compile("Another view")
+        })
+
+        aContainer.get('childViews') // [aContainer.aView, aContainer.bView]
+        aContainer.get('childViews').pushObject(AnotherViewClass.create())
+        aContainer.get('childViews') // [aContainer.aView, aContainer.bView, <AnotherViewClass instance>]
+
+  Will result in the following HTML
+
+        <div class="ember-view the-container">
+          <div class="ember-view">A</div>
+          <div class="ember-view">B</div>
+          <div class="ember-view">Another view</div>
+        </div>
+
+
+  Direct manipulation of childViews presence or absence in the DOM via calls to
+  `remove` or `removeFromParent` or calls to a container's `removeChild` may not behave
+  correctly.
+
+  Calling `remove()` on a child view will remove the view's HTML, but it will remain as part of its
+  container's `childView`s property.
+
+  Calling `removeChild()` on the container will remove the passed view instance from the container's
+  `childView`s but keep its HTML within the container's rendered view.
+
+  Calling `removeFromParent()` behaves as expected but should be avoided in favor of direct
+  manipulation of a container's `childViews` property.
+
+        aContainer = Ember.ContainerView.create({
+          classNames: ['the-container'],
+          childViews: ['aView', 'bView'],
+          aView: Ember.View.create({
+            template: Ember.Handlebars.compile("A")
+          }),
+          bView: Ember.View.create({
+            template: Ember.Handlebars.compile("B")
+          })
+        })
+
+        aContainer.appendTo('body')
+
+  Results in the HTML
+
+        <div class="ember-view the-container">
+          <div class="ember-view">A</div>
+          <div class="ember-view">B</div>
+        </div>
+
+  Calling `aContainer.get('aView').removeFromParent()` will result in the following HTML
+
+        <div class="ember-view the-container">
+          <div class="ember-view">B</div>
+        </div>
+
+  And the `Ember.View` instance stored in `aContainer.aView` will be removed from `aContainer`'s
+  `childViews` array.
+
+  ## Templates and Layout
+  A `template`, `templateName`, `defaultTemplate`, `layout`, `layoutName` or `defaultLayout`
+  property on a container view will not result in the template or layout being rendered.
+  The HTML contents of a `Ember.ContainerView`'s DOM representation will only be the rendered HTML
+  of its child views.
+
+  ## Binding a View to Display
+
+  If you would like to display a single view in your ContainerView, you can set its `currentView`
+  property. When the `currentView` property is set to a view instance, it will be added to the
+  ContainerView's `childViews` array. If the `currentView` property is later changed to a
+  different view, the new view will replace the old view. If `currentView` is set to `null`, the
+  last `currentView` will be removed.
+
+  This functionality is useful for cases where you want to bind the display of a ContainerView to
+  a controller or state manager. For example, you can bind the `currentView` of a container to
+  a controller like this:
+
+      // Controller
+      App.appController = Ember.Object.create({
+        view: Ember.View.create({
+          templateName: 'person_template'
+        })
+      });
+
+      // Handlebars template
+      {{view Ember.ContainerView currentViewBinding="App.appController.view"}}
+
+  @extends Ember.View
+*/
+
+Ember.ContainerView = Ember.View.extend({
+
+  init: function() {
+    this._super();
+
+    var childViews = get(this, 'childViews');
+    Ember.defineProperty(this, 'childViews', childViewsProperty);
+
+    var _childViews = this._childViews;
+
+    forEach(childViews, function(viewName, idx) {
+      var view;
+
+      if ('string' === typeof viewName) {
+        view = get(this, viewName);
+        view = this.createChildView(view);
+        set(this, viewName, view);
+      } else {
+        view = this.createChildView(viewName);
+      }
+
+      _childViews[idx] = view;
+    }, this);
+
+    var currentView = get(this, 'currentView');
+    if (currentView) _childViews.push(this.createChildView(currentView));
+
+    // Make the _childViews array observable
+    Ember.A(_childViews);
+
+    // Sets up an array observer on the child views array. This
+    // observer will detect when child views are added or removed
+    // and update the DOM to reflect the mutation.
+    get(this, 'childViews').addArrayObserver(this, {
+      willChange: 'childViewsWillChange',
+      didChange: 'childViewsDidChange'
+    });
+  },
+
+  /**
+    Instructs each child view to render to the passed render buffer.
+
+    @param {Ember.RenderBuffer} buffer the buffer to render to
+    @private
+  */
+  render: function(buffer) {
+    this.forEachChildView(function(view) {
+      view.renderToBuffer(buffer);
+    });
+  },
+
+  /**
+    When the container view is destroyed, tear down the child views
+    array observer.
+
+    @private
+  */
+  willDestroy: function() {
+    get(this, 'childViews').removeArrayObserver(this, {
+      willChange: 'childViewsWillChange',
+      didChange: 'childViewsDidChange'
+    });
+
+    this._super();
+  },
+
+  /**
+    When a child view is removed, destroy its element so that
+    it is removed from the DOM.
+
+    The array observer that triggers this action is set up in the
+    `renderToBuffer` method.
+
+    @private
+    @param {Ember.Array} views the child views array before mutation
+    @param {Number} start the start position of the mutation
+    @param {Number} removed the number of child views removed
+  **/
+  childViewsWillChange: function(views, start, removed) {
+    if (removed === 0) { return; }
+
+    var changedViews = views.slice(start, start+removed);
+    this.initializeViews(changedViews, null, null);
+
+    this.invokeForState('childViewsWillChange', views, start, removed);
+  },
+
+  /**
+    When a child view is added, make sure the DOM gets updated appropriately.
+
+    If the view has already rendered an element, we tell the child view to
+    create an element and insert it into the DOM. If the enclosing container view
+    has already written to a buffer, but not yet converted that buffer into an
+    element, we insert the string representation of the child into the appropriate
+    place in the buffer.
+
+    @private
+    @param {Ember.Array} views the array of child views afte the mutation has occurred
+    @param {Number} start the start position of the mutation
+    @param {Number} removed the number of child views removed
+    @param {Number} the number of child views added
+  */
+  childViewsDidChange: function(views, start, removed, added) {
+    var len = get(views, 'length');
+
+    // No new child views were added; bail out.
+    if (added === 0) return;
+
+    var changedViews = views.slice(start, start+added);
+    this.initializeViews(changedViews, this, get(this, 'templateData'));
+
+    // Let the current state handle the changes
+    this.invokeForState('childViewsDidChange', views, start, added);
+  },
+
+  initializeViews: function(views, parentView, templateData) {
+    forEach(views, function(view) {
+      set(view, '_parentView', parentView);
+
+      if (!get(view, 'templateData')) {
+        set(view, 'templateData', templateData);
+      }
+    });
+  },
+
+  /**
+    Schedules a child view to be inserted into the DOM after bindings have
+    finished syncing for this run loop.
+
+    @param {Ember.View} view the child view to insert
+    @param {Ember.View} prev the child view after which the specified view should
+                     be inserted
+    @private
+  */
+  _scheduleInsertion: function(view, prev) {
+    if (prev) {
+      prev.domManager.after(prev, view);
+    } else {
+      this.domManager.prepend(this, view);
+    }
+  },
+
+  currentView: null,
+
+  _currentViewWillChange: Ember.beforeObserver(function() {
+    var childViews = get(this, 'childViews'),
+        currentView = get(this, 'currentView');
+
+    if (currentView) {
+      childViews.removeObject(currentView);
+      currentView.destroy();
+    }
+  }, 'currentView'),
+
+  _currentViewDidChange: Ember.observer(function() {
+    var childViews = get(this, 'childViews'),
+        currentView = get(this, 'currentView');
+
+    if (currentView) {
+      childViews.pushObject(currentView);
+    }
+  }, 'currentView')
+});
+
+// Ember.ContainerView extends the default view states to provide different
+// behavior for childViewsWillChange and childViewsDidChange.
+Ember.ContainerView.states = {
+  parent: Ember.View.states,
+
+  inBuffer: {
+    childViewsDidChange: function(parentView, views, start, added) {
+      var buffer = parentView.buffer,
+          startWith, prev, prevBuffer, view;
+
+      // Determine where to begin inserting the child view(s) in the
+      // render buffer.
+      if (start === 0) {
+        // If views were inserted at the beginning, prepend the first
+        // view to the render buffer, then begin inserting any
+        // additional views at the beginning.
+        view = views[start];
+        startWith = start + 1;
+        view.renderToBuffer(buffer, 'prepend');
+      } else {
+        // Otherwise, just insert them at the same place as the child
+        // views mutation.
+        view = views[start - 1];
+        startWith = start;
+      }
+
+      for (var i=startWith; i<start+added; i++) {
+        prev = view;
+        view = views[i];
+        prevBuffer = prev.buffer;
+        view.renderToBuffer(prevBuffer, 'insertAfter');
+      }
+    }
+  },
+
+  hasElement: {
+    childViewsWillChange: function(view, views, start, removed) {
+      for (var i=start; i<start+removed; i++) {
+        views[i].remove();
+      }
+    },
+
+    childViewsDidChange: function(view, views, start, added) {
+      // If the DOM element for this container view already exists,
+      // schedule each child view to insert its DOM representation after
+      // bindings have finished syncing.
+      var prev = start === 0 ? null : views[start-1];
+
+      for (var i=start; i<start+added; i++) {
+        view = views[i];
+        this._scheduleInsertion(view, prev);
+        prev = view;
+      }
+    }
+  }
+};
+
+Ember.ContainerView.states.inDOM = {
+  parentState: Ember.ContainerView.states.hasElement
+};
+
+Ember.ContainerView.reopen({
+  states: Ember.ContainerView.states
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set, fmt = Ember.String.fmt;
+
+/**
+  @class
+
+  `Ember.CollectionView` is an `Ember.View` descendent responsible for managing a
+  collection (an array or array-like object) by maintaing a child view object and
+  associated DOM representation for each item in the array and ensuring that child
+  views and their associated rendered HTML are updated when items in the array
+  are added, removed, or replaced.
+
+  ## Setting content
+  The managed collection of objects is referenced as the `Ember.CollectionView` instance's
+  `content` property.
+
+      someItemsView = Ember.CollectionView.create({
+        content: ['A', 'B','C']
+      })
+
+  The view for each item in the collection will have its `content` property set
+  to the item.
+
+  ## Specifying itemViewClass
+  By default the view class for each item in the managed collection will be an instance
+  of `Ember.View`. You can supply a different class by setting the `CollectionView`'s
+  `itemViewClass` property.
+
+  Given an empty `<body>` and the following code:
+
+
+        someItemsView = Ember.CollectionView.create({
+          classNames: ['a-collection'],
+          content: ['A','B','C'],
+          itemViewClass: Ember.View.extend({
+            template: Ember.Handlebars.compile("the letter: {{view.content}}")
+          })
+        })
+
+        someItemsView.appendTo('body')
+
+  Will result in the following HTML structure
+
+        <div class="ember-view a-collection">
+          <div class="ember-view">the letter: A</div>
+          <div class="ember-view">the letter: B</div>
+          <div class="ember-view">the letter: C</div>
+        </div>
+
+  ## Automatic matching of parent/child tagNames
+
+  Setting the `tagName` property of a `CollectionView` to any of
+  "ul", "ol", "table", "thead", "tbody", "tfoot", "tr", or "select" will result
+  in the item views receiving an appropriately matched `tagName` property.
+
+
+  Given an empty `<body>` and the following code:
+
+        anUndorderedListView = Ember.CollectionView.create({
+          tagName: 'ul',
+          content: ['A','B','C'],
+          itemViewClass: Ember.View.extend({
+            template: Ember.Handlebars.compile("the letter: {{view.content}}")
+          })
+        })
+
+        anUndorderedListView.appendTo('body')
+
+  Will result in the following HTML structure
+
+        <ul class="ember-view a-collection">
+          <li class="ember-view">the letter: A</li>
+          <li class="ember-view">the letter: B</li>
+          <li class="ember-view">the letter: C</li>
+        </ul>
+
+  Additional tagName pairs can be provided by adding to `Ember.CollectionView.CONTAINER_MAP `
+
+        Ember.CollectionView.CONTAINER_MAP['article'] = 'section'
+
+
+  ## Empty View
+  You can provide an `Ember.View` subclass to the `Ember.CollectionView` instance as its
+  `emptyView` property. If the `content` property of a `CollectionView` is set to `null`
+  or an empty array, an instance of this view will be the `CollectionView`s only child.
+
+        aListWithNothing = Ember.CollectionView.create({
+          classNames: ['nothing']
+          content: null,
+          emptyView: Ember.View.extend({
+            template: Ember.Handlebars.compile("The collection is empty")
+          })
+        })
+
+        aListWithNothing.appendTo('body')
+
+  Will result in the following HTML structure
+
+        <div class="ember-view nothing">
+          <div class="ember-view">
+            The collection is empty
+          </div>
+        </div>
+
+  ## Adding and Removing items
+  The `childViews` property of a `CollectionView` should not be directly manipulated. Instead,
+  add, remove, replace items from its `content` property. This will trigger
+  appropriate changes to its rendered HTML.
+
+  ## Use in templates via the `{{collection}}` Ember.Handlebars helper
+  Ember.Handlebars provides a helper specifically for adding `CollectionView`s to templates.
+  See `Ember.Handlebars.collection` for more details
+
+  @since Ember 0.9
+  @extends Ember.ContainerView
+*/
+Ember.CollectionView = Ember.ContainerView.extend(
+/** @scope Ember.CollectionView.prototype */ {
+
+  /**
+    A list of items to be displayed by the Ember.CollectionView.
+
+    @type Ember.Array
+    @default null
+  */
+  content: null,
+
+  /**
+    @private
+
+    This provides metadata about what kind of empty view class this
+    collection would like if it is being instantiated from another
+    system (like Handlebars)
+  */
+  emptyViewClass: Ember.View,
+
+  /**
+    An optional view to display if content is set to an empty array.
+
+    @type Ember.View
+    @default null
+  */
+  emptyView: null,
+
+  /**
+    @type Ember.View
+    @default Ember.View
+  */
+  itemViewClass: Ember.View,
+
+  /** @private */
+  init: function() {
+    var ret = this._super();
+    this._contentDidChange();
+    return ret;
+  },
+
+  _contentWillChange: Ember.beforeObserver(function() {
+    var content = this.get('content');
+
+    if (content) { content.removeArrayObserver(this); }
+    var len = content ? get(content, 'length') : 0;
+    this.arrayWillChange(content, 0, len);
+  }, 'content'),
+
+  /**
+    @private
+
+    Check to make sure that the content has changed, and if so,
+    update the children directly. This is always scheduled
+    asynchronously, to allow the element to be created before
+    bindings have synchronized and vice versa.
+  */
+  _contentDidChange: Ember.observer(function() {
+    var content = get(this, 'content');
+
+    if (content) {
+      Ember.assert(fmt("an Ember.CollectionView's content must implement Ember.Array. You passed %@", [content]), Ember.Array.detect(content));
+      content.addArrayObserver(this);
+    }
+
+    var len = content ? get(content, 'length') : 0;
+    this.arrayDidChange(content, 0, null, len);
+  }, 'content'),
+
+  willDestroy: function() {
+    var content = get(this, 'content');
+    if (content) { content.removeArrayObserver(this); }
+
+    this._super();
+  },
+
+  arrayWillChange: function(content, start, removedCount) {
+    // If the contents were empty before and this template collection has an
+    // empty view remove it now.
+    var emptyView = get(this, 'emptyView');
+    if (emptyView && emptyView instanceof Ember.View) {
+      emptyView.removeFromParent();
+    }
+
+    // Loop through child views that correspond with the removed items.
+    // Note that we loop from the end of the array to the beginning because
+    // we are mutating it as we go.
+    var childViews = get(this, 'childViews'), childView, idx, len;
+
+    len = get(childViews, 'length');
+
+    var removingAll = removedCount === len;
+
+    if (removingAll) {
+      this.invokeForState('empty');
+    }
+
+    for (idx = start + removedCount - 1; idx >= start; idx--) {
+      childView = childViews[idx];
+      if (removingAll) { childView.removedFromDOM = true; }
+      childView.destroy();
+    }
+  },
+
+  /**
+    Called when a mutation to the underlying content array occurs.
+
+    This method will replay that mutation against the views that compose the
+    Ember.CollectionView, ensuring that the view reflects the model.
+
+    This array observer is added in contentDidChange.
+
+    @param {Array} addedObjects
+      the objects that were added to the content
+
+    @param {Array} removedObjects
+      the objects that were removed from the content
+
+    @param {Number} changeIndex
+      the index at which the changes occurred
+  */
+  arrayDidChange: function(content, start, removed, added) {
+    var itemViewClass = get(this, 'itemViewClass'),
+        childViews = get(this, 'childViews'),
+        addedViews = [], view, item, idx, len, itemTagName;
+
+    if ('string' === typeof itemViewClass) {
+      itemViewClass = get(itemViewClass);
+    }
+
+    Ember.assert(fmt("itemViewClass must be a subclass of Ember.View, not %@", [itemViewClass]), Ember.View.detect(itemViewClass));
+
+    len = content ? get(content, 'length') : 0;
+    if (len) {
+      for (idx = start; idx < start+added; idx++) {
+        item = content.objectAt(idx);
+
+        view = this.createChildView(itemViewClass, {
+          content: item,
+          contentIndex: idx
+        });
+
+        addedViews.push(view);
+      }
+    } else {
+      var emptyView = get(this, 'emptyView');
+      if (!emptyView) { return; }
+
+      emptyView = this.createChildView(emptyView);
+      addedViews.push(emptyView);
+      set(this, 'emptyView', emptyView);
+    }
+    childViews.replace(start, 0, addedViews);
+  },
+
+  createChildView: function(view, attrs) {
+    view = this._super(view, attrs);
+
+    var itemTagName = get(view, 'tagName');
+    var tagName = (itemTagName === null || itemTagName === undefined) ? Ember.CollectionView.CONTAINER_MAP[get(this, 'tagName')] : itemTagName;
+
+    set(view, 'tagName', tagName);
+
+    return view;
+  }
+});
+
+/**
+  @static
+
+  A map of parent tags to their default child tags. You can add
+  additional parent tags if you want collection views that use
+  a particular parent tag to default to a child tag.
+
+  @type Hash
+  @constant
+*/
+Ember.CollectionView.CONTAINER_MAP = {
+  ul: 'li',
+  ol: 'li',
+  table: 'tr',
+  thead: 'tr',
+  tbody: 'tr',
+  tfoot: 'tr',
+  tr: 'td',
+  select: 'option'
+};
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2006-2011 Strobe Inc. and contributors.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+/*globals jQuery*/
+
+})();
+
+(function() {
+var get = Ember.get, set = Ember.set;
+
+/**
+  @class
+
+  @extends Ember.Object
+*/
+Ember.State = Ember.Object.extend(Ember.Evented,
+/** @scope Ember.State.prototype */{
+  isState: true,
+
+  /**
+    A reference to the parent state.
+
+    @type Ember.State
+  */
+  parentState: null,
+  start: null,
+
+  /**
+    The name of this state.
+
+    @type String
+  */
+  name: null,
+
+  /**
+    The full path to this state.
+
+    @type String
+    @readOnly
+  */
+  path: Ember.computed(function() {
+    var parentPath = get(this, 'parentState.path'),
+        path = get(this, 'name');
+
+    if (parentPath) {
+      path = parentPath + '.' + path;
+    }
+
+    return path;
+  }).property().cacheable(),
+
+  /**
+    @private
+
+    Override the default event firing from Ember.Evented to
+    also call methods with the given name.
+  */
+  trigger: function(name) {
+    if (this[name]) {
+      this[name].apply(this, [].slice.call(arguments, 1));
+    }
+    this._super.apply(this, arguments);
+  },
+
+  /** @private */
+  init: function() {
+    var states = get(this, 'states'), foundStates;
+    set(this, 'childStates', Ember.A());
+    set(this, 'eventTransitions', get(this, 'eventTransitions') || {});
+
+    var name, value, transitionTarget;
+
+    // As a convenience, loop over the properties
+    // of this state and look for any that are other
+    // Ember.State instances or classes, and move them
+    // to the `states` hash. This avoids having to
+    // create an explicit separate hash.
+
+    if (!states) {
+      states = {};
+
+      for (name in this) {
+        if (name === "constructor") { continue; }
+
+        if (value = this[name]) {
+          if (transitionTarget = value.transitionTarget) {
+            this.eventTransitions[name] = transitionTarget;
+          }
+
+          this.setupChild(states, name, value);
+        }
+      }
+
+      set(this, 'states', states);
+    } else {
+      for (name in states) {
+        this.setupChild(states, name, states[name]);
+      }
+    }
+
+    set(this, 'pathsCache', {});
+    set(this, 'pathsCacheNoContext', {});
+  },
+
+  /** @private */
+  setupChild: function(states, name, value) {
+    if (!value) { return false; }
+
+    if (value.isState) {
+      set(value, 'name', name);
+    } else if (Ember.State.detect(value)) {
+      value = value.create({
+        name: name
+      });
+    }
+
+    if (value.isState) {
+      set(value, 'parentState', this);
+      get(this, 'childStates').pushObject(value);
+      states[name] = value;
+    }
+  },
+
+  lookupEventTransition: function(name) {
+    var path, state = this;
+
+    while(state && !path) {
+      path = state.eventTransitions[name];
+      state = state.get('parentState');
+    }
+
+    return path;
+  },
+
+  /**
+    A Boolean value indicating whether the state is a leaf state
+    in the state hierarchy. This is false if the state has child
+    states; otherwise it is true.
+
+    @type Boolean
+  */
+  isLeaf: Ember.computed(function() {
+    return !get(this, 'childStates').length;
+  }).cacheable(),
+
+  /**
+    A boolean value indicating whether the state takes a context.
+    By default we assume all states take contexts.
+  */
+  hasContext: true,
+
+  /**
+    This is the default transition event.
+
+    @event
+    @param {Ember.StateManager} manager
+    @param context
+    @see Ember.StateManager#transitionEvent
+  */
+  setup: Ember.K,
+
+  /**
+    This event fires when the state is entered.
+
+    @event
+    @param {Ember.StateManager} manager
+  */
+  enter: Ember.K,
+
+  /**
+    This event fires when the state is exited.
+
+    @event
+    @param {Ember.StateManager} manager
+  */
+  exit: Ember.K
+});
+
+var Event = Ember.$ && Ember.$.Event;
+
+Ember.State.reopenClass(
+/** @scope Ember.State */{
+
+  /**
+  @static
+
+  Creates an action function for transitioning to the named state while preserving context.
+
+  The following example StateManagers are equivalent:
+
+      aManager = Ember.StateManager.create({
+        stateOne: Ember.State.create({
+          changeToStateTwo: Ember.State.transitionTo('stateTwo')
+        }),
+        stateTwo: Ember.State.create({})
+      })
+
+      bManager = Ember.StateManager.create({
+        stateOne: Ember.State.create({
+          changeToStateTwo: function(manager, context){
+            manager.transitionTo('stateTwo', context)
+          }
+        }),
+        stateTwo: Ember.State.create({})
+      })
+
+  @param {String} target
+  */
+  transitionTo: function(target) {
+    var event = function(stateManager, context) {
+      if (Event && context instanceof Event) {
+        if (context.hasOwnProperty('context')) {
+          context = context.context;
+        } else {
+          // If we received an event and it doesn't contain
+          // a context, don't pass along a superfluous
+          // context to the target of the event.
+          return stateManager.transitionTo(target);
+        }
+      }
+
+      stateManager.transitionTo(target, context);
+    };
+
+    event.transitionTarget = target;
+
+    return event;
+  }
+});
+
+})();
+
+
+
+(function() {
+var get = Ember.get, set = Ember.set, fmt = Ember.String.fmt;
+var arrayForEach = Ember.ArrayPolyfills.forEach;
+/**
+  @private
+
+  A Transition takes the enter, exit and resolve states and normalizes
+  them:
+
+  * takes any passed in contexts into consideration
+  * adds in `initialState`s
+*/
+var Transition = function(raw) {
+  this.enterStates = raw.enterStates.slice();
+  this.exitStates = raw.exitStates.slice();
+  this.resolveState = raw.resolveState;
+
+  this.finalState = raw.enterStates[raw.enterStates.length - 1] || raw.resolveState;
+};
+
+Transition.prototype = {
+  /**
+    @private
+
+    Normalize the passed in enter, exit and resolve states.
+
+    This process also adds `finalState` and `contexts` to the Transition object.
+
+    @param {Ember.StateManager} manager the state manager running the transition
+    @param {Array} contexts a list of contexts passed into `transitionTo`
+  */
+  normalize: function(manager, contexts) {
+    this.matchContextsToStates(contexts);
+    this.addInitialStates();
+    this.removeUnchangedContexts(manager);
+    return this;
+  },
+
+  /**
+    @private
+
+    Match each of the contexts passed to `transitionTo` to a state.
+    This process may also require adding additional enter and exit
+    states if there are more contexts than enter states.
+
+    @param {Array} contexts a list of contexts passed into `transitionTo`
+  */
+  matchContextsToStates: function(contexts) {
+    var stateIdx = this.enterStates.length - 1,
+        matchedContexts = [],
+        state,
+        context;
+
+    // Next, we will match the passed in contexts to the states they
+    // represent.
+    //
+    // First, assign a context to each enter state in reverse order. If
+    // any contexts are left, add a parent state to the list of states
+    // to enter and exit, and assign a context to the parent state.
+    //
+    // If there are still contexts left when the state manager is
+    // reached, raise an exception.
+    //
+    // This allows the following:
+    //
+    // |- root
+    // | |- post
+    // | | |- comments
+    // | |- about (* current state)
+    //
+    // For `transitionTo('post.comments', post, post.get('comments')`,
+    // the first context (`post`) will be assigned to `root.post`, and
+    // the second context (`post.get('comments')`) will be assigned
+    // to `root.post.comments`.
+    //
+    // For the following:
+    //
+    // |- root
+    // | |- post
+    // | | |- index (* current state)
+    // | | |- comments
+    //
+    // For `transitionTo('post.comments', otherPost, otherPost.get('comments')`,
+    // the `<root.post>` state will be added to the list of enter and exit
+    // states because its context has changed.
+
+    while (contexts.length > 0) {
+      if (stateIdx >= 0) {
+        state = this.enterStates[stateIdx--];
+      } else {
+        if (this.enterStates.length) {
+          state = get(this.enterStates[0], 'parentState');
+          if (!state) { throw "Cannot match all contexts to states"; }
+        } else {
+          // If re-entering the current state with a context, the resolve
+          // state will be the current state.
+          state = this.resolveState;
+        }
+
+        this.enterStates.unshift(state);
+        this.exitStates.unshift(state);
+      }
+
+      // in routers, only states with dynamic segments have a context
+      if (get(state, 'hasContext')) {
+        context = contexts.pop();
+      } else {
+        context = null;
+      }
+
+      matchedContexts.unshift(context);
+    }
+
+    this.contexts = matchedContexts;
+  },
+
+  /**
+    @private
+
+    Add any `initialState`s to the list of enter states.
+  */
+  addInitialStates: function() {
+    var finalState = this.finalState, initialState;
+
+    while(true) {
+      initialState = get(finalState, 'initialState') || 'start';
+      finalState = get(finalState, 'states.' + initialState);
+
+      if (!finalState) { break; }
+
+      this.finalState = finalState;
+      this.enterStates.push(finalState);
+      this.contexts.push(undefined);
+    }
+  },
+
+  /**
+    @private
+
+    Remove any states that were added because the number of contexts
+    exceeded the number of explicit enter states, but the context has
+    not changed since the last time the state was entered.
+
+    @param {Ember.StateManager} manager passed in to look up the last
+      context for a states
+  */
+  removeUnchangedContexts: function(manager) {
+    // Start from the beginning of the enter states. If the state was added
+    // to the list during the context matching phase, make sure the context
+    // has actually changed since the last time the state was entered.
+    while (this.enterStates.length > 0) {
+      if (this.enterStates[0] !== this.exitStates[0]) { break; }
+
+      if (this.enterStates.length === this.contexts.length) {
+        if (manager.getStateMeta(this.enterStates[0], 'context') !== this.contexts[0]) { break; }
+        this.contexts.shift();
+      }
+
+      this.resolveState = this.enterStates.shift();
+      this.exitStates.shift();
+    }
+  }
+};
+
+/**
+  @class
+
+  StateManager is part of Ember's implementation of a finite state machine. A StateManager
+  instance manages a number of properties that are instances of `Ember.State`,
+  tracks the current active state, and triggers callbacks when states have changed.
+
+  ## Defining States
+
+  The states of StateManager can be declared in one of two ways. First, you can define
+  a `states` property that contains all the states:
+
+      managerA = Ember.StateManager.create({
+        states: {
+          stateOne: Ember.State.create(),
+          stateTwo: Ember.State.create()
+        }
+      })
+
+      managerA.get('states')
+      // {
+      //   stateOne: Ember.State.create(),
+      //   stateTwo: Ember.State.create()
+      // }
+
+  You can also add instances of `Ember.State` (or an `Ember.State` subclass) directly as properties
+  of a StateManager. These states will be collected into the `states` property for you.
+
+      managerA = Ember.StateManager.create({
+        stateOne: Ember.State.create(),
+        stateTwo: Ember.State.create()
+      })
+
+      managerA.get('states')
+      // {
+      //   stateOne: Ember.State.create(),
+      //   stateTwo: Ember.State.create()
+      // }
+
+  ## The Initial State
+  When created a StateManager instance will immediately enter into the state
+  defined as its `start` property or the state referenced by name in its
+  `initialState` property:
+
+      managerA = Ember.StateManager.create({
+        start: Ember.State.create({})
+      })
+
+      managerA.get('currentState.name') // 'start'
+
+      managerB = Ember.StateManager.create({
+        initialState: 'beginHere',
+        beginHere: Ember.State.create({})
+      })
+
+      managerB.get('currentState.name') // 'beginHere'
+
+  Because it is a property you may also provide a computed function if you wish to derive
+  an `initialState` programmatically:
+
+      managerC = Ember.StateManager.create({
+        initialState: function(){
+          if (someLogic) {
+            return 'active';
+          } else {
+            return 'passive';
+          }
+        }.property(),
+        active: Ember.State.create({}),
+        passive: Ember.State.create({})
+      })
+
+  ## Moving Between States
+  A StateManager can have any number of Ember.State objects as properties
+  and can have a single one of these states as its current state.
+
+  Calling `transitionTo` transitions between states:
+
+      robotManager = Ember.StateManager.create({
+        initialState: 'poweredDown',
+        poweredDown: Ember.State.create({}),
+        poweredUp: Ember.State.create({})
+      })
+
+      robotManager.get('currentState.name') // 'poweredDown'
+      robotManager.transitionTo('poweredUp')
+      robotManager.get('currentState.name') // 'poweredUp'
+
+  Before transitioning into a new state the existing `currentState` will have its
+  `exit` method called with the StateManager instance as its first argument and
+  an object representing the transition as its second argument.
+
+  After transitioning into a new state the new `currentState` will have its
+  `enter` method called with the StateManager instance as its first argument and
+  an object representing the transition as its second argument.
+
+      robotManager = Ember.StateManager.create({
+        initialState: 'poweredDown',
+        poweredDown: Ember.State.create({
+          exit: function(stateManager){
+            console.log("exiting the poweredDown state")
+          }
+        }),
+        poweredUp: Ember.State.create({
+          enter: function(stateManager){
+            console.log("entering the poweredUp state. Destroy all humans.")
+          }
+        })
+      })
+
+      robotManager.get('currentState.name') // 'poweredDown'
+      robotManager.transitionTo('poweredUp')
+      // will log
+      // 'exiting the poweredDown state'
+      // 'entering the poweredUp state. Destroy all humans.'
+
+
+  Once a StateManager is already in a state, subsequent attempts to enter that state will
+  not trigger enter or exit method calls. Attempts to transition into a state that the
+  manager does not have will result in no changes in the StateManager's current state:
+
+      robotManager = Ember.StateManager.create({
+        initialState: 'poweredDown',
+        poweredDown: Ember.State.create({
+          exit: function(stateManager){
+            console.log("exiting the poweredDown state")
+          }
+        }),
+        poweredUp: Ember.State.create({
+          enter: function(stateManager){
+            console.log("entering the poweredUp state. Destroy all humans.")
+          }
+        })
+      })
+
+      robotManager.get('currentState.name') // 'poweredDown'
+      robotManager.transitionTo('poweredUp')
+      // will log
+      // 'exiting the poweredDown state'
+      // 'entering the poweredUp state. Destroy all humans.'
+      robotManager.transitionTo('poweredUp') // no logging, no state change
+
+      robotManager.transitionTo('someUnknownState') // silently fails
+      robotManager.get('currentState.name') // 'poweredUp'
+
+
+  Each state property may itself contain properties that are instances of Ember.State.
+  The StateManager can transition to specific sub-states in a series of transitionTo method calls or
+  via a single transitionTo with the full path to the specific state. The StateManager will also
+  keep track of the full path to its currentState
+
+      robotManager = Ember.StateManager.create({
+        initialState: 'poweredDown',
+        poweredDown: Ember.State.create({
+          charging: Ember.State.create(),
+          charged: Ember.State.create()
+        }),
+        poweredUp: Ember.State.create({
+          mobile: Ember.State.create(),
+          stationary: Ember.State.create()
+        })
+      })
+
+      robotManager.get('currentState.name') // 'poweredDown'
+
+      robotManager.transitionTo('poweredUp')
+      robotManager.get('currentState.name') // 'poweredUp'
+
+      robotManager.transitionTo('mobile')
+      robotManager.get('currentState.name') // 'mobile'
+
+      // transition via a state path
+      robotManager.transitionTo('poweredDown.charging')
+      robotManager.get('currentState.name') // 'charging'
+
+      robotManager.get('currentState.path') // 'poweredDown.charging'
+
+  Enter transition methods will be called for each state and nested child state in their
+  hierarchical order.  Exit methods will be called for each state and its nested states in
+  reverse hierarchical order.
+
+  Exit transitions for a parent state are not called when entering into one of its child states,
+  only when transitioning to a new section of possible states in the hierarchy.
+
+      robotManager = Ember.StateManager.create({
+        initialState: 'poweredDown',
+        poweredDown: Ember.State.create({
+          enter: function(){},
+          exit: function(){
+            console.log("exited poweredDown state")
+          },
+          charging: Ember.State.create({
+            enter: function(){},
+            exit: function(){}
+          }),
+          charged: Ember.State.create({
+            enter: function(){
+              console.log("entered charged state")
+            },
+            exit: function(){
+              console.log("exited charged state")
+            }
+          })
+        }),
+        poweredUp: Ember.State.create({
+          enter: function(){
+            console.log("entered poweredUp state")
+          },
+          exit: function(){},
+          mobile: Ember.State.create({
+            enter: function(){
+              console.log("entered mobile state")
+            },
+            exit: function(){}
+          }),
+          stationary: Ember.State.create({
+            enter: function(){},
+            exit: function(){}
+          })
+        })
+      })
+
+
+      robotManager.get('currentState.path') // 'poweredDown'
+      robotManager.transitionTo('charged')
+      // logs 'entered charged state'
+      // but does *not* log  'exited poweredDown state'
+      robotManager.get('currentState.name') // 'charged
+
+      robotManager.transitionTo('poweredUp.mobile')
+      // logs
+      // 'exited charged state'
+      // 'exited poweredDown state'
+      // 'entered poweredUp state'
+      // 'entered mobile state'
+
+  During development you can set a StateManager's `enableLogging` property to `true` to
+  receive console messages of state transitions.
+
+      robotManager = Ember.StateManager.create({
+        enableLogging: true
+      })
+
+  ## Managing currentState with Actions
+  To control which transitions between states are possible for a given state, StateManager
+  can receive and route action messages to its states via the `send` method.  Calling to `send` with
+  an action name will begin searching for a method with the same name starting at the current state
+  and moving up through the parent states in a state hierarchy until an appropriate method is found
+  or the StateManager instance itself is reached.
+
+  If an appropriately named method is found it will be called with the state manager as the first
+  argument and an optional `context` object as the second argument.
+
+      managerA = Ember.StateManager.create({
+        initialState: 'stateOne.substateOne.subsubstateOne',
+        stateOne: Ember.State.create({
+          substateOne: Ember.State.create({
+            anAction: function(manager, context){
+              console.log("an action was called")
+            },
+            subsubstateOne: Ember.State.create({})
+          })
+        })
+      })
+
+      managerA.get('currentState.name') // 'subsubstateOne'
+      managerA.send('anAction')
+      // 'stateOne.substateOne.subsubstateOne' has no anAction method
+      // so the 'anAction' method of 'stateOne.substateOne' is called
+      // and logs "an action was called"
+      // with managerA as the first argument
+      // and no second argument
+
+      someObject = {}
+      managerA.send('anAction', someObject)
+      // the 'anAction' method of 'stateOne.substateOne' is called again
+      // with managerA as the first argument and
+      // someObject as the second argument.
+
+
+  If the StateManager attempts to send an action but does not find an appropriately named
+  method in the current state or while moving upwards through the state hierarchy
+  it will throw a new Ember.Error. Action detection only moves upwards through the state hierarchy
+  from the current state. It does not search in other portions of the hierarchy.
+
+      managerB = Ember.StateManager.create({
+        initialState: 'stateOne.substateOne.subsubstateOne',
+        stateOne: Ember.State.create({
+          substateOne: Ember.State.create({
+            subsubstateOne: Ember.State.create({})
+          })
+        }),
+        stateTwo: Ember.State.create({
+         anAction: function(manager, context){
+           // will not be called below because it is
+           // not a parent of the current state
+         }
+        })
+      })
+
+      managerB.get('currentState.name') // 'subsubstateOne'
+      managerB.send('anAction')
+      // Error: <Ember.StateManager:ember132> could not
+      // respond to event anAction in state stateOne.substateOne.subsubstateOne.
+
+  Inside of an action method the given state should delegate `transitionTo` calls on its
+  StateManager.
+
+      robotManager = Ember.StateManager.create({
+        initialState: 'poweredDown.charging',
+        poweredDown: Ember.State.create({
+          charging: Ember.State.create({
+            chargeComplete: function(manager, context){
+              manager.transitionTo('charged')
+            }
+          }),
+          charged: Ember.State.create({
+            boot: function(manager, context){
+              manager.transitionTo('poweredUp')
+            }
+          })
+        }),
+        poweredUp: Ember.State.create({
+          beginExtermination: function(manager, context){
+            manager.transitionTo('rampaging')
+          },
+          rampaging: Ember.State.create()
+        })
+      })
+
+      robotManager.get('currentState.name') // 'charging'
+      robotManager.send('boot') // throws error, no boot action
+                                // in current hierarchy
+      robotManager.get('currentState.name') // remains 'charging'
+
+      robotManager.send('beginExtermination') // throws error, no beginExtermination
+                                              // action in current hierarchy
+      robotManager.get('currentState.name') // remains 'charging'
+
+      robotManager.send('chargeComplete')
+      robotManager.get('currentState.name') // 'charged'
+
+      robotManager.send('boot')
+      robotManager.get('currentState.name') // 'poweredUp'
+
+      robotManager.send('beginExtermination', allHumans)
+      robotManager.get('currentState.name') // 'rampaging'
+
+  Transition actions can also be created using the `transitionTo` method of the Ember.State class. The
+  following example StateManagers are equivalent:
+
+      aManager = Ember.StateManager.create({
+        stateOne: Ember.State.create({
+          changeToStateTwo: Ember.State.transitionTo('stateTwo')
+        }),
+        stateTwo: Ember.State.create({})
+      })
+
+      bManager = Ember.StateManager.create({
+        stateOne: Ember.State.create({
+          changeToStateTwo: function(manager, context){
+            manager.transitionTo('stateTwo', context)
+          }
+        }),
+        stateTwo: Ember.State.create({})
+      })
+**/
+Ember.StateManager = Ember.State.extend(
+/** @scope Ember.StateManager.prototype */ {
+
+  /**
+    When creating a new statemanager, look for a default state to transition
+    into. This state can either be named `start`, or can be specified using the
+    `initialState` property.
+  */
+  init: function() {
+    this._super();
+
+    set(this, 'stateMeta', Ember.Map.create());
+
+    var initialState = get(this, 'initialState');
+
+    if (!initialState && get(this, 'states.start')) {
+      initialState = 'start';
+    }
+
+    if (initialState) {
+      this.transitionTo(initialState);
+      Ember.assert('Failed to transition to initial state "' + initialState + '"', !!get(this, 'currentState'));
+    }
+  },
+
+  stateMetaFor: function(state) {
+    var meta = get(this, 'stateMeta'),
+        stateMeta = meta.get(state);
+
+    if (!stateMeta) {
+      stateMeta = {};
+      meta.set(state, stateMeta);
+    }
+
+    return stateMeta;
+  },
+
+  setStateMeta: function(state, key, value) {
+    return set(this.stateMetaFor(state), key, value);
+  },
+
+  getStateMeta: function(state, key) {
+    return get(this.stateMetaFor(state), key);
+  },
+
+  /**
+    The current state from among the manager's possible states. This property should
+    not be set directly.  Use `transitionTo` to move between states by name.
+
+    @type Ember.State
+    @readOnly
+  */
+  currentState: null,
+
+  /**
+    The name of transitionEvent that this stateManager will dispatch
+
+    @property {String}
+    @default 'setup'
+  */
+  transitionEvent: 'setup',
+
+  /**
+    If set to true, `errorOnUnhandledEvents` will cause an exception to be
+    raised if you attempt to send an event to a state manager that is not
+    handled by the current state or any of its parent states.
+
+    @type Boolean
+    @default true
+  */
+  errorOnUnhandledEvent: true,
+
+  send: function(event, context) {
+    Ember.assert('Cannot send event "' + event + '" while currentState is ' + get(this, 'currentState'), get(this, 'currentState'));
+    return this.sendRecursively(event, get(this, 'currentState'), context);
+  },
+
+  sendRecursively: function(event, currentState, context) {
+    var log = this.enableLogging,
+        action = currentState[event];
+
+    // Test to see if the action is a method that
+    // can be invoked. Don't blindly check just for
+    // existence, because it is possible the state
+    // manager has a child state of the given name,
+    // and we should still raise an exception in that
+    // case.
+    if (typeof action === 'function') {
+      if (log) { Ember.Logger.log(fmt("STATEMANAGER: Sending event '%@' to state %@.", [event, get(currentState, 'path')])); }
+      return action.call(currentState, this, context);
+    } else {
+      var parentState = get(currentState, 'parentState');
+      if (parentState) {
+        return this.sendRecursively(event, parentState, context);
+      } else if (get(this, 'errorOnUnhandledEvent')) {
+        throw new Ember.Error(this.toString() + " could not respond to event " + event + " in state " + get(this, 'currentState.path') + ".");
+      }
+    }
+  },
+
+  /**
+    Finds a state by its state path.
+
+    Example:
+
+        manager = Ember.StateManager.create({
+          root: Ember.State.create({
+            dashboard: Ember.State.create()
+          })
+        });
+
+        manager.getStateByPath(manager, "root.dashboard")
+
+        // returns the dashboard state
+
+    @param {Ember.State} root the state to start searching from
+    @param {String} path the state path to follow
+    @returns {Ember.State} the state at the end of the path
+  */
+  getStateByPath: function(root, path) {
+    var parts = path.split('.'),
+        state = root;
+
+    for (var i=0, l=parts.length; i<l; i++) {
+      state = get(get(state, 'states'), parts[i]);
+      if (!state) { break; }
+    }
+
+    return state;
+  },
+
+  findStateByPath: function(state, path) {
+    var possible;
+
+    while (!possible && state) {
+      possible = this.getStateByPath(state, path);
+      state = get(state, 'parentState');
+    }
+
+    return possible;
+  },
+
+  /**
+    @private
+
+    A state stores its child states in its `states` hash.
+    This code takes a path like `posts.show` and looks
+    up `origin.states.posts.states.show`.
+
+    It returns a list of all of the states from the
+    origin, which is the list of states to call `enter`
+    on.
+  */
+  findStatesByPath: function(origin, path) {
+    if (!path || path === "") { return undefined; }
+    var r = path.split('.'),
+        ret = [];
+
+    for (var i=0, len = r.length; i < len; i++) {
+      var states = get(origin, 'states');
+
+      if (!states) { return undefined; }
+
+      var s = get(states, r[i]);
+      if (s) { origin = s; ret.push(s); }
+      else { return undefined; }
+    }
+
+    return ret;
+  },
+
+  goToState: function() {
+    // not deprecating this yet so people don't constantly need to
+    // make trivial changes for little reason.
+    return this.transitionTo.apply(this, arguments);
+  },
+
+  transitionTo: function(path, context) {
+    // XXX When is transitionTo called with no path
+    if (Ember.empty(path)) { return; }
+
+    // The ES6 signature of this function is `path, ...contexts`
+    var contexts = context ? Array.prototype.slice.call(arguments, 1) : [],
+        currentState = get(this, 'currentState') || this;
+
+    // First, get the enter, exit and resolve states for the current state
+    // and specified path. If possible, use an existing cache.
+    var hash = this.contextFreeTransition(currentState, path);
+
+    // Next, process the raw state information for the contexts passed in.
+    var transition = new Transition(hash).normalize(this, contexts);
+
+    this.enterState(transition);
+    this.triggerSetupContext(transition);
+  },
+
+  contextFreeTransition: function(currentState, path) {
+    var cache = currentState.pathsCache[path];
+    if (cache) { return cache; }
+
+    var enterStates = this.findStatesByPath(currentState, path),
+        exitStates = [],
+        resolveState = currentState;
+
+    // Walk up the states. For each state, check whether a state matching
+    // the `path` is nested underneath. This will find the closest
+    // parent state containing `path`.
+    //
+    // This allows the user to pass in a relative path. For example, for
+    // the following state hierarchy:
+    //
+    //    | |root
+    //    | |- posts
+    //    | | |- show (* current)
+    //    | |- comments
+    //    | | |- show
+    //
+    // If the current state is `<root.posts.show>`, an attempt to
+    // transition to `comments.show` will match `<root.comments.show>`.
+    //
+    // First, this code will look for root.posts.show.comments.show.
+    // Next, it will look for root.posts.comments.show. Finally,
+    // it will look for `root.comments.show`, and find the state.
+    //
+    // After this process, the following variables will exist:
+    //
+    // * resolveState: a common parent state between the current
+    //   and target state. In the above example, `<root>` is the
+    //   `resolveState`.
+    // * enterStates: a list of all of the states represented
+    //   by the path from the `resolveState`. For example, for
+    //   the path `root.comments.show`, `enterStates` would have
+    //   `[<root.comments>, <root.comments.show>]`
+    // * exitStates: a list of all of the states from the
+    //   `resolveState` to the `currentState`. In the above
+    //   example, `exitStates` would have
+    //   `[<root.posts>`, `<root.posts.show>]`.
+    while (resolveState && !enterStates) {
+      exitStates.unshift(resolveState);
+
+      resolveState = get(resolveState, 'parentState');
+      if (!resolveState) {
+        enterStates = this.findStatesByPath(this, path);
+        if (!enterStates) {
+          Ember.assert('Could not find state for path: "'+path+'"');
+          return;
+        }
+      }
+      enterStates = this.findStatesByPath(resolveState, path);
+    }
+
+    // If the path contains some states that are parents of both the
+    // current state and the target state, remove them.
+    //
+    // For example, in the following hierarchy:
+    //
+    // |- root
+    // | |- post
+    // | | |- index (* current)
+    // | | |- show
+    //
+    // If the `path` is `root.post.show`, the three variables will
+    // be:
+    //
+    // * resolveState: `<state manager>`
+    // * enterStates: `[<root>, <root.post>, <root.post.show>]`
+    // * exitStates: `[<root>, <root.post>, <root.post.index>]`
+    //
+    // The goal of this code is to remove the common states, so we
+    // have:
+    //
+    // * resolveState: `<root.post>`
+    // * enterStates: `[<root.post.show>]`
+    // * exitStates: `[<root.post.index>]`
+    //
+    // This avoid unnecessary calls to the enter and exit transitions.
+    while (enterStates.length > 0 && enterStates[0] === exitStates[0]) {
+      resolveState = enterStates.shift();
+      exitStates.shift();
+    }
+
+    // Cache the enterStates, exitStates, and resolveState for the
+    // current state and the `path`.
+    var transitions = currentState.pathsCache[path] = {
+      exitStates: exitStates,
+      enterStates: enterStates,
+      resolveState: resolveState
+    };
+
+    return transitions;
+  },
+
+  triggerSetupContext: function(transitions) {
+    var contexts = transitions.contexts,
+        offset = transitions.enterStates.length - contexts.length,
+        enterStates = transitions.enterStates,
+        transitionEvent = get(this, 'transitionEvent');
+
+    Ember.assert("More contexts provided than states", offset >= 0);
+
+    arrayForEach.call(enterStates, function(state, idx) {
+      state.trigger(transitionEvent, this, contexts[idx-offset]);
+    }, this);
+  },
+
+  getState: function(name) {
+    var state = get(this, name),
+        parentState = get(this, 'parentState');
+
+    if (state) {
+      return state;
+    } else if (parentState) {
+      return parentState.getState(name);
+    }
+  },
+
+  enterState: function(transition) {
+    var log = this.enableLogging;
+
+    var exitStates = transition.exitStates.slice(0).reverse();
+    arrayForEach.call(exitStates, function(state) {
+      state.trigger('exit', this);
+    }, this);
+
+    arrayForEach.call(transition.enterStates, function(state) {
+      if (log) { Ember.Logger.log("STATEMANAGER: Entering " + get(state, 'path')); }
+      state.trigger('enter', this);
+    }, this);
+
+    set(this, 'currentState', transition.finalState);
+  }
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Statecharts
+// Copyright: ©2011 Living Social Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
+(function() {
+var get = Ember.get;
+
+Ember._ResolvedState = Ember.Object.extend({
+  manager: null,
+  state: null,
+  match: null,
+
+  object: Ember.computed(function(key, value) {
+    if (arguments.length === 2) {
+      this._object = value;
+      return value;
+    } else {
+      if (this._object) {
+        return this._object;
+      } else {
+        var state = get(this, 'state'),
+            match = get(this, 'match'),
+            manager = get(this, 'manager');
+        return state.deserialize(manager, match.hash);
+      }
+    }
+  }).property(),
+
+  hasPromise: Ember.computed(function() {
+    return Ember.canInvoke(get(this, 'object'), 'then');
+  }).property('object'),
+
+  promise: Ember.computed(function() {
+    var object = get(this, 'object');
+    if (Ember.canInvoke(object, 'then')) {
+      return object;
+    } else {
+      return {
+        then: function(success) { success(object); }
+      };
+    }
+  }).property('object'),
+
+  transition: function() {
+    var manager = get(this, 'manager'),
+        path = get(this, 'state.path'),
+        object = get(this, 'object');
+    manager.transitionTo(path, object);
+  }
+});
+
+})();
+
+
+
+(function() {
+var get = Ember.get;
+
+// The Ember Routable mixin assumes the existance of a simple
+// routing shim that supports the following three behaviors:
+//
+// * .getURL() - this is called when the page loads
+// * .setURL(newURL) - this is called from within the state
+//   manager when the state changes to a routable state
+// * .onURLChange(callback) - this happens when the user presses
+//   the back or forward button
+
+var paramForClass = function(classObject) {
+  var className = classObject.toString(),
+      parts = className.split("."),
+      last = parts[parts.length - 1];
+
+  return Ember.String.underscore(last) + "_id";
+};
+
+var merge = function(original, hash) {
+  for (var prop in hash) {
+    if (!hash.hasOwnProperty(prop)) { continue; }
+    if (original.hasOwnProperty(prop)) { continue; }
+
+    original[prop] = hash[prop];
+  }
+};
+
+/**
+  @class
+  @extends Ember.Mixin
+*/
+Ember.Routable = Ember.Mixin.create({
+  init: function() {
+    var redirection;
+    this.on('connectOutlets', this, this.stashContext);
+
+    if (redirection = get(this, 'redirectsTo')) {
+      Ember.assert("You cannot use `redirectsTo` if you already have a `connectOutlets` method", this.connectOutlets === Ember.K);
+
+      this.connectOutlets = function(router) {
+        router.transitionTo(redirection);
+      };
+    }
+
+    // normalize empty route to '/'
+    var route = get(this, 'route');
+    if (route === '') {
+      route = '/';
+    }
+
+    this._super();
+
+    Ember.assert("You cannot use `redirectsTo` on a state that has child states", !redirection || (!!redirection && !!get(this, 'isLeaf')));
+  },
+
+  /**
+    @private
+
+    Whenever a routable state is entered, the context it was entered with
+    is stashed so that we can regenerate the state's `absoluteURL` on
+    demand.
+  */
+  stashContext: function(manager, context) {
+    var serialized = this.serialize(manager, context);
+    Ember.assert('serialize must return a hash', !serialized || typeof serialized === 'object');
+
+    manager.setStateMeta(this, 'context', context);
+    manager.setStateMeta(this, 'serialized', serialized);
+
+    if (get(this, 'isRoutable') && !get(manager, 'isRouting')) {
+      this.updateRoute(manager, get(manager, 'location'));
+    }
+  },
+
+  /**
+    @private
+
+    Whenever a routable state is entered, the router's location object
+    is notified to set the URL to the current absolute path.
+
+    In general, this will update the browser's URL.
+  */
+  updateRoute: function(manager, location) {
+    if (get(this, 'isLeafRoute')) {
+      var path = this.absoluteRoute(manager);
+      location.setURL(path);
+    }
+  },
+
+  /**
+    @private
+
+    Get the absolute route for the current state and a given
+    hash.
+
+    This method is private, as it expects a serialized hash,
+    not the original context object.
+  */
+  absoluteRoute: function(manager, hash) {
+    var parentState = get(this, 'parentState');
+    var path = '', generated;
+
+    // If the parent state is routable, use its current path
+    // as this route's prefix.
+    if (get(parentState, 'isRoutable')) {
+      path = parentState.absoluteRoute(manager, hash);
+    }
+
+    var matcher = get(this, 'routeMatcher'),
+        serialized = manager.getStateMeta(this, 'serialized');
+
+    // merge the existing serialized object in with the passed
+    // in hash.
+    hash = hash || {};
+    merge(hash, serialized);
+
+    generated = matcher && matcher.generate(hash);
+
+    if (generated) {
+      path = path + '/' + generated;
+    }
+
+    return path;
+  },
+
+  /**
+    @private
+
+    At the moment, a state is routable if it has a string `route`
+    property. This heuristic may change.
+  */
+  isRoutable: Ember.computed(function() {
+    return typeof get(this, 'route') === 'string';
+  }).cacheable(),
+
+  /**
+    @private
+
+    Determine if this is the last routeable state
+  */
+  isLeafRoute: Ember.computed(function() {
+    if (get(this, 'isLeaf')) { return true; }
+    return !get(this, 'childStates').findProperty('isRoutable');
+  }).cacheable(),
+
+  /**
+    @private
+
+    A _RouteMatcher object generated from the current route's `route`
+    string property.
+  */
+  routeMatcher: Ember.computed(function() {
+    var route = get(this, 'route');
+    if (route) {
+      return Ember._RouteMatcher.create({ route: route });
+    }
+  }).cacheable(),
+
+  /**
+    @private
+
+    Check whether the route has dynamic segments and therefore takes
+    a context.
+  */
+  hasContext: Ember.computed(function() {
+    var routeMatcher = get(this, 'routeMatcher');
+    if (routeMatcher) {
+      return routeMatcher.identifiers.length > 0;
+    }
+  }).cacheable(),
+
+  /**
+    @private
+
+    The model class associated with the current state. This property
+    uses the `modelType` property, in order to allow it to be
+    specified as a String.
+  */
+  modelClass: Ember.computed(function() {
+    var modelType = get(this, 'modelType');
+
+    if (typeof modelType === 'string') {
+      return Ember.get(window, modelType);
+    } else {
+      return modelType;
+    }
+  }).cacheable(),
+
+  /**
+    @private
+
+    Get the model class for the state. The heuristic is:
+
+    * The state must have a single dynamic segment
+    * The dynamic segment must end in `_id`
+    * A dynamic segment like `blog_post_id` is converted into `BlogPost`
+    * The name is then looked up on the passed in namespace
+
+    The process of initializing an application with a router will
+    pass the application's namespace into the router, which will be
+    used here.
+  */
+  modelClassFor: function(namespace) {
+    var modelClass, routeMatcher, identifiers, match, className;
+
+    // if an explicit modelType was specified, use that
+    if (modelClass = get(this, 'modelClass')) { return modelClass; }
+
+    // if the router has no lookup namespace, we won't be able to guess
+    // the modelType
+    if (!namespace) { return; }
+
+    // make sure this state is actually a routable state
+    routeMatcher = get(this, 'routeMatcher');
+    if (!routeMatcher) { return; }
+
+    // only guess modelType for states with a single dynamic segment
+    // (no more, no fewer)
+    identifiers = routeMatcher.identifiers;
+    if (identifiers.length !== 2) { return; }
+
+    // extract the `_id` from the end of the dynamic segment; if the
+    // dynamic segment does not end in `_id`, we can't guess the
+    // modelType
+    match = identifiers[1].match(/^(.*)_id$/);
+    if (!match) { return; }
+
+    // convert the underscored type into a class form and look it up
+    // on the router's namespace
+    className = Ember.String.classify(match[1]);
+    return get(namespace, className);
+  },
+
+  /**
+    The default method that takes a `params` object and converts
+    it into an object.
+
+    By default, a params hash that looks like `{ post_id: 1 }`
+    will be looked up as `namespace.Post.find(1)`. This is
+    designed to work seamlessly with Ember Data, but will work
+    fine with any class that has a `find` method.
+  */
+  deserialize: function(manager, params) {
+    var modelClass, routeMatcher, param;
+
+    if (modelClass = this.modelClassFor(get(manager, 'namespace'))) {
+      Ember.assert("Expected "+modelClass.toString()+" to implement `find` for use in '"+this.get('path')+"' `deserialize`. Please implement the `find` method or overwrite `deserialize`.", modelClass.find);
+      return modelClass.find(params[paramForClass(modelClass)]);
+    }
+
+    return params;
+  },
+
+  /**
+    The default method that takes an object and converts it into
+    a params hash.
+
+    By default, if there is a single dynamic segment named
+    `blog_post_id` and the object is a `BlogPost` with an
+    `id` of `12`, the serialize method will produce:
+
+        { blog_post_id: 12 }
+  */
+  serialize: function(manager, context) {
+    var modelClass, routeMatcher, namespace, param, id;
+
+    if (Ember.empty(context)) { return ''; }
+
+    if (modelClass = this.modelClassFor(get(manager, 'namespace'))) {
+      param = paramForClass(modelClass);
+      id = get(context, 'id');
+      context = {};
+      context[param] = id;
+    }
+
+    return context;
+  },
+
+  /**
+    @private
+  */
+  resolvePath: function(manager, path) {
+    if (get(this, 'isLeafRoute')) { return Ember.A(); }
+
+    var childStates = get(this, 'childStates'), match;
+
+    childStates = Ember.A(childStates.filterProperty('isRoutable'));
+
+    childStates = childStates.sort(function(a, b) {
+      var aDynamicSegments = get(a, 'routeMatcher.identifiers.length'),
+          bDynamicSegments = get(b, 'routeMatcher.identifiers.length'),
+          aRoute = get(a, 'route'),
+          bRoute = get(b, 'route');
+
+      if (aRoute.indexOf(bRoute) === 0) {
+        return -1;
+      } else if (bRoute.indexOf(aRoute) === 0) {
+        return 1;
+      }
+
+      if (aDynamicSegments !== bDynamicSegments) {
+        return aDynamicSegments - bDynamicSegments;
+      }
+
+      return get(b, 'route.length') - get(a, 'route.length');
+    });
+
+    var state = childStates.find(function(state) {
+      var matcher = get(state, 'routeMatcher');
+      if (match = matcher.match(path)) { return true; }
+    });
+
+    Ember.assert("Could not find state for path " + path, !!state);
+
+    var resolvedState = Ember._ResolvedState.create({
+      manager: manager,
+      state: state,
+      match: match
+    });
+
+    var states = state.resolvePath(manager, match.remaining);
+
+    return Ember.A([resolvedState]).pushObjects(states);
+  },
+
+  /**
+    @private
+
+    Once `unroute` has finished unwinding, `routePath` will be called
+    with the remainder of the route.
+
+    For example, if you were in the /posts/1/comments state, and you
+    moved into the /posts/2/comments state, `routePath` will be called
+    on the state whose path is `/posts` with the path `/2/comments`.
+  */
+  routePath: function(manager, path) {
+    if (get(this, 'isLeafRoute')) { return; }
+
+    var resolvedStates = this.resolvePath(manager, path),
+        hasPromises = resolvedStates.some(function(s) { return get(s, 'hasPromise'); });
+
+    function runTransition() {
+      resolvedStates.forEach(function(rs) { rs.transition(); });
+    }
+
+    if (hasPromises) {
+      manager.transitionTo('loading');
+
+      Ember.assert('Loading state should be the child of a route', Ember.Routable.detect(get(manager, 'currentState.parentState')));
+      Ember.assert('Loading state should not be a route', !Ember.Routable.detect(get(manager, 'currentState')));
+
+      manager.handleStatePromises(resolvedStates, runTransition);
+    } else {
+      runTransition();
+    }
+  },
+
+  /**
+    @private
+
+    When you move to a new route by pressing the back
+    or forward button, this method is called first.
+
+    Its job is to move the state manager into a parent
+    state of the state it will eventually move into.
+  */
+  unroutePath: function(router, path) {
+    var parentState = get(this, 'parentState');
+
+    // If we're at the root state, we're done
+    if (parentState === router) {
+      return;
+    }
+
+    path = path.replace(/^(?=[^\/])/, "/");
+    var absolutePath = this.absoluteRoute(router);
+
+    var route = get(this, 'route');
+
+    // If the current path is empty, move up one state,
+    // because the index ('/') state must be a leaf node.
+    if (route !== '/') {
+      // If the current path is a prefix of the path we're trying
+      // to go to, we're done.
+      var index = path.indexOf(absolutePath),
+          next = path.charAt(absolutePath.length);
+
+      if (index === 0 && (next === "/" || next === "")) {
+        return;
+      }
+    }
+
+    // Transition to the parent and call unroute again.
+    router.enterState({
+      exitStates: [this],
+      enterStates: [],
+      finalState: parentState
+    });
+
+    router.send('unroutePath', path);
+  },
+
+  /**
+    The `connectOutlets` event will be triggered once a
+    state has been entered. It will be called with the
+    route's context.
+  */
+  connectOutlets: Ember.K,
+
+  /**
+   The `navigateAway` event will be triggered when the
+   URL changes due to the back/forward button
+  */
+  navigateAway: Ember.K
+});
+
+})();
+
+
+
+(function() {
+/**
+  @class
+  @extends Ember.Routable
+*/
+Ember.Route = Ember.State.extend(Ember.Routable);
+
+})();
+
+
+
+(function() {
+var escapeForRegex = function(text) {
+  return text.replace(/[\-\[\]{}()*+?.,\\\^\$|#\s]/g, "\\$&");
+};
+
+Ember._RouteMatcher = Ember.Object.extend({
+  state: null,
+
+  init: function() {
+    var route = this.route,
+        identifiers = [],
+        count = 1,
+        escaped;
+
+    // Strip off leading slash if present
+    if (route.charAt(0) === '/') {
+      route = this.route = route.substr(1);
+    }
+
+    escaped = escapeForRegex(route);
+
+    var regex = escaped.replace(/:([a-z_]+)(?=$|\/)/gi, function(match, id) {
+      identifiers[count++] = id;
+      return "([^/]+)";
+    });
+
+    this.identifiers = identifiers;
+    this.regex = new RegExp("^/?" + regex);
+  },
+
+  match: function(path) {
+    var match = path.match(this.regex);
+
+    if (match) {
+      var identifiers = this.identifiers,
+          hash = {};
+
+      for (var i=1, l=identifiers.length; i<l; i++) {
+        hash[identifiers[i]] = match[i];
+      }
+
+      return {
+        remaining: path.substr(match[0].length),
+        hash: identifiers.length > 0 ? hash : null
+      };
+    }
+  },
+
+  generate: function(hash) {
+    var identifiers = this.identifiers, route = this.route, id;
+    for (var i=1, l=identifiers.length; i<l; i++) {
+      id = identifiers[i];
+      route = route.replace(new RegExp(":" + id), hash[id]);
+    }
+    return route;
+  }
+});
+
+})();
+
+
+
+(function() {
+var get = Ember.get, set = Ember.set;
+
+var merge = function(original, hash) {
+  for (var prop in hash) {
+    if (!hash.hasOwnProperty(prop)) { continue; }
+    if (original.hasOwnProperty(prop)) { continue; }
+
+    original[prop] = hash[prop];
+  }
+};
+
+/**
+  @class
+
+  `Ember.Router` is the subclass of `Ember.StateManager` responsible for providing URL-based
+  application state detection. The `Ember.Router` instance of an application detects the browser URL
+  at application load time and attempts to match it to a specific application state. Additionally
+  the router will update the URL to reflect an application's state changes over time.
+
+  ## Adding a Router Instance to Your Application
+  An instance of Ember.Router can be associated with an instance of Ember.Application in one of two ways:
+
+  You can provide a subclass of Ember.Router as the `Router` property of your application. An instance
+  of this Router class will be instantiated and route detection will be enabled when the application's
+  `initialize` method is called. The Router instance will be available as the `router` property
+  of the application:
+
+      App = Ember.Application.create({
+        Router: Ember.Router.extend({ ... })
+      });
+
+      App.initialize();
+      App.get('router') // an instance of App.Router
+
+  If you want to define a Router instance elsewhere, you can pass the instance to the application's
+  `initialize` method:
+
+      App = Ember.Application.create();
+      aRouter = Ember.Router.create({ ... });
+
+      App.initialize(aRouter);
+      App.get('router') // aRouter
+
+  ## Adding Routes to a Router
+  The `initialState` property of Ember.Router instances is named `root`. The state stored in this
+  property must be a subclass of Ember.Route. The `root` route acts as the container for the
+  set of routable states but is not routable itself. It should have states that are also subclasses
+  of Ember.Route which each have a `route` property describing the URL pattern you would like to detect.
+
+      App = Ember.Application.create({
+        Router: Ember.Router.extend({
+          root: Ember.Route.extend({
+            index: Ember.Route.extend({
+              route: '/'
+            }),
+            ... additional Ember.Routes ...
+          })
+        })
+      });
+      App.initialize();
+
+
+  When an application loads, Ember will parse the URL and attempt to find an Ember.Route within
+  the application's states that matches. (The example URL-matching below will use the default
+  'hash syntax' provided by `Ember.HashLocation`.)
+
+  In the following route structure:
+
+      App = Ember.Application.create({
+        Router: Ember.Router.extend({
+          root: Ember.Route.extend({
+            aRoute: Ember.Route.extend({
+              route: '/'
+            }),
+            bRoute: Ember.Route.extend({
+              route: '/alphabeta'
+            })
+          })
+        })
+      });
+      App.initialize();
+
+  Loading the page at the URL '#/' will detect the route property of 'root.aRoute' ('/') and
+  transition the router first to the state named 'root' and then to the substate 'aRoute'.
+
+  Respectively, loading the page at the URL '#/alphabeta' would detect the route property of
+  'root.bRoute' ('/alphabeta') and transition the router first to the state named 'root' and
+  then to the substate 'bRoute'.
+
+  ## Adding Nested Routes to a Router
+  Routes can contain nested subroutes each with their own `route` property describing the nested
+  portion of the URL they would like to detect and handle. Router, like all instances of StateManager,
+  cannot call `transitonTo` with an intermediary state. To avoid transitioning the Router into an
+  intermediary state when detecting URLs, a Route with nested routes must define both a base `route`
+  property for itself and a child Route with a `route` property of `'/'` which will be transitioned
+  to when the base route is detected in the URL:
+
+  Given the following application code:
+
+      App = Ember.Application.create({
+        Router: Ember.Router.extend({
+          root: Ember.Route.extend({
+            aRoute: Ember.Route.extend({
+              route: '/theBaseRouteForThisSet',
+
+              indexSubRoute: Ember.Route.extend({
+                route: '/',
+              }),
+
+              subRouteOne: Ember.Route.extend({
+                route: '/subroute1
+              }),
+
+              subRouteTwo: Ember.Route.extend({
+                route: '/subRoute2'
+              })
+
+            })
+          })
+        })
+      });
+      App.initialize();
+
+  When the application is loaded at '/theBaseRouteForThisSet' the Router will transition to the route
+  at path 'root.aRoute' and then transition to state 'indexSubRoute'.
+
+  When the application is loaded at '/theBaseRouteForThisSet/subRoute1' the Router will transition to
+  the route at path 'root.aRoute' and then transition to state 'subRouteOne'.
+
+  ## Route Transition Events
+  Transitioning between Ember.Route instances (including the transition into the detected
+  route when loading the application)  triggers the same transition events as state transitions for
+  base `Ember.State`s. However, the default `setup` transition event is named `connectOutlets` on
+  Ember.Router instances (see 'Changing View Hierarchy in Response To State Change').
+
+  The following route structure when loaded with the URL "#/"
+
+      App = Ember.Application.create({
+        Router: Ember.Router.extend({
+          root: Ember.Route.extend({
+            aRoute: Ember.Route.extend({
+              route: '/',
+              enter: function(router) {
+                console.log("entering root.aRoute from", router.get('currentState.name'));
+              },
+              connectOutlets: function(router) {
+                console.log("entered root.aRoute, fully transitioned to", router.get('currentState.path'));
+              }
+            })
+          })
+        })
+      });
+      App.initialize();
+
+  Will result in console output of:
+
+      'entering root.aRoute from root'
+      'entered root.aRoute, fully transitioned to root.aRoute '
+
+  Ember.Route has two additional callbacks for handling URL serialization and deserialization. See
+  'Serializing/Deserializing URLs'
+
+  ## Routes With Dynamic Segments
+  An Ember.Route's `route` property can reference dynamic sections of the URL by prefacing a URL segment
+  with the ':' character.  The values of these dynamic segments will be passed as a hash to the
+  `deserialize` method of the matching Route (see 'Serializing/Deserializing URLs').
+
+  ## Serializing/Deserializing URLs
+  Ember.Route has two callbacks for associating a particular object context with a URL: `serialize`
+  for converting an object into a parameters hash to fill dynamic segments of a URL and `deserialize`
+  for converting a hash of dynamic segments from the URL into the appropriate object.
+
+  ### Deserializing A URL's Dynamic Segments
+  When an application is first loaded or the URL is changed manually (e.g. through the browser's
+  back button) the `deserialize` method of the URL's matching Ember.Route will be called with
+  the application's router as its first argument and a hash of the URLs dynamic segments and values
+  as its second argument.
+
+  The following route structure when loaded with the URL "#/fixed/thefirstvalue/anotherFixed/thesecondvalue":
+
+      App = Ember.Application.create({
+        Router: Ember.Router.extend({
+          root: Ember.Route.extend({
+            aRoute: Ember.Route.extend({
+              route: '/fixed/:dynamicSectionA/anotherFixed/:dynamicSectionB',
+              deserialize: function(router, params) {}
+            })
+          })
+        })
+      });
+      App.initialize();
+
+  Will call the 'deserialize' method of the Route instance at the path 'root.aRoute' with the
+  following hash as its second argument:
+
+      {
+        dynamicSectionA: 'thefirstvalue',
+        dynamicSectionB: 'thesecondvalue'
+      }
+
+  Within `deserialize` you should use this information to retrieve or create an appropriate context
+  object for the given URL (e.g. by loading from a remote API or accessing the browser's
+  `localStorage`). This object must be the `return` value of `deserialize` and will be
+  passed to the Route's `connectOutlets` and `serialize` methods.
+
+  When an application's state is changed from within the application itself, the context provided for
+  the transition will be passed and `deserialize` is not called (see 'Transitions Between States').
+
+  ### Serializing An Object For URLs with Dynamic Segments
+  When transitioning into a Route whose `route` property contains dynamic segments the Route's
+  `serialize` method is called with the Route's router as the first argument and the Route's
+  context as the second argument.  The return value of `serialize` will be use to populate the
+  dynamic segments and should be a object with keys that match the names of the dynamic sections.
+
+  Given the following route structure:
+
+      App = Ember.Application.create({
+        Router: Ember.Router.extend({
+          root: Ember.Route.extend({
+            aRoute: Ember.Route.extend({
+              route: '/'
+            }),
+            bRoute: Ember.Route.extend({
+              route: '/staticSection/:someDynamicSegment',
+              serialize: function(router, context) {
+                return {
+                  someDynamicSegment: context.get('name')
+                }
+              }
+            })
+          })
+        })
+      });
+      App.initialize();
+
+
+  Transitioning to "root.bRoute" with a context of `Object.create({name: 'Yehuda'})` will call
+  the Route's `serialize` method with the context as its second argument and update the URL to
+  '#/staticSection/Yehuda'.
+
+  ## Transitions Between States
+  Once a routed application has initialized its state based on the entry URL, subsequent transitions to other
+  states will update the URL if the entered Route has a `route` property. Given the following route structure
+  loaded at the URL '#/':
+
+      App = Ember.Application.create({
+        Router: Ember.Router.extend({
+          root: Ember.Route.extend({
+            aRoute: Ember.Route.extend({
+              route: '/',
+              moveElsewhere: Ember.Route.transitionTo('bRoute')
+            }),
+            bRoute: Ember.Route.extend({
+              route: '/someOtherLocation'
+            })
+          })
+        })
+      });
+      App.initialize();
+
+  And application code:
+
+      App.get('router').send('moveElsewhere');
+
+  Will transition the application's state to 'root.bRoute' and trigger an update of the URL to
+  '#/someOtherLocation'.
+
+  For URL patterns with dynamic segments a context can be supplied as the second argument to `send`.
+  The router will match dynamic segments names to keys on this object and fill in the URL with the
+  supplied values. Given the following state structure loaded at the URL '#/':
+
+      App = Ember.Application.create({
+        Router: Ember.Router.extend({
+          root: Ember.Route.extend({
+            aRoute: Ember.Route.extend({
+              route: '/',
+              moveElsewhere: Ember.Route.transitionTo('bRoute')
+            }),
+            bRoute: Ember.Route.extend({
+              route: '/a/route/:dynamicSection/:anotherDynamicSection',
+              connectOutlets: function(router, context) {},
+            })
+          })
+        })
+      });
+      App.initialize();
+
+  And application code:
+
+      App.get('router').send('moveElsewhere', {
+        dynamicSection: '42',
+        anotherDynamicSection: 'Life'
+      });
+
+  Will transition the application's state to 'root.bRoute' and trigger an update of the URL to
+  '#/a/route/42/Life'.
+
+  The context argument will also be passed as the second argument to the `serialize` method call.
+
+  ## Injection of Controller Singletons
+  During application initialization Ember will detect properties of the application ending in 'Controller',
+  create singleton instances of each class, and assign them as a properties on the router.  The property name
+  will be the UpperCamel name converted to lowerCamel format. These controller classes should be subclasses
+  of Ember.ObjectController, Ember.ArrayController, Ember.Controller, or a custom Ember.Object that includes the
+  Ember.ControllerMixin mixin.
+
+      App = Ember.Application.create({
+        FooController: Ember.Object.create(Ember.ControllerMixin),
+        Router: Ember.Router.extend({ ... })
+      });
+
+      App.get('router.fooController'); // instance of App.FooController
+
+  The controller singletons will have their `namespace` property set to the application and their `target`
+  property set to the application's router singleton for easy integration with Ember's user event system.
+  See 'Changing View Hierarchy in Response To State Change' and 'Responding to User-initiated Events'
+
+  ## Responding to User-initiated Events
+  Controller instances injected into the router at application initialization have their `target` property
+  set to the application's router instance. These controllers will also be the default `context` for their
+  associated views.  Uses of the `{{action}}` helper will automatically target the application's router.
+
+  Given the following application entered at the URL '#/':
+
+      App = Ember.Application.create({
+        Router: Ember.Router.extend({
+          root: Ember.Route.extend({
+            aRoute: Ember.Route.extend({
+              route: '/',
+              anActionOnTheRouter: function(router, context) {
+                router.transitionTo('anotherState', context);
+              }
+            })
+            anotherState: Ember.Route.extend({
+              route: '/differentUrl',
+              connectOutlets: function(router, context) {
+
+              }
+            })
+          })
+        })
+      });
+      App.initialize();
+
+  The following template:
+
+      <script type="text/x-handlebars" data-template-name="aView">
+          <h1><a {{action anActionOnTheRouter}}>{{title}}</a></h1>
+      </script>
+
+  Will delegate `click` events on the rendered `h1` to the application's router instance. In this case the
+  `anActionOnTheRouter` method of the state at 'root.aRoute' will be called with the view's controller
+  as the context argument. This context will be passed to the `connectOutlets` as its second argument.
+
+  Different `context` can be supplied from within the `{{action}}` helper, allowing specific context passing
+  between application states:
+
+      <script type="text/x-handlebars" data-template-name="photos">
+        {{#each photo in controller}}
+          <h1><a {{action showPhoto photo}}>{{title}}</a></h1>
+        {{/each}}
+      </script>
+
+  See Handlebars.helpers.action for additional usage examples.
+
+
+  ## Changing View Hierarchy in Response To State Change
+  Changes in application state that change the URL should be accompanied by associated changes in view
+  hierarchy.  This can be accomplished by calling 'connectOutlet' on the injected controller singletons from
+  within the 'connectOutlets' event of an Ember.Route:
+
+      App = Ember.Application.create({
+        OneController: Ember.ObjectController.extend(),
+        OneView: Ember.View.extend(),
+
+        AnotherController: Ember.ObjectController.extend(),
+        AnotherView: Ember.View.extend(),
+
+        Router: Ember.Router.extend({
+          root: Ember.Route.extend({
+            aRoute: Ember.Route.extend({
+              route: '/',
+              connectOutlets: function(router, context) {
+                router.get('oneController').connectOutlet('another');
+              },
+            })
+          })
+        })
+      });
+      App.initialize();
+
+
+  This will detect the '{{outlet}}' portion of `oneController`'s view (an instance of `App.OneView`) and
+  fill it with a rendered instance of `App.AnotherView` whose `context` will be the single instance of
+  `App.AnotherController` stored on the router in the `anotherController` property.
+
+  For more information about Outlets, see `Ember.Handlebars.helpers.outlet`. For additional information on
+  the `connectOutlet` method, see `Ember.Controller.connectOutlet`. For more information on
+  controller injections, see `Ember.Application#initialize()`. For additional information about view context,
+  see `Ember.View`.
+
+  @extends Ember.StateManager
+*/
+Ember.Router = Ember.StateManager.extend(
+/** @scope Ember.Router.prototype */ {
+
+  /**
+    @property {String}
+    @default 'root'
+  */
+  initialState: 'root',
+
+  /**
+    The `Ember.Location` implementation to be used to manage the application
+    URL state. The following values are supported:
+
+    * 'hash': Uses URL fragment identifiers (like #/blog/1) for routing.
+    * 'none': Does not read or set the browser URL, but still allows for
+      routing to happen. Useful for testing.
+
+    @type String
+    @default 'hash'
+  */
+  location: 'hash',
+
+  /**
+    This is only used when a history location is used so that applications that
+    don't live at the root of the domain can append paths to their root.
+
+    @type String
+    @default '/'
+  */
+
+  rootURL: '/',
+
+  /**
+    On router, transitionEvent should be called connectOutlets
+
+    @property {String}
+    @default 'connectOutlets'
+  */
+  transitionEvent: 'connectOutlets',
+
+  transitionTo: function() {
+    this.abortRoutingPromises();
+    this._super.apply(this, arguments);
+  },
+
+  route: function(path) {
+    this.abortRoutingPromises();
+
+    set(this, 'isRouting', true);
+
+    var routableState;
+
+    try {
+      path = path.replace(/^(?=[^\/])/, "/");
+
+      this.send('navigateAway');
+      this.send('unroutePath', path);
+
+      routableState = get(this, 'currentState');
+      while (routableState && !routableState.get('isRoutable')) {
+        routableState = get(routableState, 'parentState');
+      }
+      var currentURL = routableState ? routableState.absoluteRoute(this) : '';
+      var rest = path.substr(currentURL.length);
+
+      this.send('routePath', rest);
+    } finally {
+      set(this, 'isRouting', false);
+    }
+
+    routableState = get(this, 'currentState');
+    while (routableState && !routableState.get('isRoutable')) {
+      routableState = get(routableState, 'parentState');
+    }
+
+    if (routableState) {
+      routableState.updateRoute(this, get(this, 'location'));
+    }
+  },
+
+  urlFor: function(path, hash) {
+    var currentState = get(this, 'currentState') || this,
+        state = this.findStateByPath(currentState, path);
+
+    Ember.assert(Ember.String.fmt("Could not find route with path '%@'", [path]), !!state);
+    Ember.assert("To get a URL for a state, it must have a `route` property.", !!get(state, 'routeMatcher'));
+
+    var location = get(this, 'location'),
+        absoluteRoute = state.absoluteRoute(this, hash);
+
+    return location.formatURL(absoluteRoute);
+  },
+
+  urlForEvent: function(eventName) {
+    var contexts = Array.prototype.slice.call(arguments, 1);
+    var currentState = get(this, 'currentState');
+    var targetStateName = currentState.lookupEventTransition(eventName);
+
+    Ember.assert(Ember.String.fmt("You must specify a target state for event '%@' in order to link to it in the current state '%@'.", [eventName, get(currentState, 'path')]), !!targetStateName);
+
+    var targetState = this.findStateByPath(currentState, targetStateName);
+
+    Ember.assert("Your target state name " + targetStateName + " for event " + eventName + " did not resolve to a state", !!targetState);
+
+    var hash = this.serializeRecursively(targetState, contexts, {});
+
+    return this.urlFor(targetStateName, hash);
+  },
+
+  /** @private */
+  serializeRecursively: function(state, contexts, hash) {
+    var parentState,
+        context = get(state, 'hasContext') ? contexts.pop() : null;
+    merge(hash, state.serialize(this, context));
+    parentState = state.get("parentState");
+    if (parentState && parentState instanceof Ember.Route) {
+      return this.serializeRecursively(parentState, contexts, hash);
+    } else {
+      return hash;
+    }
+  },
+
+  abortRoutingPromises: function() {
+    if (this._routingPromises) {
+      this._routingPromises.abort();
+      this._routingPromises = null;
+    }
+  },
+
+  /**
+    @private
+  */
+  handleStatePromises: function(states, complete) {
+    this.abortRoutingPromises();
+
+    this.set('isLocked', true);
+
+    var manager = this;
+
+    this._routingPromises = Ember._PromiseChain.create({
+      promises: states.slice(),
+
+      successCallback: function() {
+        manager.set('isLocked', false);
+        complete();
+      },
+
+      failureCallback: function() {
+        throw "Unable to load object";
+      },
+
+      promiseSuccessCallback: function(item, args) {
+        set(item, 'object', args[0]);
+      },
+
+      abortCallback: function() {
+        manager.set('isLocked', false);
+      }
+    }).start();
+  },
+
+  /** @private */
+  init: function() {
+    this._super();
+
+    var location = get(this, 'location'),
+        rootURL = get(this, 'rootURL');
+
+    if ('string' === typeof location) {
+      set(this, 'location', Ember.Location.create({
+        implementation: location,
+        rootURL: rootURL
+      }));
+    }
+  },
+
+  /** @private */
+  willDestroy: function() {
+    get(this, 'location').destroy();
+  }
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Routing
+// Copyright: ©2012 Tilde Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
+(function() {
+var get = Ember.get;
+
+Ember.StateManager.reopen(
+/** @scope Ember.StateManager.prototype */ {
+
+  /**
+    If the current state is a view state or the descendent of a view state,
+    this property will be the view associated with it. If there is no
+    view state active in this state manager, this value will be null.
+
+    @type Ember.View
+  */
+  currentView: Ember.computed(function() {
+    var currentState = get(this, 'currentState'),
+        view;
+
+    while (currentState) {
+      // TODO: Remove this when view state is removed
+      if (get(currentState, 'isViewState')) {
+        view = get(currentState, 'view');
+        if (view) { return view; }
+      }
+
+      currentState = get(currentState, 'parentState');
+    }
+
+    return null;
+  }).property('currentState').cacheable()
+
+});
+
+})();
+
+
+
+(function() {
+var get = Ember.get, set = Ember.set;
+/**
+  @class
+  @deprecated
+
+  Ember.ViewState extends Ember.State to control the presence of a childView within a
+  container based on the current state of the ViewState's StateManager.
+
+  ## Interactions with Ember's View System.
+  When combined with instances of `Ember.StateManager`, ViewState is designed to
+  interact with Ember's view system to control which views are added to
+  and removed from the DOM based on the manager's current state.
+
+  By default, a StateManager will manage views inside the 'body' element. This can be
+  customized by setting the `rootElement` property to a CSS selector of an existing
+  HTML element you would prefer to receive view rendering.
+
+
+      viewStates = Ember.StateManager.create({
+        rootElement: '#some-other-element'
+      })
+
+  You can also specify a particular instance of `Ember.ContainerView` you would like to receive
+  view rendering by setting the `rootView` property. You will be responsible for placing
+  this element into the DOM yourself.
+
+      aLayoutView = Ember.ContainerView.create()
+
+      // make sure this view instance is added to the browser
+      aLayoutView.appendTo('body')
+
+      App.viewStates = Ember.StateManager.create({
+        rootView: aLayoutView
+      })
+
+
+  Once you have an instance of StateManager controlling a view, you can provide states
+  that are instances of `Ember.ViewState`.  When the StateManager enters a state
+  that is an instance of `Ember.ViewState` that `ViewState`'s `view` property will be
+  instantiated and inserted into the StateManager's `rootView` or `rootElement`.
+  When a state is exited, the `ViewState`'s view will be removed from the StateManager's
+  view.
+
+      ContactListView = Ember.View.extend({
+        classNames: ['my-contacts-css-class'],
+        template: Ember.Handlebars.compile('<h2>People</h2>')
+      })
+
+      PhotoListView = Ember.View.extend({
+        classNames: ['my-photos-css-class'],
+        template: Ember.Handlebars.compile('<h2>Photos</h2>')
+      })
+
+      viewStates = Ember.StateManager.create({
+        showingPeople: Ember.ViewState.create({
+          view: ContactListView
+        }),
+        showingPhotos: Ember.ViewState.create({
+          view: PhotoListView
+        })
+      })
+
+      viewStates.transitionTo('showingPeople')
+
+  The above code will change the rendered HTML from
+
+      <body></body>
+
+  to
+
+      <body>
+        <div id="ember1" class="ember-view my-contacts-css-class">
+          <h2>People</h2>
+        </div>
+      </body>
+
+  Changing the current state via `transitionTo` from `showingPeople` to
+  `showingPhotos` will remove the `showingPeople` view and add the `showingPhotos` view:
+
+      viewStates.transitionTo('showingPhotos')
+
+  will change the rendered HTML to
+
+      <body>
+        <div id="ember2" class="ember-view my-photos-css-class">
+          <h2>Photos</h2>
+        </div>
+      </body>
+
+
+  When entering nested `ViewState`s, each state's view will be draw into the the StateManager's
+  `rootView` or `rootElement` as siblings.
+
+
+      ContactListView = Ember.View.extend({
+        classNames: ['my-contacts-css-class'],
+        template: Ember.Handlebars.compile('<h2>People</h2>')
+      })
+
+      EditAContactView = Ember.View.extend({
+        classNames: ['editing-a-contact-css-class'],
+        template: Ember.Handlebars.compile('Editing...')
+      })
+
+      viewStates = Ember.StateManager.create({
+        showingPeople: Ember.ViewState.create({
+          view: ContactListView,
+
+          withEditingPanel: Ember.ViewState.create({
+            view: EditAContactView
+          })
+        })
+      })
+
+
+      viewStates.transitionTo('showingPeople.withEditingPanel')
+
+
+  Will result in the following rendered HTML:
+
+      <body>
+        <div id="ember2" class="ember-view my-contacts-css-class">
+          <h2>People</h2>
+        </div>
+
+        <div id="ember2" class="ember-view editing-a-contact-css-class">
+          Editing...
+        </div>
+      </body>
+
+
+  ViewState views are added and removed from their StateManager's view via their
+  `enter` and `exit` methods. If you need to override these methods, be sure to call
+  `_super` to maintain the adding and removing behavior:
+
+      viewStates = Ember.StateManager.create({
+        aState: Ember.ViewState.create({
+          view: Ember.View.extend({}),
+          enter: function(manager){
+            // calling _super ensures this view will be
+            // properly inserted
+            this._super(manager);
+
+            // now you can do other things
+          }
+        })
+      })
+
+  ## Managing Multiple Sections of A Page With States
+  Multiple StateManagers can be combined to control multiple areas of an application's rendered views.
+  Given the following HTML body:
+
+      <body>
+        <div id='sidebar-nav'>
+        </div>
+        <div id='content-area'>
+        </div>
+      </body>
+
+  You could separately manage view state for each section with two StateManagers
+
+      navigationStates = Ember.StateManager.create({
+        rootElement: '#sidebar-nav',
+        userAuthenticated: Em.ViewState.create({
+          view: Ember.View.extend({})
+        }),
+        userNotAuthenticated: Em.ViewState.create({
+          view: Ember.View.extend({})
+        })
+      })
+
+      contentStates = Ember.StateManager.create({
+        rootElement: '#content-area',
+        books: Em.ViewState.create({
+          view: Ember.View.extend({})
+        }),
+        music: Em.ViewState.create({
+          view: Ember.View.extend({})
+        })
+      })
+
+
+  If you prefer to start with an empty body and manage state programmatically you
+  can also take advantage of StateManager's `rootView` property and the ability of
+  `Ember.ContainerView`s to manually manage their child views.
+
+
+      dashboard = Ember.ContainerView.create({
+        childViews: ['navigationAreaView', 'contentAreaView'],
+        navigationAreaView: Ember.ContainerView.create({}),
+        contentAreaView: Ember.ContainerView.create({})
+      })
+
+      navigationStates = Ember.StateManager.create({
+        rootView: dashboard.get('navigationAreaView'),
+        userAuthenticated: Em.ViewState.create({
+          view: Ember.View.extend({})
+        }),
+        userNotAuthenticated: Em.ViewState.create({
+          view: Ember.View.extend({})
+        })
+      })
+
+      contentStates = Ember.StateManager.create({
+        rootView: dashboard.get('contentAreaView'),
+        books: Em.ViewState.create({
+          view: Ember.View.extend({})
+        }),
+        music: Em.ViewState.create({
+          view: Ember.View.extend({})
+        })
+      })
+
+      dashboard.appendTo('body')
+
+  ## User Manipulation of State via `{{action}}` Helpers
+  The Handlebars `{{action}}` helper is StateManager-aware and will use StateManager action sending
+  to connect user interaction to action-based state transitions.
+
+  Given the following body and handlebars template
+
+      <body>
+        <script type='text/x-handlebars'>
+          <a href="#" {{action "anAction" target="App.appStates"}}> Go </a>
+        </script>
+      </body>
+
+  And application code
+
+      App = Ember.Application.create()
+      App.appStates = Ember.StateManager.create({
+        initialState: 'aState',
+        aState: Ember.State.create({
+          anAction: function(manager, context){}
+        }),
+        bState: Ember.State.create({})
+      })
+
+  A user initiated click or touch event on "Go" will trigger the 'anAction' method of
+  `App.appStates.aState` with `App.appStates` as the first argument and a
+  `jQuery.Event` object as the second object. The `jQuery.Event` will include a property
+  `view` that references the `Ember.View` object that was interacted with.
+
+**/
+Ember.ViewState = Ember.State.extend(
+/** @scope Ember.ViewState.prototype */ {
+  isViewState: true,
+
+  init: function() {
+    Ember.deprecate("Ember.ViewState is deprecated and will be removed from future releases. Consider using the outlet pattern to display nested views instead. For more information, see http://emberjs.com/guides/outlets/.");
+    return this._super();
+  },
+
+  enter: function(stateManager) {
+    var view = get(this, 'view'), root, childViews;
+
+    if (view) {
+      if (Ember.View.detect(view)) {
+        view = view.create();
+        set(this, 'view', view);
+      }
+
+      Ember.assert('view must be an Ember.View', view instanceof Ember.View);
+
+      root = stateManager.get('rootView');
+
+      if (root) {
+        childViews = get(root, 'childViews');
+        childViews.pushObject(view);
+      } else {
+        root = stateManager.get('rootElement') || 'body';
+        view.appendTo(root);
+      }
+    }
+  },
+
+  exit: function(stateManager) {
+    var view = get(this, 'view');
+
+    if (view) {
+      // If the view has a parent view, then it is
+      // part of a view hierarchy and should be removed
+      // from its parent.
+      if (get(view, 'parentView')) {
+        view.removeFromParent();
+      } else {
+
+        // Otherwise, the view is a "root view" and
+        // was appended directly to the DOM.
+        view.remove();
+      }
+    }
+  }
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:  Ember Statecharts
+// Copyright: ©2011 Living Social Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
+(function() {
+// ==========================================================================
+// Project:   metamorph
+// Copyright: ©2011 My Company Inc. All rights reserved.
+// ==========================================================================
+
+(function(window) {
+
+  var K = function(){},
+      guid = 0,
+      document = window.document,
+
+      // Feature-detect the W3C range API, the extended check is for IE9 which only partially supports ranges
+      supportsRange = ('createRange' in document) && (typeof Range !== 'undefined') && Range.prototype.createContextualFragment,
+
+      // Internet Explorer prior to 9 does not allow setting innerHTML if the first element
+      // is a "zero-scope" element. This problem can be worked around by making
+      // the first node an invisible text node. We, like Modernizr, use &shy;
+      needsShy = (function(){
+        var testEl = document.createElement('div');
+        testEl.innerHTML = "<div></div>";
+        testEl.firstChild.innerHTML = "<script></script>";
+        return testEl.firstChild.innerHTML === '';
+      })();
+
+  // Constructor that supports either Metamorph('foo') or new
+  // Metamorph('foo');
+  //
+  // Takes a string of HTML as the argument.
+
+  var Metamorph = function(html) {
+    var self;
+
+    if (this instanceof Metamorph) {
+      self = this;
+    } else {
+      self = new K();
+    }
+
+    self.innerHTML = html;
+    var myGuid = 'metamorph-'+(guid++);
+    self.start = myGuid + '-start';
+    self.end = myGuid + '-end';
+
+    return self;
+  };
+
+  K.prototype = Metamorph.prototype;
+
+  var rangeFor, htmlFunc, removeFunc, outerHTMLFunc, appendToFunc, afterFunc, prependFunc, startTagFunc, endTagFunc;
+
+  outerHTMLFunc = function() {
+    return this.startTag() + this.innerHTML + this.endTag();
+  };
+
+  startTagFunc = function() {
+    return "<script id='" + this.start + "' type='text/x-placeholder'></script>";
+  };
+
+  endTagFunc = function() {
+    return "<script id='" + this.end + "' type='text/x-placeholder'></script>";
+  };
+
+  // If we have the W3C range API, this process is relatively straight forward.
+  if (supportsRange) {
+
+    // Get a range for the current morph. Optionally include the starting and
+    // ending placeholders.
+    rangeFor = function(morph, outerToo) {
+      var range = document.createRange();
+      var before = document.getElementById(morph.start);
+      var after = document.getElementById(morph.end);
+
+      if (outerToo) {
+        range.setStartBefore(before);
+        range.setEndAfter(after);
+      } else {
+        range.setStartAfter(before);
+        range.setEndBefore(after);
+      }
+
+      return range;
+    };
+
+    htmlFunc = function(html, outerToo) {
+      // get a range for the current metamorph object
+      var range = rangeFor(this, outerToo);
+
+      // delete the contents of the range, which will be the
+      // nodes between the starting and ending placeholder.
+      range.deleteContents();
+
+      // create a new document fragment for the HTML
+      var fragment = range.createContextualFragment(html);
+
+      // insert the fragment into the range
+      range.insertNode(fragment);
+    };
+
+    removeFunc = function() {
+      // get a range for the current metamorph object including
+      // the starting and ending placeholders.
+      var range = rangeFor(this, true);
+
+      // delete the entire range.
+      range.deleteContents();
+    };
+
+    appendToFunc = function(node) {
+      var range = document.createRange();
+      range.setStart(node);
+      range.collapse(false);
+      var frag = range.createContextualFragment(this.outerHTML());
+      node.appendChild(frag);
+    };
+
+    afterFunc = function(html) {
+      var range = document.createRange();
+      var after = document.getElementById(this.end);
+
+      range.setStartAfter(after);
+      range.setEndAfter(after);
+
+      var fragment = range.createContextualFragment(html);
+      range.insertNode(fragment);
+    };
+
+    prependFunc = function(html) {
+      var range = document.createRange();
+      var start = document.getElementById(this.start);
+
+      range.setStartAfter(start);
+      range.setEndAfter(start);
+
+      var fragment = range.createContextualFragment(html);
+      range.insertNode(fragment);
+    };
+
+  } else {
+    /**
+     * This code is mostly taken from jQuery, with one exception. In jQuery's case, we
+     * have some HTML and we need to figure out how to convert it into some nodes.
+     *
+     * In this case, jQuery needs to scan the HTML looking for an opening tag and use
+     * that as the key for the wrap map. In our case, we know the parent node, and
+     * can use its type as the key for the wrap map.
+     **/
+    var wrapMap = {
+      select: [ 1, "<select multiple='multiple'>", "</select>" ],
+      fieldset: [ 1, "<fieldset>", "</fieldset>" ],
+      table: [ 1, "<table>", "</table>" ],
+      tbody: [ 2, "<table><tbody>", "</tbody></table>" ],
+      tr: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ],
+      colgroup: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ],
+      map: [ 1, "<map>", "</map>" ],
+      _default: [ 0, "", "" ]
+    };
+
+    /**
+     * Given a parent node and some HTML, generate a set of nodes. Return the first
+     * node, which will allow us to traverse the rest using nextSibling.
+     *
+     * We need to do this because innerHTML in IE does not really parse the nodes.
+     **/
+    var firstNodeFor = function(parentNode, html) {
+      var arr = wrapMap[parentNode.tagName.toLowerCase()] || wrapMap._default;
+      var depth = arr[0], start = arr[1], end = arr[2];
+
+      if (needsShy) { html = '&shy;'+html; }
+
+      var element = document.createElement('div');
+      element.innerHTML = start + html + end;
+
+      for (var i=0; i<=depth; i++) {
+        element = element.firstChild;
+      }
+
+      // Look for &shy; to remove it.
+      if (needsShy) {
+        var shyElement = element;
+
+        // Sometimes we get nameless elements with the shy inside
+        while (shyElement.nodeType === 1 && !shyElement.nodeName) {
+          shyElement = shyElement.firstChild;
+        }
+
+        // At this point it's the actual unicode character.
+        if (shyElement.nodeType === 3 && shyElement.nodeValue.charAt(0) === "\u00AD") {
+          shyElement.nodeValue = shyElement.nodeValue.slice(1);
+        }
+      }
+
+      return element;
+    };
+
+    /**
+     * In some cases, Internet Explorer can create an anonymous node in
+     * the hierarchy with no tagName. You can create this scenario via:
+     *
+     *     div = document.createElement("div");
+     *     div.innerHTML = "<table>&shy<script></script><tr><td>hi</td></tr></table>";
+     *     div.firstChild.firstChild.tagName //=> ""
+     *
+     * If our script markers are inside such a node, we need to find that
+     * node and use *it* as the marker.
+     **/
+    var realNode = function(start) {
+      while (start.parentNode.tagName === "") {
+        start = start.parentNode;
+      }
+
+      return start;
+    };
+
+    /**
+     * When automatically adding a tbody, Internet Explorer inserts the
+     * tbody immediately before the first <tr>. Other browsers create it
+     * before the first node, no matter what.
+     *
+     * This means the the following code:
+     *
+     *     div = document.createElement("div");
+     *     div.innerHTML = "<table><script id='first'></script><tr><td>hi</td></tr><script id='last'></script></table>
+     *
+     * Generates the following DOM in IE:
+     *
+     *     + div
+     *       + table
+     *         - script id='first'
+     *         + tbody
+     *           + tr
+     *             + td
+     *               - "hi"
+     *           - script id='last'
+     *
+     * Which means that the two script tags, even though they were
+     * inserted at the same point in the hierarchy in the original
+     * HTML, now have different parents.
+     *
+     * This code reparents the first script tag by making it the tbody's
+     * first child.
+     **/
+    var fixParentage = function(start, end) {
+      if (start.parentNode !== end.parentNode) {
+        end.parentNode.insertBefore(start, end.parentNode.firstChild);
+      }
+    };
+
+    htmlFunc = function(html, outerToo) {
+      // get the real starting node. see realNode for details.
+      var start = realNode(document.getElementById(this.start));
+      var end = document.getElementById(this.end);
+      var parentNode = end.parentNode;
+      var node, nextSibling, last;
+
+      // make sure that the start and end nodes share the same
+      // parent. If not, fix it.
+      fixParentage(start, end);
+
+      // remove all of the nodes after the starting placeholder and
+      // before the ending placeholder.
+      node = start.nextSibling;
+      while (node) {
+        nextSibling = node.nextSibling;
+        last = node === end;
+
+        // if this is the last node, and we want to remove it as well,
+        // set the `end` node to the next sibling. This is because
+        // for the rest of the function, we insert the new nodes
+        // before the end (note that insertBefore(node, null) is
+        // the same as appendChild(node)).
+        //
+        // if we do not want to remove it, just break.
+        if (last) {
+          if (outerToo) { end = node.nextSibling; } else { break; }
+        }
+
+        node.parentNode.removeChild(node);
+
+        // if this is the last node and we didn't break before
+        // (because we wanted to remove the outer nodes), break
+        // now.
+        if (last) { break; }
+
+        node = nextSibling;
+      }
+
+      // get the first node for the HTML string, even in cases like
+      // tables and lists where a simple innerHTML on a div would
+      // swallow some of the content.
+      node = firstNodeFor(start.parentNode, html);
+
+      // copy the nodes for the HTML between the starting and ending
+      // placeholder.
+      while (node) {
+        nextSibling = node.nextSibling;
+        parentNode.insertBefore(node, end);
+        node = nextSibling;
+      }
+    };
+
+    // remove the nodes in the DOM representing this metamorph.
+    //
+    // this includes the starting and ending placeholders.
+    removeFunc = function() {
+      var start = realNode(document.getElementById(this.start));
+      var end = document.getElementById(this.end);
+
+      this.html('');
+      start.parentNode.removeChild(start);
+      end.parentNode.removeChild(end);
+    };
+
+    appendToFunc = function(parentNode) {
+      var node = firstNodeFor(parentNode, this.outerHTML());
+
+      while (node) {
+        nextSibling = node.nextSibling;
+        parentNode.appendChild(node);
+        node = nextSibling;
+      }
+    };
+
+    afterFunc = function(html) {
+      // get the real starting node. see realNode for details.
+      var end = document.getElementById(this.end);
+      var insertBefore = end.nextSibling;
+      var parentNode = end.parentNode;
+      var nextSibling;
+      var node;
+
+      // get the first node for the HTML string, even in cases like
+      // tables and lists where a simple innerHTML on a div would
+      // swallow some of the content.
+      node = firstNodeFor(parentNode, html);
+
+      // copy the nodes for the HTML between the starting and ending
+      // placeholder.
+      while (node) {
+        nextSibling = node.nextSibling;
+        parentNode.insertBefore(node, insertBefore);
+        node = nextSibling;
+      }
+    };
+
+    prependFunc = function(html) {
+      var start = document.getElementById(this.start);
+      var parentNode = start.parentNode;
+      var nextSibling;
+      var node;
+
+      node = firstNodeFor(parentNode, html);
+      var insertBefore = start.nextSibling;
+
+      while (node) {
+        nextSibling = node.nextSibling;
+        parentNode.insertBefore(node, insertBefore);
+        node = nextSibling;
+      }
+    }
+  }
+
+  Metamorph.prototype.html = function(html) {
+    this.checkRemoved();
+    if (html === undefined) { return this.innerHTML; }
+
+    htmlFunc.call(this, html);
+
+    this.innerHTML = html;
+  };
+
+  Metamorph.prototype.replaceWith = function(html) {
+    this.checkRemoved();
+    htmlFunc.call(this, html, true);
+  };
+
+  Metamorph.prototype.remove = removeFunc;
+  Metamorph.prototype.outerHTML = outerHTMLFunc;
+  Metamorph.prototype.appendTo = appendToFunc;
+  Metamorph.prototype.after = afterFunc;
+  Metamorph.prototype.prepend = prependFunc;
+  Metamorph.prototype.startTag = startTagFunc;
+  Metamorph.prototype.endTag = endTagFunc;
+
+  Metamorph.prototype.isRemoved = function() {
+    var before = document.getElementById(this.start);
+    var after = document.getElementById(this.end);
+
+    return !before || !after;
+  };
+
+  Metamorph.prototype.checkRemoved = function() {
+    if (this.isRemoved()) {
+      throw new Error("Cannot perform operations on a Metamorph that is not in the DOM.");
+    }
+  };
+
+  window.Metamorph = Metamorph;
+})(this);
+
+
+})();
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+/*globals Handlebars */
+var objectCreate = Ember.create;
+
+/**
+  @namespace
+  @name Handlebars
+  @private
+*/
+
+/**
+  @namespace
+  @name Handlebars.helpers
+  @description Helpers for Handlebars templates
+*/
+
+Ember.assert("Ember Handlebars requires Handlebars 1.0.beta.5 or greater", window.Handlebars && window.Handlebars.VERSION.match(/^1\.0\.beta\.[56789]$|^1\.0\.rc\.[123456789]+/));
+
+/**
+  @class
+
+  Prepares the Handlebars templating library for use inside Ember's view
+  system.
+
+  The Ember.Handlebars object is the standard Handlebars library, extended to use
+  Ember's get() method instead of direct property access, which allows
+  computed properties to be used inside templates.
+
+  To create an Ember.Handlebars template, call Ember.Handlebars.compile().  This will
+  return a function that can be used by Ember.View for rendering.
+*/
+Ember.Handlebars = objectCreate(Handlebars);
+
+Ember.Handlebars.helpers = objectCreate(Handlebars.helpers);
+
+/**
+  Override the the opcode compiler and JavaScript compiler for Handlebars.
+  @private
+*/
+Ember.Handlebars.Compiler = function() {};
+Ember.Handlebars.Compiler.prototype = objectCreate(Handlebars.Compiler.prototype);
+Ember.Handlebars.Compiler.prototype.compiler = Ember.Handlebars.Compiler;
+
+/** @private */
+Ember.Handlebars.JavaScriptCompiler = function() {};
+Ember.Handlebars.JavaScriptCompiler.prototype = objectCreate(Handlebars.JavaScriptCompiler.prototype);
+Ember.Handlebars.JavaScriptCompiler.prototype.compiler = Ember.Handlebars.JavaScriptCompiler;
+Ember.Handlebars.JavaScriptCompiler.prototype.namespace = "Ember.Handlebars";
+
+
+Ember.Handlebars.JavaScriptCompiler.prototype.initializeBuffer = function() {
+  return "''";
+};
+
+/**
+  Override the default buffer for Ember Handlebars. By default, Handlebars creates
+  an empty String at the beginning of each invocation and appends to it. Ember's
+  Handlebars overrides this to append to a single shared buffer.
+
+  @private
+*/
+Ember.Handlebars.JavaScriptCompiler.prototype.appendToBuffer = function(string) {
+  return "data.buffer.push("+string+");";
+};
+
+/**
+  Rewrite simple mustaches from {{foo}} to {{bind "foo"}}. This means that all simple
+  mustaches in Ember's Handlebars will also set up an observer to keep the DOM
+  up to date when the underlying property changes.
+
+  @private
+*/
+Ember.Handlebars.Compiler.prototype.mustache = function(mustache) {
+  if (mustache.params.length || mustache.hash) {
+    return Handlebars.Compiler.prototype.mustache.call(this, mustache);
+  } else {
+    var id = new Handlebars.AST.IdNode(['_triageMustache']);
+
+    // Update the mustache node to include a hash value indicating whether the original node
+    // was escaped. This will allow us to properly escape values when the underlying value
+    // changes and we need to re-render the value.
+    if(!mustache.escaped) {
+      mustache.hash = mustache.hash || new Handlebars.AST.HashNode([]);
+      mustache.hash.pairs.push(["unescaped", new Handlebars.AST.StringNode("true")]);
+    }
+    mustache = new Handlebars.AST.MustacheNode([id].concat([mustache.id]), mustache.hash, !mustache.escaped);
+    return Handlebars.Compiler.prototype.mustache.call(this, mustache);
+  }
+};
+
+/**
+  Used for precompilation of Ember Handlebars templates. This will not be used during normal
+  app execution.
+
+  @param {String} string The template to precompile
+*/
+Ember.Handlebars.precompile = function(string) {
+  var ast = Handlebars.parse(string);
+
+  var options = {
+    knownHelpers: {
+      action: true,
+      unbound: true,
+      bindAttr: true,
+      template: true,
+      view: true,
+      _triageMustache: true
+    },
+    data: true,
+    stringParams: true
+  };
+
+  var environment = new Ember.Handlebars.Compiler().compile(ast, options);
+  return new Ember.Handlebars.JavaScriptCompiler().compile(environment, options, undefined, true);
+};
+
+/**
+  The entry point for Ember Handlebars. This replaces the default Handlebars.compile and turns on
+  template-local data and String parameters.
+
+  @param {String} string The template to compile
+*/
+Ember.Handlebars.compile = function(string) {
+  var ast = Handlebars.parse(string);
+  var options = { data: true, stringParams: true };
+  var environment = new Ember.Handlebars.Compiler().compile(ast, options);
+  var templateSpec = new Ember.Handlebars.JavaScriptCompiler().compile(environment, options, undefined, true);
+
+  return Handlebars.template(templateSpec);
+};
+
+/**
+  If a path starts with a reserved keyword, returns the root
+  that should be used.
+
+  @private
+*/
+var normalizePath = Ember.Handlebars.normalizePath = function(root, path, data) {
+  var keywords = (data && data.keywords) || {},
+      keyword, isKeyword;
+
+  // Get the first segment of the path. For example, if the
+  // path is "foo.bar.baz", returns "foo".
+  keyword = path.split('.', 1)[0];
+
+  // Test to see if the first path is a keyword that has been
+  // passed along in the view's data hash. If so, we will treat
+  // that object as the new root.
+  if (keywords.hasOwnProperty(keyword)) {
+    // Look up the value in the template's data hash.
+    root = keywords[keyword];
+    isKeyword = true;
+
+    // Handle cases where the entire path is the reserved
+    // word. In that case, return the object itself.
+    if (path === keyword) {
+      path = '';
+    } else {
+      // Strip the keyword from the path and look up
+      // the remainder from the newly found root.
+      path = path.substr(keyword.length+1);
+    }
+  }
+
+  return { root: root, path: path, isKeyword: isKeyword };
+};
+/**
+  Lookup both on root and on window. If the path starts with
+  a keyword, the corresponding object will be looked up in the
+  template's data hash and used to resolve the path.
+
+  @param {Object} root The object to look up the property on
+  @param {String} path The path to be lookedup
+  @param {Object} options The template's option hash
+*/
+
+Ember.Handlebars.getPath = function(root, path, options) {
+  var data = options && options.data,
+      normalizedPath = normalizePath(root, path, data),
+      value;
+
+  // In cases where the path begins with a keyword, change the
+  // root to the value represented by that keyword, and ensure
+  // the path is relative to it.
+  root = normalizedPath.root;
+  path = normalizedPath.path;
+
+  value = Ember.get(root, path);
+
+  if (value === undefined && root !== window && Ember.isGlobalPath(path)) {
+    value = Ember.get(window, path);
+  }
+  return value;
+};
+
+/**
+  Registers a helper in Handlebars that will be called if no property with the
+  given name can be found on the current context object, and no helper with
+  that name is registered.
+
+  This throws an exception with a more helpful error message so the user can
+  track down where the problem is happening.
+
+  @name Handlebars.helpers.helperMissing
+  @param {String} path
+  @param {Hash} options
+*/
+Ember.Handlebars.registerHelper('helperMissing', function(path, options) {
+  var error, view = "";
+
+  error = "%@ Handlebars error: Could not find property '%@' on object %@.";
+  if (options.data){
+    view = options.data.view;
+  }
+  throw new Ember.Error(Ember.String.fmt(error, [view, path, this]));
+});
+
+
+})();
+
+
+
+(function() {
+
+Ember.String.htmlSafe = function(str) {
+  return new Handlebars.SafeString(str);
+};
+
+var htmlSafe = Ember.String.htmlSafe;
+
+if (Ember.EXTEND_PROTOTYPES) {
+
+  /**
+    @see Ember.String.htmlSafe
+  */
+  String.prototype.htmlSafe = function() {
+    return htmlSafe(this);
+  };
+
+}
+
+})();
+
+
+
+(function() {
+/*jshint newcap:false*/
+var set = Ember.set, get = Ember.get;
+
+var DOMManager = {
+  remove: function(view) {
+    var morph = view.morph;
+    if (morph.isRemoved()) { return; }
+    set(view, 'element', null);
+    view._lastInsert = null;
+    morph.remove();
+  },
+
+  prepend: function(view, childView) {
+    childView._insertElementLater(function() {
+      var morph = view.morph;
+      morph.prepend(childView.outerHTML);
+      childView.outerHTML = null;
+    });
+  },
+
+  after: function(view, nextView) {
+    nextView._insertElementLater(function() {
+      var morph = view.morph;
+      morph.after(nextView.outerHTML);
+      nextView.outerHTML = null;
+    });
+  },
+
+  replace: function(view) {
+    var morph = view.morph;
+
+    view.transitionTo('preRender');
+    view.clearRenderedChildren();
+    var buffer = view.renderToBuffer();
+
+    Ember.run.schedule('render', this, function() {
+      if (get(view, 'isDestroyed')) { return; }
+      view.invalidateRecursively('element');
+      view._notifyWillInsertElement();
+      morph.replaceWith(buffer.string());
+      view.transitionTo('inDOM');
+      view._notifyDidInsertElement();
+    });
+  },
+
+  empty: function(view) {
+    view.morph.html("");
+  }
+};
+
+// The `morph` and `outerHTML` properties are internal only
+// and not observable.
+
+Ember._Metamorph = Ember.Mixin.create({
+  isVirtual: true,
+  tagName: '',
+
+  init: function() {
+    this._super();
+    this.morph = Metamorph();
+  },
+
+  beforeRender: function(buffer) {
+    buffer.push(this.morph.startTag());
+  },
+
+  afterRender: function(buffer) {
+    buffer.push(this.morph.endTag());
+  },
+
+  createElement: function() {
+    var buffer = this.renderToBuffer();
+    this.outerHTML = buffer.string();
+    this.clearBuffer();
+  },
+
+  domManager: DOMManager
+});
+
+Ember._MetamorphView = Ember.View.extend(Ember._Metamorph);
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+/*globals Handlebars */
+
+var get = Ember.get, set = Ember.set, getPath = Ember.Handlebars.getPath;
+/**
+  @ignore
+  @private
+  @class
+
+  Ember._HandlebarsBoundView is a private view created by the Handlebars `{{bind}}`
+  helpers that is used to keep track of bound properties.
+
+  Every time a property is bound using a `{{mustache}}`, an anonymous subclass
+  of Ember._HandlebarsBoundView is created with the appropriate sub-template and
+  context set up. When the associated property changes, just the template for
+  this view will re-render.
+*/
+Ember._HandlebarsBoundView = Ember._MetamorphView.extend({
+/** @scope Ember._HandlebarsBoundView.prototype */
+
+  /**
+    The function used to determine if the `displayTemplate` or
+    `inverseTemplate` should be rendered. This should be a function that takes
+    a value and returns a Boolean.
+
+    @type Function
+    @default null
+  */
+  shouldDisplayFunc: null,
+
+  /**
+    Whether the template rendered by this view gets passed the context object
+    of its parent template, or gets passed the value of retrieving `path`
+    from the `pathRoot`.
+
+    For example, this is true when using the `{{#if}}` helper, because the
+    template inside the helper should look up properties relative to the same
+    object as outside the block. This would be false when used with `{{#with
+    foo}}` because the template should receive the object found by evaluating
+    `foo`.
+
+    @type Boolean
+    @default false
+  */
+  preserveContext: false,
+
+  /**
+    If `preserveContext` is true, this is the object that will be used
+    to render the template.
+
+    @type Object
+  */
+  previousContext: null,
+
+  /**
+    The template to render when `shouldDisplayFunc` evaluates to true.
+
+    @type Function
+    @default null
+  */
+  displayTemplate: null,
+
+  /**
+    The template to render when `shouldDisplayFunc` evaluates to false.
+
+    @type Function
+    @default null
+  */
+  inverseTemplate: null,
+
+
+  /**
+    The path to look up on `pathRoot` that is passed to
+    `shouldDisplayFunc` to determine which template to render.
+
+    In addition, if `preserveContext` is false, the object at this path will
+    be passed to the template when rendering.
+
+    @type String
+    @default null
+  */
+  path: null,
+
+  /**
+    The object from which the `path` will be looked up. Sometimes this is the
+    same as the `previousContext`, but in cases where this view has been generated
+    for paths that start with a keyword such as `view` or `controller`, the
+    path root will be that resolved object.
+
+    @type Object
+  */
+  pathRoot: null,
+
+  normalizedValue: Ember.computed(function() {
+    var path = get(this, 'path'),
+        pathRoot  = get(this, 'pathRoot'),
+        valueNormalizer = get(this, 'valueNormalizerFunc'),
+        result, templateData;
+
+    // Use the pathRoot as the result if no path is provided. This
+    // happens if the path is `this`, which gets normalized into
+    // a `pathRoot` of the current Handlebars context and a path
+    // of `''`.
+    if (path === '') {
+      result = pathRoot;
+    } else {
+      templateData = get(this, 'templateData');
+      result = getPath(pathRoot, path, { data: templateData });
+    }
+
+    return valueNormalizer ? valueNormalizer(result) : result;
+  }).property('path', 'pathRoot', 'valueNormalizerFunc').volatile(),
+
+  rerenderIfNeeded: function() {
+    if (!get(this, 'isDestroyed') && get(this, 'normalizedValue') !== this._lastNormalizedValue) {
+      this.rerender();
+    }
+  },
+
+  /**
+    Determines which template to invoke, sets up the correct state based on
+    that logic, then invokes the default Ember.View `render` implementation.
+
+    This method will first look up the `path` key on `pathRoot`,
+    then pass that value to the `shouldDisplayFunc` function. If that returns
+    true, the `displayTemplate` function will be rendered to DOM. Otherwise,
+    `inverseTemplate`, if specified, will be rendered.
+
+    For example, if this Ember._HandlebarsBoundView represented the {{#with foo}}
+    helper, it would look up the `foo` property of its context, and
+    `shouldDisplayFunc` would always return true. The object found by looking
+    up `foo` would be passed to `displayTemplate`.
+
+    @param {Ember.RenderBuffer} buffer
+  */
+  render: function(buffer) {
+    // If not invoked via a triple-mustache ({{{foo}}}), escape
+    // the content of the template.
+    var escape = get(this, 'isEscaped');
+
+    var shouldDisplay = get(this, 'shouldDisplayFunc'),
+        preserveContext = get(this, 'preserveContext'),
+        context = get(this, 'previousContext');
+
+    var inverseTemplate = get(this, 'inverseTemplate'),
+        displayTemplate = get(this, 'displayTemplate');
+
+    var result = get(this, 'normalizedValue');
+    this._lastNormalizedValue = result;
+
+    // First, test the conditional to see if we should
+    // render the template or not.
+    if (shouldDisplay(result)) {
+      set(this, 'template', displayTemplate);
+
+      // If we are preserving the context (for example, if this
+      // is an #if block, call the template with the same object.
+      if (preserveContext) {
+        set(this, '_context', context);
+      } else {
+      // Otherwise, determine if this is a block bind or not.
+      // If so, pass the specified object to the template
+        if (displayTemplate) {
+          set(this, '_context', result);
+        } else {
+        // This is not a bind block, just push the result of the
+        // expression to the render context and return.
+          if (result === null || result === undefined) {
+            result = "";
+          } else if (!(result instanceof Handlebars.SafeString)) {
+            result = String(result);
+          }
+
+          if (escape) { result = Handlebars.Utils.escapeExpression(result); }
+          buffer.push(result);
+          return;
+        }
+      }
+    } else if (inverseTemplate) {
+      set(this, 'template', inverseTemplate);
+
+      if (preserveContext) {
+        set(this, '_context', context);
+      } else {
+        set(this, '_context', result);
+      }
+    } else {
+      set(this, 'template', function() { return ''; });
+    }
+
+    return this._super(buffer);
+  }
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set, fmt = Ember.String.fmt;
+var getPath = Ember.Handlebars.getPath, normalizePath = Ember.Handlebars.normalizePath;
+var forEach = Ember.ArrayPolyfills.forEach;
+
+var EmberHandlebars = Ember.Handlebars, helpers = EmberHandlebars.helpers;
+
+// Binds a property into the DOM. This will create a hook in DOM that the
+// KVO system will look for and update if the property changes.
+/** @private */
+function bind(property, options, preserveContext, shouldDisplay, valueNormalizer) {
+  var data = options.data,
+      fn = options.fn,
+      inverse = options.inverse,
+      view = data.view,
+      currentContext = this,
+      pathRoot, path, normalized;
+
+  normalized = normalizePath(currentContext, property, data);
+
+  pathRoot = normalized.root;
+  path = normalized.path;
+
+  // Set up observers for observable objects
+  if ('object' === typeof this) {
+    // Create the view that will wrap the output of this template/property
+    // and add it to the nearest view's childViews array.
+    // See the documentation of Ember._HandlebarsBoundView for more.
+    var bindView = view.createChildView(Ember._HandlebarsBoundView, {
+      preserveContext: preserveContext,
+      shouldDisplayFunc: shouldDisplay,
+      valueNormalizerFunc: valueNormalizer,
+      displayTemplate: fn,
+      inverseTemplate: inverse,
+      path: path,
+      pathRoot: pathRoot,
+      previousContext: currentContext,
+      isEscaped: !options.hash.unescaped,
+      templateData: options.data
+    });
+
+    view.appendChild(bindView);
+
+    /** @private */
+    var observer = function() {
+      Ember.run.once(bindView, 'rerenderIfNeeded');
+    };
+
+    // Observes the given property on the context and
+    // tells the Ember._HandlebarsBoundView to re-render. If property
+    // is an empty string, we are printing the current context
+    // object ({{this}}) so updating it is not our responsibility.
+    if (path !== '') {
+      Ember.addObserver(pathRoot, path, observer);
+    }
+  } else {
+    // The object is not observable, so just render it out and
+    // be done with it.
+    data.buffer.push(getPath(pathRoot, path, options));
+  }
+}
+
+/**
+  '_triageMustache' is used internally select between a binding and helper for
+  the given context. Until this point, it would be hard to determine if the
+  mustache is a property reference or a regular helper reference. This triage
+  helper resolves that.
+
+  This would not be typically invoked by directly.
+
+  @private
+  @name Handlebars.helpers._triageMustache
+  @param {String} property Property/helperID to triage
+  @param {Function} fn Context to provide for rendering
+  @returns {String} HTML string
+*/
+EmberHandlebars.registerHelper('_triageMustache', function(property, fn) {
+  Ember.assert("You cannot pass more than one argument to the _triageMustache helper", arguments.length <= 2);
+  if (helpers[property]) {
+    return helpers[property].call(this, fn);
+  }
+  else {
+    return helpers.bind.apply(this, arguments);
+  }
+});
+
+/**
+  `bind` can be used to display a value, then update that value if it
+  changes. For example, if you wanted to print the `title` property of
+  `content`:
+
+      {{bind "content.title"}}
+
+  This will return the `title` property as a string, then create a new
+  observer at the specified path. If it changes, it will update the value in
+  DOM. Note that if you need to support IE7 and IE8 you must modify the
+  model objects properties using Ember.get() and Ember.set() for this to work as
+  it relies on Ember's KVO system.  For all other browsers this will be handled
+  for you automatically.
+
+  @private
+  @name Handlebars.helpers.bind
+  @param {String} property Property to bind
+  @param {Function} fn Context to provide for rendering
+  @returns {String} HTML string
+*/
+EmberHandlebars.registerHelper('bind', function(property, fn) {
+  Ember.assert("You cannot pass more than one argument to the bind helper", arguments.length <= 2);
+
+  var context = (fn.contexts && fn.contexts[0]) || this;
+
+  return bind.call(context, property, fn, false, function(result) {
+    return !Ember.none(result);
+  });
+});
+
+/**
+  Use the `boundIf` helper to create a conditional that re-evaluates
+  whenever the bound value changes.
+
+      {{#boundIf "content.shouldDisplayTitle"}}
+        {{content.title}}
+      {{/boundIf}}
+
+  @private
+  @name Handlebars.helpers.boundIf
+  @param {String} property Property to bind
+  @param {Function} fn Context to provide for rendering
+  @returns {String} HTML string
+*/
+EmberHandlebars.registerHelper('boundIf', function(property, fn) {
+  var context = (fn.contexts && fn.contexts[0]) || this;
+  var func = function(result) {
+    if (Ember.typeOf(result) === 'array') {
+      return get(result, 'length') !== 0;
+    } else {
+      return !!result;
+    }
+  };
+
+  return bind.call(context, property, fn, true, func, func);
+});
+
+/**
+  @name Handlebars.helpers.with
+  @param {Function} context
+  @param {Hash} options
+  @returns {String} HTML string
+*/
+EmberHandlebars.registerHelper('with', function(context, options) {
+  if (arguments.length === 4) {
+    var keywordName, path, rootPath, normalized;
+
+    Ember.assert("If you pass more than one argument to the with helper, it must be in the form #with foo as bar", arguments[1] === "as");
+    options = arguments[3];
+    keywordName = arguments[2];
+    path = arguments[0];
+
+    Ember.assert("You must pass a block to the with helper", options.fn && options.fn !== Handlebars.VM.noop);
+
+    if (Ember.isGlobalPath(path)) {
+      Ember.bind(options.data.keywords, keywordName, path);
+    } else {
+      normalized = normalizePath(this, path, options.data);
+      path = normalized.path;
+      rootPath = normalized.root;
+
+      // This is a workaround for the fact that you cannot bind separate objects
+      // together. When we implement that functionality, we should use it here.
+      var contextKey = Ember.$.expando + Ember.guidFor(rootPath);
+      options.data.keywords[contextKey] = rootPath;
+
+      // if the path is '' ("this"), just bind directly to the current context
+      var contextPath = path ? contextKey + '.' + path : contextKey;
+      Ember.bind(options.data.keywords, keywordName, contextPath);
+    }
+
+    return bind.call(this, path, options.fn, true, function(result) {
+      return !Ember.none(result);
+    });
+  } else {
+    Ember.assert("You must pass exactly one argument to the with helper", arguments.length === 2);
+    Ember.assert("You must pass a block to the with helper", options.fn && options.fn !== Handlebars.VM.noop);
+    return helpers.bind.call(options.contexts[0], context, options);
+  }
+});
+
+
+/**
+  @name Handlebars.helpers.if
+  @param {Function} context
+  @param {Hash} options
+  @returns {String} HTML string
+*/
+EmberHandlebars.registerHelper('if', function(context, options) {
+  Ember.assert("You must pass exactly one argument to the if helper", arguments.length === 2);
+  Ember.assert("You must pass a block to the if helper", options.fn && options.fn !== Handlebars.VM.noop);
+
+  return helpers.boundIf.call(options.contexts[0], context, options);
+});
+
+/**
+  @name Handlebars.helpers.unless
+  @param {Function} context
+  @param {Hash} options
+  @returns {String} HTML string
+*/
+EmberHandlebars.registerHelper('unless', function(context, options) {
+  Ember.assert("You must pass exactly one argument to the unless helper", arguments.length === 2);
+  Ember.assert("You must pass a block to the unless helper", options.fn && options.fn !== Handlebars.VM.noop);
+
+  var fn = options.fn, inverse = options.inverse;
+
+  options.fn = inverse;
+  options.inverse = fn;
+
+  return helpers.boundIf.call(options.contexts[0], context, options);
+});
+
+/**
+  `bindAttr` allows you to create a binding between DOM element attributes and
+  Ember objects. For example:
+
+      <img {{bindAttr src="imageUrl" alt="imageTitle"}}>
+
+  @name Handlebars.helpers.bindAttr
+  @param {Hash} options
+  @returns {String} HTML string
+*/
+EmberHandlebars.registerHelper('bindAttr', function(options) {
+
+  var attrs = options.hash;
+
+  Ember.assert("You must specify at least one hash argument to bindAttr", !!Ember.keys(attrs).length);
+
+  var view = options.data.view;
+  var ret = [];
+  var ctx = this;
+
+  // Generate a unique id for this element. This will be added as a
+  // data attribute to the element so it can be looked up when
+  // the bound property changes.
+  var dataId = ++Ember.$.uuid;
+
+  // Handle classes differently, as we can bind multiple classes
+  var classBindings = attrs['class'];
+  if (classBindings !== null && classBindings !== undefined) {
+    var classResults = EmberHandlebars.bindClasses(this, classBindings, view, dataId, options);
+    ret.push('class="' + Handlebars.Utils.escapeExpression(classResults.join(' ')) + '"');
+    delete attrs['class'];
+  }
+
+  var attrKeys = Ember.keys(attrs);
+
+  // For each attribute passed, create an observer and emit the
+  // current value of the property as an attribute.
+  forEach.call(attrKeys, function(attr) {
+    var path = attrs[attr],
+        pathRoot, normalized;
+
+    Ember.assert(fmt("You must provide a String for a bound attribute, not %@", [path]), typeof path === 'string');
+
+    normalized = normalizePath(ctx, path, options.data);
+
+    pathRoot = normalized.root;
+    path = normalized.path;
+
+    var value = (path === 'this') ? pathRoot : getPath(pathRoot, path, options),
+        type = Ember.typeOf(value);
+
+    Ember.assert(fmt("Attributes must be numbers, strings or booleans, not %@", [value]), value === null || value === undefined || type === 'number' || type === 'string' || type === 'boolean');
+
+    var observer, invoker;
+
+    /** @private */
+    observer = function observer() {
+      var result = getPath(pathRoot, path, options);
+
+      Ember.assert(fmt("Attributes must be numbers, strings or booleans, not %@", [result]), result === null || result === undefined || typeof result === 'number' || typeof result === 'string' || typeof result === 'boolean');
+
+      var elem = view.$("[data-bindattr-" + dataId + "='" + dataId + "']");
+
+      // If we aren't able to find the element, it means the element
+      // to which we were bound has been removed from the view.
+      // In that case, we can assume the template has been re-rendered
+      // and we need to clean up the observer.
+      if (elem.length === 0) {
+        Ember.removeObserver(pathRoot, path, invoker);
+        return;
+      }
+
+      Ember.View.applyAttributeBindings(elem, attr, result);
+    };
+
+    /** @private */
+    invoker = function() {
+      Ember.run.once(observer);
+    };
+
+    // Add an observer to the view for when the property changes.
+    // When the observer fires, find the element using the
+    // unique data id and update the attribute to the new value.
+    if (path !== 'this') {
+      Ember.addObserver(pathRoot, path, invoker);
+    }
+
+    // if this changes, also change the logic in ember-views/lib/views/view.js
+    if ((type === 'string' || (type === 'number' && !isNaN(value)))) {
+      ret.push(attr + '="' + Handlebars.Utils.escapeExpression(value) + '"');
+    } else if (value && type === 'boolean') {
+      // The developer controls the attr name, so it should always be safe
+      ret.push(attr + '="' + attr + '"');
+    }
+  }, this);
+
+  // Add the unique identifier
+  // NOTE: We use all lower-case since Firefox has problems with mixed case in SVG
+  ret.push('data-bindattr-' + dataId + '="' + dataId + '"');
+  return new EmberHandlebars.SafeString(ret.join(' '));
+});
+
+/**
+  Helper that, given a space-separated string of property paths and a context,
+  returns an array of class names. Calling this method also has the side
+  effect of setting up observers at those property paths, such that if they
+  change, the correct class name will be reapplied to the DOM element.
+
+  For example, if you pass the string "fooBar", it will first look up the
+  "fooBar" value of the context. If that value is true, it will add the
+  "foo-bar" class to the current element (i.e., the dasherized form of
+  "fooBar"). If the value is a string, it will add that string as the class.
+  Otherwise, it will not add any new class name.
+
+  @param {Ember.Object} context
+    The context from which to lookup properties
+
+  @param {String} classBindings
+    A string, space-separated, of class bindings to use
+
+  @param {Ember.View} view
+    The view in which observers should look for the element to update
+
+  @param {Srting} bindAttrId
+    Optional bindAttr id used to lookup elements
+
+  @returns {Array} An array of class names to add
+*/
+EmberHandlebars.bindClasses = function(context, classBindings, view, bindAttrId, options) {
+  var ret = [], newClass, value, elem;
+
+  // Helper method to retrieve the property from the context and
+  // determine which class string to return, based on whether it is
+  // a Boolean or not.
+  var classStringForPath = function(root, parsedPath, options) {
+    var val,
+        path = parsedPath.path;
+
+    if (path === 'this') {
+      val = root;
+    } else if (path === '') {
+      val = true;
+    } else {
+      val = getPath(root, path, options);
+    }
+
+    return Ember.View._classStringForValue(path, val, parsedPath.className, parsedPath.falsyClassName);
+  };
+
+  // For each property passed, loop through and setup
+  // an observer.
+  forEach.call(classBindings.split(' '), function(binding) {
+
+    // Variable in which the old class value is saved. The observer function
+    // closes over this variable, so it knows which string to remove when
+    // the property changes.
+    var oldClass;
+
+    var observer, invoker;
+
+    var parsedPath = Ember.View._parsePropertyPath(binding),
+        path = parsedPath.path,
+        pathRoot = context,
+        normalized;
+
+    if (path !== '' && path !== 'this') {
+      normalized = normalizePath(context, path, options.data);
+
+      pathRoot = normalized.root;
+      path = normalized.path;
+    }
+
+    // Set up an observer on the context. If the property changes, toggle the
+    // class name.
+    /** @private */
+    observer = function() {
+      // Get the current value of the property
+      newClass = classStringForPath(pathRoot, parsedPath, options);
+      elem = bindAttrId ? view.$("[data-bindattr-" + bindAttrId + "='" + bindAttrId + "']") : view.$();
+
+      // If we can't find the element anymore, a parent template has been
+      // re-rendered and we've been nuked. Remove the observer.
+      if (elem.length === 0) {
+        Ember.removeObserver(pathRoot, path, invoker);
+      } else {
+        // If we had previously added a class to the element, remove it.
+        if (oldClass) {
+          elem.removeClass(oldClass);
+        }
+
+        // If necessary, add a new class. Make sure we keep track of it so
+        // it can be removed in the future.
+        if (newClass) {
+          elem.addClass(newClass);
+          oldClass = newClass;
+        } else {
+          oldClass = null;
+        }
+      }
+    };
+
+    /** @private */
+    invoker = function() {
+      Ember.run.once(observer);
+    };
+
+    if (path !== '' && path !== 'this') {
+      Ember.addObserver(pathRoot, path, invoker);
+    }
+
+    // We've already setup the observer; now we just need to figure out the
+    // correct behavior right now on the first pass through.
+    value = classStringForPath(pathRoot, parsedPath, options);
+
+    if (value) {
+      ret.push(value);
+
+      // Make sure we save the current value so that it can be removed if the
+      // observer fires.
+      oldClass = value;
+    }
+  });
+
+  return ret;
+};
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+/*globals Handlebars */
+
+// TODO: Don't require the entire module
+var get = Ember.get, set = Ember.set;
+var PARENT_VIEW_PATH = /^parentView\./;
+var EmberHandlebars = Ember.Handlebars;
+var VIEW_PRESERVES_CONTEXT = Ember.VIEW_PRESERVES_CONTEXT;
+
+/** @private */
+EmberHandlebars.ViewHelper = Ember.Object.create({
+
+  propertiesFromHTMLOptions: function(options, thisContext) {
+    var hash = options.hash, data = options.data;
+    var extensions = {},
+        classes = hash['class'],
+        dup = false;
+
+    if (hash.id) {
+      extensions.elementId = hash.id;
+      dup = true;
+    }
+
+    if (classes) {
+      classes = classes.split(' ');
+      extensions.classNames = classes;
+      dup = true;
+    }
+
+    if (hash.classBinding) {
+      extensions.classNameBindings = hash.classBinding.split(' ');
+      dup = true;
+    }
+
+    if (hash.classNameBindings) {
+      if (extensions.classNameBindings === undefined) extensions.classNameBindings = [];
+      extensions.classNameBindings = extensions.classNameBindings.concat(hash.classNameBindings.split(' '));
+      dup = true;
+    }
+
+    if (hash.attributeBindings) {
+      Ember.assert("Setting 'attributeBindings' via Handlebars is not allowed. Please subclass Ember.View and set it there instead.");
+      extensions.attributeBindings = null;
+      dup = true;
+    }
+
+    if (dup) {
+      hash = Ember.$.extend({}, hash);
+      delete hash.id;
+      delete hash['class'];
+      delete hash.classBinding;
+    }
+
+    // Set the proper context for all bindings passed to the helper. This applies to regular attribute bindings
+    // as well as class name bindings. If the bindings are local, make them relative to the current context
+    // instead of the view.
+    var path;
+
+    // Evaluate the context of regular attribute bindings:
+    for (var prop in hash) {
+      if (!hash.hasOwnProperty(prop)) { continue; }
+
+      // Test if the property ends in "Binding"
+      if (Ember.IS_BINDING.test(prop) && typeof hash[prop] === 'string') {
+        path = this.contextualizeBindingPath(hash[prop], data);
+        if (path) { hash[prop] = path; }
+      }
+    }
+
+    // Evaluate the context of class name bindings:
+    if (extensions.classNameBindings) {
+      for (var b in extensions.classNameBindings) {
+        var full = extensions.classNameBindings[b];
+        if (typeof full === 'string') {
+          // Contextualize the path of classNameBinding so this:
+          //
+          //     classNameBinding="isGreen:green"
+          //
+          // is converted to this:
+          //
+          //     classNameBinding="bindingContext.isGreen:green"
+          var parsedPath = Ember.View._parsePropertyPath(full);
+          path = this.contextualizeBindingPath(parsedPath.path, data);
+          if (path) { extensions.classNameBindings[b] = path + parsedPath.classNames; }
+        }
+      }
+    }
+
+    // Make the current template context available to the view
+    // for the bindings set up above.
+    extensions.bindingContext = thisContext;
+
+    return Ember.$.extend(hash, extensions);
+  },
+
+  // Transform bindings from the current context to a context that can be evaluated within the view.
+  // Returns null if the path shouldn't be changed.
+  //
+  // TODO: consider the addition of a prefix that would allow this method to return `path`.
+  contextualizeBindingPath: function(path, data) {
+    var normalized = Ember.Handlebars.normalizePath(null, path, data);
+    if (normalized.isKeyword) {
+      return 'templateData.keywords.' + path;
+    } else if (Ember.isGlobalPath(path)) {
+      return null;
+    } else if (path === 'this') {
+      return 'bindingContext';
+    } else {
+      return 'bindingContext.' + path;
+    }
+  },
+
+  helper: function(thisContext, path, options) {
+    var inverse = options.inverse,
+        data = options.data,
+        view = data.view,
+        fn = options.fn,
+        hash = options.hash,
+        newView;
+
+    if ('string' === typeof path) {
+      newView = EmberHandlebars.getPath(thisContext, path, options);
+      Ember.assert("Unable to find view at path '" + path + "'", !!newView);
+    } else {
+      newView = path;
+    }
+
+    Ember.assert(Ember.String.fmt('You must pass a view class to the #view helper, not %@ (%@)', [path, newView]), Ember.View.detect(newView));
+
+    var viewOptions = this.propertiesFromHTMLOptions(options, thisContext);
+    var currentView = data.view;
+    viewOptions.templateData = options.data;
+
+    if (fn) {
+      Ember.assert("You cannot provide a template block if you also specified a templateName", !get(viewOptions, 'templateName') && !get(newView.proto(), 'templateName'));
+      viewOptions.template = fn;
+    }
+
+    // We only want to override the `_context` computed property if there is
+    // no specified controller. See View#_context for more information.
+    if (VIEW_PRESERVES_CONTEXT && !newView.proto().controller && !newView.proto().controllerBinding && !viewOptions.controller && !viewOptions.controllerBinding) {
+      viewOptions._context = thisContext;
+    }
+
+    currentView.appendChild(newView, viewOptions);
+  }
+});
+
+/**
+  `{{view}}` inserts a new instance of `Ember.View` into a template passing its options
+  to the `Ember.View`'s `create` method and using the supplied block as the view's own template.
+
+  An empty `<body>` and the following template:
+
+      <script type="text/x-handlebars">
+        A span:
+        {{#view tagName="span"}}
+          hello.
+        {{/view}}
+      </script>
+
+  Will result in HTML structure:
+
+      <body>
+        <!-- Note: the handlebars template script
+             also results in a rendered Ember.View
+             which is the outer <div> here -->
+
+        <div class="ember-view">
+          A span:
+          <span id="ember1" class="ember-view">
+            Hello.
+          </span>
+        </div>
+      </body>
+
+  ### parentView setting
+
+  The `parentView` property of the new `Ember.View` instance created through `{{view}}`
+  will be set to the `Ember.View` instance of the template where `{{view}}` was called.
+
+      aView = Ember.View.create({
+        template: Ember.Handlebars.compile("{{#view}} my parent: {{parentView.elementId}} {{/view}}")
+      })
+
+      aView.appendTo('body')
+
+  Will result in HTML structure:
+
+      <div id="ember1" class="ember-view">
+        <div id="ember2" class="ember-view">
+          my parent: ember1
+        </div>
+      </div>
+
+  ### Setting CSS id and class attributes
+
+  The HTML `id` attribute can be set on the `{{view}}`'s resulting element with the `id` option.
+  This option will _not_ be passed to `Ember.View.create`.
+
+      <script type="text/x-handlebars">
+        {{#view tagName="span" id="a-custom-id"}}
+          hello.
+        {{/view}}
+      </script>
+
+  Results in the following HTML structure:
+
+      <div class="ember-view">
+        <span id="a-custom-id" class="ember-view">
+          hello.
+        </span>
+      </div>
+
+  The HTML `class` attribute can be set on the `{{view}}`'s resulting element with
+  the `class` or `classNameBindings` options. The `class` option
+  will directly set the CSS `class` attribute and will not be passed to
+  `Ember.View.create`. `classNameBindings` will be passed to `create` and use
+  `Ember.View`'s class name binding functionality:
+
+      <script type="text/x-handlebars">
+        {{#view tagName="span" class="a-custom-class"}}
+          hello.
+        {{/view}}
+      </script>
+
+  Results in the following HTML structure:
+
+      <div class="ember-view">
+        <span id="ember2" class="ember-view a-custom-class">
+          hello.
+        </span>
+      </div>
+
+  ### Supplying a different view class
+  `{{view}}` can take an optional first argument before its supplied options to specify a
+  path to a custom view class.
+
+      <script type="text/x-handlebars">
+        {{#view "MyApp.CustomView"}}
+          hello.
+        {{/view}}
+      </script>
+
+  The first argument can also be a relative path. Ember will search for the view class
+  starting at the `Ember.View` of the template where `{{view}}` was used as the root object:
+
+      MyApp = Ember.Application.create({})
+      MyApp.OuterView = Ember.View.extend({
+        innerViewClass: Ember.View.extend({
+          classNames: ['a-custom-view-class-as-property']
+        }),
+        template: Ember.Handlebars.compile('{{#view "innerViewClass"}} hi {{/view}}')
+      })
+
+      MyApp.OuterView.create().appendTo('body')
+
+Will result in the following HTML:
+
+      <div id="ember1" class="ember-view">
+        <div id="ember2" class="ember-view a-custom-view-class-as-property">
+          hi
+        </div>
+      </div>
+
+  ### Blockless use
+
+  If you supply a custom `Ember.View` subclass that specifies its own template
+  or provide a `templateName` option to `{{view}}` it can be used without supplying a block.
+  Attempts to use both a `templateName` option and supply a block will throw an error.
+
+      <script type="text/x-handlebars">
+        {{view "MyApp.ViewWithATemplateDefined"}}
+      </script>
+
+  ### viewName property
+
+  You can supply a `viewName` option to `{{view}}`. The `Ember.View` instance will
+  be referenced as a property of its parent view by this name.
+
+      aView = Ember.View.create({
+        template: Ember.Handlebars.compile('{{#view viewName="aChildByName"}} hi {{/view}}')
+      })
+
+      aView.appendTo('body')
+      aView.get('aChildByName') // the instance of Ember.View created by {{view}} helper
+
+  @name Handlebars.helpers.view
+  @param {String} path
+  @param {Hash} options
+  @returns {String} HTML string
+*/
+EmberHandlebars.registerHelper('view', function(path, options) {
+  Ember.assert("The view helper only takes a single argument", arguments.length <= 2);
+
+  // If no path is provided, treat path param as options.
+  if (path && path.data && path.data.isRenderData) {
+    options = path;
+    path = "Ember.View";
+  }
+
+  return EmberHandlebars.ViewHelper.helper(this, path, options);
+});
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+/*globals Handlebars */
+
+// TODO: Don't require all of this module
+var get = Ember.get, getPath = Ember.Handlebars.getPath, fmt = Ember.String.fmt;
+
+/**
+  `{{collection}}` is a `Ember.Handlebars` helper for adding instances of
+  `Ember.CollectionView` to a template.  See `Ember.CollectionView` for additional
+  information on how a `CollectionView` functions.
+
+  `{{collection}}`'s primary use is as a block helper with a `contentBinding` option
+  pointing towards an `Ember.Array`-compatible object.  An `Ember.View` instance will
+  be created for each item in its `content` property. Each view will have its own
+  `content` property set to the appropriate item in the collection.
+
+  The provided block will be applied as the template for each item's view.
+
+  Given an empty `<body>` the following template:
+
+      <script type="text/x-handlebars">
+        {{#collection contentBinding="App.items"}}
+          Hi {{content.name}}
+        {{/collection}}
+      </script>
+
+  And the following application code
+
+      App = Ember.Application.create()
+      App.items = [
+        Ember.Object.create({name: 'Dave'}),
+        Ember.Object.create({name: 'Mary'}),
+        Ember.Object.create({name: 'Sara'})
+      ]
+
+  Will result in the HTML structure below
+
+      <div class="ember-view">
+        <div class="ember-view">Hi Dave</div>
+        <div class="ember-view">Hi Mary</div>
+        <div class="ember-view">Hi Sara</div>
+      </div>
+
+  ### Blockless Use
+  If you provide an `itemViewClass` option that has its own `template` you can omit
+  the block.
+
+  The following template:
+
+      <script type="text/x-handlebars">
+        {{collection contentBinding="App.items" itemViewClass="App.AnItemView"}}
+      </script>
+
+  And application code
+
+      App = Ember.Application.create()
+      App.items = [
+        Ember.Object.create({name: 'Dave'}),
+        Ember.Object.create({name: 'Mary'}),
+        Ember.Object.create({name: 'Sara'})
+      ]
+
+      App.AnItemView = Ember.View.extend({
+        template: Ember.Handlebars.compile("Greetings {{content.name}}")
+      })
+
+  Will result in the HTML structure below
+
+      <div class="ember-view">
+        <div class="ember-view">Greetings Dave</div>
+        <div class="ember-view">Greetings Mary</div>
+        <div class="ember-view">Greetings Sara</div>
+      </div>
+
+  ### Specifying a CollectionView subclass
+  By default the `{{collection}}` helper will create an instance of `Ember.CollectionView`.
+  You can supply a `Ember.CollectionView` subclass to the helper by passing it
+  as the first argument:
+
+      <script type="text/x-handlebars">
+        {{#collection App.MyCustomCollectionClass contentBinding="App.items"}}
+          Hi {{content.name}}
+        {{/collection}}
+      </script>
+
+
+  ### Forwarded `item.*`-named Options
+  As with the `{{view}}`, helper options passed to the `{{collection}}` will be set on
+  the resulting `Ember.CollectionView` as properties. Additionally, options prefixed with
+  `item` will be applied to the views rendered for each item (note the camelcasing):
+
+        <script type="text/x-handlebars">
+          {{#collection contentBinding="App.items"
+                        itemTagName="p"
+                        itemClassNames="greeting"}}
+            Howdy {{content.name}}
+          {{/collection}}
+        </script>
+
+  Will result in the following HTML structure:
+
+      <div class="ember-view">
+        <p class="ember-view greeting">Howdy Dave</p>
+        <p class="ember-view greeting">Howdy Mary</p>
+        <p class="ember-view greeting">Howdy Sara</p>
+      </div>
+
+  @name Handlebars.helpers.collection
+  @param {String} path
+  @param {Hash} options
+  @returns {String} HTML string
+*/
+Ember.Handlebars.registerHelper('collection', function(path, options) {
+  // If no path is provided, treat path param as options.
+  if (path && path.data && path.data.isRenderData) {
+    options = path;
+    path = undefined;
+    Ember.assert("You cannot pass more than one argument to the collection helper", arguments.length === 1);
+  } else {
+    Ember.assert("You cannot pass more than one argument to the collection helper", arguments.length === 2);
+  }
+
+  var fn = options.fn;
+  var data = options.data;
+  var inverse = options.inverse;
+
+  // If passed a path string, convert that into an object.
+  // Otherwise, just default to the standard class.
+  var collectionClass;
+  collectionClass = path ? getPath(this, path, options) : Ember.CollectionView;
+  Ember.assert(fmt("%@ #collection: Could not find collection class %@", [data.view, path]), !!collectionClass);
+
+  var hash = options.hash, itemHash = {}, match;
+
+  // Extract item view class if provided else default to the standard class
+  var itemViewClass, itemViewPath = hash.itemViewClass;
+  var collectionPrototype = collectionClass.proto();
+  delete hash.itemViewClass;
+  itemViewClass = itemViewPath ? getPath(collectionPrototype, itemViewPath, options) : collectionPrototype.itemViewClass;
+  Ember.assert(fmt("%@ #collection: Could not find itemViewClass %@", [data.view, itemViewPath]), !!itemViewClass);
+
+  // Go through options passed to the {{collection}} helper and extract options
+  // that configure item views instead of the collection itself.
+  for (var prop in hash) {
+    if (hash.hasOwnProperty(prop)) {
+      match = prop.match(/^item(.)(.*)$/);
+
+      if(match) {
+        // Convert itemShouldFoo -> shouldFoo
+        itemHash[match[1].toLowerCase() + match[2]] = hash[prop];
+        // Delete from hash as this will end up getting passed to the
+        // {{view}} helper method.
+        delete hash[prop];
+      }
+    }
+  }
+
+  var tagName = hash.tagName || collectionPrototype.tagName;
+
+  if (fn) {
+    itemHash.template = fn;
+    delete options.fn;
+  }
+
+  var emptyViewClass;
+  if (inverse && inverse !== Handlebars.VM.noop) {
+    emptyViewClass = get(collectionPrototype, 'emptyViewClass');
+    emptyViewClass = emptyViewClass.extend({
+          template: inverse,
+          tagName: itemHash.tagName
+    });
+  } else if (hash.emptyViewClass) {
+    emptyViewClass = getPath(this, hash.emptyViewClass, options);
+  }
+  hash.emptyView = emptyViewClass;
+
+  if (hash.eachHelper === 'each') {
+    itemHash._context = Ember.computed(function() {
+      return get(this, 'content');
+    }).property('content');
+    delete hash.eachHelper;
+  }
+
+  var viewOptions = Ember.Handlebars.ViewHelper.propertiesFromHTMLOptions({ data: data, hash: itemHash }, this);
+  hash.itemViewClass = itemViewClass.extend(viewOptions);
+
+  return Ember.Handlebars.helpers.view.call(this, collectionClass, options);
+});
+
+
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+/*globals Handlebars */
+var getPath = Ember.Handlebars.getPath;
+
+/**
+  `unbound` allows you to output a property without binding. *Important:* The
+  output will not be updated if the property changes. Use with caution.
+
+      <div>{{unbound somePropertyThatDoesntChange}}</div>
+
+  @name Handlebars.helpers.unbound
+  @param {String} property
+  @returns {String} HTML string
+*/
+Ember.Handlebars.registerHelper('unbound', function(property, fn) {
+  var context = (fn.contexts && fn.contexts[0]) || this;
+  return getPath(context, property, fn);
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+/*jshint debug:true*/
+var getPath = Ember.Handlebars.getPath, normalizePath = Ember.Handlebars.normalizePath;
+
+/**
+  `log` allows you to output the value of a value in the current rendering
+  context.
+
+      {{log myVariable}}
+
+  @name Handlebars.helpers.log
+  @param {String} property
+*/
+Ember.Handlebars.registerHelper('log', function(property, options) {
+  var context = (options.contexts && options.contexts[0]) || this,
+      normalized = normalizePath(context, property, options.data),
+      pathRoot = normalized.root,
+      path = normalized.path,
+      value = (path === 'this') ? pathRoot : getPath(pathRoot, path, options);
+  Ember.Logger.log(value);
+});
+
+/**
+  The `debugger` helper executes the `debugger` statement in the current
+  context.
+
+      {{debugger}}
+
+  @name Handlebars.helpers.debugger
+  @param {String} property
+*/
+Ember.Handlebars.registerHelper('debugger', function() {
+  debugger;
+});
+
+})();
+
+
+
+(function() {
+var get = Ember.get, set = Ember.set;
+
+Ember.Handlebars.EachView = Ember.CollectionView.extend(Ember._Metamorph, {
+  itemViewClass: Ember._MetamorphView,
+  emptyViewClass: Ember._MetamorphView,
+
+  createChildView: function(view, attrs) {
+    view = this._super(view, attrs);
+
+    // At the moment, if a container view subclass wants
+    // to insert keywords, it is responsible for cloning
+    // the keywords hash. This will be fixed momentarily.
+    var keyword = get(this, 'keyword');
+
+    if (keyword) {
+      var data = get(view, 'templateData');
+
+      data = Ember.copy(data);
+      data.keywords = view.cloneKeywords();
+      set(view, 'templateData', data);
+
+      var content = get(view, 'content');
+
+      // In this case, we do not bind, because the `content` of
+      // a #each item cannot change.
+      data.keywords[keyword] = content;
+    }
+
+    return view;
+  }
+});
+
+Ember.Handlebars.registerHelper('each', function(path, options) {
+  if (arguments.length === 4) {
+    Ember.assert("If you pass more than one argument to the each helper, it must be in the form #each foo in bar", arguments[1] === "in");
+
+    var keywordName = arguments[0];
+
+    options = arguments[3];
+    path = arguments[2];
+    if (path === '') { path = "this"; }
+
+    options.hash.keyword = keywordName;
+  } else {
+    options.hash.eachHelper = 'each';
+  }
+
+  Ember.assert("You must pass a block to the each helper", options.fn && options.fn !== Handlebars.VM.noop);
+
+  options.hash.contentBinding = path;
+  // Set up emptyView as a metamorph with no tag
+  //options.hash.emptyViewClass = Ember._MetamorphView;
+
+  return Ember.Handlebars.helpers.collection.call(this, 'Ember.Handlebars.EachView', options);
+});
+
+})();
+
+
+
+(function() {
+/**
+  `template` allows you to render a template from inside another template.
+  This allows you to re-use the same template in multiple places. For example:
+
+      <script type="text/x-handlebars">
+        {{#with loggedInUser}}
+          Last Login: {{lastLogin}}
+          User Info: {{template "user_info"}}
+        {{/with}}
+      </script>
+
+      <script type="text/x-handlebars" data-template-name="user_info">
+        Name: <em>{{name}}</em>
+        Karma: <em>{{karma}}</em>
+      </script>
+
+  This helper looks for templates in the global Ember.TEMPLATES hash. If you
+  add &lt;script&gt; tags to your page with the `data-template-name` attribute set,
+  they will be compiled and placed in this hash automatically.
+
+  You can also manually register templates by adding them to the hash:
+
+      Ember.TEMPLATES["my_cool_template"] = Ember.Handlebars.compile('<b>{{user}}</b>');
+
+  @name Handlebars.helpers.template
+  @param {String} templateName the template to render
+*/
+
+Ember.Handlebars.registerHelper('template', function(name, options) {
+  var template = Ember.TEMPLATES[name];
+
+  Ember.assert("Unable to find template with name '"+name+"'.", !!template);
+
+  Ember.TEMPLATES[name](this, { data: options.data });
+});
+
+})();
+
+
+
+(function() {
+var EmberHandlebars = Ember.Handlebars,
+    getPath = EmberHandlebars.getPath,
+    get = Ember.get,
+    a_slice = Array.prototype.slice;
+
+var ActionHelper = EmberHandlebars.ActionHelper = {
+  registeredActions: {}
+};
+
+ActionHelper.registerAction = function(actionName, options) {
+  var actionId = (++Ember.$.uuid).toString();
+
+  ActionHelper.registeredActions[actionId] = {
+    eventName: options.eventName,
+    handler: function(event) {
+      var modifier = event.shiftKey || event.metaKey || event.altKey || event.ctrlKey,
+          secondaryClick = event.which > 1, // IE9 may return undefined
+          nonStandard = modifier || secondaryClick;
+
+      if (options.link && nonStandard) {
+        // Allow the browser to handle special link clicks normally
+        return;
+      }
+
+      event.preventDefault();
+
+      event.view = options.view;
+
+      if (options.hasOwnProperty('context')) {
+        event.context = options.context;
+      }
+
+      if (options.hasOwnProperty('contexts')) {
+        event.contexts = options.contexts;
+      }
+
+      var target = options.target;
+
+      // Check for StateManager (or compatible object)
+      if (target.isState && typeof target.send === 'function') {
+        return target.send(actionName, event);
+      } else {
+        Ember.assert(Ember.String.fmt('Target %@ does not have action %@', [target, actionName]), target[actionName]);
+        return target[actionName].call(target, event);
+      }
+    }
+  };
+
+  options.view.on('willRerender', function() {
+    delete ActionHelper.registeredActions[actionId];
+  });
+
+  return actionId;
+};
+
+/**
+  The `{{action}}` helper registers an HTML element within a template for
+  DOM event handling and forwards that interaction to the Application's router,
+  the template's `Ember.View` instance, or supplied `target` option (see 'Specifiying a Target').
+
+  User interaction with that element will invoke the supplied action name on
+  the appropriate target.
+
+  Given the following Handlebars template on the page
+
+      <script type="text/x-handlebars" data-template-name='a-template'>
+        <div {{action anActionName}}>
+          click me
+        </div>
+      </script>
+
+  And application code
+
+      AView = Ember.View.extend({
+        templateName; 'a-template',
+        anActionName: function(event){}
+      });
+
+      aView = AView.create();
+      aView.appendTo('body');
+
+  Will results in the following rendered HTML
+
+      <div class="ember-view">
+        <div data-ember-action="1">
+          click me
+        </div>
+      </div>
+
+  Clicking "click me" will trigger the `anActionName` method of the `aView`
+  object with a  `jQuery.Event` object as its argument. The `jQuery.Event`
+  object will be extended to include a `view` property that is set to the
+  original view interacted with (in this case the `aView` object).
+
+  ### Event Propagation
+
+  Events triggered through the action helper will automatically have
+  `.preventDefault()` called on them. You do not need to do so in your event
+  handlers. To stop propagation of the event, simply return `false` from your
+  handler.
+
+  If you need the default handler to trigger you should either register your
+  own event handler, or use event methods on your view class. See Ember.View
+  'Responding to Browser Events' for more information.
+
+  ### Specifying DOM event type
+
+  By default the `{{action}}` helper registers for DOM `click` events. You can
+  supply an `on` option to the helper to specify a different DOM event name:
+
+      <script type="text/x-handlebars" data-template-name='a-template'>
+        <div {{action anActionName on="doubleClick"}}>
+          click me
+        </div>
+      </script>
+
+  See Ember.View 'Responding to Browser Events' for a list of
+  acceptable DOM event names.
+
+  Because `{{action}}` depends on Ember's event dispatch system it will only
+  function if an `Ember.EventDispatcher` instance is available. An
+  `Ember.EventDispatcher` instance will be created when a new
+  `Ember.Application` is created. Having an instance of `Ember.Application`
+  will satisfy this requirement.
+
+
+  ### Specifying a Target
+  There are several possible target objects for `{{action}}` helpers:
+
+  In a typical `Ember.Router`-backed Application where views are managed
+  through use of the `{{outlet}}` helper, actions will be forwarded to the
+  current state of the Applications's Router. See Ember.Router 'Responding
+  to User-initiated Events' for more information.
+
+  If you manaully set the `target` property on the controller of a template's
+  `Ember.View` instance, the specifed `controller.target` will become the target
+  for any actions. Likely custom values for a controller's `target` are the
+  controller itself or a StateManager other than the Application's Router.
+
+  If the templates's view lacks a controller property the view itself is the target.
+
+  Finally, a `target` option can be provided to the helper to change which object
+  will receive the method call. This option must be a string representing a
+  path to an object:
+
+      <script type="text/x-handlebars" data-template-name='a-template'>
+        <div {{action anActionName target="MyApplication.someObject"}}>
+          click me
+        </div>
+      </script>
+
+  Clicking "click me" in the rendered HTML of the above template will trigger
+  the  `anActionName` method of the object at `MyApplication.someObject`.
+  The first argument to this method will be a `jQuery.Event` extended to
+  include a `view` property that is set to the original view interacted with.
+
+  A path relative to the template's `Ember.View` instance can also be used as
+  a target:
+
+      <script type="text/x-handlebars" data-template-name='a-template'>
+        <div {{action anActionName target="parentView"}}>
+          click me
+        </div>
+      </script>
+
+  Clicking "click me" in the rendered HTML of the above template will trigger
+  the `anActionName` method of the view's parent view.
+
+  The `{{action}}` helper is `Ember.StateManager` aware. If the target of the
+  action is an `Ember.StateManager` instance `{{action}}` will use the `send`
+  functionality of StateManagers. The documentation for `Ember.StateManager`
+  has additional information about this use.
+
+  If an action's target does not implement a method that matches the supplied
+  action name an error will be thrown.
+
+      <script type="text/x-handlebars" data-template-name='a-template'>
+        <div {{action aMethodNameThatIsMissing}}>
+          click me
+        </div>
+      </script>
+
+  With the following application code
+
+      AView = Ember.View.extend({
+        templateName; 'a-template',
+        // note: no method 'aMethodNameThatIsMissing'
+        anActionName: function(event){}
+      });
+
+      aView = AView.create();
+      aView.appendTo('body');
+
+  Will throw `Uncaught TypeError: Cannot call method 'call' of undefined` when
+  "click me" is clicked.
+
+  ### Specifying a context
+
+  By default the `{{action}}` helper passes the current Handlebars context
+  along in the `jQuery.Event` object. You may specify an alternate object to
+  pass as the context by providing a property path:
+
+      <script type="text/x-handlebars" data-template-name='a-template'>
+        {{#each person in people}}
+          <div {{action edit person}}>
+            click me
+          </div>
+        {{/each}}
+      </script>
+
+  @name Handlebars.helpers.action
+  @param {String} actionName
+  @param {Object...} contexts
+  @param {Hash} options
+*/
+EmberHandlebars.registerHelper('action', function(actionName) {
+  var options = arguments[arguments.length - 1],
+      contexts = a_slice.call(arguments, 1, -1);
+
+  var hash = options.hash,
+      view = options.data.view,
+      target, controller, link;
+
+  // create a hash to pass along to registerAction
+  var action = {
+    eventName: hash.on || "click"
+  };
+
+  action.view = view = get(view, 'concreteView');
+
+  if (hash.target) {
+    target = getPath(this, hash.target, options);
+  } else if (controller = options.data.keywords.controller) {
+    target = get(controller, 'target');
+  }
+
+  action.target = target = target || view;
+
+  if (contexts.length) {
+    action.contexts = contexts = Ember.EnumerableUtils.map(contexts, function(context) {
+      return getPath(this, context, options);
+    }, this);
+    action.context = contexts[0];
+  }
+
+  var output = [], url;
+
+  if (hash.href && target.urlForEvent) {
+    url = target.urlForEvent.apply(target, [actionName].concat(contexts));
+    output.push('href="' + url + '"');
+    action.link = true;
+  }
+
+  var actionId = ActionHelper.registerAction(actionName, action);
+  output.push('data-ember-action="' + actionId + '"');
+
+  return new EmberHandlebars.SafeString(output.join(" "));
+});
+
+})();
+
+
+
+(function() {
+var get = Ember.get, set = Ember.set;
+
+/**
+
+  When used in a Handlebars template that is assigned to an `Ember.View` instance's
+  `layout` property Ember will render the layout template first, inserting the view's
+  own rendered output at the `{{ yield }}` location.
+
+  An empty `<body>` and the following application code:
+
+      AView = Ember.View.extend({
+        classNames: ['a-view-with-layout'],
+        layout: Ember.Handlebars.compile('<div class="wrapper">{{ yield }}</div>'),
+        template: Ember.Handlebars.compile('<span>I am wrapped</span>')
+      })
+
+      aView = AView.create()
+      aView.appendTo('body')
+
+  Will result in the following HTML output:
+
+      <body>
+        <div class='ember-view a-view-with-layout'>
+          <div class="wrapper">
+            <span>I am wrapped</span>
+          </div>
+        </div>
+      </body>
+
+  The yield helper cannot be used outside of a template assigned to an `Ember.View`'s `layout` property
+  and will throw an error if attempted.
+
+      BView = Ember.View.extend({
+        classNames: ['a-view-with-layout'],
+        template: Ember.Handlebars.compile('{{yield}}')
+      })
+
+      bView = BView.create()
+      bView.appendTo('body')
+
+      // throws
+      // Uncaught Error: assertion failed: You called yield in a template that was not a layout
+
+  @name Handlebars.helpers.yield
+  @param {Hash} options
+  @returns {String} HTML string
+*/
+Ember.Handlebars.registerHelper('yield', function(options) {
+  var view = options.data.view, template;
+
+  while (view && !get(view, 'layout')) {
+    view = get(view, 'parentView');
+  }
+
+  Ember.assert("You called yield in a template that was not a layout", !!view);
+
+  template = get(view, 'template');
+
+  if (template) { template(this, options); }
+});
+
+})();
+
+
+
+(function() {
+/**
+  The `outlet` helper allows you to specify that the current
+  view's controller will fill in the view for a given area.
+
+      {{outlet}}
+
+  By default, when the the current controller's `view`
+  property changes, the outlet will replace its current
+  view with the new view.
+
+      controller.set('view', someView);
+
+  You can also specify a particular name, other than view:
+
+      {{outlet masterView}}
+      {{outlet detailView}}
+
+  Then, you can control several outlets from a single
+  controller:
+
+      controller.set('masterView', postsView);
+      controller.set('detailView', postView);
+
+  @name Handlebars.helpers.outlet
+  @param {String} property the property on the controller
+    that holds the view for this outlet
+*/
+Ember.Handlebars.registerHelper('outlet', function(property, options) {
+  if (property && property.data && property.data.isRenderData) {
+    options = property;
+    property = 'view';
+  }
+
+  options.hash.currentViewBinding = "controller." + property;
+
+  return Ember.Handlebars.helpers.view.call(this, Ember.ContainerView, options);
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var set = Ember.set, get = Ember.get;
+
+/**
+  @class
+
+  Creates an HTML input of type 'checkbox' with HTML related properties
+  applied directly to the input.
+
+      {{view Ember.Checkbox classNames="applicaton-specific-checkbox"}}
+
+      <input id="ember1" class="ember-view ember-checkbox applicaton-specific-checkbox" type="checkbox">
+
+  You can add a `label` tag yourself in the template where the Ember.Checkbox is being used.
+
+      <label>
+        Some Title
+        {{view Ember.Checkbox classNames="applicaton-specific-checkbox"}}
+      </label>
+
+
+  The `checked` attribute of an Ember.Checkbox object should always be set
+  through the Ember object or by interacting with its rendered element representation
+  via the mouse, keyboard, or touch.  Updating the value of the checkbox via jQuery will
+  result in the checked value of the object and its element losing synchronization.
+
+  ## Layout and LayoutName properties
+  Because HTML `input` elements are self closing `layout` and `layoutName` properties will
+  not be applied. See `Ember.View`'s layout section for more information.
+
+  @extends Ember.View
+*/
+Ember.Checkbox = Ember.View.extend({
+  classNames: ['ember-checkbox'],
+
+  tagName: 'input',
+
+  attributeBindings: ['type', 'checked', 'disabled', 'tabindex'],
+
+  type: "checkbox",
+  checked: false,
+  disabled: false,
+
+  init: function() {
+    this._super();
+    this.on("change", this, this._updateElementValue);
+  },
+
+  /**
+    @private
+  */
+  _updateElementValue: function() {
+    set(this, 'checked', this.$().prop('checked'));
+  }
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set;
+
+/** @class */
+Ember.TextSupport = Ember.Mixin.create(
+/** @scope Ember.TextSupport.prototype */ {
+
+  value: "",
+
+  attributeBindings: ['placeholder', 'disabled', 'maxlength', 'tabindex'],
+  placeholder: null,
+  disabled: false,
+  maxlength: null,
+
+  insertNewline: Ember.K,
+  cancel: Ember.K,
+
+  /** @private */
+  init: function() {
+    this._super();
+    this.on("focusOut", this, this._elementValueDidChange);
+    this.on("change", this, this._elementValueDidChange);
+    this.on("keyUp", this, this.interpretKeyEvents);
+  },
+
+  /**
+    @private
+  */
+  interpretKeyEvents: function(event) {
+    var map = Ember.TextSupport.KEY_EVENTS;
+    var method = map[event.keyCode];
+
+    this._elementValueDidChange();
+    if (method) { return this[method](event); }
+  },
+
+  _elementValueDidChange: function() {
+    set(this, 'value', this.$().val());
+  }
+
+});
+
+Ember.TextSupport.KEY_EVENTS = {
+  13: 'insertNewline',
+  27: 'cancel'
+};
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set;
+
+/**
+  @class
+
+  The `Ember.TextField` view class renders a text
+  [input](https://developer.mozilla.org/en/HTML/Element/Input) element. It
+  allows for binding Ember properties to the text field contents (`value`),
+  live-updating as the user inputs text.
+
+  Example:
+
+      {{view Ember.TextField valueBinding="firstName"}}
+
+  ## Layout and LayoutName properties
+  Because HTML `input` elements are self closing `layout` and `layoutName` properties will
+  not be applied. See `Ember.View`'s layout section for more information.
+
+  @extends Ember.View
+  @extends Ember.TextSupport
+*/
+Ember.TextField = Ember.View.extend(Ember.TextSupport,
+  /** @scope Ember.TextField.prototype */ {
+
+  classNames: ['ember-text-field'],
+  tagName: "input",
+  attributeBindings: ['type', 'value', 'size'],
+
+  /**
+    The value attribute of the input element. As the user inputs text, this
+    property is updated live.
+
+    @type String
+    @default ""
+  */
+  value: "",
+
+  /**
+    The type attribute of the input element.
+
+    @type String
+    @default "text"
+  */
+  type: "text",
+
+  /**
+    The size of the text field in characters.
+
+    @type String
+    @default null
+  */
+  size: null
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set;
+
+Ember.Button = Ember.View.extend(Ember.TargetActionSupport, {
+  classNames: ['ember-button'],
+  classNameBindings: ['isActive'],
+
+  tagName: 'button',
+
+  propagateEvents: false,
+
+  attributeBindings: ['type', 'disabled', 'href', 'tabindex'],
+
+  /** @private
+    Overrides TargetActionSupport's targetObject computed
+    property to use Handlebars-specific path resolution.
+  */
+  targetObject: Ember.computed(function() {
+    var target = get(this, 'target'),
+        root = get(this, 'context'),
+        data = get(this, 'templateData');
+
+    if (typeof target !== 'string') { return target; }
+
+    return Ember.Handlebars.getPath(root, target, { data: data });
+  }).property('target').cacheable(),
+
+  // Defaults to 'button' if tagName is 'input' or 'button'
+  type: Ember.computed(function(key, value) {
+    var tagName = this.get('tagName');
+    if (value !== undefined) { this._type = value; }
+    if (this._type !== undefined) { return this._type; }
+    if (tagName === 'input' || tagName === 'button') { return 'button'; }
+  }).property('tagName').cacheable(),
+
+  disabled: false,
+
+  // Allow 'a' tags to act like buttons
+  href: Ember.computed(function() {
+    return this.get('tagName') === 'a' ? '#' : null;
+  }).property('tagName').cacheable(),
+
+  mouseDown: function() {
+    if (!get(this, 'disabled')) {
+      set(this, 'isActive', true);
+      this._mouseDown = true;
+      this._mouseEntered = true;
+    }
+    return get(this, 'propagateEvents');
+  },
+
+  mouseLeave: function() {
+    if (this._mouseDown) {
+      set(this, 'isActive', false);
+      this._mouseEntered = false;
+    }
+  },
+
+  mouseEnter: function() {
+    if (this._mouseDown) {
+      set(this, 'isActive', true);
+      this._mouseEntered = true;
+    }
+  },
+
+  mouseUp: function(event) {
+    if (get(this, 'isActive')) {
+      // Actually invoke the button's target and action.
+      // This method comes from the Ember.TargetActionSupport mixin.
+      this.triggerAction();
+      set(this, 'isActive', false);
+    }
+
+    this._mouseDown = false;
+    this._mouseEntered = false;
+    return get(this, 'propagateEvents');
+  },
+
+  keyDown: function(event) {
+    // Handle space or enter
+    if (event.keyCode === 13 || event.keyCode === 32) {
+      this.mouseDown();
+    }
+  },
+
+  keyUp: function(event) {
+    // Handle space or enter
+    if (event.keyCode === 13 || event.keyCode === 32) {
+      this.mouseUp();
+    }
+  },
+
+  // TODO: Handle proper touch behavior.  Including should make inactive when
+  // finger moves more than 20x outside of the edge of the button (vs mouse
+  // which goes inactive as soon as mouse goes out of edges.)
+
+  touchStart: function(touch) {
+    return this.mouseDown(touch);
+  },
+
+  touchEnd: function(touch) {
+    return this.mouseUp(touch);
+  },
+
+  init: function() {
+    Ember.deprecate("Ember.Button is deprecated and will be removed from future releases. Consider using the `{{action}}` helper.");
+    this._super();
+  }
+});
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+var get = Ember.get, set = Ember.set;
+
+/**
+  @class
+
+  The `Ember.TextArea` view class renders a
+  [textarea](https://developer.mozilla.org/en/HTML/Element/textarea) element.
+  It allows for binding Ember properties to the text area contents (`value`),
+  live-updating as the user inputs text.
+
+  ## Layout and LayoutName properties
+
+  Because HTML `textarea` elements do not contain inner HTML the `layout` and `layoutName`
+  properties will not be applied. See `Ember.View`'s layout section for more information.
+
+  @extends Ember.View
+  @extends Ember.TextSupport
+*/
+Ember.TextArea = Ember.View.extend(Ember.TextSupport,
+/** @scope Ember.TextArea.prototype */ {
+
+  classNames: ['ember-text-area'],
+
+  tagName: "textarea",
+  attributeBindings: ['rows', 'cols'],
+  rows: null,
+  cols: null,
+
+  _updateElementValue: Ember.observer(function() {
+    // We do this check so cursor position doesn't get affected in IE
+    var value = get(this, 'value'),
+        $el = this.$();
+    if ($el && value !== $el.val()) {
+      $el.val(value);
+    }
+  }, 'value'),
+
+  /** @private */
+  init: function() {
+    this._super();
+    this.on("didInsertElement", this, this._updateElementValue);
+  }
+
+});
+
+})();
+
+
+
+(function() {
+Ember.TabContainerView = Ember.View.extend({
+  init: function() {
+    Ember.deprecate("Ember.TabContainerView is deprecated and will be removed from future releases.");
+    this._super();
+  }
+});
+
+})();
+
+
+
+(function() {
+var get = Ember.get;
+
+Ember.TabPaneView = Ember.View.extend({
+  tabsContainer: Ember.computed(function() {
+    return this.nearestInstanceOf(Ember.TabContainerView);
+  }).property().volatile(),
+
+  isVisible: Ember.computed(function() {
+    return get(this, 'viewName') === get(this, 'tabsContainer.currentView');
+  }).property('tabsContainer.currentView').volatile(),
+
+  init: function() {
+    Ember.deprecate("Ember.TabPaneView is deprecated and will be removed from future releases.");
+    this._super();
+  }
+});
+
+})();
+
+
+
+(function() {
+var get = Ember.get, setPath = Ember.setPath;
+
+Ember.TabView = Ember.View.extend({
+  tabsContainer: Ember.computed(function() {
+    return this.nearestInstanceOf(Ember.TabContainerView);
+  }).property().volatile(),
+
+  mouseUp: function() {
+    setPath(this, 'tabsContainer.currentView', get(this, 'value'));
+  },
+
+  init: function() {
+    Ember.deprecate("Ember.TabView is deprecated and will be removed from future releases.");
+    this._super();
+  }
+});
+
+})();
+
+
+
+(function() {
+
+})();
+
+
+
+(function() {
+/*jshint eqeqeq:false */
+
+var set = Ember.set, get = Ember.get;
+var indexOf = Ember.EnumerableUtils.indexOf, indexesOf = Ember.EnumerableUtils.indexesOf;
+
+/**
+  @class
+
+  The Ember.Select view class renders a
+  [select](https://developer.mozilla.org/en/HTML/Element/select) HTML element,
+  allowing the user to choose from a list of options. The selected option(s)
+  are updated live in the `selection` property, while the corresponding value
+  is updated in the `value` property.
+
+  ### Using Strings
+  The simplest version of an Ember.Select takes an array of strings for the options
+  of a select box and a valueBinding to set the value.
+
+  Example:
+
+      App.controller = Ember.Object.create({
+        selected: null,
+        content: [
+          "Yehuda",
+          "Tom"
+        ]
+      })
+
+      {{view Ember.Select
+             contentBinding="App.controller.content"
+             valueBinding="App.controller.selected"
+      }}
+
+  Would result in the following HTML:
+
+      <select class="ember-select">
+        <option value="Yehuda">Yehuda</option>
+        <option value="Tom">Tom</option>
+      </select>
+
+  Selecting Yehuda from the select box will set `App.controller.selected` to "Yehuda"
+
+  ### Using Objects
+  An Ember.Select can also take an array of JS or Ember objects.
+
+  When using objects you need to supply optionLabelPath and optionValuePath parameters
+  which will be used to get the label and value for each of the options.
+
+  Usually you will bind to either the selection or the value attribute of the select.
+
+  Use selectionBinding if you would like to set the whole object as a property on the target.
+  Use valueBinding if you would like to set just the value.
+
+  Example using selectionBinding:
+
+      App.controller = Ember.Object.create({
+        selectedPerson: null,
+        selectedPersonId: null,
+        content: [
+          Ember.Object.create({firstName: "Yehuda", id: 1}),
+          Ember.Object.create({firstName: "Tom",    id: 2})
+        ]
+      })
+
+      {{view Ember.Select
+             contentBinding="App.controller.content"
+             optionLabelPath="content.firstName"
+             optionValuePath="content.id"
+             selectionBinding="App.controller.selectedPerson"
+             prompt="Please Select"}}
+
+      <select class="ember-select">
+        <option value>Please Select</option>
+        <option value="1">Yehuda</option>
+        <option value="2">Tom</option>
+      </select>
+
+  Selecting Yehuda here will set `App.controller.selectedPerson` to
+  the Yehuda object.
+
+  Example using valueBinding:
+
+      {{view Ember.Select
+             contentBinding="App.controller.content"
+             optionLabelPath="content.firstName"
+             optionValuePath="content.id"
+             valueBinding="App.controller.selectedPersonId"
+             prompt="Please Select"}}
+
+  Selecting Yehuda in this case will set `App.controller.selectedPersonId` to 1.
+
+  @extends Ember.View
+*/
+Ember.Select = Ember.View.extend(
+  /** @scope Ember.Select.prototype */ {
+
+  tagName: 'select',
+  classNames: ['ember-select'],
+  defaultTemplate: Ember.Handlebars.compile('{{#if view.prompt}}<option value>{{view.prompt}}</option>{{/if}}{{#each view.content}}{{view Ember.SelectOption contentBinding="this"}}{{/each}}'),
+  attributeBindings: ['multiple', 'tabindex'],
+
+  /**
+    The `multiple` attribute of the select element. Indicates whether multiple
+    options can be selected.
+
+    @type Boolean
+    @default false
+  */
+  multiple: false,
+
+  /**
+    The list of options.
+
+    If `optionLabelPath` and `optionValuePath` are not overridden, this should
+    be a list of strings, which will serve simultaneously as labels and values.
+
+    Otherwise, this should be a list of objects. For instance:
+
+        content: Ember.A([
+            { id: 1, firstName: 'Yehuda' },
+            { id: 2, firstName: 'Tom' }
+          ]),
+        optionLabelPath: 'content.firstName',
+        optionValuePath: 'content.id'
+
+    @type Array
+    @default null
+  */
+  content: null,
+
+  /**
+    When `multiple` is false, the element of `content` that is currently
+    selected, if any.
+
+    When `multiple` is true, an array of such elements.
+
+    @type Object or Array
+    @default null
+  */
+  selection: null,
+
+  /**
+    In single selection mode (when `multiple` is false), value can be used to get
+    the current selection's value or set the selection by it's value.
+
+    It is not currently supported in multiple selection mode.
+
+    @type String
+    @default null
+  */
+  value: Ember.computed(function(key, value) {
+    if (arguments.length === 2) { return value; }
+
+    var valuePath = get(this, 'optionValuePath').replace(/^content\.?/, '');
+    return valuePath ? get(this, 'selection.' + valuePath) : get(this, 'selection');
+  }).property('selection').cacheable(),
+
+  /**
+    If given, a top-most dummy option will be rendered to serve as a user
+    prompt.
+
+    @type String
+    @default null
+  */
+  prompt: null,
+
+  /**
+    The path of the option labels. See `content`.
+
+    @type String
+    @default 'content'
+  */
+  optionLabelPath: 'content',
+
+  /**
+    The path of the option values. See `content`.
+
+    @type String
+    @default 'content'
+  */
+  optionValuePath: 'content',
+
+  _change: function() {
+    if (get(this, 'multiple')) {
+      this._changeMultiple();
+    } else {
+      this._changeSingle();
+    }
+  },
+
+  selectionDidChange: Ember.observer(function() {
+    var selection = get(this, 'selection'),
+        isArray = Ember.isArray(selection);
+    if (get(this, 'multiple')) {
+      if (!isArray) {
+        set(this, 'selection', Ember.A([selection]));
+        return;
+      }
+      this._selectionDidChangeMultiple();
+    } else {
+      this._selectionDidChangeSingle();
+    }
+  }, 'selection'),
+
+  valueDidChange: Ember.observer(function() {
+    var content = get(this, 'content'),
+        value = get(this, 'value'),
+        valuePath = get(this, 'optionValuePath').replace(/^content\.?/, ''),
+        selectedValue = (valuePath ? get(this, 'selection.' + valuePath) : get(this, 'selection')),
+        selection;
+
+    if (value !== selectedValue) {
+      selection = content.find(function(obj) {
+        return value === (valuePath ? get(obj, valuePath) : obj);
+      });
+
+      this.set('selection', selection);
+    }
+  }, 'value'),
+
+
+  _triggerChange: function() {
+    var selection = get(this, 'selection');
+
+    if (selection) { this.selectionDidChange(); }
+
+    this._change();
+  },
+
+  _changeSingle: function() {
+    var selectedIndex = this.$()[0].selectedIndex,
+        content = get(this, 'content'),
+        prompt = get(this, 'prompt');
+
+    if (!content) { return; }
+    if (prompt && selectedIndex === 0) { set(this, 'selection', null); return; }
+
+    if (prompt) { selectedIndex -= 1; }
+    set(this, 'selection', content.objectAt(selectedIndex));
+  },
+
+  _changeMultiple: function() {
+    var options = this.$('option:selected'),
+        prompt = get(this, 'prompt'),
+        offset = prompt ? 1 : 0,
+        content = get(this, 'content');
+
+    if (!content){ return; }
+    if (options) {
+      var selectedIndexes = options.map(function(){
+        return this.index - offset;
+      }).toArray();
+      set(this, 'selection', content.objectsAt(selectedIndexes));
+    }
+  },
+
+  _selectionDidChangeSingle: function() {
+    var el = this.get('element');
+    if (!el) { return; }
+
+    var content = get(this, 'content'),
+        selection = get(this, 'selection'),
+        selectionIndex = content ? indexOf(content, selection) : -1,
+        prompt = get(this, 'prompt');
+
+    if (prompt) { selectionIndex += 1; }
+    if (el) { el.selectedIndex = selectionIndex; }
+  },
+
+  _selectionDidChangeMultiple: function() {
+    var content = get(this, 'content'),
+        selection = get(this, 'selection'),
+        selectedIndexes = content ? indexesOf(content, selection) : [-1],
+        prompt = get(this, 'prompt'),
+        offset = prompt ? 1 : 0,
+        options = this.$('option'),
+        adjusted;
+
+    if (options) {
+      options.each(function() {
+        adjusted = this.index > -1 ? this.index + offset : -1;
+        this.selected = indexOf(selectedIndexes, adjusted) > -1;
+      });
+    }
+  },
+
+  init: function() {
+    this._super();
+    this.on("didInsertElement", this, this._triggerChange);
+    this.on("change", this, this._change);
+  }
+});
+
+Ember.SelectOption = Ember.View.extend({
+  tagName: 'option',
+  attributeBindings: ['value', 'selected'],
+
+  defaultTemplate: function(context, options) {
+    options = { data: options.data, hash: {} };
+    Ember.Handlebars.helpers.bind.call(context, "view.label", options);
+  },
+
+  init: function() {
+    this.labelPathDidChange();
+    this.valuePathDidChange();
+
+    this._super();
+  },
+
+  selected: Ember.computed(function() {
+    var content = get(this, 'content'),
+        selection = get(this, 'parentView.selection');
+    if (get(this, 'parentView.multiple')) {
+      return selection && indexOf(selection, content) > -1;
+    } else {
+      // Primitives get passed through bindings as objects... since
+      // `new Number(4) !== 4`, we use `==` below
+      return content == selection;
+    }
+  }).property('content', 'parentView.selection').volatile(),
+
+  labelPathDidChange: Ember.observer(function() {
+    var labelPath = get(this, 'parentView.optionLabelPath');
+
+    if (!labelPath) { return; }
+
+    Ember.defineProperty(this, 'label', Ember.computed(function() {
+      return get(this, labelPath);
+    }).property(labelPath).cacheable());
+  }, 'parentView.optionLabelPath'),
+
+  valuePathDidChange: Ember.observer(function() {
+    var valuePath = get(this, 'parentView.optionValuePath');
+
+    if (!valuePath) { return; }
+
+    Ember.defineProperty(this, 'value', Ember.computed(function() {
+      return get(this, valuePath);
+    }).property(valuePath).cacheable());
+  }, 'parentView.optionValuePath')
+});
+
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+/*globals Handlebars */
+// Find templates stored in the head tag as script tags and make them available
+// to Ember.CoreView in the global Ember.TEMPLATES object. This will be run as as
+// jQuery DOM-ready callback.
+//
+// Script tags with "text/x-handlebars" will be compiled
+// with Ember's Handlebars and are suitable for use as a view's template.
+// Those with type="text/x-raw-handlebars" will be compiled with regular
+// Handlebars and are suitable for use in views' computed properties.
+Ember.Handlebars.bootstrap = function(ctx) {
+  var selectors = 'script[type="text/x-handlebars"], script[type="text/x-raw-handlebars"]';
+
+  Ember.$(selectors, ctx)
+    .each(function() {
+    // Get a reference to the script tag
+    var script = Ember.$(this),
+        type   = script.attr('type');
+
+    var compile = (script.attr('type') === 'text/x-raw-handlebars') ?
+                  Ember.$.proxy(Handlebars.compile, Handlebars) :
+                  Ember.$.proxy(Ember.Handlebars.compile, Ember.Handlebars),
+      // Get the name of the script, used by Ember.View's templateName property.
+      // First look for data-template-name attribute, then fall back to its
+      // id if no name is found.
+      templateName = script.attr('data-template-name') || script.attr('id'),
+      template = compile(script.html()),
+      view, viewPath, elementId, options;
+
+    if (templateName) {
+      // For templates which have a name, we save them and then remove them from the DOM
+      Ember.TEMPLATES[templateName] = template;
+
+      // Remove script tag from DOM
+      script.remove();
+    } else {
+      if (script.parents('head').length !== 0) {
+        // don't allow inline templates in the head
+        throw new Ember.Error("Template found in <head> without a name specified. " +
+                         "Please provide a data-template-name attribute.\n" +
+                         script.html());
+      }
+
+      // For templates which will be evaluated inline in the HTML document, instantiates a new
+      // view, and replaces the script tag holding the template with the new
+      // view's DOM representation.
+      //
+      // Users can optionally specify a custom view subclass to use by setting the
+      // data-view attribute of the script tag.
+      viewPath = script.attr('data-view');
+      view = viewPath ? Ember.get(viewPath) : Ember.View;
+
+      // Get the id of the script, used by Ember.View's elementId property,
+      // Look for data-element-id attribute.
+      elementId = script.attr('data-element-id');
+
+      options = { template: template };
+      if (elementId) { options.elementId = elementId; }
+
+      view = view.create(options);
+
+      view._insertElementLater(function() {
+        script.replaceWith(this.$());
+
+        // Avoid memory leak in IE
+        script = null;
+      });
+    }
+  });
+};
+
+/** @private */
+function bootstrap() {
+  Ember.Handlebars.bootstrap( Ember.$(document) );
+}
+
+/*
+  We tie this to application.load to ensure that we've at least
+  attempted to bootstrap at the point that the application is loaded.
+
+  We also tie this to document ready since we're guaranteed that all
+  the inline templates are present at this point.
+
+  There's no harm to running this twice, since we remove the templates
+  from the DOM after processing.
+*/
+
+Ember.$(document).ready(bootstrap);
+Ember.onLoad('application', bootstrap);
+
+})();
+
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember Handlebars Views
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
+// Version: v1.0.pre
+// Last commit: 7955b85 (2012-08-03 14:50:17 -0700)
+
+
+(function() {
+// ==========================================================================
+// Project:   Ember
+// Copyright: ©2011 Strobe Inc. and contributors.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+})();
+
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/lib/ember-1.0.pre.min.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/lib/ember-1.0.pre.min.js
new file mode 100644 (file)
index 0000000..84ab085
--- /dev/null
@@ -0,0 +1,18 @@
+// ==========================================================================
+// Project:   Ember - JavaScript Application Framework
+// Copyright: ©2011-2012 Tilde Inc. and contributors
+//            Portions ©2006-2011 Strobe Inc.
+//            Portions ©2008-2011 Apple Inc. All rights reserved.
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+
+
+// Version: v1.0.pre
+// Last commit: 7955b85 (2012-08-03 14:50:17 -0700)
+
+
+(function(){"undefined"==typeof Ember&&(Ember={}),"undefined"!=typeof window&&(window.Em=window.Ember=Em=Ember),Ember.isNamespace=!0,Ember.toString=function(){return"Ember"},Ember.VERSION="1.0.pre",Ember.ENV=Ember.ENV||("undefined"==typeof ENV?{}:ENV),Ember.config=Ember.config||{},Ember.EXTEND_PROTOTYPES=Ember.ENV.EXTEND_PROTOTYPES!==!1,Ember.LOG_STACKTRACE_ON_DEPRECATION=Ember.ENV.LOG_STACKTRACE_ON_DEPRECATION!==!1,Ember.SHIM_ES5=Ember.ENV.SHIM_ES5===!1?!1:Ember.EXTEND_PROTOTYPES,Ember.CP_DEFAULT_CACHEABLE=Ember.ENV.CP_DEFAULT_CACHEABLE!==!1,Ember.VIEW_PRESERVES_CONTEXT=Ember.ENV.VIEW_PRESERVES_CONTEXT!==!1,Ember.K=function(){return this},"undefined"==typeof Ember.assert&&(Ember.assert=Ember.K),"undefined"==typeof Ember.warn&&(Ember.warn=Ember.K),"undefined"==typeof Ember.deprecate&&(Ember.deprecate=Ember.K),"undefined"==typeof Ember.deprecateFunc&&(Ember.deprecateFunc=function(a,b){return b}),"undefined"==typeof ember_assert&&(window.ember_assert=Ember.K),"undefined"==typeof ember_warn&&(window.ember_warn=Ember.K),"undefined"==typeof ember_deprecate&&(window.ember_deprecate=Ember.K),"undefined"==typeof ember_deprecateFunc&&(window.ember_deprecateFunc=function(a,b){return b}),Ember.Logger=window.console||{log:Ember.K,warn:Ember.K,error:Ember.K,info:Ember.K,debug:Ember.K}})(),function(){var a=function(a){return a&&Function.prototype.toString.call(a).indexOf("[native code]")>-1},b=a(Array.prototype.map)?Array.prototype.map:function(a){if(this===void 0||this===null)throw new TypeError;var b=Object(this),c=b.length>>>0;if(typeof a!="function")throw new TypeError;var d=new Array(c),e=arguments[1];for(var f=0;f<c;f++)f in b&&(d[f]=a.call(e,b[f],f,b));return d},c=a(Array.prototype.forEach)?Array.prototype.forEach:function(a){if(this===void 0||this===null)throw new TypeError;var b=Object(this),c=b.length>>>0;if(typeof a!="function")throw new TypeError;var d=arguments[1];for(var e=0;e<c;e++)e in b&&a.call(d,b[e],e,b)},d=a(Array.prototype.indexOf)?Array.prototype.indexOf:function(a,b){b===null||b===undefined?b=0:b<0&&(b=Math.max(0,this.length+b));for(var c=b,d=this.length;c<d;c++)if(this[c]===a)return c;return-1};Ember.ArrayPolyfills={map:b,forEach:c,indexOf:d};var e=Ember.EnumerableUtils={map:function(a,c,d){return a.map?a.map.call(a,c,d):b.call(a,c,d)},forEach:function(a,b,d){return a.forEach?a.forEach.call(a,b,d):c.call(a,b,d)},indexOf:function(a,b,c){return a.indexOf?a.indexOf.call(a,b,c):d.call(a,b,c)},indexesOf:function(a,b){return b===undefined?[]:e.map(b,function(b){return e.indexOf(a,b)})},removeObject:function(a,b){var c=e.indexOf(a,b);c!==-1&&a.splice(c,1)}};Ember.SHIM_ES5&&(Array.prototype.map||(Array.prototype.map=b),Array.prototype.forEach||(Array.prototype.forEach=c),Array.prototype.indexOf||(Array.prototype.indexOf=d))}(),function(){var a=Ember.platform={};Ember.create=Object.create;if(!Ember.create){var b=function(){};Ember.create=function(a,c){b.prototype=a,a=new b;if(c){b.prototype=a;for(var d in c)b.prototype[d]=c[d].value;a=new b}return b.prototype=null,a},Ember.create.isSimulated=!0}var c=Object.defineProperty,d,e;if(c)try{c({},"a",{get:function(){}})}catch(f){c=null}c&&(d=function(){var a={};return c(a,"a",{configurable:!0,enumerable:!0,get:function(){},set:function(){}}),c(a,"a",{configurable:!0,enumerable:!0,writable:!0,value:!0}),a.a===!0}(),e=function(){try{return c(document.createElement("div"),"definePropertyOnDOM",{}),!0}catch(a){}return!1}(),d?e||(c=function(a,b,c){var d;return typeof Node=="object"?d=a instanceof Node:d=typeof a=="object"&&typeof a.nodeType=="number"&&typeof a.nodeName=="string",d?a[b]=c.value:Object.defineProperty(a,b,c)}):c=null),a.defineProperty=c,a.hasPropertyAccessors=!0,a.defineProperty||(a.hasPropertyAccessors=!1,a.defineProperty=function(a,b,c){c.get||(a[b]=c.value)},a.defineProperty.isSimulated=!0),Ember.ENV.MANDATORY_SETTER&&!a.hasPropertyAccessors&&(Ember.ENV.MANDATORY_SETTER=!1)}(),function(){function m(a){this.descs={},this.watching={},this.cache={},this.source=a}function n(a,b){return!!a&&typeof a[b]=="function"}var a=Ember.platform.defineProperty,b=Ember.create,c="__ember"+ +(new Date),d=0,e=[],f={},g=Ember.ENV.MANDATORY_SETTER;Ember.GUID_KEY=c;var h={writable:!1,configurable:!1,enumerable:!1,value:null};Ember.generateGuid=function(e,f){f||(f="ember");var g=f+d++;return e&&(h.value=g,a(e,c,h)),g},Ember.guidFor=function(g){if(g===undefined)return"(undefined)";if(g===null)return"(null)";var i,j,k=typeof g;switch(k){case"number":return j=e[g],j||(j=e[g]="nu"+g),j;case"string":return j=f[g],j||(j=f[g]="st"+d++),j;case"boolean":return g?"(true)":"(false)";default:if(g[c])return g[c];if(g===Object)return"(Object)";if(g===Array)return"(Array)";return j="ember"+d++,h.value=j,a(g,c,h),j}};var i={writable:!0,configurable:!1,enumerable:!1,value:null},j=Ember.GUID_KEY+"_meta";Ember.META_KEY=j;var k={descs:{},watching:{}};g&&(k.values={}),Ember.EMPTY_META=k,Object.freeze&&Object.freeze(k);var l=Ember.platform.defineProperty.isSimulated;l&&(m.prototype.__preventPlainObject__=!0),Ember.meta=function(d,e){var f=d[j];return e===!1?f||k:(f?f.source!==d&&(l||a(d,j,i),f=b(f),f.descs=b(f.descs),f.watching=b(f.watching),f.cache={},f.source=d,g&&(f.values=b(f.values)),d[j]=f):(l||a(d,j,i),f=new m(d),g&&(f.values={}),d[j]=f,f.descs.constructor=null),f)},Ember.getMeta=function(b,c){var d=Ember.meta(b,!1);return d[c]},Ember.setMeta=function(b,c,d){var e=Ember.meta(b,!0);return e[c]=d,d},Ember.metaPath=function(c,d,e){var f=Ember.meta(c,e),g,h;for(var i=0,j=d.length;i<j;i++){g=d[i],h=f[g];if(!h){if(!e)return undefined;h=f[g]={__ember_source__:c}}else if(h.__ember_source__!==c){if(!e)return undefined;h=f[g]=b(h),h.__ember_source__=c}f=h}return h},Ember.wrap=function(a,b){function c(){}var d=function(){var d,e=this._super;return this._super=b||c,d=a.apply(this,arguments),this._super=e,d};return d.base=a,d},Ember.isArray=function(a){return!a||a.setInterval?!1:Array.isArray&&Array.isArray(a)?!0:Ember.Array&&Ember.Array.detect(a)?!0:a.length!==undefined&&"object"==typeof a?!0:!1},Ember.makeArray=function(a){return a===null||a===undefined?[]:Ember.isArray(a)?a:[a]},Ember.canInvoke=n,Ember.tryInvoke=function(a,b,c){if(n(a,b))return a[b].apply(a,c)}}(),function(){var a=Ember.guidFor,b=Ember.ArrayPolyfills.indexOf,c=function(a){var b={};for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b},d=function(a,b){var d=a.keys.copy(),e=c(a.values);return b.keys=d,b.values=e,b},e=Ember.OrderedSet=function(){this.clear()};e.create=function(){return new e},e.prototype={clear:function(){this.presenceSet={},this.list=[]},add:function(b){var c=a(b),d=this.presenceSet,e=this.list;if(c in d)return;d[c]=!0,e.push(b)},remove:function(c){var d=a(c),e=this.presenceSet,f=this.list;delete e[d];var g=b.call(f,c);g>-1&&f.splice(g,1)},isEmpty:function(){return this.list.length===0},forEach:function(a,b){var c=this.list.slice();for(var d=0,e=c.length;d<e;d++)a.call(b,c[d])},toArray:function(){return this.list.slice()},copy:function(){var a=new e;return a.presenceSet=c(this.presenceSet),a.list=this.list.slice(),a}};var f=Ember.Map=function(){this.keys=Ember.OrderedSet.create(),this.values={}};f.create=function(){return new f},f.prototype={get:function(b){var c=this.values,d=a(b);return c[d]},set:function(b,c){var d=this.keys,e=this.values,f=a(b);d.add(b),e[f]=c},remove:function(b){var c=this.keys,d=this.values,e=a(b),f;return d.hasOwnProperty(e)?(c.remove(b),f=d[e],delete d[e],!0):!1},has:function(b){var c=this.values,d=a(b);return c.hasOwnProperty(d)},forEach:function(b,c){var d=this.keys,e=this.values;d.forEach(function(d){var f=a(d);b.call(c,d,e[f])})},copy:function(){return d(this,new f)}};var g=Ember.MapWithDefault=function(a){f.call(this),this.defaultValue=a.defaultValue};g.create=function(a){return a?new g(a):new f},g.prototype=Ember.create(f.prototype),g.prototype.get=function(a){var b=this.has(a);if(b)return f.prototype.get.call(this,a);var c=this.defaultValue(a);return this.set(a,c),c},g.prototype.copy=function(){return d(this,new g({defaultValue:this.defaultValue}))}}(),function(){function i(a){return a.match(h)[0]}function j(a,c){var d=g.test(c),e=!d&&f.test(c),h;if(!a||e)a=window;d&&(c=c.slice(5)),a===window&&(h=i(c),a=b(a,h),c=c.slice(h.length+1));if(!c||c.length===0)throw new Error("Invalid Path");return[a,c]}function k(a,c){var d,e,f,h,i;if(a===null&&c.indexOf(".")===-1)return b(window,c);d=g.test(c);if(!a||d)f=j(a,c),a=f[0],c=f[1],f.length=0;e=c.split("."),i=e.length;for(h=0;a&&h<i;h++){a=b(a,e[h],!0);if(a&&a.isDestroyed)return undefined}return a}function l(a,b,d,e){var f;f=b.slice(b.lastIndexOf(".")+1),b=b.slice(0,b.length-(f.length+1)),b!=="this"&&(a=k(a,b));if(!f||f.length===0)throw new Error("You passed an empty path");if(!a){if(e)return;throw new Error("Object in path "+b+" could not be found or was destroyed.")}return c(a,f,d)}var a=Ember.META_KEY,b,c,d=Ember.ENV.MANDATORY_SETTER,e=/^([A-Z$]|([0-9][A-Z$]))/,f=/^([A-Z$]|([0-9][A-Z$])).*[\.\*]/,g=/^this[\.\*]/,h=/^([^\.\*]+)/;b=function(c,e){if(e==="")return c;!e&&"string"==typeof c&&(e=c,c=null);if(!c||e.indexOf(".")!==-1)return k(c,e);var f=c[a],g=f&&f.descs[e],h;return g?g.get(c,e):(d&&f&&f.watching[e]>0?h=f.values[e]:h=c[e],h!==undefined||"object"!=typeof c||e in c||"function"!=typeof c.unknownProperty?h:c.unknownProperty(e))},c=function(c,e,f,g){typeof c=="string"&&(f=e,e=c,c=null);if(!c||e.indexOf(".")!==-1)return l(c,e,f,g);var h=c[a],i=h&&h.descs[e],j,k;return i?i.set(c,e,f):(j="object"==typeof c&&!(e in c),j&&"function"==typeof c.setUnknownProperty?c.setUnknownProperty(e,f):h&&h.watching[e]>0?(d?k=h.values[e]:k=c[e],f!==k&&(Ember.propertyWillChange(c,e),d?k!==undefined||e in c?h.values[e]=f:Ember.defineProperty(c,e,null,f):c[e]=f,Ember.propertyDidChange(c,e))):c[e]=f),f},Ember.normalizeTuple=function(a,b){return j(a,b)},Ember.getWithDefault=function(a,c,d){var e=b(a,c);return e===undefined?d:e},Ember.get=b,Ember.getPath=Ember.deprecateFunc("getPath is deprecated since get now supports paths",Ember.get),Ember.set=c,Ember.setPath=Ember.deprecateFunc("setPath is deprecated since set now supports paths",Ember.set),Ember.trySet=function(a,b,d){return c(a,b,d,!0)},Ember.trySetPath=Ember.deprecateFunc("trySetPath has been renamed to trySet",Ember.trySet),Ember.isGlobalPath=function(a){return e.test(a)},Ember.config.overrideAccessors&&(Ember.config.overrideAccessors(),b=Ember.get,c=Ember.set)}(),function(){var a=Ember.GUID_KEY,b=Ember.META_KEY,c=Ember.EMPTY_META,d=Ember.meta,e=Ember.create,f=Ember.platform.defineProperty,g=Ember.ENV.MANDATORY_SETTER,h=Ember.Descriptor=function(){};Ember.defineProperty=function(a,c,e,h,i){var j,k,l,m;return i||(i=d(a)),j=i.descs,k=i.descs[c],l=i.watching[c]>0,k instanceof Ember.Descriptor&&k.teardown(a,c),e instanceof Ember.Descriptor?(m=e,j[c]=e,g&&l?f(a,c,{configurable:!0,enumerable:!0,writable:!0,value:undefined}):a[c]=undefined,e.setup(a,c)):(j[c]=undefined,e==null?(m=h,g&&l?(i.values[c]=h,f(a,c,{configurable:!0,enumerable:!0,set:function(){},get:function(){var a=this[b];return a&&a.values[c]}})):a[c]=h):(m=e,f(a,c,e))),l&&Ember.overrideChains(a,c,i),a.didDefineProperty&&a.didDefineProperty(a,c,m),this}}(),function(){function j(a,b,c,e){d&&!e?h.push(a,b,c):Ember.sendEvent(a,b,[a,c])}function k(){i.clear(),h.flush()}function l(b){return b+a}function m(a){return a+b}var a=":change",b=":before",c=Ember.guidFor,d=0,e=[].slice,f=function(){this.targetSet={}};f.prototype.add=function(a,b){var c=this.targetSet,d=Ember.guidFor(a),e=c[d];return e||(c[d]=e={}),e[b]?!1:e[b]=!0},f.prototype.clear=function(){this.targetSet={}};var g=function(){this.targetSet={},this.queue=[]};g.prototype.push=function(a,b,c){var d=this.targetSet,e=this.queue,f=Ember.guidFor(a),g=d[f],h;g||(d[f]=g={}),h=g[b],h===undefined?g[b]=e.push(Ember.deferEvent(a,b,[a,c]))-1:e[h]=Ember.deferEvent(a,b,[a,c])},g.prototype.flush=function(){var a=this.queue;this.queue=[],this.targetSet={};for(var b=0,c=a.length;b<c;++b)a[b]()};var h=new g,i=new f;Ember.beginPropertyChanges=function(){return d++,this},Ember.endPropertyChanges=function(){d--,d<=0&&k()},Ember.changeProperties=function(a,b){Ember.beginPropertyChanges();try{a.call(b)}finally{Ember.endPropertyChanges()}},Ember.setProperties=function(a,b){return Ember.changeProperties(function(){for(var c in b)b.hasOwnProperty(c)&&Ember.set(a,c,b[c])}),a},Ember.addObserver=function(a,b,c,d){return Ember.addListener(a,l(b),c,d),Ember.watch(a,b),this},Ember.observersFor=function(a,b){return Ember.listenersFor(a,l(b))},Ember.removeObserver=function(a,b,c,d){return Ember.unwatch(a,b),Ember.removeListener(a,l(b),c,d),this},Ember.addBeforeObserver=function(a,b,c,d){return Ember.addListener(a,m(b),c,d),Ember.watch(a,b),this},Ember._suspendBeforeObserver=function(a,b,c,d,e){return Ember._suspendListener(a,m(b),c,d,e)},Ember._suspendObserver=function(a,b,c,d,e){return Ember._suspendListener(a,l(b),c,d,e)},Ember.beforeObserversFor=function(a,b){return Ember.listenersFor(a,m(b))},Ember.removeBeforeObserver=function(a,b,c,d){return Ember.unwatch(a,b),Ember.removeListener(a,m(b),c,d),this},Ember.notifyObservers=function(a,b){if(a.isDestroying)return;j(a,l(b),b)},Ember.notifyBeforeObservers=function(a,b){if(a.isDestroying)return;var c,e,f=!1;if(d){if(!i.add(a,b))return;f=!0}j(a,m(b),b,f)}}(),function(){function n(a){return a.match(j)[0]}function o(a){return a==="*"||!k.test(a)}function q(b,c,d,e,f){var g=a(c);e[g]||(e[g]={});if(e[g][d])return;e[g][d]=!0;var h=f.deps;h=h&&h[d];if(h)for(var i in h){if(p[i])continue;b(c,i)}}function t(a,b,c){if(a.isDestroying)return;var d=r,e=!d;e&&(d=r={}),q(G,a,b,d,c),e&&(r=null)}function u(a,b,c){if(a.isDestroying)return;var d=s,e=!d;e&&(d=s={}),q(H,a,b,d,c),e&&(s=null)}function v(c,d,e){if(!c||"object"!=typeof c)return;var f=b(c),g=f.chainWatchers;if(!g||g.__emberproto__!==c)g=f.chainWatchers={__emberproto__:c};g[d]||(g[d]={}),g[d][a(e)]=e,Ember.watch(c,d)}function w(c,d,e){if(!c||"object"!=typeof c)return;var f=b(c,!1),g=f.chainWatchers;if(!g||g.__emberproto__!==c)return;g[d]&&delete g[d][a(e)],Ember.unwatch(c,d)}function y(){if(x.length===0)return;var a=x;x=[],i.call(a,function(a){a[0].add(a[1])})}function z(a){return b(a,!1).proto===a}function C(a){var c=b(a),d=c.chains;return d?d.value()!==a&&(d=c.chains=d.copy(a)):d=c.chains=new A(null,null,a),d}function D(a,b,c,d,e){var f=b.chainWatchers;if(!f||f.__emberproto__!==a)return;f=f[c];if(!f)return;for(var g in f){if(!f.hasOwnProperty(g))continue;f[g][d](e)}}function E(a,b,c){D(a,c,b,"willChange")}function F(a,b,c){D(a,c,b,"didChange")}function G(a,c,d){var e=b(a,!1),f=e.watching[c]>0||c==="length",g=e.proto,h=e.descs[c];if(!f)return;if(g===a)return;h&&h.willChange&&h.willChange(a,c),t(a,c,e),E(a,c,e),Ember.notifyBeforeObservers(a,c)}function H(a,c){var d=b(a,!1),e=d.watching[c]>0||c==="length",f=d.proto,g=d.descs[c];if(f===a)return;g&&g.didChange&&g.didChange(a,c);if(!e&&c!=="length")return;u(a,c,d),F(a,c,d),Ember.notifyObservers(a,c)}var a=Ember.guidFor,b=Ember.meta,c=Ember.get,d=Ember.set,e=Ember.normalizeTuple,f=Ember.GUID_KEY,g=Ember.META_KEY,h=Ember.notifyObservers,i=Ember.ArrayPolyfills.forEach,j=/^([^\.\*]+)/,k=/[\.\*]/,l=Ember.ENV.MANDATORY_SETTER,m=Ember.platform.defineProperty,p={__emberproto__:!0},r,s,x=[],A=function(a,b,c,d){var e;this._parent=a,this._key=b,this._watching=c===undefined,this._value=c,this._separator=d||".",this._paths={},this._watching&&(this._object=a.value(),this._object&&v(this._object,this._key,this)),this._parent&&this._parent._key==="@each"&&this.value()},B=A.prototype;B.value=function(){if(this._value===undefined&&this._watching){var a=this._parent.value();this._value=a&&!z(a)?c(a,this._key):undefined}return this._value},B.destroy=function(){if(this._watching){var a=this._object;a&&w(a,this._key,this),this._watching=!1}},B.copy=function(a){var b=new A(null,null,a,this._separator),c=this._paths,d;for(d in c){if(c[d]<=0)continue;b.add(d)}return b},B.add=function(a){var b,c,d,f,g,h;h=this._paths,h[a]=(h[a]||0)+1,b=this.value(),c=e(b,a);if(c[0]&&c[0]===b)a=c[1],d=n(a),a=a.slice(d.length+1);else{if(!c[0]){x.push([this,a]),c.length=0;return}f=c[0],d=a.slice(0,0-(c[1].length+1)),g=a.slice(d.length,d.length+1),a=c[1]}c.length=0,this.chain(d,a,f,g)},B.remove=function(a){var b,c,d,f,g;g=this._paths,g[a]>0&&g[a]--,b=this.value(),c=e(b,a),c[0]===b?(a=c[1],d=n(a),a=a.slice(d.length+1)):(f=c[0],d=a.slice(0,0-(c[1].length+1)),a=c[1]),c.length=0,this.unchain(d,a)},B.count=0,B.chain=function(a,b,c,d){var e=this._chains,f;e||(e=this._chains={}),f=e[a],f||(f=e[a]=new A(this,a,c,d)),f.count++,b&&b.length>0&&(a=n(b),b=b.slice(a.length+1),f.chain(a,b))},B.unchain=function(a,b){var c=this._chains,d=c[a];b&&b.length>1&&(a=n(b),b=b.slice(a.length+1),d.unchain(a,b)),d.count--,d.count<=0&&(delete c[d._key],d.destroy())},B.willChange=function(){var a=this._chains;if(a)for(var b in a){if(!a.hasOwnProperty(b))continue;a[b].willChange()}this._parent&&this._parent.chainWillChange(this,this._key,1)},B.chainWillChange=function(a,b,c){this._key&&(b=this._key+this._separator+b),this._parent?this._parent.chainWillChange(this,b,c+1):(c>1&&Ember.propertyWillChange(this.value(),b),b="this."+b,this._paths[b]>0&&Ember.propertyWillChange(this.value(),b))},B.chainDidChange=function(a,b,c){this._key&&(b=this._key+this._separator+b),this._parent?this._parent.chainDidChange(this,b,c+1):(c>1&&Ember.propertyDidChange(this.value(),b),b="this."+b,this._paths[b]>0&&Ember.propertyDidChange(this.value(),b))},B.didChange=function(a){if(this._watching){var b=this._parent.value();b!==this._object&&(w(this._object,this._key,this),this._object=b,v(b,this._key,this)),this._value=undefined,this._parent&&this._parent._key==="@each"&&this.value()}var c=this._chains;if(c)for(var d in c){if(!c.hasOwnProperty(d))continue;c[d].didChange(a)}if(a)return;this._parent&&this._parent.chainDidChange(this,this._key,1)},Ember.overrideChains=function(a,b,c){D(a,c,b,"didChange",!0)},Ember.watch=function(a,c){if(c==="length"&&Ember.typeOf(a)==="array")return this;var d=b(a),e=d.watching,f;return e[c]?e[c]=(e[c]||0)+1:(e[c]=1,o(c)?(f=d.descs[c],f&&f.willWatch&&f.willWatch(a,c),"function"==typeof a.willWatchProperty&&a.willWatchProperty(c),l&&c in a&&(d.values[c]=a[c],m(a,c,{configurable:!0,enumerable:!0,set:function(){},get:function(){var a=this[g];return a&&a.values[c]}}))):C(a).add(c)),this},Ember.isWatching=function(b,c){var d=b[g];return(d&&d.watching[c])>0},Ember.watch.flushPending=y,Ember.unwatch=function(a,c){if(c==="length"&&Ember.typeOf(a)==="array")return this;var d=b(a),e=d.watching,f;return e[c]===1?(e[c]=0,o(c)?(f=d.descs[c],f&&f.didUnwatch&&f.didUnwatch(a,c),"function"==typeof a.didUnwatchProperty&&a.didUnwatchProperty(c),l&&c in a&&(m(a,c,{configurable:!0,enumerable:!0,writable:!0,value:d.values[c]}),delete d.values[c])):C(a).remove(c)):e[c]>1&&e[c]--,this},Ember.rewatch=function(a){var c=b(a,!1),d=c.chains;return f in a&&!a.hasOwnProperty(f)&&Ember.generateGuid(a,"ember"),d&&d.value()!==a&&(c.chains=d.copy(a)),this},Ember.finishChains=function(a){var c=b(a,!1),d=c.chains;d&&(d.value()!==a&&(c.chains=d=d.copy(a)),d.didChange(!0))},Ember.propertyWillChange=G,Ember.propertyDidChange=H;var I=[];Ember.destroy=function(a){var b=a[g],c,d,e,f;if(b){a[g]=null,c=b.chains;if(c){I.push(c);while(I.length>0){c=I.pop(),d=c._chains;if(d)for(e in d)d.hasOwnProperty(e)&&I.push(d[e]);c._watching&&(f=c._object,f&&w(f,c._key,c))}}}}}(),function(){function i(a,b,c){var d=b[c];return d?d.__emberproto__!==a&&(d=b[c]=e(d),d.__emberproto__=a):d=b[c]={__emberproto__:a},d}function j(a,b){var c=b.deps;return c?c.__emberproto__!==a&&(c=b.deps=e(c),c.__emberproto__=a):c=b.deps={__emberproto__:a},c}function k(a,b,c,d){var e=a._dependentKeys,f,h,k,l,m;if(!e)return;f=j(b,d);for(h=0,k=e.length;h<k;h++)l=e[h],m=i(b,f,l),m[c]=(m[c]||0)+1,g(b,l)}function l(a,b,c,d){var e=a._dependentKeys,f,g,k,l,m;if(!e)return;f=j(b,d);for(g=0,k=e.length;g<k;g++)l=e[g],m=i(b,f,l),m[c]=(m[c]||0)-1,h(b,l)}function m(a,b){this.func=a,this._cacheable=b&&b.cacheable!==undefined?b.cacheable:Ember.CP_DEFAULT_CACHEABLE,this._dependentKeys=b&&b.dependentKeys}var a=Ember.get,b=Ember.meta,c=Ember.guidFor,d=[].slice,e=Ember.create,f=Ember.META_KEY,g=Ember.watch,h=Ember.unwatch;Ember.ComputedProperty=m,m.prototype=new Ember.Descriptor;var n=m.prototype;n.cacheable=function(a){return this._cacheable=a!==!1,this},n.volatile=function(){return this.cacheable(!1)},n.property=function(){var a=[];for(var b=0,c=arguments.length;b<c;b++)a.push(arguments[b]);return this._dependentKeys=a,this},n.meta=function(a){return arguments.length===0?this._meta||{}:(this._meta=a,this)},n.willWatch=function(a,b){var c=a[f];b in c.cache||k(this,a,b,c)},n.didUnwatch=function(a,b){var c=a[f];b in c.cache||l(this,a,b,c)},n.didChange=function(a,c){if(this._cacheable&&this._suspended!==a){var d=b(a);c in d.cache&&(delete d.cache[c],d.watching[c]||l(this,a,c,d))}},n.get=function(a,c){var d,e,f;if(this._cacheable){f=b(a),e=f.cache;if(c in e)return e[c];d=e[c]=this.func.call(a,c),f.watching[c]||k(this,a,c,f)}else d=this.func.call(a,c);return d},n.set=function(a,c,d){var e=this._cacheable,f=b(a,e),g=f.watching[c],h=this._suspended,i,j;return this._suspended=a,g&&Ember.propertyWillChange(a,c),e&&c in f.cache&&(delete f.cache[c],i=!0),j=this.func.call(a,c,d),e&&(!g&&!i&&k(this,a,c,f),f.cache[c]=j),g&&Ember.propertyDidChange(a,c),this._suspended=h,j},n.setup=function(a,c){var d=a[f];d&&d.watching[c]&&k(this,a,c,b(a))},n.teardown=function(a,c){var d=b(a);return(d.watching[c]||c in d.cache)&&l(this,a,c,d),this._cacheable&&delete d.cache[c],null},Ember.computed=function(a){var b;arguments.length>1&&(b=d.call(arguments,0,-1),a=d.call(arguments,-1)[0]);var c=new m(a);return b&&c.property.apply(c,b),c},Ember.cacheFor=function(c,d){var e=b(c,!1).cache;if(e&&d in e)return e[d]},Ember.computed.not=function(b){return Ember.computed(b,function(c){return!a(this,b)}).cacheable()},Ember.computed.empty=function(b){return Ember.computed(b,function(c){var d=a(this,b);return d===undefined||d===null||d===""||Ember.isArray(d)&&a(d,"length")===0}).cacheable()},Ember.computed.bool=function(b){return Ember.computed(b,function(c){return!!a(this,b)}).cacheable()}}(),function(){function f(a,b,e,f){return c(a,["listeners",b,d(e)],f)}function g(a,c){var d=b(a,!1).listeners;return d?d[c]||!1:!1}function i(a,b,c,d){var e=g(a,b);if(!e)return!1;for(var f in e){if(h[f])continue;var i=e[f];if(i)for(var j in i){if(h[j])continue;var k=i[j];if(k&&c(k,d,a)===!0)return!0}}return!1}function j(a,b,c){var d=a.method,e=a.target;e||(e=c),"string"==typeof d&&(d=e[d]),b?d.apply(e,b):d.apply(e)}function k(a,b,c,e){!e&&"function"==typeof c&&(e=c,c=null);var g=f(a,b,c,!0),h=d(e);g[h]||(g[h]={target:c,method:e}),"function"==typeof a.didAddListener&&a.didAddListener(b,c,e)}function l(a,b,c,e){!e&&"function"==typeof c&&(e=c,c=null);var g=f(a,b,c,!0),h=d(e);g&&g[h]&&(g[h]=null),"function"==typeof a.didRemoveListener&&a.didRemoveListener(b,c,e)}function m(a,b,c,e,g){!e&&"function"==typeof c&&(e=c,c=null);var h=f(a,b,c,!0),i=d(e),j=h&&h[i];h[i]=null;try{return g.call(c)}finally{h[i]=j}}function n(a){var c=b(a,!1).listeners,d=[];if(c)for(var e in c)!h[e]&&c[e]&&d.push(e);return d}function o(a,b,c){return a!==Ember&&"function"==typeof a.sendEvent&&a.sendEvent(b,c),i(a,b,j,c),!0}function p(a,b,c){var d=[];return i(a,b,function(a){d.push(a)}),function(){if(a.isDestroyed)return;a!==Ember&&"function"==typeof a.sendEvent&&a.sendEvent(b,c);for(var e=0,f=d.length;e<f;++e)j(d[e],c,a)}}function q(a,b){if(i(a,b,function(){return!0}))return!0;var d=c(a,["listeners"],!0);return d[b]=null,!1}function r(a,b){var c=[];return i(a,b,function(a){c.push([a.target,a.method])}),c}var a=Ember.create,b=Ember.meta,c=Ember.metaPath,d=Ember.guidFor,e=[].slice,h={__ember_source__:!0};Ember.addListener=k,Ember.removeListener=l,Ember._suspendListener=m,Ember.sendEvent=o,Ember.hasListeners=q,Ember.watchedEvents=n,Ember.listenersFor=r,Ember.deferEvent=p}(),function(){function c(b,c,d,e){c===undefined&&(c=b,b=undefined),"string"==typeof c&&(c=b[c]),d&&e>0&&(d=d.length>e?a.call(d,e):null);if("function"!=typeof Ember.onerror)return c.apply(b||this,d||[]);try{return c.apply(b||this,d||[])}catch(f){Ember.onerror(f)}}function h(){g=null,f.currentRunLoop&&f.end()}function k(){j=null;var a=+(new Date),b=-1;for(var d in i){if(!i.hasOwnProperty(d))continue;var e=i[d];if(e&&e.expires)if(a>=e.expires)delete i[d],c(e.target,e.method,e.args,2);else if(b<0||e.expires<b)b=e.expires}b>0&&(j=setTimeout(k,b- +(new Date)))}function l(a,b){b[this.tguid]&&delete b[this.tguid][this.mguid],i[a]&&c(this.target,this.method,this.args,2),delete i[a]}function n(){m=null;for(var a in i){if(!i.hasOwnProperty(a))continue;var b=i[a];b.next&&(delete i[a],c(b.target,b.method,b.args,2))}}var a=[].slice,b=Ember.ArrayPolyfills.forEach,d,e=function(a){this._prev=a||null,this.onceTimers={}};e.prototype={end:function(){this.flush()},prev:function(){return this._prev},schedule:function(b,c,d){var e=this._queues,f;e||(e=this._queues={}),f=e[b],f||(f=e[b]=[]);var g=arguments.length>3?a.call(arguments,3):null;return f.push({target:c,method:d,args:g}),this},flush:function(a){function j(a){c(a.target,a.method,a.args)}var e,f,g,h,i;if(!this._queues)return this;Ember.watch.flushPending();if(a)while(this._queues&&(h=this._queues[a])){this._queues[a]=null;if(a==="sync"){i=Ember.LOG_BINDINGS,i&&Ember.Logger.log("Begin: Flush Sync Queue"),Ember.beginPropertyChanges();try{b.call(h,j)}finally{Ember.endPropertyChanges()}i&&Ember.Logger.log("End: Flush Sync Queue")}else b.call(h,j)}else{e=Ember.run.queues,g=e.length,f=0;a:while(f<g){a=e[f],h=this._queues&&this._queues[a],delete this._queues[a];if(h)if(a==="sync"){i=Ember.LOG_BINDINGS,i&&Ember.Logger.log("Begin: Flush Sync Queue"),Ember.beginPropertyChanges();try{b.call(h,j)}finally{Ember.endPropertyChanges()}i&&Ember.Logger.log("End: Flush Sync Queue")}else b.call(h,j);for(var k=0;k<=f;k++)if(this._queues&&this._queues[e[k]]){f=k;continue a}f++}}return d=null,this}},Ember.RunLoop=e,Ember.run=function(a,b){var d,e;f.begin();try{if(a||b)d=c(a,b,arguments,2)}finally{f.end()}return d};var f=Ember.run;Ember.run.begin=function(){f.currentRunLoop=new e(f.currentRunLoop)},Ember.run.end=function(){try{f.currentRunLoop.end()}finally{f.currentRunLoop=f.currentRunLoop.prev()}},Ember.run.queues=["sync","actions","destroy","timers"],Ember.run.schedule=function(a,b,c){var d=f.autorun();d.schedule.apply(d,arguments)};var g;Ember.run.hasScheduledTimers=function(){return!!(g||j||m)},Ember.run.cancelTimers=function(){g&&(clearTimeout(g),g=null),j&&(clearTimeout(j),j=null),m&&(clearTimeout(m),m=null),i={}},Ember.run.autorun=function(){return f.currentRunLoop||(f.begin(),g||(g=setTimeout(h,1))),f.currentRunLoop},Ember.run.sync=function(){f.autorun(),f.currentRunLoop.flush("sync")};var i={},j;Ember.run.later=function(b,c){var d,e,g,h,j;return arguments.length===2&&"function"==typeof b?(j=c,c=b,b=undefined,d=[b,c]):(d=a.call(arguments),j=d.pop()),e=+(new Date)+j,g={target:b,method:c,expires:e,args:d},h=Ember.guidFor(g),i[h]=g,f.once(i,k),h},Ember.run.once=function(b,c){var d=Ember.guidFor(b),e=Ember.guidFor(c),g=f.autorun().onceTimers,h=g[d]&&g[d][e],j;return h&&i[h]?i[h].args=a.call(arguments):(j={target:b,method:c,args:a.call(arguments),tguid:d,mguid:e},h=Ember.guidFor(j),i[h]=j,g[d]||(g[d]={}),g[d][e]=h,f.schedule("actions",j,l,h,g)),h};var m;Ember.run.next=function(b,c){var d,e={target:b,method:c,args:a.call(arguments),next:!0};return d=Ember.guidFor(e),i[d]=e,m||(m=setTimeout(n,1)),d},Ember.run.cancel=function(a){delete i[a]}}(),function(){function e(b,c){return a(d(c)?window:b,c)}function g(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])}Ember.LOG_BINDINGS=!!Ember.ENV.LOG_BINDINGS;var a=Ember.get,b=Ember.set,c=Ember.guidFor,d=Ember.isGlobalPath,f=function(a,b){this._direction="fwd",this._from=b,this._to=a,this._directionMap=Ember.Map.create()};f.prototype={copy:function(){var a=new f(this._to,this._from);return this._oneWay&&(a._oneWay=!0),a},from:function(a){return this._from=a,this},to:function(a){return this._to=a,this},oneWay:function(){return this._oneWay=!0,this},toString:function(){var a=this._oneWay?"[oneWay]":"";return"Ember.Binding<"+c(this)+">("+this._from+" -> "+this._to+")"+a},connect:function(a){var b=this._from,c=this._to;return Ember.trySet(a,c,e(a,b)),Ember.addObserver(a,b,this,this.fromDidChange),this._oneWay||Ember.addObserver(a,c,this,this.toDidChange),this._readyToSync=!0,this},disconnect:function(a){var b=!this._oneWay;return Ember.removeObserver(a,this._from,this,this.fromDidChange),b&&Ember.removeObserver(a,this._to,this,this.toDidChange),this._readyToSync=!1,this},fromDidChange:function(a){this._scheduleSync(a,"fwd")},toDidChange:function(a){this._scheduleSync(a,"back")},_scheduleSync:function(a,b){var c=this._directionMap,d=c.get(a);d||(Ember.run.schedule("sync",this,this._sync,a),c.set(a,b)),d==="back"&&b==="fwd"&&c.set(a,"fwd")},_sync:function(b){var c=Ember.LOG_BINDINGS;if(b.isDestroyed||!this._readyToSync)return;var d=this._directionMap,f=d.get(b),g=this._from,h=this._to;d.remove(b);if(f==="fwd"){var i=e(b,this._from);c&&Ember.Logger.log(" ",this.toString(),"->",i,b),this._oneWay?Ember.trySet(b,h,i):Ember._suspendObserver(b,h,this,this.toDidChange,function(){Ember.trySet(b,h,i)})}else if(f==="back"){var j=a(b,this._to);c&&Ember.Logger.log(" ",this.toString(),"<-",j,b),Ember._suspendObserver(b,g,this,this.fromDidChange,function(){Ember.trySet(Ember.isGlobalPath(g)?window:b,g,j)})}}},g(f,{from:function(){var a=this,b=new a;return b.from.apply(b,arguments)},to:function(){var a=this,b=new a;return b.to.apply(b,arguments)},oneWay:function(a,b){var c=this,d=new c(null,a);return d.oneWay(b)}}),Ember.Binding=f,Ember.bind=function(a,b,c){return(new Ember.Binding(b,c)).connect(a)},Ember.oneWay=function(a,b,c){return(new Ember.Binding(b,c)).oneWay().connect(a)}}(),function(){function o(a){var b=Ember.meta(a,!0),c=b.mixins;return c?c.__emberproto__!==a&&(c=b.mixins=l(c),c.__emberproto__=a):c=b.mixins={__emberproto__:a},c}function p(b,c){return c&&c.length>0&&(b.mixins=f.call(c,function(b){if(b instanceof a)return b;var c=new a;return c.properties=b,c})),b}function q(a){return"function"==typeof a&&a.isMethod!==!1&&a!==Boolean&&a!==Object&&a!==Number&&a!==Array&&a!==Date&&a!==String}function r(c,d,e,f,i){function v(a){delete e[a],delete f[a]}var j=c.length,k,l,m,o,p,s,t,u;for(k=0;k<j;k++){l=c[k];if(l instanceof a){m=n(l);if(d[m])continue;d[m]=l,o=l.properties}else o=l;if(o){u=f.concatenatedProperties||i.concatenatedProperties,o.concatenatedProperties&&(u=u?u.concat(o.concatenatedProperties):o.concatenatedProperties);for(s in o){if(!o.hasOwnProperty(s))continue;p=o[s];if(p instanceof Ember.Descriptor){if(p===b&&e[s])continue;e[s]=p,f[s]=undefined}else{if(q(p)){t=e[s]===undefined&&f[s],t||(t=i[s]),"function"!=typeof t&&(t=null);if(t){var w=p.__ember_observes__,x=p.__ember_observesBefore__;p=Ember.wrap(p,t),p.__ember_observes__=w,p.__ember_observesBefore__=x}}else if(u&&g.call(u,s)>=0||s==="concatenatedProperties"){var y=f[s]||i[s];p=y?y.concat(p):Ember.makeArray(p)}e[s]=undefined,f[s]=p}}o.hasOwnProperty("toString")&&(i.toString=o.toString)}else l.mixins&&(r(l.mixins,d,e,f,i),l._without&&h.call(l._without,v))}}function s(a){var b=Ember.meta(a),c=b.required;if(!c||c.__emberproto__!==a)c=b.required=c?l(c):{__ember_count__:0},c.__emberproto__=a;return c}function u(a,b,c,d){if(t.test(b)){var e=d.bindings;e?e.__emberproto__!==a&&(e=d.bindings=l(d.bindings),e.__emberproto__=a):e=d.bindings={__emberproto__:a},e[b]=c}}function v(a,b){var c=b.bindings,d,e,f;if(c){for(d in c)e=d!=="__emberproto__"&&c[d],e&&(f=d.slice(0,-7),e instanceof Ember.Binding?(e=e.copy(),e.to(f)):e=new Ember.Binding(f,e),e.connect(a),a[d]=e);b.bindings={__emberproto__:a}}}function w(a,b){return v(a,b||Ember.meta(a)),a}function x(a,d,e){var f={},g={},h=Ember.meta(a),i=h.required,j,l,n,p,q,t,v;r(d,o(a),f,g,a);for(j in g){if(j==="contructor")continue;if(!g.hasOwnProperty(j))continue;n=f[j],l=g[j];if(n===b)j in a||(i=s(a),i.__ember_count__++,i[j]=!0);else{while(n&&n instanceof c){var x=n.methodName;f[x]||g[x]?(l=g[x],n=f[x]):h.descs[x]?(n=h.descs[x],l=undefined):(n=undefined,l=a[x])}if(n===undefined&&l===undefined)continue;p=a[j];if("function"==typeof p)if(q=p.__ember_observesBefore__){t=q.length;for(v=0;v<t;v++)Ember.removeBeforeObserver(a,q[v],null,j)}else if(q=p.__ember_observes__){t=q.length;for(v=0;v<t;v++)Ember.removeObserver(a,q[v],null,j)}u(a,j,l,h),m(a,j,n,l,h);if("function"==typeof l)if(q=l.__ember_observesBefore__){t=q.length;for(v=0;v<t;v++)Ember.addBeforeObserver(a,q[v],null,j)}else if(q=l.__ember_observes__){t=q.length;for(v=0;v<t;v++)Ember.addObserver(a,q[v],null,j)}i&&i[j]&&(i=s(a),i.__ember_count__--,i[j]=!1)}}e||w(a,h);if(!e&&i&&i.__ember_count__>0){var y=[];for(j in i){if(k[j])continue;y.push(j)}}return a
+}function z(a,b,c){var d=n(a);if(c[d])return!1;c[d]=!0;if(a===b)return!0;var e=a.mixins,f=e?e.length:0;while(--f>=0)if(z(e[f],b,c))return!0;return!1}function A(a,b,c){if(c[n(b)])return;c[n(b)]=!0;if(b.properties){var d=b.properties;for(var e in d)d.hasOwnProperty(e)&&(a[e]=!0)}else b.mixins&&h.call(b.mixins,function(b){A(a,b,c)})}function D(a,b,c){var e=a.length;for(var f in b){if(!b.hasOwnProperty||!b.hasOwnProperty(f))continue;var g=b[f];a[e]=f;if(g&&g.toString===d)g[B]=a.join(".");else if(g&&C(g,"isNamespace")){if(c[n(g)])continue;c[n(g)]=!0,D(a,g,c)}}a.length=e}function E(){var a=Ember.Namespace,b,c;if(a.PROCESSED)return;for(var d in window){if(d==="globalStorage"&&window.StorageList&&window.globalStorage instanceof window.StorageList)continue;if(window.hasOwnProperty&&!window.hasOwnProperty(d))continue;try{b=window[d],c=b&&C(b,"isNamespace")}catch(e){continue}c&&(b[B]=d)}}var a,b,c,d,e,f=Ember.ArrayPolyfills.map,g=Ember.ArrayPolyfills.indexOf,h=Ember.ArrayPolyfills.forEach,i=[].slice,j={},k={__emberproto__:!0,__ember_count__:!0},l=Ember.create,m=Ember.defineProperty,n=Ember.guidFor,t=Ember.IS_BINDING=/^.+Binding$/;Ember.mixin=function(a){var b=i.call(arguments,1);return x(a,b,!1),a},Ember.Mixin=function(){return p(this,arguments)},a=Ember.Mixin,a._apply=x,a.applyPartial=function(a){var b=i.call(arguments,1);return x(a,b,!0)},a.finishPartial=w,a.create=function(){d.processed=!1;var a=this;return p(new a,arguments)};var y=a.prototype;y.reopen=function(){var b,c;this.properties?(b=a.create(),b.properties=this.properties,delete this.properties,this.mixins=[b]):this.mixins||(this.mixins=[]);var d=arguments.length,e=this.mixins,f;for(f=0;f<d;f++)b=arguments[f],b instanceof a?e.push(b):(c=a.create(),c.properties=b,e.push(c));return this},y.apply=function(a){return x(a,[this],!1)},y.applyPartial=function(a){return x(a,[this],!0)},y.detect=function(b){if(!b)return!1;if(b instanceof a)return z(b,this,{});var c=Ember.meta(b,!1).mixins;return c?!!c[n(this)]:!1},y.without=function(){var b=new a(this);return b._without=i.call(arguments),b},y.keys=function(){var a={},b={},c=[];A(a,this,b);for(var d in a)a.hasOwnProperty(d)&&c.push(d);return c};var B=Ember.GUID_KEY+"_name",C=Ember.get;Ember.identifyNamespaces=E,e=function(a){var b=a.superclass;if(b)return b[B]?b[B]:e(b);return},d=function(){var a=Ember.Namespace,b;if(a&&!this[B]&&!d.processed){a.PROCESSED||(E(),a.PROCESSED=!0),d.processed=!0;var c=a.NAMESPACES;for(var f=0,g=c.length;f<g;f++)b=c[f],D([b.toString()],b,{})}if(this[B])return this[B];var h=e(this);return h?"(subclass of "+h+")":"(unknown mixin)"},y.toString=d,a.mixins=function(a){var b=[],c=Ember.meta(a,!1).mixins,d,e;if(c)for(d in c){if(k[d])continue;e=c[d],e.properties||b.push(c[d])}return b},b=new Ember.Descriptor,b.toString=function(){return"(Required Property)"},Ember.required=function(){return b},c=function(a){this.methodName=a},c.prototype=new Ember.Descriptor,Ember.alias=function(a){return new c(a)},Ember.observer=function(a){var b=i.call(arguments,1);return a.__ember_observes__=b,a},Ember.immediateObserver=function(){for(var a=0,b=arguments.length;a<b;a++)var c=arguments[a];return Ember.observer.apply(this,arguments)},Ember.beforeObserver=function(a){var b=i.call(arguments,1);return a.__ember_observesBefore__=b,a}}(),function(){}(),function(){}(),function(){function e(b,c,d,f){var g,h,i;if("object"!=typeof b||b===null)return b;if(c&&(h=a(d,b))>=0)return f[h];if(Ember.typeOf(b)==="array"){g=b.slice();if(c){h=g.length;while(--h>=0)g[h]=e(g[h],c,d,f)}}else if(Ember.Copyable&&Ember.Copyable.detect(b))g=b.copy(c,d,f);else{g={};for(i in b){if(!b.hasOwnProperty(i))continue;g[i]=c?e(b[i],c,d,f):b[i]}}return c&&(d.push(b),f.push(g)),g}var a=Ember.EnumerableUtils.indexOf,b={},c="Boolean Number String Function Array Date RegExp Object".split(" ");Ember.ArrayPolyfills.forEach.call(c,function(a){b["[object "+a+"]"]=a.toLowerCase()});var d=Object.prototype.toString;Ember.typeOf=function(a){var c;return c=a===null||a===undefined?String(a):b[d.call(a)]||"object",c==="function"?Ember.Object&&Ember.Object.detect(a)&&(c="class"):c==="object"&&(a instanceof Error?c="error":Ember.Object&&a instanceof Ember.Object?c="instance":c="object"),c},Ember.none=function(a){return a===null||a===undefined},Ember.empty=function(a){return a===null||a===undefined||a.length===0&&typeof a!="function"},Ember.compare=function f(a,b){if(a===b)return 0;var c=Ember.typeOf(a),d=Ember.typeOf(b),e=Ember.Comparable;if(e){if(c==="instance"&&e.detect(a.constructor))return a.constructor.compare(a,b);if(d==="instance"&&e.detect(b.constructor))return 1-b.constructor.compare(b,a)}var g=Ember.ORDER_DEFINITION_MAPPING;if(!g){var h=Ember.ORDER_DEFINITION;g=Ember.ORDER_DEFINITION_MAPPING={};var i,j;for(i=0,j=h.length;i<j;++i)g[h[i]]=i;delete Ember.ORDER_DEFINITION}var k=g[c],l=g[d];if(k<l)return-1;if(k>l)return 1;switch(c){case"boolean":case"number":if(a<b)return-1;if(a>b)return 1;return 0;case"string":var m=a.localeCompare(b);if(m<0)return-1;if(m>0)return 1;return 0;case"array":var n=a.length,o=b.length,p=Math.min(n,o),q=0,r=0;while(q===0&&r<p)q=f(a[r],b[r]),r++;if(q!==0)return q;if(n<o)return-1;if(n>o)return 1;return 0;case"instance":if(Ember.Comparable&&Ember.Comparable.detect(a))return a.compare(a,b);return 0;case"date":var s=a.getTime(),t=b.getTime();if(s<t)return-1;if(s>t)return 1;return 0;default:return 0}},Ember.copy=function(a,b){return"object"!=typeof a||a===null?a:Ember.Copyable&&Ember.Copyable.detect(a)?a.copy(b):e(a,b,b?[]:null,b?[]:null)},Ember.inspect=function(a){var b,c=[];for(var d in a)if(a.hasOwnProperty(d)){b=a[d];if(b==="toString")continue;Ember.typeOf(b)==="function"&&(b="function() { ... }"),c.push(d+": "+b)}return"{"+c.join(" , ")+"}"},Ember.isEqual=function(a,b){return a&&"function"==typeof a.isEqual?a.isEqual(b):a===b},Ember.ORDER_DEFINITION=Ember.ENV.ORDER_DEFINITION||["undefined","null","boolean","number","string","array","object","instance","function","class","date"],Ember.keys=Object.keys,Ember.keys||(Ember.keys=function(a){var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c);return b}),Ember.Error=function(){var a=Error.prototype.constructor.apply(this,arguments);for(var b in a)a.hasOwnProperty(b)&&(this[b]=a[b]);this.message=a.message},Ember.Error.prototype=Ember.create(Error.prototype)}(),function(){var a=/[ _]/g,b={},c=/([a-z])([A-Z])/g,d=/(\-|_|\s)+(.)?/g,e=/([a-z\d])([A-Z]+)/g,f=/\-|\s+/g;Ember.STRINGS={},Ember.String={fmt:function(a,b){var c=0;return a.replace(/%@([0-9]+)?/g,function(a,d){return d=d?parseInt(d,0)-1:c++,a=b[d],(a===null?"(null)":a===undefined?"":a).toString()})},loc:function(a,b){return a=Ember.STRINGS[a]||a,Ember.String.fmt(a,b)},w:function(a){return a.split(/\s+/)},decamelize:function(a){return a.replace(c,"$1_$2").toLowerCase()},dasherize:function(c){var d=b,e=d[c];return e?e:(e=Ember.String.decamelize(c).replace(a,"-"),d[c]=e,e)},camelize:function(a){return a.replace(d,function(a,b,c){return c?c.toUpperCase():""})},classify:function(a){var b=Ember.String.camelize(a);return b.charAt(0).toUpperCase()+b.substr(1)},underscore:function(a){return a.replace(e,"$1_$2").replace(f,"_").toLowerCase()}}}(),function(){var a=Ember.String.fmt,b=Ember.String.w,c=Ember.String.loc,d=Ember.String.camelize,e=Ember.String.decamelize,f=Ember.String.dasherize,g=Ember.String.underscore;Ember.EXTEND_PROTOTYPES&&(String.prototype.fmt=function(){return a(this,arguments)},String.prototype.w=function(){return b(this)},String.prototype.loc=function(){return c(this,arguments)},String.prototype.camelize=function(){return d(this)},String.prototype.decamelize=function(){return e(this)},String.prototype.dasherize=function(){return f(this)},String.prototype.underscore=function(){return g(this)})}(),function(){var a=Array.prototype.slice;Ember.EXTEND_PROTOTYPES&&(Function.prototype.property=function(){var a=Ember.computed(this);return a.property.apply(a,arguments)},Function.prototype.observes=function(){return this.__ember_observes__=a.call(arguments),this},Function.prototype.observesBefore=function(){return this.__ember_observesBefore__=a.call(arguments),this})}(),function(){}(),function(){function f(){return e.length===0?{}:e.pop()}function g(a){return e.push(a),null}function h(b,c){function e(e){var f=a(e,b);return d?c===f:!!f}var d=arguments.length===2;return e}var a=Ember.get,b=Ember.set,c=Array.prototype.slice,d=Ember.EnumerableUtils.indexOf,e=[];Ember.Enumerable=Ember.Mixin.create({isEnumerable:!0,nextObject:Ember.required(Function),firstObject:Ember.computed(function(){if(a(this,"length")===0)return undefined;var b=f(),c;return c=this.nextObject(0,null,b),g(b),c}).property("[]").cacheable(),lastObject:Ember.computed(function(){var b=a(this,"length");if(b===0)return undefined;var c=f(),d=0,e,h=null;do h=e,e=this.nextObject(d++,h,c);while(e!==undefined);return g(c),h}).property("[]").cacheable(),contains:function(a){return this.find(function(b){return b===a})!==undefined},forEach:function(b,c){if(typeof b!="function")throw new TypeError;var d=a(this,"length"),e=null,h=f();c===undefined&&(c=null);for(var i=0;i<d;i++){var j=this.nextObject(i,e,h);b.call(c,j,i,this),e=j}return e=null,h=g(h),this},getEach:function(a){return this.mapProperty(a)},setEach:function(a,c){return this.forEach(function(d){b(d,a,c)})},map:function(a,b){var c=[];return this.forEach(function(d,e,f){c[e]=a.call(b,d,e,f)}),c},mapProperty:function(b){return this.map(function(c){return a(c,b)})},filter:function(a,b){var c=[];return this.forEach(function(d,e,f){a.call(b,d,e,f)&&c.push(d)}),c},filterProperty:function(a,b){return this.filter(h.apply(this,arguments))},find:function(b,c){var d=a(this,"length");c===undefined&&(c=null);var e=null,h,i=!1,j,k=f();for(var l=0;l<d&&!i;l++){h=this.nextObject(l,e,k);if(i=b.call(c,h,l,this))j=h;e=h}return h=e=null,k=g(k),j},findProperty:function(a,b){return this.find(h.apply(this,arguments))},every:function(a,b){return!this.find(function(c,d,e){return!a.call(b,c,d,e)})},everyProperty:function(a,b){return this.every(h.apply(this,arguments))},some:function(a,b){return!!this.find(function(c,d,e){return!!a.call(b,c,d,e)})},someProperty:function(a,b){return this.some(h.apply(this,arguments))},reduce:function(a,b,c){if(typeof a!="function")throw new TypeError;var d=b;return this.forEach(function(b,e){d=a.call(null,d,b,e,this,c)},this),d},invoke:function(a){var b,d=[];return arguments.length>1&&(b=c.call(arguments,1)),this.forEach(function(c,e){var f=c&&c[a];"function"==typeof f&&(d[e]=b?f.apply(c,b):f.call(c))},this),d},toArray:function(){var a=[];return this.forEach(function(b,c){a[c]=b}),a},compact:function(){return this.without(null)},without:function(a){if(!this.contains(a))return this;var b=[];return this.forEach(function(c){c!==a&&(b[b.length]=c)}),b},uniq:function(){var a=[];return this.forEach(function(b){d(a,b)<0&&a.push(b)}),a},"[]":Ember.computed(function(a,b){return this}).property().cacheable(),addEnumerableObserver:function(b,c){var d=c&&c.willChange||"enumerableWillChange",e=c&&c.didChange||"enumerableDidChange",f=a(this,"hasEnumerableObservers");return f||Ember.propertyWillChange(this,"hasEnumerableObservers"),Ember.addListener(this,"@enumerable:before",b,d),Ember.addListener(this,"@enumerable:change",b,e),f||Ember.propertyDidChange(this,"hasEnumerableObservers"),this},removeEnumerableObserver:function(b,c){var d=c&&c.willChange||"enumerableWillChange",e=c&&c.didChange||"enumerableDidChange",f=a(this,"hasEnumerableObservers");return f&&Ember.propertyWillChange(this,"hasEnumerableObservers"),Ember.removeListener(this,"@enumerable:before",b,d),Ember.removeListener(this,"@enumerable:change",b,e),f&&Ember.propertyDidChange(this,"hasEnumerableObservers"),this},hasEnumerableObservers:Ember.computed(function(){return Ember.hasListeners(this,"@enumerable:change")||Ember.hasListeners(this,"@enumerable:before")}).property().cacheable(),enumerableContentWillChange:function(b,c){var d,e,f;return"number"==typeof b?d=b:b?d=a(b,"length"):d=b=-1,"number"==typeof c?e=c:c?e=a(c,"length"):e=c=-1,f=e<0||d<0||e-d!==0,b===-1&&(b=null),c===-1&&(c=null),Ember.propertyWillChange(this,"[]"),f&&Ember.propertyWillChange(this,"length"),Ember.sendEvent(this,"@enumerable:before",[this,b,c]),this},enumerableContentDidChange:function(b,c){var d=this.propertyDidChange,e,f,g;return"number"==typeof b?e=b:b?e=a(b,"length"):e=b=-1,"number"==typeof c?f=c:c?f=a(c,"length"):f=c=-1,g=f<0||e<0||f-e!==0,b===-1&&(b=null),c===-1&&(c=null),Ember.sendEvent(this,"@enumerable:change",[this,b,c]),g&&Ember.propertyDidChange(this,"length"),Ember.propertyDidChange(this,"[]"),this}})}(),function(){function f(a){return a===null||a===undefined}var a=Ember.get,b=Ember.set,c=Ember.meta,d=Ember.EnumerableUtils.map,e=Ember.cacheFor;Ember.Array=Ember.Mixin.create(Ember.Enumerable,{isSCArray:!0,length:Ember.required(),objectAt:function(b){return b<0||b>=a(this,"length")?undefined:a(this,b)},objectsAt:function(a){var b=this;return d(a,function(a){return b.objectAt(a)})},nextObject:function(a){return this.objectAt(a)},"[]":Ember.computed(function(b,c){return c!==undefined&&this.replace(0,a(this,"length"),c),this}).property().cacheable(),firstObject:Ember.computed(function(){return this.objectAt(0)}).property().cacheable(),lastObject:Ember.computed(function(){return this.objectAt(a(this,"length")-1)}).property().cacheable(),contains:function(a){return this.indexOf(a)>=0},slice:function(b,c){var d=[],e=a(this,"length");f(b)&&(b=0);if(f(c)||c>e)c=e;while(b<c)d[d.length]=this.objectAt(b++);return d},indexOf:function(b,c){var d,e=a(this,"length");c===undefined&&(c=0),c<0&&(c+=e);for(d=c;d<e;d++)if(this.objectAt(d,!0)===b)return d;return-1},lastIndexOf:function(b,c){var d,e=a(this,"length");if(c===undefined||c>=e)c=e-1;c<0&&(c+=e);for(d=c;d>=0;d--)if(this.objectAt(d)===b)return d;return-1},addArrayObserver:function(b,c){var d=c&&c.willChange||"arrayWillChange",e=c&&c.didChange||"arrayDidChange",f=a(this,"hasArrayObservers");return f||Ember.propertyWillChange(this,"hasArrayObservers"),Ember.addListener(this,"@array:before",b,d),Ember.addListener(this,"@array:change",b,e),f||Ember.propertyDidChange(this,"hasArrayObservers"),this},removeArrayObserver:function(b,c){var d=c&&c.willChange||"arrayWillChange",e=c&&c.didChange||"arrayDidChange",f=a(this,"hasArrayObservers");return f&&Ember.propertyWillChange(this,"hasArrayObservers"),Ember.removeListener(this,"@array:before",b,d),Ember.removeListener(this,"@array:change",b,e),f&&Ember.propertyDidChange(this,"hasArrayObservers"),this},hasArrayObservers:Ember.computed(function(){return Ember.hasListeners(this,"@array:change")||Ember.hasListeners(this,"@array:before")}).property().cacheable(),arrayContentWillChange:function(b,c,d){b===undefined?(b=0,c=d=-1):(c===undefined&&(c=-1),d===undefined&&(d=-1)),Ember.isWatching(this,"@each")&&a(this,"@each"),Ember.sendEvent(this,"@array:before",[this,b,c,d]);var e,f;if(b>=0&&c>=0&&a(this,"hasEnumerableObservers")){e=[],f=b+c;for(var g=b;g<f;g++)e.push(this.objectAt(g))}else e=c;return this.enumerableContentWillChange(e,d),this},arrayContentDidChange:function(b,c,d){b===undefined?(b=0,c=d=-1):(c===undefined&&(c=-1),d===undefined&&(d=-1));var f,g;if(b>=0&&d>=0&&a(this,"hasEnumerableObservers")){f=[],g=b+d;for(var h=b;h<g;h++)f.push(this.objectAt(h))}else f=d;this.enumerableContentDidChange(c,f),Ember.sendEvent(this,"@array:change",[this,b,c,d]);var i=a(this,"length"),j=e(this,"firstObject"),k=e(this,"lastObject");return this.objectAt(0)!==j&&(Ember.propertyWillChange(this,"firstObject"),Ember.propertyDidChange(this,"firstObject")),this.objectAt(i-1)!==k&&(Ember.propertyWillChange(this,"lastObject"),Ember.propertyDidChange(this,"lastObject")),this},"@each":Ember.computed(function(){return this.__each||(this.__each=new Ember.EachProxy(this)),this.__each}).property().cacheable()})}(),function(){Ember.Comparable=Ember.Mixin.create({isComparable:!0,compare:Ember.required(Function)})}(),function(){var a=Ember.get,b=Ember.set;Ember.Copyable=Ember.Mixin.create({copy:Ember.required(Function),frozenCopy:function(){if(Ember.Freezable&&Ember.Freezable.detect(this))return a(this,"isFrozen")?this:this.copy().freeze();throw new Error(Ember.String.fmt("%@ does not support freezing",[this]))}})}(),function(){var a=Ember.get,b=Ember.set;Ember.Freezable=Ember.Mixin.create({isFrozen:!1,freeze:function(){return a(this,"isFrozen")?this:(b(this,"isFrozen",!0),this)}}),Ember.FROZEN_ERROR="Frozen object cannot be modified."}(),function(){var a=Ember.EnumerableUtils.forEach;Ember.MutableEnumerable=Ember.Mixin.create(Ember.Enumerable,{addObject:Ember.required(Function),addObjects:function(b){return Ember.beginPropertyChanges(this),a(b,function(a){this.addObject(a)},this),Ember.endPropertyChanges(this),this},removeObject:Ember.required(Function),removeObjects:function(b){return Ember.beginPropertyChanges(this),a(b,function(a){this.removeObject(a)},this),Ember.endPropertyChanges(this),this}})}(),function(){var a="Index out of range",b=[],c=Ember.get,d=Ember.set,e=Ember.EnumerableUtils.forEach;Ember.MutableArray=Ember.Mixin.create(Ember.Array,Ember.MutableEnumerable,{replace:Ember.required(),clear:function(){var a=c(this,"length");return a===0?this:(this.replace(0,a,b),this)},insertAt:function(b,d){if(b>c(this,"length"))throw new Error(a);return this.replace(b,0,[d]),this},removeAt:function(d,e){var f=0;if("number"==typeof d){if(d<0||d>=c(this,"length"))throw new Error(a);e===undefined&&(e=1),this.replace(d,e,b)}return this},pushObject:function(a){return this.insertAt(c(this,"length"),a),a},pushObjects:function(a){return this.replace(c(this,"length"),0,a),this},popObject:function(){var a=c(this,"length");if(a===0)return null;var b=this.objectAt(a-1);return this.removeAt(a-1,1),b},shiftObject:function(){if(c(this,"length")===0)return null;var a=this.objectAt(0);return this.removeAt(0),a},unshiftObject:function(a){return this.insertAt(0,a),a},unshiftObjects:function(a){return this.replace(0,0,a),this},reverseObjects:function(){var a=c(this,"length");if(a===0)return this;var b=this.toArray().reverse();return this.replace(0,a,b),this},removeObject:function(a){var b=c(this,"length")||0;while(--b>=0){var d=this.objectAt(b);d===a&&this.removeAt(b)}return this},addObject:function(a){return this.contains(a)||this.pushObject(a),this}})}(),function(){var a=Ember.get,b=Ember.set,c=Ember.defineProperty;Ember.Observable=Ember.Mixin.create({isObserverable:!0,get:function(b){return a(this,b)},getProperties:function(){var b={},c=arguments;arguments.length===1&&Ember.typeOf(arguments[0])==="array"&&(c=arguments[0]);for(var d=0;d<c.length;d++)b[c[d]]=a(this,c[d]);return b},set:function(a,c){return b(this,a,c),this},setProperties:function(a){return Ember.setProperties(this,a)},beginPropertyChanges:function(){return Ember.beginPropertyChanges(),this},endPropertyChanges:function(){return Ember.endPropertyChanges(),this},propertyWillChange:function(a){return Ember.propertyWillChange(this,a),this},propertyDidChange:function(a){return Ember.propertyDidChange(this,a),this},notifyPropertyChange:function(a){return this.propertyWillChange(a),this.propertyDidChange(a),this},addBeforeObserver:function(a,b,c){Ember.addBeforeObserver(this,a,b,c)},addObserver:function(a,b,c){Ember.addObserver(this,a,b,c)},removeObserver:function(a,b,c){Ember.removeObserver(this,a,b,c)},hasObserverFor:function(a){return Ember.hasListeners(this,a+":change")},unknownProperty:function(a){return undefined},setUnknownProperty:function(a,d){c(this,a),b(this,a,d)},getPath:function(a){return this.get(a)},setPath:function(a,b){return this.set(a,b)},getWithDefault:function(a,b){return Ember.getWithDefault(this,a,b)},incrementProperty:function(c,d){return d||(d=1),b(this,c,(a(this,c)||0)+d),a(this,c)},decrementProperty:function(c,d){return d||(d=1),b(this,c,(a(this,c)||0)-d),a(this,c)},toggleProperty:function(c){return b(this,c,!a(this,c)),a(this,c)},cacheFor:function(a){return Ember.cacheFor(this,a)},observersForKey:function(a){return Ember.observersFor(this,a)}})}(),function(){var a=Ember.get,b=Ember.set;Ember.TargetActionSupport=Ember.Mixin.create({target:null,action:null,targetObject:Ember.computed(function(){var b=a(this,"target");if(Ember.typeOf(b)==="string"){var c=a(this,b);return c===undefined&&(c=a(window,b)),c}return b}).property("target").cacheable(),triggerAction:function(){var b=a(this,"action"),c=a(this,"targetObject");if(c&&b){var d;return typeof c.send=="function"?d=c.send(b,this):(typeof b=="string"&&(b=c[b]),d=b.call(c,this)),d!==!1&&(d=!0),d}return!1}})}(),function(){Ember.Evented=Ember.Mixin.create({on:function(a,b,c){Ember.addListener(this,a,b,c)},one:function(a,b,c){c||(c=b,b=null);var d=this,e=function(){Ember.removeListener(d,a,b,e),"string"==typeof c&&(c=this[c]),c.apply(this,arguments)};this.on(a,b,e)},trigger:function(a){var b=[],c,d;for(c=1,d=arguments.length;c<d;c++)b.push(arguments[c]);Ember.sendEvent(this,a,b)},fire:function(a){this.trigger.apply(this,arguments)},off:function(a,b,c){Ember.removeListener(this,a,b,c)},has:function(a){return Ember.hasListeners(this,a)}})}(),function(){}(),function(){function m(){var b=!1,c,d=function(){b||d.proto();var a=Ember.meta(this);a.proto=this,c&&(this.reopen.apply(this,c),c=null),e(this,Ember.GUID_KEY,l),e(this,"_super",l),j(this,a),delete a.proto,i(this),this.init.apply(this,arguments)};return d.toString=a,d.willReopen=function(){b&&(d.PrototypeMixin=Ember.Mixin.create(d.PrototypeMixin)),b=!1},d._initMixins=function(a){c=a},d.proto=function(){var a=d.superclass;return a&&a.proto(),b||(b=!0,d.PrototypeMixin.applyPartial(d.prototype),h(d.prototype)),this.prototype},d}var a=Ember.Mixin.prototype.toString,b=Ember.set,c=Ember.get,d=Ember.create,e=Ember.platform.defineProperty,f=Array.prototype.slice,g=Ember.meta,h=Ember.rewatch,i=Ember.finishChains,j=Ember.Mixin.finishPartial,k=Ember.Mixin.prototype.reopen,l={configurable:!0,writable:!0,enumerable:!1,value:undefined},n=m();n.PrototypeMixin=Ember.Mixin.create({reopen:function(){return Ember.Mixin._apply(this,arguments,!0),this},isInstance:!0,init:function(){},isDestroyed:!1,isDestroying:!1,destroy:function(){if(this.isDestroying)return;return this.isDestroying=!0,this.willDestroy&&this.willDestroy(),b(this,"isDestroyed",!0),Ember.run.schedule("destroy",this,this._scheduledDestroy),this},_scheduledDestroy:function(){Ember.destroy(this),this.didDestroy&&this.didDestroy()},bind:function(a,b){return b instanceof Ember.Binding||(b=Ember.Binding.from(b)),b.to(a).connect(this),b},toString:function(){return"<"+this.constructor.toString()+":"+Ember.guidFor(this)+">"}}),Ember.config.overridePrototypeMixin&&Ember.config.overridePrototypeMixin(n.PrototypeMixin),n.__super__=null;var o=Ember.Mixin.create({ClassMixin:Ember.required(),PrototypeMixin:Ember.required(),isClass:!0,isMethod:!1,extend:function(){var a=m(),b;return a.ClassMixin=Ember.Mixin.create(this.ClassMixin),a.PrototypeMixin=Ember.Mixin.create(this.PrototypeMixin),a.ClassMixin.ownerConstructor=a,a.PrototypeMixin.ownerConstructor=a,k.apply(a.PrototypeMixin,arguments),a.superclass=this,a.__super__=this.prototype,b=a.prototype=d(this.prototype),b.constructor=a,Ember.generateGuid(b,"ember"),g(b).proto=b,a.ClassMixin.apply(a),a},create:function(){var a=this;return arguments.length>0&&this._initMixins(arguments),new a},reopen:function(){return this.willReopen(),k.apply(this.PrototypeMixin,arguments),this},reopenClass:function(){return k.apply(this.ClassMixin,arguments),Ember.Mixin._apply(this,arguments,!1),this},detect:function(a){if("function"!=typeof a)return!1;while(a){if(a===this)return!0;a=a.superclass}return!1},detectInstance:function(a){return a instanceof this},metaForProperty:function(a){var b=g(this.proto(),!1).descs[a];return b._meta||{}},eachComputedProperty:function(a,b){var c=this.proto(),d=g(c).descs,e={},f;for(var h in d)f=d[h],f instanceof Ember.ComputedProperty&&a.call(b||this,h,f._meta||e)}});Ember.config.overrideClassMixin&&Ember.config.overrideClassMixin(o),n.ClassMixin=o,o.apply(n),Ember.CoreObject=n}(),function(){var a=Ember.get,b=Ember.set,c=Ember.guidFor,d=Ember.none;Ember.Set=Ember.CoreObject.extend(Ember.MutableEnumerable,Ember.Copyable,Ember.Freezable,{length:0,clear:function(){if(this.isFrozen)throw new Error(Ember.FROZEN_ERROR);var d=a(this,"length");if(d===0)return this;var e;this.enumerableContentWillChange(d,0),Ember.propertyWillChange(this,"firstObject"),Ember.propertyWillChange(this,"lastObject");for(var f=0;f<d;f++)e=c(this[f]),delete this[e],delete this[f];return b(this,"length",0),Ember.propertyDidChange(this,"firstObject"),Ember.propertyDidChange(this,"lastObject"),this.enumerableContentDidChange(d,0),this},isEqual:function(b){if(!Ember.Enumerable.detect(b))return!1;var c=a(this,"length");if(a(b,"length")!==c)return!1;while(--c>=0)if(!b.contains(this[c]))return!1;return!0},add:Ember.alias("addObject"),remove:Ember.alias("removeObject"),pop:function(){if(a(this,"isFrozen"))throw new Error(Ember.FROZEN_ERROR);var b=this.length>0?this[this.length-1]:null;return this.remove(b),b},push:Ember.alias("addObject"),shift:Ember.alias("pop"),unshift:Ember.alias("push"),addEach:Ember.alias("addObjects"),removeEach:Ember.alias("removeObjects"),init:function(a){this._super(),a&&this.addObjects(a)},nextObject:function(a){return this[a]},firstObject:Ember.computed(function(){return this.length>0?this[0]:undefined}).property().cacheable(),lastObject:Ember.computed(function(){return this.length>0?this[this.length-1]:undefined}).property().cacheable(),addObject:function(e){if(a(this,"isFrozen"))throw new Error(Ember.FROZEN_ERROR);if(d(e))return this;var f=c(e),g=this[f],h=a(this,"length"),i;return g>=0&&g<h&&this[g]===e?this:(i=[e],this.enumerableContentWillChange(null,i),Ember.propertyWillChange(this,"lastObject"),h=a(this,"length"),this[f]=h,this[h]=e,b(this,"length",h+1),Ember.propertyDidChange(this,"lastObject"),this.enumerableContentDidChange(null,i),this)},removeObject:function(e){if(a(this,"isFrozen"))throw new Error(Ember.FROZEN_ERROR);if(d(e))return this;var f=c(e),g=this[f],h=a(this,"length"),i=g===0,j=g===h-1,k,l;return g>=0&&g<h&&this[g]===e&&(l=[e],this.enumerableContentWillChange(l,null),i&&Ember.propertyWillChange(this,"firstObject"),j&&Ember.propertyWillChange(this,"lastObject"),g<h-1&&(k=this[h-1],this[g]=k,this[c(k)]=g),delete this[f],delete this[h-1],b(this,"length",h-1),i&&Ember.propertyDidChange(this,"firstObject"),j&&Ember.propertyDidChange(this,"lastObject"),this.enumerableContentDidChange(l,null)),this},contains:function(a){return this[c(a)]>=0},copy:function(){var d=this.constructor,e=new d,f=a(this,"length");b(e,"length",f);while(--f>=0)e[f]=this[f],e[c(this[f])]=f;return e},toString:function(){var a=this.length,b,c=[];for(b=0;b<a;b++)c[b]=this[b];return"Ember.Set<%@>".fmt(c.join(","))}})}(),function(){Ember.Object=Ember.CoreObject.extend(Ember.Observable)}(),function(){var a=Ember.ArrayPolyfills.indexOf;Ember.Namespace=Ember.Object.extend({isNamespace:!0,init:function(){Ember.Namespace.NAMESPACES.push(this),Ember.Namespace.PROCESSED=!1},toString:function(){return Ember.identifyNamespaces(),this[Ember.GUID_KEY+"_name"]},destroy:function(){var b=Ember.Namespace.NAMESPACES;window[this.toString()]=undefined,b.splice(a.call(b,this),1),this._super()}}),Ember.Namespace.NAMESPACES=[Ember],Ember.Namespace.PROCESSED=!1}(),function(){Ember.Application=Ember.Namespace.extend()}(),function(){var a=Ember.get,b=Ember.set;Ember.ArrayProxy=Ember.Object.extend(Ember.MutableArray,{content:null,arrangedContent:Ember.computed("content",function(){return a(this,"content")}).cacheable(),objectAtContent:function(b){return a(this,"arrangedContent").objectAt(b)},replaceContent:function(b,c,d){a(this,"arrangedContent").replace(b,c,d)},_contentWillChange:Ember.beforeObserver(function(){var b=a(this,"content");b&&b.removeArrayObserver(this,{willChange:"contentArrayWillChange",didChange:"contentArrayDidChange"})},"content"),contentArrayWillChange:Ember.K,contentArrayDidChange:Ember.K,_contentDidChange:Ember.observer(function(){var b=a(this,"content"),c=b?a(b,"length"):0;b&&b.addArrayObserver(this,{willChange:"contentArrayWillChange",didChange:"contentArrayDidChange"})},"content"),_arrangedContentWillChange:Ember.beforeObserver(function(){var b=a(this,"arrangedContent"),c=b?a(b,"length"):0;this.arrangedContentArrayWillChange(this,0,c,undefined),b&&b.removeArrayObserver(this,{willChange:"arrangedContentArrayWillChange",didChange:"arrangedContentArrayDidChange"})},"arrangedContent"),_arrangedContentDidChange:Ember.observer(function(){var b=a(this,"arrangedContent"),c=b?a(b,"length"):0;b&&b.addArrayObserver(this,{willChange:"arrangedContentArrayWillChange",didChange:"arrangedContentArrayDidChange"}),this.arrangedContentArrayDidChange(this,0,undefined,c)},"arrangedContent"),objectAt:function(b){return a(this,"content")&&this.objectAtContent(b)},length:Ember.computed(function(){var b=a(this,"arrangedContent");return b?a(b,"length"):0}).property().cacheable(),replace:function(b,c,d){return a(this,"content")&&this.replaceContent(b,c,d),this},arrangedContentArrayWillChange:function(a,b,c,d){this.arrayContentWillChange(b,c,d)},arrangedContentArrayDidChange:function(a,b,c,d){this.arrayContentDidChange(b,c,d)},init:function(){this._super(),this._contentWillChange(),this._contentDidChange(),this._arrangedContentWillChange(),this._arrangedContentDidChange()}})}(),function(){function j(a,b){var c=b.slice(8);if(c in this)return;h(this,c)}function k(a,b){var c=b.slice(8);if(c in this)return;i(this,c)}var a=Ember.get,b=Ember.set,c=Ember.String.fmt,d=Ember.addBeforeObserver,e=Ember.addObserver,f=Ember.removeBeforeObserver,g=Ember.removeObserver,h=Ember.propertyWillChange,i=Ember.propertyDidChange;Ember.ObjectProxy=Ember.Object.extend({content:null,_contentDidChange:Ember.observer(function(){},"content"),willWatchProperty:function(a){var b="content."+a;d(this,b,null,j),e(this,b,null,k)},didUnwatchProperty:function(a){var b="content."+a;f(this,b,null,j),g(this,b,null,k)},unknownProperty:function(b){var c=a(this,"content");if(c)return a(c,b)},setUnknownProperty:function(c,d){var e=a(this,"content");return b(e,c,d)}})}(),function(){function g(a,b,d,e,f){var g=d._objects,h;g||(g=d._objects={});while(--f>=e){var i=a.objectAt(f);i&&(Ember.addBeforeObserver(i,b,d,"contentKeyWillChange"),Ember.addObserver(i,b,d,"contentKeyDidChange"),h=c(i),g[h]||(g[h]=[]),g[h].push(f))}}function h(a,b,d,e,f){var g=d._objects;g||(g=d._objects={});var h,i;while(--f>=e){var j=a.objectAt(f);j&&(Ember.removeBeforeObserver(j,b,d,"contentKeyWillChange"),Ember.removeObserver(j,b,d,"contentKeyDidChange"),i=c(j),h=g[i],h[h.indexOf(f)]=null)}}var a=Ember.set,b=Ember.get,c=Ember.guidFor,d=Ember.EnumerableUtils.forEach,e=Ember.Object.extend(Ember.Array,{init:function(a,b,c){this._super(),this._keyName=b,this._owner=c,this._content=a},objectAt:function(a){var c=this._content.objectAt(a);return c&&b(c,this._keyName)},length:Ember.computed(function(){var a=this._content;return a?b(a,"length"):0}).property().cacheable()}),f=/^.+:(before|change)$/;Ember.EachProxy=Ember.Object.extend({init:function(a){this._super(),this._content=a,a.addArrayObserver(this),d(Ember.watchedEvents(this),function(a){this.didAddListener(a)},this)},unknownProperty:function(a,b){var c;return c=new e(this._content,a,this),Ember.defineProperty(this,a,null,c),this.beginObservingContentKey(a),c},arrayWillChange:function(a,b,c,d){var e=this._keys,f,g,i;i=c>0?b+c:-1,Ember.beginPropertyChanges(this);for(f in e){if(!e.hasOwnProperty(f))continue;i>0&&h(a,f,this,b,i),Ember.propertyWillChange(this,f)}Ember.propertyWillChange(this._content,"@each"),Ember.endPropertyChanges(this)},arrayDidChange:function(a,b,c,d){var e=this._keys,f,h,i;i=d>0?b+d:-1,Ember.beginPropertyChanges(this);for(f in e){if(!e.hasOwnProperty(f))continue;i>0&&g(a,f,this,b,i),Ember.propertyDidChange(this,f)}Ember.propertyDidChange(this._content,"@each"),Ember.endPropertyChanges(this)},didAddListener:function(a){f.test(a)&&this.beginObservingContentKey(a.slice(0,-7))},didRemoveListener:function(a){f.test(a)&&this.stopObservingContentKey(a.slice(0,-7))},beginObservingContentKey:function(a){var c=this._keys;c||(c=this._keys={});if(!c[a]){c[a]=1;var d=this._content,e=b(d,"length");g(d,a,this,0,e)}else c[a]++},stopObservingContentKey:function(a){var c=this._keys;if(c&&c[a]>0&&--c[a]<=0){var d=this._content,e=b(d,"length");h(d,a,this,0,e)}},contentKeyWillChange:function(a,b){Ember.propertyWillChange(this,b)},contentKeyDidChange:function(a,b){Ember.propertyDidChange(this,b)}})}(),function(){var a=Ember.get,b=Ember.set,c=Ember.Mixin.create(Ember.MutableArray,Ember.Observable,Ember.Copyable,{get:function(a){return a==="length"?this.length:"number"==typeof a?this[a]:this._super(a)},objectAt:function(a){return this[a]},replace:function(b,c,d){if(this.isFrozen)throw Ember.FROZEN_ERROR;var e=
+d?a(d,"length"):0;this.arrayContentWillChange(b,c,e);if(!d||d.length===0)this.splice(b,c);else{var f=[b,c].concat(d);this.splice.apply(this,f)}return this.arrayContentDidChange(b,c,e),this},unknownProperty:function(a,b){var c;return b!==undefined&&c===undefined&&(c=this[a]=b),c},indexOf:function(a,b){var c,d=this.length;b===undefined?b=0:b=b<0?Math.ceil(b):Math.floor(b),b<0&&(b+=d);for(c=b;c<d;c++)if(this[c]===a)return c;return-1},lastIndexOf:function(a,b){var c,d=this.length;b===undefined?b=d-1:b=b<0?Math.ceil(b):Math.floor(b),b<0&&(b+=d);for(c=b;c>=0;c--)if(this[c]===a)return c;return-1},copy:function(){return this.slice()}}),d=["length"];Ember.EnumerableUtils.forEach(c.keys(),function(a){Array.prototype[a]&&d.push(a)}),d.length>0&&(c=c.without.apply(c,d)),Ember.NativeArray=c,Ember.A=function(a){return a===undefined&&(a=[]),Ember.NativeArray.apply(a)},Ember.NativeArray.activate=function(){c.apply(Array.prototype),Ember.A=function(a){return a||[]}},Ember.EXTEND_PROTOTYPES&&Ember.NativeArray.activate()}(),function(){var a=Ember.get,b=Ember.set;Ember._PromiseChain=Ember.Object.extend({promises:null,failureCallback:Ember.K,successCallback:Ember.K,abortCallback:Ember.K,promiseSuccessCallback:Ember.K,runNextPromise:function(){if(a(this,"isDestroyed"))return;var b=a(this,"promises").shiftObject();if(b){var c=a(b,"promise")||b,d=this,e=function(){d.promiseSuccessCallback.call(this,b,arguments),d.runNextPromise()},f=a(d,"failureCallback");c.then(e,f)}else this.successCallback()},start:function(){return this.runNextPromise(),this},abort:function(){this.abortCallback(),this.destroy()},init:function(){b(this,"promises",Ember.A(a(this,"promises"))),this._super()}})}(),function(){var a={},b={};Ember.onLoad=function(c,d){var e;a[c]=a[c]||Ember.A(),a[c].pushObject(d),(e=b[c])&&d(e)},Ember.runLoadHooks=function(c,d){var e;b[c]=d,(e=a[c])&&a[c].forEach(function(a){a(d)})}}(),function(){}(),function(){Ember.ControllerMixin=Ember.Mixin.create({target:null,store:null}),Ember.Controller=Ember.Object.extend(Ember.ControllerMixin)}(),function(){var a=Ember.get,b=Ember.set,c=Ember.EnumerableUtils.forEach;Ember.SortableMixin=Ember.Mixin.create(Ember.MutableEnumerable,{sortProperties:null,sortAscending:!0,addObject:function(b){var c=a(this,"content");c.pushObject(b)},removeObject:function(b){var c=a(this,"content");c.removeObject(b)},orderBy:function(b,d){var e=0,f=a(this,"sortProperties"),g=a(this,"sortAscending");return c(f,function(c){e===0&&(e=Ember.compare(a(b,c),a(d,c)),e!==0&&!g&&(e=-1*e))}),e},destroy:function(){var b=a(this,"content"),d=a(this,"sortProperties");return b&&d&&c(b,function(a){c(d,function(b){Ember.removeObserver(a,b,this,"contentItemSortPropertyDidChange")},this)},this),this._super()},isSorted:Ember.computed("sortProperties",function(){return!!a(this,"sortProperties")}),arrangedContent:Ember.computed("content","sortProperties.@each",function(b,d){var e=a(this,"content"),f=a(this,"isSorted"),g=a(this,"sortProperties"),h=this;return e&&f?(e=e.slice(),e.sort(function(a,b){return h.orderBy(a,b)}),c(e,function(a){c(g,function(b){Ember.addObserver(a,b,this,"contentItemSortPropertyDidChange")},this)},this),Ember.A(e)):e}).cacheable(),_contentWillChange:Ember.beforeObserver(function(){var b=a(this,"content"),d=a(this,"sortProperties");b&&d&&c(b,function(a){c(d,function(b){Ember.removeObserver(a,b,this,"contentItemSortPropertyDidChange")},this)},this),this._super()},"content"),sortAscendingWillChange:Ember.beforeObserver(function(){this._lastSortAscending=a(this,"sortAscending")},"sortAscending"),sortAscendingDidChange:Ember.observer(function(){if(a(this,"sortAscending")!==this._lastSortAscending){var b=a(this,"arrangedContent");b.reverseObjects()}},"sortAscending"),contentArrayWillChange:function(b,d,e,f){var g=a(this,"isSorted");if(g){var h=a(this,"arrangedContent"),i=b.slice(d,d+e),j=a(this,"sortProperties");c(i,function(a){h.removeObject(a),c(j,function(b){Ember.removeObserver(a,b,this,"contentItemSortPropertyDidChange")},this)})}return this._super(b,d,e,f)},contentArrayDidChange:function(b,d,e,f){var g=a(this,"isSorted"),h=a(this,"sortProperties");if(g){var i=b.slice(d,d+f),j=a(this,"arrangedContent");c(i,function(a){this.insertItemSorted(a),c(h,function(b){Ember.addObserver(a,b,this,"contentItemSortPropertyDidChange")},this)},this)}return this._super(b,d,e,f)},insertItemSorted:function(b){var c=a(this,"arrangedContent"),d=a(c,"length"),e=this._binarySearch(b,0,d);c.insertAt(e,b)},contentItemSortPropertyDidChange:function(b){var c=a(this,"arrangedContent"),d=c.indexOf(b);c.removeObject(b),this.insertItemSorted(b)},_binarySearch:function(b,c,d){var e,f,g,h;return c===d?c:(h=a(this,"arrangedContent"),e=c+Math.floor((d-c)/2),f=h.objectAt(e),g=this.orderBy(f,b),g<0?this._binarySearch(b,e+1,d):g>0?this._binarySearch(b,c,e):e)}})}(),function(){var a=Ember.get,b=Ember.set;Ember.ArrayController=Ember.ArrayProxy.extend(Ember.ControllerMixin,Ember.SortableMixin)}(),function(){Ember.ObjectController=Ember.ObjectProxy.extend(Ember.ControllerMixin)}(),function(){}(),function(){}(),function(){var a=Ember.get,b=Ember.set;Ember.Application=Ember.Namespace.extend({rootElement:"body",eventDispatcher:null,customEvents:null,init:function(){var c,d=a(this,"rootElement");this._super(),c=Ember.EventDispatcher.create({rootElement:d}),b(this,"eventDispatcher",c);if(Ember.$.isReady)Ember.run.once(this,this.didBecomeReady);else{var e=this;Ember.$(document).ready(function(){Ember.run.once(e,e.didBecomeReady)})}},initialize:function(c){var d=Ember.A(Ember.keys(this)),e=a(this.constructor,"injections"),f=this,g,h;!c&&Ember.Router.detect(f.Router)&&(c=f.Router.create(),this._createdRouter=c),c&&(b(this,"router",c),b(c,"namespace",this)),Ember.runLoadHooks("application",this),e.forEach(function(a){d.forEach(function(b){a[1](f,c,b)})}),c&&c instanceof Ember.Router&&this.startRouting(c)},didBecomeReady:function(){var b=a(this,"eventDispatcher"),c=a(this,"customEvents");b.setup(c),this.ready()},startRouting:function(b){var c=a(b,"location"),d=a(this,"rootElement"),e=a(b,"applicationController"),f=this.ApplicationView.create({controller:e});this._createdApplicationView=f,f.appendTo(d),b.route(c.getURL()),c.onUpdateURL(function(a){b.route(a)})},ready:Ember.K,willDestroy:function(){a(this,"eventDispatcher").destroy(),this._createdRouter&&this._createdRouter.destroy(),this._createdApplicationView&&this._createdApplicationView.destroy()},registerInjection:function(a){this.constructor.registerInjection(a)}}),Ember.Application.reopenClass({concatenatedProperties:["injections"],injections:Ember.A(),registerInjection:function(b){var c=a(this,"injections"),d=b.before,e=b.name,f=b.injection,g;d?(g=c.find(function(a){if(a[0]===d)return!0}),g=c.indexOf(g)):g=a(c,"length"),c.splice(g,0,[e,f])}}),Ember.Application.registerInjection({name:"controllers",injection:function(a,b,c){if(!/^[A-Z].*Controller$/.test(c))return;var d=c.charAt(0).toLowerCase()+c.substr(1),e=a[c].create();b.set(d,e),e.setProperties({target:b,controllers:b,namespace:a})}})}(),function(){var a=Ember.get,b=Ember.set;Ember.Location={create:function(a){var b=a&&a.implementation,c=this.implementations[b];return c.create.apply(c,arguments)},registerImplementation:function(a,b){this.implementations[a]=b},implementations:{}}}(),function(){var a=Ember.get,b=Ember.set;Ember.HashLocation=Ember.Object.extend({init:function(){b(this,"location",a(this,"location")||window.location)},getURL:function(){return a(this,"location").hash.substr(1)},setURL:function(c){a(this,"location").hash=c,b(this,"lastSetURL",c)},onUpdateURL:function(c){var d=this,e=Ember.guidFor(this);Ember.$(window).bind("hashchange.ember-location-"+e,function(){var e=location.hash.substr(1);if(a(d,"lastSetURL")===e)return;b(d,"lastSetURL",null),c(location.hash.substr(1))})},formatURL:function(a){return"#"+a},willDestroy:function(){var a=Ember.guidFor(this);Ember.$(window).unbind("hashchange.ember-location-"+a)}}),Ember.Location.registerImplementation("hash",Ember.HashLocation)}(),function(){var a=Ember.get,b=Ember.set;Ember.HistoryLocation=Ember.Object.extend({init:function(){b(this,"location",a(this,"location")||window.location),b(this,"_initialURL",a(this,"location").pathname)},rootURL:"/",_initialURL:null,getURL:function(){return a(this,"location").pathname},setURL:function(b){var c=window.history.state,d=a(this,"_initialURL");b=this.formatPath(b),(d!==b&&!c||c&&c.path!==b)&&window.history.pushState({path:b},null,b)},onUpdateURL:function(a){var b=Ember.guidFor(this);Ember.$(window).bind("popstate.ember-location-"+b,function(b){a(location.pathname)})},formatPath:function(b){var c=a(this,"rootURL");return b!==""&&(c=c.replace(/\/$/,"")),c+b},formatURL:function(a){return a},willDestroy:function(){var a=Ember.guidFor(this);Ember.$(window).unbind("popstate.ember-location-"+a)}}),Ember.Location.registerImplementation("history",Ember.HistoryLocation)}(),function(){var a=Ember.get,b=Ember.set;Ember.NoneLocation=Ember.Object.extend({path:"",getURL:function(){return a(this,"path")},setURL:function(a){b(this,"path",a)},onUpdateURL:function(a){},formatURL:function(a){return a}}),Ember.Location.registerImplementation("none",Ember.NoneLocation)}(),function(){}(),function(){}(),function(){Ember.$=window.jQuery}(),function(){var a=Ember.String.w("dragstart drag dragenter dragleave dragover drop dragend");Ember.EnumerableUtils.forEach(a,function(a){Ember.$.event.fixHooks[a]={props:["dataTransfer"]}})}(),function(){var a=Ember.get,b=Ember.set,c=Ember.ArrayPolyfills.indexOf,d=function(){this.seen={},this.list=[]};d.prototype={add:function(a){if(a in this.seen)return;this.seen[a]=!0,this.list.push(a)},toDOM:function(){return this.list.join(" ")}},Ember.RenderBuffer=function(a){return new Ember._RenderBuffer(a)},Ember._RenderBuffer=function(a){this.elementTag=a,this.childBuffers=[]},Ember._RenderBuffer.prototype={elementClasses:null,elementId:null,elementAttributes:null,elementTag:null,elementStyle:null,parentBuffer:null,push:function(a){return this.childBuffers.push(String(a)),this},addClass:function(a){var b=this.elementClasses=this.elementClasses||new d;return this.elementClasses.add(a),this},id:function(a){return this.elementId=a,this},attr:function(a,b){var c=this.elementAttributes=this.elementAttributes||{};return arguments.length===1?c[a]:(c[a]=b,this)},removeAttr:function(a){var b=this.elementAttributes;return b&&delete b[a],this},style:function(a,b){var c=this.elementStyle=this.elementStyle||{};return this.elementStyle[a]=b,this},newBuffer:function(a,b,c,d){var e=new Ember._RenderBuffer(a);return e.parentBuffer=b,d&&Ember.$.extend(e,d),c&&c.call(this,e),e},replaceWithBuffer:function(a){var b=this.parentBuffer;if(!b)return;var d=b.childBuffers,e=c.call(d,this);a?d.splice(e,1,a):d.splice(e,1)},begin:function(a){return this.newBuffer(a,this,function(a){this.childBuffers.push(a)})},prepend:function(a){return this.newBuffer(a,this,function(a){this.childBuffers.splice(0,0,a)})},replaceWith:function(a){var b=this.parentBuffer;return this.newBuffer(a,b,function(a){this.replaceWithBuffer(a)})},insertAfter:function(b){var d=a(this,"parentBuffer");return this.newBuffer(b,d,function(a){var b=d.childBuffers,e=c.call(b,this);b.splice(e+1,0,a)})},end:function(){var a=this.parentBuffer;return a||this},remove:function(){this.replaceWithBuffer(null)},element:function(){return Ember.$(this.string())[0]},string:function(){var a="",b=this.elementTag,c;if(b){var d=this.elementId,e=this.elementClasses,f=this.elementAttributes,g=this.elementStyle,h="",i;c=["<"+b],d&&c.push('id="'+this._escapeAttribute(d)+'"'),e&&c.push('class="'+this._escapeAttribute(e.toDOM())+'"');if(g){for(i in g)g.hasOwnProperty(i)&&(h+=i+":"+this._escapeAttribute(g[i])+";");c.push('style="'+h+'"')}if(f)for(i in f)f.hasOwnProperty(i)&&c.push(i+'="'+this._escapeAttribute(f[i])+'"');c=c.join(" ")+">"}var j=this.childBuffers;return Ember.ArrayPolyfills.forEach.call(j,function(b){var c=typeof b=="string";a+=c?b:b.string()}),b?c+a+"</"+b+">":a},_escapeAttribute:function(a){var b={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},c=/&(?!\w+;)|[<>"'`]/g,d=/[&<>"'`]/,e=function(a){return b[a]||"&amp;"},f=a.toString();return d.test(f)?f.replace(c,e):f}}}(),function(){var a=Ember.get,b=Ember.set,c=Ember.String.fmt;Ember.EventDispatcher=Ember.Object.extend({rootElement:"body",setup:function(b){var c,d={touchstart:"touchStart",touchmove:"touchMove",touchend:"touchEnd",touchcancel:"touchCancel",keydown:"keyDown",keyup:"keyUp",keypress:"keyPress",mousedown:"mouseDown",mouseup:"mouseUp",contextmenu:"contextMenu",click:"click",dblclick:"doubleClick",mousemove:"mouseMove",focusin:"focusIn",focusout:"focusOut",mouseenter:"mouseEnter",mouseleave:"mouseLeave",submit:"submit",input:"input",change:"change",dragstart:"dragStart",drag:"drag",dragenter:"dragEnter",dragleave:"dragLeave",dragover:"dragOver",drop:"drop",dragend:"dragEnd"};Ember.$.extend(d,b||{});var e=Ember.$(a(this,"rootElement"));e.addClass("ember-application");for(c in d)d.hasOwnProperty(c)&&this.setupHandler(e,c,d[c])},setupHandler:function(a,b,c){var d=this;a.delegate(".ember-view",b+".ember",function(a,b){var e=Ember.View.views[this.id],f=!0,g=null;return g=d._findNearestEventManager(e,c),g&&g!==b?f=d._dispatchEvent(g,a,c,e):e?f=d._bubbleEvent(e,a,c):a.stopPropagation(),f}),a.delegate("[data-ember-action]",b+".ember",function(a){var b=Ember.$(a.currentTarget).attr("data-ember-action"),d=Ember.Handlebars.ActionHelper.registeredActions[b],e=d.handler;if(d.eventName===c)return e(a)})},_findNearestEventManager:function(b,c){var d=null;while(b){d=a(b,"eventManager");if(d&&d[c])break;b=a(b,"parentView")}return d},_dispatchEvent:function(a,b,c,d){var e=!0,f=a[c];return Ember.typeOf(f)==="function"?(e=f.call(a,b,d),b.stopPropagation()):e=this._bubbleEvent(d,b,c),e},_bubbleEvent:function(a,b,c){return Ember.run(function(){return a.handleEvent(c,b)})},destroy:function(){var b=a(this,"rootElement");return Ember.$(b).undelegate(".ember").removeClass("ember-application"),this._super()}})}(),function(){var a=Ember.run.queues;a.splice(Ember.$.inArray("actions",a)+1,0,"render")}(),function(){var a=Ember.get,b=Ember.set;Ember.ControllerMixin.reopen({target:null,controllers:null,namespace:null,view:null,connectOutlet:function(c,d){var e,f,g,h,i;Ember.typeOf(d)==="string"&&(e=c,c=d,d=arguments[2]),arguments.length===1?Ember.typeOf(c)==="object"&&(i=c,e=i.outletName,c=i.name,f=i.viewClass,h=i.controller,d=i.context):i={},e=e||"view";if(c){var j=a(this,"namespace"),k=a(this,"controllers"),l=c.charAt(0).toUpperCase()+c.substr(1)+"View";f=a(j,l),h=a(k,c+"Controller")}return h&&d&&h.set("content",d),g=f.create(),h&&b(g,"controller",h),b(this,e,g),g},connectControllers:function(){var c=a(this,"controllers"),d=Array.prototype.slice.apply(arguments),e;for(var f=0,g=d.length;f<g;f++)e=d[f]+"Controller",b(this,e,a(c,e))}})}(),function(){}(),function(){var a=Ember.get,b=Ember.set,c=Ember.addObserver,d=Ember.meta,e=Ember.String.fmt,f=[].slice,g=Ember.EnumerableUtils.forEach,h=Ember.computed(function(){var b=this._childViews,c=Ember.A();return g(b,function(b){b.isVirtual?c.pushObjects(a(b,"childViews")):c.push(b)}),c}).property().cacheable(),i=Ember.VIEW_PRESERVES_CONTEXT;Ember.TEMPLATES={};var j={preRender:{},inBuffer:{},hasElement:{},inDOM:{},destroyed:{}};Ember.View=Ember.Object.extend(Ember.Evented,{concatenatedProperties:["classNames","classNameBindings","attributeBindings"],isView:!0,templateName:null,layoutName:null,templates:Ember.TEMPLATES,template:Ember.computed(function(b,c){if(c!==undefined)return c;var d=a(this,"templateName"),e=this.templateForName(d,"template");return e||a(this,"defaultTemplate")}).property("templateName").cacheable(),controller:Ember.computed(function(b,c){var d;return arguments.length===2?c:(d=a(this,"parentView"),d?a(d,"controller"):null)}).property().cacheable(),layout:Ember.computed(function(b,c){if(arguments.length===2)return c;var d=a(this,"layoutName"),e=this.templateForName(d,"layout");return e||a(this,"defaultLayout")}).property("layoutName").cacheable(),templateForName:function(b,c){if(!b)return;var d=a(this,"templates"),f=a(d,b);if(!f)throw new Ember.Error(e('%@ - Unable to find %@ "%@".',[this,c,b]));return f},context:Ember.computed(function(c,d){return arguments.length===2?(b(this,"_context",d),d):a(this,"_context")}).cacheable(),_context:Ember.computed(function(b,c){var d,e,f;if(arguments.length===2)return c;if(i){if(e=a(this,"controller"))return e;d=a(this,"_parentView");if(d)return a(d,"_context")}return this}).cacheable(),_displayPropertyDidChange:Ember.observer(function(){this.rerender()},"context","controller"),parentView:Ember.computed(function(){var b=a(this,"_parentView");return b&&b.isVirtual?a(b,"parentView"):b}).property("_parentView").volatile(),_parentView:null,concreteView:Ember.computed(function(){return this.isVirtual?a(this,"parentView"):this}).property("_parentView").volatile(),isVisible:!0,childViews:h,_childViews:[],_childViewsWillChange:Ember.beforeObserver(function(){if(this.isVirtual){var b=a(this,"parentView");b&&Ember.propertyWillChange(b,"childViews")}},"childViews"),_childViewsDidChange:Ember.observer(function(){if(this.isVirtual){var b=a(this,"parentView");b&&Ember.propertyDidChange(b,"childViews")}},"childViews"),nearestInstanceOf:function(b){var c=a(this,"parentView");while(c){if(c instanceof b)return c;c=a(c,"parentView")}},nearestWithProperty:function(b){var c=a(this,"parentView");while(c){if(b in c)return c;c=a(c,"parentView")}},nearestChildOf:function(b){var c=a(this,"parentView");while(c){if(a(c,"parentView")instanceof b)return c;c=a(c,"parentView")}},collectionView:Ember.computed(function(){return this.nearestInstanceOf(Ember.CollectionView)}).cacheable(),itemView:Ember.computed(function(){return this.nearestChildOf(Ember.CollectionView)}).cacheable(),contentView:Ember.computed(function(){return this.nearestWithProperty("content")}).cacheable(),_parentViewDidChange:Ember.observer(function(){if(this.isDestroying)return;this.invokeRecursively(function(a){a.propertyDidChange("collectionView"),a.propertyDidChange("itemView"),a.propertyDidChange("contentView")}),a(this,"parentView.controller")&&!a(this,"controller")&&this.notifyPropertyChange("controller")},"_parentView"),_controllerDidChange:Ember.observer(function(){if(this.isDestroying)return;this.forEachChildView(function(a){a.propertyDidChange("controller")})},"controller"),cloneKeywords:function(){var c=a(this,"templateData"),d=c?Ember.copy(c.keywords):{};return b(d,"view",a(this,"concreteView")),b(d,"controller",a(this,"controller")),d},render:function(b){var c=a(this,"layout")||a(this,"template");if(c){var d=a(this,"_context"),e=this.cloneKeywords(),f={view:this,buffer:b,isRenderData:!0,keywords:e},g=c(d,{data:f});g!==undefined&&b.push(g)}},invokeForState:function(a){var b=this.state,c,d;if(d=j[b][a])return c=f.call(arguments),c[0]=this,d.apply(this,c);var e=this,g=e.states,h;while(g){h=g[b];while(h){d=h[a];if(d)return j[b][a]=d,c=f.call(arguments,1),c.unshift(this),d.apply(this,c);h=h.parentState}g=g.parent}},rerender:function(){return this.invokeForState("rerender")},clearRenderedChildren:function(){var a=this.lengthBeforeRender,b=this.lengthAfterRender,c=this._childViews;for(var d=b-1;d>=a;d--)c[d]&&c[d].destroy()},_applyClassNameBindings:function(){var b=a(this,"classNameBindings"),d=a(this,"classNames"),e,f,h;if(!b)return;g(b,function(a){var b,g=function(){f=this._classStringForProperty(a),e=this.$(),b&&(e.removeClass(b),d.removeObject(b)),f?(e.addClass(f),b=f):b=null};h=this._classStringForProperty(a),h&&(d.push(h),b=h);var i=Ember.View._parsePropertyPath(a);c(this,i.path,g)},this)},_applyAttributeBindings:function(b){var d=a(this,"attributeBindings"),e,f,h;if(!d)return;g(d,function(d){var g=d.split(":"),h=g[0],i=g[1]||h,j=function(){f=this.$();if(!f)return;e=a(this,h),Ember.View.applyAttributeBindings(f,i,e)};c(this,h,j),e=a(this,h),Ember.View.applyAttributeBindings(b,i,e)},this)},_classStringForProperty:function(b){var c=Ember.View._parsePropertyPath(b),d=c.path,e=a(this,d);return e===undefined&&Ember.isGlobalPath(d)&&(e=a(window,d)),Ember.View._classStringForValue(d,e,c.className,c.falsyClassName)},element:Ember.computed(function(a,b){return b!==undefined?this.invokeForState("setElement",b):this.invokeForState("getElement")}).property("_parentView").cacheable(),$:function(a){return this.invokeForState("$",a)},mutateChildViews:function(a){var b=this._childViews,c=b.length,d;while(--c>=0)d=b[c],a.call(this,d,c);return this},forEachChildView:function(a){var b=this._childViews;if(!b)return this;var c=b.length,d,e;for(e=0;e<c;e++)d=b[e],a.call(this,d);return this},appendTo:function(a){return this._insertElementLater(function(){this.$().appendTo(a)}),this},replaceIn:function(a){return this._insertElementLater(function(){Ember.$(a).empty(),this.$().appendTo(a)}),this},_insertElementLater:function(a){this._lastInsert=Ember.guidFor(a),Ember.run.schedule("render",this,this.invokeForState,"insertElement",a)},append:function(){return this.appendTo(document.body)},remove:function(){this.destroyElement(),this.invokeRecursively(function(a){a.clearRenderedChildren()})},elementId:Ember.computed(function(a,b){return b!==undefined?b:Ember.guidFor(this)}).cacheable(),_elementIdDidChange:Ember.beforeObserver(function(){throw"Changing a view's elementId after creation is not allowed."},"elementId"),findElementInParentElement:function(b){var c="#"+a(this,"elementId");return Ember.$(c)[0]||Ember.$(c,b)[0]},renderBuffer:function(b){b=b||a(this,"tagName");if(b===null||b===undefined)b="div";return Ember.RenderBuffer(b)},createElement:function(){if(a(this,"element"))return this;var c=this.renderToBuffer();return b(this,"element",c.element()),this},willInsertElement:Ember.K,didInsertElement:Ember.K,willRerender:Ember.K,invokeRecursively:function(a){a.call(this,this),this.forEachChildView(function(b){b.invokeRecursively(a)})},invalidateRecursively:function(a){this.forEachChildView(function(b){b.propertyDidChange(a)})},_notifyWillInsertElement:function(){this.invokeRecursively(function(a){a.trigger("willInsertElement")})},_notifyDidInsertElement:function(){this.invokeRecursively(function(a){a.trigger("didInsertElement")})},_notifyWillRerender:function(){this.invokeRecursively(function(a){a.trigger("willRerender")})},destroyElement:function(){return this.invokeForState("destroyElement")},willDestroyElement:function(){},_notifyWillDestroyElement:function(){this.invokeRecursively(function(a){a.trigger("willDestroyElement")})},_elementWillChange:Ember.beforeObserver(function(){this.forEachChildView(function(a){Ember.propertyWillChange(a,"element")})},"element"),_elementDidChange:Ember.observer(function(){this.forEachChildView(function(a){Ember.propertyDidChange(a,"element")})},"element"),parentViewDidChange:Ember.K,renderToBuffer:function(b,c){var d;Ember.run.sync(),c=c||"begin";if(b){var e=a(this,"tagName");if(e===null||e===undefined)e="div";d=b[c](e)}else d=this.renderBuffer();return this.buffer=d,this.transitionTo("inBuffer",!1),this.lengthBeforeRender=this._childViews.length,this.beforeRender(d),this.render(d),this.afterRender(d),this.lengthAfterRender=this._childViews.length,d},beforeRender:function(a){this.applyAttributesToBuffer(a)},afterRender:Ember.K,applyAttributesToBuffer:function(b){this._applyClassNameBindings(),this._applyAttributeBindings(b),g(a(this,"classNames"),function(a){b.addClass(a)}),b.id(a(this,"elementId"));var c=a(this,"ariaRole");c&&b.attr("role",c),a(this,"isVisible")===!1&&b.style("display","none")},tagName:null,ariaRole:null,classNames:["ember-view"],classNameBindings:[],attributeBindings:[],state:"preRender",init:function(){this._super(),this.isVirtual||(Ember.View.views[a(this,"elementId")]=this),this._childViews=this._childViews.slice(),this.classNameBindings=Ember.A(this.classNameBindings.slice()),this.classNames=Ember.A(this.classNames.slice());var c=a(this,"viewController");c&&(c=a(c),c&&b(c,"view",this))},appendChild:function(a,b){return this.invokeForState("appendChild",a,b)},removeChild:function(a){if(this.isDestroying)return;b(a,"_parentView",null);var c=this._childViews;return Ember.EnumerableUtils.removeObject(c,a),this.propertyDidChange("childViews"),this},removeAllChildren:function(){return this.mutateChildViews(function(a){this.removeChild(a)})},destroyAllChildren:function(){return this.mutateChildViews(function(a){a.destroy()})},removeFromParent:function(){var b=a(this,"_parentView");return this.remove(),b&&b.removeChild(this),this},willDestroy:function(){var c=this._childViews,d=a(this,"_parentView"),e;this.removedFromDOM||this.destroyElement();if(this.viewName){var f=a(this,"parentView");f&&b(f,this.viewName,null)}d&&d.removeChild(this),this.state="destroyed",e=c.length;for(var g=e-1;g>=0;g--)c[g].removedFromDOM=!0,c[g].destroy();this.isVirtual||delete Ember.View.views[a(this,"elementId")]},createChildView:function(c,d){return Ember.View.detect(c)?(d=d||{},d._parentView=this,d.templateData=d.templateData||a(this,"templateData"),c=c.create(d),c.viewName&&b(a(this,"concreteView"),c.viewName,c)):(a(c,"templateData")||b(c,"templateData",a(this,"templateData")),b(c,"_parentView",this)),c},becameVisible:Ember.K,becameHidden:Ember.K,_isVisibleDidChange:Ember.observer(function(){var b=this.$();if(!b)return;var c=a(this,"isVisible");b.toggle(c);if(this._isAncestorHidden())return;c?this._notifyBecameVisible():this._notifyBecameHidden()},"isVisible"),_notifyBecameVisible:function(){this.trigger("becameVisible"),this.forEachChildView(function(b){var c=a(b,"isVisible");(c||c===null)&&b._notifyBecameVisible()})},_notifyBecameHidden:function(){this.trigger("becameHidden"),this.forEachChildView(function(b){var c=a(b,"isVisible");(c||c===null)&&b._notifyBecameHidden()})},_isAncestorHidden:function(){var b=a(this,"parentView");while(b){if(a(b,"isVisible")===!1)return!0;b=a(b,"parentView")}return!1},clearBuffer:function(){this.invokeRecursively(function(a){this.buffer=null})},transitionTo:function(a,b){this.state=a,b!==!1&&this.forEachChildView(function(b){b.transitionTo(a)})},trigger:function(a){this._super.apply(this,arguments);var b=this[a];if(b){var c=[],d,e;for(d=1,e=arguments.length;d<e;d++)c.push(arguments[d]);return b.apply(this,c)}},has:function(a){return Ember.typeOf(this[a])==="function"||this._super(a)},handleEvent:function(a,b){return this.invokeForState("handleEvent",a,b)}});var k={prepend:function(a,b){b._insertElementLater(function(){var c=a.$();c.prepend(b.$())})},after:function(a,b){b._insertElementLater(function(){var c=a.$();c.after(b.$())})},replace:function(c){var d=a(c,"element");b(c,"element",null),c._insertElementLater(function(){Ember.$(d).replaceWith(a(c,"element"))})},remove:function(c){var d=a(c,"element");b(c,"element",null),c._lastInsert=null,Ember.$(d).remove()},empty:function(a){a.$().empty()}};Ember.View.reopen({states:Ember.View.states,domManager:k}),Ember.View.reopenClass({_parsePropertyPath:function(a){var b=a.split(/:/),c=b[0],d="",e,f;return b.length>1&&(e=b[1],b.length===3&&(f=b[2]),d=":"+e,f&&(d+=":"+f)),{path:c,classNames:d,className:e===""?undefined:e,falsyClassName:f}},_classStringForValue:function(a,b,c,d){if(!!b&&c)return c;if(b===!0){if(b===!0&&!c&&d)return null;var e=a.split(".");return Ember.String.dasherize(e[e.length-1])}return b===!1&&d?d:b!==!1&&b!==undefined&&b!==null?b:null}}),Ember.View.views={},Ember.View.childViewsProperty=h,Ember.View.applyAttributeBindings=function(a,b,c){var d=Ember.typeOf(c),e=a.attr(b);(d==="string"||d==="number"&&!isNaN(c))&&c!==e?a.attr(b,c):c&&d==="boolean"?a.attr(b,b):c||a.removeAttr(b)}}(),function(){var a=Ember.get,b=Ember.set;Ember.View.states={_default:{appendChild:function(){throw"You can't use appendChild outside of the rendering process"},$:function(){return undefined},getElement:function(){return null},handleEvent:function(){return!0},destroyElement:function(a){return b(a,"element",null),a._lastInsert=null,a}}},Ember.View.reopen({states:Ember.View.states})}(),function(){Ember.View.states.preRender={parentState:Ember.View.states._default,insertElement:function(a,b){if(a._lastInsert!==Ember.guidFor(b))return;a.createElement(),a._notifyWillInsertElement(),b.call(a),a.transitionTo("inDOM"),a._notifyDidInsertElement()},empty:Ember.K,setElement:function(a,b){return b!==null&&a.transitionTo("hasElement"),b}}}(),function(){var a=Ember.get,b=Ember.set,c=Ember.meta;Ember.View.states.inBuffer={parentState:Ember.View.states._default,$:function(a,b){return a.rerender(),Ember.$()},rerender:function(a){a._notifyWillRerender(),a.clearRenderedChildren(),a.renderToBuffer(a.buffer,"replaceWith")},appendChild:function(a,b,c){var d=a.buffer;return b=this.createChildView(b,c),a._childViews.push(b),b.renderToBuffer(d),a.propertyDidChange("childViews"),b},destroyElement:function(a){return a.clearBuffer(),a._notifyWillDestroyElement(),a.transitionTo("preRender"),a},empty:function(){},insertElement:function(){throw"You can't insert an element that has already been rendered"},setElement:function(a,b){return b===null?a.transitionTo("preRender"):(a.clearBuffer(),a.transitionTo("hasElement")),b}}}(),function(){var a=Ember.get,b=Ember.set,c=Ember.meta;Ember.View.states.hasElement={parentState:Ember.View.states._default,$:function(b,c){var d=a(b,"element");return c?Ember.$(c,d):Ember.$(d)},getElement:function(b){var c=a(b,"parentView");return c&&(c=a(c,"element")),c?b.findElementInParentElement(c):Ember.$("#"+a(b,"elementId"))[0]},setElement:function(a,b){if(b!==null)throw"You cannot set an element to a non-null value when the element is already in the DOM.";return a.transitionTo("preRender"),b},rerender:function(a){return a._notifyWillRerender(),a.clearRenderedChildren(),a.domManager.replace(a),a},destroyElement:function(a){return a._notifyWillDestroyElement(),a.domManager.remove(a),a},empty:function(a){var b=a._childViews,c,d;if(b){c=b.length;for(d=0;d<c;d++)b[d]._notifyWillDestroyElement()}a.domManager.empty(a)},handleEvent:function(a,b,c){return a.has(b)?a.trigger(b,c):!0}},Ember.View.states.inDOM={parentState:Ember.View.states.hasElement,insertElement:function(a,b){if(a._lastInsert!==Ember.guidFor(b))return;throw"You can't insert an element into the DOM that has already been inserted"}}}(),function(){var a="You can't call %@ on a destroyed view",b=Ember.String.fmt;Ember.View.states.destroyed={parentState:Ember.View.states._default,appendChild:function(){throw b(a,["appendChild"])},rerender:function(){throw b(a,["rerender"])},destroyElement:function(){throw b(a,["destroyElement"])},empty:function(){throw b(a,["empty"])},setElement:function(){throw b(a,["set('element', ...)"])},insertElement:Ember.K}}(),function(){}(),function(){var a=Ember.get,b=Ember.set,c=Ember.meta,d=Ember.EnumerableUtils.forEach,e=Ember.computed(function(){return a(this,"_childViews")}).property("_childViews").cacheable();Ember.ContainerView=Ember.View.extend({init:function(){this._super();var c=a(this,"childViews");Ember.defineProperty(this,"childViews",e);var f=this._childViews;d(c,function(c,d){var e;"string"==typeof c?(e=a(this,c),e=this.createChildView(e),b(this,c,e)):e=this.createChildView(c),f[d]=e},this);var g=a(this,"currentView");g&&f.push(this.createChildView(g)),Ember.A(f),a(this,"childViews").addArrayObserver(this,{willChange:"childViewsWillChange",didChange:"childViewsDidChange"})},render:function(a){this.forEachChildView(function(b){b.renderToBuffer(a)})},willDestroy:function(){a(this,"childViews").removeArrayObserver(this,{willChange:"childViewsWillChange",didChange:"childViewsDidChange"}),this._super()},childViewsWillChange:function(a,b,c){if(c===0)return;var d=a.slice(b,b+c);this.initializeViews(d,null,null),this.invokeForState("childViewsWillChange",a,b,c)},childViewsDidChange:function(b,c,d,e){var f=a(b,"length");if(e===0)return;var g=b.slice(c,c+e);this.initializeViews(g,this,a(this,"templateData")),this.invokeForState("childViewsDidChange",b,c,e)},initializeViews:function(c,e,f){d(c,function(c){b(c,"_parentView",e),a(c,"templateData")||b(c,"templateData",f)})},_scheduleInsertion:function(a,b){b?b.domManager.after(b,a):this.domManager.prepend(this,a)},currentView:null,_currentViewWillChange:Ember.beforeObserver(function(){var b=a(this,"childViews"),c=a(this,"currentView");c&&(b.removeObject(c),c.destroy())},"currentView"),_currentViewDidChange:Ember.observer(function(){var b=a(this,"childViews"),c=a(this,"currentView");c&&b.pushObject(c)},"currentView")}),Ember.ContainerView.states={parent:Ember.View.states,inBuffer:{childViewsDidChange:function(a,b,c,d){var e=a.buffer,f,g,h,i;c===0?(i=b[c],f=c+1,i.renderToBuffer(e,"prepend")):(i=b[c-1],f=c);for(var j=f;j<c+d;j++)g=i,i=b[j],h=g.buffer,i.renderToBuffer(h,"insertAfter")}},hasElement:{childViewsWillChange:function(a,b,c,d){for(var e=c;e<c+d;e++)b[e].remove()},childViewsDidChange
+:function(a,b,c,d){var e=c===0?null:b[c-1];for(var f=c;f<c+d;f++)a=b[f],this._scheduleInsertion(a,e),e=a}}},Ember.ContainerView.states.inDOM={parentState:Ember.ContainerView.states.hasElement},Ember.ContainerView.reopen({states:Ember.ContainerView.states})}(),function(){var a=Ember.get,b=Ember.set,c=Ember.String.fmt;Ember.CollectionView=Ember.ContainerView.extend({content:null,emptyViewClass:Ember.View,emptyView:null,itemViewClass:Ember.View,init:function(){var a=this._super();return this._contentDidChange(),a},_contentWillChange:Ember.beforeObserver(function(){var b=this.get("content");b&&b.removeArrayObserver(this);var c=b?a(b,"length"):0;this.arrayWillChange(b,0,c)},"content"),_contentDidChange:Ember.observer(function(){var b=a(this,"content");b&&b.addArrayObserver(this);var c=b?a(b,"length"):0;this.arrayDidChange(b,0,null,c)},"content"),willDestroy:function(){var b=a(this,"content");b&&b.removeArrayObserver(this),this._super()},arrayWillChange:function(b,c,d){var e=a(this,"emptyView");e&&e instanceof Ember.View&&e.removeFromParent();var f=a(this,"childViews"),g,h,i;i=a(f,"length");var j=d===i;j&&this.invokeForState("empty");for(h=c+d-1;h>=c;h--)g=f[h],j&&(g.removedFromDOM=!0),g.destroy()},arrayDidChange:function(c,d,e,f){var g=a(this,"itemViewClass"),h=a(this,"childViews"),i=[],j,k,l,m,n;"string"==typeof g&&(g=a(g)),m=c?a(c,"length"):0;if(m)for(l=d;l<d+f;l++)k=c.objectAt(l),j=this.createChildView(g,{content:k,contentIndex:l}),i.push(j);else{var o=a(this,"emptyView");if(!o)return;o=this.createChildView(o),i.push(o),b(this,"emptyView",o)}h.replace(d,0,i)},createChildView:function(c,d){c=this._super(c,d);var e=a(c,"tagName"),f=e===null||e===undefined?Ember.CollectionView.CONTAINER_MAP[a(this,"tagName")]:e;return b(c,"tagName",f),c}}),Ember.CollectionView.CONTAINER_MAP={ul:"li",ol:"li",table:"tr",thead:"tr",tbody:"tr",tfoot:"tr",tr:"td",select:"option"}}(),function(){}(),function(){}(),function(){var a=Ember.get,b=Ember.set;Ember.State=Ember.Object.extend(Ember.Evented,{isState:!0,parentState:null,start:null,name:null,path:Ember.computed(function(){var b=a(this,"parentState.path"),c=a(this,"name");return b&&(c=b+"."+c),c}).property().cacheable(),trigger:function(a){this[a]&&this[a].apply(this,[].slice.call(arguments,1)),this._super.apply(this,arguments)},init:function(){var c=a(this,"states"),d;b(this,"childStates",Ember.A()),b(this,"eventTransitions",a(this,"eventTransitions")||{});var e,f,g;if(!c){c={};for(e in this){if(e==="constructor")continue;if(f=this[e]){if(g=f.transitionTarget)this.eventTransitions[e]=g;this.setupChild(c,e,f)}}b(this,"states",c)}else for(e in c)this.setupChild(c,e,c[e]);b(this,"pathsCache",{}),b(this,"pathsCacheNoContext",{})},setupChild:function(c,d,e){if(!e)return!1;e.isState?b(e,"name",d):Ember.State.detect(e)&&(e=e.create({name:d})),e.isState&&(b(e,"parentState",this),a(this,"childStates").pushObject(e),c[d]=e)},lookupEventTransition:function(a){var b,c=this;while(c&&!b)b=c.eventTransitions[a],c=c.get("parentState");return b},isLeaf:Ember.computed(function(){return!a(this,"childStates").length}).cacheable(),hasContext:!0,setup:Ember.K,enter:Ember.K,exit:Ember.K});var c=Ember.$&&Ember.$.Event;Ember.State.reopenClass({transitionTo:function(a){var b=function(b,d){if(c&&d instanceof c){if(!d.hasOwnProperty("context"))return b.transitionTo(a);d=d.context}b.transitionTo(a,d)};return b.transitionTarget=a,b}})}(),function(){var a=Ember.get,b=Ember.set,c=Ember.String.fmt,d=Ember.ArrayPolyfills.forEach,e=function(a){this.enterStates=a.enterStates.slice(),this.exitStates=a.exitStates.slice(),this.resolveState=a.resolveState,this.finalState=a.enterStates[a.enterStates.length-1]||a.resolveState};e.prototype={normalize:function(a,b){return this.matchContextsToStates(b),this.addInitialStates(),this.removeUnchangedContexts(a),this},matchContextsToStates:function(b){var c=this.enterStates.length-1,d=[],e,f;while(b.length>0){if(c>=0)e=this.enterStates[c--];else{if(this.enterStates.length){e=a(this.enterStates[0],"parentState");if(!e)throw"Cannot match all contexts to states"}else e=this.resolveState;this.enterStates.unshift(e),this.exitStates.unshift(e)}a(e,"hasContext")?f=b.pop():f=null,d.unshift(f)}this.contexts=d},addInitialStates:function(){var b=this.finalState,c;for(;;){c=a(b,"initialState")||"start",b=a(b,"states."+c);if(!b)break;this.finalState=b,this.enterStates.push(b),this.contexts.push(undefined)}},removeUnchangedContexts:function(a){while(this.enterStates.length>0){if(this.enterStates[0]!==this.exitStates[0])break;if(this.enterStates.length===this.contexts.length){if(a.getStateMeta(this.enterStates[0],"context")!==this.contexts[0])break;this.contexts.shift()}this.resolveState=this.enterStates.shift(),this.exitStates.shift()}}},Ember.StateManager=Ember.State.extend({init:function(){this._super(),b(this,"stateMeta",Ember.Map.create());var c=a(this,"initialState");!c&&a(this,"states.start")&&(c="start"),c&&this.transitionTo(c)},stateMetaFor:function(b){var c=a(this,"stateMeta"),d=c.get(b);return d||(d={},c.set(b,d)),d},setStateMeta:function(a,c,d){return b(this.stateMetaFor(a),c,d)},getStateMeta:function(b,c){return a(this.stateMetaFor(b),c)},currentState:null,transitionEvent:"setup",errorOnUnhandledEvent:!0,send:function(b,c){return this.sendRecursively(b,a(this,"currentState"),c)},sendRecursively:function(b,d,e){var f=this.enableLogging,g=d[b];if(typeof g=="function")return f&&Ember.Logger.log(c("STATEMANAGER: Sending event '%@' to state %@.",[b,a(d,"path")])),g.call(d,this,e);var h=a(d,"parentState");if(h)return this.sendRecursively(b,h,e);if(a(this,"errorOnUnhandledEvent"))throw new Ember.Error(this.toString()+" could not respond to event "+b+" in state "+a(this,"currentState.path")+".")},getStateByPath:function(b,c){var d=c.split("."),e=b;for(var f=0,g=d.length;f<g;f++){e=a(a(e,"states"),d[f]);if(!e)break}return e},findStateByPath:function(b,c){var d;while(!d&&b)d=this.getStateByPath(b,c),b=a(b,"parentState");return d},findStatesByPath:function(b,c){if(!c||c==="")return undefined;var d=c.split("."),e=[];for(var f=0,g=d.length;f<g;f++){var h=a(b,"states");if(!h)return undefined;var i=a(h,d[f]);if(!i)return undefined;b=i,e.push(i)}return e},goToState:function(){return this.transitionTo.apply(this,arguments)},transitionTo:function(b,c){if(Ember.empty(b))return;var d=c?Array.prototype.slice.call(arguments,1):[],f=a(this,"currentState")||this,g=this.contextFreeTransition(f,b),h=(new e(g)).normalize(this,d);this.enterState(h),this.triggerSetupContext(h)},contextFreeTransition:function(b,c){var d=b.pathsCache[c];if(d)return d;var e=this.findStatesByPath(b,c),f=[],g=b;while(g&&!e){f.unshift(g),g=a(g,"parentState");if(!g){e=this.findStatesByPath(this,c);if(!e)return}e=this.findStatesByPath(g,c)}while(e.length>0&&e[0]===f[0])g=e.shift(),f.shift();var h=b.pathsCache[c]={exitStates:f,enterStates:e,resolveState:g};return h},triggerSetupContext:function(b){var c=b.contexts,e=b.enterStates.length-c.length,f=b.enterStates,g=a(this,"transitionEvent");d.call(f,function(a,b){a.trigger(g,this,c[b-e])},this)},getState:function(b){var c=a(this,b),d=a(this,"parentState");if(c)return c;if(d)return d.getState(b)},enterState:function(c){var e=this.enableLogging,f=c.exitStates.slice(0).reverse();d.call(f,function(a){a.trigger("exit",this)},this),d.call(c.enterStates,function(b){e&&Ember.Logger.log("STATEMANAGER: Entering "+a(b,"path")),b.trigger("enter",this)},this),b(this,"currentState",c.finalState)}})}(),function(){}(),function(){var a=Ember.get;Ember._ResolvedState=Ember.Object.extend({manager:null,state:null,match:null,object:Ember.computed(function(b,c){if(arguments.length===2)return this._object=c,c;if(this._object)return this._object;var d=a(this,"state"),e=a(this,"match"),f=a(this,"manager");return d.deserialize(f,e.hash)}).property(),hasPromise:Ember.computed(function(){return Ember.canInvoke(a(this,"object"),"then")}).property("object"),promise:Ember.computed(function(){var b=a(this,"object");return Ember.canInvoke(b,"then")?b:{then:function(a){a(b)}}}).property("object"),transition:function(){var b=a(this,"manager"),c=a(this,"state.path"),d=a(this,"object");b.transitionTo(c,d)}})}(),function(){var a=Ember.get,b=function(a){var b=a.toString(),c=b.split("."),d=c[c.length-1];return Ember.String.underscore(d)+"_id"},c=function(a,b){for(var c in b){if(!b.hasOwnProperty(c))continue;if(a.hasOwnProperty(c))continue;a[c]=b[c]}};Ember.Routable=Ember.Mixin.create({init:function(){var b;this.on("connectOutlets",this,this.stashContext);if(b=a(this,"redirectsTo"))this.connectOutlets=function(a){a.transitionTo(b)};var c=a(this,"route");c===""&&(c="/"),this._super()},stashContext:function(b,c){var d=this.serialize(b,c);b.setStateMeta(this,"context",c),b.setStateMeta(this,"serialized",d),a(this,"isRoutable")&&!a(b,"isRouting")&&this.updateRoute(b,a(b,"location"))},updateRoute:function(b,c){if(a(this,"isLeafRoute")){var d=this.absoluteRoute(b);c.setURL(d)}},absoluteRoute:function(b,d){var e=a(this,"parentState"),f="",g;a(e,"isRoutable")&&(f=e.absoluteRoute(b,d));var h=a(this,"routeMatcher"),i=b.getStateMeta(this,"serialized");return d=d||{},c(d,i),g=h&&h.generate(d),g&&(f=f+"/"+g),f},isRoutable:Ember.computed(function(){return typeof a(this,"route")=="string"}).cacheable(),isLeafRoute:Ember.computed(function(){return a(this,"isLeaf")?!0:!a(this,"childStates").findProperty("isRoutable")}).cacheable(),routeMatcher:Ember.computed(function(){var b=a(this,"route");if(b)return Ember._RouteMatcher.create({route:b})}).cacheable(),hasContext:Ember.computed(function(){var b=a(this,"routeMatcher");if(b)return b.identifiers.length>0}).cacheable(),modelClass:Ember.computed(function(){var b=a(this,"modelType");return typeof b=="string"?Ember.get(window,b):b}).cacheable(),modelClassFor:function(b){var c,d,e,f,g;if(c=a(this,"modelClass"))return c;if(!b)return;d=a(this,"routeMatcher");if(!d)return;e=d.identifiers;if(e.length!==2)return;f=e[1].match(/^(.*)_id$/);if(!f)return;return g=Ember.String.classify(f[1]),a(b,g)},deserialize:function(c,d){var e,f,g;return(e=this.modelClassFor(a(c,"namespace")))?e.find(d[b(e)]):d},serialize:function(c,d){var e,f,g,h,i;if(Ember.empty(d))return"";if(e=this.modelClassFor(a(c,"namespace")))h=b(e),i=a(d,"id"),d={},d[h]=i;return d},resolvePath:function(b,c){if(a(this,"isLeafRoute"))return Ember.A();var d=a(this,"childStates"),e;d=Ember.A(d.filterProperty("isRoutable")),d=d.sort(function(b,c){var d=a(b,"routeMatcher.identifiers.length"),e=a(c,"routeMatcher.identifiers.length"),f=a(b,"route"),g=a(c,"route");return f.indexOf(g)===0?-1:g.indexOf(f)===0?1:d!==e?d-e:a(c,"route.length")-a(b,"route.length")});var f=d.find(function(b){var d=a(b,"routeMatcher");if(e=d.match(c))return!0}),g=Ember._ResolvedState.create({manager:b,state:f,match:e}),h=f.resolvePath(b,e.remaining);return Ember.A([g]).pushObjects(h)},routePath:function(b,c){function f(){d.forEach(function(a){a.transition()})}if(a(this,"isLeafRoute"))return;var d=this.resolvePath(b,c),e=d.some(function(b){return a(b,"hasPromise")});e?(b.transitionTo("loading"),b.handleStatePromises(d,f)):f()},unroutePath:function(b,c){var d=a(this,"parentState");if(d===b)return;c=c.replace(/^(?=[^\/])/,"/");var e=this.absoluteRoute(b),f=a(this,"route");if(f!=="/"){var g=c.indexOf(e),h=c.charAt(e.length);if(g===0&&(h==="/"||h===""))return}b.enterState({exitStates:[this],enterStates:[],finalState:d}),b.send("unroutePath",c)},connectOutlets:Ember.K,navigateAway:Ember.K})}(),function(){Ember.Route=Ember.State.extend(Ember.Routable)}(),function(){var a=function(a){return a.replace(/[\-\[\]{}()*+?.,\\\^\$|#\s]/g,"\\$&")};Ember._RouteMatcher=Ember.Object.extend({state:null,init:function(){var b=this.route,c=[],d=1,e;b.charAt(0)==="/"&&(b=this.route=b.substr(1)),e=a(b);var f=e.replace(/:([a-z_]+)(?=$|\/)/gi,function(a,b){return c[d++]=b,"([^/]+)"});this.identifiers=c,this.regex=new RegExp("^/?"+f)},match:function(a){var b=a.match(this.regex);if(b){var c=this.identifiers,d={};for(var e=1,f=c.length;e<f;e++)d[c[e]]=b[e];return{remaining:a.substr(b[0].length),hash:c.length>0?d:null}}},generate:function(a){var b=this.identifiers,c=this.route,d;for(var e=1,f=b.length;e<f;e++)d=b[e],c=c.replace(new RegExp(":"+d),a[d]);return c}})}(),function(){var a=Ember.get,b=Ember.set,c=function(a,b){for(var c in b){if(!b.hasOwnProperty(c))continue;if(a.hasOwnProperty(c))continue;a[c]=b[c]}};Ember.Router=Ember.StateManager.extend({initialState:"root",location:"hash",rootURL:"/",transitionEvent:"connectOutlets",transitionTo:function(){this.abortRoutingPromises(),this._super.apply(this,arguments)},route:function(c){this.abortRoutingPromises(),b(this,"isRouting",!0);var d;try{c=c.replace(/^(?=[^\/])/,"/"),this.send("navigateAway"),this.send("unroutePath",c),d=a(this,"currentState");while(d&&!d.get("isRoutable"))d=a(d,"parentState");var e=d?d.absoluteRoute(this):"",f=c.substr(e.length);this.send("routePath",f)}finally{b(this,"isRouting",!1)}d=a(this,"currentState");while(d&&!d.get("isRoutable"))d=a(d,"parentState");d&&d.updateRoute(this,a(this,"location"))},urlFor:function(b,c){var d=a(this,"currentState")||this,e=this.findStateByPath(d,b),f=a(this,"location"),g=e.absoluteRoute(this,c);return f.formatURL(g)},urlForEvent:function(b){var c=Array.prototype.slice.call(arguments,1),d=a(this,"currentState"),e=d.lookupEventTransition(b),f=this.findStateByPath(d,e),g=this.serializeRecursively(f,c,{});return this.urlFor(e,g)},serializeRecursively:function(b,d,e){var f,g=a(b,"hasContext")?d.pop():null;return c(e,b.serialize(this,g)),f=b.get("parentState"),f&&f instanceof Ember.Route?this.serializeRecursively(f,d,e):e},abortRoutingPromises:function(){this._routingPromises&&(this._routingPromises.abort(),this._routingPromises=null)},handleStatePromises:function(a,c){this.abortRoutingPromises(),this.set("isLocked",!0);var d=this;this._routingPromises=Ember._PromiseChain.create({promises:a.slice(),successCallback:function(){d.set("isLocked",!1),c()},failureCallback:function(){throw"Unable to load object"},promiseSuccessCallback:function(a,c){b(a,"object",c[0])},abortCallback:function(){d.set("isLocked",!1)}}).start()},init:function(){this._super();var c=a(this,"location"),d=a(this,"rootURL");"string"==typeof c&&b(this,"location",Ember.Location.create({implementation:c,rootURL:d}))},willDestroy:function(){a(this,"location").destroy()}})}(),function(){}(),function(){var a=Ember.get;Ember.StateManager.reopen({currentView:Ember.computed(function(){var b=a(this,"currentState"),c;while(b){if(a(b,"isViewState")){c=a(b,"view");if(c)return c}b=a(b,"parentState")}return null}).property("currentState").cacheable()})}(),function(){var a=Ember.get,b=Ember.set;Ember.ViewState=Ember.State.extend({isViewState:!0,init:function(){return this._super()},enter:function(c){var d=a(this,"view"),e,f;d&&(Ember.View.detect(d)&&(d=d.create(),b(this,"view",d)),e=c.get("rootView"),e?(f=a(e,"childViews"),f.pushObject(d)):(e=c.get("rootElement")||"body",d.appendTo(e)))},exit:function(b){var c=a(this,"view");c&&(a(c,"parentView")?c.removeFromParent():c.remove())}})}(),function(){}(),function(){(function(a){var b=function(){},c=0,d=a.document,e="createRange"in d&&typeof Range!="undefined"&&Range.prototype.createContextualFragment,f=function(){var a=d.createElement("div");return a.innerHTML="<div></div>",a.firstChild.innerHTML="<script></script>",a.firstChild.innerHTML===""}(),g=function(a){var d;this instanceof g?d=this:d=new b,d.innerHTML=a;var e="metamorph-"+c++;return d.start=e+"-start",d.end=e+"-end",d};b.prototype=g.prototype;var h,i,j,k,l,m,n,o,p;k=function(){return this.startTag()+this.innerHTML+this.endTag()},o=function(){return"<script id='"+this.start+"' type='text/x-placeholder'></script>"},p=function(){return"<script id='"+this.end+"' type='text/x-placeholder'></script>"};if(e)h=function(a,b){var c=d.createRange(),e=d.getElementById(a.start),f=d.getElementById(a.end);return b?(c.setStartBefore(e),c.setEndAfter(f)):(c.setStartAfter(e),c.setEndBefore(f)),c},i=function(a,b){var c=h(this,b);c.deleteContents();var d=c.createContextualFragment(a);c.insertNode(d)},j=function(){var a=h(this,!0);a.deleteContents()},l=function(a){var b=d.createRange();b.setStart(a),b.collapse(!1);var c=b.createContextualFragment(this.outerHTML());a.appendChild(c)},m=function(a){var b=d.createRange(),c=d.getElementById(this.end);b.setStartAfter(c),b.setEndAfter(c);var e=b.createContextualFragment(a);b.insertNode(e)},n=function(a){var b=d.createRange(),c=d.getElementById(this.start);b.setStartAfter(c),b.setEndAfter(c);var e=b.createContextualFragment(a);b.insertNode(e)};else{var q={select:[1,"<select multiple='multiple'>","</select>"],fieldset:[1,"<fieldset>","</fieldset>"],table:[1,"<table>","</table>"],tbody:[2,"<table><tbody>","</tbody></table>"],tr:[3,"<table><tbody><tr>","</tr></tbody></table>"],colgroup:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],map:[1,"<map>","</map>"],_default:[0,"",""]},r=function(a,b){var c=q[a.tagName.toLowerCase()]||q._default,e=c[0],g=c[1],h=c[2];f&&(b="&shy;"+b);var i=d.createElement("div");i.innerHTML=g+b+h;for(var j=0;j<=e;j++)i=i.firstChild;if(f){var k=i;while(k.nodeType===1&&!k.nodeName)k=k.firstChild;k.nodeType===3&&k.nodeValue.charAt(0)==="­"&&(k.nodeValue=k.nodeValue.slice(1))}return i},s=function(a){while(a.parentNode.tagName==="")a=a.parentNode;return a},t=function(a,b){a.parentNode!==b.parentNode&&b.parentNode.insertBefore(a,b.parentNode.firstChild)};i=function(a,b){var c=s(d.getElementById(this.start)),e=d.getElementById(this.end),f=e.parentNode,g,h,i;t(c,e),g=c.nextSibling;while(g){h=g.nextSibling,i=g===e;if(i){if(!b)break;e=g.nextSibling}g.parentNode.removeChild(g);if(i)break;g=h}g=r(c.parentNode,a);while(g)h=g.nextSibling,f.insertBefore(g,e),g=h},j=function(){var a=s(d.getElementById(this.start)),b=d.getElementById(this.end);this.html(""),a.parentNode.removeChild(a),b.parentNode.removeChild(b)},l=function(a){var b=r(a,this.outerHTML());while(b)nextSibling=b.nextSibling,a.appendChild(b),b=nextSibling},m=function(a){var b=d.getElementById(this.end),c=b.nextSibling,e=b.parentNode,f,g;g=r(e,a);while(g)f=g.nextSibling,e.insertBefore(g,c),g=f},n=function(a){var b=d.getElementById(this.start),c=b.parentNode,e,f;f=r(c,a);var g=b.nextSibling;while(f)e=f.nextSibling,c.insertBefore(f,g),f=e}}g.prototype.html=function(a){this.checkRemoved();if(a===undefined)return this.innerHTML;i.call(this,a),this.innerHTML=a},g.prototype.replaceWith=function(a){this.checkRemoved(),i.call(this,a,!0)},g.prototype.remove=j,g.prototype.outerHTML=k,g.prototype.appendTo=l,g.prototype.after=m,g.prototype.prepend=n,g.prototype.startTag=o,g.prototype.endTag=p,g.prototype.isRemoved=function(){var a=d.getElementById(this.start),b=d.getElementById(this.end);return!a||!b},g.prototype.checkRemoved=function(){if(this.isRemoved())throw new Error("Cannot perform operations on a Metamorph that is not in the DOM.")},a.Metamorph=g})(this)}(),function(){var a=Ember.create;Ember.Handlebars=a(Handlebars),Ember.Handlebars.helpers=a(Handlebars.helpers),Ember.Handlebars.Compiler=function(){},Ember.Handlebars.Compiler.prototype=a(Handlebars.Compiler.prototype),Ember.Handlebars.Compiler.prototype.compiler=Ember.Handlebars.Compiler,Ember.Handlebars.JavaScriptCompiler=function(){},Ember.Handlebars.JavaScriptCompiler.prototype=a(Handlebars.JavaScriptCompiler.prototype),Ember.Handlebars.JavaScriptCompiler.prototype.compiler=Ember.Handlebars.JavaScriptCompiler,Ember.Handlebars.JavaScriptCompiler.prototype.namespace="Ember.Handlebars",Ember.Handlebars.JavaScriptCompiler.prototype.initializeBuffer=function(){return"''"},Ember.Handlebars.JavaScriptCompiler.prototype.appendToBuffer=function(a){return"data.buffer.push("+a+");"},Ember.Handlebars.Compiler.prototype.mustache=function(a){if(a.params.length||a.hash)return Handlebars.Compiler.prototype.mustache.call(this,a);var b=new Handlebars.AST.IdNode(["_triageMustache"]);return a.escaped||(a.hash=a.hash||new Handlebars.AST.HashNode([]),a.hash.pairs.push(["unescaped",new Handlebars.AST.StringNode("true")])),a=new Handlebars.AST.MustacheNode([b].concat([a.id]),a.hash,!a.escaped),Handlebars.Compiler.prototype.mustache.call(this,a)},Ember.Handlebars.precompile=function(a){var b=Handlebars.parse(a),c={knownHelpers:{action:!0,unbound:!0,bindAttr:!0,template:!0,view:!0,_triageMustache:!0},data:!0,stringParams:!0},d=(new Ember.Handlebars.Compiler).compile(b,c);return(new Ember.Handlebars.JavaScriptCompiler).compile(d,c,undefined,!0)},Ember.Handlebars.compile=function(a){var b=Handlebars.parse(a),c={data:!0,stringParams:!0},d=(new Ember.Handlebars.Compiler).compile(b,c),e=(new Ember.Handlebars.JavaScriptCompiler).compile(d,c,undefined,!0);return Handlebars.template(e)};var b=Ember.Handlebars.normalizePath=function(a,b,c){var d=c&&c.keywords||{},e,f;return e=b.split(".",1)[0],d.hasOwnProperty(e)&&(a=d[e],f=!0,b===e?b="":b=b.substr(e.length+1)),{root:a,path:b,isKeyword:f}};Ember.Handlebars.getPath=function(a,c,d){var e=d&&d.data,f=b(a,c,e),g;return a=f.root,c=f.path,g=Ember.get(a,c),g===undefined&&a!==window&&Ember.isGlobalPath(c)&&(g=Ember.get(window,c)),g},Ember.Handlebars.registerHelper("helperMissing",function(a,b){var c,d="";throw c="%@ Handlebars error: Could not find property '%@' on object %@.",b.data&&(d=b.data.view),new Ember.Error(Ember.String.fmt(c,[d,a,this]))})}(),function(){Ember.String.htmlSafe=function(a){return new Handlebars.SafeString(a)};var a=Ember.String.htmlSafe;Ember.EXTEND_PROTOTYPES&&(String.prototype.htmlSafe=function(){return a(this)})}(),function(){var a=Ember.set,b=Ember.get,c={remove:function(b){var c=b.morph;if(c.isRemoved())return;a(b,"element",null),b._lastInsert=null,c.remove()},prepend:function(a,b){b._insertElementLater(function(){var c=a.morph;c.prepend(b.outerHTML),b.outerHTML=null})},after:function(a,b){b._insertElementLater(function(){var c=a.morph;c.after(b.outerHTML),b.outerHTML=null})},replace:function(a){var c=a.morph;a.transitionTo("preRender"),a.clearRenderedChildren();var d=a.renderToBuffer();Ember.run.schedule("render",this,function(){if(b(a,"isDestroyed"))return;a.invalidateRecursively("element"),a._notifyWillInsertElement(),c.replaceWith(d.string()),a.transitionTo("inDOM"),a._notifyDidInsertElement()})},empty:function(a){a.morph.html("")}};Ember._Metamorph=Ember.Mixin.create({isVirtual:!0,tagName:"",init:function(){this._super(),this.morph=Metamorph()},beforeRender:function(a){a.push(this.morph.startTag())},afterRender:function(a){a.push(this.morph.endTag())},createElement:function(){var a=this.renderToBuffer();this.outerHTML=a.string(),this.clearBuffer()},domManager:c}),Ember._MetamorphView=Ember.View.extend(Ember._Metamorph)}(),function(){var a=Ember.get,b=Ember.set,c=Ember.Handlebars.getPath;Ember._HandlebarsBoundView=Ember._MetamorphView.extend({shouldDisplayFunc:null,preserveContext:!1,previousContext:null,displayTemplate:null,inverseTemplate:null,path:null,pathRoot:null,normalizedValue:Ember.computed(function(){var b=a(this,"path"),d=a(this,"pathRoot"),e=a(this,"valueNormalizerFunc"),f,g;return b===""?f=d:(g=a(this,"templateData"),f=c(d,b,{data:g})),e?e(f):f}).property("path","pathRoot","valueNormalizerFunc").volatile(),rerenderIfNeeded:function(){!a(this,"isDestroyed")&&a(this,"normalizedValue")!==this._lastNormalizedValue&&this.rerender()},render:function(c){var d=a(this,"isEscaped"),e=a(this,"shouldDisplayFunc"),f=a(this,"preserveContext"),g=a(this,"previousContext"),h=a(this,"inverseTemplate"),i=a(this,"displayTemplate"),j=a(this,"normalizedValue");this._lastNormalizedValue=j;if(e(j)){b(this,"template",i);if(f)b(this,"_context",g);else{if(!i){j===null||j===undefined?j="":j instanceof Handlebars.SafeString||(j=String(j)),d&&(j=Handlebars.Utils.escapeExpression(j)),c.push(j);return}b(this,"_context",j)}}else h?(b(this,"template",h),f?b(this,"_context",g):b(this,"_context",j)):b(this,"template",function(){return""});return this._super(c)}})}(),function(){function i(a,b,c,f,g){var h=b.data,i=b.fn,j=b.inverse,k=h.view,l=this,m,n,o;o=e(l,a,h),m=o.root,n=o.path;if("object"==typeof this){var p=k.createChildView(Ember._HandlebarsBoundView,{preserveContext:c,shouldDisplayFunc:f,valueNormalizerFunc:g,displayTemplate:i,inverseTemplate:j,path:n,pathRoot:m,previousContext:l,isEscaped:!b.hash.unescaped,templateData:b.data});k.appendChild(p);var q=function(){Ember.run.once(p,"rerenderIfNeeded")};n!==""&&Ember.addObserver(m,n,q)}else h.buffer.push(d(m,n,b))}var a=Ember.get,b=Ember.set,c=Ember.String.fmt,d=Ember.Handlebars.getPath,e=Ember.Handlebars.normalizePath,f=Ember.ArrayPolyfills.forEach,g=Ember.Handlebars,h=g.helpers;g.registerHelper("_triageMustache",function(a,b){return h[a]?h[a].call(this,b):h.bind.apply(this,arguments)}),g.registerHelper("bind",function(a,b){var c=b.contexts&&b.contexts[0]||this;return i.call(c,a,b,!1,function(a){return!Ember.none(a)})}),g.registerHelper("boundIf",function(b,c){var d=c.contexts&&c.contexts[0]||this,e=function(b){return Ember.typeOf(b)==="array"?a(b,"length")!==0:!!b};return i.call(d,b,c,!0,e,e)}),g.registerHelper("with",function(a,b){if(arguments.length===4){var c,d,f,g;b=arguments[3],c=arguments[2],d=arguments[0];if(Ember.isGlobalPath(d))Ember.bind(b.data.keywords,c,d);else{g=e(this,d,b.data),d=g.path,f=g.root;var j=Ember.$.expando+Ember.guidFor(f);b.data.keywords[j]=f;var k=d?j+"."+d:j;Ember.bind(b.data.keywords,c,k)}return i.call(this,d,b.fn,!0,function(a){return!Ember.none(a)})}return h.bind.call(b.contexts[0],a,b)}),g.registerHelper("if",function(a,b){return h.boundIf.call(b.contexts[0],a,b)}),g.registerHelper("unless",function(a,b){var c=b.fn,d=b.inverse;return b.fn=d,b.inverse=c,h.boundIf.call(b.contexts[0],a,b)}),g.registerHelper("bindAttr",function(a){var b=a.hash,c=a.data.view,h=[],i=this,j=++Ember.$.uuid,k=b["class"];if(k!==null&&k!==undefined){var l=g.bindClasses(this,k,c,j,a);h.push('class="'+Handlebars.Utils.escapeExpression(l.join(" "))+'"'),delete b["class"]}var m=Ember.keys(b);return f.call(m,function(f){var g=b[f],k,l;l=e(i,g,a.data),k=l.root,g=l.path;var m=g==="this"?k:d(k,g,a),n=Ember.typeOf(m),o,p;o=function(){var e=d(k,g,a),h=c.$("[data-bindattr-"+j+"='"+j+"']");if(h.length===0){Ember.removeObserver(k,g,p);return}Ember.View.applyAttributeBindings(h,f,e)},p=function(){Ember.run.once(o)},g!=="this"&&Ember.addObserver(k,g,p),n==="string"||n==="number"&&!isNaN(m)?h.push(f+'="'+Handlebars.Utils.escapeExpression(m)+'"'):m&&n==="boolean"&&h.push(f+'="'+f+'"')},this),h.push("data-bindattr-"+j+'="'+j+'"'),new g.SafeString(h.join(" "))}),g.bindClasses=function(a,b,c,g,h){var i=[],j,k,l,m=function(a,b,c){var e,f=b.path;return f==="this"?e=a:f===""?e=!0:e=d(a,f,c),Ember.View._classStringForValue(f,e,b.className,b.falsyClassName)};return f.call(b.split(" "),function(b){var d,f,n,o=Ember.View._parsePropertyPath(b),p=o.path,q=a,r;p!==""&&p!=="this"&&(r=e(a,p,h.data),q=r.root,p=r.path),f=function(){j=m(q,o,h),l=g?c.$("[data-bindattr-"+g+"='"+g+"']"):c.$(),l.length===0?Ember.removeObserver(q,p,n):(d&&l.removeClass(d),j?(l.addClass(j),d=j):d=null)},n=function(){Ember.run.once(f)},p!==""&&p!=="this"&&Ember.addObserver(q,p,n),k=m(q,o,h),k&&(i.push(k),d=k)}),i}}(),function(){var a=Ember.get,b=Ember.set,c=/^parentView\./,d=Ember.Handlebars,e=Ember.VIEW_PRESERVES_CONTEXT;d.ViewHelper=Ember.Object.create({propertiesFromHTMLOptions:function(a,b){var c=a.hash,d=a.data,e={},f=c["class"],g=!1;c.id&&(e.elementId=c.id,g=!0),f&&(f=f.split(" "),e.classNames=f,g=!0),c.classBinding&&(e.classNameBindings=c.classBinding.split(" "),g=!0),c.classNameBindings&&(e.classNameBindings===undefined&&(e.classNameBindings=[]),e.classNameBindings=e.classNameBindings.concat(c.classNameBindings.split(" ")),g=!0),c.attributeBindings&&(e.attributeBindings=null,g=!0),g&&(c=Ember.$.extend({},c),delete c.id,delete c["class"],delete c.classBinding);var h;for(var i in c){if(!c.hasOwnProperty(i))continue;Ember.IS_BINDING.test(i)&&typeof c[i]=="string"&&(h=this.contextualizeBindingPath(c[i],d),h&&(c[i]=h))}if(e.classNameBindings)for(var j in e.classNameBindings){var k=e.classNameBindings[j];if(typeof k=="string"){var l=Ember.View._parsePropertyPath(k);h=this.contextualizeBindingPath(l.path,d),h&&(e.classNameBindings[j]=h+l.classNames)}}return e.bindingContext=b,Ember.$.extend(c,e)},contextualizeBindingPath:function(a,b){var c=Ember.Handlebars.normalizePath(null,a,b);return c.isKeyword?"templateData.keywords."+a:Ember.isGlobalPath(a)?null:a==="this"?"bindingContext":"bindingContext."+a},helper:function(a,b,c){var f=c.inverse,g=c.data,h=g.view,i=c.fn,j=c.hash,k;"string"==typeof b?k=d.getPath(a,b,c):k=b;var l=this.propertiesFromHTMLOptions(c,a),m=g.view;l.templateData=c.data,i&&(l.template=i),e&&!k.proto().controller&&!k.proto().controllerBinding&&!l.controller&&!l.controllerBinding&&(l._context=a),m.appendChild(k,l)}}),d.registerHelper("view",function(a,b){return a&&a.data&&a.data.isRenderData&&(b=a,a="Ember.View"),d.ViewHelper.helper(this,a,b)})}(),function(){var a=Ember.get,b=Ember.Handlebars.getPath,c=Ember.String.fmt;Ember.Handlebars.registerHelper("collection",function(c,d){c&&c.data&&c.data.isRenderData&&(d=c,c=undefined);var e=d.fn,f=d.data,g=d.inverse,h;h=c?b(this,c,d):Ember.CollectionView;var i=d.hash,j={},k,l,m=i.itemViewClass,n=h.proto();delete i.itemViewClass,l=m?b(n,m,d):n.itemViewClass;for(var o in i)i.hasOwnProperty(o)&&(k=o.match(/^item(.)(.*)$/),k&&(j[k[1].toLowerCase()+k[2]]=i[o],delete i[o]));var p=i.tagName||n.tagName;e&&(j.template=e,delete d.fn);var q;g&&g!==Handlebars.VM.noop?(q=a(n,"emptyViewClass"),q=q.extend({template:g,tagName:j.tagName})):i.emptyViewClass&&(q=b(this,i.emptyViewClass,d)),i.emptyView=q,i.eachHelper==="each"&&(j._context=Ember.computed(function(){return a(this,"content")}).property("content"),delete i.eachHelper);var r=Ember.Handlebars.ViewHelper.propertiesFromHTMLOptions({data:f,hash:j},this);return i.itemViewClass=l.extend(r),Ember.Handlebars.helpers.view.call(this,h,d)})}(),function(){var a=Ember.Handlebars.getPath;Ember.Handlebars.registerHelper("unbound",function(b,c){var d=c.contexts&&c.contexts[0]||this;return a(d,b,c)})}(),function(){var a=Ember.Handlebars.getPath,b=Ember.Handlebars.normalizePath;Ember.Handlebars.registerHelper("log",function(c,d){var e=d.contexts&&d.contexts[0]||this,f=b(e,c,d.data),g=f.root,h=f.path,i=h==="this"?g:a(g,h,d);Ember.Logger.log(i)}),Ember.Handlebars.registerHelper("debugger",function(){debugger})}(),function(){var a=Ember.get,b=Ember.set;Ember.Handlebars.EachView=Ember.CollectionView.extend(Ember._Metamorph,{itemViewClass:Ember._MetamorphView,emptyViewClass:Ember._MetamorphView,createChildView:function(c,d){c=this._super(c,d);var e=a(this,"keyword");if(e){var f=a(c,"templateData");f=Ember.copy(f),f.keywords=c.cloneKeywords(),b(c,"templateData",f);var g=a(c,"content");f.keywords[e]=g}return c}}),Ember.Handlebars.registerHelper("each",function(a,b){if(arguments.length===4){var c=arguments[0];b=arguments[3],a=arguments[2],a===""&&(a="this"),b.hash.keyword=c}else b.hash.eachHelper="each";return b.hash.contentBinding=a,Ember.Handlebars.helpers.collection.call(this,"Ember.Handlebars.EachView",b)})}(),function(){Ember.Handlebars.registerHelper("template",function(a,b){var c=Ember.TEMPLATES[a];Ember.TEMPLATES[a](this,{data:b.data})})}(),function(){var a=Ember.Handlebars,b=a.getPath,c=Ember.get,d=Array.prototype.slice,e=a.ActionHelper={registeredActions:{}};e.registerAction=function(a,b){var c=(++Ember.$.uuid).toString();return e.registeredActions[c]={eventName:b.eventName,handler:function(c){var d=c.shiftKey||c.metaKey||c.altKey||c.ctrlKey,e=c.which>1,f=d||e;if(b.link&&f)return;c.preventDefault(),c.view=b.view,b.hasOwnProperty("context")&&(c.context=b.context),b.hasOwnProperty("contexts")&&(c.contexts=b.contexts);var g=b.target;return g.isState&&typeof g.send=="function"?g.send(a,c):g[a].call(g,c)}},b.view.on("willRerender",function(){delete e.registeredActions[c]}),c},a.registerHelper("action",function(f){var g=arguments[arguments.length-1],h=d.call(arguments,1,-1),i=g.hash,j=g.data.view,k,l,m,n={eventName:i.on||"click"};n.view=j=c(j,"concreteView");if(i.target)k=b(this,i.target,g);else if(l=g.data.keywords.controller)k=c(l,"target");n.target=k=k||j,h.length&&(n.contexts=h=Ember.EnumerableUtils.map(h,function(a){return b(this,a,g)},this),n.context=h[0]);var o=[],p;i.href&&k.urlForEvent&&(p=k.urlForEvent.apply(k,[f].concat(h)),o.push('href="'+p+'"'),n.link=!0);var q=e.registerAction(f,n);return o.push('data-ember-action="'+q+'"'),new a.SafeString(o.join(" "))})}(),function(){var a=Ember.get,b=Ember.set;Ember.Handlebars.registerHelper("yield",function(b){var c=b.data.view,d;while(c&&!a(c,"layout"))c=a(c,"parentView");d=a(c,"template"),d&&d(this,b)})}(),function(){Ember.Handlebars.registerHelper("outlet",function(a,b){return a&&a.data&&a.data.isRenderData&&(b=a,a="view"),b.hash.currentViewBinding="controller."+a,Ember.Handlebars
+.helpers.view.call(this,Ember.ContainerView,b)})}(),function(){}(),function(){}(),function(){var a=Ember.set,b=Ember.get;Ember.Checkbox=Ember.View.extend({classNames:["ember-checkbox"],tagName:"input",attributeBindings:["type","checked","disabled","tabindex"],type:"checkbox",checked:!1,disabled:!1,init:function(){this._super(),this.on("change",this,this._updateElementValue)},_updateElementValue:function(){a(this,"checked",this.$().prop("checked"))}})}(),function(){var a=Ember.get,b=Ember.set;Ember.TextSupport=Ember.Mixin.create({value:"",attributeBindings:["placeholder","disabled","maxlength","tabindex"],placeholder:null,disabled:!1,maxlength:null,insertNewline:Ember.K,cancel:Ember.K,init:function(){this._super(),this.on("focusOut",this,this._elementValueDidChange),this.on("change",this,this._elementValueDidChange),this.on("keyUp",this,this.interpretKeyEvents)},interpretKeyEvents:function(a){var b=Ember.TextSupport.KEY_EVENTS,c=b[a.keyCode];this._elementValueDidChange();if(c)return this[c](a)},_elementValueDidChange:function(){b(this,"value",this.$().val())}}),Ember.TextSupport.KEY_EVENTS={13:"insertNewline",27:"cancel"}}(),function(){var a=Ember.get,b=Ember.set;Ember.TextField=Ember.View.extend(Ember.TextSupport,{classNames:["ember-text-field"],tagName:"input",attributeBindings:["type","value","size"],value:"",type:"text",size:null})}(),function(){var a=Ember.get,b=Ember.set;Ember.Button=Ember.View.extend(Ember.TargetActionSupport,{classNames:["ember-button"],classNameBindings:["isActive"],tagName:"button",propagateEvents:!1,attributeBindings:["type","disabled","href","tabindex"],targetObject:Ember.computed(function(){var b=a(this,"target"),c=a(this,"context"),d=a(this,"templateData");return typeof b!="string"?b:Ember.Handlebars.getPath(c,b,{data:d})}).property("target").cacheable(),type:Ember.computed(function(a,b){var c=this.get("tagName");b!==undefined&&(this._type=b);if(this._type!==undefined)return this._type;if(c==="input"||c==="button")return"button"}).property("tagName").cacheable(),disabled:!1,href:Ember.computed(function(){return this.get("tagName")==="a"?"#":null}).property("tagName").cacheable(),mouseDown:function(){return a(this,"disabled")||(b(this,"isActive",!0),this._mouseDown=!0,this._mouseEntered=!0),a(this,"propagateEvents")},mouseLeave:function(){this._mouseDown&&(b(this,"isActive",!1),this._mouseEntered=!1)},mouseEnter:function(){this._mouseDown&&(b(this,"isActive",!0),this._mouseEntered=!0)},mouseUp:function(c){return a(this,"isActive")&&(this.triggerAction(),b(this,"isActive",!1)),this._mouseDown=!1,this._mouseEntered=!1,a(this,"propagateEvents")},keyDown:function(a){(a.keyCode===13||a.keyCode===32)&&this.mouseDown()},keyUp:function(a){(a.keyCode===13||a.keyCode===32)&&this.mouseUp()},touchStart:function(a){return this.mouseDown(a)},touchEnd:function(a){return this.mouseUp(a)},init:function(){this._super()}})}(),function(){var a=Ember.get,b=Ember.set;Ember.TextArea=Ember.View.extend(Ember.TextSupport,{classNames:["ember-text-area"],tagName:"textarea",attributeBindings:["rows","cols"],rows:null,cols:null,_updateElementValue:Ember.observer(function(){var b=a(this,"value"),c=this.$();c&&b!==c.val()&&c.val(b)},"value"),init:function(){this._super(),this.on("didInsertElement",this,this._updateElementValue)}})}(),function(){Ember.TabContainerView=Ember.View.extend({init:function(){this._super()}})}(),function(){var a=Ember.get;Ember.TabPaneView=Ember.View.extend({tabsContainer:Ember.computed(function(){return this.nearestInstanceOf(Ember.TabContainerView)}).property().volatile(),isVisible:Ember.computed(function(){return a(this,"viewName")===a(this,"tabsContainer.currentView")}).property("tabsContainer.currentView").volatile(),init:function(){this._super()}})}(),function(){var a=Ember.get,b=Ember.setPath;Ember.TabView=Ember.View.extend({tabsContainer:Ember.computed(function(){return this.nearestInstanceOf(Ember.TabContainerView)}).property().volatile(),mouseUp:function(){b(this,"tabsContainer.currentView",a(this,"value"))},init:function(){this._super()}})}(),function(){}(),function(){var a=Ember.set,b=Ember.get,c=Ember.EnumerableUtils.indexOf,d=Ember.EnumerableUtils.indexesOf;Ember.Select=Ember.View.extend({tagName:"select",classNames:["ember-select"],defaultTemplate:Ember.Handlebars.template(function(b,c,d,e,f){function q(a,b){var c="",e,f,g,h;return b.buffer.push("<option value>"),e=a,f="view.prompt",g={},h="true",g.escaped=h,h=d._triageMustache||a._triageMustache,k={},k.hash=g,k.contexts=[],k.contexts.push(e),k.data=b,typeof h===m?e=h.call(a,f,k):h===o?e=n.call(a,"_triageMustache",f,k):e=h,b.buffer.push(p(e)+"</option>"),c}function r(a,b){var c,e,f,g;c=a,e="Ember.SelectOption",f={},g="this",f.contentBinding=g,g=d.view||a.view,k={},k.hash=f,k.contexts=[],k.contexts.push(c),k.data=b,typeof g===m?c=g.call(a,e,k):g===o?c=n.call(a,"view",e,k):c=g,b.buffer.push(p(c))}d=d||Ember.Handlebars.helpers;var g="",h,i,j,k,l=this,m="function",n=d.helperMissing,o=void 0,p=this.escapeExpression;return h=c,i="view.prompt",j=d["if"],k=l.program(1,q,f),k.hash={},k.contexts=[],k.contexts.push(h),k.fn=k,k.inverse=l.noop,k.data=f,h=j.call(c,i,k),(h||h===0)&&f.buffer.push(h),h=c,i="view.content",j=d.each,k=l.program(3,r,f),k.hash={},k.contexts=[],k.contexts.push(h),k.fn=k,k.inverse=l.noop,k.data=f,h=j.call(c,i,k),(h||h===0)&&f.buffer.push(h),g}),attributeBindings:["multiple","tabindex"],multiple:!1,content:null,selection:null,value:Ember.computed(function(a,c){if(arguments.length===2)return c;var d=b(this,"optionValuePath").replace(/^content\.?/,"");return d?b(this,"selection."+d):b(this,"selection")}).property("selection").cacheable(),prompt:null,optionLabelPath:"content",optionValuePath:"content",_change:function(){b(this,"multiple")?this._changeMultiple():this._changeSingle()},selectionDidChange:Ember.observer(function(){var c=b(this,"selection"),d=Ember.isArray(c);if(b(this,"multiple")){if(!d){a(this,"selection",Ember.A([c]));return}this._selectionDidChangeMultiple()}else this._selectionDidChangeSingle()},"selection"),valueDidChange:Ember.observer(function(){var a=b(this,"content"),c=b(this,"value"),d=b(this,"optionValuePath").replace(/^content\.?/,""),e=d?b(this,"selection."+d):b(this,"selection"),f;c!==e&&(f=a.find(function(a){return c===(d?b(a,d):a)}),this.set("selection",f))},"value"),_triggerChange:function(){var a=b(this,"selection");a&&this.selectionDidChange(),this._change()},_changeSingle:function(){var c=this.$()[0].selectedIndex,d=b(this,"content"),e=b(this,"prompt");if(!d)return;if(e&&c===0){a(this,"selection",null);return}e&&(c-=1),a(this,"selection",d.objectAt(c))},_changeMultiple:function(){var c=this.$("option:selected"),d=b(this,"prompt"),e=d?1:0,f=b(this,"content");if(!f)return;if(c){var g=c.map(function(){return this.index-e}).toArray();a(this,"selection",f.objectsAt(g))}},_selectionDidChangeSingle:function(){var a=this.get("element");if(!a)return;var d=b(this,"content"),e=b(this,"selection"),f=d?c(d,e):-1,g=b(this,"prompt");g&&(f+=1),a&&(a.selectedIndex=f)},_selectionDidChangeMultiple:function(){var a=b(this,"content"),e=b(this,"selection"),f=a?d(a,e):[-1],g=b(this,"prompt"),h=g?1:0,i=this.$("option"),j;i&&i.each(function(){j=this.index>-1?this.index+h:-1,this.selected=c(f,j)>-1})},init:function(){this._super(),this.on("didInsertElement",this,this._triggerChange),this.on("change",this,this._change)}}),Ember.SelectOption=Ember.View.extend({tagName:"option",attributeBindings:["value","selected"],defaultTemplate:function(a,b){b={data:b.data,hash:{}},Ember.Handlebars.helpers.bind.call(a,"view.label",b)},init:function(){this.labelPathDidChange(),this.valuePathDidChange(),this._super()},selected:Ember.computed(function(){var a=b(this,"content"),d=b(this,"parentView.selection");return b(this,"parentView.multiple")?d&&c(d,a)>-1:a==d}).property("content","parentView.selection").volatile(),labelPathDidChange:Ember.observer(function(){var a=b(this,"parentView.optionLabelPath");if(!a)return;Ember.defineProperty(this,"label",Ember.computed(function(){return b(this,a)}).property(a).cacheable())},"parentView.optionLabelPath"),valuePathDidChange:Ember.observer(function(){var a=b(this,"parentView.optionValuePath");if(!a)return;Ember.defineProperty(this,"value",Ember.computed(function(){return b(this,a)}).property(a).cacheable())},"parentView.optionValuePath")})}(),function(){}(),function(){function a(){Ember.Handlebars.bootstrap(Ember.$(document))}Ember.Handlebars.bootstrap=function(a){var b='script[type="text/x-handlebars"], script[type="text/x-raw-handlebars"]';Ember.$(b,a).each(function(){var a=Ember.$(this),b=a.attr("type"),c=a.attr("type")==="text/x-raw-handlebars"?Ember.$.proxy(Handlebars.compile,Handlebars):Ember.$.proxy(Ember.Handlebars.compile,Ember.Handlebars),d=a.attr("data-template-name")||a.attr("id"),e=c(a.html()),f,g,h,i;if(d)Ember.TEMPLATES[d]=e,a.remove();else{if(a.parents("head").length!==0)throw new Ember.Error("Template found in <head> without a name specified. Please provide a data-template-name attribute.\n"+a.html());g=a.attr("data-view"),f=g?Ember.get(g):Ember.View,h=a.attr("data-element-id"),i={template:e},h&&(i.elementId=h),f=f.create(i),f._insertElementLater(function(){a.replaceWith(this.$()),a=null})}})},Ember.$(document).ready(a),Ember.onLoad("application",a)}(),function(){}();
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/lib/handlebars-1.0.0.beta.6.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/lib/handlebars-1.0.0.beta.6.js
new file mode 100644 (file)
index 0000000..b22939e
--- /dev/null
@@ -0,0 +1,1573 @@
+// ==========================================================================
+// Copyright: Copyright (C) 2011 by Yehuda Katz
+// License:   Licensed under MIT license (see license.js)
+// ==========================================================================
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+// ==========================================================================
+
+// lib/handlebars/base.js
+var Handlebars = {};
+
+Handlebars.VERSION = "1.0.beta.6";
+
+Handlebars.helpers  = {};
+Handlebars.partials = {};
+
+Handlebars.registerHelper = function(name, fn, inverse) {
+  if(inverse) { fn.not = inverse; }
+  this.helpers[name] = fn;
+};
+
+Handlebars.registerPartial = function(name, str) {
+  this.partials[name] = str;
+};
+
+Handlebars.registerHelper('helperMissing', function(arg) {
+  if(arguments.length === 2) {
+    return undefined;
+  } else {
+    throw new Error("Could not find property '" + arg + "'");
+  }
+});
+
+var toString = Object.prototype.toString, functionType = "[object Function]";
+
+Handlebars.registerHelper('blockHelperMissing', function(context, options) {
+  var inverse = options.inverse || function() {}, fn = options.fn;
+
+
+  var ret = "";
+  var type = toString.call(context);
+
+  if(type === functionType) { context = context.call(this); }
+
+  if(context === true) {
+    return fn(this);
+  } else if(context === false || context == null) {
+    return inverse(this);
+  } else if(type === "[object Array]") {
+    if(context.length > 0) {
+      for(var i=0, j=context.length; i<j; i++) {
+        ret = ret + fn(context[i]);
+      }
+    } else {
+      ret = inverse(this);
+    }
+    return ret;
+  } else {
+    return fn(context);
+  }
+});
+
+Handlebars.registerHelper('each', function(context, options) {
+  var fn = options.fn, inverse = options.inverse;
+  var ret = "";
+
+  if(context && context.length > 0) {
+    for(var i=0, j=context.length; i<j; i++) {
+      ret = ret + fn(context[i]);
+    }
+  } else {
+    ret = inverse(this);
+  }
+  return ret;
+});
+
+Handlebars.registerHelper('if', function(context, options) {
+  var type = toString.call(context);
+  if(type === functionType) { context = context.call(this); }
+
+  if(!context || Handlebars.Utils.isEmpty(context)) {
+    return options.inverse(this);
+  } else {
+    return options.fn(this);
+  }
+});
+
+Handlebars.registerHelper('unless', function(context, options) {
+  var fn = options.fn, inverse = options.inverse;
+  options.fn = inverse;
+  options.inverse = fn;
+
+  return Handlebars.helpers['if'].call(this, context, options);
+});
+
+Handlebars.registerHelper('with', function(context, options) {
+  return options.fn(context);
+});
+
+Handlebars.registerHelper('log', function(context) {
+  Handlebars.log(context);
+});
+;
+// lib/handlebars/compiler/parser.js
+/* Jison generated parser */
+var handlebars = (function(){
+
+var parser = {trace: function trace() { },
+yy: {},
+symbols_: {"error":2,"root":3,"program":4,"EOF":5,"statements":6,"simpleInverse":7,"statement":8,"openInverse":9,"closeBlock":10,"openBlock":11,"mustache":12,"partial":13,"CONTENT":14,"COMMENT":15,"OPEN_BLOCK":16,"inMustache":17,"CLOSE":18,"OPEN_INVERSE":19,"OPEN_ENDBLOCK":20,"path":21,"OPEN":22,"OPEN_UNESCAPED":23,"OPEN_PARTIAL":24,"params":25,"hash":26,"param":27,"STRING":28,"INTEGER":29,"BOOLEAN":30,"hashSegments":31,"hashSegment":32,"ID":33,"EQUALS":34,"pathSegments":35,"SEP":36,"$accept":0,"$end":1},
+terminals_: {2:"error",5:"EOF",14:"CONTENT",15:"COMMENT",16:"OPEN_BLOCK",18:"CLOSE",19:"OPEN_INVERSE",20:"OPEN_ENDBLOCK",22:"OPEN",23:"OPEN_UNESCAPED",24:"OPEN_PARTIAL",28:"STRING",29:"INTEGER",30:"BOOLEAN",33:"ID",34:"EQUALS",36:"SEP"},
+productions_: [0,[3,2],[4,3],[4,1],[4,0],[6,1],[6,2],[8,3],[8,3],[8,1],[8,1],[8,1],[8,1],[11,3],[9,3],[10,3],[12,3],[12,3],[13,3],[13,4],[7,2],[17,3],[17,2],[17,2],[17,1],[25,2],[25,1],[27,1],[27,1],[27,1],[27,1],[26,1],[31,2],[31,1],[32,3],[32,3],[32,3],[32,3],[21,1],[35,3],[35,1]],
+performAction: function anonymous(yytext,yyleng,yylineno,yy,yystate,$$,_$) {
+
+var $0 = $$.length - 1;
+switch (yystate) {
+case 1: return $$[$0-1]
+break;
+case 2: this.$ = new yy.ProgramNode($$[$0-2], $$[$0])
+break;
+case 3: this.$ = new yy.ProgramNode($$[$0])
+break;
+case 4: this.$ = new yy.ProgramNode([])
+break;
+case 5: this.$ = [$$[$0]]
+break;
+case 6: $$[$0-1].push($$[$0]); this.$ = $$[$0-1]
+break;
+case 7: this.$ = new yy.InverseNode($$[$0-2], $$[$0-1], $$[$0])
+break;
+case 8: this.$ = new yy.BlockNode($$[$0-2], $$[$0-1], $$[$0])
+break;
+case 9: this.$ = $$[$0]
+break;
+case 10: this.$ = $$[$0]
+break;
+case 11: this.$ = new yy.ContentNode($$[$0])
+break;
+case 12: this.$ = new yy.CommentNode($$[$0])
+break;
+case 13: this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1])
+break;
+case 14: this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1])
+break;
+case 15: this.$ = $$[$0-1]
+break;
+case 16: this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1])
+break;
+case 17: this.$ = new yy.MustacheNode($$[$0-1][0], $$[$0-1][1], true)
+break;
+case 18: this.$ = new yy.PartialNode($$[$0-1])
+break;
+case 19: this.$ = new yy.PartialNode($$[$0-2], $$[$0-1])
+break;
+case 20:
+break;
+case 21: this.$ = [[$$[$0-2]].concat($$[$0-1]), $$[$0]]
+break;
+case 22: this.$ = [[$$[$0-1]].concat($$[$0]), null]
+break;
+case 23: this.$ = [[$$[$0-1]], $$[$0]]
+break;
+case 24: this.$ = [[$$[$0]], null]
+break;
+case 25: $$[$0-1].push($$[$0]); this.$ = $$[$0-1];
+break;
+case 26: this.$ = [$$[$0]]
+break;
+case 27: this.$ = $$[$0]
+break;
+case 28: this.$ = new yy.StringNode($$[$0])
+break;
+case 29: this.$ = new yy.IntegerNode($$[$0])
+break;
+case 30: this.$ = new yy.BooleanNode($$[$0])
+break;
+case 31: this.$ = new yy.HashNode($$[$0])
+break;
+case 32: $$[$0-1].push($$[$0]); this.$ = $$[$0-1]
+break;
+case 33: this.$ = [$$[$0]]
+break;
+case 34: this.$ = [$$[$0-2], $$[$0]]
+break;
+case 35: this.$ = [$$[$0-2], new yy.StringNode($$[$0])]
+break;
+case 36: this.$ = [$$[$0-2], new yy.IntegerNode($$[$0])]
+break;
+case 37: this.$ = [$$[$0-2], new yy.BooleanNode($$[$0])]
+break;
+case 38: this.$ = new yy.IdNode($$[$0])
+break;
+case 39: $$[$0-2].push($$[$0]); this.$ = $$[$0-2];
+break;
+case 40: this.$ = [$$[$0]]
+break;
+}
+},
+table: [{3:1,4:2,5:[2,4],6:3,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],22:[1,13],23:[1,14],24:[1,15]},{1:[3]},{5:[1,16]},{5:[2,3],7:17,8:18,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,19],20:[2,3],22:[1,13],23:[1,14],24:[1,15]},{5:[2,5],14:[2,5],15:[2,5],16:[2,5],19:[2,5],20:[2,5],22:[2,5],23:[2,5],24:[2,5]},{4:20,6:3,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],20:[2,4],22:[1,13],23:[1,14],24:[1,15]},{4:21,6:3,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],20:[2,4],22:[1,13],23:[1,14],24:[1,15]},{5:[2,9],14:[2,9],15:[2,9],16:[2,9],19:[2,9],20:[2,9],22:[2,9],23:[2,9],24:[2,9]},{5:[2,10],14:[2,10],15:[2,10],16:[2,10],19:[2,10],20:[2,10],22:[2,10],23:[2,10],24:[2,10]},{5:[2,11],14:[2,11],15:[2,11],16:[2,11],19:[2,11],20:[2,11],22:[2,11],23:[2,11],24:[2,11]},{5:[2,12],14:[2,12],15:[2,12],16:[2,12],19:[2,12],20:[2,12],22:[2,12],23:[2,12],24:[2,12]},{17:22,21:23,33:[1,25],35:24},{17:26,21:23,33:[1,25],35:24},{17:27,21:23,33:[1,25],35:24},{17:28,21:23,33:[1,25],35:24},{21:29,33:[1,25],35:24},{1:[2,1]},{6:30,8:4,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],22:[1,13],23:[1,14],24:[1,15]},{5:[2,6],14:[2,6],15:[2,6],16:[2,6],19:[2,6],20:[2,6],22:[2,6],23:[2,6],24:[2,6]},{17:22,18:[1,31],21:23,33:[1,25],35:24},{10:32,20:[1,33]},{10:34,20:[1,33]},{18:[1,35]},{18:[2,24],21:40,25:36,26:37,27:38,28:[1,41],29:[1,42],30:[1,43],31:39,32:44,33:[1,45],35:24},{18:[2,38],28:[2,38],29:[2,38],30:[2,38],33:[2,38],36:[1,46]},{18:[2,40],28:[2,40],29:[2,40],30:[2,40],33:[2,40],36:[2,40]},{18:[1,47]},{18:[1,48]},{18:[1,49]},{18:[1,50],21:51,33:[1,25],35:24},{5:[2,2],8:18,9:5,11:6,12:7,13:8,14:[1,9],15:[1,10],16:[1,12],19:[1,11],20:[2,2],22:[1,13],23:[1,14],24:[1,15]},{14:[2,20],15:[2,20],16:[2,20],19:[2,20],22:[2,20],23:[2,20],24:[2,20]},{5:[2,7],14:[2,7],15:[2,7],16:[2,7],19:[2,7],20:[2,7],22:[2,7],23:[2,7],24:[2,7]},{21:52,33:[1,25],35:24},{5:[2,8],14:[2,8],15:[2,8],16:[2,8],19:[2,8],20:[2,8],22:[2,8],23:[2,8],24:[2,8]},{14:[2,14],15:[2,14],16:[2,14],19:[2,14],20:[2,14],22:[2,14],23:[2,14],24:[2,14]},{18:[2,22],21:40,26:53,27:54,28:[1,41],29:[1,42],30:[1,43],31:39,32:44,33:[1,45],35:24},{18:[2,23]},{18:[2,26],28:[2,26],29:[2,26],30:[2,26],33:[2,26]},{18:[2,31],32:55,33:[1,56]},{18:[2,27],28:[2,27],29:[2,27],30:[2,27],33:[2,27]},{18:[2,28],28:[2,28],29:[2,28],30:[2,28],33:[2,28]},{18:[2,29],28:[2,29],29:[2,29],30:[2,29],33:[2,29]},{18:[2,30],28:[2,30],29:[2,30],30:[2,30],33:[2,30]},{18:[2,33],33:[2,33]},{18:[2,40],28:[2,40],29:[2,40],30:[2,40],33:[2,40],34:[1,57],36:[2,40]},{33:[1,58]},{14:[2,13],15:[2,13],16:[2,13],19:[2,13],20:[2,13],22:[2,13],23:[2,13],24:[2,13]},{5:[2,16],14:[2,16],15:[2,16],16:[2,16],19:[2,16],20:[2,16],22:[2,16],23:[2,16],24:[2,16]},{5:[2,17],14:[2,17],15:[2,17],16:[2,17],19:[2,17],20:[2,17],22:[2,17],23:[2,17],24:[2,17]},{5:[2,18],14:[2,18],15:[2,18],16:[2,18],19:[2,18],20:[2,18],22:[2,18],23:[2,18],24:[2,18]},{18:[1,59]},{18:[1,60]},{18:[2,21]},{18:[2,25],28:[2,25],29:[2,25],30:[2,25],33:[2,25]},{18:[2,32],33:[2,32]},{34:[1,57]},{21:61,28:[1,62],29:[1,63],30:[1,64],33:[1,25],35:24},{18:[2,39],28:[2,39],29:[2,39],30:[2,39],33:[2,39],36:[2,39]},{5:[2,19],14:[2,19],15:[2,19],16:[2,19],19:[2,19],20:[2,19],22:[2,19],23:[2,19],24:[2,19]},{5:[2,15],14:[2,15],15:[2,15],16:[2,15],19:[2,15],20:[2,15],22:[2,15],23:[2,15],24:[2,15]},{18:[2,34],33:[2,34]},{18:[2,35],33:[2,35]},{18:[2,36],33:[2,36]},{18:[2,37],33:[2,37]}],
+defaultActions: {16:[2,1],37:[2,23],53:[2,21]},
+parseError: function parseError(str, hash) {
+    throw new Error(str);
+},
+parse: function parse(input) {
+    var self = this, stack = [0], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
+    this.lexer.setInput(input);
+    this.lexer.yy = this.yy;
+    this.yy.lexer = this.lexer;
+    if (typeof this.lexer.yylloc == "undefined")
+        this.lexer.yylloc = {};
+    var yyloc = this.lexer.yylloc;
+    lstack.push(yyloc);
+    if (typeof this.yy.parseError === "function")
+        this.parseError = this.yy.parseError;
+    function popStack(n) {
+        stack.length = stack.length - 2 * n;
+        vstack.length = vstack.length - n;
+        lstack.length = lstack.length - n;
+    }
+    function lex() {
+        var token;
+        token = self.lexer.lex() || 1;
+        if (typeof token !== "number") {
+            token = self.symbols_[token] || token;
+        }
+        return token;
+    }
+    var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;
+    while (true) {
+        state = stack[stack.length - 1];
+        if (this.defaultActions[state]) {
+            action = this.defaultActions[state];
+        } else {
+            if (symbol == null)
+                symbol = lex();
+            action = table[state] && table[state][symbol];
+        }
+        if (typeof action === "undefined" || !action.length || !action[0]) {
+            if (!recovering) {
+                expected = [];
+                for (p in table[state])
+                    if (this.terminals_[p] && p > 2) {
+                        expected.push("'" + this.terminals_[p] + "'");
+                    }
+                var errStr = "";
+                if (this.lexer.showPosition) {
+                    errStr = "Parse error on line " + (yylineno + 1) + ":\n" + this.lexer.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + this.terminals_[symbol] + "'";
+                } else {
+                    errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == 1?"end of input":"'" + (this.terminals_[symbol] || symbol) + "'");
+                }
+                this.parseError(errStr, {text: this.lexer.match, token: this.terminals_[symbol] || symbol, line: this.lexer.yylineno, loc: yyloc, expected: expected});
+            }
+        }
+        if (action[0] instanceof Array && action.length > 1) {
+            throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
+        }
+        switch (action[0]) {
+        case 1:
+            stack.push(symbol);
+            vstack.push(this.lexer.yytext);
+            lstack.push(this.lexer.yylloc);
+            stack.push(action[1]);
+            symbol = null;
+            if (!preErrorSymbol) {
+                yyleng = this.lexer.yyleng;
+                yytext = this.lexer.yytext;
+                yylineno = this.lexer.yylineno;
+                yyloc = this.lexer.yylloc;
+                if (recovering > 0)
+                    recovering--;
+            } else {
+                symbol = preErrorSymbol;
+                preErrorSymbol = null;
+            }
+            break;
+        case 2:
+            len = this.productions_[action[1]][1];
+            yyval.$ = vstack[vstack.length - len];
+            yyval._$ = {first_line: lstack[lstack.length - (len || 1)].first_line, last_line: lstack[lstack.length - 1].last_line, first_column: lstack[lstack.length - (len || 1)].first_column, last_column: lstack[lstack.length - 1].last_column};
+            r = this.performAction.call(yyval, yytext, yyleng, yylineno, this.yy, action[1], vstack, lstack);
+            if (typeof r !== "undefined") {
+                return r;
+            }
+            if (len) {
+                stack = stack.slice(0, -1 * len * 2);
+                vstack = vstack.slice(0, -1 * len);
+                lstack = lstack.slice(0, -1 * len);
+            }
+            stack.push(this.productions_[action[1]][0]);
+            vstack.push(yyval.$);
+            lstack.push(yyval._$);
+            newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
+            stack.push(newState);
+            break;
+        case 3:
+            return true;
+        }
+    }
+    return true;
+}
+};/* Jison generated lexer */
+var lexer = (function(){
+
+var lexer = ({EOF:1,
+parseError:function parseError(str, hash) {
+        if (this.yy.parseError) {
+            this.yy.parseError(str, hash);
+        } else {
+            throw new Error(str);
+        }
+    },
+setInput:function (input) {
+        this._input = input;
+        this._more = this._less = this.done = false;
+        this.yylineno = this.yyleng = 0;
+        this.yytext = this.matched = this.match = '';
+        this.conditionStack = ['INITIAL'];
+        this.yylloc = {first_line:1,first_column:0,last_line:1,last_column:0};
+        return this;
+    },
+input:function () {
+        var ch = this._input[0];
+        this.yytext+=ch;
+        this.yyleng++;
+        this.match+=ch;
+        this.matched+=ch;
+        var lines = ch.match(/\n/);
+        if (lines) this.yylineno++;
+        this._input = this._input.slice(1);
+        return ch;
+    },
+unput:function (ch) {
+        this._input = ch + this._input;
+        return this;
+    },
+more:function () {
+        this._more = true;
+        return this;
+    },
+pastInput:function () {
+        var past = this.matched.substr(0, this.matched.length - this.match.length);
+        return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\n/g, "");
+    },
+upcomingInput:function () {
+        var next = this.match;
+        if (next.length < 20) {
+            next += this._input.substr(0, 20-next.length);
+        }
+        return (next.substr(0,20)+(next.length > 20 ? '...':'')).replace(/\n/g, "");
+    },
+showPosition:function () {
+        var pre = this.pastInput();
+        var c = new Array(pre.length + 1).join("-");
+        return pre + this.upcomingInput() + "\n" + c+"^";
+    },
+next:function () {
+        if (this.done) {
+            return this.EOF;
+        }
+        if (!this._input) this.done = true;
+
+        var token,
+            match,
+            col,
+            lines;
+        if (!this._more) {
+            this.yytext = '';
+            this.match = '';
+        }
+        var rules = this._currentRules();
+        for (var i=0;i < rules.length; i++) {
+            match = this._input.match(this.rules[rules[i]]);
+            if (match) {
+                lines = match[0].match(/\n.*/g);
+                if (lines) this.yylineno += lines.length;
+                this.yylloc = {first_line: this.yylloc.last_line,
+                               last_line: this.yylineno+1,
+                               first_column: this.yylloc.last_column,
+                               last_column: lines ? lines[lines.length-1].length-1 : this.yylloc.last_column + match[0].length}
+                this.yytext += match[0];
+                this.match += match[0];
+                this.matches = match;
+                this.yyleng = this.yytext.length;
+                this._more = false;
+                this._input = this._input.slice(match[0].length);
+                this.matched += match[0];
+                token = this.performAction.call(this, this.yy, this, rules[i],this.conditionStack[this.conditionStack.length-1]);
+                if (token) return token;
+                else return;
+            }
+        }
+        if (this._input === "") {
+            return this.EOF;
+        } else {
+            this.parseError('Lexical error on line '+(this.yylineno+1)+'. Unrecognized text.\n'+this.showPosition(),
+                    {text: "", token: null, line: this.yylineno});
+        }
+    },
+lex:function lex() {
+        var r = this.next();
+        if (typeof r !== 'undefined') {
+            return r;
+        } else {
+            return this.lex();
+        }
+    },
+begin:function begin(condition) {
+        this.conditionStack.push(condition);
+    },
+popState:function popState() {
+        return this.conditionStack.pop();
+    },
+_currentRules:function _currentRules() {
+        return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;
+    },
+topState:function () {
+        return this.conditionStack[this.conditionStack.length-2];
+    },
+pushState:function begin(condition) {
+        this.begin(condition);
+    }});
+lexer.performAction = function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {
+
+var YYSTATE=YY_START
+switch($avoiding_name_collisions) {
+case 0:
+                                   if(yy_.yytext.slice(-1) !== "\\") this.begin("mu");
+                                   if(yy_.yytext.slice(-1) === "\\") yy_.yytext = yy_.yytext.substr(0,yy_.yyleng-1), this.begin("emu");
+                                   if(yy_.yytext) return 14;
+
+break;
+case 1: return 14;
+break;
+case 2: this.popState(); return 14;
+break;
+case 3: return 24;
+break;
+case 4: return 16;
+break;
+case 5: return 20;
+break;
+case 6: return 19;
+break;
+case 7: return 19;
+break;
+case 8: return 23;
+break;
+case 9: return 23;
+break;
+case 10: yy_.yytext = yy_.yytext.substr(3,yy_.yyleng-5); this.popState(); return 15;
+break;
+case 11: return 22;
+break;
+case 12: return 34;
+break;
+case 13: return 33;
+break;
+case 14: return 33;
+break;
+case 15: return 36;
+break;
+case 16: /*ignore whitespace*/
+break;
+case 17: this.popState(); return 18;
+break;
+case 18: this.popState(); return 18;
+break;
+case 19: yy_.yytext = yy_.yytext.substr(1,yy_.yyleng-2).replace(/\\"/g,'"'); return 28;
+break;
+case 20: return 30;
+break;
+case 21: return 30;
+break;
+case 22: return 29;
+break;
+case 23: return 33;
+break;
+case 24: yy_.yytext = yy_.yytext.substr(1, yy_.yyleng-2); return 33;
+break;
+case 25: return 'INVALID';
+break;
+case 26: return 5;
+break;
+}
+};
+lexer.rules = [/^[^\x00]*?(?=(\{\{))/,/^[^\x00]+/,/^[^\x00]{2,}?(?=(\{\{))/,/^\{\{>/,/^\{\{#/,/^\{\{\//,/^\{\{\^/,/^\{\{\s*else\b/,/^\{\{\{/,/^\{\{&/,/^\{\{![\s\S]*?\}\}/,/^\{\{/,/^=/,/^\.(?=[} ])/,/^\.\./,/^[\/.]/,/^\s+/,/^\}\}\}/,/^\}\}/,/^"(\\["]|[^"])*"/,/^true(?=[}\s])/,/^false(?=[}\s])/,/^[0-9]+(?=[}\s])/,/^[a-zA-Z0-9_$-]+(?=[=}\s\/.])/,/^\[[^\]]*\]/,/^./,/^$/];
+lexer.conditions = {"mu":{"rules":[3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26],"inclusive":false},"emu":{"rules":[2],"inclusive":false},"INITIAL":{"rules":[0,1,26],"inclusive":true}};return lexer;})()
+parser.lexer = lexer;
+return parser;
+})();
+if (typeof require !== 'undefined' && typeof exports !== 'undefined') {
+exports.parser = handlebars;
+exports.parse = function () { return handlebars.parse.apply(handlebars, arguments); }
+exports.main = function commonjsMain(args) {
+    if (!args[1])
+        throw new Error('Usage: '+args[0]+' FILE');
+    if (typeof process !== 'undefined') {
+        var source = require('fs').readFileSync(require('path').join(process.cwd(), args[1]), "utf8");
+    } else {
+        var cwd = require("file").path(require("file").cwd());
+        var source = cwd.join(args[1]).read({charset: "utf-8"});
+    }
+    return exports.parser.parse(source);
+}
+if (typeof module !== 'undefined' && require.main === module) {
+  exports.main(typeof process !== 'undefined' ? process.argv.slice(1) : require("system").args);
+}
+};
+;
+// lib/handlebars/compiler/base.js
+Handlebars.Parser = handlebars;
+
+Handlebars.parse = function(string) {
+  Handlebars.Parser.yy = Handlebars.AST;
+  return Handlebars.Parser.parse(string);
+};
+
+Handlebars.print = function(ast) {
+  return new Handlebars.PrintVisitor().accept(ast);
+};
+
+Handlebars.logger = {
+  DEBUG: 0, INFO: 1, WARN: 2, ERROR: 3, level: 3,
+
+  // override in the host environment
+  log: function(level, str) {}
+};
+
+Handlebars.log = function(level, str) { Handlebars.logger.log(level, str); };
+;
+// lib/handlebars/compiler/ast.js
+(function() {
+
+  Handlebars.AST = {};
+
+  Handlebars.AST.ProgramNode = function(statements, inverse) {
+    this.type = "program";
+    this.statements = statements;
+    if(inverse) { this.inverse = new Handlebars.AST.ProgramNode(inverse); }
+  };
+
+  Handlebars.AST.MustacheNode = function(params, hash, unescaped) {
+    this.type = "mustache";
+    this.id = params[0];
+    this.params = params.slice(1);
+    this.hash = hash;
+    this.escaped = !unescaped;
+  };
+
+  Handlebars.AST.PartialNode = function(id, context) {
+    this.type    = "partial";
+
+    // TODO: disallow complex IDs
+
+    this.id      = id;
+    this.context = context;
+  };
+
+  var verifyMatch = function(open, close) {
+    if(open.original !== close.original) {
+      throw new Handlebars.Exception(open.original + " doesn't match " + close.original);
+    }
+  };
+
+  Handlebars.AST.BlockNode = function(mustache, program, close) {
+    verifyMatch(mustache.id, close);
+    this.type = "block";
+    this.mustache = mustache;
+    this.program  = program;
+  };
+
+  Handlebars.AST.InverseNode = function(mustache, program, close) {
+    verifyMatch(mustache.id, close);
+    this.type = "inverse";
+    this.mustache = mustache;
+    this.program  = program;
+  };
+
+  Handlebars.AST.ContentNode = function(string) {
+    this.type = "content";
+    this.string = string;
+  };
+
+  Handlebars.AST.HashNode = function(pairs) {
+    this.type = "hash";
+    this.pairs = pairs;
+  };
+
+  Handlebars.AST.IdNode = function(parts) {
+    this.type = "ID";
+    this.original = parts.join(".");
+
+    var dig = [], depth = 0;
+
+    for(var i=0,l=parts.length; i<l; i++) {
+      var part = parts[i];
+
+      if(part === "..") { depth++; }
+      else if(part === "." || part === "this") { this.isScoped = true; }
+      else { dig.push(part); }
+    }
+
+    this.parts    = dig;
+    this.string   = dig.join('.');
+    this.depth    = depth;
+    this.isSimple = (dig.length === 1) && (depth === 0);
+  };
+
+  Handlebars.AST.StringNode = function(string) {
+    this.type = "STRING";
+    this.string = string;
+  };
+
+  Handlebars.AST.IntegerNode = function(integer) {
+    this.type = "INTEGER";
+    this.integer = integer;
+  };
+
+  Handlebars.AST.BooleanNode = function(bool) {
+    this.type = "BOOLEAN";
+    this.bool = bool;
+  };
+
+  Handlebars.AST.CommentNode = function(comment) {
+    this.type = "comment";
+    this.comment = comment;
+  };
+
+})();;
+// lib/handlebars/utils.js
+Handlebars.Exception = function(message) {
+  var tmp = Error.prototype.constructor.apply(this, arguments);
+
+  for (var p in tmp) {
+    if (tmp.hasOwnProperty(p)) { this[p] = tmp[p]; }
+  }
+
+  this.message = tmp.message;
+};
+Handlebars.Exception.prototype = new Error;
+
+// Build out our basic SafeString type
+Handlebars.SafeString = function(string) {
+  this.string = string;
+};
+Handlebars.SafeString.prototype.toString = function() {
+  return this.string.toString();
+};
+
+(function() {
+  var escape = {
+    "<": "&lt;",
+    ">": "&gt;",
+    '"': "&quot;",
+    "'": "&#x27;",
+    "`": "&#x60;"
+  };
+
+  var badChars = /&(?!\w+;)|[<>"'`]/g;
+  var possible = /[&<>"'`]/;
+
+  var escapeChar = function(chr) {
+    return escape[chr] || "&amp;";
+  };
+
+  Handlebars.Utils = {
+    escapeExpression: function(string) {
+      // don't escape SafeStrings, since they're already safe
+      if (string instanceof Handlebars.SafeString) {
+        return string.toString();
+      } else if (string == null || string === false) {
+        return "";
+      }
+
+      if(!possible.test(string)) { return string; }
+      return string.replace(badChars, escapeChar);
+    },
+
+    isEmpty: function(value) {
+      if (typeof value === "undefined") {
+        return true;
+      } else if (value === null) {
+        return true;
+      } else if (value === false) {
+        return true;
+      } else if(Object.prototype.toString.call(value) === "[object Array]" && value.length === 0) {
+        return true;
+      } else {
+        return false;
+      }
+    }
+  };
+})();;
+// lib/handlebars/compiler/compiler.js
+Handlebars.Compiler = function() {};
+Handlebars.JavaScriptCompiler = function() {};
+
+(function(Compiler, JavaScriptCompiler) {
+  Compiler.OPCODE_MAP = {
+    appendContent: 1,
+    getContext: 2,
+    lookupWithHelpers: 3,
+    lookup: 4,
+    append: 5,
+    invokeMustache: 6,
+    appendEscaped: 7,
+    pushString: 8,
+    truthyOrFallback: 9,
+    functionOrFallback: 10,
+    invokeProgram: 11,
+    invokePartial: 12,
+    push: 13,
+    assignToHash: 15,
+    pushStringParam: 16
+  };
+
+  Compiler.MULTI_PARAM_OPCODES = {
+    appendContent: 1,
+    getContext: 1,
+    lookupWithHelpers: 2,
+    lookup: 1,
+    invokeMustache: 3,
+    pushString: 1,
+    truthyOrFallback: 1,
+    functionOrFallback: 1,
+    invokeProgram: 3,
+    invokePartial: 1,
+    push: 1,
+    assignToHash: 1,
+    pushStringParam: 1
+  };
+
+  Compiler.DISASSEMBLE_MAP = {};
+
+  for(var prop in Compiler.OPCODE_MAP) {
+    var value = Compiler.OPCODE_MAP[prop];
+    Compiler.DISASSEMBLE_MAP[value] = prop;
+  }
+
+  Compiler.multiParamSize = function(code) {
+    return Compiler.MULTI_PARAM_OPCODES[Compiler.DISASSEMBLE_MAP[code]];
+  };
+
+  Compiler.prototype = {
+    compiler: Compiler,
+
+    disassemble: function() {
+      var opcodes = this.opcodes, opcode, nextCode;
+      var out = [], str, name, value;
+
+      for(var i=0, l=opcodes.length; i<l; i++) {
+        opcode = opcodes[i];
+
+        if(opcode === 'DECLARE') {
+          name = opcodes[++i];
+          value = opcodes[++i];
+          out.push("DECLARE " + name + " = " + value);
+        } else {
+          str = Compiler.DISASSEMBLE_MAP[opcode];
+
+          var extraParams = Compiler.multiParamSize(opcode);
+          var codes = [];
+
+          for(var j=0; j<extraParams; j++) {
+            nextCode = opcodes[++i];
+
+            if(typeof nextCode === "string") {
+              nextCode = "\"" + nextCode.replace("\n", "\\n") + "\"";
+            }
+
+            codes.push(nextCode);
+          }
+
+          str = str + " " + codes.join(" ");
+
+          out.push(str);
+        }
+      }
+
+      return out.join("\n");
+    },
+
+    guid: 0,
+
+    compile: function(program, options) {
+      this.children = [];
+      this.depths = {list: []};
+      this.options = options;
+
+      // These changes will propagate to the other compiler components
+      var knownHelpers = this.options.knownHelpers;
+      this.options.knownHelpers = {
+        'helperMissing': true,
+        'blockHelperMissing': true,
+        'each': true,
+        'if': true,
+        'unless': true,
+        'with': true,
+        'log': true
+      };
+      if (knownHelpers) {
+        for (var name in knownHelpers) {
+          this.options.knownHelpers[name] = knownHelpers[name];
+        }
+      }
+
+      return this.program(program);
+    },
+
+    accept: function(node) {
+      return this[node.type](node);
+    },
+
+    program: function(program) {
+      var statements = program.statements, statement;
+      this.opcodes = [];
+
+      for(var i=0, l=statements.length; i<l; i++) {
+        statement = statements[i];
+        this[statement.type](statement);
+      }
+      this.isSimple = l === 1;
+
+      this.depths.list = this.depths.list.sort(function(a, b) {
+        return a - b;
+      });
+
+      return this;
+    },
+
+    compileProgram: function(program) {
+      var result = new this.compiler().compile(program, this.options);
+      var guid = this.guid++;
+
+      this.usePartial = this.usePartial || result.usePartial;
+
+      this.children[guid] = result;
+
+      for(var i=0, l=result.depths.list.length; i<l; i++) {
+        depth = result.depths.list[i];
+
+        if(depth < 2) { continue; }
+        else { this.addDepth(depth - 1); }
+      }
+
+      return guid;
+    },
+
+    block: function(block) {
+      var mustache = block.mustache;
+      var depth, child, inverse, inverseGuid;
+
+      var params = this.setupStackForMustache(mustache);
+
+      var programGuid = this.compileProgram(block.program);
+
+      if(block.program.inverse) {
+        inverseGuid = this.compileProgram(block.program.inverse);
+        this.declare('inverse', inverseGuid);
+      }
+
+      this.opcode('invokeProgram', programGuid, params.length, !!mustache.hash);
+      this.declare('inverse', null);
+      this.opcode('append');
+    },
+
+    inverse: function(block) {
+      var params = this.setupStackForMustache(block.mustache);
+
+      var programGuid = this.compileProgram(block.program);
+
+      this.declare('inverse', programGuid);
+
+      this.opcode('invokeProgram', null, params.length, !!block.mustache.hash);
+      this.declare('inverse', null);
+      this.opcode('append');
+    },
+
+    hash: function(hash) {
+      var pairs = hash.pairs, pair, val;
+
+      this.opcode('push', '{}');
+
+      for(var i=0, l=pairs.length; i<l; i++) {
+        pair = pairs[i];
+        val  = pair[1];
+
+        this.accept(val);
+        this.opcode('assignToHash', pair[0]);
+      }
+    },
+
+    partial: function(partial) {
+      var id = partial.id;
+      this.usePartial = true;
+
+      if(partial.context) {
+        this.ID(partial.context);
+      } else {
+        this.opcode('push', 'depth0');
+      }
+
+      this.opcode('invokePartial', id.original);
+      this.opcode('append');
+    },
+
+    content: function(content) {
+      this.opcode('appendContent', content.string);
+    },
+
+    mustache: function(mustache) {
+      var params = this.setupStackForMustache(mustache);
+
+      this.opcode('invokeMustache', params.length, mustache.id.original, !!mustache.hash);
+
+      if(mustache.escaped && !this.options.noEscape) {
+        this.opcode('appendEscaped');
+      } else {
+        this.opcode('append');
+      }
+    },
+
+    ID: function(id) {
+      this.addDepth(id.depth);
+
+      this.opcode('getContext', id.depth);
+
+      this.opcode('lookupWithHelpers', id.parts[0] || null, id.isScoped || false);
+
+      for(var i=1, l=id.parts.length; i<l; i++) {
+        this.opcode('lookup', id.parts[i]);
+      }
+    },
+
+    STRING: function(string) {
+      this.opcode('pushString', string.string);
+    },
+
+    INTEGER: function(integer) {
+      this.opcode('push', integer.integer);
+    },
+
+    BOOLEAN: function(bool) {
+      this.opcode('push', bool.bool);
+    },
+
+    comment: function() {},
+
+    // HELPERS
+    pushParams: function(params) {
+      var i = params.length, param;
+
+      while(i--) {
+        param = params[i];
+
+        if(this.options.stringParams) {
+          if(param.depth) {
+            this.addDepth(param.depth);
+          }
+
+          this.opcode('getContext', param.depth || 0);
+          this.opcode('pushStringParam', param.string);
+        } else {
+          this[param.type](param);
+        }
+      }
+    },
+
+    opcode: function(name, val1, val2, val3) {
+      this.opcodes.push(Compiler.OPCODE_MAP[name]);
+      if(val1 !== undefined) { this.opcodes.push(val1); }
+      if(val2 !== undefined) { this.opcodes.push(val2); }
+      if(val3 !== undefined) { this.opcodes.push(val3); }
+    },
+
+    declare: function(name, value) {
+      this.opcodes.push('DECLARE');
+      this.opcodes.push(name);
+      this.opcodes.push(value);
+    },
+
+    addDepth: function(depth) {
+      if(depth === 0) { return; }
+
+      if(!this.depths[depth]) {
+        this.depths[depth] = true;
+        this.depths.list.push(depth);
+      }
+    },
+
+    setupStackForMustache: function(mustache) {
+      var params = mustache.params;
+
+      this.pushParams(params);
+
+      if(mustache.hash) {
+        this.hash(mustache.hash);
+      }
+
+      this.ID(mustache.id);
+
+      return params;
+    }
+  };
+
+  JavaScriptCompiler.prototype = {
+    // PUBLIC API: You can override these methods in a subclass to provide
+    // alternative compiled forms for name lookup and buffering semantics
+    nameLookup: function(parent, name, type) {
+                       if (/^[0-9]+$/.test(name)) {
+        return parent + "[" + name + "]";
+      } else if (JavaScriptCompiler.isValidJavaScriptVariableName(name)) {
+               return parent + "." + name;
+                       }
+                       else {
+                               return parent + "['" + name + "']";
+      }
+    },
+
+    appendToBuffer: function(string) {
+      if (this.environment.isSimple) {
+        return "return " + string + ";";
+      } else {
+        return "buffer += " + string + ";";
+      }
+    },
+
+    initializeBuffer: function() {
+      return this.quotedString("");
+    },
+
+    namespace: "Handlebars",
+    // END PUBLIC API
+
+    compile: function(environment, options, context, asObject) {
+      this.environment = environment;
+      this.options = options || {};
+
+      this.name = this.environment.name;
+      this.isChild = !!context;
+      this.context = context || {
+        programs: [],
+        aliases: { self: 'this' },
+        registers: {list: []}
+      };
+
+      this.preamble();
+
+      this.stackSlot = 0;
+      this.stackVars = [];
+
+      this.compileChildren(environment, options);
+
+      var opcodes = environment.opcodes, opcode;
+
+      this.i = 0;
+
+      for(l=opcodes.length; this.i<l; this.i++) {
+        opcode = this.nextOpcode(0);
+
+        if(opcode[0] === 'DECLARE') {
+          this.i = this.i + 2;
+          this[opcode[1]] = opcode[2];
+        } else {
+          this.i = this.i + opcode[1].length;
+          this[opcode[0]].apply(this, opcode[1]);
+        }
+      }
+
+      return this.createFunctionContext(asObject);
+    },
+
+    nextOpcode: function(n) {
+      var opcodes = this.environment.opcodes, opcode = opcodes[this.i + n], name, val;
+      var extraParams, codes;
+
+      if(opcode === 'DECLARE') {
+        name = opcodes[this.i + 1];
+        val  = opcodes[this.i + 2];
+        return ['DECLARE', name, val];
+      } else {
+        name = Compiler.DISASSEMBLE_MAP[opcode];
+
+        extraParams = Compiler.multiParamSize(opcode);
+        codes = [];
+
+        for(var j=0; j<extraParams; j++) {
+          codes.push(opcodes[this.i + j + 1 + n]);
+        }
+
+        return [name, codes];
+      }
+    },
+
+    eat: function(opcode) {
+      this.i = this.i + opcode.length;
+    },
+
+    preamble: function() {
+      var out = [];
+
+      // this register will disambiguate helper lookup from finding a function in
+      // a context. This is necessary for mustache compatibility, which requires
+      // that context functions in blocks are evaluated by blockHelperMissing, and
+      // then proceed as if the resulting value was provided to blockHelperMissing.
+      this.useRegister('foundHelper');
+
+      if (!this.isChild) {
+        var namespace = this.namespace;
+        var copies = "helpers = helpers || " + namespace + ".helpers;";
+        if(this.environment.usePartial) { copies = copies + " partials = partials || " + namespace + ".partials;"; }
+        out.push(copies);
+      } else {
+        out.push('');
+      }
+
+      if (!this.environment.isSimple) {
+        out.push(", buffer = " + this.initializeBuffer());
+      } else {
+        out.push("");
+      }
+
+      // track the last context pushed into place to allow skipping the
+      // getContext opcode when it would be a noop
+      this.lastContext = 0;
+      this.source = out;
+    },
+
+    createFunctionContext: function(asObject) {
+      var locals = this.stackVars;
+      if (!this.isChild) {
+        locals = locals.concat(this.context.registers.list);
+      }
+
+      if(locals.length > 0) {
+        this.source[1] = this.source[1] + ", " + locals.join(", ");
+      }
+
+      // Generate minimizer alias mappings
+      if (!this.isChild) {
+        var aliases = []
+        for (var alias in this.context.aliases) {
+          this.source[1] = this.source[1] + ', ' + alias + '=' + this.context.aliases[alias];
+        }
+      }
+
+      if (this.source[1]) {
+        this.source[1] = "var " + this.source[1].substring(2) + ";";
+      }
+
+      // Merge children
+      if (!this.isChild) {
+        this.source[1] += '\n' + this.context.programs.join('\n') + '\n';
+      }
+
+      if (!this.environment.isSimple) {
+        this.source.push("return buffer;");
+      }
+
+      var params = this.isChild ? ["depth0", "data"] : ["Handlebars", "depth0", "helpers", "partials", "data"];
+
+      for(var i=0, l=this.environment.depths.list.length; i<l; i++) {
+        params.push("depth" + this.environment.depths.list[i]);
+      }
+
+      if (asObject) {
+        params.push(this.source.join("\n  "));
+
+        return Function.apply(this, params);
+      } else {
+        var functionSource = 'function ' + (this.name || '') + '(' + params.join(',') + ') {\n  ' + this.source.join("\n  ") + '}';
+        Handlebars.log(Handlebars.logger.DEBUG, functionSource + "\n\n");
+        return functionSource;
+      }
+    },
+
+    appendContent: function(content) {
+      this.source.push(this.appendToBuffer(this.quotedString(content)));
+    },
+
+    append: function() {
+      var local = this.popStack();
+      this.source.push("if(" + local + " || " + local + " === 0) { " + this.appendToBuffer(local) + " }");
+      if (this.environment.isSimple) {
+        this.source.push("else { " + this.appendToBuffer("''") + " }");
+      }
+    },
+
+    appendEscaped: function() {
+      var opcode = this.nextOpcode(1), extra = "";
+      this.context.aliases.escapeExpression = 'this.escapeExpression';
+
+      if(opcode[0] === 'appendContent') {
+        extra = " + " + this.quotedString(opcode[1][0]);
+        this.eat(opcode);
+      }
+
+      this.source.push(this.appendToBuffer("escapeExpression(" + this.popStack() + ")" + extra));
+    },
+
+    getContext: function(depth) {
+      if(this.lastContext !== depth) {
+        this.lastContext = depth;
+      }
+    },
+
+    lookupWithHelpers: function(name, isScoped) {
+      if(name) {
+        var topStack = this.nextStack();
+
+        this.usingKnownHelper = false;
+
+        var toPush;
+        if (!isScoped && this.options.knownHelpers[name]) {
+          toPush = topStack + " = " + this.nameLookup('helpers', name, 'helper');
+          this.usingKnownHelper = true;
+        } else if (isScoped || this.options.knownHelpersOnly) {
+          toPush = topStack + " = " + this.nameLookup('depth' + this.lastContext, name, 'context');
+        } else {
+          this.register('foundHelper', this.nameLookup('helpers', name, 'helper'));
+          toPush = topStack + " = foundHelper || " + this.nameLookup('depth' + this.lastContext, name, 'context');
+        }
+
+        toPush += ';';
+        this.source.push(toPush);
+      } else {
+        this.pushStack('depth' + this.lastContext);
+      }
+    },
+
+    lookup: function(name) {
+      var topStack = this.topStack();
+      this.source.push(topStack + " = (" + topStack + " === null || " + topStack + " === undefined || " + topStack + " === false ? " +
+                               topStack + " : " + this.nameLookup(topStack, name, 'context') + ");");
+    },
+
+    pushStringParam: function(string) {
+      this.pushStack('depth' + this.lastContext);
+      this.pushString(string);
+    },
+
+    pushString: function(string) {
+      this.pushStack(this.quotedString(string));
+    },
+
+    push: function(name) {
+      this.pushStack(name);
+    },
+
+    invokeMustache: function(paramSize, original, hasHash) {
+      this.populateParams(paramSize, this.quotedString(original), "{}", null, hasHash, function(nextStack, helperMissingString, id) {
+        if (!this.usingKnownHelper) {
+          this.context.aliases.helperMissing = 'helpers.helperMissing';
+          this.context.aliases.undef = 'void 0';
+          this.source.push("else if(" + id + "=== undef) { " + nextStack + " = helperMissing.call(" + helperMissingString + "); }");
+          if (nextStack !== id) {
+            this.source.push("else { " + nextStack + " = " + id + "; }");
+          }
+        }
+      });
+    },
+
+    invokeProgram: function(guid, paramSize, hasHash) {
+      var inverse = this.programExpression(this.inverse);
+      var mainProgram = this.programExpression(guid);
+
+      this.populateParams(paramSize, null, mainProgram, inverse, hasHash, function(nextStack, helperMissingString, id) {
+        if (!this.usingKnownHelper) {
+          this.context.aliases.blockHelperMissing = 'helpers.blockHelperMissing';
+          this.source.push("else { " + nextStack + " = blockHelperMissing.call(" + helperMissingString + "); }");
+        }
+      });
+    },
+
+    populateParams: function(paramSize, helperId, program, inverse, hasHash, fn) {
+      var needsRegister = hasHash || this.options.stringParams || inverse || this.options.data;
+      var id = this.popStack(), nextStack;
+      var params = [], param, stringParam, stringOptions;
+
+      if (needsRegister) {
+        this.register('tmp1', program);
+        stringOptions = 'tmp1';
+      } else {
+        stringOptions = '{ hash: {} }';
+      }
+
+      if (needsRegister) {
+        var hash = (hasHash ? this.popStack() : '{}');
+        this.source.push('tmp1.hash = ' + hash + ';');
+      }
+
+      if(this.options.stringParams) {
+        this.source.push('tmp1.contexts = [];');
+      }
+
+      for(var i=0; i<paramSize; i++) {
+        param = this.popStack();
+        params.push(param);
+
+        if(this.options.stringParams) {
+          this.source.push('tmp1.contexts.push(' + this.popStack() + ');');
+        }
+      }
+
+      if(inverse) {
+        this.source.push('tmp1.fn = tmp1;');
+        this.source.push('tmp1.inverse = ' + inverse + ';');
+      }
+
+      if(this.options.data) {
+        this.source.push('tmp1.data = data;');
+      }
+
+      params.push(stringOptions);
+
+      this.populateCall(params, id, helperId || id, fn, program !== '{}');
+    },
+
+    populateCall: function(params, id, helperId, fn, program) {
+      var paramString = ["depth0"].concat(params).join(", ");
+      var helperMissingString = ["depth0"].concat(helperId).concat(params).join(", ");
+
+      var nextStack = this.nextStack();
+
+      if (this.usingKnownHelper) {
+        this.source.push(nextStack + " = " + id + ".call(" + paramString + ");");
+      } else {
+        this.context.aliases.functionType = '"function"';
+        var condition = program ? "foundHelper && " : ""
+        this.source.push("if(" + condition + "typeof " + id + " === functionType) { " + nextStack + " = " + id + ".call(" + paramString + "); }");
+      }
+      fn.call(this, nextStack, helperMissingString, id);
+      this.usingKnownHelper = false;
+    },
+
+    invokePartial: function(context) {
+      params = [this.nameLookup('partials', context, 'partial'), "'" + context + "'", this.popStack(), "helpers", "partials"];
+
+      if (this.options.data) {
+        params.push("data");
+      }
+
+      this.pushStack("self.invokePartial(" + params.join(", ") + ");");
+    },
+
+    assignToHash: function(key) {
+      var value = this.popStack();
+      var hash = this.topStack();
+
+      this.source.push(hash + "['" + key + "'] = " + value + ";");
+    },
+
+    // HELPERS
+
+    compiler: JavaScriptCompiler,
+
+    compileChildren: function(environment, options) {
+      var children = environment.children, child, compiler;
+
+      for(var i=0, l=children.length; i<l; i++) {
+        child = children[i];
+        compiler = new this.compiler();
+
+        this.context.programs.push('');     // Placeholder to prevent name conflicts for nested children
+        var index = this.context.programs.length;
+        child.index = index;
+        child.name = 'program' + index;
+        this.context.programs[index] = compiler.compile(child, options, this.context);
+      }
+    },
+
+    programExpression: function(guid) {
+      if(guid == null) { return "self.noop"; }
+
+      var child = this.environment.children[guid],
+          depths = child.depths.list;
+      var programParams = [child.index, child.name, "data"];
+
+      for(var i=0, l = depths.length; i<l; i++) {
+        depth = depths[i];
+
+        if(depth === 1) { programParams.push("depth0"); }
+        else { programParams.push("depth" + (depth - 1)); }
+      }
+
+      if(depths.length === 0) {
+        return "self.program(" + programParams.join(", ") + ")";
+      } else {
+        programParams.shift();
+        return "self.programWithDepth(" + programParams.join(", ") + ")";
+      }
+    },
+
+    register: function(name, val) {
+      this.useRegister(name);
+      this.source.push(name + " = " + val + ";");
+    },
+
+    useRegister: function(name) {
+      if(!this.context.registers[name]) {
+        this.context.registers[name] = true;
+        this.context.registers.list.push(name);
+      }
+    },
+
+    pushStack: function(item) {
+      this.source.push(this.nextStack() + " = " + item + ";");
+      return "stack" + this.stackSlot;
+    },
+
+    nextStack: function() {
+      this.stackSlot++;
+      if(this.stackSlot > this.stackVars.length) { this.stackVars.push("stack" + this.stackSlot); }
+      return "stack" + this.stackSlot;
+    },
+
+    popStack: function() {
+      return "stack" + this.stackSlot--;
+    },
+
+    topStack: function() {
+      return "stack" + this.stackSlot;
+    },
+
+    quotedString: function(str) {
+      return '"' + str
+        .replace(/\\/g, '\\\\')
+        .replace(/"/g, '\\"')
+        .replace(/\n/g, '\\n')
+        .replace(/\r/g, '\\r') + '"';
+    }
+  };
+
+  var reservedWords = (
+    "break else new var" +
+    " case finally return void" +
+    " catch for switch while" +
+    " continue function this with" +
+    " default if throw" +
+    " delete in try" +
+    " do instanceof typeof" +
+    " abstract enum int short" +
+    " boolean export interface static" +
+    " byte extends long super" +
+    " char final native synchronized" +
+    " class float package throws" +
+    " const goto private transient" +
+    " debugger implements protected volatile" +
+    " double import public let yield"
+  ).split(" ");
+
+  var compilerWords = JavaScriptCompiler.RESERVED_WORDS = {};
+
+  for(var i=0, l=reservedWords.length; i<l; i++) {
+    compilerWords[reservedWords[i]] = true;
+  }
+
+       JavaScriptCompiler.isValidJavaScriptVariableName = function(name) {
+               if(!JavaScriptCompiler.RESERVED_WORDS[name] && /^[a-zA-Z_$][0-9a-zA-Z_$]+$/.test(name)) {
+                       return true;
+               }
+               return false;
+       }
+
+})(Handlebars.Compiler, Handlebars.JavaScriptCompiler);
+
+Handlebars.precompile = function(string, options) {
+  options = options || {};
+
+  var ast = Handlebars.parse(string);
+  var environment = new Handlebars.Compiler().compile(ast, options);
+  return new Handlebars.JavaScriptCompiler().compile(environment, options);
+};
+
+Handlebars.compile = function(string, options) {
+  options = options || {};
+
+  var compiled;
+  function compile() {
+    var ast = Handlebars.parse(string);
+    var environment = new Handlebars.Compiler().compile(ast, options);
+    var templateSpec = new Handlebars.JavaScriptCompiler().compile(environment, options, undefined, true);
+    return Handlebars.template(templateSpec);
+  }
+
+  // Template is only compiled on first use and cached after that point.
+  return function(context, options) {
+    if (!compiled) {
+      compiled = compile();
+    }
+    return compiled.call(this, context, options);
+  };
+};
+;
+// lib/handlebars/runtime.js
+Handlebars.VM = {
+  template: function(templateSpec) {
+    // Just add water
+    var container = {
+      escapeExpression: Handlebars.Utils.escapeExpression,
+      invokePartial: Handlebars.VM.invokePartial,
+      programs: [],
+      program: function(i, fn, data) {
+        var programWrapper = this.programs[i];
+        if(data) {
+          return Handlebars.VM.program(fn, data);
+        } else if(programWrapper) {
+          return programWrapper;
+        } else {
+          programWrapper = this.programs[i] = Handlebars.VM.program(fn);
+          return programWrapper;
+        }
+      },
+      programWithDepth: Handlebars.VM.programWithDepth,
+      noop: Handlebars.VM.noop
+    };
+
+    return function(context, options) {
+      options = options || {};
+      return templateSpec.call(container, Handlebars, context, options.helpers, options.partials, options.data);
+    };
+  },
+
+  programWithDepth: function(fn, data, $depth) {
+    var args = Array.prototype.slice.call(arguments, 2);
+
+    return function(context, options) {
+      options = options || {};
+
+      return fn.apply(this, [context, options.data || data].concat(args));
+    };
+  },
+  program: function(fn, data) {
+    return function(context, options) {
+      options = options || {};
+
+      return fn(context, options.data || data);
+    };
+  },
+  noop: function() { return ""; },
+  invokePartial: function(partial, name, context, helpers, partials, data) {
+    options = { helpers: helpers, partials: partials, data: data };
+
+    if(partial === undefined) {
+      throw new Handlebars.Exception("The partial " + name + " could not be found");
+    } else if(partial instanceof Function) {
+      return partial(context, options);
+    } else if (!Handlebars.compile) {
+      throw new Handlebars.Exception("The partial " + name + " could not be compiled when running in runtime-only mode");
+    } else {
+      partials[name] = Handlebars.compile(partial);
+      return partials[name](context, options);
+    }
+  }
+};
+
+Handlebars.template = Handlebars.VM.template;
+;
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/lib/jquery-1.7.2.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/lib/jquery-1.7.2.js
new file mode 100644 (file)
index 0000000..ceb681f
--- /dev/null
@@ -0,0 +1,9404 @@
+/*!
+ * jQuery JavaScript Library v1.7.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: Wed Mar 21 12:46:34 2012 -0700
+ */
+(function( window, undefined ) {
+
+// Use the correct document accordingly with window argument (sandbox)
+var document = window.document,
+       navigator = window.navigator,
+       location = window.location;
+var jQuery = (function() {
+
+// Define a local copy of jQuery
+var jQuery = function( selector, context ) {
+               // The jQuery object is actually just the init constructor 'enhanced'
+               return new jQuery.fn.init( selector, context, rootjQuery );
+       },
+
+       // Map over jQuery in case of overwrite
+       _jQuery = window.jQuery,
+
+       // Map over the $ in case of overwrite
+       _$ = window.$,
+
+       // A central reference to the root jQuery(document)
+       rootjQuery,
+
+       // A simple way to check for HTML strings or ID strings
+       // Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
+       quickExpr = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,
+
+       // Check if a string has a non-whitespace character in it
+       rnotwhite = /\S/,
+
+       // Used for trimming whitespace
+       trimLeft = /^\s+/,
+       trimRight = /\s+$/,
+
+       // Match a standalone tag
+       rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/,
+
+       // JSON RegExp
+       rvalidchars = /^[\],:{}\s]*$/,
+       rvalidescape = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,
+       rvalidtokens = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
+       rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g,
+
+       // Useragent RegExp
+       rwebkit = /(webkit)[ \/]([\w.]+)/,
+       ropera = /(opera)(?:.*version)?[ \/]([\w.]+)/,
+       rmsie = /(msie) ([\w.]+)/,
+       rmozilla = /(mozilla)(?:.*? rv:([\w.]+))?/,
+
+       // Matches dashed string for camelizing
+       rdashAlpha = /-([a-z]|[0-9])/ig,
+       rmsPrefix = /^-ms-/,
+
+       // Used by jQuery.camelCase as callback to replace()
+       fcamelCase = function( all, letter ) {
+               return ( letter + "" ).toUpperCase();
+       },
+
+       // Keep a UserAgent string for use with jQuery.browser
+       userAgent = navigator.userAgent,
+
+       // For matching the engine and version of the browser
+       browserMatch,
+
+       // The deferred used on DOM ready
+       readyList,
+
+       // The ready event handler
+       DOMContentLoaded,
+
+       // Save a reference to some core methods
+       toString = Object.prototype.toString,
+       hasOwn = Object.prototype.hasOwnProperty,
+       push = Array.prototype.push,
+       slice = Array.prototype.slice,
+       trim = String.prototype.trim,
+       indexOf = Array.prototype.indexOf,
+
+       // [[Class]] -> type pairs
+       class2type = {};
+
+jQuery.fn = jQuery.prototype = {
+       constructor: jQuery,
+       init: function( selector, context, rootjQuery ) {
+               var match, elem, ret, doc;
+
+               // Handle $(""), $(null), or $(undefined)
+               if ( !selector ) {
+                       return this;
+               }
+
+               // Handle $(DOMElement)
+               if ( selector.nodeType ) {
+                       this.context = this[0] = selector;
+                       this.length = 1;
+                       return this;
+               }
+
+               // The body element only exists once, optimize finding it
+               if ( selector === "body" && !context && document.body ) {
+                       this.context = document;
+                       this[0] = document.body;
+                       this.selector = selector;
+                       this.length = 1;
+                       return this;
+               }
+
+               // Handle HTML strings
+               if ( typeof selector === "string" ) {
+                       // Are we dealing with HTML string or an ID?
+                       if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) {
+                               // Assume that strings that start and end with <> are HTML and skip the regex check
+                               match = [ null, selector, null ];
+
+                       } else {
+                               match = quickExpr.exec( selector );
+                       }
+
+                       // Verify a match, and that no context was specified for #id
+                       if ( match && (match[1] || !context) ) {
+
+                               // HANDLE: $(html) -> $(array)
+                               if ( match[1] ) {
+                                       context = context instanceof jQuery ? context[0] : context;
+                                       doc = ( context ? context.ownerDocument || context : document );
+
+                                       // If a single string is passed in and it's a single tag
+                                       // just do a createElement and skip the rest
+                                       ret = rsingleTag.exec( selector );
+
+                                       if ( ret ) {
+                                               if ( jQuery.isPlainObject( context ) ) {
+                                                       selector = [ document.createElement( ret[1] ) ];
+                                                       jQuery.fn.attr.call( selector, context, true );
+
+                                               } else {
+                                                       selector = [ doc.createElement( ret[1] ) ];
+                                               }
+
+                                       } else {
+                                               ret = jQuery.buildFragment( [ match[1] ], [ doc ] );
+                                               selector = ( ret.cacheable ? jQuery.clone(ret.fragment) : ret.fragment ).childNodes;
+                                       }
+
+                                       return jQuery.merge( this, selector );
+
+                               // HANDLE: $("#id")
+                               } else {
+                                       elem = document.getElementById( match[2] );
+
+                                       // Check parentNode to catch when Blackberry 4.6 returns
+                                       // nodes that are no longer in the document #6963
+                                       if ( elem && elem.parentNode ) {
+                                               // Handle the case where IE and Opera return items
+                                               // by name instead of ID
+                                               if ( elem.id !== match[2] ) {
+                                                       return rootjQuery.find( selector );
+                                               }
+
+                                               // Otherwise, we inject the element directly into the jQuery object
+                                               this.length = 1;
+                                               this[0] = elem;
+                                       }
+
+                                       this.context = document;
+                                       this.selector = selector;
+                                       return this;
+                               }
+
+                       // HANDLE: $(expr, $(...))
+                       } else if ( !context || context.jquery ) {
+                               return ( context || rootjQuery ).find( selector );
+
+                       // HANDLE: $(expr, context)
+                       // (which is just equivalent to: $(context).find(expr)
+                       } else {
+                               return this.constructor( context ).find( selector );
+                       }
+
+               // HANDLE: $(function)
+               // Shortcut for document ready
+               } else if ( jQuery.isFunction( selector ) ) {
+                       return rootjQuery.ready( selector );
+               }
+
+               if ( selector.selector !== undefined ) {
+                       this.selector = selector.selector;
+                       this.context = selector.context;
+               }
+
+               return jQuery.makeArray( selector, this );
+       },
+
+       // Start with an empty selector
+       selector: "",
+
+       // The current version of jQuery being used
+       jquery: "1.7.2",
+
+       // The default length of a jQuery object is 0
+       length: 0,
+
+       // The number of elements contained in the matched element set
+       size: function() {
+               return this.length;
+       },
+
+       toArray: function() {
+               return slice.call( this, 0 );
+       },
+
+       // Get the Nth element in the matched element set OR
+       // Get the whole matched element set as a clean array
+       get: function( num ) {
+               return num == null ?
+
+                       // Return a 'clean' array
+                       this.toArray() :
+
+                       // Return just the object
+                       ( num < 0 ? this[ this.length + num ] : this[ num ] );
+       },
+
+       // Take an array of elements and push it onto the stack
+       // (returning the new matched element set)
+       pushStack: function( elems, name, selector ) {
+               // Build a new jQuery matched element set
+               var ret = this.constructor();
+
+               if ( jQuery.isArray( elems ) ) {
+                       push.apply( ret, elems );
+
+               } else {
+                       jQuery.merge( ret, elems );
+               }
+
+               // Add the old object onto the stack (as a reference)
+               ret.prevObject = this;
+
+               ret.context = this.context;
+
+               if ( name === "find" ) {
+                       ret.selector = this.selector + ( this.selector ? " " : "" ) + selector;
+               } else if ( name ) {
+                       ret.selector = this.selector + "." + name + "(" + selector + ")";
+               }
+
+               // Return the newly-formed element set
+               return ret;
+       },
+
+       // Execute a callback for every element in the matched set.
+       // (You can seed the arguments with an array of args, but this is
+       // only used internally.)
+       each: function( callback, args ) {
+               return jQuery.each( this, callback, args );
+       },
+
+       ready: function( fn ) {
+               // Attach the listeners
+               jQuery.bindReady();
+
+               // Add the callback
+               readyList.add( fn );
+
+               return this;
+       },
+
+       eq: function( i ) {
+               i = +i;
+               return i === -1 ?
+                       this.slice( i ) :
+                       this.slice( i, i + 1 );
+       },
+
+       first: function() {
+               return this.eq( 0 );
+       },
+
+       last: function() {
+               return this.eq( -1 );
+       },
+
+       slice: function() {
+               return this.pushStack( slice.apply( this, arguments ),
+                       "slice", slice.call(arguments).join(",") );
+       },
+
+       map: function( callback ) {
+               return this.pushStack( jQuery.map(this, function( elem, i ) {
+                       return callback.call( elem, i, elem );
+               }));
+       },
+
+       end: function() {
+               return this.prevObject || this.constructor(null);
+       },
+
+       // For internal use only.
+       // Behaves like an Array's method, not like a jQuery method.
+       push: push,
+       sort: [].sort,
+       splice: [].splice
+};
+
+// Give the init function the jQuery prototype for later instantiation
+jQuery.fn.init.prototype = jQuery.fn;
+
+jQuery.extend = jQuery.fn.extend = function() {
+       var options, name, src, copy, copyIsArray, clone,
+               target = arguments[0] || {},
+               i = 1,
+               length = arguments.length,
+               deep = false;
+
+       // Handle a deep copy situation
+       if ( typeof target === "boolean" ) {
+               deep = target;
+               target = arguments[1] || {};
+               // skip the boolean and the target
+               i = 2;
+       }
+
+       // Handle case when target is a string or something (possible in deep copy)
+       if ( typeof target !== "object" && !jQuery.isFunction(target) ) {
+               target = {};
+       }
+
+       // extend jQuery itself if only one argument is passed
+       if ( length === i ) {
+               target = this;
+               --i;
+       }
+
+       for ( ; i < length; i++ ) {
+               // Only deal with non-null/undefined values
+               if ( (options = arguments[ i ]) != null ) {
+                       // Extend the base object
+                       for ( name in options ) {
+                               src = target[ name ];
+                               copy = options[ name ];
+
+                               // Prevent never-ending loop
+                               if ( target === copy ) {
+                                       continue;
+                               }
+
+                               // Recurse if we're merging plain objects or arrays
+                               if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) {
+                                       if ( copyIsArray ) {
+                                               copyIsArray = false;
+                                               clone = src && jQuery.isArray(src) ? src : [];
+
+                                       } else {
+                                               clone = src && jQuery.isPlainObject(src) ? src : {};
+                                       }
+
+                                       // Never move original objects, clone them
+                                       target[ name ] = jQuery.extend( deep, clone, copy );
+
+                               // Don't bring in undefined values
+                               } else if ( copy !== undefined ) {
+                                       target[ name ] = copy;
+                               }
+                       }
+               }
+       }
+
+       // Return the modified object
+       return target;
+};
+
+jQuery.extend({
+       noConflict: function( deep ) {
+               if ( window.$ === jQuery ) {
+                       window.$ = _$;
+               }
+
+               if ( deep && window.jQuery === jQuery ) {
+                       window.jQuery = _jQuery;
+               }
+
+               return jQuery;
+       },
+
+       // Is the DOM ready to be used? Set to true once it occurs.
+       isReady: false,
+
+       // A counter to track how many items to wait for before
+       // the ready event fires. See #6781
+       readyWait: 1,
+
+       // Hold (or release) the ready event
+       holdReady: function( hold ) {
+               if ( hold ) {
+                       jQuery.readyWait++;
+               } else {
+                       jQuery.ready( true );
+               }
+       },
+
+       // Handle when the DOM is ready
+       ready: function( wait ) {
+               // Either a released hold or an DOMready/load event and not yet ready
+               if ( (wait === true && !--jQuery.readyWait) || (wait !== true && !jQuery.isReady) ) {
+                       // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
+                       if ( !document.body ) {
+                               return setTimeout( jQuery.ready, 1 );
+                       }
+
+                       // Remember that the DOM is ready
+                       jQuery.isReady = true;
+
+                       // If a normal DOM Ready event fired, decrement, and wait if need be
+                       if ( wait !== true && --jQuery.readyWait > 0 ) {
+                               return;
+                       }
+
+                       // If there are functions bound, to execute
+                       readyList.fireWith( document, [ jQuery ] );
+
+                       // Trigger any bound ready events
+                       if ( jQuery.fn.trigger ) {
+                               jQuery( document ).trigger( "ready" ).off( "ready" );
+                       }
+               }
+       },
+
+       bindReady: function() {
+               if ( readyList ) {
+                       return;
+               }
+
+               readyList = jQuery.Callbacks( "once memory" );
+
+               // Catch cases where $(document).ready() is called after the
+               // browser event has already occurred.
+               if ( document.readyState === "complete" ) {
+                       // Handle it asynchronously to allow scripts the opportunity to delay ready
+                       return setTimeout( jQuery.ready, 1 );
+               }
+
+               // Mozilla, Opera and webkit nightlies currently support this event
+               if ( document.addEventListener ) {
+                       // Use the handy event callback
+                       document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false );
+
+                       // A fallback to window.onload, that will always work
+                       window.addEventListener( "load", jQuery.ready, false );
+
+               // If IE event model is used
+               } else if ( document.attachEvent ) {
+                       // ensure firing before onload,
+                       // maybe late but safe also for iframes
+                       document.attachEvent( "onreadystatechange", DOMContentLoaded );
+
+                       // A fallback to window.onload, that will always work
+                       window.attachEvent( "onload", jQuery.ready );
+
+                       // If IE and not a frame
+                       // continually check to see if the document is ready
+                       var toplevel = false;
+
+                       try {
+                               toplevel = window.frameElement == null;
+                       } catch(e) {}
+
+                       if ( document.documentElement.doScroll && toplevel ) {
+                               doScrollCheck();
+                       }
+               }
+       },
+
+       // See test/unit/core.js for details concerning isFunction.
+       // Since version 1.3, DOM methods and functions like alert
+       // aren't supported. They return false on IE (#2968).
+       isFunction: function( obj ) {
+               return jQuery.type(obj) === "function";
+       },
+
+       isArray: Array.isArray || function( obj ) {
+               return jQuery.type(obj) === "array";
+       },
+
+       isWindow: function( obj ) {
+               return obj != null && obj == obj.window;
+       },
+
+       isNumeric: function( obj ) {
+               return !isNaN( parseFloat(obj) ) && isFinite( obj );
+       },
+
+       type: function( obj ) {
+               return obj == null ?
+                       String( obj ) :
+                       class2type[ toString.call(obj) ] || "object";
+       },
+
+       isPlainObject: function( obj ) {
+               // Must be an Object.
+               // Because of IE, we also have to check the presence of the constructor property.
+               // Make sure that DOM nodes and window objects don't pass through, as well
+               if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {
+                       return false;
+               }
+
+               try {
+                       // Not own constructor property must be Object
+                       if ( obj.constructor &&
+                               !hasOwn.call(obj, "constructor") &&
+                               !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) {
+                               return false;
+                       }
+               } catch ( e ) {
+                       // IE8,9 Will throw exceptions on certain host objects #9897
+                       return false;
+               }
+
+               // Own properties are enumerated firstly, so to speed up,
+               // if last one is own, then all properties are own.
+
+               var key;
+               for ( key in obj ) {}
+
+               return key === undefined || hasOwn.call( obj, key );
+       },
+
+       isEmptyObject: function( obj ) {
+               for ( var name in obj ) {
+                       return false;
+               }
+               return true;
+       },
+
+       error: function( msg ) {
+               throw new Error( msg );
+       },
+
+       parseJSON: function( data ) {
+               if ( typeof data !== "string" || !data ) {
+                       return null;
+               }
+
+               // Make sure leading/trailing whitespace is removed (IE can't handle it)
+               data = jQuery.trim( data );
+
+               // Attempt to parse using the native JSON parser first
+               if ( window.JSON && window.JSON.parse ) {
+                       return window.JSON.parse( data );
+               }
+
+               // Make sure the incoming data is actual JSON
+               // Logic borrowed from http://json.org/json2.js
+               if ( rvalidchars.test( data.replace( rvalidescape, "@" )
+                       .replace( rvalidtokens, "]" )
+                       .replace( rvalidbraces, "")) ) {
+
+                       return ( new Function( "return " + data ) )();
+
+               }
+               jQuery.error( "Invalid JSON: " + data );
+       },
+
+       // Cross-browser xml parsing
+       parseXML: function( data ) {
+               if ( typeof data !== "string" || !data ) {
+                       return null;
+               }
+               var xml, tmp;
+               try {
+                       if ( window.DOMParser ) { // Standard
+                               tmp = new DOMParser();
+                               xml = tmp.parseFromString( data , "text/xml" );
+                       } else { // IE
+                               xml = new ActiveXObject( "Microsoft.XMLDOM" );
+                               xml.async = "false";
+                               xml.loadXML( data );
+                       }
+               } catch( e ) {
+                       xml = undefined;
+               }
+               if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) {
+                       jQuery.error( "Invalid XML: " + data );
+               }
+               return xml;
+       },
+
+       noop: function() {},
+
+       // Evaluates a script in a global context
+       // Workarounds based on findings by Jim Driscoll
+       // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context
+       globalEval: function( data ) {
+               if ( data && rnotwhite.test( data ) ) {
+                       // We use execScript on Internet Explorer
+                       // We use an anonymous function so that context is window
+                       // rather than jQuery in Firefox
+                       ( window.execScript || function( data ) {
+                               window[ "eval" ].call( window, data );
+                       } )( data );
+               }
+       },
+
+       // Convert dashed to camelCase; used by the css and data modules
+       // Microsoft forgot to hump their vendor prefix (#9572)
+       camelCase: function( string ) {
+               return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
+       },
+
+       nodeName: function( elem, name ) {
+               return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase();
+       },
+
+       // args is for internal usage only
+       each: function( object, callback, args ) {
+               var name, i = 0,
+                       length = object.length,
+                       isObj = length === undefined || jQuery.isFunction( object );
+
+               if ( args ) {
+                       if ( isObj ) {
+                               for ( name in object ) {
+                                       if ( callback.apply( object[ name ], args ) === false ) {
+                                               break;
+                                       }
+                               }
+                       } else {
+                               for ( ; i < length; ) {
+                                       if ( callback.apply( object[ i++ ], args ) === false ) {
+                                               break;
+                                       }
+                               }
+                       }
+
+               // A special, fast, case for the most common use of each
+               } else {
+                       if ( isObj ) {
+                               for ( name in object ) {
+                                       if ( callback.call( object[ name ], name, object[ name ] ) === false ) {
+                                               break;
+                                       }
+                               }
+                       } else {
+                               for ( ; i < length; ) {
+                                       if ( callback.call( object[ i ], i, object[ i++ ] ) === false ) {
+                                               break;
+                                       }
+                               }
+                       }
+               }
+
+               return object;
+       },
+
+       // Use native String.trim function wherever possible
+       trim: trim ?
+               function( text ) {
+                       return text == null ?
+                               "" :
+                               trim.call( text );
+               } :
+
+               // Otherwise use our own trimming functionality
+               function( text ) {
+                       return text == null ?
+                               "" :
+                               text.toString().replace( trimLeft, "" ).replace( trimRight, "" );
+               },
+
+       // results is for internal usage only
+       makeArray: function( array, results ) {
+               var ret = results || [];
+
+               if ( array != null ) {
+                       // The window, strings (and functions) also have 'length'
+                       // Tweaked logic slightly to handle Blackberry 4.7 RegExp issues #6930
+                       var type = jQuery.type( array );
+
+                       if ( array.length == null || type === "string" || type === "function" || type === "regexp" || jQuery.isWindow( array ) ) {
+                               push.call( ret, array );
+                       } else {
+                               jQuery.merge( ret, array );
+                       }
+               }
+
+               return ret;
+       },
+
+       inArray: function( elem, array, i ) {
+               var len;
+
+               if ( array ) {
+                       if ( indexOf ) {
+                               return indexOf.call( array, elem, i );
+                       }
+
+                       len = array.length;
+                       i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0;
+
+                       for ( ; i < len; i++ ) {
+                               // Skip accessing in sparse arrays
+                               if ( i in array && array[ i ] === elem ) {
+                                       return i;
+                               }
+                       }
+               }
+
+               return -1;
+       },
+
+       merge: function( first, second ) {
+               var i = first.length,
+                       j = 0;
+
+               if ( typeof second.length === "number" ) {
+                       for ( var l = second.length; j < l; j++ ) {
+                               first[ i++ ] = second[ j ];
+                       }
+
+               } else {
+                       while ( second[j] !== undefined ) {
+                               first[ i++ ] = second[ j++ ];
+                       }
+               }
+
+               first.length = i;
+
+               return first;
+       },
+
+       grep: function( elems, callback, inv ) {
+               var ret = [], retVal;
+               inv = !!inv;
+
+               // Go through the array, only saving the items
+               // that pass the validator function
+               for ( var i = 0, length = elems.length; i < length; i++ ) {
+                       retVal = !!callback( elems[ i ], i );
+                       if ( inv !== retVal ) {
+                               ret.push( elems[ i ] );
+                       }
+               }
+
+               return ret;
+       },
+
+       // arg is for internal usage only
+       map: function( elems, callback, arg ) {
+               var value, key, ret = [],
+                       i = 0,
+                       length = elems.length,
+                       // jquery objects are treated as arrays
+                       isArray = elems instanceof jQuery || length !== undefined && typeof length === "number" && ( ( length > 0 && elems[ 0 ] && elems[ length -1 ] ) || length === 0 || jQuery.isArray( elems ) ) ;
+
+               // Go through the array, translating each of the items to their
+               if ( isArray ) {
+                       for ( ; i < length; i++ ) {
+                               value = callback( elems[ i ], i, arg );
+
+                               if ( value != null ) {
+                                       ret[ ret.length ] = value;
+                               }
+                       }
+
+               // Go through every key on the object,
+               } else {
+                       for ( key in elems ) {
+                               value = callback( elems[ key ], key, arg );
+
+                               if ( value != null ) {
+                                       ret[ ret.length ] = value;
+                               }
+                       }
+               }
+
+               // Flatten any nested arrays
+               return ret.concat.apply( [], ret );
+       },
+
+       // A global GUID counter for objects
+       guid: 1,
+
+       // Bind a function to a context, optionally partially applying any
+       // arguments.
+       proxy: function( fn, context ) {
+               if ( typeof context === "string" ) {
+                       var tmp = fn[ context ];
+                       context = fn;
+                       fn = tmp;
+               }
+
+               // Quick check to determine if target is callable, in the spec
+               // this throws a TypeError, but we will just return undefined.
+               if ( !jQuery.isFunction( fn ) ) {
+                       return undefined;
+               }
+
+               // Simulated bind
+               var args = slice.call( arguments, 2 ),
+                       proxy = function() {
+                               return fn.apply( context, args.concat( slice.call( arguments ) ) );
+                       };
+
+               // Set the guid of unique handler to the same of original handler, so it can be removed
+               proxy.guid = fn.guid = fn.guid || proxy.guid || jQuery.guid++;
+
+               return proxy;
+       },
+
+       // Mutifunctional method to get and set values to a collection
+       // The value/s can optionally be executed if it's a function
+       access: function( elems, fn, key, value, chainable, emptyGet, pass ) {
+               var exec,
+                       bulk = key == null,
+                       i = 0,
+                       length = elems.length;
+
+               // Sets many values
+               if ( key && typeof key === "object" ) {
+                       for ( i in key ) {
+                               jQuery.access( elems, fn, i, key[i], 1, emptyGet, value );
+                       }
+                       chainable = 1;
+
+               // Sets one value
+               } else if ( value !== undefined ) {
+                       // Optionally, function values get executed if exec is true
+                       exec = pass === undefined && jQuery.isFunction( value );
+
+                       if ( bulk ) {
+                               // Bulk operations only iterate when executing function values
+                               if ( exec ) {
+                                       exec = fn;
+                                       fn = function( elem, key, value ) {
+                                               return exec.call( jQuery( elem ), value );
+                                       };
+
+                               // Otherwise they run against the entire set
+                               } else {
+                                       fn.call( elems, value );
+                                       fn = null;
+                               }
+                       }
+
+                       if ( fn ) {
+                               for (; i < length; i++ ) {
+                                       fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass );
+                               }
+                       }
+
+                       chainable = 1;
+               }
+
+               return chainable ?
+                       elems :
+
+                       // Gets
+                       bulk ?
+                               fn.call( elems ) :
+                               length ? fn( elems[0], key ) : emptyGet;
+       },
+
+       now: function() {
+               return ( new Date() ).getTime();
+       },
+
+       // Use of jQuery.browser is frowned upon.
+       // More details: http://docs.jquery.com/Utilities/jQuery.browser
+       uaMatch: function( ua ) {
+               ua = ua.toLowerCase();
+
+               var match = rwebkit.exec( ua ) ||
+                       ropera.exec( ua ) ||
+                       rmsie.exec( ua ) ||
+                       ua.indexOf("compatible") < 0 && rmozilla.exec( ua ) ||
+                       [];
+
+               return { browser: match[1] || "", version: match[2] || "0" };
+       },
+
+       sub: function() {
+               function jQuerySub( selector, context ) {
+                       return new jQuerySub.fn.init( selector, context );
+               }
+               jQuery.extend( true, jQuerySub, this );
+               jQuerySub.superclass = this;
+               jQuerySub.fn = jQuerySub.prototype = this();
+               jQuerySub.fn.constructor = jQuerySub;
+               jQuerySub.sub = this.sub;
+               jQuerySub.fn.init = function init( selector, context ) {
+                       if ( context && context instanceof jQuery && !(context instanceof jQuerySub) ) {
+                               context = jQuerySub( context );
+                       }
+
+                       return jQuery.fn.init.call( this, selector, context, rootjQuerySub );
+               };
+               jQuerySub.fn.init.prototype = jQuerySub.fn;
+               var rootjQuerySub = jQuerySub(document);
+               return jQuerySub;
+       },
+
+       browser: {}
+});
+
+// Populate the class2type map
+jQuery.each("Boolean Number String Function Array Date RegExp Object".split(" "), function(i, name) {
+       class2type[ "[object " + name + "]" ] = name.toLowerCase();
+});
+
+browserMatch = jQuery.uaMatch( userAgent );
+if ( browserMatch.browser ) {
+       jQuery.browser[ browserMatch.browser ] = true;
+       jQuery.browser.version = browserMatch.version;
+}
+
+// Deprecated, use jQuery.browser.webkit instead
+if ( jQuery.browser.webkit ) {
+       jQuery.browser.safari = true;
+}
+
+// IE doesn't match non-breaking spaces with \s
+if ( rnotwhite.test( "\xA0" ) ) {
+       trimLeft = /^[\s\xA0]+/;
+       trimRight = /[\s\xA0]+$/;
+}
+
+// All jQuery objects should point back to these
+rootjQuery = jQuery(document);
+
+// Cleanup functions for the document ready method
+if ( document.addEventListener ) {
+       DOMContentLoaded = function() {
+               document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false );
+               jQuery.ready();
+       };
+
+} else if ( document.attachEvent ) {
+       DOMContentLoaded = function() {
+               // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
+               if ( document.readyState === "complete" ) {
+                       document.detachEvent( "onreadystatechange", DOMContentLoaded );
+                       jQuery.ready();
+               }
+       };
+}
+
+// The DOM ready check for Internet Explorer
+function doScrollCheck() {
+       if ( jQuery.isReady ) {
+               return;
+       }
+
+       try {
+               // If IE is used, use the trick by Diego Perini
+               // http://javascript.nwbox.com/IEContentLoaded/
+               document.documentElement.doScroll("left");
+       } catch(e) {
+               setTimeout( doScrollCheck, 1 );
+               return;
+       }
+
+       // and execute any waiting functions
+       jQuery.ready();
+}
+
+return jQuery;
+
+})();
+
+
+// String to Object flags format cache
+var flagsCache = {};
+
+// Convert String-formatted flags into Object-formatted ones and store in cache
+function createFlags( flags ) {
+       var object = flagsCache[ flags ] = {},
+               i, length;
+       flags = flags.split( /\s+/ );
+       for ( i = 0, length = flags.length; i < length; i++ ) {
+               object[ flags[i] ] = true;
+       }
+       return object;
+}
+
+/*
+ * Create a callback list using the following parameters:
+ *
+ *     flags:  an optional list of space-separated flags that will change how
+ *                     the callback list behaves
+ *
+ * By default a callback list will act like an event callback list and can be
+ * "fired" multiple times.
+ *
+ * Possible flags:
+ *
+ *     once:                   will ensure the callback list can only be fired once (like a Deferred)
+ *
+ *     memory:                 will keep track of previous values and will call any callback added
+ *                                     after the list has been fired right away with the latest "memorized"
+ *                                     values (like a Deferred)
+ *
+ *     unique:                 will ensure a callback can only be added once (no duplicate in the list)
+ *
+ *     stopOnFalse:    interrupt callings when a callback returns false
+ *
+ */
+jQuery.Callbacks = function( flags ) {
+
+       // Convert flags from String-formatted to Object-formatted
+       // (we check in cache first)
+       flags = flags ? ( flagsCache[ flags ] || createFlags( flags ) ) : {};
+
+       var // Actual callback list
+               list = [],
+               // Stack of fire calls for repeatable lists
+               stack = [],
+               // Last fire value (for non-forgettable lists)
+               memory,
+               // Flag to know if list was already fired
+               fired,
+               // Flag to know if list is currently firing
+               firing,
+               // First callback to fire (used internally by add and fireWith)
+               firingStart,
+               // End of the loop when firing
+               firingLength,
+               // Index of currently firing callback (modified by remove if needed)
+               firingIndex,
+               // Add one or several callbacks to the list
+               add = function( args ) {
+                       var i,
+                               length,
+                               elem,
+                               type,
+                               actual;
+                       for ( i = 0, length = args.length; i < length; i++ ) {
+                               elem = args[ i ];
+                               type = jQuery.type( elem );
+                               if ( type === "array" ) {
+                                       // Inspect recursively
+                                       add( elem );
+                               } else if ( type === "function" ) {
+                                       // Add if not in unique mode and callback is not in
+                                       if ( !flags.unique || !self.has( elem ) ) {
+                                               list.push( elem );
+                                       }
+                               }
+                       }
+               },
+               // Fire callbacks
+               fire = function( context, args ) {
+                       args = args || [];
+                       memory = !flags.memory || [ context, args ];
+                       fired = true;
+                       firing = true;
+                       firingIndex = firingStart || 0;
+                       firingStart = 0;
+                       firingLength = list.length;
+                       for ( ; list && firingIndex < firingLength; firingIndex++ ) {
+                               if ( list[ firingIndex ].apply( context, args ) === false && flags.stopOnFalse ) {
+                                       memory = true; // Mark as halted
+                                       break;
+                               }
+                       }
+                       firing = false;
+                       if ( list ) {
+                               if ( !flags.once ) {
+                                       if ( stack && stack.length ) {
+                                               memory = stack.shift();
+                                               self.fireWith( memory[ 0 ], memory[ 1 ] );
+                                       }
+                               } else if ( memory === true ) {
+                                       self.disable();
+                               } else {
+                                       list = [];
+                               }
+                       }
+               },
+               // Actual Callbacks object
+               self = {
+                       // Add a callback or a collection of callbacks to the list
+                       add: function() {
+                               if ( list ) {
+                                       var length = list.length;
+                                       add( arguments );
+                                       // Do we need to add the callbacks to the
+                                       // current firing batch?
+                                       if ( firing ) {
+                                               firingLength = list.length;
+                                       // With memory, if we're not firing then
+                                       // we should call right away, unless previous
+                                       // firing was halted (stopOnFalse)
+                                       } else if ( memory && memory !== true ) {
+                                               firingStart = length;
+                                               fire( memory[ 0 ], memory[ 1 ] );
+                                       }
+                               }
+                               return this;
+                       },
+                       // Remove a callback from the list
+                       remove: function() {
+                               if ( list ) {
+                                       var args = arguments,
+                                               argIndex = 0,
+                                               argLength = args.length;
+                                       for ( ; argIndex < argLength ; argIndex++ ) {
+                                               for ( var i = 0; i < list.length; i++ ) {
+                                                       if ( args[ argIndex ] === list[ i ] ) {
+                                                               // Handle firingIndex and firingLength
+                                                               if ( firing ) {
+                                                                       if ( i <= firingLength ) {
+                                                                               firingLength--;
+                                                                               if ( i <= firingIndex ) {
+                                                                                       firingIndex--;
+                                                                               }
+                                                                       }
+                                                               }
+                                                               // Remove the element
+                                                               list.splice( i--, 1 );
+                                                               // If we have some unicity property then
+                                                               // we only need to do this once
+                                                               if ( flags.unique ) {
+                                                                       break;
+                                                               }
+                                                       }
+                                               }
+                                       }
+                               }
+                               return this;
+                       },
+                       // Control if a given callback is in the list
+                       has: function( fn ) {
+                               if ( list ) {
+                                       var i = 0,
+                                               length = list.length;
+                                       for ( ; i < length; i++ ) {
+                                               if ( fn === list[ i ] ) {
+                                                       return true;
+                                               }
+                                       }
+                               }
+                               return false;
+                       },
+                       // Remove all callbacks from the list
+                       empty: function() {
+                               list = [];
+                               return this;
+                       },
+                       // Have the list do nothing anymore
+                       disable: function() {
+                               list = stack = memory = undefined;
+                               return this;
+                       },
+                       // Is it disabled?
+                       disabled: function() {
+                               return !list;
+                       },
+                       // Lock the list in its current state
+                       lock: function() {
+                               stack = undefined;
+                               if ( !memory || memory === true ) {
+                                       self.disable();
+                               }
+                               return this;
+                       },
+                       // Is it locked?
+                       locked: function() {
+                               return !stack;
+                       },
+                       // Call all callbacks with the given context and arguments
+                       fireWith: function( context, args ) {
+                               if ( stack ) {
+                                       if ( firing ) {
+                                               if ( !flags.once ) {
+                                                       stack.push( [ context, args ] );
+                                               }
+                                       } else if ( !( flags.once && memory ) ) {
+                                               fire( context, args );
+                                       }
+                               }
+                               return this;
+                       },
+                       // Call all the callbacks with the given arguments
+                       fire: function() {
+                               self.fireWith( this, arguments );
+                               return this;
+                       },
+                       // To know if the callbacks have already been called at least once
+                       fired: function() {
+                               return !!fired;
+                       }
+               };
+
+       return self;
+};
+
+
+
+
+var // Static reference to slice
+       sliceDeferred = [].slice;
+
+jQuery.extend({
+
+       Deferred: function( func ) {
+               var doneList = jQuery.Callbacks( "once memory" ),
+                       failList = jQuery.Callbacks( "once memory" ),
+                       progressList = jQuery.Callbacks( "memory" ),
+                       state = "pending",
+                       lists = {
+                               resolve: doneList,
+                               reject: failList,
+                               notify: progressList
+                       },
+                       promise = {
+                               done: doneList.add,
+                               fail: failList.add,
+                               progress: progressList.add,
+
+                               state: function() {
+                                       return state;
+                               },
+
+                               // Deprecated
+                               isResolved: doneList.fired,
+                               isRejected: failList.fired,
+
+                               then: function( doneCallbacks, failCallbacks, progressCallbacks ) {
+                                       deferred.done( doneCallbacks ).fail( failCallbacks ).progress( progressCallbacks );
+                                       return this;
+                               },
+                               always: function() {
+                                       deferred.done.apply( deferred, arguments ).fail.apply( deferred, arguments );
+                                       return this;
+                               },
+                               pipe: function( fnDone, fnFail, fnProgress ) {
+                                       return jQuery.Deferred(function( newDefer ) {
+                                               jQuery.each( {
+                                                       done: [ fnDone, "resolve" ],
+                                                       fail: [ fnFail, "reject" ],
+                                                       progress: [ fnProgress, "notify" ]
+                                               }, function( handler, data ) {
+                                                       var fn = data[ 0 ],
+                                                               action = data[ 1 ],
+                                                               returned;
+                                                       if ( jQuery.isFunction( fn ) ) {
+                                                               deferred[ handler ](function() {
+                                                                       returned = fn.apply( this, arguments );
+                                                                       if ( returned && jQuery.isFunction( returned.promise ) ) {
+                                                                               returned.promise().then( newDefer.resolve, newDefer.reject, newDefer.notify );
+                                                                       } else {
+                                                                               newDefer[ action + "With" ]( this === deferred ? newDefer : this, [ returned ] );
+                                                                       }
+                                                               });
+                                                       } else {
+                                                               deferred[ handler ]( newDefer[ action ] );
+                                                       }
+                                               });
+                                       }).promise();
+                               },
+                               // Get a promise for this deferred
+                               // If obj is provided, the promise aspect is added to the object
+                               promise: function( obj ) {
+                                       if ( obj == null ) {
+                                               obj = promise;
+                                       } else {
+                                               for ( var key in promise ) {
+                                                       obj[ key ] = promise[ key ];
+                                               }
+                                       }
+                                       return obj;
+                               }
+                       },
+                       deferred = promise.promise({}),
+                       key;
+
+               for ( key in lists ) {
+                       deferred[ key ] = lists[ key ].fire;
+                       deferred[ key + "With" ] = lists[ key ].fireWith;
+               }
+
+               // Handle state
+               deferred.done( function() {
+                       state = "resolved";
+               }, failList.disable, progressList.lock ).fail( function() {
+                       state = "rejected";
+               }, doneList.disable, progressList.lock );
+
+               // Call given func if any
+               if ( func ) {
+                       func.call( deferred, deferred );
+               }
+
+               // All done!
+               return deferred;
+       },
+
+       // Deferred helper
+       when: function( firstParam ) {
+               var args = sliceDeferred.call( arguments, 0 ),
+                       i = 0,
+                       length = args.length,
+                       pValues = new Array( length ),
+                       count = length,
+                       pCount = length,
+                       deferred = length <= 1 && firstParam && jQuery.isFunction( firstParam.promise ) ?
+                               firstParam :
+                               jQuery.Deferred(),
+                       promise = deferred.promise();
+               function resolveFunc( i ) {
+                       return function( value ) {
+                               args[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value;
+                               if ( !( --count ) ) {
+                                       deferred.resolveWith( deferred, args );
+                               }
+                       };
+               }
+               function progressFunc( i ) {
+                       return function( value ) {
+                               pValues[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value;
+                               deferred.notifyWith( promise, pValues );
+                       };
+               }
+               if ( length > 1 ) {
+                       for ( ; i < length; i++ ) {
+                               if ( args[ i ] && args[ i ].promise && jQuery.isFunction( args[ i ].promise ) ) {
+                                       args[ i ].promise().then( resolveFunc(i), deferred.reject, progressFunc(i) );
+                               } else {
+                                       --count;
+                               }
+                       }
+                       if ( !count ) {
+                               deferred.resolveWith( deferred, args );
+                       }
+               } else if ( deferred !== firstParam ) {
+                       deferred.resolveWith( deferred, length ? [ firstParam ] : [] );
+               }
+               return promise;
+       }
+});
+
+
+
+
+jQuery.support = (function() {
+
+       var support,
+               all,
+               a,
+               select,
+               opt,
+               input,
+               fragment,
+               tds,
+               events,
+               eventName,
+               i,
+               isSupported,
+               div = document.createElement( "div" ),
+               documentElement = document.documentElement;
+
+       // Preliminary tests
+       div.setAttribute("className", "t");
+       div.innerHTML = "   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
+
+       all = div.getElementsByTagName( "*" );
+       a = div.getElementsByTagName( "a" )[ 0 ];
+
+       // Can't get basic test support
+       if ( !all || !all.length || !a ) {
+               return {};
+       }
+
+       // First batch of supports tests
+       select = document.createElement( "select" );
+       opt = select.appendChild( document.createElement("option") );
+       input = div.getElementsByTagName( "input" )[ 0 ];
+
+       support = {
+               // IE strips leading whitespace when .innerHTML is used
+               leadingWhitespace: ( div.firstChild.nodeType === 3 ),
+
+               // Make sure that tbody elements aren't automatically inserted
+               // IE will insert them into empty tables
+               tbody: !div.getElementsByTagName("tbody").length,
+
+               // Make sure that link elements get serialized correctly by innerHTML
+               // This requires a wrapper element in IE
+               htmlSerialize: !!div.getElementsByTagName("link").length,
+
+               // Get the style information from getAttribute
+               // (IE uses .cssText instead)
+               style: /top/.test( a.getAttribute("style") ),
+
+               // Make sure that URLs aren't manipulated
+               // (IE normalizes it by default)
+               hrefNormalized: ( a.getAttribute("href") === "/a" ),
+
+               // Make sure that element opacity exists
+               // (IE uses filter instead)
+               // Use a regex to work around a WebKit issue. See #5145
+               opacity: /^0.55/.test( a.style.opacity ),
+
+               // Verify style float existence
+               // (IE uses styleFloat instead of cssFloat)
+               cssFloat: !!a.style.cssFloat,
+
+               // Make sure that if no value is specified for a checkbox
+               // that it defaults to "on".
+               // (WebKit defaults to "" instead)
+               checkOn: ( input.value === "on" ),
+
+               // Make sure that a selected-by-default option has a working selected property.
+               // (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
+               optSelected: opt.selected,
+
+               // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7)
+               getSetAttribute: div.className !== "t",
+
+               // Tests for enctype support on a form(#6743)
+               enctype: !!document.createElement("form").enctype,
+
+               // Makes sure cloning an html5 element does not cause problems
+               // Where outerHTML is undefined, this still works
+               html5Clone: document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav></:nav>",
+
+               // Will be defined later
+               submitBubbles: true,
+               changeBubbles: true,
+               focusinBubbles: false,
+               deleteExpando: true,
+               noCloneEvent: true,
+               inlineBlockNeedsLayout: false,
+               shrinkWrapBlocks: false,
+               reliableMarginRight: true,
+               pixelMargin: true
+       };
+
+       // jQuery.boxModel DEPRECATED in 1.3, use jQuery.support.boxModel instead
+       jQuery.boxModel = support.boxModel = (document.compatMode === "CSS1Compat");
+
+       // Make sure checked status is properly cloned
+       input.checked = true;
+       support.noCloneChecked = input.cloneNode( true ).checked;
+
+       // Make sure that the options inside disabled selects aren't marked as disabled
+       // (WebKit marks them as disabled)
+       select.disabled = true;
+       support.optDisabled = !opt.disabled;
+
+       // Test to see if it's possible to delete an expando from an element
+       // Fails in Internet Explorer
+       try {
+               delete div.test;
+       } catch( e ) {
+               support.deleteExpando = false;
+       }
+
+       if ( !div.addEventListener && div.attachEvent && div.fireEvent ) {
+               div.attachEvent( "onclick", function() {
+                       // Cloning a node shouldn't copy over any
+                       // bound event handlers (IE does this)
+                       support.noCloneEvent = false;
+               });
+               div.cloneNode( true ).fireEvent( "onclick" );
+       }
+
+       // Check if a radio maintains its value
+       // after being appended to the DOM
+       input = document.createElement("input");
+       input.value = "t";
+       input.setAttribute("type", "radio");
+       support.radioValue = input.value === "t";
+
+       input.setAttribute("checked", "checked");
+
+       // #11217 - WebKit loses check when the name is after the checked attribute
+       input.setAttribute( "name", "t" );
+
+       div.appendChild( input );
+       fragment = document.createDocumentFragment();
+       fragment.appendChild( div.lastChild );
+
+       // WebKit doesn't clone checked state correctly in fragments
+       support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked;
+
+       // Check if a disconnected checkbox will retain its checked
+       // value of true after appended to the DOM (IE6/7)
+       support.appendChecked = input.checked;
+
+       fragment.removeChild( input );
+       fragment.appendChild( div );
+
+       // Technique from Juriy Zaytsev
+       // http://perfectionkills.com/detecting-event-support-without-browser-sniffing/
+       // We only care about the case where non-standard event systems
+       // are used, namely in IE. Short-circuiting here helps us to
+       // avoid an eval call (in setAttribute) which can cause CSP
+       // to go haywire. See: https://developer.mozilla.org/en/Security/CSP
+       if ( div.attachEvent ) {
+               for ( i in {
+                       submit: 1,
+                       change: 1,
+                       focusin: 1
+               }) {
+                       eventName = "on" + i;
+                       isSupported = ( eventName in div );
+                       if ( !isSupported ) {
+                               div.setAttribute( eventName, "return;" );
+                               isSupported = ( typeof div[ eventName ] === "function" );
+                       }
+                       support[ i + "Bubbles" ] = isSupported;
+               }
+       }
+
+       fragment.removeChild( div );
+
+       // Null elements to avoid leaks in IE
+       fragment = select = opt = div = input = null;
+
+       // Run tests that need a body at doc ready
+       jQuery(function() {
+               var container, outer, inner, table, td, offsetSupport,
+                       marginDiv, conMarginTop, style, html, positionTopLeftWidthHeight,
+                       paddingMarginBorderVisibility, paddingMarginBorder,
+                       body = document.getElementsByTagName("body")[0];
+
+               if ( !body ) {
+                       // Return for frameset docs that don't have a body
+                       return;
+               }
+
+               conMarginTop = 1;
+               paddingMarginBorder = "padding:0;margin:0;border:";
+               positionTopLeftWidthHeight = "position:absolute;top:0;left:0;width:1px;height:1px;";
+               paddingMarginBorderVisibility = paddingMarginBorder + "0;visibility:hidden;";
+               style = "style='" + positionTopLeftWidthHeight + paddingMarginBorder + "5px solid #000;";
+               html = "<div " + style + "display:block;'><div style='" + paddingMarginBorder + "0;display:block;overflow:hidden;'></div></div>" +
+                       "<table " + style + "' cellpadding='0' cellspacing='0'>" +
+                       "<tr><td></td></tr></table>";
+
+               container = document.createElement("div");
+               container.style.cssText = paddingMarginBorderVisibility + "width:0;height:0;position:static;top:0;margin-top:" + conMarginTop + "px";
+               body.insertBefore( container, body.firstChild );
+
+               // Construct the test element
+               div = document.createElement("div");
+               container.appendChild( div );
+
+               // Check if table cells still have offsetWidth/Height when they are set
+               // to display:none and there are still other visible table cells in a
+               // table row; if so, offsetWidth/Height are not reliable for use when
+               // determining if an element has been hidden directly using
+               // display:none (it is still safe to use offsets if a parent element is
+               // hidden; don safety goggles and see bug #4512 for more information).
+               // (only IE 8 fails this test)
+               div.innerHTML = "<table><tr><td style='" + paddingMarginBorder + "0;display:none'></td><td>t</td></tr></table>";
+               tds = div.getElementsByTagName( "td" );
+               isSupported = ( tds[ 0 ].offsetHeight === 0 );
+
+               tds[ 0 ].style.display = "";
+               tds[ 1 ].style.display = "none";
+
+               // Check if empty table cells still have offsetWidth/Height
+               // (IE <= 8 fail this test)
+               support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 );
+
+               // Check if div with explicit width and no margin-right incorrectly
+               // gets computed margin-right based on width of container. For more
+               // info see bug #3333
+               // Fails in WebKit before Feb 2011 nightlies
+               // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
+               if ( window.getComputedStyle ) {
+                       div.innerHTML = "";
+                       marginDiv = document.createElement( "div" );
+                       marginDiv.style.width = "0";
+                       marginDiv.style.marginRight = "0";
+                       div.style.width = "2px";
+                       div.appendChild( marginDiv );
+                       support.reliableMarginRight =
+                               ( parseInt( ( window.getComputedStyle( marginDiv, null ) || { marginRight: 0 } ).marginRight, 10 ) || 0 ) === 0;
+               }
+
+               if ( typeof div.style.zoom !== "undefined" ) {
+                       // Check if natively block-level elements act like inline-block
+                       // elements when setting their display to 'inline' and giving
+                       // them layout
+                       // (IE < 8 does this)
+                       div.innerHTML = "";
+                       div.style.width = div.style.padding = "1px";
+                       div.style.border = 0;
+                       div.style.overflow = "hidden";
+                       div.style.display = "inline";
+                       div.style.zoom = 1;
+                       support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 );
+
+                       // Check if elements with layout shrink-wrap their children
+                       // (IE 6 does this)
+                       div.style.display = "block";
+                       div.style.overflow = "visible";
+                       div.innerHTML = "<div style='width:5px;'></div>";
+                       support.shrinkWrapBlocks = ( div.offsetWidth !== 3 );
+               }
+
+               div.style.cssText = positionTopLeftWidthHeight + paddingMarginBorderVisibility;
+               div.innerHTML = html;
+
+               outer = div.firstChild;
+               inner = outer.firstChild;
+               td = outer.nextSibling.firstChild.firstChild;
+
+               offsetSupport = {
+                       doesNotAddBorder: ( inner.offsetTop !== 5 ),
+                       doesAddBorderForTableAndCells: ( td.offsetTop === 5 )
+               };
+
+               inner.style.position = "fixed";
+               inner.style.top = "20px";
+
+               // safari subtracts parent border width here which is 5px
+               offsetSupport.fixedPosition = ( inner.offsetTop === 20 || inner.offsetTop === 15 );
+               inner.style.position = inner.style.top = "";
+
+               outer.style.overflow = "hidden";
+               outer.style.position = "relative";
+
+               offsetSupport.subtractsBorderForOverflowNotVisible = ( inner.offsetTop === -5 );
+               offsetSupport.doesNotIncludeMarginInBodyOffset = ( body.offsetTop !== conMarginTop );
+
+               if ( window.getComputedStyle ) {
+                       div.style.marginTop = "1%";
+                       support.pixelMargin = ( window.getComputedStyle( div, null ) || { marginTop: 0 } ).marginTop !== "1%";
+               }
+
+               if ( typeof container.style.zoom !== "undefined" ) {
+                       container.style.zoom = 1;
+               }
+
+               body.removeChild( container );
+               marginDiv = div = container = null;
+
+               jQuery.extend( support, offsetSupport );
+       });
+
+       return support;
+})();
+
+
+
+
+var rbrace = /^(?:\{.*\}|\[.*\])$/,
+       rmultiDash = /([A-Z])/g;
+
+jQuery.extend({
+       cache: {},
+
+       // Please use with caution
+       uuid: 0,
+
+       // Unique for each copy of jQuery on the page
+       // Non-digits removed to match rinlinejQuery
+       expando: "jQuery" + ( jQuery.fn.jquery + Math.random() ).replace( /\D/g, "" ),
+
+       // The following elements throw uncatchable exceptions if you
+       // attempt to add expando properties to them.
+       noData: {
+               "embed": true,
+               // Ban all objects except for Flash (which handle expandos)
+               "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
+               "applet": true
+       },
+
+       hasData: function( elem ) {
+               elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ];
+               return !!elem && !isEmptyDataObject( elem );
+       },
+
+       data: function( elem, name, data, pvt /* Internal Use Only */ ) {
+               if ( !jQuery.acceptData( elem ) ) {
+                       return;
+               }
+
+               var privateCache, thisCache, ret,
+                       internalKey = jQuery.expando,
+                       getByName = typeof name === "string",
+
+                       // We have to handle DOM nodes and JS objects differently because IE6-7
+                       // can't GC object references properly across the DOM-JS boundary
+                       isNode = elem.nodeType,
+
+                       // Only DOM nodes need the global jQuery cache; JS object data is
+                       // attached directly to the object so GC can occur automatically
+                       cache = isNode ? jQuery.cache : elem,
+
+                       // Only defining an ID for JS objects if its cache already exists allows
+                       // the code to shortcut on the same path as a DOM node with no cache
+                       id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey,
+                       isEvents = name === "events";
+
+               // Avoid doing any more work than we need to when trying to get data on an
+               // object that has no data at all
+               if ( (!id || !cache[id] || (!isEvents && !pvt && !cache[id].data)) && getByName && data === undefined ) {
+                       return;
+               }
+
+               if ( !id ) {
+                       // Only DOM nodes need a new unique ID for each element since their data
+                       // ends up in the global cache
+                       if ( isNode ) {
+                               elem[ internalKey ] = id = ++jQuery.uuid;
+                       } else {
+                               id = internalKey;
+                       }
+               }
+
+               if ( !cache[ id ] ) {
+                       cache[ id ] = {};
+
+                       // Avoids exposing jQuery metadata on plain JS objects when the object
+                       // is serialized using JSON.stringify
+                       if ( !isNode ) {
+                               cache[ id ].toJSON = jQuery.noop;
+                       }
+               }
+
+               // An object can be passed to jQuery.data instead of a key/value pair; this gets
+               // shallow copied over onto the existing cache
+               if ( typeof name === "object" || typeof name === "function" ) {
+                       if ( pvt ) {
+                               cache[ id ] = jQuery.extend( cache[ id ], name );
+                       } else {
+                               cache[ id ].data = jQuery.extend( cache[ id ].data, name );
+                       }
+               }
+
+               privateCache = thisCache = cache[ id ];
+
+               // jQuery data() is stored in a separate object inside the object's internal data
+               // cache in order to avoid key collisions between internal data and user-defined
+               // data.
+               if ( !pvt ) {
+                       if ( !thisCache.data ) {
+                               thisCache.data = {};
+                       }
+
+                       thisCache = thisCache.data;
+               }
+
+               if ( data !== undefined ) {
+                       thisCache[ jQuery.camelCase( name ) ] = data;
+               }
+
+               // Users should not attempt to inspect the internal events object using jQuery.data,
+               // it is undocumented and subject to change. But does anyone listen? No.
+               if ( isEvents && !thisCache[ name ] ) {
+                       return privateCache.events;
+               }
+
+               // Check for both converted-to-camel and non-converted data property names
+               // If a data property was specified
+               if ( getByName ) {
+
+                       // First Try to find as-is property data
+                       ret = thisCache[ name ];
+
+                       // Test for null|undefined property data
+                       if ( ret == null ) {
+
+                               // Try to find the camelCased property
+                               ret = thisCache[ jQuery.camelCase( name ) ];
+                       }
+               } else {
+                       ret = thisCache;
+               }
+
+               return ret;
+       },
+
+       removeData: function( elem, name, pvt /* Internal Use Only */ ) {
+               if ( !jQuery.acceptData( elem ) ) {
+                       return;
+               }
+
+               var thisCache, i, l,
+
+                       // Reference to internal data cache key
+                       internalKey = jQuery.expando,
+
+                       isNode = elem.nodeType,
+
+                       // See jQuery.data for more information
+                       cache = isNode ? jQuery.cache : elem,
+
+                       // See jQuery.data for more information
+                       id = isNode ? elem[ internalKey ] : internalKey;
+
+               // If there is already no cache entry for this object, there is no
+               // purpose in continuing
+               if ( !cache[ id ] ) {
+                       return;
+               }
+
+               if ( name ) {
+
+                       thisCache = pvt ? cache[ id ] : cache[ id ].data;
+
+                       if ( thisCache ) {
+
+                               // Support array or space separated string names for data keys
+                               if ( !jQuery.isArray( name ) ) {
+
+                                       // try the string as a key before any manipulation
+                                       if ( name in thisCache ) {
+                                               name = [ name ];
+                                       } else {
+
+                                               // split the camel cased version by spaces unless a key with the spaces exists
+                                               name = jQuery.camelCase( name );
+                                               if ( name in thisCache ) {
+                                                       name = [ name ];
+                                               } else {
+                                                       name = name.split( " " );
+                                               }
+                                       }
+                               }
+
+                               for ( i = 0, l = name.length; i < l; i++ ) {
+                                       delete thisCache[ name[i] ];
+                               }
+
+                               // If there is no data left in the cache, we want to continue
+                               // and let the cache object itself get destroyed
+                               if ( !( pvt ? isEmptyDataObject : jQuery.isEmptyObject )( thisCache ) ) {
+                                       return;
+                               }
+                       }
+               }
+
+               // See jQuery.data for more information
+               if ( !pvt ) {
+                       delete cache[ id ].data;
+
+                       // Don't destroy the parent cache unless the internal data object
+                       // had been the only thing left in it
+                       if ( !isEmptyDataObject(cache[ id ]) ) {
+                               return;
+                       }
+               }
+
+               // Browsers that fail expando deletion also refuse to delete expandos on
+               // the window, but it will allow it on all other JS objects; other browsers
+               // don't care
+               // Ensure that `cache` is not a window object #10080
+               if ( jQuery.support.deleteExpando || !cache.setInterval ) {
+                       delete cache[ id ];
+               } else {
+                       cache[ id ] = null;
+               }
+
+               // We destroyed the cache and need to eliminate the expando on the node to avoid
+               // false lookups in the cache for entries that no longer exist
+               if ( isNode ) {
+                       // IE does not allow us to delete expando properties from nodes,
+                       // nor does it have a removeAttribute function on Document nodes;
+                       // we must handle all of these cases
+                       if ( jQuery.support.deleteExpando ) {
+                               delete elem[ internalKey ];
+                       } else if ( elem.removeAttribute ) {
+                               elem.removeAttribute( internalKey );
+                       } else {
+                               elem[ internalKey ] = null;
+                       }
+               }
+       },
+
+       // For internal use only.
+       _data: function( elem, name, data ) {
+               return jQuery.data( elem, name, data, true );
+       },
+
+       // A method for determining if a DOM node can handle the data expando
+       acceptData: function( elem ) {
+               if ( elem.nodeName ) {
+                       var match = jQuery.noData[ elem.nodeName.toLowerCase() ];
+
+                       if ( match ) {
+                               return !(match === true || elem.getAttribute("classid") !== match);
+                       }
+               }
+
+               return true;
+       }
+});
+
+jQuery.fn.extend({
+       data: function( key, value ) {
+               var parts, part, attr, name, l,
+                       elem = this[0],
+                       i = 0,
+                       data = null;
+
+               // Gets all values
+               if ( key === undefined ) {
+                       if ( this.length ) {
+                               data = jQuery.data( elem );
+
+                               if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) {
+                                       attr = elem.attributes;
+                                       for ( l = attr.length; i < l; i++ ) {
+                                               name = attr[i].name;
+
+                                               if ( name.indexOf( "data-" ) === 0 ) {
+                                                       name = jQuery.camelCase( name.substring(5) );
+
+                                                       dataAttr( elem, name, data[ name ] );
+                                               }
+                                       }
+                                       jQuery._data( elem, "parsedAttrs", true );
+                               }
+                       }
+
+                       return data;
+               }
+
+               // Sets multiple values
+               if ( typeof key === "object" ) {
+                       return this.each(function() {
+                               jQuery.data( this, key );
+                       });
+               }
+
+               parts = key.split( ".", 2 );
+               parts[1] = parts[1] ? "." + parts[1] : "";
+               part = parts[1] + "!";
+
+               return jQuery.access( this, function( value ) {
+
+                       if ( value === undefined ) {
+                               data = this.triggerHandler( "getData" + part, [ parts[0] ] );
+
+                               // Try to fetch any internally stored data first
+                               if ( data === undefined && elem ) {
+                                       data = jQuery.data( elem, key );
+                                       data = dataAttr( elem, key, data );
+                               }
+
+                               return data === undefined && parts[1] ?
+                                       this.data( parts[0] ) :
+                                       data;
+                       }
+
+                       parts[1] = value;
+                       this.each(function() {
+                               var self = jQuery( this );
+
+                               self.triggerHandler( "setData" + part, parts );
+                               jQuery.data( this, key, value );
+                               self.triggerHandler( "changeData" + part, parts );
+                       });
+               }, null, value, arguments.length > 1, null, false );
+       },
+
+       removeData: function( key ) {
+               return this.each(function() {
+                       jQuery.removeData( this, key );
+               });
+       }
+});
+
+function dataAttr( elem, key, data ) {
+       // If nothing was found internally, try to fetch any
+       // data from the HTML5 data-* attribute
+       if ( data === undefined && elem.nodeType === 1 ) {
+
+               var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase();
+
+               data = elem.getAttribute( name );
+
+               if ( typeof data === "string" ) {
+                       try {
+                               data = data === "true" ? true :
+                               data === "false" ? false :
+                               data === "null" ? null :
+                               jQuery.isNumeric( data ) ? +data :
+                                       rbrace.test( data ) ? jQuery.parseJSON( data ) :
+                                       data;
+                       } catch( e ) {}
+
+                       // Make sure we set the data so it isn't changed later
+                       jQuery.data( elem, key, data );
+
+               } else {
+                       data = undefined;
+               }
+       }
+
+       return data;
+}
+
+// checks a cache object for emptiness
+function isEmptyDataObject( obj ) {
+       for ( var name in obj ) {
+
+               // if the public data object is empty, the private is still empty
+               if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) {
+                       continue;
+               }
+               if ( name !== "toJSON" ) {
+                       return false;
+               }
+       }
+
+       return true;
+}
+
+
+
+
+function handleQueueMarkDefer( elem, type, src ) {
+       var deferDataKey = type + "defer",
+               queueDataKey = type + "queue",
+               markDataKey = type + "mark",
+               defer = jQuery._data( elem, deferDataKey );
+       if ( defer &&
+               ( src === "queue" || !jQuery._data(elem, queueDataKey) ) &&
+               ( src === "mark" || !jQuery._data(elem, markDataKey) ) ) {
+               // Give room for hard-coded callbacks to fire first
+               // and eventually mark/queue something else on the element
+               setTimeout( function() {
+                       if ( !jQuery._data( elem, queueDataKey ) &&
+                               !jQuery._data( elem, markDataKey ) ) {
+                               jQuery.removeData( elem, deferDataKey, true );
+                               defer.fire();
+                       }
+               }, 0 );
+       }
+}
+
+jQuery.extend({
+
+       _mark: function( elem, type ) {
+               if ( elem ) {
+                       type = ( type || "fx" ) + "mark";
+                       jQuery._data( elem, type, (jQuery._data( elem, type ) || 0) + 1 );
+               }
+       },
+
+       _unmark: function( force, elem, type ) {
+               if ( force !== true ) {
+                       type = elem;
+                       elem = force;
+                       force = false;
+               }
+               if ( elem ) {
+                       type = type || "fx";
+                       var key = type + "mark",
+                               count = force ? 0 : ( (jQuery._data( elem, key ) || 1) - 1 );
+                       if ( count ) {
+                               jQuery._data( elem, key, count );
+                       } else {
+                               jQuery.removeData( elem, key, true );
+                               handleQueueMarkDefer( elem, type, "mark" );
+                       }
+               }
+       },
+
+       queue: function( elem, type, data ) {
+               var q;
+               if ( elem ) {
+                       type = ( type || "fx" ) + "queue";
+                       q = jQuery._data( elem, type );
+
+                       // Speed up dequeue by getting out quickly if this is just a lookup
+                       if ( data ) {
+                               if ( !q || jQuery.isArray(data) ) {
+                                       q = jQuery._data( elem, type, jQuery.makeArray(data) );
+                               } else {
+                                       q.push( data );
+                               }
+                       }
+                       return q || [];
+               }
+       },
+
+       dequeue: function( elem, type ) {
+               type = type || "fx";
+
+               var queue = jQuery.queue( elem, type ),
+                       fn = queue.shift(),
+                       hooks = {};
+
+               // If the fx queue is dequeued, always remove the progress sentinel
+               if ( fn === "inprogress" ) {
+                       fn = queue.shift();
+               }
+
+               if ( fn ) {
+                       // Add a progress sentinel to prevent the fx queue from being
+                       // automatically dequeued
+                       if ( type === "fx" ) {
+                               queue.unshift( "inprogress" );
+                       }
+
+                       jQuery._data( elem, type + ".run", hooks );
+                       fn.call( elem, function() {
+                               jQuery.dequeue( elem, type );
+                       }, hooks );
+               }
+
+               if ( !queue.length ) {
+                       jQuery.removeData( elem, type + "queue " + type + ".run", true );
+                       handleQueueMarkDefer( elem, type, "queue" );
+               }
+       }
+});
+
+jQuery.fn.extend({
+       queue: function( type, data ) {
+               var setter = 2;
+
+               if ( typeof type !== "string" ) {
+                       data = type;
+                       type = "fx";
+                       setter--;
+               }
+
+               if ( arguments.length < setter ) {
+                       return jQuery.queue( this[0], type );
+               }
+
+               return data === undefined ?
+                       this :
+                       this.each(function() {
+                               var queue = jQuery.queue( this, type, data );
+
+                               if ( type === "fx" && queue[0] !== "inprogress" ) {
+                                       jQuery.dequeue( this, type );
+                               }
+                       });
+       },
+       dequeue: function( type ) {
+               return this.each(function() {
+                       jQuery.dequeue( this, type );
+               });
+       },
+       // Based off of the plugin by Clint Helfers, with permission.
+       // http://blindsignals.com/index.php/2009/07/jquery-delay/
+       delay: function( time, type ) {
+               time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
+               type = type || "fx";
+
+               return this.queue( type, function( next, hooks ) {
+                       var timeout = setTimeout( next, time );
+                       hooks.stop = function() {
+                               clearTimeout( timeout );
+                       };
+               });
+       },
+       clearQueue: function( type ) {
+               return this.queue( type || "fx", [] );
+       },
+       // Get a promise resolved when queues of a certain type
+       // are emptied (fx is the type by default)
+       promise: function( type, object ) {
+               if ( typeof type !== "string" ) {
+                       object = type;
+                       type = undefined;
+               }
+               type = type || "fx";
+               var defer = jQuery.Deferred(),
+                       elements = this,
+                       i = elements.length,
+                       count = 1,
+                       deferDataKey = type + "defer",
+                       queueDataKey = type + "queue",
+                       markDataKey = type + "mark",
+                       tmp;
+               function resolve() {
+                       if ( !( --count ) ) {
+                               defer.resolveWith( elements, [ elements ] );
+                       }
+               }
+               while( i-- ) {
+                       if (( tmp = jQuery.data( elements[ i ], deferDataKey, undefined, true ) ||
+                                       ( jQuery.data( elements[ i ], queueDataKey, undefined, true ) ||
+                                               jQuery.data( elements[ i ], markDataKey, undefined, true ) ) &&
+                                       jQuery.data( elements[ i ], deferDataKey, jQuery.Callbacks( "once memory" ), true ) )) {
+                               count++;
+                               tmp.add( resolve );
+                       }
+               }
+               resolve();
+               return defer.promise( object );
+       }
+});
+
+
+
+
+var rclass = /[\n\t\r]/g,
+       rspace = /\s+/,
+       rreturn = /\r/g,
+       rtype = /^(?:button|input)$/i,
+       rfocusable = /^(?:button|input|object|select|textarea)$/i,
+       rclickable = /^a(?:rea)?$/i,
+       rboolean = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,
+       getSetAttribute = jQuery.support.getSetAttribute,
+       nodeHook, boolHook, fixSpecified;
+
+jQuery.fn.extend({
+       attr: function( name, value ) {
+               return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 );
+       },
+
+       removeAttr: function( name ) {
+               return this.each(function() {
+                       jQuery.removeAttr( this, name );
+               });
+       },
+
+       prop: function( name, value ) {
+               return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 );
+       },
+
+       removeProp: function( name ) {
+               name = jQuery.propFix[ name ] || name;
+               return this.each(function() {
+                       // try/catch handles cases where IE balks (such as removing a property on window)
+                       try {
+                               this[ name ] = undefined;
+                               delete this[ name ];
+                       } catch( e ) {}
+               });
+       },
+
+       addClass: function( value ) {
+               var classNames, i, l, elem,
+                       setClass, c, cl;
+
+               if ( jQuery.isFunction( value ) ) {
+                       return this.each(function( j ) {
+                               jQuery( this ).addClass( value.call(this, j, this.className) );
+                       });
+               }
+
+               if ( value && typeof value === "string" ) {
+                       classNames = value.split( rspace );
+
+                       for ( i = 0, l = this.length; i < l; i++ ) {
+                               elem = this[ i ];
+
+                               if ( elem.nodeType === 1 ) {
+                                       if ( !elem.className && classNames.length === 1 ) {
+                                               elem.className = value;
+
+                                       } else {
+                                               setClass = " " + elem.className + " ";
+
+                                               for ( c = 0, cl = classNames.length; c < cl; c++ ) {
+                                                       if ( !~setClass.indexOf( " " + classNames[ c ] + " " ) ) {
+                                                               setClass += classNames[ c ] + " ";
+                                                       }
+                                               }
+                                               elem.className = jQuery.trim( setClass );
+                                       }
+                               }
+                       }
+               }
+
+               return this;
+       },
+
+       removeClass: function( value ) {
+               var classNames, i, l, elem, className, c, cl;
+
+               if ( jQuery.isFunction( value ) ) {
+                       return this.each(function( j ) {
+                               jQuery( this ).removeClass( value.call(this, j, this.className) );
+                       });
+               }
+
+               if ( (value && typeof value === "string") || value === undefined ) {
+                       classNames = ( value || "" ).split( rspace );
+
+                       for ( i = 0, l = this.length; i < l; i++ ) {
+                               elem = this[ i ];
+
+                               if ( elem.nodeType === 1 && elem.className ) {
+                                       if ( value ) {
+                                               className = (" " + elem.className + " ").replace( rclass, " " );
+                                               for ( c = 0, cl = classNames.length; c < cl; c++ ) {
+                                                       className = className.replace(" " + classNames[ c ] + " ", " ");
+                                               }
+                                               elem.className = jQuery.trim( className );
+
+                                       } else {
+                                               elem.className = "";
+                                       }
+                               }
+                       }
+               }
+
+               return this;
+       },
+
+       toggleClass: function( value, stateVal ) {
+               var type = typeof value,
+                       isBool = typeof stateVal === "boolean";
+
+               if ( jQuery.isFunction( value ) ) {
+                       return this.each(function( i ) {
+                               jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal );
+                       });
+               }
+
+               return this.each(function() {
+                       if ( type === "string" ) {
+                               // toggle individual class names
+                               var className,
+                                       i = 0,
+                                       self = jQuery( this ),
+                                       state = stateVal,
+                                       classNames = value.split( rspace );
+
+                               while ( (className = classNames[ i++ ]) ) {
+                                       // check each className given, space seperated list
+                                       state = isBool ? state : !self.hasClass( className );
+                                       self[ state ? "addClass" : "removeClass" ]( className );
+                               }
+
+                       } else if ( type === "undefined" || type === "boolean" ) {
+                               if ( this.className ) {
+                                       // store className if set
+                                       jQuery._data( this, "__className__", this.className );
+                               }
+
+                               // toggle whole className
+                               this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || "";
+                       }
+               });
+       },
+
+       hasClass: function( selector ) {
+               var className = " " + selector + " ",
+                       i = 0,
+                       l = this.length;
+               for ( ; i < l; i++ ) {
+                       if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) > -1 ) {
+                               return true;
+                       }
+               }
+
+               return false;
+       },
+
+       val: function( value ) {
+               var hooks, ret, isFunction,
+                       elem = this[0];
+
+               if ( !arguments.length ) {
+                       if ( elem ) {
+                               hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ];
+
+                               if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) {
+                                       return ret;
+                               }
+
+                               ret = elem.value;
+
+                               return typeof ret === "string" ?
+                                       // handle most common string cases
+                                       ret.replace(rreturn, "") :
+                                       // handle cases where value is null/undef or number
+                                       ret == null ? "" : ret;
+                       }
+
+                       return;
+               }
+
+               isFunction = jQuery.isFunction( value );
+
+               return this.each(function( i ) {
+                       var self = jQuery(this), val;
+
+                       if ( this.nodeType !== 1 ) {
+                               return;
+                       }
+
+                       if ( isFunction ) {
+                               val = value.call( this, i, self.val() );
+                       } else {
+                               val = value;
+                       }
+
+                       // Treat null/undefined as ""; convert numbers to string
+                       if ( val == null ) {
+                               val = "";
+                       } else if ( typeof val === "number" ) {
+                               val += "";
+                       } else if ( jQuery.isArray( val ) ) {
+                               val = jQuery.map(val, function ( value ) {
+                                       return value == null ? "" : value + "";
+                               });
+                       }
+
+                       hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];
+
+                       // If set returns undefined, fall back to normal setting
+                       if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) {
+                               this.value = val;
+                       }
+               });
+       }
+});
+
+jQuery.extend({
+       valHooks: {
+               option: {
+                       get: function( elem ) {
+                               // attributes.value is undefined in Blackberry 4.7 but
+                               // uses .value. See #6932
+                               var val = elem.attributes.value;
+                               return !val || val.specified ? elem.value : elem.text;
+                       }
+               },
+               select: {
+                       get: function( elem ) {
+                               var value, i, max, option,
+                                       index = elem.selectedIndex,
+                                       values = [],
+                                       options = elem.options,
+                                       one = elem.type === "select-one";
+
+                               // Nothing was selected
+                               if ( index < 0 ) {
+                                       return null;
+                               }
+
+                               // Loop through all the selected options
+                               i = one ? index : 0;
+                               max = one ? index + 1 : options.length;
+                               for ( ; i < max; i++ ) {
+                                       option = options[ i ];
+
+                                       // Don't return options that are disabled or in a disabled optgroup
+                                       if ( option.selected && (jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null) &&
+                                                       (!option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" )) ) {
+
+                                               // Get the specific value for the option
+                                               value = jQuery( option ).val();
+
+                                               // We don't need an array for one selects
+                                               if ( one ) {
+                                                       return value;
+                                               }
+
+                                               // Multi-Selects return an array
+                                               values.push( value );
+                                       }
+                               }
+
+                               // Fixes Bug #2551 -- select.val() broken in IE after form.reset()
+                               if ( one && !values.length && options.length ) {
+                                       return jQuery( options[ index ] ).val();
+                               }
+
+                               return values;
+                       },
+
+                       set: function( elem, value ) {
+                               var values = jQuery.makeArray( value );
+
+                               jQuery(elem).find("option").each(function() {
+                                       this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0;
+                               });
+
+                               if ( !values.length ) {
+                                       elem.selectedIndex = -1;
+                               }
+                               return values;
+                       }
+               }
+       },
+
+       attrFn: {
+               val: true,
+               css: true,
+               html: true,
+               text: true,
+               data: true,
+               width: true,
+               height: true,
+               offset: true
+       },
+
+       attr: function( elem, name, value, pass ) {
+               var ret, hooks, notxml,
+                       nType = elem.nodeType;
+
+               // don't get/set attributes on text, comment and attribute nodes
+               if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {
+                       return;
+               }
+
+               if ( pass && name in jQuery.attrFn ) {
+                       return jQuery( elem )[ name ]( value );
+               }
+
+               // Fallback to prop when attributes are not supported
+               if ( typeof elem.getAttribute === "undefined" ) {
+                       return jQuery.prop( elem, name, value );
+               }
+
+               notxml = nType !== 1 || !jQuery.isXMLDoc( elem );
+
+               // All attributes are lowercase
+               // Grab necessary hook if one is defined
+               if ( notxml ) {
+                       name = name.toLowerCase();
+                       hooks = jQuery.attrHooks[ name ] || ( rboolean.test( name ) ? boolHook : nodeHook );
+               }
+
+               if ( value !== undefined ) {
+
+                       if ( value === null ) {
+                               jQuery.removeAttr( elem, name );
+                               return;
+
+                       } else if ( hooks && "set" in hooks && notxml && (ret = hooks.set( elem, value, name )) !== undefined ) {
+                               return ret;
+
+                       } else {
+                               elem.setAttribute( name, "" + value );
+                               return value;
+                       }
+
+               } else if ( hooks && "get" in hooks && notxml && (ret = hooks.get( elem, name )) !== null ) {
+                       return ret;
+
+               } else {
+
+                       ret = elem.getAttribute( name );
+
+                       // Non-existent attributes return null, we normalize to undefined
+                       return ret === null ?
+                               undefined :
+                               ret;
+               }
+       },
+
+       removeAttr: function( elem, value ) {
+               var propName, attrNames, name, l, isBool,
+                       i = 0;
+
+               if ( value && elem.nodeType === 1 ) {
+                       attrNames = value.toLowerCase().split( rspace );
+                       l = attrNames.length;
+
+                       for ( ; i < l; i++ ) {
+                               name = attrNames[ i ];
+
+                               if ( name ) {
+                                       propName = jQuery.propFix[ name ] || name;
+                                       isBool = rboolean.test( name );
+
+                                       // See #9699 for explanation of this approach (setting first, then removal)
+                                       // Do not do this for boolean attributes (see #10870)
+                                       if ( !isBool ) {
+                                               jQuery.attr( elem, name, "" );
+                                       }
+                                       elem.removeAttribute( getSetAttribute ? name : propName );
+
+                                       // Set corresponding property to false for boolean attributes
+                                       if ( isBool && propName in elem ) {
+                                               elem[ propName ] = false;
+                                       }
+                               }
+                       }
+               }
+       },
+
+       attrHooks: {
+               type: {
+                       set: function( elem, value ) {
+                               // We can't allow the type property to be changed (since it causes problems in IE)
+                               if ( rtype.test( elem.nodeName ) && elem.parentNode ) {
+                                       jQuery.error( "type property can't be changed" );
+                               } else if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) {
+                                       // Setting the type on a radio button after the value resets the value in IE6-9
+                                       // Reset value to it's default in case type is set after value
+                                       // This is for element creation
+                                       var val = elem.value;
+                                       elem.setAttribute( "type", value );
+                                       if ( val ) {
+                                               elem.value = val;
+                                       }
+                                       return value;
+                               }
+                       }
+               },
+               // Use the value property for back compat
+               // Use the nodeHook for button elements in IE6/7 (#1954)
+               value: {
+                       get: function( elem, name ) {
+                               if ( nodeHook && jQuery.nodeName( elem, "button" ) ) {
+                                       return nodeHook.get( elem, name );
+                               }
+                               return name in elem ?
+                                       elem.value :
+                                       null;
+                       },
+                       set: function( elem, value, name ) {
+                               if ( nodeHook && jQuery.nodeName( elem, "button" ) ) {
+                                       return nodeHook.set( elem, value, name );
+                               }
+                               // Does not return so that setAttribute is also used
+                               elem.value = value;
+                       }
+               }
+       },
+
+       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( elem, name, value ) {
+               var ret, hooks, notxml,
+                       nType = elem.nodeType;
+
+               // don't get/set properties on text, comment and attribute nodes
+               if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {
+                       return;
+               }
+
+               notxml = nType !== 1 || !jQuery.isXMLDoc( elem );
+
+               if ( notxml ) {
+                       // Fix name and attach hooks
+                       name = jQuery.propFix[ name ] || name;
+                       hooks = jQuery.propHooks[ name ];
+               }
+
+               if ( value !== undefined ) {
+                       if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) {
+                               return ret;
+
+                       } else {
+                               return ( elem[ name ] = value );
+                       }
+
+               } else {
+                       if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) {
+                               return ret;
+
+                       } else {
+                               return elem[ name ];
+                       }
+               }
+       },
+
+       propHooks: {
+               tabIndex: {
+                       get: function( elem ) {
+                               // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set
+                               // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
+                               var attributeNode = elem.getAttributeNode("tabindex");
+
+                               return attributeNode && attributeNode.specified ?
+                                       parseInt( attributeNode.value, 10 ) :
+                                       rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ?
+                                               0 :
+                                               undefined;
+                       }
+               }
+       }
+});
+
+// Add the tabIndex propHook to attrHooks for back-compat (different case is intentional)
+jQuery.attrHooks.tabindex = jQuery.propHooks.tabIndex;
+
+// Hook for boolean attributes
+boolHook = {
+       get: function( elem, name ) {
+               // Align boolean attributes with corresponding properties
+               // Fall back to attribute presence where some booleans are not supported
+               var attrNode,
+                       property = jQuery.prop( elem, name );
+               return property === true || typeof property !== "boolean" && ( attrNode = elem.getAttributeNode(name) ) && attrNode.nodeValue !== false ?
+                       name.toLowerCase() :
+                       undefined;
+       },
+       set: function( elem, value, name ) {
+               var propName;
+               if ( value === false ) {
+                       // Remove boolean attributes when set to false
+                       jQuery.removeAttr( elem, name );
+               } else {
+                       // value is true since we know at this point it's type boolean and not false
+                       // Set boolean attributes to the same name and set the DOM property
+                       propName = jQuery.propFix[ name ] || name;
+                       if ( propName in elem ) {
+                               // Only set the IDL specifically if it already exists on the element
+                               elem[ propName ] = true;
+                       }
+
+                       elem.setAttribute( name, name.toLowerCase() );
+               }
+               return name;
+       }
+};
+
+// IE6/7 do not support getting/setting some attributes with get/setAttribute
+if ( !getSetAttribute ) {
+
+       fixSpecified = {
+               name: true,
+               id: true,
+               coords: true
+       };
+
+       // Use this for any attribute in IE6/7
+       // This fixes almost every IE6/7 issue
+       nodeHook = jQuery.valHooks.button = {
+               get: function( elem, name ) {
+                       var ret;
+                       ret = elem.getAttributeNode( name );
+                       return ret && ( fixSpecified[ name ] ? ret.nodeValue !== "" : ret.specified ) ?
+                               ret.nodeValue :
+                               undefined;
+               },
+               set: function( elem, value, name ) {
+                       // Set the existing or create a new attribute node
+                       var ret = elem.getAttributeNode( name );
+                       if ( !ret ) {
+                               ret = document.createAttribute( name );
+                               elem.setAttributeNode( ret );
+                       }
+                       return ( ret.nodeValue = value + "" );
+               }
+       };
+
+       // Apply the nodeHook to tabindex
+       jQuery.attrHooks.tabindex.set = nodeHook.set;
+
+       // Set width and height to auto instead of 0 on empty string( Bug #8150 )
+       // This is for removals
+       jQuery.each([ "width", "height" ], function( i, name ) {
+               jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], {
+                       set: function( elem, value ) {
+                               if ( value === "" ) {
+                                       elem.setAttribute( name, "auto" );
+                                       return value;
+                               }
+                       }
+               });
+       });
+
+       // Set contenteditable to false on removals(#10429)
+       // Setting to empty string throws an error as an invalid value
+       jQuery.attrHooks.contenteditable = {
+               get: nodeHook.get,
+               set: function( elem, value, name ) {
+                       if ( value === "" ) {
+                               value = "false";
+                       }
+                       nodeHook.set( elem, value, name );
+               }
+       };
+}
+
+
+// Some attributes require a special call on IE
+if ( !jQuery.support.hrefNormalized ) {
+       jQuery.each([ "href", "src", "width", "height" ], function( i, name ) {
+               jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], {
+                       get: function( elem ) {
+                               var ret = elem.getAttribute( name, 2 );
+                               return ret === null ? undefined : ret;
+                       }
+               });
+       });
+}
+
+if ( !jQuery.support.style ) {
+       jQuery.attrHooks.style = {
+               get: function( elem ) {
+                       // Return undefined in the case of empty string
+                       // Normalize to lowercase since IE uppercases css property names
+                       return elem.style.cssText.toLowerCase() || undefined;
+               },
+               set: function( elem, value ) {
+                       return ( elem.style.cssText = "" + value );
+               }
+       };
+}
+
+// Safari mis-reports the default selected property of an option
+// Accessing the parent's selectedIndex property fixes it
+if ( !jQuery.support.optSelected ) {
+       jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, {
+               get: function( elem ) {
+                       var parent = elem.parentNode;
+
+                       if ( parent ) {
+                               parent.selectedIndex;
+
+                               // Make sure that it also works with optgroups, see #5701
+                               if ( parent.parentNode ) {
+                                       parent.parentNode.selectedIndex;
+                               }
+                       }
+                       return null;
+               }
+       });
+}
+
+// IE6/7 call enctype encoding
+if ( !jQuery.support.enctype ) {
+       jQuery.propFix.enctype = "encoding";
+}
+
+// Radios and checkboxes getter/setter
+if ( !jQuery.support.checkOn ) {
+       jQuery.each([ "radio", "checkbox" ], function() {
+               jQuery.valHooks[ this ] = {
+                       get: function( elem ) {
+                               // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified
+                               return elem.getAttribute("value") === null ? "on" : elem.value;
+                       }
+               };
+       });
+}
+jQuery.each([ "radio", "checkbox" ], function() {
+       jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], {
+               set: function( elem, value ) {
+                       if ( jQuery.isArray( value ) ) {
+                               return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 );
+                       }
+               }
+       });
+});
+
+
+
+
+var rformElems = /^(?:textarea|input|select)$/i,
+       rtypenamespace = /^([^\.]*)?(?:\.(.+))?$/,
+       rhoverHack = /(?:^|\s)hover(\.\S+)?\b/,
+       rkeyEvent = /^key/,
+       rmouseEvent = /^(?:mouse|contextmenu)|click/,
+       rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,
+       rquickIs = /^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,
+       quickParse = function( selector ) {
+               var quick = rquickIs.exec( selector );
+               if ( quick ) {
+                       //   0  1    2   3
+                       // [ _, tag, id, class ]
+                       quick[1] = ( quick[1] || "" ).toLowerCase();
+                       quick[3] = quick[3] && new RegExp( "(?:^|\\s)" + quick[3] + "(?:\\s|$)" );
+               }
+               return quick;
+       },
+       quickIs = function( elem, m ) {
+               var attrs = elem.attributes || {};
+               return (
+                       (!m[1] || elem.nodeName.toLowerCase() === m[1]) &&
+                       (!m[2] || (attrs.id || {}).value === m[2]) &&
+                       (!m[3] || m[3].test( (attrs[ "class" ] || {}).value ))
+               );
+       },
+       hoverHack = function( events ) {
+               return jQuery.event.special.hover ? events : events.replace( rhoverHack, "mouseenter$1 mouseleave$1" );
+       };
+
+/*
+ * Helper functions for managing events -- not part of the public interface.
+ * Props to Dean Edwards' addEvent library for many of the ideas.
+ */
+jQuery.event = {
+
+       add: function( elem, types, handler, data, selector ) {
+
+               var elemData, eventHandle, events,
+                       t, tns, type, namespaces, handleObj,
+                       handleObjIn, quick, handlers, special;
+
+               // Don't attach events to noData or text/comment nodes (allow plain objects tho)
+               if ( elem.nodeType === 3 || elem.nodeType === 8 || !types || !handler || !(elemData = jQuery._data( elem )) ) {
+                       return;
+               }
+
+               // Caller can pass in an object of custom data in lieu of the handler
+               if ( handler.handler ) {
+                       handleObjIn = handler;
+                       handler = handleObjIn.handler;
+                       selector = handleObjIn.selector;
+               }
+
+               // Make sure that the handler has a unique ID, used to find/remove it later
+               if ( !handler.guid ) {
+                       handler.guid = jQuery.guid++;
+               }
+
+               // Init the element's event structure and main handler, if this is the first
+               events = elemData.events;
+               if ( !events ) {
+                       elemData.events = events = {};
+               }
+               eventHandle = elemData.handle;
+               if ( !eventHandle ) {
+                       elemData.handle = eventHandle = function( e ) {
+                               // Discard the second event of a jQuery.event.trigger() and
+                               // when an event is called after a page has unloaded
+                               return typeof jQuery !== "undefined" && (!e || jQuery.event.triggered !== e.type) ?
+                                       jQuery.event.dispatch.apply( eventHandle.elem, arguments ) :
+                                       undefined;
+                       };
+                       // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events
+                       eventHandle.elem = elem;
+               }
+
+               // Handle multiple events separated by a space
+               // jQuery(...).bind("mouseover mouseout", fn);
+               types = jQuery.trim( hoverHack(types) ).split( " " );
+               for ( t = 0; t < types.length; t++ ) {
+
+                       tns = rtypenamespace.exec( types[t] ) || [];
+                       type = tns[1];
+                       namespaces = ( tns[2] || "" ).split( "." ).sort();
+
+                       // If event changes its type, use the special event handlers for the changed type
+                       special = jQuery.event.special[ type ] || {};
+
+                       // If selector defined, determine special event api type, otherwise given type
+                       type = ( selector ? special.delegateType : special.bindType ) || type;
+
+                       // Update special based on newly reset type
+                       special = jQuery.event.special[ type ] || {};
+
+                       // handleObj is passed to all event handlers
+                       handleObj = jQuery.extend({
+                               type: type,
+                               origType: tns[1],
+                               data: data,
+                               handler: handler,
+                               guid: handler.guid,
+                               selector: selector,
+                               quick: selector && quickParse( selector ),
+                               namespace: namespaces.join(".")
+                       }, handleObjIn );
+
+                       // Init the event handler queue if we're the first
+                       handlers = events[ type ];
+                       if ( !handlers ) {
+                               handlers = events[ type ] = [];
+                               handlers.delegateCount = 0;
+
+                               // Only use addEventListener/attachEvent if the special events handler returns false
+                               if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {
+                                       // Bind the global event handler to the element
+                                       if ( elem.addEventListener ) {
+                                               elem.addEventListener( type, eventHandle, false );
+
+                                       } else if ( elem.attachEvent ) {
+                                               elem.attachEvent( "on" + type, eventHandle );
+                                       }
+                               }
+                       }
+
+                       if ( special.add ) {
+                               special.add.call( elem, handleObj );
+
+                               if ( !handleObj.handler.guid ) {
+                                       handleObj.handler.guid = handler.guid;
+                               }
+                       }
+
+                       // Add to the element's handler list, delegates in front
+                       if ( selector ) {
+                               handlers.splice( handlers.delegateCount++, 0, handleObj );
+                       } else {
+                               handlers.push( handleObj );
+                       }
+
+                       // Keep track of which events have ever been used, for event optimization
+                       jQuery.event.global[ type ] = true;
+               }
+
+               // Nullify elem to prevent memory leaks in IE
+               elem = null;
+       },
+
+       global: {},
+
+       // Detach an event or set of events from an element
+       remove: function( elem, types, handler, selector, mappedTypes ) {
+
+               var elemData = jQuery.hasData( elem ) && jQuery._data( elem ),
+                       t, tns, type, origType, namespaces, origCount,
+                       j, events, special, handle, eventType, handleObj;
+
+               if ( !elemData || !(events = elemData.events) ) {
+                       return;
+               }
+
+               // Once for each type.namespace in types; type may be omitted
+               types = jQuery.trim( hoverHack( types || "" ) ).split(" ");
+               for ( t = 0; t < types.length; t++ ) {
+                       tns = rtypenamespace.exec( types[t] ) || [];
+                       type = origType = tns[1];
+                       namespaces = tns[2];
+
+                       // Unbind all events (on this namespace, if provided) for the element
+                       if ( !type ) {
+                               for ( type in events ) {
+                                       jQuery.event.remove( elem, type + types[ t ], handler, selector, true );
+                               }
+                               continue;
+                       }
+
+                       special = jQuery.event.special[ type ] || {};
+                       type = ( selector? special.delegateType : special.bindType ) || type;
+                       eventType = events[ type ] || [];
+                       origCount = eventType.length;
+                       namespaces = namespaces ? new RegExp("(^|\\.)" + namespaces.split(".").sort().join("\\.(?:.*\\.)?") + "(\\.|$)") : null;
+
+                       // Remove matching events
+                       for ( j = 0; j < eventType.length; j++ ) {
+                               handleObj = eventType[ j ];
+
+                               if ( ( mappedTypes || origType === handleObj.origType ) &&
+                                        ( !handler || handler.guid === handleObj.guid ) &&
+                                        ( !namespaces || namespaces.test( handleObj.namespace ) ) &&
+                                        ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
+                                       eventType.splice( j--, 1 );
+
+                                       if ( handleObj.selector ) {
+                                               eventType.delegateCount--;
+                                       }
+                                       if ( special.remove ) {
+                                               special.remove.call( elem, handleObj );
+                                       }
+                               }
+                       }
+
+                       // Remove generic event handler if we removed something and no more handlers exist
+                       // (avoids potential for endless recursion during removal of special event handlers)
+                       if ( eventType.length === 0 && origCount !== eventType.length ) {
+                               if ( !special.teardown || special.teardown.call( elem, namespaces ) === false ) {
+                                       jQuery.removeEvent( elem, type, elemData.handle );
+                               }
+
+                               delete events[ type ];
+                       }
+               }
+
+               // Remove the expando if it's no longer used
+               if ( jQuery.isEmptyObject( events ) ) {
+                       handle = elemData.handle;
+                       if ( handle ) {
+                               handle.elem = null;
+                       }
+
+                       // removeData also checks for emptiness and clears the expando if empty
+                       // so use it instead of delete
+                       jQuery.removeData( elem, [ "events", "handle" ], true );
+               }
+       },
+
+       // Events that are safe to short-circuit if no handlers are attached.
+       // Native DOM events should not be added, they may have inline handlers.
+       customEvent: {
+               "getData": true,
+               "setData": true,
+               "changeData": true
+       },
+
+       trigger: function( event, data, elem, onlyHandlers ) {
+               // Don't do events on text and comment nodes
+               if ( elem && (elem.nodeType === 3 || elem.nodeType === 8) ) {
+                       return;
+               }
+
+               // Event object or event type
+               var type = event.type || event,
+                       namespaces = [],
+                       cache, exclusive, i, cur, old, ontype, special, handle, eventPath, bubbleType;
+
+               // focus/blur morphs to focusin/out; ensure we're not firing them right now
+               if ( rfocusMorph.test( type + jQuery.event.triggered ) ) {
+                       return;
+               }
+
+               if ( type.indexOf( "!" ) >= 0 ) {
+                       // Exclusive events trigger only for the exact event (no namespaces)
+                       type = type.slice(0, -1);
+                       exclusive = true;
+               }
+
+               if ( type.indexOf( "." ) >= 0 ) {
+                       // Namespaced trigger; create a regexp to match event type in handle()
+                       namespaces = type.split(".");
+                       type = namespaces.shift();
+                       namespaces.sort();
+               }
+
+               if ( (!elem || jQuery.event.customEvent[ type ]) && !jQuery.event.global[ type ] ) {
+                       // No jQuery handlers for this event type, and it can't have inline handlers
+                       return;
+               }
+
+               // Caller can pass in an Event, Object, or just an event type string
+               event = typeof event === "object" ?
+                       // jQuery.Event object
+                       event[ jQuery.expando ] ? event :
+                       // Object literal
+                       new jQuery.Event( type, event ) :
+                       // Just the event type (string)
+                       new jQuery.Event( type );
+
+               event.type = type;
+               event.isTrigger = true;
+               event.exclusive = exclusive;
+               event.namespace = namespaces.join( "." );
+               event.namespace_re = event.namespace? new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.)?") + "(\\.|$)") : null;
+               ontype = type.indexOf( ":" ) < 0 ? "on" + type : "";
+
+               // Handle a global trigger
+               if ( !elem ) {
+
+                       // TODO: Stop taunting the data cache; remove global events and always attach to document
+                       cache = jQuery.cache;
+                       for ( i in cache ) {
+                               if ( cache[ i ].events && cache[ i ].events[ type ] ) {
+                                       jQuery.event.trigger( event, data, cache[ i ].handle.elem, true );
+                               }
+                       }
+                       return;
+               }
+
+               // Clean up the event in case it is being reused
+               event.result = undefined;
+               if ( !event.target ) {
+                       event.target = elem;
+               }
+
+               // Clone any incoming data and prepend the event, creating the handler arg list
+               data = data != null ? jQuery.makeArray( data ) : [];
+               data.unshift( event );
+
+               // Allow special events to draw outside the lines
+               special = jQuery.event.special[ type ] || {};
+               if ( special.trigger && special.trigger.apply( elem, data ) === false ) {
+                       return;
+               }
+
+               // Determine event propagation path in advance, per W3C events spec (#9951)
+               // Bubble up to document, then to window; watch for a global ownerDocument var (#9724)
+               eventPath = [[ elem, special.bindType || type ]];
+               if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) {
+
+                       bubbleType = special.delegateType || type;
+                       cur = rfocusMorph.test( bubbleType + type ) ? elem : elem.parentNode;
+                       old = null;
+                       for ( ; cur; cur = cur.parentNode ) {
+                               eventPath.push([ cur, bubbleType ]);
+                               old = cur;
+                       }
+
+                       // Only add window if we got to document (e.g., not plain obj or detached DOM)
+                       if ( old && old === elem.ownerDocument ) {
+                               eventPath.push([ old.defaultView || old.parentWindow || window, bubbleType ]);
+                       }
+               }
+
+               // Fire handlers on the event path
+               for ( i = 0; i < eventPath.length && !event.isPropagationStopped(); i++ ) {
+
+                       cur = eventPath[i][0];
+                       event.type = eventPath[i][1];
+
+                       handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" );
+                       if ( handle ) {
+                               handle.apply( cur, data );
+                       }
+                       // Note that this is a bare JS function and not a jQuery handler
+                       handle = ontype && cur[ ontype ];
+                       if ( handle && jQuery.acceptData( cur ) && handle.apply( cur, data ) === false ) {
+                               event.preventDefault();
+                       }
+               }
+               event.type = type;
+
+               // If nobody prevented the default action, do it now
+               if ( !onlyHandlers && !event.isDefaultPrevented() ) {
+
+                       if ( (!special._default || special._default.apply( elem.ownerDocument, data ) === false) &&
+                               !(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) {
+
+                               // Call a native DOM method on the target with the same name name as the event.
+                               // Can't use an .isFunction() check here because IE6/7 fails that test.
+                               // Don't do default actions on window, that's where global variables be (#6170)
+                               // IE<9 dies on focus/blur to hidden element (#1486)
+                               if ( ontype && elem[ type ] && ((type !== "focus" && type !== "blur") || event.target.offsetWidth !== 0) && !jQuery.isWindow( elem ) ) {
+
+                                       // Don't re-trigger an onFOO event when we call its FOO() method
+                                       old = elem[ ontype ];
+
+                                       if ( old ) {
+                                               elem[ ontype ] = null;
+                                       }
+
+                                       // Prevent re-triggering of the same event, since we already bubbled it above
+                                       jQuery.event.triggered = type;
+                                       elem[ type ]();
+                                       jQuery.event.triggered = undefined;
+
+                                       if ( old ) {
+                                               elem[ ontype ] = old;
+                                       }
+                               }
+                       }
+               }
+
+               return event.result;
+       },
+
+       dispatch: function( event ) {
+
+               // Make a writable jQuery.Event from the native event object
+               event = jQuery.event.fix( event || window.event );
+
+               var handlers = ( (jQuery._data( this, "events" ) || {} )[ event.type ] || []),
+                       delegateCount = handlers.delegateCount,
+                       args = [].slice.call( arguments, 0 ),
+                       run_all = !event.exclusive && !event.namespace,
+                       special = jQuery.event.special[ event.type ] || {},
+                       handlerQueue = [],
+                       i, j, cur, jqcur, ret, selMatch, matched, matches, handleObj, sel, related;
+
+               // Use the fix-ed jQuery.Event rather than the (read-only) native event
+               args[0] = event;
+               event.delegateTarget = this;
+
+               // Call the preDispatch hook for the mapped type, and let it bail if desired
+               if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {
+                       return;
+               }
+
+               // Determine handlers that should run if there are delegated events
+               // Avoid non-left-click bubbling in Firefox (#3861)
+               if ( delegateCount && !(event.button && event.type === "click") ) {
+
+                       // Pregenerate a single jQuery object for reuse with .is()
+                       jqcur = jQuery(this);
+                       jqcur.context = this.ownerDocument || this;
+
+                       for ( cur = event.target; cur != this; cur = cur.parentNode || this ) {
+
+                               // Don't process events on disabled elements (#6911, #8165)
+                               if ( cur.disabled !== true ) {
+                                       selMatch = {};
+                                       matches = [];
+                                       jqcur[0] = cur;
+                                       for ( i = 0; i < delegateCount; i++ ) {
+                                               handleObj = handlers[ i ];
+                                               sel = handleObj.selector;
+
+                                               if ( selMatch[ sel ] === undefined ) {
+                                                       selMatch[ sel ] = (
+                                                               handleObj.quick ? quickIs( cur, handleObj.quick ) : jqcur.is( sel )
+                                                       );
+                                               }
+                                               if ( selMatch[ sel ] ) {
+                                                       matches.push( handleObj );
+                                               }
+                                       }
+                                       if ( matches.length ) {
+                                               handlerQueue.push({ elem: cur, matches: matches });
+                                       }
+                               }
+                       }
+               }
+
+               // Add the remaining (directly-bound) handlers
+               if ( handlers.length > delegateCount ) {
+                       handlerQueue.push({ elem: this, matches: handlers.slice( delegateCount ) });
+               }
+
+               // Run delegates first; they may want to stop propagation beneath us
+               for ( i = 0; i < handlerQueue.length && !event.isPropagationStopped(); i++ ) {
+                       matched = handlerQueue[ i ];
+                       event.currentTarget = matched.elem;
+
+                       for ( j = 0; j < matched.matches.length && !event.isImmediatePropagationStopped(); j++ ) {
+                               handleObj = matched.matches[ j ];
+
+                               // Triggered event must either 1) be non-exclusive and have no namespace, or
+                               // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace).
+                               if ( run_all || (!event.namespace && !handleObj.namespace) || event.namespace_re && event.namespace_re.test( handleObj.namespace ) ) {
+
+                                       event.data = handleObj.data;
+                                       event.handleObj = handleObj;
+
+                                       ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler )
+                                                       .apply( matched.elem, args );
+
+                                       if ( ret !== undefined ) {
+                                               event.result = ret;
+                                               if ( ret === false ) {
+                                                       event.preventDefault();
+                                                       event.stopPropagation();
+                                               }
+                                       }
+                               }
+                       }
+               }
+
+               // Call the postDispatch hook for the mapped type
+               if ( special.postDispatch ) {
+                       special.postDispatch.call( this, event );
+               }
+
+               return event.result;
+       },
+
+       // Includes some event props shared by KeyEvent and MouseEvent
+       // *** attrChange attrName relatedNode srcElement  are not normalized, non-W3C, deprecated, will be removed in 1.8 ***
+       props: "attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
+
+       fixHooks: {},
+
+       keyHooks: {
+               props: "char charCode key keyCode".split(" "),
+               filter: function( event, original ) {
+
+                       // Add which for key events
+                       if ( event.which == null ) {
+                               event.which = original.charCode != null ? original.charCode : original.keyCode;
+                       }
+
+                       return event;
+               }
+       },
+
+       mouseHooks: {
+               props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
+               filter: function( event, original ) {
+                       var eventDoc, doc, body,
+                               button = original.button,
+                               fromElement = original.fromElement;
+
+                       // Calculate pageX/Y if missing and clientX/Y available
+                       if ( event.pageX == null && original.clientX != null ) {
+                               eventDoc = event.target.ownerDocument || document;
+                               doc = eventDoc.documentElement;
+                               body = eventDoc.body;
+
+                               event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 );
+                               event.pageY = original.clientY + ( doc && doc.scrollTop  || body && body.scrollTop  || 0 ) - ( doc && doc.clientTop  || body && body.clientTop  || 0 );
+                       }
+
+                       // Add relatedTarget, if necessary
+                       if ( !event.relatedTarget && fromElement ) {
+                               event.relatedTarget = fromElement === event.target ? original.toElement : fromElement;
+                       }
+
+                       // Add which for click: 1 === left; 2 === middle; 3 === right
+                       // Note: button is not normalized, so don't use it
+                       if ( !event.which && button !== undefined ) {
+                               event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );
+                       }
+
+                       return event;
+               }
+       },
+
+       fix: function( event ) {
+               if ( event[ jQuery.expando ] ) {
+                       return event;
+               }
+
+               // Create a writable copy of the event object and normalize some properties
+               var i, prop,
+                       originalEvent = event,
+                       fixHook = jQuery.event.fixHooks[ event.type ] || {},
+                       copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props;
+
+               event = jQuery.Event( originalEvent );
+
+               for ( i = copy.length; i; ) {
+                       prop = copy[ --i ];
+                       event[ prop ] = originalEvent[ prop ];
+               }
+
+               // Fix target property, if necessary (#1925, IE 6/7/8 & Safari2)
+               if ( !event.target ) {
+                       event.target = originalEvent.srcElement || document;
+               }
+
+               // Target should not be a text node (#504, Safari)
+               if ( event.target.nodeType === 3 ) {
+                       event.target = event.target.parentNode;
+               }
+
+               // For mouse/key events; add metaKey if it's not there (#3368, IE6/7/8)
+               if ( event.metaKey === undefined ) {
+                       event.metaKey = event.ctrlKey;
+               }
+
+               return fixHook.filter? fixHook.filter( event, originalEvent ) : event;
+       },
+
+       special: {
+               ready: {
+                       // Make sure the ready event is setup
+                       setup: jQuery.bindReady
+               },
+
+               load: {
+                       // Prevent triggered image.load events from bubbling to window.load
+                       noBubble: true
+               },
+
+               focus: {
+                       delegateType: "focusin"
+               },
+               blur: {
+                       delegateType: "focusout"
+               },
+
+               beforeunload: {
+                       setup: function( data, namespaces, eventHandle ) {
+                               // We only want to do this special case on windows
+                               if ( jQuery.isWindow( this ) ) {
+                                       this.onbeforeunload = eventHandle;
+                               }
+                       },
+
+                       teardown: function( namespaces, eventHandle ) {
+                               if ( this.onbeforeunload === eventHandle ) {
+                                       this.onbeforeunload = null;
+                               }
+                       }
+               }
+       },
+
+       simulate: function( type, elem, event, bubble ) {
+               // Piggyback on a donor event to simulate a different one.
+               // Fake originalEvent to avoid donor's stopPropagation, but if the
+               // simulated event prevents default then we do the same on the donor.
+               var e = jQuery.extend(
+                       new jQuery.Event(),
+                       event,
+                       { type: type,
+                               isSimulated: true,
+                               originalEvent: {}
+                       }
+               );
+               if ( bubble ) {
+                       jQuery.event.trigger( e, null, elem );
+               } else {
+                       jQuery.event.dispatch.call( elem, e );
+               }
+               if ( e.isDefaultPrevented() ) {
+                       event.preventDefault();
+               }
+       }
+};
+
+// Some plugins are using, but it's undocumented/deprecated and will be removed.
+// The 1.7 special event interface should provide all the hooks needed now.
+jQuery.event.handle = jQuery.event.dispatch;
+
+jQuery.removeEvent = document.removeEventListener ?
+       function( elem, type, handle ) {
+               if ( elem.removeEventListener ) {
+                       elem.removeEventListener( type, handle, false );
+               }
+       } :
+       function( elem, type, handle ) {
+               if ( elem.detachEvent ) {
+                       elem.detachEvent( "on" + type, handle );
+               }
+       };
+
+jQuery.Event = function( src, props ) {
+       // Allow instantiation without the 'new' keyword
+       if ( !(this instanceof jQuery.Event) ) {
+               return new jQuery.Event( src, props );
+       }
+
+       // Event object
+       if ( src && src.type ) {
+               this.originalEvent = src;
+               this.type = src.type;
+
+               // Events bubbling up the document may have been marked as prevented
+               // by a handler lower down the tree; reflect the correct value.
+               this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false ||
+                       src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse;
+
+       // Event type
+       } else {
+               this.type = src;
+       }
+
+       // Put explicitly provided properties onto the event object
+       if ( props ) {
+               jQuery.extend( this, props );
+       }
+
+       // Create a timestamp if incoming event doesn't have one
+       this.timeStamp = src && src.timeStamp || jQuery.now();
+
+       // Mark it as fixed
+       this[ jQuery.expando ] = true;
+};
+
+function returnFalse() {
+       return false;
+}
+function returnTrue() {
+       return true;
+}
+
+// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
+// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
+jQuery.Event.prototype = {
+       preventDefault: function() {
+               this.isDefaultPrevented = returnTrue;
+
+               var e = this.originalEvent;
+               if ( !e ) {
+                       return;
+               }
+
+               // if preventDefault exists run it on the original event
+               if ( e.preventDefault ) {
+                       e.preventDefault();
+
+               // otherwise set the returnValue property of the original event to false (IE)
+               } else {
+                       e.returnValue = false;
+               }
+       },
+       stopPropagation: function() {
+               this.isPropagationStopped = returnTrue;
+
+               var e = this.originalEvent;
+               if ( !e ) {
+                       return;
+               }
+               // if stopPropagation exists run it on the original event
+               if ( e.stopPropagation ) {
+                       e.stopPropagation();
+               }
+               // otherwise set the cancelBubble property of the original event to true (IE)
+               e.cancelBubble = true;
+       },
+       stopImmediatePropagation: function() {
+               this.isImmediatePropagationStopped = returnTrue;
+               this.stopPropagation();
+       },
+       isDefaultPrevented: returnFalse,
+       isPropagationStopped: returnFalse,
+       isImmediatePropagationStopped: returnFalse
+};
+
+// Create mouseenter/leave events using mouseover/out and event-time checks
+jQuery.each({
+       mouseenter: "mouseover",
+       mouseleave: "mouseout"
+}, function( orig, fix ) {
+       jQuery.event.special[ orig ] = {
+               delegateType: fix,
+               bindType: fix,
+
+               handle: function( event ) {
+                       var target = this,
+                               related = event.relatedTarget,
+                               handleObj = event.handleObj,
+                               selector = handleObj.selector,
+                               ret;
+
+                       // For mousenter/leave call the handler if related is outside the target.
+                       // NB: No relatedTarget if the mouse left/entered the browser window
+                       if ( !related || (related !== target && !jQuery.contains( target, related )) ) {
+                               event.type = handleObj.origType;
+                               ret = handleObj.handler.apply( this, arguments );
+                               event.type = fix;
+                       }
+                       return ret;
+               }
+       };
+});
+
+// IE submit delegation
+if ( !jQuery.support.submitBubbles ) {
+
+       jQuery.event.special.submit = {
+               setup: function() {
+                       // Only need this for delegated form submit events
+                       if ( jQuery.nodeName( this, "form" ) ) {
+                               return false;
+                       }
+
+                       // Lazy-add a submit handler when a descendant form may potentially be submitted
+                       jQuery.event.add( this, "click._submit keypress._submit", function( e ) {
+                               // Node name check avoids a VML-related crash in IE (#9807)
+                               var elem = e.target,
+                                       form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined;
+                               if ( form && !form._submit_attached ) {
+                                       jQuery.event.add( form, "submit._submit", function( event ) {
+                                               event._submit_bubble = true;
+                                       });
+                                       form._submit_attached = true;
+                               }
+                       });
+                       // return undefined since we don't need an event listener
+               },
+
+               postDispatch: function( event ) {
+                       // If form was submitted by the user, bubble the event up the tree
+                       if ( event._submit_bubble ) {
+                               delete event._submit_bubble;
+                               if ( this.parentNode && !event.isTrigger ) {
+                                       jQuery.event.simulate( "submit", this.parentNode, event, true );
+                               }
+                       }
+               },
+
+               teardown: function() {
+                       // Only need this for delegated form submit events
+                       if ( jQuery.nodeName( this, "form" ) ) {
+                               return false;
+                       }
+
+                       // Remove delegated handlers; cleanData eventually reaps submit handlers attached above
+                       jQuery.event.remove( this, "._submit" );
+               }
+       };
+}
+
+// IE change delegation and checkbox/radio fix
+if ( !jQuery.support.changeBubbles ) {
+
+       jQuery.event.special.change = {
+
+               setup: function() {
+
+                       if ( rformElems.test( this.nodeName ) ) {
+                               // IE doesn't fire change on a check/radio until blur; trigger it on click
+                               // after a propertychange. Eat the blur-change in special.change.handle.
+                               // This still fires onchange a second time for check/radio after blur.
+                               if ( this.type === "checkbox" || this.type === "radio" ) {
+                                       jQuery.event.add( this, "propertychange._change", function( event ) {
+                                               if ( event.originalEvent.propertyName === "checked" ) {
+                                                       this._just_changed = true;
+                                               }
+                                       });
+                                       jQuery.event.add( this, "click._change", function( event ) {
+                                               if ( this._just_changed && !event.isTrigger ) {
+                                                       this._just_changed = false;
+                                                       jQuery.event.simulate( "change", this, event, true );
+                                               }
+                                       });
+                               }
+                               return false;
+                       }
+                       // Delegated event; lazy-add a change handler on descendant inputs
+                       jQuery.event.add( this, "beforeactivate._change", function( e ) {
+                               var elem = e.target;
+
+                               if ( rformElems.test( elem.nodeName ) && !elem._change_attached ) {
+                                       jQuery.event.add( elem, "change._change", function( event ) {
+                                               if ( this.parentNode && !event.isSimulated && !event.isTrigger ) {
+                                                       jQuery.event.simulate( "change", this.parentNode, event, true );
+                                               }
+                                       });
+                                       elem._change_attached = true;
+                               }
+                       });
+               },
+
+               handle: function( event ) {
+                       var elem = event.target;
+
+                       // Swallow native change events from checkbox/radio, we already triggered them above
+                       if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) {
+                               return event.handleObj.handler.apply( this, arguments );
+                       }
+               },
+
+               teardown: function() {
+                       jQuery.event.remove( this, "._change" );
+
+                       return rformElems.test( this.nodeName );
+               }
+       };
+}
+
+// Create "bubbling" focus and blur events
+if ( !jQuery.support.focusinBubbles ) {
+       jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) {
+
+               // Attach a single capturing handler while someone wants focusin/focusout
+               var attaches = 0,
+                       handler = function( event ) {
+                               jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true );
+                       };
+
+               jQuery.event.special[ fix ] = {
+                       setup: function() {
+                               if ( attaches++ === 0 ) {
+                                       document.addEventListener( orig, handler, true );
+                               }
+                       },
+                       teardown: function() {
+                               if ( --attaches === 0 ) {
+                                       document.removeEventListener( orig, handler, true );
+                               }
+                       }
+               };
+       });
+}
+
+jQuery.fn.extend({
+
+       on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
+               var origFn, type;
+
+               // Types can be a map of types/handlers
+               if ( typeof types === "object" ) {
+                       // ( types-Object, selector, data )
+                       if ( typeof selector !== "string" ) { // && selector != null
+                               // ( types-Object, data )
+                               data = data || selector;
+                               selector = undefined;
+                       }
+                       for ( type in types ) {
+                               this.on( type, selector, data, types[ type ], one );
+                       }
+                       return this;
+               }
+
+               if ( data == null && fn == null ) {
+                       // ( types, fn )
+                       fn = selector;
+                       data = selector = undefined;
+               } else if ( fn == null ) {
+                       if ( typeof selector === "string" ) {
+                               // ( types, selector, fn )
+                               fn = data;
+                               data = undefined;
+                       } else {
+                               // ( types, data, fn )
+                               fn = data;
+                               data = selector;
+                               selector = undefined;
+                       }
+               }
+               if ( fn === false ) {
+                       fn = returnFalse;
+               } else if ( !fn ) {
+                       return this;
+               }
+
+               if ( one === 1 ) {
+                       origFn = fn;
+                       fn = function( event ) {
+                               // Can use an empty set, since event contains the info
+                               jQuery().off( event );
+                               return origFn.apply( this, arguments );
+                       };
+                       // Use same guid so caller can remove using origFn
+                       fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );
+               }
+               return this.each( function() {
+                       jQuery.event.add( this, types, fn, data, selector );
+               });
+       },
+       one: function( types, selector, data, fn ) {
+               return this.on( types, selector, data, fn, 1 );
+       },
+       off: function( types, selector, fn ) {
+               if ( types && types.preventDefault && types.handleObj ) {
+                       // ( event )  dispatched jQuery.Event
+                       var handleObj = types.handleObj;
+                       jQuery( types.delegateTarget ).off(
+                               handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType,
+                               handleObj.selector,
+                               handleObj.handler
+                       );
+                       return this;
+               }
+               if ( typeof types === "object" ) {
+                       // ( types-object [, selector] )
+                       for ( var type in types ) {
+                               this.off( type, selector, types[ type ] );
+                       }
+                       return this;
+               }
+               if ( selector === false || typeof selector === "function" ) {
+                       // ( types [, fn] )
+                       fn = selector;
+                       selector = undefined;
+               }
+               if ( fn === false ) {
+                       fn = returnFalse;
+               }
+               return this.each(function() {
+                       jQuery.event.remove( this, types, fn, selector );
+               });
+       },
+
+       bind: function( types, data, fn ) {
+               return this.on( types, null, data, fn );
+       },
+       unbind: function( types, fn ) {
+               return this.off( types, null, fn );
+       },
+
+       live: function( types, data, fn ) {
+               jQuery( this.context ).on( types, this.selector, data, fn );
+               return this;
+       },
+       die: function( types, fn ) {
+               jQuery( this.context ).off( types, this.selector || "**", fn );
+               return this;
+       },
+
+       delegate: function( selector, types, data, fn ) {
+               return this.on( types, selector, data, fn );
+       },
+       undelegate: function( selector, types, fn ) {
+               // ( namespace ) or ( selector, types [, fn] )
+               return arguments.length == 1? this.off( selector, "**" ) : this.off( types, selector, fn );
+       },
+
+       trigger: function( type, data ) {
+               return this.each(function() {
+                       jQuery.event.trigger( type, data, this );
+               });
+       },
+       triggerHandler: function( type, data ) {
+               if ( this[0] ) {
+                       return jQuery.event.trigger( type, data, this[0], true );
+               }
+       },
+
+       toggle: function( fn ) {
+               // Save reference to arguments for access in closure
+               var args = arguments,
+                       guid = fn.guid || jQuery.guid++,
+                       i = 0,
+                       toggler = function( event ) {
+                               // Figure out which function to execute
+                               var lastToggle = ( jQuery._data( this, "lastToggle" + fn.guid ) || 0 ) % i;
+                               jQuery._data( this, "lastToggle" + fn.guid, lastToggle + 1 );
+
+                               // Make sure that clicks stop
+                               event.preventDefault();
+
+                               // and execute the function
+                               return args[ lastToggle ].apply( this, arguments ) || false;
+                       };
+
+               // link all the functions, so any of them can unbind this click handler
+               toggler.guid = guid;
+               while ( i < args.length ) {
+                       args[ i++ ].guid = guid;
+               }
+
+               return this.click( toggler );
+       },
+
+       hover: function( fnOver, fnOut ) {
+               return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );
+       }
+});
+
+jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " +
+       "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
+       "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) {
+
+       // Handle event binding
+       jQuery.fn[ name ] = function( data, fn ) {
+               if ( fn == null ) {
+                       fn = data;
+                       data = null;
+               }
+
+               return arguments.length > 0 ?
+                       this.on( name, null, data, fn ) :
+                       this.trigger( name );
+       };
+
+       if ( jQuery.attrFn ) {
+               jQuery.attrFn[ name ] = true;
+       }
+
+       if ( rkeyEvent.test( name ) ) {
+               jQuery.event.fixHooks[ name ] = jQuery.event.keyHooks;
+       }
+
+       if ( rmouseEvent.test( name ) ) {
+               jQuery.event.fixHooks[ name ] = jQuery.event.mouseHooks;
+       }
+});
+
+
+
+/*!
+ * Sizzle CSS Selector Engine
+ *  Copyright 2011, The Dojo Foundation
+ *  Released under the MIT, BSD, and GPL Licenses.
+ *  More information: http://sizzlejs.com/
+ */
+(function(){
+
+var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,
+       expando = "sizcache" + (Math.random() + '').replace('.', ''),
+       done = 0,
+       toString = Object.prototype.toString,
+       hasDuplicate = false,
+       baseHasDuplicate = true,
+       rBackslash = /\\/g,
+       rReturn = /\r\n/g,
+       rNonWord = /\W/;
+
+// Here we check if the JavaScript engine is using some sort of
+// optimization where it does not always call our comparision
+// function. If that is the case, discard the hasDuplicate value.
+//   Thus far that includes Google Chrome.
+[0, 0].sort(function() {
+       baseHasDuplicate = false;
+       return 0;
+});
+
+var Sizzle = function( selector, context, results, seed ) {
+       results = results || [];
+       context = context || document;
+
+       var origContext = context;
+
+       if ( context.nodeType !== 1 && context.nodeType !== 9 ) {
+               return [];
+       }
+
+       if ( !selector || typeof selector !== "string" ) {
+               return results;
+       }
+
+       var m, set, checkSet, extra, ret, cur, pop, i,
+               prune = true,
+               contextXML = Sizzle.isXML( context ),
+               parts = [],
+               soFar = selector;
+
+       // Reset the position of the chunker regexp (start from head)
+       do {
+               chunker.exec( "" );
+               m = chunker.exec( soFar );
+
+               if ( m ) {
+                       soFar = m[3];
+
+                       parts.push( m[1] );
+
+                       if ( m[2] ) {
+                               extra = m[3];
+                               break;
+                       }
+               }
+       } while ( m );
+
+       if ( parts.length > 1 && origPOS.exec( selector ) ) {
+
+               if ( parts.length === 2 && Expr.relative[ parts[0] ] ) {
+                       set = posProcess( parts[0] + parts[1], context, seed );
+
+               } else {
+                       set = Expr.relative[ parts[0] ] ?
+                               [ context ] :
+                               Sizzle( parts.shift(), context );
+
+                       while ( parts.length ) {
+                               selector = parts.shift();
+
+                               if ( Expr.relative[ selector ] ) {
+                                       selector += parts.shift();
+                               }
+
+                               set = posProcess( selector, set, seed );
+                       }
+               }
+
+       } else {
+               // Take a shortcut and set the context if the root selector is an ID
+               // (but not if it'll be faster if the inner selector is an ID)
+               if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML &&
+                               Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) {
+
+                       ret = Sizzle.find( parts.shift(), context, contextXML );
+                       context = ret.expr ?
+                               Sizzle.filter( ret.expr, ret.set )[0] :
+                               ret.set[0];
+               }
+
+               if ( context ) {
+                       ret = seed ?
+                               { expr: parts.pop(), set: makeArray(seed) } :
+                               Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML );
+
+                       set = ret.expr ?
+                               Sizzle.filter( ret.expr, ret.set ) :
+                               ret.set;
+
+                       if ( parts.length > 0 ) {
+                               checkSet = makeArray( set );
+
+                       } else {
+                               prune = false;
+                       }
+
+                       while ( parts.length ) {
+                               cur = parts.pop();
+                               pop = cur;
+
+                               if ( !Expr.relative[ cur ] ) {
+                                       cur = "";
+                               } else {
+                                       pop = parts.pop();
+                               }
+
+                               if ( pop == null ) {
+                                       pop = context;
+                               }
+
+                               Expr.relative[ cur ]( checkSet, pop, contextXML );
+                       }
+
+               } else {
+                       checkSet = parts = [];
+               }
+       }
+
+       if ( !checkSet ) {
+               checkSet = set;
+       }
+
+       if ( !checkSet ) {
+               Sizzle.error( cur || selector );
+       }
+
+       if ( toString.call(checkSet) === "[object Array]" ) {
+               if ( !prune ) {
+                       results.push.apply( results, checkSet );
+
+               } else if ( context && context.nodeType === 1 ) {
+                       for ( i = 0; checkSet[i] != null; i++ ) {
+                               if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && Sizzle.contains(context, checkSet[i])) ) {
+                                       results.push( set[i] );
+                               }
+                       }
+
+               } else {
+                       for ( i = 0; checkSet[i] != null; i++ ) {
+                               if ( checkSet[i] && checkSet[i].nodeType === 1 ) {
+                                       results.push( set[i] );
+                               }
+                       }
+               }
+
+       } else {
+               makeArray( checkSet, results );
+       }
+
+       if ( extra ) {
+               Sizzle( extra, origContext, results, seed );
+               Sizzle.uniqueSort( results );
+       }
+
+       return results;
+};
+
+Sizzle.uniqueSort = function( results ) {
+       if ( sortOrder ) {
+               hasDuplicate = baseHasDuplicate;
+               results.sort( sortOrder );
+
+               if ( hasDuplicate ) {
+                       for ( var i = 1; i < results.length; i++ ) {
+                               if ( results[i] === results[ i - 1 ] ) {
+                                       results.splice( i--, 1 );
+                               }
+                       }
+               }
+       }
+
+       return results;
+};
+
+Sizzle.matches = function( expr, set ) {
+       return Sizzle( expr, null, null, set );
+};
+
+Sizzle.matchesSelector = function( node, expr ) {
+       return Sizzle( expr, null, null, [node] ).length > 0;
+};
+
+Sizzle.find = function( expr, context, isXML ) {
+       var set, i, len, match, type, left;
+
+       if ( !expr ) {
+               return [];
+       }
+
+       for ( i = 0, len = Expr.order.length; i < len; i++ ) {
+               type = Expr.order[i];
+
+               if ( (match = Expr.leftMatch[ type ].exec( expr )) ) {
+                       left = match[1];
+                       match.splice( 1, 1 );
+
+                       if ( left.substr( left.length - 1 ) !== "\\" ) {
+                               match[1] = (match[1] || "").replace( rBackslash, "" );
+                               set = Expr.find[ type ]( match, context, isXML );
+
+                               if ( set != null ) {
+                                       expr = expr.replace( Expr.match[ type ], "" );
+                                       break;
+                               }
+                       }
+               }
+       }
+
+       if ( !set ) {
+               set = typeof context.getElementsByTagName !== "undefined" ?
+                       context.getElementsByTagName( "*" ) :
+                       [];
+       }
+
+       return { set: set, expr: expr };
+};
+
+Sizzle.filter = function( expr, set, inplace, not ) {
+       var match, anyFound,
+               type, found, item, filter, left,
+               i, pass,
+               old = expr,
+               result = [],
+               curLoop = set,
+               isXMLFilter = set && set[0] && Sizzle.isXML( set[0] );
+
+       while ( expr && set.length ) {
+               for ( type in Expr.filter ) {
+                       if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) {
+                               filter = Expr.filter[ type ];
+                               left = match[1];
+
+                               anyFound = false;
+
+                               match.splice(1,1);
+
+                               if ( left.substr( left.length - 1 ) === "\\" ) {
+                                       continue;
+                               }
+
+                               if ( curLoop === result ) {
+                                       result = [];
+                               }
+
+                               if ( Expr.preFilter[ type ] ) {
+                                       match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter );
+
+                                       if ( !match ) {
+                                               anyFound = found = true;
+
+                                       } else if ( match === true ) {
+                                               continue;
+                                       }
+                               }
+
+                               if ( match ) {
+                                       for ( i = 0; (item = curLoop[i]) != null; i++ ) {
+                                               if ( item ) {
+                                                       found = filter( item, match, i, curLoop );
+                                                       pass = not ^ found;
+
+                                                       if ( inplace && found != null ) {
+                                                               if ( pass ) {
+                                                                       anyFound = true;
+
+                                                               } else {
+                                                                       curLoop[i] = false;
+                                                               }
+
+                                                       } else if ( pass ) {
+                                                               result.push( item );
+                                                               anyFound = true;
+                                                       }
+                                               }
+                                       }
+                               }
+
+                               if ( found !== undefined ) {
+                                       if ( !inplace ) {
+                                               curLoop = result;
+                                       }
+
+                                       expr = expr.replace( Expr.match[ type ], "" );
+
+                                       if ( !anyFound ) {
+                                               return [];
+                                       }
+
+                                       break;
+                               }
+                       }
+               }
+
+               // Improper expression
+               if ( expr === old ) {
+                       if ( anyFound == null ) {
+                               Sizzle.error( expr );
+
+                       } else {
+                               break;
+                       }
+               }
+
+               old = expr;
+       }
+
+       return curLoop;
+};
+
+Sizzle.error = function( msg ) {
+       throw new Error( "Syntax error, unrecognized expression: " + msg );
+};
+
+/**
+ * Utility function for retreiving the text value of an array of DOM nodes
+ * @param {Array|Element} elem
+ */
+var getText = Sizzle.getText = function( elem ) {
+    var i, node,
+               nodeType = elem.nodeType,
+               ret = "";
+
+       if ( nodeType ) {
+               if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {
+                       // Use textContent || innerText for elements
+                       if ( typeof elem.textContent === 'string' ) {
+                               return elem.textContent;
+                       } else if ( typeof elem.innerText === 'string' ) {
+                               // Replace IE's carriage returns
+                               return elem.innerText.replace( rReturn, '' );
+                       } else {
+                               // Traverse it's children
+                               for ( elem = elem.firstChild; elem; elem = elem.nextSibling) {
+                                       ret += getText( elem );
+                               }
+                       }
+               } else if ( nodeType === 3 || nodeType === 4 ) {
+                       return elem.nodeValue;
+               }
+       } else {
+
+               // If no nodeType, this is expected to be an array
+               for ( i = 0; (node = elem[i]); i++ ) {
+                       // Do not traverse comment nodes
+                       if ( node.nodeType !== 8 ) {
+                               ret += getText( node );
+                       }
+               }
+       }
+       return ret;
+};
+
+var Expr = Sizzle.selectors = {
+       order: [ "ID", "NAME", "TAG" ],
+
+       match: {
+               ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
+               CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,
+               NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,
+               ATTR: /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,
+               TAG: /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,
+               CHILD: /:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,
+               POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,
+               PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/
+       },
+
+       leftMatch: {},
+
+       attrMap: {
+               "class": "className",
+               "for": "htmlFor"
+       },
+
+       attrHandle: {
+               href: function( elem ) {
+                       return elem.getAttribute( "href" );
+               },
+               type: function( elem ) {
+                       return elem.getAttribute( "type" );
+               }
+       },
+
+       relative: {
+               "+": function(checkSet, part){
+                       var isPartStr = typeof part === "string",
+                               isTag = isPartStr && !rNonWord.test( part ),
+                               isPartStrNotTag = isPartStr && !isTag;
+
+                       if ( isTag ) {
+                               part = part.toLowerCase();
+                       }
+
+                       for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) {
+                               if ( (elem = checkSet[i]) ) {
+                                       while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {}
+
+                                       checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ?
+                                               elem || false :
+                                               elem === part;
+                               }
+                       }
+
+                       if ( isPartStrNotTag ) {
+                               Sizzle.filter( part, checkSet, true );
+                       }
+               },
+
+               ">": function( checkSet, part ) {
+                       var elem,
+                               isPartStr = typeof part === "string",
+                               i = 0,
+                               l = checkSet.length;
+
+                       if ( isPartStr && !rNonWord.test( part ) ) {
+                               part = part.toLowerCase();
+
+                               for ( ; i < l; i++ ) {
+                                       elem = checkSet[i];
+
+                                       if ( elem ) {
+                                               var parent = elem.parentNode;
+                                               checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false;
+                                       }
+                               }
+
+                       } else {
+                               for ( ; i < l; i++ ) {
+                                       elem = checkSet[i];
+
+                                       if ( elem ) {
+                                               checkSet[i] = isPartStr ?
+                                                       elem.parentNode :
+                                                       elem.parentNode === part;
+                                       }
+                               }
+
+                               if ( isPartStr ) {
+                                       Sizzle.filter( part, checkSet, true );
+                               }
+                       }
+               },
+
+               "": function(checkSet, part, isXML){
+                       var nodeCheck,
+                               doneName = done++,
+                               checkFn = dirCheck;
+
+                       if ( typeof part === "string" && !rNonWord.test( part ) ) {
+                               part = part.toLowerCase();
+                               nodeCheck = part;
+                               checkFn = dirNodeCheck;
+                       }
+
+                       checkFn( "parentNode", part, doneName, checkSet, nodeCheck, isXML );
+               },
+
+               "~": function( checkSet, part, isXML ) {
+                       var nodeCheck,
+                               doneName = done++,
+                               checkFn = dirCheck;
+
+                       if ( typeof part === "string" && !rNonWord.test( part ) ) {
+                               part = part.toLowerCase();
+                               nodeCheck = part;
+                               checkFn = dirNodeCheck;
+                       }
+
+                       checkFn( "previousSibling", part, doneName, checkSet, nodeCheck, isXML );
+               }
+       },
+
+       find: {
+               ID: function( match, context, isXML ) {
+                       if ( typeof context.getElementById !== "undefined" && !isXML ) {
+                               var m = context.getElementById(match[1]);
+                               // Check parentNode to catch when Blackberry 4.6 returns
+                               // nodes that are no longer in the document #6963
+                               return m && m.parentNode ? [m] : [];
+                       }
+               },
+
+               NAME: function( match, context ) {
+                       if ( typeof context.getElementsByName !== "undefined" ) {
+                               var ret = [],
+                                       results = context.getElementsByName( match[1] );
+
+                               for ( var i = 0, l = results.length; i < l; i++ ) {
+                                       if ( results[i].getAttribute("name") === match[1] ) {
+                                               ret.push( results[i] );
+                                       }
+                               }
+
+                               return ret.length === 0 ? null : ret;
+                       }
+               },
+
+               TAG: function( match, context ) {
+                       if ( typeof context.getElementsByTagName !== "undefined" ) {
+                               return context.getElementsByTagName( match[1] );
+                       }
+               }
+       },
+       preFilter: {
+               CLASS: function( match, curLoop, inplace, result, not, isXML ) {
+                       match = " " + match[1].replace( rBackslash, "" ) + " ";
+
+                       if ( isXML ) {
+                               return match;
+                       }
+
+                       for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) {
+                               if ( elem ) {
+                                       if ( not ^ (elem.className && (" " + elem.className + " ").replace(/[\t\n\r]/g, " ").indexOf(match) >= 0) ) {
+                                               if ( !inplace ) {
+                                                       result.push( elem );
+                                               }
+
+                                       } else if ( inplace ) {
+                                               curLoop[i] = false;
+                                       }
+                               }
+                       }
+
+                       return false;
+               },
+
+               ID: function( match ) {
+                       return match[1].replace( rBackslash, "" );
+               },
+
+               TAG: function( match, curLoop ) {
+                       return match[1].replace( rBackslash, "" ).toLowerCase();
+               },
+
+               CHILD: function( match ) {
+                       if ( match[1] === "nth" ) {
+                               if ( !match[2] ) {
+                                       Sizzle.error( match[0] );
+                               }
+
+                               match[2] = match[2].replace(/^\+|\s*/g, '');
+
+                               // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'
+                               var test = /(-?)(\d*)(?:n([+\-]?\d*))?/.exec(
+                                       match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" ||
+                                       !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]);
+
+                               // calculate the numbers (first)n+(last) including if they are negative
+                               match[2] = (test[1] + (test[2] || 1)) - 0;
+                               match[3] = test[3] - 0;
+                       }
+                       else if ( match[2] ) {
+                               Sizzle.error( match[0] );
+                       }
+
+                       // TODO: Move to normal caching system
+                       match[0] = done++;
+
+                       return match;
+               },
+
+               ATTR: function( match, curLoop, inplace, result, not, isXML ) {
+                       var name = match[1] = match[1].replace( rBackslash, "" );
+
+                       if ( !isXML && Expr.attrMap[name] ) {
+                               match[1] = Expr.attrMap[name];
+                       }
+
+                       // Handle if an un-quoted value was used
+                       match[4] = ( match[4] || match[5] || "" ).replace( rBackslash, "" );
+
+                       if ( match[2] === "~=" ) {
+                               match[4] = " " + match[4] + " ";
+                       }
+
+                       return match;
+               },
+
+               PSEUDO: function( match, curLoop, inplace, result, not ) {
+                       if ( match[1] === "not" ) {
+                               // If we're dealing with a complex expression, or a simple one
+                               if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) {
+                                       match[3] = Sizzle(match[3], null, null, curLoop);
+
+                               } else {
+                                       var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not);
+
+                                       if ( !inplace ) {
+                                               result.push.apply( result, ret );
+                                       }
+
+                                       return false;
+                               }
+
+                       } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) {
+                               return true;
+                       }
+
+                       return match;
+               },
+
+               POS: function( match ) {
+                       match.unshift( true );
+
+                       return match;
+               }
+       },
+
+       filters: {
+               enabled: function( elem ) {
+                       return elem.disabled === false && elem.type !== "hidden";
+               },
+
+               disabled: function( elem ) {
+                       return elem.disabled === true;
+               },
+
+               checked: function( elem ) {
+                       return elem.checked === true;
+               },
+
+               selected: function( elem ) {
+                       // Accessing this property makes selected-by-default
+                       // options in Safari work properly
+                       if ( elem.parentNode ) {
+                               elem.parentNode.selectedIndex;
+                       }
+
+                       return elem.selected === true;
+               },
+
+               parent: function( elem ) {
+                       return !!elem.firstChild;
+               },
+
+               empty: function( elem ) {
+                       return !elem.firstChild;
+               },
+
+               has: function( elem, i, match ) {
+                       return !!Sizzle( match[3], elem ).length;
+               },
+
+               header: function( elem ) {
+                       return (/h\d/i).test( elem.nodeName );
+               },
+
+               text: function( elem ) {
+                       var attr = elem.getAttribute( "type" ), type = elem.type;
+                       // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc)
+                       // use getAttribute instead to test this case
+                       return elem.nodeName.toLowerCase() === "input" && "text" === type && ( attr === type || attr === null );
+               },
+
+               radio: function( elem ) {
+                       return elem.nodeName.toLowerCase() === "input" && "radio" === elem.type;
+               },
+
+               checkbox: function( elem ) {
+                       return elem.nodeName.toLowerCase() === "input" && "checkbox" === elem.type;
+               },
+
+               file: function( elem ) {
+                       return elem.nodeName.toLowerCase() === "input" && "file" === elem.type;
+               },
+
+               password: function( elem ) {
+                       return elem.nodeName.toLowerCase() === "input" && "password" === elem.type;
+               },
+
+               submit: function( elem ) {
+                       var name = elem.nodeName.toLowerCase();
+                       return (name === "input" || name === "button") && "submit" === elem.type;
+               },
+
+               image: function( elem ) {
+                       return elem.nodeName.toLowerCase() === "input" && "image" === elem.type;
+               },
+
+               reset: function( elem ) {
+                       var name = elem.nodeName.toLowerCase();
+                       return (name === "input" || name === "button") && "reset" === elem.type;
+               },
+
+               button: function( elem ) {
+                       var name = elem.nodeName.toLowerCase();
+                       return name === "input" && "button" === elem.type || name === "button";
+               },
+
+               input: function( elem ) {
+                       return (/input|select|textarea|button/i).test( elem.nodeName );
+               },
+
+               focus: function( elem ) {
+                       return elem === elem.ownerDocument.activeElement;
+               }
+       },
+       setFilters: {
+               first: function( elem, i ) {
+                       return i === 0;
+               },
+
+               last: function( elem, i, match, array ) {
+                       return i === array.length - 1;
+               },
+
+               even: function( elem, i ) {
+                       return i % 2 === 0;
+               },
+
+               odd: function( elem, i ) {
+                       return i % 2 === 1;
+               },
+
+               lt: function( elem, i, match ) {
+                       return i < match[3] - 0;
+               },
+
+               gt: function( elem, i, match ) {
+                       return i > match[3] - 0;
+               },
+
+               nth: function( elem, i, match ) {
+                       return match[3] - 0 === i;
+               },
+
+               eq: function( elem, i, match ) {
+                       return match[3] - 0 === i;
+               }
+       },
+       filter: {
+               PSEUDO: function( elem, match, i, array ) {
+                       var name = match[1],
+                               filter = Expr.filters[ name ];
+
+                       if ( filter ) {
+                               return filter( elem, i, match, array );
+
+                       } else if ( name === "contains" ) {
+                               return (elem.textContent || elem.innerText || getText([ elem ]) || "").indexOf(match[3]) >= 0;
+
+                       } else if ( name === "not" ) {
+                               var not = match[3];
+
+                               for ( var j = 0, l = not.length; j < l; j++ ) {
+                                       if ( not[j] === elem ) {
+                                               return false;
+                                       }
+                               }
+
+                               return true;
+
+                       } else {
+                               Sizzle.error( name );
+                       }
+               },
+
+               CHILD: function( elem, match ) {
+                       var first, last,
+                               doneName, parent, cache,
+                               count, diff,
+                               type = match[1],
+                               node = elem;
+
+                       switch ( type ) {
+                               case "only":
+                               case "first":
+                                       while ( (node = node.previousSibling) ) {
+                                               if ( node.nodeType === 1 ) {
+                                                       return false;
+                                               }
+                                       }
+
+                                       if ( type === "first" ) {
+                                               return true;
+                                       }
+
+                                       node = elem;
+
+                                       /* falls through */
+                               case "last":
+                                       while ( (node = node.nextSibling) ) {
+                                               if ( node.nodeType === 1 ) {
+                                                       return false;
+                                               }
+                                       }
+
+                                       return true;
+
+                               case "nth":
+                                       first = match[2];
+                                       last = match[3];
+
+                                       if ( first === 1 && last === 0 ) {
+                                               return true;
+                                       }
+
+                                       doneName = match[0];
+                                       parent = elem.parentNode;
+
+                                       if ( parent && (parent[ expando ] !== doneName || !elem.nodeIndex) ) {
+                                               count = 0;
+
+                                               for ( node = parent.firstChild; node; node = node.nextSibling ) {
+                                                       if ( node.nodeType === 1 ) {
+                                                               node.nodeIndex = ++count;
+                                                       }
+                                               }
+
+                                               parent[ expando ] = doneName;
+                                       }
+
+                                       diff = elem.nodeIndex - last;
+
+                                       if ( first === 0 ) {
+                                               return diff === 0;
+
+                                       } else {
+                                               return ( diff % first === 0 && diff / first >= 0 );
+                                       }
+                       }
+               },
+
+               ID: function( elem, match ) {
+                       return elem.nodeType === 1 && elem.getAttribute("id") === match;
+               },
+
+               TAG: function( elem, match ) {
+                       return (match === "*" && elem.nodeType === 1) || !!elem.nodeName && elem.nodeName.toLowerCase() === match;
+               },
+
+               CLASS: function( elem, match ) {
+                       return (" " + (elem.className || elem.getAttribute("class")) + " ")
+                               .indexOf( match ) > -1;
+               },
+
+               ATTR: function( elem, match ) {
+                       var name = match[1],
+                               result = Sizzle.attr ?
+                                       Sizzle.attr( elem, name ) :
+                                       Expr.attrHandle[ name ] ?
+                                       Expr.attrHandle[ name ]( elem ) :
+                                       elem[ name ] != null ?
+                                               elem[ name ] :
+                                               elem.getAttribute( name ),
+                               value = result + "",
+                               type = match[2],
+                               check = match[4];
+
+                       return result == null ?
+                               type === "!=" :
+                               !type && Sizzle.attr ?
+                               result != null :
+                               type === "=" ?
+                               value === check :
+                               type === "*=" ?
+                               value.indexOf(check) >= 0 :
+                               type === "~=" ?
+                               (" " + value + " ").indexOf(check) >= 0 :
+                               !check ?
+                               value && result !== false :
+                               type === "!=" ?
+                               value !== check :
+                               type === "^=" ?
+                               value.indexOf(check) === 0 :
+                               type === "$=" ?
+                               value.substr(value.length - check.length) === check :
+                               type === "|=" ?
+                               value === check || value.substr(0, check.length + 1) === check + "-" :
+                               false;
+               },
+
+               POS: function( elem, match, i, array ) {
+                       var name = match[2],
+                               filter = Expr.setFilters[ name ];
+
+                       if ( filter ) {
+                               return filter( elem, i, match, array );
+                       }
+               }
+       }
+};
+
+var origPOS = Expr.match.POS,
+       fescape = function(all, num){
+               return "\\" + (num - 0 + 1);
+       };
+
+for ( var type in Expr.match ) {
+       Expr.match[ type ] = new RegExp( Expr.match[ type ].source + (/(?![^\[]*\])(?![^\(]*\))/.source) );
+       Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, fescape) );
+}
+// Expose origPOS
+// "global" as in regardless of relation to brackets/parens
+Expr.match.globalPOS = origPOS;
+
+var makeArray = function( array, results ) {
+       array = Array.prototype.slice.call( array, 0 );
+
+       if ( results ) {
+               results.push.apply( results, array );
+               return results;
+       }
+
+       return array;
+};
+
+// Perform a simple check to determine if the browser is capable of
+// converting a NodeList to an array using builtin methods.
+// Also verifies that the returned array holds DOM nodes
+// (which is not the case in the Blackberry browser)
+try {
+       Array.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType;
+
+// Provide a fallback method if it does not work
+} catch( e ) {
+       makeArray = function( array, results ) {
+               var i = 0,
+                       ret = results || [];
+
+               if ( toString.call(array) === "[object Array]" ) {
+                       Array.prototype.push.apply( ret, array );
+
+               } else {
+                       if ( typeof array.length === "number" ) {
+                               for ( var l = array.length; i < l; i++ ) {
+                                       ret.push( array[i] );
+                               }
+
+                       } else {
+                               for ( ; array[i]; i++ ) {
+                                       ret.push( array[i] );
+                               }
+                       }
+               }
+
+               return ret;
+       };
+}
+
+var sortOrder, siblingCheck;
+
+if ( document.documentElement.compareDocumentPosition ) {
+       sortOrder = function( a, b ) {
+               if ( a === b ) {
+                       hasDuplicate = true;
+                       return 0;
+               }
+
+               if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) {
+                       return a.compareDocumentPosition ? -1 : 1;
+               }
+
+               return a.compareDocumentPosition(b) & 4 ? -1 : 1;
+       };
+
+} else {
+       sortOrder = function( a, b ) {
+               // The nodes are identical, we can exit early
+               if ( a === b ) {
+                       hasDuplicate = true;
+                       return 0;
+
+               // Fallback to using sourceIndex (in IE) if it's available on both nodes
+               } else if ( a.sourceIndex && b.sourceIndex ) {
+                       return a.sourceIndex - b.sourceIndex;
+               }
+
+               var al, bl,
+                       ap = [],
+                       bp = [],
+                       aup = a.parentNode,
+                       bup = b.parentNode,
+                       cur = aup;
+
+               // If the nodes are siblings (or identical) we can do a quick check
+               if ( aup === bup ) {
+                       return siblingCheck( a, b );
+
+               // If no parents were found then the nodes are disconnected
+               } else if ( !aup ) {
+                       return -1;
+
+               } else if ( !bup ) {
+                       return 1;
+               }
+
+               // Otherwise they're somewhere else in the tree so we need
+               // to build up a full list of the parentNodes for comparison
+               while ( cur ) {
+                       ap.unshift( cur );
+                       cur = cur.parentNode;
+               }
+
+               cur = bup;
+
+               while ( cur ) {
+                       bp.unshift( cur );
+                       cur = cur.parentNode;
+               }
+
+               al = ap.length;
+               bl = bp.length;
+
+               // Start walking down the tree looking for a discrepancy
+               for ( var i = 0; i < al && i < bl; i++ ) {
+                       if ( ap[i] !== bp[i] ) {
+                               return siblingCheck( ap[i], bp[i] );
+                       }
+               }
+
+               // We ended someplace up the tree so do a sibling check
+               return i === al ?
+                       siblingCheck( a, bp[i], -1 ) :
+                       siblingCheck( ap[i], b, 1 );
+       };
+
+       siblingCheck = function( a, b, ret ) {
+               if ( a === b ) {
+                       return ret;
+               }
+
+               var cur = a.nextSibling;
+
+               while ( cur ) {
+                       if ( cur === b ) {
+                               return -1;
+                       }
+
+                       cur = cur.nextSibling;
+               }
+
+               return 1;
+       };
+}
+
+// Check to see if the browser returns elements by name when
+// querying by getElementById (and provide a workaround)
+(function(){
+       // We're going to inject a fake input element with a specified name
+       var form = document.createElement("div"),
+               id = "script" + (new Date()).getTime(),
+               root = document.documentElement;
+
+       form.innerHTML = "<a name='" + id + "'/>";
+
+       // Inject it into the root element, check its status, and remove it quickly
+       root.insertBefore( form, root.firstChild );
+
+       // The workaround has to do additional checks after a getElementById
+       // Which slows things down for other browsers (hence the branching)
+       if ( document.getElementById( id ) ) {
+               Expr.find.ID = function( match, context, isXML ) {
+                       if ( typeof context.getElementById !== "undefined" && !isXML ) {
+                               var m = context.getElementById(match[1]);
+
+                               return m ?
+                                       m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ?
+                                               [m] :
+                                               undefined :
+                                       [];
+                       }
+               };
+
+               Expr.filter.ID = function( elem, match ) {
+                       var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id");
+
+                       return elem.nodeType === 1 && node && node.nodeValue === match;
+               };
+       }
+
+       root.removeChild( form );
+
+       // release memory in IE
+       root = form = null;
+})();
+
+(function(){
+       // Check to see if the browser returns only elements
+       // when doing getElementsByTagName("*")
+
+       // Create a fake element
+       var div = document.createElement("div");
+       div.appendChild( document.createComment("") );
+
+       // Make sure no comments are found
+       if ( div.getElementsByTagName("*").length > 0 ) {
+               Expr.find.TAG = function( match, context ) {
+                       var results = context.getElementsByTagName( match[1] );
+
+                       // Filter out possible comments
+                       if ( match[1] === "*" ) {
+                               var tmp = [];
+
+                               for ( var i = 0; results[i]; i++ ) {
+                                       if ( results[i].nodeType === 1 ) {
+                                               tmp.push( results[i] );
+                                       }
+                               }
+
+                               results = tmp;
+                       }
+
+                       return results;
+               };
+       }
+
+       // Check to see if an attribute returns normalized href attributes
+       div.innerHTML = "<a href='#'></a>";
+
+       if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" &&
+                       div.firstChild.getAttribute("href") !== "#" ) {
+
+               Expr.attrHandle.href = function( elem ) {
+                       return elem.getAttribute( "href", 2 );
+               };
+       }
+
+       // release memory in IE
+       div = null;
+})();
+
+if ( document.querySelectorAll ) {
+       (function(){
+               var oldSizzle = Sizzle,
+                       div = document.createElement("div"),
+                       id = "__sizzle__";
+
+               div.innerHTML = "<p class='TEST'></p>";
+
+               // Safari can't handle uppercase or unicode characters when
+               // in quirks mode.
+               if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) {
+                       return;
+               }
+
+               Sizzle = function( query, context, extra, seed ) {
+                       context = context || document;
+
+                       // Only use querySelectorAll on non-XML documents
+                       // (ID selectors don't work in non-HTML documents)
+                       if ( !seed && !Sizzle.isXML(context) ) {
+                               // See if we find a selector to speed up
+                               var match = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec( query );
+
+                               if ( match && (context.nodeType === 1 || context.nodeType === 9) ) {
+                                       // Speed-up: Sizzle("TAG")
+                                       if ( match[1] ) {
+                                               return makeArray( context.getElementsByTagName( query ), extra );
+
+                                       // Speed-up: Sizzle(".CLASS")
+                                       } else if ( match[2] && Expr.find.CLASS && context.getElementsByClassName ) {
+                                               return makeArray( context.getElementsByClassName( match[2] ), extra );
+                                       }
+                               }
+
+                               if ( context.nodeType === 9 ) {
+                                       // Speed-up: Sizzle("body")
+                                       // The body element only exists once, optimize finding it
+                                       if ( query === "body" && context.body ) {
+                                               return makeArray( [ context.body ], extra );
+
+                                       // Speed-up: Sizzle("#ID")
+                                       } else if ( match && match[3] ) {
+                                               var elem = context.getElementById( match[3] );
+
+                                               // Check parentNode to catch when Blackberry 4.6 returns
+                                               // nodes that are no longer in the document #6963
+                                               if ( elem && elem.parentNode ) {
+                                                       // Handle the case where IE and Opera return items
+                                                       // by name instead of ID
+                                                       if ( elem.id === match[3] ) {
+                                                               return makeArray( [ elem ], extra );
+                                                       }
+
+                                               } else {
+                                                       return makeArray( [], extra );
+                                               }
+                                       }
+
+                                       try {
+                                               return makeArray( context.querySelectorAll(query), extra );
+                                       } catch(qsaError) {}
+
+                               // qSA works strangely on Element-rooted queries
+                               // We can work around this by specifying an extra ID on the root
+                               // and working up from there (Thanks to Andrew Dupont for the technique)
+                               // IE 8 doesn't work on object elements
+                               } else if ( context.nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) {
+                                       var oldContext = context,
+                                               old = context.getAttribute( "id" ),
+                                               nid = old || id,
+                                               hasParent = context.parentNode,
+                                               relativeHierarchySelector = /^\s*[+~]/.test( query );
+
+                                       if ( !old ) {
+                                               context.setAttribute( "id", nid );
+                                       } else {
+                                               nid = nid.replace( /'/g, "\\$&" );
+                                       }
+                                       if ( relativeHierarchySelector && hasParent ) {
+                                               context = context.parentNode;
+                                       }
+
+                                       try {
+                                               if ( !relativeHierarchySelector || hasParent ) {
+                                                       return makeArray( context.querySelectorAll( "[id='" + nid + "'] " + query ), extra );
+                                               }
+
+                                       } catch(pseudoError) {
+                                       } finally {
+                                               if ( !old ) {
+                                                       oldContext.removeAttribute( "id" );
+                                               }
+                                       }
+                               }
+                       }
+
+                       return oldSizzle(query, context, extra, seed);
+               };
+
+               for ( var prop in oldSizzle ) {
+                       Sizzle[ prop ] = oldSizzle[ prop ];
+               }
+
+               // release memory in IE
+               div = null;
+       })();
+}
+
+(function(){
+       var html = document.documentElement,
+               matches = html.matchesSelector || html.mozMatchesSelector || html.webkitMatchesSelector || html.msMatchesSelector;
+
+       if ( matches ) {
+               // Check to see if it's possible to do matchesSelector
+               // on a disconnected node (IE 9 fails this)
+               var disconnectedMatch = !matches.call( document.createElement( "div" ), "div" ),
+                       pseudoWorks = false;
+
+               try {
+                       // This should fail with an exception
+                       // Gecko does not error, returns false instead
+                       matches.call( document.documentElement, "[test!='']:sizzle" );
+
+               } catch( pseudoError ) {
+                       pseudoWorks = true;
+               }
+
+               Sizzle.matchesSelector = function( node, expr ) {
+                       // Make sure that attribute selectors are quoted
+                       expr = expr.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']");
+
+                       if ( !Sizzle.isXML( node ) ) {
+                               try {
+                                       if ( pseudoWorks || !Expr.match.PSEUDO.test( expr ) && !/!=/.test( expr ) ) {
+                                               var ret = matches.call( node, expr );
+
+                                               // IE 9's matchesSelector returns false on disconnected nodes
+                                               if ( ret || !disconnectedMatch ||
+                                                               // As well, disconnected nodes are said to be in a document
+                                                               // fragment in IE 9, so check for that
+                                                               node.document && node.document.nodeType !== 11 ) {
+                                                       return ret;
+                                               }
+                                       }
+                               } catch(e) {}
+                       }
+
+                       return Sizzle(expr, null, null, [node]).length > 0;
+               };
+       }
+})();
+
+(function(){
+       var div = document.createElement("div");
+
+       div.innerHTML = "<div class='test e'></div><div class='test'></div>";
+
+       // Opera can't find a second classname (in 9.6)
+       // Also, make sure that getElementsByClassName actually exists
+       if ( !div.getElementsByClassName || div.getElementsByClassName("e").length === 0 ) {
+               return;
+       }
+
+       // Safari caches class attributes, doesn't catch changes (in 3.2)
+       div.lastChild.className = "e";
+
+       if ( div.getElementsByClassName("e").length === 1 ) {
+               return;
+       }
+
+       Expr.order.splice(1, 0, "CLASS");
+       Expr.find.CLASS = function( match, context, isXML ) {
+               if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) {
+                       return context.getElementsByClassName(match[1]);
+               }
+       };
+
+       // release memory in IE
+       div = null;
+})();
+
+function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
+       for ( var i = 0, l = checkSet.length; i < l; i++ ) {
+               var elem = checkSet[i];
+
+               if ( elem ) {
+                       var match = false;
+
+                       elem = elem[dir];
+
+                       while ( elem ) {
+                               if ( elem[ expando ] === doneName ) {
+                                       match = checkSet[elem.sizset];
+                                       break;
+                               }
+
+                               if ( elem.nodeType === 1 && !isXML ){
+                                       elem[ expando ] = doneName;
+                                       elem.sizset = i;
+                               }
+
+                               if ( elem.nodeName.toLowerCase() === cur ) {
+                                       match = elem;
+                                       break;
+                               }
+
+                               elem = elem[dir];
+                       }
+
+                       checkSet[i] = match;
+               }
+       }
+}
+
+function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
+       for ( var i = 0, l = checkSet.length; i < l; i++ ) {
+               var elem = checkSet[i];
+
+               if ( elem ) {
+                       var match = false;
+
+                       elem = elem[dir];
+
+                       while ( elem ) {
+                               if ( elem[ expando ] === doneName ) {
+                                       match = checkSet[elem.sizset];
+                                       break;
+                               }
+
+                               if ( elem.nodeType === 1 ) {
+                                       if ( !isXML ) {
+                                               elem[ expando ] = doneName;
+                                               elem.sizset = i;
+                                       }
+
+                                       if ( typeof cur !== "string" ) {
+                                               if ( elem === cur ) {
+                                                       match = true;
+                                                       break;
+                                               }
+
+                                       } else if ( Sizzle.filter( cur, [elem] ).length > 0 ) {
+                                               match = elem;
+                                               break;
+                                       }
+                               }
+
+                               elem = elem[dir];
+                       }
+
+                       checkSet[i] = match;
+               }
+       }
+}
+
+if ( document.documentElement.contains ) {
+       Sizzle.contains = function( a, b ) {
+               return a !== b && (a.contains ? a.contains(b) : true);
+       };
+
+} else if ( document.documentElement.compareDocumentPosition ) {
+       Sizzle.contains = function( a, b ) {
+               return !!(a.compareDocumentPosition(b) & 16);
+       };
+
+} else {
+       Sizzle.contains = function() {
+               return false;
+       };
+}
+
+Sizzle.isXML = function( elem ) {
+       // documentElement is verified for cases where it doesn't yet exist
+       // (such as loading iframes in IE - #4833)
+       var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement;
+
+       return documentElement ? documentElement.nodeName !== "HTML" : false;
+};
+
+var posProcess = function( selector, context, seed ) {
+       var match,
+               tmpSet = [],
+               later = "",
+               root = context.nodeType ? [context] : context;
+
+       // Position selectors must be done after the filter
+       // And so must :not(positional) so we move all PSEUDOs to the end
+       while ( (match = Expr.match.PSEUDO.exec( selector )) ) {
+               later += match[0];
+               selector = selector.replace( Expr.match.PSEUDO, "" );
+       }
+
+       selector = Expr.relative[selector] ? selector + "*" : selector;
+
+       for ( var i = 0, l = root.length; i < l; i++ ) {
+               Sizzle( selector, root[i], tmpSet, seed );
+       }
+
+       return Sizzle.filter( later, tmpSet );
+};
+
+// EXPOSE
+// Override sizzle attribute retrieval
+Sizzle.attr = jQuery.attr;
+Sizzle.selectors.attrMap = {};
+jQuery.find = Sizzle;
+jQuery.expr = Sizzle.selectors;
+jQuery.expr[":"] = jQuery.expr.filters;
+jQuery.unique = Sizzle.uniqueSort;
+jQuery.text = Sizzle.getText;
+jQuery.isXMLDoc = Sizzle.isXML;
+jQuery.contains = Sizzle.contains;
+
+
+})();
+
+
+var runtil = /Until$/,
+       rparentsprev = /^(?:parents|prevUntil|prevAll)/,
+       // Note: This RegExp should be improved, or likely pulled from Sizzle
+       rmultiselector = /,/,
+       isSimple = /^.[^:#\[\.,]*$/,
+       slice = Array.prototype.slice,
+       POS = jQuery.expr.match.globalPOS,
+       // methods guaranteed to produce a unique set when starting from a unique set
+       guaranteedUnique = {
+               children: true,
+               contents: true,
+               next: true,
+               prev: true
+       };
+
+jQuery.fn.extend({
+       find: function( selector ) {
+               var self = this,
+                       i, l;
+
+               if ( typeof selector !== "string" ) {
+                       return jQuery( selector ).filter(function() {
+                               for ( i = 0, l = self.length; i < l; i++ ) {
+                                       if ( jQuery.contains( self[ i ], this ) ) {
+                                               return true;
+                                       }
+                               }
+                       });
+               }
+
+               var ret = this.pushStack( "", "find", selector ),
+                       length, n, r;
+
+               for ( i = 0, l = this.length; i < l; i++ ) {
+                       length = ret.length;
+                       jQuery.find( selector, this[i], ret );
+
+                       if ( i > 0 ) {
+                               // Make sure that the results are unique
+                               for ( n = length; n < ret.length; n++ ) {
+                                       for ( r = 0; r < length; r++ ) {
+                                               if ( ret[r] === ret[n] ) {
+                                                       ret.splice(n--, 1);
+                                                       break;
+                                               }
+                                       }
+                               }
+                       }
+               }
+
+               return ret;
+       },
+
+       has: function( target ) {
+               var targets = jQuery( target );
+               return this.filter(function() {
+                       for ( var i = 0, l = targets.length; i < l; i++ ) {
+                               if ( jQuery.contains( this, targets[i] ) ) {
+                                       return true;
+                               }
+                       }
+               });
+       },
+
+       not: function( selector ) {
+               return this.pushStack( winnow(this, selector, false), "not", selector);
+       },
+
+       filter: function( selector ) {
+               return this.pushStack( winnow(this, selector, true), "filter", selector );
+       },
+
+       is: function( selector ) {
+               return !!selector && (
+                       typeof selector === "string" ?
+                               // If this is a positional selector, check membership in the returned set
+                               // so $("p:first").is("p:last") won't return true for a doc with two "p".
+                               POS.test( selector ) ?
+                                       jQuery( selector, this.context ).index( this[0] ) >= 0 :
+                                       jQuery.filter( selector, this ).length > 0 :
+                               this.filter( selector ).length > 0 );
+       },
+
+       closest: function( selectors, context ) {
+               var ret = [], i, l, cur = this[0];
+
+               // Array (deprecated as of jQuery 1.7)
+               if ( jQuery.isArray( selectors ) ) {
+                       var level = 1;
+
+                       while ( cur && cur.ownerDocument && cur !== context ) {
+                               for ( i = 0; i < selectors.length; i++ ) {
+
+                                       if ( jQuery( cur ).is( selectors[ i ] ) ) {
+                                               ret.push({ selector: selectors[ i ], elem: cur, level: level });
+                                       }
+                               }
+
+                               cur = cur.parentNode;
+                               level++;
+                       }
+
+                       return ret;
+               }
+
+               // String
+               var pos = POS.test( selectors ) || typeof selectors !== "string" ?
+                               jQuery( selectors, context || this.context ) :
+                               0;
+
+               for ( i = 0, l = this.length; i < l; i++ ) {
+                       cur = this[i];
+
+                       while ( cur ) {
+                               if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) {
+                                       ret.push( cur );
+                                       break;
+
+                               } else {
+                                       cur = cur.parentNode;
+                                       if ( !cur || !cur.ownerDocument || cur === context || cur.nodeType === 11 ) {
+                                               break;
+                                       }
+                               }
+                       }
+               }
+
+               ret = ret.length > 1 ? jQuery.unique( ret ) : ret;
+
+               return this.pushStack( ret, "closest", selectors );
+       },
+
+       // Determine the position of an element within
+       // the matched set of elements
+       index: function( elem ) {
+
+               // No argument, return index in parent
+               if ( !elem ) {
+                       return ( this[0] && this[0].parentNode ) ? this.prevAll().length : -1;
+               }
+
+               // index in selector
+               if ( typeof elem === "string" ) {
+                       return jQuery.inArray( this[0], jQuery( elem ) );
+               }
+
+               // Locate the position of the desired element
+               return jQuery.inArray(
+                       // If it receives a jQuery object, the first element is used
+                       elem.jquery ? elem[0] : elem, this );
+       },
+
+       add: function( selector, context ) {
+               var set = typeof selector === "string" ?
+                               jQuery( selector, context ) :
+                               jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ),
+                       all = jQuery.merge( this.get(), set );
+
+               return this.pushStack( isDisconnected( set[0] ) || isDisconnected( all[0] ) ?
+                       all :
+                       jQuery.unique( all ) );
+       },
+
+       andSelf: function() {
+               return this.add( this.prevObject );
+       }
+});
+
+// A painfully simple check to see if an element is disconnected
+// from a document (should be improved, where feasible).
+function isDisconnected( node ) {
+       return !node || !node.parentNode || node.parentNode.nodeType === 11;
+}
+
+jQuery.each({
+       parent: function( elem ) {
+               var parent = elem.parentNode;
+               return parent && parent.nodeType !== 11 ? parent : null;
+       },
+       parents: function( elem ) {
+               return jQuery.dir( elem, "parentNode" );
+       },
+       parentsUntil: function( elem, i, until ) {
+               return jQuery.dir( elem, "parentNode", until );
+       },
+       next: function( elem ) {
+               return jQuery.nth( elem, 2, "nextSibling" );
+       },
+       prev: function( elem ) {
+               return jQuery.nth( elem, 2, "previousSibling" );
+       },
+       nextAll: function( elem ) {
+               return jQuery.dir( elem, "nextSibling" );
+       },
+       prevAll: function( elem ) {
+               return jQuery.dir( elem, "previousSibling" );
+       },
+       nextUntil: function( elem, i, until ) {
+               return jQuery.dir( elem, "nextSibling", until );
+       },
+       prevUntil: function( elem, i, until ) {
+               return jQuery.dir( elem, "previousSibling", until );
+       },
+       siblings: function( elem ) {
+               return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem );
+       },
+       children: function( elem ) {
+               return jQuery.sibling( elem.firstChild );
+       },
+       contents: function( elem ) {
+               return jQuery.nodeName( elem, "iframe" ) ?
+                       elem.contentDocument || elem.contentWindow.document :
+                       jQuery.makeArray( elem.childNodes );
+       }
+}, function( name, fn ) {
+       jQuery.fn[ name ] = function( until, selector ) {
+               var ret = jQuery.map( this, fn, until );
+
+               if ( !runtil.test( name ) ) {
+                       selector = until;
+               }
+
+               if ( selector && typeof selector === "string" ) {
+                       ret = jQuery.filter( selector, ret );
+               }
+
+               ret = this.length > 1 && !guaranteedUnique[ name ] ? jQuery.unique( ret ) : ret;
+
+               if ( (this.length > 1 || rmultiselector.test( selector )) && rparentsprev.test( name ) ) {
+                       ret = ret.reverse();
+               }
+
+               return this.pushStack( ret, name, slice.call( arguments ).join(",") );
+       };
+});
+
+jQuery.extend({
+       filter: function( expr, elems, not ) {
+               if ( not ) {
+                       expr = ":not(" + expr + ")";
+               }
+
+               return elems.length === 1 ?
+                       jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] :
+                       jQuery.find.matches(expr, elems);
+       },
+
+       dir: function( elem, dir, until ) {
+               var matched = [],
+                       cur = elem[ dir ];
+
+               while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) {
+                       if ( cur.nodeType === 1 ) {
+                               matched.push( cur );
+                       }
+                       cur = cur[dir];
+               }
+               return matched;
+       },
+
+       nth: function( cur, result, dir, elem ) {
+               result = result || 1;
+               var num = 0;
+
+               for ( ; cur; cur = cur[dir] ) {
+                       if ( cur.nodeType === 1 && ++num === result ) {
+                               break;
+                       }
+               }
+
+               return cur;
+       },
+
+       sibling: function( n, elem ) {
+               var r = [];
+
+               for ( ; n; n = n.nextSibling ) {
+                       if ( n.nodeType === 1 && n !== elem ) {
+                               r.push( n );
+                       }
+               }
+
+               return r;
+       }
+});
+
+// Implement the identical functionality for filter and not
+function winnow( elements, qualifier, keep ) {
+
+       // Can't pass null or undefined to indexOf in Firefox 4
+       // Set to 0 to skip string check
+       qualifier = qualifier || 0;
+
+       if ( jQuery.isFunction( qualifier ) ) {
+               return jQuery.grep(elements, function( elem, i ) {
+                       var retVal = !!qualifier.call( elem, i, elem );
+                       return retVal === keep;
+               });
+
+       } else if ( qualifier.nodeType ) {
+               return jQuery.grep(elements, function( elem, i ) {
+                       return ( elem === qualifier ) === keep;
+               });
+
+       } else if ( typeof qualifier === "string" ) {
+               var filtered = jQuery.grep(elements, function( elem ) {
+                       return elem.nodeType === 1;
+               });
+
+               if ( isSimple.test( qualifier ) ) {
+                       return jQuery.filter(qualifier, filtered, !keep);
+               } else {
+                       qualifier = jQuery.filter( qualifier, filtered );
+               }
+       }
+
+       return jQuery.grep(elements, function( elem, i ) {
+               return ( jQuery.inArray( elem, qualifier ) >= 0 ) === keep;
+       });
+}
+
+
+
+
+function createSafeFragment( document ) {
+       var list = nodeNames.split( "|" ),
+       safeFrag = document.createDocumentFragment();
+
+       if ( safeFrag.createElement ) {
+               while ( list.length ) {
+                       safeFrag.createElement(
+                               list.pop()
+                       );
+               }
+       }
+       return safeFrag;
+}
+
+var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" +
+               "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
+       rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
+       rleadingWhitespace = /^\s+/,
+       rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,
+       rtagName = /<([\w:]+)/,
+       rtbody = /<tbody/i,
+       rhtml = /<|&#?\w+;/,
+       rnoInnerhtml = /<(?:script|style)/i,
+       rnocache = /<(?:script|object|embed|option|style)/i,
+       rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"),
+       // checked="checked" or checked
+       rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
+       rscriptType = /\/(java|ecma)script/i,
+       rcleanScript = /^\s*<!(?:\[CDATA\[|\-\-)/,
+       wrapMap = {
+               option: [ 1, "<select multiple='multiple'>", "</select>" ],
+               legend: [ 1, "<fieldset>", "</fieldset>" ],
+               thead: [ 1, "<table>", "</table>" ],
+               tr: [ 2, "<table><tbody>", "</tbody></table>" ],
+               td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ],
+               col: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ],
+               area: [ 1, "<map>", "</map>" ],
+               _default: [ 0, "", "" ]
+       },
+       safeFragment = createSafeFragment( document );
+
+wrapMap.optgroup = wrapMap.option;
+wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
+wrapMap.th = wrapMap.td;
+
+// IE can't serialize <link> and <script> tags normally
+if ( !jQuery.support.htmlSerialize ) {
+       wrapMap._default = [ 1, "div<div>", "</div>" ];
+}
+
+jQuery.fn.extend({
+       text: function( value ) {
+               return jQuery.access( this, function( value ) {
+                       return value === undefined ?
+                               jQuery.text( this ) :
+                               this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) );
+               }, null, value, arguments.length );
+       },
+
+       wrapAll: function( html ) {
+               if ( jQuery.isFunction( html ) ) {
+                       return this.each(function(i) {
+                               jQuery(this).wrapAll( html.call(this, i) );
+                       });
+               }
+
+               if ( this[0] ) {
+                       // The elements to wrap the target around
+                       var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true);
+
+                       if ( this[0].parentNode ) {
+                               wrap.insertBefore( this[0] );
+                       }
+
+                       wrap.map(function() {
+                               var elem = this;
+
+                               while ( elem.firstChild && elem.firstChild.nodeType === 1 ) {
+                                       elem = elem.firstChild;
+                               }
+
+                               return elem;
+                       }).append( this );
+               }
+
+               return this;
+       },
+
+       wrapInner: function( html ) {
+               if ( jQuery.isFunction( html ) ) {
+                       return this.each(function(i) {
+                               jQuery(this).wrapInner( html.call(this, i) );
+                       });
+               }
+
+               return this.each(function() {
+                       var self = jQuery( this ),
+                               contents = self.contents();
+
+                       if ( contents.length ) {
+                               contents.wrapAll( html );
+
+                       } else {
+                               self.append( html );
+                       }
+               });
+       },
+
+       wrap: function( html ) {
+               var isFunction = jQuery.isFunction( html );
+
+               return this.each(function(i) {
+                       jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html );
+               });
+       },
+
+       unwrap: function() {
+               return this.parent().each(function() {
+                       if ( !jQuery.nodeName( this, "body" ) ) {
+                               jQuery( this ).replaceWith( this.childNodes );
+                       }
+               }).end();
+       },
+
+       append: function() {
+               return this.domManip(arguments, true, function( elem ) {
+                       if ( this.nodeType === 1 ) {
+                               this.appendChild( elem );
+                       }
+               });
+       },
+
+       prepend: function() {
+               return this.domManip(arguments, true, function( elem ) {
+                       if ( this.nodeType === 1 ) {
+                               this.insertBefore( elem, this.firstChild );
+                       }
+               });
+       },
+
+       before: function() {
+               if ( this[0] && this[0].parentNode ) {
+                       return this.domManip(arguments, false, function( elem ) {
+                               this.parentNode.insertBefore( elem, this );
+                       });
+               } else if ( arguments.length ) {
+                       var set = jQuery.clean( arguments );
+                       set.push.apply( set, this.toArray() );
+                       return this.pushStack( set, "before", arguments );
+               }
+       },
+
+       after: function() {
+               if ( this[0] && this[0].parentNode ) {
+                       return this.domManip(arguments, false, function( elem ) {
+                               this.parentNode.insertBefore( elem, this.nextSibling );
+                       });
+               } else if ( arguments.length ) {
+                       var set = this.pushStack( this, "after", arguments );
+                       set.push.apply( set, jQuery.clean(arguments) );
+                       return set;
+               }
+       },
+
+       // keepData is for internal use only--do not document
+       remove: function( selector, keepData ) {
+               for ( var i = 0, elem; (elem = this[i]) != null; i++ ) {
+                       if ( !selector || jQuery.filter( selector, [ elem ] ).length ) {
+                               if ( !keepData && elem.nodeType === 1 ) {
+                                       jQuery.cleanData( elem.getElementsByTagName("*") );
+                                       jQuery.cleanData( [ elem ] );
+                               }
+
+                               if ( elem.parentNode ) {
+                                       elem.parentNode.removeChild( elem );
+                               }
+                       }
+               }
+
+               return this;
+       },
+
+       empty: function() {
+               for ( var i = 0, elem; (elem = this[i]) != null; i++ ) {
+                       // Remove element nodes and prevent memory leaks
+                       if ( elem.nodeType === 1 ) {
+                               jQuery.cleanData( elem.getElementsByTagName("*") );
+                       }
+
+                       // Remove any remaining nodes
+                       while ( elem.firstChild ) {
+                               elem.removeChild( elem.firstChild );
+                       }
+               }
+
+               return this;
+       },
+
+       clone: function( dataAndEvents, deepDataAndEvents ) {
+               dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
+               deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
+
+               return this.map( function () {
+                       return jQuery.clone( this, dataAndEvents, deepDataAndEvents );
+               });
+       },
+
+       html: function( value ) {
+               return jQuery.access( this, function( value ) {
+                       var elem = this[0] || {},
+                               i = 0,
+                               l = this.length;
+
+                       if ( value === undefined ) {
+                               return elem.nodeType === 1 ?
+                                       elem.innerHTML.replace( rinlinejQuery, "" ) :
+                                       null;
+                       }
+
+
+                       if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
+                               ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) &&
+                               !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) {
+
+                               value = value.replace( rxhtmlTag, "<$1></$2>" );
+
+                               try {
+                                       for (; i < l; i++ ) {
+                                               // Remove element nodes and prevent memory leaks
+                                               elem = this[i] || {};
+                                               if ( elem.nodeType === 1 ) {
+                                                       jQuery.cleanData( elem.getElementsByTagName( "*" ) );
+                                                       elem.innerHTML = value;
+                                               }
+                                       }
+
+                                       elem = 0;
+
+                               // If using innerHTML throws an exception, use the fallback method
+                               } catch(e) {}
+                       }
+
+                       if ( elem ) {
+                               this.empty().append( value );
+                       }
+               }, null, value, arguments.length );
+       },
+
+       replaceWith: function( value ) {
+               if ( this[0] && this[0].parentNode ) {
+                       // Make sure that the elements are removed from the DOM before they are inserted
+                       // this can help fix replacing a parent with child elements
+                       if ( jQuery.isFunction( value ) ) {
+                               return this.each(function(i) {
+                                       var self = jQuery(this), old = self.html();
+                                       self.replaceWith( value.call( this, i, old ) );
+                               });
+                       }
+
+                       if ( typeof value !== "string" ) {
+                               value = jQuery( value ).detach();
+                       }
+
+                       return this.each(function() {
+                               var next = this.nextSibling,
+                                       parent = this.parentNode;
+
+                               jQuery( this ).remove();
+
+                               if ( next ) {
+                                       jQuery(next).before( value );
+                               } else {
+                                       jQuery(parent).append( value );
+                               }
+                       });
+               } else {
+                       return this.length ?
+                               this.pushStack( jQuery(jQuery.isFunction(value) ? value() : value), "replaceWith", value ) :
+                               this;
+               }
+       },
+
+       detach: function( selector ) {
+               return this.remove( selector, true );
+       },
+
+       domManip: function( args, table, callback ) {
+               var results, first, fragment, parent,
+                       value = args[0],
+                       scripts = [];
+
+               // We can't cloneNode fragments that contain checked, in WebKit
+               if ( !jQuery.support.checkClone && arguments.length === 3 && typeof value === "string" && rchecked.test( value ) ) {
+                       return this.each(function() {
+                               jQuery(this).domManip( args, table, callback, true );
+                       });
+               }
+
+               if ( jQuery.isFunction(value) ) {
+                       return this.each(function(i) {
+                               var self = jQuery(this);
+                               args[0] = value.call(this, i, table ? self.html() : undefined);
+                               self.domManip( args, table, callback );
+                       });
+               }
+
+               if ( this[0] ) {
+                       parent = value && value.parentNode;
+
+                       // If we're in a fragment, just use that instead of building a new one
+                       if ( jQuery.support.parentNode && parent && parent.nodeType === 11 && parent.childNodes.length === this.length ) {
+                               results = { fragment: parent };
+
+                       } else {
+                               results = jQuery.buildFragment( args, this, scripts );
+                       }
+
+                       fragment = results.fragment;
+
+                       if ( fragment.childNodes.length === 1 ) {
+                               first = fragment = fragment.firstChild;
+                       } else {
+                               first = fragment.firstChild;
+                       }
+
+                       if ( first ) {
+                               table = table && jQuery.nodeName( first, "tr" );
+
+                               for ( var i = 0, l = this.length, lastIndex = l - 1; i < l; i++ ) {
+                                       callback.call(
+                                               table ?
+                                                       root(this[i], first) :
+                                                       this[i],
+                                               // Make sure that we do not leak memory by inadvertently discarding
+                                               // the original fragment (which might have attached data) instead of
+                                               // using it; in addition, use the original fragment object for the last
+                                               // item instead of first because it can end up being emptied incorrectly
+                                               // in certain situations (Bug #8070).
+                                               // Fragments from the fragment cache must always be cloned and never used
+                                               // in place.
+                                               results.cacheable || ( l > 1 && i < lastIndex ) ?
+                                                       jQuery.clone( fragment, true, true ) :
+                                                       fragment
+                                       );
+                               }
+                       }
+
+                       if ( scripts.length ) {
+                               jQuery.each( scripts, function( i, elem ) {
+                                       if ( elem.src ) {
+                                               jQuery.ajax({
+                                                       type: "GET",
+                                                       global: false,
+                                                       url: elem.src,
+                                                       async: false,
+                                                       dataType: "script"
+                                               });
+                                       } else {
+                                               jQuery.globalEval( ( elem.text || elem.textContent || elem.innerHTML || "" ).replace( rcleanScript, "/*$0*/" ) );
+                                       }
+
+                                       if ( elem.parentNode ) {
+                                               elem.parentNode.removeChild( elem );
+                                       }
+                               });
+                       }
+               }
+
+               return this;
+       }
+});
+
+function root( elem, cur ) {
+       return jQuery.nodeName(elem, "table") ?
+               (elem.getElementsByTagName("tbody")[0] ||
+               elem.appendChild(elem.ownerDocument.createElement("tbody"))) :
+               elem;
+}
+
+function cloneCopyEvent( src, dest ) {
+
+       if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) {
+               return;
+       }
+
+       var type, i, l,
+               oldData = jQuery._data( src ),
+               curData = jQuery._data( dest, oldData ),
+               events = oldData.events;
+
+       if ( events ) {
+               delete curData.handle;
+               curData.events = {};
+
+               for ( type in events ) {
+                       for ( i = 0, l = events[ type ].length; i < l; i++ ) {
+                               jQuery.event.add( dest, type, events[ type ][ i ] );
+                       }
+               }
+       }
+
+       // make the cloned public data object a copy from the original
+       if ( curData.data ) {
+               curData.data = jQuery.extend( {}, curData.data );
+       }
+}
+
+function cloneFixAttributes( src, dest ) {
+       var nodeName;
+
+       // We do not need to do anything for non-Elements
+       if ( dest.nodeType !== 1 ) {
+               return;
+       }
+
+       // clearAttributes removes the attributes, which we don't want,
+       // but also removes the attachEvent events, which we *do* want
+       if ( dest.clearAttributes ) {
+               dest.clearAttributes();
+       }
+
+       // mergeAttributes, in contrast, only merges back on the
+       // original attributes, not the events
+       if ( dest.mergeAttributes ) {
+               dest.mergeAttributes( src );
+       }
+
+       nodeName = dest.nodeName.toLowerCase();
+
+       // IE6-8 fail to clone children inside object elements that use
+       // the proprietary classid attribute value (rather than the type
+       // attribute) to identify the type of content to display
+       if ( nodeName === "object" ) {
+               dest.outerHTML = src.outerHTML;
+
+       } else if ( nodeName === "input" && (src.type === "checkbox" || src.type === "radio") ) {
+               // IE6-8 fails to persist the checked state of a cloned checkbox
+               // or radio button. Worse, IE6-7 fail to give the cloned element
+               // a checked appearance if the defaultChecked value isn't also set
+               if ( src.checked ) {
+                       dest.defaultChecked = dest.checked = src.checked;
+               }
+
+               // IE6-7 get confused and end up setting the value of a cloned
+               // checkbox/radio button to an empty string instead of "on"
+               if ( dest.value !== src.value ) {
+                       dest.value = src.value;
+               }
+
+       // IE6-8 fails to return the selected option to the default selected
+       // state when cloning options
+       } else if ( nodeName === "option" ) {
+               dest.selected = src.defaultSelected;
+
+       // IE6-8 fails to set the defaultValue to the correct value when
+       // cloning other types of input fields
+       } else if ( nodeName === "input" || nodeName === "textarea" ) {
+               dest.defaultValue = src.defaultValue;
+
+       // IE blanks contents when cloning scripts
+       } else if ( nodeName === "script" && dest.text !== src.text ) {
+               dest.text = src.text;
+       }
+
+       // Event data gets referenced instead of copied if the expando
+       // gets copied too
+       dest.removeAttribute( jQuery.expando );
+
+       // Clear flags for bubbling special change/submit events, they must
+       // be reattached when the newly cloned events are first activated
+       dest.removeAttribute( "_submit_attached" );
+       dest.removeAttribute( "_change_attached" );
+}
+
+jQuery.buildFragment = function( args, nodes, scripts ) {
+       var fragment, cacheable, cacheresults, doc,
+       first = args[ 0 ];
+
+       // nodes may contain either an explicit document object,
+       // a jQuery collection or context object.
+       // If nodes[0] contains a valid object to assign to doc
+       if ( nodes && nodes[0] ) {
+               doc = nodes[0].ownerDocument || nodes[0];
+       }
+
+       // Ensure that an attr object doesn't incorrectly stand in as a document object
+       // Chrome and Firefox seem to allow this to occur and will throw exception
+       // Fixes #8950
+       if ( !doc.createDocumentFragment ) {
+               doc = document;
+       }
+
+       // Only cache "small" (1/2 KB) HTML strings that are associated with the main document
+       // Cloning options loses the selected state, so don't cache them
+       // IE 6 doesn't like it when you put <object> or <embed> elements in a fragment
+       // Also, WebKit does not clone 'checked' attributes on cloneNode, so don't cache
+       // Lastly, IE6,7,8 will not correctly reuse cached fragments that were created from unknown elems #10501
+       if ( args.length === 1 && typeof first === "string" && first.length < 512 && doc === document &&
+               first.charAt(0) === "<" && !rnocache.test( first ) &&
+               (jQuery.support.checkClone || !rchecked.test( first )) &&
+               (jQuery.support.html5Clone || !rnoshimcache.test( first )) ) {
+
+               cacheable = true;
+
+               cacheresults = jQuery.fragments[ first ];
+               if ( cacheresults && cacheresults !== 1 ) {
+                       fragment = cacheresults;
+               }
+       }
+
+       if ( !fragment ) {
+               fragment = doc.createDocumentFragment();
+               jQuery.clean( args, doc, fragment, scripts );
+       }
+
+       if ( cacheable ) {
+               jQuery.fragments[ first ] = cacheresults ? fragment : 1;
+       }
+
+       return { fragment: fragment, cacheable: cacheable };
+};
+
+jQuery.fragments = {};
+
+jQuery.each({
+       appendTo: "append",
+       prependTo: "prepend",
+       insertBefore: "before",
+       insertAfter: "after",
+       replaceAll: "replaceWith"
+}, function( name, original ) {
+       jQuery.fn[ name ] = function( selector ) {
+               var ret = [],
+                       insert = jQuery( selector ),
+                       parent = this.length === 1 && this[0].parentNode;
+
+               if ( parent && parent.nodeType === 11 && parent.childNodes.length === 1 && insert.length === 1 ) {
+                       insert[ original ]( this[0] );
+                       return this;
+
+               } else {
+                       for ( var i = 0, l = insert.length; i < l; i++ ) {
+                               var elems = ( i > 0 ? this.clone(true) : this ).get();
+                               jQuery( insert[i] )[ original ]( elems );
+                               ret = ret.concat( elems );
+                       }
+
+                       return this.pushStack( ret, name, insert.selector );
+               }
+       };
+});
+
+function getAll( elem ) {
+       if ( typeof elem.getElementsByTagName !== "undefined" ) {
+               return elem.getElementsByTagName( "*" );
+
+       } else if ( typeof elem.querySelectorAll !== "undefined" ) {
+               return elem.querySelectorAll( "*" );
+
+       } else {
+               return [];
+       }
+}
+
+// Used in clean, fixes the defaultChecked property
+function fixDefaultChecked( elem ) {
+       if ( elem.type === "checkbox" || elem.type === "radio" ) {
+               elem.defaultChecked = elem.checked;
+       }
+}
+// Finds all inputs and passes them to fixDefaultChecked
+function findInputs( elem ) {
+       var nodeName = ( elem.nodeName || "" ).toLowerCase();
+       if ( nodeName === "input" ) {
+               fixDefaultChecked( elem );
+       // Skip scripts, get other children
+       } else if ( nodeName !== "script" && typeof elem.getElementsByTagName !== "undefined" ) {
+               jQuery.grep( elem.getElementsByTagName("input"), fixDefaultChecked );
+       }
+}
+
+// Derived From: http://www.iecss.com/shimprove/javascript/shimprove.1-0-1.js
+function shimCloneNode( elem ) {
+       var div = document.createElement( "div" );
+       safeFragment.appendChild( div );
+
+       div.innerHTML = elem.outerHTML;
+       return div.firstChild;
+}
+
+jQuery.extend({
+       clone: function( elem, dataAndEvents, deepDataAndEvents ) {
+               var srcElements,
+                       destElements,
+                       i,
+                       // IE<=8 does not properly clone detached, unknown element nodes
+                       clone = jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ?
+                               elem.cloneNode( true ) :
+                               shimCloneNode( elem );
+
+               if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) &&
+                               (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) {
+                       // IE copies events bound via attachEvent when using cloneNode.
+                       // Calling detachEvent on the clone will also remove the events
+                       // from the original. In order to get around this, we use some
+                       // proprietary methods to clear the events. Thanks to MooTools
+                       // guys for this hotness.
+
+                       cloneFixAttributes( elem, clone );
+
+                       // Using Sizzle here is crazy slow, so we use getElementsByTagName instead
+                       srcElements = getAll( elem );
+                       destElements = getAll( clone );
+
+                       // Weird iteration because IE will replace the length property
+                       // with an element if you are cloning the body and one of the
+                       // elements on the page has a name or id of "length"
+                       for ( i = 0; srcElements[i]; ++i ) {
+                               // Ensure that the destination node is not null; Fixes #9587
+                               if ( destElements[i] ) {
+                                       cloneFixAttributes( srcElements[i], destElements[i] );
+                               }
+                       }
+               }
+
+               // Copy the events from the original to the clone
+               if ( dataAndEvents ) {
+                       cloneCopyEvent( elem, clone );
+
+                       if ( deepDataAndEvents ) {
+                               srcElements = getAll( elem );
+                               destElements = getAll( clone );
+
+                               for ( i = 0; srcElements[i]; ++i ) {
+                                       cloneCopyEvent( srcElements[i], destElements[i] );
+                               }
+                       }
+               }
+
+               srcElements = destElements = null;
+
+               // Return the cloned set
+               return clone;
+       },
+
+       clean: function( elems, context, fragment, scripts ) {
+               var checkScriptType, script, j,
+                               ret = [];
+
+               context = context || document;
+
+               // !context.createElement fails in IE with an error but returns typeof 'object'
+               if ( typeof context.createElement === "undefined" ) {
+                       context = context.ownerDocument || context[0] && context[0].ownerDocument || document;
+               }
+
+               for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
+                       if ( typeof elem === "number" ) {
+                               elem += "";
+                       }
+
+                       if ( !elem ) {
+                               continue;
+                       }
+
+                       // Convert html string into DOM nodes
+                       if ( typeof elem === "string" ) {
+                               if ( !rhtml.test( elem ) ) {
+                                       elem = context.createTextNode( elem );
+                               } else {
+                                       // Fix "XHTML"-style tags in all browsers
+                                       elem = elem.replace(rxhtmlTag, "<$1></$2>");
+
+                                       // Trim whitespace, otherwise indexOf won't work as expected
+                                       var tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase(),
+                                               wrap = wrapMap[ tag ] || wrapMap._default,
+                                               depth = wrap[0],
+                                               div = context.createElement("div"),
+                                               safeChildNodes = safeFragment.childNodes,
+                                               remove;
+
+                                       // Append wrapper element to unknown element safe doc fragment
+                                       if ( context === document ) {
+                                               // Use the fragment we've already created for this document
+                                               safeFragment.appendChild( div );
+                                       } else {
+                                               // Use a fragment created with the owner document
+                                               createSafeFragment( context ).appendChild( div );
+                                       }
+
+                                       // Go to html and back, then peel off extra wrappers
+                                       div.innerHTML = wrap[1] + elem + wrap[2];
+
+                                       // Move to the right depth
+                                       while ( depth-- ) {
+                                               div = div.lastChild;
+                                       }
+
+                                       // Remove IE's autoinserted <tbody> from table fragments
+                                       if ( !jQuery.support.tbody ) {
+
+                                               // String was a <table>, *may* have spurious <tbody>
+                                               var hasBody = rtbody.test(elem),
+                                                       tbody = tag === "table" && !hasBody ?
+                                                               div.firstChild && div.firstChild.childNodes :
+
+                                                               // String was a bare <thead> or <tfoot>
+                                                               wrap[1] === "<table>" && !hasBody ?
+                                                                       div.childNodes :
+                                                                       [];
+
+                                               for ( j = tbody.length - 1; j >= 0 ; --j ) {
+                                                       if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length ) {
+                                                               tbody[ j ].parentNode.removeChild( tbody[ j ] );
+                                                       }
+                                               }
+                                       }
+
+                                       // IE completely kills leading whitespace when innerHTML is used
+                                       if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) {
+                                               div.insertBefore( context.createTextNode( rleadingWhitespace.exec(elem)[0] ), div.firstChild );
+                                       }
+
+                                       elem = div.childNodes;
+
+                                       // Clear elements from DocumentFragment (safeFragment or otherwise)
+                                       // to avoid hoarding elements. Fixes #11356
+                                       if ( div ) {
+                                               div.parentNode.removeChild( div );
+
+                                               // Guard against -1 index exceptions in FF3.6
+                                               if ( safeChildNodes.length > 0 ) {
+                                                       remove = safeChildNodes[ safeChildNodes.length - 1 ];
+
+                                                       if ( remove && remove.parentNode ) {
+                                                               remove.parentNode.removeChild( remove );
+                                                       }
+                                               }
+                                       }
+                               }
+                       }
+
+                       // Resets defaultChecked for any radios and checkboxes
+                       // about to be appended to the DOM in IE 6/7 (#8060)
+                       var len;
+                       if ( !jQuery.support.appendChecked ) {
+                               if ( elem[0] && typeof (len = elem.length) === "number" ) {
+                                       for ( j = 0; j < len; j++ ) {
+                                               findInputs( elem[j] );
+                                       }
+                               } else {
+                                       findInputs( elem );
+                               }
+                       }
+
+                       if ( elem.nodeType ) {
+                               ret.push( elem );
+                       } else {
+                               ret = jQuery.merge( ret, elem );
+                       }
+               }
+
+               if ( fragment ) {
+                       checkScriptType = function( elem ) {
+                               return !elem.type || rscriptType.test( elem.type );
+                       };
+                       for ( i = 0; ret[i]; i++ ) {
+                               script = ret[i];
+                               if ( scripts && jQuery.nodeName( script, "script" ) && (!script.type || rscriptType.test( script.type )) ) {
+                                       scripts.push( script.parentNode ? script.parentNode.removeChild( script ) : script );
+
+                               } else {
+                                       if ( script.nodeType === 1 ) {
+                                               var jsTags = jQuery.grep( script.getElementsByTagName( "script" ), checkScriptType );
+
+                                               ret.splice.apply( ret, [i + 1, 0].concat( jsTags ) );
+                                       }
+                                       fragment.appendChild( script );
+                               }
+                       }
+               }
+
+               return ret;
+       },
+
+       cleanData: function( elems ) {
+               var data, id,
+                       cache = jQuery.cache,
+                       special = jQuery.event.special,
+                       deleteExpando = jQuery.support.deleteExpando;
+
+               for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
+                       if ( elem.nodeName && jQuery.noData[elem.nodeName.toLowerCase()] ) {
+                               continue;
+                       }
+
+                       id = elem[ jQuery.expando ];
+
+                       if ( id ) {
+                               data = cache[ id ];
+
+                               if ( data && data.events ) {
+                                       for ( var type in data.events ) {
+                                               if ( special[ type ] ) {
+                                                       jQuery.event.remove( elem, type );
+
+                                               // This is a shortcut to avoid jQuery.event.remove's overhead
+                                               } else {
+                                                       jQuery.removeEvent( elem, type, data.handle );
+                                               }
+                                       }
+
+                                       // Null the DOM reference to avoid IE6/7/8 leak (#7054)
+                                       if ( data.handle ) {
+                                               data.handle.elem = null;
+                                       }
+                               }
+
+                               if ( deleteExpando ) {
+                                       delete elem[ jQuery.expando ];
+
+                               } else if ( elem.removeAttribute ) {
+                                       elem.removeAttribute( jQuery.expando );
+                               }
+
+                               delete cache[ id ];
+                       }
+               }
+       }
+});
+
+
+
+
+var ralpha = /alpha\([^)]*\)/i,
+       ropacity = /opacity=([^)]*)/,
+       // fixed for IE9, see #8346
+       rupper = /([A-Z]|^ms)/g,
+       rnum = /^[\-+]?(?:\d*\.)?\d+$/i,
+       rnumnonpx = /^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,
+       rrelNum = /^([\-+])=([\-+.\de]+)/,
+       rmargin = /^margin/,
+
+       cssShow = { position: "absolute", visibility: "hidden", display: "block" },
+
+       // order is important!
+       cssExpand = [ "Top", "Right", "Bottom", "Left" ],
+
+       curCSS,
+
+       getComputedStyle,
+       currentStyle;
+
+jQuery.fn.css = function( name, value ) {
+       return jQuery.access( this, function( elem, name, value ) {
+               return value !== undefined ?
+                       jQuery.style( elem, name, value ) :
+                       jQuery.css( elem, name );
+       }, name, value, arguments.length > 1 );
+};
+
+jQuery.extend({
+       // Add in style property hooks for overriding the default
+       // behavior of getting and setting a style property
+       cssHooks: {
+               opacity: {
+                       get: function( elem, computed ) {
+                               if ( computed ) {
+                                       // We should always get a number back from opacity
+                                       var ret = curCSS( elem, "opacity" );
+                                       return ret === "" ? "1" : ret;
+
+                               } else {
+                                       return elem.style.opacity;
+                               }
+                       }
+               }
+       },
+
+       // Exclude the following css properties to add px
+       cssNumber: {
+               "fillOpacity": true,
+               "fontWeight": true,
+               "lineHeight": true,
+               "opacity": true,
+               "orphans": true,
+               "widows": true,
+               "zIndex": true,
+               "zoom": true
+       },
+
+       // Add in properties whose names you wish to fix before
+       // setting or getting the value
+       cssProps: {
+               // normalize float css property
+               "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat"
+       },
+
+       // Get and set the style property on a DOM Node
+       style: function( elem, name, value, extra ) {
+               // Don't set styles on text and comment nodes
+               if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
+                       return;
+               }
+
+               // Make sure that we're working with the right name
+               var ret, type, origName = jQuery.camelCase( name ),
+                       style = elem.style, hooks = jQuery.cssHooks[ origName ];
+
+               name = jQuery.cssProps[ origName ] || origName;
+
+               // Check if we're setting a value
+               if ( value !== undefined ) {
+                       type = typeof value;
+
+                       // convert relative number strings (+= or -=) to relative numbers. #7345
+                       if ( type === "string" && (ret = rrelNum.exec( value )) ) {
+                               value = ( +( ret[1] + 1) * +ret[2] ) + parseFloat( jQuery.css( elem, name ) );
+                               // Fixes bug #9237
+                               type = "number";
+                       }
+
+                       // Make sure that NaN and null values aren't set. See: #7116
+                       if ( value == null || type === "number" && isNaN( value ) ) {
+                               return;
+                       }
+
+                       // If a number was passed in, add 'px' to the (except for certain CSS properties)
+                       if ( type === "number" && !jQuery.cssNumber[ origName ] ) {
+                               value += "px";
+                       }
+
+                       // If a hook was provided, use that value, otherwise just set the specified value
+                       if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value )) !== undefined ) {
+                               // Wrapped to prevent IE from throwing errors when 'invalid' values are provided
+                               // Fixes bug #5509
+                               try {
+                                       style[ name ] = value;
+                               } catch(e) {}
+                       }
+
+               } else {
+                       // If a hook was provided get the non-computed value from there
+                       if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) {
+                               return ret;
+                       }
+
+                       // Otherwise just get the value from the style object
+                       return style[ name ];
+               }
+       },
+
+       css: function( elem, name, extra ) {
+               var ret, hooks;
+
+               // Make sure that we're working with the right name
+               name = jQuery.camelCase( name );
+               hooks = jQuery.cssHooks[ name ];
+               name = jQuery.cssProps[ name ] || name;
+
+               // cssFloat needs a special treatment
+               if ( name === "cssFloat" ) {
+                       name = "float";
+               }
+
+               // If a hook was provided get the computed value from there
+               if ( hooks && "get" in hooks && (ret = hooks.get( elem, true, extra )) !== undefined ) {
+                       return ret;
+
+               // Otherwise, if a way to get the computed value exists, use that
+               } else if ( curCSS ) {
+                       return curCSS( elem, name );
+               }
+       },
+
+       // A method for quickly swapping in/out CSS properties to get correct calculations
+       swap: function( elem, options, callback ) {
+               var old = {},
+                       ret, name;
+
+               // Remember the old values, and insert the new ones
+               for ( name in options ) {
+                       old[ name ] = elem.style[ name ];
+                       elem.style[ name ] = options[ name ];
+               }
+
+               ret = callback.call( elem );
+
+               // Revert the old values
+               for ( name in options ) {
+                       elem.style[ name ] = old[ name ];
+               }
+
+               return ret;
+       }
+});
+
+// DEPRECATED in 1.3, Use jQuery.css() instead
+jQuery.curCSS = jQuery.css;
+
+if ( document.defaultView && document.defaultView.getComputedStyle ) {
+       getComputedStyle = function( elem, name ) {
+               var ret, defaultView, computedStyle, width,
+                       style = elem.style;
+
+               name = name.replace( rupper, "-$1" ).toLowerCase();
+
+               if ( (defaultView = elem.ownerDocument.defaultView) &&
+                               (computedStyle = defaultView.getComputedStyle( elem, null )) ) {
+
+                       ret = computedStyle.getPropertyValue( name );
+                       if ( ret === "" && !jQuery.contains( elem.ownerDocument.documentElement, elem ) ) {
+                               ret = jQuery.style( elem, name );
+                       }
+               }
+
+               // A tribute to the "awesome hack by Dean Edwards"
+               // WebKit uses "computed value (percentage if specified)" instead of "used value" for margins
+               // which is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values
+               if ( !jQuery.support.pixelMargin && computedStyle && rmargin.test( name ) && rnumnonpx.test( ret ) ) {
+                       width = style.width;
+                       style.width = ret;
+                       ret = computedStyle.width;
+                       style.width = width;
+               }
+
+               return ret;
+       };
+}
+
+if ( document.documentElement.currentStyle ) {
+       currentStyle = function( elem, name ) {
+               var left, rsLeft, uncomputed,
+                       ret = elem.currentStyle && elem.currentStyle[ name ],
+                       style = elem.style;
+
+               // Avoid setting ret to empty string here
+               // so we don't default to auto
+               if ( ret == null && style && (uncomputed = style[ name ]) ) {
+                       ret = uncomputed;
+               }
+
+               // From the awesome hack by Dean Edwards
+               // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
+
+               // If we're not dealing with a regular pixel number
+               // but a number that has a weird ending, we need to convert it to pixels
+               if ( rnumnonpx.test( ret ) ) {
+
+                       // Remember the original values
+                       left = style.left;
+                       rsLeft = elem.runtimeStyle && elem.runtimeStyle.left;
+
+                       // Put in the new values to get a computed value out
+                       if ( rsLeft ) {
+                               elem.runtimeStyle.left = elem.currentStyle.left;
+                       }
+                       style.left = name === "fontSize" ? "1em" : ret;
+                       ret = style.pixelLeft + "px";
+
+                       // Revert the changed values
+                       style.left = left;
+                       if ( rsLeft ) {
+                               elem.runtimeStyle.left = rsLeft;
+                       }
+               }
+
+               return ret === "" ? "auto" : ret;
+       };
+}
+
+curCSS = getComputedStyle || currentStyle;
+
+function getWidthOrHeight( elem, name, extra ) {
+
+       // Start with offset property
+       var val = name === "width" ? elem.offsetWidth : elem.offsetHeight,
+               i = name === "width" ? 1 : 0,
+               len = 4;
+
+       if ( val > 0 ) {
+               if ( extra !== "border" ) {
+                       for ( ; i < len; i += 2 ) {
+                               if ( !extra ) {
+                                       val -= parseFloat( jQuery.css( elem, "padding" + cssExpand[ i ] ) ) || 0;
+                               }
+                               if ( extra === "margin" ) {
+                                       val += parseFloat( jQuery.css( elem, extra + cssExpand[ i ] ) ) || 0;
+                               } else {
+                                       val -= parseFloat( jQuery.css( elem, "border" + cssExpand[ i ] + "Width" ) ) || 0;
+                               }
+                       }
+               }
+
+               return val + "px";
+       }
+
+       // Fall back to computed then uncomputed css if necessary
+       val = curCSS( elem, name );
+       if ( val < 0 || val == null ) {
+               val = elem.style[ name ];
+       }
+
+       // Computed unit is not pixels. Stop here and return.
+       if ( rnumnonpx.test(val) ) {
+               return val;
+       }
+
+       // Normalize "", auto, and prepare for extra
+       val = parseFloat( val ) || 0;
+
+       // Add padding, border, margin
+       if ( extra ) {
+               for ( ; i < len; i += 2 ) {
+                       val += parseFloat( jQuery.css( elem, "padding" + cssExpand[ i ] ) ) || 0;
+                       if ( extra !== "padding" ) {
+                               val += parseFloat( jQuery.css( elem, "border" + cssExpand[ i ] + "Width" ) ) || 0;
+                       }
+                       if ( extra === "margin" ) {
+                               val += parseFloat( jQuery.css( elem, extra + cssExpand[ i ]) ) || 0;
+                       }
+               }
+       }
+
+       return val + "px";
+}
+
+jQuery.each([ "height", "width" ], function( i, name ) {
+       jQuery.cssHooks[ name ] = {
+               get: function( elem, computed, extra ) {
+                       if ( computed ) {
+                               if ( elem.offsetWidth !== 0 ) {
+                                       return getWidthOrHeight( elem, name, extra );
+                               } else {
+                                       return jQuery.swap( elem, cssShow, function() {
+                                               return getWidthOrHeight( elem, name, extra );
+                                       });
+                               }
+                       }
+               },
+
+               set: function( elem, value ) {
+                       return rnum.test( value ) ?
+                               value + "px" :
+                               value;
+               }
+       };
+});
+
+if ( !jQuery.support.opacity ) {
+       jQuery.cssHooks.opacity = {
+               get: function( elem, computed ) {
+                       // IE uses filters for opacity
+                       return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ?
+                               ( parseFloat( RegExp.$1 ) / 100 ) + "" :
+                               computed ? "1" : "";
+               },
+
+               set: function( elem, value ) {
+                       var style = elem.style,
+                               currentStyle = elem.currentStyle,
+                               opacity = jQuery.isNumeric( value ) ? "alpha(opacity=" + value * 100 + ")" : "",
+                               filter = currentStyle && currentStyle.filter || style.filter || "";
+
+                       // IE has trouble with opacity if it does not have layout
+                       // Force it by setting the zoom level
+                       style.zoom = 1;
+
+                       // if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652
+                       if ( value >= 1 && jQuery.trim( filter.replace( ralpha, "" ) ) === "" ) {
+
+                               // Setting style.filter to null, "" & " " still leave "filter:" in the cssText
+                               // if "filter:" is present at all, clearType is disabled, we want to avoid this
+                               // style.removeAttribute is IE Only, but so apparently is this code path...
+                               style.removeAttribute( "filter" );
+
+                               // if there there is no filter style applied in a css rule, we are done
+                               if ( currentStyle && !currentStyle.filter ) {
+                                       return;
+                               }
+                       }
+
+                       // otherwise, set new filter values
+                       style.filter = ralpha.test( filter ) ?
+                               filter.replace( ralpha, opacity ) :
+                               filter + " " + opacity;
+               }
+       };
+}
+
+jQuery(function() {
+       // This hook cannot be added until DOM ready because the support test
+       // for it is not run until after DOM ready
+       if ( !jQuery.support.reliableMarginRight ) {
+               jQuery.cssHooks.marginRight = {
+                       get: function( elem, computed ) {
+                               // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
+                               // Work around by temporarily setting element display to inline-block
+                               return jQuery.swap( elem, { "display": "inline-block" }, function() {
+                                       if ( computed ) {
+                                               return curCSS( elem, "margin-right" );
+                                       } else {
+                                               return elem.style.marginRight;
+                                       }
+                               });
+                       }
+               };
+       }
+});
+
+if ( jQuery.expr && jQuery.expr.filters ) {
+       jQuery.expr.filters.hidden = function( elem ) {
+               var width = elem.offsetWidth,
+                       height = elem.offsetHeight;
+
+               return ( width === 0 && height === 0 ) || (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || jQuery.css( elem, "display" )) === "none");
+       };
+
+       jQuery.expr.filters.visible = function( elem ) {
+               return !jQuery.expr.filters.hidden( elem );
+       };
+}
+
+// These hooks are used by animate to expand properties
+jQuery.each({
+       margin: "",
+       padding: "",
+       border: "Width"
+}, function( prefix, suffix ) {
+
+       jQuery.cssHooks[ prefix + suffix ] = {
+               expand: function( value ) {
+                       var i,
+
+                               // assumes a single number if not a string
+                               parts = typeof value === "string" ? value.split(" ") : [ value ],
+                               expanded = {};
+
+                       for ( i = 0; i < 4; i++ ) {
+                               expanded[ prefix + cssExpand[ i ] + suffix ] =
+                                       parts[ i ] || parts[ i - 2 ] || parts[ 0 ];
+                       }
+
+                       return expanded;
+               }
+       };
+});
+
+
+
+
+var r20 = /%20/g,
+       rbracket = /\[\]$/,
+       rCRLF = /\r?\n/g,
+       rhash = /#.*$/,
+       rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL
+       rinput = /^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
+       // #7653, #8125, #8152: local protocol detection
+       rlocalProtocol = /^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,
+       rnoContent = /^(?:GET|HEAD)$/,
+       rprotocol = /^\/\//,
+       rquery = /\?/,
+       rscript = /<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
+       rselectTextarea = /^(?:select|textarea)/i,
+       rspacesAjax = /\s+/,
+       rts = /([?&])_=[^&]*/,
+       rurl = /^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,
+
+       // Keep a copy of the old load method
+       _load = jQuery.fn.load,
+
+       /* Prefilters
+        * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
+        * 2) These are called:
+        *    - BEFORE asking for a transport
+        *    - AFTER param serialization (s.data is a string if s.processData is true)
+        * 3) key is the dataType
+        * 4) the catchall symbol "*" can be used
+        * 5) execution will start with transport dataType and THEN continue down to "*" if needed
+        */
+       prefilters = {},
+
+       /* Transports bindings
+        * 1) key is the dataType
+        * 2) the catchall symbol "*" can be used
+        * 3) selection will start with transport dataType and THEN go to "*" if needed
+        */
+       transports = {},
+
+       // Document location
+       ajaxLocation,
+
+       // Document location segments
+       ajaxLocParts,
+
+       // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
+       allTypes = ["*/"] + ["*"];
+
+// #8138, IE may throw an exception when accessing
+// a field from window.location if document.domain has been set
+try {
+       ajaxLocation = location.href;
+} catch( e ) {
+       // Use the href attribute of an A element
+       // since IE will modify it given document.location
+       ajaxLocation = document.createElement( "a" );
+       ajaxLocation.href = "";
+       ajaxLocation = ajaxLocation.href;
+}
+
+// Segment location into parts
+ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || [];
+
+// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
+function addToPrefiltersOrTransports( structure ) {
+
+       // dataTypeExpression is optional and defaults to "*"
+       return function( dataTypeExpression, func ) {
+
+               if ( typeof dataTypeExpression !== "string" ) {
+                       func = dataTypeExpression;
+                       dataTypeExpression = "*";
+               }
+
+               if ( jQuery.isFunction( func ) ) {
+                       var dataTypes = dataTypeExpression.toLowerCase().split( rspacesAjax ),
+                               i = 0,
+                               length = dataTypes.length,
+                               dataType,
+                               list,
+                               placeBefore;
+
+                       // For each dataType in the dataTypeExpression
+                       for ( ; i < length; i++ ) {
+                               dataType = dataTypes[ i ];
+                               // We control if we're asked to add before
+                               // any existing element
+                               placeBefore = /^\+/.test( dataType );
+                               if ( placeBefore ) {
+                                       dataType = dataType.substr( 1 ) || "*";
+                               }
+                               list = structure[ dataType ] = structure[ dataType ] || [];
+                               // then we add to the structure accordingly
+                               list[ placeBefore ? "unshift" : "push" ]( func );
+                       }
+               }
+       };
+}
+
+// Base inspection function for prefilters and transports
+function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR,
+               dataType /* internal */, inspected /* internal */ ) {
+
+       dataType = dataType || options.dataTypes[ 0 ];
+       inspected = inspected || {};
+
+       inspected[ dataType ] = true;
+
+       var list = structure[ dataType ],
+               i = 0,
+               length = list ? list.length : 0,
+               executeOnly = ( structure === prefilters ),
+               selection;
+
+       for ( ; i < length && ( executeOnly || !selection ); i++ ) {
+               selection = list[ i ]( options, originalOptions, jqXHR );
+               // If we got redirected to another dataType
+               // we try there if executing only and not done already
+               if ( typeof selection === "string" ) {
+                       if ( !executeOnly || inspected[ selection ] ) {
+                               selection = undefined;
+                       } else {
+                               options.dataTypes.unshift( selection );
+                               selection = inspectPrefiltersOrTransports(
+                                               structure, options, originalOptions, jqXHR, selection, inspected );
+                       }
+               }
+       }
+       // If we're only executing or nothing was selected
+       // we try the catchall dataType if not done already
+       if ( ( executeOnly || !selection ) && !inspected[ "*" ] ) {
+               selection = inspectPrefiltersOrTransports(
+                               structure, options, originalOptions, jqXHR, "*", inspected );
+       }
+       // unnecessary when only executing (prefilters)
+       // but it'll be ignored by the caller in that case
+       return selection;
+}
+
+// A special extend for ajax options
+// that takes "flat" options (not to be deep extended)
+// Fixes #9887
+function ajaxExtend( target, src ) {
+       var key, deep,
+               flatOptions = jQuery.ajaxSettings.flatOptions || {};
+       for ( key in src ) {
+               if ( src[ key ] !== undefined ) {
+                       ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];
+               }
+       }
+       if ( deep ) {
+               jQuery.extend( true, target, deep );
+       }
+}
+
+jQuery.fn.extend({
+       load: function( url, params, callback ) {
+               if ( typeof url !== "string" && _load ) {
+                       return _load.apply( this, arguments );
+
+               // Don't do a request if no elements are being requested
+               } else if ( !this.length ) {
+                       return this;
+               }
+
+               var off = url.indexOf( " " );
+               if ( off >= 0 ) {
+                       var selector = url.slice( off, url.length );
+                       url = url.slice( 0, off );
+               }
+
+               // Default to a GET request
+               var type = "GET";
+
+               // If the second parameter was provided
+               if ( params ) {
+                       // If it's a function
+                       if ( jQuery.isFunction( params ) ) {
+                               // We assume that it's the callback
+                               callback = params;
+                               params = undefined;
+
+                       // Otherwise, build a param string
+                       } else if ( typeof params === "object" ) {
+                               params = jQuery.param( params, jQuery.ajaxSettings.traditional );
+                               type = "POST";
+                       }
+               }
+
+               var self = this;
+
+               // Request the remote document
+               jQuery.ajax({
+                       url: url,
+                       type: type,
+                       dataType: "html",
+                       data: params,
+                       // Complete callback (responseText is used internally)
+                       complete: function( jqXHR, status, responseText ) {
+                               // Store the response as specified by the jqXHR object
+                               responseText = jqXHR.responseText;
+                               // If successful, inject the HTML into all the matched elements
+                               if ( jqXHR.isResolved() ) {
+                                       // #4825: Get the actual response in case
+                                       // a dataFilter is present in ajaxSettings
+                                       jqXHR.done(function( r ) {
+                                               responseText = r;
+                                       });
+                                       // See if a selector was specified
+                                       self.html( selector ?
+                                               // Create a dummy div to hold the results
+                                               jQuery("<div>")
+                                                       // inject the contents of the document in, removing the scripts
+                                                       // to avoid any 'Permission Denied' errors in IE
+                                                       .append(responseText.replace(rscript, ""))
+
+                                                       // Locate the specified elements
+                                                       .find(selector) :
+
+                                               // If not, just inject the full result
+                                               responseText );
+                               }
+
+                               if ( callback ) {
+                                       self.each( callback, [ responseText, status, jqXHR ] );
+                               }
+                       }
+               });
+
+               return this;
+       },
+
+       serialize: function() {
+               return jQuery.param( this.serializeArray() );
+       },
+
+       serializeArray: function() {
+               return this.map(function(){
+                       return this.elements ? jQuery.makeArray( this.elements ) : this;
+               })
+               .filter(function(){
+                       return this.name && !this.disabled &&
+                               ( this.checked || rselectTextarea.test( this.nodeName ) ||
+                                       rinput.test( this.type ) );
+               })
+               .map(function( i, elem ){
+                       var val = jQuery( this ).val();
+
+                       return val == null ?
+                               null :
+                               jQuery.isArray( val ) ?
+                                       jQuery.map( val, function( val, i ){
+                                               return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
+                                       }) :
+                                       { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
+               }).get();
+       }
+});
+
+// Attach a bunch of functions for handling common AJAX events
+jQuery.each( "ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split( " " ), function( i, o ){
+       jQuery.fn[ o ] = function( f ){
+               return this.on( o, f );
+       };
+});
+
+jQuery.each( [ "get", "post" ], function( i, method ) {
+       jQuery[ method ] = function( url, data, callback, type ) {
+               // shift arguments if data argument was omitted
+               if ( jQuery.isFunction( data ) ) {
+                       type = type || callback;
+                       callback = data;
+                       data = undefined;
+               }
+
+               return jQuery.ajax({
+                       type: method,
+                       url: url,
+                       data: data,
+                       success: callback,
+                       dataType: type
+               });
+       };
+});
+
+jQuery.extend({
+
+       getScript: function( url, callback ) {
+               return jQuery.get( url, undefined, callback, "script" );
+       },
+
+       getJSON: function( url, data, callback ) {
+               return jQuery.get( url, data, callback, "json" );
+       },
+
+       // Creates a full fledged settings object into target
+       // with both ajaxSettings and settings fields.
+       // If target is omitted, writes into ajaxSettings.
+       ajaxSetup: function( target, settings ) {
+               if ( settings ) {
+                       // Building a settings object
+                       ajaxExtend( target, jQuery.ajaxSettings );
+               } else {
+                       // Extending ajaxSettings
+                       settings = target;
+                       target = jQuery.ajaxSettings;
+               }
+               ajaxExtend( target, settings );
+               return target;
+       },
+
+       ajaxSettings: {
+               url: ajaxLocation,
+               isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),
+               global: true,
+               type: "GET",
+               contentType: "application/x-www-form-urlencoded; charset=UTF-8",
+               processData: true,
+               async: true,
+               /*
+               timeout: 0,
+               data: null,
+               dataType: null,
+               username: null,
+               password: null,
+               cache: null,
+               traditional: false,
+               headers: {},
+               */
+
+               accepts: {
+                       xml: "application/xml, text/xml",
+                       html: "text/html",
+                       text: "text/plain",
+                       json: "application/json, text/javascript",
+                       "*": allTypes
+               },
+
+               contents: {
+                       xml: /xml/,
+                       html: /html/,
+                       json: /json/
+               },
+
+               responseFields: {
+                       xml: "responseXML",
+                       text: "responseText"
+               },
+
+               // List of data converters
+               // 1) key format is "source_type destination_type" (a single space in-between)
+               // 2) the catchall symbol "*" can be used for source_type
+               converters: {
+
+                       // Convert anything to text
+                       "* text": window.String,
+
+                       // Text to html (true = no transformation)
+                       "text html": true,
+
+                       // Evaluate text as a json expression
+                       "text json": jQuery.parseJSON,
+
+                       // Parse text as xml
+                       "text xml": jQuery.parseXML
+               },
+
+               // For options that shouldn't be deep extended:
+               // you can add your own custom options here if
+               // and when you create one that shouldn't be
+               // deep extended (see ajaxExtend)
+               flatOptions: {
+                       context: true,
+                       url: true
+               }
+       },
+
+       ajaxPrefilter: addToPrefiltersOrTransports( prefilters ),
+       ajaxTransport: addToPrefiltersOrTransports( transports ),
+
+       // Main method
+       ajax: function( url, options ) {
+
+               // If url is an object, simulate pre-1.5 signature
+               if ( typeof url === "object" ) {
+                       options = url;
+                       url = undefined;
+               }
+
+               // Force options to be an object
+               options = options || {};
+
+               var // Create the final options object
+                       s = jQuery.ajaxSetup( {}, options ),
+                       // Callbacks context
+                       callbackContext = s.context || s,
+                       // Context for global events
+                       // It's the callbackContext if one was provided in the options
+                       // and if it's a DOM node or a jQuery collection
+                       globalEventContext = callbackContext !== s &&
+                               ( callbackContext.nodeType || callbackContext instanceof jQuery ) ?
+                                               jQuery( callbackContext ) : jQuery.event,
+                       // Deferreds
+                       deferred = jQuery.Deferred(),
+                       completeDeferred = jQuery.Callbacks( "once memory" ),
+                       // Status-dependent callbacks
+                       statusCode = s.statusCode || {},
+                       // ifModified key
+                       ifModifiedKey,
+                       // Headers (they are sent all at once)
+                       requestHeaders = {},
+                       requestHeadersNames = {},
+                       // Response headers
+                       responseHeadersString,
+                       responseHeaders,
+                       // transport
+                       transport,
+                       // timeout handle
+                       timeoutTimer,
+                       // Cross-domain detection vars
+                       parts,
+                       // The jqXHR state
+                       state = 0,
+                       // To know if global events are to be dispatched
+                       fireGlobals,
+                       // Loop variable
+                       i,
+                       // Fake xhr
+                       jqXHR = {
+
+                               readyState: 0,
+
+                               // Caches the header
+                               setRequestHeader: function( name, value ) {
+                                       if ( !state ) {
+                                               var lname = name.toLowerCase();
+                                               name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name;
+                                               requestHeaders[ name ] = value;
+                                       }
+                                       return this;
+                               },
+
+                               // Raw string
+                               getAllResponseHeaders: function() {
+                                       return state === 2 ? responseHeadersString : null;
+                               },
+
+                               // Builds headers hashtable if needed
+                               getResponseHeader: function( key ) {
+                                       var match;
+                                       if ( state === 2 ) {
+                                               if ( !responseHeaders ) {
+                                                       responseHeaders = {};
+                                                       while( ( match = rheaders.exec( responseHeadersString ) ) ) {
+                                                               responseHeaders[ match[1].toLowerCase() ] = match[ 2 ];
+                                                       }
+                                               }
+                                               match = responseHeaders[ key.toLowerCase() ];
+                                       }
+                                       return match === undefined ? null : match;
+                               },
+
+                               // Overrides response content-type header
+                               overrideMimeType: function( type ) {
+                                       if ( !state ) {
+                                               s.mimeType = type;
+                                       }
+                                       return this;
+                               },
+
+                               // Cancel the request
+                               abort: function( statusText ) {
+                                       statusText = statusText || "abort";
+                                       if ( transport ) {
+                                               transport.abort( statusText );
+                                       }
+                                       done( 0, statusText );
+                                       return this;
+                               }
+                       };
+
+               // Callback for when everything is done
+               // It is defined here because jslint complains if it is declared
+               // at the end of the function (which would be more logical and readable)
+               function done( status, nativeStatusText, responses, headers ) {
+
+                       // Called once
+                       if ( state === 2 ) {
+                               return;
+                       }
+
+                       // State is "done" now
+                       state = 2;
+
+                       // Clear timeout if it exists
+                       if ( timeoutTimer ) {
+                               clearTimeout( timeoutTimer );
+                       }
+
+                       // Dereference transport for early garbage collection
+                       // (no matter how long the jqXHR object will be used)
+                       transport = undefined;
+
+                       // Cache response headers
+                       responseHeadersString = headers || "";
+
+                       // Set readyState
+                       jqXHR.readyState = status > 0 ? 4 : 0;
+
+                       var isSuccess,
+                               success,
+                               error,
+                               statusText = nativeStatusText,
+                               response = responses ? ajaxHandleResponses( s, jqXHR, responses ) : undefined,
+                               lastModified,
+                               etag;
+
+                       // If successful, handle type chaining
+                       if ( status >= 200 && status < 300 || status === 304 ) {
+
+                               // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
+                               if ( s.ifModified ) {
+
+                                       if ( ( lastModified = jqXHR.getResponseHeader( "Last-Modified" ) ) ) {
+                                               jQuery.lastModified[ ifModifiedKey ] = lastModified;
+                                       }
+                                       if ( ( etag = jqXHR.getResponseHeader( "Etag" ) ) ) {
+                                               jQuery.etag[ ifModifiedKey ] = etag;
+                                       }
+                               }
+
+                               // If not modified
+                               if ( status === 304 ) {
+
+                                       statusText = "notmodified";
+                                       isSuccess = true;
+
+                               // If we have data
+                               } else {
+
+                                       try {
+                                               success = ajaxConvert( s, response );
+                                               statusText = "success";
+                                               isSuccess = true;
+                                       } catch(e) {
+                                               // We have a parsererror
+                                               statusText = "parsererror";
+                                               error = e;
+                                       }
+                               }
+                       } else {
+                               // We extract error from statusText
+                               // then normalize statusText and status for non-aborts
+                               error = statusText;
+                               if ( !statusText || status ) {
+                                       statusText = "error";
+                                       if ( status < 0 ) {
+                                               status = 0;
+                                       }
+                               }
+                       }
+
+                       // Set data for the fake xhr object
+                       jqXHR.status = status;
+                       jqXHR.statusText = "" + ( nativeStatusText || statusText );
+
+                       // Success/Error
+                       if ( isSuccess ) {
+                               deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );
+                       } else {
+                               deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );
+                       }
+
+                       // Status-dependent callbacks
+                       jqXHR.statusCode( statusCode );
+                       statusCode = undefined;
+
+                       if ( fireGlobals ) {
+                               globalEventContext.trigger( "ajax" + ( isSuccess ? "Success" : "Error" ),
+                                               [ jqXHR, s, isSuccess ? success : error ] );
+                       }
+
+                       // Complete
+                       completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );
+
+                       if ( fireGlobals ) {
+                               globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] );
+                               // Handle the global AJAX counter
+                               if ( !( --jQuery.active ) ) {
+                                       jQuery.event.trigger( "ajaxStop" );
+                               }
+                       }
+               }
+
+               // Attach deferreds
+               deferred.promise( jqXHR );
+               jqXHR.success = jqXHR.done;
+               jqXHR.error = jqXHR.fail;
+               jqXHR.complete = completeDeferred.add;
+
+               // Status-dependent callbacks
+               jqXHR.statusCode = function( map ) {
+                       if ( map ) {
+                               var tmp;
+                               if ( state < 2 ) {
+                                       for ( tmp in map ) {
+                                               statusCode[ tmp ] = [ statusCode[tmp], map[tmp] ];
+                                       }
+                               } else {
+                                       tmp = map[ jqXHR.status ];
+                                       jqXHR.then( tmp, tmp );
+                               }
+                       }
+                       return this;
+               };
+
+               // Remove hash character (#7531: and string promotion)
+               // Add protocol if not provided (#5866: IE7 issue with protocol-less urls)
+               // We also use the url parameter if available
+               s.url = ( ( url || s.url ) + "" ).replace( rhash, "" ).replace( rprotocol, ajaxLocParts[ 1 ] + "//" );
+
+               // Extract dataTypes list
+               s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().split( rspacesAjax );
+
+               // Determine if a cross-domain request is in order
+               if ( s.crossDomain == null ) {
+                       parts = rurl.exec( s.url.toLowerCase() );
+                       s.crossDomain = !!( parts &&
+                               ( parts[ 1 ] != ajaxLocParts[ 1 ] || parts[ 2 ] != ajaxLocParts[ 2 ] ||
+                                       ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? 80 : 443 ) ) !=
+                                               ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? 80 : 443 ) ) )
+                       );
+               }
+
+               // Convert data if not already a string
+               if ( s.data && s.processData && typeof s.data !== "string" ) {
+                       s.data = jQuery.param( s.data, s.traditional );
+               }
+
+               // Apply prefilters
+               inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );
+
+               // If request was aborted inside a prefilter, stop there
+               if ( state === 2 ) {
+                       return false;
+               }
+
+               // We can fire global events as of now if asked to
+               fireGlobals = s.global;
+
+               // Uppercase the type
+               s.type = s.type.toUpperCase();
+
+               // Determine if request has content
+               s.hasContent = !rnoContent.test( s.type );
+
+               // Watch for a new set of requests
+               if ( fireGlobals && jQuery.active++ === 0 ) {
+                       jQuery.event.trigger( "ajaxStart" );
+               }
+
+               // More options handling for requests with no content
+               if ( !s.hasContent ) {
+
+                       // If data is available, append data to url
+                       if ( s.data ) {
+                               s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.data;
+                               // #9682: remove data so that it's not used in an eventual retry
+                               delete s.data;
+                       }
+
+                       // Get ifModifiedKey before adding the anti-cache parameter
+                       ifModifiedKey = s.url;
+
+                       // Add anti-cache in url if needed
+                       if ( s.cache === false ) {
+
+                               var ts = jQuery.now(),
+                                       // try replacing _= if it is there
+                                       ret = s.url.replace( rts, "$1_=" + ts );
+
+                               // if nothing was replaced, add timestamp to the end
+                               s.url = ret + ( ( ret === s.url ) ? ( rquery.test( s.url ) ? "&" : "?" ) + "_=" + ts : "" );
+                       }
+               }
+
+               // Set the correct header, if data is being sent
+               if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {
+                       jqXHR.setRequestHeader( "Content-Type", s.contentType );
+               }
+
+               // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
+               if ( s.ifModified ) {
+                       ifModifiedKey = ifModifiedKey || s.url;
+                       if ( jQuery.lastModified[ ifModifiedKey ] ) {
+                               jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ ifModifiedKey ] );
+                       }
+                       if ( jQuery.etag[ ifModifiedKey ] ) {
+                               jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ ifModifiedKey ] );
+                       }
+               }
+
+               // Set the Accepts header for the server, depending on the dataType
+               jqXHR.setRequestHeader(
+                       "Accept",
+                       s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ?
+                               s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
+                               s.accepts[ "*" ]
+               );
+
+               // Check for headers option
+               for ( i in s.headers ) {
+                       jqXHR.setRequestHeader( i, s.headers[ i ] );
+               }
+
+               // Allow custom headers/mimetypes and early abort
+               if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) {
+                               // Abort if not done already
+                               jqXHR.abort();
+                               return false;
+
+               }
+
+               // Install callbacks on deferreds
+               for ( i in { success: 1, error: 1, complete: 1 } ) {
+                       jqXHR[ i ]( s[ i ] );
+               }
+
+               // Get transport
+               transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );
+
+               // If no transport, we auto-abort
+               if ( !transport ) {
+                       done( -1, "No Transport" );
+               } else {
+                       jqXHR.readyState = 1;
+                       // Send global event
+                       if ( fireGlobals ) {
+                               globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );
+                       }
+                       // Timeout
+                       if ( s.async && s.timeout > 0 ) {
+                               timeoutTimer = setTimeout( function(){
+                                       jqXHR.abort( "timeout" );
+                               }, s.timeout );
+                       }
+
+                       try {
+                               state = 1;
+                               transport.send( requestHeaders, done );
+                       } catch (e) {
+                               // Propagate exception as error if not done
+                               if ( state < 2 ) {
+                                       done( -1, e );
+                               // Simply rethrow otherwise
+                               } else {
+                                       throw e;
+                               }
+                       }
+               }
+
+               return jqXHR;
+       },
+
+       // Serialize an array of form elements or a set of
+       // key/values into a query string
+       param: function( a, traditional ) {
+               var s = [],
+                       add = function( key, value ) {
+                               // If value is a function, invoke it and return its value
+                               value = jQuery.isFunction( value ) ? value() : value;
+                               s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );
+                       };
+
+               // Set traditional to true for jQuery <= 1.3.2 behavior.
+               if ( traditional === undefined ) {
+                       traditional = jQuery.ajaxSettings.traditional;
+               }
+
+               // If an array was passed in, assume that it is an array of form elements.
+               if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {
+                       // Serialize the form elements
+                       jQuery.each( a, function() {
+                               add( this.name, this.value );
+                       });
+
+               } else {
+                       // If traditional, encode the "old" way (the way 1.3.2 or older
+                       // did it), otherwise encode params recursively.
+                       for ( var prefix in a ) {
+                               buildParams( prefix, a[ prefix ], traditional, add );
+                       }
+               }
+
+               // Return the resulting serialization
+               return s.join( "&" ).replace( r20, "+" );
+       }
+});
+
+function buildParams( prefix, obj, traditional, add ) {
+       if ( jQuery.isArray( obj ) ) {
+               // Serialize array item.
+               jQuery.each( obj, function( i, v ) {
+                       if ( traditional || rbracket.test( prefix ) ) {
+                               // Treat each array item as a scalar.
+                               add( prefix, v );
+
+                       } else {
+                               // If array item is non-scalar (array or object), encode its
+                               // numeric index to resolve deserialization ambiguity issues.
+                               // Note that rack (as of 1.0.0) can't currently deserialize
+                               // nested arrays properly, and attempting to do so may cause
+                               // a server error. Possible fixes are to modify rack's
+                               // deserialization algorithm or to provide an option or flag
+                               // to force array serialization to be shallow.
+                               buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add );
+                       }
+               });
+
+       } else if ( !traditional && jQuery.type( obj ) === "object" ) {
+               // Serialize object item.
+               for ( var name in obj ) {
+                       buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add );
+               }
+
+       } else {
+               // Serialize scalar item.
+               add( prefix, obj );
+       }
+}
+
+// This is still on the jQuery object... for now
+// Want to move this to jQuery.ajax some day
+jQuery.extend({
+
+       // Counter for holding the number of active queries
+       active: 0,
+
+       // Last-Modified header cache for next request
+       lastModified: {},
+       etag: {}
+
+});
+
+/* Handles responses to an ajax request:
+ * - sets all responseXXX fields accordingly
+ * - finds the right dataType (mediates between content-type and expected dataType)
+ * - returns the corresponding response
+ */
+function ajaxHandleResponses( s, jqXHR, responses ) {
+
+       var contents = s.contents,
+               dataTypes = s.dataTypes,
+               responseFields = s.responseFields,
+               ct,
+               type,
+               finalDataType,
+               firstDataType;
+
+       // Fill responseXXX fields
+       for ( type in responseFields ) {
+               if ( type in responses ) {
+                       jqXHR[ responseFields[type] ] = responses[ type ];
+               }
+       }
+
+       // Remove auto dataType and get content-type in the process
+       while( dataTypes[ 0 ] === "*" ) {
+               dataTypes.shift();
+               if ( ct === undefined ) {
+                       ct = s.mimeType || jqXHR.getResponseHeader( "content-type" );
+               }
+       }
+
+       // Check if we're dealing with a known content-type
+       if ( ct ) {
+               for ( type in contents ) {
+                       if ( contents[ type ] && contents[ type ].test( ct ) ) {
+                               dataTypes.unshift( type );
+                               break;
+                       }
+               }
+       }
+
+       // Check to see if we have a response for the expected dataType
+       if ( dataTypes[ 0 ] in responses ) {
+               finalDataType = dataTypes[ 0 ];
+       } else {
+               // Try convertible dataTypes
+               for ( type in responses ) {
+                       if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[0] ] ) {
+                               finalDataType = type;
+                               break;
+                       }
+                       if ( !firstDataType ) {
+                               firstDataType = type;
+                       }
+               }
+               // Or just use first one
+               finalDataType = finalDataType || firstDataType;
+       }
+
+       // If we found a dataType
+       // We add the dataType to the list if needed
+       // and return the corresponding response
+       if ( finalDataType ) {
+               if ( finalDataType !== dataTypes[ 0 ] ) {
+                       dataTypes.unshift( finalDataType );
+               }
+               return responses[ finalDataType ];
+       }
+}
+
+// Chain conversions given the request and the original response
+function ajaxConvert( s, response ) {
+
+       // Apply the dataFilter if provided
+       if ( s.dataFilter ) {
+               response = s.dataFilter( response, s.dataType );
+       }
+
+       var dataTypes = s.dataTypes,
+               converters = {},
+               i,
+               key,
+               length = dataTypes.length,
+               tmp,
+               // Current and previous dataTypes
+               current = dataTypes[ 0 ],
+               prev,
+               // Conversion expression
+               conversion,
+               // Conversion function
+               conv,
+               // Conversion functions (transitive conversion)
+               conv1,
+               conv2;
+
+       // For each dataType in the chain
+       for ( i = 1; i < length; i++ ) {
+
+               // Create converters map
+               // with lowercased keys
+               if ( i === 1 ) {
+                       for ( key in s.converters ) {
+                               if ( typeof key === "string" ) {
+                                       converters[ key.toLowerCase() ] = s.converters[ key ];
+                               }
+                       }
+               }
+
+               // Get the dataTypes
+               prev = current;
+               current = dataTypes[ i ];
+
+               // If current is auto dataType, update it to prev
+               if ( current === "*" ) {
+                       current = prev;
+               // If no auto and dataTypes are actually different
+               } else if ( prev !== "*" && prev !== current ) {
+
+                       // Get the converter
+                       conversion = prev + " " + current;
+                       conv = converters[ conversion ] || converters[ "* " + current ];
+
+                       // If there is no direct converter, search transitively
+                       if ( !conv ) {
+                               conv2 = undefined;
+                               for ( conv1 in converters ) {
+                                       tmp = conv1.split( " " );
+                                       if ( tmp[ 0 ] === prev || tmp[ 0 ] === "*" ) {
+                                               conv2 = converters[ tmp[1] + " " + current ];
+                                               if ( conv2 ) {
+                                                       conv1 = converters[ conv1 ];
+                                                       if ( conv1 === true ) {
+                                                               conv = conv2;
+                                                       } else if ( conv2 === true ) {
+                                                               conv = conv1;
+                                                       }
+                                                       break;
+                                               }
+                                       }
+                               }
+                       }
+                       // If we found no converter, dispatch an error
+                       if ( !( conv || conv2 ) ) {
+                               jQuery.error( "No conversion from " + conversion.replace(" "," to ") );
+                       }
+                       // If found converter is not an equivalence
+                       if ( conv !== true ) {
+                               // Convert with 1 or 2 converters accordingly
+                               response = conv ? conv( response ) : conv2( conv1(response) );
+                       }
+               }
+       }
+       return response;
+}
+
+
+
+
+var jsc = jQuery.now(),
+       jsre = /(\=)\?(&|$)|\?\?/i;
+
+// Default jsonp settings
+jQuery.ajaxSetup({
+       jsonp: "callback",
+       jsonpCallback: function() {
+               return jQuery.expando + "_" + ( jsc++ );
+       }
+});
+
+// Detect, normalize options and install callbacks for jsonp requests
+jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
+
+       var inspectData = ( typeof s.data === "string" ) && /^application\/x\-www\-form\-urlencoded/.test( s.contentType );
+
+       if ( s.dataTypes[ 0 ] === "jsonp" ||
+               s.jsonp !== false && ( jsre.test( s.url ) ||
+                               inspectData && jsre.test( s.data ) ) ) {
+
+               var responseContainer,
+                       jsonpCallback = s.jsonpCallback =
+                               jQuery.isFunction( s.jsonpCallback ) ? s.jsonpCallback() : s.jsonpCallback,
+                       previous = window[ jsonpCallback ],
+                       url = s.url,
+                       data = s.data,
+                       replace = "$1" + jsonpCallback + "$2";
+
+               if ( s.jsonp !== false ) {
+                       url = url.replace( jsre, replace );
+                       if ( s.url === url ) {
+                               if ( inspectData ) {
+                                       data = data.replace( jsre, replace );
+                               }
+                               if ( s.data === data ) {
+                                       // Add callback manually
+                                       url += (/\?/.test( url ) ? "&" : "?") + s.jsonp + "=" + jsonpCallback;
+                               }
+                       }
+               }
+
+               s.url = url;
+               s.data = data;
+
+               // Install callback
+               window[ jsonpCallback ] = function( response ) {
+                       responseContainer = [ response ];
+               };
+
+               // Clean-up function
+               jqXHR.always(function() {
+                       // Set callback back to previous value
+                       window[ jsonpCallback ] = previous;
+                       // Call if it was a function and we have a response
+                       if ( responseContainer && jQuery.isFunction( previous ) ) {
+                               window[ jsonpCallback ]( responseContainer[ 0 ] );
+                       }
+               });
+
+               // Use data converter to retrieve json after script execution
+               s.converters["script json"] = function() {
+                       if ( !responseContainer ) {
+                               jQuery.error( jsonpCallback + " was not called" );
+                       }
+                       return responseContainer[ 0 ];
+               };
+
+               // force json dataType
+               s.dataTypes[ 0 ] = "json";
+
+               // Delegate to script
+               return "script";
+       }
+});
+
+
+
+
+// Install script dataType
+jQuery.ajaxSetup({
+       accepts: {
+               script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
+       },
+       contents: {
+               script: /javascript|ecmascript/
+       },
+       converters: {
+               "text script": function( text ) {
+                       jQuery.globalEval( text );
+                       return text;
+               }
+       }
+});
+
+// Handle cache's special case and global
+jQuery.ajaxPrefilter( "script", function( s ) {
+       if ( s.cache === undefined ) {
+               s.cache = false;
+       }
+       if ( s.crossDomain ) {
+               s.type = "GET";
+               s.global = false;
+       }
+});
+
+// Bind script tag hack transport
+jQuery.ajaxTransport( "script", function(s) {
+
+       // This transport only deals with cross domain requests
+       if ( s.crossDomain ) {
+
+               var script,
+                       head = document.head || document.getElementsByTagName( "head" )[0] || document.documentElement;
+
+               return {
+
+                       send: function( _, callback ) {
+
+                               script = document.createElement( "script" );
+
+                               script.async = "async";
+
+                               if ( s.scriptCharset ) {
+                                       script.charset = s.scriptCharset;
+                               }
+
+                               script.src = s.url;
+
+                               // Attach handlers for all browsers
+                               script.onload = script.onreadystatechange = function( _, isAbort ) {
+
+                                       if ( isAbort || !script.readyState || /loaded|complete/.test( script.readyState ) ) {
+
+                                               // Handle memory leak in IE
+                                               script.onload = script.onreadystatechange = null;
+
+                                               // Remove the script
+                                               if ( head && script.parentNode ) {
+                                                       head.removeChild( script );
+                                               }
+
+                                               // Dereference the script
+                                               script = undefined;
+
+                                               // Callback if not abort
+                                               if ( !isAbort ) {
+                                                       callback( 200, "success" );
+                                               }
+                                       }
+                               };
+                               // Use insertBefore instead of appendChild  to circumvent an IE6 bug.
+                               // This arises when a base node is used (#2709 and #4378).
+                               head.insertBefore( script, head.firstChild );
+                       },
+
+                       abort: function() {
+                               if ( script ) {
+                                       script.onload( 0, 1 );
+                               }
+                       }
+               };
+       }
+});
+
+
+
+
+var // #5280: Internet Explorer will keep connections alive if we don't abort on unload
+       xhrOnUnloadAbort = window.ActiveXObject ? function() {
+               // Abort all pending requests
+               for ( var key in xhrCallbacks ) {
+                       xhrCallbacks[ key ]( 0, 1 );
+               }
+       } : false,
+       xhrId = 0,
+       xhrCallbacks;
+
+// Functions to create xhrs
+function createStandardXHR() {
+       try {
+               return new window.XMLHttpRequest();
+       } catch( e ) {}
+}
+
+function createActiveXHR() {
+       try {
+               return new window.ActiveXObject( "Microsoft.XMLHTTP" );
+       } catch( e ) {}
+}
+
+// Create the request object
+// (This is still attached to ajaxSettings for backward compatibility)
+jQuery.ajaxSettings.xhr = window.ActiveXObject ?
+       /* Microsoft failed to properly
+        * implement the XMLHttpRequest in IE7 (can't request local files),
+        * so we use the ActiveXObject when it is available
+        * Additionally XMLHttpRequest can be disabled in IE7/IE8 so
+        * we need a fallback.
+        */
+       function() {
+               return !this.isLocal && createStandardXHR() || createActiveXHR();
+       } :
+       // For all other browsers, use the standard XMLHttpRequest object
+       createStandardXHR;
+
+// Determine support properties
+(function( xhr ) {
+       jQuery.extend( jQuery.support, {
+               ajax: !!xhr,
+               cors: !!xhr && ( "withCredentials" in xhr )
+       });
+})( jQuery.ajaxSettings.xhr() );
+
+// Create transport if the browser can provide an xhr
+if ( jQuery.support.ajax ) {
+
+       jQuery.ajaxTransport(function( s ) {
+               // Cross domain only allowed if supported through XMLHttpRequest
+               if ( !s.crossDomain || jQuery.support.cors ) {
+
+                       var callback;
+
+                       return {
+                               send: function( headers, complete ) {
+
+                                       // Get a new xhr
+                                       var xhr = s.xhr(),
+                                               handle,
+                                               i;
+
+                                       // Open the socket
+                                       // Passing null username, generates a login popup on Opera (#2865)
+                                       if ( s.username ) {
+                                               xhr.open( s.type, s.url, s.async, s.username, s.password );
+                                       } else {
+                                               xhr.open( s.type, s.url, s.async );
+                                       }
+
+                                       // Apply custom fields if provided
+                                       if ( s.xhrFields ) {
+                                               for ( i in s.xhrFields ) {
+                                                       xhr[ i ] = s.xhrFields[ i ];
+                                               }
+                                       }
+
+                                       // Override mime type if needed
+                                       if ( s.mimeType && xhr.overrideMimeType ) {
+                                               xhr.overrideMimeType( s.mimeType );
+                                       }
+
+                                       // X-Requested-With header
+                                       // For cross-domain requests, seeing as conditions for a preflight are
+                                       // akin to a jigsaw puzzle, we simply never set it to be sure.
+                                       // (it can always be set on a per-request basis or even using ajaxSetup)
+                                       // For same-domain requests, won't change header if already provided.
+                                       if ( !s.crossDomain && !headers["X-Requested-With"] ) {
+                                               headers[ "X-Requested-With" ] = "XMLHttpRequest";
+                                       }
+
+                                       // Need an extra try/catch for cross domain requests in Firefox 3
+                                       try {
+                                               for ( i in headers ) {
+                                                       xhr.setRequestHeader( i, headers[ i ] );
+                                               }
+                                       } catch( _ ) {}
+
+                                       // Do send the request
+                                       // This may raise an exception which is actually
+                                       // handled in jQuery.ajax (so no try/catch here)
+                                       xhr.send( ( s.hasContent && s.data ) || null );
+
+                                       // Listener
+                                       callback = function( _, isAbort ) {
+
+                                               var status,
+                                                       statusText,
+                                                       responseHeaders,
+                                                       responses,
+                                                       xml;
+
+                                               // Firefox throws exceptions when accessing properties
+                                               // of an xhr when a network error occured
+                                               // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE)
+                                               try {
+
+                                                       // Was never called and is aborted or complete
+                                                       if ( callback && ( isAbort || xhr.readyState === 4 ) ) {
+
+                                                               // Only called once
+                                                               callback = undefined;
+
+                                                               // Do not keep as active anymore
+                                                               if ( handle ) {
+                                                                       xhr.onreadystatechange = jQuery.noop;
+                                                                       if ( xhrOnUnloadAbort ) {
+                                                                               delete xhrCallbacks[ handle ];
+                                                                       }
+                                                               }
+
+                                                               // If it's an abort
+                                                               if ( isAbort ) {
+                                                                       // Abort it manually if needed
+                                                                       if ( xhr.readyState !== 4 ) {
+                                                                               xhr.abort();
+                                                                       }
+                                                               } else {
+                                                                       status = xhr.status;
+                                                                       responseHeaders = xhr.getAllResponseHeaders();
+                                                                       responses = {};
+                                                                       xml = xhr.responseXML;
+
+                                                                       // Construct response list
+                                                                       if ( xml && xml.documentElement /* #4958 */ ) {
+                                                                               responses.xml = xml;
+                                                                       }
+
+                                                                       // When requesting binary data, IE6-9 will throw an exception
+                                                                       // on any attempt to access responseText (#11426)
+                                                                       try {
+                                                                               responses.text = xhr.responseText;
+                                                                       } catch( _ ) {
+                                                                       }
+
+                                                                       // Firefox throws an exception when accessing
+                                                                       // statusText for faulty cross-domain requests
+                                                                       try {
+                                                                               statusText = xhr.statusText;
+                                                                       } catch( e ) {
+                                                                               // We normalize with Webkit giving an empty statusText
+                                                                               statusText = "";
+                                                                       }
+
+                                                                       // Filter status for non standard behaviors
+
+                                                                       // If the request is local and we have data: assume a success
+                                                                       // (success with no data won't get notified, that's the best we
+                                                                       // can do given current implementations)
+                                                                       if ( !status && s.isLocal && !s.crossDomain ) {
+                                                                               status = responses.text ? 200 : 404;
+                                                                       // IE - #1450: sometimes returns 1223 when it should be 204
+                                                                       } else if ( status === 1223 ) {
+                                                                               status = 204;
+                                                                       }
+                                                               }
+                                                       }
+                                               } catch( firefoxAccessException ) {
+                                                       if ( !isAbort ) {
+                                                               complete( -1, firefoxAccessException );
+                                                       }
+                                               }
+
+                                               // Call complete if needed
+                                               if ( responses ) {
+                                                       complete( status, statusText, responses, responseHeaders );
+                                               }
+                                       };
+
+                                       // if we're in sync mode or it's in cache
+                                       // and has been retrieved directly (IE6 & IE7)
+                                       // we need to manually fire the callback
+                                       if ( !s.async || xhr.readyState === 4 ) {
+                                               callback();
+                                       } else {
+                                               handle = ++xhrId;
+                                               if ( xhrOnUnloadAbort ) {
+                                                       // Create the active xhrs callbacks list if needed
+                                                       // and attach the unload handler
+                                                       if ( !xhrCallbacks ) {
+                                                               xhrCallbacks = {};
+                                                               jQuery( window ).unload( xhrOnUnloadAbort );
+                                                       }
+                                                       // Add to list of active xhrs callbacks
+                                                       xhrCallbacks[ handle ] = callback;
+                                               }
+                                               xhr.onreadystatechange = callback;
+                                       }
+                               },
+
+                               abort: function() {
+                                       if ( callback ) {
+                                               callback(0,1);
+                                       }
+                               }
+                       };
+               }
+       });
+}
+
+
+
+
+var elemdisplay = {},
+       iframe, iframeDoc,
+       rfxtypes = /^(?:toggle|show|hide)$/,
+       rfxnum = /^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,
+       timerId,
+       fxAttrs = [
+               // height animations
+               [ "height", "marginTop", "marginBottom", "paddingTop", "paddingBottom" ],
+               // width animations
+               [ "width", "marginLeft", "marginRight", "paddingLeft", "paddingRight" ],
+               // opacity animations
+               [ "opacity" ]
+       ],
+       fxNow;
+
+jQuery.fn.extend({
+       show: function( speed, easing, callback ) {
+               var elem, display;
+
+               if ( speed || speed === 0 ) {
+                       return this.animate( genFx("show", 3), speed, easing, callback );
+
+               } else {
+                       for ( var i = 0, j = this.length; i < j; i++ ) {
+                               elem = this[ i ];
+
+                               if ( elem.style ) {
+                                       display = elem.style.display;
+
+                                       // Reset the inline display of this element to learn if it is
+                                       // being hidden by cascaded rules or not
+                                       if ( !jQuery._data(elem, "olddisplay") && display === "none" ) {
+                                               display = elem.style.display = "";
+                                       }
+
+                                       // Set elements which have been overridden with display: none
+                                       // in a stylesheet to whatever the default browser style is
+                                       // for such an element
+                                       if ( (display === "" && jQuery.css(elem, "display") === "none") ||
+                                               !jQuery.contains( elem.ownerDocument.documentElement, elem ) ) {
+                                               jQuery._data( elem, "olddisplay", defaultDisplay(elem.nodeName) );
+                                       }
+                               }
+                       }
+
+                       // Set the display of most of the elements in a second loop
+                       // to avoid the constant reflow
+                       for ( i = 0; i < j; i++ ) {
+                               elem = this[ i ];
+
+                               if ( elem.style ) {
+                                       display = elem.style.display;
+
+                                       if ( display === "" || display === "none" ) {
+                                               elem.style.display = jQuery._data( elem, "olddisplay" ) || "";
+                                       }
+                               }
+                       }
+
+                       return this;
+               }
+       },
+
+       hide: function( speed, easing, callback ) {
+               if ( speed || speed === 0 ) {
+                       return this.animate( genFx("hide", 3), speed, easing, callback);
+
+               } else {
+                       var elem, display,
+                               i = 0,
+                               j = this.length;
+
+                       for ( ; i < j; i++ ) {
+                               elem = this[i];
+                               if ( elem.style ) {
+                                       display = jQuery.css( elem, "display" );
+
+                                       if ( display !== "none" && !jQuery._data( elem, "olddisplay" ) ) {
+                                               jQuery._data( elem, "olddisplay", display );
+                                       }
+                               }
+                       }
+
+                       // Set the display of the elements in a second loop
+                       // to avoid the constant reflow
+                       for ( i = 0; i < j; i++ ) {
+                               if ( this[i].style ) {
+                                       this[i].style.display = "none";
+                               }
+                       }
+
+                       return this;
+               }
+       },
+
+       // Save the old toggle function
+       _toggle: jQuery.fn.toggle,
+
+       toggle: function( fn, fn2, callback ) {
+               var bool = typeof fn === "boolean";
+
+               if ( jQuery.isFunction(fn) && jQuery.isFunction(fn2) ) {
+                       this._toggle.apply( this, arguments );
+
+               } else if ( fn == null || bool ) {
+                       this.each(function() {
+                               var state = bool ? fn : jQuery(this).is(":hidden");
+                               jQuery(this)[ state ? "show" : "hide" ]();
+                       });
+
+               } else {
+                       this.animate(genFx("toggle", 3), fn, fn2, callback);
+               }
+
+               return this;
+       },
+
+       fadeTo: function( speed, to, easing, callback ) {
+               return this.filter(":hidden").css("opacity", 0).show().end()
+                                       .animate({opacity: to}, speed, easing, callback);
+       },
+
+       animate: function( prop, speed, easing, callback ) {
+               var optall = jQuery.speed( speed, easing, callback );
+
+               if ( jQuery.isEmptyObject( prop ) ) {
+                       return this.each( optall.complete, [ false ] );
+               }
+
+               // Do not change referenced properties as per-property easing will be lost
+               prop = jQuery.extend( {}, prop );
+
+               function doAnimation() {
+                       // XXX 'this' does not always have a nodeName when running the
+                       // test suite
+
+                       if ( optall.queue === false ) {
+                               jQuery._mark( this );
+                       }
+
+                       var opt = jQuery.extend( {}, optall ),
+                               isElement = this.nodeType === 1,
+                               hidden = isElement && jQuery(this).is(":hidden"),
+                               name, val, p, e, hooks, replace,
+                               parts, start, end, unit,
+                               method;
+
+                       // will store per property easing and be used to determine when an animation is complete
+                       opt.animatedProperties = {};
+
+                       // first pass over propertys to expand / normalize
+                       for ( p in prop ) {
+                               name = jQuery.camelCase( p );
+                               if ( p !== name ) {
+                                       prop[ name ] = prop[ p ];
+                                       delete prop[ p ];
+                               }
+
+                               if ( ( hooks = jQuery.cssHooks[ name ] ) && "expand" in hooks ) {
+                                       replace = hooks.expand( prop[ name ] );
+                                       delete prop[ name ];
+
+                                       // not quite $.extend, this wont overwrite keys already present.
+                                       // also - reusing 'p' from above because we have the correct "name"
+                                       for ( p in replace ) {
+                                               if ( ! ( p in prop ) ) {
+                                                       prop[ p ] = replace[ p ];
+                                               }
+                                       }
+                               }
+                       }
+
+                       for ( name in prop ) {
+                               val = prop[ name ];
+                               // easing resolution: per property > opt.specialEasing > opt.easing > 'swing' (default)
+                               if ( jQuery.isArray( val ) ) {
+                                       opt.animatedProperties[ name ] = val[ 1 ];
+                                       val = prop[ name ] = val[ 0 ];
+                               } else {
+                                       opt.animatedProperties[ name ] = opt.specialEasing && opt.specialEasing[ name ] || opt.easing || 'swing';
+                               }
+
+                               if ( val === "hide" && hidden || val === "show" && !hidden ) {
+                                       return opt.complete.call( this );
+                               }
+
+                               if ( isElement && ( name === "height" || name === "width" ) ) {
+                                       // Make sure that nothing sneaks out
+                                       // Record all 3 overflow attributes because IE does not
+                                       // change the overflow attribute when overflowX and
+                                       // overflowY are set to the same value
+                                       opt.overflow = [ this.style.overflow, this.style.overflowX, this.style.overflowY ];
+
+                                       // Set display property to inline-block for height/width
+                                       // animations on inline elements that are having width/height animated
+                                       if ( jQuery.css( this, "display" ) === "inline" &&
+                                                       jQuery.css( this, "float" ) === "none" ) {
+
+                                               // inline-level elements accept inline-block;
+                                               // block-level elements need to be inline with layout
+                                               if ( !jQuery.support.inlineBlockNeedsLayout || defaultDisplay( this.nodeName ) === "inline" ) {
+                                                       this.style.display = "inline-block";
+
+                                               } else {
+                                                       this.style.zoom = 1;
+                                               }
+                                       }
+                               }
+                       }
+
+                       if ( opt.overflow != null ) {
+                               this.style.overflow = "hidden";
+                       }
+
+                       for ( p in prop ) {
+                               e = new jQuery.fx( this, opt, p );
+                               val = prop[ p ];
+
+                               if ( rfxtypes.test( val ) ) {
+
+                                       // Tracks whether to show or hide based on private
+                                       // data attached to the element
+                                       method = jQuery._data( this, "toggle" + p ) || ( val === "toggle" ? hidden ? "show" : "hide" : 0 );
+                                       if ( method ) {
+                                               jQuery._data( this, "toggle" + p, method === "show" ? "hide" : "show" );
+                                               e[ method ]();
+                                       } else {
+                                               e[ val ]();
+                                       }
+
+                               } else {
+                                       parts = rfxnum.exec( val );
+                                       start = e.cur();
+
+                                       if ( parts ) {
+                                               end = parseFloat( parts[2] );
+                                               unit = parts[3] || ( jQuery.cssNumber[ p ] ? "" : "px" );
+
+                                               // We need to compute starting value
+                                               if ( unit !== "px" ) {
+                                                       jQuery.style( this, p, (end || 1) + unit);
+                                                       start = ( (end || 1) / e.cur() ) * start;
+                                                       jQuery.style( this, p, start + unit);
+                                               }
+
+                                               // If a +=/-= token was provided, we're doing a relative animation
+                                               if ( parts[1] ) {
+                                                       end = ( (parts[ 1 ] === "-=" ? -1 : 1) * end ) + start;
+                                               }
+
+                                               e.custom( start, end, unit );
+
+                                       } else {
+                                               e.custom( start, val, "" );
+                                       }
+                               }
+                       }
+
+                       // For JS strict compliance
+                       return true;
+               }
+
+               return optall.queue === false ?
+                       this.each( doAnimation ) :
+                       this.queue( optall.queue, doAnimation );
+       },
+
+       stop: function( type, clearQueue, gotoEnd ) {
+               if ( typeof type !== "string" ) {
+                       gotoEnd = clearQueue;
+                       clearQueue = type;
+                       type = undefined;
+               }
+               if ( clearQueue && type !== false ) {
+                       this.queue( type || "fx", [] );
+               }
+
+               return this.each(function() {
+                       var index,
+                               hadTimers = false,
+                               timers = jQuery.timers,
+                               data = jQuery._data( this );
+
+                       // clear marker counters if we know they won't be
+                       if ( !gotoEnd ) {
+                               jQuery._unmark( true, this );
+                       }
+
+                       function stopQueue( elem, data, index ) {
+                               var hooks = data[ index ];
+                               jQuery.removeData( elem, index, true );
+                               hooks.stop( gotoEnd );
+                       }
+
+                       if ( type == null ) {
+                               for ( index in data ) {
+                                       if ( data[ index ] && data[ index ].stop && index.indexOf(".run") === index.length - 4 ) {
+                                               stopQueue( this, data, index );
+                                       }
+                               }
+                       } else if ( data[ index = type + ".run" ] && data[ index ].stop ){
+                               stopQueue( this, data, index );
+                       }
+
+                       for ( index = timers.length; index--; ) {
+                               if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) {
+                                       if ( gotoEnd ) {
+
+                                               // force the next step to be the last
+                                               timers[ index ]( true );
+                                       } else {
+                                               timers[ index ].saveState();
+                                       }
+                                       hadTimers = true;
+                                       timers.splice( index, 1 );
+                               }
+                       }
+
+                       // start the next in the queue if the last step wasn't forced
+                       // timers currently will call their complete callbacks, which will dequeue
+                       // but only if they were gotoEnd
+                       if ( !( gotoEnd && hadTimers ) ) {
+                               jQuery.dequeue( this, type );
+                       }
+               });
+       }
+
+});
+
+// Animations created synchronously will run synchronously
+function createFxNow() {
+       setTimeout( clearFxNow, 0 );
+       return ( fxNow = jQuery.now() );
+}
+
+function clearFxNow() {
+       fxNow = undefined;
+}
+
+// Generate parameters to create a standard animation
+function genFx( type, num ) {
+       var obj = {};
+
+       jQuery.each( fxAttrs.concat.apply([], fxAttrs.slice( 0, num )), function() {
+               obj[ this ] = type;
+       });
+
+       return obj;
+}
+
+// Generate shortcuts for custom animations
+jQuery.each({
+       slideDown: genFx( "show", 1 ),
+       slideUp: genFx( "hide", 1 ),
+       slideToggle: genFx( "toggle", 1 ),
+       fadeIn: { opacity: "show" },
+       fadeOut: { opacity: "hide" },
+       fadeToggle: { opacity: "toggle" }
+}, function( name, props ) {
+       jQuery.fn[ name ] = function( speed, easing, callback ) {
+               return this.animate( props, speed, easing, callback );
+       };
+});
+
+jQuery.extend({
+       speed: function( speed, easing, fn ) {
+               var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
+                       complete: fn || !fn && easing ||
+                               jQuery.isFunction( speed ) && speed,
+                       duration: speed,
+                       easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing
+               };
+
+               opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
+                       opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;
+
+               // normalize opt.queue - true/undefined/null -> "fx"
+               if ( opt.queue == null || opt.queue === true ) {
+                       opt.queue = "fx";
+               }
+
+               // Queueing
+               opt.old = opt.complete;
+
+               opt.complete = function( noUnmark ) {
+                       if ( jQuery.isFunction( opt.old ) ) {
+                               opt.old.call( this );
+                       }
+
+                       if ( opt.queue ) {
+                               jQuery.dequeue( this, opt.queue );
+                       } else if ( noUnmark !== false ) {
+                               jQuery._unmark( this );
+                       }
+               };
+
+               return opt;
+       },
+
+       easing: {
+               linear: function( p ) {
+                       return p;
+               },
+               swing: function( p ) {
+                       return ( -Math.cos( p*Math.PI ) / 2 ) + 0.5;
+               }
+       },
+
+       timers: [],
+
+       fx: function( elem, options, prop ) {
+               this.options = options;
+               this.elem = elem;
+               this.prop = prop;
+
+               options.orig = options.orig || {};
+       }
+
+});
+
+jQuery.fx.prototype = {
+       // Simple function for setting a style value
+       update: function() {
+               if ( this.options.step ) {
+                       this.options.step.call( this.elem, this.now, this );
+               }
+
+               ( jQuery.fx.step[ this.prop ] || jQuery.fx.step._default )( this );
+       },
+
+       // Get the current size
+       cur: function() {
+               if ( this.elem[ this.prop ] != null && (!this.elem.style || this.elem.style[ this.prop ] == null) ) {
+                       return this.elem[ this.prop ];
+               }
+
+               var parsed,
+                       r = jQuery.css( this.elem, this.prop );
+               // Empty strings, null, undefined and "auto" are converted to 0,
+               // complex values such as "rotate(1rad)" are returned as is,
+               // simple values such as "10px" are parsed to Float.
+               return isNaN( parsed = parseFloat( r ) ) ? !r || r === "auto" ? 0 : r : parsed;
+       },
+
+       // Start an animation from one number to another
+       custom: function( from, to, unit ) {
+               var self = this,
+                       fx = jQuery.fx;
+
+               this.startTime = fxNow || createFxNow();
+               this.end = to;
+               this.now = this.start = from;
+               this.pos = this.state = 0;
+               this.unit = unit || this.unit || ( jQuery.cssNumber[ this.prop ] ? "" : "px" );
+
+               function t( gotoEnd ) {
+                       return self.step( gotoEnd );
+               }
+
+               t.queue = this.options.queue;
+               t.elem = this.elem;
+               t.saveState = function() {
+                       if ( jQuery._data( self.elem, "fxshow" + self.prop ) === undefined ) {
+                               if ( self.options.hide ) {
+                                       jQuery._data( self.elem, "fxshow" + self.prop, self.start );
+                               } else if ( self.options.show ) {
+                                       jQuery._data( self.elem, "fxshow" + self.prop, self.end );
+                               }
+                       }
+               };
+
+               if ( t() && jQuery.timers.push(t) && !timerId ) {
+                       timerId = setInterval( fx.tick, fx.interval );
+               }
+       },
+
+       // Simple 'show' function
+       show: function() {
+               var dataShow = jQuery._data( this.elem, "fxshow" + this.prop );
+
+               // Remember where we started, so that we can go back to it later
+               this.options.orig[ this.prop ] = dataShow || jQuery.style( this.elem, this.prop );
+               this.options.show = true;
+
+               // Begin the animation
+               // Make sure that we start at a small width/height to avoid any flash of content
+               if ( dataShow !== undefined ) {
+                       // This show is picking up where a previous hide or show left off
+                       this.custom( this.cur(), dataShow );
+               } else {
+                       this.custom( this.prop === "width" || this.prop === "height" ? 1 : 0, this.cur() );
+               }
+
+               // Start by showing the element
+               jQuery( this.elem ).show();
+       },
+
+       // Simple 'hide' function
+       hide: function() {
+               // Remember where we started, so that we can go back to it later
+               this.options.orig[ this.prop ] = jQuery._data( this.elem, "fxshow" + this.prop ) || jQuery.style( this.elem, this.prop );
+               this.options.hide = true;
+
+               // Begin the animation
+               this.custom( this.cur(), 0 );
+       },
+
+       // Each step of an animation
+       step: function( gotoEnd ) {
+               var p, n, complete,
+                       t = fxNow || createFxNow(),
+                       done = true,
+                       elem = this.elem,
+                       options = this.options;
+
+               if ( gotoEnd || t >= options.duration + this.startTime ) {
+                       this.now = this.end;
+                       this.pos = this.state = 1;
+                       this.update();
+
+                       options.animatedProperties[ this.prop ] = true;
+
+                       for ( p in options.animatedProperties ) {
+                               if ( options.animatedProperties[ p ] !== true ) {
+                                       done = false;
+                               }
+                       }
+
+                       if ( done ) {
+                               // Reset the overflow
+                               if ( options.overflow != null && !jQuery.support.shrinkWrapBlocks ) {
+
+                                       jQuery.each( [ "", "X", "Y" ], function( index, value ) {
+                                               elem.style[ "overflow" + value ] = options.overflow[ index ];
+                                       });
+                               }
+
+                               // Hide the element if the "hide" operation was done
+                               if ( options.hide ) {
+                                       jQuery( elem ).hide();
+                               }
+
+                               // Reset the properties, if the item has been hidden or shown
+                               if ( options.hide || options.show ) {
+                                       for ( p in options.animatedProperties ) {
+                                               jQuery.style( elem, p, options.orig[ p ] );
+                                               jQuery.removeData( elem, "fxshow" + p, true );
+                                               // Toggle data is no longer needed
+                                               jQuery.removeData( elem, "toggle" + p, true );
+                                       }
+                               }
+
+                               // Execute the complete function
+                               // in the event that the complete function throws an exception
+                               // we must ensure it won't be called twice. #5684
+
+                               complete = options.complete;
+                               if ( complete ) {
+
+                                       options.complete = false;
+                                       complete.call( elem );
+                               }
+                       }
+
+                       return false;
+
+               } else {
+                       // classical easing cannot be used with an Infinity duration
+                       if ( options.duration == Infinity ) {
+                               this.now = t;
+                       } else {
+                               n = t - this.startTime;
+                               this.state = n / options.duration;
+
+                               // Perform the easing function, defaults to swing
+                               this.pos = jQuery.easing[ options.animatedProperties[this.prop] ]( this.state, n, 0, 1, options.duration );
+                               this.now = this.start + ( (this.end - this.start) * this.pos );
+                       }
+                       // Perform the next step of the animation
+                       this.update();
+               }
+
+               return true;
+       }
+};
+
+jQuery.extend( jQuery.fx, {
+       tick: function() {
+               var timer,
+                       timers = jQuery.timers,
+                       i = 0;
+
+               for ( ; i < timers.length; i++ ) {
+                       timer = timers[ i ];
+                       // Checks the timer has not already been removed
+                       if ( !timer() && timers[ i ] === timer ) {
+                               timers.splice( i--, 1 );
+                       }
+               }
+
+               if ( !timers.length ) {
+                       jQuery.fx.stop();
+               }
+       },
+
+       interval: 13,
+
+       stop: function() {
+               clearInterval( timerId );
+               timerId = null;
+       },
+
+       speeds: {
+               slow: 600,
+               fast: 200,
+               // Default speed
+               _default: 400
+       },
+
+       step: {
+               opacity: function( fx ) {
+                       jQuery.style( fx.elem, "opacity", fx.now );
+               },
+
+               _default: function( fx ) {
+                       if ( fx.elem.style && fx.elem.style[ fx.prop ] != null ) {
+                               fx.elem.style[ fx.prop ] = fx.now + fx.unit;
+                       } else {
+                               fx.elem[ fx.prop ] = fx.now;
+                       }
+               }
+       }
+});
+
+// Ensure props that can't be negative don't go there on undershoot easing
+jQuery.each( fxAttrs.concat.apply( [], fxAttrs ), function( i, prop ) {
+       // exclude marginTop, marginLeft, marginBottom and marginRight from this list
+       if ( prop.indexOf( "margin" ) ) {
+               jQuery.fx.step[ prop ] = function( fx ) {
+                       jQuery.style( fx.elem, prop, Math.max(0, fx.now) + fx.unit );
+               };
+       }
+});
+
+if ( jQuery.expr && jQuery.expr.filters ) {
+       jQuery.expr.filters.animated = function( elem ) {
+               return jQuery.grep(jQuery.timers, function( fn ) {
+                       return elem === fn.elem;
+               }).length;
+       };
+}
+
+// Try to restore the default display value of an element
+function defaultDisplay( nodeName ) {
+
+       if ( !elemdisplay[ nodeName ] ) {
+
+               var body = document.body,
+                       elem = jQuery( "<" + nodeName + ">" ).appendTo( body ),
+                       display = elem.css( "display" );
+               elem.remove();
+
+               // If the simple way fails,
+               // get element's real default display by attaching it to a temp iframe
+               if ( display === "none" || display === "" ) {
+                       // No iframe to use yet, so create it
+                       if ( !iframe ) {
+                               iframe = document.createElement( "iframe" );
+                               iframe.frameBorder = iframe.width = iframe.height = 0;
+                       }
+
+                       body.appendChild( iframe );
+
+                       // Create a cacheable copy of the iframe document on first call.
+                       // IE and Opera will allow us to reuse the iframeDoc without re-writing the fake HTML
+                       // document to it; WebKit & Firefox won't allow reusing the iframe document.
+                       if ( !iframeDoc || !iframe.createElement ) {
+                               iframeDoc = ( iframe.contentWindow || iframe.contentDocument ).document;
+                               iframeDoc.write( ( jQuery.support.boxModel ? "<!doctype html>" : "" ) + "<html><body>" );
+                               iframeDoc.close();
+                       }
+
+                       elem = iframeDoc.createElement( nodeName );
+
+                       iframeDoc.body.appendChild( elem );
+
+                       display = jQuery.css( elem, "display" );
+                       body.removeChild( iframe );
+               }
+
+               // Store the correct default display
+               elemdisplay[ nodeName ] = display;
+       }
+
+       return elemdisplay[ nodeName ];
+}
+
+
+
+
+var getOffset,
+       rtable = /^t(?:able|d|h)$/i,
+       rroot = /^(?:body|html)$/i;
+
+if ( "getBoundingClientRect" in document.documentElement ) {
+       getOffset = function( elem, doc, docElem, box ) {
+               try {
+                       box = elem.getBoundingClientRect();
+               } catch(e) {}
+
+               // Make sure we're not dealing with a disconnected DOM node
+               if ( !box || !jQuery.contains( docElem, elem ) ) {
+                       return box ? { top: box.top, left: box.left } : { top: 0, left: 0 };
+               }
+
+               var body = doc.body,
+                       win = getWindow( doc ),
+                       clientTop  = docElem.clientTop  || body.clientTop  || 0,
+                       clientLeft = docElem.clientLeft || body.clientLeft || 0,
+                       scrollTop  = win.pageYOffset || jQuery.support.boxModel && docElem.scrollTop  || body.scrollTop,
+                       scrollLeft = win.pageXOffset || jQuery.support.boxModel && docElem.scrollLeft || body.scrollLeft,
+                       top  = box.top  + scrollTop  - clientTop,
+                       left = box.left + scrollLeft - clientLeft;
+
+               return { top: top, left: left };
+       };
+
+} else {
+       getOffset = function( elem, doc, docElem ) {
+               var computedStyle,
+                       offsetParent = elem.offsetParent,
+                       prevOffsetParent = elem,
+                       body = doc.body,
+                       defaultView = doc.defaultView,
+                       prevComputedStyle = defaultView ? defaultView.getComputedStyle( elem, null ) : elem.currentStyle,
+                       top = elem.offsetTop,
+                       left = elem.offsetLeft;
+
+               while ( (elem = elem.parentNode) && elem !== body && elem !== docElem ) {
+                       if ( jQuery.support.fixedPosition && prevComputedStyle.position === "fixed" ) {
+                               break;
+                       }
+
+                       computedStyle = defaultView ? defaultView.getComputedStyle(elem, null) : elem.currentStyle;
+                       top  -= elem.scrollTop;
+                       left -= elem.scrollLeft;
+
+                       if ( elem === offsetParent ) {
+                               top  += elem.offsetTop;
+                               left += elem.offsetLeft;
+
+                               if ( jQuery.support.doesNotAddBorder && !(jQuery.support.doesAddBorderForTableAndCells && rtable.test(elem.nodeName)) ) {
+                                       top  += parseFloat( computedStyle.borderTopWidth  ) || 0;
+                                       left += parseFloat( computedStyle.borderLeftWidth ) || 0;
+                               }
+
+                               prevOffsetParent = offsetParent;
+                               offsetParent = elem.offsetParent;
+                       }
+
+                       if ( jQuery.support.subtractsBorderForOverflowNotVisible && computedStyle.overflow !== "visible" ) {
+                               top  += parseFloat( computedStyle.borderTopWidth  ) || 0;
+                               left += parseFloat( computedStyle.borderLeftWidth ) || 0;
+                       }
+
+                       prevComputedStyle = computedStyle;
+               }
+
+               if ( prevComputedStyle.position === "relative" || prevComputedStyle.position === "static" ) {
+                       top  += body.offsetTop;
+                       left += body.offsetLeft;
+               }
+
+               if ( jQuery.support.fixedPosition && prevComputedStyle.position === "fixed" ) {
+                       top  += Math.max( docElem.scrollTop, body.scrollTop );
+                       left += Math.max( docElem.scrollLeft, body.scrollLeft );
+               }
+
+               return { top: top, left: left };
+       };
+}
+
+jQuery.fn.offset = function( options ) {
+       if ( arguments.length ) {
+               return options === undefined ?
+                       this :
+                       this.each(function( i ) {
+                               jQuery.offset.setOffset( this, options, i );
+                       });
+       }
+
+       var elem = this[0],
+               doc = elem && elem.ownerDocument;
+
+       if ( !doc ) {
+               return null;
+       }
+
+       if ( elem === doc.body ) {
+               return jQuery.offset.bodyOffset( elem );
+       }
+
+       return getOffset( elem, doc, doc.documentElement );
+};
+
+jQuery.offset = {
+
+       bodyOffset: function( body ) {
+               var top = body.offsetTop,
+                       left = body.offsetLeft;
+
+               if ( jQuery.support.doesNotIncludeMarginInBodyOffset ) {
+                       top  += parseFloat( jQuery.css(body, "marginTop") ) || 0;
+                       left += parseFloat( jQuery.css(body, "marginLeft") ) || 0;
+               }
+
+               return { top: top, left: left };
+       },
+
+       setOffset: function( elem, options, i ) {
+               var position = jQuery.css( elem, "position" );
+
+               // set position first, in-case top/left are set even on static elem
+               if ( position === "static" ) {
+                       elem.style.position = "relative";
+               }
+
+               var curElem = jQuery( elem ),
+                       curOffset = curElem.offset(),
+                       curCSSTop = jQuery.css( elem, "top" ),
+                       curCSSLeft = jQuery.css( elem, "left" ),
+                       calculatePosition = ( position === "absolute" || position === "fixed" ) && jQuery.inArray("auto", [curCSSTop, curCSSLeft]) > -1,
+                       props = {}, curPosition = {}, curTop, curLeft;
+
+               // need to be able to calculate position if either top or left is auto and position is either absolute or fixed
+               if ( calculatePosition ) {
+                       curPosition = curElem.position();
+                       curTop = curPosition.top;
+                       curLeft = curPosition.left;
+               } else {
+                       curTop = parseFloat( curCSSTop ) || 0;
+                       curLeft = parseFloat( curCSSLeft ) || 0;
+               }
+
+               if ( jQuery.isFunction( options ) ) {
+                       options = options.call( elem, i, curOffset );
+               }
+
+               if ( options.top != null ) {
+                       props.top = ( options.top - curOffset.top ) + curTop;
+               }
+               if ( options.left != null ) {
+                       props.left = ( options.left - curOffset.left ) + curLeft;
+               }
+
+               if ( "using" in options ) {
+                       options.using.call( elem, props );
+               } else {
+                       curElem.css( props );
+               }
+       }
+};
+
+
+jQuery.fn.extend({
+
+       position: function() {
+               if ( !this[0] ) {
+                       return null;
+               }
+
+               var elem = this[0],
+
+               // Get *real* offsetParent
+               offsetParent = this.offsetParent(),
+
+               // Get correct offsets
+               offset       = this.offset(),
+               parentOffset = rroot.test(offsetParent[0].nodeName) ? { top: 0, left: 0 } : offsetParent.offset();
+
+               // Subtract element margins
+               // note: when an element has margin: auto the offsetLeft and marginLeft
+               // are the same in Safari causing offset.left to incorrectly be 0
+               offset.top  -= parseFloat( jQuery.css(elem, "marginTop") ) || 0;
+               offset.left -= parseFloat( jQuery.css(elem, "marginLeft") ) || 0;
+
+               // Add offsetParent borders
+               parentOffset.top  += parseFloat( jQuery.css(offsetParent[0], "borderTopWidth") ) || 0;
+               parentOffset.left += parseFloat( jQuery.css(offsetParent[0], "borderLeftWidth") ) || 0;
+
+               // Subtract the two offsets
+               return {
+                       top:  offset.top  - parentOffset.top,
+                       left: offset.left - parentOffset.left
+               };
+       },
+
+       offsetParent: function() {
+               return this.map(function() {
+                       var offsetParent = this.offsetParent || document.body;
+                       while ( offsetParent && (!rroot.test(offsetParent.nodeName) && jQuery.css(offsetParent, "position") === "static") ) {
+                               offsetParent = offsetParent.offsetParent;
+                       }
+                       return offsetParent;
+               });
+       }
+});
+
+
+// Create scrollLeft and scrollTop methods
+jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( method, prop ) {
+       var top = /Y/.test( prop );
+
+       jQuery.fn[ method ] = function( val ) {
+               return jQuery.access( this, function( elem, method, val ) {
+                       var win = getWindow( elem );
+
+                       if ( val === undefined ) {
+                               return win ? (prop in win) ? win[ prop ] :
+                                       jQuery.support.boxModel && win.document.documentElement[ method ] ||
+                                               win.document.body[ method ] :
+                                       elem[ method ];
+                       }
+
+                       if ( win ) {
+                               win.scrollTo(
+                                       !top ? val : jQuery( win ).scrollLeft(),
+                                        top ? val : jQuery( win ).scrollTop()
+                               );
+
+                       } else {
+                               elem[ method ] = val;
+                       }
+               }, method, val, arguments.length, null );
+       };
+});
+
+function getWindow( elem ) {
+       return jQuery.isWindow( elem ) ?
+               elem :
+               elem.nodeType === 9 ?
+                       elem.defaultView || elem.parentWindow :
+                       false;
+}
+
+
+
+
+// Create width, height, innerHeight, innerWidth, outerHeight and outerWidth methods
+jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
+       var clientProp = "client" + name,
+               scrollProp = "scroll" + name,
+               offsetProp = "offset" + name;
+
+       // innerHeight and innerWidth
+       jQuery.fn[ "inner" + name ] = function() {
+               var elem = this[0];
+               return elem ?
+                       elem.style ?
+                       parseFloat( jQuery.css( elem, type, "padding" ) ) :
+                       this[ type ]() :
+                       null;
+       };
+
+       // outerHeight and outerWidth
+       jQuery.fn[ "outer" + name ] = function( margin ) {
+               var elem = this[0];
+               return elem ?
+                       elem.style ?
+                       parseFloat( jQuery.css( elem, type, margin ? "margin" : "border" ) ) :
+                       this[ type ]() :
+                       null;
+       };
+
+       jQuery.fn[ type ] = function( value ) {
+               return jQuery.access( this, function( elem, type, value ) {
+                       var doc, docElemProp, orig, ret;
+
+                       if ( jQuery.isWindow( elem ) ) {
+                               // 3rd condition allows Nokia support, as it supports the docElem prop but not CSS1Compat
+                               doc = elem.document;
+                               docElemProp = doc.documentElement[ clientProp ];
+                               return jQuery.support.boxModel && docElemProp ||
+                                       doc.body && doc.body[ clientProp ] || docElemProp;
+                       }
+
+                       // Get document width or height
+                       if ( elem.nodeType === 9 ) {
+                               // Either scroll[Width/Height] or offset[Width/Height], whichever is greater
+                               doc = elem.documentElement;
+
+                               // when a window > document, IE6 reports a offset[Width/Height] > client[Width/Height]
+                               // so we can't use max, as it'll choose the incorrect offset[Width/Height]
+                               // instead we use the correct client[Width/Height]
+                               // support:IE6
+                               if ( doc[ clientProp ] >= doc[ scrollProp ] ) {
+                                       return doc[ clientProp ];
+                               }
+
+                               return Math.max(
+                                       elem.body[ scrollProp ], doc[ scrollProp ],
+                                       elem.body[ offsetProp ], doc[ offsetProp ]
+                               );
+                       }
+
+                       // Get width or height on the element
+                       if ( value === undefined ) {
+                               orig = jQuery.css( elem, type );
+                               ret = parseFloat( orig );
+                               return jQuery.isNumeric( ret ) ? ret : orig;
+                       }
+
+                       // Set the width or height on the element
+                       jQuery( elem ).css( type, value );
+               }, type, value, arguments.length, null );
+       };
+});
+
+
+
+
+// Expose jQuery to the global object
+window.jQuery = window.$ = jQuery;
+
+// Expose jQuery as an AMD module, but only for AMD loaders that
+// understand the issues with loading multiple versions of jQuery
+// in a page that all might call define(). The loader will indicate
+// they have special allowances for multiple jQuery versions by
+// specifying define.amd.jQuery = true. Register as a named module,
+// since jQuery can be concatenated with other files that may use define,
+// but not use a proper concatenation script that understands anonymous
+// AMD modules. A named AMD is safest and most robust way to register.
+// Lowercase jquery is used because AMD module names are derived from
+// file names, and jQuery is normally delivered in a lowercase file name.
+// Do this after creating the global so that if an AMD module wants to call
+// noConflict to hide this version of jQuery, it will work.
+if ( typeof define === "function" && define.amd && define.amd.jQuery ) {
+       define( "jquery", [], function () { return jQuery; } );
+}
+
+
+
+})( window );
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/lib/jquery-1.7.2.min.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/lib/jquery-1.7.2.min.js
new file mode 100644 (file)
index 0000000..16ad06c
--- /dev/null
@@ -0,0 +1,4 @@
+/*! jQuery v1.7.2 jquery.com | jquery.org/license */
+(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),b.appendChild(ck);if(!cl||!ck.createElement)cl=(ck.contentWindow||ck.contentDocument).document,cl.write((f.support.boxModel?"<!doctype html>":"")+"<html><body>"),cl.close();d=cl.createElement(a),cl.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ck)}cj[a]=e}return cj[a]}function ct(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function cs(){cq=b}function cr(){setTimeout(cs,0);return cq=f.now()}function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ch(){try{return new a.XMLHttpRequest}catch(b){}}function cb(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;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function ca(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function b_(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bD.test(a)?d(a,e):b_(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&f.type(b)==="object")for(var e in b)b_(a+"["+e+"]",b[e],c,d);else d(a,b)}function b$(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function bZ(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bS,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bZ(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bZ(a,c,d,e,"*",g));return l}function bY(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bO),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bB(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?1:0,g=4;if(d>0){if(c!=="border")for(;e<g;e+=2)c||(d-=parseFloat(f.css(a,"padding"+bx[e]))||0),c==="margin"?d+=parseFloat(f.css(a,c+bx[e]))||0:d-=parseFloat(f.css(a,"border"+bx[e]+"Width"))||0;return d+"px"}d=by(a,b);if(d<0||d==null)d=a.style[b];if(bt.test(d))return d;d=parseFloat(d)||0;if(c)for(;e<g;e+=2)d+=parseFloat(f.css(a,"padding"+bx[e]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+bx[e]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+bx[e]))||0);return d+"px"}function bo(a){var b=c.createElement("div");bh.appendChild(b),b.innerHTML=a.outerHTML;return b.firstChild}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bk(a,b){var c;b.nodeType===1&&(b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase(),c==="object"?b.outerHTML=a.outerHTML:c!=="input"||a.type!=="checkbox"&&a.type!=="radio"?c==="option"?b.selected=a.defaultSelected:c==="input"||c==="textarea"?b.defaultValue=a.defaultValue:c==="script"&&b.text!==a.text&&(b.text=a.text):(a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value)),b.removeAttribute(f.expando),b.removeAttribute("_submit_attached"),b.removeAttribute("_change_attached"))}function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c,i[c][d])}h.data&&(h.data=f.extend({},h.data))}}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?+d:j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}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=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,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=m.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.7.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.add(a);return this},eq:function(a){a=+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(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");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!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(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;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(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(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){if(typeof c!="string"||!c)return null;var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},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,"ms-").replace(v,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(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h,i){var j,k=d==null,l=0,m=a.length;if(d&&typeof d=="object"){for(l in d)e.access(a,c,l,d[l],1,h,f);g=1}else if(f!==b){j=i===b&&e.isFunction(f),k&&(j?(j=c,c=function(a,b,c){return j.call(e(a),c)}):(c.call(a,f),c=null));if(c)for(;l<m;l++)c(a[l],d,j?f.call(a[l],l,c(a[l],d)):f,i);g=1}return g?a:k?c.call(a):m?c(a[0],d):h},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m,n=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?n(g):h==="function"&&(!a.unique||!p.has(g))&&c.push(g)},o=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,j=!0,m=k||0,k=0,l=c.length;for(;c&&m<l;m++)if(c[m].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}j=!1,c&&(a.once?e===!0?p.disable():c=[]:d&&d.length&&(e=d.shift(),p.fireWith(e[0],e[1])))},p={add:function(){if(c){var a=c.length;n(arguments),j?l=c.length:e&&e!==!0&&(k=a,o(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){j&&f<=l&&(l--,f<=m&&m--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&p.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(j?a.once||d.push([b,c]):(!a.once||!e)&&o(b,c));return this},fire:function(){p.fireWith(this,arguments);return this},fired:function(){return!!i}};return p};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p=c.createElement("div"),q=c.documentElement;p.setAttribute("className","t"),p.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=p.getElementsByTagName("*"),e=p.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=p.getElementsByTagName("input")[0],b={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.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:p.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},f.boxModel=b.boxModel=c.compatMode==="CSS1Compat",i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete p.test}catch(r){b.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",function(){b.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),i.setAttribute("name","t"),p.appendChild(i),j=c.createDocumentFragment(),j.appendChild(p.lastChild),b.checkClone=j.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,j.removeChild(i),j.appendChild(p);if(p.attachEvent)for(n in{submit:1,change:1,focusin:1})m="on"+n,o=m in p,o||(p.setAttribute(m,"return;"),o=typeof p[m]=="function"),b[n+"Bubbles"]=o;j.removeChild(p),j=g=h=p=i=null,f(function(){var d,e,g,h,i,j,l,m,n,q,r,s,t,u=c.getElementsByTagName("body")[0];!u||(m=1,t="padding:0;margin:0;border:",r="position:absolute;top:0;left:0;width:1px;height:1px;",s=t+"0;visibility:hidden;",n="style='"+r+t+"5px solid #000;",q="<div "+n+"display:block;'><div style='"+t+"0;display:block;overflow:hidden;'></div></div>"+"<table "+n+"' cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",d=c.createElement("div"),d.style.cssText=s+"width:0;height:0;position:static;top:0;margin-top:"+m+"px",u.insertBefore(d,u.firstChild),p=c.createElement("div"),d.appendChild(p),p.innerHTML="<table><tr><td style='"+t+"0;display:none'></td><td>t</td></tr></table>",k=p.getElementsByTagName("td"),o=k[0].offsetHeight===0,k[0].style.display="",k[1].style.display="none",b.reliableHiddenOffsets=o&&k[0].offsetHeight===0,a.getComputedStyle&&(p.innerHTML="",l=c.createElement("div"),l.style.width="0",l.style.marginRight="0",p.style.width="2px",p.appendChild(l),b.reliableMarginRight=(parseInt((a.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)===0),typeof p.style.zoom!="undefined"&&(p.innerHTML="",p.style.width=p.style.padding="1px",p.style.border=0,p.style.overflow="hidden",p.style.display="inline",p.style.zoom=1,b.inlineBlockNeedsLayout=p.offsetWidth===3,p.style.display="block",p.style.overflow="visible",p.innerHTML="<div style='width:5px;'></div>",b.shrinkWrapBlocks=p.offsetWidth!==3),p.style.cssText=r+s,p.innerHTML=q,e=p.firstChild,g=e.firstChild,i=e.nextSibling.firstChild.firstChild,j={doesNotAddBorder:g.offsetTop!==5,doesAddBorderForTableAndCells:i.offsetTop===5},g.style.position="fixed",g.style.top="20px",j.fixedPosition=g.offsetTop===20||g.offsetTop===15,g.style.position=g.style.top="",e.style.overflow="hidden",e.style.position="relative",j.subtractsBorderForOverflowNotVisible=g.offsetTop===-5,j.doesNotIncludeMarginInBodyOffset=u.offsetTop!==m,a.getComputedStyle&&(p.style.marginTop="1%",b.pixelMargin=(a.getComputedStyle(p,null)||{marginTop:0}).marginTop!=="1%"),typeof d.style.zoom!="undefined"&&(d.style.zoom=1),u.removeChild(d),l=p=d=null,f.extend(b,j))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([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&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=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,e,g,h,i,j=this[0],k=0,m=null;if(a===b){if(this.length){m=f.data(j);if(j.nodeType===1&&!f._data(j,"parsedAttrs")){g=j.attributes;for(i=g.length;k<i;k++)h=g[k].name,h.indexOf("data-")===0&&(h=f.camelCase(h.substring(5)),l(j,h,m[h]));f._data(j,"parsedAttrs",!0)}}return m}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split(".",2),d[1]=d[1]?"."+d[1]:"",e=d[1]+"!";return f.access(this,function(c){if(c===b){m=this.triggerHandler("getData"+e,[d[0]]),m===b&&j&&(m=f.data(j,a),m=l(j,a,m));return m===b&&d[1]?this.data(d[0]):m}d[1]=c,this.each(function(){var b=f(this);b.triggerHandler("setData"+e,d),f.data(this,a,c),b.triggerHandler("changeData"+e,d)})},null,c,arguments.length>1,null,!1)},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){var d=2;typeof a!="string"&&(c=a,a="fx",d--);if(arguments.length<d)return f.queue(this[0],a);return c===b?this:this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise(c)}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,f.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,f.prop,a,b,arguments.length>1)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.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.type]||f.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.type]||f.valHooks[g.nodeName.toLowerCase()];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),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,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=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},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h,i=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;i<g;i++)e=d[i],e&&(c=f.propFix[e]||e,h=u.test(e),h||f.attr(a,e,""),a.removeAttribute(v?e:c),h&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.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}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.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,g,h,i=a.nodeType;if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]}},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?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}},v||(y={name:!0,id:!0,coords:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,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.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,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);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),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 z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/(?:^|\s)hover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(
+a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler,g=p.selector),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:g&&G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!!g&&!!(o=g.events)){b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=f.event.special[c.type]||{},j=[],k,l,m,n,o,p,q,r,s,t,u;g[0]=c,c.delegateTarget=this;if(!i.preDispatch||i.preDispatch.call(this,c)!==!1){if(e&&(!c.button||c.type!=="click")){n=f(this),n.context=this.ownerDocument||this;for(m=c.target;m!=this;m=m.parentNode||this)if(m.disabled!==!0){p={},r=[],n[0]=m;for(k=0;k<e;k++)s=d[k],t=s.selector,p[t]===b&&(p[t]=s.quick?H(m,s.quick):n.is(t)),p[t]&&r.push(s);r.length&&j.push({elem:m,matches:r})}}d.length>e&&j.push({elem:this,matches:d.slice(e)});for(k=0;k<j.length&&!c.isPropagationStopped();k++){q=j[k],c.currentTarget=q.elem;for(l=0;l<q.matches.length&&!c.isImmediatePropagationStopped();l++){s=q.matches[l];if(h||!c.namespace&&!s.namespace||c.namespace_re&&c.namespace_re.test(s.namespace))c.data=s.data,c.handleObj=s,o=((f.event.special[s.origType]||{}).handle||s.handler).apply(q.elem,g),o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation()))}}i.postDispatch&&i.postDispatch.call(this,c);return c.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){a._submit_bubble=!0}),d._submit_attached=!0)})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=d||c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;d===!1&&(d=J);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9||d===11){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.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]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),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]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.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!!m(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 b<c[3]-0},gt:function(a,b,c){return b>c[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=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&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=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null: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=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));o.match.globalPOS=p;var s=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(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.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:[]}},o.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&&(o.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 href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[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}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.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 m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.globalPOS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-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)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));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(S(c[0])||S(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);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).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 V="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")[\\s/>]","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){return f.access(this,function(a){return a===b?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a))},null,a,arguments.length)},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){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):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
+.clean(arguments);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.clean(arguments));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){return f.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>");try{for(;d<e;d++)c=this[d]||{},c.nodeType===1&&(f.cleanData(c.getElementsByTagName("*")),c.innerHTML=a);c=0}catch(g){}}c&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,function(a,b){b.src?f.ajax({type:"GET",global:!1,url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)})}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?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,e,g,h=f.support.html5Clone||f.isXMLDoc(a)||!bc.test("<"+a.nodeName+">")?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g,h,i,j=[];b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);for(var k=0,l;(l=a[k])!=null;k++){typeof l=="number"&&(l+="");if(!l)continue;if(typeof l=="string")if(!_.test(l))l=b.createTextNode(l);else{l=l.replace(Y,"<$1></$2>");var m=(Z.exec(l)||["",""])[1].toLowerCase(),n=bg[m]||bg._default,o=n[0],p=b.createElement("div"),q=bh.childNodes,r;b===c?bh.appendChild(p):U(b).appendChild(p),p.innerHTML=n[1]+l+n[2];while(o--)p=p.lastChild;if(!f.support.tbody){var s=$.test(l),t=m==="table"&&!s?p.firstChild&&p.firstChild.childNodes:n[1]==="<table>"&&!s?p.childNodes:[];for(i=t.length-1;i>=0;--i)f.nodeName(t[i],"tbody")&&!t[i].childNodes.length&&t[i].parentNode.removeChild(t[i])}!f.support.leadingWhitespace&&X.test(l)&&p.insertBefore(b.createTextNode(X.exec(l)[0]),p.firstChild),l=p.childNodes,p&&(p.parentNode.removeChild(p),q.length>0&&(r=q[q.length-1],r&&r.parentNode&&r.parentNode.removeChild(r)))}var u;if(!f.support.appendChecked)if(l[0]&&typeof (u=l.length)=="number")for(i=0;i<u;i++)bn(l[i]);else bn(l);l.nodeType?j.push(l):j=f.merge(j,l)}if(d){g=function(a){return!a.type||be.test(a.type)};for(k=0;j[k];k++){h=j[k];if(e&&f.nodeName(h,"script")&&(!h.type||be.test(h.type)))e.push(h.parentNode?h.parentNode.removeChild(h):h);else{if(h.nodeType===1){var v=f.grep(h.getElementsByTagName("script"),g);j.splice.apply(j,[k+1,0].concat(v))}d.appendChild(h)}}}return j},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bp=/alpha\([^)]*\)/i,bq=/opacity=([^)]*)/,br=/([A-Z]|^ms)/g,bs=/^[\-+]?(?:\d*\.)?\d+$/i,bt=/^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,bu=/^([\-+])=([\-+.\de]+)/,bv=/^margin/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Top","Right","Bottom","Left"],by,bz,bA;f.fn.css=function(a,c){return f.access(this,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)},a,c,arguments.length>1)},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=by(a,"opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bu.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(by)return by(a,c)},swap:function(a,b,c){var d={},e,f;for(f in b)d[f]=a.style[f],a.style[f]=b[f];e=c.call(a);for(f in b)a.style[f]=d[f];return e}}),f.curCSS=f.css,c.defaultView&&c.defaultView.getComputedStyle&&(bz=function(a,b){var c,d,e,g,h=a.style;b=b.replace(br,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b))),!f.support.pixelMargin&&e&&bv.test(b)&&bt.test(c)&&(g=h.width,h.width=c,c=e.width,h.width=g);return c}),c.documentElement.currentStyle&&(bA=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f==null&&g&&(e=g[b])&&(f=e),bt.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),by=bz||bA,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth!==0?bB(a,b,d):f.swap(a,bw,function(){return bB(a,b,d)})},set:function(a,b){return bs.test(b)?b+"px":b}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bq.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,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bp,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bp.test(g)?g.replace(bp,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){return f.swap(a,{display:"inline-block"},function(){return b?by(a,"margin-right"):a.style.marginRight})}})}),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&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)}),f.each({margin:"",padding:"",border:"Width"},function(a,b){f.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bx[d]+b]=e[d]||e[d-2]||e[0];return f}}});var bC=/%20/g,bD=/\[\]$/,bE=/\r?\n/g,bF=/#.*$/,bG=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bH=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bI=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bJ=/^(?:GET|HEAD)$/,bK=/^\/\//,bL=/\?/,bM=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bN=/^(?:select|textarea)/i,bO=/\s+/,bP=/([?&])_=[^&]*/,bQ=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bR=f.fn.load,bS={},bT={},bU,bV,bW=["*/"]+["*"];try{bU=e.href}catch(bX){bU=c.createElement("a"),bU.href="",bU=bU.href}bV=bQ.exec(bU.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bR)return bR.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("<div>").append(c.replace(bM,"")).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||bN.test(this.nodeName)||bH.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(bE,"\r\n")}}):{name:b.name,value:c.replace(bE,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(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?b$(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b$(a,b);return a},ajaxSettings:{url:bU,isLocal:bI.test(bV[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bW},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},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bY(bS),ajaxTransport:bY(bT),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>0?4:0;var o,r,u,w=c,x=l?ca(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cb(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),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.Callbacks("once memory"),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=bG.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.add,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(bF,"").replace(bK,bV[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bO),d.crossDomain==null&&(r=bQ.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bV[1]&&r[2]==bV[2]&&(r[3]||(r[1]==="http:"?80:443))==(bV[3]||(bV[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bZ(bS,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bJ.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bL.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bP,"$1_="+x);d.url=y+(y===d.url?(bL.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]!=="*"?", "+bW+"; 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=bZ(bT,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){if(s<2)w(-1,z);else throw 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)b_(g,a[g],c,e);return d.join("&").replace(bC,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cc=f.now(),cd=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cc++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=typeof b.data=="string"&&/^application\/x\-www\-form\-urlencoded/.test(b.contentType);if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cd.test(b.url)||e&&cd.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(cd,l),b.url===j&&(e&&(k=k.replace(cd,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 ce=a.ActiveXObject?function(){for(var a in cg)cg[a](0,1)}:!1,cf=0,cg;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ch()||ci()}:ch,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,ce&&delete cg[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);try{m.text=h.responseText}catch(a){}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=++cf,ce&&(cg||(cg={},f(a).unload(ce)),cg[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cj={},ck,cl,cm=/^(?:toggle|show|hide)$/,cn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,co,cp=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cq;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(ct("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),(e===""&&f.css(d,"display")==="none"||!f.contains(d.ownerDocument.documentElement,d))&&f._data(d,"olddisplay",cu(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(ct("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(ct("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o,p,q;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]);if((k=f.cssHooks[g])&&"expand"in k){l=k.expand(a[g]),delete a[g];for(i in l)i in a||(a[i]=l[i])}}for(g in a){h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cu(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cm.test(h)?(q=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),q?(f._data(this,"toggle"+i,q==="show"?"hide":"show"),j[q]()):j[h]()):(m=cn.exec(h),n=j.cur(),m?(o=parseFloat(m[2]),p=m[3]||(f.cssNumber[i]?"":"px"),p!=="px"&&(f.style(this,i,(o||1)+p),n=(o||1)/j.cur()*n,f.style(this,i,n+p)),m[1]&&(o=(m[1]==="-="?-1:1)*o+n),j.custom(n,o,p)):j.custom(n,h,""));return!0}var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:ct("show",1),slideUp:ct("hide",1),slideToggle:ct("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a){return a},swing:function(a){return-Math.cos(a*Math.PI)/2+.5}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=cq||cr(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){f._data(e.elem,"fxshow"+e.prop)===b&&(e.options.hide?f._data(e.elem,"fxshow"+e.prop,e.start):e.options.show&&f._data(e.elem,"fxshow"+e.prop,e.end))},h()&&f.timers.push(h)&&!co&&(co=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cq||cr(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(co),co=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(cp.concat.apply([],cp),function(a,b){b.indexOf("margin")&&(f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now)+a.unit)})}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cv,cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?cv=function(a,b,c,d){try{d=a.getBoundingClientRect()}catch(e){}if(!d||!f.contains(c,a))return d?{top:d.top,left:d.left}:{top:0,left:0};var g=b.body,h=cy(b),i=c.clientTop||g.clientTop||0,j=c.clientLeft||g.clientLeft||0,k=h.pageYOffset||f.support.boxModel&&c.scrollTop||g.scrollTop,l=h.pageXOffset||f.support.boxModel&&c.scrollLeft||g.scrollLeft,m=d.top+k-i,n=d.left+l-j;return{top:m,left:n}}:cv=function(a,b,c){var d,e=a.offsetParent,g=a,h=b.body,i=b.defaultView,j=i?i.getComputedStyle(a,null):a.currentStyle,k=a.offsetTop,l=a.offsetLeft;while((a=a.parentNode)&&a!==h&&a!==c){if(f.support.fixedPosition&&j.position==="fixed")break;d=i?i.getComputedStyle(a,null):a.currentStyle,k-=a.scrollTop,l-=a.scrollLeft,a===e&&(k+=a.offsetTop,l+=a.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cw.test(a.nodeName))&&(k+=parseFloat(d.borderTopWidth)||0,l+=parseFloat(d.borderLeftWidth)||0),g=e,e=a.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"&&(k+=parseFloat(d.borderTopWidth)||0,l+=parseFloat(d.borderLeftWidth)||0),j=d}if(j.position==="relative"||j.position==="static")k+=h.offsetTop,l+=h.offsetLeft;f.support.fixedPosition&&j.position==="fixed"&&(k+=Math.max(c.scrollTop,h.scrollTop),l+=Math.max(c.scrollLeft,h.scrollLeft));return{top:k,left:l}},f.fn.offset=function(a){if(arguments.length)return a===b?this:this.each(function(b){f.offset.setOffset(this,a,b)});var c=this[0],d=c&&c.ownerDocument;if(!d)return null;if(c===d.body)return f.offset.bodyOffset(c);return cv(c,d,d.documentElement)},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.support.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=cx.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&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);f.fn[a]=function(e){return f.access(this,function(a,e,g){var h=cy(a);if(g===b)return h?c in h?h[c]:f.support.boxModel&&h.document.documentElement[e]||h.document.body[e]:a[e];h?h.scrollTo(d?f(h).scrollLeft():g,d?g:f(h).scrollTop()):a[e]=g},a,e,arguments.length,null)}}),f.each({Height:"height",Width:"width"},function(a,c){var d="client"+a,e="scroll"+a,g="offset"+a;f.fn["inner"+a]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,c,"padding")):this[c]():null},f.fn["outer"+a]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,c,a?"margin":"border")):this[c]():null},f.fn[c]=function(a){return f.access(this,function(a,c,h){var i,j,k,l;if(f.isWindow(a)){i=a.document,j=i.documentElement[d];return f.support.boxModel&&j||i.body&&i.body[d]||j}if(a.nodeType===9){i=a.documentElement;if(i[d]>=i[e])return i[d];return Math.max(a.body[e],i[e],a.body[g],i[g])}if(h===b){k=f.css(a,c),l=parseFloat(k);return f.isNumeric(l)?l:k}f(a).css(c,h)},c,a,arguments.length,null)}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window);
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/locale/eng.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/locale/eng.js
new file mode 100644 (file)
index 0000000..37397dd
--- /dev/null
@@ -0,0 +1,1119 @@
+SDL.eng = {
+
+    view_warning: 'WARNING!',
+    view_warning_paragraph1: 'This application is intended to be used as a demonstrative aid only, while the vehicle is parked. Don&apos;t use it while driving.',
+    view_warning_paragraph2: 'Use extreme caution when using any device that takes your attention off the road. Ford recommends against the use of any hand-held device while driving and that you comply with all applicable laws. Your primary responsibility is the safe operation of the vehicle.',
+
+    view_phone_popUp_callEnded: 'Call Ended',
+
+    view_phone_phone: 'Phone',
+    view_phone_quickdial: 'Quick Dial',
+    view_phone_phonebook: 'Phonebook',
+    view_phone_history: 'History',
+    view_phone_messaging: 'Messaging',
+    view_phone_settings: 'Settings',
+    view_navigation_view: 'View',
+    view_navigation_dest: 'Dest',
+
+    view_navigation_freeway: 'No freeway exit POI information available Dearborn, MI',
+
+    view_navigation_menu_title: 'Navigation Menu',
+    view_navigation_menu_navigationSettings: 'Navigation Settings',
+    view_navigation_menu_guidanceMute: 'Guidance Mute',
+    view_navigation_menu_viewEdit: 'View / Edit',
+    view_navigation_menu_siriusTravelL: 'SIRIUS Travel Link',
+    view_navigation_menu_cancelRoute: 'Cancel Route',
+    view_navigation_menu_close: 'Close ',
+
+    view_navigation_view2_editTurnList: 'Edit Turn List',
+
+    view_wigetPhone_label: 'Do Not Disturb',
+    view_wigetPhone_phone: 'Paul’s Phone',
+
+    view_statusPhone_phone: 'Phone',
+    view_statusPhone_privacyMode: 'Privacy mode',
+    view_statusPhone_microphoneMute: 'Microphone mute',
+
+    view_statusNavigation_navigation: 'Navigation',
+
+    view_statusClimate_climate: 'Climate',
+
+    view_mediaStatus_entertainment: 'Entertainment',
+    view_mediaStatus_bluetooth: 'Bluetooth',
+    view_mediaStatus_avIn: 'AV In',
+
+    view_phone_0: '0',
+    view_phone_1: '1',
+    view_phone_2: '2',
+    view_phone_3: '3',
+    view_phone_4: '4',
+    view_phone_5: '5',
+    view_phone_6: '6',
+    view_phone_7: '7',
+    view_phone_8: '8',
+    view_phone_9: '9',
+
+    view_phone_abc: 'ABC',
+    view_phone_def: 'DEF',
+    view_phone_ghi: 'GHI',
+    view_phone_jkl: 'JKL',
+    view_phone_mno: 'MNO',
+    view_phone_pqrs: 'PQRS',
+    view_phone_tuv: 'TUV',
+    view_phone_wxyz: 'WXYZ',
+
+    view_phone_plus: '+',
+    view_phone_mtpl: '*',
+    view_phone_dies: '#',
+
+    view_phone_dial: 'Dial',
+    view_phone_end: 'End',
+    view_phone_privacy: 'Privacy',
+    view_phone_hold: 'Hold',
+    view_phone_mute: 'Mute',
+    view_phone_join: 'Join',
+
+    view_phone_quickDial_item1: 'Voice Mail',
+    view_phone_quickDial_item2: 'Micky Marmaremmy',
+    view_phone_quickDial_item3: 'Billy McTuff',
+    view_phone_quickDial_item4: 'Hope Doferson',
+    view_phone_quickDial_item5: 'Larry Pitterputz',
+    view_phone_quickDial_item6: 'James Murly',
+    view_phone_quickDial_item7: 'Wally Schultz',
+    view_phone_quickDial_item8: 'Suzie McCozo',
+    view_phone_quickDial_item9: 'Empty',
+    view_phone_quickDial_item10: 'Empty',
+
+    view_phone_phoneBook_aF: 'A - F',
+    view_phone_phoneBook_gL: 'G - L',
+    view_phone_phoneBook_mS: 'M - S',
+    view_phone_phoneBook_tZ: 'T - Z',
+    view_phone_phoneBook_other: 'Other',
+    view_phone_phoneBook_item1: 'Micky Marmaremmy',
+    view_phone_phoneBook_item2: 'Billy McTuff',
+    view_phone_phoneBook_item3: 'Hope Doferson',
+    view_phone_phoneBook_item4: 'Larry Pitterputz',
+    view_phone_phoneBook_item5: 'Suzie McCozo',
+    view_phone_phoneBook_item6: 'Suzie McCozo',
+    view_phone_phoneBook_item7: 'Micky Marmaremmy',
+    view_phone_phoneBook_item8: 'Billy McTuff',
+    view_phone_phoneBook_item9: 'Hope Doferson',
+
+    view_phone_history_all: 'All',
+    view_phone_history_outgoing: 'Outgoing',
+    view_phone_history_incoming: 'Incoming',
+    view_phone_history_missed: 'Missed',
+    view_phone_history_item1: 'Micky Marmaremmy',
+    view_phone_history_item1_rightText: '1:28 pm',
+    view_phone_history_item2: 'Billy McTuff',
+    view_phone_history_item2_rightText: '12:03 pm',
+    view_phone_history_item3: 'Hope Doferson',
+    view_phone_history_item3_rightText: '11:35 am',
+    view_phone_history_item4: 'Larry Pitterputz',
+    view_phone_history_item4_rightText: '05/25/2011',
+    view_phone_history_item5: 'Suzie McCozo',
+    view_phone_history_item5_rightText: '05/26/2011',
+    view_phone_history_item6: 'Suzie McCozo',
+    view_phone_history_item6_rightText: '05/26/2011',
+    view_phone_history_item7: 'Larry Pitterputz',
+    view_phone_history_item7_rightText: '05/25/2011',
+    view_phone_history_item8: 'Micky Marmaremmy',
+    view_phone_history_item8_rightText: '1:28 pm',
+    view_phone_history_item9: 'Billy McTuff',
+    view_phone_history_item9_rightText: '12:03 pm',
+    view_phone_history_item10: 'Hope Doferson',
+    view_phone_history_item10_rightText: '11:35 am',
+    view_phone_history_dial: 'Dial',
+    view_phone_history_saveDial: 'Save Dial',
+
+    view_phone_messaging_send: 'Send',
+    view_phone_messaging_downloadNew: 'Download New',
+    view_phone_messaging_deleteAll: 'Delete All',
+    view_phone_messaging_item1: 'Suzie McCozo',
+    view_phone_messaging_item2: 'Micky Marmaremmy',
+    view_phone_messaging_item3: 'Billy McTuff',
+    view_phone_messaging_delete: 'Delete',
+
+    view_phone_settings_doNotDisturb: 'Do Not Disturb',
+    view_phone_settings_bluetoothDevices: 'Bluetooth Devices',
+    view_phone_settings_bluetooth: 'Bluetooth',
+    view_phone_settings_911Assist: '911 Assist',
+    view_phone_settings_phoneRinger: 'Phone Ringer',
+    view_phone_settings_textMessageN: 'Text Message Notification',
+    view_phone_settings_internetDataC: 'Internet Data Connection',
+    view_phone_settings_managePhonebook: 'Manage Phonebook',
+    view_phone_settings_roamingWarning: 'Roaming Warning',
+    view_phone_settings_onOff:
+        [
+            'On',
+            'Off'
+        ],
+
+    view_phone_phoneSettings_bluetoothDevices_title: 'Bluetooth Devices - Phone',
+    view_phone_phoneSettings_bluetoothDevices_PaulPhone: "Paul's Phone",
+    view_phone_phoneSettings_bluetoothDevices_TonyaCell: "Tonya's Cell",
+    view_phone_phoneSettings_bluetoothDevices_addDevice: 'Add Device',
+    view_phone_phoneSettings_bluetoothDevices_connect: 'Connect',
+    view_phone_phoneSettings_bluetoothDevices_disconnect: 'Disconnect',
+    view_phone_phoneSettings_bluetoothDevices_info: 'Info',
+    view_phone_phoneSettings_bluetoothDevices_favorite: 'Favorite',
+    view_phone_phoneSettings_bluetoothDevices_delete: 'Delete',
+
+    view_phone_phoneSettings_phoneRinger_title: 'Select Phone Ringer',
+    view_phone_phoneSettings_phoneRinger_ringer1: 'Ringer 1',
+    view_phone_phoneSettings_phoneRinger_ringer2: 'Ringer 2',
+    view_phone_phoneSettings_phoneRinger_ringer3: 'Ringer 3',
+    view_phone_phoneSettings_phoneRinger_beep: 'Beep',
+    view_phone_phoneSettings_phoneRinger_connectedPhone: 'Connected Phone Ringtone',
+
+    view_phone_phoneSettings_textMessageNotification_title: 'Text Message Notification',
+    view_phone_phoneSettings_textMessageNotification_alert1: 'Alert 1',
+    view_phone_phoneSettings_textMessageNotification_alert2: 'Alert 2',
+    view_phone_phoneSettings_textMessageNotification_alert3: 'Alert 3',
+    view_phone_phoneSettings_textMessageNotification_textToSpeech: 'Text to Speech',
+    view_phone_phoneSettings_textMessageNotification_silent: 'Silent',
+
+    view_phone_phoneSettings_internetDataConnection_title: 'Internet Connection',
+    view_phone_phoneSettings_internetDataConnection_PaulPhone: "Paul's Phone",
+    view_phone_phoneSettings_internetDataConncetion_connectionProfile: 'Connection Profile',
+    view_phone_phoneSettings_internetDataConncetion_DUNSettings: 'DUN Settings',
+    view_phone_phoneSettings_internetDataConncetion_connectionToggle:
+        [
+            'DUN',
+            'PAN',
+            'OFF'
+        ],
+    view_phone_phoneSettings_internetDataConncetion_queryOnConnect: 'Query on Connect',
+    view_phone_phoneSettings_internetDataConncetion_queryToggle:
+        [
+            'Always',
+            'Never',
+            'Roaming'
+        ],
+    view_phone_phoneSettings_internetDataConncetion_dataUsage: 'For setting up your phone as an Internet connection to SYNC, please see www.SyncMyRide.com details. Ford Motor Company is not respondible for added changes associated with your Data Plan  usage.',
+
+    view_phone_phoneSettings_managePhoneBook_title: 'Manage Phonebook',
+    view_phone_phoneSettings_managePhoneBook_auto: 'Auto Phonebook Download',
+    view_phone_phoneSettings_managePhoneBook_display: 'Display Photos from Phonebook',
+    view_phone_phoneSettings_managePhoneBook_reDownload: 'Re-download Phonebook',
+    view_phone_phoneSettings_managePhoneBook_download: 'Download',
+    view_phone_phoneSettings_managePhoneBook_addContacts: 'Add Contacts from Phone',
+    view_phone_phoneSettings_managePhoneBook_add: 'Add',
+    view_phone_phoneSettings_managePhoneBook_deletePhonebook: 'Delete Phonebook',
+    view_phone_phoneSettings_managePhoneBook_delete: 'Delete',
+    view_phone_phoneSettings_managePhoneBook_onOf:
+        [
+            'On',
+            'Off'
+        ],
+
+    view_navigation_distance: '0.25mi',
+    view_navigation_position: 'Central Parkway',
+    view_navigation_street: 'Main St',
+
+    view_navigation_view: 'View',
+
+    view_navigation_destination: 'Destination',
+    view_navigation_destination_myHome: 'My Home',
+    view_navigation_destination_favorites: 'Favorites',
+    view_navigation_destination_previousDestinations: 'Previous Destinations',
+    view_navigation_destination_POI: 'Point of Interests (POI)',
+    view_navigation_destination_emergency: 'Emergency',
+    view_navigation_destination_streetAddress: 'Street Address',
+    view_navigation_destination_intersection: 'Intersection',
+    view_navigation_destination_cityCenter: 'City Center',
+    view_navigation_destination_map: 'Map',
+    view_navigation_destination_editRouteCancelRoute: 'Edit Route',
+    view_navigation_destination_CancelRoute: 'Cancel Route',
+    view_navigation_destination_previousStartingsPoint: 'Previous Startings Point',
+    view_navigation_destination_latitudeLongitude: 'Latitude / Longitude',
+    view_navigation_destination_freewayEntranceExit: 'Freeway Entrance/ Exit',
+
+    view_navi_destination_MyHome_set_a_dest: 'Set as Dest',
+    view_navi_destination_MyHome_dest: 'Dest',
+    view_navi_destination_MyHome_set_as_way: 'Set as Waypoint',
+    view_navi_destination_MyHome_menu: 'Menu',
+    view_navi_destination_MyHome_my_home: 'My Home',
+    view_navi_destination_MyHome_rd: '720 Ford Rd Canton, MI 48187',
+    view_navi_destination_MyHome_dial: 'Dial',
+    view_navi_destination_MyHome_delete: 'Delete',
+    view_navi_destination_MyHome_edit: 'Edit',
+
+    view_navi_destination_favorites_header: 'Favorites',
+    view_navi_destination_favorites_myhome: 'My Home',
+    view_navi_destination_favorites_az: 'A-Z',
+    view_navi_destination_favorites_date: 'Date',
+    view_navi_destination_favorites_edit: 'Edit',
+    view_navi_destination_favorites_delete: 'Delete',
+    view_navi_destination_favorites_add: 'Add',
+    view_navi_destination_favorites_sort: 'Sort By',
+
+    view_navi_destination_previous_header: 'Previous Destination',
+    view_navi_destination_previous_milerd: '20500 W 13 Mile Rd, Beverly Hills',
+    view_navi_destination_previous_southfield: '18210 Evergreen Rd, Southfield',
+    view_navi_destination_previous_delete: 'Delete',
+    view_navi_destination_previous_date: 'Date',
+    view_navi_destination_previous_city: 'City',
+
+    view_navi_destination_poi_header: 'Point Of Interest (POI)',
+    view_navi_destination_previous_sa: 'Search Area',
+    view_navi_destination_previous_sbn: 'Search by Name',
+    view_navi_destination_previous_sbp: 'Search by Phone number',
+    view_navi_destination_previous_cat: 'Categories',
+    view_navi_destination_previous_fav: 'Favorites',
+    view_navi_destination_previous_all: 'All',
+    view_navi_destination_previous_recent: 'Recent',
+    view_navi_destination_previous_fs: 'Fuel Station',
+    view_navi_destination_previous_fin: 'FINANCIAL',
+    view_navi_destination_previous_ar: 'All Restaurants',
+    view_navi_destination_previous_acc: 'Accommodations',
+    view_navi_destination_previous_p: 'Parking',
+    view_navi_destination_previous_edit: 'Edit',
+
+    view_navigation_destination_previousStartingsPoints: 'Previous Starting Points',
+    view_navigation_destination_previousStartingsPoint_Date: 'Date',
+    view_navigation_destination_previousStartingsPoint_City: 'City',
+    view_navigation_destination_previousStartingsPoint_SortBy: 'Sort by',
+
+    view_navi_destination_streetAddress_number: 'Number',
+    view_navi_destination_streetAddress_city: 'City',
+    view_navi_destination_streetAddress_street: 'Street',
+    view_navi_destination_streetAddress_de: 'DE',
+    view_navi_destination_streetAddress_sp: 'State/Prov',
+    view_navi_destination_streetAddress_mi: 'MI',
+    view_navi_destination_streetAddress_abc: 'ABC',
+    view_navi_destination_streetAddress_space: 'Space',
+    view_navi_destination_streetAddress_ch: '!@#',
+    view_navi_destination_streetAddress_q: 'Q',
+    view_navi_destination_streetAddress_w: 'W',
+    view_navi_destination_streetAddress_e: 'E',
+    view_navi_destination_streetAddress_r: 'R',
+    view_navi_destination_streetAddress_t: 'T',
+    view_navi_destination_streetAddress_y: 'Y',
+    view_navi_destination_streetAddress_u: 'U',
+    view_navi_destination_streetAddress_i: 'I',
+    view_navi_destination_streetAddress_o: 'O',
+    view_navi_destination_streetAddress_p: 'P',
+    view_navi_destination_streetAddress_a: 'A',
+    view_navi_destination_streetAddress_s: 'S',
+    view_navi_destination_streetAddress_d: 'D',
+    view_navi_destination_streetAddress_f: 'F',
+    view_navi_destination_streetAddress_g: 'G',
+    view_navi_destination_streetAddress_h: 'H',
+    view_navi_destination_streetAddress_j: 'J',
+    view_navi_destination_streetAddress_k: 'K',
+    view_navi_destination_streetAddress_l: 'L',
+    view_navi_destination_streetAddress_z: 'Z',
+    view_navi_destination_streetAddress_x: 'X',
+    view_navi_destination_streetAddress_c: 'C',
+    view_navi_destination_streetAddress_v: 'V',
+    view_navi_destination_streetAddress_b: 'B',
+    view_navi_destination_streetAddress_n: 'N',
+    view_navi_destination_streetAddress_m: 'M',
+    view_navi_destination_streetAddress_street1: 'Street 1',
+    view_navi_destination_streetAddress_street2: 'Street 2',
+
+    view_navi_destination_map_set_as_dest: 'Set as Dest',
+    view_navi_destination_map_saw: 'Set as Waypoint',
+    view_navi_destination_map_saf: 'Save to Favorites',
+    view_navi_destination_map_poi: 'POI Icons Off',
+    view_navi_destination_map_tf: 'Traffic List',
+    view_navi_destination_map_menu: 'Menu',
+    view_navi_destination_map_dest: 'Dest',
+    view_navi_destination_map_chestnut: 'Chestnut St.',
+
+    view_navi_destination_LatitudeLongitude_dd: 'DD',
+    view_navi_destination_LatitudeLongitude_latitude: 'Latitude',
+    view_navi_destination_LatitudeLongitude_longitude: 'Longitude',
+    view_navi_destination_LatitudeLongitude_go: 'GO',
+    view_navi_destination_LatitudeLongitude_e: 'E',
+    view_navi_destination_LatitudeLongitude_n: 'N',
+    view_navi_destination_LatitudeLongitude_s: 'S',
+    view_navi_destination_LatitudeLongitude_w: 'W',
+
+    view_navi_destination_Freeway_header: 'Freeway Entrance/Exit',
+    view_navi_destination_Freeway_freeway: 'Freeway',
+    view_navi_destination_Freeway_state: 'State/Prov',
+    view_navi_destination_Freeway_mi: 'MI',
+
+    view_navi_destination_emergency_header: 'Emergency',
+    view_navi_destination_emergency_sa: 'Search Area',
+    view_navi_destination_emergency_nearby: 'Nearby',
+    view_navi_destination_emergency_hospital: 'Hospital',
+    view_navi_destination_emergency_police: 'Police',
+
+    view_media_popUp: 'Preset saved',
+
+    view_media_directTune_enter: 'Enter',
+
+    view_media_am: 'AM',
+    view_media_am1: 'AM 1',
+    view_media_amAst: 'AM AST',
+
+    view_media_fm: 'FM',
+    view_media_fm1: 'FM 1',
+    view_media_fm2: 'FM 2',
+    view_media_fmAst: 'FM AST',
+
+    view_media_sirius: 'SIRIUS',
+    view_media_cd: 'CD',
+    view_media_usbHard: 'USB Hard',
+    view_media_usbSD: 'USB SD D',
+    view_media_bt: 'Paul\'s...',
+    view_media_avi: 'AV In',
+    view_media_hdradio: 'HD Radio',
+    view_media_repeat: 'Repeat',
+    view_media_shuffle: 'Shuffle',
+    view_media_replay: 'Replay',
+    view_media_similarMusic: 'Similar Music',
+    view_media_scan: 'Scan',
+    view_media_moreInfo: 'More Info',
+    view_media_options: 'Options',
+    view_media_presets: 'Presets',
+    view_media_directTune: 'Direct Tune',
+    view_media_browse: 'Browse',
+
+    view_media_moreInfo_title: 'Song Information',
+    view_media_moreInfo_whatIsPlaying: 'What\'s Playing',
+
+    view_media_cd_playList_track1: {
+        title: 'The Electric Broncos',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track2: {
+        title: 'Track 2',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track3: {
+        title: 'Track 3',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track4: {
+        title: 'Track 4',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track5: {
+        title: 'Track 5',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track6: {
+        title: 'Track 6',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track7: {
+        title: 'Track 7',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track8: {
+        title: 'Track 8',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track9: {
+        title: 'Track 9',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track10: {
+        title: 'Track 10',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+
+    view_media_usb_playList_track1: {
+        title: 'Track 1',
+        album: 'Color of the Fall',
+        artist: 'Luk Marko',
+        genre: 'Rock',
+        disk: 'Fall',
+        duration: 123
+    },
+    view_media_usb_playList_track2: {
+        title: 'Track 2',
+        album: 'Color of the Fall',
+        artist: 'Luk Marko',
+        genre: 'Rock',
+        disk: 'Fall',
+        duration: 123
+    },
+    view_media_usb_playList_track3: {
+        title: 'Track 3',
+        album: 'Color of the Fall',
+        artist: 'Luk Marko',
+        genre: 'Rock',
+        disk: 'Fall',
+        duration: 123
+    },
+    view_media_usb_playList_track4: {
+        title: 'Track 4',
+        album: 'Color of the Fall',
+        artist: 'Luk Marko',
+        genre: 'Rock',
+        disk: 'Fall',
+        duration: 123
+    },
+    view_media_usb_playList_track5: {
+        title: 'Track 5',
+        album: 'Color of the Fall',
+        artist: 'Luk Marko',
+        genre: 'Rock',
+        disk: 'Fall',
+        duration: 123
+    },
+    view_media_usb_playList_track6: {
+        title: 'Track 6',
+        album: 'Color of the Fall',
+        artist: 'Luk Marko',
+        genre: 'Rock',
+        disk: 'Fall',
+        duration: 123
+    },
+
+    view_media_sd_playList_track1: {
+        title: 'The Electric Broncos',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_sd_playList_track2: {
+        title: 'Track 2',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_sd_playList_track3: {
+        title: 'Track 3',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_sd_playList_track4: {
+        title: 'Track 4',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_sd_playList_track5: {
+        title: 'Track 5',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_sd_playList_track6: {
+        title: 'Track 6',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+
+    view_media_amFm_options_title: 'Options',
+    view_media_amFm_options_soundSettings: 'Sound Settings',
+    view_media_amFm_options_setPTY: 'Set PTY for Seek / Scan',
+    view_media_amFm_options_noProgram: 'No program type',
+    view_media_amFm_options_RDS: 'RDS Text Display',
+    view_media_amFm_options_onOff:
+        [
+            'On',
+            'Off'
+        ],
+    view_media_amFm_options_autoset: 'Autoset Presets (AST)',
+    view_media_amFm_options_refresh: 'Refresh / Store',
+    view_media_amFm_options_TAG: 'TAG Button',
+
+    view_media_cd_options_title: 'CD-MP3/WMA Options',
+    view_media_cd_options_soundSettings: 'Sound Settings',
+    view_media_cd_options_compression: 'Compression',
+    view_media_cd_options_onOff:
+        [
+            'On',
+            'Off'
+        ],
+
+    view_media_usb_options_title: 'Options',
+    view_media_usb_options_soundSettings: 'Sound Settings',
+    view_media_usb_options_mediaPlayerSettings: 'Media Player Settings',
+    view_media_usb_options_compression_deviceInformation: 'Device Information',
+    view_media_usb_options_compression_updateIndex: 'Update Media Index',
+    view_media_usb_options_compression_start: 'Start',
+
+    view_media_bt_options_title: 'Options',
+    view_media_bt_options_soundSettings: 'Sound Settings',
+    view_media_bt_options_mediaPlayerSettings: 'Media Player Settings',
+    view_media_bt_options_deviceInformation: 'Device Information',
+
+    view_media_sirius_options_title: 'SIRIUS Options',
+    view_media_sirius_options_soundSettings: 'Sound Settings',
+    view_media_sirius_options_setCategory: 'Set Category for Seek/Scan',
+    view_media_sirius_options_allChannels: 'All Channels',
+    view_media_sirius_options_parentalLockout: 'Parental Lockout',
+    view_media_sirius_options_changePIN: 'Change PIN',
+    view_media_sirius_options_alerts: 'Artist / Title / Team Alerts',
+    view_media_sirius_options_OnOff:
+        [
+            'On',
+            'Off'
+        ],
+    view_media_sirius_options_serialNumber: 'Electronic Serial Number (ESN) 034424346821',
+
+    view_media_cd_browse_CDTrack: 'CD Track list',
+
+    view_media_usb_browse_browseAvailable: 'Browse Available Sources',
+    view_media_usb_browse_siriusChannel: 'SIRIUS Channel Guide',
+    view_media_usb_browse_cdTrack: 'CD Track List',
+    view_media_usb_browse_usbHard: 'USB Hard Disk Drive',
+    view_media_usb_browse_usbSD: 'USB SD Disk Drive',
+
+    view_media_usb_browse_browse: 'Browse',
+    view_media_usb_browse_allSources: 'All Sources',
+
+    view_media_usb_browse_USBHardDisk: 'USB Hard Disk Drive DSK5',
+    view_media_usb_browse_music: 'Music',
+    view_media_usb_browse_exploreDevice: 'Explore device',
+
+    view_media_sd_browse_title: 'USB SD Drive DSK4',
+    view_media_sd_browse_music: 'Music',
+    view_media_sd_browse_exploreDevice: 'Explore device',
+
+    view_media_sirius_alert: 'Alert',
+    view_media_sirius_browse_title: 'SIRIUS Channel Guide',
+    view_media_sirius_browse_AllChanels: 'All Chanels',
+    view_media_sirius_browse_158: '158',
+    view_media_sirius_browse_pop: 'Pop',
+    view_media_sirius_browse_13: '13',
+    view_media_sirius_browse_rock: 'Rock',
+    view_media_sirius_browse_24: '24',
+    view_media_sirius_browse_hipHop: 'Hip-Hop / R&B',
+    view_media_sirius_browse_6: '6',
+    view_media_sirius_browse_dance: 'Dance / Electrinic',
+    view_media_sirius_browse_3: '3',
+    view_media_sirius_browse_classic: 'Classic',
+    view_media_sirius_browse_235: '235',
+    view_media_sirius_browse_retro: 'Retro',
+    view_media_sirius_browse_43: '43',
+    view_media_sirius_browse_trance: 'Trance',
+    view_media_sirius_browse_56: '56',
+    view_media_sirius_browse_jazz: 'Jazz',
+    view_media_sirius_browse_201: '201',
+    view_media_sirius_browse_disco: 'Disco',
+    view_media_sirius_browse_17: '17',
+
+    view_climate_myTemp: 'My Temp',
+    view_climate_dual: 'Dual',
+    view_climate_auto: 'Auto',
+    view_climate_ac: 'A/C',
+    view_climate_maxAc: 'Max A/C',
+    view_climate_rear: 'Rear',
+    view_climate_rearControl: 'Rear Control',
+    view_climate_rearClimate: 'Rear Climate',
+    view_climate_rearClimateOn: 'Rear Climate On',
+    view_climate_off: 'OFF',
+    view_climate_myTempStored: 'My Temp Stored',
+
+    view_settings_timeNum: '3:00',
+    view_settings_timeZone: 'Eastern Time',
+
+    view_settings_am: 'AM',
+    view_settings_pm: 'PM',
+
+    view_settings_clock: 'Clock',
+    view_settings_display: 'Display',
+    view_settings_sound: 'Sound',
+    view_settings_vehicle: 'Vehicle',
+    view_settings_settings: 'Settings',
+    view_settings_help: 'Help',
+
+    view_settings_clock_clokDisplay: 'Clock Display',
+    view_settings_clock_clokDisplay_time: 'Time',
+    view_settings_clock_clokDisplay_date: 'Date',
+    view_settings_clock_outsideAirTemperature: 'Outside Air Temperature',
+    view_settings_clock_outsideAirTemperature_on: 'On',
+    view_settings_clock_outsideAirTemperature_off: 'Off',
+    view_settings_clock_clockFormat: 'Clock Format',
+    view_settings_clock_clockFormat_12Hour: '12 hour',
+    view_settings_clock_clockFormat_24Hour: '24 hour',
+    view_settings_clock_GPSTimeSynchronization: 'GPS Time Synchronization',
+    view_settings_clock_autoTimeZoneUpdate: 'Auto Time Zone Update',
+    view_settings_clock_OnOFF:
+        [
+            'On',
+            'Off'
+        ],
+    view_settings_clock_timeDate:
+        [
+            'Time',
+            'Date'
+        ],
+    view_settings_clock_hours:
+        [
+            '12 hour',
+            '24 hour'
+        ],
+
+    view_settings_clock_GPSTimeSynchronization_off: 'Off',
+
+    view_settings_sound_bass: 'Bass',
+    view_settings_sound_midrage: 'Midrange',
+    view_settings_sound_treble: 'Treble',
+    view_settings_sound_setBalance: 'Set Balance and Fade',
+    view_settings_sound_playTHX: 'Play THX Deep Note\u2122 Demo',
+    view_settings_sound_dsp: 'DSP',
+    view_settings_sound_stereoSurround:
+        [
+            'Stereo',
+            'Surround'
+        ],
+    view_settings_sound_speed: 'Speed Compensated Volume',
+    view_settings_sound_offtoSeven:
+        [
+            'Off',
+            '1',
+            '2',
+            '3',
+            '4',
+            '5',
+            '6',
+            '7'
+        ],
+
+    view_settings_display_brightness: 'Brightness',
+    view_settings_display_on: 'On',
+    view_settings_display_off: 'Off',
+    view_settings_display_auto: 'Auto',
+    view_settings_display_mode: 'Mode',
+    view_settings_display_auto_dim: 'Auto DIM',
+    view_settings_display_day: 'DAY',
+    view_settings_display_night: 'NIGHT',
+    view_settings_display_edit_wallpaper: 'Edit Wallpaper',
+    view_settings_display_auto_offset: 'Auto Dim Manual Offset',
+
+    view_settings_sound_bass: 'Bass',
+    view_settings_sound_midrange: 'Midrange',
+    view_settings_sound_treble: 'Treble',
+    view_settings_sound_balance: 'Set Balance and Fade',
+    view_settings_sound_dsp: 'DSP',
+    view_settings_sound_stereo: 'Stereo',
+    view_settings_sound_surround: 'Surround',
+
+    view_settings_Sound_BalanceFader_header: 'Sound Balance / Fade',
+    view_settings_Sound_BalanceFader_fade: 'Fade',
+    view_settings_Sound_BalanceFader_balance: 'Balance',
+    view_settings_Sound_BalanceFader_f: 'F',
+    view_settings_Sound_BalanceFader_b: 'B',
+    view_settings_Sound_BalanceFader_l: 'L',
+    view_settings_Sound_BalanceFader_r: 'R',
+
+    view_settings_vehicle_ambientLighting: 'Ambient Lighting',
+    view_settings_vehicle_VehicleHealthReport: 'Vehicle Health Report',
+    view_settings_vehicle_DoorKeypadCode: 'Edit Door Keypad Code',
+    view_settings_vehicle_RearViewCamera: 'Rear Camera Settings',
+    view_settings_vehicle_EnableValetMode: 'Enable Valet Mode',
+    view_settings_vehicle_SeatComfort: 'Seat Comfort',
+
+    view_settings_vehicle_EnableValetMode_enterPIN_enter4Digit: 'Enter 4-Digit PIN:',
+    view_settings_vehicle_EnableValetMode_enterPIN_0: '0',
+    view_settings_vehicle_EnableValetMode_enterPIN_1: '1',
+    view_settings_vehicle_EnableValetMode_enterPIN_2: '2',
+    view_settings_vehicle_EnableValetMode_enterPIN_3: '3',
+    view_settings_vehicle_EnableValetMode_enterPIN_4: '4',
+    view_settings_vehicle_EnableValetMode_enterPIN_5: '5',
+    view_settings_vehicle_EnableValetMode_enterPIN_6: '6',
+    view_settings_vehicle_EnableValetMode_enterPIN_7: '7',
+    view_settings_vehicle_EnableValetMode_enterPIN_8: '8',
+    view_settings_vehicle_EnableValetMode_enterPIN_9: '9',
+    view_settings_vehicle_EnableValetMode_enterPIN_enter: 'Enter',
+
+    view_settings_vehicle_VehicleHealthReport_ar: 'Automatic Reminders',
+    view_settings_vehicle_VehicleHealthReport_mi: 'Mileage Interval (Miles)',
+    view_settings_vehicle_VehicleHealthReport_on: 'On',
+    view_settings_vehicle_VehicleHealthReport_off: 'Off',
+    view_settings_vehicle_VehicleHealthReport_rvhrn: 'Run Vehicle Health Report Now',
+    view_settings_vehicle_VehicleHealthReport_to_active: 'To activate, log onto www.SyncMyRide.com',
+
+    view_settings_vehicle_DoorKeypadCode_factory: 'In order to edit the Keypad Code, first enter the Factory Code.',
+    view_settings_vehicle_DoorKeypadCode_5digit: 'Enter 5-digit Factory Code:',
+    view_settings_vehicle_DoorKeypadCode_enter: 'Enter',
+
+    view_settings_vehicle_RearViewCamera_rcd: 'Rear Camera Delay',
+    view_settings_vehicle_RearViewCamera_visualPark: 'Visual Park Aid Alert',
+    view_settings_vehicle_RearViewCamera_guidelines: 'Guidelines',
+    view_settings_vehicle_RearViewCamera_preview: 'Preview',
+    view_settings_vehicle_RearViewCamera_on: 'On',
+    view_settings_vehicle_RearViewCamera_off: 'Off',
+
+    view_settings_vehicle_enableValetMode_enablingValetMode: 'Enabling Valet Mode will lock the system using a 4-digit PIN selected by the user.',
+    view_settings_vehicle_enableValetMode_samePin: 'The same PIN must be entered again to disable Valet Mode and unlock the system.',
+    view_settings_vehicle_enableValetMode_continue: 'Continue enabling Valet Mode?',
+    view_settings_vehicle_enableValetMode_yes: 'Yes',
+    view_settings_vehicle_enableValetMode_no: 'No',
+
+    view_settings_vehicle_MultiContourSeat_Adjust_header: 'MCS',
+
+    view_settings_settings_system: 'System',
+    view_settings_settings_voiceControl: 'Voice Control',
+    view_settings_settings_mediaPlayer: 'Media Player',
+    view_settings_settings_navigation: 'Navigation',
+    view_settings_settings_phone: 'Phone',
+    view_settings_settings_wirelessInternet: 'Wireless & Internet',
+
+    view_settings_settings_system_language: 'Language',
+    view_settings_settings_system_language_engEspFr:
+        [
+            'English',
+            'Español',
+            'Français'
+        ],
+    view_settings_settings_system_distance: 'Distance',
+    view_settings_settings_system_distance_kmMi:
+        [
+            'KM',
+            'MI'
+        ],
+    view_settings_settings_system_temperature: 'Temperature',
+    view_settings_settings_system_temperature_frCel:
+        [
+            'Fahrenheit',
+            'Celsius'
+        ],
+    view_settings_settings_system_systemPrompt: 'System Prompt Volume',
+    view_settings_settings_system_touch: 'Touch Screen Button Beep',
+    view_settings_settings_system_keyboardLayout: 'Keyboard Layout',
+    view_settings_settings_system_installApplications: 'Install Applications',
+    view_settings_settings_system_masterReset: 'Master Reset',
+    view_settings_settings_system_onOff:
+        [
+            'On',
+            'Off'
+        ],
+
+    view_settings_settings_system_keyboardLayout_ABC: 'ABC',
+    view_settings_settings_system_keyboardLayout_QWERTY: 'QWERTY',
+    view_settings_settings_system_keyboardLayout_ABCEurope: 'ABC + Europe',
+    view_settings_settings_system_keyboardLayout_ABCFrench: 'ABC + French',
+    view_settings_settings_system_keyboardLayout_ABCSpanish: 'ABC + Spanish',
+    view_settings_settings_system_keyboardLayout_ABCPortuguese: 'ABC + Portuguese',
+    view_settings_settings_system_keyboardLayout_ABCGerman: 'ABC + German',
+    view_settings_settings_system_keyboardLayout_ABCItalian: 'ABC + Italian',
+    view_settings_settings_system_keyboardLayout_ABCDutch: 'ABC + Dutch',
+    view_settings_settings_system_keyboardLayout_ABCSwedish: 'ABC + Swedish',
+    view_settings_settings_system_keyboardLayout_chinesePinYin: 'Chinese PinYin',
+    view_settings_settings_system_keyboardLayout_chineseShouzimu: 'Chinese Shouzimu (PinYin Where not available )',
+    view_settings_settings_system_keyboardLayout_russianCyrillic: '(Russian/Cyrillic)',
+    view_settings_settings_system_keyboardLayout_arabic: '(Arabic)',
+    view_settings_settings_system_keyboardLayout_greek: '(Greek)',
+    view_settings_settings_system_keyboardLayout_polish: '(Polish)',
+    view_settings_settings_system_keyboardLayout_turkish: '(Turkish)',
+
+    view_settings_settings_system_installApplications_header: 'Install Applications/Updates',
+    view_settings_settings_system_installApplications_BeginSoftware: 'Begin Software Installation',
+    view_settings_settings_system_installApplications_ViewSoftware: 'View Software Licenses ',
+
+    view_settings_settings_mediaPlayer_autoplay: 'Autoplay',
+    view_settings_settings_mediaPlayer_bluetoothDevices: 'Bluetooth Devices',
+    view_settings_settings_mediaPlayer_indexBluetooth: 'Index Bluetooth Audio Device',
+    view_settings_settings_mediaPlayer_gracenote: 'Gracenote® Database Info',
+    view_settings_settings_mediaPlayer_gracenoteMgmt: 'Gracenote® Mgmt',
+    view_settings_settings_mediaPlayer_coverArtPriority: 'Cover Art Priority',
+    view_settings_settings_mediaPlayer_coverArtPriorityTriger:
+        [
+            'Media Player',
+            'Gracenote®'
+        ],
+
+    view_settings_settings_mediaPlayer_bluetoothDevices_title: 'Bluetooth App',
+    view_settings_settings_mediaPlayer_bluetoothDevices_bluetoothDevices: 'Bluetooth Devices',
+    view_settings_settings_mediaPlayer_bluetoothDevices_bluetooth: 'Bluetooth',
+    view_settings_settings_mediaPlayer_bluetoothDevices_onOf:
+        [
+            'On',
+            'Off'
+        ],
+    view_settings_settings_mediaPlayer_bluetoothDevices_InternetDataC: 'Internet Data Connections',
+
+    view_settings_help_systemInformation_serialNumber: 'Serial Number: XMA41C7Q',
+    view_settings_help_systemInformation_vehicleIdentification: 'Vehicle Identification Number (VIN):',
+    view_settings_help_systemInformation_CCPU: 'CCPU S/W Version: 4.26.11346_PRODUCT',
+    view_settings_help_systemInformation_navigationApplication: 'Navigation Application Version: 2.15.16',
+    view_settings_help_systemInformation_mapDatabase: 'Map Database Version: B2',
+    view_settings_help_systemInformation_siriusESN: 'Sirius ESN: 030891878010',
+    view_settings_help_systemInformation_gracenote: 'Gracenote&reg; Database Information: 4255, Library 5.5.2.11',
+
+    view_settings_settings_whereAmI: 'Where am I?',
+    view_settings_settings_systemInformation: 'System Information',
+    view_settings_settings_softwareLicenses: 'Software Licenses',
+    view_settings_settings_drivingRestrictions: 'Driving Restrictions',
+    view_settings_settings_911Assist: '911 Assist',
+    view_settings_settings_voiceCommandList: 'Voice Command List',
+    view_settings_settings_forHelp: 'For help contact SYNC Support 1-877-945-3648',
+
+    view_settings_settings_VoiceControl_header: 'Voice Control',
+    view_settings_settings_VoiceControl_im: 'Interaction Mode',
+    view_settings_settings_VoiceControl_novice: 'Novice',
+    view_settings_settings_VoiceControl_advance: 'Advanced',
+    view_settings_settings_VoiceControl_confirmationPrompts: 'Confirmation Prompts',
+    view_settings_settings_VoiceControl_mediaCandidateLists: 'Media Candidate Lists',
+    view_settings_settings_VoiceControl_phoneCandidateLists: 'Phone Candidate Lists',
+    view_settings_settings_VoiceControl_voiceControlVolume: 'Voice Control Volume',
+    view_settings_settings_VoiceControl_on: 'On',
+    view_settings_settings_VoiceControl_off: 'Off',
+
+    view_settings_settings_WirelessInternet_header: 'Wireless Internet',
+    view_settings_settings_WirelessInternet_wifi_settings: 'Wi-Fi Settings',
+    view_settings_settings_WirelessInternet_usbmb: 'USB Mobile Broadband',
+    view_settings_settings_WirelessInternet_bluetooth_settings: 'Bluetooth Settings',
+    view_settings_settings_WirelessInternet_bluetooth_pcm: 'Prioritize Connection Methods',
+    view_settings_settings_WirelessInternet_bluetooth_i: 'Internet',
+    view_settings_settings_WirelessInternet_bluetooth_wifi: 'WiFi',
+    view_settings_settings_WirelessInternet_bluetooth_wdp: 'Wireless Data Providers',
+    view_settings_settings_WirelessInternet_bluetooth_cn: 'Cellular Networks',
+
+    view_settings_settings_navigation_title: 'Navigation',
+    view_settings_settings_navigation_mapPreferences: 'Map Preferences',
+    view_settings_settings_navigation_routePreferences: 'Route Preferences',
+    view_settings_settings_navigation_navigationPreferences: 'Navigation Preferences',
+    view_settings_settings_navigation_trafficPreferences: 'Traffic Preferences',
+    view_settings_settings_navigation_avoidAreas: 'Avoid Areas',
+
+    view_settings_settings_navigation_mapPreferences_breadcrumbs: 'Breadcrumbs',
+    view_settings_settings_navigation_mapPreferences_OnOFF:
+        [
+            'ON',
+            'OFF'
+        ],
+    view_settings_settings_navigation_mapPreferences_turnList: 'Turn List Format',
+    view_settings_settings_navigation_mapPreferences_breadcrumbs_TopBotttom:
+        [
+            'Top to Bottom',
+            'Bottom to Top'
+        ],
+    view_settings_settings_navigation_mapPreferences_ParkingPOI: 'Parking POI Notification',
+
+    view_settings_settings_navigation_routePreferences_preferred: 'Rreferred Route',
+    view_settings_settings_navigation_routePreferences_SFE:
+        [
+            'Shortest',
+            'Fastest',
+            'Ecological'
+        ],
+    view_settings_settings_navigation_routePreferences_avoidFreeways: 'Avoid Freeways',
+    view_settings_settings_navigation_routePreferences_avoidTollroads: 'Avoid Tollroads',
+    view_settings_settings_navigation_routePreferences_avoidFerriesCarTrains: 'Avoid Ferries / Car Trains',
+    view_settings_settings_navigation_routePreferences_useHOVLanes: 'Use HOV Lanes',
+    view_settings_settings_navigation_routePreferences_onOff:
+        [
+            'ON',
+            'OFF'
+        ],
+
+    view_settings_settings_navigation_navigationPreferences_guidancePrompts: 'Guidance Prompts',
+    view_settings_settings_navigation_navigationPreferences_voiceTone:
+        [
+            'Voice & Tones',
+            'Tone Only'
+        ],
+    view_settings_settings_navigation_navigationPreferences_auto: 'Auto - Fill State/Province',
+    view_settings_settings_navigation_navigationPreferences_onOff:
+        [
+            'ON',
+            'OFF'
+        ],
+
+    view_settings_settings_navigation_trafficPreferences_avoidTrafficProblems: 'Avoid Traffic Problems',
+    view_settings_settings_navigation_trafficPreferences_automaticManual:
+        [
+            'Automatic',
+            'Manual'
+        ],
+    view_settings_settings_navigation_trafficPreferences_trafficAlertNotification: 'Traffic Alert Notification',
+    view_settings_settings_navigation_trafficPreferences_onOff:
+        [
+            'ON',
+            'OFF'
+        ],
+    view_settings_settings_navigation_trafficPreferences_accidentMapIcon: 'Accident Map Icon',
+    view_settings_settings_navigation_trafficPreferences_trafficJamMapIcon: 'Traffic Jam Map icon',
+    view_settings_settings_navigation_trafficPreferences_roadClosed: 'Road Closed',
+    view_settings_settings_navigation_trafficPreferences_roadWorks: 'Road Works',
+    view_settings_settings_navigation_trafficPreferences_incidentMapIcons: 'Incident Map Icons',
+    view_settings_settings_navigation_trafficPreferences_difficultDrivingConditions: 'Difficult Driving Conditions',
+    view_settings_settings_navigation_trafficPreferences_snowIce: 'Snow & Ice',
+    view_settings_settings_navigation_trafficPreferences_smogAlerts: 'Smog Alerts',
+    view_settings_settings_navigation_trafficPreferences_weatherWarning: 'Weather Warning',
+    view_settings_settings_navigation_trafficPreferences_reducesVisibility: 'Reduces Visibility',
+    view_settings_settings_navigation_trafficPreferences_turnOnYourRadio: 'Turn on Your Radio',
+
+    view_settings_settings_navigation_avoidAreas_add: 'Add',
+
+    view_settings_settings_WirelessWifiInternet_header: 'Wi-Fi Settings',
+    view_settings_settings_WirelessWifiInternet_wifi_network: 'Wi-Fi Network (Client) Mode',
+    view_settings_settings_WirelessWifiInternet_wifi_choose: 'Choose a Wireless Network',
+    view_settings_settings_WirelessWifiInternet_wifi_gateway_mode: 'Gateway (Access Point) Mode',
+    view_settings_settings_WirelessWifiInternet_wifi_gateway_settings: 'Gateway (Access Point) Settings',
+    view_settings_settings_WirelessWifiInternet_wifi_gateway_list: 'Gateway (Access Point) Devices List',
+    view_settings_settings_WirelessWifiInternet_wifi_search: 'Search for Wireless Networks',
+    view_settings_settings_WirelessWifiInternet_wifi_on: 'On',
+    view_settings_settings_WirelessWifiInternet_wifi_off: 'Off',
+
+    view_settings_help_WhereAmI_header: 'Where Am I?',
+    view_settings_help_WhereAmI_next_street: 'Next Street',
+    view_settings_help_WhereAmI_villagerd: 'Village Rd',
+    view_settings_help_WhereAmI_mi: '0.1 mi',
+    view_settings_help_WhereAmI_current_street: 'Current Street',
+    view_settings_help_WhereAmI_military_st: 'Military St',
+    view_settings_help_WhereAmI_dearborn_dmi: 'Dearborn, MI',
+    view_settings_help_WhereAmI_lat: 'Lat: 42.17.39N / Long: 83.14.08W',
+    view_settings_help_WhereAmI_previous_street: 'Previous Street',
+    view_settings_help_WhereAmI_west_rd: 'West Rd',
+    view_settings_help_WhereAmI_west_ft: '400 ft',
+
+    view_settings_help_softwareLicenses_titile: 'Software Licenses',
+    view_settings_help_softwareLicenses_applicationName: 'Application Name',
+    view_settings_help_softwareLicenses_expirationDate: 'Expiration Date',
+    view_settings_help_softwareLicenses_remainingUses: 'Remaining Uses',
+    view_settings_help_softwareLicenses_install: 'Install Updates',
+    view_settings_help_softwareLicenses_navigation: 'Navigation North America',
+    view_settings_help_softwareLicenses_none: 'None',
+    view_settings_help_softwareLicenses_unlimited: 'Unlimited',
+
+    view_settings_help_DrivingRestrictions_header: 'Driver Restrictions',
+    view_settings_help_DrivingRestrictions_text: 'Due to driver distraction and safety concerns, certain features of SYNC are restricted from use while the vehicle is in motion.',
+
+    view_settings_help_voiceCommandListView_header: 'List of Commands',
+    view_settings_help_voiceCommandListView_audio: 'Audio',
+    view_settings_help_voiceCommandListView_browse: 'Browse',
+    view_settings_help_voiceCommandListView_climate: 'Climate',
+    view_settings_help_voiceCommandListView_disc: 'Disc',
+    view_settings_help_voiceCommandListView_globalCommands: 'Global Commands',
+    view_settings_help_voiceCommandListView_media: 'Media',
+    view_settings_help_voiceCommandListView_navigation: 'Navigation',
+    view_settings_help_voiceCommandListView_otherCommands: 'Other Commands',
+    view_settings_help_voiceCommandListView_phone: 'Phone',
+    view_settings_help_voiceCommandListView_radio: 'Radio',
+    view_settings_help_voiceCommandListView_sirius: 'Sirius',
+    view_settings_help_voiceCommandListView_travelLink: 'Travel Link',
+    view_settings_help_voiceCommandListView_voiceInteractions: 'Voice Interactions',
+    view_settings_help_voiceCommandListView_voiceSettings: 'Voice Settings',
+
+    view_info_leftmenu_services: 'Services',
+    view_info_leftmenu_travelLink: 'Travel Link',
+    view_info_leftmenu_alerts: 'Alerts',
+    view_info_leftmenu_calendar: 'Calendar',
+    view_info_leftmenu_apps: 'Apps',
+
+    view_info_services_syncServices: 'SYNC Services',
+    view_info_services_trafficDirectionsAndInformation: 'TRAFFIC, DIRECTIONS AND INFORMATION',
+    view_info_services_getTheLatestTrafficRreport: 'Get the latest traffic report',
+    view_info_services_findBusinessesAndDownloadSaved: 'Find Businesses and Download Saved ',
+    view_info_services_Pts: 'Pts',
+    view_info_services_hearPersonalizedInformationMore: 'Hear Personalized Information & More',
+    view_info_services_connecttoServices: 'Connect to Services',
+    view_info_services_toActivate: 'To activate, log onto www.SyncMyRide.com',
+
+    view_info_travelLink_trafficOnRoute: 'Traffic on Route',
+    view_info_travelLink_trafficNearby: 'Traffic Nearby',
+    view_info_travelLink_fuelPrices: 'Fuel Prices',
+    view_info_travelLink_movieListings: 'Movie Listings',
+    view_info_travelLink_subscriptionInfo: 'Subscription Info',
+    view_info_travelLink_weather: 'Weather',
+    view_info_travelLink_sportsInfo: 'Sports Info',
+    view_info_travelLink_skiConditions: 'Ski Conditions',
+
+    view_info_alerts_sort: 'Sort By',
+    view_info_alerts_dateIcon:
+        [
+            'Date',
+            'Icon'
+        ],
+    view_info_alerts_911Assist: '911 Assist Set To OFF 2012',
+    view_info_alerts_view: 'View',
+    view_info_alerts_delete: 'Delete',
+    view_info_alerts_deleteAll: 'Delete All',
+
+    view_info_calendar_date: 'Jul, 2012',
+    view_info_calendar_today: 'Go to Today',
+    view_info_calendar_day1: 'SUN',
+    view_info_calendar_day2: 'MON',
+    view_info_calendar_day3: 'TUE',
+    view_info_calendar_day4: 'WED',
+    view_info_calendar_day5: 'THU',
+    view_info_calendar_day6: 'FRI',
+    view_info_calendar_day7: 'SAT',
+
+    view_info_apps_911Assist: '911 Assist',
+    view_info_apps_vehicle_VehicleHealthReport: 'Vehicle Health Report',
+    view_info_apps_vehicle_InstallApplicationsUp: 'Install Applications/Up',
+    view_info_apps_vehicle_FindNewApplications: 'Find New Apps',
+    view_info_apps_vehicle_GetDeviceList: 'Change Devices',
+    view_info_apps_911Assist_header: '911 Assist',
+    view_info_apps_911Assist_incase: 'In Case of Emergency (ICE) Speed Dial',
+    view_info_apps_911Assist_on: 'On',
+    view_info_apps_911Assist_off: 'Off',
+    view_info_apps_911Assist_edit: 'Edit',
+    view_info_apps_911Assist_sarah: 'Sarah',
+    view_info_apps_911Assist_john: 'John',
+    view_info_apps_911Assist_reminder: '911 Assist Reminder',
+    view_info_apps_911Assist_911: '911 Assist',
+    view_info_apps_911Assist_911_connected: '911 Assist uses your connected mobile phone to dial 911 after a qualified crash event',
+    view_info_apps_911Assist_vri: 'Vehicle Restart Instructions',
+
+    view_faq_mftGuide: 'SDL Guide Welcome Orientation',
+    view_faq_myFordTouch4: 'MyFord Touch 4 Corner Menu System',
+    view_faq_customize: 'Customize Your MyFord Touch System',
+    view_faq_useVoiceC: 'Use Voice Commands',
+    view_faq_myFordTouchN: 'MyFord Touch Nav System',
+    view_faq_pairYourP: 'Pair Your Phone and Make Hands-Free Calls',
+    view_faq_multipleConnected: 'Multiple Connected Phones',
+    view_faq_wifi: 'WiFi',
+    view_faq_syncServices: 'SYNC Services',
+    view_faq_wallpaper: 'Wallpaper',
+    view_faq_forFurther: 'For further assistance about your in-vehicle MyFord Touch system, call 1-800-392-3673.',
+    view_faq_selectOption: 'Select option 3 for an In-Vehicle Technology Team representative.'
+};
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/locale/fr.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/locale/fr.js
new file mode 100644 (file)
index 0000000..4bd39e3
--- /dev/null
@@ -0,0 +1,1119 @@
+SDL.fr = {
+
+    view_warning: 'Avertissement!',
+    view_warning_paragraph1: 'Cette application ne doit servir que d\'outil de d\émonstration, lorsque le véhicule est stationné. Ne l\'utilisez pas lorsque vous conduisez.',
+    view_warning_paragraph2: 'Soyez très prudent lorsque vous utilisez un dispositif qui pourrait nuire à votre concentration. Ford vous recommande de ne pas utiliser d\'appareil portatif au volant et de vous conformer à toutes les lois applicables. Vous devez vous assurer de conduire votre véhicule de façon sécuritaire.',
+
+    view_phone_popUp_callEnded: 'Appel terminé',
+
+    view_phone_phone: 'Téléphone',
+    view_phone_quickdial: 'Répert. tél.',
+    view_phone_phonebook: 'Histor. appe',
+    view_phone_history: 'Comp. rap.',
+    view_phone_messaging: 'Messagerie',
+    view_phone_settings: 'Réglages',
+    view_navigation_view: 'View',
+    view_navigation_dest: 'Dest',
+
+    /* NO TRANSLATION */view_navigation_freeway: 'Aucune info disp. sur sortie autor. pour POI Dearborn, MI',
+
+    view_navigation_menu_title: 'Menu de navigation',
+    view_navigation_menu_navigationSettings: 'Réglages de navig.',
+    view_navigation_menu_guidanceMute: 'Sourdine de guidage',
+    view_navigation_menu_viewEdit: 'Visual / Rév',
+    view_navigation_menu_siriusTravelL: 'Travel Link SIRIUS',
+    view_navigation_menu_cancelRoute: 'Annuler itin.',
+    view_navigation_menu_close: 'Fermer ',
+
+    view_navigation_view2_editTurnList: 'Réviser la liste de virages',
+
+    view_wigetPhone_label: 'Ne pas dérang.',
+    /* NO TRANSLATION */view_wigetPhone_phone: 'Téléphone de Pierre',
+
+    view_statusPhone_phone: 'Téléphone',
+    view_statusPhone_privacyMode: 'Mode privé',
+    view_statusPhone_microphoneMute: 'Microphone en sourdine',
+
+    view_statusNavigation_navigation: 'Navigation',
+
+    view_statusClimate_climate: 'Climatis',
+
+    view_mediaStatus_entertainment: 'Divertissement',
+    view_mediaStatus_bluetooth: 'Bluetooth',
+    view_mediaStatus_avIn: 'Entrée de ligne AUX',
+
+    view_phone_0: '0',
+    view_phone_1: '1',
+    view_phone_2: '2',
+    view_phone_3: '3',
+    view_phone_4: '4',
+    view_phone_5: '5',
+    view_phone_6: '6',
+    view_phone_7: '7',
+    view_phone_8: '8',
+    view_phone_9: '9',
+
+    view_phone_abc: 'ABC',
+    view_phone_def: 'DEF',
+    view_phone_ghi: 'GHI',
+    view_phone_jkl: 'JKL',
+    view_phone_mno: 'MNO',
+    view_phone_pqrs: 'PQRS',
+    view_phone_tuv: 'TUV',
+    view_phone_wxyz: 'WXYZ',
+
+    view_phone_plus: '+',
+    view_phone_mtpl: '*',
+    view_phone_dies: '#',
+
+    view_phone_dial: 'Comp.',
+    view_phone_end: 'Term.',
+    view_phone_privacy: 'Privé',
+    view_phone_hold: 'En attente',
+    view_phone_mute: 'Discrétion',
+    view_phone_join: 'Conférence',
+
+    view_phone_quickDial_item1: 'Boîte vocale',
+    /* NO TRANSLATION */view_phone_quickDial_item2: 'Micky Marmaremmy',
+    view_phone_quickDial_item3: 'Billy McTuff',
+    view_phone_quickDial_item4: 'Hope Doferson',
+    view_phone_quickDial_item5: 'Larry Pitterputz',
+    view_phone_quickDial_item6: 'James Murly',
+    view_phone_quickDial_item7: 'Wally Schultz',
+    view_phone_quickDial_item8: 'Suzie McCozo',
+    view_phone_quickDial_item9: 'Vide',
+    view_phone_quickDial_item10: 'Vide',
+
+    view_phone_phoneBook_aF: 'A - F',
+    view_phone_phoneBook_gL: 'G - L',
+    view_phone_phoneBook_mS: 'M - S',
+    view_phone_phoneBook_tZ: 'T - Z',
+    /* NO TRANSLATION */view_phone_phoneBook_other: 'Autre',
+    view_phone_phoneBook_item1: 'Micky Marmaremmy',
+    view_phone_phoneBook_item2: 'Billy McTuff',
+    view_phone_phoneBook_item3: 'Hope Doferson',
+    view_phone_phoneBook_item4: 'Larry Pitterputz',
+    view_phone_phoneBook_item5: 'Suzie McCozo',
+    view_phone_phoneBook_item6: 'Suzie McCozo',
+    view_phone_phoneBook_item7: 'Micky Marmaremmy',
+    view_phone_phoneBook_item8: 'Billy McTuff',
+    view_phone_phoneBook_item9: 'Hope Doferson',
+
+    view_phone_history_all: 'Tout',
+    view_phone_history_outgoing: 'Sortants',
+    view_phone_history_incoming: 'Entrants',
+    view_phone_history_missed: 'Manqués',
+    view_phone_history_item1: 'Micky Marmaremmy',
+    view_phone_history_item1_rightText: '1:28 pm',
+    view_phone_history_item2: 'Billy McTuff',
+    view_phone_history_item2_rightText: '12:03 pm',
+    view_phone_history_item3: 'Hope Doferson',
+    view_phone_history_item3_rightText: '11:35 am',
+    view_phone_history_item4: 'Larry Pitterputz',
+    view_phone_history_item4_rightText: '05/25/2011',
+    view_phone_history_item5: 'Suzie McCozo',
+    view_phone_history_item5_rightText: '05/26/2011',
+    view_phone_history_item6: 'Suzie McCozo',
+    view_phone_history_item6_rightText: '05/26/2011',
+    view_phone_history_item7: 'Larry Pitterputz',
+    view_phone_history_item7_rightText: '05/25/2011',
+    view_phone_history_item8: 'Micky Marmaremmy',
+    view_phone_history_item8_rightText: '1:28 pm',
+    view_phone_history_item9: 'Billy McTuff',
+    view_phone_history_item9_rightText: '12:03 pm',
+    view_phone_history_item10: 'Hope Doferson',
+    view_phone_history_item10_rightText: '11:35 am',
+    view_phone_history_dial: 'Comp.',
+    view_phone_history_saveDial: 'Sauv. sous',
+
+    view_phone_messaging_send: 'Envoyer',
+    view_phone_messaging_downloadNew: 'Téléch. nouv.',
+    view_phone_messaging_deleteAll: 'Effacer tout',
+    view_phone_messaging_item1: 'Suzie McCozo',
+    view_phone_messaging_item2: 'Micky Marmaremmy',
+    view_phone_messaging_item3: 'Billy McTuff',
+    view_phone_messaging_delete: 'Supprimer',
+
+    view_phone_settings_doNotDisturb: 'Ne pas déranger',
+    view_phone_settings_bluetoothDevices: 'Appareils Bluetooth',
+    view_phone_settings_bluetooth: 'Bluetooth',
+    view_phone_settings_911Assist: 'Assistance 911',
+    view_phone_settings_phoneRinger: 'Sonnerie du téléphone',
+    view_phone_settings_textMessageN: 'Notification de message-texte',
+    view_phone_settings_internetDataC: 'Connexion de données Internet',
+    view_phone_settings_managePhonebook: 'Gérer le répertoire téléphonique',
+    view_phone_settings_roamingWarning: 'Avertissement d\'itinérance',
+    view_phone_settings_onOff:
+        [
+            'Marche',
+            'Arrêt'
+        ],
+
+    view_phone_phoneSettings_bluetoothDevices_title: 'Appareils Bluetooth - Téléphone',
+    view_phone_phoneSettings_bluetoothDevices_PaulPhone: 'Téléphone de  Pierre',
+    view_phone_phoneSettings_bluetoothDevices_TonyaCell: 'Cellulaire de Marie',
+    view_phone_phoneSettings_bluetoothDevices_addDevice: 'Ajouter  appareil',
+    view_phone_phoneSettings_bluetoothDevices_connect: 'Connexion',
+    view_phone_phoneSettings_bluetoothDevices_disconnect: 'Déconnexion',
+    view_phone_phoneSettings_bluetoothDevices_info: 'Information',
+    view_phone_phoneSettings_bluetoothDevices_favorite: 'Favoris',
+    view_phone_phoneSettings_bluetoothDevices_delete: 'Supprimer',
+
+    view_phone_phoneSettings_phoneRinger_title: 'Sélectionner une sonnerie',
+    view_phone_phoneSettings_phoneRinger_ringer1: 'Sonnerie 1',
+    view_phone_phoneSettings_phoneRinger_ringer2: 'Sonnerie 2',
+    view_phone_phoneSettings_phoneRinger_ringer3: 'Sonnerie 3',
+    view_phone_phoneSettings_phoneRinger_beep: 'Bip',
+    view_phone_phoneSettings_phoneRinger_connectedPhone: 'Sonnerie du téléphone connecté',
+
+    view_phone_phoneSettings_textMessageNotification_title: 'Notification de message-texte',
+    view_phone_phoneSettings_textMessageNotification_alert1: 'Alerte 1',
+    view_phone_phoneSettings_textMessageNotification_alert2: 'Alerte 2',
+    view_phone_phoneSettings_textMessageNotification_alert3: 'Alerte 3',
+    view_phone_phoneSettings_textMessageNotification_textToSpeech: 'Synthèse de la parole',
+    view_phone_phoneSettings_textMessageNotification_silent: 'Mode silencieux',
+
+    view_phone_phoneSettings_internetDataConnection_title: 'Connexion Internet',
+    view_phone_phoneSettings_internetDataConnection_PaulPhone: 'Téléphone de Pierre',
+    view_phone_phoneSettings_internetDataConncetion_connectionProfile: 'Profil de la connexion',
+    view_phone_phoneSettings_internetDataConncetion_DUNSettings: 'Réglages DUN',
+    view_phone_phoneSettings_internetDataConncetion_connectionToggle:
+        [
+            'DUN',
+            'PAN',
+            'Désactivé'
+        ],
+    view_phone_phoneSettings_internetDataConncetion_queryOnConnect: 'Requête de connexion',
+    view_phone_phoneSettings_internetDataConncetion_queryToggle:
+        [
+            'Toujours',
+            'Jamais',
+            'Itinérance'
+        ],
+    view_phone_phoneSettings_internetDataConncetion_dataUsage: 'Pour obtenir une connexion Internet par l\'intermédiaire de votre téléphone pour utiliser le système SYNC, veuillez consulter les détails qui se trouvent sur le site Web www.syncmaroute.ca. Ford n\'est pas responsable des frais supplémentaires associés à l\'utilisation de votre forfait de données.',
+
+    view_phone_phoneSettings_managePhoneBook_title: 'Gérer le répertoire',
+    view_phone_phoneSettings_managePhoneBook_auto: 'Télécharger automatiquement le répertoire',
+    view_phone_phoneSettings_managePhoneBook_display: 'Afficher les photos du répertoire',
+    view_phone_phoneSettings_managePhoneBook_reDownload: 'Re-télécharger le répertoire',
+    view_phone_phoneSettings_managePhoneBook_download: 'Télécharger',
+    view_phone_phoneSettings_managePhoneBook_addContacts: 'Ajouter les contacts de votre téléphone',
+    view_phone_phoneSettings_managePhoneBook_add: 'Ajout.',
+    view_phone_phoneSettings_managePhoneBook_deletePhonebook: 'Supprimer le répertoire',
+    view_phone_phoneSettings_managePhoneBook_delete: 'Supprimer',
+    view_phone_phoneSettings_managePhoneBook_onOf:
+        [
+            'Marche',
+            'Arrêt'
+        ],
+
+    view_navigation_distance: '0.25mi',
+    view_navigation_position: 'Central Parkway',
+    view_navigation_street: 'Main St',
+
+    view_navigation_view: 'Afficher',
+
+    view_navigation_destination: 'Destination',
+    view_navigation_destination_myHome: 'Mon domicile',
+    view_navigation_destination_favorites: 'Favoris',
+    view_navigation_destination_previousDestinations: 'Destinations précédente',
+    view_navigation_destination_POI: 'Point d\'intérêt',
+    view_navigation_destination_emergency: 'Urgence',
+    view_navigation_destination_streetAddress: 'Adresse',
+    view_navigation_destination_intersection: 'Intersection',
+    view_navigation_destination_cityCenter: 'Centre-ville',
+    view_navigation_destination_map: 'Carte',
+    view_navigation_destination_editRouteCancelRoute: 'Modifier l\'itinéraire',
+    view_navigation_destination_CancelRoute: 'Annuler' + '\n' + 'cet itinéraire',
+    view_navigation_destination_previousStartingsPoint: 'Point de départ précédent',
+    view_navigation_destination_latitudeLongitude: 'Latitude / longitude',
+    view_navigation_destination_freewayEntranceExit: 'Entrée/sortie d\'autoroute',
+
+    view_navi_destination_MyHome_set_a_dest: 'Établir dest.',
+    view_navi_destination_MyHome_dest: 'Dest',
+    view_navi_destination_MyHome_set_as_way: 'Établir pt passage',
+    view_navi_destination_MyHome_menu: 'Menu',
+    view_navi_destination_MyHome_my_home: 'Mon domicile',
+    view_navi_destination_MyHome_rd: '360, Rue de Champs de Mars',
+    view_navi_destination_MyHome_dial: 'Comp',
+    view_navi_destination_MyHome_delete: 'Supprimer',
+    view_navi_destination_MyHome_edit: 'Modifier',
+
+    view_navi_destination_favorites_header: 'Favoris',
+    view_navi_destination_favorites_myhome: 'Mon domicile',
+    view_navi_destination_favorites_az: 'A-Z',
+    view_navi_destination_favorites_date: 'Date',
+    view_navi_destination_favorites_edit: 'Réviser',
+    view_navi_destination_favorites_delete: 'Supprimer',
+    view_navi_destination_favorites_add: 'Ajouter',
+    view_navi_destination_favorites_sort: 'Trier par',
+
+    view_navi_destination_previous_header: 'Destinations précédentes',
+    view_navi_destination_previous_milerd: '2310, Rue Saint-Louis, Gatineau, QC',
+    view_navi_destination_previous_southfield: '4026, Rue Notre-Dame Est, Montréal QC',
+    view_navi_destination_previous_delete: 'Supprimer',
+    view_navi_destination_previous_date: 'Date',
+    view_navi_destination_previous_city: 'Ville',
+
+    view_navi_destination_poi_header: 'Point d\'intérêt',
+    view_navi_destination_previous_sa: 'Zone de recherche',
+    view_navi_destination_previous_sbn: 'Recherche  par nom',
+    view_navi_destination_previous_sbp: 'Recherche par numéro de téléphone',
+    view_navi_destination_previous_cat: 'Catégories',
+    view_navi_destination_previous_fav: 'Favoris',
+    view_navi_destination_previous_all: 'Tous',
+    view_navi_destination_previous_recent: 'Récents',
+    view_navi_destination_previous_fs: 'Station-service',
+    view_navi_destination_previous_fin: 'Finances',
+    view_navi_destination_previous_ar: 'Tous les restaurants',
+    view_navi_destination_previous_acc: 'Hébergement',
+    view_navi_destination_previous_p: 'Stationnement',
+    view_navi_destination_previous_edit: 'Modifier',
+
+    view_navigation_destination_previousStartingsPoints: 'Point de départ précédent',
+    view_navigation_destination_previousStartingsPoint_Date: 'Date',
+    view_navigation_destination_previousStartingsPoint_City: 'Ville',
+    view_navigation_destination_previousStartingsPoint_SortBy: 'Trier par',
+
+    view_navi_destination_streetAddress_number: 'Numéro',
+    view_navi_destination_streetAddress_city: 'Ville',
+    view_navi_destination_streetAddress_street: 'Rue',
+    /* NO TRANSLATION */view_navi_destination_streetAddress_de: 'DE',
+    view_navi_destination_streetAddress_sp: 'État/Prov.',
+    /* NO TRANSLATION */view_navi_destination_streetAddress_mi: 'MI',
+    view_navi_destination_streetAddress_abc: 'ABC',
+    view_navi_destination_streetAddress_space: 'Espace',
+    view_navi_destination_streetAddress_ch: '!@#',
+    view_navi_destination_streetAddress_q: 'Q',
+    view_navi_destination_streetAddress_w: 'W',
+    view_navi_destination_streetAddress_e: 'E',
+    view_navi_destination_streetAddress_r: 'R',
+    view_navi_destination_streetAddress_t: 'T',
+    view_navi_destination_streetAddress_y: 'Y',
+    view_navi_destination_streetAddress_u: 'U',
+    view_navi_destination_streetAddress_i: 'I',
+    view_navi_destination_streetAddress_o: 'O',
+    view_navi_destination_streetAddress_p: 'P',
+    view_navi_destination_streetAddress_a: 'A',
+    view_navi_destination_streetAddress_s: 'S',
+    view_navi_destination_streetAddress_d: 'D',
+    view_navi_destination_streetAddress_f: 'F',
+    view_navi_destination_streetAddress_g: 'G',
+    view_navi_destination_streetAddress_h: 'H',
+    view_navi_destination_streetAddress_j: 'J',
+    view_navi_destination_streetAddress_k: 'K',
+    view_navi_destination_streetAddress_l: 'L',
+    view_navi_destination_streetAddress_z: 'Z',
+    view_navi_destination_streetAddress_x: 'X',
+    view_navi_destination_streetAddress_c: 'C',
+    view_navi_destination_streetAddress_v: 'V',
+    view_navi_destination_streetAddress_b: 'B',
+    view_navi_destination_streetAddress_n: 'N',
+    view_navi_destination_streetAddress_m: 'M',
+    view_navi_destination_streetAddress_street1: 'Rue 1',
+    view_navi_destination_streetAddress_street2: 'Rue 2',
+
+    view_navi_destination_map_set_as_dest: 'Établir dest.',
+    view_navi_destination_map_saw: 'Établir pt passage',
+    view_navi_destination_map_saf: 'Sauvegarder favoris',
+    view_navi_destination_map_poi: 'Icônes de points d\'intérêt désactivées',
+    view_navi_destination_map_tf: 'Liste de circulation ',
+    view_navi_destination_map_menu: 'Menu',
+    view_navi_destination_map_dest: 'Dest',
+    view_navi_destination_map_chestnut: 'Chestnut St.',
+    // view_navi_destination_map_chestnut: 'Rue Notre Dame E.',
+
+    view_navi_destination_LatitudeLongitude_dd: 'DD',
+    view_navi_destination_LatitudeLongitude_latitude: 'Latitude',
+    view_navi_destination_LatitudeLongitude_longitude: 'Longitude',
+    view_navi_destination_LatitudeLongitude_go: 'GO',
+    view_navi_destination_LatitudeLongitude_e: 'E',
+    view_navi_destination_LatitudeLongitude_n: 'N',
+    view_navi_destination_LatitudeLongitude_s: 'S',
+    view_navi_destination_LatitudeLongitude_w: 'W',
+
+    view_navi_destination_Freeway_header: 'Entrée/sortie d\'autoroute',
+    view_navi_destination_Freeway_freeway: 'Autoroute',
+    view_navi_destination_Freeway_state: 'État/Prov.',
+    view_navi_destination_Freeway_mi: 'PQ',
+
+    view_navi_destination_emergency_header: 'Urgence',
+    view_navi_destination_emergency_sa: 'Zone de recherche',
+    view_navi_destination_emergency_nearby: 'À proximité',
+    view_navi_destination_emergency_hospital: 'Hôpital',
+    view_navi_destination_emergency_police: 'Police',
+
+    view_media_popUp: 'Préréglage sauvegardé',
+
+    view_media_directTune_enter: 'Enter',
+
+    view_media_am: 'AM',
+    view_media_am1: 'AM 1',
+    view_media_amAst: 'AM AST',
+
+    view_media_fm: 'FM',
+    view_media_fm1: 'FM 1',
+    view_media_fm2: 'FM 2',
+    view_media_fmAst: 'FM AST',
+
+    view_media_sirius: 'SIRIUS',
+    view_media_cd: 'CD',
+    /* NO TRANSLATION */view_media_usbHard: 'USB Hard',
+    view_media_usbSD: 'USB SD D',
+    view_media_bt: 'Paul\'s...',
+    view_media_avi: 'AV In',
+    view_media_hdradio: 'Radio HD',
+    view_media_repeat: 'Répéter',
+    view_media_shuffle: 'Aléatoire',
+    view_media_replay: 'Rejouer',
+    view_media_similarMusic: 'Musique similaire',
+    view_media_scan: 'Balayage',
+    view_media_moreInfo: 'Plus d\'info.',
+    view_media_options: 'Options',
+    view_media_presets: 'Préréglag.',
+    view_media_directTune: 'Synt directe',
+    view_media_browse: 'Rech.',
+
+    view_media_moreInfo_title: 'Info sur la chanson',
+    view_media_moreInfo_whatIsPlaying: 'Qui joue?',
+
+    view_media_cd_playList_track1: {
+        title: 'The Electric Broncos',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track2: {
+        title: 'Track 2',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track3: {
+        title: 'Track 3',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track4: {
+        title: 'Track 4',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track5: {
+        title: 'Track 5',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track6: {
+        title: 'Track 6',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track7: {
+        title: 'Track 7',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track8: {
+        title: 'Track 8',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track9: {
+        title: 'Track 9',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_cd_playList_track10: {
+        title: 'Track 10',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+
+    view_media_usb_playList_track1: {
+        title: 'Track 1',
+        album: 'Color of the Fall',
+        artist: 'Luk Marko',
+        genre: 'Rock',
+        disk: 'Fall',
+        duration: 123
+    },
+    view_media_usb_playList_track2: {
+        title: 'Track 2',
+        album: 'Color of the Fall',
+        artist: 'Luk Marko',
+        genre: 'Rock',
+        disk: 'Fall',
+        duration: 123
+    },
+    view_media_usb_playList_track3: {
+        title: 'Track 3',
+        album: 'Color of the Fall',
+        artist: 'Luk Marko',
+        genre: 'Rock',
+        disk: 'Fall',
+        duration: 123
+    },
+    view_media_usb_playList_track4: {
+        title: 'Track 4',
+        album: 'Color of the Fall',
+        artist: 'Luk Marko',
+        genre: 'Rock',
+        disk: 'Fall',
+        duration: 123
+    },
+    view_media_usb_playList_track5: {
+        title: 'Track 5',
+        album: 'Color of the Fall',
+        artist: 'Luk Marko',
+        genre: 'Rock',
+        disk: 'Fall',
+        duration: 123
+    },
+    view_media_usb_playList_track6: {
+        title: 'Track 6',
+        album: 'Color of the Fall',
+        artist: 'Luk Marko',
+        genre: 'Rock',
+        disk: 'Fall',
+        duration: 123
+    },
+
+    view_media_sd_playList_track1: {
+        title: 'The Electric Broncos',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_sd_playList_track2: {
+        title: 'Track 2',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_sd_playList_track3: {
+        title: 'Track 3',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_sd_playList_track4: {
+        title: 'Track 4',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_sd_playList_track5: {
+        title: 'Track 5',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+    view_media_sd_playList_track6: {
+        title: 'Track 6',
+        album: 'Love Bomb',
+        artist: 'Epton Joe',
+        genre: 'Electronic',
+        disk: 'Lazerhorse',
+        duration: 123
+    },
+
+    view_media_amFm_options_title: 'Options',
+    view_media_amFm_options_soundSettings: 'Réglages de son',
+    view_media_amFm_options_setPTY: 'Sélectionner le type de programme \ 3pour la recherche ou le balayage',
+    view_media_amFm_options_noProgram: 'Aucun type de programme',
+    view_media_amFm_options_RDS: 'Affichage du texte du système RDS',
+    view_media_amFm_options_onOff:
+        [
+            'Marche',
+            'Arrêt'
+        ],
+    view_media_amFm_options_autoset: 'Sauvegarde automatique  préréglages',
+    view_media_amFm_options_refresh: 'Actualiser/sauvegarder',
+    view_media_amFm_options_TAG: 'Touche « marquage »',
+
+    view_media_cd_options_title: 'CD-MP3/WMA Options',
+    view_media_cd_options_soundSettings: 'Réglages de son',
+    view_media_cd_options_compression: 'Compression',
+    view_media_cd_options_onOff:
+        [
+            'Marche',
+            'Arrêt'
+        ],
+
+    view_media_usb_options_title: 'Options',
+    view_media_usb_options_soundSettings: 'Réglages de son',
+    view_media_usb_options_mediaPlayerSettings: 'Réglages du lecteur multimédia',
+    view_media_usb_options_compression_deviceInformation: 'Renseignements sur l\'appareil',
+    view_media_usb_options_compression_updateIndex: 'Mettre à jour indexation du lecteur multimédia',
+    view_media_usb_options_compression_start: 'Début',
+
+    view_media_bt_options_title: 'Options',
+    view_media_bt_options_soundSettings: 'Réglages de son',
+    view_media_bt_options_mediaPlayerSettings: 'Réglages du lecteur multimédia',
+    view_media_bt_options_deviceInformation: 'Réglages du lecteur multimédia',
+
+    view_media_sirius_options_title: 'SIRIUS Options',
+    view_media_sirius_options_soundSettings: 'Réglages de son',
+    view_media_sirius_options_setCategory: 'Sélectionner la catégorie pour la recherche ou le balayage',
+    view_media_sirius_options_allChannels: 'Toutes les stations',
+    view_media_sirius_options_parentalLockout: 'Verrouillage parental',
+    view_media_sirius_options_changePIN: 'Modifier le NIP',
+    view_media_sirius_options_alerts: 'Alertes – artiste/titre/équipe sportive',
+    view_media_sirius_options_OnOff:
+        [
+            'Marche',
+            'Arrêt'
+        ],
+    view_media_sirius_options_serialNumber: 'Numéro de série électronique (NSE) 034424346821',
+
+    view_media_cd_browse_CDTrack: 'Liste des pistes CD',
+
+    view_media_usb_browse_browseAvailable: 'Nav. toutes les sources',
+    view_media_usb_browse_siriusChannel: 'Guide des canaux SIRIUS',
+    view_media_usb_browse_cdTrack: 'Liste des pistes CD',
+    /* NO TRANSLATION */view_media_usb_browse_usbHard: 'USB Hard Disk Drive',
+    /* NO TRANSLATION */view_media_usb_browse_usbSD: 'USB SD Disk Drive',
+
+    /* NO TRANSLATION */view_media_usb_browse_USBHardDisk: 'USB Hard Disk Drive DSK5',
+    view_media_usb_browse_music: 'Musique',
+    /* NO TRANSLATION */view_media_usb_browse_exploreDevice: 'Explore device',
+
+    view_media_usb_browse_browse: 'Rech. ttes',
+    view_media_usb_browse_allSources: 'sources',
+
+    view_media_sd_browse_title: 'USB SD Drive DSK4',
+    view_media_sd_browse_music: 'Musique',
+    /* NO TRANSLATION */view_media_sd_browse_exploreDevice: 'Explore device',
+
+    view_media_sirius_alert: 'Alerte',
+    view_media_sirius_browse_title: 'Guide des canaux SIRIUS',
+    /* NO TRANSLATION */view_media_sirius_browse_AllChanels: 'All Chanels',
+    view_media_sirius_browse_158: '158',
+    view_media_sirius_browse_pop: 'Pop',
+    view_media_sirius_browse_13: '13',
+    view_media_sirius_browse_rock: 'Rock',
+    view_media_sirius_browse_24: '24',
+    /* NO TRANSLATION */view_media_sirius_browse_hipHop: 'Hip-Hop / R&B',
+    view_media_sirius_browse_6: '6',
+    /* NO TRANSLATION */view_media_sirius_browse_dance: 'Dance / Electrinic',
+    view_media_sirius_browse_3: '3',
+    view_media_sirius_browse_classic: 'Classique',
+    view_media_sirius_browse_235: '235',
+    /* NO TRANSLATION */view_media_sirius_browse_retro: 'Retro',
+    view_media_sirius_browse_43: '43',
+    /* NO TRANSLATION */view_media_sirius_browse_trance: 'Trance',
+    view_media_sirius_browse_56: '56',
+    view_media_sirius_browse_jazz: 'Jazz',
+    view_media_sirius_browse_201: '201',
+    /* NO TRANSLATION */view_media_sirius_browse_disco: 'Disco',
+    view_media_sirius_browse_17: '17',
+
+    view_climate_myTemp: 'Ma Temp',
+    view_climate_dual: 'Zones',
+    view_climate_auto: 'Auto',
+    view_climate_ac: 'A/C',
+    /* NO TRANSLATION */view_climate_maxAc: 'Max A/C',
+    view_climate_rear: 'Arrière',
+    view_climate_rearControl: 'Comm. arrière',
+    view_climate_rearClimate: 'Climate. arrière',
+    view_climate_rearClimateOn: 'Climate. arrière marche',
+    view_climate_off: 'OFF',
+    view_climate_myTempStored: 'Ma temp mémorisée',
+
+    view_settings_timeNum: '3:00',
+    view_settings_timeZone: 'Heure de l\'Est',
+
+    view_settings_am: 'AM',
+    view_settings_pm: 'PM',
+
+    view_settings_clock: 'Horloge',
+    view_settings_display: 'Affichage',
+    view_settings_sound: 'Son',
+    view_settings_vehicle: 'Véhicule',
+    view_settings_settings: 'Réglages',
+    view_settings_help: 'Aide',
+
+    view_settings_clock_clokDisplay: 'Aff. Horlog',
+    view_settings_clock_clokDisplay_time: 'Heure',
+    view_settings_clock_clokDisplay_date: 'Date',
+    view_settings_clock_outsideAirTemperature: 'Température extérieure',
+    view_settings_clock_outsideAirTemperature_on: 'Marche',
+    view_settings_clock_outsideAirTemperature_off: 'Arrêt',
+    view_settings_clock_clockFormat: 'Format de l\'horloge',
+    view_settings_clock_clockFormat_12Hour: '12 heure',
+    view_settings_clock_clockFormat_24Hour: '24 heure',
+    view_settings_clock_GPSTimeSynchronization: 'Synchronisation heure GPS',
+    view_settings_clock_autoTimeZoneUpdate: 'Auto Time Zone Update',
+    view_settings_clock_OnOFF:
+        [
+            'Marche',
+            'Arrêt'
+        ],
+    view_settings_clock_timeDate:
+        [
+            'Heure',
+            'Date'
+        ],
+    view_settings_clock_hours:
+        [
+            '12 heures',
+            '24 heures'
+        ],
+
+    view_settings_clock_GPSTimeSynchronization_off: 'Arrêt',
+
+    view_settings_sound_bass: 'Graves',
+    view_settings_sound_midrage: 'Midrange',
+    view_settings_sound_treble: 'Aigus',
+    view_settings_sound_setBalance: 'Établir équilibre et atténuation',
+    view_settings_sound_playTHX: 'Jouer la démo de THX Deep Note™',
+    view_settings_sound_dsp: 'DSP',
+    view_settings_sound_stereoSurround:
+        [
+            'Stéréo',
+            'Surround'
+        ],
+    view_settings_sound_speed: 'Vol. asservi à la vitesse',
+    view_settings_sound_offtoSeven:
+        [
+            'Arrêt',
+            '1',
+            '2',
+            '3',
+            '4',
+            '5',
+            '6',
+            '7'
+        ],
+
+    view_settings_display_brightness: 'Luminosité',
+    view_settings_display_on: 'Marche',
+    view_settings_display_off: 'Arrêt',
+    view_settings_display_auto: 'Auto',
+    view_settings_display_mode: 'Mode',
+    view_settings_display_auto_dim: 'Auto-réduct. lum.',
+    view_settings_display_day: 'Jour',
+    view_settings_display_night: 'Nuit',
+    view_settings_display_edit_wallpaper: 'Réviser le fond d\'écran',
+    view_settings_display_auto_offset: 'Compensation Man.',
+
+    view_settings_sound_bass: 'Graves',
+    view_settings_sound_midrange: 'Midrange',
+    view_settings_sound_treble: 'Aigus',
+    view_settings_sound_balance: 'Établir équilibre et atténuation',
+    view_settings_sound_dsp: 'DSP',
+    view_settings_sound_stereo: 'Stéréo',
+    view_settings_sound_surround: 'Ambiophonique',
+
+    view_settings_Sound_BalanceFader_header: 'Équilibres gauche-droite et avant-arrière du son',
+    view_settings_Sound_BalanceFader_fade: 'Équilibre avant-arrière',
+    view_settings_Sound_BalanceFader_balance: 'Équilibre gauche-droite',
+    view_settings_Sound_BalanceFader_f: 'F',
+    view_settings_Sound_BalanceFader_b: 'B',
+    view_settings_Sound_BalanceFader_l: 'L',
+    view_settings_Sound_BalanceFader_r: 'R',
+
+    view_settings_vehicle_ambientLighting: 'Éclairage ambiant',
+    view_settings_vehicle_VehicleHealthReport: 'Bilan du véhicule',
+    view_settings_vehicle_DoorKeypadCode: 'Rév. code clav.porte',
+    view_settings_vehicle_RearViewCamera: 'Rév. code clav.porte',
+    view_settings_vehicle_EnableValetMode: 'Activer le mode valet',
+    /* NO TRANSLATION */view_settings_vehicle_SeatComfort: 'Seat Comfort',
+
+    view_settings_vehicle_EnableValetMode_enterPIN_enter4Digit: 'Entrer NIP de 4 chiffres:',
+    view_settings_vehicle_EnableValetMode_enterPIN_0: '0',
+    view_settings_vehicle_EnableValetMode_enterPIN_1: '1',
+    view_settings_vehicle_EnableValetMode_enterPIN_2: '2',
+    view_settings_vehicle_EnableValetMode_enterPIN_3: '3',
+    view_settings_vehicle_EnableValetMode_enterPIN_4: '4',
+    view_settings_vehicle_EnableValetMode_enterPIN_5: '5',
+    view_settings_vehicle_EnableValetMode_enterPIN_6: '6',
+    view_settings_vehicle_EnableValetMode_enterPIN_7: '7',
+    view_settings_vehicle_EnableValetMode_enterPIN_8: '8',
+    view_settings_vehicle_EnableValetMode_enterPIN_9: '9',
+    view_settings_vehicle_EnableValetMode_enterPIN_enter: 'Enter',
+
+    view_settings_vehicle_VehicleHealthReport_ar: 'Rappels automatiques',
+    view_settings_vehicle_VehicleHealthReport_mi: 'Intervalle (en milles)',
+    view_settings_vehicle_VehicleHealthReport_on: 'Marche',
+    view_settings_vehicle_VehicleHealthReport_off: 'Arrêt',
+    view_settings_vehicle_VehicleHealthReport_rvhrn: 'Produire bilan du véhicule',
+    view_settings_vehicle_VehicleHealthReport_to_active: 'Pour activer, allez sur syncmaroute.ca',
+
+    view_settings_vehicle_DoorKeypadCode_factory: 'Afin de réviser le code de clavier vous devez d\'abord entrer le code établi à l\'usine',
+    view_settings_vehicle_DoorKeypadCode_5digit: 'Code de Schiffres établi à l\'usine:',
+    view_settings_vehicle_DoorKeypadCode_enter: 'Enter',
+
+    view_settings_vehicle_RearViewCamera_rcd: 'Délai de la caméra arrière',
+    view_settings_vehicle_RearViewCamera_visualPark: 'Alerte visuelle de stationnement',
+    view_settings_vehicle_RearViewCamera_guidelines: 'Lignes guidage',
+    view_settings_vehicle_RearViewCamera_preview: 'Prévisual.',
+    view_settings_vehicle_RearViewCamera_on: 'Marche',
+    view_settings_vehicle_RearViewCamera_off: 'Arrêt',
+
+    view_settings_vehicle_enableValetMode_enablingValetMode: 'Activer le mode valet verrouille le systèm en utilisant un NIP de 4 chiffres sélectionné par l\'usager.',
+    view_settings_vehicle_enableValetMode_samePin: 'Le même NIP deur a être entré pour désactiver le mode valet et déverrouiller le système.',
+    view_settings_vehicle_enableValetMode_continue: 'Continuer avec l\'activation du mode valet?',
+    view_settings_vehicle_enableValetMode_yes: 'Oui',
+    view_settings_vehicle_enableValetMode_no: 'Non',
+
+    view_settings_vehicle_MultiContourSeat_Adjust_header: 'MCS',
+
+    view_settings_settings_system: 'Système',
+    view_settings_settings_voiceControl: 'Contrôle de la voix',
+    view_settings_settings_mediaPlayer: 'Lecteur Multimédia',
+    view_settings_settings_navigation: 'Navigation',
+    view_settings_settings_phone: 'Téléphone',
+    view_settings_settings_wirelessInternet: 'Sans fil et Internet',
+
+    view_settings_settings_system_language: 'Langue',
+    view_settings_settings_system_language_engEspFr:
+        [
+            'English',
+            'Español',
+            'Français'
+        ],
+    view_settings_settings_system_distance: 'Distance',
+    view_settings_settings_system_distance_kmMi:
+        [
+            'KM',
+            'MI'
+        ],
+    view_settings_settings_system_temperature: 'Température',
+    view_settings_settings_system_temperature_frCel:
+        [
+            'Fahrenheit',
+            'Celsius'
+        ],
+    view_settings_settings_system_systemPrompt: 'Volume de messages du système',
+    view_settings_settings_system_touch: 'Bip de la touche tactile du panneau',
+    view_settings_settings_system_keyboardLayout: 'Disposition du clavier',
+    view_settings_settings_system_installApplications: 'Installer les applications',
+    view_settings_settings_system_masterReset: 'Remise principale à 0',
+    view_settings_settings_system_onOff:
+        [
+            'Marche',
+            'Arrêt'
+        ],
+
+    view_settings_settings_system_keyboardLayout_ABC: 'ABC',
+    view_settings_settings_system_keyboardLayout_QWERTY: 'QWERTY',
+    view_settings_settings_system_keyboardLayout_ABCEurope: 'ABC + Europe',
+    view_settings_settings_system_keyboardLayout_ABCFrench: 'ABC + Français',
+    view_settings_settings_system_keyboardLayout_ABCSpanish: 'ABC + Espagnol',
+    /* NO TRANSLATION */view_settings_settings_system_keyboardLayout_ABCPortuguese: 'ABC + Portuguese',
+    view_settings_settings_system_keyboardLayout_ABCGerman: 'ABC + German',
+    view_settings_settings_system_keyboardLayout_ABCItalian: 'ABC + Italian',
+    view_settings_settings_system_keyboardLayout_ABCDutch: 'ABC + Dutch',
+    view_settings_settings_system_keyboardLayout_ABCSwedish: 'ABC + Swedish',
+    view_settings_settings_system_keyboardLayout_chinesePinYin: 'Chinese PinYin',
+    view_settings_settings_system_keyboardLayout_chineseShouzimu: 'Chinese Shouzimu (PinYin Where not available )',
+    view_settings_settings_system_keyboardLayout_russianCyrillic: '(Russian/Cyrillic)',
+    view_settings_settings_system_keyboardLayout_arabic: '(Arabic)',
+    view_settings_settings_system_keyboardLayout_greek: '(Greek)',
+    view_settings_settings_system_keyboardLayout_polish: '(Polish)',
+    view_settings_settings_system_keyboardLayout_turkish: '(Turkish)',
+
+    view_settings_settings_system_installApplications_header: 'Mises à jour',
+    view_settings_settings_system_installApplications_BeginSoftware: 'Commencer l\'installation des logiciels',
+    view_settings_settings_system_installApplications_ViewSoftware: 'Visualiser les licences de logiciel',
+
+    view_settings_settings_mediaPlayer_autoplay: 'Auto-lecture',
+    view_settings_settings_mediaPlayer_bluetoothDevices: 'Appareils Bluetooth',
+    view_settings_settings_mediaPlayer_indexBluetooth: 'Index. Appareil audio Bluetooth',
+    view_settings_settings_mediaPlayer_gracenote: 'Info. De données Gracenote®',
+    view_settings_settings_mediaPlayer_gracenoteMgmt: 'Gestion Gracenote®',
+    view_settings_settings_mediaPlayer_coverArtPriority: 'Priorité art graphique (pochettes)',
+    view_settings_settings_mediaPlayer_coverArtPriorityTriger:
+        [
+            'Lec. multimédia',
+            'Gracenote®'
+        ],
+
+    view_settings_settings_mediaPlayer_bluetoothDevices_title: 'Aplications Bluetooth',
+    view_settings_settings_mediaPlayer_bluetoothDevices_bluetoothDevices: 'Appareils Bluetooth',
+    view_settings_settings_mediaPlayer_bluetoothDevices_bluetooth: 'Bluetooth',
+    view_settings_settings_mediaPlayer_bluetoothDevices_onOf:
+        [
+            'Marche',
+            'Arrêt'
+        ],
+    view_settings_settings_mediaPlayer_bluetoothDevices_InternetDataC: 'Connexion de données Internet',
+
+    view_settings_help_systemInformation_serialNumber: 'Numéro de série: XMA41C7Q',
+    view_settings_help_systemInformation_vehicleIdentification: 'Numéro d\'identification du véhicule (NIV): 2FMDK4AK1DBA00001',
+    view_settings_help_systemInformation_CCPU: 'Version logicielle de CCPU: 4.26.11346_PRODUCT',
+    view_settings_help_systemInformation_navigationApplication: 'Version de l\'application de navigation: 2.15.16',
+    view_settings_help_systemInformation_mapDatabase: 'Version de la base de données de carte: B2',
+    view_settings_help_systemInformation_siriusESN: 'ESN SIRIUS: 030891878010',
+    view_settings_help_systemInformation_gracenote: 'Information de base de données Gracenote&reg: 4255, Library 5.5.2.11',
+
+    view_settings_settings_whereAmI: 'Où suis-je?',
+    view_settings_settings_systemInformation: 'Info. sur le système',
+    view_settings_settings_softwareLicenses: 'Licences de logiciel',
+    view_settings_settings_drivingRestrictions: 'Restrict. de conduite',
+    view_settings_settings_911Assist: 'Assistance 911',
+    view_settings_settings_voiceCommandList: 'Commandes vocales',
+    view_settings_settings_forHelp: 'Pour de l\'aide, appelez le support SYNC: 1-877-945-3648',
+
+    view_settings_settings_VoiceControl_header: 'Voice Control',
+    view_settings_settings_VoiceControl_im: 'Mode d\'interaction',
+    view_settings_settings_VoiceControl_novice: 'Novice',
+    view_settings_settings_VoiceControl_advance: 'Avancée',
+    view_settings_settings_VoiceControl_confirmationPrompts: 'Messages de confirmation',
+    view_settings_settings_VoiceControl_mediaCandidateLists: 'Liste de descripteurs de média',
+    view_settings_settings_VoiceControl_phoneCandidateLists: 'Liste descripteurs de téléphone',
+    view_settings_settings_VoiceControl_voiceControlVolume: 'Voice Control Volume',
+    view_settings_settings_VoiceControl_on: 'Marche',
+    view_settings_settings_VoiceControl_off: 'Arrêt',
+
+    view_settings_settings_WirelessInternet_header: 'Connexion sans fil à Internet',
+    view_settings_settings_WirelessInternet_wifi_settings: 'Réglages Wi-Fi',
+    view_settings_settings_WirelessInternet_usbmb: 'Large bande mobile USB',
+    view_settings_settings_WirelessInternet_bluetooth_settings: 'Réglages Bluetooth',
+    view_settings_settings_WirelessInternet_bluetooth_pcm: 'Prioriser la connexion',
+    view_settings_settings_WirelessInternet_bluetooth_i: 'Internet',
+    view_settings_settings_WirelessInternet_bluetooth_wifi: 'WiFi',
+    view_settings_settings_WirelessInternet_bluetooth_wdp: 'Wireless Data Providers',
+    view_settings_settings_WirelessInternet_bluetooth_cn: 'Cellular Networks',
+
+    view_settings_settings_navigation_title: 'Navigation',
+    view_settings_settings_navigation_mapPreferences: 'Préférences de carte',
+    view_settings_settings_navigation_routePreferences: 'Préférences d\'itinéraire',
+    view_settings_settings_navigation_navigationPreferences: 'Préférences de navigation',
+    view_settings_settings_navigation_trafficPreferences: 'Préférences de circulation',
+    view_settings_settings_navigation_avoidAreas: 'Éviter des zones',
+
+    view_settings_settings_navigation_mapPreferences_breadcrumbs: 'Marques de navigation',
+    view_settings_settings_navigation_mapPreferences_OnOFF:
+        [
+            'MARCHE',
+            'ARRET'
+        ],
+    view_settings_settings_navigation_mapPreferences_turnList: 'Format de liste de virages',
+    view_settings_settings_navigation_mapPreferences_breadcrumbs_TopBotttom:
+        [
+            'Top to Bottom',
+            'Bottom to Top'
+        ],
+    view_settings_settings_navigation_mapPreferences_ParkingPOI: 'Notification de POI stationnement',
+
+    view_settings_settings_navigation_routePreferences_preferred: 'Itinéraire préféré',
+    view_settings_settings_navigation_routePreferences_SFE:
+        [
+            'Plus court',
+            'Plus rapide',
+            'Écologique'
+        ],
+    view_settings_settings_navigation_routePreferences_avoidFreeways: 'Éviter les autoroutes',
+    view_settings_settings_navigation_routePreferences_avoidTollroads: 'Éviter les routes à péage',
+    view_settings_settings_navigation_routePreferences_avoidFerriesCarTrains: 'Éviter traversiers/trains-voit',
+    view_settings_settings_navigation_routePreferences_useHOVLanes: 'Utilis. les voies multioccupants',
+    view_settings_settings_navigation_routePreferences_onOff:
+        [
+            'MARCHE',
+            'ARRET'
+        ],
+
+    view_settings_settings_navigation_navigationPreferences_guidancePrompts: 'Messages-guide de guidage',
+    view_settings_settings_navigation_navigationPreferences_voiceTone:
+        [
+            'Voix et tonalité',
+            'Voix et tonalité'
+        ],
+    view_settings_settings_navigation_navigationPreferences_auto: 'Auto-remplissage état/province',
+    view_settings_settings_navigation_navigationPreferences_onOff:
+        [
+            'MARCHE',
+            'ARRET'
+        ],
+
+    view_settings_settings_navigation_trafficPreferences_avoidTrafficProblems: 'Éviter les problèmes de circulation',
+    view_settings_settings_navigation_trafficPreferences_automaticManual:
+        [
+            'Automatic',
+            'Manuel'
+        ],
+    view_settings_settings_navigation_trafficPreferences_trafficAlertNotification: 'Notification d\'alerte circulation',
+    view_settings_settings_navigation_trafficPreferences_onOff:
+        [
+            'MARCHE',
+            'ARRET'
+        ],
+    view_settings_settings_navigation_trafficPreferences_accidentMapIcon: 'Icônes d\'accidents',
+    view_settings_settings_navigation_trafficPreferences_trafficJamMapIcon: 'Icône d\'embouteillages',
+    view_settings_settings_navigation_trafficPreferences_roadClosed: 'Route fermée',
+    view_settings_settings_navigation_trafficPreferences_roadWorks: 'Travaux routiers',
+    view_settings_settings_navigation_trafficPreferences_incidentMapIcons: 'Icônes d\'incidents',
+    view_settings_settings_navigation_trafficPreferences_difficultDrivingConditions: 'Conditions conduite difficiles',
+    view_settings_settings_navigation_trafficPreferences_snowIce: 'Neige et glace',
+    view_settings_settings_navigation_trafficPreferences_smogAlerts: 'Alertes au smog',
+    view_settings_settings_navigation_trafficPreferences_weatherWarning: 'Avertissement météo',
+    view_settings_settings_navigation_trafficPreferences_reducesVisibility: 'Visibilité réduite',
+    view_settings_settings_navigation_trafficPreferences_turnOnYourRadio: 'Allumez votre radio',
+
+    view_settings_settings_navigation_avoidAreas_add: 'Ajout.',
+
+    view_settings_settings_WirelessWifiInternet_header: 'Réglages Wi-Fi',
+    view_settings_settings_WirelessWifiInternet_wifi_network: 'Mode réseau Wi-Fi (client)',
+    view_settings_settings_WirelessWifiInternet_wifi_choose: 'Sélectionner un réseau sans fil',
+    view_settings_settings_WirelessWifiInternet_wifi_gateway_mode: 'Mode de passerelle',
+    view_settings_settings_WirelessWifiInternet_wifi_gateway_settings: 'Réglages de passerelle (point d\'accès)',
+    view_settings_settings_WirelessWifiInternet_wifi_gateway_list: 'Liste des appareils de la passerelle (point d\'accès)',
+    view_settings_settings_WirelessWifiInternet_wifi_search: 'Chercher des réseaux sans fil',
+    view_settings_settings_WirelessWifiInternet_wifi_on: 'Marche',
+    view_settings_settings_WirelessWifiInternet_wifi_off: 'Arrêt',
+
+    view_settings_help_WhereAmI_header: 'Où suis-je?',
+    view_settings_help_WhereAmI_next_street: 'Prochaine rue',
+    view_settings_help_WhereAmI_villagerd: 'Place d’Youville',
+    view_settings_help_WhereAmI_mi: '0.160 km',
+    view_settings_help_WhereAmI_current_street: 'Rue actuelle',
+    view_settings_help_WhereAmI_military_st: 'Rue de Champlain',
+    view_settings_help_WhereAmI_dearborn_dmi: 'Montreal, PQ',
+    view_settings_help_WhereAmI_lat: 'Lat: 42.17.39N / Long: 83.14.08W',
+    view_settings_help_WhereAmI_previous_street: 'Rue la plus prochè',
+    view_settings_help_WhereAmI_west_rd: 'Rue de la Commune',
+    view_settings_help_WhereAmI_west_ft: '121.9 m',
+
+    view_settings_help_softwareLicenses_titile: 'Licences de logiciel',
+    view_settings_help_softwareLicenses_applicationName: 'Nom de l\'application',
+    view_settings_help_softwareLicenses_expirationDate: 'Date d\'expiration',
+    view_settings_help_softwareLicenses_remainingUses: 'Usages qui restent',
+    view_settings_help_softwareLicenses_install: 'Installer mises à jr',
+    view_settings_help_softwareLicenses_navigation: 'Navigation North Amer',
+    view_settings_help_softwareLicenses_none: 'Aucune',
+    view_settings_help_softwareLicenses_unlimited: 'Illimité',
+
+    view_settings_help_DrivingRestrictions_header: 'Restrictions de conduite',
+    view_settings_help_DrivingRestrictions_text: 'Pour ne pas distraire le conducteur et pour des motifs de sécurité. L\'utilisation de certaines caractéristiques de SYNC est limitée lorsque le véhicule est en mouv.',
+
+    view_settings_help_voiceCommandListView_header: 'Liste de commandes',
+    view_settings_help_voiceCommandListView_audio: 'Audio',
+    view_settings_help_voiceCommandListView_browse: 'Rechercher',
+    view_settings_help_voiceCommandListView_climate: 'Climatisation',
+    view_settings_help_voiceCommandListView_disc: 'Disque',
+    view_settings_help_voiceCommandListView_globalCommands: 'Commandes générales',
+    view_settings_help_voiceCommandListView_media: 'Média',
+    view_settings_help_voiceCommandListView_navigation: 'Navigation',
+    view_settings_help_voiceCommandListView_otherCommands: 'Autres commandes',
+    view_settings_help_voiceCommandListView_phone: 'Téléphone',
+    view_settings_help_voiceCommandListView_radio: 'Radio',
+    view_settings_help_voiceCommandListView_sirius: 'Sirius',
+    view_settings_help_voiceCommandListView_travelLink: 'Travel Link',
+    view_settings_help_voiceCommandListView_voiceInteractions: 'Directives vocales',
+    view_settings_help_voiceCommandListView_voiceSettings: 'Réglages vocaux',
+
+    view_info_leftmenu_services: 'Services',
+    view_info_leftmenu_travelLink: 'Travel Link',
+    view_info_leftmenu_alerts: 'Alertes',
+    view_info_leftmenu_calendar: 'Calendrier',
+    view_info_leftmenu_apps: 'Appl.',
+
+    view_info_services_syncServices: 'Services SYNC',
+    view_info_services_trafficDirectionsAndInformation: 'CIRCULATION ROUTIÈRE, INDICATIONS ET INFORMATIONS',
+    view_info_services_getTheLatestTrafficRreport: 'Obtenir rapport de circulation',
+    view_info_services_findBusinessesAndDownloadSaved: 'Trouver commerces & téléch. pts sauvegardé.',
+    view_info_services_Pts: '',
+    view_info_services_hearPersonalizedInformationMore: 'Entendre infos personnalisées & plus',
+    view_info_services_connecttoServices: 'Connecter aux services',
+    view_info_services_toActivate: 'Pour activer, allez à www.SyncMaRoute.ca.',
+
+    view_info_travelLink_trafficOnRoute: 'Circulation pendant le trajet',
+    view_info_travelLink_trafficNearby: 'Circulat. près d\'ici',
+    view_info_travelLink_fuelPrices: 'Prix de l\'essence',
+    view_info_travelLink_movieListings: 'Films à l\'affiche',
+    view_info_travelLink_subscriptionInfo: 'Renseignements sur l\'abonnement',
+    view_info_travelLink_weather: 'Conditions météorologiques',
+    view_info_travelLink_sportsInfo: 'Information sport',
+    view_info_travelLink_skiConditions: 'Conditions de ski',
+
+    view_info_alerts_sort: 'Trier par',
+    view_info_alerts_dateIcon:
+        [
+            'Date',
+            'Icône'
+        ],
+    view_info_alerts_911Assist: 'Service Assistance 911 désactivé 2012',
+    view_info_alerts_view: 'Afficher',
+    view_info_alerts_delete: 'Supprimer',
+    view_info_alerts_deleteAll: 'Suppr. tout',
+
+    view_info_calendar_date: '2011, jul',
+    view_info_calendar_today: 'Aujourd\'hui',
+    view_info_calendar_day1: 'DIM',
+    view_info_calendar_day2: 'LUN',
+    view_info_calendar_day3: 'MAR',
+    view_info_calendar_day4: 'MER',
+    view_info_calendar_day5: 'JEU',
+    view_info_calendar_day6: 'VEN',
+    view_info_calendar_day7: 'SAM',
+
+    view_info_apps_911Assist: 'Assistance 911',
+    view_info_apps_vehicle_VehicleHealthReport: 'Bilan du véhicule',
+    view_info_apps_vehicle_InstallApplicationsUp: 'Installation d\'applications et de',
+    view_info_apps_911Assist_header: 'Assistance 911',
+    view_info_apps_911Assist_incase: 'En cas d\'urgence (ECU), comp. rapide.',
+    view_info_apps_911Assist_on: 'Marche',
+    view_info_apps_911Assist_off: 'Arrêt',
+    view_info_apps_911Assist_edit: 'Réviser',
+    view_info_apps_911Assist_sarah: 'Marie',
+    view_info_apps_911Assist_john: 'Pierre',
+    view_info_apps_911Assist_911: 'Assistance 911',
+    view_info_apps_911Assist_reminder: 'Rappel Assist. 911',
+
+    view_info_apps_911Assist_911_connected: 'Assistance 911 utilise votre tél. cell. Connecté pour composer le 911 après un accident qualifié',
+    view_info_apps_911Assist_vri: 'Directives pr redémarrer véh',
+
+    /* NO TRANSLATION */view_faq_mftGuide: 'SDL Guide Welcome Orientation',
+    view_faq_myFordTouch4: 'Menu MyFord Touch â 4 coins',
+    view_faq_customize: 'Personnaliser MyFord Touch',
+    view_faq_useVoiceC: 'Utiliser les commandes vocales',
+    view_faq_myFordTouchN: 'Système navigation MyFord Touch',
+    view_faq_pairYourP: 'Coupler téléphone et fair appels mains libres',
+    view_faq_multipleConnected: 'Multiple Connected Phones',
+    view_faq_wifi: 'WiFi',
+    view_faq_syncServices: 'SYNC Services',
+    view_faq_wallpaper: 'Fond d\'écran',
+    /* NO TRANSLATION */view_faq_forFurther: 'For further assistance about your in-vehicle MyFord Touch system, call 1-800-392-3673.',
+    view_faq_selectOption: 'Select option 3 for an In-Vehicle Technology Team representative.'
+};
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/locale/locale.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/locale/locale.js
new file mode 100644 (file)
index 0000000..ebe7cc1
--- /dev/null
@@ -0,0 +1,42 @@
+/*
+ * Copyright (c) 2013, Ford Motor Company All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *  · Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ *  · Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *  · Neither the name of the Ford Motor Company nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+/**
+ * @name SDL.locale
+ * @desc SDL localization object
+ * @category Localization
+ * @filesource locale/locale.js
+ * @version 1.0
+ */
+
+SDL.locale = Em.Object.create( {
+
+    label: SDL[SDL.localization],
+
+    setLang: function( lang ) {
+        this.set( 'label', SDL[SDL.localization] );
+    }.observes( 'SDL.localization' )
+} );
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/locale/rus.js b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/locale/rus.js
new file mode 100644 (file)
index 0000000..0724020
--- /dev/null
@@ -0,0 +1,11 @@
+SDL.rus = {
+    navigation: 'Навигация',
+
+    phone: 'Звонить',
+    quickdial: 'Набор',
+    phonebook: 'Книжка',
+    history: 'История',
+    messaging: 'Сообщения',
+    settings: 'Настройки',
+    view: 'Вид'
+};
\ No newline at end of file
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/manifest.json b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/manifest.json
new file mode 100644 (file)
index 0000000..43fcbce
--- /dev/null
@@ -0,0 +1,12 @@
+{
+  "name": "Modello SmartDeviceLink",
+  "version": "0.0.2",
+  "app": {
+    "launch":{
+      "local_path": "index.html"
+    }
+  },
+  "icons": {
+    "128": "SmartDeviceLink_icon.png"
+  }
+}
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/packaging/modello-sdl.changes b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/packaging/modello-sdl.changes
new file mode 100644 (file)
index 0000000..c244ff4
--- /dev/null
@@ -0,0 +1,12 @@
+* Thu May 22 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.232717@a182318
+- Fixes for IVI-3190 - To get things to render normally
+
+* Thu May 08 2014 brianjjones <brian.j.jones@intel.com> submit/tizen_ivi/20140508.172800@b03ac60
+- Adding Modello to the app name to easily identify it
+
+* Tue May 06 2014 brianjjones <brian.j.jones@intel.com> submit/tizen/20140404.164027@eb59af6
+- Updated to work with Crosswalk.
+
+* Thu Apr 03 2014 brianjjones <brian.j.jones@intel.com> d52a5a2
+- Initial commit of the Modello SDL app
+
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/project/packaging/modello-sdl.spec b/samples/web/Sample/Tizen/Web App/Modello_SDL/project/packaging/modello-sdl.spec
new file mode 100644 (file)
index 0000000..a4b3a56
--- /dev/null
@@ -0,0 +1,29 @@
+Name:       Modello_SDL
+Summary:    A proof of concept pure html5 UI
+Version:    0.0.2
+Release:    1
+Group:      Applications/System
+License:    Apache 2.0
+URL:        http://www.tizen.org
+Source0:    %{name}-%{version}.tar.bz2
+BuildRequires:  zip
+Requires:   Modello_Common
+
+%description
+A proof of concept pure html5 UI
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+make wgtPkg
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%files
+%defattr(-,root,root,-)
+/opt/usr/apps/.preinstallWidgets/Modello_SDL.wgt
+/opt/usr/apps/_common/icons/SmartDeviceLink_icon.png
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/tizen-app-template.xml b/samples/web/Sample/Tizen/Web App/Modello_SDL/tizen-app-template.xml
new file mode 100644 (file)
index 0000000..7992213
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<tizen-app-template xmlns="http://www.tizen.org/tizen-app-template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" template-version="" sdk-version="" icon32="tizen_32.png" icon64="tizen_64.png" xsi:schemaLocation="http://www.tizen.org/tizen-app-template tizen-app-template.xsd ">
+    <template-name>Modello_SDL</template-name>
+    <widget-type>TIZEN</widget-type>
+    <build-property key="usedLibraryType" value="Modello"/>
+    <description-file-name>description.xml</description-file-name>
+    <options>
+        <supportLibraries>
+        <library name="modello"/>
+        </supportLibraries>
+    </options>
+</tizen-app-template>
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/tizen_32.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/tizen_32.png
new file mode 100644 (file)
index 0000000..a37c33e
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/tizen_32.png differ
diff --git a/samples/web/Sample/Tizen/Web App/Modello_SDL/tizen_64.png b/samples/web/Sample/Tizen/Web App/Modello_SDL/tizen_64.png
new file mode 100644 (file)
index 0000000..f80f2ec
Binary files /dev/null and b/samples/web/Sample/Tizen/Web App/Modello_SDL/tizen_64.png differ