@yoobic/yobi 7.7.49 → 7.7.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{assign-57a9b62c.js → assign-bc4598ad.js} +1 -1
- package/dist/cjs/design-system.cjs.js +1 -1
- package/dist/cjs/{form-helpers-e80214cd.js → form-helpers-30c410ec.js} +3 -2
- package/dist/cjs/{form-helpers-6b5129aa.js → form-helpers-47f6e7bf.js} +1 -1
- package/dist/cjs/{grid-renderers-443a0f25.js → grid-renderers-65d3c347.js} +5 -5
- package/dist/cjs/{index-806c612f.js → index-223b7476.js} +19 -5
- package/dist/cjs/{index-b32ffe66.js → index-ce0bfe40.js} +7 -6
- package/dist/cjs/index.cjs.js +5 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-363505c4.js +54 -0
- package/dist/cjs/{map-helpers-4236978f.js → map-helpers-a0ce842f.js} +3 -2
- package/dist/cjs/{sortBy-2b9c29d2.js → sortBy-f3be5f01.js} +2 -51
- package/dist/cjs/yoo-action-sheet-controller_15.cjs.entry.js +7 -6
- package/dist/cjs/yoo-ag-grid_96.cjs.entry.js +39 -26
- package/dist/cjs/yoo-alert.cjs.entry.js +5 -4
- package/dist/cjs/yoo-camera-preview-dialog_7.cjs.entry.js +6 -5
- package/dist/cjs/yoo-card-list-image_12.cjs.entry.js +6 -5
- package/dist/cjs/yoo-entity-search.cjs.entry.js +19 -1
- package/dist/cjs/yoo-form-choice_4.cjs.entry.js +4 -3
- package/dist/cjs/yoo-form-creator-block-expandable.cjs.entry.js +6 -5
- package/dist/cjs/yoo-form-creator-block-simple_4.cjs.entry.js +5 -4
- package/dist/cjs/yoo-form-creator-card_2.cjs.entry.js +6 -5
- package/dist/cjs/yoo-form-creator-field-selector_8.cjs.entry.js +5 -4
- package/dist/cjs/yoo-form-creator-translate-dialog.cjs.entry.js +6 -5
- package/dist/cjs/yoo-form-creator.cjs.entry.js +5 -4
- package/dist/cjs/yoo-form-json.cjs.entry.js +6 -5
- package/dist/cjs/yoo-form-recurrence.cjs.entry.js +1 -1
- package/dist/cjs/yoo-ion-modal.cjs.entry.js +1 -1
- package/dist/cjs/yoo-lesson-question-result.cjs.entry.js +5 -4
- package/dist/cjs/yoo-location-map.cjs.entry.js +3 -2
- package/dist/collection/components/3.organisms/photo-editor/photo-editor.js +18 -11
- package/dist/collection/components/entities/entity-search/entity-search.js +11 -2
- package/dist/collection/components/form/form-dynamic/form-dynamic.js +26 -2
- package/dist/collection/components/form/form-recurrence-preview/form-recurrence-preview.js +3 -4
- package/dist/collection/components/form/form-text-area/form-text-area.js +0 -1
- package/dist/collection/components/form-creator/helpers/index.js +18 -4
- package/dist/collection/components/ionic/modal/modal.css +4 -0
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/p-0060986c.js +1 -0
- package/dist/design-system/{p-1cd04bb5.js → p-019a24cf.js} +1 -1
- package/dist/design-system/{p-59fad719.entry.js → p-02ee7af0.entry.js} +1 -1
- package/dist/design-system/{p-f6490c05.entry.js → p-02ff369c.entry.js} +1 -1
- package/dist/design-system/{p-4ef9400b.entry.js → p-03a6a0f4.entry.js} +1 -1
- package/dist/design-system/{p-47a6d1d9.entry.js → p-042cb0e2.entry.js} +1 -1
- package/dist/design-system/p-059ac2e2.entry.js +1 -0
- package/dist/design-system/{p-ae05fe27.entry.js → p-068f1505.entry.js} +1 -1
- package/dist/design-system/{p-1672d442.entry.js → p-06e889b5.entry.js} +1 -1
- package/dist/design-system/p-07ba9865.js +1 -0
- package/dist/design-system/p-0b17133e.entry.js +1 -0
- package/dist/design-system/{p-8e965cb3.js → p-0be5546a.js} +1 -1
- package/dist/design-system/{p-b9c75d60.entry.js → p-0c342bed.entry.js} +1 -1
- package/dist/design-system/{p-91cf7ebf.entry.js → p-0cd044ee.entry.js} +1 -1
- package/dist/design-system/{p-9b473687.entry.js → p-0cd2784d.entry.js} +1 -1
- package/dist/design-system/p-0d7c153b.js +1 -0
- package/dist/design-system/{p-0f4233e8.entry.js → p-0dd9a03a.entry.js} +1 -1
- package/dist/design-system/{p-a34d3ec7.entry.js → p-0e61bdda.entry.js} +1 -1
- package/dist/design-system/p-0eeff633.js +1 -0
- package/dist/design-system/{p-fa40043f.entry.js → p-112f93a9.entry.js} +1 -1
- package/dist/design-system/p-1172189e.js +1 -0
- package/dist/design-system/{p-5d3cca5a.entry.js → p-11a5369b.entry.js} +1 -1
- package/dist/design-system/p-11c1539c.js +1 -0
- package/dist/design-system/p-1204425c.js +1 -0
- package/dist/design-system/{p-7be0238e.entry.js → p-12196da3.entry.js} +1 -1
- package/dist/design-system/{p-6971ba3f.js → p-124df287.js} +1 -1
- package/dist/design-system/p-15ed5241.entry.js +1 -0
- package/dist/design-system/{p-fdc4b198.entry.js → p-1607a1a2.entry.js} +1 -1
- package/dist/design-system/{p-e2748670.entry.js → p-16bfb33c.entry.js} +1 -1
- package/dist/design-system/p-1702869d.js +1 -0
- package/dist/design-system/p-17725ebc.js +1 -0
- package/dist/design-system/p-177ba92d.js +1 -0
- package/dist/design-system/{p-25b8ed15.js → p-18775eb0.js} +1 -1
- package/dist/design-system/{p-09088888.js → p-19d8f114.js} +5 -5
- package/dist/design-system/{p-6951852d.entry.js → p-1a163a9d.entry.js} +1 -1
- package/dist/design-system/{p-8befe926.entry.js → p-1a738cd0.entry.js} +1 -1
- package/dist/design-system/p-1b559fa6.js +1 -0
- package/dist/design-system/{p-bb288703.entry.js → p-1bc6d42e.entry.js} +1 -1
- package/dist/design-system/{p-f41af57e.js → p-1c08568a.js} +1 -1
- package/dist/design-system/{p-d2cdf8e0.entry.js → p-1d8ba7bc.entry.js} +1 -1
- package/dist/design-system/{p-b4340e49.entry.js → p-1dc6767b.entry.js} +1 -1
- package/dist/design-system/p-1ebe4089.entry.js +1 -0
- package/dist/design-system/p-1f261d4c.js +1 -0
- package/dist/design-system/p-20cc1c47.js +1 -0
- package/dist/design-system/{p-dd0ae57a.entry.js → p-21066ff5.entry.js} +1 -1
- package/dist/design-system/{p-b9f66c2f.entry.js → p-227f7abe.entry.js} +1 -1
- package/dist/design-system/{p-c365630e.entry.js → p-23186d24.entry.js} +1 -1
- package/dist/design-system/{p-1a3440c7.js → p-23e84350.js} +1 -1
- package/dist/design-system/{p-96180911.entry.js → p-24016615.entry.js} +1 -1
- package/dist/design-system/p-25370be3.js +1 -0
- package/dist/design-system/{p-51e8c697.entry.js → p-2729d601.entry.js} +1 -1
- package/dist/design-system/{p-5bacada5.entry.js → p-277ef7b3.entry.js} +1 -1
- package/dist/design-system/p-27997e84.js +1 -0
- package/dist/design-system/{p-3811dc7f.entry.js → p-279cf309.entry.js} +1 -1
- package/dist/design-system/{p-623e854e.entry.js → p-28dd0214.entry.js} +1 -1
- package/dist/design-system/p-29c58db4.js +1 -0
- package/dist/design-system/{p-061bf8c1.js → p-2a5602df.js} +1 -1
- package/dist/design-system/{p-b14d4b17.entry.js → p-2b96f714.entry.js} +1 -1
- package/dist/design-system/{p-82a609d3.js → p-2bba4b4f.js} +1 -1
- package/dist/design-system/p-2c913a6a.js +1 -0
- package/dist/design-system/{p-15d53306.entry.js → p-2d262c81.entry.js} +1 -1
- package/dist/design-system/{p-677efc78.entry.js → p-2e9fb562.entry.js} +1 -1
- package/dist/design-system/{p-5cc2b61a.entry.js → p-2f35d58e.entry.js} +1 -1
- package/dist/design-system/{p-f605c8fc.entry.js → p-2fefc021.entry.js} +1 -1
- package/dist/design-system/{p-17ca9bca.js → p-310e8865.js} +1 -1
- package/dist/design-system/{p-a534c84a.entry.js → p-318ea14c.entry.js} +1 -1
- package/dist/design-system/{p-93b4f90f.entry.js → p-378108f3.entry.js} +1 -1
- package/dist/design-system/{p-82dd209f.entry.js → p-396d6dff.entry.js} +1 -1
- package/dist/design-system/p-398c55f5.entry.js +1 -0
- package/dist/design-system/{p-ad1200d2.entry.js → p-3aad6a4c.entry.js} +1 -1
- package/dist/design-system/{p-9f440b72.entry.js → p-3ba4c2e4.entry.js} +1 -1
- package/dist/design-system/{p-2e351be9.js → p-4089d118.js} +1 -1
- package/dist/design-system/{p-1ee2bce1.entry.js → p-416dc9bd.entry.js} +1 -1
- package/dist/design-system/{p-54ff1147.js → p-418dda66.js} +1 -1
- package/dist/design-system/{p-f8487a92.entry.js → p-41ff3186.entry.js} +1 -1
- package/dist/design-system/{p-42bc0e1a.entry.js → p-450b078f.entry.js} +1 -1
- package/dist/design-system/p-47afdb3f.js +1 -0
- package/dist/design-system/{p-a3603fda.entry.js → p-47edb3db.entry.js} +1 -1
- package/dist/design-system/{p-e960fda6.entry.js → p-48b4c511.entry.js} +1 -1
- package/dist/design-system/{p-4f306782.js → p-49275520.js} +1 -1
- package/dist/design-system/{p-7af0cb81.entry.js → p-49f4f443.entry.js} +1 -1
- package/dist/design-system/p-4aadd54d.js +1 -0
- package/dist/design-system/{p-ac1ebcda.entry.js → p-4ad4d792.entry.js} +1 -1
- package/dist/design-system/{p-1993fe3d.entry.js → p-4b0859d1.entry.js} +1 -1
- package/dist/design-system/{p-5d188f8a.js → p-4b23206d.js} +1 -1
- package/dist/design-system/{p-a809b5bd.entry.js → p-4c7e9052.entry.js} +1 -1
- package/dist/design-system/{p-9589f852.entry.js → p-4d216315.entry.js} +1 -1
- package/dist/design-system/{p-befc3844.entry.js → p-4d45014e.entry.js} +1 -1
- package/dist/design-system/p-4edcb1de.js +1 -0
- package/dist/design-system/p-4edddab8.js +1 -0
- package/dist/design-system/{p-87219e7d.entry.js → p-4f9c1a23.entry.js} +1 -1
- package/dist/design-system/p-504a56f3.entry.js +1 -0
- package/dist/design-system/p-50aff9a3.js +1 -0
- package/dist/design-system/{p-687dec7e.entry.js → p-5108a706.entry.js} +1 -1
- package/dist/design-system/{p-e8f810a2.entry.js → p-51729d36.entry.js} +1 -1
- package/dist/design-system/p-52de7bcf.js +1 -0
- package/dist/design-system/{p-c82876d6.entry.js → p-57048705.entry.js} +1 -1
- package/dist/design-system/p-5736a4cd.js +1 -0
- package/dist/design-system/p-595ba1b2.entry.js +1 -0
- package/dist/design-system/p-5c394ac9.js +1 -0
- package/dist/design-system/{p-17c1b96f.entry.js → p-5c818f69.entry.js} +1 -1
- package/dist/design-system/{p-2cf40274.entry.js → p-5d71e69f.entry.js} +1 -1
- package/dist/design-system/p-5f9657a7.entry.js +1 -0
- package/dist/design-system/{p-c2f3172f.entry.js → p-6053512a.entry.js} +1 -1
- package/dist/design-system/{p-4a7ab005.entry.js → p-614d4f60.entry.js} +1 -1
- package/dist/design-system/{p-3af58d00.entry.js → p-62d098e0.entry.js} +1 -1
- package/dist/design-system/{p-c6cea3f1.entry.js → p-635eec78.entry.js} +1 -1
- package/dist/design-system/{p-5006d12d.entry.js → p-63c32a83.entry.js} +1 -1
- package/dist/design-system/{p-716336bf.js → p-64755ed5.js} +1 -1
- package/dist/design-system/{p-2b66cf58.entry.js → p-64bb2056.entry.js} +1 -1
- package/dist/design-system/{p-3b7e52ee.js → p-661f50d9.js} +1 -1
- package/dist/design-system/{p-f9395d7d.entry.js → p-66d9c6b9.entry.js} +1 -1
- package/dist/design-system/{p-672e406b.entry.js → p-6889d2e0.entry.js} +1 -1
- package/dist/design-system/{p-e2c1b9f3.entry.js → p-689d9787.entry.js} +1 -1
- package/dist/design-system/{p-d96648b1.entry.js → p-69c58fc8.entry.js} +1 -1
- package/dist/design-system/{p-2ba590a2.entry.js → p-6c42bb19.entry.js} +1 -1
- package/dist/design-system/p-6cc37343.entry.js +1 -0
- package/dist/design-system/{p-74183731.js → p-6db39db2.js} +1 -1
- package/dist/design-system/{p-9990101f.entry.js → p-6eae189d.entry.js} +1 -1
- package/dist/design-system/{p-f198e8f9.entry.js → p-6eedc94c.entry.js} +1 -1
- package/dist/design-system/{p-c713539c.entry.js → p-6ef71c38.entry.js} +1 -1
- package/dist/design-system/p-72bae99d.js +1 -0
- package/dist/design-system/{p-600c93e0.entry.js → p-74b4bd1e.entry.js} +1 -1
- package/dist/design-system/p-74c2a7c8.js +1 -0
- package/dist/design-system/{p-da2ddaa6.entry.js → p-74fc7279.entry.js} +1 -1
- package/dist/design-system/{p-36dacbe8.js → p-7515fcd3.js} +1 -1
- package/dist/design-system/{p-d1ee4bac.entry.js → p-7586ee27.entry.js} +1 -1
- package/dist/design-system/{p-2d00eb09.entry.js → p-76b87aa5.entry.js} +1 -1
- package/dist/design-system/p-76ce0063.js +1 -0
- package/dist/design-system/{p-8352f857.entry.js → p-7860391c.entry.js} +1 -1
- package/dist/design-system/{p-966f7b7c.js → p-7894e5f2.js} +1 -1
- package/dist/design-system/{p-833d66d5.entry.js → p-7a88aadf.entry.js} +1 -1
- package/dist/design-system/p-7a9b64a4.js +1 -0
- package/dist/design-system/p-7abfa5a8.js +1 -0
- package/dist/design-system/p-7ac2684d.js +1 -0
- package/dist/design-system/p-7d68becc.entry.js +1 -0
- package/dist/design-system/{p-9719dd70.entry.js → p-7daa7152.entry.js} +1 -1
- package/dist/design-system/p-804057dd.entry.js +1 -0
- package/dist/design-system/{p-5a6a13cd.entry.js → p-814619e5.entry.js} +1 -1
- package/dist/design-system/{p-cef3e535.js → p-82c65999.js} +1 -1
- package/dist/design-system/{p-fb084ca9.entry.js → p-831b384b.entry.js} +1 -1
- package/dist/design-system/p-832542cd.js +1 -0
- package/dist/design-system/{p-8d5254c0.js → p-83265eae.js} +1 -1
- package/dist/design-system/{p-7e6061fd.entry.js → p-83aebd2d.entry.js} +1 -1
- package/dist/design-system/{p-a0ddfd0f.js → p-83b87b2a.js} +1 -1
- package/dist/design-system/p-83eb4683.js +1 -0
- package/dist/design-system/{p-305aa61d.entry.js → p-84aaafa9.entry.js} +1 -1
- package/dist/design-system/p-862c0db3.js +1 -0
- package/dist/design-system/{p-ed9900a6.js → p-863927e6.js} +1 -1
- package/dist/design-system/p-875acebb.js +1 -0
- package/dist/design-system/{p-34403e37.entry.js → p-8937101c.entry.js} +1 -1
- package/dist/design-system/{p-b735c3a4.entry.js → p-8ac03169.entry.js} +1 -1
- package/dist/design-system/p-8b3a1a0b.js +1 -0
- package/dist/design-system/{p-434dbb2f.entry.js → p-8c1b195e.entry.js} +1 -1
- package/dist/design-system/{p-bfad7ead.entry.js → p-8c61d1fd.entry.js} +1 -1
- package/dist/design-system/{p-828f4295.entry.js → p-8d44a065.entry.js} +1 -1
- package/dist/design-system/{p-2582ec0a.entry.js → p-9042a582.entry.js} +1 -1
- package/dist/design-system/p-929c688c.js +1 -0
- package/dist/design-system/{p-faf6f891.entry.js → p-95afe46d.entry.js} +1 -1
- package/dist/design-system/{p-c457bdfd.entry.js → p-9662a781.entry.js} +1 -1
- package/dist/design-system/{p-fdfa0bff.entry.js → p-969def8b.entry.js} +1 -1
- package/dist/design-system/{p-52211c65.entry.js → p-9862ba45.entry.js} +1 -1
- package/dist/design-system/{p-adf241a2.entry.js → p-989f4d32.entry.js} +1 -1
- package/dist/design-system/{p-f89c0486.js → p-98b1c43d.js} +1 -1
- package/dist/design-system/{p-f560a0fd.entry.js → p-99e97ac2.entry.js} +1 -1
- package/dist/design-system/{p-2ed44cf9.entry.js → p-9a77523c.entry.js} +1 -1
- package/dist/design-system/p-9a8bf78e.js +1 -0
- package/dist/design-system/{p-da132686.entry.js → p-9b6dfedd.entry.js} +1 -1
- package/dist/design-system/{p-396b04dc.entry.js → p-9b9b1c00.entry.js} +3 -3
- package/dist/design-system/{p-4f727e89.entry.js → p-9c077142.entry.js} +1 -1
- package/dist/design-system/{p-e560bd90.entry.js → p-9c0a8155.entry.js} +1 -1
- package/dist/design-system/{p-04650974.entry.js → p-9d082b0a.entry.js} +1 -1
- package/dist/design-system/{p-cbb5d6b6.entry.js → p-9e80c9c3.entry.js} +1 -1
- package/dist/design-system/{p-b00e3673.entry.js → p-9efa579e.entry.js} +1 -1
- package/dist/design-system/{p-2de7b03a.js → p-a22794ba.js} +1 -1
- package/dist/design-system/{p-0328d9e0.js → p-a3174f1c.js} +1 -1
- package/dist/design-system/p-a3869e67.js +1 -0
- package/dist/design-system/{p-423dea0b.js → p-a3c191a0.js} +1 -1
- package/dist/design-system/p-a6dcc586.entry.js +1 -0
- package/dist/design-system/p-a78af5bc.js +1 -0
- package/dist/design-system/p-a7da7c92.js +1 -0
- package/dist/design-system/p-a7e54903.js +1 -0
- package/dist/design-system/{p-a8ebee01.entry.js → p-aaa84961.entry.js} +1 -1
- package/dist/design-system/p-aba38b90.entry.js +1 -0
- package/dist/design-system/{p-b81df2f9.entry.js → p-ad36c101.entry.js} +1 -1
- package/dist/design-system/p-ae2e6dd1.js +1 -0
- package/dist/design-system/{p-aca52e7a.entry.js → p-ae48c4c2.entry.js} +1 -1
- package/dist/design-system/p-af1598df.js +1 -0
- package/dist/design-system/{p-cda5c352.entry.js → p-af4f6ced.entry.js} +1 -1
- package/dist/design-system/{p-789dd24a.entry.js → p-b32f08cb.entry.js} +1 -1
- package/dist/design-system/p-b428501f.js +1 -0
- package/dist/design-system/{p-eb1af0ba.entry.js → p-b73c43ac.entry.js} +1 -1
- package/dist/design-system/{p-c16e034c.js → p-b7efaf89.js} +1 -1
- package/dist/design-system/{p-a1c706e9.entry.js → p-b8eed1ea.entry.js} +1 -1
- package/dist/design-system/{p-e1d102d7.entry.js → p-b8ff79e1.entry.js} +1 -1
- package/dist/design-system/{p-f36bde4e.entry.js → p-b92e0f80.entry.js} +1 -1
- package/dist/design-system/{p-ae4bd943.entry.js → p-b9b3d48b.entry.js} +1 -1
- package/dist/design-system/{p-22844ecf.js → p-ba7878be.js} +1 -1
- package/dist/design-system/{p-e2eef6ed.entry.js → p-ba79772a.entry.js} +1 -1
- package/dist/design-system/{p-e2e81a02.entry.js → p-bab39b5a.entry.js} +1 -1
- package/dist/design-system/{p-56f8a567.entry.js → p-babeef77.entry.js} +1 -1
- package/dist/design-system/{p-e68604b7.js → p-bcb0492e.js} +1 -1
- package/dist/design-system/p-bde1b5e6.js +1 -0
- package/dist/design-system/p-be139a30.entry.js +1 -0
- package/dist/design-system/{p-0104e6e5.entry.js → p-bf1dfcad.entry.js} +1 -1
- package/dist/design-system/{p-94287826.entry.js → p-bf2cdb50.entry.js} +1 -1
- package/dist/design-system/p-bf792a82.js +1 -0
- package/dist/design-system/p-c0bb9558.js +1 -0
- package/dist/design-system/p-c1d8b3e8.entry.js +1 -0
- package/dist/design-system/{p-ebaea471.js → p-c247df6f.js} +1 -1
- package/dist/design-system/{p-491f4473.entry.js → p-c2846231.entry.js} +1 -1
- package/dist/design-system/{p-75bd6854.entry.js → p-c34ed750.entry.js} +1 -1
- package/dist/design-system/{p-ddd372bb.entry.js → p-c665afcf.entry.js} +1 -1
- package/dist/design-system/{p-de8b5d0e.entry.js → p-c6918868.entry.js} +1 -1
- package/dist/design-system/{p-81a5b944.entry.js → p-c6c289d0.entry.js} +1 -1
- package/dist/design-system/{p-8fba2f1d.entry.js → p-c6f436c1.entry.js} +1 -1
- package/dist/design-system/{p-413dfb0d.entry.js → p-ca8fae01.entry.js} +1 -1
- package/dist/design-system/p-cb938043.js +1 -0
- package/dist/design-system/{p-46981663.entry.js → p-cba16dab.entry.js} +1 -1
- package/dist/design-system/p-cf8aeb5f.js +1 -0
- package/dist/design-system/{p-08c3e5e4.entry.js → p-cfe06ae3.entry.js} +1 -1
- package/dist/design-system/{p-91a43df8.entry.js → p-d0baa4e5.entry.js} +1 -1
- package/dist/design-system/{p-909797bb.entry.js → p-d1eaf054.entry.js} +1 -1
- package/dist/design-system/{p-83dd0c5e.js → p-d3032dda.js} +1 -1
- package/dist/design-system/{p-be748e7e.js → p-d3300493.js} +1 -1
- package/dist/design-system/{p-5366e799.entry.js → p-d3b86244.entry.js} +1 -1
- package/dist/design-system/{p-e3a711ae.entry.js → p-d705d852.entry.js} +1 -1
- package/dist/design-system/{p-ba32098a.entry.js → p-d73781f5.entry.js} +1 -1
- package/dist/design-system/{p-6249c3f3.entry.js → p-d7550228.entry.js} +1 -1
- package/dist/design-system/{p-acebc4f8.entry.js → p-d7d99617.entry.js} +1 -1
- package/dist/design-system/{p-bce467f4.entry.js → p-d7f3f40c.entry.js} +1 -1
- package/dist/design-system/{p-31e1f37d.entry.js → p-d8759749.entry.js} +1 -1
- package/dist/design-system/p-d96d9bae.js +1 -0
- package/dist/design-system/p-da5ad223.js +1 -0
- package/dist/design-system/{p-6a03f0cd.entry.js → p-dbe47efd.entry.js} +1 -1
- package/dist/design-system/{p-d450230a.entry.js → p-dc2b037e.entry.js} +1 -1
- package/dist/design-system/{p-fdaf4002.entry.js → p-ddc561c6.entry.js} +1 -1
- package/dist/design-system/{p-3a007ff6.entry.js → p-ddeb43a7.entry.js} +1 -1
- package/dist/design-system/{p-8d4314f6.entry.js → p-def8a593.entry.js} +1 -1
- package/dist/design-system/{p-fe6768c4.entry.js → p-df168df2.entry.js} +1 -1
- package/dist/design-system/{p-6ed50e92.entry.js → p-dfab53b0.entry.js} +1 -1
- package/dist/design-system/{p-15855c7b.entry.js → p-e1e6bd2a.entry.js} +1 -1
- package/dist/design-system/{p-bb2db73a.entry.js → p-e4e970bc.entry.js} +1 -1
- package/dist/design-system/{p-e566a7f0.js → p-e9d05125.js} +1 -1
- package/dist/design-system/{p-15698c6d.entry.js → p-ec065027.entry.js} +1 -1
- package/dist/design-system/{p-3919ce82.entry.js → p-edd7f609.entry.js} +1 -1
- package/dist/design-system/p-edf3b4f1.js +1 -0
- package/dist/design-system/{p-677a8870.js → p-ee7d9e8e.js} +1 -1
- package/dist/design-system/{p-5ac7d164.entry.js → p-eea7ae74.entry.js} +1 -1
- package/dist/design-system/{p-6ddf846e.entry.js → p-f02c0ade.entry.js} +1 -1
- package/dist/design-system/p-f40160e2.entry.js +1 -0
- package/dist/design-system/{p-b95e80a6.entry.js → p-f41e169c.entry.js} +1 -1
- package/dist/design-system/{p-f46f2fd7.entry.js → p-f4512d2a.entry.js} +1 -1
- package/dist/design-system/{p-25d57024.entry.js → p-f554acc6.entry.js} +1 -1
- package/dist/design-system/{p-db1488b9.entry.js → p-f634751c.entry.js} +1 -1
- package/dist/design-system/p-f650a3a0.js +1 -0
- package/dist/design-system/{p-96c01591.entry.js → p-f832df3d.entry.js} +1 -1
- package/dist/design-system/{p-981a991a.entry.js → p-f9b136b1.entry.js} +1 -1
- package/dist/design-system/{p-062b03ab.js → p-f9cc5a5e.js} +1 -1
- package/dist/design-system/{p-c492e667.js → p-faeab24a.js} +1 -1
- package/dist/design-system/p-fdd44fd8.js +1 -0
- package/dist/design-system/{p-5fb71328.entry.js → p-ff6a3810.entry.js} +1 -1
- package/dist/esm/{ResizeObserver.es-857da850.js → ResizeObserver.es-93189c5b.js} +2 -2
- package/dist/esm/{_Uint8Array-5a72cae5.js → _Uint8Array-53b073e7.js} +2 -2
- package/dist/esm/{_baseAssignValue-958a72f8.js → _baseAssignValue-8f659e75.js} +1 -1
- package/dist/esm/{_baseClone-f91ab895.js → _baseClone-0bf80d2f.js} +7 -7
- package/dist/esm/{_baseEach-a931315b.js → _baseEach-780706a1.js} +2 -2
- package/dist/esm/{_baseFlatten-12bb59d5.js → _baseFlatten-81a2d423.js} +2 -2
- package/dist/esm/{_baseGet-06c11ad2.js → _baseGet-c8ac9ce1.js} +1 -1
- package/dist/esm/{_baseIsEqual-134a6a6f.js → _baseIsEqual-c9c01e48.js} +4 -4
- package/dist/esm/{_baseIteratee-a80c7dd7.js → _baseIteratee-4ae43995.js} +7 -7
- package/dist/esm/{_baseKeys-0bb6240a.js → _baseKeys-358763bb.js} +2 -2
- package/dist/esm/{_baseOrderBy-d2d567ad.js → _baseOrderBy-1aeeeb88.js} +5 -5
- package/dist/esm/{_baseRest-ade57aba.js → _baseRest-a332935f.js} +1 -1
- package/dist/esm/{_baseSet-5cd3952d.js → _baseSet-84fa1656.js} +4 -4
- package/dist/esm/{_baseUnary-6c757366.js → _baseUnary-075cd776.js} +1 -1
- package/dist/esm/{_baseUnset-d93fccb7.js → _baseUnset-c1b3628a.js} +2 -2
- package/dist/esm/{_createAggregator-2bcb7b40.js → _createAggregator-dbad2e44.js} +3 -3
- package/dist/esm/{_defineProperty-eeaa2bfc.js → _defineProperty-b86c86db.js} +1 -1
- package/dist/esm/{_flatRest-8bb36142.js → _flatRest-d9be5354.js} +2 -2
- package/dist/esm/{_getTag-deac5ef6.js → _getTag-b80a9ce3.js} +1 -1
- package/dist/esm/{_overRest-c9df3b2e.js → _overRest-dff42c49.js} +1 -1
- package/dist/esm/{assign-aa82cff2.js → assign-3efc0fd9.js} +6 -6
- package/dist/esm/{boost-helpers-17b39a0f.js → boost-helpers-90d948df.js} +3 -3
- package/dist/esm/{button-helpers-2375f4b8.js → button-helpers-cbf43b74.js} +1 -1
- package/dist/esm/{chat-helpers-735efac5.js → chat-helpers-92083f1c.js} +1 -1
- package/dist/esm/{clamp-1b0eb8ae.js → clamp-c30463eb.js} +1 -1
- package/dist/esm/{clone-15f434a7.js → clone-580f3861.js} +1 -1
- package/dist/esm/{cloneDeep-b571e871.js → cloneDeep-3beb3cb6.js} +1 -1
- package/dist/esm/{common-helpers-736b1b33.js → common-helpers-851f4b4a.js} +3 -3
- package/dist/esm/{countBy-8f0705b9.js → countBy-3e05ee0c.js} +2 -2
- package/dist/esm/{debounce-c1950ab1.js → debounce-e2e29e0f.js} +2 -2
- package/dist/esm/design-system.js +1 -1
- package/dist/esm/{difference-0405e176.js → difference-0246ddcd.js} +5 -5
- package/dist/esm/{draggable-dots-helpers-f23e5266.js → draggable-dots-helpers-85aeb9d3.js} +5 -5
- package/dist/esm/{draggable-tags-helpers-a9a159b2.js → draggable-tags-helpers-26826722.js} +2 -2
- package/dist/esm/{entities-helpers-c4121e55.js → entities-helpers-2f91489e.js} +7 -7
- package/dist/esm/{entities-helpers-3af2e73e.js → entities-helpers-f4b2cd99.js} +4 -4
- package/dist/esm/{filters-helpers-fb9424d9.js → filters-helpers-04ea2d2f.js} +1 -1
- package/dist/esm/{find-7606a272.js → find-cba1f883.js} +4 -4
- package/dist/esm/{findIndex-d649052b.js → findIndex-db719777.js} +3 -3
- package/dist/esm/{flatten-05783f13.js → flatten-dfbfabde.js} +1 -1
- package/dist/esm/{form-creator-helpers-ac29a57d.js → form-creator-helpers-f634c2d2.js} +3 -3
- package/dist/esm/{form-helpers-a68bb5a2.js → form-helpers-a30e853f.js} +10 -10
- package/dist/esm/{form-helpers-de01e47f.js → form-helpers-c91f526d.js} +17 -16
- package/dist/esm/{form-input-helpers-d7f93f16.js → form-input-helpers-72500c98.js} +3 -3
- package/dist/esm/{form-text-area-helpers-c166e5d6.js → form-text-area-helpers-77a6b1cf.js} +3 -3
- package/dist/esm/{geolocation-helpers-ecd5cd8b.js → geolocation-helpers-153815ab.js} +1 -1
- package/dist/esm/{get-4d370751.js → get-4600d9d0.js} +1 -1
- package/dist/esm/{grid-renderers-3e052fa0.js → grid-renderers-18ffd01b.js} +16 -16
- package/dist/esm/{groupBy-ed8c1505.js → groupBy-14d79365.js} +2 -2
- package/dist/esm/{hammer-gestures-70434f10.js → hammer-gestures-bf818e3c.js} +1 -1
- package/dist/esm/{helpers-ab66db5d.js → helpers-5046b03e.js} +3 -3
- package/dist/esm/{image-helpers-a2dbfa18.js → image-helpers-a7dc456a.js} +2 -2
- package/dist/esm/{inRange-5b02d8f6.js → inRange-f7dc55ed.js} +2 -2
- package/dist/esm/{incentive-helpers-501df391.js → incentive-helpers-51ffd05d.js} +3 -3
- package/dist/esm/{incentive-helpers-950c7171.js → incentive-helpers-f14da84b.js} +2 -2
- package/dist/esm/{index-3ab8ff4a.js → index-02197bed.js} +8 -7
- package/dist/esm/{index-55bea97c.js → index-074056b8.js} +27 -13
- package/dist/esm/{index-a147f391.js → index-14bf3d61.js} +2 -2
- package/dist/esm/{index-36d61501.js → index-2e85ec9b.js} +1 -1
- package/dist/esm/{index-e198f864.js → index-f092cc87.js} +2 -2
- package/dist/esm/index.js +71 -70
- package/dist/esm/{intersection-6d616e4e.js → intersection-6fc9dbf8.js} +4 -4
- package/dist/esm/{isArrayLikeObject-e239d7fc.js → isArrayLikeObject-2443d37e.js} +2 -2
- package/dist/esm/{isBoolean-df5b7c74.js → isBoolean-45a9e84a.js} +1 -1
- package/dist/esm/{isEmpty-6313ebf5.js → isEmpty-dac46cd6.js} +4 -4
- package/dist/esm/{isEqual-1f962694.js → isEqual-fe3e182f.js} +1 -1
- package/dist/esm/{isNumber-3f36713d.js → isNumber-b410a503.js} +1 -1
- package/dist/esm/{isString-632cc436.js → isString-4ee85cc0.js} +1 -1
- package/dist/esm/{keys-6c9764cc.js → keys-0acf19e8.js} +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{localForage-42cfc378.js → localForage-3dc9a54c.js} +2 -2
- package/dist/esm/map-692410f7.js +52 -0
- package/dist/esm/{map-helpers-05c9a0ae.js → map-helpers-f8bd32f5.js} +5 -4
- package/dist/esm/{modal-animations-768948cd.js → modal-animations-57d7caf1.js} +1 -1
- package/dist/esm/{observer-helpers-15476c5f.js → observer-helpers-d56043fe.js} +1 -1
- package/dist/esm/{omit-c3cfdb79.js → omit-1402f18b.js} +5 -5
- package/dist/esm/{opening-hours-helpers-4ac346f8.js → opening-hours-helpers-32d58ff3.js} +1 -1
- package/dist/esm/{operation-helpers-4c9210d3.js → operation-helpers-1a77b767.js} +5 -5
- package/dist/esm/{operation-helpers-04ef9902.js → operation-helpers-853a7c13.js} +2 -2
- package/dist/esm/{orderBy-ae5ab4df.js → orderBy-49002b42.js} +2 -2
- package/dist/esm/{overlays-6ae7ec3a.js → overlays-531d091d.js} +1 -1
- package/dist/esm/{overlays-9bf46a93.js → overlays-f7aebf54.js} +1 -1
- package/dist/esm/{pick-5e56d4c7.js → pick-9da4dafb.js} +4 -4
- package/dist/esm/{pipe-63412310.js → pipe-ca406100.js} +5 -5
- package/dist/esm/{remove-29a0056a.js → remove-63215e25.js} +3 -3
- package/dist/esm/{rrule-1b4fc7ac.js → rrule-32974e5c.js} +1 -1
- package/dist/esm/{set-80b0f59a.js → set-c30310bd.js} +1 -1
- package/dist/esm/{shuffle-a3cc6057.js → shuffle-84cf7180.js} +2 -2
- package/dist/esm/{sortBy-53d165c7.js → sortBy-533bf4a9.js} +7 -55
- package/dist/esm/{theme-369df319.js → theme-e67c9483.js} +1 -1
- package/dist/esm/{toFinite-50be705d.js → toFinite-2b63085b.js} +1 -1
- package/dist/esm/{toInteger-f806a578.js → toInteger-5d26e40c.js} +1 -1
- package/dist/esm/{toNumber-ca6b9b55.js → toNumber-0a09404e.js} +1 -1
- package/dist/esm/{url-helpers-026f5bd7.js → url-helpers-499c9715.js} +1 -1
- package/dist/esm/{video-player-helpers-acd8aee6.js → video-player-helpers-21fb0ec2.js} +3 -3
- package/dist/esm/yoo-about.entry.js +1 -1
- package/dist/esm/yoo-accordion.entry.js +6 -6
- package/dist/esm/yoo-action-sheet-controller_15.entry.js +58 -57
- package/dist/esm/yoo-action-sheet.entry.js +11 -11
- package/dist/esm/yoo-ag-grid_96.entry.js +108 -95
- package/dist/esm/yoo-alert.entry.js +39 -38
- package/dist/esm/yoo-audio-recorder-dialog.entry.js +22 -22
- package/dist/esm/yoo-avatar_5.entry.js +25 -25
- package/dist/esm/yoo-background-blur.entry.js +6 -6
- package/dist/esm/yoo-background.entry.js +6 -6
- package/dist/esm/yoo-barcode-dialog.entry.js +1 -1
- package/dist/esm/yoo-battle-count-down.entry.js +6 -6
- package/dist/esm/yoo-battle-result.entry.js +1 -1
- package/dist/esm/yoo-battle-user-stats.entry.js +6 -6
- package/dist/esm/yoo-breadcrumbs.entry.js +2 -2
- package/dist/esm/yoo-camera-preview-dialog_7.entry.js +44 -43
- package/dist/esm/yoo-campaign-editor-recap.entry.js +18 -18
- package/dist/esm/yoo-campaign-heading.entry.js +25 -25
- package/dist/esm/yoo-card-battle-history.entry.js +1 -1
- package/dist/esm/yoo-card-battle.entry.js +1 -1
- package/dist/esm/yoo-card-course.entry.js +5 -5
- package/dist/esm/yoo-card-header.entry.js +6 -6
- package/dist/esm/yoo-card-incentive-rank.entry.js +21 -21
- package/dist/esm/yoo-card-incentive.entry.js +22 -22
- package/dist/esm/yoo-card-list-image_12.entry.js +57 -56
- package/dist/esm/yoo-card-video.entry.js +1 -1
- package/dist/esm/yoo-chat-message-dialog.entry.js +23 -23
- package/dist/esm/yoo-chat-message_3.entry.js +26 -26
- package/dist/esm/yoo-chat.entry.js +26 -26
- package/dist/esm/yoo-context-dialog_2.entry.js +1 -1
- package/dist/esm/yoo-context-menu-dialog.entry.js +6 -6
- package/dist/esm/yoo-count-down.entry.js +6 -6
- package/dist/esm/yoo-course-detail.entry.js +7 -7
- package/dist/esm/yoo-course-summary.entry.js +7 -7
- package/dist/esm/yoo-dashboard-detail.entry.js +18 -18
- package/dist/esm/yoo-date.entry.js +18 -18
- package/dist/esm/yoo-detail-bar.entry.js +26 -26
- package/dist/esm/yoo-device-list.entry.js +1 -1
- package/dist/esm/yoo-device.entry.js +1 -1
- package/dist/esm/yoo-draw-flow.entry.js +1 -1
- package/dist/esm/yoo-entity-search-recent.entry.js +1 -1
- package/dist/esm/yoo-entity-search.entry.js +34 -16
- package/dist/esm/yoo-feed-detail.entry.js +25 -25
- package/dist/esm/yoo-form-calendar-dialog_2.entry.js +24 -24
- package/dist/esm/yoo-form-categorize-words.entry.js +21 -21
- package/dist/esm/yoo-form-checklist.entry.js +7 -7
- package/dist/esm/yoo-form-choice_4.entry.js +48 -47
- package/dist/esm/yoo-form-color-field.entry.js +7 -7
- package/dist/esm/yoo-form-conditions.entry.js +3 -3
- package/dist/esm/yoo-form-connect.entry.js +29 -29
- package/dist/esm/yoo-form-creator-block-expandable.entry.js +40 -39
- package/dist/esm/yoo-form-creator-block-simple_4.entry.js +47 -46
- package/dist/esm/yoo-form-creator-card_2.entry.js +40 -39
- package/dist/esm/yoo-form-creator-field-selector_8.entry.js +43 -42
- package/dist/esm/yoo-form-creator-translate-dialog.entry.js +40 -39
- package/dist/esm/yoo-form-creator.entry.js +42 -41
- package/dist/esm/yoo-form-daterange.entry.js +7 -7
- package/dist/esm/yoo-form-emailreport.entry.js +14 -14
- package/dist/esm/yoo-form-entity-value-pairs.entry.js +8 -8
- package/dist/esm/yoo-form-feed-preview.entry.js +7 -7
- package/dist/esm/yoo-form-filter-date.entry.js +8 -8
- package/dist/esm/yoo-form-filter-number.entry.js +8 -8
- package/dist/esm/yoo-form-filter-text.entry.js +8 -8
- package/dist/esm/yoo-form-formula.entry.js +7 -7
- package/dist/esm/yoo-form-iframe-dialog.entry.js +1 -1
- package/dist/esm/yoo-form-image-collection.entry.js +2 -2
- package/dist/esm/yoo-form-image-tagging-creator.entry.js +12 -12
- package/dist/esm/yoo-form-image-tagging.entry.js +22 -22
- package/dist/esm/yoo-form-incentive-targets.entry.js +9 -9
- package/dist/esm/yoo-form-json.entry.js +40 -39
- package/dist/esm/yoo-form-location.entry.js +7 -7
- package/dist/esm/yoo-form-missing-word.entry.js +23 -23
- package/dist/esm/yoo-form-missionfield.entry.js +8 -8
- package/dist/esm/yoo-form-multi-input.entry.js +16 -16
- package/dist/esm/yoo-form-opening-hours.entry.js +1 -1
- package/dist/esm/yoo-form-permissions.entry.js +6 -6
- package/dist/esm/yoo-form-phone-number.entry.js +4 -4
- package/dist/esm/yoo-form-plan-assign.entry.js +7 -7
- package/dist/esm/yoo-form-pricecheck.entry.js +10 -10
- package/dist/esm/yoo-form-product-batch.entry.js +27 -27
- package/dist/esm/yoo-form-products-sales.entry.js +22 -22
- package/dist/esm/yoo-form-qrcode.entry.js +7 -7
- package/dist/esm/yoo-form-query-builder.entry.js +7 -7
- package/dist/esm/yoo-form-range.entry.js +14 -14
- package/dist/esm/yoo-form-ranking.entry.js +20 -20
- package/dist/esm/yoo-form-recurrence.entry.js +2 -2
- package/dist/esm/yoo-form-reorder.entry.js +9 -9
- package/dist/esm/yoo-form-scorm.entry.js +7 -7
- package/dist/esm/yoo-form-shopping.entry.js +27 -27
- package/dist/esm/yoo-form-signature-pad-dialog.entry.js +6 -6
- package/dist/esm/yoo-form-signature-pad.entry.js +7 -7
- package/dist/esm/yoo-form-sorts.entry.js +7 -7
- package/dist/esm/yoo-form-stripe-card.entry.js +9 -9
- package/dist/esm/yoo-form-swipe-cards.entry.js +27 -27
- package/dist/esm/yoo-form-table.entry.js +7 -7
- package/dist/esm/yoo-form-text-editor.entry.js +29 -29
- package/dist/esm/yoo-form-timeslots.entry.js +8 -8
- package/dist/esm/yoo-form-todo-dialog.entry.js +22 -22
- package/dist/esm/yoo-form-todo-list-dialog.entry.js +7 -7
- package/dist/esm/yoo-form-todo-list.entry.js +16 -16
- package/dist/esm/yoo-form-todo-single.entry.js +35 -35
- package/dist/esm/yoo-form-todo.entry.js +25 -25
- package/dist/esm/yoo-form-uploader.entry.js +9 -9
- package/dist/esm/yoo-form-videoplayer.entry.js +19 -19
- package/dist/esm/yoo-gridstack.entry.js +18 -18
- package/dist/esm/yoo-header_7.entry.js +11 -11
- package/dist/esm/yoo-healthscore-dialog.entry.js +6 -6
- package/dist/esm/yoo-home-chart-widget.entry.js +2 -2
- package/dist/esm/yoo-home-widget.entry.js +1 -1
- package/dist/esm/yoo-incentive-detail.entry.js +22 -22
- package/dist/esm/yoo-input-bar.entry.js +26 -26
- package/dist/esm/yoo-ion-modal.entry.js +15 -15
- package/dist/esm/yoo-kpi-card.entry.js +1 -1
- package/dist/esm/yoo-kpi-container.entry.js +7 -7
- package/dist/esm/yoo-lesson-detail.entry.js +10 -10
- package/dist/esm/yoo-lesson-heading_2.entry.js +7 -7
- package/dist/esm/yoo-lesson-question-result.entry.js +35 -34
- package/dist/esm/yoo-links-menu.entry.js +1 -1
- package/dist/esm/yoo-location-heading.entry.js +22 -22
- package/dist/esm/yoo-location-info.entry.js +18 -18
- package/dist/esm/yoo-location-map.entry.js +24 -23
- package/dist/esm/yoo-memo-list-dialog.entry.js +21 -21
- package/dist/esm/yoo-memo-list.entry.js +21 -21
- package/dist/esm/yoo-mission-contents.entry.js +1 -1
- package/dist/esm/yoo-mission-detail.entry.js +20 -20
- package/dist/esm/yoo-mission-heading_3.entry.js +31 -31
- package/dist/esm/yoo-mission-results.entry.js +27 -27
- package/dist/esm/yoo-mission-todo.entry.js +25 -25
- package/dist/esm/yoo-mobile-tabbar-more.entry.js +15 -15
- package/dist/esm/yoo-mobile-tabbar.entry.js +7 -7
- package/dist/esm/yoo-modal.entry.js +6 -6
- package/dist/esm/yoo-podium.entry.js +9 -9
- package/dist/esm/yoo-points-recap_2.entry.js +1 -1
- package/dist/esm/yoo-polyglot.entry.js +1 -1
- package/dist/esm/yoo-profile-list.entry.js +1 -1
- package/dist/esm/yoo-profile-summary.entry.js +24 -24
- package/dist/esm/yoo-progress-loader.entry.js +1 -1
- package/dist/esm/yoo-rating.entry.js +1 -1
- package/dist/esm/yoo-reset-password.entry.js +1 -1
- package/dist/esm/yoo-result-dialog.entry.js +1 -1
- package/dist/esm/yoo-reveal.entry.js +1 -1
- package/dist/esm/yoo-salesai-formula.entry.js +18 -18
- package/dist/esm/yoo-scratch-card-creator.entry.js +1 -1
- package/dist/esm/yoo-scratch-card.entry.js +3 -3
- package/dist/esm/yoo-section-list.entry.js +20 -20
- package/dist/esm/yoo-segment.entry.js +1 -1
- package/dist/esm/yoo-side-menu-dialog.entry.js +1 -1
- package/dist/esm/yoo-side-menu-tree.entry.js +1 -1
- package/dist/esm/yoo-side-menu.entry.js +6 -6
- package/dist/esm/yoo-slides-media.entry.js +28 -28
- package/dist/esm/yoo-start-meeting-popup.entry.js +6 -6
- package/dist/esm/yoo-tappable.entry.js +6 -6
- package/dist/esm/yoo-text-sequence.entry.js +6 -6
- package/dist/esm/yoo-tile.entry.js +1 -1
- package/dist/esm/yoo-user-detail.entry.js +1 -1
- package/dist/esm/yoo-user-picker.entry.js +6 -6
- package/dist/esm/yoo-user-profile.entry.js +26 -26
- package/dist/esm/yoo-user-wizard.entry.js +6 -6
- package/dist/esm/yoo-videoplayer-dailymotion.entry.js +21 -21
- package/dist/esm/yoo-videoplayer-videojs.entry.js +27 -27
- package/dist/esm/yoo-videoplayer-vimeo.entry.js +19 -19
- package/dist/esm/yoo-videoplayer-youtube.entry.js +19 -19
- package/dist/esm/yoo-waitlist-location-result.entry.js +1 -1
- package/dist/esm/yoo-waitlist-location-start.entry.js +16 -16
- package/dist/esm/yoo-walkthrough.entry.js +6 -6
- package/dist/esm/yoo-web-menu.entry.js +6 -6
- package/dist/esm/yoo-webcam.entry.js +1 -1
- package/dist/esm/yoo-welcome-banner.entry.js +6 -6
- package/dist/esm/yoo-widget-tab.entry.js +18 -18
- package/dist/esm/yoo-zebra.entry.js +1 -1
- package/dist/types/components/3.organisms/photo-editor/photo-editor.d.ts +1 -0
- package/dist/types/components/entities/entity-search/entity-search.d.ts +1 -0
- package/dist/types/components/form/form-dynamic/form-dynamic.d.ts +1 -0
- package/dist/types/components/form-creator/helpers/index.d.ts +2 -1
- package/dist/types/components.d.ts +2 -0
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/workflow/workflow.interface.d.ts +4 -1
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/utils/src/recurrence/index.d.ts +1 -2
- package/package.json +1 -1
- package/dist/design-system/p-0a4856c0.js +0 -1
- package/dist/design-system/p-14f4460e.js +0 -1
- package/dist/design-system/p-1705d4f1.js +0 -1
- package/dist/design-system/p-182fb8b9.js +0 -1
- package/dist/design-system/p-1e7fbce6.js +0 -1
- package/dist/design-system/p-216b2927.js +0 -1
- package/dist/design-system/p-22734a9b.js +0 -1
- package/dist/design-system/p-2293f794.js +0 -1
- package/dist/design-system/p-26c2eb90.js +0 -1
- package/dist/design-system/p-29203fa2.js +0 -1
- package/dist/design-system/p-2e1a2405.js +0 -1
- package/dist/design-system/p-2f7cb2f1.entry.js +0 -1
- package/dist/design-system/p-30a6dc4d.entry.js +0 -1
- package/dist/design-system/p-322562b2.entry.js +0 -1
- package/dist/design-system/p-381ade16.js +0 -1
- package/dist/design-system/p-384319af.js +0 -1
- package/dist/design-system/p-3b40f968.js +0 -1
- package/dist/design-system/p-3beea938.js +0 -1
- package/dist/design-system/p-3cdd23cb.js +0 -1
- package/dist/design-system/p-3cf42f38.js +0 -1
- package/dist/design-system/p-40803ca3.js +0 -1
- package/dist/design-system/p-45eae154.entry.js +0 -1
- package/dist/design-system/p-4679d1d7.js +0 -1
- package/dist/design-system/p-471ec48e.js +0 -1
- package/dist/design-system/p-4a402d56.js +0 -1
- package/dist/design-system/p-5062d1e2.entry.js +0 -1
- package/dist/design-system/p-51cd61bd.entry.js +0 -1
- package/dist/design-system/p-57ab0acc.entry.js +0 -1
- package/dist/design-system/p-585cbeea.js +0 -1
- package/dist/design-system/p-5e443aa4.entry.js +0 -1
- package/dist/design-system/p-66276219.js +0 -1
- package/dist/design-system/p-69ac997a.js +0 -1
- package/dist/design-system/p-6a590df5.entry.js +0 -1
- package/dist/design-system/p-6bd222bf.js +0 -1
- package/dist/design-system/p-6e6a2b39.js +0 -1
- package/dist/design-system/p-70b3d072.js +0 -1
- package/dist/design-system/p-73f89afa.js +0 -1
- package/dist/design-system/p-7c35109f.js +0 -1
- package/dist/design-system/p-90c34aff.js +0 -1
- package/dist/design-system/p-90ec9c78.entry.js +0 -1
- package/dist/design-system/p-91118816.js +0 -1
- package/dist/design-system/p-926e0f44.entry.js +0 -1
- package/dist/design-system/p-974b2173.js +0 -1
- package/dist/design-system/p-981e1300.js +0 -1
- package/dist/design-system/p-9a993e45.entry.js +0 -1
- package/dist/design-system/p-a5410c5f.js +0 -1
- package/dist/design-system/p-a7b362ea.entry.js +0 -1
- package/dist/design-system/p-adfe3e94.js +0 -1
- package/dist/design-system/p-afad4ce0.entry.js +0 -1
- package/dist/design-system/p-b4ee4fb6.js +0 -1
- package/dist/design-system/p-bca662db.js +0 -1
- package/dist/design-system/p-c1ce2a0d.js +0 -1
- package/dist/design-system/p-c4388b4c.js +0 -1
- package/dist/design-system/p-cbb48ea7.js +0 -1
- package/dist/design-system/p-cd72e5cb.js +0 -1
- package/dist/design-system/p-d7093ffe.js +0 -1
- package/dist/design-system/p-d76643c1.js +0 -1
- package/dist/design-system/p-d9e56655.js +0 -1
- package/dist/design-system/p-da76a732.js +0 -1
- package/dist/design-system/p-dba0c929.js +0 -1
- package/dist/design-system/p-dbe40191.js +0 -1
- package/dist/design-system/p-dcda9659.js +0 -1
- package/dist/design-system/p-e3105082.js +0 -1
- package/dist/design-system/p-e311beb5.js +0 -1
- package/dist/design-system/p-e4414951.js +0 -1
- package/dist/design-system/p-eba60085.js +0 -1
- package/dist/design-system/p-f31faeba.entry.js +0 -1
- package/dist/design-system/p-f5100cc6.js +0 -1
- package/dist/design-system/p-fa28e517.entry.js +0 -1
- package/dist/design-system/p-fb265fb3.js +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import{c as t,d as n,e as i,f as r,I as e,g as o,h as u,j as f,k as
|
|
1
|
+
import{c as t,d as n,e as i,f as r,I as e,g as o,h as u,j as f,k as s,i as c,D as a,l as h,s as v,b as l,m as d,n as p,o as y,p as m,q as g}from"./p-82c65999.js";import{i as w}from"./p-bd19a341.js";import{i as b}from"./p-bf792a82.js";import"./p-4d956bd4.js";var E=t((function(t){
|
|
2
2
|
/*!
|
|
3
3
|
localForage -- Offline Storage, Improved
|
|
4
4
|
Version 1.9.0
|
|
5
5
|
https://localforage.github.io/localForage
|
|
6
6
|
(c) 2013-2017 Mozilla, Apache License 2.0
|
|
7
7
|
*/
|
|
8
|
-
t.exports=function t(n,r,e){function o(f,c){if(!r[f]){if(!n[f]){var s="function"==typeof i&&i;if(!c&&s)return s(f,!0);if(u)return u(f,!0);var a=new Error("Cannot find module '"+f+"'");throw a.code="MODULE_NOT_FOUND",a}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,t,n,r,e)}return r[f].exports}for(var u="function"==typeof i&&i,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,i){(function(t){var n,r,e=t.MutationObserver||t.WebKitMutationObserver;if(e){var o=0,u=new e(a),f=t.document.createTextNode("");u.observe(f,{characterData:!0}),n=function(){f.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)n="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var n=t.document.createElement("script");n.onreadystatechange=function(){a(),n.onreadystatechange=null,n.parentNode.removeChild(n),n=null},t.document.documentElement.appendChild(n)}:function(){setTimeout(a,0)};else{var c=new t.MessageChannel;c.port1.onmessage=a,n=function(){c.port2.postMessage(0)}}var s=[];function a(){var t,n;r=!0;for(var i=s.length;i;){for(n=s,s=[],t=-1;++t<i;)n[t]();i=s.length}r=!1}i.exports=function(t){1!==s.push(t)||r||n()}}).call(this,void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,n){var i=t(1);function r(){}var e={},o=["REJECTED"],u=["FULFILLED"],f=["PENDING"];function c(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=f,this.queue=[],this.outcome=void 0,t!==r&&v(this,t)}function s(t,n,i){this.promise=t,"function"==typeof n&&(this.onFulfilled=n,this.callFulfilled=this.otherCallFulfilled),"function"==typeof i&&(this.onRejected=i,this.callRejected=this.otherCallRejected)}function a(t,n,r){i((function(){var i;try{i=n(r)}catch(n){return e.reject(t,n)}i===t?e.reject(t,new TypeError("Cannot resolve promise with itself")):e.resolve(t,i)}))}function h(t){var n=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof n)return function(){n.apply(t,arguments)}}function v(t,n){var i=!1;function r(n){i||(i=!0,e.reject(t,n))}function o(n){i||(i=!0,e.resolve(t,n))}var u=l((function(){n(o,r)}));"error"===u.status&&r(u.value)}function l(t,n){var i={};try{i.value=t(n),i.status="success"}catch(t){i.status="error",i.value=t}return i}n.exports=c,c.prototype.catch=function(t){return this.then(null,t)},c.prototype.then=function(t,n){if("function"!=typeof t&&this.state===u||"function"!=typeof n&&this.state===o)return this;var i=new this.constructor(r);return this.state!==f?a(i,this.state===u?t:n,this.outcome):this.queue.push(new s(i,t,n)),i},s.prototype.callFulfilled=function(t){e.resolve(this.promise,t)},s.prototype.otherCallFulfilled=function(t){a(this.promise,this.onFulfilled,t)},s.prototype.callRejected=function(t){e.reject(this.promise,t)},s.prototype.otherCallRejected=function(t){a(this.promise,this.onRejected,t)},e.resolve=function(t,n){var i=l(h,n);if("error"===i.status)return e.reject(t,i.value);var r=i.value;if(r)v(t,r);else{t.state=u,t.outcome=n;for(var o=-1,f=t.queue.length;++o<f;)t.queue[o].callFulfilled(n)}return t},e.reject=function(t,n){t.state=o,t.outcome=n;for(var i=-1,r=t.queue.length;++i<r;)t.queue[i].callRejected(n);return t},c.resolve=function(t){return t instanceof this?t:e.resolve(new this(r),t)},c.reject=function(t){var n=new this(r);return e.reject(n,t)},c.all=function(t){var n=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var i=t.length,o=!1;if(!i)return this.resolve([]);for(var u=new Array(i),f=0,c=-1,s=new this(r);++c<i;)a(t[c],c);return s;function a(t,r){n.resolve(t).then((function(t){u[r]=t,++f!==i||o||(o=!0,e.resolve(s,u))}),(function(t){o||(o=!0,e.reject(s,t))}))}},c.race=function(t){var n=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var i=t.length,o=!1;if(!i)return this.resolve([]);for(var u=-1,f=new this(r);++u<i;)n.resolve(t[u]).then((function(t){o||(o=!0,e.resolve(f,t))}),(function(t){o||(o=!0,e.reject(f,t))}));return f}},{1:1}],3:[function(t){(function(n){"function"!=typeof n.Promise&&(n.Promise=t(2))}).call(this,void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(t,n){var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var r=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(t){return}}();function e(t,n){t=t||[],n=n||{};try{return new Blob(t,n)}catch(e){if("TypeError"!==e.name)throw e;for(var i=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<t.length;r+=1)i.append(t[r]);return i.getBlob(n.type)}}"undefined"==typeof Promise&&t(3);var o=Promise;function u(t,n){n&&t.then((function(t){n(null,t)}),(function(t){n(t)}))}function f(t,n,i){"function"==typeof n&&t.then(n),"function"==typeof i&&t.catch(i)}function c(t){return"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t)),t}function s(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var a="local-forage-detect-blob-support",h=void 0,v={},l=Object.prototype.toString,d="readonly",p="readwrite";function y(t){for(var n=t.length,i=new ArrayBuffer(n),r=new Uint8Array(i),e=0;e<n;e++)r[e]=t.charCodeAt(e);return i}function m(t){return"boolean"==typeof h?o.resolve(h):function(t){return new o((function(n){var i=t.transaction(a,p),r=e([""]);i.objectStore(a).put(r,"key"),i.onabort=function(t){t.preventDefault(),t.stopPropagation(),n(!1)},i.oncomplete=function(){var t=navigator.userAgent.match(/Chrome\/(\d+)/),i=navigator.userAgent.match(/Edge\//);n(i||!t||parseInt(t[1],10)>=43)}})).catch((function(){return!1}))}(t).then((function(t){return h=t}))}function g(t){var n=v[t.name],i={};i.promise=new o((function(t,n){i.resolve=t,i.reject=n})),n.deferredOperations.push(i),n.dbReady=n.dbReady?n.dbReady.then((function(){return i.promise})):i.promise}function w(t){var n=v[t.name].deferredOperations.pop();if(n)return n.resolve(),n.promise}function b(t,n){var i=v[t.name].deferredOperations.pop();if(i)return i.reject(n),i.promise}function E(t,n){return new o((function(i,e){if(v[t.name]=v[t.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},t.db){if(!n)return i(t.db);g(t),t.db.close()}var o=[t.name];n&&o.push(t.version);var u=r.open.apply(r,o);n&&(u.onupgradeneeded=function(n){var i=u.result;try{i.createObjectStore(t.storeName),n.oldVersion<=1&&i.createObjectStore(a)}catch(i){if("ConstraintError"!==i.name)throw i;console.warn('The database "'+t.name+'" has been upgraded from version '+n.oldVersion+" to version "+n.newVersion+', but the storage "'+t.storeName+'" already exists.')}}),u.onerror=function(t){t.preventDefault(),e(u.error)},u.onsuccess=function(){i(u.result),w(t)}}))}function T(t){return E(t,!1)}function A(t){return E(t,!0)}function O(t,n){if(!t.db)return!0;var i=!t.db.objectStoreNames.contains(t.storeName),r=t.version>t.db.version;if(t.version<t.db.version&&(t.version!==n&&console.warn('The database "'+t.name+"\" can't be downgraded from version "+t.db.version+" to version "+t.version+"."),t.version=t.db.version),r||i){if(i){var e=t.db.version+1;e>t.version&&(t.version=e)}return!0}return!1}function I(t){return e([y(atob(t.data))],{type:t.type})}function S(t){return t&&t.__local_forage_encoded_blob}function R(t){var n=this,i=n._initReady().then((function(){var t=v[n._dbInfo.name];if(t&&t.dbReady)return t.dbReady}));return f(i,t,t),i}function _(t,n,i,r){void 0===r&&(r=1);try{var e=t.db.transaction(t.storeName,n);i(null,e)}catch(e){if(r>0&&(!t.db||"InvalidStateError"===e.name||"NotFoundError"===e.name))return o.resolve().then((function(){if(!t.db||"NotFoundError"===e.name&&!t.db.objectStoreNames.contains(t.storeName)&&t.version<=t.db.version)return t.db&&(t.version=t.db.version+1),A(t)})).then((function(){return function(t){g(t);for(var n=v[t.name],i=n.forages,r=0;r<i.length;r++){var e=i[r];e._dbInfo.db&&(e._dbInfo.db.close(),e._dbInfo.db=null)}return t.db=null,T(t).then((function(n){return t.db=n,O(t)?A(t):n})).then((function(r){t.db=n.db=r;for(var e=0;e<i.length;e++)i[e]._dbInfo.db=r})).catch((function(n){throw b(t,n),n}))}(t).then((function(){_(t,n,i,r-1)}))})).catch(i);i(e)}}var M={_driver:"asyncStorage",_initStorage:function(t){var n=this,i={db:null};if(t)for(var r in t)i[r]=t[r];var e=v[i.name];e||(v[i.name]=e={forages:[],db:null,dbReady:null,deferredOperations:[]}),e.forages.push(n),n._initReady||(n._initReady=n.ready,n.ready=R);var u=[];function f(){return o.resolve()}for(var c=0;c<e.forages.length;c++){var s=e.forages[c];s!==n&&u.push(s._initReady().catch(f))}var a=e.forages.slice(0);return o.all(u).then((function(){return i.db=e.db,T(i)})).then((function(t){return i.db=t,O(i,n._defaultConfig.version)?A(i):t})).then((function(t){i.db=e.db=t,n._dbInfo=i;for(var r=0;r<a.length;r++){var o=a[r];o!==n&&(o._dbInfo.db=i.db,o._dbInfo.version=i.version)}}))},_support:function(){try{if(!r||!r.open)return!1;var t="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),n="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!t||n)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(t){return!1}}(),iterate:function(t,n){var i=this,r=new o((function(n,r){i.ready().then((function(){_(i._dbInfo,d,(function(e,o){if(e)return r(e);try{var u=o.objectStore(i._dbInfo.storeName).openCursor(),f=1;u.onsuccess=function(){var i=u.result;if(i){var r=i.value;S(r)&&(r=I(r));var e=t(r,i.key,f++);void 0!==e?n(e):i.continue()}else n()},u.onerror=function(){r(u.error)}}catch(t){r(t)}}))})).catch(r)}));return u(r,n),r},getItem:function(t,n){var i=this;t=c(t);var r=new o((function(n,r){i.ready().then((function(){_(i._dbInfo,d,(function(e,o){if(e)return r(e);try{var u=o.objectStore(i._dbInfo.storeName).get(t);u.onsuccess=function(){var t=u.result;void 0===t&&(t=null),S(t)&&(t=I(t)),n(t)},u.onerror=function(){r(u.error)}}catch(t){r(t)}}))})).catch(r)}));return u(r,n),r},setItem:function(t,n,i){var r=this;t=c(t);var e=new o((function(i,e){var u;r.ready().then((function(){return u=r._dbInfo,"[object Blob]"===l.call(n)?m(u.db).then((function(t){return t?n:(i=n,new o((function(t,n){var r=new FileReader;r.onerror=n,r.onloadend=function(n){var r=btoa(n.target.result||"");t({__local_forage_encoded_blob:!0,data:r,type:i.type})},r.readAsBinaryString(i)})));var i})):n})).then((function(n){_(r._dbInfo,p,(function(o,u){if(o)return e(o);try{var f=u.objectStore(r._dbInfo.storeName);null===n&&(n=void 0);var c=f.put(n,t);u.oncomplete=function(){void 0===n&&(n=null),i(n)},u.onabort=u.onerror=function(){e(c.error?c.error:c.transaction.error)}}catch(t){e(t)}}))})).catch(e)}));return u(e,i),e},removeItem:function(t,n){var i=this;t=c(t);var r=new o((function(n,r){i.ready().then((function(){_(i._dbInfo,p,(function(e,o){if(e)return r(e);try{var u=o.objectStore(i._dbInfo.storeName).delete(t);o.oncomplete=function(){n()},o.onerror=function(){r(u.error)},o.onabort=function(){r(u.error?u.error:u.transaction.error)}}catch(t){r(t)}}))})).catch(r)}));return u(r,n),r},clear:function(t){var n=this,i=new o((function(t,i){n.ready().then((function(){_(n._dbInfo,p,(function(r,e){if(r)return i(r);try{var o=e.objectStore(n._dbInfo.storeName).clear();e.oncomplete=function(){t()},e.onabort=e.onerror=function(){i(o.error?o.error:o.transaction.error)}}catch(t){i(t)}}))})).catch(i)}));return u(i,t),i},length:function(t){var n=this,i=new o((function(t,i){n.ready().then((function(){_(n._dbInfo,d,(function(r,e){if(r)return i(r);try{var o=e.objectStore(n._dbInfo.storeName).count();o.onsuccess=function(){t(o.result)},o.onerror=function(){i(o.error)}}catch(t){i(t)}}))})).catch(i)}));return u(i,t),i},key:function(t,n){var i=this,r=new o((function(n,r){t<0?n(null):i.ready().then((function(){_(i._dbInfo,d,(function(e,o){if(e)return r(e);try{var u=o.objectStore(i._dbInfo.storeName),f=!1,c=u.openKeyCursor();c.onsuccess=function(){var i=c.result;i?0===t||f?n(i.key):(f=!0,i.advance(t)):n(null)},c.onerror=function(){r(c.error)}}catch(t){r(t)}}))})).catch(r)}));return u(r,n),r},keys:function(t){var n=this,i=new o((function(t,i){n.ready().then((function(){_(n._dbInfo,d,(function(r,e){if(r)return i(r);try{var o=e.objectStore(n._dbInfo.storeName).openKeyCursor(),u=[];o.onsuccess=function(){var n=o.result;n?(u.push(n.key),n.continue()):t(u)},o.onerror=function(){i(o.error)}}catch(t){i(t)}}))})).catch(i)}));return u(i,t),i},dropInstance:function(t,n){n=s.apply(this,arguments);var i=this.config();(t="function"!=typeof t&&t||{}).name||(t.name=t.name||i.name,t.storeName=t.storeName||i.storeName);var e,f=this;if(t.name){var c=t.name===i.name&&f._dbInfo.db?o.resolve(f._dbInfo.db):T(t).then((function(n){var i=v[t.name],r=i.forages;i.db=n;for(var e=0;e<r.length;e++)r[e]._dbInfo.db=n;return n}));e=c.then(t.storeName?function(n){if(n.objectStoreNames.contains(t.storeName)){var i=n.version+1;g(t);var e=v[t.name],u=e.forages;n.close();for(var f=0;f<u.length;f++){var c=u[f];c._dbInfo.db=null,c._dbInfo.version=i}return new o((function(n,e){var o=r.open(t.name,i);o.onerror=function(t){o.result.close(),e(t)},o.onupgradeneeded=function(){o.result.deleteObjectStore(t.storeName)},o.onsuccess=function(){var t=o.result;t.close(),n(t)}})).then((function(t){e.db=t;for(var n=0;n<u.length;n++){var i=u[n];i._dbInfo.db=t,w(i._dbInfo)}})).catch((function(n){throw(b(t,n)||o.resolve()).catch((function(){})),n}))}}:function(n){g(t);var i=v[t.name],e=i.forages;n.close();for(var u=0;u<e.length;u++)e[u]._dbInfo.db=null;return new o((function(n,i){var e=r.deleteDatabase(t.name);e.onerror=e.onblocked=function(t){var n=e.result;n&&n.close(),i(t)},e.onsuccess=function(){var t=e.result;t&&t.close(),n(t)}})).then((function(t){i.db=t;for(var n=0;n<e.length;n++)w(e[n]._dbInfo)})).catch((function(n){throw(b(t,n)||o.resolve()).catch((function(){})),n}))})}else e=o.reject("Invalid arguments");return u(e,n),e}};var D="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",P=/^~~local_forage_type~([^~]+)~/,N="__lfsc__:",C=N.length,j="arbf",L="blob",B="si08",F="ui08",x="uic8",k="si16",U="si32",W="ur16",z="ui32",G="fl32",q="fl64",Y=C+j.length,H=Object.prototype.toString;function V(t){var n,i,r,e,o,u=.75*t.length,f=t.length,c=0;"="===t[t.length-1]&&(u--,"="===t[t.length-2]&&u--);var s=new ArrayBuffer(u),a=new Uint8Array(s);for(n=0;n<f;n+=4)i=D.indexOf(t[n]),r=D.indexOf(t[n+1]),e=D.indexOf(t[n+2]),o=D.indexOf(t[n+3]),a[c++]=i<<2|r>>4,a[c++]=(15&r)<<4|e>>2,a[c++]=(3&e)<<6|63&o;return s}function $(t){var n,i=new Uint8Array(t),r="";for(n=0;n<i.length;n+=3)r+=D[i[n]>>2],r+=D[(3&i[n])<<4|i[n+1]>>4],r+=D[(15&i[n+1])<<2|i[n+2]>>6],r+=D[63&i[n+2]];return i.length%3==2?r=r.substring(0,r.length-1)+"=":i.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}var K={serialize:function(t,n){var i="";if(t&&(i=H.call(t)),t&&("[object ArrayBuffer]"===i||t.buffer&&"[object ArrayBuffer]"===H.call(t.buffer))){var r,e=N;t instanceof ArrayBuffer?(r=t,e+=j):(r=t.buffer,"[object Int8Array]"===i?e+=B:"[object Uint8Array]"===i?e+=F:"[object Uint8ClampedArray]"===i?e+=x:"[object Int16Array]"===i?e+=k:"[object Uint16Array]"===i?e+=W:"[object Int32Array]"===i?e+=U:"[object Uint32Array]"===i?e+=z:"[object Float32Array]"===i?e+=G:"[object Float64Array]"===i?e+=q:n(new Error("Failed to get type for BinaryArray"))),n(e+$(r))}else if("[object Blob]"===i){var o=new FileReader;o.onload=function(){var i="~~local_forage_type~"+t.type+"~"+$(this.result);n("__lfsc__:blob"+i)},o.readAsArrayBuffer(t)}else try{n(JSON.stringify(t))}catch(i){console.error("Couldn't convert value into a JSON string: ",t),n(null,i)}},deserialize:function(t){if(t.substring(0,C)!==N)return JSON.parse(t);var n,i=t.substring(Y),r=t.substring(C,Y);if(r===L&&P.test(i)){var o=i.match(P);n=o[1],i=i.substring(o[0].length)}var u=V(i);switch(r){case j:return u;case L:return e([u],{type:n});case B:return new Int8Array(u);case F:return new Uint8Array(u);case x:return new Uint8ClampedArray(u);case k:return new Int16Array(u);case W:return new Uint16Array(u);case U:return new Int32Array(u);case z:return new Uint32Array(u);case G:return new Float32Array(u);case q:return new Float64Array(u);default:throw new Error("Unkown type: "+r)}},stringToBuffer:V,bufferToString:$};function X(t,n,i,r){t.executeSql("CREATE TABLE IF NOT EXISTS "+n.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],i,r)}function Z(t,n,i,r,e,o){t.executeSql(i,r,e,(function(t,u){u.code===u.SYNTAX_ERR?t.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[n.storeName],(function(t,f){f.rows.length?o(t,u):X(t,n,(function(){t.executeSql(i,r,e,o)}),o)}),o):o(t,u)}),o)}function J(t,n,i,r){var e=this;t=c(t);var f=new o((function(o,u){e.ready().then((function(){void 0===n&&(n=null);var f=n,c=e._dbInfo;c.serializer.serialize(n,(function(n,s){s?u(s):c.db.transaction((function(i){Z(i,c,"INSERT OR REPLACE INTO "+c.storeName+" (key, value) VALUES (?, ?)",[t,n],(function(){o(f)}),(function(t,n){u(n)}))}),(function(n){if(n.code===n.QUOTA_ERR){if(r>0)return void o(J.apply(e,[t,f,i,r-1]));u(n)}}))}))})).catch(u)}));return u(f,i),f}function Q(t){return new o((function(n,i){t.transaction((function(r){r.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],(function(i,r){for(var e=[],o=0;o<r.rows.length;o++)e.push(r.rows.item(o).name);n({db:t,storeNames:e})}),(function(t,n){i(n)}))}),(function(t){i(t)}))}))}var tt={_driver:"webSQLStorage",_initStorage:function(t){var n=this,i={db:null};if(t)for(var r in t)i[r]="string"!=typeof t[r]?t[r].toString():t[r];var e=new o((function(t,r){try{i.db=openDatabase(i.name,String(i.version),i.description,i.size)}catch(t){return r(t)}i.db.transaction((function(e){X(e,i,(function(){n._dbInfo=i,t()}),(function(t,n){r(n)}))}),r)}));return i.serializer=K,e},_support:"function"==typeof openDatabase,iterate:function(t,n){var i=this,r=new o((function(n,r){i.ready().then((function(){var e=i._dbInfo;e.db.transaction((function(i){Z(i,e,"SELECT * FROM "+e.storeName,[],(function(i,r){for(var o=r.rows,u=o.length,f=0;f<u;f++){var c=o.item(f),s=c.value;if(s&&(s=e.serializer.deserialize(s)),void 0!==(s=t(s,c.key,f+1)))return void n(s)}n()}),(function(t,n){r(n)}))}))})).catch(r)}));return u(r,n),r},getItem:function(t,n){var i=this;t=c(t);var r=new o((function(n,r){i.ready().then((function(){var e=i._dbInfo;e.db.transaction((function(i){Z(i,e,"SELECT * FROM "+e.storeName+" WHERE key = ? LIMIT 1",[t],(function(t,i){var r=i.rows.length?i.rows.item(0).value:null;r&&(r=e.serializer.deserialize(r)),n(r)}),(function(t,n){r(n)}))}))})).catch(r)}));return u(r,n),r},setItem:function(t,n,i){return J.apply(this,[t,n,i,1])},removeItem:function(t,n){var i=this;t=c(t);var r=new o((function(n,r){i.ready().then((function(){var e=i._dbInfo;e.db.transaction((function(i){Z(i,e,"DELETE FROM "+e.storeName+" WHERE key = ?",[t],(function(){n()}),(function(t,n){r(n)}))}))})).catch(r)}));return u(r,n),r},clear:function(t){var n=this,i=new o((function(t,i){n.ready().then((function(){var r=n._dbInfo;r.db.transaction((function(n){Z(n,r,"DELETE FROM "+r.storeName,[],(function(){t()}),(function(t,n){i(n)}))}))})).catch(i)}));return u(i,t),i},length:function(t){var n=this,i=new o((function(t,i){n.ready().then((function(){var r=n._dbInfo;r.db.transaction((function(n){Z(n,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],(function(n,i){var r=i.rows.item(0).c;t(r)}),(function(t,n){i(n)}))}))})).catch(i)}));return u(i,t),i},key:function(t,n){var i=this,r=new o((function(n,r){i.ready().then((function(){var e=i._dbInfo;e.db.transaction((function(i){Z(i,e,"SELECT key FROM "+e.storeName+" WHERE id = ? LIMIT 1",[t+1],(function(t,i){var r=i.rows.length?i.rows.item(0).key:null;n(r)}),(function(t,n){r(n)}))}))})).catch(r)}));return u(r,n),r},keys:function(t){var n=this,i=new o((function(t,i){n.ready().then((function(){var r=n._dbInfo;r.db.transaction((function(n){Z(n,r,"SELECT key FROM "+r.storeName,[],(function(n,i){for(var r=[],e=0;e<i.rows.length;e++)r.push(i.rows.item(e).key);t(r)}),(function(t,n){i(n)}))}))})).catch(i)}));return u(i,t),i},dropInstance:function(t,n){n=s.apply(this,arguments);var i=this.config();(t="function"!=typeof t&&t||{}).name||(t.name=t.name||i.name,t.storeName=t.storeName||i.storeName);var r,e=this;return u(r=t.name?new o((function(n){var r;r=t.name===i.name?e._dbInfo.db:openDatabase(t.name,"","",0),n(t.storeName?{db:r,storeNames:[t.storeName]}:Q(r))})).then((function(t){return new o((function(n,i){t.db.transaction((function(r){function e(t){return new o((function(n,i){r.executeSql("DROP TABLE IF EXISTS "+t,[],(function(){n()}),(function(t,n){i(n)}))}))}for(var u=[],f=0,c=t.storeNames.length;f<c;f++)u.push(e(t.storeNames[f]));o.all(u).then((function(){n()})).catch((function(t){i(t)}))}),(function(t){i(t)}))}))})):o.reject("Invalid arguments"),n),r}};function nt(t,n){var i=t.name+"/";return t.storeName!==n.storeName&&(i+=t.storeName+"/"),i}function it(){return!function(){var t="_localforage_support_test";try{return localStorage.setItem(t,!0),localStorage.removeItem(t),!1}catch(t){return!0}}()||localStorage.length>0}var rt={_driver:"localStorageWrapper",_initStorage:function(t){var n={};if(t)for(var i in t)n[i]=t[i];return n.keyPrefix=nt(t,this._defaultConfig),it()?(this._dbInfo=n,n.serializer=K,o.resolve()):o.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(t){return!1}}(),iterate:function(t,n){var i=this,r=i.ready().then((function(){for(var n=i._dbInfo,r=n.keyPrefix,e=r.length,o=localStorage.length,u=1,f=0;f<o;f++){var c=localStorage.key(f);if(0===c.indexOf(r)){var s=localStorage.getItem(c);if(s&&(s=n.serializer.deserialize(s)),void 0!==(s=t(s,c.substring(e),u++)))return s}}}));return u(r,n),r},getItem:function(t,n){var i=this;t=c(t);var r=i.ready().then((function(){var n=i._dbInfo,r=localStorage.getItem(n.keyPrefix+t);return r&&(r=n.serializer.deserialize(r)),r}));return u(r,n),r},setItem:function(t,n,i){var r=this;t=c(t);var e=r.ready().then((function(){void 0===n&&(n=null);var i=n;return new o((function(e,o){var u=r._dbInfo;u.serializer.serialize(n,(function(n,r){if(r)o(r);else try{localStorage.setItem(u.keyPrefix+t,n),e(i)}catch(t){"QuotaExceededError"!==t.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==t.name||o(t),o(t)}}))}))}));return u(e,i),e},removeItem:function(t,n){var i=this;t=c(t);var r=i.ready().then((function(){localStorage.removeItem(i._dbInfo.keyPrefix+t)}));return u(r,n),r},clear:function(t){var n=this,i=n.ready().then((function(){for(var t=n._dbInfo.keyPrefix,i=localStorage.length-1;i>=0;i--){var r=localStorage.key(i);0===r.indexOf(t)&&localStorage.removeItem(r)}}));return u(i,t),i},length:function(t){var n=this.keys().then((function(t){return t.length}));return u(n,t),n},key:function(t,n){var i=this,r=i.ready().then((function(){var n,r=i._dbInfo;try{n=localStorage.key(t)}catch(t){n=null}return n&&(n=n.substring(r.keyPrefix.length)),n}));return u(r,n),r},keys:function(t){var n=this,i=n.ready().then((function(){for(var t=n._dbInfo,i=localStorage.length,r=[],e=0;e<i;e++){var o=localStorage.key(e);0===o.indexOf(t.keyPrefix)&&r.push(o.substring(t.keyPrefix.length))}return r}));return u(i,t),i},dropInstance:function(t,n){if(n=s.apply(this,arguments),!(t="function"!=typeof t&&t||{}).name){var i=this.config();t.name=t.name||i.name,t.storeName=t.storeName||i.storeName}var r,e=this;return u(r=t.name?new o((function(n){n(t.storeName?nt(t,e._defaultConfig):t.name+"/")})).then((function(t){for(var n=localStorage.length-1;n>=0;n--){var i=localStorage.key(n);0===i.indexOf(t)&&localStorage.removeItem(i)}})):o.reject("Invalid arguments"),n),r}},et=function(t,n){for(var i=t.length,r=0;r<i;){if((e=t[r])===(o=n)||"number"==typeof e&&"number"==typeof o&&isNaN(e)&&isNaN(o))return!0;r++}var e,o;return!1},ot=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},ut={},ft={},ct={INDEXEDDB:M,WEBSQL:tt,LOCALSTORAGE:rt},st=[ct.INDEXEDDB._driver,ct.WEBSQL._driver,ct.LOCALSTORAGE._driver],at=["dropInstance"],ht=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(at),vt={description:"",driver:st.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function lt(t,n){t[n]=function(){var i=arguments;return t.ready().then((function(){return t[n].apply(t,i)}))}}function dt(){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n)for(var i in n)n.hasOwnProperty(i)&&(arguments[0][i]=ot(n[i])?n[i].slice():n[i])}return arguments[0]}var pt=new(function(){function t(n){for(var i in function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),ct)if(ct.hasOwnProperty(i)){var r=ct[i],e=r._driver;this[i]=e,ut[e]||this.defineDriver(r)}this._defaultConfig=dt({},vt),this._config=dt({},this._defaultConfig,n),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return t.prototype.config=function(t){if("object"===(void 0===t?"undefined":i(t))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var n in t){if("storeName"===n&&(t[n]=t[n].replace(/\W/g,"_")),"version"===n&&"number"!=typeof t[n])return new Error("Database version must be a number.");this._config[n]=t[n]}return!("driver"in t)||!t.driver||this.setDriver(this._config.driver)}return"string"==typeof t?this._config[t]:this._config},t.prototype.defineDriver=function(t,n,i){var r=new o((function(n,i){try{var r=t._driver,e=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!t._driver)return void i(e);for(var f=ht.concat("_initStorage"),c=0,s=f.length;c<s;c++){var a=f[c];if((!et(at,a)||t[a])&&"function"!=typeof t[a])return void i(e)}!function(){for(var n=function(t){return function(){var n=new Error("Method "+t+" is not implemented by the current driver"),i=o.reject(n);return u(i,arguments[arguments.length-1]),i}},i=0,r=at.length;i<r;i++){var e=at[i];t[e]||(t[e]=n(e))}}();var h=function(i){ut[r]&&console.info("Redefining LocalForage driver: "+r),ut[r]=t,ft[r]=i,n()};"_support"in t?t._support&&"function"==typeof t._support?t._support().then(h,i):h(!!t._support):h(!0)}catch(t){i(t)}}));return f(r,n,i),r},t.prototype.driver=function(){return this._driver||null},t.prototype.getDriver=function(t,n,i){var r=ut[t]?o.resolve(ut[t]):o.reject(new Error("Driver not found."));return f(r,n,i),r},t.prototype.getSerializer=function(t){var n=o.resolve(K);return f(n,t),n},t.prototype.ready=function(t){var n=this,i=n._driverSet.then((function(){return null===n._ready&&(n._ready=n._initDriver()),n._ready}));return f(i,t,t),i},t.prototype.setDriver=function(t,n,i){var r=this;ot(t)||(t=[t]);var e=this._getSupportedDrivers(t);function u(){r._config.driver=r.driver()}function c(t){return r._extend(t),u(),r._ready=r._initStorage(r._config),r._ready}var s=null!==this._driverSet?this._driverSet.catch((function(){return o.resolve()})):o.resolve();return this._driverSet=s.then((function(){var t=e[0];return r._dbInfo=null,r._ready=null,r.getDriver(t).then((function(t){r._driver=t._driver,u(),r._wrapLibraryMethodsWithReady(),r._initDriver=function(t){return function(){var n=0;return function i(){for(;n<t.length;){var e=t[n];return n++,r._dbInfo=null,r._ready=null,r.getDriver(e).then(c).catch(i)}u();var f=new Error("No available storage method found.");return r._driverSet=o.reject(f),r._driverSet}()}}(e)}))})).catch((function(){u();var t=new Error("No available storage method found.");return r._driverSet=o.reject(t),r._driverSet})),f(this._driverSet,n,i),this._driverSet},t.prototype.supports=function(t){return!!ft[t]},t.prototype._extend=function(t){dt(this,t)},t.prototype._getSupportedDrivers=function(t){for(var n=[],i=0,r=t.length;i<r;i++){var e=t[i];this.supports(e)&&n.push(e)}return n},t.prototype._wrapLibraryMethodsWithReady=function(){for(var t=0,n=ht.length;t<n;t++)lt(this,ht[t])},t.prototype.createInstance=function(n){return new t(n)},t}());n.exports=pt},{3:3}]},{},[4])(4)}));function T(t){return T.result?T.result:t&&"function"==typeof t.getSerializer?T.result=t.getSerializer():Promise.reject(new Error("localforage.getSerializer() was not available! localforage v1.4+ is required!"))}function A(t,n){return(A.result=A.result||{})[n]?A.result[n]:t&&"function"==typeof t.getDriver?A.result[n]=t.getDriver(n):Promise.reject(new Error("localforage.getDriver() was not available! localforage v1.4+ is required!"))}function O(t){return A(t,t.WEBSQL)}var I=new Promise((function(t,n){"undefined"!=typeof sqlitePlugin?t():"undefined"==typeof cordova?n(new Error("cordova is not defined.")):document.addEventListener("deviceready",(function(){return t()}),!1)})).catch((function(){return Promise.resolve()}));function S(){return I.then((function(){if("undefined"!=typeof sqlitePlugin&&"function"==typeof sqlitePlugin.openDatabase)return sqlitePlugin.openDatabase;throw new Error("SQLite plugin is not present.")}))}var R={_driver:"cordovaSQLiteDriver",_initStorage:function(t){var n=this,i={db:null};if(t)for(var r in t)i[r]="string"!=typeof t[r]?t[r].toString():t[r];var e=S().then((function(t){return new Promise((function(r,e){try{i.location=i.location||"default",i.db=t({name:i.name,version:String(i.version),description:i.description,size:i.size,key:i.dbKey,location:i.location})}catch(t){e(t)}i.db.transaction((function(t){t.executeSql("CREATE TABLE IF NOT EXISTS "+i.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],(function(){n._dbInfo=i,r()}),(function(t,n){e(n)}))}))}))})),o=T(n),u=O(n);return Promise.all([o,u,e]).then((function(t){return i.serializer=t[0],e}))},_support:function(){return S().then((function(t){return!!t})).catch((function(){return!1}))}};!function(t){var n=["clear","getItem","iterate","key","keys","length","removeItem","setItem","dropInstance"];function i(t,n){t[n]=function(){var t=this,i=arguments;return O(t).then((function(r){return r[n].apply(t,i)}))}}for(var r=0,e=n.length;r<e;r++)i(t,n[r])}(R);var _,M=t((function(t){
|
|
8
|
+
t.exports=function t(n,r,e){function o(f,s){if(!r[f]){if(!n[f]){var c="function"==typeof i&&i;if(!s&&c)return c(f,!0);if(u)return u(f,!0);var a=new Error("Cannot find module '"+f+"'");throw a.code="MODULE_NOT_FOUND",a}var h=r[f]={exports:{}};n[f][0].call(h.exports,(function(t){return o(n[f][1][t]||t)}),h,h.exports,t,n,r,e)}return r[f].exports}for(var u="function"==typeof i&&i,f=0;f<e.length;f++)o(e[f]);return o}({1:[function(t,i){(function(t){var n,r,e=t.MutationObserver||t.WebKitMutationObserver;if(e){var o=0,u=new e(a),f=t.document.createTextNode("");u.observe(f,{characterData:!0}),n=function(){f.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)n="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var n=t.document.createElement("script");n.onreadystatechange=function(){a(),n.onreadystatechange=null,n.parentNode.removeChild(n),n=null},t.document.documentElement.appendChild(n)}:function(){setTimeout(a,0)};else{var s=new t.MessageChannel;s.port1.onmessage=a,n=function(){s.port2.postMessage(0)}}var c=[];function a(){var t,n;r=!0;for(var i=c.length;i;){for(n=c,c=[],t=-1;++t<i;)n[t]();i=c.length}r=!1}i.exports=function(t){1!==c.push(t)||r||n()}}).call(this,void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,n){var i=t(1);function r(){}var e={},o=["REJECTED"],u=["FULFILLED"],f=["PENDING"];function s(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=f,this.queue=[],this.outcome=void 0,t!==r&&v(this,t)}function c(t,n,i){this.promise=t,"function"==typeof n&&(this.onFulfilled=n,this.callFulfilled=this.otherCallFulfilled),"function"==typeof i&&(this.onRejected=i,this.callRejected=this.otherCallRejected)}function a(t,n,r){i((function(){var i;try{i=n(r)}catch(n){return e.reject(t,n)}i===t?e.reject(t,new TypeError("Cannot resolve promise with itself")):e.resolve(t,i)}))}function h(t){var n=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof n)return function(){n.apply(t,arguments)}}function v(t,n){var i=!1;function r(n){i||(i=!0,e.reject(t,n))}function o(n){i||(i=!0,e.resolve(t,n))}var u=l((function(){n(o,r)}));"error"===u.status&&r(u.value)}function l(t,n){var i={};try{i.value=t(n),i.status="success"}catch(t){i.status="error",i.value=t}return i}n.exports=s,s.prototype.catch=function(t){return this.then(null,t)},s.prototype.then=function(t,n){if("function"!=typeof t&&this.state===u||"function"!=typeof n&&this.state===o)return this;var i=new this.constructor(r);return this.state!==f?a(i,this.state===u?t:n,this.outcome):this.queue.push(new c(i,t,n)),i},c.prototype.callFulfilled=function(t){e.resolve(this.promise,t)},c.prototype.otherCallFulfilled=function(t){a(this.promise,this.onFulfilled,t)},c.prototype.callRejected=function(t){e.reject(this.promise,t)},c.prototype.otherCallRejected=function(t){a(this.promise,this.onRejected,t)},e.resolve=function(t,n){var i=l(h,n);if("error"===i.status)return e.reject(t,i.value);var r=i.value;if(r)v(t,r);else{t.state=u,t.outcome=n;for(var o=-1,f=t.queue.length;++o<f;)t.queue[o].callFulfilled(n)}return t},e.reject=function(t,n){t.state=o,t.outcome=n;for(var i=-1,r=t.queue.length;++i<r;)t.queue[i].callRejected(n);return t},s.resolve=function(t){return t instanceof this?t:e.resolve(new this(r),t)},s.reject=function(t){var n=new this(r);return e.reject(n,t)},s.all=function(t){var n=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var i=t.length,o=!1;if(!i)return this.resolve([]);for(var u=new Array(i),f=0,s=-1,c=new this(r);++s<i;)a(t[s],s);return c;function a(t,r){n.resolve(t).then((function(t){u[r]=t,++f!==i||o||(o=!0,e.resolve(c,u))}),(function(t){o||(o=!0,e.reject(c,t))}))}},s.race=function(t){var n=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var i=t.length,o=!1;if(!i)return this.resolve([]);for(var u=-1,f=new this(r);++u<i;)n.resolve(t[u]).then((function(t){o||(o=!0,e.resolve(f,t))}),(function(t){o||(o=!0,e.reject(f,t))}));return f}},{1:1}],3:[function(t){(function(n){"function"!=typeof n.Promise&&(n.Promise=t(2))}).call(this,void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(t,n){var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var r=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(t){return}}();function e(t,n){t=t||[],n=n||{};try{return new Blob(t,n)}catch(e){if("TypeError"!==e.name)throw e;for(var i=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<t.length;r+=1)i.append(t[r]);return i.getBlob(n.type)}}"undefined"==typeof Promise&&t(3);var o=Promise;function u(t,n){n&&t.then((function(t){n(null,t)}),(function(t){n(t)}))}function f(t,n,i){"function"==typeof n&&t.then(n),"function"==typeof i&&t.catch(i)}function s(t){return"string"!=typeof t&&(console.warn(t+" used as a key, but it is not a string."),t=String(t)),t}function c(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var a="local-forage-detect-blob-support",h=void 0,v={},l=Object.prototype.toString,d="readonly",p="readwrite";function y(t){for(var n=t.length,i=new ArrayBuffer(n),r=new Uint8Array(i),e=0;e<n;e++)r[e]=t.charCodeAt(e);return i}function m(t){return"boolean"==typeof h?o.resolve(h):function(t){return new o((function(n){var i=t.transaction(a,p),r=e([""]);i.objectStore(a).put(r,"key"),i.onabort=function(t){t.preventDefault(),t.stopPropagation(),n(!1)},i.oncomplete=function(){var t=navigator.userAgent.match(/Chrome\/(\d+)/),i=navigator.userAgent.match(/Edge\//);n(i||!t||parseInt(t[1],10)>=43)}})).catch((function(){return!1}))}(t).then((function(t){return h=t}))}function g(t){var n=v[t.name],i={};i.promise=new o((function(t,n){i.resolve=t,i.reject=n})),n.deferredOperations.push(i),n.dbReady=n.dbReady?n.dbReady.then((function(){return i.promise})):i.promise}function w(t){var n=v[t.name].deferredOperations.pop();if(n)return n.resolve(),n.promise}function b(t,n){var i=v[t.name].deferredOperations.pop();if(i)return i.reject(n),i.promise}function E(t,n){return new o((function(i,e){if(v[t.name]=v[t.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},t.db){if(!n)return i(t.db);g(t),t.db.close()}var o=[t.name];n&&o.push(t.version);var u=r.open.apply(r,o);n&&(u.onupgradeneeded=function(n){var i=u.result;try{i.createObjectStore(t.storeName),n.oldVersion<=1&&i.createObjectStore(a)}catch(i){if("ConstraintError"!==i.name)throw i;console.warn('The database "'+t.name+'" has been upgraded from version '+n.oldVersion+" to version "+n.newVersion+', but the storage "'+t.storeName+'" already exists.')}}),u.onerror=function(t){t.preventDefault(),e(u.error)},u.onsuccess=function(){i(u.result),w(t)}}))}function T(t){return E(t,!1)}function A(t){return E(t,!0)}function O(t,n){if(!t.db)return!0;var i=!t.db.objectStoreNames.contains(t.storeName),r=t.version>t.db.version;if(t.version<t.db.version&&(t.version!==n&&console.warn('The database "'+t.name+"\" can't be downgraded from version "+t.db.version+" to version "+t.version+"."),t.version=t.db.version),r||i){if(i){var e=t.db.version+1;e>t.version&&(t.version=e)}return!0}return!1}function I(t){return e([y(atob(t.data))],{type:t.type})}function S(t){return t&&t.__local_forage_encoded_blob}function R(t){var n=this,i=n._initReady().then((function(){var t=v[n._dbInfo.name];if(t&&t.dbReady)return t.dbReady}));return f(i,t,t),i}function _(t,n,i,r){void 0===r&&(r=1);try{var e=t.db.transaction(t.storeName,n);i(null,e)}catch(e){if(r>0&&(!t.db||"InvalidStateError"===e.name||"NotFoundError"===e.name))return o.resolve().then((function(){if(!t.db||"NotFoundError"===e.name&&!t.db.objectStoreNames.contains(t.storeName)&&t.version<=t.db.version)return t.db&&(t.version=t.db.version+1),A(t)})).then((function(){return function(t){g(t);for(var n=v[t.name],i=n.forages,r=0;r<i.length;r++){var e=i[r];e._dbInfo.db&&(e._dbInfo.db.close(),e._dbInfo.db=null)}return t.db=null,T(t).then((function(n){return t.db=n,O(t)?A(t):n})).then((function(r){t.db=n.db=r;for(var e=0;e<i.length;e++)i[e]._dbInfo.db=r})).catch((function(n){throw b(t,n),n}))}(t).then((function(){_(t,n,i,r-1)}))})).catch(i);i(e)}}var M={_driver:"asyncStorage",_initStorage:function(t){var n=this,i={db:null};if(t)for(var r in t)i[r]=t[r];var e=v[i.name];e||(v[i.name]=e={forages:[],db:null,dbReady:null,deferredOperations:[]}),e.forages.push(n),n._initReady||(n._initReady=n.ready,n.ready=R);var u=[];function f(){return o.resolve()}for(var s=0;s<e.forages.length;s++){var c=e.forages[s];c!==n&&u.push(c._initReady().catch(f))}var a=e.forages.slice(0);return o.all(u).then((function(){return i.db=e.db,T(i)})).then((function(t){return i.db=t,O(i,n._defaultConfig.version)?A(i):t})).then((function(t){i.db=e.db=t,n._dbInfo=i;for(var r=0;r<a.length;r++){var o=a[r];o!==n&&(o._dbInfo.db=i.db,o._dbInfo.version=i.version)}}))},_support:function(){try{if(!r||!r.open)return!1;var t="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),n="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!t||n)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(t){return!1}}(),iterate:function(t,n){var i=this,r=new o((function(n,r){i.ready().then((function(){_(i._dbInfo,d,(function(e,o){if(e)return r(e);try{var u=o.objectStore(i._dbInfo.storeName).openCursor(),f=1;u.onsuccess=function(){var i=u.result;if(i){var r=i.value;S(r)&&(r=I(r));var e=t(r,i.key,f++);void 0!==e?n(e):i.continue()}else n()},u.onerror=function(){r(u.error)}}catch(t){r(t)}}))})).catch(r)}));return u(r,n),r},getItem:function(t,n){var i=this;t=s(t);var r=new o((function(n,r){i.ready().then((function(){_(i._dbInfo,d,(function(e,o){if(e)return r(e);try{var u=o.objectStore(i._dbInfo.storeName).get(t);u.onsuccess=function(){var t=u.result;void 0===t&&(t=null),S(t)&&(t=I(t)),n(t)},u.onerror=function(){r(u.error)}}catch(t){r(t)}}))})).catch(r)}));return u(r,n),r},setItem:function(t,n,i){var r=this;t=s(t);var e=new o((function(i,e){var u;r.ready().then((function(){return u=r._dbInfo,"[object Blob]"===l.call(n)?m(u.db).then((function(t){return t?n:(i=n,new o((function(t,n){var r=new FileReader;r.onerror=n,r.onloadend=function(n){var r=btoa(n.target.result||"");t({__local_forage_encoded_blob:!0,data:r,type:i.type})},r.readAsBinaryString(i)})));var i})):n})).then((function(n){_(r._dbInfo,p,(function(o,u){if(o)return e(o);try{var f=u.objectStore(r._dbInfo.storeName);null===n&&(n=void 0);var s=f.put(n,t);u.oncomplete=function(){void 0===n&&(n=null),i(n)},u.onabort=u.onerror=function(){e(s.error?s.error:s.transaction.error)}}catch(t){e(t)}}))})).catch(e)}));return u(e,i),e},removeItem:function(t,n){var i=this;t=s(t);var r=new o((function(n,r){i.ready().then((function(){_(i._dbInfo,p,(function(e,o){if(e)return r(e);try{var u=o.objectStore(i._dbInfo.storeName).delete(t);o.oncomplete=function(){n()},o.onerror=function(){r(u.error)},o.onabort=function(){r(u.error?u.error:u.transaction.error)}}catch(t){r(t)}}))})).catch(r)}));return u(r,n),r},clear:function(t){var n=this,i=new o((function(t,i){n.ready().then((function(){_(n._dbInfo,p,(function(r,e){if(r)return i(r);try{var o=e.objectStore(n._dbInfo.storeName).clear();e.oncomplete=function(){t()},e.onabort=e.onerror=function(){i(o.error?o.error:o.transaction.error)}}catch(t){i(t)}}))})).catch(i)}));return u(i,t),i},length:function(t){var n=this,i=new o((function(t,i){n.ready().then((function(){_(n._dbInfo,d,(function(r,e){if(r)return i(r);try{var o=e.objectStore(n._dbInfo.storeName).count();o.onsuccess=function(){t(o.result)},o.onerror=function(){i(o.error)}}catch(t){i(t)}}))})).catch(i)}));return u(i,t),i},key:function(t,n){var i=this,r=new o((function(n,r){t<0?n(null):i.ready().then((function(){_(i._dbInfo,d,(function(e,o){if(e)return r(e);try{var u=o.objectStore(i._dbInfo.storeName),f=!1,s=u.openKeyCursor();s.onsuccess=function(){var i=s.result;i?0===t||f?n(i.key):(f=!0,i.advance(t)):n(null)},s.onerror=function(){r(s.error)}}catch(t){r(t)}}))})).catch(r)}));return u(r,n),r},keys:function(t){var n=this,i=new o((function(t,i){n.ready().then((function(){_(n._dbInfo,d,(function(r,e){if(r)return i(r);try{var o=e.objectStore(n._dbInfo.storeName).openKeyCursor(),u=[];o.onsuccess=function(){var n=o.result;n?(u.push(n.key),n.continue()):t(u)},o.onerror=function(){i(o.error)}}catch(t){i(t)}}))})).catch(i)}));return u(i,t),i},dropInstance:function(t,n){n=c.apply(this,arguments);var i=this.config();(t="function"!=typeof t&&t||{}).name||(t.name=t.name||i.name,t.storeName=t.storeName||i.storeName);var e,f=this;if(t.name){var s=t.name===i.name&&f._dbInfo.db?o.resolve(f._dbInfo.db):T(t).then((function(n){var i=v[t.name],r=i.forages;i.db=n;for(var e=0;e<r.length;e++)r[e]._dbInfo.db=n;return n}));e=s.then(t.storeName?function(n){if(n.objectStoreNames.contains(t.storeName)){var i=n.version+1;g(t);var e=v[t.name],u=e.forages;n.close();for(var f=0;f<u.length;f++){var s=u[f];s._dbInfo.db=null,s._dbInfo.version=i}return new o((function(n,e){var o=r.open(t.name,i);o.onerror=function(t){o.result.close(),e(t)},o.onupgradeneeded=function(){o.result.deleteObjectStore(t.storeName)},o.onsuccess=function(){var t=o.result;t.close(),n(t)}})).then((function(t){e.db=t;for(var n=0;n<u.length;n++){var i=u[n];i._dbInfo.db=t,w(i._dbInfo)}})).catch((function(n){throw(b(t,n)||o.resolve()).catch((function(){})),n}))}}:function(n){g(t);var i=v[t.name],e=i.forages;n.close();for(var u=0;u<e.length;u++)e[u]._dbInfo.db=null;return new o((function(n,i){var e=r.deleteDatabase(t.name);e.onerror=e.onblocked=function(t){var n=e.result;n&&n.close(),i(t)},e.onsuccess=function(){var t=e.result;t&&t.close(),n(t)}})).then((function(t){i.db=t;for(var n=0;n<e.length;n++)w(e[n]._dbInfo)})).catch((function(n){throw(b(t,n)||o.resolve()).catch((function(){})),n}))})}else e=o.reject("Invalid arguments");return u(e,n),e}};var D="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",P=/^~~local_forage_type~([^~]+)~/,N="__lfsc__:",C=N.length,j="arbf",L="blob",B="si08",F="ui08",x="uic8",k="si16",U="si32",W="ur16",z="ui32",G="fl32",q="fl64",Y=C+j.length,H=Object.prototype.toString;function V(t){var n,i,r,e,o,u=.75*t.length,f=t.length,s=0;"="===t[t.length-1]&&(u--,"="===t[t.length-2]&&u--);var c=new ArrayBuffer(u),a=new Uint8Array(c);for(n=0;n<f;n+=4)i=D.indexOf(t[n]),r=D.indexOf(t[n+1]),e=D.indexOf(t[n+2]),o=D.indexOf(t[n+3]),a[s++]=i<<2|r>>4,a[s++]=(15&r)<<4|e>>2,a[s++]=(3&e)<<6|63&o;return c}function $(t){var n,i=new Uint8Array(t),r="";for(n=0;n<i.length;n+=3)r+=D[i[n]>>2],r+=D[(3&i[n])<<4|i[n+1]>>4],r+=D[(15&i[n+1])<<2|i[n+2]>>6],r+=D[63&i[n+2]];return i.length%3==2?r=r.substring(0,r.length-1)+"=":i.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}var K={serialize:function(t,n){var i="";if(t&&(i=H.call(t)),t&&("[object ArrayBuffer]"===i||t.buffer&&"[object ArrayBuffer]"===H.call(t.buffer))){var r,e=N;t instanceof ArrayBuffer?(r=t,e+=j):(r=t.buffer,"[object Int8Array]"===i?e+=B:"[object Uint8Array]"===i?e+=F:"[object Uint8ClampedArray]"===i?e+=x:"[object Int16Array]"===i?e+=k:"[object Uint16Array]"===i?e+=W:"[object Int32Array]"===i?e+=U:"[object Uint32Array]"===i?e+=z:"[object Float32Array]"===i?e+=G:"[object Float64Array]"===i?e+=q:n(new Error("Failed to get type for BinaryArray"))),n(e+$(r))}else if("[object Blob]"===i){var o=new FileReader;o.onload=function(){var i="~~local_forage_type~"+t.type+"~"+$(this.result);n("__lfsc__:blob"+i)},o.readAsArrayBuffer(t)}else try{n(JSON.stringify(t))}catch(i){console.error("Couldn't convert value into a JSON string: ",t),n(null,i)}},deserialize:function(t){if(t.substring(0,C)!==N)return JSON.parse(t);var n,i=t.substring(Y),r=t.substring(C,Y);if(r===L&&P.test(i)){var o=i.match(P);n=o[1],i=i.substring(o[0].length)}var u=V(i);switch(r){case j:return u;case L:return e([u],{type:n});case B:return new Int8Array(u);case F:return new Uint8Array(u);case x:return new Uint8ClampedArray(u);case k:return new Int16Array(u);case W:return new Uint16Array(u);case U:return new Int32Array(u);case z:return new Uint32Array(u);case G:return new Float32Array(u);case q:return new Float64Array(u);default:throw new Error("Unkown type: "+r)}},stringToBuffer:V,bufferToString:$};function X(t,n,i,r){t.executeSql("CREATE TABLE IF NOT EXISTS "+n.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],i,r)}function Z(t,n,i,r,e,o){t.executeSql(i,r,e,(function(t,u){u.code===u.SYNTAX_ERR?t.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[n.storeName],(function(t,f){f.rows.length?o(t,u):X(t,n,(function(){t.executeSql(i,r,e,o)}),o)}),o):o(t,u)}),o)}function J(t,n,i,r){var e=this;t=s(t);var f=new o((function(o,u){e.ready().then((function(){void 0===n&&(n=null);var f=n,s=e._dbInfo;s.serializer.serialize(n,(function(n,c){c?u(c):s.db.transaction((function(i){Z(i,s,"INSERT OR REPLACE INTO "+s.storeName+" (key, value) VALUES (?, ?)",[t,n],(function(){o(f)}),(function(t,n){u(n)}))}),(function(n){if(n.code===n.QUOTA_ERR){if(r>0)return void o(J.apply(e,[t,f,i,r-1]));u(n)}}))}))})).catch(u)}));return u(f,i),f}function Q(t){return new o((function(n,i){t.transaction((function(r){r.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],(function(i,r){for(var e=[],o=0;o<r.rows.length;o++)e.push(r.rows.item(o).name);n({db:t,storeNames:e})}),(function(t,n){i(n)}))}),(function(t){i(t)}))}))}var tt={_driver:"webSQLStorage",_initStorage:function(t){var n=this,i={db:null};if(t)for(var r in t)i[r]="string"!=typeof t[r]?t[r].toString():t[r];var e=new o((function(t,r){try{i.db=openDatabase(i.name,String(i.version),i.description,i.size)}catch(t){return r(t)}i.db.transaction((function(e){X(e,i,(function(){n._dbInfo=i,t()}),(function(t,n){r(n)}))}),r)}));return i.serializer=K,e},_support:"function"==typeof openDatabase,iterate:function(t,n){var i=this,r=new o((function(n,r){i.ready().then((function(){var e=i._dbInfo;e.db.transaction((function(i){Z(i,e,"SELECT * FROM "+e.storeName,[],(function(i,r){for(var o=r.rows,u=o.length,f=0;f<u;f++){var s=o.item(f),c=s.value;if(c&&(c=e.serializer.deserialize(c)),void 0!==(c=t(c,s.key,f+1)))return void n(c)}n()}),(function(t,n){r(n)}))}))})).catch(r)}));return u(r,n),r},getItem:function(t,n){var i=this;t=s(t);var r=new o((function(n,r){i.ready().then((function(){var e=i._dbInfo;e.db.transaction((function(i){Z(i,e,"SELECT * FROM "+e.storeName+" WHERE key = ? LIMIT 1",[t],(function(t,i){var r=i.rows.length?i.rows.item(0).value:null;r&&(r=e.serializer.deserialize(r)),n(r)}),(function(t,n){r(n)}))}))})).catch(r)}));return u(r,n),r},setItem:function(t,n,i){return J.apply(this,[t,n,i,1])},removeItem:function(t,n){var i=this;t=s(t);var r=new o((function(n,r){i.ready().then((function(){var e=i._dbInfo;e.db.transaction((function(i){Z(i,e,"DELETE FROM "+e.storeName+" WHERE key = ?",[t],(function(){n()}),(function(t,n){r(n)}))}))})).catch(r)}));return u(r,n),r},clear:function(t){var n=this,i=new o((function(t,i){n.ready().then((function(){var r=n._dbInfo;r.db.transaction((function(n){Z(n,r,"DELETE FROM "+r.storeName,[],(function(){t()}),(function(t,n){i(n)}))}))})).catch(i)}));return u(i,t),i},length:function(t){var n=this,i=new o((function(t,i){n.ready().then((function(){var r=n._dbInfo;r.db.transaction((function(n){Z(n,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],(function(n,i){var r=i.rows.item(0).c;t(r)}),(function(t,n){i(n)}))}))})).catch(i)}));return u(i,t),i},key:function(t,n){var i=this,r=new o((function(n,r){i.ready().then((function(){var e=i._dbInfo;e.db.transaction((function(i){Z(i,e,"SELECT key FROM "+e.storeName+" WHERE id = ? LIMIT 1",[t+1],(function(t,i){var r=i.rows.length?i.rows.item(0).key:null;n(r)}),(function(t,n){r(n)}))}))})).catch(r)}));return u(r,n),r},keys:function(t){var n=this,i=new o((function(t,i){n.ready().then((function(){var r=n._dbInfo;r.db.transaction((function(n){Z(n,r,"SELECT key FROM "+r.storeName,[],(function(n,i){for(var r=[],e=0;e<i.rows.length;e++)r.push(i.rows.item(e).key);t(r)}),(function(t,n){i(n)}))}))})).catch(i)}));return u(i,t),i},dropInstance:function(t,n){n=c.apply(this,arguments);var i=this.config();(t="function"!=typeof t&&t||{}).name||(t.name=t.name||i.name,t.storeName=t.storeName||i.storeName);var r,e=this;return u(r=t.name?new o((function(n){var r;r=t.name===i.name?e._dbInfo.db:openDatabase(t.name,"","",0),n(t.storeName?{db:r,storeNames:[t.storeName]}:Q(r))})).then((function(t){return new o((function(n,i){t.db.transaction((function(r){function e(t){return new o((function(n,i){r.executeSql("DROP TABLE IF EXISTS "+t,[],(function(){n()}),(function(t,n){i(n)}))}))}for(var u=[],f=0,s=t.storeNames.length;f<s;f++)u.push(e(t.storeNames[f]));o.all(u).then((function(){n()})).catch((function(t){i(t)}))}),(function(t){i(t)}))}))})):o.reject("Invalid arguments"),n),r}};function nt(t,n){var i=t.name+"/";return t.storeName!==n.storeName&&(i+=t.storeName+"/"),i}function it(){return!function(){var t="_localforage_support_test";try{return localStorage.setItem(t,!0),localStorage.removeItem(t),!1}catch(t){return!0}}()||localStorage.length>0}var rt={_driver:"localStorageWrapper",_initStorage:function(t){var n={};if(t)for(var i in t)n[i]=t[i];return n.keyPrefix=nt(t,this._defaultConfig),it()?(this._dbInfo=n,n.serializer=K,o.resolve()):o.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(t){return!1}}(),iterate:function(t,n){var i=this,r=i.ready().then((function(){for(var n=i._dbInfo,r=n.keyPrefix,e=r.length,o=localStorage.length,u=1,f=0;f<o;f++){var s=localStorage.key(f);if(0===s.indexOf(r)){var c=localStorage.getItem(s);if(c&&(c=n.serializer.deserialize(c)),void 0!==(c=t(c,s.substring(e),u++)))return c}}}));return u(r,n),r},getItem:function(t,n){var i=this;t=s(t);var r=i.ready().then((function(){var n=i._dbInfo,r=localStorage.getItem(n.keyPrefix+t);return r&&(r=n.serializer.deserialize(r)),r}));return u(r,n),r},setItem:function(t,n,i){var r=this;t=s(t);var e=r.ready().then((function(){void 0===n&&(n=null);var i=n;return new o((function(e,o){var u=r._dbInfo;u.serializer.serialize(n,(function(n,r){if(r)o(r);else try{localStorage.setItem(u.keyPrefix+t,n),e(i)}catch(t){"QuotaExceededError"!==t.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==t.name||o(t),o(t)}}))}))}));return u(e,i),e},removeItem:function(t,n){var i=this;t=s(t);var r=i.ready().then((function(){localStorage.removeItem(i._dbInfo.keyPrefix+t)}));return u(r,n),r},clear:function(t){var n=this,i=n.ready().then((function(){for(var t=n._dbInfo.keyPrefix,i=localStorage.length-1;i>=0;i--){var r=localStorage.key(i);0===r.indexOf(t)&&localStorage.removeItem(r)}}));return u(i,t),i},length:function(t){var n=this.keys().then((function(t){return t.length}));return u(n,t),n},key:function(t,n){var i=this,r=i.ready().then((function(){var n,r=i._dbInfo;try{n=localStorage.key(t)}catch(t){n=null}return n&&(n=n.substring(r.keyPrefix.length)),n}));return u(r,n),r},keys:function(t){var n=this,i=n.ready().then((function(){for(var t=n._dbInfo,i=localStorage.length,r=[],e=0;e<i;e++){var o=localStorage.key(e);0===o.indexOf(t.keyPrefix)&&r.push(o.substring(t.keyPrefix.length))}return r}));return u(i,t),i},dropInstance:function(t,n){if(n=c.apply(this,arguments),!(t="function"!=typeof t&&t||{}).name){var i=this.config();t.name=t.name||i.name,t.storeName=t.storeName||i.storeName}var r,e=this;return u(r=t.name?new o((function(n){n(t.storeName?nt(t,e._defaultConfig):t.name+"/")})).then((function(t){for(var n=localStorage.length-1;n>=0;n--){var i=localStorage.key(n);0===i.indexOf(t)&&localStorage.removeItem(i)}})):o.reject("Invalid arguments"),n),r}},et=function(t,n){for(var i=t.length,r=0;r<i;){if((e=t[r])===(o=n)||"number"==typeof e&&"number"==typeof o&&isNaN(e)&&isNaN(o))return!0;r++}var e,o;return!1},ot=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},ut={},ft={},st={INDEXEDDB:M,WEBSQL:tt,LOCALSTORAGE:rt},ct=[st.INDEXEDDB._driver,st.WEBSQL._driver,st.LOCALSTORAGE._driver],at=["dropInstance"],ht=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(at),vt={description:"",driver:ct.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function lt(t,n){t[n]=function(){var i=arguments;return t.ready().then((function(){return t[n].apply(t,i)}))}}function dt(){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n)for(var i in n)n.hasOwnProperty(i)&&(arguments[0][i]=ot(n[i])?n[i].slice():n[i])}return arguments[0]}var pt=new(function(){function t(n){for(var i in function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),st)if(st.hasOwnProperty(i)){var r=st[i],e=r._driver;this[i]=e,ut[e]||this.defineDriver(r)}this._defaultConfig=dt({},vt),this._config=dt({},this._defaultConfig,n),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return t.prototype.config=function(t){if("object"===(void 0===t?"undefined":i(t))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var n in t){if("storeName"===n&&(t[n]=t[n].replace(/\W/g,"_")),"version"===n&&"number"!=typeof t[n])return new Error("Database version must be a number.");this._config[n]=t[n]}return!("driver"in t)||!t.driver||this.setDriver(this._config.driver)}return"string"==typeof t?this._config[t]:this._config},t.prototype.defineDriver=function(t,n,i){var r=new o((function(n,i){try{var r=t._driver,e=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!t._driver)return void i(e);for(var f=ht.concat("_initStorage"),s=0,c=f.length;s<c;s++){var a=f[s];if((!et(at,a)||t[a])&&"function"!=typeof t[a])return void i(e)}!function(){for(var n=function(t){return function(){var n=new Error("Method "+t+" is not implemented by the current driver"),i=o.reject(n);return u(i,arguments[arguments.length-1]),i}},i=0,r=at.length;i<r;i++){var e=at[i];t[e]||(t[e]=n(e))}}();var h=function(i){ut[r]&&console.info("Redefining LocalForage driver: "+r),ut[r]=t,ft[r]=i,n()};"_support"in t?t._support&&"function"==typeof t._support?t._support().then(h,i):h(!!t._support):h(!0)}catch(t){i(t)}}));return f(r,n,i),r},t.prototype.driver=function(){return this._driver||null},t.prototype.getDriver=function(t,n,i){var r=ut[t]?o.resolve(ut[t]):o.reject(new Error("Driver not found."));return f(r,n,i),r},t.prototype.getSerializer=function(t){var n=o.resolve(K);return f(n,t),n},t.prototype.ready=function(t){var n=this,i=n._driverSet.then((function(){return null===n._ready&&(n._ready=n._initDriver()),n._ready}));return f(i,t,t),i},t.prototype.setDriver=function(t,n,i){var r=this;ot(t)||(t=[t]);var e=this._getSupportedDrivers(t);function u(){r._config.driver=r.driver()}function s(t){return r._extend(t),u(),r._ready=r._initStorage(r._config),r._ready}var c=null!==this._driverSet?this._driverSet.catch((function(){return o.resolve()})):o.resolve();return this._driverSet=c.then((function(){var t=e[0];return r._dbInfo=null,r._ready=null,r.getDriver(t).then((function(t){r._driver=t._driver,u(),r._wrapLibraryMethodsWithReady(),r._initDriver=function(t){return function(){var n=0;return function i(){for(;n<t.length;){var e=t[n];return n++,r._dbInfo=null,r._ready=null,r.getDriver(e).then(s).catch(i)}u();var f=new Error("No available storage method found.");return r._driverSet=o.reject(f),r._driverSet}()}}(e)}))})).catch((function(){u();var t=new Error("No available storage method found.");return r._driverSet=o.reject(t),r._driverSet})),f(this._driverSet,n,i),this._driverSet},t.prototype.supports=function(t){return!!ft[t]},t.prototype._extend=function(t){dt(this,t)},t.prototype._getSupportedDrivers=function(t){for(var n=[],i=0,r=t.length;i<r;i++){var e=t[i];this.supports(e)&&n.push(e)}return n},t.prototype._wrapLibraryMethodsWithReady=function(){for(var t=0,n=ht.length;t<n;t++)lt(this,ht[t])},t.prototype.createInstance=function(n){return new t(n)},t}());n.exports=pt},{3:3}]},{},[4])(4)}));function T(t){return T.result?T.result:t&&"function"==typeof t.getSerializer?T.result=t.getSerializer():Promise.reject(new Error("localforage.getSerializer() was not available! localforage v1.4+ is required!"))}function A(t,n){return(A.result=A.result||{})[n]?A.result[n]:t&&"function"==typeof t.getDriver?A.result[n]=t.getDriver(n):Promise.reject(new Error("localforage.getDriver() was not available! localforage v1.4+ is required!"))}function O(t){return A(t,t.WEBSQL)}var I=new Promise((function(t,n){"undefined"!=typeof sqlitePlugin?t():"undefined"==typeof cordova?n(new Error("cordova is not defined.")):document.addEventListener("deviceready",(function(){return t()}),!1)})).catch((function(){return Promise.resolve()}));function S(){return I.then((function(){if("undefined"!=typeof sqlitePlugin&&"function"==typeof sqlitePlugin.openDatabase)return sqlitePlugin.openDatabase;throw new Error("SQLite plugin is not present.")}))}var R={_driver:"cordovaSQLiteDriver",_initStorage:function(t){var n=this,i={db:null};if(t)for(var r in t)i[r]="string"!=typeof t[r]?t[r].toString():t[r];var e=S().then((function(t){return new Promise((function(r,e){try{i.location=i.location||"default",i.db=t({name:i.name,version:String(i.version),description:i.description,size:i.size,key:i.dbKey,location:i.location})}catch(t){e(t)}i.db.transaction((function(t){t.executeSql("CREATE TABLE IF NOT EXISTS "+i.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],(function(){n._dbInfo=i,r()}),(function(t,n){e(n)}))}))}))})),o=T(n),u=O(n);return Promise.all([o,u,e]).then((function(t){return i.serializer=t[0],e}))},_support:function(){return S().then((function(t){return!!t})).catch((function(){return!1}))}};!function(t){var n=["clear","getItem","iterate","key","keys","length","removeItem","setItem","dropInstance"];function i(t,n){t[n]=function(){var t=this,i=arguments;return O(t).then((function(r){return r[n].apply(t,i)}))}}for(var r=0,e=n.length;r<e;r++)i(t,n[r])}(R);var _,M=t((function(t){
|
|
9
9
|
/*! Hammer.JS - v2.0.7 - 2016-04-22
|
|
10
10
|
* http://hammerjs.github.io/
|
|
11
11
|
*
|
|
12
12
|
* Copyright (c) 2016 Jorik Tangelder;
|
|
13
13
|
* Licensed under the MIT license */
|
|
14
|
-
!function(n,i,r,e){var o,u=["","webkit","Moz","MS","ms","o"],f=i.createElement("div"),c=Math.round,s=Math.abs,a=Date.now;function h(t,n,i){return setTimeout(g(t,i),n)}function v(t,n,i){return!!Array.isArray(t)&&(l(t,i[n],i),!0)}function l(t,n,i){var r;if(t)if(t.forEach)t.forEach(n,i);else if(t.length!==e)for(r=0;r<t.length;)n.call(i,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&n.call(i,t[r],r,t)}function d(t,i,r){var e="DEPRECATED METHOD: "+i+"\n"+r+" AT \n";return function(){var i=new Error("get-stack-trace"),r=i&&i.stack?i.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=n.console&&(n.console.warn||n.console.log);return o&&o.call(n.console,e,r),t.apply(this,arguments)}}o="function"!=typeof Object.assign?function(t){if(t===e||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),i=1;i<arguments.length;i++){var r=arguments[i];if(r!==e&&null!==r)for(var o in r)r.hasOwnProperty(o)&&(n[o]=r[o])}return n}:Object.assign;var p=d((function(t,n,i){for(var r=Object.keys(n),o=0;o<r.length;)(!i||i&&t[r[o]]===e)&&(t[r[o]]=n[r[o]]),o++;return t}),"extend","Use `assign`."),y=d((function(t,n){return p(t,n,!0)}),"merge","Use `assign`.");function m(t,n,i){var r,e=n.prototype;(r=t.prototype=Object.create(e)).constructor=t,r._super=e,i&&o(r,i)}function g(t,n){return function(){return t.apply(n,arguments)}}function w(t,n){return"function"==typeof t?t.apply(n&&n[0]||e,n):t}function b(t,n){return t===e?n:t}function E(t,n,i){l(I(n),(function(n){t.addEventListener(n,i,!1)}))}function T(t,n,i){l(I(n),(function(n){t.removeEventListener(n,i,!1)}))}function A(t,n){for(;t;){if(t==n)return!0;t=t.parentNode}return!1}function O(t,n){return t.indexOf(n)>-1}function I(t){return t.trim().split(/\s+/g)}function S(t,n,i){if(t.indexOf&&!i)return t.indexOf(n);for(var r=0;r<t.length;){if(i&&t[r][i]==n||!i&&t[r]===n)return r;r++}return-1}function R(t){return Array.prototype.slice.call(t,0)}function _(t,n,i){for(var r=[],e=[],o=0;o<t.length;){var u=n?t[o][n]:t[o];S(e,u)<0&&r.push(t[o]),e[o]=u,o++}return i&&(r=n?r.sort((function(t,i){return t[n]>i[n]})):r.sort()),r}function M(t,n){for(var i,r,o=n[0].toUpperCase()+n.slice(1),f=0;f<u.length;){if((r=(i=u[f])?i+o:n)in t)return r;f++}return e}var D=1;function P(t){var i=t.ownerDocument||t;return i.defaultView||i.parentWindow||n}var N="ontouchstart"in n,C=M(n,"PointerEvent")!==e,j=N&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),L="touch",B="mouse",F=["x","y"],x=["clientX","clientY"];function k(t,n){var i=this;this.manager=t,this.callback=n,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(n){w(t.options.enable,[t])&&i.handler(n)},this.init()}function U(t,n,i){var r=i.pointers.length,o=i.changedPointers.length,u=1&n&&r-o==0,f=12&n&&r-o==0;i.isFirst=!!u,i.isFinal=!!f,u&&(t.session={}),i.eventType=n,function(t,n){var i=t.session,r=n.pointers,o=r.length;i.firstInput||(i.firstInput=W(n)),o>1&&!i.firstMultiple?i.firstMultiple=W(n):1===o&&(i.firstMultiple=!1);var u=i.firstInput,f=i.firstMultiple,c=f?f.center:u.center,h=n.center=z(r);n.timeStamp=a(),n.deltaTime=n.timeStamp-u.timeStamp,n.angle=H(c,h),n.distance=Y(c,h),function(t,n){var i=n.center,r=t.offsetDelta||{},e=t.prevDelta||{},o=t.prevInput||{};1!==n.eventType&&4!==o.eventType||(e=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=t.offsetDelta={x:i.x,y:i.y}),n.deltaX=e.x+(i.x-r.x),n.deltaY=e.y+(i.y-r.y)}(i,n),n.offsetDirection=q(n.deltaX,n.deltaY);var v,l,d=G(n.deltaTime,n.deltaX,n.deltaY);n.overallVelocityX=d.x,n.overallVelocityY=d.y,n.overallVelocity=s(d.x)>s(d.y)?d.x:d.y,n.scale=f?(v=f.pointers,Y((l=r)[0],l[1],x)/Y(v[0],v[1],x)):1,n.rotation=f?function(t,n){return H(n[1],n[0],x)+H(t[1],t[0],x)}(f.pointers,r):0,n.maxPointers=i.prevInput?n.pointers.length>i.prevInput.maxPointers?n.pointers.length:i.prevInput.maxPointers:n.pointers.length,function(t,n){var i,r,o,u,f=t.lastInterval||n,c=n.timeStamp-f.timeStamp;if(8!=n.eventType&&(c>25||f.velocity===e)){var a=n.deltaX-f.deltaX,h=n.deltaY-f.deltaY,v=G(c,a,h);r=v.x,o=v.y,i=s(v.x)>s(v.y)?v.x:v.y,u=q(a,h),t.lastInterval=n}else i=f.velocity,r=f.velocityX,o=f.velocityY,u=f.direction;n.velocity=i,n.velocityX=r,n.velocityY=o,n.direction=u}(i,n);var p=t.element;A(n.srcEvent.target,p)&&(p=n.srcEvent.target),n.target=p}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function W(t){for(var n=[],i=0;i<t.pointers.length;)n[i]={clientX:c(t.pointers[i].clientX),clientY:c(t.pointers[i].clientY)},i++;return{timeStamp:a(),pointers:n,center:z(n),deltaX:t.deltaX,deltaY:t.deltaY}}function z(t){var n=t.length;if(1===n)return{x:c(t[0].clientX),y:c(t[0].clientY)};for(var i=0,r=0,e=0;e<n;)i+=t[e].clientX,r+=t[e].clientY,e++;return{x:c(i/n),y:c(r/n)}}function G(t,n,i){return{x:n/t||0,y:i/t||0}}function q(t,n){return t===n?1:s(t)>=s(n)?t<0?2:4:n<0?8:16}function Y(t,n,i){i||(i=F);var r=n[i[0]]-t[i[0]],e=n[i[1]]-t[i[1]];return Math.sqrt(r*r+e*e)}function H(t,n,i){return i||(i=F),180*Math.atan2(n[i[1]]-t[i[1]],n[i[0]]-t[i[0]])/Math.PI}k.prototype={handler:function(){},init:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E(P(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&T(this.element,this.evEl,this.domHandler),this.evTarget&&T(this.target,this.evTarget,this.domHandler),this.evWin&&T(P(this.element),this.evWin,this.domHandler)}};var V={mousedown:1,mousemove:2,mouseup:4},$="mousedown",K="mousemove mouseup";function X(){this.evEl=$,this.evWin=K,this.pressed=!1,k.apply(this,arguments)}m(X,k,{handler:function(t){var n=V[t.type];1&n&&0===t.button&&(this.pressed=!0),2&n&&1!==t.which&&(n=4),this.pressed&&(4&n&&(this.pressed=!1),this.callback(this.manager,n,{pointers:[t],changedPointers:[t],pointerType:B,srcEvent:t}))}});var Z={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},J={2:L,3:"pen",4:B,5:"kinect"},Q="pointerdown",tt="pointermove pointerup pointercancel";function nt(){this.evEl=Q,this.evWin=tt,k.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}n.MSPointerEvent&&!n.PointerEvent&&(Q="MSPointerDown",tt="MSPointerMove MSPointerUp MSPointerCancel"),m(nt,k,{handler:function(t){var n=this.store,i=!1,r=t.type.toLowerCase().replace("ms",""),e=Z[r],o=J[t.pointerType]||t.pointerType,u=o==L,f=S(n,t.pointerId,"pointerId");1&e&&(0===t.button||u)?f<0&&(n.push(t),f=n.length-1):12&e&&(i=!0),f<0||(n[f]=t,this.callback(this.manager,e,{pointers:n,changedPointers:[t],pointerType:o,srcEvent:t}),i&&n.splice(f,1))}});var it={touchstart:1,touchmove:2,touchend:4,touchcancel:8},rt="touchstart",et="touchstart touchmove touchend touchcancel";function ot(){this.evTarget=rt,this.evWin=et,this.started=!1,k.apply(this,arguments)}function ut(t,n){var i=R(t.touches),r=R(t.changedTouches);return 12&n&&(i=_(i.concat(r),"identifier",!0)),[i,r]}m(ot,k,{handler:function(t){var n=it[t.type];if(1===n&&(this.started=!0),this.started){var i=ut.call(this,t,n);12&n&&i[0].length-i[1].length==0&&(this.started=!1),this.callback(this.manager,n,{pointers:i[0],changedPointers:i[1],pointerType:L,srcEvent:t})}}});var ft={touchstart:1,touchmove:2,touchend:4,touchcancel:8},ct="touchstart touchmove touchend touchcancel";function st(){this.evTarget=ct,this.targetIds={},k.apply(this,arguments)}function at(t,n){var i=R(t.touches),r=this.targetIds;if(3&n&&1===i.length)return r[i[0].identifier]=!0,[i,i];var e,o,u=R(t.changedTouches),f=[],c=this.target;if(o=i.filter((function(t){return A(t.target,c)})),1===n)for(e=0;e<o.length;)r[o[e].identifier]=!0,e++;for(e=0;e<u.length;)r[u[e].identifier]&&f.push(u[e]),12&n&&delete r[u[e].identifier],e++;return f.length?[_(o.concat(f),"identifier",!0),f]:void 0}function ht(){k.apply(this,arguments);var t=g(this.handler,this);this.touch=new st(this.manager,t),this.mouse=new X(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function vt(t,n){1&t?(this.primaryTouch=n.changedPointers[0].identifier,lt.call(this,n)):12&t&<.call(this,n)}function lt(t){var n=t.changedPointers[0];if(n.identifier===this.primaryTouch){var i={x:n.clientX,y:n.clientY};this.lastTouches.push(i);var r=this.lastTouches;setTimeout((function(){var t=r.indexOf(i);t>-1&&r.splice(t,1)}),2500)}}function dt(t){for(var n=t.srcEvent.clientX,i=t.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var e=this.lastTouches[r],o=Math.abs(n-e.x),u=Math.abs(i-e.y);if(o<=25&&u<=25)return!0}return!1}m(st,k,{handler:function(t){var n=ft[t.type],i=at.call(this,t,n);i&&this.callback(this.manager,n,{pointers:i[0],changedPointers:i[1],pointerType:L,srcEvent:t})}}),m(ht,k,{handler:function(t,n,i){var r=i.pointerType==B;if(!(r&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(i.pointerType==L)vt.call(this,n,i);else if(r&&dt.call(this,i))return;this.callback(t,n,i)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var pt=M(f.style,"touchAction"),yt=pt!==e,mt="compute",gt="auto",wt="manipulation",bt="none",Et="pan-x",Tt="pan-y",At=function(){if(!yt)return!1;var t={},i=n.CSS&&n.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(r){t[r]=!i||n.CSS.supports("touch-action",r)})),t}();function Ot(t,n){this.manager=t,this.set(n)}Ot.prototype={set:function(t){t==mt&&(t=this.compute()),yt&&this.manager.element.style&&At[t]&&(this.manager.element.style[pt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return l(this.manager.recognizers,(function(n){w(n.options.enable,[n])&&(t=t.concat(n.getTouchAction()))})),function(t){if(O(t,bt))return bt;var n=O(t,Et),i=O(t,Tt);return n&&i?bt:n||i?n?Et:Tt:O(t,wt)?wt:gt}(t.join(" "))},preventDefaults:function(t){var n=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)n.preventDefault();else{var r=this.actions,e=O(r,bt)&&!At.none,o=O(r,Tt)&&!At["pan-y"],u=O(r,Et)&&!At["pan-x"];if(e&&1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return;if(!u||!o)return e||o&&6&i||u&&24&i?this.preventSrc(n):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var It=32;function St(t){this.options=o({},this.defaults,t||{}),this.id=D++,this.manager=null,this.options.enable=b(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function Rt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function _t(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function Mt(t,n){var i=n.manager;return i?i.get(t):t}function Dt(){St.apply(this,arguments)}function Pt(){Dt.apply(this,arguments),this.pX=null,this.pY=null}function Nt(){Dt.apply(this,arguments)}function Ct(){St.apply(this,arguments),this._timer=null,this._input=null}function jt(){Dt.apply(this,arguments)}function Lt(){Dt.apply(this,arguments)}function Bt(){St.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Ft(t,n){return(n=n||{}).recognizers=b(n.recognizers,Ft.defaults.preset),new xt(t,n)}function xt(t,n){this.options=o({},Ft.defaults,n||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new(this.options.inputClass||(C?nt:j?st:N?ht:X))(this,U),this.touchAction=new Ot(this,this.options.touchAction),kt(this,!0),l(this.options.recognizers,(function(t){var n=this.add(new t[0](t[1]));t[2]&&n.recognizeWith(t[2]),t[3]&&n.requireFailure(t[3])}),this)}function kt(t,n){var i,r=t.element;r.style&&(l(t.options.cssProps,(function(e,o){i=M(r.style,o),n?(t.oldCssProps[i]=r.style[i],r.style[i]=e):r.style[i]=t.oldCssProps[i]||""})),n||(t.oldCssProps={}))}St.prototype={defaults:{},set:function(t){return o(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(v(t,"recognizeWith",this))return this;var n=this.simultaneous;return n[(t=Mt(t,this)).id]||(n[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return v(t,"dropRecognizeWith",this)||(t=Mt(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(v(t,"requireFailure",this))return this;var n=this.requireFail;return-1===S(n,t=Mt(t,this))&&(n.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(v(t,"dropRequireFailure",this))return this;t=Mt(t,this);var n=S(this.requireFail,t);return n>-1&&this.requireFail.splice(n,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var n=this,i=this.state;function r(i){n.manager.emit(i,t)}i<8&&r(n.options.event+Rt(i)),r(n.options.event),t.additionalEvent&&r(t.additionalEvent),i>=8&&r(n.options.event+Rt(i))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=It},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},recognize:function(t){var n=o({},t);if(!w(this.options.enable,[this,n]))return this.reset(),void(this.state=It);56&this.state&&(this.state=1),this.state=this.process(n),30&this.state&&this.tryEmit(n)},process:function(){},getTouchAction:function(){},reset:function(){}},m(Dt,St,{defaults:{pointers:1},attrTest:function(t){var n=this.options.pointers;return 0===n||t.pointers.length===n},process:function(t){var n=this.state,i=t.eventType,r=6&n,e=this.attrTest(t);return r&&(8&i||!e)?16|n:r||e?4&i?8|n:2&n?4|n:2:It}}),m(Pt,Dt,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,n=[];return 6&t&&n.push(Tt),24&t&&n.push(Et),n},directionTest:function(t){var n=this.options,i=!0,r=t.distance,e=t.direction,o=t.deltaX,u=t.deltaY;return e&n.direction||(6&n.direction?(e=0===o?1:o<0?2:4,i=o!=this.pX,r=Math.abs(t.deltaX)):(e=0===u?1:u<0?8:16,i=u!=this.pY,r=Math.abs(t.deltaY))),t.direction=e,i&&r>n.threshold&&e&n.direction},attrTest:function(t){return Dt.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var n=_t(t.direction);n&&(t.additionalEvent=this.options.event+n),this._super.emit.call(this,t)}}),m(Nt,Dt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[bt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),m(Ct,St,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[gt]},process:function(t){var n=this.options,i=t.pointers.length===n.pointers,r=t.distance<n.threshold,e=t.deltaTime>n.time;if(this._input=t,!r||!i||12&t.eventType&&!e)this.reset();else if(1&t.eventType)this.reset(),this._timer=h((function(){this.state=8,this.tryEmit()}),n.time,this);else if(4&t.eventType)return 8;return It},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=a(),this.manager.emit(this.options.event,this._input)))}}),m(jt,Dt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[bt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),m(Lt,Dt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Pt.prototype.getTouchAction.call(this)},attrTest:function(t){var n,i=this.options.direction;return 30&i?n=t.overallVelocity:6&i?n=t.overallVelocityX:24&i&&(n=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&s(n)>this.options.velocity&&4&t.eventType},emit:function(t){var n=_t(t.offsetDirection);n&&this.manager.emit(this.options.event+n,t),this.manager.emit(this.options.event,t)}}),m(Bt,St,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[wt]},process:function(t){var n=this.options,i=t.pointers.length===n.pointers,r=t.distance<n.threshold,e=t.deltaTime<n.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(r&&e&&i){if(4!=t.eventType)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<n.interval,u=!this.pCenter||Y(this.pCenter,t.center)<n.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,u&&o?this.count+=1:this.count=1,this._input=t,0==this.count%n.taps)return this.hasRequireFailures()?(this._timer=h((function(){this.state=8,this.tryEmit()}),n.interval,this),2):8}return It},failTimeout:function(){return this._timer=h((function(){this.state=It}),this.options.interval,this),It},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Ft.VERSION="2.0.7",Ft.defaults={domEvents:!1,touchAction:mt,enable:!0,inputTarget:null,inputClass:null,preset:[[jt,{enable:!1}],[Nt,{enable:!1},["rotate"]],[Lt,{direction:6}],[Pt,{direction:6},["swipe"]],[Bt],[Bt,{event:"doubletap",taps:2},["tap"]],[Ct]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},xt.prototype={set:function(t){return o(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var n=this.session;if(!n.stopped){var i;this.touchAction.preventDefaults(t);var r=this.recognizers,e=n.curRecognizer;(!e||e&&8&e.state)&&(e=n.curRecognizer=null);for(var o=0;o<r.length;)i=r[o],2===n.stopped||e&&i!=e&&!i.canRecognizeWith(e)?i.reset():i.recognize(t),!e&&14&i.state&&(e=n.curRecognizer=i),o++}},get:function(t){if(t instanceof St)return t;for(var n=this.recognizers,i=0;i<n.length;i++)if(n[i].options.event==t)return n[i];return null},add:function(t){if(v(t,"add",this))return this;var n=this.get(t.options.event);return n&&this.remove(n),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(v(t,"remove",this))return this;if(t=this.get(t)){var n=this.recognizers,i=S(n,t);-1!==i&&(n.splice(i,1),this.touchAction.update())}return this},on:function(t,n){if(t!==e&&n!==e){var i=this.handlers;return l(I(t),(function(t){i[t]=i[t]||[],i[t].push(n)})),this}},off:function(t,n){if(t!==e){var i=this.handlers;return l(I(t),(function(t){n?i[t]&&i[t].splice(S(i[t],n),1):delete i[t]})),this}},emit:function(t,n){this.options.domEvents&&function(t,n){var r=i.createEvent("Event");r.initEvent(t,!0,!0),r.gesture=n,n.target.dispatchEvent(r)}(t,n);var r=this.handlers[t]&&this.handlers[t].slice();if(r&&r.length){n.type=t,n.preventDefault=function(){n.srcEvent.preventDefault()};for(var e=0;e<r.length;)r[e](n),e++}},destroy:function(){this.element&&kt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},o(Ft,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:It,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:xt,Input:k,TouchAction:Ot,TouchInput:st,MouseInput:X,PointerEventInput:nt,TouchMouseInput:ht,SingleTouchInput:ot,Recognizer:St,AttrRecognizer:Dt,Tap:Bt,Pan:Pt,Swipe:Lt,Pinch:Nt,Rotate:jt,Press:Ct,on:E,off:T,each:l,merge:y,extend:p,assign:o,inherit:m,bindFn:g,prefixed:M}),(void 0!==n?n:"undefined"!=typeof self?self:{}).Hammer=Ft,t.exports?t.exports=Ft:n.Hammer=Ft}(window,document)}));function D(t){var n;return w(null===(n=null==t?void 0:t.description)||void 0===n?void 0:n.minValue)?"finished"===t.status:"finished"===t.status&&t.validated}function P(t,n){var i,r,e;const o=!w(t.validated),u=!0===(null==t?void 0:t.locked),f=!0===(null===(i=null==t?void 0:t.description)||void 0===i?void 0:i.preventRetry),c=b(null===(r=null==t?void 0:t.description)||void 0===r?void 0:r.points),s=(null===(e=null==t?void 0:t.description)||void 0===e?void 0:e.points)||0,a=b(n);return o&&!u&&!f&&(!a||!c||!(n===s))}!function(t){t.CUSTOMER_HERO="customerhero",t.INSTORE_EXPERT="instoreexpert",t.ONBOARDING="onboarding",t.OUTSTANDING_LEARNER="outstandinglearner",t.PRODUCT_EXPERT="productexpert",t.CROSS_SELLING_GENIUS="crosssellinggenius"}(_||(_={}));var N,C,j,L,B,F,x,k=(N=function(t,n){return(N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])})(t,n)},function(t,n){function i(){this.constructor=t}N(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)});!function(t){t[t.DATA_URL=0]="DATA_URL",t[t.FILE_URL=1]="FILE_URL",t[t.NATIVE_URI=2]="NATIVE_URI"}(C||(C={})),function(t){t[t.JPEG=0]="JPEG",t[t.PNG=1]="PNG"}(j||(j={})),function(t){t[t.PICTURE=0]="PICTURE",t[t.VIDEO=1]="VIDEO",t[t.ALLMEDIA=2]="ALLMEDIA"}(L||(L={})),function(t){t[t.PHOTOLIBRARY=0]="PHOTOLIBRARY",t[t.CAMERA=1]="CAMERA",t[t.SAVEDPHOTOALBUM=2]="SAVEDPHOTOALBUM"}(B||(B={})),function(t){t[t.ARROW_UP=1]="ARROW_UP",t[t.ARROW_DOWN=2]="ARROW_DOWN",t[t.ARROW_LEFT=3]="ARROW_LEFT",t[t.ARROW_RIGHT=4]="ARROW_RIGHT",t[t.ARROW_ANY=5]="ARROW_ANY"}(F||(F={})),function(t){t[t.BACK=0]="BACK",t[t.FRONT=1]="FRONT"}(x||(x={}));var U,W=new(function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.DestinationType={DATA_URL:0,FILE_URI:1,NATIVE_URI:2},n.EncodingType={JPEG:0,PNG:1},n.MediaType={PICTURE:0,VIDEO:1,ALLMEDIA:2},n.PictureSourceType={PHOTOLIBRARY:0,CAMERA:1,SAVEDPHOTOALBUM:2},n.PopoverArrowDirection={ARROW_UP:1,ARROW_DOWN:2,ARROW_LEFT:4,ARROW_RIGHT:8,ARROW_ANY:15},n.Direction={BACK:0,FRONT:1},n}return k(n,t),n.prototype.getPicture=function(t){return r(this,"getPicture",{callbackOrder:"reverse"},arguments)},n.prototype.cleanup=function(){return r(this,"cleanup",{platforms:["iOS"]},arguments)},n.pluginName="Camera",n.plugin="cordova-plugin-camera",n.pluginRef="navigator.camera",n.repo="https://github.com/apache/cordova-plugin-camera",n.platforms=["Android","Browser","iOS","Windows"],n}(e)),z=function(){var t=function(n,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])})(n,i)};return function(n,i){function r(){this.constructor=n}t(n,i),n.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),G=new(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return z(n,t),n.prototype.captureAudio=function(t){return r(this,"captureAudio",{callbackOrder:"reverse"},arguments)},n.prototype.captureImage=function(t){return r(this,"captureImage",{callbackOrder:"reverse"},arguments)},n.prototype.captureVideo=function(t){return r(this,"captureVideo",{callbackOrder:"reverse"},arguments)},n.prototype.onPendingCaptureResult=function(){return r(this,"onPendingCaptureResult",{eventObservable:!0,event:"pendingcaptureresult"},arguments)},n.prototype.onPendingCaptureError=function(){return r(this,"onPendingCaptureError",{eventObservable:!0,event:"pendingcaptureerror"},arguments)},Object.defineProperty(n.prototype,"supportedImageModes",{get:function(){return o(this,"supportedImageModes")},set:function(t){u(this,"supportedImageModes",t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"supportedAudioModes",{get:function(){return o(this,"supportedAudioModes")},set:function(t){u(this,"supportedAudioModes",t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"supportedVideoModes",{get:function(){return o(this,"supportedVideoModes")},set:function(t){u(this,"supportedVideoModes",t)},enumerable:!1,configurable:!0}),n.pluginName="MediaCapture",n.plugin="cordova-plugin-media-capture",n.pluginRef="navigator.device.capture",n.repo="https://github.com/apache/cordova-plugin-media-capture",n.platforms=["Android","Browser","iOS","Windows"],n}(e));function q(t,n){return f().user&&f().user.photoMaxWidth>0?f().user.photoMaxWidth:c()&&s()&&("MC40N0"===a.model||"ET1"===a.model||"SM-T580"===a.model||"blackberry10"===a.platform||"SM-A310F"===a.model||"SM-A510F"===a.model||"SM-J320FN"===a.model)?1280:t?2048:n||2048}function Y(t,n=U.IMAGE,i=h(),r){var e;return(null===(e=window)||void 0===e?void 0:e.MediaPicker)?new Promise((e=>{window.MediaPicker.getMedias({selectMode:n,maxSelectCount:t},(t=>{if(i){const n=t.map((t=>function(t,n=99){return new Promise((i=>{window.MediaPicker.compressImage(Object.assign(Object.assign({},t),{quality:n}),(t=>i(t.uri)),(()=>i(t.uri)))}))}(t,r)));Promise.all(n).then((t=>{e(t)}))}else e(t.map((t=>t.uri)))}),(()=>{e([])}))})):Promise.resolve([])}function H(t,n,i,r=!1,e=0,o=!1,u=1){var c;if(r)return G.captureImage({limit:u});{const r=!1,u={};return u.destinationType=C.FILE_URL,u.correctOrientation=!p(),u.encodingType=j.JPEG,u.saveToPhotoAlbum=!(f().user&&f().user.deletePhotos||n===B.PHOTOLIBRARY),u.quality=t,u.sourceType=n,u.mediaType=i,u.allowEdit=r,u.targetWidth=q(o,e),u.targetHeight=q(o,e),-1===(null===(c=f().user)||void 0===c?void 0:c.photoMaxWidth)&&(delete u.targetWidth,delete u.targetHeight),W.getPicture(u)}}function V(t){return t?new Promise((n=>{var i,r;(null===(r=null===(i=navigator)||void 0===i?void 0:i.device)||void 0===r?void 0:r.capture)&&navigator.device.capture.captureVideo((t=>{n(t)}),(t=>{n(t)}),t)})):G.captureVideo({})}async function $(){const t=y();if(t)return(await t.enumerateDevices()).filter((t=>"videoinput"===t.kind)).map(((t,n)=>({_id:t.deviceId,deviceId:t.deviceId,label:t.label||"webcam "+n,kind:t.kind})))}function K(){const t=document.createElement("yoo-audio-recorder-dialog");return v(t,{height:"medium"},"",d("Enter","Y"),d("Leave","Y"),l())}!function(t){t.ALLMEDIA="101",t.IMAGE="100",t.VIDEO="102"}(U||(U={}));var X=function(){var t=function(n,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])})(n,i)};return function(n,i){function r(){this.constructor=n}t(n,i),n.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),Z=new(function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.ORIENTATIONS={PORTRAIT_PRIMARY:"portrait-primary",PORTRAIT_SECONDARY:"portrait-secondary",LANDSCAPE_PRIMARY:"landscape-primary",LANDSCAPE_SECONDARY:"landscape-secondary",PORTRAIT:"portrait",LANDSCAPE:"landscape",ANY:"any"},n}return X(n,t),n.prototype.onChange=function(){return r(this,"onChange",{eventObservable:!0,event:"orientationchange",element:"window"},arguments)},n.prototype.lock=function(t){return r(this,"lock",{otherPromise:!0},arguments)},n.prototype.unlock=function(){return r(this,"unlock",{sync:!0},arguments)},Object.defineProperty(n.prototype,"type",{get:function(){return o(this,"type")},set:function(t){u(this,"type",t)},enumerable:!1,configurable:!0}),n.pluginName="ScreenOrientation",n.plugin="cordova-plugin-screen-orientation",n.pluginRef="screen.orientation",n.repo="https://github.com/apache/cordova-plugin-screen-orientation",n.platforms=["Android","iOS","Windows"],n}(e));const J=m(t((function(t){
|
|
14
|
+
!function(n,i,r,e){var o,u=["","webkit","Moz","MS","ms","o"],f=i.createElement("div"),s=Math.round,c=Math.abs,a=Date.now;function h(t,n,i){return setTimeout(g(t,i),n)}function v(t,n,i){return!!Array.isArray(t)&&(l(t,i[n],i),!0)}function l(t,n,i){var r;if(t)if(t.forEach)t.forEach(n,i);else if(t.length!==e)for(r=0;r<t.length;)n.call(i,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&n.call(i,t[r],r,t)}function d(t,i,r){var e="DEPRECATED METHOD: "+i+"\n"+r+" AT \n";return function(){var i=new Error("get-stack-trace"),r=i&&i.stack?i.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=n.console&&(n.console.warn||n.console.log);return o&&o.call(n.console,e,r),t.apply(this,arguments)}}o="function"!=typeof Object.assign?function(t){if(t===e||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),i=1;i<arguments.length;i++){var r=arguments[i];if(r!==e&&null!==r)for(var o in r)r.hasOwnProperty(o)&&(n[o]=r[o])}return n}:Object.assign;var p=d((function(t,n,i){for(var r=Object.keys(n),o=0;o<r.length;)(!i||i&&t[r[o]]===e)&&(t[r[o]]=n[r[o]]),o++;return t}),"extend","Use `assign`."),y=d((function(t,n){return p(t,n,!0)}),"merge","Use `assign`.");function m(t,n,i){var r,e=n.prototype;(r=t.prototype=Object.create(e)).constructor=t,r._super=e,i&&o(r,i)}function g(t,n){return function(){return t.apply(n,arguments)}}function w(t,n){return"function"==typeof t?t.apply(n&&n[0]||e,n):t}function b(t,n){return t===e?n:t}function E(t,n,i){l(I(n),(function(n){t.addEventListener(n,i,!1)}))}function T(t,n,i){l(I(n),(function(n){t.removeEventListener(n,i,!1)}))}function A(t,n){for(;t;){if(t==n)return!0;t=t.parentNode}return!1}function O(t,n){return t.indexOf(n)>-1}function I(t){return t.trim().split(/\s+/g)}function S(t,n,i){if(t.indexOf&&!i)return t.indexOf(n);for(var r=0;r<t.length;){if(i&&t[r][i]==n||!i&&t[r]===n)return r;r++}return-1}function R(t){return Array.prototype.slice.call(t,0)}function _(t,n,i){for(var r=[],e=[],o=0;o<t.length;){var u=n?t[o][n]:t[o];S(e,u)<0&&r.push(t[o]),e[o]=u,o++}return i&&(r=n?r.sort((function(t,i){return t[n]>i[n]})):r.sort()),r}function M(t,n){for(var i,r,o=n[0].toUpperCase()+n.slice(1),f=0;f<u.length;){if((r=(i=u[f])?i+o:n)in t)return r;f++}return e}var D=1;function P(t){var i=t.ownerDocument||t;return i.defaultView||i.parentWindow||n}var N="ontouchstart"in n,C=M(n,"PointerEvent")!==e,j=N&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),L="touch",B="mouse",F=["x","y"],x=["clientX","clientY"];function k(t,n){var i=this;this.manager=t,this.callback=n,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(n){w(t.options.enable,[t])&&i.handler(n)},this.init()}function U(t,n,i){var r=i.pointers.length,o=i.changedPointers.length,u=1&n&&r-o==0,f=12&n&&r-o==0;i.isFirst=!!u,i.isFinal=!!f,u&&(t.session={}),i.eventType=n,function(t,n){var i=t.session,r=n.pointers,o=r.length;i.firstInput||(i.firstInput=W(n)),o>1&&!i.firstMultiple?i.firstMultiple=W(n):1===o&&(i.firstMultiple=!1);var u=i.firstInput,f=i.firstMultiple,s=f?f.center:u.center,h=n.center=z(r);n.timeStamp=a(),n.deltaTime=n.timeStamp-u.timeStamp,n.angle=H(s,h),n.distance=Y(s,h),function(t,n){var i=n.center,r=t.offsetDelta||{},e=t.prevDelta||{},o=t.prevInput||{};1!==n.eventType&&4!==o.eventType||(e=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=t.offsetDelta={x:i.x,y:i.y}),n.deltaX=e.x+(i.x-r.x),n.deltaY=e.y+(i.y-r.y)}(i,n),n.offsetDirection=q(n.deltaX,n.deltaY);var v,l,d=G(n.deltaTime,n.deltaX,n.deltaY);n.overallVelocityX=d.x,n.overallVelocityY=d.y,n.overallVelocity=c(d.x)>c(d.y)?d.x:d.y,n.scale=f?(v=f.pointers,Y((l=r)[0],l[1],x)/Y(v[0],v[1],x)):1,n.rotation=f?function(t,n){return H(n[1],n[0],x)+H(t[1],t[0],x)}(f.pointers,r):0,n.maxPointers=i.prevInput?n.pointers.length>i.prevInput.maxPointers?n.pointers.length:i.prevInput.maxPointers:n.pointers.length,function(t,n){var i,r,o,u,f=t.lastInterval||n,s=n.timeStamp-f.timeStamp;if(8!=n.eventType&&(s>25||f.velocity===e)){var a=n.deltaX-f.deltaX,h=n.deltaY-f.deltaY,v=G(s,a,h);r=v.x,o=v.y,i=c(v.x)>c(v.y)?v.x:v.y,u=q(a,h),t.lastInterval=n}else i=f.velocity,r=f.velocityX,o=f.velocityY,u=f.direction;n.velocity=i,n.velocityX=r,n.velocityY=o,n.direction=u}(i,n);var p=t.element;A(n.srcEvent.target,p)&&(p=n.srcEvent.target),n.target=p}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function W(t){for(var n=[],i=0;i<t.pointers.length;)n[i]={clientX:s(t.pointers[i].clientX),clientY:s(t.pointers[i].clientY)},i++;return{timeStamp:a(),pointers:n,center:z(n),deltaX:t.deltaX,deltaY:t.deltaY}}function z(t){var n=t.length;if(1===n)return{x:s(t[0].clientX),y:s(t[0].clientY)};for(var i=0,r=0,e=0;e<n;)i+=t[e].clientX,r+=t[e].clientY,e++;return{x:s(i/n),y:s(r/n)}}function G(t,n,i){return{x:n/t||0,y:i/t||0}}function q(t,n){return t===n?1:c(t)>=c(n)?t<0?2:4:n<0?8:16}function Y(t,n,i){i||(i=F);var r=n[i[0]]-t[i[0]],e=n[i[1]]-t[i[1]];return Math.sqrt(r*r+e*e)}function H(t,n,i){return i||(i=F),180*Math.atan2(n[i[1]]-t[i[1]],n[i[0]]-t[i[0]])/Math.PI}k.prototype={handler:function(){},init:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E(P(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&T(this.element,this.evEl,this.domHandler),this.evTarget&&T(this.target,this.evTarget,this.domHandler),this.evWin&&T(P(this.element),this.evWin,this.domHandler)}};var V={mousedown:1,mousemove:2,mouseup:4},$="mousedown",K="mousemove mouseup";function X(){this.evEl=$,this.evWin=K,this.pressed=!1,k.apply(this,arguments)}m(X,k,{handler:function(t){var n=V[t.type];1&n&&0===t.button&&(this.pressed=!0),2&n&&1!==t.which&&(n=4),this.pressed&&(4&n&&(this.pressed=!1),this.callback(this.manager,n,{pointers:[t],changedPointers:[t],pointerType:B,srcEvent:t}))}});var Z={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},J={2:L,3:"pen",4:B,5:"kinect"},Q="pointerdown",tt="pointermove pointerup pointercancel";function nt(){this.evEl=Q,this.evWin=tt,k.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}n.MSPointerEvent&&!n.PointerEvent&&(Q="MSPointerDown",tt="MSPointerMove MSPointerUp MSPointerCancel"),m(nt,k,{handler:function(t){var n=this.store,i=!1,r=t.type.toLowerCase().replace("ms",""),e=Z[r],o=J[t.pointerType]||t.pointerType,u=o==L,f=S(n,t.pointerId,"pointerId");1&e&&(0===t.button||u)?f<0&&(n.push(t),f=n.length-1):12&e&&(i=!0),f<0||(n[f]=t,this.callback(this.manager,e,{pointers:n,changedPointers:[t],pointerType:o,srcEvent:t}),i&&n.splice(f,1))}});var it={touchstart:1,touchmove:2,touchend:4,touchcancel:8},rt="touchstart",et="touchstart touchmove touchend touchcancel";function ot(){this.evTarget=rt,this.evWin=et,this.started=!1,k.apply(this,arguments)}function ut(t,n){var i=R(t.touches),r=R(t.changedTouches);return 12&n&&(i=_(i.concat(r),"identifier",!0)),[i,r]}m(ot,k,{handler:function(t){var n=it[t.type];if(1===n&&(this.started=!0),this.started){var i=ut.call(this,t,n);12&n&&i[0].length-i[1].length==0&&(this.started=!1),this.callback(this.manager,n,{pointers:i[0],changedPointers:i[1],pointerType:L,srcEvent:t})}}});var ft={touchstart:1,touchmove:2,touchend:4,touchcancel:8},st="touchstart touchmove touchend touchcancel";function ct(){this.evTarget=st,this.targetIds={},k.apply(this,arguments)}function at(t,n){var i=R(t.touches),r=this.targetIds;if(3&n&&1===i.length)return r[i[0].identifier]=!0,[i,i];var e,o,u=R(t.changedTouches),f=[],s=this.target;if(o=i.filter((function(t){return A(t.target,s)})),1===n)for(e=0;e<o.length;)r[o[e].identifier]=!0,e++;for(e=0;e<u.length;)r[u[e].identifier]&&f.push(u[e]),12&n&&delete r[u[e].identifier],e++;return f.length?[_(o.concat(f),"identifier",!0),f]:void 0}function ht(){k.apply(this,arguments);var t=g(this.handler,this);this.touch=new ct(this.manager,t),this.mouse=new X(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function vt(t,n){1&t?(this.primaryTouch=n.changedPointers[0].identifier,lt.call(this,n)):12&t&<.call(this,n)}function lt(t){var n=t.changedPointers[0];if(n.identifier===this.primaryTouch){var i={x:n.clientX,y:n.clientY};this.lastTouches.push(i);var r=this.lastTouches;setTimeout((function(){var t=r.indexOf(i);t>-1&&r.splice(t,1)}),2500)}}function dt(t){for(var n=t.srcEvent.clientX,i=t.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var e=this.lastTouches[r],o=Math.abs(n-e.x),u=Math.abs(i-e.y);if(o<=25&&u<=25)return!0}return!1}m(ct,k,{handler:function(t){var n=ft[t.type],i=at.call(this,t,n);i&&this.callback(this.manager,n,{pointers:i[0],changedPointers:i[1],pointerType:L,srcEvent:t})}}),m(ht,k,{handler:function(t,n,i){var r=i.pointerType==B;if(!(r&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(i.pointerType==L)vt.call(this,n,i);else if(r&&dt.call(this,i))return;this.callback(t,n,i)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var pt=M(f.style,"touchAction"),yt=pt!==e,mt="compute",gt="auto",wt="manipulation",bt="none",Et="pan-x",Tt="pan-y",At=function(){if(!yt)return!1;var t={},i=n.CSS&&n.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(r){t[r]=!i||n.CSS.supports("touch-action",r)})),t}();function Ot(t,n){this.manager=t,this.set(n)}Ot.prototype={set:function(t){t==mt&&(t=this.compute()),yt&&this.manager.element.style&&At[t]&&(this.manager.element.style[pt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return l(this.manager.recognizers,(function(n){w(n.options.enable,[n])&&(t=t.concat(n.getTouchAction()))})),function(t){if(O(t,bt))return bt;var n=O(t,Et),i=O(t,Tt);return n&&i?bt:n||i?n?Et:Tt:O(t,wt)?wt:gt}(t.join(" "))},preventDefaults:function(t){var n=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)n.preventDefault();else{var r=this.actions,e=O(r,bt)&&!At.none,o=O(r,Tt)&&!At["pan-y"],u=O(r,Et)&&!At["pan-x"];if(e&&1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return;if(!u||!o)return e||o&&6&i||u&&24&i?this.preventSrc(n):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var It=32;function St(t){this.options=o({},this.defaults,t||{}),this.id=D++,this.manager=null,this.options.enable=b(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function Rt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function _t(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function Mt(t,n){var i=n.manager;return i?i.get(t):t}function Dt(){St.apply(this,arguments)}function Pt(){Dt.apply(this,arguments),this.pX=null,this.pY=null}function Nt(){Dt.apply(this,arguments)}function Ct(){St.apply(this,arguments),this._timer=null,this._input=null}function jt(){Dt.apply(this,arguments)}function Lt(){Dt.apply(this,arguments)}function Bt(){St.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Ft(t,n){return(n=n||{}).recognizers=b(n.recognizers,Ft.defaults.preset),new xt(t,n)}function xt(t,n){this.options=o({},Ft.defaults,n||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new(this.options.inputClass||(C?nt:j?ct:N?ht:X))(this,U),this.touchAction=new Ot(this,this.options.touchAction),kt(this,!0),l(this.options.recognizers,(function(t){var n=this.add(new t[0](t[1]));t[2]&&n.recognizeWith(t[2]),t[3]&&n.requireFailure(t[3])}),this)}function kt(t,n){var i,r=t.element;r.style&&(l(t.options.cssProps,(function(e,o){i=M(r.style,o),n?(t.oldCssProps[i]=r.style[i],r.style[i]=e):r.style[i]=t.oldCssProps[i]||""})),n||(t.oldCssProps={}))}St.prototype={defaults:{},set:function(t){return o(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(v(t,"recognizeWith",this))return this;var n=this.simultaneous;return n[(t=Mt(t,this)).id]||(n[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return v(t,"dropRecognizeWith",this)||(t=Mt(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(v(t,"requireFailure",this))return this;var n=this.requireFail;return-1===S(n,t=Mt(t,this))&&(n.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(v(t,"dropRequireFailure",this))return this;t=Mt(t,this);var n=S(this.requireFail,t);return n>-1&&this.requireFail.splice(n,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var n=this,i=this.state;function r(i){n.manager.emit(i,t)}i<8&&r(n.options.event+Rt(i)),r(n.options.event),t.additionalEvent&&r(t.additionalEvent),i>=8&&r(n.options.event+Rt(i))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=It},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},recognize:function(t){var n=o({},t);if(!w(this.options.enable,[this,n]))return this.reset(),void(this.state=It);56&this.state&&(this.state=1),this.state=this.process(n),30&this.state&&this.tryEmit(n)},process:function(){},getTouchAction:function(){},reset:function(){}},m(Dt,St,{defaults:{pointers:1},attrTest:function(t){var n=this.options.pointers;return 0===n||t.pointers.length===n},process:function(t){var n=this.state,i=t.eventType,r=6&n,e=this.attrTest(t);return r&&(8&i||!e)?16|n:r||e?4&i?8|n:2&n?4|n:2:It}}),m(Pt,Dt,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,n=[];return 6&t&&n.push(Tt),24&t&&n.push(Et),n},directionTest:function(t){var n=this.options,i=!0,r=t.distance,e=t.direction,o=t.deltaX,u=t.deltaY;return e&n.direction||(6&n.direction?(e=0===o?1:o<0?2:4,i=o!=this.pX,r=Math.abs(t.deltaX)):(e=0===u?1:u<0?8:16,i=u!=this.pY,r=Math.abs(t.deltaY))),t.direction=e,i&&r>n.threshold&&e&n.direction},attrTest:function(t){return Dt.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var n=_t(t.direction);n&&(t.additionalEvent=this.options.event+n),this._super.emit.call(this,t)}}),m(Nt,Dt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[bt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),m(Ct,St,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[gt]},process:function(t){var n=this.options,i=t.pointers.length===n.pointers,r=t.distance<n.threshold,e=t.deltaTime>n.time;if(this._input=t,!r||!i||12&t.eventType&&!e)this.reset();else if(1&t.eventType)this.reset(),this._timer=h((function(){this.state=8,this.tryEmit()}),n.time,this);else if(4&t.eventType)return 8;return It},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=a(),this.manager.emit(this.options.event,this._input)))}}),m(jt,Dt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[bt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),m(Lt,Dt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Pt.prototype.getTouchAction.call(this)},attrTest:function(t){var n,i=this.options.direction;return 30&i?n=t.overallVelocity:6&i?n=t.overallVelocityX:24&i&&(n=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&c(n)>this.options.velocity&&4&t.eventType},emit:function(t){var n=_t(t.offsetDirection);n&&this.manager.emit(this.options.event+n,t),this.manager.emit(this.options.event,t)}}),m(Bt,St,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[wt]},process:function(t){var n=this.options,i=t.pointers.length===n.pointers,r=t.distance<n.threshold,e=t.deltaTime<n.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(r&&e&&i){if(4!=t.eventType)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<n.interval,u=!this.pCenter||Y(this.pCenter,t.center)<n.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,u&&o?this.count+=1:this.count=1,this._input=t,0==this.count%n.taps)return this.hasRequireFailures()?(this._timer=h((function(){this.state=8,this.tryEmit()}),n.interval,this),2):8}return It},failTimeout:function(){return this._timer=h((function(){this.state=It}),this.options.interval,this),It},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Ft.VERSION="2.0.7",Ft.defaults={domEvents:!1,touchAction:mt,enable:!0,inputTarget:null,inputClass:null,preset:[[jt,{enable:!1}],[Nt,{enable:!1},["rotate"]],[Lt,{direction:6}],[Pt,{direction:6},["swipe"]],[Bt],[Bt,{event:"doubletap",taps:2},["tap"]],[Ct]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},xt.prototype={set:function(t){return o(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var n=this.session;if(!n.stopped){var i;this.touchAction.preventDefaults(t);var r=this.recognizers,e=n.curRecognizer;(!e||e&&8&e.state)&&(e=n.curRecognizer=null);for(var o=0;o<r.length;)i=r[o],2===n.stopped||e&&i!=e&&!i.canRecognizeWith(e)?i.reset():i.recognize(t),!e&&14&i.state&&(e=n.curRecognizer=i),o++}},get:function(t){if(t instanceof St)return t;for(var n=this.recognizers,i=0;i<n.length;i++)if(n[i].options.event==t)return n[i];return null},add:function(t){if(v(t,"add",this))return this;var n=this.get(t.options.event);return n&&this.remove(n),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(v(t,"remove",this))return this;if(t=this.get(t)){var n=this.recognizers,i=S(n,t);-1!==i&&(n.splice(i,1),this.touchAction.update())}return this},on:function(t,n){if(t!==e&&n!==e){var i=this.handlers;return l(I(t),(function(t){i[t]=i[t]||[],i[t].push(n)})),this}},off:function(t,n){if(t!==e){var i=this.handlers;return l(I(t),(function(t){n?i[t]&&i[t].splice(S(i[t],n),1):delete i[t]})),this}},emit:function(t,n){this.options.domEvents&&function(t,n){var r=i.createEvent("Event");r.initEvent(t,!0,!0),r.gesture=n,n.target.dispatchEvent(r)}(t,n);var r=this.handlers[t]&&this.handlers[t].slice();if(r&&r.length){n.type=t,n.preventDefault=function(){n.srcEvent.preventDefault()};for(var e=0;e<r.length;)r[e](n),e++}},destroy:function(){this.element&&kt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},o(Ft,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:It,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:xt,Input:k,TouchAction:Ot,TouchInput:ct,MouseInput:X,PointerEventInput:nt,TouchMouseInput:ht,SingleTouchInput:ot,Recognizer:St,AttrRecognizer:Dt,Tap:Bt,Pan:Pt,Swipe:Lt,Pinch:Nt,Rotate:jt,Press:Ct,on:E,off:T,each:l,merge:y,extend:p,assign:o,inherit:m,bindFn:g,prefixed:M}),(void 0!==n?n:"undefined"!=typeof self?self:{}).Hammer=Ft,t.exports?t.exports=Ft:n.Hammer=Ft}(window,document)}));function D(t){var n;return w(null===(n=null==t?void 0:t.description)||void 0===n?void 0:n.minValue)?"finished"===t.status:"finished"===t.status&&t.validated}function P(t,n){var i,r,e;const o=!w(t.validated),u=!0===(null==t?void 0:t.locked),f=!0===(null===(i=null==t?void 0:t.description)||void 0===i?void 0:i.preventRetry),s=b(null===(r=null==t?void 0:t.description)||void 0===r?void 0:r.points),c=(null===(e=null==t?void 0:t.description)||void 0===e?void 0:e.points)||0,a=b(n);return o&&!u&&!f&&(!a||!s||!(n===c))}!function(t){t.CUSTOMER_HERO="customerhero",t.INSTORE_EXPERT="instoreexpert",t.ONBOARDING="onboarding",t.OUTSTANDING_LEARNER="outstandinglearner",t.PRODUCT_EXPERT="productexpert",t.CROSS_SELLING_GENIUS="crosssellinggenius"}(_||(_={}));var N,C,j,L,B,F,x,k=(N=function(t,n){return(N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])})(t,n)},function(t,n){function i(){this.constructor=t}N(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)});!function(t){t[t.DATA_URL=0]="DATA_URL",t[t.FILE_URL=1]="FILE_URL",t[t.NATIVE_URI=2]="NATIVE_URI"}(C||(C={})),function(t){t[t.JPEG=0]="JPEG",t[t.PNG=1]="PNG"}(j||(j={})),function(t){t[t.PICTURE=0]="PICTURE",t[t.VIDEO=1]="VIDEO",t[t.ALLMEDIA=2]="ALLMEDIA"}(L||(L={})),function(t){t[t.PHOTOLIBRARY=0]="PHOTOLIBRARY",t[t.CAMERA=1]="CAMERA",t[t.SAVEDPHOTOALBUM=2]="SAVEDPHOTOALBUM"}(B||(B={})),function(t){t[t.ARROW_UP=1]="ARROW_UP",t[t.ARROW_DOWN=2]="ARROW_DOWN",t[t.ARROW_LEFT=3]="ARROW_LEFT",t[t.ARROW_RIGHT=4]="ARROW_RIGHT",t[t.ARROW_ANY=5]="ARROW_ANY"}(F||(F={})),function(t){t[t.BACK=0]="BACK",t[t.FRONT=1]="FRONT"}(x||(x={}));var U,W=new(function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.DestinationType={DATA_URL:0,FILE_URI:1,NATIVE_URI:2},n.EncodingType={JPEG:0,PNG:1},n.MediaType={PICTURE:0,VIDEO:1,ALLMEDIA:2},n.PictureSourceType={PHOTOLIBRARY:0,CAMERA:1,SAVEDPHOTOALBUM:2},n.PopoverArrowDirection={ARROW_UP:1,ARROW_DOWN:2,ARROW_LEFT:4,ARROW_RIGHT:8,ARROW_ANY:15},n.Direction={BACK:0,FRONT:1},n}return k(n,t),n.prototype.getPicture=function(t){return r(this,"getPicture",{callbackOrder:"reverse"},arguments)},n.prototype.cleanup=function(){return r(this,"cleanup",{platforms:["iOS"]},arguments)},n.pluginName="Camera",n.plugin="cordova-plugin-camera",n.pluginRef="navigator.camera",n.repo="https://github.com/apache/cordova-plugin-camera",n.platforms=["Android","Browser","iOS","Windows"],n}(e)),z=function(){var t=function(n,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])})(n,i)};return function(n,i){function r(){this.constructor=n}t(n,i),n.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),G=new(function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return z(n,t),n.prototype.captureAudio=function(t){return r(this,"captureAudio",{callbackOrder:"reverse"},arguments)},n.prototype.captureImage=function(t){return r(this,"captureImage",{callbackOrder:"reverse"},arguments)},n.prototype.captureVideo=function(t){return r(this,"captureVideo",{callbackOrder:"reverse"},arguments)},n.prototype.onPendingCaptureResult=function(){return r(this,"onPendingCaptureResult",{eventObservable:!0,event:"pendingcaptureresult"},arguments)},n.prototype.onPendingCaptureError=function(){return r(this,"onPendingCaptureError",{eventObservable:!0,event:"pendingcaptureerror"},arguments)},Object.defineProperty(n.prototype,"supportedImageModes",{get:function(){return o(this,"supportedImageModes")},set:function(t){u(this,"supportedImageModes",t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"supportedAudioModes",{get:function(){return o(this,"supportedAudioModes")},set:function(t){u(this,"supportedAudioModes",t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"supportedVideoModes",{get:function(){return o(this,"supportedVideoModes")},set:function(t){u(this,"supportedVideoModes",t)},enumerable:!1,configurable:!0}),n.pluginName="MediaCapture",n.plugin="cordova-plugin-media-capture",n.pluginRef="navigator.device.capture",n.repo="https://github.com/apache/cordova-plugin-media-capture",n.platforms=["Android","Browser","iOS","Windows"],n}(e));function q(t,n){return f().user&&f().user.photoMaxWidth>0?f().user.photoMaxWidth:s()&&c()&&("MC40N0"===a.model||"ET1"===a.model||"SM-T580"===a.model||"blackberry10"===a.platform||"SM-A310F"===a.model||"SM-A510F"===a.model||"SM-J320FN"===a.model)?1280:t?2048:n||2048}function Y(t,n=U.IMAGE,i=h(),r){var e;return(null===(e=window)||void 0===e?void 0:e.MediaPicker)?new Promise((e=>{window.MediaPicker.getMedias({selectMode:n,maxSelectCount:t},(t=>{if(i){const n=t.map((t=>function(t,n=99){return new Promise((i=>{window.MediaPicker.compressImage(Object.assign(Object.assign({},t),{quality:n}),(t=>i(t.uri)),(()=>i(t.uri)))}))}(t,r)));Promise.all(n).then((t=>{e(t)}))}else e(t.map((t=>t.uri)))}),(()=>{e([])}))})):Promise.resolve([])}function H(t,n,i,r=!1,e=0,o=!1,u=1){var s;if(r)return G.captureImage({limit:u});{const r=!1,u={};return u.destinationType=C.FILE_URL,u.correctOrientation=!p(),u.encodingType=j.JPEG,u.saveToPhotoAlbum=!(f().user&&f().user.deletePhotos||n===B.PHOTOLIBRARY),u.quality=t,u.sourceType=n,u.mediaType=i,u.allowEdit=r,u.targetWidth=q(o,e),u.targetHeight=q(o,e),-1===(null===(s=f().user)||void 0===s?void 0:s.photoMaxWidth)&&(delete u.targetWidth,delete u.targetHeight),W.getPicture(u)}}function V(t){return t?new Promise((n=>{var i,r;(null===(r=null===(i=navigator)||void 0===i?void 0:i.device)||void 0===r?void 0:r.capture)&&navigator.device.capture.captureVideo((t=>{n(t)}),(t=>{n(t)}),t)})):G.captureVideo({})}async function $(){const t=y();if(t)return(await t.enumerateDevices()).filter((t=>"videoinput"===t.kind)).map(((t,n)=>({_id:t.deviceId,deviceId:t.deviceId,label:t.label||"webcam "+n,kind:t.kind})))}function K(){const t=document.createElement("yoo-audio-recorder-dialog");return v(t,{height:"medium"},"",d("Enter","Y"),d("Leave","Y"),l())}!function(t){t.ALLMEDIA="101",t.IMAGE="100",t.VIDEO="102"}(U||(U={}));var X=function(){var t=function(n,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])})(n,i)};return function(n,i){function r(){this.constructor=n}t(n,i),n.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),Z=new(function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.ORIENTATIONS={PORTRAIT_PRIMARY:"portrait-primary",PORTRAIT_SECONDARY:"portrait-secondary",LANDSCAPE_PRIMARY:"landscape-primary",LANDSCAPE_SECONDARY:"landscape-secondary",PORTRAIT:"portrait",LANDSCAPE:"landscape",ANY:"any"},n}return X(n,t),n.prototype.onChange=function(){return r(this,"onChange",{eventObservable:!0,event:"orientationchange",element:"window"},arguments)},n.prototype.lock=function(t){return r(this,"lock",{otherPromise:!0},arguments)},n.prototype.unlock=function(){return r(this,"unlock",{sync:!0},arguments)},Object.defineProperty(n.prototype,"type",{get:function(){return o(this,"type")},set:function(t){u(this,"type",t)},enumerable:!1,configurable:!0}),n.pluginName="ScreenOrientation",n.plugin="cordova-plugin-screen-orientation",n.pluginRef="screen.orientation",n.repo="https://github.com/apache/cordova-plugin-screen-orientation",n.platforms=["Android","iOS","Windows"],n}(e));const J=m(t((function(t){
|
|
15
15
|
/**
|
|
16
16
|
* @file postscribe
|
|
17
17
|
* @description Asynchronously write javascript, even with document.write.
|
|
@@ -21,7 +21,7 @@ t.exports=function t(n,r,e){function o(f,c){if(!r[f]){if(!n[f]){var s="function"
|
|
|
21
21
|
* @author Derek Brans
|
|
22
22
|
* @copyright 2016 Krux Digital, Inc
|
|
23
23
|
*/
|
|
24
|
-
var n;n=function(){return function(t){var n={};function i(r){if(n[r])return n[r].exports;var e=n[r]={exports:{},id:r,loaded:!1};return t[r].call(e.exports,e,e.exports,i),e.loaded=!0,e.exports}return i.m=t,i.c=n,i.p="",i(0)}([function(t,n,i){var r,e=(r=i(1))&&r.__esModule?r:{default:r};t.exports=e.default},function(t,n,i){n.__esModule=!0;var r=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t};n.default=d;var e,o=(e=i(2))&&e.__esModule?e:{default:e},u=function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n.default=t,n}(i(4));function f(){}var
|
|
24
|
+
var n;n=function(){return function(t){var n={};function i(r){if(n[r])return n[r].exports;var e=n[r]={exports:{},id:r,loaded:!1};return t[r].call(e.exports,e,e.exports,i),e.loaded=!0,e.exports}return i.m=t,i.c=n,i.p="",i(0)}([function(t,n,i){var r,e=(r=i(1))&&r.__esModule?r:{default:r};t.exports=e.default},function(t,n,i){n.__esModule=!0;var r=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t};n.default=d;var e,o=(e=i(2))&&e.__esModule?e:{default:e},u=function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n.default=t,n}(i(4));function f(){}var s={afterAsync:f,afterDequeue:f,afterStreamStart:f,afterWrite:f,autoFix:!0,beforeEnqueue:f,beforeWriteToken:function(t){return t},beforeWrite:function(t){return t},done:f,error:function(t){throw new Error(t.msg)},releaseAsync:!1},c=0,a=[],h=null;function v(){var t=a.shift();if(t){var n=u.last(t);n.afterDequeue(),t.stream=l.apply(void 0,t),n.afterStreamStart()}}function l(t,n,i){(h=new o.default(t,i)).id=c++,h.name=i.name||h.id,d.streams[h.name]=h;var e=t.ownerDocument,u={close:e.close,open:e.open,write:e.write,writeln:e.writeln};function s(t){t=i.beforeWrite(t),h.write(t),i.afterWrite(t)}r(e,{close:f,open:f,write:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return s(n.join(""))},writeln:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return s(n.join("")+"\n")}});var a=h.win.onerror||f;return h.win.onerror=function(t,n,r){i.error({msg:t+" - "+n+": "+r}),a.apply(h.win,[t,n,r])},h.write(n,(function(){r(e,u),h.win.onerror=a,i.done(),h=null,v()})),h}function d(t,n,i){if(u.isFunction(i))i={done:i};else if("clear"===i)return a=[],h=null,void(c=0);i=u.defaults(i,s);var r=[t=/^#/.test(t)?window.document.getElementById(t.substr(1)):t.jquery?t[0]:t,n,i];return t.postscribe={cancel:function(){r.stream?r.stream.abort():r[1]=f}},i.beforeEnqueue(r),a.push(r),h||v(),t.postscribe}r(d,{streams:{},queue:a,WriteStream:o.default})},function(t,n,i){n.__esModule=!0;var r,e=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},o=(r=i(3))&&r.__esModule?r:{default:r},u=function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n.default=t,n}(i(4));function f(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}var s="data-ps-",c="ps-style",a="ps-script";function h(t,n){var i=t.getAttribute(s+n);return u.existy(i)?String(i):i}function v(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=s+n;u.existy(i)&&""!==i?t.setAttribute(r,i):t.removeAttribute(r)}var l=function(){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};f(this,t),this.root=n,this.options=i,this.doc=n.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new o.default("",{autoFix:i.autoFix}),this.actuals=[n],this.proxyHistory="",this.proxyRoot=this.doc.createElement(n.nodeName),this.scriptStack=[],this.writeQueue=[],v(this.proxyRoot,"proxyof",0)}return t.prototype.write=function(){var t;for((t=this.writeQueue).push.apply(t,arguments);!this.deferredRemote&&this.writeQueue.length;){var n=this.writeQueue.shift();u.isFunction(n)?this._callFunction(n):this._writeImpl(n)}},t.prototype._callFunction=function(t){var n={type:"function",value:t.name||t.toString()};this._onScriptStart(n),t.call(this.win,this.doc),this._onScriptDone(n)},t.prototype._writeImpl=function(t){this.parser.append(t);for(var n=void 0,i=void 0,r=void 0,e=[];(n=this.parser.readToken())&&!(i=u.isScript(n))&&!(r=u.isStyle(n));)(n=this.options.beforeWriteToken(n))&&e.push(n);e.length>0&&this._writeStaticTokens(e),i&&this._handleScriptToken(n),r&&this._handleStyleToken(n)},t.prototype._writeStaticTokens=function(t){var n=this._buildChunk(t);return n.actual?(n.html=this.proxyHistory+n.actual,this.proxyHistory+=n.proxy,this.proxyRoot.innerHTML=n.html,this._walkChunk(),n):null},t.prototype._buildChunk=function(t){for(var n=this.actuals.length,i=[],r=[],e=[],o=t.length,u=0;u<o;u++){var f=t[u],s=f.toString();if(i.push(s),f.attrs){if(!/^noscript$/i.test(f.tagName)){var h=n++;r.push(s.replace(/(\/?>)/," data-ps-id="+h+" $1")),f.attrs.id!==a&&f.attrs.id!==c&&e.push("atomicTag"===f.type?"":"<"+f.tagName+" data-ps-proxyof="+h+(f.unary?" />":">"))}}else r.push(s),e.push("endTag"===f.type?s:"")}return{tokens:t,raw:i.join(""),actual:r.join(""),proxy:e.join("")}},t.prototype._walkChunk=function(){for(var t=void 0,n=[this.proxyRoot];u.existy(t=n.shift());){var i=1===t.nodeType;if(!i||!h(t,"proxyof")){i&&(this.actuals[h(t,"id")]=t,v(t,"id"));var r=t.parentNode&&h(t.parentNode,"proxyof");r&&this.actuals[r].appendChild(t)}n.unshift.apply(n,u.toArray(t.childNodes))}},t.prototype._handleScriptToken=function(t){var n=this,i=this.parser.clear();i&&this.writeQueue.unshift(i),t.src=t.attrs.src||t.attrs.SRC,(t=this.options.beforeWriteToken(t))&&(t.src&&this.scriptStack.length?this.deferredRemote=t:this._onScriptStart(t),this._writeScriptToken(t,(function(){n._onScriptDone(t)})))},t.prototype._handleStyleToken=function(t){var n=this.parser.clear();n&&this.writeQueue.unshift(n),t.type=t.attrs.type||t.attrs.TYPE||"text/css",(t=this.options.beforeWriteToken(t))&&this._writeStyleToken(t),n&&this.write()},t.prototype._writeStyleToken=function(t){var n=this._buildStyle(t);this._insertCursor(n,c),t.content&&(n.styleSheet&&!n.sheet?n.styleSheet.cssText=t.content:n.appendChild(this.doc.createTextNode(t.content)))},t.prototype._buildStyle=function(t){var n=this.doc.createElement(t.tagName);return n.setAttribute("type",t.type),u.eachKey(t.attrs,(function(t,i){n.setAttribute(t,i)})),n},t.prototype._insertCursor=function(t,n){this._writeImpl('<span id="'+n+'"/>');var i=this.doc.getElementById(n);i&&i.parentNode.replaceChild(t,i)},t.prototype._onScriptStart=function(t){t.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(t)},t.prototype._onScriptDone=function(t){t===this.scriptStack[0]?(this.scriptStack.shift(),this.write.apply(this,t.outerWrites),!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)):this.options.error({msg:"Bad script nesting or script finished twice"})},t.prototype._writeScriptToken=function(t,n){var i=this._buildScript(t),r=this._shouldRelease(i),e=this.options.afterAsync;t.src&&(i.src=t.src,this._scriptLoadHandler(i,r?e:function(){n(),e()}));try{this._insertCursor(i,a),i.src&&!r||n()}catch(t){this.options.error(t),n()}},t.prototype._buildScript=function(t){var n=this.doc.createElement(t.tagName);return u.eachKey(t.attrs,(function(t,i){n.setAttribute(t,i)})),t.content&&(n.text=t.content),n},t.prototype._scriptLoadHandler=function(t,n){function i(){t=t.onload=t.onreadystatechange=t.onerror=null}var r=this.options.error;function o(){i(),null!=n&&n(),n=null}function u(t){i(),r(t),null!=n&&n(),n=null}function f(t,n){var i=t["on"+n];null!=i&&(t["_on"+n]=i)}f(t,"load"),f(t,"error"),e(t,{onload:function(){if(t._onload)try{t._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(n){u({msg:"onload handler failed "+n+" @ "+t.src})}o()},onerror:function(){if(t._onerror)try{t._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(n){return void u({msg:"onerror handler failed "+n+" @ "+t.src})}u({msg:"remote script failed "+t.src})},onreadystatechange:function(){/^(loaded|complete)$/.test(t.readyState)&&o()}})},t.prototype._shouldRelease=function(t){return!/^script$/i.test(t.nodeName)||!!(this.options.releaseAsync&&t.src&&t.hasAttribute("async"))},t}();n.default=l},function(t){
|
|
25
25
|
/**
|
|
26
26
|
* @file prescribe
|
|
27
27
|
* @description Tiny, forgiving HTML parser
|
|
@@ -31,4 +31,4 @@ var n;n=function(){return function(t){var n={};function i(r){if(n[r])return n[r]
|
|
|
31
31
|
* @author Derek Brans
|
|
32
32
|
* @copyright 2016 Krux Digital, Inc
|
|
33
33
|
*/
|
|
34
|
-
var n;n=function(){return function(t){var n={};function i(r){if(n[r])return n[r].exports;var e=n[r]={exports:{},id:r,loaded:!1};return t[r].call(e.exports,e,e.exports,i),e.loaded=!0,e.exports}return i.m=t,i.c=n,i.p="",i(0)}([function(t,n,i){var r,e=(r=i(1))&&r.__esModule?r:{default:r};t.exports=e.default},function(t,n,i){n.__esModule=!0;var r,e=c(i(2)),o=c(i(3)),u=(r=i(6))&&r.__esModule?r:{default:r},f=i(5);function c(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n.default=t,n}function s(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}var a={comment:/^<!--/,endTag:/^<\//,atomicTag:/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,startTag:/^</,chars:/^[^<]/},h=function(){function t(){var n=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s(this,t),this.stream=i;var o=!1,f={};for(var c in e)e.hasOwnProperty(c)&&(r.autoFix&&(f[c+"Fix"]=!0),o=o||f[c+"Fix"]);o?(this._readToken=(0,u.default)(this,f,(function(){return n._readTokenImpl()})),this._peekToken=(0,u.default)(this,f,(function(){return n._peekTokenImpl()}))):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}return t.prototype.append=function(t){this.stream+=t},t.prototype.prepend=function(t){this.stream=t+this.stream},t.prototype._readTokenImpl=function(){var t=this._peekTokenImpl();if(t)return this.stream=this.stream.slice(t.length),t},t.prototype._peekTokenImpl=function(){for(var t in a)if(a.hasOwnProperty(t)&&a[t].test(this.stream)){var n=o[t](this.stream);if(n)return"startTag"===n.type&&/script|style/i.test(n.tagName)?null:(n.text=this.stream.substr(0,n.length),n)}},t.prototype.peekToken=function(){return this._peekToken()},t.prototype.readToken=function(){return this._readToken()},t.prototype.readTokens=function(t){for(var n=void 0;n=this.readToken();)if(t[n.type]&&!1===t[n.type](n))return},t.prototype.clear=function(){var t=this.stream;return this.stream="",t},t.prototype.rest=function(){return this.stream},t}();for(var v in n.default=h,h.tokenToString=function(t){return t.toString()},h.escapeAttributes=function(t){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=(0,f.escapeQuotes)(t[i],null));return n},h.supports=e,e)e.hasOwnProperty(v)&&(h.browserHasFlaw=h.browserHasFlaw||!e[v]&&v)},function(t,n){n.__esModule=!0;var i=!1,r=!1,e=window.document.createElement("div");try{var o="<P><I></P></I>";e.innerHTML=o,n.tagSoup=i=e.innerHTML!==o}catch(t){n.tagSoup=i=!1}try{e.innerHTML="<P><i><P></P></i></P>",n.selfClose=r=2===e.childNodes.length}catch(t){n.selfClose=r=!1}e=null,n.tagSoup=i,n.selfClose=r},function(t,n,i){n.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};n.comment=function(t){var n=t.indexOf("--\x3e");if(n>=0)return new e.CommentToken(t.substr(4,n-1),n+3)},n.chars=function(t){var n=t.indexOf("<");return new e.CharsToken(n>=0?n:t.length)},n.startTag=u,n.atomicTag=function(t){var n=u(t);if(n){var i=t.slice(n.length);if(i.match(new RegExp("</\\s*"+n.tagName+"\\s*>","i"))){var r=i.match(new RegExp("([\\s\\S]*?)</\\s*"+n.tagName+"\\s*>","i"));if(r)return new e.AtomicTagToken(n.tagName,r[0].length+n.length,n.attrs,n.booleanAttrs,r[1])}}},n.endTag=function(t){var n=t.match(o.endTag);if(n)return new e.EndTagToken(n[1],n[0].length)};var e=i(4),o={startTag:/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag:/^<\/([\-A-Za-z0-9_]+)[^>]*>/,attr:/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,fillAttr:/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i};function u(t){var n,i,u;if(-1!==t.indexOf(">")){var f=t.match(o.startTag);if(f){var c=(n={},i={},u=f[2],f[2].replace(o.attr,(function(t,r){arguments[2]||arguments[3]||arguments[4]||arguments[5]?arguments[5]?(n[arguments[5]]="",i[arguments[5]]=!0):n[r]=arguments[2]||arguments[3]||arguments[4]||o.fillAttr.test(r)&&r||"":n[r]="",u=u.replace(t,"")})),{v:new e.StartTagToken(f[1],f[0].length,n,i,!!f[3],u.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))});if("object"===(void 0===c?"undefined":r(c)))return c.v}}}},function(t,n,i){n.__esModule=!0,n.EndTagToken=n.AtomicTagToken=n.StartTagToken=n.TagToken=n.CharsToken=n.CommentToken=n.Token=void 0;var r=i(5);function e(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}n.Token=function t(n,i){e(this,t),this.type=n,this.length=i,this.text=""},n.CommentToken=function(){function t(n,i){e(this,t),this.type="comment",this.length=i||(n?n.length:0),this.text="",this.content=n}return t.prototype.toString=function(){return"\x3c!--"+this.content},t}(),n.CharsToken=function(){function t(n){e(this,t),this.type="chars",this.length=n,this.text=""}return t.prototype.toString=function(){return this.text},t}();var o=n.TagToken=function(){function t(n,i,r,o,u){e(this,t),this.type=n,this.length=r,this.text="",this.tagName=i,this.attrs=o,this.booleanAttrs=u,this.unary=!1,this.html5Unary=!1}return t.formatTag=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i="<"+t.tagName;for(var e in t.attrs)if(t.attrs.hasOwnProperty(e)){i+=" "+e;var o=t.attrs[e];void 0!==t.booleanAttrs&&void 0!==t.booleanAttrs[e]||(i+='="'+(0,r.escapeQuotes)(o)+'"')}return t.rest&&(i+=" "+t.rest),i+=t.unary&&!t.html5Unary?"/>":">",null!=n&&(i+=n+"</"+t.tagName+">"),i},t}();n.StartTagToken=function(){function t(n,i,r,o,u,f){e(this,t),this.type="startTag",this.length=i,this.text="",this.tagName=n,this.attrs=r,this.booleanAttrs=o,this.html5Unary=!1,this.unary=u,this.rest=f}return t.prototype.toString=function(){return o.formatTag(this)},t}(),n.AtomicTagToken=function(){function t(n,i,r,o,u){e(this,t),this.type="atomicTag",this.length=i,this.text="",this.tagName=n,this.attrs=r,this.booleanAttrs=o,this.unary=!1,this.html5Unary=!1,this.content=u}return t.prototype.toString=function(){return o.formatTag(this,this.content)},t}(),n.EndTagToken=function(){function t(n,i){e(this,t),this.type="endTag",this.length=i,this.text="",this.tagName=n}return t.prototype.toString=function(){return"</"+this.tagName+">"},t}()},function(t,n){n.__esModule=!0,n.escapeQuotes=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t?t.replace(/([^"]*)"/g,(function(t,n){return/\\/.test(n)?n+'"':n+'\\"'})):n}},function(t,n){n.__esModule=!0,n.default=function(t,n,i){var u=function(){var t=[];return t.last=function(){return this[this.length-1]},t.lastTagNameEq=function(t){var n=this.last();return n&&n.tagName&&n.tagName.toUpperCase()===t.toUpperCase()},t.containsTagName=function(t){for(var n,i=0;n=this[i];i++)if(n.tagName===t)return!0;return!1},t}(),f={startTag:function(i){var e=i.tagName;"TR"===e.toUpperCase()&&u.lastTagNameEq("TABLE")?(t.prepend("<TBODY>"),c()):n.selfCloseFix&&r.test(e)&&u.containsTagName(e)?u.lastTagNameEq(e)?o(t,u):(t.prepend("</"+i.tagName+">"),c()):i.unary||u.push(i)},endTag:function(r){u.last()?n.tagSoupFix&&!u.lastTagNameEq(r.tagName)?o(t,u):u.pop():n.tagSoupFix&&(i(),c())}};function c(){var n=function(t,n){var i=t.stream,r=e(n());return t.stream=i,r}(t,i);n&&f[n.type]&&f[n.type](n)}return function(){return c(),e(i())}};var i=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,r=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i;function e(t){return t&&"startTag"===t.type&&(t.unary=i.test(t.tagName)||t.unary,t.html5Unary=!/\/>$/.test(t.text)),t}function o(t,n){var i=n.pop();t.prepend("</"+i.tagName+">")}}])},t.exports=n()},function(t,n){n.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function r(t){return null!=t}function e(t,n,i){var r=void 0,e=t&&t.length||0;for(r=0;r<e;r++)n.call(i,t[r],r)}function o(t,n,i){for(var r in t)t.hasOwnProperty(r)&&n.call(i,r,t[r])}function u(t,n){return!(!t||"startTag"!==t.type&&"atomicTag"!==t.type||!("tagName"in t)||!~t.tagName.toLowerCase().indexOf(n))}n.existy=r,n.isFunction=function(t){return"function"==typeof t},n.each=e,n.eachKey=o,n.defaults=function(t,n){return t=t||{},o(n,(function(n,i){r(t[n])||(t[n]=i)})),t},n.toArray=function(t){try{return Array.prototype.slice.call(t)}catch(o){var n=(r=[],e(t,(function(t){r.push(t)})),{v:r});if("object"===(void 0===n?"undefined":i(n)))return n.v}var r},n.last=function(t){return t[t.length-1]},n.isTag=u,n.isScript=function(t){return u(t,"script")},n.isStyle=function(t){return u(t,"style")}}])},t.exports=n()})));var Q=function(){var t=function(n,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])})(n,i)};return function(n,i){function r(){this.constructor=n}t(n,i),n.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),tt=new(function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.APP={USER_SELECT:"user_select",APPLE_MAPS:"apple_maps",GOOGLE_MAPS:"google_maps",WAZE:"waze",CITYMAPPER:"citymapper",NAVIGON:"navigon",TRANSIT_APP:"transit_app",YANDEX:"yandex",UBER:"uber",TOMTOM:"tomtom",BING_MAPS:"bing_maps",SYGIC:"sygic",HERE_MAPS:"here_maps",MOOVIT:"moovit"},n.TRANSPORT_MODE={DRIVING:"driving",WALKING:"walking",BICYCLING:"bicycling",TRANSIT:"transit"},n}return Q(n,t),n.prototype.navigate=function(t,n){return r(this,"navigate",{successIndex:2,errorIndex:3},arguments)},n.prototype.isAppAvailable=function(t){return r(this,"isAppAvailable",{},arguments)},n.prototype.availableApps=function(){return r(this,"availableApps",{},arguments)},n.prototype.getAppDisplayName=function(t){return r(this,"getAppDisplayName",{sync:!0},arguments)},n.prototype.getAppsForPlatform=function(t){return r(this,"getAppsForPlatform",{sync:!0},arguments)},n.prototype.supportsTransportMode=function(t,n){return r(this,"supportsTransportMode",{sync:!0},arguments)},n.prototype.getTransportModes=function(t,n){return r(this,"getTransportModes",{sync:!0},arguments)},n.prototype.supportsDestName=function(t,n){return r(this,"supportsDestName",{sync:!0},arguments)},n.prototype.supportsStart=function(t,n){return r(this,"supportsStart",{sync:!0},arguments)},n.prototype.supportsStartName=function(t,n){return r(this,"supportsStartName",{sync:!0},arguments)},n.prototype.supportsLaunchMode=function(t,n){return r(this,"supportsLaunchMode",{sync:!0},arguments)},n.prototype.userSelect=function(t,n){return r(this,"userSelect",{sync:!0},arguments)},Object.defineProperty(n.prototype,"appSelection",{get:function(){return o(this,"appSelection")},set:function(t){u(this,"appSelection",t)},enumerable:!1,configurable:!0}),n.pluginName="LaunchNavigator",n.plugin="uk.co.workingedge.phonegap.plugin.launchnavigator",n.pluginRef="launchnavigator",n.repo="https://github.com/dpa99c/phonegap-launch-navigator",n.platforms=["Android","iOS","Windows","Windows Phone 8"],n}(e)),nt=function(){if("undefined"!=typeof Map)return Map;function t(t,n){var i=-1;return t.some((function(t,r){return t[0]===n&&(i=r,!0)})),i}return function(){function n(){this.__entries__=[]}return Object.defineProperty(n.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),n.prototype.get=function(n){var i=t(this.__entries__,n),r=this.__entries__[i];return r&&r[1]},n.prototype.set=function(n,i){var r=t(this.__entries__,n);~r?this.__entries__[r][1]=i:this.__entries__.push([n,i])},n.prototype.delete=function(n){var i=this.__entries__,r=t(i,n);~r&&i.splice(r,1)},n.prototype.has=function(n){return!!~t(this.__entries__,n)},n.prototype.clear=function(){this.__entries__.splice(0)},n.prototype.forEach=function(t,n){void 0===n&&(n=null);for(var i=0,r=this.__entries__;i<r.length;i++){var e=r[i];t.call(n,e[1],e[0])}},n}()}(),it="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,rt=void 0!==g&&g.Math===Math?g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),et="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(rt):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},ot=["top","right","bottom","left","width","height","size","weight"],ut="undefined"!=typeof MutationObserver,ft=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t){var n=!1,i=!1,r=0;function e(){n&&(n=!1,t()),i&&u()}function o(){et(e)}function u(){var t=Date.now();if(n){if(t-r<2)return;i=!0}else n=!0,i=!1,setTimeout(o,20);r=t}return u}(this.refresh.bind(this))}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var n=this.observers_,i=n.indexOf(t);~i&&n.splice(i,1),!n.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){it&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),ut?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){it&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var n=t.propertyName,i=void 0===n?"":n;ot.some((function(t){return!!~i.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),ct=function(t,n){for(var i=0,r=Object.keys(n);i<r.length;i++){var e=r[i];Object.defineProperty(t,e,{value:n[e],enumerable:!1,writable:!1,configurable:!0})}return t},st=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||rt},at=pt(0,0,0,0);function ht(t){return parseFloat(t)||0}function vt(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];return n.reduce((function(n,i){return n+ht(t["border-"+i+"-width"])}),0)}var lt="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof st(t).SVGGraphicsElement}:function(t){return t instanceof st(t).SVGElement&&"function"==typeof t.getBBox};function dt(t){return it?lt(t)?function(t){var n=t.getBBox();return pt(0,0,n.width,n.height)}(t):function(t){var n=t.clientWidth,i=t.clientHeight;if(!n&&!i)return at;var r=st(t).getComputedStyle(t),e=function(t){for(var n={},i=0,r=["top","right","bottom","left"];i<r.length;i++){var e=r[i];n[e]=ht(t["padding-"+e])}return n}(r),o=e.left+e.right,u=e.top+e.bottom,f=ht(r.width),c=ht(r.height);if("border-box"===r.boxSizing&&(Math.round(f+o)!==n&&(f-=vt(r,"left","right")+o),Math.round(c+u)!==i&&(c-=vt(r,"top","bottom")+u)),!function(t){return t===st(t).document.documentElement}(t)){var s=Math.round(f+o)-n,a=Math.round(c+u)-i;1!==Math.abs(s)&&(f-=s),1!==Math.abs(a)&&(c-=a)}return pt(e.left,e.top,f,c)}(t):at}function pt(t,n,i,r){return{x:t,y:n,width:i,height:r}}var yt=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=pt(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=dt(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),mt=function(t,n){var i,r,e,o,u,f,c,s=(r=(i=n).x,e=i.y,o=i.width,u=i.height,f="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(f.prototype),ct(c,{x:r,y:e,width:o,height:u,top:e,right:r+o,bottom:u+e,left:r}),c);ct(this,{target:t,contentRect:s})},gt=function(){function t(t,n,i){if(this.activeObservations_=[],this.observations_=new nt,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=i}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof st(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new yt(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof st(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(n){n.isActive()&&t.activeObservations_.push(n)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map((function(t){return new mt(t.target,t.broadcastRect())}));this.callback_.call(t,n,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),wt="undefined"!=typeof WeakMap?new WeakMap:new nt,bt=function t(n){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=ft.getInstance(),r=new gt(n,i,this);wt.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){bt.prototype[t]=function(){var n;return(n=wt.get(this))[t].apply(n,arguments)}}));var Et=void 0!==rt.ResizeObserver?rt.ResizeObserver:bt;export{_ as D,tt as L,U as M,B as P,Z as S,Y as a,H as b,P as c,V as d,$ as e,R as f,q as g,M as h,D as i,Et as j,L as k,E as l,G as m,J as p,K as s}
|
|
34
|
+
var n;n=function(){return function(t){var n={};function i(r){if(n[r])return n[r].exports;var e=n[r]={exports:{},id:r,loaded:!1};return t[r].call(e.exports,e,e.exports,i),e.loaded=!0,e.exports}return i.m=t,i.c=n,i.p="",i(0)}([function(t,n,i){var r,e=(r=i(1))&&r.__esModule?r:{default:r};t.exports=e.default},function(t,n,i){n.__esModule=!0;var r,e=s(i(2)),o=s(i(3)),u=(r=i(6))&&r.__esModule?r:{default:r},f=i(5);function s(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i]);return n.default=t,n}function c(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}var a={comment:/^<!--/,endTag:/^<\//,atomicTag:/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,startTag:/^</,chars:/^[^<]/},h=function(){function t(){var n=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c(this,t),this.stream=i;var o=!1,f={};for(var s in e)e.hasOwnProperty(s)&&(r.autoFix&&(f[s+"Fix"]=!0),o=o||f[s+"Fix"]);o?(this._readToken=(0,u.default)(this,f,(function(){return n._readTokenImpl()})),this._peekToken=(0,u.default)(this,f,(function(){return n._peekTokenImpl()}))):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}return t.prototype.append=function(t){this.stream+=t},t.prototype.prepend=function(t){this.stream=t+this.stream},t.prototype._readTokenImpl=function(){var t=this._peekTokenImpl();if(t)return this.stream=this.stream.slice(t.length),t},t.prototype._peekTokenImpl=function(){for(var t in a)if(a.hasOwnProperty(t)&&a[t].test(this.stream)){var n=o[t](this.stream);if(n)return"startTag"===n.type&&/script|style/i.test(n.tagName)?null:(n.text=this.stream.substr(0,n.length),n)}},t.prototype.peekToken=function(){return this._peekToken()},t.prototype.readToken=function(){return this._readToken()},t.prototype.readTokens=function(t){for(var n=void 0;n=this.readToken();)if(t[n.type]&&!1===t[n.type](n))return},t.prototype.clear=function(){var t=this.stream;return this.stream="",t},t.prototype.rest=function(){return this.stream},t}();for(var v in n.default=h,h.tokenToString=function(t){return t.toString()},h.escapeAttributes=function(t){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[i]=(0,f.escapeQuotes)(t[i],null));return n},h.supports=e,e)e.hasOwnProperty(v)&&(h.browserHasFlaw=h.browserHasFlaw||!e[v]&&v)},function(t,n){n.__esModule=!0;var i=!1,r=!1,e=window.document.createElement("div");try{var o="<P><I></P></I>";e.innerHTML=o,n.tagSoup=i=e.innerHTML!==o}catch(t){n.tagSoup=i=!1}try{e.innerHTML="<P><i><P></P></i></P>",n.selfClose=r=2===e.childNodes.length}catch(t){n.selfClose=r=!1}e=null,n.tagSoup=i,n.selfClose=r},function(t,n,i){n.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};n.comment=function(t){var n=t.indexOf("--\x3e");if(n>=0)return new e.CommentToken(t.substr(4,n-1),n+3)},n.chars=function(t){var n=t.indexOf("<");return new e.CharsToken(n>=0?n:t.length)},n.startTag=u,n.atomicTag=function(t){var n=u(t);if(n){var i=t.slice(n.length);if(i.match(new RegExp("</\\s*"+n.tagName+"\\s*>","i"))){var r=i.match(new RegExp("([\\s\\S]*?)</\\s*"+n.tagName+"\\s*>","i"));if(r)return new e.AtomicTagToken(n.tagName,r[0].length+n.length,n.attrs,n.booleanAttrs,r[1])}}},n.endTag=function(t){var n=t.match(o.endTag);if(n)return new e.EndTagToken(n[1],n[0].length)};var e=i(4),o={startTag:/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag:/^<\/([\-A-Za-z0-9_]+)[^>]*>/,attr:/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,fillAttr:/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i};function u(t){var n,i,u;if(-1!==t.indexOf(">")){var f=t.match(o.startTag);if(f){var s=(n={},i={},u=f[2],f[2].replace(o.attr,(function(t,r){arguments[2]||arguments[3]||arguments[4]||arguments[5]?arguments[5]?(n[arguments[5]]="",i[arguments[5]]=!0):n[r]=arguments[2]||arguments[3]||arguments[4]||o.fillAttr.test(r)&&r||"":n[r]="",u=u.replace(t,"")})),{v:new e.StartTagToken(f[1],f[0].length,n,i,!!f[3],u.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))});if("object"===(void 0===s?"undefined":r(s)))return s.v}}}},function(t,n,i){n.__esModule=!0,n.EndTagToken=n.AtomicTagToken=n.StartTagToken=n.TagToken=n.CharsToken=n.CommentToken=n.Token=void 0;var r=i(5);function e(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}n.Token=function t(n,i){e(this,t),this.type=n,this.length=i,this.text=""},n.CommentToken=function(){function t(n,i){e(this,t),this.type="comment",this.length=i||(n?n.length:0),this.text="",this.content=n}return t.prototype.toString=function(){return"\x3c!--"+this.content},t}(),n.CharsToken=function(){function t(n){e(this,t),this.type="chars",this.length=n,this.text=""}return t.prototype.toString=function(){return this.text},t}();var o=n.TagToken=function(){function t(n,i,r,o,u){e(this,t),this.type=n,this.length=r,this.text="",this.tagName=i,this.attrs=o,this.booleanAttrs=u,this.unary=!1,this.html5Unary=!1}return t.formatTag=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i="<"+t.tagName;for(var e in t.attrs)if(t.attrs.hasOwnProperty(e)){i+=" "+e;var o=t.attrs[e];void 0!==t.booleanAttrs&&void 0!==t.booleanAttrs[e]||(i+='="'+(0,r.escapeQuotes)(o)+'"')}return t.rest&&(i+=" "+t.rest),i+=t.unary&&!t.html5Unary?"/>":">",null!=n&&(i+=n+"</"+t.tagName+">"),i},t}();n.StartTagToken=function(){function t(n,i,r,o,u,f){e(this,t),this.type="startTag",this.length=i,this.text="",this.tagName=n,this.attrs=r,this.booleanAttrs=o,this.html5Unary=!1,this.unary=u,this.rest=f}return t.prototype.toString=function(){return o.formatTag(this)},t}(),n.AtomicTagToken=function(){function t(n,i,r,o,u){e(this,t),this.type="atomicTag",this.length=i,this.text="",this.tagName=n,this.attrs=r,this.booleanAttrs=o,this.unary=!1,this.html5Unary=!1,this.content=u}return t.prototype.toString=function(){return o.formatTag(this,this.content)},t}(),n.EndTagToken=function(){function t(n,i){e(this,t),this.type="endTag",this.length=i,this.text="",this.tagName=n}return t.prototype.toString=function(){return"</"+this.tagName+">"},t}()},function(t,n){n.__esModule=!0,n.escapeQuotes=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t?t.replace(/([^"]*)"/g,(function(t,n){return/\\/.test(n)?n+'"':n+'\\"'})):n}},function(t,n){n.__esModule=!0,n.default=function(t,n,i){var u=function(){var t=[];return t.last=function(){return this[this.length-1]},t.lastTagNameEq=function(t){var n=this.last();return n&&n.tagName&&n.tagName.toUpperCase()===t.toUpperCase()},t.containsTagName=function(t){for(var n,i=0;n=this[i];i++)if(n.tagName===t)return!0;return!1},t}(),f={startTag:function(i){var e=i.tagName;"TR"===e.toUpperCase()&&u.lastTagNameEq("TABLE")?(t.prepend("<TBODY>"),s()):n.selfCloseFix&&r.test(e)&&u.containsTagName(e)?u.lastTagNameEq(e)?o(t,u):(t.prepend("</"+i.tagName+">"),s()):i.unary||u.push(i)},endTag:function(r){u.last()?n.tagSoupFix&&!u.lastTagNameEq(r.tagName)?o(t,u):u.pop():n.tagSoupFix&&(i(),s())}};function s(){var n=function(t,n){var i=t.stream,r=e(n());return t.stream=i,r}(t,i);n&&f[n.type]&&f[n.type](n)}return function(){return s(),e(i())}};var i=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,r=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i;function e(t){return t&&"startTag"===t.type&&(t.unary=i.test(t.tagName)||t.unary,t.html5Unary=!/\/>$/.test(t.text)),t}function o(t,n){var i=n.pop();t.prepend("</"+i.tagName+">")}}])},t.exports=n()},function(t,n){n.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function r(t){return null!=t}function e(t,n,i){var r=void 0,e=t&&t.length||0;for(r=0;r<e;r++)n.call(i,t[r],r)}function o(t,n,i){for(var r in t)t.hasOwnProperty(r)&&n.call(i,r,t[r])}function u(t,n){return!(!t||"startTag"!==t.type&&"atomicTag"!==t.type||!("tagName"in t)||!~t.tagName.toLowerCase().indexOf(n))}n.existy=r,n.isFunction=function(t){return"function"==typeof t},n.each=e,n.eachKey=o,n.defaults=function(t,n){return t=t||{},o(n,(function(n,i){r(t[n])||(t[n]=i)})),t},n.toArray=function(t){try{return Array.prototype.slice.call(t)}catch(o){var n=(r=[],e(t,(function(t){r.push(t)})),{v:r});if("object"===(void 0===n?"undefined":i(n)))return n.v}var r},n.last=function(t){return t[t.length-1]},n.isTag=u,n.isScript=function(t){return u(t,"script")},n.isStyle=function(t){return u(t,"style")}}])},t.exports=n()})));var Q=function(){var t=function(n,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])})(n,i)};return function(n,i){function r(){this.constructor=n}t(n,i),n.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}(),tt=new(function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.APP={USER_SELECT:"user_select",APPLE_MAPS:"apple_maps",GOOGLE_MAPS:"google_maps",WAZE:"waze",CITYMAPPER:"citymapper",NAVIGON:"navigon",TRANSIT_APP:"transit_app",YANDEX:"yandex",UBER:"uber",TOMTOM:"tomtom",BING_MAPS:"bing_maps",SYGIC:"sygic",HERE_MAPS:"here_maps",MOOVIT:"moovit"},n.TRANSPORT_MODE={DRIVING:"driving",WALKING:"walking",BICYCLING:"bicycling",TRANSIT:"transit"},n}return Q(n,t),n.prototype.navigate=function(t,n){return r(this,"navigate",{successIndex:2,errorIndex:3},arguments)},n.prototype.isAppAvailable=function(t){return r(this,"isAppAvailable",{},arguments)},n.prototype.availableApps=function(){return r(this,"availableApps",{},arguments)},n.prototype.getAppDisplayName=function(t){return r(this,"getAppDisplayName",{sync:!0},arguments)},n.prototype.getAppsForPlatform=function(t){return r(this,"getAppsForPlatform",{sync:!0},arguments)},n.prototype.supportsTransportMode=function(t,n){return r(this,"supportsTransportMode",{sync:!0},arguments)},n.prototype.getTransportModes=function(t,n){return r(this,"getTransportModes",{sync:!0},arguments)},n.prototype.supportsDestName=function(t,n){return r(this,"supportsDestName",{sync:!0},arguments)},n.prototype.supportsStart=function(t,n){return r(this,"supportsStart",{sync:!0},arguments)},n.prototype.supportsStartName=function(t,n){return r(this,"supportsStartName",{sync:!0},arguments)},n.prototype.supportsLaunchMode=function(t,n){return r(this,"supportsLaunchMode",{sync:!0},arguments)},n.prototype.userSelect=function(t,n){return r(this,"userSelect",{sync:!0},arguments)},Object.defineProperty(n.prototype,"appSelection",{get:function(){return o(this,"appSelection")},set:function(t){u(this,"appSelection",t)},enumerable:!1,configurable:!0}),n.pluginName="LaunchNavigator",n.plugin="uk.co.workingedge.phonegap.plugin.launchnavigator",n.pluginRef="launchnavigator",n.repo="https://github.com/dpa99c/phonegap-launch-navigator",n.platforms=["Android","iOS","Windows","Windows Phone 8"],n}(e)),nt=function(){if("undefined"!=typeof Map)return Map;function t(t,n){var i=-1;return t.some((function(t,r){return t[0]===n&&(i=r,!0)})),i}return function(){function n(){this.__entries__=[]}return Object.defineProperty(n.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),n.prototype.get=function(n){var i=t(this.__entries__,n),r=this.__entries__[i];return r&&r[1]},n.prototype.set=function(n,i){var r=t(this.__entries__,n);~r?this.__entries__[r][1]=i:this.__entries__.push([n,i])},n.prototype.delete=function(n){var i=this.__entries__,r=t(i,n);~r&&i.splice(r,1)},n.prototype.has=function(n){return!!~t(this.__entries__,n)},n.prototype.clear=function(){this.__entries__.splice(0)},n.prototype.forEach=function(t,n){void 0===n&&(n=null);for(var i=0,r=this.__entries__;i<r.length;i++){var e=r[i];t.call(n,e[1],e[0])}},n}()}(),it="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,rt=void 0!==g&&g.Math===Math?g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),et="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(rt):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},ot=["top","right","bottom","left","width","height","size","weight"],ut="undefined"!=typeof MutationObserver,ft=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t){var n=!1,i=!1,r=0;function e(){n&&(n=!1,t()),i&&u()}function o(){et(e)}function u(){var t=Date.now();if(n){if(t-r<2)return;i=!0}else n=!0,i=!1,setTimeout(o,20);r=t}return u}(this.refresh.bind(this))}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var n=this.observers_,i=n.indexOf(t);~i&&n.splice(i,1),!n.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){it&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),ut?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){it&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var n=t.propertyName,i=void 0===n?"":n;ot.some((function(t){return!!~i.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),st=function(t,n){for(var i=0,r=Object.keys(n);i<r.length;i++){var e=r[i];Object.defineProperty(t,e,{value:n[e],enumerable:!1,writable:!1,configurable:!0})}return t},ct=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||rt},at=pt(0,0,0,0);function ht(t){return parseFloat(t)||0}function vt(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];return n.reduce((function(n,i){return n+ht(t["border-"+i+"-width"])}),0)}var lt="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof ct(t).SVGGraphicsElement}:function(t){return t instanceof ct(t).SVGElement&&"function"==typeof t.getBBox};function dt(t){return it?lt(t)?function(t){var n=t.getBBox();return pt(0,0,n.width,n.height)}(t):function(t){var n=t.clientWidth,i=t.clientHeight;if(!n&&!i)return at;var r=ct(t).getComputedStyle(t),e=function(t){for(var n={},i=0,r=["top","right","bottom","left"];i<r.length;i++){var e=r[i];n[e]=ht(t["padding-"+e])}return n}(r),o=e.left+e.right,u=e.top+e.bottom,f=ht(r.width),s=ht(r.height);if("border-box"===r.boxSizing&&(Math.round(f+o)!==n&&(f-=vt(r,"left","right")+o),Math.round(s+u)!==i&&(s-=vt(r,"top","bottom")+u)),!function(t){return t===ct(t).document.documentElement}(t)){var c=Math.round(f+o)-n,a=Math.round(s+u)-i;1!==Math.abs(c)&&(f-=c),1!==Math.abs(a)&&(s-=a)}return pt(e.left,e.top,f,s)}(t):at}function pt(t,n,i,r){return{x:t,y:n,width:i,height:r}}var yt=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=pt(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=dt(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),mt=function(t,n){var i,r,e,o,u,f,s,c=(r=(i=n).x,e=i.y,o=i.width,u=i.height,f="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(f.prototype),st(s,{x:r,y:e,width:o,height:u,top:e,right:r+o,bottom:u+e,left:r}),s);st(this,{target:t,contentRect:c})},gt=function(){function t(t,n,i){if(this.activeObservations_=[],this.observations_=new nt,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=i}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof ct(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new yt(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof ct(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(n){n.isActive()&&t.activeObservations_.push(n)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map((function(t){return new mt(t.target,t.broadcastRect())}));this.callback_.call(t,n,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),wt="undefined"!=typeof WeakMap?new WeakMap:new nt,bt=function t(n){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=ft.getInstance(),r=new gt(n,i,this);wt.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){bt.prototype[t]=function(){var n;return(n=wt.get(this))[t].apply(n,arguments)}}));var Et=void 0!==rt.ResizeObserver?rt.ResizeObserver:bt;export{_ as D,tt as L,U as M,B as P,Z as S,Y as a,H as b,P as c,V as d,$ as e,R as f,q as g,M as h,D as i,Et as j,L as k,E as l,G as m,J as p,K as s}
|