From d22d51a1ae49680015326857360eb699f31efced Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 31 Aug 2020 22:37:03 +0200 Subject: NO MORE ANDROID BUILD --- StoneIsland/platforms/android/.gitignore | 14 - .../.gradle/2.14.1/taskArtifacts/cache.properties | 1 - .../2.14.1/taskArtifacts/cache.properties.lock | Bin 17 -> 0 bytes .../.gradle/2.14.1/taskArtifacts/fileHashes.bin | Bin 269151 -> 0 bytes .../.gradle/2.14.1/taskArtifacts/fileSnapshots.bin | Bin 3302526 -> 0 bytes .../fileSnapshotsToTreeSnapshotsIndex.bin | Bin 61704 -> 0 bytes .../.gradle/2.14.1/taskArtifacts/taskArtifacts.bin | Bin 227219 -> 0 bytes .../localClassSetAnalysis.bin | Bin 47020 -> 0 bytes .../localClassSetAnalysis.lock | Bin 17 -> 0 bytes .../localJarClasspathSnapshot.bin | Bin 18542 -> 0 bytes .../localJarClasspathSnapshot.lock | Bin 17 -> 0 bytes .../localClassSetAnalysis.bin | Bin 47020 -> 0 bytes .../localClassSetAnalysis.lock | Bin 17 -> 0 bytes .../localJarClasspathSnapshot.bin | Bin 18542 -> 0 bytes .../localJarClasspathSnapshot.lock | Bin 17 -> 0 bytes .../localClassSetAnalysis.bin | Bin 63867 -> 0 bytes .../localClassSetAnalysis.lock | Bin 17 -> 0 bytes .../localJarClasspathSnapshot.bin | Bin 20624 -> 0 bytes .../localJarClasspathSnapshot.lock | Bin 17 -> 0 bytes .../localClassSetAnalysis.bin | Bin 63867 -> 0 bytes .../localClassSetAnalysis.lock | Bin 17 -> 0 bytes .../localJarClasspathSnapshot.bin | Bin 20627 -> 0 bytes .../localJarClasspathSnapshot.lock | Bin 17 -> 0 bytes .../.gradle/2.2.1/taskArtifacts/cache.properties | 1 - .../2.2.1/taskArtifacts/cache.properties.lock | Bin 17 -> 0 bytes .../.gradle/2.2.1/taskArtifacts/fileHashes.bin | Bin 174048 -> 0 bytes .../.gradle/2.2.1/taskArtifacts/fileSnapshots.bin | Bin 798667 -> 0 bytes .../2.2.1/taskArtifacts/outputFileStates.bin | Bin 21362 -> 0 bytes .../.gradle/2.2.1/taskArtifacts/taskArtifacts.bin | Bin 52187 -> 0 bytes .../.gradle/3.3/taskArtifacts/fileHashes.bin | Bin 422132 -> 0 bytes .../.gradle/3.3/taskArtifacts/fileSnapshots.bin | Bin 5541731 -> 0 bytes .../.gradle/3.3/taskArtifacts/taskArtifacts.bin | Bin 270945 -> 0 bytes .../.gradle/3.3/taskArtifacts/taskArtifacts.lock | Bin 17 -> 0 bytes .../localClassSetAnalysis.bin | Bin 47000 -> 0 bytes .../localClassSetAnalysis.lock | Bin 17 -> 0 bytes .../localJarClasspathSnapshot.bin | Bin 18522 -> 0 bytes .../localJarClasspathSnapshot.lock | Bin 17 -> 0 bytes .../localClassSetAnalysis.bin | Bin 47000 -> 0 bytes .../localClassSetAnalysis.lock | Bin 17 -> 0 bytes .../localJarClasspathSnapshot.bin | Bin 18522 -> 0 bytes .../localJarClasspathSnapshot.lock | Bin 17 -> 0 bytes .../localClassSetAnalysis.bin | Bin 124312 -> 0 bytes .../localClassSetAnalysis.lock | Bin 17 -> 0 bytes .../localJarClasspathSnapshot.bin | Bin 20593 -> 0 bytes .../localJarClasspathSnapshot.lock | Bin 17 -> 0 bytes .../localClassSetAnalysis.bin | Bin 124312 -> 0 bytes .../localClassSetAnalysis.lock | Bin 17 -> 0 bytes .../localJarClasspathSnapshot.bin | Bin 20595 -> 0 bytes .../localJarClasspathSnapshot.lock | Bin 17 -> 0 bytes StoneIsland/platforms/android/.idea/compiler.xml | 22 - .../android/.idea/copyright/profiles_settings.xml | 3 - StoneIsland/platforms/android/.idea/gradle.xml | 18 - .../.idea/libraries/ShortcutBadger_1_1_11.xml | 12 - .../.idea/libraries/play_services_base_9_8_0.xml | 10 - .../libraries/play_services_basement_9_8_0.xml | 10 - .../.idea/libraries/play_services_gcm_9_8_0.xml | 10 - .../.idea/libraries/play_services_iid_9_8_0.xml | 10 - .../.idea/libraries/play_services_tasks_9_8_0.xml | 10 - .../.idea/libraries/support_annotations_24_0_0.xml | 11 - .../android/.idea/libraries/support_v13_23_4_0.xml | 13 - .../android/.idea/libraries/support_v4_24_0_0.xml | 16 - StoneIsland/platforms/android/.idea/misc.xml | 19 - StoneIsland/platforms/android/.idea/modules.xml | 9 - .../platforms/android/.idea/runConfigurations.xml | 12 - StoneIsland/platforms/android/.idea/workspace.xml | 2056 -------- StoneIsland/platforms/android/AndroidManifest.xml | 59 - .../android/CordovaLib/AndroidManifest.xml | 23 - .../platforms/android/CordovaLib/CordovaLib.iml | 101 - .../platforms/android/CordovaLib/build.gradle | 135 - .../debug/org/apache/cordova/BuildConfig.java | 13 - .../release/org/apache/cordova/BuildConfig.java | 13 - .../bundles/debug/AndroidManifest.xml | 27 - .../build/intermediates/bundles/debug/classes.jar | Bin 130522 -> 0 bytes .../bundles/release/AndroidManifest.xml | 27 - .../intermediates/bundles/release/classes.jar | Bin 130446 -> 0 bytes .../org/apache/cordova/AuthenticationToken.class | Bin 776 -> 0 bytes .../debug/org/apache/cordova/BuildConfig.class | Bin 711 -> 0 bytes .../debug/org/apache/cordova/CallbackContext.class | Bin 3329 -> 0 bytes .../debug/org/apache/cordova/CallbackMap.class | Bin 1491 -> 0 bytes .../classes/debug/org/apache/cordova/Config.class | Bin 1841 -> 0 bytes .../debug/org/apache/cordova/ConfigXmlParser.class | Bin 4919 -> 0 bytes .../org/apache/cordova/CordovaActivity$1.class | Bin 943 -> 0 bytes .../org/apache/cordova/CordovaActivity$2.class | Bin 1019 -> 0 bytes .../org/apache/cordova/CordovaActivity$3.class | Bin 1522 -> 0 bytes .../org/apache/cordova/CordovaActivity$4$1.class | Bin 1090 -> 0 bytes .../org/apache/cordova/CordovaActivity$4.class | Bin 2012 -> 0 bytes .../debug/org/apache/cordova/CordovaActivity.class | Bin 11826 -> 0 bytes .../debug/org/apache/cordova/CordovaArgs.class | Bin 2561 -> 0 bytes .../debug/org/apache/cordova/CordovaBridge.class | Bin 5470 -> 0 bytes .../apache/cordova/CordovaClientCertRequest.class | Bin 1426 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$1.class | Bin 1221 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$2.class | Bin 1201 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$3.class | Bin 1352 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$4.class | Bin 1223 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$5.class | Bin 1223 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$6.class | Bin 1203 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$7.class | Bin 1354 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$8.class | Bin 1506 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$9.class | Bin 1240 -> 0 bytes .../cordova/CordovaDialogsHelper$Result.class | Bin 277 -> 0 bytes .../org/apache/cordova/CordovaDialogsHelper.class | Bin 3796 -> 0 bytes .../apache/cordova/CordovaHttpAuthHandler.class | Bin 821 -> 0 bytes .../org/apache/cordova/CordovaInterface.class | Bin 725 -> 0 bytes ...CordovaInterfaceImpl$ActivityResultHolder.class | Bin 1064 -> 0 bytes .../org/apache/cordova/CordovaInterfaceImpl.class | Bin 7855 -> 0 bytes .../debug/org/apache/cordova/CordovaPlugin.class | Bin 6877 -> 0 bytes .../org/apache/cordova/CordovaPreferences.class | Bin 3223 -> 0 bytes .../CordovaResourceApi$OpenForReadResult.class | Bin 905 -> 0 bytes .../org/apache/cordova/CordovaResourceApi.class | Bin 12711 -> 0 bytes .../debug/org/apache/cordova/CordovaWebView.class | Bin 2239 -> 0 bytes .../cordova/CordovaWebViewEngine$Client.class | Bin 549 -> 0 bytes .../cordova/CordovaWebViewEngine$EngineView.class | Bin 308 -> 0 bytes .../org/apache/cordova/CordovaWebViewEngine.class | Bin 1170 -> 0 bytes .../org/apache/cordova/CordovaWebViewImpl$1.class | Bin 1660 -> 0 bytes .../org/apache/cordova/CordovaWebViewImpl$2.class | Bin 1560 -> 0 bytes .../org/apache/cordova/CordovaWebViewImpl$3.class | Bin 1468 -> 0 bytes .../CordovaWebViewImpl$EngineClient$1$1.class | Bin 1256 -> 0 bytes .../CordovaWebViewImpl$EngineClient$1.class | Bin 1482 -> 0 bytes .../cordova/CordovaWebViewImpl$EngineClient.class | Bin 4953 -> 0 bytes .../org/apache/cordova/CordovaWebViewImpl.class | Bin 16044 -> 0 bytes .../debug/org/apache/cordova/CoreAndroid$1.class | Bin 1027 -> 0 bytes .../debug/org/apache/cordova/CoreAndroid$2.class | Bin 748 -> 0 bytes .../debug/org/apache/cordova/CoreAndroid$3.class | Bin 737 -> 0 bytes .../debug/org/apache/cordova/CoreAndroid$4.class | Bin 748 -> 0 bytes .../debug/org/apache/cordova/CoreAndroid$5.class | Bin 1988 -> 0 bytes .../debug/org/apache/cordova/CoreAndroid.class | Bin 9479 -> 0 bytes .../debug/org/apache/cordova/ExposedJsApi.class | Bin 442 -> 0 bytes .../apache/cordova/ICordovaClientCertRequest.class | Bin 443 -> 0 bytes .../org/apache/cordova/ICordovaCookieManager.class | Bin 345 -> 0 bytes .../apache/cordova/ICordovaHttpAuthHandler.class | Bin 229 -> 0 bytes .../classes/debug/org/apache/cordova/LOG.class | Bin 3616 -> 0 bytes .../NativeToJsMessageQueue$BridgeMode.class | Bin 814 -> 0 bytes .../NativeToJsMessageQueue$EvalBridgeMode$1.class | Bin 1456 -> 0 bytes .../NativeToJsMessageQueue$EvalBridgeMode.class | Bin 1544 -> 0 bytes .../cordova/NativeToJsMessageQueue$JsMessage.class | Bin 4360 -> 0 bytes ...ativeToJsMessageQueue$LoadUrlBridgeMode$1.class | Bin 1594 -> 0 bytes .../NativeToJsMessageQueue$LoadUrlBridgeMode.class | Bin 1562 -> 0 bytes .../NativeToJsMessageQueue$NoOpBridgeMode.class | Bin 712 -> 0 bytes ...ToJsMessageQueue$OnlineEventsBridgeMode$1.class | Bin 1407 -> 0 bytes ...ToJsMessageQueue$OnlineEventsBridgeMode$2.class | Bin 1733 -> 0 bytes ...BridgeMode$OnlineEventsBridgeModeDelegate.class | Bin 499 -> 0 bytes ...veToJsMessageQueue$OnlineEventsBridgeMode.class | Bin 2619 -> 0 bytes .../apache/cordova/NativeToJsMessageQueue.class | Bin 7448 -> 0 bytes .../debug/org/apache/cordova/PluginEntry.class | Bin 1042 -> 0 bytes .../debug/org/apache/cordova/PluginManager.class | Bin 12314 -> 0 bytes .../org/apache/cordova/PluginResult$Status.class | Bin 1651 -> 0 bytes .../debug/org/apache/cordova/PluginResult.class | Bin 5908 -> 0 bytes .../debug/org/apache/cordova/ResumeCallback.class | Bin 2995 -> 0 bytes .../org/apache/cordova/Whitelist$URLPattern.class | Bin 3133 -> 0 bytes .../debug/org/apache/cordova/Whitelist.class | Bin 2952 -> 0 bytes .../cordova/engine/SystemCookieManager.class | Bin 1843 -> 0 bytes .../apache/cordova/engine/SystemExposedJsApi.class | Bin 1433 -> 0 bytes .../cordova/engine/SystemWebChromeClient$1.class | Bin 1202 -> 0 bytes .../cordova/engine/SystemWebChromeClient$2.class | Bin 1204 -> 0 bytes .../cordova/engine/SystemWebChromeClient$3.class | Bin 1270 -> 0 bytes .../cordova/engine/SystemWebChromeClient$4.class | Bin 1707 -> 0 bytes .../cordova/engine/SystemWebChromeClient$5.class | Bin 1787 -> 0 bytes .../cordova/engine/SystemWebChromeClient.class | Bin 10992 -> 0 bytes .../org/apache/cordova/engine/SystemWebView.class | Bin 2658 -> 0 bytes .../cordova/engine/SystemWebViewClient.class | Bin 9561 -> 0 bytes .../cordova/engine/SystemWebViewEngine$1.class | Bin 1841 -> 0 bytes .../cordova/engine/SystemWebViewEngine$2.class | Bin 1050 -> 0 bytes .../cordova/engine/SystemWebViewEngine.class | Bin 12258 -> 0 bytes .../org/apache/cordova/AuthenticationToken.class | Bin 776 -> 0 bytes .../release/org/apache/cordova/BuildConfig.class | Bin 576 -> 0 bytes .../org/apache/cordova/CallbackContext.class | Bin 3329 -> 0 bytes .../release/org/apache/cordova/CallbackMap.class | Bin 1491 -> 0 bytes .../release/org/apache/cordova/Config.class | Bin 1841 -> 0 bytes .../org/apache/cordova/ConfigXmlParser.class | Bin 4919 -> 0 bytes .../org/apache/cordova/CordovaActivity$1.class | Bin 943 -> 0 bytes .../org/apache/cordova/CordovaActivity$2.class | Bin 1019 -> 0 bytes .../org/apache/cordova/CordovaActivity$3.class | Bin 1522 -> 0 bytes .../org/apache/cordova/CordovaActivity$4$1.class | Bin 1090 -> 0 bytes .../org/apache/cordova/CordovaActivity$4.class | Bin 2012 -> 0 bytes .../org/apache/cordova/CordovaActivity.class | Bin 11826 -> 0 bytes .../release/org/apache/cordova/CordovaArgs.class | Bin 2561 -> 0 bytes .../release/org/apache/cordova/CordovaBridge.class | Bin 5470 -> 0 bytes .../apache/cordova/CordovaClientCertRequest.class | Bin 1426 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$1.class | Bin 1221 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$2.class | Bin 1201 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$3.class | Bin 1352 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$4.class | Bin 1223 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$5.class | Bin 1223 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$6.class | Bin 1203 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$7.class | Bin 1354 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$8.class | Bin 1506 -> 0 bytes .../apache/cordova/CordovaDialogsHelper$9.class | Bin 1240 -> 0 bytes .../cordova/CordovaDialogsHelper$Result.class | Bin 277 -> 0 bytes .../org/apache/cordova/CordovaDialogsHelper.class | Bin 3796 -> 0 bytes .../apache/cordova/CordovaHttpAuthHandler.class | Bin 821 -> 0 bytes .../org/apache/cordova/CordovaInterface.class | Bin 725 -> 0 bytes ...CordovaInterfaceImpl$ActivityResultHolder.class | Bin 1064 -> 0 bytes .../org/apache/cordova/CordovaInterfaceImpl.class | Bin 7855 -> 0 bytes .../release/org/apache/cordova/CordovaPlugin.class | Bin 6877 -> 0 bytes .../org/apache/cordova/CordovaPreferences.class | Bin 3223 -> 0 bytes .../CordovaResourceApi$OpenForReadResult.class | Bin 905 -> 0 bytes .../org/apache/cordova/CordovaResourceApi.class | Bin 12711 -> 0 bytes .../org/apache/cordova/CordovaWebView.class | Bin 2239 -> 0 bytes .../cordova/CordovaWebViewEngine$Client.class | Bin 549 -> 0 bytes .../cordova/CordovaWebViewEngine$EngineView.class | Bin 308 -> 0 bytes .../org/apache/cordova/CordovaWebViewEngine.class | Bin 1170 -> 0 bytes .../org/apache/cordova/CordovaWebViewImpl$1.class | Bin 1660 -> 0 bytes .../org/apache/cordova/CordovaWebViewImpl$2.class | Bin 1560 -> 0 bytes .../org/apache/cordova/CordovaWebViewImpl$3.class | Bin 1468 -> 0 bytes .../CordovaWebViewImpl$EngineClient$1$1.class | Bin 1256 -> 0 bytes .../CordovaWebViewImpl$EngineClient$1.class | Bin 1482 -> 0 bytes .../cordova/CordovaWebViewImpl$EngineClient.class | Bin 4953 -> 0 bytes .../org/apache/cordova/CordovaWebViewImpl.class | Bin 16044 -> 0 bytes .../release/org/apache/cordova/CoreAndroid$1.class | Bin 1027 -> 0 bytes .../release/org/apache/cordova/CoreAndroid$2.class | Bin 748 -> 0 bytes .../release/org/apache/cordova/CoreAndroid$3.class | Bin 737 -> 0 bytes .../release/org/apache/cordova/CoreAndroid$4.class | Bin 748 -> 0 bytes .../release/org/apache/cordova/CoreAndroid$5.class | Bin 1988 -> 0 bytes .../release/org/apache/cordova/CoreAndroid.class | Bin 9479 -> 0 bytes .../release/org/apache/cordova/ExposedJsApi.class | Bin 442 -> 0 bytes .../apache/cordova/ICordovaClientCertRequest.class | Bin 443 -> 0 bytes .../org/apache/cordova/ICordovaCookieManager.class | Bin 345 -> 0 bytes .../apache/cordova/ICordovaHttpAuthHandler.class | Bin 229 -> 0 bytes .../classes/release/org/apache/cordova/LOG.class | Bin 3616 -> 0 bytes .../NativeToJsMessageQueue$BridgeMode.class | Bin 814 -> 0 bytes .../NativeToJsMessageQueue$EvalBridgeMode$1.class | Bin 1456 -> 0 bytes .../NativeToJsMessageQueue$EvalBridgeMode.class | Bin 1544 -> 0 bytes .../cordova/NativeToJsMessageQueue$JsMessage.class | Bin 4360 -> 0 bytes ...ativeToJsMessageQueue$LoadUrlBridgeMode$1.class | Bin 1594 -> 0 bytes .../NativeToJsMessageQueue$LoadUrlBridgeMode.class | Bin 1562 -> 0 bytes .../NativeToJsMessageQueue$NoOpBridgeMode.class | Bin 712 -> 0 bytes ...ToJsMessageQueue$OnlineEventsBridgeMode$1.class | Bin 1407 -> 0 bytes ...ToJsMessageQueue$OnlineEventsBridgeMode$2.class | Bin 1733 -> 0 bytes ...BridgeMode$OnlineEventsBridgeModeDelegate.class | Bin 499 -> 0 bytes ...veToJsMessageQueue$OnlineEventsBridgeMode.class | Bin 2619 -> 0 bytes .../apache/cordova/NativeToJsMessageQueue.class | Bin 7448 -> 0 bytes .../release/org/apache/cordova/PluginEntry.class | Bin 1042 -> 0 bytes .../release/org/apache/cordova/PluginManager.class | Bin 12314 -> 0 bytes .../org/apache/cordova/PluginResult$Status.class | Bin 1651 -> 0 bytes .../release/org/apache/cordova/PluginResult.class | Bin 5908 -> 0 bytes .../org/apache/cordova/ResumeCallback.class | Bin 2995 -> 0 bytes .../org/apache/cordova/Whitelist$URLPattern.class | Bin 3133 -> 0 bytes .../release/org/apache/cordova/Whitelist.class | Bin 2952 -> 0 bytes .../cordova/engine/SystemCookieManager.class | Bin 1843 -> 0 bytes .../apache/cordova/engine/SystemExposedJsApi.class | Bin 1433 -> 0 bytes .../cordova/engine/SystemWebChromeClient$1.class | Bin 1202 -> 0 bytes .../cordova/engine/SystemWebChromeClient$2.class | Bin 1204 -> 0 bytes .../cordova/engine/SystemWebChromeClient$3.class | Bin 1270 -> 0 bytes .../cordova/engine/SystemWebChromeClient$4.class | Bin 1707 -> 0 bytes .../cordova/engine/SystemWebChromeClient$5.class | Bin 1787 -> 0 bytes .../cordova/engine/SystemWebChromeClient.class | Bin 10992 -> 0 bytes .../org/apache/cordova/engine/SystemWebView.class | Bin 2658 -> 0 bytes .../cordova/engine/SystemWebViewClient.class | Bin 9561 -> 0 bytes .../cordova/engine/SystemWebViewEngine$1.class | Bin 1841 -> 0 bytes .../cordova/engine/SystemWebViewEngine$2.class | Bin 1050 -> 0 bytes .../cordova/engine/SystemWebViewEngine.class | Bin 12258 -> 0 bytes .../incremental-safeguard/debug/tag.txt | 1 - .../incremental-safeguard/release/tag.txt | 1 - .../incremental/compileDebugAidl/dependency.store | Bin 5 -> 0 bytes .../compileReleaseAidl/dependency.store | Bin 5 -> 0 bytes .../incremental/mergeDebugAssets/merger.xml | 2 - .../incremental/mergeDebugJniLibFolders/merger.xml | 2 - .../incremental/mergeDebugShaders/merger.xml | 2 - .../incremental/mergeReleaseAssets/merger.xml | 2 - .../mergeReleaseJniLibFolders/merger.xml | 2 - .../incremental/mergeReleaseShaders/merger.xml | 2 - .../compile-file-map.properties | 1 - .../incremental/packageDebugResources/merger.xml | 2 - .../compile-file-map.properties | 1 - .../incremental/packageReleaseResources/merger.xml | 2 - .../manifests/aapt/debug/AndroidManifest.xml | 27 - .../manifests/aapt/release/AndroidManifest.xml | 27 - .../build/outputs/aar/CordovaLib-debug.aar | Bin 117856 -> 0 bytes .../build/outputs/aar/CordovaLib-release.aar | Bin 117781 -> 0 bytes .../platforms/android/CordovaLib/cordova.gradle | 201 - .../android/CordovaLib/project.properties | 16 - .../org/apache/cordova/AuthenticationToken.java | 69 - .../src/org/apache/cordova/CallbackContext.java | 142 - .../src/org/apache/cordova/CallbackMap.java | 65 - .../CordovaLib/src/org/apache/cordova/Config.java | 71 - .../src/org/apache/cordova/ConfigXmlParser.java | 145 - .../src/org/apache/cordova/CordovaActivity.java | 518 -- .../src/org/apache/cordova/CordovaArgs.java | 113 - .../src/org/apache/cordova/CordovaBridge.java | 182 - .../apache/cordova/CordovaClientCertRequest.java | 96 - .../org/apache/cordova/CordovaDialogsHelper.java | 152 - .../org/apache/cordova/CordovaHttpAuthHandler.java | 51 - .../src/org/apache/cordova/CordovaInterface.java | 88 - .../org/apache/cordova/CordovaInterfaceImpl.java | 241 - .../src/org/apache/cordova/CordovaPlugin.java | 422 -- .../src/org/apache/cordova/CordovaPreferences.java | 101 - .../src/org/apache/cordova/CordovaResourceApi.java | 471 -- .../src/org/apache/cordova/CordovaWebView.java | 142 - .../org/apache/cordova/CordovaWebViewEngine.java | 85 - .../src/org/apache/cordova/CordovaWebViewImpl.java | 613 --- .../src/org/apache/cordova/CoreAndroid.java | 390 -- .../src/org/apache/cordova/ExposedJsApi.java | 31 - .../apache/cordova/ICordovaClientCertRequest.java | 66 - .../org/apache/cordova/ICordovaCookieManager.java | 33 - .../apache/cordova/ICordovaHttpAuthHandler.java | 38 - .../CordovaLib/src/org/apache/cordova/LOG.java | 244 - .../org/apache/cordova/NativeToJsMessageQueue.java | 539 --- .../src/org/apache/cordova/PluginEntry.java | 70 - .../src/org/apache/cordova/PluginManager.java | 526 -- .../src/org/apache/cordova/PluginResult.java | 198 - .../src/org/apache/cordova/ResumeCallback.java | 76 - .../src/org/apache/cordova/Whitelist.java | 170 - .../apache/cordova/engine/SystemCookieManager.java | 69 - .../apache/cordova/engine/SystemExposedJsApi.java | 53 - .../cordova/engine/SystemWebChromeClient.java | 292 -- .../org/apache/cordova/engine/SystemWebView.java | 88 - .../apache/cordova/engine/SystemWebViewClient.java | 374 -- .../apache/cordova/engine/SystemWebViewEngine.java | 355 -- StoneIsland/platforms/android/android.iml | 126 - StoneIsland/platforms/android/android.json | 436 -- .../cordova-js-src/android/nativeapiprovider.js | 36 - .../cordova-js-src/android/promptbasednativeapi.js | 35 - .../android/assets/www/cordova-js-src/exec.js | 297 -- .../android/assets/www/cordova-js-src/platform.js | 125 - .../www/cordova-js-src/plugin/android/app.js | 108 - .../platforms/android/assets/www/cordova.js | 2208 --------- .../android/assets/www/cordova_plugins.js | 170 - .../platforms/android/assets/www/css/account.css | 576 --- .../platforms/android/assets/www/css/blogs.css | 427 -- .../platforms/android/assets/www/css/cart.css | 385 -- .../android/assets/www/css/fonts/andale_mono.ttf | Bin 109700 -> 0 bytes .../android/assets/www/css/fonts/andale_mono.woff | Bin 53751 -> 0 bytes .../android/assets/www/css/fonts/fonts.css | 37 - .../android/assets/www/css/fonts/ionicons.css | 1480 ------ .../android/assets/www/css/fonts/ionicons.eot | Bin 120724 -> 0 bytes .../android/assets/www/css/fonts/ionicons.svg | 2230 --------- .../android/assets/www/css/fonts/ionicons.ttf | Bin 188508 -> 0 bytes .../android/assets/www/css/fonts/ionicons.woff | Bin 67904 -> 0 bytes .../www/css/fonts/pfdintextpro-bold-webfont.woff | Bin 25068 -> 0 bytes .../www/css/fonts/pfdintextpro-italic-webfont.woff | Bin 30160 -> 0 bytes .../www/css/fonts/pfdintextpro-light-webfont.woff | Bin 28824 -> 0 bytes .../www/css/fonts/pfdintextpro-medium-webfont.woff | Bin 26668 -> 0 bytes .../css/fonts/pfdintextpro-regular-webfont.woff | Bin 25352 -> 0 bytes .../platforms/android/assets/www/css/index.css | 126 - .../platforms/android/assets/www/css/nav.css | 572 --- .../platforms/android/assets/www/css/products.css | 301 -- .../android/assets/www/css/vendor/flickity.css | 141 - .../android/assets/www/css/vendor/imageviewer.css | 227 - StoneIsland/platforms/android/assets/www/db.json | 4869 ------------------- .../img/Resources/CDVNotification.bundle/beep.wav | Bin 8114 -> 0 bytes .../Resources/splash/Default-568h@2x~iphone.png | Bin 101919 -> 0 bytes .../www/img/Resources/splash/Default-667h.png | Bin 104550 -> 0 bytes .../www/img/Resources/splash/Default-736h.png | Bin 192301 -> 0 bytes .../Resources/splash/Default-Landscape-736h.png | Bin 195426 -> 0 bytes .../Resources/splash/Default-Landscape@2x~ipad.png | Bin 246786 -> 0 bytes .../Resources/splash/Default-Landscape~ipad.png | Bin 107960 -> 0 bytes .../Resources/splash/Default-Portrait@2x~ipad.png | Bin 244661 -> 0 bytes .../img/Resources/splash/Default-Portrait~ipad.png | Bin 107123 -> 0 bytes .../www/img/Resources/splash/Default@2x~iphone.png | Bin 100977 -> 0 bytes .../www/img/Resources/splash/Default~iphone.png | Bin 46074 -> 0 bytes .../android/assets/www/img/angle-down.png | Bin 5562 -> 0 bytes .../android/assets/www/img/bottom-fade.png | Bin 2936 -> 0 bytes .../platforms/android/assets/www/img/cart-box.png | Bin 173 -> 0 bytes .../android/assets/www/img/cart-handle.png | Bin 42648 -> 0 bytes .../android/assets/www/img/compass-logo.png | Bin 75721 -> 0 bytes .../android/assets/www/img/compass-logo.png.old | Bin 137677 -> 0 bytes .../assets/www/img/fade-to-bottom-threshold.gif | Bin 80012 -> 0 bytes .../android/assets/www/img/fade-to-bottom.png | Bin 2936 -> 0 bytes .../android/assets/www/img/left-arrow.png | Bin 5147 -> 0 bytes .../android/assets/www/img/right-arrow.png | Bin 5264 -> 0 bytes .../android/assets/www/img/small-cart-box.png | Bin 130 -> 0 bytes .../android/assets/www/img/small-cart-handle.png | Bin 4017 -> 0 bytes .../android/assets/www/img/small-logo.png | Bin 8140 -> 0 bytes .../platforms/android/assets/www/img/spinner.gif | Bin 5694 -> 0 bytes .../platforms/android/assets/www/img/wide-logo.png | Bin 18354 -> 0 bytes .../platforms/android/assets/www/index.html | 1387 ------ .../platforms/android/assets/www/js/index.js | 165 - .../platforms/android/assets/www/js/lib/_router.js | 138 - .../assets/www/js/lib/account/AccountView.js | 176 - .../assets/www/js/lib/account/ConsentModal.js | 90 - .../assets/www/js/lib/account/OrdersView.js | 195 - .../assets/www/js/lib/account/PaymentView.js | 128 - .../assets/www/js/lib/account/ProfileView.js | 129 - .../assets/www/js/lib/account/SettingsView.js | 46 - .../assets/www/js/lib/account/ShippingView.js | 89 - .../android/assets/www/js/lib/auth/LoginView.js | 58 - .../android/assets/www/js/lib/auth/LogoutView.js | 19 - .../android/assets/www/js/lib/auth/SignupView.js | 137 - .../android/assets/www/js/lib/blogs/ArchiveView.js | 235 - .../android/assets/www/js/lib/blogs/BlogView.js | 115 - .../android/assets/www/js/lib/blogs/HubView.js | 226 - .../android/assets/www/js/lib/blogs/PageView.js | 46 - .../android/assets/www/js/lib/blogs/StoryView.js | 78 - .../android/assets/www/js/lib/cart/CartConfirm.js | 194 - .../android/assets/www/js/lib/cart/CartError.js | 28 - .../android/assets/www/js/lib/cart/CartPayment.js | 203 - .../android/assets/www/js/lib/cart/CartShipping.js | 152 - .../android/assets/www/js/lib/cart/CartSummary.js | 213 - .../android/assets/www/js/lib/cart/CartThanks.js | 28 - .../android/assets/www/js/lib/cart/CartView.js | 72 - .../android/assets/www/js/lib/etc/accessibility.js | 77 - .../android/assets/www/js/lib/etc/backup_db.js | 419 -- .../android/assets/www/js/lib/etc/deeplink.js | 6 - .../platforms/android/assets/www/js/lib/etc/geo.js | 71 - .../android/assets/www/js/lib/etc/push.js | 154 - .../android/assets/www/js/lib/etc/scroll.js | 29 - .../platforms/android/assets/www/js/lib/etc/sim.js | 49 - .../android/assets/www/js/lib/nav/AddressView.js | 303 -- .../assets/www/js/lib/nav/CreditCardView.js | 63 - .../android/assets/www/js/lib/nav/CurtainView.js | 39 - .../android/assets/www/js/lib/nav/FooterView.js | 43 - .../android/assets/www/js/lib/nav/HeaderView.js | 57 - .../android/assets/www/js/lib/nav/IntroView.js | 64 - .../android/assets/www/js/lib/nav/NavView.js | 182 - .../android/assets/www/js/lib/nav/SearchView.js | 16 - .../assets/www/js/lib/products/ClosedStoreView.js | 75 - .../assets/www/js/lib/products/CollectionView.js | 254 - .../assets/www/js/lib/products/GalleryView.js | 109 - .../assets/www/js/lib/products/ProductView.js | 605 --- .../android/assets/www/js/lib/products/Selector.js | 70 - .../www/js/lib/products/filters/CategoryFilter.js | 40 - .../js/lib/products/filters/DepartmentFilter.js | 30 - .../www/js/lib/products/filters/SizeFilter.js | 60 - .../android/assets/www/js/lib/view/Router.js | 75 - .../android/assets/www/js/lib/view/Scrollable.js | 44 - .../android/assets/www/js/lib/view/Serializable.js | 194 - .../android/assets/www/js/lib/view/View.js | 147 - .../platforms/android/assets/www/js/sdk/_sdk.js | 48 - .../platforms/android/assets/www/js/sdk/account.js | 133 - .../platforms/android/assets/www/js/sdk/address.js | 78 - .../platforms/android/assets/www/js/sdk/auth.js | 152 - .../platforms/android/assets/www/js/sdk/cart.js | 248 - .../platforms/android/assets/www/js/sdk/payment.js | 72 - .../platforms/android/assets/www/js/sdk/product.js | 68 - .../android/assets/www/js/sdk/shipping.js | 85 - .../android/assets/www/js/vendor/fastclick.js | 790 --- .../android/assets/www/js/vendor/flickity.pkgd.js | 5090 -------------------- .../android/assets/www/js/vendor/imageviewer.js | 821 ---- .../android/assets/www/js/vendor/iscroll-5.1.3.js | 2011 -------- .../android/assets/www/js/vendor/iscroll.js | 2170 --------- .../assets/www/js/vendor/jquery-2.1.4.min.js | 4 - .../www/js/vendor/jquery.creditCardValidator.js | 208 - .../android/assets/www/js/vendor/loader.js | 100 - .../android/assets/www/js/vendor/lodash.min.js | 98 - .../android/assets/www/js/vendor/moment.js | 3195 ------------ .../android/assets/www/js/vendor/oktween.js | 125 - .../android/assets/www/js/vendor/prefixfree.js | 497 -- .../android/assets/www/js/vendor/promise.js | 34 - .../platforms/android/assets/www/js/vendor/util.js | 209 - .../android/AndroidVox_v1.js | 1778 ------- .../android/chromeandroidvox.js | 1778 ------- .../www/android/LaunchMyApp.js | 48 - .../plugins/cordova-plugin-device/www/device.js | 85 - .../www/android/notification.js | 76 - .../cordova-plugin-dialogs/www/notification.js | 132 - .../www/PositionError.js | 40 - .../www/android/geolocation.js | 73 - .../www/inappbrowser.js | 113 - .../www/Connection.js | 36 - .../www/network.js | 93 - .../plugins/cordova-plugin-sim/www/android/sim.js | 11 - .../www/plugins/cordova-plugin-sim/www/sim.js | 8 - .../www/splashscreen.js | 36 - .../cordova-plugin-statusbar/www/statusbar.js | 116 - .../www/SocialSharing.js | 123 - .../ionic-plugin-keyboard/www/android/keyboard.js | 62 - .../www/MobileAccessibilityNotifications.js | 53 - .../www/mobile-accessibility.js | 502 -- .../www/plugins/phonegap-plugin-push/www/push.js | 329 -- StoneIsland/platforms/android/build.gradle | 317 -- StoneIsland/platforms/android/cordova/.jshintrc | 10 - StoneIsland/platforms/android/cordova/Api.js | 415 -- .../platforms/android/cordova/android_sdk_version | 29 - .../android/cordova/android_sdk_version.bat | 26 - StoneIsland/platforms/android/cordova/build | 50 - StoneIsland/platforms/android/cordova/build.bat | 26 - StoneIsland/platforms/android/cordova/check_reqs | 31 - .../platforms/android/cordova/check_reqs.bat | 26 - StoneIsland/platforms/android/cordova/clean | 51 - StoneIsland/platforms/android/cordova/clean.bat | 26 - StoneIsland/platforms/android/cordova/defaults.xml | 26 - StoneIsland/platforms/android/cordova/lib/Adb.js | 105 - .../android/cordova/lib/AndroidManifest.js | 161 - .../android/cordova/lib/AndroidProject.js | 210 - .../platforms/android/cordova/lib/AndroidStudio.js | 42 - .../platforms/android/cordova/lib/android_sdk.js | 106 - StoneIsland/platforms/android/cordova/lib/build.js | 301 -- .../android/cordova/lib/builders/AntBuilder.js | 156 - .../android/cordova/lib/builders/GenericBuilder.js | 147 - .../android/cordova/lib/builders/GradleBuilder.js | 279 -- .../android/cordova/lib/builders/builders.js | 47 - .../platforms/android/cordova/lib/check_reqs.js | 432 -- .../platforms/android/cordova/lib/device.js | 120 - .../platforms/android/cordova/lib/emulator.js | 532 -- .../platforms/android/cordova/lib/install-device | 42 - .../android/cordova/lib/install-device.bat | 26 - .../platforms/android/cordova/lib/install-emulator | 38 - .../android/cordova/lib/install-emulator.bat | 26 - .../platforms/android/cordova/lib/list-devices | 34 - .../platforms/android/cordova/lib/list-devices.bat | 26 - .../android/cordova/lib/list-emulator-images | 34 - .../android/cordova/lib/list-emulator-images.bat | 26 - .../android/cordova/lib/list-started-emulators | 34 - .../android/cordova/lib/list-started-emulators.bat | 26 - StoneIsland/platforms/android/cordova/lib/log.js | 56 - .../android/cordova/lib/plugin-build.gradle | 70 - .../android/cordova/lib/pluginHandlers.js | 308 -- .../platforms/android/cordova/lib/prepare.js | 471 -- StoneIsland/platforms/android/cordova/lib/retry.js | 68 - StoneIsland/platforms/android/cordova/lib/run.js | 141 - .../platforms/android/cordova/lib/start-emulator | 39 - .../android/cordova/lib/start-emulator.bat | 26 - StoneIsland/platforms/android/cordova/log | 36 - StoneIsland/platforms/android/cordova/log.bat | 26 - .../platforms/android/cordova/loggingHelper.js | 18 - StoneIsland/platforms/android/cordova/run | 53 - StoneIsland/platforms/android/cordova/run.bat | 26 - StoneIsland/platforms/android/cordova/version | 29 - StoneIsland/platforms/android/cordova/version.bat | 26 - .../phonegap-plugin-push/stoneisland-push.gradle | 21 - .../cordova-js-src/android/nativeapiprovider.js | 36 - .../cordova-js-src/android/promptbasednativeapi.js | 35 - .../android/platform_www/cordova-js-src/exec.js | 297 -- .../platform_www/cordova-js-src/platform.js | 125 - .../cordova-js-src/plugin/android/app.js | 108 - .../platforms/android/platform_www/cordova.js | 2208 --------- .../android/platform_www/cordova_plugins.js | 170 - .../android/AndroidVox_v1.js | 1778 ------- .../android/chromeandroidvox.js | 1778 ------- .../www/android/LaunchMyApp.js | 48 - .../plugins/cordova-plugin-device/www/device.js | 85 - .../www/android/notification.js | 76 - .../cordova-plugin-dialogs/www/notification.js | 132 - .../www/PositionError.js | 40 - .../www/android/geolocation.js | 73 - .../www/inappbrowser.js | 113 - .../www/Connection.js | 36 - .../www/network.js | 93 - .../plugins/cordova-plugin-sim/www/android/sim.js | 11 - .../plugins/cordova-plugin-sim/www/sim.js | 8 - .../www/splashscreen.js | 36 - .../cordova-plugin-statusbar/www/statusbar.js | 116 - .../www/SocialSharing.js | 123 - .../ionic-plugin-keyboard/www/android/keyboard.js | 62 - .../www/MobileAccessibilityNotifications.js | 53 - .../www/mobile-accessibility.js | 502 -- .../plugins/phonegap-plugin-push/www/push.js | 329 -- StoneIsland/platforms/android/project.properties | 18 - .../res/drawable-hdpi/ic_action_next_item.png | Bin 593 -> 0 bytes .../res/drawable-hdpi/ic_action_previous_item.png | Bin 599 -> 0 bytes .../android/res/drawable-hdpi/ic_action_remove.png | Bin 438 -> 0 bytes .../platforms/android/res/drawable-hdpi/icon.png | Bin 7963 -> 0 bytes .../android/res/drawable-land-hdpi/screen.png | Bin 72684 -> 0 bytes .../android/res/drawable-land-ldpi/screen.png | Bin 22582 -> 0 bytes .../android/res/drawable-land-mdpi/screen.png | Bin 39292 -> 0 bytes .../android/res/drawable-land-xhdpi/screen.png | Bin 133130 -> 0 bytes .../android/res/drawable-land-xxhdpi/screen.png | Bin 180267 -> 0 bytes .../android/res/drawable-land-xxxhdpi/screen.png | Bin 235602 -> 0 bytes .../platforms/android/res/drawable-ldpi/icon.png | Bin 3204 -> 0 bytes .../res/drawable-mdpi/ic_action_next_item.png | Bin 427 -> 0 bytes .../res/drawable-mdpi/ic_action_previous_item.png | Bin 438 -> 0 bytes .../android/res/drawable-mdpi/ic_action_remove.png | Bin 328 -> 0 bytes .../platforms/android/res/drawable-mdpi/icon.png | Bin 4631 -> 0 bytes .../android/res/drawable-port-hdpi/screen.png | Bin 71896 -> 0 bytes .../android/res/drawable-port-ldpi/screen.png | Bin 21748 -> 0 bytes .../android/res/drawable-port-mdpi/screen.png | Bin 38625 -> 0 bytes .../android/res/drawable-port-xhdpi/screen.png | Bin 129139 -> 0 bytes .../android/res/drawable-port-xxhdpi/screen.png | Bin 173802 -> 0 bytes .../android/res/drawable-port-xxxhdpi/screen.png | Bin 232931 -> 0 bytes .../res/drawable-xhdpi/ic_action_next_item.png | Bin 727 -> 0 bytes .../res/drawable-xhdpi/ic_action_previous_item.png | Bin 744 -> 0 bytes .../res/drawable-xhdpi/ic_action_remove.png | Bin 536 -> 0 bytes .../platforms/android/res/drawable-xhdpi/icon.png | Bin 11662 -> 0 bytes .../res/drawable-xxhdpi/ic_action_next_item.png | Bin 1021 -> 0 bytes .../drawable-xxhdpi/ic_action_previous_item.png | Bin 1038 -> 0 bytes .../res/drawable-xxhdpi/ic_action_remove.png | Bin 681 -> 0 bytes .../platforms/android/res/drawable-xxhdpi/icon.png | Bin 20810 -> 0 bytes .../android/res/drawable-xxxhdpi/icon.png | Bin 32451 -> 0 bytes .../platforms/android/res/drawable/icon.png | Bin 11662 -> 0 bytes .../platforms/android/res/mipmap-hdpi/icon.png | Bin 7763 -> 0 bytes .../platforms/android/res/mipmap-ldpi/icon.png | Bin 3085 -> 0 bytes .../platforms/android/res/mipmap-mdpi/icon.png | Bin 4529 -> 0 bytes .../platforms/android/res/mipmap-xhdpi/icon.png | Bin 11368 -> 0 bytes .../platforms/android/res/mipmap-xxhdpi/icon.png | Bin 20517 -> 0 bytes .../platforms/android/res/mipmap-xxxhdpi/icon.png | Bin 31964 -> 0 bytes .../platforms/android/res/values/strings.xml | 7 - StoneIsland/platforms/android/res/xml/config.xml | 85 - StoneIsland/platforms/android/settings.gradle | 3 - .../push/BackgroundActionButtonHandler.java | 41 - .../com/adobe/phonegap/push/GCMIntentService.java | 802 --- .../com/adobe/phonegap/push/PermissionUtils.java | 55 - .../src/com/adobe/phonegap/push/PushConstants.java | 72 - .../adobe/phonegap/push/PushHandlerActivity.java | 120 - .../push/PushInstanceIDListenerService.java | 27 - .../src/com/adobe/phonegap/push/PushPlugin.java | 458 -- .../phonegap/push/RegistrationIntentService.java | 38 - .../platforms/android/src/com/pbakondy/Sim.java | 264 - .../AbstractMobileAccessibilityHelper.java | 41 - .../DonutMobileAccessibilityHelper.java | 187 - .../IceCreamSandwichMobileAccessibilityHelper.java | 104 - .../JellyBeanMobileAccessibilityHelper.java | 52 - .../KitKatMobileAccessibilityHelper.java | 99 - .../mobileaccessibility/MobileAccessibility.java | 330 -- .../src/io/ionic/keyboard/IonicKeyboard.java | 130 - .../src/nl/xservices/plugins/LaunchMyApp.java | 173 - .../src/nl/xservices/plugins/SocialSharing.java | 775 --- .../src/org/apache/cordova/BuildHelper.java | 70 - .../src/org/apache/cordova/PermissionHelper.java | 138 - .../src/org/apache/cordova/device/Device.java | 174 - .../org/apache/cordova/dialogs/Notification.java | 513 -- .../apache/cordova/geolocation/Geolocation.java | 107 - .../apache/cordova/inappbrowser/InAppBrowser.java | 1005 ---- .../cordova/inappbrowser/InAppBrowserDialog.java | 57 - .../cordova/inappbrowser/InAppChromeClient.java | 133 - .../cordova/networkinformation/NetworkManager.java | 287 -- .../apache/cordova/splashscreen/SplashScreen.java | 385 -- .../org/apache/cordova/statusbar/StatusBar.java | 201 - .../apache/cordova/whitelist/WhitelistPlugin.java | 161 - .../src/us/okfoc/stoneisland/MainActivity.java | 34 - StoneIsland/platforms/android/wrapper.gradle | 1 - 610 files changed, 75602 deletions(-) delete mode 100755 StoneIsland/platforms/android/.gitignore delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/cache.properties delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/cache.properties.lock delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/fileHashes.bin delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/fileSnapshots.bin delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/fileSnapshotsToTreeSnapshotsIndex.bin delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/taskArtifacts.bin delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin delete mode 100644 StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock delete mode 100755 StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties delete mode 100755 StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties.lock delete mode 100755 StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/fileHashes.bin delete mode 100755 StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/fileSnapshots.bin delete mode 100755 StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/outputFileStates.bin delete mode 100755 StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/taskArtifacts.bin delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/fileHashes.bin delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/fileSnapshots.bin delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/taskArtifacts.bin delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/taskArtifacts.lock delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin delete mode 100644 StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock delete mode 100644 StoneIsland/platforms/android/.idea/compiler.xml delete mode 100644 StoneIsland/platforms/android/.idea/copyright/profiles_settings.xml delete mode 100644 StoneIsland/platforms/android/.idea/gradle.xml delete mode 100644 StoneIsland/platforms/android/.idea/libraries/ShortcutBadger_1_1_11.xml delete mode 100644 StoneIsland/platforms/android/.idea/libraries/play_services_base_9_8_0.xml delete mode 100644 StoneIsland/platforms/android/.idea/libraries/play_services_basement_9_8_0.xml delete mode 100644 StoneIsland/platforms/android/.idea/libraries/play_services_gcm_9_8_0.xml delete mode 100644 StoneIsland/platforms/android/.idea/libraries/play_services_iid_9_8_0.xml delete mode 100644 StoneIsland/platforms/android/.idea/libraries/play_services_tasks_9_8_0.xml delete mode 100644 StoneIsland/platforms/android/.idea/libraries/support_annotations_24_0_0.xml delete mode 100644 StoneIsland/platforms/android/.idea/libraries/support_v13_23_4_0.xml delete mode 100644 StoneIsland/platforms/android/.idea/libraries/support_v4_24_0_0.xml delete mode 100644 StoneIsland/platforms/android/.idea/misc.xml delete mode 100644 StoneIsland/platforms/android/.idea/modules.xml delete mode 100644 StoneIsland/platforms/android/.idea/runConfigurations.xml delete mode 100644 StoneIsland/platforms/android/.idea/workspace.xml delete mode 100755 StoneIsland/platforms/android/AndroidManifest.xml delete mode 100755 StoneIsland/platforms/android/CordovaLib/AndroidManifest.xml delete mode 100644 StoneIsland/platforms/android/CordovaLib/CordovaLib.iml delete mode 100644 StoneIsland/platforms/android/CordovaLib/build.gradle delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/generated/source/buildConfig/debug/org/apache/cordova/BuildConfig.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/generated/source/buildConfig/release/org/apache/cordova/BuildConfig.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/debug/AndroidManifest.xml delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/debug/classes.jar delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/release/AndroidManifest.xml delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/release/classes.jar delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/AuthenticationToken.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/BuildConfig.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CallbackContext.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CallbackMap.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/Config.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ConfigXmlParser.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$2.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$3.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$4$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$4.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaArgs.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaBridge.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaClientCertRequest.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$2.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$3.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$4.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$5.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$6.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$7.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$8.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$9.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$Result.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaHttpAuthHandler.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaInterface.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaInterfaceImpl$ActivityResultHolder.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaInterfaceImpl.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaPlugin.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaPreferences.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaResourceApi$OpenForReadResult.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaResourceApi.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebView.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewEngine$Client.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewEngine$EngineView.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewEngine.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$2.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$3.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$EngineClient$1$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$EngineClient$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$EngineClient.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$2.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$3.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$4.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$5.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ExposedJsApi.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ICordovaClientCertRequest.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ICordovaCookieManager.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ICordovaHttpAuthHandler.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/LOG.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$BridgeMode.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$JsMessage.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$NoOpBridgeMode.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$2.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$OnlineEventsBridgeModeDelegate.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginEntry.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginManager.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginResult$Status.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginResult.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ResumeCallback.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/Whitelist$URLPattern.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/Whitelist.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemCookieManager.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemExposedJsApi.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$2.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$3.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$4.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$5.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebView.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewClient.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewEngine$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewEngine$2.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewEngine.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/AuthenticationToken.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/BuildConfig.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CallbackContext.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CallbackMap.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Config.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ConfigXmlParser.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$2.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$3.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$4$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$4.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaArgs.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaBridge.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaClientCertRequest.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$2.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$3.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$4.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$5.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$6.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$7.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$8.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$9.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$Result.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaHttpAuthHandler.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterface.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterfaceImpl$ActivityResultHolder.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterfaceImpl.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaPlugin.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaPreferences.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaResourceApi$OpenForReadResult.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaResourceApi.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebView.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine$Client.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine$EngineView.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$2.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$3.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient$1$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$2.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$3.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$4.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$5.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ExposedJsApi.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaClientCertRequest.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaCookieManager.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaHttpAuthHandler.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/LOG.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$BridgeMode.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$JsMessage.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$NoOpBridgeMode.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$2.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$OnlineEventsBridgeModeDelegate.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginEntry.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginManager.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginResult$Status.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginResult.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ResumeCallback.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Whitelist$URLPattern.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Whitelist.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemCookieManager.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemExposedJsApi.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$2.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$3.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$4.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$5.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebView.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewClient.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine$1.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine$2.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine.class delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental-safeguard/debug/tag.txt delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental-safeguard/release/tag.txt delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/compileDebugAidl/dependency.store delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/compileReleaseAidl/dependency.store delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugAssets/merger.xml delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugShaders/merger.xml delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseAssets/merger.xml delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseJniLibFolders/merger.xml delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseShaders/merger.xml delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/compile-file-map.properties delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/merger.xml delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageReleaseResources/compile-file-map.properties delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageReleaseResources/merger.xml delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/manifests/aapt/debug/AndroidManifest.xml delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/intermediates/manifests/aapt/release/AndroidManifest.xml delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/outputs/aar/CordovaLib-debug.aar delete mode 100644 StoneIsland/platforms/android/CordovaLib/build/outputs/aar/CordovaLib-release.aar delete mode 100644 StoneIsland/platforms/android/CordovaLib/cordova.gradle delete mode 100644 StoneIsland/platforms/android/CordovaLib/project.properties delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/AuthenticationToken.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CallbackContext.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CallbackMap.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/Config.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/ConfigXmlParser.java delete mode 100755 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaActivity.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaArgs.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaBridge.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaClientCertRequest.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaDialogsHelper.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaHttpAuthHandler.java delete mode 100755 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaInterface.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaInterfaceImpl.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaPlugin.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaPreferences.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaResourceApi.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaWebView.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaWebViewEngine.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaWebViewImpl.java delete mode 100755 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CoreAndroid.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/ExposedJsApi.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/ICordovaClientCertRequest.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/ICordovaCookieManager.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/ICordovaHttpAuthHandler.java delete mode 100755 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/LOG.java delete mode 100755 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/NativeToJsMessageQueue.java delete mode 100755 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/PluginEntry.java delete mode 100755 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/PluginManager.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/PluginResult.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/ResumeCallback.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/Whitelist.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemCookieManager.java delete mode 100755 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemExposedJsApi.java delete mode 100755 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebChromeClient.java delete mode 100644 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebView.java delete mode 100755 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebViewClient.java delete mode 100755 StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/engine/SystemWebViewEngine.java delete mode 100644 StoneIsland/platforms/android/android.iml delete mode 100755 StoneIsland/platforms/android/android.json delete mode 100644 StoneIsland/platforms/android/assets/www/cordova-js-src/android/nativeapiprovider.js delete mode 100644 StoneIsland/platforms/android/assets/www/cordova-js-src/android/promptbasednativeapi.js delete mode 100644 StoneIsland/platforms/android/assets/www/cordova-js-src/exec.js delete mode 100644 StoneIsland/platforms/android/assets/www/cordova-js-src/platform.js delete mode 100644 StoneIsland/platforms/android/assets/www/cordova-js-src/plugin/android/app.js delete mode 100644 StoneIsland/platforms/android/assets/www/cordova.js delete mode 100755 StoneIsland/platforms/android/assets/www/cordova_plugins.js delete mode 100755 StoneIsland/platforms/android/assets/www/css/account.css delete mode 100755 StoneIsland/platforms/android/assets/www/css/blogs.css delete mode 100755 StoneIsland/platforms/android/assets/www/css/cart.css delete mode 100755 StoneIsland/platforms/android/assets/www/css/fonts/andale_mono.ttf delete mode 100755 StoneIsland/platforms/android/assets/www/css/fonts/andale_mono.woff delete mode 100755 StoneIsland/platforms/android/assets/www/css/fonts/fonts.css delete mode 100755 StoneIsland/platforms/android/assets/www/css/fonts/ionicons.css delete mode 100755 StoneIsland/platforms/android/assets/www/css/fonts/ionicons.eot delete mode 100755 StoneIsland/platforms/android/assets/www/css/fonts/ionicons.svg delete mode 100755 StoneIsland/platforms/android/assets/www/css/fonts/ionicons.ttf delete mode 100755 StoneIsland/platforms/android/assets/www/css/fonts/ionicons.woff delete mode 100755 StoneIsland/platforms/android/assets/www/css/fonts/pfdintextpro-bold-webfont.woff delete mode 100755 StoneIsland/platforms/android/assets/www/css/fonts/pfdintextpro-italic-webfont.woff delete mode 100755 StoneIsland/platforms/android/assets/www/css/fonts/pfdintextpro-light-webfont.woff delete mode 100755 StoneIsland/platforms/android/assets/www/css/fonts/pfdintextpro-medium-webfont.woff delete mode 100755 StoneIsland/platforms/android/assets/www/css/fonts/pfdintextpro-regular-webfont.woff delete mode 100755 StoneIsland/platforms/android/assets/www/css/index.css delete mode 100755 StoneIsland/platforms/android/assets/www/css/nav.css delete mode 100755 StoneIsland/platforms/android/assets/www/css/products.css delete mode 100755 StoneIsland/platforms/android/assets/www/css/vendor/flickity.css delete mode 100644 StoneIsland/platforms/android/assets/www/css/vendor/imageviewer.css delete mode 100644 StoneIsland/platforms/android/assets/www/db.json delete mode 100755 StoneIsland/platforms/android/assets/www/img/Resources/CDVNotification.bundle/beep.wav delete mode 100755 StoneIsland/platforms/android/assets/www/img/Resources/splash/Default-568h@2x~iphone.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/Resources/splash/Default-667h.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/Resources/splash/Default-736h.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/Resources/splash/Default-Landscape-736h.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/Resources/splash/Default-Landscape@2x~ipad.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/Resources/splash/Default-Landscape~ipad.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/Resources/splash/Default-Portrait@2x~ipad.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/Resources/splash/Default-Portrait~ipad.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/Resources/splash/Default@2x~iphone.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/Resources/splash/Default~iphone.png delete mode 100644 StoneIsland/platforms/android/assets/www/img/angle-down.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/bottom-fade.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/cart-box.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/cart-handle.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/compass-logo.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/compass-logo.png.old delete mode 100755 StoneIsland/platforms/android/assets/www/img/fade-to-bottom-threshold.gif delete mode 100755 StoneIsland/platforms/android/assets/www/img/fade-to-bottom.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/left-arrow.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/right-arrow.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/small-cart-box.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/small-cart-handle.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/small-logo.png delete mode 100755 StoneIsland/platforms/android/assets/www/img/spinner.gif delete mode 100755 StoneIsland/platforms/android/assets/www/img/wide-logo.png delete mode 100755 StoneIsland/platforms/android/assets/www/index.html delete mode 100755 StoneIsland/platforms/android/assets/www/js/index.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/_router.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/account/AccountView.js delete mode 100644 StoneIsland/platforms/android/assets/www/js/lib/account/ConsentModal.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/account/OrdersView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/account/PaymentView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/account/ProfileView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/account/SettingsView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/account/ShippingView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/auth/LoginView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/auth/LogoutView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/blogs/ArchiveView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/blogs/BlogView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/blogs/HubView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/blogs/PageView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/blogs/StoryView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/cart/CartConfirm.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/cart/CartError.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/cart/CartPayment.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/cart/CartShipping.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/cart/CartSummary.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/cart/CartThanks.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/cart/CartView.js delete mode 100644 StoneIsland/platforms/android/assets/www/js/lib/etc/accessibility.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/etc/backup_db.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/etc/deeplink.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/etc/geo.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/etc/push.js delete mode 100644 StoneIsland/platforms/android/assets/www/js/lib/etc/scroll.js delete mode 100644 StoneIsland/platforms/android/assets/www/js/lib/etc/sim.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/nav/AddressView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/nav/CreditCardView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/nav/CurtainView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/nav/FooterView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/nav/HeaderView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/nav/IntroView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/nav/NavView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/nav/SearchView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/products/ClosedStoreView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/products/CollectionView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/products/GalleryView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/products/ProductView.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/products/Selector.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/products/filters/CategoryFilter.js delete mode 100644 StoneIsland/platforms/android/assets/www/js/lib/products/filters/DepartmentFilter.js delete mode 100644 StoneIsland/platforms/android/assets/www/js/lib/products/filters/SizeFilter.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/view/Router.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/view/Scrollable.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/view/Serializable.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/lib/view/View.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/sdk/_sdk.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/sdk/account.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/sdk/address.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/sdk/auth.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/sdk/cart.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/sdk/payment.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/sdk/product.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/sdk/shipping.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/vendor/fastclick.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/vendor/flickity.pkgd.js delete mode 100644 StoneIsland/platforms/android/assets/www/js/vendor/imageviewer.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/vendor/iscroll-5.1.3.js delete mode 100644 StoneIsland/platforms/android/assets/www/js/vendor/iscroll.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/vendor/jquery-2.1.4.min.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/vendor/jquery.creditCardValidator.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/vendor/loader.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/vendor/lodash.min.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/vendor/moment.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/vendor/oktween.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/vendor/prefixfree.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/vendor/promise.js delete mode 100755 StoneIsland/platforms/android/assets/www/js/vendor/util.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/com.phonegap.plugin.mobile-accessibility/android/AndroidVox_v1.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/com.phonegap.plugin.mobile-accessibility/android/chromeandroidvox.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/cordova-plugin-customurlscheme/www/android/LaunchMyApp.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/cordova-plugin-device/www/device.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/cordova-plugin-dialogs/www/android/notification.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/cordova-plugin-dialogs/www/notification.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/cordova-plugin-geolocation/www/PositionError.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/cordova-plugin-geolocation/www/android/geolocation.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/cordova-plugin-inappbrowser/www/inappbrowser.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/cordova-plugin-network-information/www/Connection.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/cordova-plugin-network-information/www/network.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/cordova-plugin-sim/www/android/sim.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/cordova-plugin-sim/www/sim.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/cordova-plugin-splashscreen/www/splashscreen.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/cordova-plugin-statusbar/www/statusbar.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/cordova-plugin-x-socialsharing/www/SocialSharing.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/ionic-plugin-keyboard/www/android/keyboard.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/phonegap-plugin-mobile-accessibility/www/MobileAccessibilityNotifications.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/phonegap-plugin-mobile-accessibility/www/mobile-accessibility.js delete mode 100644 StoneIsland/platforms/android/assets/www/plugins/phonegap-plugin-push/www/push.js delete mode 100644 StoneIsland/platforms/android/build.gradle delete mode 100644 StoneIsland/platforms/android/cordova/.jshintrc delete mode 100644 StoneIsland/platforms/android/cordova/Api.js delete mode 100755 StoneIsland/platforms/android/cordova/android_sdk_version delete mode 100644 StoneIsland/platforms/android/cordova/android_sdk_version.bat delete mode 100755 StoneIsland/platforms/android/cordova/build delete mode 100644 StoneIsland/platforms/android/cordova/build.bat delete mode 100755 StoneIsland/platforms/android/cordova/check_reqs delete mode 100644 StoneIsland/platforms/android/cordova/check_reqs.bat delete mode 100755 StoneIsland/platforms/android/cordova/clean delete mode 100644 StoneIsland/platforms/android/cordova/clean.bat delete mode 100644 StoneIsland/platforms/android/cordova/defaults.xml delete mode 100644 StoneIsland/platforms/android/cordova/lib/Adb.js delete mode 100644 StoneIsland/platforms/android/cordova/lib/AndroidManifest.js delete mode 100644 StoneIsland/platforms/android/cordova/lib/AndroidProject.js delete mode 100644 StoneIsland/platforms/android/cordova/lib/AndroidStudio.js delete mode 100755 StoneIsland/platforms/android/cordova/lib/android_sdk.js delete mode 100644 StoneIsland/platforms/android/cordova/lib/build.js delete mode 100644 StoneIsland/platforms/android/cordova/lib/builders/AntBuilder.js delete mode 100644 StoneIsland/platforms/android/cordova/lib/builders/GenericBuilder.js delete mode 100644 StoneIsland/platforms/android/cordova/lib/builders/GradleBuilder.js delete mode 100644 StoneIsland/platforms/android/cordova/lib/builders/builders.js delete mode 100644 StoneIsland/platforms/android/cordova/lib/check_reqs.js delete mode 100644 StoneIsland/platforms/android/cordova/lib/device.js delete mode 100644 StoneIsland/platforms/android/cordova/lib/emulator.js delete mode 100755 StoneIsland/platforms/android/cordova/lib/install-device delete mode 100644 StoneIsland/platforms/android/cordova/lib/install-device.bat delete mode 100755 StoneIsland/platforms/android/cordova/lib/install-emulator delete mode 100644 StoneIsland/platforms/android/cordova/lib/install-emulator.bat delete mode 100755 StoneIsland/platforms/android/cordova/lib/list-devices delete mode 100644 StoneIsland/platforms/android/cordova/lib/list-devices.bat delete mode 100755 StoneIsland/platforms/android/cordova/lib/list-emulator-images delete mode 100644 StoneIsland/platforms/android/cordova/lib/list-emulator-images.bat delete mode 100755 StoneIsland/platforms/android/cordova/lib/list-started-emulators delete mode 100644 StoneIsland/platforms/android/cordova/lib/list-started-emulators.bat delete mode 100644 StoneIsland/platforms/android/cordova/lib/log.js delete mode 100644 StoneIsland/platforms/android/cordova/lib/plugin-build.gradle delete mode 100644 StoneIsland/platforms/android/cordova/lib/pluginHandlers.js delete mode 100644 StoneIsland/platforms/android/cordova/lib/prepare.js delete mode 100644 StoneIsland/platforms/android/cordova/lib/retry.js delete mode 100644 StoneIsland/platforms/android/cordova/lib/run.js delete mode 100755 StoneIsland/platforms/android/cordova/lib/start-emulator delete mode 100644 StoneIsland/platforms/android/cordova/lib/start-emulator.bat delete mode 100755 StoneIsland/platforms/android/cordova/log delete mode 100644 StoneIsland/platforms/android/cordova/log.bat delete mode 100644 StoneIsland/platforms/android/cordova/loggingHelper.js delete mode 100755 StoneIsland/platforms/android/cordova/run delete mode 100644 StoneIsland/platforms/android/cordova/run.bat delete mode 100755 StoneIsland/platforms/android/cordova/version delete mode 100644 StoneIsland/platforms/android/cordova/version.bat delete mode 100644 StoneIsland/platforms/android/phonegap-plugin-push/stoneisland-push.gradle delete mode 100644 StoneIsland/platforms/android/platform_www/cordova-js-src/android/nativeapiprovider.js delete mode 100644 StoneIsland/platforms/android/platform_www/cordova-js-src/android/promptbasednativeapi.js delete mode 100644 StoneIsland/platforms/android/platform_www/cordova-js-src/exec.js delete mode 100644 StoneIsland/platforms/android/platform_www/cordova-js-src/platform.js delete mode 100644 StoneIsland/platforms/android/platform_www/cordova-js-src/plugin/android/app.js delete mode 100644 StoneIsland/platforms/android/platform_www/cordova.js delete mode 100755 StoneIsland/platforms/android/platform_www/cordova_plugins.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/com.phonegap.plugin.mobile-accessibility/android/AndroidVox_v1.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/com.phonegap.plugin.mobile-accessibility/android/chromeandroidvox.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/cordova-plugin-customurlscheme/www/android/LaunchMyApp.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/cordova-plugin-device/www/device.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/cordova-plugin-dialogs/www/android/notification.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/cordova-plugin-dialogs/www/notification.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/cordova-plugin-geolocation/www/PositionError.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/cordova-plugin-geolocation/www/android/geolocation.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/cordova-plugin-inappbrowser/www/inappbrowser.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/cordova-plugin-network-information/www/Connection.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/cordova-plugin-network-information/www/network.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/cordova-plugin-sim/www/android/sim.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/cordova-plugin-sim/www/sim.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/cordova-plugin-splashscreen/www/splashscreen.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/cordova-plugin-statusbar/www/statusbar.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/cordova-plugin-x-socialsharing/www/SocialSharing.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/ionic-plugin-keyboard/www/android/keyboard.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/phonegap-plugin-mobile-accessibility/www/MobileAccessibilityNotifications.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/phonegap-plugin-mobile-accessibility/www/mobile-accessibility.js delete mode 100644 StoneIsland/platforms/android/platform_www/plugins/phonegap-plugin-push/www/push.js delete mode 100755 StoneIsland/platforms/android/project.properties delete mode 100644 StoneIsland/platforms/android/res/drawable-hdpi/ic_action_next_item.png delete mode 100644 StoneIsland/platforms/android/res/drawable-hdpi/ic_action_previous_item.png delete mode 100644 StoneIsland/platforms/android/res/drawable-hdpi/ic_action_remove.png delete mode 100755 StoneIsland/platforms/android/res/drawable-hdpi/icon.png delete mode 100755 StoneIsland/platforms/android/res/drawable-land-hdpi/screen.png delete mode 100755 StoneIsland/platforms/android/res/drawable-land-ldpi/screen.png delete mode 100755 StoneIsland/platforms/android/res/drawable-land-mdpi/screen.png delete mode 100755 StoneIsland/platforms/android/res/drawable-land-xhdpi/screen.png delete mode 100644 StoneIsland/platforms/android/res/drawable-land-xxhdpi/screen.png delete mode 100644 StoneIsland/platforms/android/res/drawable-land-xxxhdpi/screen.png delete mode 100755 StoneIsland/platforms/android/res/drawable-ldpi/icon.png delete mode 100644 StoneIsland/platforms/android/res/drawable-mdpi/ic_action_next_item.png delete mode 100644 StoneIsland/platforms/android/res/drawable-mdpi/ic_action_previous_item.png delete mode 100644 StoneIsland/platforms/android/res/drawable-mdpi/ic_action_remove.png delete mode 100755 StoneIsland/platforms/android/res/drawable-mdpi/icon.png delete mode 100755 StoneIsland/platforms/android/res/drawable-port-hdpi/screen.png delete mode 100755 StoneIsland/platforms/android/res/drawable-port-ldpi/screen.png delete mode 100755 StoneIsland/platforms/android/res/drawable-port-mdpi/screen.png delete mode 100755 StoneIsland/platforms/android/res/drawable-port-xhdpi/screen.png delete mode 100644 StoneIsland/platforms/android/res/drawable-port-xxhdpi/screen.png delete mode 100644 StoneIsland/platforms/android/res/drawable-port-xxxhdpi/screen.png delete mode 100644 StoneIsland/platforms/android/res/drawable-xhdpi/ic_action_next_item.png delete mode 100644 StoneIsland/platforms/android/res/drawable-xhdpi/ic_action_previous_item.png delete mode 100644 StoneIsland/platforms/android/res/drawable-xhdpi/ic_action_remove.png delete mode 100755 StoneIsland/platforms/android/res/drawable-xhdpi/icon.png delete mode 100644 StoneIsland/platforms/android/res/drawable-xxhdpi/ic_action_next_item.png delete mode 100644 StoneIsland/platforms/android/res/drawable-xxhdpi/ic_action_previous_item.png delete mode 100644 StoneIsland/platforms/android/res/drawable-xxhdpi/ic_action_remove.png delete mode 100644 StoneIsland/platforms/android/res/drawable-xxhdpi/icon.png delete mode 100644 StoneIsland/platforms/android/res/drawable-xxxhdpi/icon.png delete mode 100644 StoneIsland/platforms/android/res/drawable/icon.png delete mode 100644 StoneIsland/platforms/android/res/mipmap-hdpi/icon.png delete mode 100644 StoneIsland/platforms/android/res/mipmap-ldpi/icon.png delete mode 100644 StoneIsland/platforms/android/res/mipmap-mdpi/icon.png delete mode 100644 StoneIsland/platforms/android/res/mipmap-xhdpi/icon.png delete mode 100644 StoneIsland/platforms/android/res/mipmap-xxhdpi/icon.png delete mode 100644 StoneIsland/platforms/android/res/mipmap-xxxhdpi/icon.png delete mode 100755 StoneIsland/platforms/android/res/values/strings.xml delete mode 100644 StoneIsland/platforms/android/res/xml/config.xml delete mode 100755 StoneIsland/platforms/android/settings.gradle delete mode 100644 StoneIsland/platforms/android/src/com/adobe/phonegap/push/BackgroundActionButtonHandler.java delete mode 100644 StoneIsland/platforms/android/src/com/adobe/phonegap/push/GCMIntentService.java delete mode 100644 StoneIsland/platforms/android/src/com/adobe/phonegap/push/PermissionUtils.java delete mode 100644 StoneIsland/platforms/android/src/com/adobe/phonegap/push/PushConstants.java delete mode 100644 StoneIsland/platforms/android/src/com/adobe/phonegap/push/PushHandlerActivity.java delete mode 100644 StoneIsland/platforms/android/src/com/adobe/phonegap/push/PushInstanceIDListenerService.java delete mode 100644 StoneIsland/platforms/android/src/com/adobe/phonegap/push/PushPlugin.java delete mode 100644 StoneIsland/platforms/android/src/com/adobe/phonegap/push/RegistrationIntentService.java delete mode 100644 StoneIsland/platforms/android/src/com/pbakondy/Sim.java delete mode 100644 StoneIsland/platforms/android/src/com/phonegap/plugin/mobileaccessibility/AbstractMobileAccessibilityHelper.java delete mode 100644 StoneIsland/platforms/android/src/com/phonegap/plugin/mobileaccessibility/DonutMobileAccessibilityHelper.java delete mode 100644 StoneIsland/platforms/android/src/com/phonegap/plugin/mobileaccessibility/IceCreamSandwichMobileAccessibilityHelper.java delete mode 100644 StoneIsland/platforms/android/src/com/phonegap/plugin/mobileaccessibility/JellyBeanMobileAccessibilityHelper.java delete mode 100644 StoneIsland/platforms/android/src/com/phonegap/plugin/mobileaccessibility/KitKatMobileAccessibilityHelper.java delete mode 100644 StoneIsland/platforms/android/src/com/phonegap/plugin/mobileaccessibility/MobileAccessibility.java delete mode 100644 StoneIsland/platforms/android/src/io/ionic/keyboard/IonicKeyboard.java delete mode 100644 StoneIsland/platforms/android/src/nl/xservices/plugins/LaunchMyApp.java delete mode 100644 StoneIsland/platforms/android/src/nl/xservices/plugins/SocialSharing.java delete mode 100644 StoneIsland/platforms/android/src/org/apache/cordova/BuildHelper.java delete mode 100644 StoneIsland/platforms/android/src/org/apache/cordova/PermissionHelper.java delete mode 100644 StoneIsland/platforms/android/src/org/apache/cordova/device/Device.java delete mode 100644 StoneIsland/platforms/android/src/org/apache/cordova/dialogs/Notification.java delete mode 100644 StoneIsland/platforms/android/src/org/apache/cordova/geolocation/Geolocation.java delete mode 100644 StoneIsland/platforms/android/src/org/apache/cordova/inappbrowser/InAppBrowser.java delete mode 100644 StoneIsland/platforms/android/src/org/apache/cordova/inappbrowser/InAppBrowserDialog.java delete mode 100644 StoneIsland/platforms/android/src/org/apache/cordova/inappbrowser/InAppChromeClient.java delete mode 100755 StoneIsland/platforms/android/src/org/apache/cordova/networkinformation/NetworkManager.java delete mode 100644 StoneIsland/platforms/android/src/org/apache/cordova/splashscreen/SplashScreen.java delete mode 100644 StoneIsland/platforms/android/src/org/apache/cordova/statusbar/StatusBar.java delete mode 100644 StoneIsland/platforms/android/src/org/apache/cordova/whitelist/WhitelistPlugin.java delete mode 100755 StoneIsland/platforms/android/src/us/okfoc/stoneisland/MainActivity.java delete mode 100644 StoneIsland/platforms/android/wrapper.gradle (limited to 'StoneIsland/platforms/android') diff --git a/StoneIsland/platforms/android/.gitignore b/StoneIsland/platforms/android/.gitignore deleted file mode 100755 index 6e524459..00000000 --- a/StoneIsland/platforms/android/.gitignore +++ /dev/null @@ -1,14 +0,0 @@ -# Non-project-specific build files: -build.xml -local.properties -/gradlew -/gradlew.bat -/gradle -# Ant builds -ant-build -ant-gen -# Eclipse builds -gen -out -# Gradle builds -/build diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/cache.properties b/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/cache.properties deleted file mode 100644 index 9b4af36e..00000000 --- a/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/cache.properties +++ /dev/null @@ -1 +0,0 @@ -#Thu Mar 02 23:45:31 CET 2017 diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/cache.properties.lock b/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/cache.properties.lock deleted file mode 100644 index 69aed35e..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/cache.properties.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/fileHashes.bin b/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/fileHashes.bin deleted file mode 100644 index 45ba7620..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/fileHashes.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/fileSnapshots.bin b/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/fileSnapshots.bin deleted file mode 100644 index 6dc2f62e..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/fileSnapshots.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/fileSnapshotsToTreeSnapshotsIndex.bin b/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/fileSnapshotsToTreeSnapshotsIndex.bin deleted file mode 100644 index fb3af1c3..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/fileSnapshotsToTreeSnapshotsIndex.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/taskArtifacts.bin b/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/taskArtifacts.bin deleted file mode 100644 index 8eeaef09..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/taskArtifacts/taskArtifacts.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin deleted file mode 100644 index 4a2afda8..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock deleted file mode 100644 index a8ffa97e..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin deleted file mode 100644 index eb29afb1..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock deleted file mode 100644 index 8cd3a403..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin deleted file mode 100644 index 4a2afda8..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock deleted file mode 100644 index 02b74ffc..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin deleted file mode 100644 index eb29afb1..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock deleted file mode 100644 index 8e42c8c0..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin deleted file mode 100644 index 4a51332a..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock deleted file mode 100644 index e0d404eb..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin deleted file mode 100644 index a9c6a5fa..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock deleted file mode 100644 index 76076136..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin deleted file mode 100644 index 4a51332a..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock deleted file mode 100644 index 0c3093de..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin deleted file mode 100644 index 9edafb2f..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock b/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock deleted file mode 100644 index 6a341aa5..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.14.1/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties b/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties deleted file mode 100755 index 378a9612..00000000 --- a/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties +++ /dev/null @@ -1 +0,0 @@ -#Tue Dec 29 00:15:00 CST 2015 diff --git a/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties.lock b/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties.lock deleted file mode 100755 index eefa2205..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/cache.properties.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/fileHashes.bin b/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/fileHashes.bin deleted file mode 100755 index 1b044ece..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/fileHashes.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/fileSnapshots.bin b/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/fileSnapshots.bin deleted file mode 100755 index 45955f6e..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/fileSnapshots.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/outputFileStates.bin b/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/outputFileStates.bin deleted file mode 100755 index bd8c4043..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/outputFileStates.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/taskArtifacts.bin b/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/taskArtifacts.bin deleted file mode 100755 index 4b42afed..00000000 Binary files a/StoneIsland/platforms/android/.gradle/2.2.1/taskArtifacts/taskArtifacts.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/fileHashes.bin b/StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/fileHashes.bin deleted file mode 100644 index fbc77f3a..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/fileHashes.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/fileSnapshots.bin b/StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/fileSnapshots.bin deleted file mode 100644 index 7288e2f3..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/fileSnapshots.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/taskArtifacts.bin b/StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/taskArtifacts.bin deleted file mode 100644 index 5dce2d6f..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/taskArtifacts.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/taskArtifacts.lock b/StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/taskArtifacts.lock deleted file mode 100644 index ece2358e..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/taskArtifacts/taskArtifacts.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin b/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin deleted file mode 100644 index caceec07..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock b/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock deleted file mode 100644 index 304f2a81..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin b/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin deleted file mode 100644 index 32949413..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock b/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock deleted file mode 100644 index 66d8e793..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin b/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin deleted file mode 100644 index caceec07..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock b/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock deleted file mode 100644 index 642602fc..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin b/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin deleted file mode 100644 index 32949413..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock b/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock deleted file mode 100644 index 831cb889..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_CordovaLib_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin b/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin deleted file mode 100644 index 829a44a1..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock b/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock deleted file mode 100644 index 9846179a..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin b/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin deleted file mode 100644 index 39d2299c..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock b/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock deleted file mode 100644 index 0e3369e0..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin b/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin deleted file mode 100644 index 829a44a1..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock b/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock deleted file mode 100644 index 1ed23d39..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin b/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin deleted file mode 100644 index 5fab83aa..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin and /dev/null differ diff --git a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock b/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock deleted file mode 100644 index 1be520bb..00000000 Binary files a/StoneIsland/platforms/android/.gradle/3.3/tasks/_compileReleaseJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock and /dev/null differ diff --git a/StoneIsland/platforms/android/.idea/compiler.xml b/StoneIsland/platforms/android/.idea/compiler.xml deleted file mode 100644 index 96cc43ef..00000000 --- a/StoneIsland/platforms/android/.idea/compiler.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/.idea/copyright/profiles_settings.xml b/StoneIsland/platforms/android/.idea/copyright/profiles_settings.xml deleted file mode 100644 index e7bedf33..00000000 --- a/StoneIsland/platforms/android/.idea/copyright/profiles_settings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/.idea/gradle.xml b/StoneIsland/platforms/android/.idea/gradle.xml deleted file mode 100644 index e3e5ad54..00000000 --- a/StoneIsland/platforms/android/.idea/gradle.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/.idea/libraries/ShortcutBadger_1_1_11.xml b/StoneIsland/platforms/android/.idea/libraries/ShortcutBadger_1_1_11.xml deleted file mode 100644 index 40e00fe9..00000000 --- a/StoneIsland/platforms/android/.idea/libraries/ShortcutBadger_1_1_11.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/.idea/libraries/play_services_base_9_8_0.xml b/StoneIsland/platforms/android/.idea/libraries/play_services_base_9_8_0.xml deleted file mode 100644 index c8e3f017..00000000 --- a/StoneIsland/platforms/android/.idea/libraries/play_services_base_9_8_0.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/.idea/libraries/play_services_basement_9_8_0.xml b/StoneIsland/platforms/android/.idea/libraries/play_services_basement_9_8_0.xml deleted file mode 100644 index a525e3fd..00000000 --- a/StoneIsland/platforms/android/.idea/libraries/play_services_basement_9_8_0.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/.idea/libraries/play_services_gcm_9_8_0.xml b/StoneIsland/platforms/android/.idea/libraries/play_services_gcm_9_8_0.xml deleted file mode 100644 index 2b6e11fb..00000000 --- a/StoneIsland/platforms/android/.idea/libraries/play_services_gcm_9_8_0.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/.idea/libraries/play_services_iid_9_8_0.xml b/StoneIsland/platforms/android/.idea/libraries/play_services_iid_9_8_0.xml deleted file mode 100644 index 75de45d6..00000000 --- a/StoneIsland/platforms/android/.idea/libraries/play_services_iid_9_8_0.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/.idea/libraries/play_services_tasks_9_8_0.xml b/StoneIsland/platforms/android/.idea/libraries/play_services_tasks_9_8_0.xml deleted file mode 100644 index 9a273f1b..00000000 --- a/StoneIsland/platforms/android/.idea/libraries/play_services_tasks_9_8_0.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/.idea/libraries/support_annotations_24_0_0.xml b/StoneIsland/platforms/android/.idea/libraries/support_annotations_24_0_0.xml deleted file mode 100644 index 959d7c16..00000000 --- a/StoneIsland/platforms/android/.idea/libraries/support_annotations_24_0_0.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/.idea/libraries/support_v13_23_4_0.xml b/StoneIsland/platforms/android/.idea/libraries/support_v13_23_4_0.xml deleted file mode 100644 index 337f32a1..00000000 --- a/StoneIsland/platforms/android/.idea/libraries/support_v13_23_4_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/.idea/libraries/support_v4_24_0_0.xml b/StoneIsland/platforms/android/.idea/libraries/support_v4_24_0_0.xml deleted file mode 100644 index ff7623ec..00000000 --- a/StoneIsland/platforms/android/.idea/libraries/support_v4_24_0_0.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/.idea/misc.xml b/StoneIsland/platforms/android/.idea/misc.xml deleted file mode 100644 index 3368772a..00000000 --- a/StoneIsland/platforms/android/.idea/misc.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/.idea/modules.xml b/StoneIsland/platforms/android/.idea/modules.xml deleted file mode 100644 index 4d9445df..00000000 --- a/StoneIsland/platforms/android/.idea/modules.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/.idea/runConfigurations.xml b/StoneIsland/platforms/android/.idea/runConfigurations.xml deleted file mode 100644 index 7f68460d..00000000 --- a/StoneIsland/platforms/android/.idea/runConfigurations.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/.idea/workspace.xml b/StoneIsland/platforms/android/.idea/workspace.xml deleted file mode 100644 index 8f95a3f9..00000000 --- a/StoneIsland/platforms/android/.idea/workspace.xml +++ /dev/null @@ -1,2056 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1488494890976 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/AndroidManifest.xml b/StoneIsland/platforms/android/AndroidManifest.xml deleted file mode 100755 index e5232423..00000000 --- a/StoneIsland/platforms/android/AndroidManifest.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/StoneIsland/platforms/android/CordovaLib/AndroidManifest.xml b/StoneIsland/platforms/android/CordovaLib/AndroidManifest.xml deleted file mode 100755 index 3feb903c..00000000 --- a/StoneIsland/platforms/android/CordovaLib/AndroidManifest.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - diff --git a/StoneIsland/platforms/android/CordovaLib/CordovaLib.iml b/StoneIsland/platforms/android/CordovaLib/CordovaLib.iml deleted file mode 100644 index 9064f70c..00000000 --- a/StoneIsland/platforms/android/CordovaLib/CordovaLib.iml +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/build.gradle b/StoneIsland/platforms/android/CordovaLib/build.gradle deleted file mode 100644 index da3b45bf..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build.gradle +++ /dev/null @@ -1,135 +0,0 @@ -/* Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ - -ext { - apply from: 'cordova.gradle' - cdvCompileSdkVersion = privateHelpers.getProjectTarget() - cdvBuildToolsVersion = privateHelpers.findLatestInstalledBuildTools() -} - -buildscript { - repositories { - mavenCentral() - jcenter() - } - - dependencies { - classpath 'com.android.tools.build:gradle:2.2.3' - classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' - classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3' - } -} - -apply plugin: 'com.android.library' -apply plugin: 'com.github.dcendents.android-maven' -apply plugin: 'com.jfrog.bintray' - -group = 'org.apache.cordova' -version = '6.2.3' - -android { - compileSdkVersion cdvCompileSdkVersion - buildToolsVersion cdvBuildToolsVersion - publishNonDefault true - - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_6 - targetCompatibility JavaVersion.VERSION_1_6 - } - - sourceSets { - main { - manifest.srcFile 'AndroidManifest.xml' - java.srcDirs = ['src'] - resources.srcDirs = ['src'] - aidl.srcDirs = ['src'] - renderscript.srcDirs = ['src'] - res.srcDirs = ['res'] - assets.srcDirs = ['assets'] - } - } - - packagingOptions { - exclude 'META-INF/LICENSE' - exclude 'META-INF/LICENSE.txt' - exclude 'META-INF/DEPENDENCIES' - exclude 'META-INF/NOTICE' - } -} - -install { - repositories.mavenInstaller { - pom { - project { - packaging 'aar' - name 'Cordova' - url 'https://cordova.apache.org' - licenses { - license { - name 'The Apache Software License, Version 2.0' - url 'http://www.apache.org/licenses/LICENSE-2.0.txt' - } - } - developers { - developer { - id 'stevengill' - name 'Steve Gill' - } - } - scm { - connection 'https://git-wip-us.apache.org/repos/asf?p=cordova-android.git' - developerConnection 'https://git-wip-us.apache.org/repos/asf?p=cordova-android.git' - url 'https://git-wip-us.apache.org/repos/asf?p=cordova-android' - - } - } - } - } -} - -task sourcesJar(type: Jar) { - from android.sourceSets.main.java.srcDirs - classifier = 'sources' -} - -artifacts { - archives sourcesJar -} - -bintray { - user = System.getenv('BINTRAY_USER') - key = System.getenv('BINTRAY_KEY') - configurations = ['archives'] - pkg { - repo = 'maven' - name = 'cordova-android' - userOrg = 'cordova' - licenses = ['Apache-2.0'] - vcsUrl = 'https://git-wip-us.apache.org/repos/asf?p=cordova-android.git' - websiteUrl = 'https://cordova.apache.org' - issueTrackerUrl = 'https://issues.apache.org/jira/browse/CB' - publicDownloadNumbers = true - licenses = ['Apache-2.0'] - labels = ['android', 'cordova', 'phonegap'] - version { - name = '6.2.3' - released = new Date() - vcsTag = '6.2.3' - } - } -} diff --git a/StoneIsland/platforms/android/CordovaLib/build/generated/source/buildConfig/debug/org/apache/cordova/BuildConfig.java b/StoneIsland/platforms/android/CordovaLib/build/generated/source/buildConfig/debug/org/apache/cordova/BuildConfig.java deleted file mode 100644 index f2feb906..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/generated/source/buildConfig/debug/org/apache/cordova/BuildConfig.java +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Automatically generated file. DO NOT MODIFY - */ -package org.apache.cordova; - -public final class BuildConfig { - public static final boolean DEBUG = Boolean.parseBoolean("true"); - public static final String APPLICATION_ID = "org.apache.cordova"; - public static final String BUILD_TYPE = "debug"; - public static final String FLAVOR = ""; - public static final int VERSION_CODE = 1; - public static final String VERSION_NAME = "1.0"; -} diff --git a/StoneIsland/platforms/android/CordovaLib/build/generated/source/buildConfig/release/org/apache/cordova/BuildConfig.java b/StoneIsland/platforms/android/CordovaLib/build/generated/source/buildConfig/release/org/apache/cordova/BuildConfig.java deleted file mode 100644 index 3e3c0cfe..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/generated/source/buildConfig/release/org/apache/cordova/BuildConfig.java +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Automatically generated file. DO NOT MODIFY - */ -package org.apache.cordova; - -public final class BuildConfig { - public static final boolean DEBUG = false; - public static final String APPLICATION_ID = "org.apache.cordova"; - public static final String BUILD_TYPE = "release"; - public static final String FLAVOR = ""; - public static final int VERSION_CODE = 1; - public static final String VERSION_NAME = "1.0"; -} diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/debug/AndroidManifest.xml b/StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/debug/AndroidManifest.xml deleted file mode 100644 index 90863ed8..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/debug/AndroidManifest.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/debug/classes.jar b/StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/debug/classes.jar deleted file mode 100644 index 4a99943b..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/debug/classes.jar and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/release/AndroidManifest.xml b/StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/release/AndroidManifest.xml deleted file mode 100644 index 90863ed8..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/release/AndroidManifest.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/release/classes.jar b/StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/release/classes.jar deleted file mode 100644 index 6a68a5c3..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/bundles/release/classes.jar and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/AuthenticationToken.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/AuthenticationToken.class deleted file mode 100644 index e9d51465..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/AuthenticationToken.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/BuildConfig.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/BuildConfig.class deleted file mode 100644 index 4c5619f6..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/BuildConfig.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CallbackContext.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CallbackContext.class deleted file mode 100644 index 2ee39be7..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CallbackContext.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CallbackMap.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CallbackMap.class deleted file mode 100644 index 462375d9..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CallbackMap.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/Config.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/Config.class deleted file mode 100644 index 66cb1be9..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/Config.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ConfigXmlParser.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ConfigXmlParser.class deleted file mode 100644 index 62fa0b3d..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ConfigXmlParser.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$1.class deleted file mode 100644 index c4624d15..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$2.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$2.class deleted file mode 100644 index 33738151..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$2.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$3.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$3.class deleted file mode 100644 index fabe9efa..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$3.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$4$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$4$1.class deleted file mode 100644 index 3c062db9..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$4$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$4.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$4.class deleted file mode 100644 index 76695eb5..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity$4.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity.class deleted file mode 100644 index 46a17ceb..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaActivity.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaArgs.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaArgs.class deleted file mode 100644 index 18014a39..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaArgs.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaBridge.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaBridge.class deleted file mode 100644 index c7f3f237..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaBridge.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaClientCertRequest.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaClientCertRequest.class deleted file mode 100644 index 46007d42..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaClientCertRequest.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$1.class deleted file mode 100644 index 683ff52e..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$2.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$2.class deleted file mode 100644 index c7f3d4af..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$2.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$3.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$3.class deleted file mode 100644 index 4cb4f9bc..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$3.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$4.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$4.class deleted file mode 100644 index ac24ba52..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$4.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$5.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$5.class deleted file mode 100644 index 3ab9531e..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$5.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$6.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$6.class deleted file mode 100644 index 05530d9e..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$6.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$7.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$7.class deleted file mode 100644 index 5cd2cb8c..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$7.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$8.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$8.class deleted file mode 100644 index e57fded7..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$8.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$9.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$9.class deleted file mode 100644 index 628d4627..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$9.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$Result.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$Result.class deleted file mode 100644 index c4dd9997..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper$Result.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper.class deleted file mode 100644 index fd873766..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaDialogsHelper.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaHttpAuthHandler.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaHttpAuthHandler.class deleted file mode 100644 index c912f928..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaHttpAuthHandler.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaInterface.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaInterface.class deleted file mode 100644 index b2059438..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaInterface.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaInterfaceImpl$ActivityResultHolder.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaInterfaceImpl$ActivityResultHolder.class deleted file mode 100644 index 92dae914..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaInterfaceImpl$ActivityResultHolder.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaInterfaceImpl.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaInterfaceImpl.class deleted file mode 100644 index 22ffbfe4..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaInterfaceImpl.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaPlugin.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaPlugin.class deleted file mode 100644 index d8906c9c..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaPlugin.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaPreferences.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaPreferences.class deleted file mode 100644 index ed0b3da5..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaPreferences.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaResourceApi$OpenForReadResult.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaResourceApi$OpenForReadResult.class deleted file mode 100644 index 15ab1f62..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaResourceApi$OpenForReadResult.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaResourceApi.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaResourceApi.class deleted file mode 100644 index f11f59a3..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaResourceApi.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebView.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebView.class deleted file mode 100644 index 14ca5e93..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebView.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewEngine$Client.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewEngine$Client.class deleted file mode 100644 index deb6dfda..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewEngine$Client.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewEngine$EngineView.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewEngine$EngineView.class deleted file mode 100644 index 1149bf24..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewEngine$EngineView.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewEngine.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewEngine.class deleted file mode 100644 index 7a7dcb4f..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewEngine.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$1.class deleted file mode 100644 index 4cf05bbe..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$2.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$2.class deleted file mode 100644 index af9110d2..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$2.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$3.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$3.class deleted file mode 100644 index e5c567e3..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$3.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$EngineClient$1$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$EngineClient$1$1.class deleted file mode 100644 index 1370f669..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$EngineClient$1$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$EngineClient$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$EngineClient$1.class deleted file mode 100644 index a93f9374..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$EngineClient$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$EngineClient.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$EngineClient.class deleted file mode 100644 index 4df9559c..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl$EngineClient.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl.class deleted file mode 100644 index a8921a41..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CordovaWebViewImpl.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$1.class deleted file mode 100644 index 5365b497..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$2.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$2.class deleted file mode 100644 index 7509891d..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$2.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$3.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$3.class deleted file mode 100644 index 6f01ec94..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$3.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$4.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$4.class deleted file mode 100644 index 12c2685d..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$4.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$5.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$5.class deleted file mode 100644 index 306f92b6..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid$5.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid.class deleted file mode 100644 index 324266e6..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/CoreAndroid.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ExposedJsApi.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ExposedJsApi.class deleted file mode 100644 index 6e675205..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ExposedJsApi.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ICordovaClientCertRequest.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ICordovaClientCertRequest.class deleted file mode 100644 index 18ad39ec..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ICordovaClientCertRequest.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ICordovaCookieManager.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ICordovaCookieManager.class deleted file mode 100644 index 142b69c9..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ICordovaCookieManager.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ICordovaHttpAuthHandler.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ICordovaHttpAuthHandler.class deleted file mode 100644 index ac03d2d9..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ICordovaHttpAuthHandler.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/LOG.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/LOG.class deleted file mode 100644 index 11bd8f7c..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/LOG.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$BridgeMode.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$BridgeMode.class deleted file mode 100644 index 1d25e8d1..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$BridgeMode.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode$1.class deleted file mode 100644 index 9f380c55..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode.class deleted file mode 100644 index 8bae598b..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$JsMessage.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$JsMessage.class deleted file mode 100644 index 11fbf781..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$JsMessage.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode$1.class deleted file mode 100644 index 1f58f471..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode.class deleted file mode 100644 index 58ab6eea..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$NoOpBridgeMode.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$NoOpBridgeMode.class deleted file mode 100644 index 5befb5dd..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$NoOpBridgeMode.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$1.class deleted file mode 100644 index 3d637415..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$2.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$2.class deleted file mode 100644 index 58299a40..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$2.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$OnlineEventsBridgeModeDelegate.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$OnlineEventsBridgeModeDelegate.class deleted file mode 100644 index c3848041..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$OnlineEventsBridgeModeDelegate.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode.class deleted file mode 100644 index 4281bfde..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue.class deleted file mode 100644 index 7048a7b4..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/NativeToJsMessageQueue.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginEntry.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginEntry.class deleted file mode 100644 index 4adc8d03..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginEntry.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginManager.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginManager.class deleted file mode 100644 index c59578c4..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginManager.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginResult$Status.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginResult$Status.class deleted file mode 100644 index d9ff981f..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginResult$Status.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginResult.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginResult.class deleted file mode 100644 index dfefc658..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/PluginResult.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ResumeCallback.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ResumeCallback.class deleted file mode 100644 index fc6a4d13..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/ResumeCallback.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/Whitelist$URLPattern.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/Whitelist$URLPattern.class deleted file mode 100644 index 05973c38..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/Whitelist$URLPattern.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/Whitelist.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/Whitelist.class deleted file mode 100644 index 1be2bfca..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/Whitelist.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemCookieManager.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemCookieManager.class deleted file mode 100644 index 4d1199c6..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemCookieManager.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemExposedJsApi.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemExposedJsApi.class deleted file mode 100644 index 8511795f..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemExposedJsApi.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$1.class deleted file mode 100644 index 9b3e91ee..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$2.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$2.class deleted file mode 100644 index 2d0ac1a4..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$2.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$3.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$3.class deleted file mode 100644 index 5c6f1a01..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$3.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$4.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$4.class deleted file mode 100644 index d7817b09..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$4.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$5.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$5.class deleted file mode 100644 index 797cdd71..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient$5.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient.class deleted file mode 100644 index f4959cc7..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebChromeClient.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebView.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebView.class deleted file mode 100644 index 9dfe6ede..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebView.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewClient.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewClient.class deleted file mode 100644 index 4ded5789..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewClient.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewEngine$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewEngine$1.class deleted file mode 100644 index 88b63e1e..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewEngine$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewEngine$2.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewEngine$2.class deleted file mode 100644 index ec201a98..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewEngine$2.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewEngine.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewEngine.class deleted file mode 100644 index f7f36b74..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/debug/org/apache/cordova/engine/SystemWebViewEngine.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/AuthenticationToken.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/AuthenticationToken.class deleted file mode 100644 index e9d51465..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/AuthenticationToken.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/BuildConfig.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/BuildConfig.class deleted file mode 100644 index bf0083a2..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/BuildConfig.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CallbackContext.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CallbackContext.class deleted file mode 100644 index 2ee39be7..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CallbackContext.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CallbackMap.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CallbackMap.class deleted file mode 100644 index 462375d9..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CallbackMap.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Config.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Config.class deleted file mode 100644 index 66cb1be9..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Config.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ConfigXmlParser.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ConfigXmlParser.class deleted file mode 100644 index 62fa0b3d..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ConfigXmlParser.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$1.class deleted file mode 100644 index c4624d15..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$2.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$2.class deleted file mode 100644 index 33738151..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$2.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$3.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$3.class deleted file mode 100644 index fabe9efa..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$3.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$4$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$4$1.class deleted file mode 100644 index 3c062db9..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$4$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$4.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$4.class deleted file mode 100644 index 76695eb5..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity$4.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity.class deleted file mode 100644 index 46a17ceb..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaActivity.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaArgs.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaArgs.class deleted file mode 100644 index 18014a39..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaArgs.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaBridge.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaBridge.class deleted file mode 100644 index c7f3f237..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaBridge.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaClientCertRequest.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaClientCertRequest.class deleted file mode 100644 index 46007d42..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaClientCertRequest.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$1.class deleted file mode 100644 index 683ff52e..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$2.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$2.class deleted file mode 100644 index c7f3d4af..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$2.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$3.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$3.class deleted file mode 100644 index 4cb4f9bc..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$3.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$4.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$4.class deleted file mode 100644 index ac24ba52..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$4.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$5.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$5.class deleted file mode 100644 index 3ab9531e..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$5.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$6.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$6.class deleted file mode 100644 index 05530d9e..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$6.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$7.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$7.class deleted file mode 100644 index 5cd2cb8c..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$7.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$8.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$8.class deleted file mode 100644 index e57fded7..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$8.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$9.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$9.class deleted file mode 100644 index 628d4627..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$9.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$Result.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$Result.class deleted file mode 100644 index c4dd9997..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper$Result.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper.class deleted file mode 100644 index fd873766..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaDialogsHelper.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaHttpAuthHandler.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaHttpAuthHandler.class deleted file mode 100644 index c912f928..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaHttpAuthHandler.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterface.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterface.class deleted file mode 100644 index b2059438..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterface.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterfaceImpl$ActivityResultHolder.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterfaceImpl$ActivityResultHolder.class deleted file mode 100644 index 92dae914..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterfaceImpl$ActivityResultHolder.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterfaceImpl.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterfaceImpl.class deleted file mode 100644 index 22ffbfe4..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaInterfaceImpl.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaPlugin.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaPlugin.class deleted file mode 100644 index d8906c9c..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaPlugin.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaPreferences.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaPreferences.class deleted file mode 100644 index ed0b3da5..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaPreferences.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaResourceApi$OpenForReadResult.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaResourceApi$OpenForReadResult.class deleted file mode 100644 index 15ab1f62..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaResourceApi$OpenForReadResult.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaResourceApi.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaResourceApi.class deleted file mode 100644 index f11f59a3..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaResourceApi.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebView.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebView.class deleted file mode 100644 index 14ca5e93..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebView.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine$Client.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine$Client.class deleted file mode 100644 index deb6dfda..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine$Client.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine$EngineView.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine$EngineView.class deleted file mode 100644 index 1149bf24..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine$EngineView.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine.class deleted file mode 100644 index 7a7dcb4f..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewEngine.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$1.class deleted file mode 100644 index 4cf05bbe..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$2.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$2.class deleted file mode 100644 index af9110d2..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$2.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$3.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$3.class deleted file mode 100644 index e5c567e3..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$3.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient$1$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient$1$1.class deleted file mode 100644 index 1370f669..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient$1$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient$1.class deleted file mode 100644 index a93f9374..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient.class deleted file mode 100644 index 4df9559c..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl$EngineClient.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl.class deleted file mode 100644 index a8921a41..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CordovaWebViewImpl.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$1.class deleted file mode 100644 index 5365b497..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$2.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$2.class deleted file mode 100644 index 7509891d..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$2.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$3.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$3.class deleted file mode 100644 index 6f01ec94..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$3.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$4.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$4.class deleted file mode 100644 index 12c2685d..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$4.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$5.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$5.class deleted file mode 100644 index 306f92b6..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid$5.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid.class deleted file mode 100644 index 324266e6..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/CoreAndroid.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ExposedJsApi.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ExposedJsApi.class deleted file mode 100644 index 6e675205..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ExposedJsApi.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaClientCertRequest.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaClientCertRequest.class deleted file mode 100644 index 18ad39ec..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaClientCertRequest.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaCookieManager.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaCookieManager.class deleted file mode 100644 index 142b69c9..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaCookieManager.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaHttpAuthHandler.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaHttpAuthHandler.class deleted file mode 100644 index ac03d2d9..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ICordovaHttpAuthHandler.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/LOG.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/LOG.class deleted file mode 100644 index 11bd8f7c..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/LOG.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$BridgeMode.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$BridgeMode.class deleted file mode 100644 index 1d25e8d1..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$BridgeMode.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode$1.class deleted file mode 100644 index 9f380c55..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode.class deleted file mode 100644 index 8bae598b..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$EvalBridgeMode.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$JsMessage.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$JsMessage.class deleted file mode 100644 index 11fbf781..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$JsMessage.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode$1.class deleted file mode 100644 index 1f58f471..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode.class deleted file mode 100644 index 58ab6eea..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$LoadUrlBridgeMode.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$NoOpBridgeMode.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$NoOpBridgeMode.class deleted file mode 100644 index 5befb5dd..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$NoOpBridgeMode.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$1.class deleted file mode 100644 index 3d637415..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$2.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$2.class deleted file mode 100644 index 58299a40..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$2.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$OnlineEventsBridgeModeDelegate.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$OnlineEventsBridgeModeDelegate.class deleted file mode 100644 index c3848041..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode$OnlineEventsBridgeModeDelegate.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode.class deleted file mode 100644 index 4281bfde..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue$OnlineEventsBridgeMode.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue.class deleted file mode 100644 index 7048a7b4..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/NativeToJsMessageQueue.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginEntry.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginEntry.class deleted file mode 100644 index 4adc8d03..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginEntry.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginManager.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginManager.class deleted file mode 100644 index c59578c4..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginManager.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginResult$Status.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginResult$Status.class deleted file mode 100644 index d9ff981f..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginResult$Status.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginResult.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginResult.class deleted file mode 100644 index dfefc658..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/PluginResult.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ResumeCallback.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ResumeCallback.class deleted file mode 100644 index fc6a4d13..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/ResumeCallback.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Whitelist$URLPattern.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Whitelist$URLPattern.class deleted file mode 100644 index 05973c38..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Whitelist$URLPattern.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Whitelist.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Whitelist.class deleted file mode 100644 index 1be2bfca..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/Whitelist.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemCookieManager.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemCookieManager.class deleted file mode 100644 index 4d1199c6..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemCookieManager.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemExposedJsApi.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemExposedJsApi.class deleted file mode 100644 index 8511795f..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemExposedJsApi.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$1.class deleted file mode 100644 index 9b3e91ee..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$2.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$2.class deleted file mode 100644 index 2d0ac1a4..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$2.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$3.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$3.class deleted file mode 100644 index 5c6f1a01..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$3.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$4.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$4.class deleted file mode 100644 index d7817b09..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$4.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$5.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$5.class deleted file mode 100644 index 797cdd71..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient$5.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient.class deleted file mode 100644 index f4959cc7..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebChromeClient.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebView.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebView.class deleted file mode 100644 index 9dfe6ede..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebView.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewClient.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewClient.class deleted file mode 100644 index 4ded5789..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewClient.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine$1.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine$1.class deleted file mode 100644 index 88b63e1e..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine$1.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine$2.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine$2.class deleted file mode 100644 index ec201a98..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine$2.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine.class b/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine.class deleted file mode 100644 index f7f36b74..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/classes/release/org/apache/cordova/engine/SystemWebViewEngine.class and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental-safeguard/debug/tag.txt b/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental-safeguard/debug/tag.txt deleted file mode 100644 index c01a13dc..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental-safeguard/debug/tag.txt +++ /dev/null @@ -1 +0,0 @@ -incremental task execution \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental-safeguard/release/tag.txt b/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental-safeguard/release/tag.txt deleted file mode 100644 index c01a13dc..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental-safeguard/release/tag.txt +++ /dev/null @@ -1 +0,0 @@ -incremental task execution \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/compileDebugAidl/dependency.store b/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/compileDebugAidl/dependency.store deleted file mode 100644 index 8b8400dc..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/compileDebugAidl/dependency.store and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/compileReleaseAidl/dependency.store b/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/compileReleaseAidl/dependency.store deleted file mode 100644 index 8b8400dc..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/compileReleaseAidl/dependency.store and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugAssets/merger.xml b/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugAssets/merger.xml deleted file mode 100644 index 4c208e13..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugAssets/merger.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml b/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml deleted file mode 100644 index e595fb8f..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugShaders/merger.xml b/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugShaders/merger.xml deleted file mode 100644 index ac16ccac..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeDebugShaders/merger.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseAssets/merger.xml b/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseAssets/merger.xml deleted file mode 100644 index fcafcdc0..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseAssets/merger.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseJniLibFolders/merger.xml b/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseJniLibFolders/merger.xml deleted file mode 100644 index 2c2760b3..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseJniLibFolders/merger.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseShaders/merger.xml b/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseShaders/merger.xml deleted file mode 100644 index b2ca7bf1..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/mergeReleaseShaders/merger.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/compile-file-map.properties b/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/compile-file-map.properties deleted file mode 100644 index 5b6ab9a4..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +++ /dev/null @@ -1 +0,0 @@ -#Thu Sep 05 14:14:23 CEST 2019 diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/merger.xml b/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/merger.xml deleted file mode 100644 index fd6ec75b..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageDebugResources/merger.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageReleaseResources/compile-file-map.properties b/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageReleaseResources/compile-file-map.properties deleted file mode 100644 index afa4ff6d..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageReleaseResources/compile-file-map.properties +++ /dev/null @@ -1 +0,0 @@ -#Thu Sep 05 14:14:24 CEST 2019 diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageReleaseResources/merger.xml b/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageReleaseResources/merger.xml deleted file mode 100644 index 60241c2b..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/incremental/packageReleaseResources/merger.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/manifests/aapt/debug/AndroidManifest.xml b/StoneIsland/platforms/android/CordovaLib/build/intermediates/manifests/aapt/debug/AndroidManifest.xml deleted file mode 100644 index 90863ed8..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/manifests/aapt/debug/AndroidManifest.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/build/intermediates/manifests/aapt/release/AndroidManifest.xml b/StoneIsland/platforms/android/CordovaLib/build/intermediates/manifests/aapt/release/AndroidManifest.xml deleted file mode 100644 index 90863ed8..00000000 --- a/StoneIsland/platforms/android/CordovaLib/build/intermediates/manifests/aapt/release/AndroidManifest.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/build/outputs/aar/CordovaLib-debug.aar b/StoneIsland/platforms/android/CordovaLib/build/outputs/aar/CordovaLib-debug.aar deleted file mode 100644 index 5d55c0f4..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/outputs/aar/CordovaLib-debug.aar and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/build/outputs/aar/CordovaLib-release.aar b/StoneIsland/platforms/android/CordovaLib/build/outputs/aar/CordovaLib-release.aar deleted file mode 100644 index d5e4db28..00000000 Binary files a/StoneIsland/platforms/android/CordovaLib/build/outputs/aar/CordovaLib-release.aar and /dev/null differ diff --git a/StoneIsland/platforms/android/CordovaLib/cordova.gradle b/StoneIsland/platforms/android/CordovaLib/cordova.gradle deleted file mode 100644 index 21a01bb5..00000000 --- a/StoneIsland/platforms/android/CordovaLib/cordova.gradle +++ /dev/null @@ -1,201 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ - -import java.util.regex.Pattern -import groovy.swing.SwingBuilder - -String doEnsureValueExists(filePath, props, key) { - if (props.get(key) == null) { - throw new GradleException(filePath + ': Missing key required "' + key + '"') - } - return props.get(key) -} - -String doGetProjectTarget() { - def props = new Properties() - file('project.properties').withReader { reader -> - props.load(reader) - } - return doEnsureValueExists('project.properties', props, 'target') -} - -String[] getAvailableBuildTools() { - def buildToolsDir = new File(getAndroidSdkDir(), "build-tools") - buildToolsDir.list() - .findAll { it ==~ /[0-9.]+/ } - .sort { a, b -> compareVersions(b, a) } -} - -String doFindLatestInstalledBuildTools(String minBuildToolsVersion) { - def availableBuildToolsVersions - try { - availableBuildToolsVersions = getAvailableBuildTools() - } catch (e) { - println "An exception occurred while trying to find the Android build tools." - throw e - } - if (availableBuildToolsVersions.length > 0) { - def highestBuildToolsVersion = availableBuildToolsVersions[0] - if (compareVersions(highestBuildToolsVersion, minBuildToolsVersion) < 0) { - throw new RuntimeException( - "No usable Android build tools found. Highest installed version is " + - highestBuildToolsVersion + "; minimum version required is " + - minBuildToolsVersion + ".") - } - highestBuildToolsVersion - } else { - throw new RuntimeException( - "No installed build tools found. Install the Android build tools version " + - minBuildToolsVersion + " or higher.") - } -} - -// Return the first non-zero result of subtracting version list elements -// pairwise. If they are all identical, return the difference in length of -// the two lists. -int compareVersionList(Collection aParts, Collection bParts) { - def pairs = ([aParts, bParts]).transpose() - pairs.findResult(aParts.size()-bParts.size()) {it[0] - it[1] != 0 ? it[0] - it[1] : null} -} - -// Compare two version strings, such as "19.0.0" and "18.1.1.0". If all matched -// elements are identical, the longer version is the largest by this method. -// Examples: -// "19.0.0" > "19" -// "19.0.1" > "19.0.0" -// "19.1.0" > "19.0.1" -// "19" > "18.999.999" -int compareVersions(String a, String b) { - def aParts = a.tokenize('.').collect {it.toInteger()} - def bParts = b.tokenize('.').collect {it.toInteger()} - compareVersionList(aParts, bParts) -} - -String getAndroidSdkDir() { - def rootDir = project.rootDir - def androidSdkDir = null - String envVar = System.getenv("ANDROID_HOME") - def localProperties = new File(rootDir, 'local.properties') - String systemProperty = System.getProperty("android.home") - if (envVar != null) { - androidSdkDir = envVar - } else if (localProperties.exists()) { - Properties properties = new Properties() - localProperties.withInputStream { instr -> - properties.load(instr) - } - def sdkDirProp = properties.getProperty('sdk.dir') - if (sdkDirProp != null) { - androidSdkDir = sdkDirProp - } else { - sdkDirProp = properties.getProperty('android.dir') - if (sdkDirProp != null) { - androidSdkDir = (new File(rootDir, sdkDirProp)).getAbsolutePath() - } - } - } - if (androidSdkDir == null && systemProperty != null) { - androidSdkDir = systemProperty - } - if (androidSdkDir == null) { - throw new RuntimeException( - "Unable to determine Android SDK directory.") - } - androidSdkDir -} - -def doExtractIntFromManifest(name) { - def manifestFile = file(android.sourceSets.main.manifest.srcFile) - def pattern = Pattern.compile(name + "=\"(\\d+)\"") - def matcher = pattern.matcher(manifestFile.getText()) - matcher.find() - return new BigInteger(matcher.group(1)) -} - -def doExtractStringFromManifest(name) { - def manifestFile = file(android.sourceSets.main.manifest.srcFile) - def pattern = Pattern.compile(name + "=\"(\\S+)\"") - def matcher = pattern.matcher(manifestFile.getText()) - matcher.find() - return matcher.group(1) -} - -def doPromptForPassword(msg) { - if (System.console() == null) { - def ret = null - new SwingBuilder().edt { - dialog(modal: true, title: 'Enter password', alwaysOnTop: true, resizable: false, locationRelativeTo: null, pack: true, show: true) { - vbox { - label(text: msg) - def input = passwordField() - button(defaultButton: true, text: 'OK', actionPerformed: { - ret = input.password; - dispose(); - }) - } - } - } - if (!ret) { - throw new GradleException('User canceled build') - } - return new String(ret) - } else { - return System.console().readPassword('\n' + msg); - } -} - -def doGetConfigXml() { - def xml = file("res/xml/config.xml").getText() - // Disable namespace awareness since Cordova doesn't use them properly - return new XmlParser(false, false).parseText(xml) -} - -def doGetConfigPreference(name, defaultValue) { - name = name.toLowerCase() - def root = doGetConfigXml() - - def ret = defaultValue - root.preference.each { it -> - def attrName = it.attribute("name") - if (attrName && attrName.toLowerCase() == name) { - ret = it.attribute("value") - } - } - return ret -} - -// Properties exported here are visible to all plugins. -ext { - // These helpers are shared, but are not guaranteed to be stable / unchanged. - privateHelpers = {} - privateHelpers.getProjectTarget = { doGetProjectTarget() } - privateHelpers.findLatestInstalledBuildTools = { doFindLatestInstalledBuildTools('19.1.0') } - privateHelpers.extractIntFromManifest = { name -> doExtractIntFromManifest(name) } - privateHelpers.extractStringFromManifest = { name -> doExtractStringFromManifest(name) } - privateHelpers.promptForPassword = { msg -> doPromptForPassword(msg) } - privateHelpers.ensureValueExists = { filePath, props, key -> doEnsureValueExists(filePath, props, key) } - - // These helpers can be used by plugins / projects and will not change. - cdvHelpers = {} - // Returns a XmlParser for the config.xml. Added in 4.1.0. - cdvHelpers.getConfigXml = { doGetConfigXml() } - // Returns the value for the desired . Added in 4.1.0. - cdvHelpers.getConfigPreference = { name, defaultValue -> doGetConfigPreference(name, defaultValue) } -} - diff --git a/StoneIsland/platforms/android/CordovaLib/project.properties b/StoneIsland/platforms/android/CordovaLib/project.properties deleted file mode 100644 index df3c73c4..00000000 --- a/StoneIsland/platforms/android/CordovaLib/project.properties +++ /dev/null @@ -1,16 +0,0 @@ -# This file is automatically generated by Android Tools. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file must be checked in Version Control Systems. -# -# To customize properties used by the Ant build system use, -# "ant.properties", and override values to adapt the script to your -# project structure. - -# Indicates whether an apk should be generated for each density. -split.density=false -# Project target. -target=android-25 -apk-configurations= -renderscript.opt.level=O0 -android.library=true diff --git a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/AuthenticationToken.java b/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/AuthenticationToken.java deleted file mode 100644 index d3a231a0..00000000 --- a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/AuthenticationToken.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ -package org.apache.cordova; - -/** - * The Class AuthenticationToken defines the userName and password to be used for authenticating a web resource - */ -public class AuthenticationToken { - private String userName; - private String password; - - /** - * Gets the user name. - * - * @return the user name - */ - public String getUserName() { - return userName; - } - - /** - * Sets the user name. - * - * @param userName - * the new user name - */ - public void setUserName(String userName) { - this.userName = userName; - } - - /** - * Gets the password. - * - * @return the password - */ - public String getPassword() { - return password; - } - - /** - * Sets the password. - * - * @param password - * the new password - */ - public void setPassword(String password) { - this.password = password; - } - - - - -} diff --git a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CallbackContext.java b/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CallbackContext.java deleted file mode 100644 index 43363869..00000000 --- a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CallbackContext.java +++ /dev/null @@ -1,142 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ -package org.apache.cordova; - -import org.json.JSONArray; - -import org.apache.cordova.CordovaWebView; -import org.apache.cordova.PluginResult; -import org.json.JSONObject; - -public class CallbackContext { - private static final String LOG_TAG = "CordovaPlugin"; - - private String callbackId; - private CordovaWebView webView; - protected boolean finished; - private int changingThreads; - - public CallbackContext(String callbackId, CordovaWebView webView) { - this.callbackId = callbackId; - this.webView = webView; - } - - public boolean isFinished() { - return finished; - } - - public boolean isChangingThreads() { - return changingThreads > 0; - } - - public String getCallbackId() { - return callbackId; - } - - public void sendPluginResult(PluginResult pluginResult) { - synchronized (this) { - if (finished) { - LOG.w(LOG_TAG, "Attempted to send a second callback for ID: " + callbackId + "\nResult was: " + pluginResult.getMessage()); - return; - } else { - finished = !pluginResult.getKeepCallback(); - } - } - webView.sendPluginResult(pluginResult, callbackId); - } - - /** - * Helper for success callbacks that just returns the Status.OK by default - * - * @param message The message to add to the success result. - */ - public void success(JSONObject message) { - sendPluginResult(new PluginResult(PluginResult.Status.OK, message)); - } - - /** - * Helper for success callbacks that just returns the Status.OK by default - * - * @param message The message to add to the success result. - */ - public void success(String message) { - sendPluginResult(new PluginResult(PluginResult.Status.OK, message)); - } - - /** - * Helper for success callbacks that just returns the Status.OK by default - * - * @param message The message to add to the success result. - */ - public void success(JSONArray message) { - sendPluginResult(new PluginResult(PluginResult.Status.OK, message)); - } - - /** - * Helper for success callbacks that just returns the Status.OK by default - * - * @param message The message to add to the success result. - */ - public void success(byte[] message) { - sendPluginResult(new PluginResult(PluginResult.Status.OK, message)); - } - - /** - * Helper for success callbacks that just returns the Status.OK by default - * - * @param message The message to add to the success result. - */ - public void success(int message) { - sendPluginResult(new PluginResult(PluginResult.Status.OK, message)); - } - - /** - * Helper for success callbacks that just returns the Status.OK by default - */ - public void success() { - sendPluginResult(new PluginResult(PluginResult.Status.OK)); - } - - /** - * Helper for error callbacks that just returns the Status.ERROR by default - * - * @param message The message to add to the error result. - */ - public void error(JSONObject message) { - sendPluginResult(new PluginResult(PluginResult.Status.ERROR, message)); - } - - /** - * Helper for error callbacks that just returns the Status.ERROR by default - * - * @param message The message to add to the error result. - */ - public void error(String message) { - sendPluginResult(new PluginResult(PluginResult.Status.ERROR, message)); - } - - /** - * Helper for error callbacks that just returns the Status.ERROR by default - * - * @param message The message to add to the error result. - */ - public void error(int message) { - sendPluginResult(new PluginResult(PluginResult.Status.ERROR, message)); - } -} diff --git a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CallbackMap.java b/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CallbackMap.java deleted file mode 100644 index 050daa01..00000000 --- a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CallbackMap.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ -package org.apache.cordova; - -import android.util.Pair; -import android.util.SparseArray; - -/** - * Provides a collection that maps unique request codes to CordovaPlugins and Integers. - * Used to ensure that when plugins make requests for runtime permissions, those requests do not - * collide with requests from other plugins that use the same request code value. - */ -public class CallbackMap { - private int currentCallbackId = 0; - private SparseArray> callbacks; - - public CallbackMap() { - this.callbacks = new SparseArray>(); - } - - /** - * Stores a CordovaPlugin and request code and returns a new unique request code to use - * in a permission request. - * - * @param receiver The plugin that is making the request - * @param requestCode The original request code used by the plugin - * @return A unique request code that can be used to retrieve this callback - * with getAndRemoveCallback() - */ - public synchronized int registerCallback(CordovaPlugin receiver, int requestCode) { - int mappedId = this.currentCallbackId++; - callbacks.put(mappedId, new Pair(receiver, requestCode)); - return mappedId; - } - - /** - * Retrieves and removes a callback stored in the map using the mapped request code - * obtained from registerCallback() - * - * @param mappedId The request code obtained from registerCallback() - * @return The CordovaPlugin and orignal request code that correspond to the - * given mappedCode - */ - public synchronized Pair getAndRemoveCallback(int mappedId) { - Pair callback = callbacks.get(mappedId); - callbacks.remove(mappedId); - return callback; - } -} diff --git a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/Config.java b/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/Config.java deleted file mode 100644 index 07397959..00000000 --- a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/Config.java +++ /dev/null @@ -1,71 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ - -package org.apache.cordova; - -import java.util.List; - -import android.app.Activity; - -@Deprecated // Use Whitelist, CordovaPrefences, etc. directly. -public class Config { - private static final String TAG = "Config"; - - static ConfigXmlParser parser; - - private Config() { - } - - public static void init(Activity action) { - parser = new ConfigXmlParser(); - parser.parse(action); - //TODO: Add feature to bring this back. Some preferences should be overridden by intents, but not all - parser.getPreferences().setPreferencesBundle(action.getIntent().getExtras()); - } - - // Intended to be used for testing only; creates an empty configuration. - public static void init() { - if (parser == null) { - parser = new ConfigXmlParser(); - } - } - - public static String getStartUrl() { - if (parser == null) { - return "file:///android_asset/www/index.html"; - } - return parser.getLaunchUrl(); - } - - public static String getErrorUrl() { - return parser.getPreferences().getString("errorurl", null); - } - - public static List getPluginEntries() { - return parser.getPluginEntries(); - } - - public static CordovaPreferences getPreferences() { - return parser.getPreferences(); - } - - public static boolean isInitialized() { - return parser != null; - } -} diff --git a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/ConfigXmlParser.java b/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/ConfigXmlParser.java deleted file mode 100644 index 01a97f2d..00000000 --- a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/ConfigXmlParser.java +++ /dev/null @@ -1,145 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ - -package org.apache.cordova; - -import java.io.IOException; -import java.util.ArrayList; -import java.util.Locale; -import java.util.regex.Matcher; -import java.util.regex.Pattern; - -import org.xmlpull.v1.XmlPullParser; -import org.xmlpull.v1.XmlPullParserException; - -import android.content.Context; - -public class ConfigXmlParser { - private static String TAG = "ConfigXmlParser"; - - private String launchUrl = "file:///android_asset/www/index.html"; - private CordovaPreferences prefs = new CordovaPreferences(); - private ArrayList pluginEntries = new ArrayList(20); - - public CordovaPreferences getPreferences() { - return prefs; - } - - public ArrayList getPluginEntries() { - return pluginEntries; - } - - public String getLaunchUrl() { - return launchUrl; - } - - public void parse(Context action) { - // First checking the class namespace for config.xml - int id = action.getResources().getIdentifier("config", "xml", action.getClass().getPackage().getName()); - if (id == 0) { - // If we couldn't find config.xml there, we'll look in the namespace from AndroidManifest.xml - id = action.getResources().getIdentifier("config", "xml", action.getPackageName()); - if (id == 0) { - LOG.e(TAG, "res/xml/config.xml is missing!"); - return; - } - } - parse(action.getResources().getXml(id)); - } - - boolean insideFeature = false; - String service = "", pluginClass = "", paramType = ""; - boolean onload = false; - - public void parse(XmlPullParser xml) { - int eventType = -1; - - while (eventType != XmlPullParser.END_DOCUMENT) { - if (eventType == XmlPullParser.START_TAG) { - handleStartTag(xml); - } - else if (eventType == XmlPullParser.END_TAG) - { - handleEndTag(xml); - } - try { - eventType = xml.next(); - } catch (XmlPullParserException e) { - e.printStackTrace(); - } catch (IOException e) { - e.printStackTrace(); - } - } - } - - public void handleStartTag(XmlPullParser xml) { - String strNode = xml.getName(); - if (strNode.equals("feature")) { - //Check for supported feature sets aka. plugins (Accelerometer, Geolocation, etc) - //Set the bit for reading params - insideFeature = true; - service = xml.getAttributeValue(null, "name"); - } - else if (insideFeature && strNode.equals("param")) { - paramType = xml.getAttributeValue(null, "name"); - if (paramType.equals("service")) // check if it is using the older service param - service = xml.getAttributeValue(null, "value"); - else if (paramType.equals("package") || paramType.equals("android-package")) - pluginClass = xml.getAttributeValue(null,"value"); - else if (paramType.equals("onload")) - onload = "true".equals(xml.getAttributeValue(null, "value")); - } - else if (strNode.equals("preference")) { - String name = xml.getAttributeValue(null, "name").toLowerCase(Locale.ENGLISH); - String value = xml.getAttributeValue(null, "value"); - prefs.set(name, value); - } - else if (strNode.equals("content")) { - String src = xml.getAttributeValue(null, "src"); - if (src != null) { - setStartUrl(src); - } - } - } - - public void handleEndTag(XmlPullParser xml) { - String strNode = xml.getName(); - if (strNode.equals("feature")) { - pluginEntries.add(new PluginEntry(service, pluginClass, onload)); - - service = ""; - pluginClass = ""; - insideFeature = false; - onload = false; - } - } - - private void setStartUrl(String src) { - Pattern schemeRegex = Pattern.compile("^[a-z-]+://"); - Matcher matcher = schemeRegex.matcher(src); - if (matcher.find()) { - launchUrl = src; - } else { - if (src.charAt(0) == '/') { - src = src.substring(1); - } - launchUrl = "file:///android_asset/www/" + src; - } - } -} diff --git a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaActivity.java b/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaActivity.java deleted file mode 100755 index 85eeb53a..00000000 --- a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaActivity.java +++ /dev/null @@ -1,518 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ -package org.apache.cordova; - -import java.util.ArrayList; -import java.util.Locale; - -import org.json.JSONException; -import org.json.JSONObject; - -import android.app.Activity; -import android.app.AlertDialog; -import android.annotation.SuppressLint; -import android.content.DialogInterface; -import android.content.Intent; -import android.content.res.Configuration; -import android.graphics.Color; -import android.media.AudioManager; -import android.os.Build; -import android.os.Bundle; -import android.view.Menu; -import android.view.MenuItem; -import android.view.View; -import android.view.ViewGroup; -import android.view.Window; -import android.view.WindowManager; -import android.webkit.WebViewClient; -import android.widget.FrameLayout; - -/** - * This class is the main Android activity that represents the Cordova - * application. It should be extended by the user to load the specific - * html file that contains the application. - * - * As an example: - * - *
- *     package org.apache.cordova.examples;
- *
- *     import android.os.Bundle;
- *     import org.apache.cordova.*;
- *
- *     public class Example extends CordovaActivity {
- *       @Override
- *       public void onCreate(Bundle savedInstanceState) {
- *         super.onCreate(savedInstanceState);
- *         super.init();
- *         // Load your application
- *         loadUrl(launchUrl);
- *       }
- *     }
- * 
- * - * Cordova xml configuration: Cordova uses a configuration file at - * res/xml/config.xml to specify its settings. See "The config.xml File" - * guide in cordova-docs at http://cordova.apache.org/docs for the documentation - * for the configuration. The use of the set*Property() methods is - * deprecated in favor of the config.xml file. - * - */ -public class CordovaActivity extends Activity { - public static String TAG = "CordovaActivity"; - - // The webview for our app - protected CordovaWebView appView; - - private static int ACTIVITY_STARTING = 0; - private static int ACTIVITY_RUNNING = 1; - private static int ACTIVITY_EXITING = 2; - - // Keep app running when pause is received. (default = true) - // If true, then the JavaScript and native code continue to run in the background - // when another application (activity) is started. - protected boolean keepRunning = true; - - // Flag to keep immersive mode if set to fullscreen - protected boolean immersiveMode; - - // Read from config.xml: - protected CordovaPreferences preferences; - protected String launchUrl; - protected ArrayList pluginEntries; - protected CordovaInterfaceImpl cordovaInterface; - - /** - * Called when the activity is first created. - */ - @Override - public void onCreate(Bundle savedInstanceState) { - // need to activate preferences before super.onCreate to avoid "requestFeature() must be called before adding content" exception - loadConfig(); - - String logLevel = preferences.getString("loglevel", "ERROR"); - LOG.setLogLevel(logLevel); - - LOG.i(TAG, "Apache Cordova native platform version " + CordovaWebView.CORDOVA_VERSION + " is starting"); - LOG.d(TAG, "CordovaActivity.onCreate()"); - - if (!preferences.getBoolean("ShowTitle", false)) { - getWindow().requestFeature(Window.FEATURE_NO_TITLE); - } - - if (preferences.getBoolean("SetFullscreen", false)) { - LOG.d(TAG, "The SetFullscreen configuration is deprecated in favor of Fullscreen, and will be removed in a future version."); - preferences.set("Fullscreen", true); - } - if (preferences.getBoolean("Fullscreen", false)) { - // NOTE: use the FullscreenNotImmersive configuration key to set the activity in a REAL full screen - // (as was the case in previous cordova versions) - if ((Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) && !preferences.getBoolean("FullscreenNotImmersive", false)) { - immersiveMode = true; - } else { - getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, - WindowManager.LayoutParams.FLAG_FULLSCREEN); - } - } else { - getWindow().setFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN, - WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN); - } - - super.onCreate(savedInstanceState); - - cordovaInterface = makeCordovaInterface(); - if (savedInstanceState != null) { - cordovaInterface.restoreInstanceState(savedInstanceState); - } - } - - protected void init() { - appView = makeWebView(); - createViews(); - if (!appView.isInitialized()) { - appView.init(cordovaInterface, pluginEntries, preferences); - } - cordovaInterface.onCordovaInit(appView.getPluginManager()); - - // Wire the hardware volume controls to control media if desired. - String volumePref = preferences.getString("DefaultVolumeStream", ""); - if ("media".equals(volumePref.toLowerCase(Locale.ENGLISH))) { - setVolumeControlStream(AudioManager.STREAM_MUSIC); - } - } - - @SuppressWarnings("deprecation") - protected void loadConfig() { - ConfigXmlParser parser = new ConfigXmlParser(); - parser.parse(this); - preferences = parser.getPreferences(); - preferences.setPreferencesBundle(getIntent().getExtras()); - launchUrl = parser.getLaunchUrl(); - pluginEntries = parser.getPluginEntries(); - Config.parser = parser; - } - - //Suppressing warnings in AndroidStudio - @SuppressWarnings({"deprecation", "ResourceType"}) - protected void createViews() { - //Why are we setting a constant as the ID? This should be investigated - appView.getView().setId(100); - appView.getView().setLayoutParams(new FrameLayout.LayoutParams( - ViewGroup.LayoutParams.MATCH_PARENT, - ViewGroup.LayoutParams.MATCH_PARENT)); - - setContentView(appView.getView()); - - if (preferences.contains("BackgroundColor")) { - try { - int backgroundColor = preferences.getInteger("BackgroundColor", Color.BLACK); - // Background of activity: - appView.getView().setBackgroundColor(backgroundColor); - } - catch (NumberFormatException e){ - e.printStackTrace(); - } - } - - appView.getView().requestFocusFromTouch(); - } - - /** - * Construct the default web view object. - *

- * Override this to customize the webview that is used. - */ - protected CordovaWebView makeWebView() { - return new CordovaWebViewImpl(makeWebViewEngine()); - } - - protected CordovaWebViewEngine makeWebViewEngine() { - return CordovaWebViewImpl.createEngine(this, preferences); - } - - protected CordovaInterfaceImpl makeCordovaInterface() { - return new CordovaInterfaceImpl(this) { - @Override - public Object onMessage(String id, Object data) { - // Plumb this to CordovaActivity.onMessage for backwards compatibility - return CordovaActivity.this.onMessage(id, data); - } - }; - } - - /** - * Load the url into the webview. - */ - public void loadUrl(String url) { - if (appView == null) { - init(); - } - - // If keepRunning - this.keepRunning = preferences.getBoolean("KeepRunning", true); - - appView.loadUrlIntoView(url, true); - } - - /** - * Called when the system is about to start resuming a previous activity. - */ - @Override - protected void onPause() { - super.onPause(); - LOG.d(TAG, "Paused the activity."); - - if (this.appView != null) { - // CB-9382 If there is an activity that started for result and main activity is waiting for callback - // result, we shoudn't stop WebView Javascript timers, as activity for result might be using them - boolean keepRunning = this.keepRunning || this.cordovaInterface.activityResultCallback != null; - this.appView.handlePause(keepRunning); - } - } - - /** - * Called when the activity receives a new intent - */ - @Override - protected void onNewIntent(Intent intent) { - super.onNewIntent(intent); - //Forward to plugins - if (this.appView != null) - this.appView.onNewIntent(intent); - } - - /** - * Called when the activity will start interacting with the user. - */ - @Override - protected void onResume() { - super.onResume(); - LOG.d(TAG, "Resumed the activity."); - - if (this.appView == null) { - return; - } - // Force window to have focus, so application always - // receive user input. Workaround for some devices (Samsung Galaxy Note 3 at least) - this.getWindow().getDecorView().requestFocus(); - - this.appView.handleResume(this.keepRunning); - } - - /** - * Called when the activity is no longer visible to the user. - */ - @Override - protected void onStop() { - super.onStop(); - LOG.d(TAG, "Stopped the activity."); - - if (this.appView == null) { - return; - } - this.appView.handleStop(); - } - - /** - * Called when the activity is becoming visible to the user. - */ - @Override - protected void onStart() { - super.onStart(); - LOG.d(TAG, "Started the activity."); - - if (this.appView == null) { - return; - } - this.appView.handleStart(); - } - - /** - * The final call you receive before your activity is destroyed. - */ - @Override - public void onDestroy() { - LOG.d(TAG, "CordovaActivity.onDestroy()"); - super.onDestroy(); - - if (this.appView != null) { - appView.handleDestroy(); - } - } - - /** - * Called when view focus is changed - */ - @Override - public void onWindowFocusChanged(boolean hasFocus) { - super.onWindowFocusChanged(hasFocus); - if (hasFocus && immersiveMode) { - final int uiOptions = View.SYSTEM_UI_FLAG_LAYOUT_STABLE - | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION - | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN - | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION - | View.SYSTEM_UI_FLAG_FULLSCREEN - | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY; - - getWindow().getDecorView().setSystemUiVisibility(uiOptions); - } - } - - @SuppressLint("NewApi") - @Override - public void startActivityForResult(Intent intent, int requestCode, Bundle options) { - // Capture requestCode here so that it is captured in the setActivityResultCallback() case. - cordovaInterface.setActivityResultRequestCode(requestCode); - super.startActivityForResult(intent, requestCode, options); - } - - /** - * Called when an activity you launched exits, giving you the requestCode you started it with, - * the resultCode it returned, and any additional data from it. - * - * @param requestCode The request code originally supplied to startActivityForResult(), - * allowing you to identify who this result came from. - * @param resultCode The integer result code returned by the child activity through its setResult(). - * @param intent An Intent, which can return result data to the caller (various data can be attached to Intent "extras"). - */ - @Override - protected void onActivityResult(int requestCode, int resultCode, Intent intent) { - LOG.d(TAG, "Incoming Result. Request code = " + requestCode); - super.onActivityResult(requestCode, resultCode, intent); - cordovaInterface.onActivityResult(requestCode, resultCode, intent); - } - - /** - * Report an error to the host application. These errors are unrecoverable (i.e. the main resource is unavailable). - * The errorCode parameter corresponds to one of the ERROR_* constants. - * - * @param errorCode The error code corresponding to an ERROR_* value. - * @param description A String describing the error. - * @param failingUrl The url that failed to load. - */ - public void onReceivedError(final int errorCode, final String description, final String failingUrl) { - final CordovaActivity me = this; - - // If errorUrl specified, then load it - final String errorUrl = preferences.getString("errorUrl", null); - if ((errorUrl != null) && (!failingUrl.equals(errorUrl)) && (appView != null)) { - // Load URL on UI thread - me.runOnUiThread(new Runnable() { - public void run() { - me.appView.showWebPage(errorUrl, false, true, null); - } - }); - } - // If not, then display error dialog - else { - final boolean exit = !(errorCode == WebViewClient.ERROR_HOST_LOOKUP); - me.runOnUiThread(new Runnable() { - public void run() { - if (exit) { - me.appView.getView().setVisibility(View.GONE); - me.displayError("Application Error", description + " (" + failingUrl + ")", "OK", exit); - } - } - }); - } - } - - /** - * Display an error dialog and optionally exit application. - */ - public void displayError(final String title, final String message, final String button, final boolean exit) { - final CordovaActivity me = this; - me.runOnUiThread(new Runnable() { - public void run() { - try { - AlertDialog.Builder dlg = new AlertDialog.Builder(me); - dlg.setMessage(message); - dlg.setTitle(title); - dlg.setCancelable(false); - dlg.setPositiveButton(button, - new AlertDialog.OnClickListener() { - public void onClick(DialogInterface dialog, int which) { - dialog.dismiss(); - if (exit) { - finish(); - } - } - }); - dlg.create(); - dlg.show(); - } catch (Exception e) { - finish(); - } - } - }); - } - - /* - * Hook in Cordova for menu plugins - */ - @Override - public boolean onCreateOptionsMenu(Menu menu) { - if (appView != null) { - appView.getPluginManager().postMessage("onCreateOptionsMenu", menu); - } - return super.onCreateOptionsMenu(menu); - } - - @Override - public boolean onPrepareOptionsMenu(Menu menu) { - if (appView != null) { - appView.getPluginManager().postMessage("onPrepareOptionsMenu", menu); - } - return true; - } - - @Override - public boolean onOptionsItemSelected(MenuItem item) { - if (appView != null) { - appView.getPluginManager().postMessage("onOptionsItemSelected", item); - } - return true; - } - - /** - * Called when a message is sent to plugin. - * - * @param id The message id - * @param data The message data - * @return Object or null - */ - public Object onMessage(String id, Object data) { - if ("onReceivedError".equals(id)) { - JSONObject d = (JSONObject) data; - try { - this.onReceivedError(d.getInt("errorCode"), d.getString("description"), d.getString("url")); - } catch (JSONException e) { - e.printStackTrace(); - } - } else if ("exit".equals(id)) { - finish(); - } - return null; - } - - protected void onSaveInstanceState(Bundle outState) { - cordovaInterface.onSaveInstanceState(outState); - super.onSaveInstanceState(outState); - } - - /** - * Called by the system when the device configuration changes while your activity is running. - * - * @param newConfig The new device configuration - */ - @Override - public void onConfigurationChanged(Configuration newConfig) { - super.onConfigurationChanged(newConfig); - if (this.appView == null) { - return; - } - PluginManager pm = this.appView.getPluginManager(); - if (pm != null) { - pm.onConfigurationChanged(newConfig); - } - } - - /** - * Called by the system when the user grants permissions - * - * @param requestCode - * @param permissions - * @param grantResults - */ - @Override - public void onRequestPermissionsResult(int requestCode, String permissions[], - int[] grantResults) { - try - { - cordovaInterface.onRequestPermissionResult(requestCode, permissions, grantResults); - } - catch (JSONException e) - { - LOG.d(TAG, "JSONException: Parameters fed into the method are not valid"); - e.printStackTrace(); - } - - } - -} diff --git a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaArgs.java b/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaArgs.java deleted file mode 100644 index d40d26eb..00000000 --- a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaArgs.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ -package org.apache.cordova; - -import org.json.JSONArray; -import org.json.JSONException; -import org.json.JSONObject; - -import android.util.Base64; - -public class CordovaArgs { - private JSONArray baseArgs; - - public CordovaArgs(JSONArray args) { - this.baseArgs = args; - } - - - // Pass through the basics to the base args. - public Object get(int index) throws JSONException { - return baseArgs.get(index); - } - - public boolean getBoolean(int index) throws JSONException { - return baseArgs.getBoolean(index); - } - - public double getDouble(int index) throws JSONException { - return baseArgs.getDouble(index); - } - - public int getInt(int index) throws JSONException { - return baseArgs.getInt(index); - } - - public JSONArray getJSONArray(int index) throws JSONException { - return baseArgs.getJSONArray(index); - } - - public JSONObject getJSONObject(int index) throws JSONException { - return baseArgs.getJSONObject(index); - } - - public long getLong(int index) throws JSONException { - return baseArgs.getLong(index); - } - - public String getString(int index) throws JSONException { - return baseArgs.getString(index); - } - - - public Object opt(int index) { - return baseArgs.opt(index); - } - - public boolean optBoolean(int index) { - return baseArgs.optBoolean(index); - } - - public double optDouble(int index) { - return baseArgs.optDouble(index); - } - - public int optInt(int index) { - return baseArgs.optInt(index); - } - - public JSONArray optJSONArray(int index) { - return baseArgs.optJSONArray(index); - } - - public JSONObject optJSONObject(int index) { - return baseArgs.optJSONObject(index); - } - - public long optLong(int index) { - return baseArgs.optLong(index); - } - - public String optString(int index) { - return baseArgs.optString(index); - } - - public boolean isNull(int index) { - return baseArgs.isNull(index); - } - - - // The interesting custom helpers. - public byte[] getArrayBuffer(int index) throws JSONException { - String encoded = baseArgs.getString(index); - return Base64.decode(encoded, Base64.DEFAULT); - } -} - - diff --git a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaBridge.java b/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaBridge.java deleted file mode 100644 index 9459a113..00000000 --- a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaBridge.java +++ /dev/null @@ -1,182 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ -package org.apache.cordova; - -import java.security.SecureRandom; - -import org.json.JSONArray; -import org.json.JSONException; - -/** - * Contains APIs that the JS can call. All functions in here should also have - * an equivalent entry in CordovaChromeClient.java, and be added to - * cordova-js/lib/android/plugin/android/promptbasednativeapi.js - */ -public class CordovaBridge { - private static final String LOG_TAG = "CordovaBridge"; - private PluginManager pluginManager; - private NativeToJsMessageQueue jsMessageQueue; - private volatile int expectedBridgeSecret = -1; // written by UI thread, read by JS thread. - - public CordovaBridge(PluginManager pluginManager, NativeToJsMessageQueue jsMessageQueue) { - this.pluginManager = pluginManager; - this.jsMessageQueue = jsMessageQueue; - } - - public String jsExec(int bridgeSecret, String service, String action, String callbackId, String arguments) throws JSONException, IllegalAccessException { - if (!verifySecret("exec()", bridgeSecret)) { - return null; - } - // If the arguments weren't received, send a message back to JS. It will switch bridge modes and try again. See CB-2666. - // We send a message meant specifically for this case. It starts with "@" so no other message can be encoded into the same string. - if (arguments == null) { - return "@Null arguments."; - } - - jsMessageQueue.setPaused(true); - try { - // Tell the resourceApi what thread the JS is running on. - CordovaResourceApi.jsThread = Thread.currentThread(); - - pluginManager.exec(service, action, callbackId, arguments); - String ret = null; - if (!NativeToJsMessageQueue.DISABLE_EXEC_CHAINING) { - ret = jsMessageQueue.popAndEncode(false); - } - return ret; - } catch (Throwable e) { - e.printStackTrace(); - return ""; - } finally { - jsMessageQueue.setPaused(false); - } - } - - public void jsSetNativeToJsBridgeMode(int bridgeSecret, int value) throws IllegalAccessException { - if (!verifySecret("setNativeToJsBridgeMode()", bridgeSecret)) { - return; - } - jsMessageQueue.setBridgeMode(value); - } - - public String jsRetrieveJsMessages(int bridgeSecret, boolean fromOnlineEvent) throws IllegalAccessException { - if (!verifySecret("retrieveJsMessages()", bridgeSecret)) { - return null; - } - return jsMessageQueue.popAndEncode(fromOnlineEvent); - } - - private boolean verifySecret(String action, int bridgeSecret) throws IllegalAccessException { - if (!jsMessageQueue.isBridgeEnabled()) { - if (bridgeSecret == -1) { - LOG.d(LOG_TAG, action + " call made before bridge was enabled."); - } else { - LOG.d(LOG_TAG, "Ignoring " + action + " from previous page load."); - } - return false; - } - // Bridge secret wrong and bridge not due to it being from the previous page. - if (expectedBridgeSecret < 0 || bridgeSecret != expectedBridgeSecret) { - LOG.e(LOG_TAG, "Bridge access attempt with wrong secret token, possibly from malicious code. Disabling exec() bridge!"); - clearBridgeSecret(); - throw new IllegalAccessException(); - } - return true; - } - - /** Called on page transitions */ - void clearBridgeSecret() { - expectedBridgeSecret = -1; - } - - public boolean isSecretEstablished() { - return expectedBridgeSecret != -1; - } - - /** Called by cordova.js to initialize the bridge. */ - int generateBridgeSecret() { - SecureRandom randGen = new SecureRandom(); - expectedBridgeSecret = randGen.nextInt(Integer.MAX_VALUE); - return expectedBridgeSecret; - } - - public void reset() { - jsMessageQueue.reset(); - clearBridgeSecret(); - } - - public String promptOnJsPrompt(String origin, String message, String defaultValue) { - if (defaultValue != null && defaultValue.length() > 3 && defaultValue.startsWith("gap:")) { - JSONArray array; - try { - array = new JSONArray(defaultValue.substring(4)); - int bridgeSecret = array.getInt(0); - String service = array.getString(1); - String action = array.getString(2); - String callbackId = array.getString(3); - String r = jsExec(bridgeSecret, service, action, callbackId, message); - return r == null ? "" : r; - } catch (JSONException e) { - e.printStackTrace(); - } catch (IllegalAccessException e) { - e.printStackTrace(); - } - return ""; - } - // Sets the native->JS bridge mode. - else if (defaultValue != null && defaultValue.startsWith("gap_bridge_mode:")) { - try { - int bridgeSecret = Integer.parseInt(defaultValue.substring(16)); - jsSetNativeToJsBridgeMode(bridgeSecret, Integer.parseInt(message)); - } catch (NumberFormatException e){ - e.printStackTrace(); - } catch (IllegalAccessException e) { - e.printStackTrace(); - } - return ""; - } - // Polling for JavaScript messages - else if (defaultValue != null && defaultValue.startsWith("gap_poll:")) { - int bridgeSecret = Integer.parseInt(defaultValue.substring(9)); - try { - String r = jsRetrieveJsMessages(bridgeSecret, "1".equals(message)); - return r == null ? "" : r; - } catch (IllegalAccessException e) { - e.printStackTrace(); - } - return ""; - } - else if (defaultValue != null && defaultValue.startsWith("gap_init:")) { - // Protect against random iframes being able to talk through the bridge. - // Trust only pages which the app would have been allowed to navigate to anyway. - if (pluginManager.shouldAllowBridgeAccess(origin)) { - // Enable the bridge - int bridgeMode = Integer.parseInt(defaultValue.substring(9)); - jsMessageQueue.setBridgeMode(bridgeMode); - // Tell JS the bridge secret. - int secret = generateBridgeSecret(); - return ""+secret; - } else { - LOG.e(LOG_TAG, "gap_init called from restricted origin: " + origin); - } - return ""; - } - return null; - } -} diff --git a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaClientCertRequest.java b/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaClientCertRequest.java deleted file mode 100644 index 5dd0ecae..00000000 --- a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaClientCertRequest.java +++ /dev/null @@ -1,96 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ -package org.apache.cordova; - -import java.security.Principal; -import java.security.PrivateKey; -import java.security.cert.X509Certificate; - -import android.webkit.ClientCertRequest; - -/** - * Implementation of the ICordovaClientCertRequest for Android WebView. - */ -public class CordovaClientCertRequest implements ICordovaClientCertRequest { - - private final ClientCertRequest request; - - public CordovaClientCertRequest(ClientCertRequest request) { - this.request = request; - } - - /** - * Cancel this request - */ - public void cancel() - { - request.cancel(); - } - - /* - * Returns the host name of the server requesting the certificate. - */ - public String getHost() - { - return request.getHost(); - } - - /* - * Returns the acceptable types of asymmetric keys (can be null). - */ - public String[] getKeyTypes() - { - return request.getKeyTypes(); - } - - /* - * Returns the port number of the server requesting the certificate. - */ - public int getPort() - { - return request.getPort(); - } - - /* - * Returns the acceptable certificate issuers for the certificate matching the private key (can be null). - */ - public Principal[] getPrincipals() - { - return request.getPrincipals(); - } - - /* - * Ignore the request for now. Do not remember user's choice. - */ - public void ignore() - { - request.ignore(); - } - - /* - * Proceed with the specified private key and client certificate chain. Remember the user's positive choice and use it for future requests. - * - * @param privateKey The privateKey - * @param chain The certificate chain - */ - public void proceed(PrivateKey privateKey, X509Certificate[] chain) - { - request.proceed(privateKey, chain); - } -} diff --git a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaDialogsHelper.java b/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaDialogsHelper.java deleted file mode 100644 index a219c992..00000000 --- a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaDialogsHelper.java +++ /dev/null @@ -1,152 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ -package org.apache.cordova; - -import android.app.AlertDialog; -import android.content.Context; -import android.content.DialogInterface; -import android.view.KeyEvent; -import android.widget.EditText; - -/** - * Helper class for WebViews to implement prompt(), alert(), confirm() dialogs. - */ -public class CordovaDialogsHelper { - private final Context context; - private AlertDialog lastHandledDialog; - - public CordovaDialogsHelper(Context context) { - this.context = context; - } - - public void showAlert(String message, final Result result) { - AlertDialog.Builder dlg = new AlertDialog.Builder(context); - dlg.setMessage(message); - dlg.setTitle("Alert"); - //Don't let alerts break the back button - dlg.setCancelable(true); - dlg.setPositiveButton(android.R.string.ok, - new AlertDialog.OnClickListener() { - public void onClick(DialogInterface dialog, int which) { - result.gotResult(true, null); - } - }); - dlg.setOnCancelListener( - new DialogInterface.OnCancelListener() { - public void onCancel(DialogInterface dialog) { - result.gotResult(false, null); - } - }); - dlg.setOnKeyListener(new DialogInterface.OnKeyListener() { - //DO NOTHING - public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { - if (keyCode == KeyEvent.KEYCODE_BACK) - { - result.gotResult(true, null); - return false; - } - else - return true; - } - }); - lastHandledDialog = dlg.show(); - } - - public void showConfirm(String message, final Result result) { - AlertDialog.Builder dlg = new AlertDialog.Builder(context); - dlg.setMessage(message); - dlg.setTitle("Confirm"); - dlg.setCancelable(true); - dlg.setPositiveButton(android.R.string.ok, - new DialogInterface.OnClickListener() { - public void onClick(DialogInterface dialog, int which) { - result.gotResult(true, null); - } - }); - dlg.setNegativeButton(android.R.string.cancel, - new DialogInterface.OnClickListener() { - public void onClick(DialogInterface dialog, int which) { - result.gotResult(false, null); - } - }); - dlg.setOnCancelListener( - new DialogInterface.OnCancelListener() { - public void onCancel(DialogInterface dialog) { - result.gotResult(false, null); - } - }); - dlg.setOnKeyListener(new DialogInterface.OnKeyListener() { - //DO NOTHING - public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { - if (keyCode == KeyEvent.KEYCODE_BACK) - { - result.gotResult(false, null); - return false; - } - else - return true; - } - }); - lastHandledDialog = dlg.show(); - } - - /** - * Tell the client to display a prompt dialog to the user. - * If the client returns true, WebView will assume that the client will - * handle the prompt dialog and call the appropriate JsPromptResult method. - * - * Since we are hacking prompts for our own purposes, we should not be using them for - * this purpose, perhaps we should hack console.log to do this instead! - */ - public void showPrompt(String message, String defaultValue, final Result result) { - // Returning false would also show a dialog, but the default one shows the origin (ugly). - AlertDialog.Builder dlg = new AlertDialog.Builder(context); - dlg.setMessage(message); - final EditText input = new EditText(context); - if (defaultValue != null) { - input.setText(defaultValue); - } - dlg.setView(input); - dlg.setCancelable(false); - dlg.setPositiveButton(android.R.string.ok, - new DialogInterface.OnClickListener() { - public void onClick(DialogInterface dialog, int which) { - String userText = input.getText().toString(); - result.gotResult(true, userText); - } - }); - dlg.setNegativeButton(android.R.string.cancel, - new DialogInterface.OnClickListener() { - public void onClick(DialogInterface dialog, int which) { - result.gotResult(false, null); - } - }); - lastHandledDialog = dlg.show(); - } - - public void destroyLastDialog(){ - if (lastHandledDialog != null){ - lastHandledDialog.cancel(); - } - } - - public interface Result { - public void gotResult(boolean success, String value); - } -} \ No newline at end of file diff --git a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaHttpAuthHandler.java b/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaHttpAuthHandler.java deleted file mode 100644 index 724381e2..00000000 --- a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaHttpAuthHandler.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ -package org.apache.cordova; - -import android.webkit.HttpAuthHandler; - -/** - * Specifies interface for HTTP auth handler object which is used to handle auth requests and - * specifying user credentials. - */ -public class CordovaHttpAuthHandler implements ICordovaHttpAuthHandler { - - private final HttpAuthHandler handler; - - public CordovaHttpAuthHandler(HttpAuthHandler handler) { - this.handler = handler; - } - - /** - * Instructs the WebView to cancel the authentication request. - */ - public void cancel () { - this.handler.cancel(); - } - - /** - * Instructs the WebView to proceed with the authentication with the given credentials. - * - * @param username - * @param password - */ - public void proceed (String username, String password) { - this.handler.proceed(username, password); - } -} diff --git a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaInterface.java b/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaInterface.java deleted file mode 100755 index 3b8468f3..00000000 --- a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaInterface.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ -package org.apache.cordova; - -import android.app.Activity; -import android.content.Intent; - -import org.apache.cordova.CordovaPlugin; - -import java.util.concurrent.ExecutorService; - -/** - * The Activity interface that is implemented by CordovaActivity. - * It is used to isolate plugin development, and remove dependency on entire Cordova library. - */ -public interface CordovaInterface { - - /** - * Launch an activity for which you would like a result when it finished. When this activity exits, - * your onActivityResult() method will be called. - * - * @param command The command object - * @param intent The intent to start - * @param requestCode The request code that is passed to callback to identify the activity - */ - abstract public void startActivityForResult(CordovaPlugin command, Intent intent, int requestCode); - - /** - * Set the plugin to be called when a sub-activity exits. - * - * @param plugin The plugin on which onActivityResult is to be called - */ - abstract public void setActivityResultCallback(CordovaPlugin plugin); - - /** - * Get the Android activity. - * - * @return the Activity - */ - public abstract Activity getActivity(); - - - /** - * Called when a message is sent to plugin. - * - * @param id The message id - * @param data The message data - * @return Object or null - */ - public Object onMessage(String id, Object data); - - /** - * Returns a shared thread pool that can be used for background tasks. - */ - public ExecutorService getThreadPool(); - - /** - * Sends a permission request to the activity for one permission. - */ - public void requestPermission(CordovaPlugin plugin, int requestCode, String permission); - - /** - * Sends a permission request to the activity for a group of permissions - */ - public void requestPermissions(CordovaPlugin plugin, int requestCode, String [] permissions); - - /** - * Check for a permission. Returns true if the permission is granted, false otherwise. - */ - public boolean hasPermission(String permission); - -} diff --git a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaInterfaceImpl.java b/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaInterfaceImpl.java deleted file mode 100644 index 71dcb782..00000000 --- a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaInterfaceImpl.java +++ /dev/null @@ -1,241 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ - -package org.apache.cordova; - -import android.app.Activity; -import android.content.Intent; -import android.content.pm.PackageManager; -import android.os.Build; -import android.os.Bundle; -import android.util.Pair; - -import org.json.JSONException; -import org.json.JSONObject; - -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; - -/** - * Default implementation of CordovaInterface. - */ -public class CordovaInterfaceImpl implements CordovaInterface { - private static final String TAG = "CordovaInterfaceImpl"; - protected Activity activity; - protected ExecutorService threadPool; - protected PluginManager pluginManager; - - protected ActivityResultHolder savedResult; - protected CallbackMap permissionResultCallbacks; - protected CordovaPlugin activityResultCallback; - protected String initCallbackService; - protected int activityResultRequestCode; - protected boolean activityWasDestroyed = false; - protected Bundle savedPluginState; - - public CordovaInterfaceImpl(Activity activity) { - this(activity, Executors.newCachedThreadPool()); - } - - public CordovaInterfaceImpl(Activity activity, ExecutorService threadPool) { - this.activity = activity; - this.threadPool = threadPool; - this.permissionResultCallbacks = new CallbackMap(); - } - - @Override - public void startActivityForResult(CordovaPlugin command, Intent intent, int requestCode) { - setActivityResultCallback(command); - try { - activity.startActivityForResult(intent, requestCode); - } catch (RuntimeException e) { // E.g.: ActivityNotFoundException - activityResultCallback = null; - throw e; - } - } - - @Override - public void setActivityResultCallback(CordovaPlugin plugin) { - // Cancel any previously pending activity. - if (activityResultCallback != null) { - activityResultCallback.onActivityResult(activityResultRequestCode, Activity.RESULT_CANCELED, null); - } - activityResultCallback = plugin; - } - - @Override - public Activity getActivity() { - return activity; - } - - @Override - public Object onMessage(String id, Object data) { - if ("exit".equals(id)) { - activity.finish(); - } - return null; - } - - @Override - public ExecutorService getThreadPool() { - return threadPool; - } - - /** - * Dispatches any pending onActivityResult callbacks and sends the resume event if the - * Activity was destroyed by the OS. - */ - public void onCordovaInit(PluginManager pluginManager) { - this.pluginManager = pluginManager; - if (savedResult != null) { - onActivityResult(savedResult.requestCode, savedResult.resultCode, savedResult.intent); - } else if(activityWasDestroyed) { - // If there was no Activity result, we still need to send out the resume event if the - // Activity was destroyed by the OS - activityWasDestroyed = false; - if(pluginManager != null) - { - CoreAndroid appPlugin = (CoreAndroid) pluginManager.getPlugin(CoreAndroid.PLUGIN_NAME); - if(appPlugin != null) { - JSONObject obj = new JSONObject(); - try { - obj.put("action", "resume"); - } catch (JSONException e) { - LOG.e(TAG, "Failed to create event message", e); - } - appPlugin.sendResumeEvent(new PluginResult(PluginResult.Status.OK, obj)); - } - } - - } - } - - /** - * Routes the result to the awaiting plugin. Returns false if no plugin was waiting. - */ - public boolean onActivityResult(int requestCode, int resultCode, Intent intent) { - CordovaPlugin callback = activityResultCallback; - if(callback == null && initCallbackService != null) { - // The application was restarted, but had defined an initial callback - // before being shut down. - savedResult = new ActivityResultHolder(requestCode, resultCode, intent); - if (pluginManager != null) { - callback = pluginManager.getPlugin(initCallbackService); - if(callback != null) { - callback.onRestoreStateForActivityResult(savedPluginState.getBundle(callback.getServiceName()), - new ResumeCallback(callback.getServiceName(), pluginManager)); - } - } - } - activityResultCallback = null; - - if (callback != null) { - LOG.d(TAG, "Sending activity result to plugin"); - initCallbackService = null; - savedResult = null; - callback.onActivityResult(requestCode, resultCode, intent); - return true; - } - LOG.w(TAG, "Got an activity result, but no plugin was registered to receive it" + (savedResult != null ? " yet!" : ".")); - return false; - } - - /** - * Call this from your startActivityForResult() overload. This is required to catch the case - * where plugins use Activity.startActivityForResult() + CordovaInterface.setActivityResultCallback() - * rather than CordovaInterface.startActivityForResult(). - */ - public void setActivityResultRequestCode(int requestCode) { - activityResultRequestCode = requestCode; - } - - /** - * Saves parameters for startActivityForResult(). - */ - public void onSaveInstanceState(Bundle outState) { - if (activityResultCallback != null) { - String serviceName = activityResultCallback.getServiceName(); - outState.putString("callbackService", serviceName); - } - if(pluginManager != null){ - outState.putBundle("plugin", pluginManager.onSaveInstanceState()); - } - - } - - /** - * Call this from onCreate() so that any saved startActivityForResult parameters will be restored. - */ - public void restoreInstanceState(Bundle savedInstanceState) { - initCallbackService = savedInstanceState.getString("callbackService"); - savedPluginState = savedInstanceState.getBundle("plugin"); - activityWasDestroyed = true; - } - - private static class ActivityResultHolder { - private int requestCode; - private int resultCode; - private Intent intent; - - public ActivityResultHolder(int requestCode, int resultCode, Intent intent) { - this.requestCode = requestCode; - this.resultCode = resultCode; - this.intent = intent; - } - } - - /** - * Called by the system when the user grants permissions - * - * @param requestCode - * @param permissions - * @param grantResults - */ - public void onRequestPermissionResult(int requestCode, String[] permissions, - int[] grantResults) throws JSONException { - Pair callback = permissionResultCallbacks.getAndRemoveCallback(requestCode); - if(callback != null) { - callback.first.onRequestPermissionResult(callback.second, permissions, grantResults); - } - } - - public void requestPermission(CordovaPlugin plugin, int requestCode, String permission) { - String[] permissions = new String [1]; - permissions[0] = permission; - requestPermissions(plugin, requestCode, permissions); - } - - public void requestPermissions(CordovaPlugin plugin, int requestCode, String [] permissions) { - int mappedRequestCode = permissionResultCallbacks.registerCallback(plugin, requestCode); - getActivity().requestPermissions(permissions, mappedRequestCode); - } - - public boolean hasPermission(String permission) - { - if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) - { - int result = activity.checkSelfPermission(permission); - return PackageManager.PERMISSION_GRANTED == result; - } - else - { - return true; - } - } -} diff --git a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaPlugin.java b/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaPlugin.java deleted file mode 100644 index 41af1db7..00000000 --- a/StoneIsland/platforms/android/CordovaLib/src/org/apache/cordova/CordovaPlugin.java +++ /dev/null @@ -1,422 +0,0 @@ -/* - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you 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. -*/ -package org.apache.cordova; - -import org.apache.cordova.CordovaArgs; -import org.apache.cordova.CordovaWebView; -import org.apache.cordova.CordovaInterface; -import org.apache.cordova.CallbackContext; -import org.json.JSONArray; -import org.json.JSONException; - -import android.content.Intent; -import android.content.pm.PackageManager; -import android.content.res.Configuration; -import android.net.Uri; -import android.os.Build; -import android.os.Bundle; - -import java.io.FileNotFoundException; -import java.io.IOException; - -/** - * Plugins must extend this class and override one of the execute methods. - */ -public class CordovaPlugin { - public CordovaWebView webView; - public CordovaInterface cordova; - protected CordovaPreferences preferences; - private String serviceName; - - /** - * Call this after constructing to initialize the plugin. - * Final because we want to be able to change args without breaking plugins. - */ - public final void privateInitialize(String serviceName, CordovaInterface cordova, CordovaWebView webView, CordovaPreferences preferences) { - assert this.cordova == null; - this.serviceName = serviceName; - this.cordova = cordova; - this.webView = webView; - this.preferences = preferences; - initialize(cordova, webView); - pluginInitialize(); - } - - /** - * Called after plugin construction and fields have been initialized. - * Prefer to use pluginInitialize instead since there is no value in - * having parameters on the initialize() function. - */ - public void initialize(CordovaInterface cordova, CordovaWebView webView) { - } - - /** - * Called after plugin construction and fields have been initialized. - */ - protected void pluginInitialize() { - } - - /** - * Returns the plugin's service name (what you'd use when calling pluginManger.getPlugin()) - */ - public String getServiceName() { - return serviceName; - } - - /** - * Executes the request. - * - * This method is called from the WebView thread. To do a non-trivial amount of work, use: - * cordova.getThreadPool().execute(runnable); - * - * To run on the UI thread, use: - * cordova.getActivity().runOnUiThread(runnable); - * - * @param action The action to execute. - * @param rawArgs The exec() arguments in JSON form. - * @param callbackContext The callback context used when calling back into JavaScript. - * @return Whether the action was valid. - */ - public boolean execute(String action, String rawArgs, CallbackContext callbackContext) throws JSONException { - JSONArray args = new JSONArray(rawArgs); - return execute(action, args, callbackContext); - } - - /** - * Executes the request. - * - * This method is called from the WebView thread. To do a non-trivial amount of work, use: - * cordova.getThreadPool().execute(runnable); - * - * To run on the UI thread, use: - * cordova.getActivity().runOnUiThread(runnable); - * - * @param action The action to execute. - * @param args The exec() arguments. - * @param callbackContext The callback context used when calling back into JavaScript. - * @return Whether the action was valid. - */ - public boolean execute(String action, JSONArray args, CallbackContext callbackContext) throws JSONException { - CordovaArgs cordovaArgs = new CordovaArgs(args); - return execute(action, cordovaArgs, callbackContext); - } - - /** - * Executes the request. - * - * This method is called from the WebView thread. To do a non-trivial amount of work, use: - * cordova.getThreadPool().execute(runnable); - * - * To run on the UI thread, use: - * cordova.getActivity().runOnUiThread(runnable); - * - * @param action The action to execute. - * @param args The exec() arguments, wrapped with some Cordova helpers. - * @param callbackContext The callback context used when calling back into JavaScript. - * @return Whether the action was valid. - */ - public boolean execute(String action, CordovaArgs args, CallbackContext callbackContext) throws JSONException { - return false; - } - - /** - * Called when the system is about to start resuming a previous activity. - * - * @param multitasking Flag indicating if multitasking is turned on for app - */ - public void onPause(boolean multitasking) { - } - - /** - * Called when the activity will start interacting with the user. - * - * @param multitasking Flag indicating if multitasking is turned on for app - */ - public void onResume(boolean multitasking) { - } - - /** - * Called when the activity is becoming visible to the user. - */ - public void onStart() { - } - - /** - * Called when the activity is no longer visible to the user. - */ - public void onStop() { - } - - /** - * Called when the activity receives a new intent. - */ - public void onNewIntent(Intent intent) { - } - - /** - * The final call you receive before your activity is destroyed. - */ - public void onDestroy() { - } - - /** - * Called when the Activity is being destroyed (e.g. if a plugin calls out to an external - * Activity and the OS kills the CordovaActivity in the background). The plugin should save its - * state in this method only if it is awaiting the result of an external Activity and needs - * to preserve some information so as to handle that result; onRestoreStateForActivityResult() - * will only be called if the plugin is the recipient of an Activity result - * - * @return Bundle containing the state of the plugin or null if state does not need to be saved - */ - public Bundle onSaveInstanceState() { - return null; - } - - /** - * Called when a plugin is the recipient of an Activity result after the CordovaActivity has - * been destroyed. The Bundle will be the same as the one the plugin returned in - * onSaveInstanceState() - * - * @param state Bundle containing the state of the plugin - * @param callbackContext Replacement Context to return the plugin result to - */ - public void onRestoreStateForActivityResult(Bundle state, CallbackContext callbackContext) {} - - /** - * Called when a message is sent to plugin. - * - * @param id The message id - * @param data The message data - * @return Object to stop propagation or null - */ - public Object onMessage(String id, Object data) { - return null; - } - - /** - * Called when an activity you launched exits, giving you the requestCode you started it with, - * the resultCode it returned, and any additional data from it. - * - * @param requestCode The request code originally supplied to startActivityForResult(), - * allowing you to identify who this result came from. - * @param resultCode The integer result code returned by the child activity through its setResult(). - * @param intent An Intent, which can return result data to the caller (various data can be - * attached to Intent "extras"). - */ - public void onActivityResult(int requestCode, int resultCode, Intent intent) { - } - - /** - * Hook for blocking the loading of external resources. - * - * This will be called when the WebView's shouldInterceptRequest wants to - * know whether to open a connection to an external resource. Return false - * to block the request: if any plugin returns false, Cordova will block - * the request. If all plugins return null, the default policy will be - * enforced. If at least one plugin returns true, and no plugins return - * false, then the request will proceed. - * - * Note that this only affects resource requests which are routed through - * WebViewClient.shouldInterceptRequest, such as XMLHttpRequest requests and - * img tag loads. WebSockets and media requests (such as

-
-

HUB

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

ARCHIVE

-
'982'015
-
-
- -
-
-

PRIVACY POLICY

-
-
-
- -
-
-

MY ACCOUNT TERMS AND CONDITIONS OF USE

-
-

1. Services

-

- Stone Island - SPORTSWEAR COMPANY S.p.A. ("Stone Island") offers you the possibility of using the following services "My Account" (the "Services")*: -

- -
    -
  • My Orders: Track the shipping of your orders, change or return items that are not for you and see the history of your orders.
  • -
  • My Profile: Manage your registration data.
  • -
  • Address Book: Save or change your addresses to have them always at hand and complete your purchases faster.
  • -
  • My Card: Save or change your card information and complete your orders faster and always safely.
  • -
- -

2. Registration

-

2.1

- -

If you want to use the Services you must be an adult user, register on stoneisland.com creating your My Account account, and accept these terms and conditions for using the Services ("Terms"). Registration is free of charge. To create your My Account account, you will need to fill out the registration form by entering the required information, and guarantee to Stone Island that the information provided during the registration process is complete, accurate and truthful. We will send you an email to confirm your registration. We remind you that the credentials to access your My Account account must be used exclusively by you, and they cannot be transferred to third parties. Subject to legal limitations, Stone Island cannot in any way be held responsible in the event of access to your My Account account by unauthorized third parties. You are requested to keep your credentials confidential and to immediately inform Stone Island if you suspect that there has been an unauthorized access to your My Account account or if your password has been violated.

- -

2.2

- -

For the provision of some Services, it may be necessary to use electronic communication channels (such as e-mail, SMS or telephone). If you want to use these specific services, you will be asked to give your consent to be contacted by Stone Island for the related communications by SMS, email or other communication channel.

- -

2.3

- -

We also request you to consult, if you have not already done so, our General Terms of Use which form an integral part of these Terms. For any other legal information, consult the General Terms of Sale, Return Policy and Privacy Policy of stoneisland.com.

- -

3. Duration and withdrawal

- -

3.1

- -

The registration with the Services shall be effective from the moment you receive the confirmation email and for the entire period in which you use the Services.

- -

3.2

- -

At any time and for any reason, you can cancel your subscription to the Services by sending a request to our Customer Service and selecting "privacy". In the event you exercised the right of withdrawal, we will send you an email to confirm the cancellation of the Services.

- -

3.3

- -

Stone Island reserves the right to cancel your registration with the Services in the event of a violation of the provisions contained in these Terms, or in the event that the data provided was not complete, truthful or accurate, without prejudice to the right to compensation for the damage suffered. Stone Island also reserves the right to temporarily suspend, without any prior communication, the provision of the Services, for the time necessary and / or appropriate, to perform all the technical interventions required to improve the quality of the Services. Stone Island may, at any time, interrupt the provision of the Services for security reasons.

- -

4. Warning on the Services

- -

Stone Island shall do its best to provide an accurate services. Without prejudice to the legal limits, the Services are provided free of charge "AS IS". Stone Island does not provide any guarantee, by way of example but not limited to, relating to the quality, the good functioning, the absence of interruptions or the suitability of the Services for an end or a particular result set by the user.

- -

5. Rectification and Update

- -

The present Terms can be amended from time to time in consideration of possible regulatory changes. The new Terms shall be effective as of their date of publication in stoneisland.com You are requested to regularly access this section in order to check the publication of the most recent and updated Privacy Policy.

- -

* The availability of the Service may vary by country or region. Verify your My Account account to see which Services are available.

-
-
-
- -
-
-

TERMS AND CONDITIONS

-
-
-
- -
-
-

RETURN POLICY

-
-
-
- -
-
-

CUSTOMER CARE

-
-
-
- - - - -
-
-

LOADING...

-
-
- -
-
-
- - - -
-
-
- - - - -
-
- -
-
- - -
-
- -
-
-
- -
-
-
- -
-
-
- -
-
Fits Large
-
-
Not Available In Canada
-
-
-
- Sizing: The products of this collaboration fit slightly larger than the classic Stone Island garments. -

- We suggest you choose a smaller size than yours. -
-
-
-
- -
-
-
-

- LOADING THE STORE, PLEASE WAIT -

-

-

- -
-
- - - - -
-
-

LOGIN

-
-
-
- There was a problem submitting the form. Please correct the form below and try again. - - - - - -
- -
-
-
-
New User?
-
Forgot Password?
-
-
- -
-
-
- -
-
-
- -
-
-

LOGOUT

-
-
- - You are now logged out. - -
-
-
-
- -
-
-

NEW USER

-
-
-
- There was a problem submitting the form. Please correct the form below and try again. - - - - - - - - - - - - - - - - - -
- - -
- - -

PASSWORD

- - - - - - - -
- -
-
-
-
- - -
- -
-
-
- - -
- -
-
-
- - -
- -
-
- -
-
- Personal data will be electronically processed by SPORTSWEAR COMPANY and YOOX NET-A-PORTER GROUP in order to complete your request. Please note that you are responsible for third party data that you disclose to SPORTSWEAR COMPANY and YOOX NET-A-PORTER GROUP. -
- Consult our PRIVACY POLICY for further information. -
-
-
-
-
-
-
- -
-
-

MY PROFILE

-
-
-
- There was a problem submitting the form. Please correct the form below and try again. - - - - - - - - - - - - - -
- - -
- - -

CHANGE PASSWORD

- - - - - - - -
- -
-
- - -
-
-
-
-
-
- - -
- -
-
-
- - -
- -
-
- Personal data will be electronically processed by SPORTSWEAR COMPANY and YOOX NET-A-PORTER GROUP in order to complete your request. Please note that you are responsible for third party data that you disclose to SPORTSWEAR COMPANY and YOOX NET-A-PORTER GROUP. -
- Consult our PRIVACY POLICY for further information. -
-
-
-
-
-
-
- -
-
-

ADDRESS BOOK

-
-
-
- There was a problem submitting the form. Please correct the form below and try again. -
-
-
-
- - * Your personal and payment
- information will always remain private -
-
-
- Consult our PRIVACY POLICY for further information. -
-
-
-
-
-
- -
-
-

MY CARD

-
-
-
- There was a problem submitting the form. Please correct the form below and try again. -
-
-
-
-
- - * Your personal and payment
- information will always remain private -
-
-
- Consult our PRIVACY POLICY for further information. -
-
-
-
-
-
- -
-
-

NOTIFICATIONS

-
-
-
-
-

Store

- Receive notifications for Store -
-
- - -
-
-
-
-

Hub

- Receive notifications for Hub -
-
- - -
-
-
-
-
-
- -
-
-

MY ORDERS

-
-
-
You have no orders.
- -
- -
-
-

ORDER SUMMARY

- -
- -
-
-
- SUB TOTAL - -
-
- ESTIMATED SHIPPING & HANDLING - -
-
- TAX - -
-
- TOTAL - -
-
-
- -
-

SHIP TO

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

- - YOUR CART / - - - YOUR CART IS EMPTY - -

- -
- SUMMARY - SHIPPING - PAYMENT -
- -
-
-
-
-
-
- -
-
-
- SUB TOTAL - -
-
- ESTIMATED SHIPPING
& HANDLING
- -
-
- TAX - -
-
- TOTAL - -
-
-
-
-
-
- You have nothing in your cart. -
-
-
-
-
- -
-
-
- -
- -
-
- -

SHIPPING METHOD

- -
-
-
- - -
- -
-
-
- - -
- -
-
- -
-
-
- - * Your personal and payment
- information will always remain private -
-
- -
- Consult our PRIVACY POLICY for further information. -
-
-
-
- -
-
-
- -
-
-
- -
-
- There was a problem submitting the form. Please correct the form below and try again. - -
-
-
- - -
- -
-
- -
- - -
- -
- -
- -
- - - -
- -
- -
- -
-

PLEASE ENTER YOUR SECURITY CODE TO CONFIRM

- -
-
- -
-
- - * Your personal and payment
- information will always remain private -
-
- href="#/page/privacy"> -
- Consult our PRIVACY POLICY for further information. -
-
-
-
-
-
-
- -
-
-

CONFIRM

- -
-

ORDER SUMMARY

- -
- -
-
-
- SUB TOTAL - -
-
- ESTIMATED SHIPPING
& HANDLING
- -
-
- TAX - -
-
- TOTAL - -
-
-
- -
-

SHIP TO

- -
-
-
- -
-

BILL TO

- -
-
-
- -
- -
- -
-
- -
-
- THANK YOU -

- Please check your inbox for your confirmation email. -

-
-
- -
-
- WE'RE SORRY -

-
-
- -
- - - -
-
-
- - - -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/StoneIsland/platforms/android/assets/www/js/index.js b/StoneIsland/platforms/android/assets/www/js/index.js deleted file mode 100755 index 42cec6f1..00000000 --- a/StoneIsland/platforms/android/assets/www/js/index.js +++ /dev/null @@ -1,165 +0,0 @@ -var app = (function(){ - var app = {} - - app.init = function(){ - console.log("init") - - if (window.location.hostname === 'lvh.me' || window.location.hostname === 'dev.stone.giraffe.life' || window.location.hostname === 'staging.stone.giraffe.life') { - console.log('launching in test mode') - sdk.init({ env: "test" }) - } - else { - sdk.init({ env: "production" }) - } - - if (window.cordova) { - document.addEventListener('deviceready', app.device_ready, false) - } - else { - app.device_ready() - } - } - - app.bind = function(){ - document.addEventListener('touchmove', function(e){ e.preventDefault() }) - FastClick.attach(document.body) - } - - app.build = function(){ - app.blog = new BlogView () - app.archive = new ArchiveView () - app.hub = new HubView () - app.story = new StoryView () - app.cart = new CartView () - - app.intro = new IntroView () - app.header = new HeaderView () - app.footer = new FooterView () - app.curtain = new CurtainView () - app.nav = new NavView () - - app.account = new AccountView () - app.login = new LoginView () - app.logout = new LogoutView () - app.signup = new SignupView () - app.profile = new ProfileView () - app.payment = new PaymentView () - app.shipping = new ShippingView () - app.settings = new SettingsView () - app.orders = new OrdersView () - - app.terms = new PageView ({ page: "terms" }) - app.privacy = new PageView ({ page: "privacy" }) - app.account_terms = new PageView ({ page: "account_terms" }) - app.returns = new PageView ({ page: "returns" }) - app.care = new PageView ({ page: "care" }) - - app.collection = new CollectionView () - app.product = new ProductView () - app.closed = new ClosedStoreView () - app.search = new SearchView () - - app.selector = new Selector () - } - - app.device_ready = function(){ - accessibility.init(app.ready) // check if we can do native scrolling before build - } - - app.ready = function(){ - console.log(">> READY") - - app.bind() - app.build() - - app.iscroll_options = { - mouseWheel: true, - scrollbars: true, - disablePointer: is_android ? true : false, // important to disable the pointer events that causes the issues - disableTouch: false, // false if you want the slider to be usable with touch devices - disableMouse: false // false if you want the slider to be usable with a mouse (desktop) - } - - if (window.cordova) { - document.addEventListener('pause', app.paused, false) - document.addEventListener('resume', app.resumed, false) - document.addEventListener('online', app.online, false) - document.addEventListener('offline', app.offline, false) - cordova.plugins.Keyboard.disableScroll(true) - cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false) - geo.fetch() - sim.fetch(app.api_ready) - var image = new Image - image.src = "./img/compass-logo.png" - } - else { - app.api_ready() - } - } - - app.api_ready = function(){ - if (is_iphone_x && 'StatusBar' in window) { - window.StatusBar.hide() - } - - app.view = null - app.router = new SiteRouter () - - // if (sdk.env == "test") { - // app.router.launch() - // } - // else { - // } - push.init() - - if (navigator.onLine) { - app.account.connect(window.deepLinkRoute || '/intro') - app.blog.fetch(function(){ - console.log("navigating to deep link route after fetch") - app.router.initial_route = window.deepLinkRoute || null - app.router.launch() - }) - } - else { - console.log(">> LAUNCHED WHILE OFFLINE") - app.router.go("intro") - app.finished_launching() - } - } - - app.finished_launching = function(){ - console.log(">> FINISHED LAUNCHING") - if (window.cordova) { - navigator.splashscreen.hide() - } - if (window.deepLinkRoute) { - app.router.go(window.deepLinkRoute) - } - app.fullscreenViewer = ImageViewer() - $("body").removeClass("loading") - } - - var refresh_time = +Date.now() - app.paused = function(){} - app.resumed = function(){ - console.log( "app is ready?", app.is_ready ) - - geo.fetch() - var now = +Date.now() - if (now - refresh_time > 60 * 60 * 1000) { - refresh_time = now - app.blog.refresh() - } - } - - app.online = function(){ - console.log(">> ONLINE") - } - app.offline = function(){ - console.log(">> OFFLINE") - } - - return app -})() - -app.init() diff --git a/StoneIsland/platforms/android/assets/www/js/lib/_router.js b/StoneIsland/platforms/android/assets/www/js/lib/_router.js deleted file mode 100755 index 75f598e9..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/_router.js +++ /dev/null @@ -1,138 +0,0 @@ -var SiteRouter = Router.extend({ - - el: 'body', - routeByHash: true, - - routes: { - '/': 'intro', - '/intro': 'intro', - '/hub': 'hub', - '/story': 'story', - '/archive': 'archive', - - '/store': 'collection', - '/store/closed': 'closed', - '/store/:code': 'product', - - '/account/login': 'login', - '/account/logout': 'logout', - '/account/signup': 'signup', - '/account/profile': 'profile', - '/account/payment': 'payment', - '/account/shipping': 'shipping', - '/account/orders': 'orders', - '/account/settings': 'settings', - - '/page/terms': 'terms', - '/page/account_terms': 'account_terms', - '/page/privacy': 'privacy', - '/page/returns': 'returns', - '/page/care': 'care', - - '/search': 'search', - - '/cart': 'cart.summary', - '/cart/summary': 'cart.summary', - '/cart/payment': 'cart.payment', - '/cart/shipping': 'cart.shipping', - '/cart/confirm': 'cart.confirm', - '/cart/thanks': 'cart.thanks', - '/cart/error': 'cart.error', - }, - - terms_routes: [ - 'terms', - 'account_terms', - 'privacy', - 'returns', - 'care', - 'logout', - ], - - initialize: function(){ - var fn - for (var route in this.routes) { - fn = this.routes[route] - if (! this[fn]) { - this[fn] = this.default_view(fn) - } - } - }, - - initial_route: null, - launch: function(){ - console.log("LAUNCH!") - if (this.initial_route) { - this.parseRoute( this.initial_route ) - } - else { - this.route() - } - this.initial_route = null - - app.finished_launching() - }, - - go: function(url){ - if (app.view && app.view.hide) { - app.view.hide() - } - window.location.href = "#/" + url - this.parseRoute(url) - }, - - default_view: function(name){ - var fn = function(){ - console.log(name) - var n = [name] - if (app.view != app.login && app.view != app.signin) { - app.last_view = app.view - } - if (app.view && app.view.hide) { - app.view.hide() - } - if (name.match(/\./)) { - n = name.split(".") - console.log(name, n) - app.view = app[n[0]][n[1]] - } - else { - app.view = app[name] - } - - // window.FirebasePlugin && window.FirebasePlugin.setScreenName(name) - console.log("view >>", app.view) - app.header.set_back( !! app.view.back ) - app.view.show() - - // var isTermsRoute = this.terms_routes.indexOf(name) !== -1 - // var isCartRoute = n[0] === 'cart' - // if ( (isCartRoute || app.demand_consent && !isTermsRoute) && app.account.consent.check()) { - // console.log('showed consent modal') - // return - // } - - var isNotTermsRoute = this.terms_routes.indexOf(name) === -1 - var isCartRoute = n[0] === 'cart' - var userMightActuallyViewCart = isCartRoute && auth.logged_in() - var demandingConsent = app.demand_consent && isNotTermsRoute - if ((userMightActuallyViewCart || demandingConsent) && app.account.consent.check()) { - console.log('showed consent modal') - return - } - }.bind(this) - return fn - }, - - product: function(code){ - if (app.view && app.view.hide) { - app.view.hide() - } - app.view = app.product - app.header.set_back( true ) - app.product.load(code) - app.product.show() - }, - -}) - diff --git a/StoneIsland/platforms/android/assets/www/js/lib/account/AccountView.js b/StoneIsland/platforms/android/assets/www/js/lib/account/AccountView.js deleted file mode 100755 index af035f6a..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/account/AccountView.js +++ /dev/null @@ -1,176 +0,0 @@ -var AccountView = View.extend({ - - initialize: function(){ - this.consent = new ConsentModal({ parent: this }) - }, - - connect: function(initialLoginPath){ - auth.init(this.ready.bind(this, function(){}, initialLoginPath)) - }, - - ready: function(cb, initialLoginPath){ - if (auth.logged_in()) { - this.logged_in(cb, initialLoginPath) - } - else { - this.logged_out(cb) - } - }, - - addresses: [], - addressLookup: {}, - ccs: [], - ccLookup: {}, - - listAddresses: function(opt){ - opt = opt || {} - sdk.address.list({ - success: function(data){ - this.populateAddresses(data, opt.success) - }.bind(this), - error: function(data){ - console.log("error listing addresses!") - console.log(data.responseText) - opt.error && opt.error() - }.bind(this), - }) - }, - - populateAddresses: function(data, cb){ - console.log("populate addresses:", data.AddressBook.addressBookItem) - - if (! data.AddressBook) { - console.log("no addresses") - cb && cb() - return - } - - this.addresses = data.AddressBook.addressBookItem - this.addressLookup = {} - data.AddressBook.addressBookItem.forEach(function(item){ - this.addressLookup[ item.Id ] = item - if (item.IsDefault) { - console.log("SHIPPING ADDRESS", item) - app.shipping.populate(item) - } - if (item.IsBillingDefault) { - console.log("BILLING ADDRESS") - app.payment.populate(item) - } - }.bind(this)) - - app.cart.shipping.populate() - app.cart.payment.populate() - - cb && cb() - }, - - listCreditCards: function(cb){ - sdk.payment.list_credit_cards({ - success: function(data){ - this.populateCreditCards(data, cb) - }.bind(this) - }) - }, - - populateCreditCards: function(data, cb){ - // console.log("populate ccs:", data.CreditCards) - this.ccs = data.CreditCards - this.ccLookup = {} - if (! data.CreditCards || ! data.CreditCards.length) { - } - else { - data.CreditCards.forEach(function(cc){ - this.ccLookup[cc.Id] = cc - }.bind(this)) - app.payment.populate( data.CreditCards[0] ) - app.cart.payment.populate() - } - cb && cb() - }, - - logged_in: function(cb, initialLoginPath){ - this.listAddresses() - this.listCreditCards() - $("#nav .login").hide() - $("#nav .account, #nav .logout").show() - if (! auth.deferred_product && app.last_view) { - if (app.last_view != app.login && app.last_view != app.signin && app.last_view != app.logout) { - app.view && app.view.hide && app.view.hide() - app.view = app.last_view - app.view.show() - } - } - else { - cb && cb() - } - console.log('logged in') - app.account.consent.check() - if ( ! auth.has_cart() ) { - console.log('no cart') - app.curtain.show("loading") - auth.create_cart({ - success: function(){ - console.log('got cart') - if (auth.deferred_product) { - console.log('adding deferred product') - auth.add_deferred_product_to_cart({ - success: function(){ - console.log('success!') - app.router.go("cart") - setTimeout(function(){ - app.curtain.hide("loading") - }, 500) - }, - error: function(){ - // TODO: should not be called because cart was just created - console.log("ERROR ADDING PRODUCT TO NEW CART") - }, - }) - } - else { - if (initialLoginPath) { - console.log("navigating to deep link route from logged_in") - app.router.go(initialLoginPath) - } - else if (!app.last_view) { - app.router.go("account/profile") - } - app.account.consent.check() - app.curtain.hide("loading") - } - }, - error: function(){ - // error CREATING cart... - console.log("ERROR CREATING CART") - auth.log_out() - app.account.logged_out() - }, - }) - } - else { - if (auth.deferred_product) { - auth.add_deferred_product_to_cart({ - success: function(){ - app.router.go("cart") - }, - error: function(){ - // TODO: cart might be invalid.. - console.log("CALLED LOGGED_IN, HAD DEFERRED PRODUCT") - }, - }) - } - else { - app.cart.load() - } - } - }, - - logged_out: function(cb){ - $("#nav .login").show() - $("#nav .account, #nav .logout").hide() - $("#nav").removeClass("account") - cb && cb() - }, - -}) diff --git a/StoneIsland/platforms/android/assets/www/js/lib/account/ConsentModal.js b/StoneIsland/platforms/android/assets/www/js/lib/account/ConsentModal.js deleted file mode 100644 index c9235498..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/account/ConsentModal.js +++ /dev/null @@ -1,90 +0,0 @@ -var ConsentModal = View.extend({ - - el: "#consent_modal", - - events: { - "change [name=AccountTermsConsent]": "changeConsent", - "click #consent_proceed": "proceed", - "click #consent_logout": "logout", - "click a": "navigate", - }, - - initialize: function(){ - this.$form = this.$(".form") - this.$msg = this.$(".msg") - this.$checkbox = this.$("[name=AccountTermsConsent]") - this.$consentError = this.$("#consent_error") - }, - - check: function(){ - var status = localStorage.getItem('account_terms.consent') - console.log('account_terms.consent', status) - if (status !== 'true') { - console.log('we demand consent!') - app.demand_consent = true - this.show() - return true - } else { - console.log('already received consent!') - this.hide() - app.demand_consent = false - return false - } - }, - - show: function(){ - app.demand_consent = true - this.$el.show() - setTimeout(function(){ - this.$el.addClass('visible') - }.bind(this), 20) - app.curtain.show('opaque') - setTimeout(function(){ - app.curtain.show('opaque') - }, 300) - }, - - hide: function(){ - app.curtain.hide() - this.$el.removeClass('visible') - setTimeout(function(){ - this.$el.hide() - app.curtain.$el.removeClass('opaque') - }.bind(this), 300) - }, - - navigate: function(e){ - var href = $(e.currentTarget).attr('href').replace('#', '') - console.log(href) - this.hide() - app.router.go(href) - }, - - changeConsent: function(){ - var state = this.$checkbox.prop("checked") - if (state) { - this.$consentError.removeClass('visible') - } else { - this.$consentError.addClass('visible') - } - }, - - proceed: function(){ - var state = this.$checkbox.prop("checked") - if (!state) { - this.$consentError.addClass('visible') - return - } - app.demand_consent = false - this.hide() - localStorage.setItem('account_terms.consent', 'true') - }, - - logout: function(){ - app.demand_consent = false - this.hide() - localStorage.setItem('account_terms.consent', 'false') - app.router.go("account/logout") - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/account/OrdersView.js b/StoneIsland/platforms/android/assets/www/js/lib/account/OrdersView.js deleted file mode 100755 index 1522a096..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/account/OrdersView.js +++ /dev/null @@ -1,195 +0,0 @@ -var OrdersView = ScrollableView.extend({ - - el: "#orders", - - loaded: false, - - list_template: $("#orders .list_template").html(), - item_template: $("#orders .item_template").html(), - - events: { - "click .back": "back", - "click .item": "load_single", - }, - - initialize: function(){ - this.$list = this.$(".list") - this.$empty = this.$(".empty") - this.$single_order = this.$("#single_order") - - this.$rows = this.$(".rows") - this.$subtotal = this.$(".subtotal") - this.$shipping = this.$(".shipping") - this.$tax = this.$(".tax") - this.$total = this.$(".total") - - this.$shipping_address = this.$(".shipping_address") - this.$shipping_method = this.$(".shipping_method") - - this.scroller = ScrollFactory('#orders', app.iscroll_options) - }, - - show: function(){ - if (! auth.logged_in()) { return app.router.go("intro") } - if (! navigator.onLine) { - app.closed.showElement() - app.closed.setMessage("PLEASE GO ONLINE TO VIEW
YOUR ORDERS.", "") - return - } - app.account.consent.check() - app.header.set_back(false) - app.footer.hide() - document.body.className = "orders" - this.deferScrollToTop() - this.el.className = "" - - if (this.loaded) { - this.populate() - } - else { - this.fetch() - } - }, - - orders: null, - orderLookup: {}, - - fetch: function(){ - this.$list.empty() - this.$empty.hide() - this.loader = new Loader(this.ready.bind(this)) - app.curtain.show("loading") - sdk.account.fetch_orders({ - success: function(data){ - this.loader.register("orders") - this.orders = data.OrderDetails - data.OrderDetails.forEach(function(row){ - this.loader.register(row.OrderNumber) - sdk.account.fetch_single_order({ - id: row.OrderNumber, - success: function(row_data){ - this.orderLookup[ row.OrderNumber ] = row_data.OrderFullDetails - this.loader.ready(row.OrderNumber) - }.bind(this), - error: function(){ - this.orderLookup[ row.OrderNumber ] = null - this.loader.ready(row.OrderNumber) - }.bind(this), - }) - }.bind(this)) - this.loader.ready("orders") - }.bind(this), - error: function(){ - console.log("error fetching orders") - }.bind(this), - }) - }, - - ready: function(){ - this.populate() - app.curtain.hide("loading") - }, - - populate: function(){ - this.$list.empty() - - if (! this.orders.length) { - this.$empty.show() - return - } - else { - this.$empty.hide() - } - this.orders.forEach(function(row){ - var order = this.orderLookup[ row.OrderNumber ] - if (! order) { return } - var t = this.list_template.replace(/{{date}}/g, moment(order['Date']).format("ddd MM/DD/YYYY").toUpperCase()) - .replace(/{{id}}/g, row.OrderNumber) - .replace(/{{total}}/g, as_cash( order.TotalAmount )) - var $t = $(t), $images = $t.find(".images") - order.Items.forEach(function(item){ - var img = new Image () - img.src = sdk.image(item['Code10'], "11_f") - $images.append(img) - }.bind(this)) - this.$list.append($t) - }.bind(this)) - - this.refreshScroller() - }, - - load_single: function(e){ - var id = $(e.currentTarget).data("id") - var order = this.orderLookup[ id ] - if (! order) { return } - - console.log(order) - - this.$rows.empty() - - order.Items.forEach(function(item){ - var $el = $("
") - this.$rows.append($el) - var code_ten = item.Code10 - - var code = code_ten.substr(0, 8) - app.product.find(code, function(data, details){ - var descriptions = app.product.get_descriptions( details ) - - var name_partz = descriptions['ModelNames'].split(' ') - var num = name_partz.shift() - var title = name_partz.join(' ') - var type = title_case( descriptions['MicroCategory'] ) - - var color_name, size_name - - details.Item.ModelColors.some(function(color){ - if (color['Code10'] == code_ten) { - color_name = color['ColorDescription'] - return true - } - return false - }) - size_name = item.DefaultSize + " " + item.DefaultSizeClassFamily - - var t = this.item_template - .replace(/{{image}}/, sdk.image(item['Code10'], '11_f')) - .replace(/{{sku}}/, num) - .replace(/{{title}}/, title) - .replace(/{{type}}/, type) - .replace(/{{size}}/, size_name || "DEFAULT") - .replace(/{{color}}/, color_name || "DEFAULT") - .replace(/{{quantity}}/, 1) - .replace(/{{price}}/, as_cash(details.Item.Price.DiscountedPrice)) - $el.data("price", details.Item.Price.DiscountedPrice) - $el.html(t) - this.refreshScroller() - }.bind(this)) - }.bind(this)) - - var subtotal = order.ItemsTotalAmount - var shipping_cost = order.Delivery.Amount - var tax = order.SalesTaxAmount - var total = order.TotalToPay - - this.$subtotal.html( as_cash(subtotal) ) - this.$shipping.html( as_cash(shipping_cost) ) - this.$tax.html( as_cash(tax) ) - this.$total.html( as_cash(total) ) - - var street = order.Delivery.Address.replace(/\n$/,"").replace("\n","
") - var address = order.Delivery.Name + "
" + street + "
" + order.Delivery.City + " " + order.Delivery.ZipCode - this.$shipping_address.html(address) - this.$shipping_method.html(order.Delivery.Type + " - " + order.Delivery.Time) - - app.header.set_back(true) - this.$el.addClass("single") - }, - - back: function(){ - app.header.set_back(false) - this.el.className = "" - }, - -}) - diff --git a/StoneIsland/platforms/android/assets/www/js/lib/account/PaymentView.js b/StoneIsland/platforms/android/assets/www/js/lib/account/PaymentView.js deleted file mode 100755 index 8767b39f..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/account/PaymentView.js +++ /dev/null @@ -1,128 +0,0 @@ -var PaymentView = FormView.extend({ - - el: "#payment", - - action: sdk.payment.add_credit_card, - - events: { - }, - - test_data: { - "Name":"Name", - "Surname":"Surname", - "Address1":"address", - "Address2":"address2", - "City":"Ferrara", - "Province":"NY", - "HolderIsoCountry":"IT", - "CreditCardCountry": "US", - "ZipCode":"40200", - "Type":"Visa", - "Number":"4111111111111111", - "ExpirationMonth":"09", - "ExpirationYear":"2017", - "Cvv":"1233", - }, - - initialize: function(){ - this.$form = this.$(".form") - this.$msg = this.$(".msg") - this.address = new AddressView ({ parent: this, checkPhone: false }) - this.cc = new CreditCardView ({ parent: this }) - this.scroller = ScrollFactory('#payment', app.iscroll_options) - }, - - show: function(){ - if (! auth.logged_in()) { return app.router.go("intro") } - if (! navigator.onLine) { - app.closed.showElement() - app.closed.setMessage("PLEASE GO ONLINE TO CHANGE
YOUR PAYMENT INFO.", "") - return - } - app.account.consent.check() - app.footer.show("SAVE") - document.body.className = "payment" - this.deferScrollToTop() - // this.preload() - }, - - populate: function(data){ - this.data = data || this.data - this.address.populate(data) - this.cc.populate(data) - }, - - finalize: function(data){ - if (this.cc.data && this.cc.data.Guid) { - sdk.payment.delete_credit_card({ - guid: this.cc.data.Guid, - success: function(){ console.log("deleted credit card") }, - error: function(){ console.log("error deleting credit card") }, - }) - } - - data.IsDefault = "true" // this.$isDefault.prop("checked") ? "true" : "false" - data.UserId = sdk.auth.user_id - data.HolderIsoCountry = "US" - data.CreditCardNumber = data.Number - data.IsPreferred = "true" - - console.log(data) - return data - }, - - success: function(data){ - app.curtain.show("loading") - app.account.listAddresses({ - success: function(){ - this.$msg.html('Your payment information has been saved.') - app.curtain.hide("loading") - }.bind(this), - error: function(){ - app.curtain.hide("loading") - }, - }) - }, - - error: function(data){ - console.log("ERROR WITH PAYMENT") - console.log(data) - }, - - cancel: function(){ - app.router.go("intro") - }, - -}) - -/* - var new_card = { - "Name":"Name", - "Surname":"Surname", - "Address":"address", - "City":"Ferrara", - "Province":"FE", - "HolderIsoCountry":"IT", - "ZipCode":"40200", - "Type":"Visa", - "Number":"0000567890124285", - "ExpirationMonth":"02", - "ExpirationYear":"2017", - } - promise(sdk.payment.add_credit_card, { data: new_card }).then(function(data){ - last_guid = data['CreditCard']['Guid'] - assert(data.Header.StatusCode == 201) - assert(!! last_guid) - done() - }) - - promise(sdk.payment.list_credit_cards, { data: {} }).then(function(data){ - assert(data.Header.StatusCode == 201) - console.log(data) - done() - }) - - promise(sdk.payment.delete_credit_card, { guid: last_guid }).then(function(data){ - assert(data.Header.StatusCode == 200) - done() -*/ \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/account/ProfileView.js b/StoneIsland/platforms/android/assets/www/js/lib/account/ProfileView.js deleted file mode 100755 index 1bbfff22..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/account/ProfileView.js +++ /dev/null @@ -1,129 +0,0 @@ -var ProfileView = FormView.extend({ - - el: "#profile", - - events: { - "click .privacy-msg": "privacy_link", - }, - - action: sdk.account.update, - - initialize: function(){ - this.$form = this.$(".form") - this.$msg = this.$(".msg") - this.scroller = ScrollFactory('#profile', app.iscroll_options) - }, - - show: function(){ - if (! auth.logged_in()) { return app.router.go("intro") } - if (! navigator.onLine) { - app.closed.showElement() - app.closed.setMessage("PLEASE GO ONLINE TO
EDIT YOUR PROFILE.", "") - return - } - if (! auth.user) return - app.account.consent.check() - app.footer.show("SAVE") - document.body.className = "profile" - if (auth.user.BirthDay.match(/T/)) { - auth.user.BirthDay = auth.user.BirthDay.split("T")[0] - } - if (auth.user.BirthDay === '1900-01-01') { - auth.user.BirthDay = '' - } - if (auth.user.name && ! auth.user.Name) { - auth.user.Name = auth.user.name - } - if (auth.user.surname && ! auth.user.Surname) { - auth.user.Surname = auth.user.surname - } - if (auth.user.email && ! auth.user.Email) { - auth.user.Email = auth.user.email - } - console.log(auth.user) - this.preload(auth.user) - this.deferScrollToTop() - }, - - validate_presence: { - "Name": "Please enter your first name.", - "Surname": "Please enter your last name.", - "Email": "Please enter a valid email address.", - // "BirthDay": "Please enter your birthday.", - }, - - validate_fields: function(data, errors){ - if (! data.Email.match("@")) { errors.push([ "Email", "Email address is not valid." ]) } - if (! data.CurrentPassword && (data.NewPassword || data.Email !== auth.user.Email)) { errors.push([ "CurrentPassword", "Please enter your current password." ]) } - if (data.CurrentPassword && ! data.NewPassword) { errors.push([ "NewPassword", "Please enter your new password." ]) } - if (data.NewPassword && data.NewPassword.length < 7) { errors.push([ "CurrentPassword", "New password must be 7 characters or more." ]) } - var now = new Date () - var year = now.getFullYear() - if (! data.BirthDay) data.BirthDay = year + '-01-01' - if (data.BirthDay.split('-')[0] || '2018') - var birthday = new Date (data.BirthDay) - if (isNaN(birthday) || (now - birthday) / (365*24*60*60*1000) < 18) { - errors.push(['BirthDay', 'You must be 18 or older to use the Stone Island app.']) - } - // if (data.Gender === "NONE") { errors.push([ "Gender", "Please supply your gender." ]) } - }, - - finalize: function(data){ - if (data.CurrentPassword && (data.NewPassword || data.Email !== auth.user.Email)) { - data.NewPassword = data.NewPassword || data.CurrentPassword - data.NewEmail = data.NewEmail || auth.user.Email - - sdk.account.update_mail_and_password({ - data: { - Password: data.CurrentPassword, - NewPassword: data.NewPassword || data.CurrentPassword, - Email: auth.user, - NewEmail: data.NewEmail || auth.user.Email, - }, - success: function(){ console.log("updated password") }, - error: function(){ console.log("error updating password") }, - }) - } - - var submissible_data = _.pick(data, "Name Surname BirthDay YooxLetter".split(" ")) - submissible_data.Gender = "U" -// submissible_data.idUser = auth.user_id -// submissible_data.AccessToken = auth.access_token -// submissible_data.Premium = "false" -// submissible_data.LanguageId = "" -// submissible_data.SiteCode = "STONEISLAND_US" -// submissible_data.FuriganaName = "" -// submissible_data.FuriganaSurname = "" -// submissible_data.UserPromocode = "" - submissible_data.BirthDay += "T00:00:00Z" - submissible_data.YooxLetter = this.$("[name=YooxLetter]").prop("checked") - submissible_data.DataProfiling = this.$("[name=DataProfiling]").prop("checked") - - console.log(data.DataProfiling, submissible_data.DataProfiling) - console.log(submissible_data) - - return submissible_data - }, - - privacy_link: function(){ - // rewrite app.privacy instance temporarily - app.privacy.back = function(){ - app.router.go("account/profile") - } - app.privacy.hide = function(){ - app.privacy.back = app.privacy.hide = null - } - app.router.go("page/privacy") - }, - - success: function(data){ - }, - - error: function(data){ - }, - - cancel: function(){ - app.router.go("intro") - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/account/SettingsView.js b/StoneIsland/platforms/android/assets/www/js/lib/account/SettingsView.js deleted file mode 100755 index 196b7759..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/account/SettingsView.js +++ /dev/null @@ -1,46 +0,0 @@ -var SettingsView = FormView.extend({ - - el: "#settings", - - events: { - "change [name=store]": "changeStore", - "change [name=hub]": "changeHub", - }, - - initialize: function(){ - this.$form = this.$(".form") - this.$msg = this.$(".msg") - this.$store = this.$("[name=store]") - this.$hub = this.$("[name=hub]") - this.scroller = ScrollFactory('#settings', app.iscroll_options) - }, - - show: function(){ - if (! auth.logged_in()) { return app.router.go("intro") } - if (! navigator.onLine) { - app.closed.showElement() - app.closed.setMessage("PLEASE GO ONLINE TO CHANGE
YOUR NOTIFICATION SETTINGS.", "") - return - } - app.account.consent.check() - document.body.className = "settings" - this.deferScrollToTop() - - this.$store.prop("checked", !! push.settings.store) - this.$hub.prop("checked", !! push.settings.hub) - // push.subscribe("store") - // push.subscribe("hub") - }, - - changeStore: function(){ - var state = app.settings.$store.prop("checked") - if (state) { push.subscribe("store") } - else { push.unsubscribe('store') } - }, - changeHub: function(){ - var state = app.settings.$hub.prop("checked") - if (state) { push.subscribe("hub") } - else { push.unsubscribe('hub') } - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/account/ShippingView.js b/StoneIsland/platforms/android/assets/www/js/lib/account/ShippingView.js deleted file mode 100755 index 4c45e97f..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/account/ShippingView.js +++ /dev/null @@ -1,89 +0,0 @@ -var ShippingView = FormView.extend({ - - el: "#shipping", - - action: sdk.address.add, - - events: { - }, - - test_data: { - "Name":"name", - "Surname":"surname", - "Address":"address1\naddress2", - "IsDefault":false, - "IsBillingDefault":false, - "IsOwner":false, - "ZipCode":"88040", - "City":"City", - "Province":"NY", - "Phone":"1234567890", - "Mobile":"Mobile", - "Mail":"Mail", - "UserId": sdk.auth.user_id, - }, - - initialize: function(){ - this.$form = this.$(".form") - this.$msg = this.$(".msg") - this.address = new AddressView ({ parent: this }) - this.scroller = ScrollFactory('#shipping', app.iscroll_options) - }, - - show: function(){ - if (! auth.logged_in()) { return app.router.go("intro") } - if (! navigator.onLine) { - app.closed.showElement() - app.closed.setMessage("PLEASE GO ONLINE TO
EDIT YOUR SHIPPING INFO.", "") - return - } -// this.preload( this.data || this.test_data ) - app.account.consent.check() - app.footer.show("SAVE") - document.body.className = "shipping" - this.deferScrollToTop() - }, - - populate: function(data){ - this.data = data || this.data - this.address.populate(data) - }, - - finalize: function(data){ - if (this.address.data && this.address.data.Id) { - sdk.address.destroy({ - id: this.address.data.Id, - success: function(){}, - error: function(){}, - }) - } - - data.IsDefault = "true" // this.$isDefault.prop("checked") ? "true" : "false" - data.UserId = sdk.auth.user_id - - console.log(data) - return data - }, - - success: function(data){ - app.curtain.show("loading") - app.account.listAddresses({ - success: function(){ - this.$msg.html('Your address has been saved.') - app.curtain.hide("loading") - }.bind(this), - error: function(){ - app.curtain.hide("loading") - }, - }) - }, - - error: function(data){ - console.log(data) - }, - - cancel: function(){ - app.router.go("intro") - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/auth/LoginView.js b/StoneIsland/platforms/android/assets/www/js/lib/auth/LoginView.js deleted file mode 100755 index 4927bea2..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/auth/LoginView.js +++ /dev/null @@ -1,58 +0,0 @@ -var LoginView = FormView.extend({ - - el: "#login", - - action: sdk.account.login, - - events: { - "click .newuser": "new_user", - "click .forgotpassword": "forgot_password", - "submit form": "save", - }, - - initialize: function(){ - this.$form = this.$(".form") - this.$msg = this.$(".msg") - this.scroller = ScrollFactory('#login', app.iscroll_options) - }, - - show: function(){ - if (auth.logged_in()) { - app.router.go("intro") - return - } - var msg = "* Your personal and payment
information will always remain private" - app.footer.show("SUBMIT") - this.$("input").val("") - this.$msg.html(msg) - document.body.className = "login" - }, - - new_user: function(){ - app.router.go("account/signup") - }, - - forgot_password: function(){ - window.open("https://www.stoneisland.com/yTos/Plugins/AreaLocalizer/Redirectarea?area=Account&controllerName=User&actionName=Index", '_system') - }, - - validate_presence: { - "Email": "Please enter a valid email address.", - "Password": "Please enter your password.", - }, - - success: function(data){ - console.log(data) - app.account.logged_in(null, "store") - }, - - error: function(data){ - this.$msg.html("There was an error logging you in. Bad password?") - this.$msg.addClass('alert-notice') - }, - - cancel: function(){ - auth.deferred_product = null - }, - -}) diff --git a/StoneIsland/platforms/android/assets/www/js/lib/auth/LogoutView.js b/StoneIsland/platforms/android/assets/www/js/lib/auth/LogoutView.js deleted file mode 100755 index d3f76428..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/auth/LogoutView.js +++ /dev/null @@ -1,19 +0,0 @@ -var LogoutView = View.extend({ - - el: "#logout", - - events: { - }, - - show: function(){ - document.body.className = "logout" - app.header.set_cart_count(0) - app.footer.hide() - auth.log_out() - localStorage.setItem('account_terms.consent', 'false') - app.demand_consent = false - app.account.consent.hide() - app.account.logged_out() - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js b/StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js deleted file mode 100755 index b16ff887..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/auth/SignupView.js +++ /dev/null @@ -1,137 +0,0 @@ -var SignupView = FormView.extend({ - - el: "#signup", - - action: sdk.account.signup, - last_data: null, - -/* - test_data: { - "Email": "testit.account" + Math.floor(Math.random() * 10000000) + "@yoox.com", - "Password": "TestPassword", - "Password2": "TestPassword", - "Gender": "U", - "Name": "TestName", - "Surname": "TestSurname", - "BirthDay": "1978-11-12", - "DataProfiling": true, - }, -*/ - - events: { - "click .privacy-msg": "privacy_link", - "submit form": "save", - }, - - initialize: function(){ - this.$form = this.$(".form") - this.$msg = this.$(".msg") - this.scroller = ScrollFactory('#signup', app.iscroll_options) - }, - - show: function(){ - if (auth.logged_in()) { - app.router.go("intro") - return - } - var msg = "* Your personal and payment
information will always remain private" - app.footer.show("SUBMIT") - this.$("input").val("") - this.$msg.html(msg) - document.body.className = "signup" - - this.preload() - this.deferScrollToTop() - }, - - validate_presence: { - "Name": "Please enter your first name.", - "Surname": "Please enter your last name.", - "Email": "Please enter a valid email address.", - "ConfirmEmail": "Please enter a valid email address.", - "BirthDay": "Please enter your birthday. You must be 18 or older to use the Stone Island app.", - "Password": "Please enter your password.", - "Password2": "Please enter your password again.", - "DataProfiling": "You must consent to data profiling to use the Stone Island app.", - "GdprTerms": "You must agree to the Your My Account terms.", - }, - - validate_fields: function(data, errors){ - console.log(data) - if (data.Password.length < 7) { errors.push([ "Password", "Password must be 7 characters or more." ]) } - if (data.Password !== data.Password2) { errors.push([ "Password2", "Passwords don't match." ]) } - if (! data.Email.match("@")) { errors.push([ "Email", "Email address is not valid." ]) } - if (data.Email.toLowerCase() !== data.ConfirmEmail.toLowerCase()) { errors.push([ "ConfirmEmail", "Email addresses don't match." ]) } - // if (data.Gender === "NONE") { errors.push([ "Gender", "Please supply your gender." ]) } - if (data.DataProfiling !== "true") { errors.push([ "DataProfiling", "You must consent to data profiling to use the Stone Island app." ]) } - if (data.GdprTerms !== "true") { errors.push([ "GdprTerms", "You must agree to the Your My Account terms to use the Stone Island app." ]) } - - var now = new Date () - var year = now.getFullYear() - if (! data.BirthDay) { - data.BirthDay = year + '-01-01' - } - // if (data.BirthDay.split('-')[0] || '2018') - var birthday = new Date (data.BirthDay) - if (isNaN(birthday) || (new Date () - birthday) / (365*24*60*60*1000) < 18) { - errors.push(['BirthDay', 'You must be 18 or older to use the Stone Island app.']) - } - - data.YooxLetter = this.$("[name=YooxLetter]").prop("checked") - }, - - finalize: function(data){ - delete data.ConfirmEmail - - data.Gender = "U" - data.BirthDay += "T00:00:00Z" - - this.last_data = data - console.log(data) - return data - }, - - privacy_link: function(){ - // rewrite app.privacy instance temporarily - app.privacy.back = function(){ - app.router.go("account/signup") - } - app.privacy.hide = function(){ - app.privacy.back = app.privacy.hide = null - } - app.router.go("page/privacy") - }, - - success: function(data){ - console.log('success', data) - auth.user = auth.user || {} - auth.user.Name = this.last_data.Name - auth.user.Surname = this.last_data.Surname - auth.user.Email = this.last_data.Email - auth.user.BirthDay = this.last_data.BirthDay - localStorage.setItem('account_terms.consent', 'true') - app.account.logged_in(null, "store") - }, - - error: function(data){ - switch (data.status) { - case 409: - app.signup.show_errors([[ 'Email', "Email is already in use." ]]) - break - default: - try { - data = JSON.parse(data.responseText) - app.signup.show_errors([[ 'Name', data['Error']['Description'] ]]) - } - catch (e) { - app.signup.show_errors([[ 'Name', "There was an unknown error." ]]) - } - break - } - }, - - cancel: function(){ - auth.deferred_product = null - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/blogs/ArchiveView.js b/StoneIsland/platforms/android/assets/www/js/lib/blogs/ArchiveView.js deleted file mode 100755 index 92427b6f..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/blogs/ArchiveView.js +++ /dev/null @@ -1,235 +0,0 @@ -var ArchiveView = ScrollableView.extend({ - - el: "#archive", - menu_template: $("#archive .menu .template").html(), - row_template: $("#archive .scroll .template").html(), - - events: { - "click .item": "pick", - "mousedown .row": "mousedown", - "touchstart .row": "touchstart", - "mousemove .row": "mousemove", - "touchmove .row": "touchmove", - "mouseup .row": "mouseup", - "touchend .row": "touchend", - }, - - initialize: function(){ - this.$menu_items = this.$(".menu .items") - this.$content = this.$(".content") - this.$loader = this.$(".loader") - this.scroller = ScrollFactory('#archive .scroll', app.iscroll_options) - this.$subtitle = this.$('.subtitle') - this.subtitle_html = this.$subtitle.html() - }, - - back: function(){ - this.$el.addClass("menu") - app.header.set_back(false) - this.scroller.scrollTo(0, 0) - this.$subtitle.html( this.subtitle_html ) - }, - - pick: function(e){ - this.$el.removeClass("menu") - app.header.set_back(true) - var index = $(e.currentTarget).data("index") - this.$subtitle.html( $(e.currentTarget).text() ) - this.populateDecade(index) - this.deferScrollToTop() - }, - - show: function(){ - this.deferScrollToTop() - app.footer.hide() - this.back() - document.body.className = "archive" - if (! this.populated) { - this.populate( BACKUP_DB.archive ) - } - }, - - populate: function(data){ - if (this.loaded) { return } - this.loaded = true - this.data = data - this.$loader.hide() - this.$content.empty() - - // id title images[ uri label code caption ] - this.data.forEach(function(row, index){ - var t = this.menu_template.replace(/{{title}}/, row.title) - var $t = $(t) - $t.data("aria-label", stonewash(row.title.replace(/'0/g, " 20").replace(/'9/g, " 19").trim())) - $t.data("title", row.title) - $t.data("index", index) - this.$menu_items.append($t) - }.bind(this)) - - this.back() - this.populateDecade(0, 3) - this.deferScrollToTop() - }, - - populateDecade: function(index, count){ - this.$content.empty() - - var loader = new Loader() - - var row = this.data[index] - - count = count || row.images.length - - row.images.forEach(function(cell, i){ - if (count && i > count) { return } - var $t = $("
") - $t.addClass("row").addClass("loading") - var t = this.row_template.replace(/{{image}}/, cell.uri) - .replace(/{{label}}/g, cell.label) - .replace(/{{code}}/, cell.code) - .replace(/{{caption}}/, cell.caption) - $t.html(t) - $t.data("flipped", false) - this.$content.append($t) - - var item = $t[0] - var aa = this.build_aa_item( item ) - aa.q = 0 - this.render( aa, 0 ) - aa.flipped = true - this.fix_z_index( aa ) - - var $text = $t.find(".text") - if ( ($text.height() % 2) == 1) { - $text.css("margin-bottom", "1px") - } - - loader.preloadImage(cell.uri, function(){ - aa.flipped = false - this.fix_z_index( aa ) - $t.removeClass('loading') - }.bind(this)) - }.bind(this)) - - this.deferRefresh() - setTimeout(function(){ - this.deferScrollToTop() - }.bind(this), 100) - }, - -// ['transformProp'] = "translateZ(0) translateX(-50%) translateY(-50%) "; -// .image, .text - - touchstart: function(e){ - app.archive.row = e.currentTarget - app.archive.mousedown(e.originalEvent.touches[0]) - }, - touchmove: function(e){ - app.archive.mousemove(e.originalEvent.touches[0]) - }, - touchend: function(e){ - app.archive.mouseup() - }, - - row: null, - image: null, - text: null, - flipped: false, - q: 0, - - mousedown: function(e){ - var aa = app.archive.item = app.archive.build_aa_item( app.archive.row || e.currentTarget ) - aa.mouse_x = e.pageX - aa.mouse_y = e.pageY - }, - - build_aa_item: function(el){ - var aa = {} - aa.row = el - aa.flipped = $(aa.row).data('flipped') - aa.image = $(aa.row).find(".image")[0] - aa.text = $(aa.row).find(".text")[0] - aa.q = 0 - return aa - }, - - mousemove: function(e){ - if (! app.archive.item) return - aa = app.archive.item - var dx = ( aa.mouse_x - e.pageX ) / window.innerWidth - var dy = ( aa.mouse_y - e.pageY ) / window.innerWidth - - var gray, opacity, q - - dx = Math.abs(dx) - dx *= 2 - q = clamp( dx, 0, 1 ) - - this.render(aa, q) - - aa.q = q -/* - aa.row.style['transformProp'] = [ - "translateZ(0)", - "translateX(-50%)", - "translateY(-50%)", - "rotateY(" + dx + "deg)", - ].join(" ") -*/ - }, - - render: function(aa, q){ - if ( aa.flipped ) { - gray = Math.round( (1-q) * 100 ) - opacity = lerp(q, 0.2, 1) - text_opacity = lerp(q, 1, 0.3) - } - else { - gray = Math.round( q * 100 ) - opacity = lerp(q, 1, 0.2) - text_opacity = lerp(q, 0.3, 1) - } - aa.image.style.WebkitFilter = "grayscale(" + gray + "%)" - aa.image.style.opacity = opacity - aa.text.style.opacity = text_opacity - }, - - margin: 0.3, - - mouseup: function(e){ - aa = app.archive.item - app.archive.row = null - app.archive.item = null - var was_flipped = aa.flipped - var flipped = aa.flipped ? (aa.q < app.archive.margin) : (aa.q > app.archive.margin) - var dest = was_flipped == flipped ? 0 : 1 - $(aa.row).data('flipped', flipped) - - oktween.add({ - obj: {q: aa.q}, - to: {q: dest}, - duration: 200 * Math.abs(aa.q-dest), - update: function(o, dt){ - app.archive.render(aa, o.q) - }, - }) - - this.fix_z_index(aa) - }, - - fix_z_index: function (aa) { - if ( aa.flipped ) { - console.log(aa.q) - z = aa.q > app.archive.margin ? 2 : 1 - zz = aa.q > app.archive.margin ? 1 : 2 - } - else { - z = aa.q < app.archive.margin ? 2 : 1 - zz = aa.q < app.archive.margin ? 1 : 2 - } - aa.image.style.zIndex = z - aa.text.style.zIndex = zz - - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/blogs/BlogView.js b/StoneIsland/platforms/android/assets/www/js/lib/blogs/BlogView.js deleted file mode 100755 index 9190634c..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/blogs/BlogView.js +++ /dev/null @@ -1,115 +0,0 @@ -var BlogView = View.extend({ - - data: null, - loaded: false, - - us_states: $("#us_states").html(), - ca_states: $("#ca_states").html(), - - initialize: function(){ - this.loader = new Loader () - }, - - fetch: function(fn){ - $.ajax({ - method: "GET", - url: sdk.env === 'test' ? '/db.json' : sdk.cms() + '/db.json', - // url: "https://stone.giraffe.life/db.json", - success: function(data){ - this.success(data) - fn && fn() - }.bind(this), - cache: true, - }) - }, - - refresh: function(){ - this.loaded = false - this.fetch() - }, - - success: function(data){ - - if (this.loaded) return - - this.loaded = true - this.data = data = typeof data == "string" ? JSON.parse(data) : data - - // sdk.env = 'test' - - if (sdk.env === 'test') { - app.store = data.store[1] - } - else { - app.store = data.store[0] - } - - switch (app.store.DepartmentStoreStatus) { - case "open": - app.closed.storeIsClosed = false - break - case "closed": - app.closed.storeIsClosed = true - app.closed.storeClosedMessageOne = app.store.StoreClosedMessageOne - app.closed.storeClosedMessageTwo = app.store.StoreClosedMessageTwo - break - } - // console.log(data) - - if (app.closed.storeIsClosed && sdk.env !== 'test') { - app.closed.populate(app.store.ClosedStoreImages) - } - else { - app.departments = app.store.Departments - app.department_id = app.store.Departments[0].uri - $("#collections h1").toggleClass("single-dept", app.store.Departments.length == 1) - app.collection.setCollectionName( app.store.Departments[0].text ) - //// demo department for shoes with weird SizeTypeId - // app.department_id = "NKDrtSC" - if (sdk.env === 'test') { - app.department_id = window.location.search.substr(1) || app.department_id - console.log('using test department id', app.department_id) - // app.department_id = 'TSTSZS' - } - app.collection.loaded = false - app.collection.fetch() - } - - app.archive.populate(data.archive) - this.loader.preloadImage(data.hub[0].image[0].uri, function(img){ - app.hub.populate(data.hub) - }.bind(this)) - this.loader.preloadImage(data.story[0].image.uri, function(img){ - app.story.populate(data.story) - setTimeout(function(){ - this.loader.preloadImage(data.story[1].image.uri) - this.loader.preloadImage(data.story[2].image.uri) - }.bind(this), 2000) - }.bind(this)) - - data.page.forEach(function(page){ - app[page.tag] && app[page.tag].populate(page) - }) - - console.log(app.store.StoreStatus) - - app.product.fitLargeCodes = {} - if (app.store.FittingCodes.length) { - app.store.FittingCodes.split("\n").forEach(function(code){ - app.product.fitLargeCodes[code] = true - }) - } - - if (app.store.BackgroundIsGray === "true") { - app.collection.$el.addClass("gray") - app.product.gallery.$el.addClass("gray") - } - - var states = this.us_states - if (! app.store.NotAvailableInCanada) { - states += this.ca_states - } - $('[name=Province]').html(states) - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/blogs/HubView.js b/StoneIsland/platforms/android/assets/www/js/lib/blogs/HubView.js deleted file mode 100755 index d3b15f77..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/blogs/HubView.js +++ /dev/null @@ -1,226 +0,0 @@ -var HubView = ScrollableView.extend({ - - el: "#hub", - template: $("#hub .template").html(), - - events: { - "click .content-share": "share", - "click .store": "store_link", - "click .gallery-left": "gallery_left", - "click .gallery-right": "gallery_right", - "click .play": "play_video", - }, - - initialize: function(){ - this.$content = this.$(".content") - this.$loader = this.$(".loader") - this.scroller = ScrollFactory('#hub', app.iscroll_options) - HubLoader.init(this) - }, - - show: function(){ - this.deferScrollToTop() - app.footer.hide() - document.body.className = "hub" - HubLoader.isNeeded() - if (! this.populated) { - this.populate( BACKUP_DB.hub ) - } - }, - - galleries: {}, - populated: false, - populate: function(data){ - // sort posts by date, reversed - this.populated = true - this.data = data.map(function(s){ - return [ +moment(s.date), s ] - }).sort(function(a,b){ - return a[0] > b[0] ? -1 : a[0] == b[0] ? 0 : 1 - }).map(function(pair){ - // console.log(pair[1]) - return pair[1] - }) - this.$loader.hide() - this.$content.empty() - this.galleries = {} - HubLoader.add(this.data) - - this.deferScrollToTop() - }, - - append: function(row){ - // id date subtitle body link store image[uri caption] - // console.log(row) - // console.log(moment(row.date)) - var t = this.template.replace(/{{id}}/g, row.id) - .replace(/{{date}}/, moment(row.date).format("MM.DD.YYYY")) - .replace(/{{title}}/, row.title) - .replace(/{{subtitle}}/, row.subtitle) - .replace(/{{cleantitle}}/, stonewash(row.title)) - .replace(/{{cleansubtitle}}/, stonewash(row.subtitle)) - .replace(/{{link}}/, row.link) - .replace(/{{body}}/, row.body.replace(/\n/g, "
")) - var $t = $(t) - if (row.store != "true") { - $t.find(".store").remove() - } - this.$content.append($t) - - if (row.image && row.image.length > 1) { - // image gallery - var $gallery = $(".gallery-" + row.id) - row.image.forEach(function(img){ - var el = document.createElement("div") - el.style.backgroundImage = "url(" + img.uri + ")" - el.setAttribute('aria-label', img.caption) - el.className = "item" - $gallery.append(el) - }) - var gallery = this.galleries[row.id] = new Flickity( ".gallery-" + row.id, { - selector: '.item', - cellAlign: 'center', - autoPlay: false, - freeScroll: false, - wrapAround: true, - imagesLoaded: true, - prevNextButtons: false, - pageDots: false, - contain: true, - draggable: true, - }) - gallery.on('staticClick', function(e){ - var url = gallery.selectedElement.style.backgroundImage.replace(/url\(\"?/,"").replace(/\"?\)/,"") - app.fullscreenViewer.show(url, url) - }) - $(".gallery-" + row.id).attr('aria-label', stonewash(row.title) + ". Image gallery, use the arrows to scroll.") - if (accessibility.voiceOver) { - $(".gallery-target-" + row.id).attr('aria-label', stonewash(row.title) + ". Image gallery, use the arrows to scroll.") - $(".gallery-target-" + row.id).click(function(e){ - e && e.preventDefault() - var url = gallery.selectedElement.style.backgroundImage.replace(/url\(\"?/,"").replace(/\"?\)/,"") - app.fullscreenViewer.show(url, url) - }) - } - } - else { - // single image - var el = document.createElement(accessibility.voiceOver ? "a" : "div") - if (row.image && row.image.length) { - el.style.backgroundImage = "url(" + row.image[0].uri + ")" - } - el.className = "item" - $(".gallery-" + row.id).append(el) - $(".gallery-" + row.id).data("row", row) - // video, append play button - if (row.link.match(/youtube|youtu.be|vimeo/)) { - var play = document.createElement("div") - play.className = "play" - $(".gallery-" + row.id).append(play) - $(".gallery-" + row.id).addClass("gallery-video-post") - $(".gallery-" + row.id).attr('role', 'link') - $(".gallery-" + row.id).attr('aria-label', stonewash(row.title) + ". Tap to watch the video on Youtube") - // $(".gallery-target-" + row.id).attr('aria-label', stonewash(row.title) + ". Tap to watch the video on Youtube") - if (! row.image) { - var url = row.link - var ytid = (url.match(/v=([-_a-zA-Z0-9]{11})/i) || url.match(/youtu.be\/([-_a-zA-Z0-9]{11})/i) || url.match(/embed\/([-_a-zA-Z0-9]{11})/i))[1].split('&')[0]; - e.style.backgroundImage = "url(https://i.ytimg.com/vi/" + ytid + "/maxresdefault.jpg" - } - // $(".gallery-target-" + row.id).click(function(e){ - // e && e.preventDefault() - // window.open(row.link, '_system') - // }) - $(".gallery-target-" + row.id).remove() - } else { - $(el).click(function(e){ - e && e.preventDefault() - app.fullscreenViewer.show(row.image[0].uri) - }) - $(".gallery-" + row.id).attr('aria-label', stonewash(row.title) + ". Main image") - $(".gallery-target-" + row.id).attr('aria-label', stonewash(row.title) + ". Main image.") - $(".gallery-target-" + row.id).click(function(e){ - e && e.preventDefault() - app.fullscreenViewer.show(row.image[0].uri) - }) - } - $t.find(".gallery-left").remove() - $t.find(".gallery-right").remove() - } - }, - - store_link: function(){ - app.router.go("store") - }, - - play_video: function(e){ - var row = $(e.currentTarget).closest('.gallery-video-post').data("row") - window.open(row.link, '_system') - }, - - gallery_left: function(e){ - var id = $(e.currentTarget).closest(".hub_item").data('id') - this.galleries[id].previous() - }, - - gallery_right: function(e){ - var id = $(e.currentTarget).closest(".hub_item").data('id') - this.galleries[id].next() - }, - - share: function(e){ - var title = $(e.currentTarget).parent().find(".title").text() - console.log("share", title) - if (window.plugins && window.plugins.socialsharing) { - window.plugins.socialsharing.share(title, null, null, "http://deeplink.me/www.stoneisland.com/hub" ) - } - }, - -}) - -var HubLoader = (function(){ - var queue, view, item, loader - var count = 0 - var HubLoader = {} - var loader - var needed = false - var loading = false - HubLoader.init = function(v){ - view = v - } - HubLoader.add = function(items){ - queue = items - HubLoader.load() - } - HubLoader.load = function(){ - if (!queue) return - item = queue.shift() - count++ - if (! item || loading) return - loading = true - if (item.image && item.image.length) { - loader = new Loader (HubLoader.build) - images = item.image.map(function(img){ - return img.uri.replace("http:", "https:") - }).filter(function(img){ - return img.uri - }) - loader.preloadImages(images, true) - } - else { - HubLoader.build() - } - } - HubLoader.isNeeded = function(){ - needed = true - if (!loading) HubLoader.load() - } - HubLoader.build = function(){ - view.append(item) - view.scroller.refresh() - loading = false - if (count > 3 && ! needed) return - // if (count === 10) return - setTimeout(HubLoader.load, count < 10 ? 1000 : 5000) - } - return HubLoader -})() diff --git a/StoneIsland/platforms/android/assets/www/js/lib/blogs/PageView.js b/StoneIsland/platforms/android/assets/www/js/lib/blogs/PageView.js deleted file mode 100755 index 9a7b4962..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/blogs/PageView.js +++ /dev/null @@ -1,46 +0,0 @@ -var PageView = ScrollableView.extend({ - - events: { - "click a": "follow_link" - }, - - initialize: function(opt){ - this.page = opt.page - this.setElement("#" + opt.page) - this.$content = this.$(".content") - this.$loader = this.$(".loader") - this.scroller = ScrollFactory('#' + this.page, app.iscroll_options) - }, - - show: function(){ - this.deferScrollToTop() - app.footer.hide() - document.body.className = this.page - }, - - populate: function(data){ - this.$content.html(data.body.replace(/\n/g, "
")) - this.$content.find("a").each(function(){ - var href = $(this).attr("href") // .substr(1, "fuck".length-2) - if (href.indexOf("“") !== -1) { - href = href.substr(1, href.length-2) - $(this).attr("href", href) - } - // console.log(href) - $(this).attr("target", "_system") - }) - }, - - follow_link: function(e){ - e.stopPropagation() - e.preventDefault() - var href = $(e.currentTarget).attr("href") - console.log(href) - if (href.indexOf('http') !== 0) { - app.router.go(href.replace('!/', '')) - } else { - window.open(href, '_system') - } - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/blogs/StoryView.js b/StoneIsland/platforms/android/assets/www/js/lib/blogs/StoryView.js deleted file mode 100755 index 71f1cc0c..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/blogs/StoryView.js +++ /dev/null @@ -1,78 +0,0 @@ -var StoryView = ScrollableView.extend({ - - loaded: false, - - el: "#story", - template: $("#story .template").html(), - - events: { - "click .links li": "pick", - }, - - initialize: function(){ - this.sections = {} - this.$img = this.$("img") - this.$content = this.$(".content") - this.$links = this.$(".links") - this.$loader = this.$(".loader") - this.loader = new Loader () - this.scroller = ScrollFactory('#story', app.iscroll_options) - }, - - show: function(){ - this.deferScrollToTop() - app.footer.hide() - document.body.className = "story" - if (! this.loaded) { - this.populate( BACKUP_DB.story ) - } - }, - - populate: function(data){ - if (this.loaded) { return } - this.loaded = true - this.data = data - this.$loader.hide() - this.$content.empty() - // id title image[uri caption] body - this.data.forEach(function(row){ - var t = this.template.replace(/{{id}}/, row.id) - .replace(/{{body}}/, row.body.replace(/\n/g, "
")) - var li = document.createElement("li") - li.dataset.id = row.id - li.innerHTML = "
" + row.title + "
" - li.setAttribute('role', "link") - this.sections[row.id] = row - this.$links.append(li) - this.$content.append(t) - }.bind(this)) - - this.set_active( this.data[0].id ) - }, - - pick: function(e){ - var id = e.currentTarget.dataset.id - this.set_active(id) - }, - - set_active: function(id){ - this.$(".active").removeClass("active") - - this.$links.find("[data-id=" + id + "]").addClass("active") - this.$content.find("[data-id=" + id + "]").addClass("active") - - var section = this.sections[id] - - if (navigator.onLine) { - var $replace = this.$img - - this.$img.stop().fadeTo(110,0.65, function() { - $replace.attr("src", section.image.uri) - $replace.attr("alt", section.image.caption) - }).fadeTo(130,1) - } - - this.deferScrollToTop() - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartConfirm.js b/StoneIsland/platforms/android/assets/www/js/lib/cart/CartConfirm.js deleted file mode 100755 index 6909dcc3..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartConfirm.js +++ /dev/null @@ -1,194 +0,0 @@ -var CartConfirm = FormView.extend({ - - el: "#cart_confirm", - - template: $("#cart_confirm .template").html(), - - events: { - }, - - initialize: function(opt){ - this.parent = opt.parent - this.$rows = this.$(".rows") - this.$subtotal = this.$(".subtotal") - this.$shipping = this.$(".shipping") - this.$tax = this.$(".tax") - this.$total = this.$(".total") - - this.$shipping_address = this.$(".shipping_address") - this.$shipping_method = this.$(".shipping_method") - - this.$payment_name = this.$(".payment_name") - this.$payment_method = this.$(".payment_method") - this.$payment_address = this.$(".payment_address") - - this.scroller = ScrollFactory('#cart_confirm', app.iscroll_options) - }, - - show: function(){ - document.body.className = "cart" - app.cart.el.className = "confirm" - app.footer.show("PLACE ORDER") - window.location.hash = "#/cart/confirm" - this.deferScrollToTop() - - app.view = this - app.curtain.show("loading") - promise(sdk.cart.get_status).then( this.populate.bind(this) ) - }, - - populate: function(data){ - console.log(data) - - data = data.Cart - - this.$rows.empty() - - data.Items.forEach(function(item){ - var $el = $("
") - this.$rows.append($el) - var code_ten = item.Code10 - var size_id = item.Size - - var code = code_ten.substr(0, 8) - app.product.find(code, function(data, details){ - var descriptions = app.product.get_descriptions( details ) - - var name_partz = descriptions['ModelNames'].split(' ') - var num = name_partz.shift() - var title = name_partz.join(' ') - var type = title_case( descriptions['MicroCategory'] ) - - var color_name, size_name - - details.Item.ModelColors.some(function(color){ - if (color['Code10'] == code_ten) { - color_name = color['ColorDescription'] - return true - } - return false - }) - - details.Item.ModelSizes.some(function(size){ - if (size['SizeId'] == size_id) { - // console.log(size) - size_name = size['Default']['Text'] - size_name = SIZE_LOOKUP[ size_name ] || size_name - if (! size_name && ! size['Default']['Labeled']) { - size_name = size['Default']['Text'] + " " + size['Default']['ClassFamily'] - } - - return true - } - return false - }) - -// size_name = item.DefaultSize + " " + item.DefaultSizeClassFamily - - var t = this.template - .replace(/{{image}}/, sdk.image(item['Code10'], '11_f')) - .replace(/{{sku}}/, num) - .replace(/{{title}}/, title) - .replace(/{{type}}/, type) - .replace(/{{size}}/, size_name || "DEFAULT") - .replace(/{{color}}/, color_name || "DEFAULT") - .replace(/{{quantity}}/, 1) - .replace(/{{price}}/, as_cash(details.Item.Price.DiscountedPrice)) - $el.data("price", details.Item.Price.DiscountedPrice) - $el.html(t) - this.refreshScroller() - }.bind(this)) - }.bind(this)) - - var subtotal = data.Totals.TotalWithoutPromotions - var shipping_cost = data.DeliveryMethod.Selected.Amount.Total - var tax = data.Totals.TotalSalesTax - var total = data.Totals.TotalToPay - - this.$subtotal.html( as_cash(subtotal) ) - this.$shipping.html( as_cash(shipping_cost) ) - this.$tax.html( as_cash(tax) ) - this.$total.html( as_cash(total) ) - - if (data.Receiver) { - var street = data.Receiver.StreetWithNumber.replace(/\n$/,"").replace("\n", ", ") - var address = data.Receiver.Name.toUpperCase() + " " + data.Receiver.Surname.toUpperCase() + "
" + street + ", " - address += data.Receiver.City + ", " + data.Receiver.Region + " " + data.Receiver.PostalCode - - this.$shipping_address.html(address) - this.$shipping_method.html(data.DeliveryMethod.Selected.Type == 1 ? "* STANDARD SHIPPING" : "* EXPRESS SHIPPING") - } else { - this.$shipping_address.html( "Please enter your shipping information." ) - this.$shipping_method.html( "" ) - } - - var cc = data.Payment.CreditCard - if (cc) { - var cc_street = cc.HolderAddress.replace(/\n$/,"").replace("\n", ", ") - var cc_type = cc.Type == "AmericanExpress" ? "American Express" : cc.Type - var cc_name = cc.HolderName.toUpperCase() + " " + cc.HolderSurname.toUpperCase() - var cc_eNcrYpTed = cc_type.toUpperCase() + " XXXX-XXXX-XXXX-" + cc.Last4 - this.$payment_name.html( cc_name ) - this.$payment_method.html( cc_eNcrYpTed ) - } else { - this.$payment_name.html( "Please enter your credit card information." ) - this.$payment_method.html( "" ) - } - - app.curtain.hide("loading") - }, - - save: function(){ - app.curtain.show("loading") - promise(sdk.cart.finalize, {}).then(function(){ - app.curtain.hide("loading") - app.router.go('cart/thanks') - }.bind(this)).error(function(res){ - const data = res.responseJSON - console.log(data) - app.curtain.hide("loading") - // {"Header":{"StatusCode":403,"Description":"403 Forbidden"},"Error":{"Description":"GenericApiError:CartAlreadyClosed"}} - // {"Header":{"StatusCode":409,"Description":"304 NotModified"},"Error":{"Description":"FinalizationError:\\"Item has been removed from cart because it is no longer available.\\"\\n235"}}' - // {"Header":{"StatusCode":409,"Description":"304 NotModified"},"Error":{"Description":"FinalizationError:\"The cart cannot be empty.\"\n233"}} - // {"Header":{"StatusCode":409,"Description":"304 NotModified"},"Error":{"Description":"FinalizationError:\"The reciever validation fails."}} - // {"Header":{"StatusCode":440,"Description":"304 NotModified"},"Error":{"Description":"GenericApiError:CartFinalizationNotYetCompleted"}} - // {"Header":{"StatusCode":441,"Description":"304 NotModified"},"Error":{"Description":"GenericApiError:EmptyCreditCard"}} - switch (data.StatusCode || data.Header.StatusCode) { - case 403: // cart already closed - auth.clear_cart(auth.create_cart) - app.router.go('thanks') - break - case 409: // finalization error - this.finalization_error(data) - break - case 440: // genericapierror (credit card error!) - case 441: // genericapierror (credit card empty) - app.router.go('cart/payment') - app.cart.payment.show_errors([["Number","There was a problem with your credit card."]]) - break - } - }.bind(this)) - }, - - finalization_error: function(data){ - if (data['Error']['Description'].match(/receiver validation fails/i)) { - console.log('cc error') - app.router.go('cart/billing') - app.cart.payment.show_errors([["Number","There was a problem with your credit card."]]) - } - else if (data['Error']['Description'].match(/cart cannot be empty/i)) { - console.log('cart empty') - app.router.go('cart/summary') - } - else if (data['Error']['Description'].match(/Item has been removed/i)) { - console.log('item does not exist') - app.router.go('cart/error') - app.cart.error.show_error("We're sorry, but one or more items was out of stock. Please check your cart and try again.") - } - }, - - cancel: function(){ - app.router.go('cart/payment') - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartError.js b/StoneIsland/platforms/android/assets/www/js/lib/cart/CartError.js deleted file mode 100755 index f9a1963e..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartError.js +++ /dev/null @@ -1,28 +0,0 @@ -var CartError = View.extend({ - - el: "#cart_error", - - events: { - }, - - initialize: function(opt){ - this.parent = opt.parent - this.$error = this.$(".errrrrrrrrrrrrrrr") - }, - - show: function(){ - document.body.className = "cart" - app.cart.el.className = "error" - app.footer.show("< BACK TO CART") - app.footer.hide() - }, - - show_error: function(msg){ - this.$error.html(msg) - }, - - ok: function(){ - app.router.go("cart/summary") - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartPayment.js b/StoneIsland/platforms/android/assets/www/js/lib/cart/CartPayment.js deleted file mode 100755 index 40d08d9e..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartPayment.js +++ /dev/null @@ -1,203 +0,0 @@ -var CartPayment = FormView.extend({ - - el: "#cart_payment", - - address_template: $("#cart_payment .address_row_template").html(), - cc_template: $("#cart_payment .cc_template").html(), - - action: sdk.cart.set_credit_card, - - address_list_mode: false, - cc_list_mode: false, - data: {}, - - events: { - "change [name=SameAsShipping]": "toggle_shipping", - "click .address_dropdown": "toggle_address", - "click .cc_dropdown": "toggle_cc", - "focus [name=Number]": "focus_on_cc", - }, - - initialize: function(opt){ - this.parent = opt.parent - this.$form = this.$(".form") - this.$msg = this.$(".msg") - this.$same_as_shipping = this.$("[name=SameAsShipping]") - this.$billing_address_rapper = this.$(".billing_address_rapper") - this.$address_list = this.$(".address_list") - this.$address_form = this.$(".address") - this.$address_dropdown = this.$(".address_dropdown") - this.$cc_list = this.$(".cc_list") - this.$cc_form = this.$(".cc") - this.$cc_dropdown = this.$(".cc_dropdown") - this.$cc_confirm = this.$(".cc_confirm") - - this.address = new AddressView ({ parent: this, checkPhone: false }) - this.cc = new CreditCardView ({ parent: this }) - this.scroller = ScrollFactory('#cart_payment', app.iscroll_options) - this.scroller.on('scrollStart', function(){ - if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'SELECT') { - document.activeElement.blur() - } - }) - this.address.disabled = true - this.cc.disabled = true - }, - - show: function(){ - document.body.className = "cart" - app.cart.el.className = "payment" - app.footer.show("CONFIRM >") - window.location.hash = "#/cart/payment" - - app.view = this - this.populate() - this.deferScrollToTop() - }, - - toggle_shipping: function(){ - setTimeout(function(){ - var state = this.$same_as_shipping.prop("checked") - this.$billing_address_rapper.toggle( ! state ) - this.address.disabled = state - }.bind(this)) - }, - - toggle_address: function(state){ - if (! app.account.ccs.length) { - state = false - } - // this.$address_dropdown.toggle( !! app.account.ccs.length ) - - this.address_list_mode = typeof state == "boolean" ? state : ! this.address_list_mode - this.address.disabled = this.address_list_mode - this.$address_form.toggle(! this.address_list_mode) - this.$address_list.toggle(this.address_list_mode) - }, - - toggle_cc: function(state){ - if (! app.account.ccs.length) { - state = false - } - // this.$cc_dropdown.toggle( !! app.account.ccs.length ) - - this.cc_list_mode = typeof state == "boolean" ? state : ! this.cc_list_mode - this.cc.disabled = this.cc_list_mode - this.$cc_form.toggle(! this.cc_list_mode) - this.$cc_list.toggle(this.cc_list_mode) - this.$cc_confirm.toggle(this.cc_list_mode) - }, - - focus_on_cc: function(e){ - this.scroller.scrollToElement(e.currentTarget) - if (e.currentTarget.textShadow === '') { - e.currentTarget.textShadow = 'rgba(0,0,0,0) 0 0 0'; - } else { - e.currentTarget.textShadow = ''; - } - }, - - populate: function(){ - this.$(".save_as_default").show() - this.$address_list.empty() - this.$cc_list.empty() - this.toggle_address( !! app.account.ccs.length ) - this.toggle_cc( !! app.account.ccs.length ) - - app.account.ccs.forEach(function(cc){ - var address_t = this.address_template.replace(/{{id}}/g, cc.Id) - .replace(/{{checked}}/g, cc.IsDefault ? "checked" : "") - .replace(/{{name}}/g, (cc.Name + " " + cc.Surname).toUpperCase()) - .replace(/{{address}}/g, cc.Address.replace(/\n$/,"").replace("\n", ", ")) - .replace(/{{city}}/g, cc.City) - .replace(/{{state}}/g, cc.Province) - .replace(/{{zip}}/g, cc.ZipCode) - - var cc_t = this.cc_template.replace(/{{id}}/g, cc.Id) - .replace(/{{checked}}/g, cc.IsDefault ? "checked" : "") - .replace(/{{number}}/g, cc['Number']) - .replace(/{{type}}/g, cc.Type.toUpperCase()) - .replace(/{{exp}}/g, cc.ExpirationMonth + "/" + cc.ExpirationYear) - - this.$address_list.append(address_t) - this.$cc_list.append(cc_t) - }.bind(this)) - }, - - finalize: function(data){ - var shipping_info = {}, address_data, address_id, cc_info = {}, cc_data, cc_id - var shipping_type = $("[name=ShippingType]").filter(function(){ return $(this).prop("checked") }).val() - - if (this.$same_as_shipping.prop("checked")) { - address_data = app.cart.shipping.data - } - else if (this.address_list_mode) { - address_id = this.$("[name=AddressId]").filter(function(){ return $(this).prop("checked") }).val() - address_data = app.account.addressLookup[ address_id ] - } - else { - address_data = data - } - - if (this.cc_list_mode) { - cc_id = this.$("[name=CCId]").filter(function(){ return $(this).prop("checked") }).val() - cc_data = app.account.ccLookup[ cc_id ] - - var card_on_file = { - "guid": cc_data.Guid, - "cvv": this.$("[name=CvvConfirm]"), - } - - app.curtain.show("loading") - promise(sdk.cart.use_stored_credit_card, { data: card_on_file }).then(function(data){ - app.curtain.hide("loading") - this.success() - }.bind(this)).error(function(data){ - app.curtain.hide("loading") - console.log("card payment error") - console.log(data) - app.cart.payment.show_errors([["","There was a problem with your credit card."]]) - }.bind(this)) - - return - } - else { - cc_data = data - } - - var credit_info = { - "HolderName": address_data.Name, - "HolderSurname": address_data.Surname, - "HolderAddress": address_data.Address || address_data.StreetWithNumber, - "HolderCity": address_data.City, - "HolderProvince": address_data.Province, - "HolderZip": address_data.PostalCode || address_data.ZipCode, - "HolderISOCountry": CANADIAN_LOOKUP[ address_data.Province ] ? "CA" : "US", - "HolderEmail": auth.user.Email, - "CardNumber": cc_data['Number'], - "Type": cc_data.Type, - "ExpirationMonth": cc_data.ExpirationMonth, - "ExpirationYear": cc_data.ExpirationYear.substr(2,3), - "Cvv": cc_data.Cvv, - } - - console.log( credit_info ) - - return credit_info - }, - - success: function(){ - app.router.go('cart/confirm') - }, - - error: function(data){ - console.log("card payment error") - console.log(data) - app.cart.payment.show_errors([["Number","There was a problem with your credit card."]]) - }, - - cancel: function(){ - app.router.go('cart/shipping') - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartShipping.js b/StoneIsland/platforms/android/assets/www/js/lib/cart/CartShipping.js deleted file mode 100755 index b5d6647b..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartShipping.js +++ /dev/null @@ -1,152 +0,0 @@ -var CartShipping = FormView.extend({ - - el: "#cart_shipping", - - action: sdk.cart.set_shipping_address, - - list_mode: true, - data: {}, - - template: $("#cart_shipping .template").html(), - - events: { - "click .dropdown-wrapper": "toggle_dropdown", - }, - - initialize: function(opt){ - this.parent = opt.parent - this.$form = this.$(".form") - this.$dropdown_wrapper = this.$(".dropdown-wrapper") - this.$address_list = this.$(".address_list") - this.$address_form = this.$(".address") - this.$msg = this.$(".msg") - this.address = new AddressView ({ parent: this }) - this.scroller = ScrollFactory('#cart_shipping', app.iscroll_options) - this.address.disabled = true - }, - - show: function(){ - document.body.className = "cart" - app.cart.el.className = "shipping" - app.footer.show("PAYMENT >") - window.location.hash = "#/cart/shipping" - app.view = this - this.populate() - this.deferScrollToTop() - }, - - populate: function(){ - // id checked name address city state zip - this.$(".save_as_default").show() - this.$address_list.empty() - if (! app.account.addresses.length) { - this.toggle_dropdown(false) - return - } - app.account.addresses.forEach(function(address){ - var t = this.template.replace(/{{id}}/g, address.Id) - .replace(/{{checked}}/g, address.IsDefault ? "checked" : "") - .replace(/{{name}}/g, (address.Name + " " + address.Surname).toUpperCase()) - .replace(/{{address}}/g, address.Address.replace(/\n$/,"").replace("\n", ", ")) - .replace(/{{city}}/g, address.City) - .replace(/{{state}}/g, address.Province) - .replace(/{{zip}}/g, address.ZipCode) - this.$address_list.append(t) - }.bind(this)) - }, - - load_form: function(cart_data){ - var data = cart_data.Cart.Receiver - var addy = data.StreetWithNumber.split("\n") - data.Address1 = addy[0] || "" - data.Address2 = addy[1] || "" - data.ZipCode = data.PostalCode - data.Province = data.Region - this.load_data(data) - - this.data = data - if (cart_data.Cart.DeliveryMethod && cart_data.Cart.DeliveryMethod.Selected && cart_data.Cart.DeliveryMethod.Type) { - $("#standard-shipping").prop("checked", cart_data.Cart.DeliveryMethod.Type == 1) - $("#express-shipping").prop("checked", cart_data.Cart.DeliveryMethod.Type == 2) - } - }, - - toggle_dropdown: function(state){ - if (! app.account.addresses.length) { - state = false - } - this.list_mode = typeof state == "boolean" ? state : ! this.list_mode - this.$dropdown_wrapper.toggle( !! app.account.addresses.length ) - this.address.disabled = this.list_mode - this.$address_form.toggle(! this.list_mode) - this.$address_list.toggle(this.list_mode) - }, - - // sdk.cart.set_shipping_address - // sdk.shipping.get_delivery_types - // sdk.shipping.set_delivery_type - - shipping_types: { - Standard: 1, - Express: 2, - }, - - finalize: function(data){ - var shipping_info = {}, address_data, address_id - var shipping_type = $("[name=ShippingType]").filter(function(){ return $(this).prop("checked") }).val() - - sdk.shipping.set_delivery_type({ - id: this.shipping_types[shipping_type], - success: function(data){ console.log("set shipping type", data) }, - error: function(data){ console.log("didnt set shipping type", data) }, - }) - - if (this.list_mode) { - address_id = this.$("[name=AddressId]").filter(function(){ return $(this).prop("checked") }).val() - address_data = app.account.addressLookup[ address_id ] - } - else { - address_data = data - } - - shipping_info.Name = address_data.Name - shipping_info.Surname = address_data.Surname - shipping_info.Email = auth.user.Email - shipping_info.Phone = address_data.Phone - shipping_info.Mobile = address_data.Phone - shipping_info.StreetWithNumber = address_data.Address - shipping_info.PostalCode = address_data.ZipCode - shipping_info.City = address_data.City - shipping_info.Province = address_data.Province - shipping_info.Region = address_data.Province - shipping_info.CountryCode = CANADIAN_LOOKUP[ address_data.Province ] ? "CA" : "US" - - this.data = shipping_info - - return shipping_info - }, - - success: function(){ - app.router.go('cart/payment') - }, - - error: function(res){ - console.log('error', res.responseJSON) - var data = res.responseJSON || { 'Error': { 'Description': 'Unknown' } } - const errors = [] - switch(data['Error']['Description']) { - case 'InvalidFormatParameterException:AddressPostalCode': - errors.push(['ZipCode', 'Please enter a valid US/Canada Zip Code.']) - break - default: - errors.push(['', 'An unknown error occured.']) - break - } - this.show_errors(errors) - }, - - cancel: function(){ - app.router.go('cart/summary') - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartSummary.js b/StoneIsland/platforms/android/assets/www/js/lib/cart/CartSummary.js deleted file mode 100755 index 51aa35ef..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartSummary.js +++ /dev/null @@ -1,213 +0,0 @@ -var CartSummary = ScrollableView.extend({ - - el: "#cart_summary", - - template: $("#cart_summary .template").html(), - - events: { - "click .remove": "remove_item", - }, - - data: null, - - initialize: function(opt){ - this.parent = opt.parent - this.$loader = this.$(".loader") - this.$cart_body = this.$(".cart_body") - this.$cart_empty = this.$(".cart_empty") - this.scroller = ScrollFactory('#cart_summary', app.iscroll_options) - - this.$rows = this.$(".rows") - this.$subtotal = this.$(".subtotal") - this.$shipping = this.$(".shipping") - this.$tax = this.$(".tax") - this.$total = this.$(".total") - }, - - show: function(){ - document.body.className = "cart" - app.cart.el.className = "summary" - window.location.hash = "#/cart/summary" - app.view = this - if (auth.has_cart()) { - this.load() - } - else { - this.empty() - } - }, - - load: function(){ - this.el.className = "loading" - app.footer.show("SHIPPING >") - app.curtain.show("loading") - sdk.cart.get_status({ - success: this.populate.bind(this), - error: this.empty.bind(this), - }) - }, - - populate: function(data){ - this.data = data - - console.log("CART", data) - - if (! data.Cart.Items || data.Cart.Items.length == 0) { - return this.empty() - } - - this.parent.$steps.show() - this.updateCounts() - - this.$rows.empty() - - data.Cart.Items.forEach(function(item){ - var code_ten = item['Code10'] - var code = code_ten.substr(0, 8) - var size_id = item['Size'] - - var $el = $("
").addClass("cart_item_row") - $el.html("") - $el.data({ - code: code_ten, - size: size_id, - }) - this.$rows.append($el) - app.product.find(code, function(data, details){ - // console.log(data, details) - var descriptions = app.product.get_descriptions( details ) - // console.log(descriptions) - - var name_partz = descriptions['ModelNames'].split(' ') - var num = name_partz.shift() - var title = name_partz.join(' ') - var type = title_case( descriptions['MicroCategory'] ) - - var color_name, size_name - // console.log(code) - details.Item.ModelColors.some(function(color){ - if (color['Code10'] == code_ten) { - color_name = color['ColorDescription'] - // console.log(color) - return true - } - return false - }) - details.Item.ModelSizes.some(function(size){ - if (size['SizeId'] == size_id) { - // console.log(size) - size_name = size['Default']['Text'] - size_name = SIZE_LOOKUP[ size_name ] || size_name - if (! size_name && ! size['Default']['Labeled']) { - size_name = size['Default']['Text'] + " " + size['Default']['ClassFamily'] - } - - return true - } - return false - }) - - var t = this.template - .replace(/{{image}}/, sdk.image(item['Code10'], '11_f')) - .replace(/{{sku}}/g, num) - .replace(/{{code8}}/g, data['Code8']) - .replace(/{{title}}/g, title) - .replace(/{{cleantitle}}/g, stonewash(title)) - .replace(/{{type}}/, type) - .replace(/{{size}}/, size_name) - .replace(/{{color}}/, color_name) - .replace(/{{quantity}}/, 1) - .replace(/{{price}}/, as_cash(details.Item.Price.DiscountedPrice)) - $el.html(t) - this.refreshScroller() - }.bind(this)) - }.bind(this)) - - if (data.Cart.Receiver && data.Cart.Receiver.City) { - app.cart.shipping.load_form( data ) - } - - this.updateTotals() - - this.el.className = "full" - this.refreshScroller() - app.curtain.hide("loading") - }, - - updateCounts: function(){ - app.header.set_cart_count( this.data.Cart.Items.length ) - this.parent.setHeaderCount( this.data.Cart.Items.length ) - }, - - updateTotals: function(){ - var subtotal = this.data.Cart.Totals.TotalWithoutPromotions - var shipping_cost = this.data.Cart.DeliveryMethod.Selected.Amount.Total - var tax = this.data.Cart.Totals.TotalSalesTax - var total = this.data.Cart.Totals.TotalToPay - - this.$subtotal.html( as_cash(subtotal) ) - this.$shipping.html( as_cash(shipping_cost) ) - this.$tax.html( as_cash(tax) ) - this.$total.html( as_cash(total) ) - }, - - empty: function(){ - app.footer.hide() - app.header.set_cart_count(0) - this.parent.setHeaderCount( 0 ) - this.parent.$itemcount.html("0 ITEMS") - this.el.className = "empty" - this.parent.$steps.hide() - app.curtain.hide("loading") - }, - - save: function(){ - app.router.go('cart/shipping') - }, - - cancel: function(){ - app.router.go('intro') - }, - - remove_item: function(e){ - var $el = $( e.currentTarget ).closest(".cart_item_row") - var data = $el.data() - - console.log("REMOVE FROM CART") - console.log(data.size + " " + data.code) - - console.log(this.data.Cart) - - this.data.Cart.Totals.TotalWithoutPromotions -= data.price - this.data.Cart.Totals.TotalToPay -= data.price - this.data.Cart.Items = this.data.Cart.Items.filter(function(item){ - return ( item['Code10'] !== data.code || item['Size'] !== data.size) - }) - - this.updateTotals() - this.updateCounts() - $el.remove() - this.refreshScroller() - - if (this.data.Cart.Items.length == 0) { - this.empty() - } - - app.curtain.show("loading") - console.log("loading") - sdk.cart.delete_item({ - data: { - Code10: data.code, - Size: data.size, - }, - success: function(){ - console.log("success") - app.curtain.hide("loading") - }, - error: function(){ - app.curtain.hide("loading") - }, - }) - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartThanks.js b/StoneIsland/platforms/android/assets/www/js/lib/cart/CartThanks.js deleted file mode 100755 index 03a45d4d..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartThanks.js +++ /dev/null @@ -1,28 +0,0 @@ -var CartThanks = View.extend({ - - el: "#cart_thanks", - - events: { - }, - - initialize: function(opt){ - this.parent = opt.parent - }, - - show: function(){ - document.body.className = "cart" - app.cart.el.className = "thanks" - app.header.set_cart_count(0) - app.footer.show("< BACK TO COLLECTION") - app.footer.hide() - - app.orders.loaded = false - - sdk.auth.clear_cart() - }, - - ok: function(){ - app.router.go("store") - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartView.js b/StoneIsland/platforms/android/assets/www/js/lib/cart/CartView.js deleted file mode 100755 index 6ed8238f..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/cart/CartView.js +++ /dev/null @@ -1,72 +0,0 @@ -var CartView = View.extend({ - - el: "#cart", - - events: { - "click .summary_step": "show_summary", - "click .shipping_step": "show_shipping", - "click .payment_step": "show_payment", - }, - - initialize: function(){ - this.summary = new CartSummary ({ parent: this }) - this.payment = new CartPayment ({ parent: this }) - this.shipping = new CartShipping ({ parent: this }) - this.confirm = new CartConfirm ({ parent: this }) - this.thanks = new CartThanks ({ parent: this }) - this.error = new CartError ({ parent: this }) - - this.$steps = this.$(".steps") - this.$full_msg = this.$(".full_msg") - this.$empty_msg = this.$(".empty_msg") - this.$itemcount = this.$(".itemcount") - }, - - load: function(){ - sdk.cart.get_status({ - success: function(data){ - this.summary.data = data - this.summary.updateCounts() - }.bind(this), - error: function(data){ - console.log(data) - auth.clear_cart() - }, - }) - }, - - show: function(){ - if (! navigator.onLine) { - app.closed.showElement() - app.closed.setMessage("PLEASE GO ONLINE TO
VIEW YOUR CART.", "") - return - } - document.body.className = "cart" - this.show_summary() - }, - - show_summary: function(){ - this.summary.show() - }, - - show_shipping: function(){ - this.shipping.show() - }, - - show_payment: function(){ - this.payment.show() - }, - - setHeaderCount: function(n){ - if (n) { - this.$itemcount.html(pluralize(n, "ITEM", "S")) - this.$full_msg.show() - this.$empty_msg.hide() - } - else { - this.$full_msg.hide() - this.$empty_msg.show() - } - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/etc/accessibility.js b/StoneIsland/platforms/android/assets/www/js/lib/etc/accessibility.js deleted file mode 100644 index c66143cc..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/etc/accessibility.js +++ /dev/null @@ -1,77 +0,0 @@ -var accessibility = (function() { - - var accessibility = {} - accessibility.voiceOver = false - - accessibility.DEBUG = false - - accessibility.init = function(ready) { - console.log('Accessibility init') - accessibility.bind() - if (accessibility.DEBUG) { - console.log('Accessibility debug mode') - app.accessible = true - accessibility.voiceOver = true - $('html').addClass('vscroll') - $('html').addClass('accessible') - return ready() - } - if ('MobileAccessibility' in window) { - console.log('init accessibility') - accessibility.build(ready) - } else { - console.log('MobileAccessibility not found') - ready() - } - } - - accessibility.build = function(ready) { - MobileAccessibility.usePreferredTextZoom(true); - MobileAccessibility.getTextZoom(function getTextZoomCallback(textZoom) { - console.log('WebView text should be scaled to the preferred value ' + textZoom + '%') - if (textZoom > 100) { - // app.accessible = true - // $("html").addClass('accessible') - } - }); - MobileAccessibility.isVoiceOverRunning(function(state){ - console.log('Screen reader: ' + state) - accessibility.voiceOver = state - if (state) { - console.log(">>>>>> actual debug mode!") - app.accessible = true - $("html").addClass('accessible') - $('html').addClass('vscroll') - } else { - $('html').addClass('iscroll') - } - ready() - }) - } - - accessibility.bind = function() { - $("h1").each(function(){ - this['aria-label'] = 'Section title is ' + this.innerText - }) - if ('MobileAccessibilityNotifications' in window) { - window.addEventListener(MobileAccessibilityNotifications.SCREEN_READER_STATUS_CHANGED, - accessibility.onScreenReaderStatusChanged, false) - } - } - - accessibility.onScreenReaderStatusChanged = function(info) { - if (info && typeof info.isScreenReaderRunning !== "undefined") { - if (info.isScreenReaderRunning) { - console.log("Screen reader: ON"); - } else { - console.log("Screen reader: OFF"); - } - } - } - - return accessibility -})() - -function stonewash (s) { - return s.replace(/'9/g, '19').replace(/'0/g, '20').replace(/_/g, ' ').replace(/-/g, ' - ').replace(/^[013456789][0-9]+/, '') -} diff --git a/StoneIsland/platforms/android/assets/www/js/lib/etc/backup_db.js b/StoneIsland/platforms/android/assets/www/js/lib/etc/backup_db.js deleted file mode 100755 index d4d4557b..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/etc/backup_db.js +++ /dev/null @@ -1,419 +0,0 @@ -var BACKUP_DB = { - "story": [ - { - "id": "philosophy", - "title": "Philosophy", - "image": { - "uri": "http://cdn3.yoox.biz/stoneisland/wp-content/uploads/2013/11/philosophy1.jpg", - "caption": "" - }, - "body": "A culture of research, experimentation, function and use are the matrixes that have always defined Stone Island: the sportswear brand established in 1982, designed to become a symbol of extreme research on fibers and textiles, applied to an innovative design. Season after season, it is through the study of form and the “manipulation” of the matter that Stone Island has found its own language with the aim of establishing new boundaries in the world of garment making. \r\n\r\nThe study of uniforms and of work wear, its evolution according to new requirements of use, has become Stone Island’s observation post for defining a project in which the clothing item’s function is never just aesthetic.\r\n\r\nAn ongoing investigation, thorough and without frontiers, on the processing and ennobling of fibers and textiles, leading to discover materials and production techniques never used before in the clothing industry.\r\n\r\nJackets constructed in nylon monofilament, deriving from the water filtering technology. Highly reflective or thermo-sensitive fabrics, changing color with the variation of temperature. Featherweight polyester cloth vacuum- coated with a 100% stainless steel film used in aviation technology to protect the on-board computers. Non-woven materials, Kevlar® and polyester felt, rhomboidal nets in polyester used in the construction industry and coated in polyurethane. These are some examples of materials conceived by Stone Island philosophy.\r\n\r\nStone Island’s strength is also based on the unique ability to intervene on the finished item, through the continuous tests on dyeing and treatments carried out in the Sportswear Company’s laboratory of color. A department able to combine advanced technology, experience and human capacity and that has developed more than 60,000 different recipes of dyes throughout the years.\r\n\r\nAll the accumulated knowledge and experience, an inalienable heritage, on which great part of Stone Island’s know-how is based, is kept in the historical archive that collects the trial tests, and the recipes for textile dyeing and handling that have been developed by all those people who have worked on this project with passion.", - "__index": "0", - "dateCreated": "Thu, 05 Nov 2015 00:24:44 GMT" - }, - { - "id": "history", - "title": "History", - "image": { - "uri": "https://ltho.s3.amazonaws.com/ce68408c-34b3-40ca-8ddf-c10cd1412c5f.jpg", - "caption": "" - }, - "body": "Stone Island, the Italian brand that reinvented the concept of casual wear, was founded in 1982 out of the passion and brilliant research into textile finishing performed by its creator and art director, intellectual from Bologna, Massimo Osti. It was Osti, in the mid-Seventies, who researched thousands of uniforms and pieces of work clothing and catalogued their functional characteristics. In Ravarino, in the province of Modena, he created a company whose hub was a full-scale center of research into materials and treatments became a sophisticated laboratory for garment and experimental dyeing.\r\n\r\nThe story of Stone Island began, almost by chance, with research into a special material, a thick truck tarpaulin, the outstanding feature of which was that it had been resin-treated in red on one side and blue on the other. The first prototype was too stiff, so it was washed for a long period in water with pumice stones to break down the structure of the material. The result was surprising, a worn-look garment with great appeal. It was therefore decided to create seven jackets in that unique fabric called Tela Stella, and to give this product a name. The strong identity of the project called for an important name, which was identified by analyzing the most commonly occurring words in Joseph Conrad’s novels: the words Stone and Island were chosen.\r\n\r\nStone Island has a marine feel, conjuring up old oilskins corroded by the sea and a military feel, which is drawn from the fund of research completed until that time. The name also evokes a love of the sea and that first treatment selected to “process” the garments. The badge, the detachable fabric label that has distinguished Stone Island garments since the first season, showed a Compass Rose, displayed like a military badge.\r\n\r\nThe reaction is immediate. Stone Island became a success phenomenon, with no set plan or marketing research behind it: a uniquely Italian mix of creativity, intuition and entrepreneurial spirit. A star was born.", - "__index": "1", - "dateCreated": "Thu, 05 Nov 2015 00:27:25 GMT" - }, - { - "id": "carlo-rivetti", - "title": "Carlo Rivetti", - "image": { - "uri": "https://ltho.s3.amazonaws.com/2fe16d85-e85f-4f12-ae55-72622c8efafd.jpg", - "caption": "" - }, - "body": "My family has deep roots within the clothing industry. In the 19th century, Giuseppe Rivetti – son of Giovanni Battista, Italy’s first carding machine operator, inherited his father’s passion and in order to fund his own wool factory he secretly sold cows from the family farms to buy looms. By 1872 he had his own wool factory: “Giuseppe Rivetti e Figli”, which later merged with the Turin based GFT group (Gruppo Finanziario Tessile). There, my uncle Pinot had the unique idea of rubberizing wool fabrics to increase their performance.
This fondness for research also drove my father, Silvio. In the immediate post-war period, he set off for the United States where he found the Palm Beach Incorporated company, who produced something that didn’t yet exist in Europe: clothing constructed on theoretical measurements; what we now know as sizes.
My father was stunned, working for six months as a laborer, before returning and convincing his brothers to give up their shares in the wool factories in order to buy out GFT. \r\n\r\nIn the early 1950’s GFT measured more than 25,000 Italians, which allowed them to effectively dress the whole nation for the first time with non-tailored garments. \r\n\r\nThe 1973 oil crisis brought severe yet swift recession, and something had to be done to recover sales. My cousin, Marco Rivetti, noticed a French couturier working in a women’s outerwear firm we’d acquired one year earlier. He would design and fit the garments, write orders in Paris and then use our company to manufacture them. He was Emanuel Ungaro. This led us to realize that in order to re-launch the sector we needed to add a fundamental ingredient to the clothing industry: fashion.
As a result, GFT became a licensee of the rising stars of Italian fashion, including Giorgio Armani and Valentino. The rise of Italian-made Prêt à Porter was due to the ability to combine entrepreneurial ability with creativity.\r\n\r\nI joined GFT in 1975. Towards the end of that decade, I had the idea to start a new area within the group; to generate something more timeless: sportswear. In the early 1980’s, I discovered C.P. Company, a firm known for being innovative and cutting edge in this field. The company was owned by Trabaldo Togna and Massimo Osti, a graphic artist by profession and the firm’s designer and art director. We bought first 50% in 1983 and later on the entire company.
That was the beginning of my journey. In 1993 I left GFT and, together with my sister Cristina, acquired 100% of the firm which is known today as Sportswear Company.
\r\n\r\nIt was in 1983 that I got to know Massimo Osti, who had brought Stone Island into existence almost by chance, a year earlier. A special fabric named ‘Tela Stella’ had arrived in the company: a cloth that had a different color on each side, used to make truck tarpaulins. The effect was very interesting but had little to do with the existing C.P. Company line. Osti decided to do something special with that fabric and created a collection of just seven jackets. The collection strongly referenced military style with the now iconic badge inspired by military insignia. The compass symbolized love for the sea and an aim for constant research.\r\n\r\nMassimo was at least ten years ahead of others in his field. He saw himself as a producer rather than a fashion designer.
His achievement establishing Stone Island was not only appealing and saleable, but also true to his core belief in informal wear. His ideas were drawn from military and work wear, accompanying them with endless textile research.\r\n\r\nIn the mid-nineties, Massimo our paths eventually came apart, and I found myself with the difficult task of finding someone to design Stone Island.
In 1994 as I wandered through a Munich trade fair I came across the work of designer Paul Harvey, an English designer who lived in Sant’Arcangelo di Romagna, Italy. I was struck by a strange feeling of familiarity and cried out: “so here’s the Stone of the 21st Century!”. From 1996, with Paul, we embarked on the second era of our brand.\r\n\r\nPaul designed 24 collections, each consistent in the evolution and research that has always set Stone Island apart.
He is another extraordinary character. After graduating Central Saint Martins, he decided fashion was not his career path and worked as a truck driver! Only after marrying a fantastic Italian lady and moving to Italy did he start designing clothes.
His approach to design has functionality in its blood, which allowed him to interpret Stone Island perfectly. He led the brand masterfully into the new century. \r\n\r\nAfter 12 marvelous years, Paul needed to leave the fashion world to “do something for the Planet”. With such a noble ambition, I could only accept and support his decision.
In that moment, facing another crucial decision, I came to the conclusion the era of “one man at the helm” was over.
Times had changed. It was necessary to be multicultural in order to be truly contemporary.
I built a design team. I felt that in this era it is this possible to face all aspects of a world only with several minds and several visions: and this has been Stone Island from 2008 to today.
\r\n\r\nI feel like the coach. I choose which men to send onto the pitch, depending upon who we have to play: We need to be more sensitive, faster, and ready to grasp the signs of strength and weakness.
As a result, we need multi-cultural people that travel the world and observe it from different viewpoints: people of different ages and from different cultures.\r\n\r\nThis, in short, is my story. I like to think there’s a common thread that binds us all. A desire for continual experimentation and research, not without a touch of healthy insanity: that special something that makes our Stone Island much more than a just a clothing brand.\r\n\r\nCarlo Rivetti,\r\nPresident and Creative Director, Stone Island", - "__index": "2", - "dateCreated": "Thu, 05 Nov 2015 00:27:38 GMT" - } - ], - "archive": [ - { - "id": "-010-015", - "title": "'010'015", - "images": [ - { - "uri": "https://ltho.s3.amazonaws.com/2bafd7a2-fbbb-4904-8e64-ff394888fd24.png", - "label": "LIQUID REFLECTIVE", - "code": "5315 42944", - "caption": "Fabric that is highly reflective owing to its coating made up\r\nof thousands of glass microspheres. Each finished garment\r\nis hand sprayed individually and individually baked dry.\r\nThe varying intensity of the reflective element and varying\r\nintensity of color, the dribbling and speckled effect, are\r\nowing to the high level of craftsmanship involved in the\r\nprocess, making each garment unique and unrepeatable.\r\nLining in quilted microfiber with polyester padding.\r\nStone Island badge with white embroidery, reserved for\r\ngarments that are made using advanced research into\r\nfabrics or processes." - }, - { - "uri": "https://ltho.s3.amazonaws.com/a0714935-2800-425f-9b34-63fdc4a7fc78.png", - "label": "30/30 JACKET", - "code": "5715 4TTY2", - "caption": "The 30/30 jacket is a cross section of the state of the art of Stone Island. A testament to three decades of exploration and development, it has been designed to embody the spirit of Stone Island’s endless creativity. Linked by the signature looped rigging system, both the jacket shell and jacket liner are reversible. These can be worn, either together or alone, in a total of 10 different ways. The transformative\r\nproperties of the fabrics mean that these 10 ways can each be worn in 3 different modes: Ice, Reflective,\r\nand Normal; resulting in a total of 30 different jacket states.\r\nThis piece features is our 30th anniversary special edition badge.\r\nJACKET /SHELL _ RASO GOMMATO PRISMATIC COVER.\r\nSatin weave cotton of military origin bonded on the inside to a a shiny transparent fine-grained polyurethane film reflecting the light, magnifying the color effects and bestowing the surface with a three-dimensional and ‘liquid’ appearance.\r\nJACKET/ LINER_ THERMO REFLECTIVE / ENGINEERED WOOL\r\nThis material merges two of Stone Island’s most avant-garde research paths. It explores the interaction between light refraction and thermosensitivity technologies. The resins used to coat the nylon substrate host both the glass microspheres allowing fabric refraction and the micro-encapsulated pigments modifying the passage of light and thus enabling color changes in relation to temperature. The final effect is an organic and dynamic interaction of light and color. On the reverse side, an engineered wool face made with a double knit machine." - }, - { - "uri": "https://ltho.s3.amazonaws.com/d51dce63-d467-45ea-88a6-5b077ffe3c3c.png", - "label": "REFLECTIVE KNIT WITH WINDSTOPPER® 3L", - "code": "5715 587Y5", - "caption": "To celebrate the thirtieth anniversary of Stone Island, a yarn has been engineered that represents the\r\nheight of our tireless research. The President’S Knit 5715 has been created in Reflective yarn, made\r\nup of micro plates coated with glass microspheres trapped inside a polyester mesh. The structure of\r\nthe jumper has been made double, reflective on the outside and wool on the inside. The outer face\r\nhas then been printed in a darker shade using heat and pressure sublimation printing to amalgamate\r\nthe fibers, obtain an even surface and reduce the strong reflective appearance.\r\nThe detachable padded and quilted lining has been created in a polyester jersey laminated with a\r\nWindstopper® membrane, which provides an unbeatable balance between protection and comfort.\r\nThis piece features is our 30th anniversary special edition badge." - }, - { - "uri": "https://ltho.s3.amazonaws.com/5883b275-a2eb-4a34-890f-69b30250a62b.png", - "label": "RASO HAND PAINTED TORTOISE SHELL", - "code": "6115 70565", - "caption": "Trench coat in a satin-weave cotton fabric of military origin. The garment has been dyed and then faded in selected areas with a corrosive paste. The bleached parts have then been hand-painted with a tortoiseshell-inspired motif also appearing on the Stone Island badge on the left sleeve. This extraordinary manual process makes each piece unique and unrepeatable. Detachable hood in garment-dyed padded iridescent nylon. Detachable lining in GARMENT-DYED DOWN_26 GR X SQM_N, an ultra-light nylon weighing only 26 grams per square meter, filled with the finest down specially treated to bear the stress of the garment dyeing procedure. Garment-dyed with special dye recipes. It is secured to the outer garment by the iconic Stone Island fastening system." - }, - { - "uri": "https://ltho.s3.amazonaws.com/a25cc013-5c2c-4221-974a-987b8fd00ab4.png", - "label": "HAND PAINTED SHEEPSKIN", - "code": "6115 00379", - "caption": "Sheepskin parka. The finished piece has been hand-sprayed on the outer face with a resin based product and then hand waxed to achieve a softer feel. Hood edged by fur trim. " - }, - { - "uri": "https://ltho.s3.amazonaws.com/fa5ed231-8b04-4ecc-b126-7a5543d5614a.png", - "label": "ICE JACKET THERMO-SENSITIVE FABRIC", - "code": "6115 43098", - "caption": "Hooded jacket in thermo sensitive fabric. A water- and wind-resistant polyurethane film is embedded with micro-encapsulated pigments. The molecules of these pigments modify the path of light and change color according to the temperature. The garment is then padded with the finest down.Two chest patch pockets, with snap-flap fastening and second pocket with vertical zip fastening. Adjustable elastic at cuffs. Cotton terry lined hood. Hidden zip and button fastening." - }, - { - "uri": "https://ltho.s3.amazonaws.com/bfd9defc-a1ef-4322-9e53-9505ec606ed9.png", - "label": "RASO GOMMATO REVERSE COLOR PROCESS", - "code": "6215 42338", - "caption": "Jacket in Raso Gommato -rubberized satin- a mil. spec. cotton satin bonded with a polyurethane cover making the fabric wind and water resistant. In this version, the transparent cover is bonded to a previously piece dyed and printed the cotton satin. The finished garment undergoes an exclusive procedure named Reverse Color Process, a fading technique followed by an overdyeing process on the finished garment, owing to the piece unparalleled shaded print effects, resist print areas and residual color deposits, unique to each single item." - }, - { - "uri": "https://ltho.s3.amazonaws.com/390b68f3-7f9a-41af-a09c-bd15ac7008a3.png", - "label": "POLYPROPYLENE TELA", - "code": "6315 40534", - "caption": "Down filled parka in polypropylene tela treated with an anti-drop agent. Polypropylene, a material with antibacterial properties, is the lightest man-made fibre. Even very bulky garments astonish for their specific lightness. The paste colored yarn is texturized to obtain a cotton looking opaque aspect. " - }, - { - "uri": "https://ltho.s3.amazonaws.com/cc9f8c72-bbac-4d34-9762-4eae85374abf.png", - "label": "HIDDEN REFLECTIVE", - "code": "6315 G0598", - "caption": "Vest in a reflective, water and wind resistant polyester fabric owing its features to a coating made of thousands of glass microspheres. An opaque black plating totally covers the refraction of the material which is unveiled when photographed in flash mode. The reflective features will be revealed through usage, with diverse effects and intensities from piece to piece, depending on its wearer usage. Stone Island logo on the back obtained through laser printing. Filled with the finest down. Sheepskin over collar. " - }, - { - "uri": "https://ltho.s3.amazonaws.com/512029b0-f4a3-469a-9d7d-1cd7fc15c1c8.png", - "label": "POLY COVER COMPOSITE + POLY FUR SILVER DETACHABLE LINING", - "code": "6315 491Y1", - "caption": "Hooded jacket in Poly Cover Composite, a matte, colorless and opaque two-component water and wind resistant film. The garment dyeing technique colors the film without affecting its transparency. Completely heat sealed seams.\r\nDetachable hooded lining in Poly Fur, a synthetic fur with external silver colored coating. Snap fastening on nylon tape." - } - ], - "__index": "4", - "dateCreated": "Thu, 05 Nov 2015 01:48:39 GMT" - }, - { - "id": "-000-009", - "title": "'000'009", - "images": [ - { - "uri": "https://ltho.s3.amazonaws.com/725e1b3f-58ee-49f6-8413-0a7e3dc9890f.png", - "label": "KEVLAR®", - "code": "3315 4031", - "caption": "Kevlar® felt. Five times more robust than steel given the same weight, Kevlar® is lightweight and\r\nhighly insulating. It is resistant to even extreme changes in temperature and to both fresh and salt\r\nwater. Owing to its qualities, it is used in the aerospace field, in competitive sailing and for Formula\r\n1 racing. With its soft yellow color, dyeing this material is usually impossible, but with Stone Island\r\ngarment dyeing expertise, laminating the hydro-cohered Kevlar® fibers to an invisible nylon mesh and\r\na polyurethane coating on the outer side and a simple polyurethane coating on the inside this has been\r\nmade possible.\r\nDetachable lining in triple woven fabric, two nylon honeycomb patterns have been machine raised\r\nwith a further nylon yarn. The detachable lining is attached to the outer garment using a system of ties,\r\nadapted from those used in the sailing world. Stone Island badge with white embroidery, reserved for\r\ngarments that are made using advanced research into fabrics or processes." - }, - { - "uri": "https://ltho.s3.amazonaws.com/c1c9db4f-5aa9-4698-9fe3-04a58a631653.png", - "label": "MONOFILAMENT-S", - "code": "3715 4316", - "caption": "Nylon twill monofilament mesh. On the inside, a cotton muslin\r\nlayer is laminated on the outer face with a black breathable\r\nand water resistant membrane, with the application of\r\nwhite polyester taped seams. The monofilament mesh has\r\na protecting function for the inner membrane. From the\r\naesthetic point of view, its transparency is designed to reveal\r\nthe internal construction of the garment. The piece is lined in\r\na brushed cotton fabric quilted with polyester padding. The\r\nfinished garment is over-dyed with a double cotton and nylon\r\nrecipe." - }, - { - "uri": "https://ltho.s3.amazonaws.com/4f1783c2-1ff7-4054-9d18-faebbd617305.png", - "label": "LIGHT", - "code": "3715 4Q30", - "caption": "Stone Island anticipated the use of light in clothing. Also for safety purposes in cases of\r\ndiminished visibility. The beginning of the Nineties, saw the introduction of the Reflective\r\nJacket - the first reflective garment ever - and in ‘002, to mark its twentieth anniversary,\r\nthe use of light went from being passive to active and self-generated with the use of optical\r\nfibres.\r\nThe fabric’s cotton warp is woven with polyester yarns as well as with optical fibre\r\nfilaments forming a band of light along the front fastening and around the edge of the hood.\r\nThe light is switched on using a small battery hidden inside the garment.\r\nHooded detachable lining in microfiber quilted to a polyester padding, attached to the\r\nouter garment using a system of ties, adapted from those used in the sailing world." - }, - { - "uri": "https://ltho.s3.amazonaws.com/c62f3de3-a639-4818-988c-3aba9db057e5.png", - "label": "COMPACT", - "code": "3915 4N40", - "caption": "Compact treated linen felt. The Compact process is the transfer to finished garments of a textile process that is usually used to cleanse the natural fibers of their impurities. The garments are boiled at 130°C under pressure, with special additives. In the finished garments the material shrinks approximately 50%, the material becomes extraordinarily compact, the hand of the fabrics becomes dryer and naturally elastic. The fabrics take on an uneven, hand crafted appearance, as if they had been woven on antique looms. The fabric volume reduction involved with the Compact treatment creates very important pattern making complexities. The garment can be fitted to the body with a strings and loops system on the sides, front and hood. This system is inspired by anti-G suits of military aviators. Garment dyed; Compact pieces are very receptive to the garment dyeing recipes, the colors result far more intense than those of untreated garments.\r\nDetachable lining in peached microfiber, quilted with polyester padding. The detachable lining is attached to the outer garment using a system of ties, adapted from those used in the sailing world." - }, - { - "uri": "https://ltho.s3.amazonaws.com/ba287902-7b92-4128-867f-69d6b1e40cc0.png", - "label": "OPAQUE NYLON TELA", - "code": "4315 4C24 30GR", - "caption": "Japanese featherweight nylon canvas, weighing just 30 grams per square\r\nmeter. The Stone Island badge is ultra light, in embroidered nylon mesh in\r\norder to avoid weighing down the sleeve. The garment is padded with the\r\nfinest down. The lightweight construction of the down bags and the direct\r\ninjection of feathers heightens the lightness of the garments." - }, - { - "uri": "https://ltho.s3.amazonaws.com/320c3a59-c8ae-4dec-b863-15b15ccc368a.png", - "label": "OPAQUE NYLON CANVAS", - "code": "4515 4H24", - "caption": "Japanese featherweight nylon canvas, weighing just 37 grams\r\nper square meter. The Stone Island badge is ultra light, in\r\nembroidered nylon mesh in order to avoid weighing down the\r\nsleeve. The garment is padded with direct injection finest down.\r\nApart from highlighting the lightness of the fabric, the black\r\nedging under the fabric underscores the removal of the feather\r\nbags to increase the lightness of the garment. The yoke on the\r\nchest is disguised by the horizontal quilting motive. Inside the\r\nhood of the garment, an extra fabric hood with external coating\r\nand PVC print may be laced up by loops." - }, - { - "uri": "https://ltho.s3.amazonaws.com/35f9ec2a-fc52-42e5-b015-899e40ae9e89.png", - "label": "DAVID-TC SUBLIMATION PRINT", - "code": "4615 4C44", - "caption": "Reversible garment. Star-shaped cross-section polyester / polyamide\r\nJapanese microfiber. During garment dyeing under pressure at 130°C,\r\nthe heat transforms the structure and hand of the material radically.\r\nBeyond the depth of color and despite maintaining an industrial\r\nappearance, the David-TC garments take on an appearance and\r\nhand that grant a unique tactile experience, similar to both chamois\r\nleather and non-woven coagulated fabric. One of the two faces has\r\nbeen over printed on the finished garment with a dark color, using\r\na hot sublimation / pressure printing technique that reveals the\r\nconstruction details of both sides of the garment." - }, - { - "uri": "https://ltho.s3.amazonaws.com/03785345-d63c-4c18-addf-fb7461949cec.png", - "label": "ANTIQUED REFLECTIVE", - "code": "4715 7423", - "caption": "Cotton Batavia with a coating made up of thousands of glass microspheres. Antiqued Reflective fabric\r\nhas a strong capacity to reflect even the weakest light sources and is enhanced by a color patina that is\r\nparticularly evident in the folds of the garment, granting to the piece a three-dimensional appearance.\r\nThe shape and details of the garment have been deliberately designed with a retro style in order to\r\ncreate a contrast with the modernity of the reflective face. The hood is lined in a khaki colored wool\r\nwith parallel stripes, reminiscent of military blankets.\r\nDetachable lining in microfiber quilted to a thin polyester padding. The lining is attached to the outer\r\ngarment using a system of ties, adapted from those used in the sailing world.\r\nStone Island badge with white embroidery, reserved for garments that are made using advanced\r\nresearch into fabrics or processes." - }, - { - "uri": "https://ltho.s3.amazonaws.com/b7b6db65-3688-4472-839d-38852b074790.png", - "label": "RASO GOMMATO - HAND PAINTED CAMOUFLAGE", - "code": "4915 4C43", - "caption": "Drawing inspiration from the actions of soldiers during the First World War, who\r\nused earth from the trenches to make their uniforms dirty, thus inventing the\r\nconcept of camouflage, the fabric base in black satin weave cotton of military\r\norigin bonded to a black polyurethane cover on the inner face, has been faded\r\nwith a corrosive paste and then hand painted on the finished garment to create\r\na camouflage effect. By means of this manual process, each garment is rendered\r\nunique and unrepeatable.\r\nThe detachable quilted nylon lining with polyester padding, with front edging\r\nand collar in felted wool, is attached to the outer garment using a system of ties,\r\nadapted from those used in the sailing world." - }, - { - "uri": "https://ltho.s3.amazonaws.com/9a25ed8c-2293-4d6e-b63a-c17580113d63.png", - "label": "WAXED ICE - THERMO SENSITIVE FABRIC", - "code": "5115 7498", - "caption": "Cotton moleskin with a resin treatment containing thermo sensitive\r\nquartz. The color of the garment ranges from bright yellow at\r\nroom temperature to a deeper and deeper shade of olive green as\r\nthe temperature drops. The garment is washed and then waxed.\r\nThe detachable black woolen lining with Stone Island logo in the\r\ncentre is attached to the outer garment using a system of ties,\r\nadapted from those used in the sailing world.\r\nStone Island badge with white embroidery, reserved for garments\r\nthat are made using advanced research into fabrics or processes." - } - ], - "__index": "3", - "dateCreated": "Thu, 05 Nov 2015 01:49:03 GMT" - }, - { - "id": "-990-999", - "title": "'990'999", - "images": [ - { - "uri": "https://ltho.s3.amazonaws.com/f58db57f-a469-4c7b-b248-6cab5a927c8a.png", - "label": "RASO GOMMATO COLORED COVER", - "code": "05 4001", - "caption": "Satin weave cotton of military origin bonded to a\r\nmustard yellow polyurethane cover on the outside\r\nand white on the hood. The inner fabric face takes its\r\ncoloring from garment dyeing. Double parallel row\r\nof snap fasteners mounted on small rubber disks\r\nallow the garment to be tightened or loosened to fit." - }, - { - "uri": "https://ltho.s3.amazonaws.com/56189889-630b-4293-95e9-2c747d1209fe.png", - "label": "ICE JACKET CAMOUFLAGE THERMO-SENSITIVE FABRIC", - "code": "05 4N06", - "caption": "Cotton poplin with a camouflage print in a thermo-sensitive\r\ncoating with liquid crystals that change color based on\r\nthe temperature. Over dyed on the finished garment. As the\r\ntemperature drops, the fabric print gradually disappears\r\nas it takes on the same shade as the solid color of the\r\ngarment dye." - }, - { - "uri": "https://ltho.s3.amazonaws.com/d46fc981-d51c-4001-a72a-7d5bc3bedc15.png", - "label": "RUBBERISED SATIN SILVER COVER", - "code": "35 4405", - "caption": "Satin weave cotton of military origin bonded to a silver\r\npolyurethane cover on the outside. Padded with goose down.\r\nDouble parallel row of snap fasteners mounted on small rubber\r\ndisks allow the garment to be tightened or loosened to fit.\r\nLining in colored peached polyester microfiber. Hood in the\r\nRaso Gommato Silver Cover garment dyed, with detachable wolf\r\nfur edging." - }, - { - "uri": "https://ltho.s3.amazonaws.com/65a6a008-a634-4155-8dba-0e2f22e1dc74.png", - "label": "REFLECTIVE JACKET", - "code": "1815 4N02", - "caption": "Owing to a coating made up of thousands of glass\r\nmicrospheres on a polyester base, the Reflective\r\nfabric has a strong capacity to reflect even the\r\nweakest light sources. It reflects and intensifies\r\nthe brightness of the color of the fabric itself,\r\nparticularly if placed in the dark. If it is photographed\r\nusing a flash, it detracts light from the other\r\ncomponents in the shot, which show up as black.\r\nPocket linings in cotton mesh." - }, - { - "uri": "https://ltho.s3.amazonaws.com/7011fe4a-22de-4bf0-bd4d-4440c49d8409.png", - "label": "WQR WATER RESISTANT QUILTING", - "code": "2515 6L51", - "caption": "Nylon jersey quilted with polyester padding,\r\nwith a special external coating used to close\r\nall the needle holes produced in the quilting\r\nprocess, rendering the garment totally\r\nwaterproof. The garment takes its final\r\ncoloring from garment dyeing." - }, - { - "uri": "https://ltho.s3.amazonaws.com/ca0447d1-3bd3-4702-a7d5-f1da98764ffb.png", - "label": "LINO GOMMATO REVERSE COLOR PROCESS", - "code": "2815 4P49", - "caption": "Black linen canvas bonded to a transparent polyurethane\r\ncover on the outside. By means of an exclusive process\r\ncarried out on the finished garment, the original color of\r\nthe fabric is corroded, with the exclusion of the Stone Island\r\nlettering, of the two parallel stripes and of the name of the\r\nprocess on the left sleeve. The collar, placket, pocket flaps,\r\ncuffs and bottom hem are less faded owing to the double\r\nlayer of fabric and the seams. Light garment over dye." - }, - { - "uri": "https://ltho.s3.amazonaws.com/23b746d9-311b-4f9f-b356-d1f49046bda9.png", - "label": "THE PRESIDENT’S KNIT", - "code": "2915 5784", - "caption": "The President’s Knit is the name of a knitted garment introduced in the autumn winter ‘998-’999\r\nseason and then retaken with different processes in the years that followed. It is an innovative knitted\r\ngarment that takes on the functions of a jacket owing to its detachable lining.\r\nThe first of these garments was created in a double face knit, nylon chenille on the outside, cotton on\r\nthe inside. Three black nylon parallel stripes on the cuff. Ends of the sleeves and bottom hem as well\r\nin black nylon. The garment takes its final coloring from garment dyeing.\r\nDetachable lightweight nylon fabric lining with water resistant polyurethane resin finish, quilted\r\nwith polyester padding. The detachable lining is attached to the outer garment using a system of ties,\r\nadapted from those used in the sailing world." - }, - { - "uri": "https://ltho.s3.amazonaws.com/ebaf6ae8-f465-4a8d-b6d0-ff45a93f0350.png", - "label": "LAMINATE - NOC 1", - "code": "3015 4C41", - "caption": "Two ultra light cotton gauzes laminated by means of a\r\nmatte colored resin. This slightly stretch fabric provides\r\ntechnical features owing to its light lamination. This fabric\r\nhas a natural appearance but high-tech performance and\r\nis waterproof, windproof and breathable. Fully thermotaped\r\nseams on the inside.\r\nInjection moulded PVC NOC 1 hood. The shape of the\r\nhood is taken by the shape of gas masks. A research by\r\nStone Island into the making of non-fabric components." - }, - { - "uri": "https://ltho.s3.amazonaws.com/a39caa9e-4dbe-4c31-8bda-41ebc2a508b4.png", - "label": "PURE METAL SHELL – BRONZE", - "code": "3115 4T43", - "caption": "100% bronze mesh applied to a black nylon jersey base. The polyurethane adhesive\r\nprovides a light protection for the mesh. A Teflon® treatment makes the garment water\r\nresistant. The metal mesh is a living material with the features of metallic materials when\r\nused untreated, and therefore they are subject to oxidation over time, losing its shine.\r\nThe worn look, creases and breaks that form on the surface are features that make each\r\ngarment different from the next.\r\nDetachable woolen lining with raw cut edging, attached to the outer garment using a\r\nsystem of ties adapted from those used in the sailing world.\r\nThe Autumn Winter ´999-´000 collection saw the introduction of the Stone Island badge\r\nwith white embroidery, dedicated to garments created using advanced research into\r\nfabrics or processes." - }, - { - "uri": "https://ltho.s3.amazonaws.com/f221b596-7cc0-493c-9cea-6755f64d1641.png", - "label": "PURE METAL SHELL - SILVER SPRAY", - "code": "3115 4U39", - "caption": "Ultra light polyester fabric with the application, through\r\na patented procedure, of a micro stainless steel film in a\r\nvacuum and sterile environment. This Japanese fabric,\r\nused in airplanes to shield the on-board computers from\r\nelectromagnetic radiation. Cotton canvas lining. The garment is\r\npadded with goose down.\r\nThe Autumn Winter ´999-´000 collection saw the introduction\r\nof the Stone Island badge with white embroidery for pieces\r\ninvolving advanced research." - } - ], - "__index": "2", - "dateCreated": "Thu, 05 Nov 2015 01:49:20 GMT" - }, - { - "id": "-982-989", - "title": "'982'989", - "__index": "1", - "dateCreated": "Wed, 02 Dec 2015 05:15:20 GMT", - "images": [ - { - "uri": "https://ltho.s3.amazonaws.com/e486c7c7-798e-4bf7-9e67-973f2cb02368.png", - "label": "TELA STELLA", - "code": "45 4NN", - "caption": "Stone Island was founded on this fabric. Tela Stella was born out of the study\r\nof the technical and functional characteristics of military truck tarpaulins. It\r\nis a cotton canvas impregnated on both sides with special pigmented resins\r\nin contrasting colors. The finished garment then undergoes an extended\r\nenzyme wash in order to give it a faded look and to break down the density of\r\nthe material. The result is a windproof garment that has an air of old oilskins\r\ncorroded by the sea, which, at the same time, has a marked military feel." - }, - { - "uri": "https://ltho.s3.amazonaws.com/757164f9-0699-482a-9187-e7d097f84319.png", - "label": "TELA STELA DUAL COATED", - "code": "65 404", - "caption": "Cotton canvas impregnated on both sides with special pigmented resins in contrasting colors.\r\nWhite outside, sand colored inside. Garment dyed midnight blue; a mélange effect is obtained with\r\ndifferent textured depths of color on the outside and inside of the garment. Appliqués in reflective\r\nfabric and stretch cotton tape on the pockets. Metal buckles on the bottom hem. Long cotton strap\r\nsewn under the collar label and attached to one of the buckles by means of a snap hook to allow the\r\ngarment to be worn over the shoulders." - }, - { - "uri": "https://ltho.s3.amazonaws.com/eb9cadb6-9712-41cf-9984-086518c7c391.png", - "label": "TELA STELLA DUAL COATED", - "code": "65 410", - "caption": "Cotton canvas impregnated on both sides with special pigmented resins in\r\ncontrasting colors. White outside, sand colored inside. Neither washed,\r\nnor garment dyed, it maintains the body and intensity of the coating.\r\nAppliqués in reflective fabric and stretch cotton tape. Adjustable straps at\r\nthe sides." - }, - { - "uri": "https://ltho.s3.amazonaws.com/8237f317-5272-4760-a6ab-b56c475b50d3.png", - "label": "JOCK-23", - "code": "75 436", - "caption": "Cotton canvas with thick matte PVC coating. Appliqués in the same fabric\r\nwith contrasting color coating. On the back, appliqué in mélange felted wool\r\npolyester on the collar. On the inside the neckline and shoulders are lined\r\nin cotton jersey. Rubber buttons created from a mould. Detachable lining in\r\ngarment dyed cotton fleece, attached with snap fasteners." - }, - { - "uri": "https://ltho.s3.amazonaws.com/c790cbf7-0a92-449e-8557-f6174946ab68.png", - "label": "JOCK-23", - "code": "75 460", - "caption": "Cotton canvas with thick matte PVC coating. Hood and buckled inserts at the cuff, with\r\ncontrasting color coating. Appliqué in latex right around the edge. Metal eyelets.\r\nRubber buttons created from a mould." - }, - { - "uri": "https://ltho.s3.amazonaws.com/1062f397-c1d7-4012-ae8d-9ddf13363743.png", - "label": "JOCK-23", - "code": "75 409", - "caption": "Cotton canvas with thick matte PVC coating. Inner flap in a contrasting\r\ncolor. Collar in felted wool polyester, lined with latex. Latex band at cuffs.\r\nRubber buttons created from a mould. Detachable lining in garment dyed\r\ncotton fleece, attached with snap fasteners." - }, - { - "uri": "https://ltho.s3.amazonaws.com/5f315b73-1572-460c-abfe-cda498886abe.png", - "label": "RASO GOMMATO BLACK COVER", - "code": "35 4NN", - "caption": "Satin weave cotton of military origin bonded to a black\r\npolyurethane cover on the inside. The garment takes its\r\nfinal coloring from garment dyeing. Detachable hood in Silk\r\nLight, an ultra light, slightly resin treated shiny trilobate nylon\r\nfabric, quilted with polyester padding.\r\nDetachable lining in Silk Light, quilted with polyester padding.\r\nThe detachable lining is attached to the outer garment using\r\na system of ties, adapted from those used in the sailing world.\r\nThe hood and detachable lining are also garment dyed." - }, - { - "uri": "https://ltho.s3.amazonaws.com/cd370f63-4fab-41e1-bbb6-d9e4955d068e.png", - "label": "GLAZED SILK LIGHT", - "code": "55 4910", - "caption": "Fine shiny trilobate nylon with thick, glazed effect\r\nPVC coating, creating a translucent, semi-transparent\r\nappearance. Hood part lined in a layer of PVC and with a\r\nstrip of honeycomb pattern non-woven fabric in microfibre.\r\nPVC windproof cuffs inside the sleeves. Lining made with\r\na layer of heat-sealed PVC, with interlining in polyester\r\nmesh quilted with polyester padding. The piece takes its\r\nfinal color from a double cotton and nylon garment dyeing\r\nrecipe, to obtain different shades on the finished garment." - }, - { - "uri": "https://ltho.s3.amazonaws.com/417e64df-f318-4500-977b-2eaed1668bc4.png", - "label": "RASO GOMMATO BLACK COVER", - "code": "65 4A10", - "caption": "Satin weave cotton of military origin bonded to a\r\nblack polyurethane cover on the inside. Removable\r\neye mask in the hood, which folds away in the\r\ncollar. The garment takes its final coloring from\r\ngarment dyeing." - }, - { - "uri": "https://ltho.s3.amazonaws.com/93d8d8fa-ad6e-4fe5-9182-c9e45c7e4ff5.png", - "label": "NYLON RIP-STOP COVER", - "code": "75 4503", - "caption": "Khaki iridescent nylon with rip-stop twill, laminated on the\r\noutside with a transparent amber polyurethane film. The\r\ndepth of color is obtained by adding together the color of\r\nthe textile base and that of the coating. Lined in iridescent\r\nnylon rip-stop quilted with polyester padding." - } - ] - } - ], - "hub": [ - { - "id": "loading", - "date": "Tue, 12 Jan 2016 12:00:00 GMT", - "title": "STONE ISLAND", - "subtitle": "", - "body": "The unrelenting research by Stone Island results in a collection full of textiles evolutions, finishing and dyeing, featuring pop colors and extraordinary visual effects.", - "link": "", - "store": "true", - "image": [ - { - "uri": "https://ltho.s3.amazonaws.com/1ee6abef-0677-41a6-91eb-029303995073.png", - "caption": "" - }, - ], - "__index": 1, - "dateCreated": "Tue, 12 Jan 2016 15:55:24 GMT" - } - ], - "page": [ - { - "id": "terms-and-conditions", - "title": "Terms and Conditions", - "image": { - "uri": "", - "caption": "" - }, - "body": "
TERMS AND CONDITIONS OF USE
\r\nWelcome to www.stoneisland.com. These terms and conditions (the “General Terms and Conditions of Use”) govern your use of, access to, and purchase of products from the United States section of www.stoneisland.com (the \"US Site\"). By using the US Site, you agree to comply with and be bound by these General Terms and Conditions of Use. If you do not agree to these General Terms and Conditions of Use, please do not use the US Site.\r\n\r\n1. GENERAL\r\nwww.stoneisland.com is the property of SPORTSWEAR COMPANY, a company having an address at Galleria Cavour 4, 40124 Bologna, Italy (\"STONE ISLAND and STONE ISLAND DENIMS\") and is operated under license by YOOX Corporation, a Delaware corporation having an address at 148 Lafayette Street, 10th Floor, New York, NY, 10013, United States of America (the \"Provider\"). \r\n\r\n2. OTHER SITE POLICIES\r\nPlease review our General Terms and Conditions of Sale, Return Policy and Privacy Policy (collectively, the “Site Policies\"). All Site Policies are incorporated in these General Terms and Conditions of Use by this reference and, therefore, apply to your access to, use of and purchase of products from the US Site. If you do not agree to our Site Policies, please do not use the US Site. We reserve the right to make changes to the US Site, the Site Policies, and these General Terms and Conditions of Use at any time. If any of these conditions shall be deemed invalid, void, or for any reason unenforceable, that condition shall be deemed severable and shall not affect the validity and enforceability of any remaining condition. \r\n\r\n3. PURCHASE FOR PERSONAL USE ONLY\r\nYou may purchase products on the US Site only for personal use and not for resale. By placing your order, you certify that you are purchasing products for personal use only and not for resale and you accept our General Terms and Conditions of Sale. WE RESERVE THE RIGHT TO REFUSE ORDERS FOR ANY REASON WITHOUT EXPLANATION. \r\n\r\n4. USER'S SUBMISSIONS\r\nWe welcome your comments and feedback regarding the US Site, our products and our services. We do not, however, accept confidential or proprietary information. Accordingly, all comments, feedback, reviews, ideas, suggestions, materials, images, information and other submissions (collectively, the “Submissions”) disclosed, submitted or offered to the Provider via the US Site, or otherwise, are not confidential. You represent and warrant that any Submissions that you submit to the Provider are made in compliance with applicable laws, do not violate any right of any third party, including privacy and intellectual property rights. By disclosing, submitting or offering any Submissions to the Provider, you grant the Provider and STONE ISLAND and STONE ISLAND DENIMS a nonexclusive, royalty-free, perpetual, irrevocable, and fully sublicensable right to use, reproduce, modify, adapt, publish, translate, create derivative work from, distribute, display such Material throughout the world in any media. You are and shall remain solely responsible for any Submissions you disclose, submit or offer to the Provider or STONE ISLAND and STONE ISLAND DENIMS. \r\n\r\n5. PRIVACY\r\nWe recommend that you read our Privacy Policy, which explains our online privacy practices. \r\n\r\n6. COPYRIGHT\r\nAll content included on www.stoneisland.com US Site, such as works, images, pictures, dialogues, music, sounds, videos, documents, drawings, figures, logos, menus, web pages, graphics, colors, schemes, tools, fonts, designs, diagrams, layouts, methods, processes, functions and software (collectively, the \"Content\"), is the property of STONE ISLAND and STONE ISLAND DENIMS or its content suppliers and is protected by national and international copyright and other intellectual property laws. You may not reproduce, publish, distribute, display, modify, create derivative work from, or exploit in any way, in whole or in part, the Content without the prior express written consent of STONE ISLAND and STONE ISLAND DENIMS, or its content suppliers, as the case may be. STONE ISLAND and STONE ISLAND DENIMS and its content suppliers shall have the exclusive right to authorize or prohibit in their sole discretion any reproduction, publication, distribution, display, modification, creation of derivative work from, or exploitation in any way of, in whole or in part, the Content. STONE ISLAND and STONE ISLAND DENIMS and its content suppliers shall have the right, at any time, to claim the authorship of any Content posted on the US Site and to object to any use, distortion or other modification of such Content. Any reproduction, publication, distribution, display, modification, creation of derivative work from, or exploitation in any way of, the Content expressly authorized in writing by STONE ISLAND and STONE ISLAND DENIMS or its content suppliers shall be carried out by you for lawful purposes only and in compliance with all applicable laws. \r\n\r\n7. LICENSE AND SITE ACCESS\r\nThe viewing, printing or downloading of any Content from the US Site grants you only a limited, nonexclusive and nontransferable license for use solely by you for your own personal use and not for republication, distribution, assignment, sublicense, sale, preparation of derivative works or other use. No part of any Content may be reproduced in any form or incorporated into any information system, electronic or mechanical, other than for your personal use (but not for resale or redistribution). Any unauthorized use of the US Site and the Content immediately terminates the license granted by the Provider. \r\nYou will be solely responsible for all damages and other harm resulting from your use of the US Site and the Content. STONE ISLAND and STONE ISLAND DENIMS and the Provider shall not be deemed liable for any use of the US Site and the Content made by you in violation of any applicable laws and regulations and these General Terms and Conditions of Use. \r\n\r\n8. COPYRIGHT COMPLAINTS\r\nWe respect the intellectual property of others. If you believe that your work has been copied in a way that constitutes copyright infringement, please contact a STONE ISLAND and STONE ISLAND DENIMS copyright representative for further information at privacy@mail.stoneisland.com. \r\n\r\n9. LINKS TO OTHER WEB SITES\r\nThe US Site may provide hyperlinks to third party websites (“Third Party Websites\"). The Provider and STONE ISLAND and STONE ISLAND DENIMS do not operate, control, endorse or guarantee any Third Party Websites. You agree that the Provider and STONE ISLAND and STONE ISLAND DENIMS are not responsible for any content, services and/or products provided by any Third Party Website, nor are the Provider and STONE ISLAND and STONE ISLAND DENIMS responsible for any practice followed by such Third Party Website with respect to the collection and processing of personal data of their users. When you access any Third Party Website through a hyperlink posted on the US Site, please carefully read the terms and conditions of use, privacy policy and other policies of such Third Party Website. Our policies do not apply to any Third Party Website. \r\nYou The Provider provides hyperlinks to Third Party Websites only for the convenience of its users. By providing hyperlinks to Third Party Websites, the Provider does not recommend that its users access such Third Party Websites. \r\n\r\nYOU AGREE THAT YOUR USE OF ANY THIRD PARTY WEBSITE IS AT YOUR SOLE RISK AND WITHOUT WARRANTIES OF ANY KIND BY THE PROVIDER, EXPRESSED, IMPLIED OR OTHERWISE, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY OR NONINFRINGEMENT. UNDER NO CIRCUMSTANCES ARE THE PROVIDER AND/OR STONE ISLAND and STONE ISLAND DENIMS LIABLE FOR DAMAGES ARISING FROM ANY TRANSACTION BETWEEN YOU AND ANY THIRD PARTY WEBSITE OR FOR ANY INFORMATION APPEARING ON THIRD PARTY WEBSITES. \r\n\r\n10. GOVERNING LAW AND CHOICE OF FORUM\r\nThe laws of the State of New York (without giving effect to its conflicts of law principles) govern all matters arising out of or relating to these General Terms and Conditions of Sale, including, without limitation, their validity, interpretation, construction, performance, and enforcement. All legal proceedings arising out of or in connection with these General Terms and Conditions of Sale shall be brought solely in the City of New York, State of New York. \r\n\r\n11. DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY\r\nTHE US SITE AND ALL INFORMATION, CONTENT, MATERIALS, PRODUCTS (INCLUDING SOFTWARE) AND SERVICES INCLUDED ON OR OTHERWISE MADE AVAILABLE TO YOU THROUGH THIS SITE ARE PROVIDED BY THE PROVIDER ON AN \"AS IS\" AND \"AS AVAILABLE\" BASIS, UNLESS OTHERWISE SPECIFIED IN WRITING. THE PROVIDER MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, AS TO THE OPERATION OF THIS SITE OR THE INFORMATION, CONTENT, MATERIALS, PRODUCTS (INCLUDING SOFTWARE) OR SERVICES INCLUDED ON OR OTHERWISE MADE AVAILABLE TO YOU THROUGH THIS SITE, UNLESS OTHERWISE SPECIFIED IN WRITING. YOU EXPRESSLY AGREE THAT YOUR USE OF THIS SITE IS AT YOUR SOLE RISK. \r\n\r\nTO THE FULL EXTENT PERMISSIBLE BY APPLICABLE LAW, THE PROVIDER DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE PROVIDER DOES NOT WARRANT THAT THIS SITE; INFORMATION, CONTENT, MATERIALS, PRODUCTS (INCLUDING SOFTWARE) OR SERVICES INCLUDED ON OR OTHERWISE MADE AVAILABLE TO YOU THROUGH THIS SITE; THEIR SERVERS; OR E-MAIL SENT FROM THE PROVIDER ARE FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS. THE PROVIDER WILL NOT BE LIABLE FOR ANY DAMAGES OF ANY KIND ARISING FROM THE USE OF THIS SITE OR FROM ANY INFORMATION, CONTENT, MATERIALS, PRODUCTS (INCLUDING SOFTWARE) OR SERVICES INCLUDED ON OR OTHERWISE MADE AVAILABLE TO YOU THROUGH THIS SITE, INCLUDING, BUT NOT LIMITED TO DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, AND CONSEQUENTIAL DAMAGES, UNLESS OTHERWISE SPECIFIED IN WRITING. \r\n\r\nCERTAIN STATE LAWS DO NOT ALLOW LIMITATIONS ON IMPLIED WARRANTIES OR THE EXCLUSION OR LIMITATION OF CERTAIN DAMAGES. IF THESE LAWS APPLY TO YOU, SOME OR ALL OF THE ABOVE DISCLAIMERS, EXCLUSIONS, OR LIMITATIONS MAY NOT APPLY TO YOU, AND YOU MIGHT HAVE ADDITIONAL RIGHTS.\r\n\r\n
TERMS AND CONDITIONS OF SALE
\r\nThe following General Terms and Conditions of Sale govern the sale of merchandise by YOOX Corporation, an affiliate of YOOX NET-A-PORTER GROUP S.p.A. (the \"Provider\" or \"we\") to you through the US section of www.stoneisland.com (\"US Site\"). The US Site is available only for purchases made and delivered within the United States. Your use of the US Site to purchase merchandise indicates your agreement to follow and to be bound by these General Terms and Conditions of Sale.\r\n\r\n1. ORDERS & PRODUCTS\r\nAll orders are subject to e-mail confirmation by us. Please note that the products displayed on the US Site may be out-of-stock or discontinued, and availability is not guaranteed. Please note that while we have tried to accurately display the colors of products, the actual colors you see will depend on your monitor and may not be accurate. \r\n\r\n2. PRICES\r\nAll prices are in US Dollars. Prices may change without notice from time to time. The total amount due is inclusive of sales tax applied in accordance with applicable state and local regulations based on your shipping address. The applicable sales tax amount is indicated on the payment page of the cart.\r\n\r\nThe amount of sales tax charged on your order will depend upon various factors, including type of item purchased, sales price and destination of the shipment. Sales tax regulations may change between the time you place an order and the time of credit card charge authorization and this may affect the calculation of sales taxes. The amount appearing on your payment page of the cart may differ from the sales taxes ultimately charged as indicated in the invoice you will receive with the shipping confirmation e-mail.\r\n\r\nAll prices are inclusive of customs and import duties.\r\n\r\n3. SHIPPING COSTS\r\nYou are responsible for the shipping costs associated with the delivery of the products you purchase on the US Site as specified on your order confirmation. \r\n\r\n4. SHIPMENTS AND DELIVERY\r\nYou bear all risks of loss and damage to the products from the time the same have cleared our fulfillment house. Delivery is deemed complete and title to the products passes to you upon acceptance of shipment by a common carrier.\r\n\r\n5. RETURNS AND REFUNDS\r\nPlease refer to our Return and Refund Policy, which forms an integral part of these General Terms and Conditions of Sale. \r\n\r\n6. BINDING AGREEMENT\r\nOur order confirmation, these General Terms and Conditions of Sale and our other Site Policies shall be deemed the final and integrated agreement between you and us on the matters contained in these General Terms and Conditions of Sale. \r\n\r\n7. GOVERNING LAW AND CHOICE OF FORUM\r\nThe laws of the State of New York (without giving effect to its conflicts of law principles) govern all matters arising out of or relating to these General Terms and Conditions of Sale, including, without limitation, their validity, interpretation, construction, performance, and enforcement. All legal proceedings arising out of or in connection with these General Terms and Conditions of Sale shall be brought solely in the City of New York, State of New York. \r\n\r\n8. DISCLAIMERS AND LIMITATIONS OF LIABILITY\r\nTHE PROVIDER MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, AS TO THE PRODUCTS INCLUDED IN THE www.stoneisland.com US SITE NOR AS TO THE MERCHANDISE BEING SOLD TO YOU. TO THE FULLEST EXTENT PERMISSIBLE BY APPLICABLE LAW, THE PROVIDER DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT, AND THERE ARE NO WARRANTIES, EXPRESS OR IMPLIED, WHICH EXTEND BEYOND THE DESCRIPTION OF THE MERCHANDISE CONTAINED ON OUR ORDER CONFIRMATION. THE PROVIDER WILL NOT BE LIABLE FOR ANY DAMAGES OF ANY KIND ARISING FROM THE USE OF THE US SITE, INCLUDING BUT NOT LIMITED TO DIRECT, INDIRECT, INCIDENTAL, PUNITIVE AND CONSEQUENTIAL DAMAGES \r\nCERTAIN STATE LAWS DO NOT ALLOW LIMITATIONS ON IMPLIED WARRANTIES OR THE EXCLUSION OR LIMITATION OF CERTAIN DAMAGES. IF THESE LAWS APPLY TO YOU, SOME OR ALL OF THE ABOVE DISCLAIMERS, EXCLUSIONS, OR LIMITATIONS MAY NOT APPLY TO YOU, AND YOU MIGHT HAVE ADDITIONAL RIGHTS.\r\n\r\n9. SEVERABILITY\r\nIf any provision of these General Terms and Conditions of Sale is determined to be invalid, illegal or unenforceable, the remaining provisions of these General Terms and Conditions of Sale remain in full force to the extent permitted by law.\r\n\r\n10. PRIVACY\r\nThe terms and conditions of the our Privacy Policy govern the processing of all personal data collected from you in connection with your purchase of products through the US Site.\r\n\r\n11. FORCE MAJEURE\r\nProvider shall not be liable for any delay or failure in performance caused by circumstances beyond its reasonable control.\r\n\r\n12. ERRORS AND INACCURACIES\r\nOur goal is to provide complete, accurate, and up-to-date information on our website. Unfortunately, it is not possible to ensure that any website is completely free of human or technological errors. This website may contain typographical mistakes, inaccuracies, or omissions, some of which may relate to pricing and availability, and product information. We reserve the right to correct any errors, inaccuracies or omissions, including after an order has been submitted, and to change or update information at any time without prior notice.\r\n", - "__index": "1", - "dateCreated": "Tue, 17 Nov 2015 20:31:52 GMT", - "tag": "terms" - }, - { - "id": "privacy-policy", - "title": "Privacy Policy", - "image": { - "uri": "", - "caption": "" - }, - "body": "Welcome to www.stoneisland.com. Please read our Privacy Policy carefully. This Privacy Policy applies when you visit and surf the United States section of www.stoneisland.com (the \"www.stoneisland.com US Site\") regardless of whether you purchase products or not, when you register with the www.stoneisland.com US Site, and when you use our services. By using the www.stoneisland.com US Site, you accept the practices described in this Privacy Policy. If you do not want to accept the practices described in this Privacy Policy, please do not use the www.stoneisland.com US Site. \r\nThe www.stoneisland.com US Site is operated under license by , a Delaware corporation having an address at 148 Lafayette Street, 10th Floor, New York, NY, 10013, United States of America (\"YOOX USA\"). YOOX USA is a subsidiary of YOOX NET-A-PORTER GROUP S.p.A., an Italian company having its registered address at via Morimondo, 17 – Milano 20143 (\"YOOX\") and controls the personal data of users and customers of the www.stoneisland.com US Site together with SPORTSWEAR COMPANY, having address at Galleria Cavour 4, 40124 Bologna, Italy, Italy, VAT, 01046470371 (jointly referred to as \"YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY\"). \r\nSince personal data of users and customers of the www.stoneisland.com US Site may be processed in Italy, any such processing of personal data will be conducted in compliance with applicable US law as well as the Italian Data Protection Code (Legislative Decree no. 196 dated June 30, 2003). Pursuant to the Italian Data Protection Code, YOOX USA is the controller of personal data of users and customers of the www.stoneisland.com US Site. As controller of personal data, YOOX USA independently determines the purposes and means by which your personal data are processed, including all security measures. As required by the Italian Data Protection Code, YOOX USA has appointed YOOX NET-A-PORTER GROUP as its data protection representative in Italy. As our data protection representative in Italy, YOOX, together with SPORTSWEAR COMPANY, independently ensures that personal data are processed in Italy in a correct and lawful manner and in accordance with good practice.\r\n\r\n1. OUR POLICY\r\nEveryone has the right to the protection of his/her personal data. YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY respect our users' right to be informed about the collection and processing of their personal data. The www.stoneisland.com US Site has been designed in such a way that the use of your personal data will be minimal and will not exceed the original purpose for which your personal data are collected and/or processed. In particular, we do not disclose your identity when the purpose for which your personal data are being processed can be achieved by using anonymous aggregate information. This Privacy Policy is intended to provide you with all the information you need in order to understand our privacy practices.\r\nHowever, if you have any questions regarding our privacy practices and this Privacy Policy, please contact us at the following e-mail address:privacy@mail.stoneisland.com.\r\nThe www.stoneisland.com US Site is not directed at, nor do we knowingly collect personally identifiable information from children under the age of 13, although we may sell children's products or services for purchase by adults. If you are under 18, you may use the www.stoneisland.com US Site only with the involvement of a parent or guardian. \r\n\r\n2. WHO PROCESSES YOUR PERSONAL DATA\r\nFor organizational and operational purposes only, YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY have appointed certain entities that will also process personal data of users and customers of the www.stoneisland.com US Site. Such purposes are strictly connected to the performance of services provided on the www.stoneisland.com US Site by YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY, including the sale of products.\r\nThe above-mentioned data processors have been chosen by YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY because of their experience in processing personal data, their sufficient guarantees with respect to compliance with applicable laws and regulations, including the Italian Data Protection Code (Legislative Decree no. 196 of 30 June 2003) as well as the technical security measures adopted by them in connection with the processing of personal data. In processing personal data of the users of the www.stoneisland.com US Site, our processors will act only in accordance with instructions provided by YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY. We regularly verify that our processors comply with our instructions and that they provide sufficient guarantees with respect to their compliance with applicable laws and regulations. The following is a list of the companies primarily involved in the processing of personal data of users and customers of the www.stoneisland.com US Site:\r\n\t•\tUnited Parcel Service S.p.A.(“UPS\"). We provide UPS, by electronic means, with customers' addresses and other personal data for the purpose of shipping, delivering and returning products purchased on the www.stoneisland.com US Site;\r\n\t•\tBT Italia S.p.A., for purposes related to the maintenance of YOOX NET-A-PORTER GROUP servers;\r\n\t•\tYOOX NET-A-PORTER GROUP Italy. We provide YOOX NET-A-PORTER GROUP Italy with personal data of users and customers for purposes related to direct marketing services of YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY and in connection with other services provided by YOOX NET-A-PORTER GROUP Italy to YOOX USA, such as call center and help desk services.\r\nPlease contact our Customer Care or send us an e-mail at privacy@mail.stoneisland.com if you would like to receive a full list of our data processors.\r\n\r\n3. HOW DO WE USE PERSONAL DATA AND FOR WHAT PURPOSES\r\nYour personal data are collected and processed by YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY for purposes which are strictly connected to the use of the www.stoneisland.com US Site, its services and the purchase of products on the www.stoneisland.com US Site. However, your personal data may also be used for other processing operations within the limits of such purposes. In particular, your personal data may be processed for the following purposes:\r\n\t•\twhen you register with the www.stoneisland.com US Site we collect your personal data (for example, your personal information, e-mail address, gender) through the relevant registration form (My Account) in order to provide you with services in reserved access areas of the www.stoneisland.com US Site and in order to send you our Newsletter, when specifically requested;\r\n\t•\twhen you request Customer Care services, we collect your personal data (for example, your password) for purposes strictly necessary to provide you with customer care services relevant to the US Site and to the purchase of products on the US Site;\r\n\t•\twhen you request Customer Service assistance, we collect your personal data (for example, your first and last names, e-mail address and password) for purposes strictly necessary to provide you with Customer Service relevant to the www.stoneisland.com US Site and to the purchase of products on the www.stoneisland.com US Site;\r\n\t•\twhen you are executing purchasing procedures for products sold on the www.stoneisland.com US Site, including conclusion of an agreement for the purchase of products, we collect your personal data (for example, personal information, e-mail address, address, Credit Card numbers, bank account number and telephone number) on your order form only for the purpose of selling the products ordered by you;\r\n\t•\twhen you request technical assistance, we collect your personal data in order to provide you with information on net-surfing, Internet browsing or viewing and downloading web pages;\r\n\t•\twhen creating your Wish List, we process your personal data in order to customize our services for the purchase of products on the www.stoneisland.com US Site.\r\nYour personal data are generally processed by electronic means; however, in certain circumstances, paper-based means may be used (for example, when the processing of your personal data is required for the prevention of fraud against us). Your personal data are stored in a way which allows YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY to identify you for the period that is strictly necessary for the original purposes for which such personal data are collected and subsequently processed, all in accordance with applicable laws.\r\nPlease report any changes to your personal data to the e-mail address privacy@mail.stoneisland.com in order to ensure that your personal data are always accurate and kept up-to-date.\r\nYour personal data will not be disclosed to third parties for purposes not permitted by law or without your explicit consent. Your personal data may only be disclosed to third parties when it is necessary to process an order placed by you. For example, your personal data are disclosed to Banca Sella S.p.A. for the performance electronic payment services, through Credit/Debit Cards. Moreover, your personal data may be disclosed to the police or to judicial authorities, in compliance with applicable laws and regulations and upon a formal request by such authorities for the purposes of preventing a fraud against us (anti-fraud services). Data processors will also have access to your personal data, as stated in Section 2 of this Privacy Policy, for the specific purposes stated in that Section. In all the above circumstances, your consent for data processing will not be specifically requested.\r\nYour personal data will not be transferred to any countries outside the United States and Italy if such countries do not provide for an adequate level of protection of the privacy of individuals. Should the above be necessary in order to supply services to you or to execute contracts for the purchase of products, the transfer of your personal data to any such countries will be carried out only after the execution of specific contracts between YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY and all parties involved, in accordance with applicable laws and regulations.\r\nWe wish to inform you that YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY process users' personal data for purposes that are strictly connected to the supply of services through the www.stoneisland.com US Site, the execution of contracts related to the sale and purchase of products on the www.stoneisland.com US Site and, after receiving your consent, in order to send you information on new commercial initiatives which are strictly related to the www.stoneisland.com US Site's activities and services. YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY process your personal data for direct marketing purposes, including by e-mail, only after receiving your consent.\r\nYOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY may have access to third parties' personal data which is directly disclosed by their users to YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY, for instance when the user buys a product to be sent to a friend, when the user who pays the purchase price for a product is different from the recipient of such product, or when a user wishes to recommend to a friend a service provided through the www.stoneisland.com US Site or the sale of a particular product posted on the www.stoneisland.com US Site.\r\nIn all cases involving the disclosure of information of a third party, you must obtain the consent of such individuals before disclosing their personal data to YOOX USA, YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY and have informed said individuals about this Privacy Policy. You will be the only person liable in connection with the disclosure of information and data relevant to such third parties and with any other incompatible and unlawful use of such data if they have not provided you with their consent. You agree to indemnify, defend and hold each of YOOX USA, YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY harmless from any liability, claims and expenses, including reasonable attorneys' fees, arising from or related to any unauthorized disclosure of personally identifiable information of third parties.\r\n\r\n4. WHAT HAPPENS IF YOU DO NOT DISCLOSE YOUR PERSONAL DATA\r\nThe personal data we request you to provide to YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY, including your e-mail address, your address, your Credit/Debit Card numbers, bank account number and your telephone number, is necessary for the processing of your order for the purchase of products on the www.stoneisland.com US Site, to supply other services provided on the www.stoneisland.com US Site upon your request, or to carry out obligations arising out of applicable laws and regulations.\r\nYour refusal to provide certain personal data to YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY may prevent YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY from processing your order for the purchase of products sold on the www.stoneisland.com US Site or from providing other services through the www.stoneisland.com US Site, such as Customer Services, sending the Newsletter, use of the Wish List, recommending a product to a friend.\r\nYour failure to provide personal data to YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY may prevent the processing of your order for the purchase of products sold or to provide services through the www.stoneisland.com US Site. \r\nThe disclosure of personal data to YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY other than that required in order to fulfill legal or contractual obligations or to provide the services requested by you is optional and does not have any effect on the use of the www.stoneisland.com US Site and its services or on the purchase of products on the www.stoneisland.com US Site. We will inform you if the personal data we ask you to provide is necessary or optional by marking with an asterisk (*) the information that is necessary. Your failure to disclose optional personal data will not pose any obligation or disadvantage to you, except to the extent that we may no be able to offer you some of our optional, personalized features of the www.stoneisland.com US Site. \r\n\r\n5. TO WHOM YOUR PERSONAL DATA WILL BE DISCLOSED \r\nYour personal data may be disclosed to third parties who provide specific services as Data Processors on behalf of YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY or who autonomously process personal data collected by YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY in connection with the performance of a contract for the purchase of products on the www.stoneisland.com US Site (for example, Banca Sella, S.p.A.). \r\nAny such disclosure will be conducted, in each instance, without exceeding the original purposes for which your personal data were collected and subsequently processed. In addition, your personal data may be disclosed to third parties in order to (1) comply with applicable laws, (2) respond to governmental and judiciary inquiries, (3) comply with valid legal process, and (4) protect the rights or property of YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY. \r\nAny third party information disclosed to YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY in accordance with this Privacy Policy will not be used for any purpose other than as required to technically operate the service, to complete a transaction, or as otherwise required by law. \r\nIn the event there is a change in the corporate structure of YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY including, without limitation, by merger, consolidation, sale, liquidation, or transfer of substantial assets, YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY may, in their sole discretion, transfer, sell or assign personal data collected on and through the www.stoneisland.com US Site, including, without limitation, personally identifiable information and aggregate information concerning users and customers, to one or more affiliated or unaffiliated third parties. \r\nIn any event, your personal data will not be disclosed to third parties without you being informed or without your consent, when such consent is required by law.\r\n\r\n6. HOW DO WE COLLECT YOUR DATA ON www.stoneisland.com \r\nCookies\r\nWhen you are using the www.stoneisland.com US Site, some personal data may be collected automatically through so-called \"cookies\". A cookie is a device transmitted to the hard drive of an Internet user. While cookies do not contain intelligible information, they allow us to link an Internet user to personal information provided by such user through the www.stoneisland.com US Site. YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY process information collected by cookies in a collective and anonymous way, in order to optimize our services and the www.stoneisland.com US Site for the needs and preferences of its users. We use cookies to collect users' IP addresses and other information regarding users' data traffic or preferences in the choice of services provided and products purchased through the www.stoneisland.com US Site.\r\nWe disseminate cookies in connection with functions such as browsing the catalogue, purchasing products on-line and supplying \"My Account\" services.\r\nAs you may know, each Internet browser allows the deletion of cookies after each session. Your Internet browser contains instructions on how to carry out these procedures of deletion. Please access the appropriate instructions section on your Internet browser if you wish to delete cookies. \r\nYour acceptance of our automatic procedures of collection of data and the use of cookies is necessary to take advantage of many features and services offered by the www.stoneisland.com US Site, including the purchase of products. If you set your browser to block or delete cookies, we cannot guarantee that you will have access to all the features and services offered by the US Site (for example, your computer may not be able to display the image of the product you are in the process of purchasing).\r\nOther Methods of Collecting User Information. \r\nYOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY directly collect personal data and information from users when they register on-line with the www.stoneisland.com US Site or when they send purchase orders for products sold on the www.stoneisland.com US Site in order to finalize their transactions.\r\n\r\n7. SECURITY MEASURES\r\nWe have adopted security measures to protect personal data against accidental or unlawful destruction, loss, alteration, unauthorized disclosure or access and against other unlawful forms of data processing, as provided in our Privacy Policy. \r\nNevertheless, YYOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY cannot guarantee that the security measures adopted for the protection of the www.stoneisland.com US Site and the transmission of data and information through the www.stoneisland.com US Site will prevent or exclude any risk of unauthorized access to or loss of data. It is advisable that your computer be equipped with software devices for the protection of network data transmission and receipt (such as, updated antivirus systems) and that your Internet service provider take appropriate measures for the security of network data transmission (such as, firewalls and anti-spam filtering).\r\n\r\n8. OPT-IN/OPT OUT Advertising material and direct marketing or other commercial communications which are not specifically requested by you or necessary to provide a service you requested, including the purchase of products on the US Site, will be sent to you only after we receive your consent. Please note that each time your consent is required, we will inform you in advance and we will give you the option to either provide or refuse your consent by selecting the appropriate box.\r\nYOOX and STONE ISLAND and STONE ISLAND DENIMS may process your personal data without your consent when such processing is necessary to comply with applicable laws and regulations or to provide you with services you requested, including the purchase of products on the US Site.\r\nEven when your prior consent is not necessary, you may exercise, at any time, your right not to receive future communications regarding services you requested, such as the Newsletter.\r\n\r\n9. YOUR RIGHT TO ACCESS PERSONAL DATA AND FURTHER RIGHTS\r\nYou are entitled to obtain, at any time, confirmation from YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY as to whether or not data relating to you is being processed, even if not yet registered, and the communication of any such data in an intelligible form. \r\nMoreover, you are entitled to receive from YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY information on the source from which we received your personal data; the purposes and means of processing your personal data; the logic involved in any electronic data processing; information regarding the data controller and the data processors and the names of subjects and categories of subjects to whom your personal data may be disclosed or who may access your personal data (for example, the names of data processors). You can also find the above information in our Privacy Policy. \r\nYou are entitled to obtain at any time from YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY:\r\n\t•\tthe updating, rectification or integration of your personal data;\r\n\t•\tthe deletion, transformation into anonymous form or blocking of your personal data, which are processed in violation of the law, including when the storage of data is not necessary for the purposes for which it has been collected and subsequently processed;\r\n\t•\tthe confirmation that the operations under letters a) and b) have been reported to whom the data were disclosed or disseminated, except when it becomes impossible to do so or if it means exceeding the protection of the right you are claiming.\r\nYou are entitled to object, in all or in part:\r\n\t•\tfor legitimate reasons, to the processing of your personal data, even if it is related to the purposes for which it was collected;\r\n\t•\tto the processing of your personal data for advertising or direct marketing purposes or in order to carry out marketing research or commercial communications.\r\nYou may freely and at any time exercise your rights, provided that you do so in compliance with applicable laws and regulations, by sending your request to YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY at the following e-mail address: privacy@mail.stoneisland.com.\r\n\r\n10. LINKS TO OTHER WEB SITES\r\nThe www.stoneisland.com US Site may provide hyperlinks to third party websites (the \"Third Party Websites\"). YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY do not operate, control, endorse or guarantee any Third Party Websites. You agree that and SPORTSWEAR COMPANY are not responsible for any content, services and/or products provided by any Third Party Website, nor are YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY responsible for any practice followed by such Third Party Website with respect to the collection and processing of personal data of their users. When you access any Third Party Website through a hyperlink posted on the www.stoneisland.com US Site, please carefully read the Privacy Policy and other policies of such Third Party Website.\r\nOur Privacy Policy and other policies do not apply to any Third Party Website. YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY provide hyperlinks to Third Party Websites only for the convenience of our users. By providing hyperlinks to Third Party Websites, YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY do not recommend that users access such Third Party Websites.\r\nYOU AGREE THAT YOUR USE OF ANY THIRD PARTY WEBSITE IS AT YOUR SOLE RISK AND WITHOUT WARRANTIES OF ANY KIND BY YOOX, YOOX USA, AND/OR SPORTSWEAR COMPANY, EXPRESSED, IMPLIED OR OTHERWISE, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY OR NONINFRINGEMENT. UNDER NO CIRCUMSTANCES ARE YOOX, YOOX USA, AND/OR SPORTSWEAR COMPANY LIABLE FOR DAMAGES ARISING FROM ANY TRANSACTION BETWEEN YOU AND ANY THIRD PARTY WEBSITE OR FOR ANY INFORMATION APPEARING ON THIRD PARTY WEBSITES. \r\n\r\n11. CONTACTS\r\nIf you wish to receive further information regarding our privacy practices, please contact us at the following e-mail address: privacy@mail.stoneisland.com. For more information regarding your rights under the Italian Data Protection Code, please go to the web site of the Italian Data Protection Authority at www.garanteprivacy.it. \r\n\r\n12. GOVERNING LAW\r\nThe processing of personal data by YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY will be conducted in compliance with applicable US laws. The laws of Italy, including the Italian Personal Data Protection Code (Legislative Decree no. 196 dated June 30, 2003), also apply to the processing of personal data carried out by YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY (see the Companies of YOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY Group). The Italian Personal Data Protection Code guarantees that the processing of your personal data will be carried out in compliance with the fundamental rights and freedoms of individuals and their dignity, with particular reference to confidentiality, identity and the right to personal data protection. \r\n\r\n13. MODIFICATION AND UPDATING\r\nYOOX NET-A-PORTER GROUP and SPORTSWEAR COMPANY may amend or update from time to time all or any part of this Privacy Policy, whether or not required by a change in the applicable laws and regulation. Our users will be notified of any amendment to or update of our Privacy Policy on our homepage. All amendments and updates will become effective upon publication on this section of the www.stoneisland.com US Site. You should regularly access this section of the www.stoneisland.com US Site in order to review the most recent and updated version of our Privacy Policy.", - "__index": "2", - "dateCreated": "Tue, 17 Nov 2015 20:32:07 GMT", - "tag": "privacy" - }, - { - "id": "returns-policy", - "title": "Returns Policy", - "image": { - "uri": "", - "caption": "" - }, - "body": "We want to make sure that you are completely satisfied with your purchases on this Site. If, for any reason, you are not satisfied with your order, you may return any UNUSED products within twenty (20) days from the date of delivery. Before sending any products back to us, please make sure that all of the following conditions have been correctly satisfied. \r\nThe product you wish to return:\r\n
  • can be sent back to us only after you have completed and submitted the online Return Form available on the www.stoneisland.com US Site within twenty (20) days of delivery; by completing and submitting our online return form you will receive your Return Number, which you must include on your return shipping label;
  • \r\n
  • must be unused, unworn, unwashed and in the same condition in which it was received by you;
  • \r\n
  • must have all disposable seals still attached with the disposable seal that must still be intact;
  • \r\n
  • must be returned complete with all of its parts and accessories;
  • \r\n
  • must be sent in its original packaging;
  • \r\n
  • must be shipped back to our fulfillment house within twenty (20) days of the date of delivery;
  • \r\n
  • must be sent in one single shipment; products that belong to the same order must be returned to us at the same time; and
  • \r\n
  • must be shipped from the United States.
  • \r\nIf all of these conditions are satisfied, we will refund the value of the returned product(s), Sales Tax included, less any original shipping costs. If you send the package with UPS, return shipping costs charged to the customer will correspond to $6.00. If you prefer you can send the return at your expense, with a courier of your choice. We will not issue any refunds for returns that do not satisfy all of the conditions indicated above; provided, however, that you will have the option to request within thirty (30) days of being notified that you are not entitled to a refund that your merchandise be shipped back to you, at your own cost, in the condition in which it was received by Provider’s fulfillment house.\r\nIf you do not request the return of your merchandise within said thirty-day period, you authorize Provider, and any of its affiliates or agents, to dispose of such merchandise as it sees fit. \r\n\r\nSALES OF BEACHWEAR AND UNDERWEAR ARE FINAL. WE RESERVE THE RIGHT TO DESIGNATE ON THE SITE OTHER NON-RETURNABLE MERCHANDISE. ANY SUCH DESIGNATION WILL BE NOTED ON THE DETAIL PAGE OF THE MERCHANDISE WHICH IS NON-RETURNABLE. \r\n\r\nREFUND POLICY\r\nRefunds are processed within approximately three (3) business days of our receipt of your merchandise. Your refund will be credited back to the same payment method used to make the original purchase on the US Site. If you paid by credit card, refund times will depend on the credit or debit card company’s policies. Be aware that the refund date for the credit will coincide with the date of the original payment, therefore you will not be charged any interest fees. If you paid by PayPal (where available), refunds will be credited to your PayPal account and will be visible immediately. The date of reimbursement to the credit card associated with your PayPal account depends on the company that issued the card. WE OFFER NO REFUNDS ON ANY PRODUCTS DESIGNATED ON THIS SITE AS NON-RETURNABLE. \r\n\r\nIDENTIFICATION TAG\r\nAll of our products come with an identification tag with a disposable seal. Please try your item on before removing the tag and seal, since we do not accept returns once the disposable seal has been removed, broken or damaged in any way. Shoes come with a sticker under the sole; if you remove or alter this sticker, you may no longer return your purchase. \r\n\r\nUPS\r\nYour return can be sent to us by UPS, using the pre-printed label which you can find within the original shipment. If you send the package with UPS, return shipping costs charged to the customer will correspond to $6.00. Please visit http://www.ups.com/dropoff?loc=en_US to find the UPS drop-off location nearest to you. If you prefer you can send the return at your expense, with a courier of your choice. We are not responsible for any loss or damage to products if you ship your return without using UPS. \r\n\r\nWE OFFER NO EXCHANGES ON MERCHANDISE PURCHASED ON THE www.stoneisland.com US SITE\r\n\r\nDISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY\r\n\r\nPROVIDER MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, AS TO THE PRODUCTS INCLUDED ON THE SITE NOR AS TO THE MERCHANDISE BEING SOLD TO YOU. TO THE FULLEST EXTENT PERMISSIBLE BY APPLICABLE LAW, PROVIDER DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT, AND THERE ARE NO WARRANTIES, EXPRESS OR IMPLIED, WHICH EXTEND BEYOND THE DESCRIPTION OF THE MERCHANDISE CONTAINED ON OUR ORDER CONFIRMATION. PROVIDER WILL NOT BE LIABLE FOR ANY DAMAGES OF ANY KIND ARISING FROM THE USE OF THE SITE, INCLUDING BUT NOT LIMITED TO DIRECT, INDIRECT, INCIDENTAL, PUNITIVE AND CONSEQUENTIAL DAMAGES. \r\n\r\nCERTAIN STATE LAWS DO NOT ALLOW LIMITATIONS ON IMPLIED WARRANTIES OR THE EXCLUSION OR LIMITATION OF CERTAIN DAMAGES. IF THESE LAWS APPLY TO YOU, SOME OR ALL OF THE ABOVE DISCLAIMERS, EXCLUSIONS, OR LIMITATIONS MAY NOT APPLY TO YOU, AND YOU MIGHT HAVE ADDITIONAL RIGHTS.\r\n\r\nForce Majeure\r\nProvider shall not be liable for any delay or failure in performance caused by circumstances beyond its reasonable control.", - "__index": "3", - "dateCreated": "Tue, 17 Nov 2015 21:03:44 GMT", - "tag": "returns" - }, - { - "id": "customer-care", - "title": "Customer Care", - "image": { - "uri": "", - "caption": "" - }, - "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam blandit in risus sit amet maximus. Phasellus ullamcorper auctor fermentum. Aenean diam libero, rhoncus vel efficitur sed, dictum vel neque. Aliquam mollis leo vitae est vehicula, non pulvinar elit congue. Phasellus sit amet mauris neque. Integer volutpat nisl est, vel finibus purus lacinia vehicula. Proin dapibus velit quis sapien ultricies accumsan. Sed accumsan dui id porta efficitur.\r\n\r\nCurabitur pretium ut libero a varius. Morbi in lacinia felis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nullam dolor justo, consequat eu lectus at, interdum sollicitudin arcu. Nunc accumsan velit volutpat, venenatis leo eu, rhoncus nibh. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Phasellus semper consequat ipsum, sed fringilla ligula tincidunt at.\r\n\r\nMauris vehicula, purus ut iaculis facilisis, mi leo dignissim libero, at lobortis lectus odio consequat urna. Etiam accumsan volutpat nibh, eget ultricies mi feugiat eu. Duis id aliquam enim. Pellentesque quis enim eu dolor bibendum interdum. Cras ultrices erat velit, eu volutpat erat consequat non. Nam ut nibh facilisis, egestas sapien vitae, scelerisque sapien. Nullam tortor ex, convallis vel nisi vitae, efficitur dapibus nunc. In hac habitasse platea dictumst. Nam posuere ligula lorem, sit amet ultricies odio tristique in. Etiam gravida tincidunt mollis. Duis quis nulla ligula. Etiam ut vehicula tellus. Sed ipsum lacus, tincidunt sit amet velit et, aliquet hendrerit erat. Nam sed velit dapibus, congue odio non, ultrices ligula. Suspendisse at quam eu lorem finibus ultricies id tempus lorem. Nulla vel quam luctus, viverra nulla cursus, faucibus tellus.\r\n\r\nPraesent magna ex, posuere at hendrerit varius, auctor a nisl. Nullam sodales erat ut nisl vestibulum luctus. Donec id sagittis orci. Cras imperdiet, erat non dictum feugiat, elit turpis viverra neque, interdum cursus mi turpis vitae dolor. Suspendisse potenti. Aenean et auctor diam, vel eleifend eros. Praesent viverra felis at enim elementum fermentum. Etiam convallis, elit porta molestie condimentum, arcu ligula vestibulum nisi, et aliquet massa tellus quis eros. Aliquam a dignissim tellus, non ullamcorper purus. Phasellus in risus mattis dui vehicula cursus in at urna.\r\n\r\nCurabitur laoreet lorem eu euismod volutpat. Suspendisse vulputate aliquet tempor. Pellentesque purus augue, eleifend a maximus eu, commodo nec felis. Mauris mattis turpis nec volutpat tincidunt. Mauris imperdiet ante at orci mollis sagittis. Etiam lacus risus, consectetur ut dui non, pulvinar pulvinar libero. Aliquam ut rhoncus justo, quis sollicitudin nisi. Proin et iaculis sem. Pellentesque id tempor elit, et tincidunt nunc. Quisque laoreet et massa quis imperdiet. Morbi dapibus, felis sed auctor porttitor, massa nunc sollicitudin urna, non congue odio enim eget nisi. Suspendisse semper vehicula nisl vitae vehicula. Maecenas sed justo quis nisi auctor ultrices. Nam vel dolor fringilla, accumsan nulla eu, rutrum ex. Donec ante quam, molestie vel ex eget, dictum luctus nunc. Phasellus tincidunt libero non quam finibus, at convallis sem laoreet.\r\n\r\nDonec consequat, leo tincidunt elementum consectetur, nisl augue sollicitudin dolor, vel fringilla dui lorem non enim. Morbi id arcu felis. Integer malesuada ex enim, sed consectetur massa condimentum id. In mollis libero eu neque sollicitudin, sit amet interdum orci bibendum. Curabitur tincidunt purus vel vestibulum placerat. Aliquam erat volutpat. Praesent ac eros diam. Mauris ultrices euismod sodales. Vestibulum dui leo, auctor sit amet finibus eu, suscipit eu diam. Cras ac rhoncus turpis, at sagittis mi. Praesent urna metus, euismod vitae nunc eget, suscipit auctor lectus. Pellentesque maximus arcu justo. Duis mi arcu, rutrum et vulputate nec, mattis sit amet risus. Donec posuere velit sed enim accumsan, eu lobortis nulla sagittis.\r\n\r\nDonec viverra consectetur turpis sit amet malesuada. Sed sit amet urna luctus, sodales est porta, aliquam mi. Curabitur et ullamcorper odio, dapibus facilisis nisl. Fusce tortor leo, mattis sit amet massa ut, ultrices aliquam massa. Pellentesque consectetur metus in molestie egestas. Quisque vehicula at mauris ut eleifend. Duis eu ipsum quis ipsum bibendum luctus.\r\n\r\nSed sed viverra diam. Quisque lacinia nisl orci. Fusce vulputate dui ut nunc vulputate feugiat. Praesent felis quam, semper nec dapibus eget, venenatis vitae leo. Maecenas rutrum egestas dapibus. Vestibulum sodales molestie varius. Ut ac laoreet est, nec posuere ipsum. Cras ac eros sapien. Quisque eu dui lorem. Donec congue varius tortor ac ullamcorper. Curabitur vulputate faucibus finibus. Donec tellus neque, euismod ac aliquet at, vehicula in mauris. Vivamus justo nulla, maximus sit amet quam ac, vulputate dapibus purus. Mauris ante urna, posuere varius vehicula sed, fringilla sed quam. In eget ex tincidunt, ultrices elit id, congue quam. Suspendisse congue tristique dolor, rhoncus venenatis purus tempor at.\r\n\r\nVivamus efficitur, odio in tempor rutrum, quam nunc congue orci, non posuere lorem lacus et arcu. Aenean sit amet diam quis dui dapibus semper ac vitae est. Aenean ornare arcu justo, id sodales odio maximus interdum. Curabitur sit amet augue pretium metus bibendum imperdiet vitae vitae nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nunc euismod ante eu justo mollis dignissim. Maecenas et velit eu lorem laoreet ornare. Sed accumsan est nec rutrum dignissim.\r\n\r\nIn bibendum mattis ligula. Pellentesque gravida felis sed congue viverra. Nam volutpat quam at velit sodales, nec egestas dolor consectetur. Etiam id tortor tincidunt, sollicitudin risus ut, lacinia diam. Morbi consequat euismod justo vitae sagittis. Pellentesque interdum orci ligula, tincidunt maximus nulla sollicitudin sed. Duis finibus odio eros, eget consequat ante tristique ac. Suspendisse at interdum leo. Nunc sagittis ante ac felis iaculis fermentum. Sed elementum dictum dictum. Aliquam eget metus molestie, varius mi ac, auctor quam.", - "__index": "4", - "dateCreated": "Tue, 17 Nov 2015 21:03:57 GMT", - "tag": "care" - }, - { - "id": "account-terms", - "title": "Account Terms", - "image": { - "uri": "", - "caption": "", - "width": "", - "height": "" - }, - "body": "

    1. Services

    \r\n\r\nStone Island - SPORTSWEAR COMPANY S.p.A. (\"Stone Island\") offers you the possibility of using the following services \"My Account\" (the \"Services\")*:\r\n\r\n
      \r\n
    • My Orders: Track the shipping of your orders, change or return items that are not for you and see the history of your orders.
    • \r\n
    • My Profile: Manage your registration data.
    • \r\n
    • Address Book: Save or change your addresses to have them always at hand and complete your purchases faster.
    • \r\n
    • My Card: Save or change your card information and complete your orders faster and always safely.
    • \r\n
    \r\n\r\n

    2. Registration

    \r\n

    2.1

    \r\n\r\nIf you want to use the Services you must be an adult user, register on stoneisland.com creating your My Account account, and accept these terms and conditions for using the Services (\"Terms\"). Registration is free of charge. To create your My Account account, you will need to fill out the registration form by entering the required information, and guarantee to Stone Island that the information provided during the registration process is complete, accurate and truthful. We will send you an email to confirm your registration. We remind you that the credentials to access your My Account account must be used exclusively by you, and they cannot be transferred to third parties. Subject to legal limitations, Stone Island cannot in any way be held responsible in the event of access to your My Account account by unauthorized third parties. You are requested to keep your credentials confidential and to immediately inform Stone Island if you suspect that there has been an unauthorized access to your My Account account or if your password has been violated.\r\n\r\n\r\n

    2.2

    \r\n\r\nFor the provision of some Services, it may be necessary to use electronic communication channels (such as e-mail, SMS or telephone). If you want to use these specific services, you will be asked to give your consent to be contacted by Stone Island for the related communications by SMS, email or other communication channel.\r\n\r\n\r\n

    2.3

    \r\n\r\nWe also request you to consult, if you have not already done so, our General Terms of Use which form an integral part of these Terms. For any other legal information, consult the General Terms of Sale, Return Policy and Privacy Policy of stoneisland.com.\r\n\r\n\r\n

    3. Duration and withdrawal

    \r\n\r\n

    3.1

    \r\n\r\nThe registration with the Services shall be effective from the moment you receive the confirmation email and for the entire period in which you use the Services.\r\n\r\n\r\n

    3.2

    \r\n\r\nAt any time and for any reason, you can cancel your subscription to the Services by sending a request to our Customer Service and selecting \"privacy\". In the event you exercised the right of withdrawal, we will send you an email to confirm the cancellation of the Services.\r\n\r\n\r\n

    3.3

    \r\n\r\nStone Island reserves the right to cancel your registration with the Services in the event of a violation of the provisions contained in these Terms, or in the event that the data provided was not complete, truthful or accurate, without prejudice to the right to compensation for the damage suffered. Stone Island also reserves the right to temporarily suspend, without any prior communication, the provision of the Services, for the time necessary and / or appropriate, to perform all the technical interventions required to improve the quality of the Services. Stone Island may, at any time, interrupt the provision of the Services for security reasons.\r\n\r\n\r\n

    4. Warning on the Services

    \r\n\r\nStone Island shall do its best to provide an accurate services. Without prejudice to the legal limits, the Services are provided free of charge \"AS IS\". Stone Island does not provide any guarantee, by way of example but not limited to, relating to the quality, the good functioning, the absence of interruptions or the suitability of the Services for an end or a particular result set by the user.\r\n\r\n\r\n

    5. Rectification and Update

    \r\n\r\nThe present Terms can be amended from time to time in consideration of possible regulatory changes. The new Terms shall be effective as of their date of publication in stoneisland.com You are requested to regularly access this section in order to check the publication of the most recent and updated Privacy Policy.\r\n\r\n\r\n*The availability of the Service may vary by country or region. Verify your My Account account to see which Services are available.\r\n\r\n", - "tag": "account_terms", - "__index": 5, - "dateCreated": "Tue, 24 Jul 2018 13:59:23 GMT" - } - ], - "store": [ - { - "id": "stone-island", - "title": "Stone Island", - "StoreIsOpen": "false", - "ClosedStoreImages": [ - { - "uri": "https://ltho.s3.amazonaws.com/fe9a4c24-eb7f-42be-9c36-d0ab5936bb13.png", - "caption": "" - }, - { - "uri": "https://ltho.s3.amazonaws.com/52b447ec-8635-4182-ae39-25dca98afae1.png", - "caption": "" - } - ], - "__index": "0", - "dateCreated": "Fri, 20 Nov 2015 00:45:03 GMT", - "collection": "SS_'016 PREVIEW", - "FitsLarge": "false", - "BackgroundIsGray": "true", - "CollectionId": "33064", - "StoreStatus": "closed", - "OpensOn": "Invalid Date" - } - ] -} \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/etc/deeplink.js b/StoneIsland/platforms/android/assets/www/js/lib/etc/deeplink.js deleted file mode 100755 index 252a94c9..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/etc/deeplink.js +++ /dev/null @@ -1,6 +0,0 @@ -function handleOpenURL (url) { - console.log("DEEP LINKING DETECTED", url) - url = url.replace("stoneisland:/", "") - app.router && app.router.parseRoute( url ) - window.deepLinkRoute = url -} \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/etc/geo.js b/StoneIsland/platforms/android/assets/www/js/lib/etc/geo.js deleted file mode 100755 index 22899141..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/etc/geo.js +++ /dev/null @@ -1,71 +0,0 @@ -var geo = (function(){ - var geo = {} - - var polling = false, fetching = false, poll_timeout = null - - geo.fetch = function(){ - fetching = true - navigator.geolocation.getCurrentPosition(geo.success, geo.error, {timeout: 15000}) - } - - geo.success = function(position){ - var lat_str = as_degrees( position.coords.latitude || 40.99167, "N", "S" ) - var lng_str = as_degrees( position.coords.longitude || -74.07944, "E", "W" ) - $(".latlng").html( lat_str + "     " + lng_str ) - geo.done() - } - - geo.error = function(error){ - $(".latlng").html( "+40° 58' 90.9\" N     74° 04' 46.3\" W" ) - geo.done() - } - - geo.done = function(){ - fetching = false - if (polling) { - clearTimeout( poll_timeout ) - poll_timeout = setTimeout(geo.fetch, 15000) - } - } - - geo.start_polling = function(){ - polling = true - if (! fetching) { - geo.fetch() - } - } - - geo.stop_polling = function(){ - polling = false - clearTimeout(poll_timeout) - } - - function as_degrees (n, pos, neg) { - var s = "" - var sig = n >= 0 ? pos : neg - - n = Math.abs(n) - s += Math.floor(n) + "° " - - n %= 1 - n *= 60 - nn = Math.floor(n) - if (nn < 10) nn = "0" + nn - s += nn + "' " - - n %= 1 - n *= 60 - nn = Math.floor(n) - if (nn < 10) nn = "0" + nn - s += nn - - n %= 1 - n *= 10 - nn = Math.floor(n) - s += "." + nn + '\" ' + sig - - return s - } - - return geo -})() \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/etc/push.js b/StoneIsland/platforms/android/assets/www/js/lib/etc/push.js deleted file mode 100755 index 74aaf7b5..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/etc/push.js +++ /dev/null @@ -1,154 +0,0 @@ -var push = (function(){ - var push = { settings: {}, disabled: false } - var pushPlugin - push.init = function(){ - if (! ('device' in window) || (device.platform || "").toLowerCase() !== "ios") { - console.log("push disabled") - push.disabled = true - return - } - - pushPlugin = PushNotification.init({ - ios: { - alert: true, - badge: true, - sound: false, - clearBadge: true, - }, - }) - - console.log("push init") - - PushNotification.hasPermission(push.did_initialize) - pushPlugin.on('registration', push.got_registration) - pushPlugin.on('notification', push.got_push_notification) - } - push.did_initialize = function(data) { - // console.log(data) - if (! data.isEnabled) { - console.log("push did not initialize") - return - } - console.log("push did initialize") - var hub_status = localStorage.getItem("yoox.push_hub") - var store_status = localStorage.getItem("yoox.push_store") - - push.settings.requested = localStorage.getItem("yoox.push_requested") == "true" - push.settings.hub = hub_status == "true" - push.settings.store = store_status == "true" - - if (push.settings.requested) { - return - } - // not sure why we're also signing up for notifications here?? - if (! hub_status || hub_status == "true") { - push.subscribe("hub") - } - if (! store_status || store_status == "true") { - push.subscribe("store") - } - } - push.got_registration = function(data){ - var registrationId = data.registrationId - var oldRegistrationId = localStorage.getItem("yoox.registrationId") - // console.log(registrationId, oldRegistrationId) - - if (registrationId !== oldRegistrationId || ! push.settings.requested) { - localStorage.setItem("yoox.registrationId", registrationId) - push.subscribe("hub", function(){ - push.subscribe("store") - }) - } - } - push.subscribe = function(channel, cb){ - if (push.disabled) return - push.settings[channel] = true - localStorage.setItem("yoox.push_" + channel, "true") - var data = { - registrationId: localStorage.getItem("yoox.registrationId"), - channel: channel, - platform: device.platform, - } - pushPlugin.subscribe(channel, function(){ - console.log("subscribed to", channel) - }) - $.ajax({ - method: "POST", - url: push.url('add'), - data: data, - contentType: 'application/x-www-form-urlencoded; charset=UTF-8', - success: function(){ - console.log("subscribed to", channel) - cb && cb() - }, - error: push.error, - }) - } - push.unsubscribe = function(channel, cb){ - if (push.disabled) return - push.settings[channel] = false - localStorage.setItem("yoox.push_" + channel, "false") - var data = { - registrationId: localStorage.getItem("yoox.registrationId"), - channel: channel, - platform: device.platform, - } - $.ajax({ - method: "POST", - url: push.url('remove'), - data: data, - contentType: 'application/x-www-form-urlencoded; charset=UTF-8', - success: function(){ - console.log("unsubscribed from", channel) - cb && cb() - }, - error: push.error, - }) - } - push.url = function(key){ - return sdk.cms() + '/_services/push/' + key - } - push.got_push_notification = function(push_obj) { - // console.log('We received this push notification: ' + JSON.stringify(push_obj)); - - app.blog.refresh() - - push_obj.additionalData = push_obj.additionalData || {} - - var is_hub = true - - try { - is_hub = JSON.stringify(push_obj || {}).match(/hub/i) - } - catch (e) { - } - - if (is_hub) { - app.intro.$alert.show().html("[ HUB UPDATED ]") - } - else if (! push_obj.additionalData.url) { - auth.clear_cart() - app.intro.$alert.show().html("[ STORE UPDATED ]") - } - - if (push_obj.additionalData.foreground === false) { - // TODO: route the user to the uri in push_obj - pushPlugin.finish(function(){}, function(){}) - - if (push_obj.additionalData.url) { - app.deepLinkRoute = push_obj.additionalData.url - app.router.go(push_obj.additionalData.url) - } - } - else if (is_hub) { - app.router.go("hub") - } - else { - app.router.go("intro") - } - } - push.error = function(e){ - console.log("push error") - } - return push -})() \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/etc/scroll.js b/StoneIsland/platforms/android/assets/www/js/lib/etc/scroll.js deleted file mode 100644 index 253921e1..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/etc/scroll.js +++ /dev/null @@ -1,29 +0,0 @@ -// stub for native scroller when in voiceover mode -function NativeScroll(el) { - var Scroller = { - x: 0, - y: 0, - $el: $(el), - } - - Scroller.refresh = function(){} - Scroller.on = function(){} - Scroller.off = function(){} - - Scroller.scrollTo = function(x, y) { - Scroller.$el.scrollTop(y) - } - Scroller.scrollToElement = function(selector) { - var y = $(selector).offset().top - Scroller.$el.scrollTop(y) - } - - return Scroller -} - -function ScrollFactory (el, opt) { - if (accessibility.voiceOver) { - return NativeScroll(el) - } - return new IScroll(el, opt) -} diff --git a/StoneIsland/platforms/android/assets/www/js/lib/etc/sim.js b/StoneIsland/platforms/android/assets/www/js/lib/etc/sim.js deleted file mode 100644 index 65be02b0..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/etc/sim.js +++ /dev/null @@ -1,49 +0,0 @@ -var sim = (function(){ - var sim = {} - - sim.loaded = false - sim.data = { - carrierName: 'unknown', - countryCode: 'us', - mcc: '0', - mnc: '0', - } - - sim.fetch = function(cb){ - console.log('fetching sim data') - sim.afterFetch = cb - window.plugins.sim.getSimInfo(sim.success, sim.error) - } - - sim.afterFetch = function(){} - - sim.success = function(data){ - console.log(data) - if (sim.data.countryCode) { - sim.data = data - sim.data.countryCode = sim.data.countryCode.toLowerCase() - // app is only available in US or Canada, so call the US API regardless - if (sim.data.countryCode !== 'ca') { - sim.data.countryCode = 'us' - } - } - sim.loaded = true - sim.afterFetch() - } - - sim.error = function(){ - console.log("no SIM card detected") - $.ajax({ - url: "http://ip-api.com/json/", - jsonp: "callback", - dataType: "jsonp", - success: sim.success, - error: function(){ - sim.loaded = true - sim.afterFetch() - } - }) - } - - return sim -})() \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/nav/AddressView.js b/StoneIsland/platforms/android/assets/www/js/lib/nav/AddressView.js deleted file mode 100755 index fd0fa59d..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/nav/AddressView.js +++ /dev/null @@ -1,303 +0,0 @@ - -var AddressViewID = Math.round(Date.now() % 1000) - -var AddressView = SerializableView.extend({ - - template: $("#address_template").html(), - - disabled: false, - - events: { - "change [name=Province]": 'update_country', - "focus [name]": 'scroll_up_to_phone', - }, - - initialize: function(opt){ - this.parent = opt.parent - this.checkPhone = 'checkPhone' in opt ? opt.checkPhone : true - this.setElement( this.parent.$(".address") ) - this.$el.html(this.template.replace(/{{_id}}/g, AddressViewID++)) - }, - - populate: function(data){ - // console.log( this.$('[name=Province]') ) - this.data = data - var address = data.Address.split("\n") - data.Address1 = address[0] - data.Address2 = address[1] - this.$(".address input").val("") - this.load_data(data) - this.update_country() - }, - - validate_presence: { - "Name": "Please enter your first name.", - "Surname": "Please enter your last name.", - "Address1": "Please enter your street address.", - "City": "Please enter your city.", - "ZipCode": "Please enter your zip code.", - "Phone": "Please enter your phone number.", - }, - - validate_fields: function(data, errors){ - if (this.disabled) { return } - if (this.checkPhone) { - var phone_number = data.Phone ? String(data.Phone).replace(/[^0-9]/g, "").replace(/^[01]+/, '') : "" - data.Phone = phone_number - this.$('[name=Phone]').val(phone_number) - var phone_length = phone_number.length - if (phone_length === 0 || ! data.Phone) { - errors.push([ "Phone", "Please enter your phone number." ]) - } - else if (phone_length < 10) { - errors.push([ "Phone", "Please enter a valid 10 digit US/Canada phone number." ]) - } - else if (phone_length > 10) { - errors.push([ "Phone", "International phone numbers are not accepted." ]) - } - else if (phone_number.charAt(0) === '+') { - errors.push([ "Phone", "Please enter a valid 10 digit US/Canada phone number. International phone numbers are not accepted." ]) - } - else if (phone_number.charAt(0) === '1') { - errors.push([ "Phone", "Please enter a valid 10 digit US/Canada phone number. International phone numbers are not accepted." ]) - } - } - if (! data.Province || data.Province == "NONE") { - errors.push([ "Province", "Please choose your state." ]) - } - if (data.ZipCode && data.ZipCode.length < 5) { - errors.push([ "ZipCode", "Please enter a valid zip code." ]) - } - data.Address = data.Address1 + "\n" + data.Address2 - data.UserId = auth.user_id - delete data.Address1 - delete data.Address2 - }, - - update_country: function(){ - var state = this.$("[name=Province]").val() - console.log(state) - if (CANADIAN_LOOKUP[state]) { - this.$(".country-label").html("CANADA") - } - else { - this.$(".country-label").html("UNITED STATES") - } - }, - - scroll_up_to_phone: function(e){ - var position = $(e.currentTarget).prev('label').position() - if (app.view.scroller && position) { - app.view.scroller.scrollTo(0, -position.top) - } - }, - -}) - -var CANADIAN_PROVINCES = "AB BC MB NB NL NS NT NU ON PE SK QC YT".split(" ") -var CANADIAN_LOOKUP = {} -CANADIAN_PROVINCES.forEach(function(k){ CANADIAN_LOOKUP[k] = true }) - -var COUNTRIES = [ - ['Country Name', 'NONE'], - ['United States', 'US'], - ['Abkhazia', 'GE'], - ['Afghanistan', 'AF'], - ['Albania', 'AL'], - ['Algeria', 'DZ'], - ['Andorra', 'AD'], - ['Angola', 'AO'], - ['Antigua and Barbuda', 'AG'], - ['Argentina', 'AR'], - ['Armenia', 'AM'], - ['Australia', 'AU'], - ['Austria', 'AT'], - ['Azerbaijan', 'AZ'], - ['Bahamas', 'BS'], - ['Bahrain', 'BH'], - ['Bangladesh', 'BD'], - ['Barbados', 'BB'], - ['Belarus', 'BY'], - ['Belgium', 'BE'], - ['Belize', 'BZ'], - ['Benin', 'BJ'], - ['Bhutan', 'BT'], - ['Bolivia', 'BO'], - ['Bosnia and Herzegovina', 'BA'], - ['Botswana', 'BW'], - ['Brazil', 'BR'], - ['Brunei', 'BN'], - ['Bulgaria', 'BG'], - ['Burkina Faso', 'BF'], - ['Burundi', 'BI'], - ['Cambodia', 'KH'], - ['Cameroon', 'CM'], - ['Canada', 'CA'], - ['Cape Verde', 'CV'], - ['Central African Republic', 'CF'], - ['Chad', 'TD'], - ['Chile', 'CL'], - ['China', 'CN'], - ['Colombia', 'CO'], - ['Comoros', 'KM'], - ['Congo', 'CD'], - ['Congo-Brazzaville', 'CG'], - ['Costa Rica', 'CR'], - ['Cote d\'Ivoire (Ivory Coast)', 'CI'], - ['Croatia', 'HR'], - ['Cuba', 'CU'], - ['Cyprus', 'CY'], - ['Czech Republic', 'CZ'], - ['Denmark', 'DK'], - ['Djibouti', 'DJ'], - ['Dominica', 'DM'], - ['Dominican Republic', 'DO'], - ['Ecuador', 'EC'], - ['Egypt', 'EG'], - ['El Salvador', 'SV'], - ['Equatorial Guinea', 'GQ'], - ['Eritrea', 'ER'], - ['Estonia', 'EE'], - ['Ethiopia', 'ET'], - ['Fiji', 'FJ'], - ['Finland', 'FI'], - ['France', 'FR'], - ['Gabon', 'GA'], - ['Gambia', '220'], - ['Georgia', 'GE'], - ['Germany', 'DE'], - ['Ghana', 'GH'], - ['Greece', 'GR'], - ['Grenada', 'GD'], - ['Guatemala', 'GT'], - ['Guinea', 'GN'], - ['Guinea-Bissau', 'GW'], - ['Guyana', 'GY'], - ['Haiti', 'HT'], - ['Honduras', 'HN'], - ['Hungary', 'HU'], - ['Iceland', 'IS'], - ['India', 'IN'], - ['Indonesia', 'ID'], - ['Iran', 'IR'], - ['Iraq', 'IQ'], - ['Ireland', 'IE'], - ['Israel', 'IL'], - ['Italy', 'IT'], - ['Jamaica', 'JM'], - ['Japan', 'JP'], - ['Jordan', 'JO'], - ['Kazakhstan', 'KZ'], - ['Kenya', 'KE'], - ['Kiribati', 'KI'], - ['Kuwait', 'KW'], - ['Kyrgyzstan', 'KG'], - ['Laos', 'LA'], - ['Latvia', 'LV'], - ['Lebanon', 'LB'], - ['Lesotho', 'LS'], - ['Liberia', 'LR'], - ['Libya', 'LY'], - ['Liechtenstein', 'LI'], - ['Lithuania', 'LT'], - ['Luxembourg', 'LU'], - ['Macedonia', 'MK'], - ['Madagascar', 'MG'], - ['Malawi', 'MW'], - ['Malaysia', 'MY'], - ['Maldives', 'MV'], - ['Mali', 'ML'], - ['Malta', 'MT'], - ['Marshall Islands', 'MH'], - ['Mauritania', 'MR'], - ['Mauritius', 'MU'], - ['Mexico', 'MX'], - ['Micronesia', 'FM'], - ['Moldova', 'MD'], - ['Monaco', 'MC'], - ['Mongolia', 'MN'], - ['Montenegro', 'ME'], - ['Morocco', 'MA'], - ['Mozambique', 'MZ'], - ['Myanmar', 'MM'], - ['Nagorno-Karabakh', 'AZ'], - ['Namibia', 'NA'], - ['Nauru', 'NR'], - ['Nepal', 'NP'], - ['Netherlands', 'NL'], - ['New Zealand', 'NZ'], - ['Nicaragua', 'NI'], - ['Niger', 'NE'], - ['Nigeria', 'NG'], - ['North Korea', 'KP'], - ['Northern Cyprus', 'CY'], - ['Norway', 'NO'], - ['Oman', 'OM'], - ['Pakistan', 'PK'], - ['Palau', 'PW'], - ['Panama', 'PA'], - ['Papua New Guinea', 'PG'], - ['Paraguay', 'PY'], - ['Peru', 'PE'], - ['Philippines', 'PH'], - ['Poland', 'PL'], - ['Portugal', 'PT'], - ['Qatar', 'QA'], - ['Romania', 'RO'], - ['Russia', 'RU'], - ['Rwanda', 'RW'], - ['Saint Kitts and Nevis', 'KN'], - ['Saint Lucia', 'LC'], - ['Saint Vincent and the Grenadines', 'VC'], - ['Samoa', 'WS'], - ['San Marino', 'SM'], - ['Sao Tome and Principe', 'ST'], - ['Saudi Arabia', 'SA'], - ['Senegal', 'SN'], - ['Serbia', 'RS'], - ['Seychelles', 'SC'], - ['Sierra Leone', 'SL'], - ['Singapore', 'SG'], - ['Slovakia', 'SK'], - ['Slovenia', 'SI'], - ['Solomon Islands', 'SB'], - ['Somalia', 'SO'], - ['Somaliland', 'SO'], - ['South Africa', 'Rand'], - ['South Korea', 'KR'], - ['South Ossetia', 'GE'], - ['Spain', 'ES'], - ['Sri Lanka', 'LK'], - ['Sudan', 'SD'], - ['Suriname', 'SR'], - ['Swaziland', 'SZ'], - ['Sweden', 'SE'], - ['Switzerland', 'CH'], - ['Syria', 'SY'], - ['Taiwan', 'TW'], - ['Tajikistan', 'TJ'], - ['Tanzania', 'TZ'], - ['Thailand', 'TH'], - ['Timor-Leste', 'TL'], - ['Togo', 'TG'], - ['Tonga', 'TO'], - ['Transnistria', 'MD'], - ['Trinidad and Tobago', 'TT'], - ['Tunisia', 'TN'], - ['Turkey', 'TR'], - ['Turkmenistan', 'TM'], - ['Tuvalu', 'TV'], - ['Uganda', 'UG'], - ['Ukraine', 'UA'], - ['United Arab Emirates', 'AE'], - ['United Kingdom', 'GB'], - ['Uruguay', 'UY'], - ['Uzbekistan', 'UZ'], - ['Vanuatu', 'VU'], - ['Vatican City', 'VA'], - ['Venezuela', 'VE'], - ['Vietnam', 'VN'], - ['Yemen', 'YE'], - ['Zambia', 'ZM'], - ['Zimbabwe', 'ZW'], -] diff --git a/StoneIsland/platforms/android/assets/www/js/lib/nav/CreditCardView.js b/StoneIsland/platforms/android/assets/www/js/lib/nav/CreditCardView.js deleted file mode 100755 index af53d964..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/nav/CreditCardView.js +++ /dev/null @@ -1,63 +0,0 @@ - -var CreditCardViewID = Math.round(Date.now() % 1000) - -var CreditCardView = SerializableView.extend({ - - template: $("#creditcard_template").html(), - - cardOptions: { - accept: ['visa', 'mastercard', 'amex', 'jcb'], - }, - - events: { - }, - - initialize: function(opt){ - this.parent = opt.parent - this.setElement( this.parent.$(".cc") ) - this.$el.html(this.template.replace(/{{_id}}/g, CreditCardViewID++)) - - this.$number = this.$("[name=Number]") - this.$number.validateCreditCard(this.updateCard.bind(this), this.cardOptions) - }, - - populate: function(data){ - this.data = data - data.Number = "XXXX XXXX XXXX " + data.Number - this.$number.attr("type", "text") - this.parent.$(".cc input").val("") - this.$(".cc input").val("") - this.load_data(data) - }, - - updateCard: function(card){ - // console.log(card) - // card.card_type.name - // card.card_type.valid - }, - - validate_presence: { - 'Number': 'Please enter your credit card number.', - 'Cvv': 'Please enter your security code.', - }, - - validate_fields: function(data, errors){ - if (this.disabled) { return } - var card = this.$number.validateCreditCard(this.cardOptions) - if (! card.valid) { errors.push([ "Number", "Your card number is invalid." ]) } - if (! data.ExpirationMonth || data.ExpirationMonth == "NONE") { errors.push([ "ExpirationMonth", "Please enter the expiration month." ]) } - if (! data.ExpirationYear || data.ExpirationYear == "NONE") { errors.push([ "ExpirationYear", "Please select the expiration month." ]) } - data.UserId = auth.user_id - if (card.valid) { - data.Type = YOOX_CREDIT_CARD_NAME_LOOKUP[ card.card_type.name ] - } - }, - -}) - -var YOOX_CREDIT_CARD_NAME_LOOKUP = { - "visa": "Visa", - "mastercard": "Mastercard", - "amex": "AmericanExpress", - "jcb": "JCB", -} diff --git a/StoneIsland/platforms/android/assets/www/js/lib/nav/CurtainView.js b/StoneIsland/platforms/android/assets/www/js/lib/nav/CurtainView.js deleted file mode 100755 index d444fd60..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/nav/CurtainView.js +++ /dev/null @@ -1,39 +0,0 @@ -var CurtainView = View.extend({ - - el: "#curtain", - - events: { - "click": "click", - }, - - initialize: function(){ - }, - - klass: null, - show: function(klass){ - this.$el.addClass("visible") - if (klass) { - this.klass = klass - this.$el.addClass(klass) - } - }, - - hide: function(k){ - this.$el.removeClass("visible") - if (this.klass) { - setTimeout( function(){ - this.$el.removeClass(this.klass) - }.bind(this), 200 ) - } - }, - - click: function(){ - if (document.body.classList.contains("nav")) { - app.nav.hide() - } - if (app.selector.visible) { - app.selector.hide() - } - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/nav/FooterView.js b/StoneIsland/platforms/android/assets/www/js/lib/nav/FooterView.js deleted file mode 100755 index 855c37bd..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/nav/FooterView.js +++ /dev/null @@ -1,43 +0,0 @@ -var FooterView = View.extend({ - - el: "#footer", - - events: { - "click .ok": "ok", - "click .cancel": "cancel", - }, - - initialize: function(){ - this.$ok = this.$(".ok") - this.$cancel = this.$(".cancel") - this.hide() - }, - - show: function(ok, cancel){ - if (cancel) { - this.$ok.removeClass("wide") - this.$cancel.show().html(cancel) - this.$cancel.attr('aria-label', cancel.toLowerCase()) - } - else { - this.$ok.addClass("wide") - this.$cancel.hide() - } - this.$ok.html(ok) - this.$ok.attr('aria-label', ok.toLowerCase()) - this.$el.show() - }, - - hide: function(){ - this.$el.hide() - }, - - ok: function(){ - (app.view.save || app.view.ok).bind(app.view)() - }, - - cancel: function(){ - app.view.cancel ? app.view.cancel() : app.intro.show() - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/nav/HeaderView.js b/StoneIsland/platforms/android/assets/www/js/lib/nav/HeaderView.js deleted file mode 100755 index 0961a5e8..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/nav/HeaderView.js +++ /dev/null @@ -1,57 +0,0 @@ -var HeaderView = View.extend({ - - el: "#header", - - events: { - "click .burger": "nav", - "click .logo": "logo", - "click .cart_rapper": "cart", - }, - - initialize: function(){ - this.$burger = this.$(".burger") - this.$cart = this.$(".cart") - this.$cart_count = this.$(".cart_count") - }, - - back_state: false, - set_back: function(state){ - this.back_state = state - if (state) { - this.$burger[0].className = "burger ion-ios-arrow-left" - } - else { - this.$burger[0].className = "burger ion-android-menu" - } - }, - - nav: function(){ - if (this.back_state) { - app.view.back() - } - else { - app.nav.show() - } - }, - - logo: function(){ - app.router.go("intro") - }, - - cart: function(){ - app.router.go("cart") - }, - - count: 0, - set_cart_count: function(n){ - this.count = n - this.$cart_count.html(n || "0") - }, - increment_cart_count: function(){ - this.$cart_count.html( ++this.count ) - }, - decrement_cart_count: function(){ - this.$cart_count.html( --this.count ) - }, - -}) diff --git a/StoneIsland/platforms/android/assets/www/js/lib/nav/IntroView.js b/StoneIsland/platforms/android/assets/www/js/lib/nav/IntroView.js deleted file mode 100755 index c075619a..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/nav/IntroView.js +++ /dev/null @@ -1,64 +0,0 @@ -var IntroView = View.extend({ - - el: "#intro", - - events: { - "click .store": "store", - "click .hub": "hub", - "click .story": "story", - "click .archive": "archive", - }, - - initialize: function(){ - this.$alert = this.$(".alert") - this.compass = this.$("#compass").get(0) - this.orient = this.deviceorientation.bind(this) - this.$alert.hide() - }, - - show: function(){ - document.body.className = "intro" - window.addEventListener("deviceorientation", this.orient) - app.footer.hide() - this.orient({ alpha: 0 }) - }, - - hide: function(){ - window.removeEventListener("deviceorientation", this.orient) - this.$alert.hide() - }, - - deviceorientation: function(e){ - var heading - if ('webkitCompassHeading' in e) { - heading = e.webkitCompassHeading || 0 - } - else { - heading = e.alpha || 0 - } - heading = - heading - this.compass.style[transformProp] = "translateZ(0) translateX(-50%) translateY(-50%) rotate(" + heading + "deg)" - }, - - store: function(e){ - e.preventDefault() - e.stopPropagation() - app.router.go("store") - }, - hub: function(e){ - e.preventDefault() - e.stopPropagation() - app.router.go("hub") - }, - story: function(e){ - e.preventDefault() - e.stopPropagation() - app.router.go("story") - }, - archive: function(e){ - e.preventDefault() - e.stopPropagation() - app.router.go("archive") - }, - -}) diff --git a/StoneIsland/platforms/android/assets/www/js/lib/nav/NavView.js b/StoneIsland/platforms/android/assets/www/js/lib/nav/NavView.js deleted file mode 100755 index a9a1938e..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/nav/NavView.js +++ /dev/null @@ -1,182 +0,0 @@ -var NavView = View.extend({ - - el: "#nav", - - events: { - "click .logo": "intro", - - "click .store": "store", - "click .hub": "hub", - "click .story": "story", - "click .archive": "archive", - - "click .login": "login", - "click .logout": "logout", - "click .account": "account", - "click .faq": "faq", - "click .search": "search", - - "click .main": "back", - "click .account_back": "back", - "click .profile": "profile", - "click .payment": "payment", - "click .shipping": "shipping", - "click .settings": "settings", - "click .orders": "orders", - "click .return_link_us": "return_link_us", - "click .return_link_ca": "return_link_ca", - - "click .faq_back": "back", - "click .privacy": "privacy", - "click .account_terms": "account_terms", - "click .returns": "returns", - "click .terms": "terms", - "click .care": "care", - - "click .fb": "fb", - "click .insta": "insta", - "click .tw": "tw", - "click .yt": "yt", - - "click .close": "close", - }, - - initialize: function(){ - }, - - show: function(klass){ - $("body").addClass("nav") - app.curtain.show("dark") - doneShowingNav = false - setTimeout(function(){ - doneShowingNav = true - }, 800) - if (klass) { - setTimeout(function(){ - this.addClass(klass) - }.bind(this), 500) - } - }, - - hide: function(){ - if (!doneShowingNav) return - $("body").removeClass("nav") - app.curtain.hide("dark") - }, - - intro: function(){ - this.hide() - app.router.go("intro") - }, - store: function(){ - this.hide() - app.router.go("store") - }, - hub: function(){ - this.hide() - app.router.go("hub") - }, - story: function(){ - this.hide() - app.router.go("story") - }, - archive: function(){ - this.hide() - app.router.go("archive") - }, - - login: function(){ - this.hide() - auth.last_view = app.view - app.router.go("account/login") - }, - logout: function(){ - this.hide() - auth.last_view = app.view - app.router.go("account/logout") - }, - account: function(){ - this.el.className = "account" - }, - - back: function(){ - this.el.className = "" - }, - - profile: function(){ - this.hide() - app.router.go("account/profile") - }, - payment: function(){ - this.hide() - app.router.go("account/payment") - }, - shipping: function(){ - this.hide() - app.router.go("account/shipping") - }, - orders: function(){ - this.hide() - app.router.go("account/orders") - }, - settings: function(){ - this.hide() - app.router.go("account/settings") - }, - return_link_us: function(){ - window.open("https://www.stoneisland.com/us/ProductExchange/SearchOrder/Index?utm_source=AppMobile&utm_medium=referral&utm_campaign=ReturnForm", '_system') - }, - return_link_ca: function(){ - window.open("https://www.stoneisland.com/ca/ProductExchange/SearchOrder/Index?utm_source=AppMobile&utm_medium=referral&utm_campaign=ReturnForm", '_system') - }, - - - faq: function(){ - this.el.className = "faq" - }, - privacy: function(){ - this.hide() - app.router.go("page/privacy") - }, - account_terms: function(){ - this.hide() - app.router.go("page/account_terms") - }, - returns: function(){ - this.hide() - app.router.go("page/returns") - }, - terms: function(){ - this.hide() - app.router.go("page/terms") - }, - care: function(e){ - e.preventDefault() - window.open("https://www.stoneisland.com/customercare?utm_source=AppMobile&utm_medium=referral&utm_campaign=CustomerCare", '_system') - }, - - - search: function(){ - this.hide() - app.router.go("search") - }, - - - fb: function(){ - window.open("https://www.facebook.com/StoneIsland", '_system') - }, - insta: function(){ - window.open("https://instagram.com/stoneisland_official", '_system') - }, - tw: function(){ - window.open("https://twitter.com/stoneisland", '_system') - }, - yt: function(){ - window.open("https://www.youtube.com/user/StoneIslandOfficial", '_system') - }, - - close: function(){ - this.hide() - }, - -}) diff --git a/StoneIsland/platforms/android/assets/www/js/lib/nav/SearchView.js b/StoneIsland/platforms/android/assets/www/js/lib/nav/SearchView.js deleted file mode 100755 index b477d72f..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/nav/SearchView.js +++ /dev/null @@ -1,16 +0,0 @@ -var SearchView = View.extend({ - - el: "#search", - - events: { - }, - - show: function(){ - app.footer.show("SEARCH") - document.body.className = "search" - }, - - save: function(){ - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/products/ClosedStoreView.js b/StoneIsland/platforms/android/assets/www/js/lib/products/ClosedStoreView.js deleted file mode 100755 index 97b46006..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/products/ClosedStoreView.js +++ /dev/null @@ -1,75 +0,0 @@ -var ClosedStoreView = View.extend({ - - el: "#closed", - - storeIsClosed: false, - - events: { - "click .website_link": "website_link", - }, - - delay: 8000, - - timeout: -1, - images: null, - images_loaded: {}, - - initialize: function(){ - this.loader = new Loader () - }, - - show: function(){ - this.setMessage(app.closed.storeClosedMessageOne, app.closed.storeClosedMessageTwo) - this.showElement() - }, - - showElement: function(){ - document.body.className = "closed" - this.animate() - app.footer.hide() - }, - - setMessage: function(msg_one, msg_two){ - $(".closed_store_msg h3").html(msg_one || "THIS STORE IS CURRENTLY CLOSED") - if (app.closed.storeClosedMessageTwo) { - $(".closed_store_msg h4").show().html(msg_two) - } - else { - $(".closed_store_msg h4").hide() - } - }, - - hide: function(){ - clearTimeout(this.timeout) - }, - - animate: function(){ - this.timeout = setTimeout(this.animate.bind(this), this.delay) - this.next() - }, - - next: function(){ - if (! this.images) return - var url = choice(this.images) - - if (this.images_loaded[url]) { - this.el.style.backgroundImage = 'url(' + url + ')' - } - else { - this.loader.preloadImage(url, function(img){ - this.el.style.backgroundImage = 'url(' + url + ')' - this.images_loaded[url] = true - }.bind(this)) - } - }, - - populate: function(data){ - this.images = data.map(function(img){ return img.uri }) - this.next() - }, - - website_link: function(){ - window.open("http://www.stoneisland.com/", '_system') - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/products/CollectionView.js b/StoneIsland/platforms/android/assets/www/js/lib/products/CollectionView.js deleted file mode 100755 index d3343652..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/products/CollectionView.js +++ /dev/null @@ -1,254 +0,0 @@ - -var CollectionView = ScrollableView.extend({ - - el: "#collection", - template: $("#collection .template").html(), - loaded: false, - data: null, - filtered_items: null, - items: {}, - - events: { - "touchstart .item": "touchstart", - "touchmove .item": "touchmove", - "touchend .item": "touchend", - "mousedown .item": "touchstart", - "mousemove .item": "touchmove", - "mouseup .item": "touchend", - "touchstart h1": "showDepartmentSelector", - }, - - initialize: function(){ - this.$title = this.$("h1") - this.$content = this.$(".content") - this.$loader = this.$(".loader") - this.scroller = ScrollFactory('#collection', app.iscroll_options) - this.departmentFilterView = new DepartmentFilter ({ parent: this }) - this.sizeFilterView = new SizeFilter ({ parent: this }) - }, - - show: function(){ - if (! navigator.onLine) { - app.closed.showElement() - app.closed.setMessage("PLEASE GO ONLINE TO BROWSE
    THE STONE ISLAND STORE.", "") - return - } - if (sdk.env !== "test" && app.closed.storeIsClosed) { - return app.closed.show() - } - -// if (sdk.env === 'test' && this.data.SearchResponseFull.Results.Items.length < 4) { -// var items = this.data.SearchResponseFull.Results.Items -// items = items.concat(items).concat(items).concat(items) -// items = items.concat(items).concat(items).concat(items) -// this.data.SearchResponseFull.Results.Items = items -// } - - if (this.data && this.data.SearchResponseFull.Results.Items.length < 4) { - app.footer.hide() - } - if (app.store.FilterBy !== "none") { - if (app.store.FilterBy === "category") { - app.footer.show("FILTER") - } - else { - app.footer.show("FILTER BY " + app.store.FilterBy.toUpperCase()) - } - } - document.body.className = "collection" - if (this.loaded) { - console.log("collection this loaded") - return this.populate(this.data) - } - else { - this.fetch() - } - }, - - // called when footer is tapped - filter by (x) - save: function(){ - switch (app.store.FilterBy) { - case 'none': - this.departmentFilterView.filter() - break - case 'size': - this.sizeFilterView.filter() - break - } - }, - - fetch: function(){ - console.log("collection fetch") - if (this.loaded) { - console.log("collection loaded") - return - } - this.$loader.show() - console.log("fetching", app.department_id) - sdk.product.collection({ - department_id: app.department_id, - success: this.populate.bind(this) - }) - }, - - refresh: function(){ - this.loaded = false - this.fetch() - }, - - populate: function(data){ - if (this.loaded && ! data) { - console.log("populate 1") - data = this.data - } - else { - console.log("populate 2") - this.data = data - this.loaded = false - // console.log(data) - } - console.log(">>>>>>>> YES ") - if (! this.loaded) { - console.log("populate 3", data.SearchResponseFull.Results.Items.length) - this.loaded = true - this.$loader.hide() - this.$content.empty() - // DefaultCode10 -// data.SearchResponseFull.Results.Items.length = 1 - var is_single_product = (data.SearchResponseFull.Results.Items.length < 4) - this.$el.toggleClass("single", is_single_product) - - if (is_single_product) { - console.log("IS SINGLE PRODUCT") - var item = data.SearchResponseFull.Results.Items[0] - // console.log(data.SearchResponseFull.Results) - if (item) { - var url = sdk.image(item['DefaultCode10'], '13_f') - console.log(url) - var img = new Image () - img.src = url - } - else { - console.log("no products at all!") - } - } - -// if (data.SearchResponseFull.Results.Items.length == 1) { -// app.footer.hide() -// } -// else { -// app.footer.show("FILTER") -// } - - console.log( data.SearchResponseFull.Results.Items.length ) - - var items = this.filtered_items || data.SearchResponseFull.Results.Items - if (app.store.GroupBy === 'size') { - this.groupBySize( items, is_single_product ) - } - else { - this.appendItems( items, is_single_product ) - } - // this.restoreScroll() - // this.deferScrollToTop() - } - this.afterFetchCallback && this.afterFetchCallback() - this.deferRefresh() - this.restoreScroll() - }, - - groupBySize: function(items, is_single_product){ - var groups = {} - items.forEach(function(item){ - if (! item.Sizes.length) return - var size = item.Sizes[0] - var id = size['Text'] - if ( ! (id in groups) ) { - groups[id] = { - label: SIZE_LOOKUP[ id ], - items: [], - } - } - groups[id].items.push( item ) - }.bind(this)) - - Object.keys(groups).sort(function(a,b){ - var ao = SIZE_ORDER.indexOf( a ) - var bo = SIZE_ORDER.indexOf( b ) - return ao - bo - }).forEach(function(id){ - var size = groups[id] - var $el = $("
    ") - $el.addClass("product-group") - $el.html( size.label ) - this.$content.append($el) - this.appendItems( size.items, is_single_product ) - }.bind(this)) - }, - - appendItems: function(items, is_single_product){ - items.forEach(function(item){ - this.append(item, is_single_product) - }.bind(this)) - }, - - append: function(item, is_single_product){ - this.items[ item['Code8'] ] = item - var t = this.template.replace(/{{image}}/, sdk.image(item['DefaultCode10'], is_single_product ? '13_f' : '11_f')) - .replace(/{{code8}}/, item['Code8']) - .replace(/{{title}}/, stonewash(item['ModelNames'])) - var $t = $(t) - if (app.store.ShowProductNameOnCollectionPage) { - var $title = $("") - $title.addClass("product-title") - $title.html( item['ModelNames'] ) - $t.append($title) - } - this.$content.append($t) - }, - - pick: function(e){ - var code = $(e.currentTarget).data("code") - var data = this.items[code] - this.saveScroll() - app.product.load(code, data) - }, - - collectionName: "STONE ISLAND", - setCollectionName: function(name){ - this.collectionName = name - this.$title.html(this.collectionName) - this.$title.attr('aria-label', stonewash(this.collectionName)) - }, - - // filter by department - showDepartmentSelector: function(){ - if (this.$("h1").hasClass("single-dept")) { - this.departmentFilterView.filter() - } - }, - - firstTouch: { x: 0, y: 0, id: "" }, - lastTouch: { x: 0, y: 0, id: "" }, - touchstart: function(e){ - var p = e.originalEvent.touches ? e.originalEvent.touches[0] : e.originalEvent - this.firstTouch.x = this.lastTouch.x = p.pageX - this.firstTouch.y = this.lastTouch.y = p.pageY - this.firstTouch.id = e.currentTarget.dataset.id - }, - touchmove: function(e){ - var p = e.originalEvent.touches ? e.originalEvent.touches[0] : e.originalEvent - this.lastTouch.x = p.pageX - this.lastTouch.y = p.pageY - this.lastTouch.id = e.currentTarget.dataset.id - }, - touchend: function(e){ - var first = app.collection.firstTouch - var last = app.collection.lastTouch - var distance = Math.sqrt( Math.pow(first.x - last.x, 2) + Math.pow(first.y - last.y, 2) ) - if (distance < 20) { - this.pick(e) - } - }, - -}) diff --git a/StoneIsland/platforms/android/assets/www/js/lib/products/GalleryView.js b/StoneIsland/platforms/android/assets/www/js/lib/products/GalleryView.js deleted file mode 100755 index e84caa68..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/products/GalleryView.js +++ /dev/null @@ -1,109 +0,0 @@ -var GalleryView = View.extend({ - - el: "#gallery", - template: $("#gallery .template").html(), - - events: { -// "click .left": "prev", -// "click .right": "next", -// "touchstart .gallery": "touchstart", -// "touchmove .gallery": "touchmove", -// "touchend .gallery": "touchend", - }, - - initialize: function(){ - this.$(".template").remove() - }, - - reset: function(){ - this.gallery && this.gallery.destroy() - this.$el.empty() - }, - - populate: function(code, image_ids){ - var valid_styles = {} - var large_styles = {} - image_ids.forEach(function(id){ - if (id.indexOf("_") == -1) return - var partz = id.split("_") - var size = parseInt(partz[0]), style = partz[1] - - if (! large_styles[style] || large_styles[style] < size) { - large_styles[style] = size - } - if (size > 13) return; - if (! valid_styles[style] || valid_styles[style] < size) { - valid_styles[style] = size - } - }) - - Object.keys(valid_styles).sort(sort_image_styles).forEach(function(style){ - var id = valid_styles[style] + "_" + style - var t = this.template - .replace(/{{image}}/, sdk.image(code, id)) - .replace(/{{alt}}/, YOOX_IMAGE_STYLE_LABELS[style] || "Alternate view") - this.$el.append(t) - }.bind(this)) - - var gallery = this.gallery = new Flickity( "#gallery", { - selector: '.item', - cellAlign: 'center', - autoPlay: false, - freeScroll: false, - wrapAround: true, - imagesLoaded: true, - prevNextButtons: false, - pageDots: false, - contain: true, - draggable: true, - }) - - this.gallery.on('change', function(){ - var currentImage = this.gallery.selectedElement.style.backgroundImage.replace(/url\(\"?/,"").replace(/\"?\)/,"") - var partz = currentImage.split("_") - var head = partz[0] - var size = partz[1] - var tail = partz[2] - var end_partz = tail.split(/\./) - var style = end_partz[0] - var label = YOOX_IMAGE_STYLE_LABELS[style] || "Image: Alternate view" - $("#product .gallery-target").attr('aria-label', label) - }) - - this.gallery.on('staticClick', this.static_click.bind(this)) - - if (accessibility.voiceOver) { - $("#product .gallery-target").click(this.static_click.bind(this)) - $("#product .gallery-target").attr('aria-label', "Image: Front view") - } else { - $("#product .gallery-target").remove() - } - }, - static_click: function(e){ - var currentImage = this.gallery.selectedElement.style.backgroundImage.replace(/url\(\"?/,"").replace(/\"?\)/,"") - var partz = currentImage.split("_") - var head = partz[0] - var size = partz[1] - var tail = partz[2] - var end_partz = tail.split(/\./) - var style = end_partz[0] - var largest_size = large_styles[style] - var hiresImage = [head, largest_size, tail].join("_") - app.fullscreenViewer.show(currentImage, hiresImage) - }, - - touchstart: function(e){ - }, - touchmove: function(e){ - }, - touchend: function(e){ - }, - -}) - -var YOOX_IMAGE_STYLE_ORDER = "ZZZ f r d e a b c g l".split(" ") -var YOOX_IMAGE_STYLE_LABELS = { - f: 'Image: Front view', - r: 'Image: Rear view', -} -function sort_image_styles (b,a){ return (YOOX_IMAGE_STYLE_ORDER.indexOf(b)) - (YOOX_IMAGE_STYLE_ORDER.indexOf(a)) } \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/products/ProductView.js b/StoneIsland/platforms/android/assets/www/js/lib/products/ProductView.js deleted file mode 100755 index f834b1c5..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/products/ProductView.js +++ /dev/null @@ -1,605 +0,0 @@ -var ProductView = ScrollableView.extend({ - - el: "#product", - - events: { - "click .fit": "scroll_to_bottom", - "click .notAvailableInCanada": "scroll_to_bottom", - "change select[name=size]": "select_size", - "change select[name=color]": "select_color", - // "click .size": "select_size", - // "click .color": "select_color", - "click .share": "share", - "click .gallery-left": "gallery_left", - "click .gallery-right": "gallery_right", - }, - - initialize: function(){ - this.gallery = new GalleryView () - this.scroller = ScrollFactory('#product', app.iscroll_options) - - this.$productHeader = this.$(".product-header") - this.$title = this.$(".title") - this.$type = this.$(".type") - this.$price = this.$(".price") - this.$size = this.$(".size") - this.$sizeSelect = this.$(".size select") - this.$sizeLabel = this.$(".size .label") - this.$color = this.$(".color") - this.$colorSelect = this.$(".color select") - this.$colorLabel = this.$(".color .label") - this.$share = this.$(".share") - this.$body = this.$(".body") - this.$fit = this.$(".fit") - this.$fitHeader = this.$('.fitHeader') - this.$notAvailableInCanada = this.$(".notAvailableInCanada") - this.$sizing = this.$(".sizing") - this.$style = this.$(".style") - }, - - show: function(){ - this.showFooter() - document.body.className = "product" - }, - - hide: function(){ - app.footer.hide() - }, - - showFooter: function(){ - if (this.sold_out) { - console.log("FOOTER: SOLD OUT") - app.footer.show("SOLD OUT") - } - else if (this.isNotAvailable) { - console.log("FOOTER: NOT AVAILABLE") - app.footer.show("NOT AVAILABLE") - } - else { - app.footer.show("ADD TO CART", "BUY NOW") - } - }, - - item: null, - details: null, - size: null, - color: null, - code: null, - is_onesize: false, - fitLargeCodes: {}, - - sizes: null, - colors: null, - - cache: {}, - - gallery_left: function(){ - app.product.gallery.gallery.previous() - }, - gallery_right: function(){ - app.product.gallery.gallery.next() - }, - - find: function(code, cb){ - data = app.collection.items[code] || {} - if (code in this.cache) { - return cb(data, this.cache[code]) - } - sdk.product.item({ - code: code - }).done(function(details){ - this.cache[code] = details - cb(data, details) - }.bind(this)) - }, - - load: function(code, data){ - this.gallery.reset() - this.show() - if (app.view && app.view.hide) { - app.view.hide() - } - app.view = this - app.header.set_back(true) - - if (! app.collection.loaded) { - this.el.className = "loading" - app.collection.afterFetchCallback = this.load.bind(this, code, data) - app.collection.fetch() - return - } - else { - app.collection.afterFetchCallback = null - } - window.location.href = "#/store/" + code - - if (data) { - app.collection.items[code] = data - } - - this.el.className = "loading" - this.find(code, this.populate.bind(this)) - }, - - populate: function(data, details){ - this.el.className = "" - - console.log(data, details) - - var descriptions = this.get_descriptions(details) - - var title = data['ModelNames'] || "" - var type = title_case( data['MicroCategory'] ) - var price = "$" + data['DiscountedPrice'] + ".00" - var details_description = descriptions['Details'] || "" - var editorial = descriptions['EditorialDescription'] || "" - var body = details_description + " " + editorial - // body = body.replace(/
    /g, "

    ").replace(/(
    )+$/, "") - - var default_color_id = this.populate_selectors(data, details) - - var notAvailableInCanada = !! app.store.NotAvailableInCanada - app.product.$notAvailableInCanada.toggle( notAvailableInCanada ) - - if (! ('Price' in details['Item'])) { - console.log("NO PRICE, IS NOT AVAILABLE") - this.isNotAvailable = true - } - else { - console.log("FOUND PRICE, IS AVAILABLE") - this.isNotAvailable = false - } - - if (this.sold_out || this.isNotAvailable) { - this.$style.css("opacity", 0) - this.$color.html("NOT AVAILABLE") - this.$size.hide() - this.gallery.populate( data['Code8'], details['Item']['ImageTypes'] ) - } - else { - this.$style.css("opacity", 1) - - var color = this.colors[default_color_id] - var color_label = color.label - var sizes = this.find_sizes_for_color(default_color_id) - var size = sizes[0] - var size_label = this.sizes[size].label - - this.gallery.populate( color.code, details['Item']['ImageTypes'] ) - - this.color = color - this.size = size - - this.is_onesize = !! this.sizes[1] - this.set_size_label(size_label) - this.set_color_label(color_label) - } - - // console.log(color, color_label, size, size_label) - - this.item = data - this.details = details['Item'] - this.code = data['DefaultCode10'] - - console.log( data['DefaultCode10'] ) - - // title += "
    EXTREME COMPACTING ON NYLON BASE
    LIMITED EDITION - NUMBERED 01 TO 100" - if (title.indexOf('
    ') !== -1) { - var title_lines = title.split('
    ').map(function(s){ - if (s.indexOf("LIMITED EDITION") !== -1) { - return "" + s + "" - } - return s - }.bind(this)) - title = title_lines.join('

    ') + '
    ' - } - this.$title.html(title) - this.$type.html(type) - this.$price.html(price) - this.$body.html(body) - - // window.FirebasePlugin && window.FirebasePlugin.setScreenName('product:' + code) - - this.$productHeader.toggleClass("wide", title.length > 48) - - var fits_large = !!(this.fitLargeCodes[this.code]) - - this.showFooter() - - console.log(app.store.FitsLarge, app.store.fitsLargeText) - if (fits_large) { - if (app.store.FitsLarge === 'use_alt_text' && (app.store.FitsLargeText || "").length) { - var fit_lines = app.store.FitsLargeText.replace(//g, "&rt;").split('\n').join("
    ") - this.$fitHeader.html(fit_lines) - this.$fitHeader.show() - } - else { - this.$fitHeader.hide() - } - - this.$fit.show() - - if (app.store.SizingFooter === 'use_alt_text' && (app.store.SizingFooterText || "").length) { - var sizing_lines = app.store.SizingFooterText.replace(//g, "&rt;").split('\n').join("
    ") - this.$sizing.html(sizing_lines) - this.$sizing.show() - } else if (app.store.SizingFooter === 'true') { - this.$sizing.show() - } - } else { - this.$fitHeader.hide() - this.$fit.hide() - this.$sizing.hide() - } - - this.populate_sizes() - this.populate_colors() - - this.deferScrollToTop() - }, - - get_descriptions: function (details){ - var descriptions = {} - details['Item']['Descriptions'].forEach(function(pair){ - descriptions[pair.Key] = pair.Value - }) - return descriptions - }, - find_sizes_for_color: function(color_id){ - return Object.keys( this.colors[color_id].sizes ).sort(function(a,b){ - var ao = SIZE_ORDER[ a.label ], bo = SIZE_ORDER[ b.label ] - return aoShort sleeve T-Shirt in cotton jersey. Garment dyed.
    Stone Island Compass logo print on the front, made up of a series of numbers." -ItemDescription: "Logo detail
    Jersey
    Round collar
    Solid color
    " -KeywordDescription: "Logo detail Jersey Round collar Solid color Jersey Woven not made of fur " -Kind of fabric: "Woven" -MFC: "631520081CC-6315-81V0060" -MacroCategory: "POLO SHIRTS & T-SHIRTS" -MadeIn: "Made In Turkmenistan" -MadeInIsoCode: "TN" -MainMaterial: "Cotton" -Material Description: "Jersey" -MicroCategory: "Short sleeve t-shirt" -MicroCategoryPlural: "Short sleeve t-shirts" -ModelFabric: "631520081CC-6315-81" -ModelNames: "20081 DATA DRIP PIN" -Neckline: "Claudine or round collar" - -*/ diff --git a/StoneIsland/platforms/android/assets/www/js/lib/products/Selector.js b/StoneIsland/platforms/android/assets/www/js/lib/products/Selector.js deleted file mode 100755 index e3376a4d..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/products/Selector.js +++ /dev/null @@ -1,70 +0,0 @@ -var Selector = View.extend({ - - el: "#selector", - template: $("#selector .template").html(), - - events: { - "click .close": "hide", - "touchstart .options div": "pick", - }, - - initialize: function(){ - this.$options = this.$(".options") - }, - - lookup: null, - callback: null, - select: function(origin, options, callback){ - this.lookup = {} - this.callback = callback || function(item){ console.log(item) } - this.$options.empty() - options.forEach(function(opt){ - this.lookup[String(opt.id)] = opt - var t = this.template.replace(/{{id}}/, opt.id) - .replace(/{{label}}/g, opt.label) - this.$options.append(t) - }.bind(this)) - this.$el.show() - app.curtain.show("white") - this.visible = true - $("#selector").removeClass("selector-outer-wrap") - if ( origin == "wide") { - $("#selector").addClass("selector-full") - } - else { - $("#selector").removeClass("selector-full") - } - var originXY = $("." + origin).offset() - var originWidth = $("." + origin).width() - var selectorHeight = $('#selector').height() - var originHeight = $("." + origin).height() - console.log(selectorHeight) - if ((selectorHeight > 250) && (!$("#selector").hasClass("selector-full"))) { - $("#selector").addClass("selector-outer-wrap") - } - var selectorHeight = $('#selector').height() - $("#selector").css({"top":(originXY.top - selectorHeight - originHeight + 20),"left":originXY.left}) - originXY = null; - originWidth = null; - originHeight = null; - selectorHeight = null; - }, - - hide: function(){ - this.lookup = this.callback = null - this.$el.hide() - app.curtain.hide() - this.visible = false - }, - - pick: function(e){ - e.preventDefault() - e.stopPropagation() - var $option = $(e.currentTarget) - var id = String($option.data("id")) - var selection = this.lookup[id] - this.callback( selection ) - this.hide() - }, - -}) diff --git a/StoneIsland/platforms/android/assets/www/js/lib/products/filters/CategoryFilter.js b/StoneIsland/platforms/android/assets/www/js/lib/products/filters/CategoryFilter.js deleted file mode 100755 index 53f9a59b..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/products/filters/CategoryFilter.js +++ /dev/null @@ -1,40 +0,0 @@ -var CategoryFilter = View.extend({ - - initialize: function(opt){ - this.parent = opt.parent - }, - - filter: function(){ - var cats = this.parent.data.SearchResponseFull.Refinements.Filters.Categories.map(function(cat){ - return { - id: cat.Id, - label: cat.Value - } - }) - if (this.last_choice) { - cats.push({ - id: "__remove_filter", - label: "REMOVE FILTER", - }) - } - app.selector.select("wide", cats, this.pick.bind(this)) - }, - - last_choice: null, - - pick: function(choice){ - this.parent.$content.empty() - if (choice.id == "__remove_filter") { - this.last_choice = null - this.parent.data.SearchResponseFull.Results.Items.forEach(this.parent.append.bind(this.parent)) - } - else { - this.last_choice = choice - this.parent.data.SearchResponseFull.Results.Items.filter(function(item){ - return item.MacroCategory == choice.label - }).forEach(this.parent.append.bind(this.parent)) - } - this.parent.deferScrollToTop() - }, - -}) diff --git a/StoneIsland/platforms/android/assets/www/js/lib/products/filters/DepartmentFilter.js b/StoneIsland/platforms/android/assets/www/js/lib/products/filters/DepartmentFilter.js deleted file mode 100644 index 7d5ccf3d..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/products/filters/DepartmentFilter.js +++ /dev/null @@ -1,30 +0,0 @@ -var DepartmentFilter = View.extend({ - - initialize: function(opt){ - this.parent = opt.parent - }, - - filter: function(){ - var deps = app.departments.map(function(dep){ - return { - id: dep.uri, - label: dep.text, - } - }) - app.selector.select("wide", deps, this.pick.bind(this)) - }, - - last_choice: null, - - pick: function(choice){ - this.parent.$content.empty() - this.last_choice = choice - app.department_id = choice.id - app.collection.loaded = false - app.collection.fetch() - app.footer.hide() - app.collection.setCollectionName(choice.label) - this.parent.deferScrollToTop() - }, - -}) diff --git a/StoneIsland/platforms/android/assets/www/js/lib/products/filters/SizeFilter.js b/StoneIsland/platforms/android/assets/www/js/lib/products/filters/SizeFilter.js deleted file mode 100644 index d0231021..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/products/filters/SizeFilter.js +++ /dev/null @@ -1,60 +0,0 @@ -var SizeFilter = View.extend({ - - initialize: function(opt){ - this.parent = opt.parent - }, - - filter: function(){ - var seen_sizes = {} - var sizes = [] - this.parent.data.SearchResponseFull.Results.Items.forEach(function(item){ - item.Sizes.forEach(function(size){ - if (size.Id in seen_sizes) { - return - } - seen_sizes[size.Id] = true - sizes.push(size) - }) - }) - sizes.sort(function(a,b){ - return a.Id - b.Id - }) - - var cats = sizes.map(function(cat){ - return { - id: cat.Id, - label: cat.Text, - } - }) - if (this.last_choice) { - cats.push({ - id: "__remove_filter", - label: "REMOVE FILTER", - }) - } - app.selector.select("wide", cats, this.pick.bind(this)) - }, - - last_choice: null, - - pick: function(choice){ - this.parent.$content.empty() - if (choice.id == "__remove_filter") { - this.last_choice = null - this.parent.filtered_items = null - this.parent.data.SearchResponseFull.Results.Items.forEach(this.parent.append.bind(this.parent)) - } - else { - this.last_choice = choice - console.log("filtering for size", choice.id) - var items = this.parent.data.SearchResponseFull.Results.Items.filter(function(item){ - console.log(item.Sizes.map(function(s){ return s })) - return item.Sizes.some(function(size){ return size.Id == choice.id }) - }) - this.parent.filtered_items = items - items.forEach(this.parent.append.bind(this.parent)) - } - this.parent.deferScrollToTop() - }, - -}) diff --git a/StoneIsland/platforms/android/assets/www/js/lib/view/Router.js b/StoneIsland/platforms/android/assets/www/js/lib/view/Router.js deleted file mode 100755 index a8ec331f..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/view/Router.js +++ /dev/null @@ -1,75 +0,0 @@ -var Router = View.extend({ - - routeByHash: false, - - go: function(url){ - this.parseRoute(url) - }, - - route: function(){ - var path = this.routeByHash ? window.location.hash.substr(0) : window.location.pathname - path = path || "/" - this.originalPath = path - this.parseRoute(path) - }, - - parseRoute: function(pathname){ - - pathname = pathname.replace(/^#/, "") - - if (pathname[0] !== "/") { pathname = "/" + pathname } - - var routes = this.routes, - path = pathname.split("/"); - - for (var i = 0; i < path.length; i++) { - if (! path[i].length) { - path[i] = null - } - } - - if (pathname in routes) { - this[this.routes[pathname]]() - return - } - - if (path[path.length-1] == null) { - path.pop() - } - - for (var route in routes) { - var routePath = route.split("/") - if (routePath[1] == path[1]) { - if (routePath[2] && routePath[2].indexOf(":") !== -1 && path[2] && (path[3] === routePath[3]) ) { - this[this.routes[route]](path[2]) - return - } - else if (routePath[2] == path[2]) { - if (routePath[3] && path[3]) { - if (routePath[3].indexOf(":") !== -1) { - this[this.routes[route]](path[3]) - return - } - else if (routePath[3] == path[3]) { - this[this.routes[route]]() - return - } - } - else if (! routePath[3] && ! path[3]) { - this[this.routes[route]]() - return - } - } - else if (! routePath[2] && (! path[2].length || ! path[2])) { - this[this.routes[route]]() - return - } - } - } - - if (is_mobile) { - window.location.href = "/" - } - } - -}) diff --git a/StoneIsland/platforms/android/assets/www/js/lib/view/Scrollable.js b/StoneIsland/platforms/android/assets/www/js/lib/view/Scrollable.js deleted file mode 100755 index 7f90929a..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/view/Scrollable.js +++ /dev/null @@ -1,44 +0,0 @@ -var ScrollableView = View.extend({ - - events: { - "load img": "deferRefresh", - }, - - deferScrollToTop: function(){ - this.scrollPosition = 0 - setTimeout(this.scrollToTop.bind(this), 0) - }, - - scrollPosition: 0, - - resetScroll: function(){ - this.scrollPosition = 0 - }, - - saveScroll: function(){ - this.scrollPosition = this.scroller.y - }, - - restoreScroll: function(){ - setTimeout(function(){ - this.scroller.scrollTo(0, this.scrollPosition) - }.bind(this), 0) - }, - - refreshScroller: function(){ - this.scroller.refresh() - clearTimeout( this.scrollerRefreshTimeout ) - }, - - scrollerRefreshTimeout: null, - deferRefresh: function(){ - clearTimeout( this.scrollerRefreshTimeout ) - this.scrollerRefreshTimeout = setTimeout(this.refreshScroller.bind(this)) - }, - - scrollToTop: function(){ - this.scroller.refresh() - this.scroller.scrollTo(0, 0) - }, - -}) \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/lib/view/Serializable.js b/StoneIsland/platforms/android/assets/www/js/lib/view/Serializable.js deleted file mode 100755 index 08802fa9..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/view/Serializable.js +++ /dev/null @@ -1,194 +0,0 @@ -var SerializableView = View.extend({ - - events: { - "change select": "update_select", - "change [type=date]": "update_date", - "focus input": "focus_input", - "click .date-wrapper": "focus_date", - "submit form": "save", - }, - - preload: function(data){ - if (! data && sdk.env == "production") { return } - data = data || this.test_data - if (! data) { return } - this.load_data(data) - }, - - load_data: function(data){ - Object.keys(data).forEach(function(key){ - var value = data[key] - var $el = this.$("[name=" + key + "]") - - if ($el.attr("type") == "checkbox") { - $el.prop("checked", value) - } - if ($el.attr("type") == "date") { - $el.val( value ) - this.update_date({ currentTarget: $el }) - } - else if ($el.prop("tagName") == "SELECT") { - $el.val( value ) - this.update_select({ currentTarget: $el }) - } - else { - $el.val( value ) - } - }.bind(this)) - }, - - serialize: function(){ - var fields = {} - this.$("input[name], select[name], textarea[name]").each( function(){ - if (this.type == "checkbox") { - if ($(this).prop("checked")) { - fields[this.name] = this.value || "true" - } - } - else { - fields[this.name] = this.value - } - }) - return fields - }, - - deserialize: function(data){ - this.$("input[name], textarea[name]").val("") - Object.keys(data).forEach(function(k){ - this.$("[" + k + "]").val(data[k]) - }) - }, - - focus_input: function(e){ - $(e.currentTarget).removeClass("error_hilite") - }, - - focus_date: function(e){ - $(e.currentTarget).find("input").focus() - }, - - update_select: function(e){ - var $target = $(e.currentTarget), value = $target.val() - var label = $target.find("option").filter(function(){ return this.value === value }).html() - var $parent = $target.parent() - $parent.addClass("picked").removeClass("error_hilite") - $parent.find("span").html(label) - }, - - update_date: function(e){ - var $target = $(e.currentTarget), value = $target.val() - var label = moment(value).format("MM/DD/YYYY") - if (label === 'Invalid date') { - label = '' // 'BIRTHDAY (OPTIONAL)' - } - $target.parent().addClass("picked") - $target.parent().find("span").html(label) - }, - - validate: function(data, errors){ - var data = data || this.serialize() - var errors = errors || [] - var presence_msgs = this.validate_presence || {} - if (! this.disabled) { - Object.keys(presence_msgs).forEach(function(k){ - if (! data[k]) errors.push( [ k, presence_msgs[k] ] ) - }) - } - this.validate_fields && this.validate_fields(data, errors) - this.cc && this.cc.validate(data, errors) - this.address && this.address.validate(data, errors) - return { errors: errors, data: data } - }, - - show_errors: function(errors){ - console.log("showing errors") - console.log(errors) - var msgs = [] - this.$('.err_heading').addClass('error_visible') - this.$('.error_hilite').removeClass('error_hilite') - this.$('.err').html('') - errors.forEach(function(e, i){ - // if (i > 0) { return } - if (e[0]) { - var $el = this.$("[name=" + e[0] + "]") - var el = $el[0] - if (el && el.nodeName === 'SELECT') { - $el.parent().addClass('error_hilite') - $el.parent().next('.err').html(e[1]) - } else if (el && el.type === 'date') { - $el.parent().addClass('error_hilite') - $el.parent().next('.err').html(e[1]) - } else { - $el.addClass('error_hilite') - $el.next('.err').html(e[1]) - } - } - // msgs.push(e[1]) - }.bind(this)) - // this.$msg.html(msgs.join("
    ")) - this.$msg.addClass('alert-notice') - if (app.view.scroller) { - app.view.scroller.scrollTo(0, 0) - } - }, - - hide_errors: function(){ - this.$msg.removeClass('alert-notice') - this.$msg.html("") - }, - - finalize: function(data){ - return data - }, - - save: function(e){ - e && e.preventDefault() - - this.$('.err_heading').removeClass('error_visible') - - var valid = this.validate() - if (valid.errors.length) { - this.show_errors(valid.errors) - return - } - else { - this.hide_errors() - window.cordova && cordova.plugins.Keyboard.close() - } - - var finalized_data = this.finalize(valid.data) - this.submit( finalized_data ) - }, - - submit: function(data){ - if (! data) { - return - } - app.curtain.show("loading") - this.action({ - data: data, - success: function(data){ - app.curtain.hide("loading") - this.success(data) - }.bind(this), - error: function(data){ - app.curtain.hide("loading") - console.log("api error") - this.error(data) - }.bind(this), - }) - }, - - success: function(data){ - console.log("SUCCESS") - console.log(data) - }, - - error: function(data){ - console.log("FAIL") - console.log(data) - }, - -}) - -var FormView = View.extend(SerializableView.prototype).extend(ScrollableView.prototype) diff --git a/StoneIsland/platforms/android/assets/www/js/lib/view/View.js b/StoneIsland/platforms/android/assets/www/js/lib/view/View.js deleted file mode 100755 index 2401df0d..00000000 --- a/StoneIsland/platforms/android/assets/www/js/lib/view/View.js +++ /dev/null @@ -1,147 +0,0 @@ -var View = (function($, _){ - - var View = function(options) { - this._id = _.uniqueId('view') - this.type = "view" - options || (options = {}); - _.extend(this, _.pick(options, viewOptions)) - this._ensureElement() - this.initialize.apply(this, arguments) - this.delegateEvents() - } - - var delegateEventSplitter = /^(\S+)\s*(.*)$/; - - var viewOptions = ['model', 'collection', 'el', 'id', 'attributes', 'className', 'tagName', 'events']; - - _.extend(View.prototype, { - - // The default `tagName` of a View's element is `"div"`. - tagName: 'div', - - $: function(selector) { - return this.$el.find(selector); - }, - - initialize: function(){}, - - setElement: function(element, delegate) { - if (this.$el) this.undelegateEvents(); - this.$el = element instanceof $ ? element : $(element); - this.el = this.$el[0]; - if (delegate !== false) this.delegateEvents(); - return this; - }, - - // Set callbacks, where `this.events` is a hash of - // - // *{"event selector": "callback"}* - // - // { - // 'mousedown .title': 'edit', - // 'click .button': 'save', - // 'click .open': function(e) { ... } - // } - // - // pairs. Callbacks will be bound to the view, with `this` set properly. - // Uses event delegation for efficiency. - // Omitting the selector binds the event to `this.el`. - // This only works for delegate-able events: not `focus`, `blur`, and - // not `change`, `submit`, and `reset` in Internet Explorer. - delegateEvents: function(events) { - if (!(events || (events = _.result(this, 'events')))) return this; - this.undelegateEvents(); - for (var key in events) { - var method = events[key]; - if (!_.isFunction(method)) method = this[events[key]]; - if (!method) continue; - - var match = key.match(delegateEventSplitter); - var eventName = match[1], selector = match[2]; - method = _.bind(method, this); - if (is_mobile) { - if (eventName === 'mouseenter' || eventName === 'mouseleave') { - continue - } - if (is_android && eventName === 'click') { - eventName = 'touchstart' - } - } - eventName += '.delegateEvents' + this._id; - if (selector === '') { - this.$el.on(eventName, method); - } else { - this.$el.on(eventName, selector, method); - } - } - return this; - }, - - // Clears all callbacks previously bound to the view with `delegateEvents`. - undelegateEvents: function() { - this.$el.off('.delegateEvents' + this._id); - return this; - }, - - // Ensure that the View has a DOM element to render into. - // If `this.el` is a string, pass it through `$()`, take the first - // matching element, and re-assign it to `el`. Otherwise, create - // an element from the `id`, `className` and `tagName` properties. - _ensureElement: function() { - this.setElement(_.result(this, 'el'), false); - }, - - preventDefault: function(e){ - e && e.preventDefault() - }, - - stopPropagation: function(e){ - e && e.stopPropagation() - }, - - }); - - - var extend = function(protoProps, staticProps) { - var staticProps = staticProps || {} - var parent = this; - var child; - var childEvents = {}; - - // The constructor function for the new subclass is either defined by you - // (the "constructor" property in your `extend` definition), or defaulted - // by us to simply call the parent's constructor. - if (protoProps && _.has(protoProps, 'constructor')) { - child = protoProps.constructor; - } else { - child = function(){ return parent.apply(this, arguments); }; - } - - // Extend events so we can subclass views - _.extend(childEvents, parent.prototype.events, protoProps.events) - - // Add static properties to the constructor function, if supplied. - _.extend(child, parent, staticProps); - - // Set the prototype chain to inherit from `parent`, without calling - // `parent`'s constructor function. - var Surrogate = function(){ this.constructor = child; }; - Surrogate.prototype = parent.prototype; - child.prototype = new Surrogate; - - // Add prototype properties (instance properties) to the subclass, - // if supplied. - if (protoProps) _.extend(child.prototype, protoProps); - - // Set a convenience property in case the parent's prototype is needed - // later. - child.prototype.__super__ = parent.prototype; - child.prototype.events = childEvents - - return child; - }; - - View.extend = extend; - - return View; -})(jQuery, _) diff --git a/StoneIsland/platforms/android/assets/www/js/sdk/_sdk.js b/StoneIsland/platforms/android/assets/www/js/sdk/_sdk.js deleted file mode 100755 index aba05ca3..00000000 --- a/StoneIsland/platforms/android/assets/www/js/sdk/_sdk.js +++ /dev/null @@ -1,48 +0,0 @@ -var sdk = (function(){ - var sdk = {} - - sdk.env = "development" - - var endpoint = "https://secure.api.yoox.biz/" - // var endpoint = "http://api.yoox.biz/" - - sdk.init = function(opt){ - switch (sdk.env = opt.env || "development") { - case 'test': - endpoint = ('window' in this ? window.location.origin + "/" : "http://lvh.me:9090/") - break - default: - case 'development': - endpoint = "/" - break - case 'production': - endpoint = "https://secure.api.yoox.biz/" - break - } - } - - sdk.path = function(api, path, cc){ - return endpoint + api + "/STONEISLAND_" + (cc || sdk.cc()) + "/" + path - } - - sdk.image = function(code, size){ - return "https://cdn.yoox.biz/" + code.substr(0,2) + "/" + code + "_" + size + ".jpg" - } - - sdk.cc = function(){ - return sim.data.countryCode.toUpperCase() - // return 'CA' - } - - sdk.cms = function(){ - return "https://stone.giraffe.life" - // return "http://staging.stone.giraffe.life" - } - - $.ajaxSetup({ - // possibly: application/json; charset=utf-8" - contentType: "application/json", - }) - - return sdk -})() \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/sdk/account.js b/StoneIsland/platforms/android/assets/www/js/sdk/account.js deleted file mode 100755 index 3eb3f3bd..00000000 --- a/StoneIsland/platforms/android/assets/www/js/sdk/account.js +++ /dev/null @@ -1,133 +0,0 @@ -sdk.account = (function(){ - - var user_id, access_token - - // https://gist.github.com/fanfare/d18498e7fa25acbd4486 - var account = {} - account.signup = function(opt){ - return $.ajax({ - method: "POST", - url: sdk.path("Account.API/1.5", "users.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-api-key": auth.apikey, - }, - data: JSON.stringify( opt.data ), - success: function(data){ - user_id = data['UserAccount']['UserId'] - access_token = data['UserAccount']['AccessToken'] - - auth.set_user(user_id, access_token) - - opt.success(data) - }, - error: opt.error, - }) - } - - account.login = function(opt){ - return $.ajax({ - method: "POST", - url: sdk.path("Account.API/1.5", "authfull.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-account-token": auth.access_token, - }, - data: JSON.stringify( opt.data ), - success: function(data){ - auth.user = data['UserFull'] - user_id = data['UserFull']['idUser'] - access_token = data['UserFull']['AccessToken'] - - auth.set_user(user_id, access_token) - - opt.success(data) - }, - error: opt.error, - }) - } - - account.checkin = function(opt){ - return $.ajax({ - method: "GET", - url: sdk.path("Account.API/1.5", "users/" + auth.user_id + ".json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-account-token": auth.access_token, - }, - data: "{}", - success: function(data){ - auth.user = data.User - opt.success(data) - }, - error: opt.error, - }) - } - - account.update = function(opt){ - return $.ajax({ - method: "PUT", - url: sdk.path("Account.API/1.5", "users/" + auth.user_id + ".json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-account-token": auth.access_token, - }, - data: JSON.stringify( opt.data ), - success: function(data){ - opt.success(data) - }, - error: opt.error, - }) - } - - account.update_mail_and_password = function(opt){ - return $.ajax({ - method: "PUT", - url: sdk.path("Account.API/1.5", "auth/" + auth.user_id + ".json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-account-token": auth.access_token, - }, - data: JSON.stringify( opt.data ), - success: function(data){ - opt.success(data) - }, - error: opt.error, - }) - } - - account.fetch_orders = function(opt){ - return $.ajax({ - method: "GET", - url: sdk.path("Account.API/1.5", "users/" + auth.user_id + "/orders.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-account-token": auth.access_token, - }, - data: JSON.stringify( opt.data ), - success: function(data){ - opt.success(data) - }, - error: opt.error, - }) - } - - account.fetch_single_order = function(opt){ - return $.ajax({ - method: "GET", - url: sdk.path("Account.API/1.5", "users/" + auth.user_id + "/orders/" + opt.id + ".json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-account-token": auth.access_token, - }, - data: JSON.stringify( opt.data ), - success: function(data){ - opt.success(data) - }, - error: opt.error, - }) - } - - return account - -})() diff --git a/StoneIsland/platforms/android/assets/www/js/sdk/address.js b/StoneIsland/platforms/android/assets/www/js/sdk/address.js deleted file mode 100755 index 315f3172..00000000 --- a/StoneIsland/platforms/android/assets/www/js/sdk/address.js +++ /dev/null @@ -1,78 +0,0 @@ -sdk.address = (function(){ - var address = {} - - address.list = function(opt){ - return $.ajax({ - method: "GET", - url: sdk.path("Account.API/1.5", "users/" + auth.user_id + "/addressBook.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-account-token": auth.access_token, - }, - data: opt.data, - success: function(data){ - // console.log(data) - opt.success(data) - }, - error: opt.error, - complete: function(data){ - console.log("address list complete") - console.log(data) - } - }) - } - - address.add = function(opt){ - return $.ajax({ - method: "POST", - url: sdk.path("Account.API/1.5", "users/" + auth.user_id + "/addressBook/item.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-account-token": auth.access_token, - }, - data: JSON.stringify( opt.data ), - success: function(data){ - // console.log(data) - opt.success(data) - }, - error: opt.error, - }) - } - - address.update = function(opt){ - return $.ajax({ - method: "PUT", - url: sdk.path("Account.API/1.5", "users/" + auth.user_id + "/addressBook/item.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-account-token": auth.access_token, - }, - data: JSON.stringify( opt.data ), - success: function(data){ - // console.log(data) - opt.success(data) - }, - error: opt.error, - }) - } - - address.destroy = function(opt){ - return $.ajax({ - method: "DELETE", - url: sdk.path("Account.API/1.5", "users/" + auth.user_id + "/" + opt.id + "/addressBook.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-account-token": auth.access_token, - }, - data: JSON.stringify( opt.data ), - success: function(data){ - // console.log(data) - opt.success(data) - }, - error: opt.error, - }) - } - - return address - -})() \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/sdk/auth.js b/StoneIsland/platforms/android/assets/www/js/sdk/auth.js deleted file mode 100755 index bcfb2d3a..00000000 --- a/StoneIsland/platforms/android/assets/www/js/sdk/auth.js +++ /dev/null @@ -1,152 +0,0 @@ -/* - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-account-token": auth.access_token, - "x-yoox-device": auth.device, - "x-yoox-api-key": auth.apikey, - }, -*/ - -var auth = sdk.auth = (function(){ - var auth = {} - - auth.appname = is_iphone ? "native-iphone-stoneisland/1.0.0" : "native-android-stoneisland/1.0.0" - auth.apikey = "U2FsdGVkX18fThqg9bF0/ZgE9Jg948hn8O9EXli4B2729nAESCQaexv//M5+7+za" - auth.device = "smartphone" - - auth.access_token = "" - auth.user_id = -1 - - auth.next_view = null - auth.deferred_product = null - - // ios: integrate keychain api - // android: cordova.file.externalRootDirectory api - - auth.init = function(fn){ - console.log("AUTH INIT") - auth.get_user(function(){ - if (auth.logged_in()) { - sdk.account.checkin({ - success: function(data){ - fn && fn( auth.logged_in() ) - }, - error: function(){ - auth.log_out() - fn && fn( false ) - // - }, - }) - auth.get_cart() - } - else { - fn && fn( auth.logged_in() ) - } - }) - } - - auth.set_user = function(user_id, access_token, cb){ - auth.access_token = access_token - auth.user_id = user_id - - localStorage.setItem("yoox.access_token", access_token) - localStorage.setItem("yoox.user_id", user_id) - - window.FirebasePlugin && window.FirebasePlugin.setUserId(user_id) - - cb && cb() - } - auth.get_user = function(cb){ - auth.access_token = localStorage.getItem("yoox.access_token") || "" - auth.user_id = localStorage.getItem("yoox.user_id") || -1 - cb && cb() - } - auth.clear_user = function(cb){ - auth.access_token = "" - auth.user_id = -1 - localStorage.removeItem("yoox.access_token") - localStorage.removeItem("yoox.user_id") - - cb && cb() - } - - auth.set_cart = function(cart_id, cart_token, cb){ - localStorage.setItem("yoox.cart_token", cart_token) - localStorage.setItem("yoox.cart_id", cart_id) - cb && cb() - } - auth.get_cart = function(cb){ - sdk.cart.token = localStorage.getItem("yoox.cart_token") || "" - sdk.cart.id = localStorage.getItem("yoox.cart_id") || -1 - cb && cb() - } - auth.clear_cart = function(cb){ - sdk.cart.token = "" - sdk.cart.id = -1 - localStorage.removeItem("yoox.cart_token") - localStorage.removeItem("yoox.cart_id") - cb && cb() - } - auth.create_cart = function(opt){ - opt = opt || {} - if (auth.has_cart()) { - opt.success && opt.success() - return - } - sdk.cart.initialize({ - success: function(data){ - sdk.cart.set_user({ - success: function(){ - auth.set_cart(sdk.cart.id, sdk.cart.token, function(){ - opt.success && opt.success() - }) - }, - error: function(){ - opt.clear_cart() - opt.error && opt.error() - }, - }) - }, - error: function(){ - opt.clear_cart() - opt.error && opt.error() - } - }) - } - - auth.add_deferred_product_to_cart = function(opt){ - opt = opt || {} - // auth.deferred_product - if (! auth.deferred_product) { - console.log("VV NO DEFERRED PROD") - opt.success && opt.success() - return - } - sdk.cart.add_item({ - data: auth.deferred_product, - success: function(){ - console.log("ADDED ITEM") - app.header.increment_cart_count() - opt.success && opt.success() - }, - error: function(data){ - console.log("ERROR ADDING ITEM") - opt.error && opt.error() - }, - }) - auth.deferred_product = null - } - - auth.log_out = function(){ - auth.clear_user() - auth.clear_cart() - } - auth.logged_in = function(){ - return (auth.user_id && auth.user_id !== -1 && auth.user_id !== "undefined") - } - auth.has_cart = function(){ - return (sdk.cart.id && sdk.cart.id !== -1 && sdk.cart.id !== "undefined") - } - - return auth -})() \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/sdk/cart.js b/StoneIsland/platforms/android/assets/www/js/sdk/cart.js deleted file mode 100755 index 3ff2e1d2..00000000 --- a/StoneIsland/platforms/android/assets/www/js/sdk/cart.js +++ /dev/null @@ -1,248 +0,0 @@ -sdk.cart = (function(){ - var cart = {} - - cart.id = "" - cart.token = "" - - // https://gist.github.com/fanfare/9a50c524aea417d0bf3e - cart.initialize = function(opt){ - return $.ajax({ - method: "POST", - url: sdk.path("Cart.API/1.6", "carts.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-device": auth.device, - }, - data: "{}", - // data: opt.data, - success: function(data){ - cart.id = data["CartSession"]["CartId"] - cart.token = data["CartSession"]["CartToken"] - auth.set_cart( cart.id, cart.token ) - opt.success(data) - }, - error: opt.error, - }) - } - - cart.set_user = function(opt){ - return $.ajax({ - method: "PUT", - url: sdk.path("Cart.API/1.6", "carts/" + cart.id + "/user.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-cart-token": cart.token, - }, - data: JSON.stringify({ - "UserId": auth.user_id, - "UserToken": auth.access_token, - }), - success: function(data){ - opt.success(data) - }, - error: opt.error, - }) - } - - // Code10, Size, Section - cart.add_item = function(opt){ - return $.ajax({ - method: "POST", - url: sdk.path("Cart.API/1.6", "carts/" + cart.id + "/items.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-cart-token": cart.token, - }, - data: JSON.stringify( opt.data ), - success: function(data){ - // console.log(data) - opt.success(data) - }, - error: opt.error, - }) - } - - cart.delete_item = function(opt){ - return $.ajax({ - method: "DELETE", - url: sdk.path("Cart.API/1.6", "carts/" + cart.id + - "/items/" + opt.data.Code10 + - "/" + opt.data.Size + ".json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-cart-token": cart.token, - }, - data: "{}", - success: function(data){ - // console.log(data) - opt.success(data) - }, - error: opt.error, - }) - } - - cart.get_status = function(opt){ - if (! cart.id) { - return opt.error({ error: "no cart" }) - } - return $.ajax({ - method: "GET", - url: sdk.path("Cart.API/1.6", "carts/" + cart.id + ".json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-cart-token": cart.token, - "x-yoox-device": auth.device, - }, - success: function(data){ - if (data['Error']) { - opt.error && opt.error(data) - } - else { - opt.success(data) - } - }, - error: opt.error, - }) - } - - cart.set_shipping_address = function(opt){ - return $.ajax({ - method: "PUT", - url: sdk.path("Cart.API/1.6", "carts/" + cart.id + "/receiver.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-cart-token": cart.token, - }, - data: JSON.stringify(opt.data), - success: function(data){ - // console.log(data) - opt.success(data) - }, - error: opt.error, - }) - } - - // NB: Payment type may simply be 1 (credit card) - cart.set_payment_type = function(opt){ - return $.ajax({ - method: "PUT", - url: sdk.path("Cart.API/1.6", "carts/" + cart.id + "/paymentType.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-cart-token": cart.token, - }, - data: JSON.stringify( opt.data ), - success: function(data){ - // console.log(data) - opt.success(data) - }, - error: opt.error, - }) - } - - cart.get_card_types = function(opt){ - return $.ajax({ - method: "GET", - url: sdk.path("Cart.API/1.6", "cardTypes.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-cart-token": cart.token, - }, - data: "", - success: function(data){ - opt.success(data) - }, - error: opt.error, - }) - } - - // use with full CC data if not storing it in wallet - cart.set_credit_card = function(opt){ - return $.ajax({ - method: "PUT", - url: sdk.path("Cart.API/1.6", "carts/" + cart.id + "/creditCard.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-cart-token": cart.token, - }, - data: JSON.stringify( opt.data ), - success: function(data){ - // console.log(data) - opt.success(data) - }, - error: opt.error, - }) - } - - // use with a stored GUID - // NB: if "verification number" is 1, use CVV/CID/CVC security code - // if "verification number" is 2, use "Issue Number" - cart.use_stored_credit_card = function(opt){ - var data = { - "Guid": opt.data.guid, - "UserId": auth.user_id, - "AccessToken": auth.access_token, - } - if (opt.data.cvv) { - data["Cvv"] = opt.data.cvv - } - if (opt.data.issue) { - data["Issue"] = opt.data.issue - } - return $.ajax({ - method: "PUT", - url: sdk.path("Cart.API/1.6", "carts/" + cart.id + "/userCreditCard.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-cart-token": cart.token, - }, - data: JSON.stringify(data), - success: function(data){ - // console.log(data) - opt.success(data) - }, - error: opt.error, - }) - } - - cart.secure_finalize = function(opt){ - return $.ajax({ - method: "POST", - url: sdk.path("Cart.API/1.6", "carts/" + cart.id + "/secureFinalizer.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-cart-token": cart.token, - "x-yoox-device": auth.device, - }, - data: JSON.stringify( opt.data || {} ), - success: function(data){ - console.log(data) - // order number is: - // "Info": "2905Y07FA13020" - opt.success(data) - }, - error: opt.error, - }) - } - - cart.finalize = function(opt){ - return $.ajax({ - method: "POST", - url: sdk.path("Cart.API/1.6", "carts/" + cart.id + "/finalizer.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-cart-token": cart.token, - }, - data: JSON.stringify( opt.data || {} ), - success: function(data){ - console.log(data) - // order number is: - // "Info": "2905Y07FA13020" - opt.success(data) - }, - error: opt.error, - }) - } - - return cart -})() \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/sdk/payment.js b/StoneIsland/platforms/android/assets/www/js/sdk/payment.js deleted file mode 100755 index 283fee92..00000000 --- a/StoneIsland/platforms/android/assets/www/js/sdk/payment.js +++ /dev/null @@ -1,72 +0,0 @@ -sdk.payment = (function(){ - var payment = {} - - payment.add_credit_card = function(opt){ - return $.ajax({ - method: "POST", - url: sdk.path("Account.API/1.5", "users/" + auth.user_id + "/cards.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-account-token": auth.access_token, - }, - data: JSON.stringify( opt.data ), - success: function(data){ - // console.log(data) - opt.success(data) - }, - error: opt.error, - }) - } - - payment.list_credit_cards = function(opt){ - return $.ajax({ - method: "GET", - url: sdk.path("Account.API/1.5", "users/" + auth.user_id + "/cards.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-account-token": auth.access_token, - }, - data: opt.data, - success: function(data){ - opt.success(data) - }, - error: opt.error, - }) - } - - payment.delete_credit_card = function(opt){ - return $.ajax({ - method: "DELETE", - url: sdk.path("Account.API/1.5", "users/" + auth.user_id + "/cards/" + opt.guid + ".json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-account-token": auth.access_token, - }, - data: "{}", - success: function(data){ - // console.log(data) - opt.success(data) - }, - error: opt.error, - }) - } - - payment.get_payment_types = function(opt){ - return $.ajax({ - method: "GET", - url: sdk.path("Cart.API/1.6", "availablePaymentTypes.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-device": auth.device, - }, - data: opt.data, - success: function(data){ - // console.log(data) - opt.success(data) - }, - error: opt.error, - }) - } - - return payment -})() \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/sdk/product.js b/StoneIsland/platforms/android/assets/www/js/sdk/product.js deleted file mode 100755 index 3619b0bd..00000000 --- a/StoneIsland/platforms/android/assets/www/js/sdk/product.js +++ /dev/null @@ -1,68 +0,0 @@ -sdk.product = (function(){ - var product = {} - - var default_gallery = 31617 - var default_department = "NkXStnsl" - - product.all = function(opt){ - return $.ajax({ - method: "GET", - url: sdk.path("Search.API/1.3", "search.json", "US"), - data: { format: "full", productsPerPage: 100 }, - success: opt.success, - error: opt.error, - }) - } - - product.collection = function(opt){ - return $.ajax({ - method: "GET", - url: sdk.path("Search.API/1.3", "search.json", "US"), - data: { format: "full", department: opt.department_id || default_department, productsPerPage: 100 }, - success: opt.success, - error: opt.error, - }) - } - - product.department_codes = function(opt){ - return $.ajax({ - method: "GET", - url: sdk.path("Search.API/1.3", "search/results.json", "US"), - data: { format: "full", department: opt.department_id || default_department, page: 1 }, - success: opt.success, - error: opt.error, - }) - } - - product.collection_by_gallery = function(opt){ - return $.ajax({ - method: "GET", - url: sdk.path("Search.API/1.2", "search.json", "US"), - data: { format: "full", gallery: opt.gallery_id || default_gallery, productsPerPage: 100 }, - success: opt.success, - error: opt.error, - }) - } - - // https://gist.github.com/fanfare/2d25d1b36944188948ff - product.item = function(opt){ - return $.ajax({ - method: "GET", - url: sdk.path("Item.API/1.0", "item/" + opt.code + ".json"), - success: opt.success, - error: opt.error, - }) - } - - product.search = function(opt){ - return $.ajax({ - method: "GET", - url: sdk.path("Search.API/1.2", "search.json"), - data: { format: "full", gallery: opt.gallery_id || default_gallery, textSearch: opt.query, productsPerPage: 100 }, - success: opt.success, - error: opt.error, - }) - } - - return product -})() \ No newline at end of file diff --git a/StoneIsland/platforms/android/assets/www/js/sdk/shipping.js b/StoneIsland/platforms/android/assets/www/js/sdk/shipping.js deleted file mode 100755 index 28a0db76..00000000 --- a/StoneIsland/platforms/android/assets/www/js/sdk/shipping.js +++ /dev/null @@ -1,85 +0,0 @@ -sdk.shipping = (function() { - var shipping = {} - - - // https://gist.github.com/fanfare/edb524128461b573d833 - - // BOX TYPE - - shipping.get_box_types = function(opt){ - return $.ajax({ - method: "GET", - url: sdk.path("Cart.API/1.6", "carts/" + sdk.cart.id + "/availableBoxTypes.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-cart-token": sdk.cart.token, - }, - success: function(data){ - // console.log(data) - opt.success(data) - }, - error: opt.error, - }) - } - - shipping.set_box_type = function(opt){ - return $.ajax({ - method: "PUT", - url: sdk.path("Cart.API/1.6", "carts/" + sdk.cart.id + "/boxType.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-cart-token": sdk.cart.token, - }, - data: JSON.stringify({ - "Type": opt.type, - }), - success: function(data){ - // console.log(data) - opt.success(data) - }, - error: opt.error, - }) - } - - - // DELIVERY TYPES - - // The response is different than described in the API reference.. - // https://gist.github.com/fanfare/15dfbca6a16ae6bed503 - - shipping.get_delivery_types = function(opt){ - return $.ajax({ - method: "GET", - url: sdk.path("Cart.API/1.6", "carts/" + sdk.cart.id + "/availableDeliveryTypes.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-cart-token": sdk.cart.token, - }, - success: function(data){ - opt.success(data) - }, - error: opt.error, - }) - } - - shipping.set_delivery_type = function(opt){ - return $.ajax({ - method: "PUT", - url: sdk.path("Cart.API/1.6", "carts/" + sdk.cart.id + "/deliveryType.json"), - headers: { - "x-yoox-appname": auth.appname, - "x-yoox-cart-token": sdk.cart.token, - }, - data: JSON.stringify({ - "Id": opt.id, - }), - success: function(data){ - //console.log(data) - opt.success(data) - }, - error: opt.error, - }) - } - - return shipping -})() diff --git a/StoneIsland/platforms/android/assets/www/js/vendor/fastclick.js b/StoneIsland/platforms/android/assets/www/js/vendor/fastclick.js deleted file mode 100755 index 9c746c2b..00000000 --- a/StoneIsland/platforms/android/assets/www/js/vendor/fastclick.js +++ /dev/null @@ -1,790 +0,0 @@ -/** - * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs. - * - * @version 1.0.1 - * @codingstandard ftlabs-jsv2 - * @copyright The Financial Times Limited [All Rights Reserved] - * @license MIT License (see LICENSE.txt) - */ - -/*jslint browser:true, node:true*/ -/*global define, Event, Node*/ - - -/** - * Instantiate fast-clicking listeners on the specified layer. - * - * @constructor - * @param {Element} layer The layer to listen on - * @param {Object} options The options to override the defaults - */ -function FastClick(layer, options) { - 'use strict'; - var oldOnClick; - - options = options || {}; - - /** - * Whether a click is currently being tracked. - * - * @type boolean - */ - this.trackingClick = false; - - - /** - * Timestamp for when click tracking started. - * - * @type number - */ - this.trackingClickStart = 0; - - - /** - * The element being tracked for a click. - * - * @type EventTarget - */ - this.targetElement = null; - - - /** - * X-coordinate of touch start event. - * - * @type number - */ - this.touchStartX = 0; - - - /** - * Y-coordinate of touch start event. - * - * @type number - */ - this.touchStartY = 0; - - - /** - * ID of the last touch, retrieved from Touch.identifier. - * - * @type number - */ - this.lastTouchIdentifier = 0; - - - /** - * Touchmove boundary, beyond which a click will be cancelled. - * - * @type number - */ - this.touchBoundary = options.touchBoundary || 10; - - - /** - * The FastClick layer. - * - * @type Element - */ - this.layer = layer; - - /** - * The minimum time between tap(touchstart and touchend) events - * - * @type number - */ - this.tapDelay = options.tapDelay || 200; - - if (FastClick.notNeeded(layer)) { - return; - } - - // Some old versions of Android don't have Function.prototype.bind - function bind(method, context) { - return function() { return method.apply(context, arguments); }; - } - - - var methods = ['onMouse', 'onClick', 'onTouchStart', 'onTouchMove', 'onTouchEnd', 'onTouchCancel']; - var context = this; - for (var i = 0, l = methods.length; i < l; i++) { - context[methods[i]] = bind(context[methods[i]], context); - } - - // Set up event handlers as required - if (deviceIsAndroid) { - layer.addEventListener('mouseover', this.onMouse, true); - layer.addEventListener('mousedown', this.onMouse, true); - layer.addEventListener('mouseup', this.onMouse, true); - } - - layer.addEventListener('click', this.onClick, true); - layer.addEventListener('touchstart', this.onTouchStart, false); - layer.addEventListener('touchmove', this.onTouchMove, false); - layer.addEventListener('touchend', this.onTouchEnd, false); - layer.addEventListener('touchcancel', this.onTouchCancel, false); - - // Hack is required for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2) - // which is how FastClick normally stops click events bubbling to callbacks registered on the FastClick - // layer when they are cancelled. - if (!Event.prototype.stopImmediatePropagation) { - layer.removeEventListener = function(type, callback, capture) { - var rmv = Node.prototype.removeEventListener; - if (type === 'click') { - rmv.call(layer, type, callback.hijacked || callback, capture); - } else { - rmv.call(layer, type, callback, capture); - } - }; - - layer.addEventListener = function(type, callback, capture) { - var adv = Node.prototype.addEventListener; - if (type === 'click') { - adv.call(layer, type, callback.hijacked || (callback.hijacked = function(event) { - if (!event.propagationStopped) { - callback(event); - } - }), capture); - } else { - adv.call(layer, type, callback, capture); - } - }; - } - - // If a handler is already declared in the element's onclick attribute, it will be fired before - // FastClick's onClick handler. Fix this by pulling out the user-defined handler function and - // adding it as listener. - if (typeof layer.onclick === 'function') { - - // Android browser on at least 3.2 requires a new reference to the function in layer.onclick - // - the old one won't work if passed to addEventListener directly. - oldOnClick = layer.onclick; - layer.addEventListener('click', function(event) { - oldOnClick(event); - }, false); - layer.onclick = null; - } -} - - -/** - * Android requires exceptions. - * - * @type boolean - */ -var deviceIsAndroid = navigator.userAgent.indexOf('Android') > 0; - - -/** - * iOS requires exceptions. - * - * @type boolean - */ -var deviceIsIOS = /iP(ad|hone|od)/.test(navigator.userAgent); - - -/** - * iOS 4 requires an exception for select elements. - * - * @type boolean - */ -var deviceIsIOS4 = deviceIsIOS && (/OS 4_\d(_\d)?/).test(navigator.userAgent); - - -/** - * iOS 6.0(+?) requires the target element to be manually derived - * - * @type boolean - */ -var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS ([6-9]|\d{2})_\d/).test(navigator.userAgent); - - -/** - * Determine whether a given element requires a native click. - * - * @param {EventTarget|Element} target Target DOM element - * @returns {boolean} Returns true if the element needs a native click - */ -FastClick.prototype.needsClick = function(target) { - 'use strict'; - switch (target.nodeName.toLowerCase()) { - - // Don't send a synthetic click to disabled inputs (issue #62) - case 'button': - case 'select': - case 'textarea': - if (target.disabled) { - return true; - } - - break; - case 'input': - - // File inputs need real clicks on iOS 6 due to a browser bug (issue #68) - if ((deviceIsIOS && target.type === 'file') || target.disabled) { - return true; - } - - break; - case 'label': - case 'video': - return true; - } - - return (/\bneedsclick\b/).test(target.className); -}; - - -/** - * Determine whether a given element requires a call to focus to simulate click into element. - * - * @param {EventTarget|Element} target Target DOM element - * @returns {boolean} Returns true if the element requires a call to focus to simulate native click. - */ -FastClick.prototype.needsFocus = function(target) { - 'use strict'; - switch (target.nodeName.toLowerCase()) { - case 'textarea': - return true; - case 'select': - return !deviceIsAndroid; - case 'input': - switch (target.type) { - case 'button': - case 'checkbox': - case 'file': - case 'image': - case 'radio': - case 'submit': - return false; - } - - // No point in attempting to focus disabled inputs - return !target.disabled && !target.readOnly; - default: - return (/\bneedsfocus\b/).test(target.className); - } -}; - - -/** - * Send a click event to the specified element. - * - * @param {EventTarget|Element} targetElement - * @param {Event} event - */ -FastClick.prototype.sendClick = function(targetElement, event) { - 'use strict'; - var clickEvent, touch; - - // On some Android devices activeElement needs to be blurred otherwise the synthetic click will have no effect (#24) - if (document.activeElement && document.activeElement !== targetElement) { - document.activeElement.blur(); - } - - touch = event.changedTouches[0]; - - // Synthesise a click event, with an extra attribute so it can be tracked - clickEvent = document.createEvent('MouseEvents'); - clickEvent.initMouseEvent(this.determineEventType(targetElement), true, true, window, 1, touch.screenX, touch.screenY, touch.clientX, touch.clientY, false, false, false, false, 0, null); - clickEvent.forwardedTouchEvent = true; - targetElement.dispatchEvent(clickEvent); -}; - -FastClick.prototype.determineEventType = function(targetElement) { - 'use strict'; - - //Issue #159: Android Chrome Select Box does not open with a synthetic click event - if (deviceIsAndroid && targetElement.tagName.toLowerCase() === 'select') { - return 'mousedown'; - } - - return 'click'; -}; - - -/** - * @param {EventTarget|Element} targetElement - */ -FastClick.prototype.focus = function(targetElement) { - 'use strict'; - var length; - - // Issue #160: on iOS 7, some input elements (e.g. date datetime) throw a vague TypeError on setSelectionRange. These elements don't have an integer value for the selectionStart and selectionEnd properties, but unfortunately that can't be used for detection because accessing the properties also throws a TypeError. Just check the type instead. Filed as Apple bug #15122724. - if (deviceIsIOS && targetElement.setSelectionRange && targetElement.type.indexOf('date') !== 0 && targetElement.type !== 'time') { - length = targetElement.value.length; - targetElement.setSelectionRange(length, length); - } else { - targetElement.focus(); - } -}; - - -/** - * Check whether the given target element is a child of a scrollable layer and if so, set a flag on it. - * - * @param {EventTarget|Element} targetElement - */ -FastClick.prototype.updateScrollParent = function(targetElement) { - 'use strict'; - var scrollParent, parentElement; - - scrollParent = targetElement.fastClickScrollParent; - - // Attempt to discover whether the target element is contained within a scrollable layer. Re-check if the - // target element was moved to another parent. - if (!scrollParent || !scrollParent.contains(targetElement)) { - parentElement = targetElement; - do { - if (parentElement.scrollHeight > parentElement.offsetHeight) { - scrollParent = parentElement; - targetElement.fastClickScrollParent = parentElement; - break; - } - - parentElement = parentElement.parentElement; - } while (parentElement); - } - - // Always update the scroll top tracker if possible. - if (scrollParent) { - scrollParent.fastClickLastScrollTop = scrollParent.scrollTop; - } -}; - - -/** - * @param {EventTarget} targetElement - * @returns {Element|EventTarget} - */ -FastClick.prototype.getTargetElementFromEventTarget = function(eventTarget) { - 'use strict'; - - // On some older browsers (notably Safari on iOS 4.1 - see issue #56) the event target may be a text node. - if (eventTarget.nodeType === Node.TEXT_NODE) { - return eventTarget.parentNode; - } - - return eventTarget; -}; - - -/** - * On touch start, record the position and scroll offset. - * - * @param {Event} event - * @returns {boolean} - */ -FastClick.prototype.onTouchStart = function(event) { - 'use strict'; - var targetElement, touch, selection; - - // Ignore multiple touches, otherwise pinch-to-zoom is prevented if both fingers are on the FastClick element (issue #111). - if (event.targetTouches.length > 1) { - return true; - } - - targetElement = this.getTargetElementFromEventTarget(event.target); - touch = event.targetTouches[0]; - - if (deviceIsIOS) { - - // Only trusted events will deselect text on iOS (issue #49) - selection = window.getSelection(); - if (selection.rangeCount && !selection.isCollapsed) { - return true; - } - - if (!deviceIsIOS4) { - - // Weird things happen on iOS when an alert or confirm dialog is opened from a click event callback (issue #23): - // when the user next taps anywhere else on the page, new touchstart and touchend events are dispatched - // with the same identifier as the touch event that previously triggered the click that triggered the alert. - // Sadly, there is an issue on iOS 4 that causes some normal touch events to have the same identifier as an - // immediately preceeding touch event (issue #52), so this fix is unavailable on that platform. - if (touch.identifier === this.lastTouchIdentifier) { - event.preventDefault(); - return false; - } - - this.lastTouchIdentifier = touch.identifier; - - // If the target element is a child of a scrollable layer (using -webkit-overflow-scrolling: touch) and: - // 1) the user does a fling scroll on the scrollable layer - // 2) the user stops the fling scroll with another tap - // then the event.target of the last 'touchend' event will be the element that was under the user's finger - // when the fling scroll was started, causing FastClick to send a click event to that layer - unless a check - // is made to ensure that a parent layer was not scrolled before sending a synthetic click (issue #42). - this.updateScrollParent(targetElement); - } - } - - this.trackingClick = true; - this.trackingClickStart = event.timeStamp; - this.targetElement = targetElement; - - this.touchStartX = touch.pageX; - this.touchStartY = touch.pageY; - - // Prevent phantom clicks on fast double-tap (issue #36) - if ((event.timeStamp - this.lastClickTime) < this.tapDelay) { - event.preventDefault(); - } - - return true; -}; - - -/** - * Based on a touchmove event object, check whether the touch has moved past a boundary since it started. - * - * @param {Event} event - * @returns {boolean} - */ -FastClick.prototype.touchHasMoved = function(event) { - 'use strict'; - var touch = event.changedTouches[0], boundary = this.touchBoundary; - - if (Math.abs(touch.pageX - this.touchStartX) > boundary || Math.abs(touch.pageY - this.touchStartY) > boundary) { - return true; - } - - return false; -}; - - -/** - * Update the last position. - * - * @param {Event} event - * @returns {boolean} - */ -FastClick.prototype.onTouchMove = function(event) { - 'use strict'; - if (!this.trackingClick) { - return true; - } - - // If the touch has moved, cancel the click tracking - if (this.targetElement !== this.getTargetElementFromEventTarget(event.target) || this.touchHasMoved(event)) { - this.trackingClick = false; - this.targetElement = null; - } - - return true; -}; - - -/** - * Attempt to find the labelled control for the given label element. - * - * @param {EventTarget|HTMLLabelElement} labelElement - * @returns {Element|null} - */ -FastClick.prototype.findControl = function(labelElement) { - 'use strict'; - - // Fast path for newer browsers supporting the HTML5 control attribute - if (labelElement.control !== undefined) { - return labelElement.control; - } - - // All browsers under test that support touch events also support the HTML5 htmlFor attribute - if (labelElement.htmlFor) { - return document.getElementById(labelElement.htmlFor); - } - - // If no for attribute exists, attempt to retrieve the first labellable descendant element - // the list of which is defined here: http://www.w3.org/TR/html5/forms.html#category-label - return labelElement.querySelector('button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea'); -}; - - -/** - * On touch end, determine whether to send a click event at once. - * - * @param {Event} event - * @returns {boolean} - */ -FastClick.prototype.onTouchEnd = function(event) { - 'use strict'; - var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this.targetElement; - - if (!this.trackingClick) { - return true; - } - - // Prevent phantom clicks on fast double-tap (issue #36) - if ((event.timeStamp - this.lastClickTime) < this.tapDelay) { - this.cancelNextClick = true; - return true; - } - - // Reset to prevent wrong click cancel on input (issue #156). - this.cancelNextClick = false; - - this.lastClickTime = event.timeStamp; - - trackingClickStart = this.trackingClickStart; - this.trackingClick = false; - this.trackingClickStart = 0; - - // On some iOS devices, the targetElement supplied with the event is invalid if the layer - // is performing a transition or scroll, and has to be re-detected manually. Note that - // for this to function correctly, it must be called *after* the event target is checked! - // See issue #57; also filed as rdar://13048589 . - if (deviceIsIOSWithBadTarget) { - touch = event.changedTouches[0]; - - // In certain cases arguments of elementFromPoint can be negative, so prevent setting targetElement to null - targetElement = document.elementFromPoint(touch.pageX - window.pageXOffset, touch.pageY - window.pageYOffset) || targetElement; - targetElement.fastClickScrollParent = this.targetElement.fastClickScrollParent; - } - - targetTagName = targetElement.tagName.toLowerCase(); - if (targetTagName === 'label') { - forElement = this.findControl(targetElement); - if (forElement) { - this.focus(targetElement); - if (deviceIsAndroid) { - return false; - } - - targetElement = forElement; - } - } else if (this.needsFocus(targetElement)) { - - // Case 1: If the touch started a while ago (best guess is 100ms based on tests for issue #36) then focus will be triggered anyway. Return early and unset the target element reference so that the subsequent click will be allowed through. - // Case 2: Without this exception for input elements tapped when the document is contained in an iframe, then any inputted text won't be visible even though the value attribute is updated as the user types (issue #37). - if ((event.timeStamp - trackingClickStart) > 100 || (deviceIsIOS && window.top !== window && targetTagName === 'input')) { - this.targetElement = null; - return false; - } - - this.focus(targetElement); - this.sendClick(targetElement, event); - - // Select elements need the event to go through on iOS 4, otherwise the selector menu won't open. - // Also this breaks opening selects when VoiceOver is active on iOS6, iOS7 (and possibly others) - if (!deviceIsIOS || targetTagName !== 'select') { - this.targetElement = null; - event.preventDefault(); - } - - return false; - } - - if (deviceIsIOS && !deviceIsIOS4) { - - // Don't send a synthetic click event if the target element is contained within a parent layer that was scrolled - // and this tap is being used to stop the scrolling (usually initiated by a fling - issue #42). - scrollParent = targetElement.fastClickScrollParent; - if (scrollParent && scrollParent.fastClickLastScrollTop !== scrollParent.scrollTop) { - return true; - } - } - - // Prevent the actual click from going though - unless the target node is marked as requiring - // real clicks or if it is in the whitelist in which case only non-programmatic clicks are permitted. - if (!this.needsClick(targetElement)) { - event.preventDefault(); - this.sendClick(targetElement, event); - } - - return false; -}; - - -/** - * On touch cancel, stop tracking the click. - * - * @returns {void} - */ -FastClick.prototype.onTouchCancel = function() { - 'use strict'; - this.trackingClick = false; - this.targetElement = null; -}; - - -/** - * Determine mouse events which should be permitted. - * - * @param {Event} event - * @returns {boolean} - */ -FastClick.prototype.onMouse = function(event) { - 'use strict'; - - // If a target element was never set (because a touch event was never fired) allow the event - if (!this.targetElement) { - return true; - } - - if (event.forwardedTouchEvent) { - return true; - } - - // Programmatically generated events targeting a specific element should be permitted - if (!event.cancelable) { - return true; - } - - // Derive and check the target element to see whether the mouse event needs to be permitted; - // unless explicitly enabled, prevent non-touch click events from triggering actions, - // to prevent ghost/doubleclicks. - if (!this.needsClick(this.targetElement) || this.cancelNextClick) { - - // Prevent any user-added listeners declared on FastClick element from being fired. - if (event.stopImmediatePropagation) { - event.stopImmediatePropagation(); - } else { - - // Part of the hack for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2) - event.propagationStopped = true; - } - - // Cancel the event - event.stopPropagation(); - event.preventDefault(); - - return false; - } - - // If the mouse event is permitted, return true for the action to go through. - return true; -}; - - -/** - * On actual clicks, determine whether this is a touch-generated click, a click action occurring - * naturally after a delay after a touch (which needs to be cancelled to avoid duplication), or - * an actual click which should be permitted. - * - * @param {Event} event - * @returns {boolean} - */ -FastClick.prototype.onClick = function(event) { - 'use strict'; - var permitted; - - // It's possible for another FastClick-like library delivered with third-party code to fire a click event before FastClick does (issue #44). In that case, set the click-tracking flag back to false and return early. This will cause onTouchEnd to return early. - if (this.trackingClick) { - this.targetElement = null; - this.trackingClick = false; - return true; - } - - // Very odd behaviour on iOS (issue #18): if a submit element is present inside a form and the user hits enter in the iOS simulator or clicks the Go button on the pop-up OS keyboard the a kind of 'fake' click event will be triggered with the submit-type input element as the target. - if (event.target.type === 'submit' && event.detail === 0) { - return true; - } - - permitted = this.onMouse(event); - - // Only unset targetElement if the click is not permitted. This will ensure that the check for !targetElement in onMouse fails and the browser's click doesn't go through. - if (!permitted) { - this.targetElement = null; - } - - // If clicks are permitted, return true for the action to go through. - return permitted; -}; - - -/** - * Remove all FastClick's event listeners. - * - * @returns {void} - */ -FastClick.prototype.destroy = function() { - 'use strict'; - var layer = this.layer; - - if (deviceIsAndroid) { - layer.removeEventListener('mouseover', this.onMouse, true); - layer.removeEventListener('mousedown', this.onMouse, true); - layer.removeEventListener('mouseup', this.onMouse, true); - } - - layer.removeEventListener('click', this.onClick, true); - layer.removeEventListener('touchstart', this.onTouchStart, false); - layer.removeEventListener('touchmove', this.onTouchMove, false); - layer.removeEventListener('touchend', this.onTouchEnd, false); - layer.removeEventListener('touchcancel', this.onTouchCancel, false); -}; - - -/** - * Check whether FastClick is needed. - * - * @param {Element} layer The layer to listen on - */ -FastClick.notNeeded = function(layer) { - 'use strict'; - var metaViewport; - var chromeVersion; - - // Devices that don't support touch don't need FastClick - if (typeof window.ontouchstart === 'undefined') { - return true; - } - - // Chrome version - zero for other browsers - chromeVersion = +(/Chrome\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1]; - - if (chromeVersion) { - - if (deviceIsAndroid) { - metaViewport = document.querySelector('meta[name=viewport]'); - - if (metaViewport) { - // Chrome on Android with user-scalable="no" doesn't need FastClick (issue #89) - if (metaViewport.content.indexOf('user-scalable=no') !== -1) { - return true; - } - // Chrome 32 and above with width=device-width or less don't need FastClick - if (chromeVersion > 31 && document.documentElement.scrollWidth <= window.outerWidth) { - return true; - } - } - - // Chrome desktop doesn't need FastClick (issue #15) - } else { - return true; - } - } - - // IE10 with -ms-touch-action: none, which disables double-tap-to-zoom (issue #97) - if (layer.style.msTouchAction === 'none') { - return true; - } - - return false; -}; - - -/** - * Factory method for creating a FastClick object - * - * @param {Element} layer The layer to listen on - * @param {Object} options The options to override the defaults - */ -FastClick.attach = function(layer, options) { - 'use strict'; - return new FastClick(layer, options); -}; - - -if (typeof define !== 'undefined' && define.amd) { - - // AMD. Register as an anonymous module. - define(function() { - 'use strict'; - return FastClick; - }); -} else if (typeof module !== 'undefined' && module.exports) { - module.exports = FastClick.attach; - module.exports.FastClick = FastClick; -} else { - window.FastClick = FastClick; -} diff --git a/StoneIsland/platforms/android/assets/www/js/vendor/flickity.pkgd.js b/StoneIsland/platforms/android/assets/www/js/vendor/flickity.pkgd.js deleted file mode 100755 index 0471fa5b..00000000 --- a/StoneIsland/platforms/android/assets/www/js/vendor/flickity.pkgd.js +++ /dev/null @@ -1,5090 +0,0 @@ -/*! - * Flickity PACKAGED v1.0.1 - * Touch, responsive, flickable galleries - * - * Licensed GPLv3 for open source use - * or Flickity Commercial License for commercial use - * - * http://flickity.metafizzy.co - * Copyright 2015 Metafizzy - */ - -/** - * Bridget makes jQuery widgets - * v1.1.0 - * MIT license - */ - -( function( window ) { - - - -// -------------------------- utils -------------------------- // - -var slice = Array.prototype.slice; - -function noop() {} - -// -------------------------- definition -------------------------- // - -function defineBridget( $ ) { - -// bail if no jQuery -if ( !$ ) { - return; -} - -// -------------------------- addOptionMethod -------------------------- // - -/** - * adds option method -> $().plugin('option', {...}) - * @param {Function} PluginClass - constructor class - */ -function addOptionMethod( PluginClass ) { - // don't overwrite original option method - if ( PluginClass.prototype.option ) { - return; - } - - // option setter - PluginClass.prototype.option = function( opts ) { - // bail out if not an object - if ( !$.isPlainObject( opts ) ){ - return; - } - this.options = $.extend( true, this.options, opts ); - }; -} - -// -------------------------- plugin bridge -------------------------- // - -// helper function for logging errors -// $.error breaks jQuery chaining -var logError = typeof console === 'undefined' ? noop : - function( message ) { - console.error( message ); - }; - -/** - * jQuery plugin bridge, access methods like $elem.plugin('method') - * @param {String} namespace - plugin name - * @param {Function} PluginClass - constructor class - */ -function bridge( namespace, PluginClass ) { - // add to jQuery fn namespace - $.fn[ namespace ] = function( options ) { - if ( typeof options === 'string' ) { - // call plugin method when first argument is a string - // get arguments for method - var args = slice.call( arguments, 1 ); - - for ( var i=0, len = this.length; i < len; i++ ) { - var elem = this[i]; - var instance = $.data( elem, namespace ); - if ( !instance ) { - logError( "cannot call methods on " + namespace + " prior to initialization; " + - "attempted to call '" + options + "'" ); - continue; - } - if ( !$.isFunction( instance[options] ) || options.charAt(0) === '_' ) { - logError( "no such method '" + options + "' for " + namespace + " instance" ); - continue; - } - - // trigger method with arguments - var returnValue = instance[ options ].apply( instance, args ); - - // break look and return first value if provided - if ( returnValue !== undefined ) { - return returnValue; - } - } - // return this if no return value - return this; - } else { - return this.each( function() { - var instance = $.data( this, namespace ); - if ( instance ) { - // apply options & init - instance.option( options ); - instance._init(); - } else { - // initialize new instance - instance = new PluginClass( this, options ); - $.data( this, namespace, instance ); - } - }); - } - }; - -} - -// -------------------------- bridget -------------------------- // - -/** - * converts a Prototypical class into a proper jQuery plugin - * the class must have a ._init method - * @param {String} namespace - plugin name, used in $().pluginName - * @param {Function} PluginClass - constructor class - */ -$.bridget = function( namespace, PluginClass ) { - addOptionMethod( PluginClass ); - bridge( namespace, PluginClass ); -}; - -return $.bridget; - -} - -// transport -if ( typeof define === 'function' && define.amd ) { - // AMD - define( 'jquery-bridget/jquery.bridget',[ 'jquery' ], defineBridget ); -} else if ( typeof exports === 'object' ) { - defineBridget( require('jquery') ); -} else { - // get jquery from browser global - defineBridget( window.jQuery ); -} - -})( window ); - -/*! - * classie v1.0.1 - * class helper functions - * from bonzo https://github.com/ded/bonzo - * MIT license - * - * classie.has( elem, 'my-class' ) -> true/false - * classie.add( elem, 'my-new-class' ) - * classie.remove( elem, 'my-unwanted-class' ) - * classie.toggle( elem, 'my-class' ) - */ - -/*jshint browser: true, strict: true, undef: true, unused: true */ -/*global define: false, module: false */ - -( function( window ) { - - - -// class helper functions from bonzo https://github.com/ded/bonzo - -function classReg( className ) { - return new RegExp("(^|\\s+)" + className + "(\\s+|$)"); -} - -// classList support for class management -// altho to be fair, the api sucks because it won't accept multiple classes at once -var hasClass, addClass, removeClass; - -if ( 'classList' in document.documentElement ) { - hasClass = function( elem, c ) { - return elem.classList.contains( c ); - }; - addClass = function( elem, c ) { - elem.classList.add( c ); - }; - removeClass = function( elem, c ) { - elem.classList.remove( c ); - }; -} -else { - hasClass = function( elem, c ) { - return classReg( c ).test( elem.className ); - }; - addClass = function( elem, c ) { - if ( !hasClass( elem, c ) ) { - elem.className = elem.className + ' ' + c; - } - }; - removeClass = function( elem, c ) { - elem.className = elem.className.replace( classReg( c ), ' ' ); - }; -} - -function toggleClass( elem, c ) { - var fn = hasClass( elem, c ) ? removeClass : addClass; - fn( elem, c ); -} - -var classie = { - // full names - hasClass: hasClass, - addClass: addClass, - removeClass: removeClass, - toggleClass: toggleClass, - // short names - has: hasClass, - add: addClass, - remove: removeClass, - toggle: toggleClass -}; - -// transport -if ( typeof define === 'function' && define.amd ) { - // AMD - define( 'classie/classie',classie ); -} else if ( typeof exports === 'object' ) { - // CommonJS - module.exports = classie; -} else { - // browser global - window.classie = classie; -} - -})( window ); - -/*! - * EventEmitter v4.2.11 - git.io/ee - * Unlicense - http://unlicense.org/ - * Oliver Caldwell - http://oli.me.uk/ - * @preserve - */ - -;(function () { - - - /** - * Class for managing events. - * Can be extended to provide event functionality in other classes. - * - * @class EventEmitter Manages event registering and emitting. - */ - function EventEmitter() {} - - // Shortcuts to improve speed and size - var proto = EventEmitter.prototype; - var exports = this; - var originalGlobalValue = exports.EventEmitter; - - /** - * Finds the index of the listener for the event in its storage array. - * - * @param {Function[]} listeners Array of listeners to search through. - * @param {Function} listener Method to look for. - * @return {Number} Index of the specified listener, -1 if not found - * @api private - */ - function indexOfListener(listeners, listener) { - var i = listeners.length; - while (i--) { - if (listeners[i].listener === listener) { - return i; - } - } - - return -1; - } - - /** - * Alias a method while keeping the context correct, to allow for overwriting of target method. - * - * @param {String} name The name of the target method. - * @return {Function} The aliased method - * @api private - */ - function alias(name) { - return function aliasClosure() { - return this[name].apply(this, arguments); - }; - } - - /** - * Returns the listener array for the specified event. - * Will initialise the event object and listener arrays if required. - * Will return an object if you use a regex search. The object contains keys for each matched event. So /ba[rz]/ might return an object containing bar and baz. But only if you have either defined them with defineEvent or added some listeners to them. - * Each property in the object response is an array of listener functions. - * - * @param {String|RegExp} evt Name of the event to return the listeners from. - * @return {Function[]|Object} All listener functions for the event. - */ - proto.getListeners = function getListeners(evt) { - var events = this._getEvents(); - var response; - var key; - - // Return a concatenated array of all matching events if - // the selector is a regular expression. - if (evt instanceof RegExp) { - response = {}; - for (key in events) { - if (events.hasOwnProperty(key) && evt.test(key)) { - response[key] = events[key]; - } - } - } - else { - response = events[evt] || (events[evt] = []); - } - - return response; - }; - - /** - * Takes a list of listener objects and flattens it into a list of listener functions. - * - * @param {Object[]} listeners Raw listener objects. - * @return {Function[]} Just the listener functions. - */ - proto.flattenListeners = function flattenListeners(listeners) { - var flatListeners = []; - var i; - - for (i = 0; i < listeners.length; i += 1) { - flatListeners.push(listeners[i].listener); - } - - return flatListeners; - }; - - /** - * Fetches the requested listeners via getListeners but will always return the results inside an object. This is mainly for internal use but others may find it useful. - * - * @param {String|RegExp} evt Name of the event to return the listeners from. - * @return {Object} All listener functions for an event in an object. - */ - proto.getListenersAsObject = function getListenersAsObject(evt) { - var listeners = this.getListeners(evt); - var response; - - if (listeners instanceof Array) { - response = {}; - response[evt] = listeners; - } - - return response || listeners; - }; - - /** - * Adds a listener function to the specified event. - * The listener will not be added if it is a duplicate. - * If the listener returns true then it will be removed after it is called. - * If you pass a regular expression as the event name then the listener will be added to all events that match it. - * - * @param {String|RegExp} evt Name of the event to attach the listener to. - * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling. - * @return {Object} Current instance of EventEmitter for chaining. - */ - proto.addListener = function addListener(evt, listener) { - var listeners = this.getListenersAsObject(evt); - var listenerIsWrapped = typeof listener === 'object'; - var key; - - for (key in listeners) { - if (listeners.hasOwnProperty(key) && indexOfListener(listeners[key], listener) === -1) { - listeners[key].push(listenerIsWrapped ? listener : { - listener: listener, - once: false - }); - } - } - - return this; - }; - - /** - * Alias of addListener - */ - proto.on = alias('addListener'); - - /** - * Semi-alias of addListener. It will add a listener that will be - * automatically removed after its first execution. - * - * @param {String|RegExp} evt Name of the event to attach the listener to. - * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling. - * @return {Object} Current instance of EventEmitter for chaining. - */ - proto.addOnceListener = function addOnceListener(evt, listener) { - return this.addListener(evt, { - listener: listener, - once: true - }); - }; - - /** - * Alias of addOnceListener. - */ - proto.once = alias('addOnceListener'); - - /** - * Defines an event name. This is required if you want to use a regex to add a listener to multiple events at once. If you don't do this then how do you expect it to know what event to add to? Should it just add to every possible match for a regex? No. That is scary and bad. - * You need to tell it what event names should be matched by a regex. - * - * @param {String} evt Name of the event to create. - * @return {Object} Current instance of EventEmitter for chaining. - */ - proto.defineEvent = function defineEvent(evt) { - this.getListeners(evt); - return this; - }; - - /** - * Uses defineEvent to define multiple events. - * - * @param {String[]} evts An array of event names to define. - * @return {Object} Current instance of EventEmitter for chaining. - */ - proto.defineEvents = function defineEvents(evts) { - for (var i = 0; i < evts.length; i += 1) { - this.defineEvent(evts[i]); - } - return this; - }; - - /** - * Removes a listener function from the specified event. - * When passed a regular expression as the event name, it will remove the listener from all events that match it. - * - * @param {String|RegExp} evt Name of the event to remove the listener from. - * @param {Function} listener Method to remove from the event. - * @return {Object} Current instance of EventEmitter for chaining. - */ - proto.removeListener = function removeListener(evt, listener) { - var listeners = this.getListenersAsObject(evt); - var index; - var key; - - for (key in listeners) { - if (listeners.hasOwnProperty(key)) { - index = indexOfListener(listeners[key], listener); - - if (index !== -1) { - listeners[key].splice(index, 1); - } - } - } - - return this; - }; - - /** - * Alias of removeListener - */ - proto.off = alias('removeListener'); - - /** - * Adds listeners in bulk using the manipulateListeners method. - * If you pass an object as the second argument you can add to multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. You can also pass it an event name and an array of listeners to be added. - * You can also pass it a regular expression to add the array of listeners to all events that match it. - * Yeah, this function does quite a bit. That's probably a bad thing. - * - * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add to multiple events at once. - * @param {Function[]} [listeners] An optional array of listener functions to add. - * @return {Object} Current instance of EventEmitter for chaining. - */ - proto.addListeners = function addListeners(evt, listeners) { - // Pass through to manipulateListeners - return this.manipulateListeners(false, evt, listeners); - }; - - /** - * Removes listeners in bulk using the manipulateListeners method. - * If you pass an object as the second argument you can remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. - * You can also pass it an event name and an array of listeners to be removed. - * You can also pass it a regular expression to remove the listeners from all events that match it. - * - * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to remove from multiple events at once. - * @param {Function[]} [listeners] An optional array of listener functions to remove. - * @return {Object} Current instance of EventEmitter for chaining. - */ - proto.removeListeners = function removeListeners(evt, listeners) { - // Pass through to manipulateListeners - return this.manipulateListeners(true, evt, listeners); - }; - - /** - * Edits listeners in bulk. The addListeners and removeListeners methods both use this to do their job. You should really use those instead, this is a little lower level. - * The first argument will determine if the listeners are removed (true) or added (false). - * If you pass an object as the second argument you can add/remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. - * You can also pass it an event name and an array of listeners to be added/removed. - * You can also pass it a regular expression to manipulate the listeners of all events that match it. - * - * @param {Boolean} remove True if you want to remove listeners, false if you want to add. - * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add/remove from multiple events at once. - * @param {Function[]} [listeners] An optional array of listener functions to add/remove. - * @return {Object} Current instance of EventEmitter for chaining. - */ - proto.manipulateListeners = function manipulateListeners(remove, evt, listeners) { - var i; - var value; - var single = remove ? this.removeListener : this.addListener; - var multiple = remove ? this.removeListeners : this.addListeners; - - // If evt is an object then pass each of its properties to this method - if (typeof evt === 'object' && !(evt instanceof RegExp)) { - for (i in evt) { - if (evt.hasOwnProperty(i) && (value = evt[i])) { - // Pass the single listener straight through to the singular method - if (typeof value === 'function') { - single.call(this, i, value); - } - else { - // Otherwise pass back to the multiple function - multiple.call(this, i, value); - } - } - } - } - else { - // So evt must be a string - // And listeners must be an array of listeners - // Loop over it and pass each one to the multiple method - i = listeners.length; - while (i--) { - single.call(this, evt, listeners[i]); - } - } - - return this; - }; - - /** - * Removes all listeners from a specified event. - * If you do not specify an event then all listeners will be removed. - * That means every event will be emptied. - * You can also pass a regex to remove all events that match it. - * - * @param {String|RegExp} [evt] Optional name of the event to remove all listeners for. Will remove from every event if not passed. - * @return {Object} Current instance of EventEmitter for chaining. - */ - proto.removeEvent = function removeEvent(evt) { - var type = typeof evt; - var events = this._getEvents(); - var key; - - // Remove different things depending on the state of evt - if (type === 'string') { - // Remove all listeners for the specified event - delete events[evt]; - } - else if (evt instanceof RegExp) { - // Remove all events matching the regex. - for (key in events) { - if (events.hasOwnProperty(key) && evt.test(key)) { - delete events[key]; - } - } - } - else { - // Remove all listeners in all events - delete this._events; - } - - return this; - }; - - /** - * Alias of removeEvent. - * - * Added to mirror the node API. - */ - proto.removeAllListeners = alias('removeEvent'); - - /** - * Emits an event of your choice. - * When emitted, every listener attached to that event will be executed. - * If you pass the optional argument array then those arguments will be passed to every listener upon execution. - * Because it uses `apply`, your array of arguments will be passed as if you wrote them out separately. - * So they will not arrive within the array on the other side, they will be separate. - * You can also pass a regular expression to emit to all events that match it. - * - * @param {String|RegExp} evt Name of the event to emit and execute listeners for. - * @param {Array} [args] Optional array of arguments to be passed to each listener. - * @return {Object} Current instance of EventEmitter for chaining. - */ - proto.emitEvent = function emitEvent(evt, args) { - var listeners = this.getListenersAsObject(evt); - var listener; - var i; - var key; - var response; - - for (key in listeners) { - if (listeners.hasOwnProperty(key)) { - i = listeners[key].length; - - while (i--) { - // If the listener returns true then it shall be removed from the event - // The function is executed either with a basic call or an apply if there is an args array - listener = listeners[key][i]; - - if (listener.once === true) { - this.removeListener(evt, listener.listener); - } - - response = listener.listener.apply(this, args || []); - - if (response === this._getOnceReturnValue()) { - this.removeListener(evt, listener.listener); - } - } - } - } - - return this; - }; - - /** - * Alias of emitEvent - */ - proto.trigger = alias('emitEvent'); - - /** - * Subtly different from emitEvent in that it will pass its arguments on to the listeners, as opposed to taking a single array of arguments to pass on. - * As with emitEvent, you can pass a regex in place of the event name to emit to all events that match it. - * - * @param {String|RegExp} evt Name of the event to emit and execute listeners for. - * @param {...*} Optional additional arguments to be passed to each listener. - * @return {Object} Current instance of EventEmitter for chaining. - */ - proto.emit = function emit(evt) { - var args = Array.prototype.slice.call(arguments, 1); - return this.emitEvent(evt, args); - }; - - /** - * Sets the current value to check against when executing listeners. If a - * listeners return value matches the one set here then it will be removed - * after execution. This value defaults to true. - * - * @param {*} value The new value to check for when executing listeners. - * @return {Object} Current instance of EventEmitter for chaining. - */ - proto.setOnceReturnValue = function setOnceReturnValue(value) { - this._onceReturnValue = value; - return this; - }; - - /** - * Fetches the current value to check against when executing listeners. If - * the listeners return value matches this one then it should be removed - * automatically. It will return true by default. - * - * @return {*|Boolean} The current value to check for or the default, true. - * @api private - */ - proto._getOnceReturnValue = function _getOnceReturnValue() { - if (this.hasOwnProperty('_onceReturnValue')) { - return this._onceReturnValue; - } - else { - return true; - } - }; - - /** - * Fetches the events object and creates one if required. - * - * @return {Object} The events storage object. - * @api private - */ - proto._getEvents = function _getEvents() { - return this._events || (this._events = {}); - }; - - /** - * Reverts the global {@link EventEmitter} to its previous value and returns a reference to this version. - * - * @return {Function} Non conflicting EventEmitter class. - */ - EventEmitter.noConflict = function noConflict() { - exports.EventEmitter = originalGlobalValue; - return EventEmitter; - }; - - // Expose the class either via AMD, CommonJS or the global object - if (typeof define === 'function' && define.amd) { - define('eventEmitter/EventEmitter',[],function () { - return EventEmitter; - }); - } - else if (typeof module === 'object' && module.exports){ - module.exports = EventEmitter; - } - else { - exports.EventEmitter = EventEmitter; - } -}.call(this)); - -/*! - * eventie v1.0.6 - * event binding helper - * eventie.bind( elem, 'click', myFn ) - * eventie.unbind( elem, 'click', myFn ) - * MIT license - */ - -/*jshint browser: true, undef: true, unused: true */ -/*global define: false, module: false */ - -( function( window ) { - - - -var docElem = document.documentElement; - -var bind = function() {}; - -function getIEEvent( obj ) { - var event = window.event; - // add event.target - event.target = event.target || event.srcElement || obj; - return event; -} - -if ( docElem.addEventListener ) { - bind = function( obj, type, fn ) { - obj.addEventListener( type, fn, false ); - }; -} else if ( docElem.attachEvent ) { - bind = function( obj, type, fn ) { - obj[ type + fn ] = fn.handleEvent ? - function() { - var event = getIEEvent( obj ); - fn.handleEvent.call( fn, event ); - } : - function() { - var event = getIEEvent( obj ); - fn.call( obj, event ); - }; - obj.attachEvent( "on" + type, obj[ type + fn ] ); - }; -} - -var unbind = function() {}; - -if ( docElem.removeEventListener ) { - unbind = function( obj, type, fn ) { - obj.removeEventListener( type, fn, false ); - }; -} else if ( docElem.detachEvent ) { - unbind = function( obj, type, fn ) { - obj.detachEvent( "on" + type, obj[ type + fn ] ); - try { - delete obj[ type + fn ]; - } catch ( err ) { - // can't delete window object properties - obj[ type + fn ] = undefined; - } - }; -} - -var eventie = { - bind: bind, - unbind: unbind -}; - -// ----- module definition ----- // - -if ( typeof define === 'function' && define.amd ) { - // AMD - define( 'eventie/eventie',eventie ); -} else if ( typeof exports === 'object' ) { - // CommonJS - module.exports = eventie; -} else { - // browser global - window.eventie = eventie; -} - -})( window ); - -/*! - * getStyleProperty v1.0.4 - * original by kangax - * http://perfectionkills.com/feature-testing-css-properties/ - * MIT license - */ - -/*jshint browser: true, strict: true, undef: true */ -/*global define: false, exports: false, module: false */ - -( function( window ) { - - - -var prefixes = 'Webkit Moz ms Ms O'.split(' '); -var docElemStyle = document.documentElement.style; - -function getStyleProperty( propName ) { - if ( !propName ) { - return; - } - - // test standard property first - if ( typeof docElemStyle[ propName ] === 'string' ) { - return propName; - } - - // capitalize - propName = propName.charAt(0).toUpperCase() + propName.slice(1); - - // test vendor specific properties - var prefixed; - for ( var i=0, len = prefixes.length; i < len; i++ ) { - prefixed = prefixes[i] + propName; - if ( typeof docElemStyle[ prefixed ] === 'string' ) { - return prefixed; - } - } -} - -// transport -if ( typeof define === 'function' && define.amd ) { - // AMD - define( 'get-style-property/get-style-property',[],function() { - return getStyleProperty; - }); -} else if ( typeof exports === 'object' ) { - // CommonJS for Component - module.exports = getStyleProperty; -} else { - // browser global - window.getStyleProperty = getStyleProperty; -} - -})( window ); - -/*! - * getSize v1.2.2 - * measure size of elements - * MIT license - */ - -/*jshint browser: true, strict: true, undef: true, unused: true */ -/*global define: false, exports: false, require: false, module: false, console: false */ - -( function( window, undefined ) { - - - -// -------------------------- helpers -------------------------- // - -// get a number from a string, not a percentage -function getStyleSize( value ) { - var num = parseFloat( value ); - // not a percent like '100%', and a number - var isValid = value.indexOf('%') === -1 && !isNaN( num ); - return isValid && num; -} - -function noop() {} - -var logError = typeof console === 'undefined' ? noop : - function( message ) { - console.error( message ); - }; - -// -------------------------- measurements -------------------------- // - -var measurements = [ - 'paddingLeft', - 'paddingRight', - 'paddingTop', - 'paddingBottom', - 'marginLeft', - 'marginRight', - 'marginTop', - 'marginBottom', - 'borderLeftWidth', - 'borderRightWidth', - 'borderTopWidth', - 'borderBottomWidth' -]; - -function getZeroSize() { - var size = { - width: 0, - height: 0, - innerWidth: 0, - innerHeight: 0, - outerWidth: 0, - outerHeight: 0 - }; - for ( var i=0, len = measurements.length; i < len; i++ ) { - var measurement = measurements[i]; - size[ measurement ] = 0; - } - return size; -} - - - -function defineGetSize( getStyleProperty ) { - -// -------------------------- setup -------------------------- // - -var isSetup = false; - -var getStyle, boxSizingProp, isBoxSizeOuter; - -/** - * setup vars and functions - * do it on initial getSize(), rather than on script load - * For Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=548397 - */ -function setup() { - // setup once - if ( isSetup ) { - return; - } - isSetup = true; - - var getComputedStyle = window.getComputedStyle; - getStyle = ( function() { - var getStyleFn = getComputedStyle ? - function( elem ) { - return getComputedStyle( elem, null ); - } : - function( elem ) { - return elem.currentStyle; - }; - - return function getStyle( elem ) { - var style = getStyleFn( elem ); - if ( !style ) { - logError( 'Style returned ' + style + - '. Are you running this code in a hidden iframe on Firefox? ' + - 'See http://bit.ly/getsizebug1' ); - } - return style; - }; - })(); - - // -------------------------- box sizing -------------------------- // - - boxSizingProp = getStyleProperty('boxSizing'); - - /** - * WebKit measures the outer-width on style.width on border-box elems - * IE & Firefox measures the inner-width - */ - if ( boxSizingProp ) { - var div = document.createElement('div'); - div.style.width = '200px'; - div.style.padding = '1px 2px 3px 4px'; - div.style.borderStyle = 'solid'; - div.style.borderWidth = '1px 2px 3px 4px'; - div.style[ boxSizingProp ] = 'border-box'; - - var body = document.body || document.documentElement; - body.appendChild( div ); - var style = getStyle( div ); - - isBoxSizeOuter = getStyleSize( style.width ) === 200; - body.removeChild( div ); - } - -} - -// -------------------------- getSize -------------------------- // - -function getSize( elem ) { - setup(); - - // use querySeletor if elem is string - if ( typeof elem === 'string' ) { - elem = document.querySelector( elem ); - } - - // do not proceed on non-objects - if ( !elem || typeof elem !== 'object' || !elem.nodeType ) { - return; - } - - var style = getStyle( elem ); - - // if hidden, everything is 0 - if ( style.display === 'none' ) { - return getZeroSize(); - } - - var size = {}; - size.width = elem.offsetWidth; - size.height = elem.offsetHeight; - - var isBorderBox = size.isBorderBox = !!( boxSizingProp && - style[ boxSizingProp ] && style[ boxSizingProp ] === 'border-box' ); - - // get all measurements - for ( var i=0, len = measurements.length; i < len; i++ ) { - var measurement = measurements[i]; - var value = style[ measurement ]; - value = mungeNonPixel( elem, value ); - var num = parseFloat( value ); - // any 'auto', 'medium' value will be 0 - size[ measurement ] = !isNaN( num ) ? num : 0; - } - - var paddingWidth = size.paddingLeft + size.paddingRight; - var paddingHeight = size.paddingTop + size.paddingBottom; - var marginWidth = size.marginLeft + size.marginRight; - var marginHeight = size.marginTop + size.marginBottom; - var borderWidth = size.borderLeftWidth + size.borderRightWidth; - var borderHeight = size.borderTopWidth + size.borderBottomWidth; - - var isBorderBoxSizeOuter = isBorderBox && isBoxSizeOuter; - - // overwrite width and height if we can get it from style - var styleWidth = getStyleSize( style.width ); - if ( styleWidth !== false ) { - size.width = styleWidth + - // add padding and border unless it's already including it - ( isBorderBoxSizeOuter ? 0 : paddingWidth + borderWidth ); - } - - var styleHeight = getStyleSize( style.height ); - if ( styleHeight !== false ) { - size.height = styleHeight + - // add padding and border unless it's already including it - ( isBorderBoxSizeOuter ? 0 : paddingHeight + borderHeight ); - } - - size.innerWidth = size.width - ( paddingWidth + borderWidth ); - size.innerHeight = size.height - ( paddingHeight + borderHeight ); - - size.outerWidth = size.width + marginWidth; - size.outerHeight = size.height + marginHeight; - - return size; -} - -// IE8 returns percent values, not pixels -// taken from jQuery's curCSS -function mungeNonPixel( elem, value ) { - // IE8 and has percent value - if ( window.getComputedStyle || value.indexOf('%') === -1 ) { - return value; - } - var style = elem.style; - // Remember the original values - var left = style.left; - var rs = elem.runtimeStyle; - var rsLeft = rs && rs.left; - - // Put in the new values to get a computed value out - if ( rsLeft ) { - rs.left = elem.currentStyle.left; - } - style.left = value; - value = style.pixelLeft; - - // Revert the changed values - style.left = left; - if ( rsLeft ) { - rs.left = rsLeft; - } - - return value; -} - -return getSize; - -} - -// transport -if ( typeof define === 'function' && define.amd ) { - // AMD for RequireJS - define( 'get-size/get-size',[ 'get-style-property/get-style-property' ], defineGetSize ); -} else if ( typeof exports === 'object' ) { - // CommonJS for Component - module.exports = defineGetSize( require('desandro-get-style-property') ); -} else { - // browser global - window.getSize = defineGetSize( window.getStyleProperty ); -} - -})( window ); - -/*! - * docReady v1.0.4 - * Cross browser DOMContentLoaded event emitter - * MIT license - */ - -/*jshint browser: true, strict: true, undef: true, unused: true*/ -/*global define: false, require: false, module: false */ - -( function( window ) { - - - -var document = window.document; -// collection of functions to be triggered on ready -var queue = []; - -function docReady( fn ) { - // throw out non-functions - if ( typeof fn !== 'function' ) { - return; - } - - if ( docReady.isReady ) { - // ready now, hit it - fn(); - } else { - // queue function when ready - queue.push( fn ); - } -} - -docReady.isReady = false; - -// triggered on various doc ready events -function onReady( event ) { - // bail if already triggered or IE8 document is not ready just yet - var isIE8NotReady = event.type === 'readystatechange' && document.readyState !== 'complete'; - if ( docReady.isReady || isIE8NotReady ) { - return; - } - - trigger(); -} - -function trigger() { - docReady.isReady = true; - // process queue - for ( var i=0, len = queue.length; i < len; i++ ) { - var fn = queue[i]; - fn(); - } -} - -function defineDocReady( eventie ) { - // trigger ready if page is ready - if ( document.readyState === 'complete' ) { - trigger(); - } else { - // listen for events - eventie.bind( document, 'DOMContentLoaded', onReady ); - eventie.bind( document, 'readystatechange', onReady ); - eventie.bind( window, 'load', onReady ); - } - - return docReady; -} - -// transport -if ( typeof define === 'function' && define.amd ) { - // AMD - define( 'doc-ready/doc-ready',[ 'eventie/eventie' ], defineDocReady ); -} else if ( typeof exports === 'object' ) { - module.exports = defineDocReady( require('eventie') ); -} else { - // browser global - window.docReady = defineDocReady( window.eventie ); -} - -})( window ); - -/** - * matchesSelector v1.0.3 - * matchesSelector( element, '.selector' ) - * MIT license - */ - -/*jshint browser: true, strict: true, undef: true, unused: true */ -/*global define: false, module: false */ - -( function( ElemProto ) { - - - - var matchesMethod = ( function() { - // check for the standard method name first - if ( ElemProto.matches ) { - return 'matches'; - } - // check un-prefixed - if ( ElemProto.matchesSelector ) { - return 'matchesSelector'; - } - // check vendor prefixes - var prefixes = [ 'webkit', 'moz', 'ms', 'o' ]; - - for ( var i=0, len = prefixes.length; i < len; i++ ) { - var prefix = prefixes[i]; - var method = prefix + 'MatchesSelector'; - if ( ElemProto[ method ] ) { - return method; - } - } - })(); - - // ----- match ----- // - - function match( elem, selector ) { - return elem[ matchesMethod ]( selector ); - } - - // ----- appendToFragment ----- // - - function checkParent( elem ) { - // not needed if already has parent - if ( elem.parentNode ) { - return; - } - var fragment = document.createDocumentFragment(); - fragment.appendChild( elem ); - } - - // ----- query ----- // - - // fall back to using QSA - // thx @jonathantneal https://gist.github.com/3062955 - function query( elem, selector ) { - // append to fragment if no parent - checkParent( elem ); - - // match elem with all selected elems of parent - var elems = elem.parentNode.querySelectorAll( selector ); - for ( var i=0, len = elems.length; i < len; i++ ) { - // return true if match - if ( elems[i] === elem ) { - return true; - } - } - // otherwise return false - return false; - } - - // ----- matchChild ----- // - - function matchChild( elem, selector ) { - checkParent( elem ); - return match( elem, selector ); - } - - // ----- matchesSelector ----- // - - var matchesSelector; - - if ( matchesMethod ) { - // IE9 supports matchesSelector, but doesn't work on orphaned elems - // check for that - var div = document.createElement('div'); - var supportsOrphans = match( div, 'div' ); - matchesSelector = supportsOrphans ? match : matchChild; - } else { - matchesSelector = query; - } - - // transport - if ( typeof define === 'function' && define.amd ) { - // AMD - define( 'matches-selector/matches-selector',[],function() { - return matchesSelector; - }); - } else if ( typeof exports === 'object' ) { - module.exports = matchesSelector; - } - else { - // browser global - window.matchesSelector = matchesSelector; - } - -})( Element.prototype ); - -/** - * Fizzy UI utils v1.0.1 - * MIT license - */ - -/*jshint browser: true, undef: true, unused: true, strict: true */ - -( function( window, factory ) { - /*global define: false, module: false, require: false */ - - // universal module definition - - if ( typeof define == 'function' && define.amd ) { - // AMD - define( 'fizzy-ui-utils/utils',[ - 'doc-ready/doc-ready', - 'matches-selector/matches-selector' - ], function( docReady, matchesSelector ) { - return factory( window, docReady, matchesSelector ); - }); - } else if ( typeof exports == 'object' ) { - // CommonJS - module.exports = factory( - window, - require('doc-ready'), - require('desandro-matches-selector') - ); - } else { - // browser global - window.fizzyUIUtils = factory( - window, - window.docReady, - window.matchesSelector - ); - } - -}( window, function factory( window, docReady, matchesSelector ) { - - - -var utils = {}; - -// ----- extend ----- // - -// extends objects -utils.extend = function( a, b ) { - for ( var prop in b ) { - a[ prop ] = b[ prop ]; - } - return a; -}; - -// ----- modulo ----- // - -utils.modulo = function( num, div ) { - return ( ( num % div ) + div ) % div; -}; - -// ----- isArray ----- // - -var objToString = Object.prototype.toString; -utils.isArray = function( obj ) { - return objToString.call( obj ) == '[object Array]'; -}; - -// ----- makeArray ----- // - -// turn element or nodeList into an array -utils.makeArray = function( obj ) { - var ary = []; - if ( utils.isArray( obj ) ) { - // use object if already an array - ary = obj; - } else if ( obj && typeof obj.length == 'number' ) { - // convert nodeList to array - for ( var i=0, len = obj.length; i < len; i++ ) { - ary.push( obj[i] ); - } - } else { - // array of single index - ary.push( obj ); - } - return ary; -}; - -// ----- indexOf ----- // - -// index of helper cause IE8 -utils.indexOf = Array.prototype.indexOf ? function( ary, obj ) { - return ary.indexOf( obj ); - } : function( ary, obj ) { - for ( var i=0, len = ary.length; i < len; i++ ) { - if ( ary[i] === obj ) { - return i; - } - } - return -1; - }; - -// ----- removeFrom ----- // - -utils.removeFrom = function( ary, obj ) { - var index = utils.indexOf( ary, obj ); - if ( index != -1 ) { - ary.splice( index, 1 ); - } -}; - -// ----- isElement ----- // - -// http://stackoverflow.com/a/384380/182183 -utils.isElement = ( typeof HTMLElement == 'function' || typeof HTMLElement == 'object' ) ? - function isElementDOM2( obj ) { - return obj instanceof HTMLElement; - } : - function isElementQuirky( obj ) { - return obj && typeof obj == 'object' && - obj.nodeType == 1 && typeof obj.nodeName == 'string'; - }; - -// ----- setText ----- // - -utils.setText = ( function() { - var setTextProperty; - function setText( elem, text ) { - // only check setTextProperty once - setTextProperty = setTextProperty || ( document.documentElement.textContent !== undefined ? 'textContent' : 'innerText' ); - elem[ setTextProperty ] = text; - } - return setText; -})(); - -// ----- getParent ----- // - -utils.getParent = function( elem, selector ) { - while ( elem != document.body ) { - elem = elem.parentNode; - if ( matchesSelector( elem, selector ) ) { - return elem; - } - } -}; - -// ----- getQueryElement ----- // - -// use element as selector string -utils.getQueryElement = function( elem ) { - if ( typeof elem == 'string' ) { - return document.querySelector( elem ); - } - return elem; -}; - -// ----- handleEvent ----- // - -// enable .ontype to trigger from .addEventListener( elem, 'type' ) -utils.handleEvent = function( event ) { - var method = 'on' + event.type; - if ( this[ method ] ) { - this[ method ]( event ); - } -}; - -// ----- filterFindElements ----- // - -utils.filterFindElements = function( elems, selector ) { - // make array of elems - elems = utils.makeArray( elems ); - var ffElems = []; - - for ( var i=0, len = elems.length; i < len; i++ ) { - var elem = elems[i]; - // check that elem is an actual element - if ( !utils.isElement( elem ) ) { - continue; - } - // filter & find items if we have a selector - if ( selector ) { - // filter siblings - if ( matchesSelector( elem, selector ) ) { - ffElems.push( elem ); - } - // find children - var childElems = elem.querySelectorAll( selector ); - // concat childElems to filterFound array - for ( var j=0, jLen = childElems.length; j < jLen; j++ ) { - ffElems.push( childElems[j] ); - } - } else { - ffElems.push( elem ); - } - } - - return ffElems; -}; - -// ----- debounceMethod ----- // - -utils.debounceMethod = function( _class, methodName, threshold ) { - // original method - var method = _class.prototype[ methodName ]; - var timeoutName = methodName + 'Timeout'; - - _class.prototype[ methodName ] = function() { - var timeout = this[ timeoutName ]; - if ( timeout ) { - clearTimeout( timeout ); - } - var args = arguments; - - var _this = this; - this[ timeoutName ] = setTimeout( function() { - method.apply( _this, args ); - delete _this[ timeoutName ]; - }, threshold || 100 ); - }; -}; - -// ----- htmlInit ----- // - -// http://jamesroberts.name/blog/2010/02/22/string-functions-for-javascript-trim-to-camel-case-to-dashed-and-to-underscore/ -utils.toDashed = function( str ) { - return str.replace( /(.)([A-Z])/g, function( match, $1, $2 ) { - return $1 + '-' + $2; - }).toLowerCase(); -}; - -var console = window.console; -/** - * allow user to initialize classes via .js-namespace class - * htmlInit( Widget, 'widgetName' ) - * options are parsed from data-namespace-option attribute - */ -utils.htmlInit = function( WidgetClass, namespace ) { - docReady( function() { - var dashedNamespace = utils.toDashed( namespace ); - var elems = document.querySelectorAll( '.js-' + dashedNamespace ); - var dataAttr = 'data-' + dashedNamespace + '-options'; - - for ( var i=0, len = elems.length; i < len; i++ ) { - var elem = elems[i]; - var attr = elem.getAttribute( dataAttr ); - var options; - try { - options = attr && JSON.parse( attr ); - } catch ( error ) { - // log error, do not initialize - if ( console ) { - console.error( 'Error parsing ' + dataAttr + ' on ' + - elem.nodeName.toLowerCase() + ( elem.id ? '#' + elem.id : '' ) + ': ' + - error ); - } - continue; - } - // initialize - var instance = new WidgetClass( elem, options ); - // make available via $().data('layoutname') - var jQuery = window.jQuery; - if ( jQuery ) { - jQuery.data( elem, namespace, instance ); - } - } - }); -}; - -// ----- ----- // - -return utils; - -})); - -( function( window, factory ) { - - // universal module definition - - if ( typeof define == 'function' && define.amd ) { - // AMD - define( 'flickity/js/cell',[ - 'get-size/get-size' - ], function( getSize ) { - return factory( window, getSize ); - }); - } else if ( typeof exports == 'object' ) { - // CommonJS - module.exports = factory( - window, - require('get-size') - ); - } else { - // browser global - window.Flickity = window.Flickity || {}; - window.Flickity.Cell = factory( - window, - window.getSize - ); - } - -}( window, function factory( window, getSize ) { - - - -function Cell( elem, parent ) { - this.element = elem; - this.parent = parent; - - this.create(); -} - -var isIE8 = 'attachEvent' in window; - -Cell.prototype.create = function() { - this.element.style.position = 'absolute'; - // IE8 prevent child from changing focus http://stackoverflow.com/a/17525223/182183 - if ( isIE8 ) { - this.element.setAttribute( 'unselectable', 'on' ); - } - this.x = 0; - this.shift = 0; -}; - -Cell.prototype.destroy = function() { - // reset style - this.element.style.position = ''; - var side = this.parent.originSide; - this.element.style[ side ] = ''; -}; - -Cell.prototype.getSize = function() { - this.size = getSize( this.element ); -}; - -Cell.prototype.setPosition = function( x ) { - this.x = x; - this.setDefaultTarget(); - this.renderPosition( x ); -}; - -Cell.prototype.setDefaultTarget = function() { - var marginProperty = this.parent.originSide == 'left' ? 'marginLeft' : 'marginRight'; - this.target = this.x + this.size[ marginProperty ] + - this.size.width * this.parent.cellAlign; -}; - -Cell.prototype.renderPosition = function( x ) { - // render position of cell with in slider - var side = this.parent.originSide; - this.element.style[ side ] = this.parent.getPositionValue( x ); -}; - -/** - * @param {Integer} factor - 0, 1, or -1 -**/ -Cell.prototype.wrapShift = function( shift ) { - this.shift = shift; - this.renderPosition( this.x + this.parent.slideableWidth * shift ); -}; - -Cell.prototype.remove = function() { - this.element.parentNode.removeChild( this.element ); -}; - -return Cell; - -})); - -( function( window, factory ) { - - // universal module definition - - if ( typeof define == 'function' && define.amd ) { - // AMD - define( 'flickity/js/animate',[ - 'get-style-property/get-style-property', - 'fizzy-ui-utils/utils' - ], function( getStyleProperty, utils ) { - return factory( window, getStyleProperty, utils ); - }); - } else if ( typeof exports == 'object' ) { - // CommonJS - module.exports = factory( - window, - require('desandro-get-style-property'), - require('fizzy-ui-utils') - ); - } else { - // browser global - window.Flickity = window.Flickity || {}; - window.Flickity.animatePrototype = factory( - window, - window.getStyleProperty, - window.fizzyUIUtils - ); - } - -}( window, function factory( window, getStyleProperty, utils ) { - - - -// -------------------------- requestAnimationFrame -------------------------- // - -// https://gist.github.com/1866474 - -var lastTime = 0; -var prefixes = 'webkit moz ms o'.split(' '); -// get unprefixed rAF and cAF, if present -var requestAnimationFrame = window.requestAnimationFrame; -var cancelAnimationFrame = window.cancelAnimationFrame; -// loop through vendor prefixes and get prefixed rAF and cAF -var prefix; -for( var i = 0; i < prefixes.length; i++ ) { - if ( requestAnimationFrame && cancelAnimationFrame ) { - break; - } - prefix = prefixes[i]; - requestAnimationFrame = requestAnimationFrame || window[ prefix + 'RequestAnimationFrame' ]; - cancelAnimationFrame = cancelAnimationFrame || window[ prefix + 'CancelAnimationFrame' ] || - window[ prefix + 'CancelRequestAnimationFrame' ]; -} - -// fallback to setTimeout and clearTimeout if either request/cancel is not supported -if ( !requestAnimationFrame || !cancelAnimationFrame ) { - requestAnimationFrame = function( callback ) { - var currTime = new Date().getTime(); - var timeToCall = Math.max( 0, 16 - ( currTime - lastTime ) ); - var id = window.setTimeout( function() { - callback( currTime + timeToCall ); - }, timeToCall ); - lastTime = currTime + timeToCall; - return id; - }; - - cancelAnimationFrame = function( id ) { - window.clearTimeout( id ); - }; -} - -// -------------------------- animate -------------------------- // - -var proto = {}; - -proto.startAnimation = function() { - if ( this.isAnimating ) { - return; - } - - this.isAnimating = true; - this.restingFrames = 0; - this.animate(); -}; - -proto.animate = function() { - this.applySelectedAttraction(); - - var previousX = this.x; - - this.integratePhysics(); - this.positionSlider(); - this.settle( previousX ); - // animate next frame - if ( this.isAnimating ) { - var _this = this; - requestAnimationFrame( function animateFrame() { - _this.animate(); - }); - } - - /** / - // log animation frame rate - var now = new Date(); - if ( this.then ) { - console.log( ~~( 1000 / (now-this.then)) + 'fps' ) - } - this.then = now; - /**/ -}; - - -var transformProperty = getStyleProperty('transform'); -var is3d = !!getStyleProperty('perspective'); - -proto.positionSlider = function() { - var x = this.x; - // wrap position around - if ( this.options.wrapAround && this.cells.length > 1 ) { - x = utils.modulo( x, this.slideableWidth ); - x = x - this.slideableWidth; - this.shiftWrapCells( x ); - } - - x = x + this.cursorPosition; - - // reverse if right-to-left and using transform - x = this.options.rightToLeft && transformProperty ? -x : x; - - var value = this.getPositionValue( x ); - - if ( transformProperty ) { - // use 3D tranforms for hardware acceleration on iOS - // but use 2D when settled, for better font-rendering - this.slider.style[ transformProperty ] = is3d && this.isAnimating ? - 'translate3d(' + value + ',0,0)' : 'translateX(' + value + ')'; - } else { - this.slider.style[ this.originSide ] = value; - } -}; - -proto.positionSliderAtSelected = function() { - if ( !this.cells.length ) { - return; - } - var selectedCell = this.cells[ this.selectedIndex ]; - this.x = -selectedCell.target; - this.positionSlider(); -}; - -proto.getPositionValue = function( position ) { - if ( this.options.percentPosition ) { - // percent position, round to 2 digits, like 12.34% - return ( Math.round( ( position / this.size.innerWidth ) * 10000 ) * 0.01 )+ '%'; - } else { - // pixel positioning - return Math.round( position ) + 'px'; - } -}; - -proto.settle = function( previousX ) { - // keep track of frames where x hasn't moved - if ( !this.isPointerDown && Math.round( this.x * 100 ) == Math.round( previousX * 100 ) ) { - this.restingFrames++; - } - // stop animating if resting for 3 or more frames - if ( this.restingFrames > 2 ) { - this.isAnimating = false; - delete this.isFreeScrolling; - // render position with translateX when settled - if ( is3d ) { - this.positionSlider(); - } - this.dispatchEvent('settle'); - } -}; - -proto.shiftWrapCells = function( x ) { - // shift before cells - var beforeGap = this.cursorPosition + x; - this._shiftCells( this.beforeShiftCells, beforeGap, -1 ); - // shift after cells - var afterGap = this.size.innerWidth - ( x + this.slideableWidth + this.cursorPosition ); - this._shiftCells( this.afterShiftCells, afterGap, 1 ); -}; - -proto._shiftCells = function( cells, gap, shift ) { - for ( var i=0, len = cells.length; i < len; i++ ) { - var cell = cells[i]; - var cellShift = gap > 0 ? shift : 0; - cell.wrapShift( cellShift ); - gap -= cell.size.outerWidth; - } -}; - -proto._unshiftCells = function( cells ) { - if ( !cells || !cells.length ) { - return; - } - for ( var i=0, len = cells.length; i < len; i++ ) { - cells[i].wrapShift( 0 ); - } -}; - -// -------------------------- physics -------------------------- // - -proto.integratePhysics = function() { - this.velocity += this.accel; - this.x += this.velocity; - this.velocity *= this.getFrictionFactor(); - // reset acceleration - this.accel = 0; -}; - -proto.applyForce = function( force ) { - this.accel += force; -}; - -proto.getFrictionFactor = function() { - return 1 - this.options[ this.isFreeScrolling ? 'freeScrollFriction' : 'friction' ]; -}; - - -proto.getRestingPosition = function() { - // my thanks to Steven Wittens, who simplified this math greatly - return this.x + this.velocity / ( 1 - this.getFrictionFactor() ); -}; - - -proto.applySelectedAttraction = function() { - // do not attract if pointer down or no cells - var len = this.cells.length; - if ( this.isPointerDown || this.isFreeScrolling || !len ) { - return; - } - var cell = this.cells[ this.selectedIndex ]; - var wrap = this.options.wrapAround && len > 1 ? - this.slideableWidth * Math.floor( this.selectedIndex / len ) : 0; - var distance = ( cell.target + wrap ) * -1 - this.x; - var force = distance * this.options.selectedAttraction; - this.applyForce( force ); -}; - -return proto; - -})); - -/*! - * Flickity v1.0.1 - * Touch, responsive, flickable galleries - * - * Licensed GPLv3 for open source use - * or Flickity Commercial License for commercial use - * - * http://flickity.metafizzy.co - * Copyright 2015 Metafizzy - */ - -( function( window, factory ) { - - // universal module definition - - if ( typeof define == 'function' && define.amd ) { - // AMD - define( 'flickity/js/flickity',[ - 'classie/classie', - 'eventEmitter/EventEmitter', - 'eventie/eventie', - 'get-size/get-size', - 'fizzy-ui-utils/utils', - './cell', - './animate' - ], function( classie, EventEmitter, eventie, getSize, utils, Cell, animatePrototype ) { - return factory( window, classie, EventEmitter, eventie, getSize, utils, Cell, animatePrototype ); - }); - } else if ( typeof exports == 'object' ) { - // CommonJS - module.exports = factory( - window, - require('desandro-classie'), - require('wolfy87-eventemitter'), - require('eventie'), - require('get-size'), - require('fizzy-ui-utils'), - require('./cell'), - require('./animate') - ); - } else { - // browser global - var _Flickity = window.Flickity; - - window.Flickity = factory( - window, - window.classie, - window.EventEmitter, - window.eventie, - window.getSize, - window.fizzyUIUtils, - _Flickity.Cell, - _Flickity.animatePrototype - ); - } - -}( window, function factory( window, classie, EventEmitter, eventie, getSize, - utils, Cell, animatePrototype ) { - - - -// vars -var jQuery = window.jQuery; -var getComputedStyle = window.getComputedStyle; -var console = window.console; - -function moveElements( elems, toElem ) { - elems = utils.makeArray( elems ); - while ( elems.length ) { - toElem.appendChild( elems.shift() ); - } -} - -// -------------------------- Flickity -------------------------- // - -// globally unique identifiers -var GUID = 0; -// internal store of all Flickity intances -var instances = {}; - -function Flickity( element, options ) { - var queryElement = utils.getQueryElement( element ); - if ( !queryElement ) { - if ( console ) { - console.error( 'Bad element for Flickity: ' + ( queryElement || element ) ); - } - return; - } - this.element = queryElement; - // add jQuery - if ( jQuery ) { - this.$element = jQuery( this.element ); - } - // options - this.options = utils.extend( {}, this.constructor.defaults ); - this.option( options ); - - // kick things off - this._create(); -} - -Flickity.defaults = { - accessibility: true, - cellAlign: 'center', - // cellSelector: undefined, - // contain: false, - freeScrollFriction: 0.075, // friction when free-scrolling - friction: 0.28, // friction when selecting - // initialIndex: 0, - percentPosition: true, - resize: true, - selectedAttraction: 0.025, - setGallerySize: true - // watchCSS: false, - // wrapAround: false -}; - -// hash of methods triggered on _create() -Flickity.createMethods = []; - -// inherit EventEmitter -utils.extend( Flickity.prototype, EventEmitter.prototype ); - -Flickity.prototype._create = function() { - // add id for Flickity.data - var id = this.guid = ++GUID; - this.element.flickityGUID = id; // expando - instances[ id ] = this; // associate via id - // initial properties - this.selectedIndex = this.options.initialIndex || 0; - // how many frames slider has been in same position - this.restingFrames = 0; - // initial physics properties - this.x = 0; - this.velocity = 0; - this.accel = 0; - this.originSide = this.options.rightToLeft ? 'right' : 'left'; - // create viewport & slider - this.viewport = document.createElement('div'); - this.viewport.className = 'flickity-viewport'; - Flickity.setUnselectable( this.viewport ); - this._createSlider(); - - if ( this.options.resize || this.options.watchCSS ) { - eventie.bind( window, 'resize', this ); - this.isResizeBound = true; - } - - for ( var i=0, len = Flickity.createMethods.length; i < len; i++ ) { - var method = Flickity.createMethods[i]; - this[ method ](); - } - - if ( this.options.watchCSS ) { - this.watchCSS(); - } else { - this.activate(); - } - -}; - -/** - * set options - * @param {Object} opts - */ -Flickity.prototype.option = function( opts ) { - utils.extend( this.options, opts ); -}; - -Flickity.prototype.activate = function() { - if ( this.isActive ) { - return; - } - this.isActive = true; - classie.add( this.element, 'flickity-enabled' ); - if ( this.options.rightToLeft ) { - classie.add( this.element, 'flickity-rtl' ); - } - - // move initial cell elements so they can be loaded as cells - var cellElems = this._filterFindCellElements( this.element.children ); - moveElements( cellElems, this.slider ); - this.viewport.appendChild( this.slider ); - this.element.appendChild( this.viewport ); - - this.getSize(); - // get cells from children - this.reloadCells(); - - if ( this.options.accessibility ) { - // allow element to focusable - this.element.tabIndex = 0; - // listen for key presses - eventie.bind( this.element, 'keydown', this ); - } - - this.emit('activate'); - - this.positionSliderAtSelected(); - this.select( this.selectedIndex ); -}; - -// slider positions the cells -Flickity.prototype._createSlider = function() { - // slider element does all the positioning - var slider = document.createElement('div'); - slider.className = 'flickity-slider'; - slider.style[ this.originSide ] = 0; - this.slider = slider; -}; - -Flickity.prototype._filterFindCellElements = function( elems ) { - return utils.filterFindElements( elems, this.options.cellSelector ); -}; - -// goes through all children -Flickity.prototype.reloadCells = function() { - // collection of item elements - this.cells = this._makeCells( this.slider.children ); - this.positionCells(); - this._getWrapShiftCells(); - this.setGallerySize(); -}; - -/** - * turn elements into Flickity.Cells - * @param {Array or NodeList or HTMLElement} elems - * @returns {Array} items - collection of new Flickity Cells - */ -Flickity.prototype._makeCells = function( elems ) { - var cellElems = this._filterFindCellElements( elems ); - - // create new Flickity for collection - var cells = []; - for ( var i=0, len = cellElems.length; i < len; i++ ) { - var elem = cellElems[i]; - var cell = new Cell( elem, this ); - cells.push( cell ); - } - - return cells; -}; - -Flickity.prototype.getLastCell = function() { - return this.cells[ this.cells.length - 1 ]; -}; - -// positions all cells -Flickity.prototype.positionCells = function() { - // size all cells - this._sizeCells( this.cells ); - // position all cells - this._positionCells( 0 ); -}; - -/** - * position certain cells - * @param {Integer} index - which cell to start with - */ -Flickity.prototype._positionCells = function( index ) { - // also measure maxCellHeight - // start 0 if positioning all cells - this.maxCellHeight = index ? this.maxCellHeight || 0 : 0; - var cellX = 0; - // get cellX - if ( index > 0 ) { - var startCell = this.cells[ index - 1 ]; - cellX = startCell.x + startCell.size.outerWidth; - } - var cell; - for ( var len = this.cells.length, i=index; i < len; i++ ) { - cell = this.cells[i]; - cell.setPosition( cellX ); - cellX += cell.size.outerWidth; - this.maxCellHeight = Math.max( cell.size.outerHeight, this.maxCellHeight ); - } - // keep track of cellX for wrap-around - this.slideableWidth = cellX; - // contain cell target - this._containCells(); -}; - -/** - * cell.getSize() on multiple cells - * @param {Array} cells - */ -Flickity.prototype._sizeCells = function( cells ) { - for ( var i=0, len = cells.length; i < len; i++ ) { - var cell = cells[i]; - cell.getSize(); - } -}; - -// alias _init for jQuery plugin .flickity() -Flickity.prototype._init = -Flickity.prototype.reposition = function() { - this.positionCells(); - this.positionSliderAtSelected(); -}; - -Flickity.prototype.getSize = function() { - this.size = getSize( this.element ); - this.setCellAlign(); - this.cursorPosition = this.size.innerWidth * this.cellAlign; -}; - -var cellAlignShorthands = { - // cell align, then based on origin side - center: { - left: 0.5, - right: 0.5 - }, - left: { - left: 0, - right: 1 - }, - right: { - right: 0, - left: 1 - } -}; - -Flickity.prototype.setCellAlign = function() { - var shorthand = cellAlignShorthands[ this.options.cellAlign ]; - this.cellAlign = shorthand ? shorthand[ this.originSide ] : this.options.cellAlign; -}; - -Flickity.prototype.setGallerySize = function() { - if ( this.options.setGallerySize ) { - this.viewport.style.height = this.maxCellHeight + 'px'; - } -}; - -Flickity.prototype._getWrapShiftCells = function() { - // only for wrap-around - if ( !this.options.wrapAround ) { - return; - } - // unshift previous cells - this._unshiftCells( this.beforeShiftCells ); - this._unshiftCells( this.afterShiftCells ); - // get before cells - // initial gap - var gapX = this.cursorPosition; - var cellIndex = this.cells.length - 1; - this.beforeShiftCells = this._getGapCells( gapX, cellIndex, -1 ); - // get after cells - // ending gap between last cell and end of gallery viewport - gapX = this.size.innerWidth - this.cursorPosition; - // start cloning at first cell, working forwards - this.afterShiftCells = this._getGapCells( gapX, 0, 1 ); -}; - -Flickity.prototype._getGapCells = function( gapX, cellIndex, increment ) { - // keep adding cells until the cover the initial gap - var cells = []; - while ( gapX > 0 ) { - var cell = this.cells[ cellIndex ]; - if ( !cell ) { - break; - } - cells.push( cell ); - cellIndex += increment; - gapX -= cell.size.outerWidth; - } - return cells; -}; - -// ----- contain ----- // - -// contain cell targets so no excess sliding -Flickity.prototype._containCells = function() { - if ( !this.options.contain || this.options.wrapAround || !this.cells.length ) { - return; - } - var startMargin = this.options.rightToLeft ? 'marginRight' : 'marginLeft'; - var endMargin = this.options.rightToLeft ? 'marginLeft' : 'marginRight'; - var firstCellStartMargin = this.cells[0].size[ startMargin ]; - var lastCell = this.getLastCell(); - var contentWidth = this.slideableWidth - lastCell.size[ endMargin ]; - var endLimit = contentWidth - this.size.innerWidth * ( 1 - this.cellAlign ); - // content is less than gallery size - var isContentSmaller = contentWidth < this.size.innerWidth; - // contain each cell target - for ( var i=0, len = this.cells.length; i < len; i++ ) { - var cell = this.cells[i]; - // reset default target - cell.setDefaultTarget(); - if ( isContentSmaller ) { - // all cells fit inside gallery - cell.target = contentWidth * this.cellAlign; - } else { - // contain to bounds - cell.target = Math.max( cell.target, this.cursorPosition + firstCellStartMargin ); - cell.target = Math.min( cell.target, endLimit ); - } - } -}; - -// ----- ----- // - -/** - * emits events via eventEmitter and jQuery events - * @param {String} type - name of event - * @param {Event} event - original event - * @param {Array} args - extra arguments - */ -Flickity.prototype.dispatchEvent = function( type, event, args ) { - var emitArgs = [ event ].concat( args ); - this.emitEvent( type, emitArgs ); - - if ( jQuery && this.$element ) { - if ( event ) { - // create jQuery event - var $event = jQuery.Event( event ); - $event.type = type; - this.$element.trigger( $event, args ); - } else { - // just trigger with type if no event available - this.$element.trigger( type, args ); - } - } -}; - -// -------------------------- select -------------------------- // - -/** - * @param {Integer} index - index of the cell - * @param {Boolean} isWrap - will wrap-around to last/first if at the end - */ -Flickity.prototype.select = function( index, isWrap ) { - if ( !this.isActive ) { - return; - } - // wrap position so slider is within normal area - var len = this.cells.length; - if ( this.options.wrapAround && len > 1 ) { - if ( index < 0 ) { - this.x -= this.slideableWidth; - } else if ( index >= len ) { - this.x += this.slideableWidth; - } - } - - if ( this.options.wrapAround || isWrap ) { - index = utils.modulo( index, len ); - } - - if ( this.cells[ index ] ) { - this.selectedIndex = index; - this.setSelectedCell(); - this.startAnimation(); - this.dispatchEvent('cellSelect'); - } -}; - -Flickity.prototype.previous = function( isWrap ) { - this.select( this.selectedIndex - 1, isWrap ); -}; - -Flickity.prototype.next = function( isWrap ) { - this.select( this.selectedIndex + 1, isWrap ); -}; - -Flickity.prototype.setSelectedCell = function() { - this._removeSelectedCellClass(); - this.selectedCell = this.cells[ this.selectedIndex ]; - this.selectedElement = this.selectedCell.element; - classie.add( this.selectedElement, 'is-selected' ); -}; - -Flickity.prototype._removeSelectedCellClass = function() { - if ( this.selectedCell ) { - classie.remove( this.selectedCell.element, 'is-selected' ); - } -}; - -// -------------------------- get cells -------------------------- // - -/** - * get Flickity.Cell, given an Element - * @param {Element} elem - * @returns {Flickity.Cell} item - */ -Flickity.prototype.getCell = function( elem ) { - // loop through cells to get the one that matches - for ( var i=0, len = this.cells.length; i < len; i++ ) { - var cell = this.cells[i]; - if ( cell.element == elem ) { - return cell; - } - } -}; - -/** - * get collection of Flickity.Cells, given Elements - * @param {Element, Array, NodeList} elems - * @returns {Array} cells - Flickity.Cells - */ -Flickity.prototype.getCells = function( elems ) { - elems = utils.makeArray( elems ); - var cells = []; - for ( var i=0, len = elems.length; i < len; i++ ) { - var elem = elems[i]; - var cell = this.getCell( elem ); - if ( cell ) { - cells.push( cell ); - } - } - return cells; -}; - -/** - * get cell elements - * @returns {Array} cellElems - */ -Flickity.prototype.getCellElements = function() { - var cellElems = []; - for ( var i=0, len = this.cells.length; i < len; i++ ) { - cellElems.push( this.cells[i].element ); - } - return cellElems; -}; - -/** - * get parent cell from an element - * @param {Element} elem - * @returns {Flickit.Cell} cell - */ -Flickity.prototype.getParentCell = function( elem ) { - // first check if elem is cell - var cell = this.getCell( elem ); - if ( cell ) { - return cell; - } - // try to get parent cell elem - elem = utils.getParent( elem, '.flickity-slider > *' ); - return this.getCell( elem ); -}; - -// -------------------------- events -------------------------- // - -Flickity.prototype.uiChange = function() { - this.emit('uiChange'); -}; - -Flickity.prototype.childUIPointerDown = function( event ) { - this.emitEvent( 'childUIPointerDown', [ event ] ); -}; - -// ----- resize ----- // - -Flickity.prototype.onresize = function() { - this.watchCSS(); - this.resize(); -}; - -utils.debounceMethod( Flickity, 'onresize', 150 ); - -Flickity.prototype.resize = function() { - if ( !this.isActive ) { - return; - } - this.getSize(); - // wrap values - if ( this.options.wrapAround ) { - this.x = utils.modulo( this.x, this.slideableWidth ); - } - this.positionCells(); - this._getWrapShiftCells(); - this.setGallerySize(); - this.positionSliderAtSelected(); -}; - -var supportsConditionalCSS = Flickity.supportsConditionalCSS = ( function() { - var supports; - return function checkSupport() { - if ( supports !== undefined ) { - return supports; - } - if ( !getComputedStyle ) { - supports = false; - return; - } - // style body's :after and check that - var style = document.createElement('style'); - var cssText = document.createTextNode('body:after { content: "foo"; display: none; }'); - style.appendChild( cssText ); - document.head.appendChild( style ); - var afterContent = getComputedStyle( document.body, ':after' ).content; - // check if able to get :after content - supports = afterContent.indexOf('foo') != -1; - document.head.removeChild( style ); - return supports; - }; -})(); - -// watches the :after property, activates/deactivates -Flickity.prototype.watchCSS = function() { - var watchOption = this.options.watchCSS; - if ( !watchOption ) { - return; - } - var supports = supportsConditionalCSS(); - if ( !supports ) { - // activate if watch option is fallbackOn - var method = watchOption == 'fallbackOn' ? 'activate' : 'deactivate'; - this[ method ](); - return; - } - - var afterContent = getComputedStyle( this.element, ':after' ).content; - // activate if :after { content: 'flickity' } - if ( afterContent.indexOf('flickity') != -1 ) { - this.activate(); - } else { - this.deactivate(); - } -}; - -// ----- keydown ----- // - -// go previous/next if left/right keys pressed -Flickity.prototype.onkeydown = function( event ) { - // only work if element is in focus - if ( !this.options.accessibility || - ( document.activeElement && document.activeElement != this.element ) ) { - return; - } - - if ( event.keyCode == 37 ) { - // go left - var leftMethod = this.options.rightToLeft ? 'next' : 'previous'; - this.uiChange(); - this[ leftMethod ](); - } else if ( event.keyCode == 39 ) { - // go right - var rightMethod = this.options.rightToLeft ? 'previous' : 'next'; - this.uiChange(); - this[ rightMethod ](); - } -}; - -// -------------------------- destroy -------------------------- // - -// deactivate all Flickity functionality, but keep stuff available -Flickity.prototype.deactivate = function() { - if ( !this.isActive ) { - return; - } - classie.remove( this.element, 'flickity-enabled' ); - classie.remove( this.element, 'flickity-rtl' ); - // destroy cells - for ( var i=0, len = this.cells.length; i < len; i++ ) { - var cell = this.cells[i]; - cell.destroy(); - } - this._removeSelectedCellClass(); - this.element.removeChild( this.viewport ); - // move child elements back into element - moveElements( this.slider.children, this.element ); - if ( this.options.accessibility ) { - this.element.removeAttribute('tabIndex'); - eventie.unbind( this.element, 'keydown', this ); - } - // set flags - this.isActive = false; - this.emit('deactivate'); -}; - -Flickity.prototype.destroy = function() { - this.deactivate(); - if ( this.isResizeBound ) { - eventie.unbind( window, 'resize', this ); - } - this.emit('destroy'); - if ( jQuery && this.$element ) { - jQuery.removeData( this.element, 'flickity' ); - } - delete this.element.flickityGUID; - delete instances[ this.guid ]; -}; - -// -------------------------- prototype -------------------------- // - -utils.extend( Flickity.prototype, animatePrototype ); - -// -------------------------- extras -------------------------- // - -// quick check for IE8 -var isIE8 = 'attachEvent' in window; - -Flickity.setUnselectable = function( elem ) { - if ( !isIE8 ) { - return; - } - // IE8 prevent child from changing focus http://stackoverflow.com/a/17525223/182183 - elem.setAttribute( 'unselectable', 'on' ); -}; - -/** - * get Flickity instance from element - * @param {Element} elem - * @returns {Flickity} - */ -Flickity.data = function( elem ) { - elem = utils.getQueryElement( elem ); - var id = elem && elem.flickityGUID; - return id && instances[ id ]; -}; - -utils.htmlInit( Flickity, 'flickity' ); - -if ( jQuery && jQuery.bridget ) { - jQuery.bridget( 'flickity', Flickity ); -} - -Flickity.Cell = Cell; - -return Flickity; - -})); - -/*! - * Unipointer v1.1.0 - * base class for doing one thing with pointer event - * MIT license - */ - -/*jshint browser: true, undef: true, unused: true, strict: true */ -/*global define: false, module: false, require: false */ - -( function( window, factory ) { - - // universal module definition - - if ( typeof define == 'function' && define.amd ) { - // AMD - define( 'unipointer/unipointer',[ - 'eventEmitter/EventEmitter', - 'eventie/eventie' - ], function( EventEmitter, eventie ) { - return factory( window, EventEmitter, eventie ); - }); - } else if ( typeof exports == 'object' ) { - // CommonJS - module.exports = factory( - window, - require('wolfy87-eventemitter'), - require('eventie') - ); - } else { - // browser global - window.Unipointer = factory( - window, - window.EventEmitter, - window.eventie - ); - } - -}( window, function factory( window, EventEmitter, eventie ) { - - - -function noop() {} - -function Unipointer() {} - -// inherit EventEmitter -Unipointer.prototype = new EventEmitter(); - -Unipointer.prototype.bindStartEvent = function( elem ) { - this._bindStartEvent( elem, true ); -}; - -Unipointer.prototype.unbindStartEvent = function( elem ) { - this._bindStartEvent( elem, false ); -}; - -/** - * works as unbinder, as you can ._bindStart( false ) to unbind - * @param {Boolean} isBind - will unbind if falsey - */ -Unipointer.prototype._bindStartEvent = function( elem, isBind ) { - // munge isBind, default to true - isBind = isBind === undefined ? true : !!isBind; - var bindMethod = isBind ? 'bind' : 'unbind'; - - if ( window.navigator.pointerEnabled ) { - // W3C Pointer Events, IE11. See https://coderwall.com/p/mfreca - eventie[ bindMethod ]( elem, 'pointerdown', this ); - } else if ( window.navigator.msPointerEnabled ) { - // IE10 Pointer Events - eventie[ bindMethod ]( elem, 'MSPointerDown', this ); - } else { - // listen for both, for devices like Chrome Pixel - eventie[ bindMethod ]( elem, 'mousedown', this ); - eventie[ bindMethod ]( elem, 'touchstart', this ); - } -}; - -// trigger handler methods for events -Unipointer.prototype.handleEvent = function( event ) { - var method = 'on' + event.type; - if ( this[ method ] ) { - this[ method ]( event ); - } -}; - -// returns the touch that we're keeping track of -Unipointer.prototype.getTouch = function( touches ) { - for ( var i=0, len = touches.length; i < len; i++ ) { - var touch = touches[i]; - if ( touch.identifier == this.pointerIdentifier ) { - return touch; - } - } -}; - -// ----- start event ----- // - -Unipointer.prototype.onmousedown = function( event ) { - // dismiss clicks from right or middle buttons - var button = event.button; - if ( button && ( button !== 0 && button !== 1 ) ) { - return; - } - this._pointerDown( event, event ); -}; - -Unipointer.prototype.ontouchstart = function( event ) { - this._pointerDown( event, event.changedTouches[0] ); -}; - -Unipointer.prototype.onMSPointerDown = -Unipointer.prototype.onpointerdown = function( event ) { - this._pointerDown( event, event ); -}; - -/** - * pointer start - * @param {Event} event - * @param {Event or Touch} pointer - */ -Unipointer.prototype._pointerDown = function( event, pointer ) { - // dismiss other pointers - if ( this.isPointerDown ) { - return; - } - - this.isPointerDown = true; - // save pointer identifier to match up touch events - this.pointerIdentifier = pointer.pointerId !== undefined ? - // pointerId for pointer events, touch.indentifier for touch events - pointer.pointerId : pointer.identifier; - - this.pointerDown( event, pointer ); -}; - -Unipointer.prototype.pointerDown = function( event, pointer ) { - this._bindPostStartEvents( event ); - this.emitEvent( 'pointerDown', [ event, pointer ] ); -}; - -// hash of events to be bound after start event -var postStartEvents = { - mousedown: [ 'mousemove', 'mouseup' ], - touchstart: [ 'touchmove', 'touchend', 'touchcancel' ], - pointerdown: [ 'pointermove', 'pointerup', 'pointercancel' ], - MSPointerDown: [ 'MSPointerMove', 'MSPointerUp', 'MSPointerCancel' ] -}; - -Unipointer.prototype._bindPostStartEvents = function( event ) { - if ( !event ) { - return; - } - // get proper events to match start event - var events = postStartEvents[ event.type ]; - // IE8 needs to be bound to document - var node = event.preventDefault ? window : document; - // bind events to node - for ( var i=0, len = events.length; i < len; i++ ) { - var evnt = events[i]; - eventie.bind( node, evnt, this ); - } - // save these arguments - this._boundPointerEvents = { - events: events, - node: node - }; -}; - -Unipointer.prototype._unbindPostStartEvents = function() { - var args = this._boundPointerEvents; - // IE8 can trigger dragEnd twice, check for _boundEvents - if ( !args || !args.events ) { - return; - } - - for ( var i=0, len = args.events.length; i < len; i++ ) { - var event = args.events[i]; - eventie.unbind( args.node, event, this ); - } - delete this._boundPointerEvents; -}; - -// ----- move event ----- // - -Unipointer.prototype.onmousemove = function( event ) { - this._pointerMove( event, event ); -}; - -Unipointer.prototype.onMSPointerMove = -Unipointer.prototype.onpointermove = function( event ) { - if ( event.pointerId == this.pointerIdentifier ) { - this._pointerMove( event, event ); - } -}; - -Unipointer.prototype.ontouchmove = function( event ) { - var touch = this.getTouch( event.changedTouches ); - if ( touch ) { - this._pointerMove( event, touch ); - } -}; - -/** - * pointer move - * @param {Event} event - * @param {Event or Touch} pointer - * @private - */ -Unipointer.prototype._pointerMove = function( event, pointer ) { - this.pointerMove( event, pointer ); -}; - -// public -Unipointer.prototype.pointerMove = function( event, pointer ) { - this.emitEvent( 'pointerMove', [ event, pointer ] ); -}; - -// ----- end event ----- // - - -Unipointer.prototype.onmouseup = function( event ) { - this._pointerUp( event, event ); -}; - -Unipointer.prototype.onMSPointerUp = -Unipointer.prototype.onpointerup = function( event ) { - if ( event.pointerId == this.pointerIdentifier ) { - this._pointerUp( event, event ); - } -}; - -Unipointer.prototype.ontouchend = function( event ) { - var touch = this.getTouch( event.changedTouches ); - if ( touch ) { - this._pointerUp( event, touch ); - } -}; - -/** - * pointer up - * @param {Event} event - * @param {Event or Touch} pointer - * @private - */ -Unipointer.prototype._pointerUp = function( event, pointer ) { - this._pointerDone(); - this.pointerUp( event, pointer ); -}; - -// public -Unipointer.prototype.pointerUp = function( event, pointer ) { - this.emitEvent( 'pointerUp', [ event, pointer ] ); -}; - -// ----- pointer done ----- // - -// triggered on pointer up & pointer cancel -Unipointer.prototype._pointerDone = function() { - // reset properties - this.isPointerDown = false; - delete this.pointerIdentifier; - // remove events - this._unbindPostStartEvents(); - this.pointerDone(); -}; - -Unipointer.prototype.pointerDone = noop; - -// ----- pointer cancel ----- // - -Unipointer.prototype.onMSPointerCancel = -Unipointer.prototype.onpointercancel = function( event ) { - if ( event.pointerId == this.pointerIdentifier ) { - this._pointerCancel( event, event ); - } -}; - -Unipointer.prototype.ontouchcancel = function( event ) { - var touch = this.getTouch( event.changedTouches ); - if ( touch ) { - this._pointerCancel( event, touch ); - } -}; - -/** - * pointer cancel - * @param {Event} event - * @param {Event or Touch} pointer - * @private - */ -Unipointer.prototype._pointerCancel = function( event, pointer ) { - this._pointerDone(); - this.pointerCancel( event, pointer ); -}; - -// public -Unipointer.prototype.pointerCancel = function( event, pointer ) { - this.emitEvent( 'pointerCancel', [ event, pointer ] ); -}; - -// ----- ----- // - -// utility function for getting x/y cooridinates from event, because IE8 -Unipointer.getPointerPoint = function( pointer ) { - return { - x: pointer.pageX !== undefined ? pointer.pageX : pointer.clientX, - y: pointer.pageY !== undefined ? pointer.pageY : pointer.clientY - }; -}; - -// ----- ----- // - -return Unipointer; - -})); - -/*! - * Unidragger v1.1.3 - * Draggable base class - * MIT license - */ - -/*jshint browser: true, unused: true, undef: true, strict: true */ - -( function( window, factory ) { - /*global define: false, module: false, require: false */ - - // universal module definition - - if ( typeof define == 'function' && define.amd ) { - // AMD - define( 'unidragger/unidragger',[ - 'eventie/eventie', - 'unipointer/unipointer' - ], function( eventie, Unipointer ) { - return factory( window, eventie, Unipointer ); - }); - } else if ( typeof exports == 'object' ) { - // CommonJS - module.exports = factory( - window, - require('eventie'), - require('unipointer') - ); - } else { - // browser global - window.Unidragger = factory( - window, - window.eventie, - window.Unipointer - ); - } - -}( window, function factory( window, eventie, Unipointer ) { - - - -// ----- ----- // - -function noop() {} - -// handle IE8 prevent default -function preventDefaultEvent( event ) { - if ( event.preventDefault ) { - event.preventDefault(); - } else { - event.returnValue = false; - } -} - -// -------------------------- Unidragger -------------------------- // - -function Unidragger() {} - -// inherit Unipointer & EventEmitter -Unidragger.prototype = new Unipointer(); - -// ----- bind start ----- // - -Unidragger.prototype.bindHandles = function() { - this._bindHandles( true ); -}; - -Unidragger.prototype.unbindHandles = function() { - this._bindHandles( false ); -}; - -var navigator = window.navigator; -/** - * works as unbinder, as you can .bindHandles( false ) to unbind - * @param {Boolean} isBind - will unbind if falsey - */ -Unidragger.prototype._bindHandles = function( isBind ) { - // munge isBind, default to true - isBind = isBind === undefined ? true : !!isBind; - // extra bind logic - var binderExtra; - if ( navigator.pointerEnabled ) { - binderExtra = function( handle ) { - // disable scrolling on the element - handle.style.touchAction = isBind ? 'none' : ''; - }; - } else if ( navigator.msPointerEnabled ) { - binderExtra = function( handle ) { - // disable scrolling on the element - handle.style.msTouchAction = isBind ? 'none' : ''; - }; - } else { - binderExtra = function() { - // TODO re-enable img.ondragstart when unbinding - if ( isBind ) { - disableImgOndragstart( handle ); - } - }; - } - // bind each handle - var bindMethod = isBind ? 'bind' : 'unbind'; - for ( var i=0, len = this.handles.length; i < len; i++ ) { - var handle = this.handles[i]; - this._bindStartEvent( handle, isBind ); - binderExtra( handle ); - eventie[ bindMethod ]( handle, 'click', this ); - } -}; - -// remove default dragging interaction on all images in IE8 -// IE8 does its own drag thing on images, which messes stuff up - -function noDragStart() { - return false; -} - -// TODO replace this with a IE8 test -var isIE8 = 'attachEvent' in document.documentElement; - -// IE8 only -var disableImgOndragstart = !isIE8 ? noop : function( handle ) { - - if ( handle.nodeName == 'IMG' ) { - handle.ondragstart = noDragStart; - } - - var images = handle.querySelectorAll('img'); - for ( var i=0, len = images.length; i < len; i++ ) { - var img = images[i]; - img.ondragstart = noDragStart; - } -}; - -// ----- start event ----- // - -/** - * pointer start - * @param {Event} event - * @param {Event or Touch} pointer - */ -Unidragger.prototype.pointerDown = function( event, pointer ) { - this._dragPointerDown( event, pointer ); - // kludge to blur focused inputs in dragger - var focused = document.activeElement; - if ( focused && focused.blur ) { - focused.blur(); - } - // bind move and end events - this._bindPostStartEvents( event ); - this.emitEvent( 'pointerDown', [ event, pointer ] ); -}; - -// base pointer down logic -Unidragger.prototype._dragPointerDown = function( event, pointer ) { - // track to see when dragging starts - this.pointerDownPoint = Unipointer.getPointerPoint( pointer ); - - // prevent default, unless touchstart or s and ",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";k.focusinBubbles="onfocusin"in a;var V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof n!==U&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,p=[d||l],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):[];if(g=h=d=d||l,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},e||!o.trigger||o.trigger.apply(d,c)!==!1)){if(!e&&!o.noBubble&&!n.isWindow(d)){for(i=o.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:o.bindType||q,m=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),m&&m.apply(g,c),m=k&&g[k],m&&m.apply&&n.acceptData(g)&&(b.result=m.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!n.acceptData(d)||k&&n.isFunction(d[q])&&!n.isWindow(d)&&(h=d[k],h&&(d[k]=null),n.event.triggered=q,d[q](),n.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>=0:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]*)\/>/gi,ba=/<([\w:]+)/,ca=/<|&#?\w+;/,da=/<(?:script|style|link)/i,ea=/checked\s*(?:[^=]|=\s*.checked.)/i,fa=/^$|\/(?:java|ecma)script/i,ga=/^true\/(.*)/,ha=/^\s*\s*$/g,ia={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};ia.optgroup=ia.option,ia.tbody=ia.tfoot=ia.colgroup=ia.caption=ia.thead,ia.th=ia.td;function ja(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function ka(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function la(a){var b=ga.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function ma(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function na(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=n.extend({},h),M.set(b,i))}}function oa(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function pa(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=oa(h),f=oa(a),d=0,e=f.length;e>d;d++)pa(f[d],g[d]);if(b)if(c)for(f=f||oa(a),g=g||oa(h),d=0,e=f.length;e>d;d++)na(f[d],g[d]);else na(a,h);return g=oa(h,"script"),g.length>0&&ma(g,!i&&oa(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,o=a.length;o>m;m++)if(e=a[m],e||0===e)if("object"===n.type(e))n.merge(l,e.nodeType?[e]:e);else if(ca.test(e)){f=f||k.appendChild(b.createElement("div")),g=(ba.exec(e)||["",""])[1].toLowerCase(),h=ia[g]||ia._default,f.innerHTML=h[1]+e.replace(aa,"<$1>")+h[2],j=h[0];while(j--)f=f.lastChild;n.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===n.inArray(e,d))&&(i=n.contains(e.ownerDocument,e),f=oa(k.appendChild(e),"script"),i&&ma(f),c)){j=0;while(e=f[j++])fa.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f=n.event.special,g=0;void 0!==(c=a[g]);g++){if(n.acceptData(c)&&(e=c[L.expando],e&&(b=L.cache[e]))){if(b.events)for(d in b.events)f[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cache[e]&&delete L.cache[e]}delete M.cache[c[M.expando]]}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=ja(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=ja(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(oa(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&ma(oa(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(oa(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!da.test(a)&&!ia[(ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(aa,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(oa(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(oa(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,m=this,o=l-1,p=a[0],q=n.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&ea.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(c=n.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=n.map(oa(c,"script"),ka),g=f.length;l>j;j++)h=c,j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,oa(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,n.map(f,la),j=0;g>j;j++)h=f[j],fa.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(ha,"")))}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),g=e.length-1,h=0;g>=h;h++)c=h===g?this:this.clone(!0),n(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qa,ra={};function sa(b,c){var d,e=n(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:n.css(e[0],"display");return e.detach(),f}function ta(a){var b=l,c=ra[a];return c||(c=sa(a,b),"none"!==c&&c||(qa=(qa||n("